whatmodel.sh / SmolLM2 1.7B Instruct
SmolLM2 1.7B Instruct
↗ share
+ contribute
SmolLM2 1.7B Instruct is an open-weights language model from Hugging Face, released October 2024. Its published size is 1.71B parameters and a 8k-token context window. Licence: apache-2.0.
Catalogue identity notes
Arena entry 'smollm2-1.7b-instruct' (text). LMArena's leaderboard table (arena-leaderboard space @6f2eeeb) labels 'smollm2-1.7b-instruct' as 'SmolLM2-1.7B-Instruct' (HuggingFace, Apache 2.0), linking https://huggingface.co/HuggingFaceTB/SmolLM2-1.7B-Instruct. Maker repo HuggingFaceTB/SmolLM2-1.7B-Instruct @31b70e2: licence tag apache-2.0. 1,711,376,384 parameters from the Hugging Face safetensors metadata (dense, so active = total). Released 2024-10: month the maker's Hugging Face repo was created (createdAt 2024-10-31).
$ how it compares
The LLMs ranked either side of SmolLM2 1.7B Instruct, out of 828 with a score, then more from Hugging Face.
| # | model | score | where | ||
|---|---|---|---|---|---|
| 736 | 31±1 | local | |||
| 737 | 30±2 | local | |||
| 738 | 30±1 | local | |||
| 739 | 30±1 | api $0.020/M +local | |||
| 740 | 30±1 | local | |||
| more from Hugging Face | |||||
| 451 | 48±1 | local | |||
| 532 | 45±2 | local | |||
| 577 | 43±1 | local | |||
$ what it's good at
coding▁▁▁▃▆██▇▆▄▃▁ #405 of 458 * · 7.1% of its score · 1 test
Beats DeepSeek R1 Distill Qwen 7B, Qwen3.5 2B, DeepSeek R1 Distill Llama 8B here, though they rank higher overall.
chat & writing▁▁▁▃▅▄▅█▆▆▇▃ #373 of 393 · 19% of its score · 4 tests
Beats Phi-2 (2.7B), Qwen2.5 1.5B Instruct, Nous-Hermes-13b here, though they rank higher overall. Trails Gemma 3 270M IT, SmolLM2 360M Instruct, Granite 4.0 350M here, though they rank lower overall.
| test | result | vs the others in its run | counts |
|---|---|---|---|
| LMArena (text) | 1114.6 ✎ | ▁▁▁▃▃▃▃▆▆▇█▃ beats 19/379 | 11% |
| IFEval prompt-level loose | 51.6% ✎ | ▁▃▁▃▁▄▁▁█▃▃▁ beats 1/22 | 3.1% |
| AlpacaEval 2 length-controlled | 5.8% ✎ | ▃▃·▁▁█▇▅·▁·▁ beats 0/22 | 2.3% |
| IFEval (aggregation unspecified) lab | 56.7% ✎ | ▁▁▃▃▂▄▄▆█▃▂▁ beats 20/141 | 2.1% |
math▁▂▃▅▆▅▄█▄▁▁▁ #369 of 398 · 28% of its score · 2 tests
Beats Yi 34B Chat, Command R (03-2024), Molmo 7B-D (0924) here, though they rank higher overall.
| test | result | vs the others in its run | counts |
|---|---|---|---|
| GSM8K +1 | 45.3% ✎ | ▂▃··▃▂▅█▆▃▂▃ beats 1/22 | 21% |
| MATH (subset unspecified) +1 | 20.3% ✎ | ▃▃█▂▂▆·····▁ beats 0/22 | 7.9% |
other tests8 not in a task · 45% of its score
| test | result | vs the others in its run | counts |
|---|---|---|---|
| BIG-Bench Hard +1 | 39.8% ✎ | ▁▄·▁▁·▅█·▄▄▁ beats 2/22 | 15% |
| MMLU | 34.3% ✎ | ▃▂·▁·▁▁█·▃▃▅ beats 0/22 | 12% |
| CPTUB average (SpeakLeash, 0-5 judge scale) | 29.9% ✎ | ▃▂▂▂▃█▃▆▅▄▂▃ beats 1/95 | 7.5% |
| HellaSwag lab | 66.1% ✎ | ▁▁▁▁▂▂▃▇█▆▅▃ beats 33/85 | 3.4% |
| TruthfulQA MC2 | 45.3% ✎ | ▃▃▂·▃▃·▅█▂▅▂ beats 2/21 | 2.4% |
| EuroEval Life in the UK (English knowledge MC), test split, 5-shot, accuracy | 50.2% ✎ | ▁▁▁▁▁▁▃▂▄█▄▃ beats 19/146 | 1.6% |
| PIQA lab | 74.4% ✎ | ▁▁▁▃▃▄▇█▄▃▁▁ beats 33/83 | 1.6% |
| PopQA | 16.4% ✎ | ▁▁▁▃▃▃▁█▁▃·▄ beats 4/21 | 1.6% |
$ where to run it
llama.cpp · recommended
- Install llama.cpp · Homebrew and winget installs name the commands llama-cli and llama-server instead.macOS / Linux
curl -LsSf https://llama.app/install.sh | shWindowsirm https://llama.app/install.ps1 | iex - Run SmolLM2 1.7B Instruct · needs ~1.1 GB · from huggingface.co/HuggingFaceTBchat in the terminal
llama cli -hf HuggingFaceTB/SmolLM2-1.7B-Instruct-GGUF:q4_k_m - Or start a local server and open the address it prints (http://localhost:9931)
llama serve -hf HuggingFaceTB/SmolLM2-1.7B-Instruct-GGUF:q4_k_m
LM Studio
version
- Install LM Studio · Open the app once before using the lms command.
- Run SmolLM2 1.7B Instruct · needs ~1.1 GB · from huggingface.co/HuggingFaceTB
- Or download it in the terminal
lms get https://huggingface.co/HuggingFaceTB/SmolLM2-1.7B-Instruct-GGUF@q4_k_m -y - Then run lms ls to see its name, and lms chat followed by that name
Ollama
version
- Install Ollama
download it (macOS / Windows) ↗
Linuxcurl -fsSL https://ollama.com/install.sh | sh - Run SmolLM2 1.7B Instruct · needs ~1.53 GB · from ollama.comchat in the terminal
ollama run smollm2:1.7b-instruct-q4_K_M
MLX (Mac)
version
- Install MLX (Mac) · Apple silicon Macs only, text only.with uv
uv tool install mlx-lmorpip install mlx-lm - Run SmolLM2 1.7B Instruct · needs ~1 GB, Mac only · from huggingface.co/Irfanuruchichat in the terminal
mlx_lm.chat --model Irfanuruchi/SmolLM2-1.7B-Instruct-MLX-4bit - Or start an OpenAI-compatible server at http://localhost:8080/v1
mlx_lm.server --model Irfanuruchi/SmolLM2-1.7B-Instruct-MLX-4bit
Weights and documentation: huggingface.co/HuggingFaceTB ↗
$ how the score was worked out · 2 OLMo 2 Furious (Team OLMo,… 45%, SmolLM2 paper (Hugging Face)… 34%, LMArena leaderboard dataset 11% and 2 more
Each result implies a score on its own, after adjusting for how hard its test is and who ran it. The score is their weighted average, with a small pull toward the middle for thinly tested models. Each test's weight is its counts column above; here it's added up by who ran the tests. How it works
| source | results | share of the score |
|---|---|---|
| 8 | 45% | |
| 7 | 34% | |
| 1 | 11% | |
| 1 | 8% | |
| 1 | 2% | |
| prior · pull toward the middle | 1% | |
| weighted average | = 30.3 |
$ improve this page
Use a short GitHub form or edit the data through a pull request. Every number needs a source; here's which ones we can use.
data updated · sources and licences · json