Run this model with HF Jobs

Run 2nji/makebelieve on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.

Paste one of these prompts into your coding agent:

Fine-tune on my dataset

Use HF Jobs and TRL to fine-tune https://huggingface.co/2nji/makebelieve. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.

Run batch inference

Use HF Jobs to run batch inference with https://huggingface.co/2nji/makebelieve on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.

Evaluate on a benchmark

Use HF Jobs to evaluate https://huggingface.co/2nji/makebelieve. Ask me which benchmark to run, then save the scores and the per-example results to a new dataset repo. Run `hf jobs --help` first to learn the CLI.

Quantize for lower memory use

Use HF Jobs to create a 4-bit version of https://huggingface.co/2nji/makebelieve. Push it to a new model repo, then reload it from there and report its memory footprint. Run `hf jobs --help` first to learn the CLI.

Finetuning llama 2 on our celebrity news dataset located here

Disclaimer: This is still work in progress as we need to preprocess our celebrity news dataset to match Llama 2's prompt format as described here

Reserve GPU on g5k

Log into your Grid5000 account using ssh and run the following code in the terminal

oarsub -p "cluster='graffiti'" -l gpu=1 -I -q production

Wait till GPUs are available and assigned to you, if you need more information about g5k, you can refer to here

Create a virtual environment

  • Installing PIP
pip install virtualenv
  • Creating environment
virtualenv venv
  • Activating environment
source venv/bin/activate

Install requirements file

pip install -r requirements.txt

Running the script to finetune Llama-2-7b-chat-hf and push to huggingface model repository

python makebelieve.py
Downloads last month
9
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support