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).
Score within the LMArena (text) comparison set only.
$ how it compares
The LLMs ranked either side of SmolLM2 1.7B Instruct, out of 897 with a score, then more from Hugging Face.
| # | model | score | where | ||
|---|---|---|---|---|---|
| 773 | 33±2 | local | |||
| 774 | 33±1 | local | |||
| 775 | 33±1 | local | |||
| 776 | 33±1 | local | |||
| 777 | 33±1 | comparison only | |||
| more from Hugging Face | |||||
| 467 | 49±1 | local | |||
| 550 | 46±2 | local | |||
| 622 | 44±1 | local | |||
$ what it's good at
coding▁▁▁▃▆▇█▆▆▃▃▁ #420 of 474 * · 6.5% 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▁▁▁▃▅▄▆█▇▇▇▃ #384 of 405 · 18% 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.9 ✎ | ▁▁▁▃▃▂▃▆▆▇█▃ beats 19/388 | 11% |
| IFEval prompt-level loose | 51.6% ✎ | ▁▃▁▃▁▄▁▁█▃▃▁ beats 1/22 | 3.1% |
| AlpacaEval 2 length-controlled | 5.8% ✎ | ▃▃·▁▁█▇▅·▁·▁ beats 0/22 | 2.4% |
| IFEval (aggregation unspecified) lab | 56.7% ✎ | ▁▂▄▃▂▄▆██▅▂▁ beats 20/145 | 2.0% |
math▁▁▃▅█▆▅█▄▁▁▁ #398 of 440 · 30% of its score · 2 tests
Beats Yi 34B Chat, Llama 3 8B Instruct, Command R (03-2024) here, though they rank higher overall. Trails GPT-Neo 125M, GPT-2 XL (1.5B), GPT-Neo 1.3B here, though they rank lower overall.
| test | result | vs the others in its run | counts |
|---|---|---|---|
| GSM8K +1 | 45.3% ✎ | ▂▃··▃▂▅█▆▃▂▃ beats 1/22 | 22% |
| MATH (subset unspecified) +1 | 20.3% ✎ | ▃▃█▂▂▆·····▁ beats 0/22 | 7.6% |
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 | 14% |
| CPTUB average (SpeakLeash, 0-5 judge scale) | 29.9% ✎ | ▃▂▂▂▃█▃▆▅▄▂▃ beats 1/95 | 8.5% |
| HellaSwag lab | 66.1% ✎ | ▁▁▁▂▂▂▄▆█▇▄▂ beats 58/135 | 2.6% |
| EuroEval Life in the UK (English knowledge MC), test split, 5-shot, accuracy | 50.2% ✎ | ▁▁▁▁▁▁▃▂▄█▄▃ beats 19/146 | 1.8% |
| PopQA | 16.4% ✎ | ▁▁▁▃▃▃▁█▁▃·▄ beats 4/21 | 1.8% |
| PIQA lab | 74.4% ✎ | ▁▁▁▂▂▃▅█▅▃▁▁ beats 42/123 | 1.1% |
| TruthfulQA MC2 | 45.3% ✎ | ▃▃▂·▃▃·▅█▂▅▂ beats 2/21 | 0.5% |
$ where to run it
Memory is what a version takes in GPU memory (or a Mac's unified memory) with an 8k-token conversation. With less, it runs partly from system RAM, more slowly. Enter your machine to see what runs at full speed.
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 3.1 GB memory, 1.06 GB download · 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 3.1 GB memory, 1.06 GB download · 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 3.1 GB memory, 1.06 GB download · 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 3 GB memory, 0.96 GB download, 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
Model repository and documentation: huggingface.co/HuggingFaceTB ↗
$ how the score was worked out · 2 OLMo 2 Furious (Team OLMo,… 46%, SmolLM2 paper (Hugging Face)… 33%, 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 | 46% | |
| 7 | 33% | |
| 1 | 11% | |
| 1 | 9% | |
| 1 | 2% | |
| prior · pull toward the middle | 0% | |
| weighted average | = 32.8 |
$ 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