whatmodel.sh / SmolLM2 1.7B Instruct

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).

32.8±1.0#654 of 743 LLMsfrom 18 benchmark results across 5 sources

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.

#modelscorewhereRAMreleased
773Ghost 7B Alpha Ghost X33±2local~6.1GB2024-04
774Gemma 3 1B Google33±1local~1.7GB2025-03
775SmolLM2 1.7B Instruct Hugging Face33±1local~3GB2024-10
776Qwen-7B (base) Alibaba33±1local~6.6GB2023-08
777OPT-175B Meta33±1comparison only2022-05
more from Hugging Face
467StarChat2 15B v0.1 Hugging Face49±1local~12GB2024-03
550Zephyr ORPO 141B-A35B v0.1 Hugging Face46±2local~56GB2024-04
622SmolLM3 3B Hugging Face44±1local~2.9GB2025-07

see all LLMs · find the ones that fit your machine

$ 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.

testresultvs the others in its rundifficultycountswhy
HumanEval lab28.1% ✎▁▁▁▁▂▃▆▆█▅▂▁ beats 40/205easy · avg 76%▇▇▇ 6.5%sharp · at its level · small run
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.

testresultvs the others in its rundifficultycountswhy
LMArena (text)1114.9 ✎▁▁▁▃▃▂▃▆▆▇█▃ beats 19/388avg 1262▇▇▇▇ 11%blunt
IFEval prompt-level loose51.6% ✎▁▃▁▃▁▄▁▁█▃▃▁ beats 1/22easy · avg 79%▇ 3.1%at its level
AlpacaEval 2 length-controlled5.8% ✎▃▃·▁▁█▇▅·▁·▁ beats 0/22medium · avg 40%▇ 2.4%sharp
IFEval (aggregation unspecified) lab56.7% ✎▁▂▄▃▂▄▆██▅▂▁ beats 20/145easy · avg 76%▇ 2.0%at its level · small run
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.

testresultvs the others in its rundifficultycountswhy
GSM8K +145.3% ✎▂▃··▃▂▅█▆▃▂▃ beats 1/22very easy · avg 88%▇▇▇▇▇▇▇▇▇ 22%sharp · at its level · several runs
MATH (subset unspecified) +120.3% ✎▃▃█▂▂▆·····▁ beats 0/22medium · avg 58%▇▇▇ 7.6%small run · several runs
other tests8 not in a task · 45% of its score
testresultvs the others in its rundifficultycountswhy
BIG-Bench Hard +139.8% ✎▁▄·▁▁·▅█·▄▄▁ beats 2/22medium · avg 73%▇▇▇▇▇▇ 15%sharp · several runs
MMLU34.3% ✎▃▂·▁·▁▁█·▃▃▅ beats 0/22easy · avg 76%▇▇▇▇▇ 14%typical
CPTUB average (SpeakLeash, 0-5 judge scale)29.9% ✎▃▂▂▂▃█▃▆▅▄▂▃ beats 1/95easy · avg 65%▇▇▇ 8.5%at its level
HellaSwag lab66.1% ✎▁▁▁▂▂▂▄▆█▇▄▂ beats 58/135easy · avg 82%▇ 2.6%at its level · small run
EuroEval Life in the UK (English knowledge MC), test split, 5-shot, accuracy50.2% ✎▁▁▁▁▁▁▃▂▄█▄▃ beats 19/146easy · avg 82%▇ 1.8%at its level · noisy
PopQA16.4% ✎▁▁▁▃▃▃▁█▁▃·▄ beats 4/21hard · avg 31%▇ 1.8%typical
PIQA lab74.4% ✎▁▁▁▂▂▃▅█▅▃▁▁ beats 42/123easy · avg 84%▇ 1.1%blunt · at its level · small run
TruthfulQA MC245.3% ✎▃▃▂·▃▃·▅█▂▅▂ beats 2/21medium · avg 60%▇ 0.5%blunt · at its level

$ 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

  1. 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 | sh
    Windows
    irm https://llama.app/install.ps1 | iex

    other ways to install ↗

  2. Run SmolLM2 1.7B Instruct · needs 3.1 GB memory, 1.06 GB download · from huggingface.co/HuggingFaceTB
    chat in the terminal
    llama cli -hf HuggingFaceTB/SmolLM2-1.7B-Instruct-GGUF:q4_k_m
  3. 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

  1. Install LM Studio · Open the app once before using the lms command.

    download it (macOS / Windows / Linux) ↗

  2. Run SmolLM2 1.7B Instruct · needs 3.1 GB memory, 1.06 GB download · from huggingface.co/HuggingFaceTB

    open in LM Studio ↗

  3. Or download it in the terminal
    lms get https://huggingface.co/HuggingFaceTB/SmolLM2-1.7B-Instruct-GGUF@q4_k_m -y
  4. Then run lms ls to see its name, and lms chat followed by that name

Ollama

version

  1. Install Ollama

    download it (macOS / Windows) ↗

    Linux
    curl -fsSL https://ollama.com/install.sh | sh
  2. Run SmolLM2 1.7B Instruct · needs 3.1 GB memory, 1.06 GB download · from ollama.com
    chat in the terminal
    ollama run smollm2:1.7b-instruct-q4_K_M

MLX (Mac)

version

  1. Install MLX (Mac) · Apple silicon Macs only, text only.
    with uv
    uv tool install mlx-lm
    or
    pip install mlx-lm
  2. Run SmolLM2 1.7B Instruct · needs 3 GB memory, 0.96 GB download, Mac only · from huggingface.co/Irfanuruchi
    chat in the terminal
    mlx_lm.chat --model Irfanuruchi/SmolLM2-1.7B-Instruct-MLX-4bit
  3. 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

$ 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