Run this model with HF Jobs

Run HuggingFaceTB/SmolLM-360M-Instruct 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/HuggingFaceTB/SmolLM-360M-Instruct. 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/HuggingFaceTB/SmolLM-360M-Instruct 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/HuggingFaceTB/SmolLM-360M-Instruct. 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.

Use the recommended sampling settings in generation_config.json

#9
by lewtun HF Staff - opened
Hugging Face Smol Models Research org

This PR adds the sampling settings recommended in the model card (temperature 0.2, top-p 0.9) to generation_config.json, so that transformers and vLLM pick them up by default.

It also raises max_new_tokens from 40 (added in #8) to 512, since 40 tokens cuts off most replies mid-sentence. Removing it entirely isn't an option, because generate() would then fall back to transformers' default of 20 new tokens.

This is the same change as https://huggingface.co/HuggingFaceTB/SmolLM-135M-Instruct/discussions/15

lewtun changed pull request status to merged

Sign up or log in to comment