whatmodel.sh / Gemma 2 2B IT
Gemma 2 2B IT
↗ share
+ contribute
Gemma 2 2B IT is an open-weights language model from Google, released July 2024. Its published size is 2.61B parameters and a 8k-token context window. Licence: gemma.
Catalogue identity notes
Arena entry 'gemma-2-2b-it' (text). LMArena's leaderboard table (arena-leaderboard space @6f2eeeb) labels 'gemma-2-2b-it' as 'Gemma-2-2b-it' (Google, Gemma license), linking https://aistudio.google.com/app/prompts/new_chat?model=gemma-2-2b-it. Maker repo google/gemma-2-2b-it @299a856: licence tag gemma. 2,614,341,888 parameters from the Hugging Face safetensors metadata (dense, so active = total). Released 2024-07: Google Gemma releases page (ai.google.dev/gemma/docs/releases): 'July 31, 2024 Release of Gemma 2 in 2B size'.
$ how it compares
The LLMs ranked either side of Gemma 2 2B IT, out of 828 with a score, then more from Google.
| # | model | score | where | ||
|---|---|---|---|---|---|
| 666 | 37±1 | local | |||
| 667 | 37±2 | local | |||
| 668 | 37±1 | local | |||
| 669 | 37±1 | local | |||
| 670 | 37±1 | local | |||
| more from Google | |||||
| 9 | 82±1 | limited preview | |||
| 23 | 77±1 | api $1.50/M | |||
| 32 | 76±1 | api $1.50/M | |||
$ what it's good at
coding▁▁▁▃▆██▇▆▄▃▁ #403 of 458 · 15% of its score · 3 tests
Beats DeepSeek R1 Distill Qwen 7B, Qwen3.5 2B, DeepSeek R1 Distill Llama 8B here, though they rank higher overall. Trails Qwen2.5 1.5B Instruct, WizardLM 13B V1.2, Code Llama 7B Instruct here, though they rank lower overall.
chat & writing▁▁▁▃▅▄▅█▆▆▇▃ #305 of 393 * · 5.1% of its score · 2 tests
Beats Gemma 4 E4B, OpenThinker3 7B, Gemma 4 E2B here, though they rank higher overall. Trails LFM2 350M, Gemma 3 1B, Flan-T5 XXL here, though they rank lower overall.
| test | result | vs the others in its run | counts |
|---|---|---|---|
| LMArena (text) | 1200.0 ✎ | ▁▁▁▂▃▃▃▆▆▇█▃ beats 69/379 | 3.7% |
| IFEval (aggregation unspecified) | 53.8% ✎ | ▄····█·▄··██ beats 7/7 | 1.4% |
math▁▃▃▅▆▅▄█▄▁▁▁ #384 of 398 · 19% of its score · 4 tests
Beats Command R (03-2024), Qwen2-VL 2B Instruct here, though they rank higher overall. Trails Qwen2 0.5B Instruct, Granite 3.1 1B-A400M Instruct, Gemma 2B (base) here, though they rank lower overall.
| test | result | vs the others in its run | counts |
|---|---|---|---|
| GSM8K (ZeroEval, zero-shot) | 51.6% ✎ | ▁▄·▁▄█▅▅▅███ beats 1/43 | 10% |
| MATH (subset unspecified) | 21.8% ✎ | ▄···▄▄▄▄··█▄ beats 3/7 | 3.6% |
| GSM8K | 30.9% ✎ | █▄····▄··█▄▄ beats 2/7 | 3.6% |
| MATH Level 5 (ZeroEval, 721 problems) | 4.3% ✎ | ▃▁▁▆█▂▇▇▄··▂ beats 0/38 | 1.6% |
other tests20 not in a task · 61% of its score
| test | result | vs the others in its run | counts |
|---|---|---|---|
| MMLU-Redux (ZeroEval, 2,778 questions) | 51.9% ✎ | ▁·▃▁▄▄▄▅█▄▂▁ beats 1/53 | 18% |
| BIG-Bench Hard | 43.5% ✎ | ▃▃···▃··█··▅ beats 3/7 | 6.8% |
| WinoGrande | 68.9% ✎ | █···▄▄▄▄···█ beats 3/7 | 4.3% |
| WildBench v2 WB-Score (task macro) | 27.8260 WB-Score ✎ | ▁·▁▁·▃█▄▇▆▅▆ beats 9/52 | 4.2% |
| MMLU | 56.8% ✎ | ▄····▄·▄▄█·█ beats 4/7 | 3.7% |
| GPQA (subset unspecified) | 29.4% ✎ | ▄·▄··▄··▄█·█ beats 5/7 | 3.5% |
| MMLU-Pro | 27.2% ✎ | ▄·····█··█▄█ beats 3/7 | 2.8% |
| CPTUB average (SpeakLeash, 0-5 judge scale) | 53.0% ✎ | ▁▂▂▂▃█▃▆▅▄▂▃ beats 19/95 | 2.7% |
12 more tests
| test | result | vs the others in its run | counts |
|---|---|---|---|
| HellaSwag | 71.2% ✎ | ▄·▄··█▄·▄·▄▄ beats 2/7 | 2.5% |
| BoolQ | 84.4% ✎ | ▄▄····▄▄·█·█ beats 4/7 | 2.4% |
| ARC Challenge | 57.4% ✎ | ▄····█··▄▄▄█ beats 5/7 | 1.9% |
| OpenBookQA | 44.2% ✎ | ▄▄··▄··▄·█▄▄ beats 6/7 | 1.8% |
| Open Persian LLM Leaderboard v2 average (21 tasks) | 44.4% ✎ | ▂▄▂▃█▄▃▆▃▅▂▂ beats 18/81 | 1.6% |
| ZebraLogic (ZeroEval, 1,000 puzzles) | 4.2% ✎ | ▁▃▃▆██▁▁·▁▁▁ beats 1/57 | 1.2% |
| Open PT-LLM Leaderboard average (9 Portuguese tasks) | 67.7% ✎ | ▃▁▁▁▁▁▁▁▂█▅▁ beats 136/276 | 0.7% |
| SurgiQ surgical MCQ (zero-shot, log-probability scoring) | 35.0% ✎ | ▂···▂▃·▃▂▃██ beats 2/17 | 0.6% |
| EuroEval Life in the UK (English knowledge MC), test split, 5-shot, accuracy | 70.0% ✎ | ▁▁▁▁▁▁▁▂▄█▄▃ beats 38/146 | 0.6% |
| EuroEval HellaSwag (English), test split, 5-shot generative MC, accuracy | 53.9% ✎ | ▃·▁▁▂▁▂▅█▇▄▁ beats 29/100 | 0.5% |
| Social IQA | 60.8% ✎ | ▃·····▃··█▃▅ beats 4/7 | 0.5% |
| Vectara hallucination leaderboard, 2025 dataset (HHEM-2.3, factual consistency rate) | 93.0% ✎ | ▁▁▂▃▄▄█▆▃▂▂▁ beats 43/140 | 0.4% |
$ 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 Gemma 2 2B IT · needs ~1.7 GB · from huggingface.co/lmstudio-communitychat in the terminal
llama cli -hf lmstudio-community/gemma-2-2b-it-GGUF:Q4_K_M - Or start a local server and open the address it prints (http://localhost:9931)
llama serve -hf lmstudio-community/gemma-2-2b-it-GGUF:Q4_K_M
LM Studio
version
- Install LM Studio · Open the app once before using the lms command.
- Run Gemma 2 2B IT · needs ~1.7 GB · from huggingface.co/lmstudio-community
- Or download it in the terminal
lms get https://huggingface.co/lmstudio-community/gemma-2-2b-it-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 Gemma 2 2B IT · needs ~2.07 GB · from ollama.comchat in the terminal
ollama run gemma2:2b-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 Gemma 2 2B IT · needs ~1.5 GB, Mac only · from huggingface.co/mlx-communitychat in the terminal
mlx_lm.chat --model mlx-community/gemma-2-2b-it-4bit - Or start an OpenAI-compatible server at http://localhost:8080/v1
mlx_lm.server --model mlx-community/gemma-2-2b-it-4bit
Official weights and documentation: huggingface.co/google ↗
$ how the score was worked out · IBM Granite 3.0 Language Mode… 46%, WildEval ZeroEval published r… 39%, WildBench v2 leaderboard data… 4% and 7 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