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'.
Score within the LMArena (text) comparison set only.
$ how it compares
The LLMs ranked either side of Gemma 2 2B IT, out of 897 with a score, then more from Google.
| # | model | score | where | ||
|---|---|---|---|---|---|
| 699 | 39±2 | local | |||
| 700 | 39±1 | local | |||
| 701 | 39±1 | local | |||
| 702 | 39±3 | local | |||
| 703 | 39±2 | local | |||
| more from Google | |||||
| 3 | 84±1 | api $4.00/M | |||
| 9 | 81±1 | api $4.00/M | |||
| 14 | 79±2 | api $3.00/M | |||
$ what it's good at
coding▁▁▁▃▆▇█▆▆▃▃▁ #417 of 474 · 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 EXAONE 3.5 2.4B Instruct, Code Llama 7B Instruct, Qwen2.5 1.5B Instruct here, though they rank lower overall.
chat & writing▁▁▁▃▅▄▆█▇▇▇▃ #316 of 405 * · 5.2% of its score · 2 tests
Beats Gemma 4 E4B, OpenThinker3 7B, Code Llama 70B Instruct here, though they rank higher overall. Trails LFM2 350M, Gemma 3 1B, Qwen3 0.6B here, though they rank lower overall.
| test | result | vs the others in its run | counts |
|---|---|---|---|
| LMArena (text) | 1200.2 ✎ | ▁▁▁▂▃▃▃▆▆▇█▃ beats 69/388 | 3.7% |
| IFEval (aggregation unspecified) | 53.8% ✎ | ▄····█·▄··██ beats 7/7 | 1.5% |
math▁▁▃▅█▆▅█▄▁▁▁ #418 of 440 · 20% of its score · 4 tests
Beats Command R (03-2024), Mistral 7B Instruct v0.3 here, though they rank higher overall. Trails GPT-Neo 125M, OPT-125M, GPT-2 XL (1.5B) 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% |
| GSM8K | 30.9% ✎ | █▄····▄··█▄▄ beats 2/7 | 4.4% |
| MATH (subset unspecified) | 21.8% ✎ | ▄···▄▄▄▄··█▄ beats 3/7 | 3.7% |
| MATH Level 5 (ZeroEval, 721 problems) | 4.3% ✎ | ▃▁▁▆█▂▇▇▄··▂ beats 0/38 | 1.6% |
other tests20 not in a task · 59% of its score
| test | result | vs the others in its run | counts |
|---|---|---|---|
| MMLU-Redux (ZeroEval, 2,778 questions) | 51.9% ✎ | ▁·▃▁▄▄▄▅█▄▂▁ beats 1/53 | 19% |
| BIG-Bench Hard | 43.5% ✎ | ▃▃···▃··█··▅ beats 3/7 | 6.7% |
| MMLU | 56.8% ✎ | ▄····▄·▄▄█·█ beats 4/7 | 4.4% |
| WildBench v2 WB-Score (task macro) | 27.8260 WB-Score ✎ | ▁·▁▁·▃█▄▇▆▅▆ beats 9/52 | 4.2% |
| GPQA (subset unspecified) | 29.4% ✎ | ▄·▄··▄··▄█·█ beats 5/7 | 3.6% |
| CPTUB average (SpeakLeash, 0-5 judge scale) | 53.0% ✎ | ▁▂▂▂▃█▃▆▅▄▂▃ beats 19/95 | 3.3% |
| MMLU-Pro | 27.2% ✎ | ▄·····█··█▄█ beats 3/7 | 2.9% |
| WinoGrande | 68.9% ✎ | █···▄▄▄▄···█ beats 3/7 | 2.8% |
12 more tests
| test | result | vs the others in its run | counts |
|---|---|---|---|
| HellaSwag | 71.2% ✎ | ▄·▄··█▄·▄·▄▄ beats 2/7 | 1.9% |
| Open Persian LLM Leaderboard v2 average (21 tasks) | 44.4% ✎ | ▂▄▂▃█▄▃▆▃▅▂▂ beats 18/81 | 1.9% |
| ARC Challenge | 57.4% ✎ | ▄····█··▄▄▄█ beats 5/7 | 1.6% |
| OpenBookQA | 44.2% ✎ | ▄▄··▄··▄·█▄▄ beats 6/7 | 1.6% |
| ZebraLogic (ZeroEval, 1,000 puzzles) | 4.2% ✎ | ▁▃▃▆██▁▁·▁▁▁ beats 1/57 | 1.2% |
| BoolQ | 84.4% ✎ | ▄▄····▄▄·█·█ beats 4/7 | 1.2% |
| Open PT-LLM Leaderboard average (9 Portuguese tasks) | 67.7% ✎ | ▃▁▁▁▁▁▁▁▂█▅▁ beats 136/276 | 0.9% |
| SurgiQ surgical MCQ (zero-shot, log-probability scoring) | 35.0% ✎ | ▂···▂▃·▃▂▃██ beats 2/17 | 0.7% |
| EuroEval Life in the UK (English knowledge MC), test split, 5-shot, accuracy | 70.0% ✎ | ▁▁▁▁▁▁▁▂▄█▄▃ beats 38/146 | 0.7% |
| EuroEval HellaSwag (English), test split, 5-shot generative MC, accuracy | 53.9% ✎ | ▃·▁▁▂▁▂▅█▇▄▁ beats 29/100 | 0.6% |
| Vectara hallucination leaderboard, 2025 dataset (HHEM-2.3, factual consistency rate) | 93.0% ✎ | ▁▁▂▃▄▄█▆▃▂▂▁ beats 43/140 | 0.4% |
| Social IQA | 60.8% ✎ | ▃·····▃··█▃▅ beats 4/7 | 0.3% |
$ 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
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 3.4 GB memory, 1.71 GB download · 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 3.4 GB memory, 1.71 GB download · 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 3.4 GB memory, 1.71 GB download · 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 3.2 GB memory, 1.47 GB download, 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
Model repository and documentation: huggingface.co/google ↗
$ how the score was worked out · IBM Granite 3.0 Language Mode… 44%, WildEval ZeroEval published r… 40%, 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