Run this model with HF Jobs
Run bestdive/SmolLM3-3B-SFT-Free-Course 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/bestdive/SmolLM3-3B-SFT-Free-Course. 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/bestdive/SmolLM3-3B-SFT-Free-Course 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/bestdive/SmolLM3-3B-SFT-Free-Course. 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/bestdive/SmolLM3-3B-SFT-Free-Course. 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 bestdive/SmolLM3-3B-SFT-Free-Course with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use bestdive/SmolLM3-3B-SFT-Free-Course with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("HuggingFaceTB/SmolLM3-3B-Base") model = PeftModel.from_pretrained(base_model, "bestdive/SmolLM3-3B-SFT-Free-Course") - Notebooks
- Google Colab
- Kaggle
Download install_evaluation.py from bestdive/SmolLM3-3B-SFT-Free-Course: direct link, hf CLI and curl.
- Browser
- Download file 655 Bytes
-
https://huggingface.co/bestdive/SmolLM3-3B-SFT-Free-Course/resolve/main/install_evaluation.py
- Command line
-
hf download hf://bestdive/SmolLM3-3B-SFT-Free-Course/install_evaluation.py
-
curl -L -o install_evaluation.py https://huggingface.co/bestdive/SmolLM3-3B-SFT-Free-Course/resolve/main/install_evaluation.py
655 Bytes
| """Install an isolated evaluator without changing the trained model.""" | |
| import subprocess, sys | |
| steps = [ | |
| [sys.executable, '-m', 'pip', 'install', '-q', 'uv'], | |
| ['uv', 'venv', '--python', '3.12', '/content/smol-eval-env'], | |
| ['uv', 'pip', 'install', '--python', '/content/smol-eval-env/bin/python', 'lighteval[vllm,extended-tasks,math]==0.11.0', 'vllm==0.10.1.1', 'transformers==4.57.1', 'xxhash==3.5.0'], | |
| ] | |
| for command in steps: | |
| result = subprocess.run(command, capture_output=True, text=True) | |
| print(result.stdout[-3000:]); print(result.stderr[-5000:], flush=True) | |
| result.check_returncode() | |
| print('EVALUATION_ENV_READY', flush=True) | |