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.

starcoder uses Megatron-LM?

#27
by senxiangms - opened

Software Orchestration: Megatron-LM

But from code like class GPTBigCodeBlock doesn't use megatron.

anything wrong?

BigCode org

@senxiangms checkout the pre-training code at https://github.com/bigcode-project/Megatron-LM.

SivilTaram changed discussion status to closed

ic. appreciated.

@senxiangms checkout the pre-training code at https://github.com/bigcode-project/Megatron-LM.

should I look at Megatron-LM/examples/pretrain_bigcode_model.slurm as entry point?

Thanks.

BigCode org

The pre-training was done in Megatron-LM and then we converted the checkpoints to transformers which uses GPTBigCodeBlock ... If you're looking for the code to train the model in Megatron-LM it's there and the slurm script to launch the job is indeed Megatron-LM/examples/pretrain_bigcode_model.slurm but it's specific to our cluster otherwise you can just use transformers

Thanks, @loubnabnl . well explained.

@loubnabnl , where can I find the original megatron-LM pretrained starcoder checkpoint instead of the converted one published in hugging face hub.

Thanks.

How to converted the checkpoints to transformers?

How to converted the checkpoints to transformers?

Do you solve it?

Sign up or log in to comment