Run this model with HF Jobs
Run SALT-NLP/Sherpa-Ministral-3-8B 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 to fine-tune https://huggingface.co/SALT-NLP/Sherpa-Ministral-3-8B. 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/SALT-NLP/Sherpa-Ministral-3-8B 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/SALT-NLP/Sherpa-Ministral-3-8B. 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/SALT-NLP/Sherpa-Ministral-3-8B. 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.
Instructions to use SALT-NLP/Sherpa-Ministral-3-8B with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use SALT-NLP/Sherpa-Ministral-3-8B with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("mistralai/Ministral-3-8B-Instruct-2512-BF16") model = PeftModel.from_pretrained(base_model, "SALT-NLP/Sherpa-Ministral-3-8B") - Notebooks
- Google Colab
- Kaggle
Sherpa-Ministral-3-8B
Sherpa with Ministral-3-8B-Instruct as the teacher (Ministral DP in Sherpa: Teaching LLMs to Teach Adaptively, Appendix C.2.5): a LoRA adapter for
mistralai/Ministral-3-8B-Instruct-2512-BF16
at revision f6fae9795746f63c9be8344932f01275f3c63734. Code:
SALT-NLP/Sherpa.
Usage
Needs Transformers 5 and SGLang 0.5.10 (envs/ministral in the code repository), and
--skip-server-warmup: the default warmup sends an image, which fails
with this adapter.
hf download SALT-NLP/Sherpa-Ministral-3-8B --local-dir sherpa-ministral3-8b
python -m sglang.launch_server --model-path mistralai/Ministral-3-8B-Instruct-2512-BF16 \
--revision f6fae9795746f63c9be8344932f01275f3c63734 --enable-lora \
--lora-paths sherpa-ministral3-8b --max-lora-rank 16 --skip-server-warmup
Use the prompts in examples/sherpa/prompts.py of the code repository. Each reply
is <reasoning>...</reasoning> followed by <output>...</output> (shown to the
student) or <end></end> (ends the dialogue).
Results
From the paper (Table 13). Bold: this model.
Student test accuracy after teaching (%), Qwen3-1.7B student, 528 MATH test problems (36% unaided). In-distribution (ID) archetypes: Non. None, Att. Attempt, Sub. Subgoal, Ctr. Contrast. Out-of-distribution (OOD): Cau. Causal, Stp. Step, Ver. Verification. Ovl.: all seven.
| Teacher | Non. | Att. | Sub. | Ctr. | Cau. | Stp. | Ver. | ID | OOD | Ovl. | 95% CI |
|---|---|---|---|---|---|---|---|---|---|---|---|
| Ministral Base | 41.8 | 36.5 | 42.7 | 37.1 | 41.9 | 39.2 | 38.3 | 39.5 | 39.8 | 39.6 | [37.2, 42.0] |
| Ministral DP | 64.4 | 64.0 | 59.7 | 49.4 | 57.5 | 43.7 | 46.3 | 59.4 | 49.2 | 55.0 | [52.6, 57.5] |
Citation
@misc{xu2026sherpateachingllmsteach,
title={Sherpa: Teaching LLMs to Teach Adaptively},
author={Weixian Xu and Yanzhe Zhang and Zora Zhiruo Wang and Changyu Chen and Diyi Yang},
year={2026},
eprint={2610.08778},
archivePrefix={arXiv},
primaryClass={cs.AI},
url={https://arxiv.org/abs/2610.08778},
}
- Downloads last month
- 10
Model tree for SALT-NLP/Sherpa-Ministral-3-8B
Base model
mistralai/Ministral-3-8B-Base-2512