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.

Stopping criteria

#94
by AnudeepPeela - opened

Hello,
Any references on how to implement stopping criteria for the starcoder model?
Thanks in advance!

BigCode org

Hi, you can find an example here or see the docs.

โ€ข
This comment has been hidden

In case it helps, I wrote one for stop-sequences, similar to OpenAI usage. Could probably be done faster/more cleverly, but for large LLMs where each forward is the bottleneck, it's saved plenty of time by allowing for early termination. Also wrote in some utilities for extracting the completion up to the stop-sequence and it's log-probabilities, as this was neede for my use-case.

Sign up or log in to comment