Run this model with HF Jobs

Run codellama/CodeLlama-7b-Instruct-hf 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/codellama/CodeLlama-7b-Instruct-hf. 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/codellama/CodeLlama-7b-Instruct-hf 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/codellama/CodeLlama-7b-Instruct-hf. 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/codellama/CodeLlama-7b-Instruct-hf. 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.

Getting text or commentés from instruct

#17
by pechaut - opened

Hi !

I have trained a 7b-instruct to a new programming language, and it only output lines of codes.
I have used the syntax: [inst]a question or instruction [/inst] the answer

Whatever i put in thé answer, i only get code, no comment or guidelines. If i Ask questions like 'what is the size of a uint8' i get a Line of code as an answer that declares a uint8. Thé question is in thé train dataset in plain english, but i get lines of codes.

If i ask for some code with a description, i don't get the description, even if thé description and thé code are part of thé dataset.

Am i doing something incorrectly ?

Cheers,

pechaut changed discussion title from Getting the chat part of instruct to Getting text or commentés from instruct
pechaut changed discussion status to closed

Sign up or log in to comment