whatmodel.sh / SmolLM2 135M Instruct
SmolLM2 135M Instruct
↗ share
+ contribute
SmolLM2 135M Instruct is an open-weights language model from Hugging Face, released October 2024. Its published size is 0.135B parameters and a 8k-token context window. Licence: apache-2.0.
Catalogue identity notes
HuggingFaceTB/SmolLM2-135M-Instruct @12fd25f (created 2024-10-31, licence apache-2.0). Hugging Face SmolLM2 135M instruct model, sibling of the catalogued smollm2-1-7b. Independent EuroEval row only (its card compares only against the uncatalogued SmolLM-135M-Instruct).
Model information sources
Release date ↗ · Weights licence ↗
HF safetensors metadata 134,515,008 parameters (HuggingFaceTB/SmolLM2-135M-Instruct @12fd25f).
$ how it compares
The LLMs ranked either side of SmolLM2 135M Instruct, out of 1132 with a score, then more from Hugging Face.
| # | model | score | where | ||
|---|---|---|---|---|---|
| 1092 | 21±4 | local | |||
| 1093 | 21±3 | local | |||
| 1094 | 21±9 | local | |||
| 1095 | 20±2 | local | |||
| 1096 | 20±1 | local | |||
| more from Hugging Face | |||||
| 629 | 48±1 | local | |||
| 742 | 45±2 | local | |||
| 808 | 43±1 | local | |||
$ what it's good at
other tests1 not in a task · 67% of its score
| test | result | vs the others in its run | counts |
|---|---|---|---|
| EuroEval Life in the UK (English knowledge MC), test split, 5-shot, accuracy | 24.8% ✎ | ▃▁▁▁▁▁▁▂▄█▄▃ beats 1/146 | 67% |
$ where to run it
llama.cpp · recommended
version
- 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 135M Instruct · needs ~0.1 GB · from huggingface.co/lmstudio-communitychat in the terminal
llama cli -hf lmstudio-community/SmolLM2-135M-Instruct-GGUF:Q4_K_M - Or start a local server and open the address it prints (http://localhost:9931)
llama serve -hf lmstudio-community/SmolLM2-135M-Instruct-GGUF:Q4_K_M
LM Studio
version
- Install LM Studio · Open the app once before using the lms command.
- Run SmolLM2 135M Instruct · needs ~0.1 GB · from huggingface.co/lmstudio-community
- Or download it in the terminal
lms get https://huggingface.co/lmstudio-community/SmolLM2-135M-Instruct-GGUF@Q4_K_M -y - Then run lms ls to see its name, and lms chat followed by that name
Ollama
- Install Ollama
download it (macOS / Windows) ↗
Linuxcurl -fsSL https://ollama.com/install.sh | sh - Run SmolLM2 135M Instruct · needs ~0.271 GB · from ollama.comchat in the terminal
ollama run smollm2:135m
MLX (Mac)
version
- Install MLX (Mac) · Apple silicon Macs only, text only.with uv
uv tool install mlx-lmorpip install mlx-lm - Run SmolLM2 135M Instruct · needs ~0.1 GB, Mac only · from huggingface.co/Irfanuruchichat in the terminal
mlx_lm.chat --model Irfanuruchi/SmolLM2-135M-Instruct-MLX-4bit - Or start an OpenAI-compatible server at http://localhost:8080/v1
mlx_lm.server --model Irfanuruchi/SmolLM2-135M-Instruct-MLX-4bit
Weights and documentation: huggingface.co/HuggingFaceTB ↗
$ how the score was worked out · EuroEval leaderboards (result… 67%
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 |
|---|---|---|
| 1 | 67% | |
| prior · pull toward the middle | 33% | |
| weighted average | = 20.6 |
$ 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