Run this model with HF Jobs

Run bigcode/starcoder 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/bigcode/starcoder. Ask me which dataset to train on, then push the fine-tuned model to a new private 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/bigcode/starcoder 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/bigcode/starcoder. Ask me which benchmark to run, then save the scores and the per-example results to a new private 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/bigcode/starcoder. Push it to a new private model repo, then reload it from there and report its memory footprint. Run `hf jobs --help` first to learn the CLI.

Finetuning Starcoder with languages that are not present in The Stack

#98
by lazarantal - opened

Hi,

I would like to finetune StarCoder for languages that are not present in The Stack dataset. How can i prepare a custom dataset and use it with the finetuning process? The different languages of the-stack dataset are stored are parquet files. How can I generated such files for further languages?

Thanks,
Toni

I’d encourage you to take a look into StarCoder2. It’s trained with over 600 languages. Anyway, the fine tuning process should be the same wether the language is included or not in the pre training dataset

Sign up or log in to comment