whatmodel.sh / Gemma 2 27B IT
Gemma 2 27B IT
↗ share
+ contribute
Gemma 2 27B IT is an open-weights language model from Google, released June 2024. Its published size is 27.23B parameters and a 8k-token context window. Licence: gemma.
Catalogue identity notes
Comparison model from the Epoch AI internal-evaluation CSVs (Epoch release date 2024-06-24). Instruction-tuned checkpoint google/gemma-2-27b-it. 27,227,128,320 parameters (safetensors metadata). ollama gemma2:27b = 27b-instruct-q4_0 (same digest).
$ how it compares
The LLMs ranked either side of Gemma 2 27B IT, out of 828 with a score, then more from Google.
| # | model | score | where | ||
|---|---|---|---|---|---|
| 413 | 50±1 | local | |||
| 414 | 50±5 | local | |||
| 415 | 50±1 | local | |||
| 416 | 50±2 | local | |||
| 417 | 50±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▁▁▁▃▆██▇▆▄▃▁ #231 of 458 · 11% of its score · 5 tests
Beats Qwen3.5 4B, Qwen3-VL 32B Instruct, Solar Open 100B (102B-A12B) here, though they rank higher overall. Trails QwQ-32B-Preview here, though they rank lower overall.
| test | result | vs the others in its run | counts |
|---|---|---|---|
| CRUXEval (ZeroEval, 800 problems) | 57.3% ✎ | ▁▂▆▃▆█▆▃▂·▁▁ beats 17/47 | 8.2% |
| CodeReviewQA: change localisation (hard), invariant accuracy | 58.7% ✎ | █▂▁▁▂▂▂▃▅▅▅▇ beats 41/47 | 0.9% |
| CodeReviewQA: solution identification (hard), invariant accuracy | 65.7% ✎ | ▃··▁▂▂▃▂█▃▄▂ beats 35/47 | 0.8% |
| CodeReviewQA: automated code refinement, exact match rate | 46.4% ✎ | ▁▁▁▁▁▁▂▂▃█▅▄ beats 44/47 | 0.6% |
| CodeReviewQA: change type recognition, invariant accuracy | 74.0% ✎ | ▁▁▁······▁▃█ beats 28/47 | 0.0% |
chat & writing▁▁▁▃▅▄▅█▆▆▇▃ #236 of 393 · 19% of its score · 6 tests
Beats Mistral Small 4 (119B-A6.5B), Ministral 3 14B Reasoning 2512, Qwen2.5 Coder 32B Instruct here, though they rank higher overall. Trails Flan-T5 XXL, LFM2.5 1.2B Instruct, Gemma 3 4B here, though they rank lower overall.
| test | result | vs the others in its run | counts |
|---|---|---|---|
| Arena-Hard (v0.1, GPT-4-1106 judge) | 57.5% ✎ | ▂▁▁▅█▅▄▃▃▅▃▁ beats 40/60 | 8.1% |
| Polyrating rating (bias-aware re-fit of Chatbot Arena votes, mid-2024) | 1232.0 ✎ | ▂▁▂▁▃▇█▆▇▄▃▂ beats 89/95 | 2.9% |
| LMArena (text) | 1289.4 ✎ | ▁▁▁▂▃▃▃▆▆▇█▃ beats 122/379 | 2.9% |
| Arabic IFEval prompt-level (Inception) | 59.4% ✎ | ▁·▁▁▂▁▄▄▆▄█▄ beats 33/38 | 2.5% |
| AlpacaEval 2 length-controlled | 49.0% ✎ | ▃▃·▁▁█▇▅·▁·▁ beats 19/22 | 2.0% |
| IFEval prompt-level loose | 63.2% ✎ | ▁▃▁▃▁▄▁▁█▃▃▁ beats 5/22 | 0.6% |
math▁▂▃▅▆▅▄█▄▁▁▁ #300 of 398 · 19% of its score · 7 tests
Beats GPT-4 (0613), Athene-70B here, though they rank higher overall. Trails Gemma 7B (base), DeepSeek R1 Distill Qwen 1.5B, CodeGemma 7B (v1.0) here, though they rank lower overall.
| test | result | vs the others in its run | counts |
|---|---|---|---|
| MATH level 5 | 27.9% ✎ | ▂▂▅▆▄█▆▃▅▂▃▄ beats 26/92 | 6.3% |
| MATH Level 5 (ZeroEval, 721 problems) | 26.6% ✎ | ▁▁▁▆█▂▇▇▄··▂ beats 16/38 | 4.0% |
| GSM8K (ZeroEval, zero-shot) | 90.2% ✎ | ▁▄·▁▄█▅▅▅███ beats 22/43 | 3.5% |
| MATH (subset unspecified) +1 | 35.1% ✎ | ▃▃█▂▂▆·····▁ beats 5/22 | 1.7% |
| GSM8K | 80.7% ✎ | ▂▃··▃▂▅█▆▃▂▃ beats 8/22 | 1.5% |
| OTIS mock AIME 2024–2025 | 1.4% ✎ | ▃▃▄▃▃▃▇▇█▃▂▅ beats 11/193 | 0.9% |
| OMEGA (math generalisation) | 9.1% ✎ | ▅···▃▃···▃▃█ beats 0/8 | 0.8% |
other tests15 not in a task · 51% of its score
| test | result | vs the others in its run | counts |
|---|---|---|---|
| MMLU-Redux (ZeroEval, 2,778 questions) | 75.7% ✎ | ▁·▁▁▄▄▄▅█▄▂▁ beats 21/53 | 13% |
| LiveBench 2024-07-26 | 41.3% ✎ | ▁▁▁▂▂▃▂█▆▃▅▃ beats 46/61 | 12% |
| ZebraLogic (ZeroEval, 1,000 puzzles) | 16.3% ✎ | ▁▁▃▆██▁▁·▁▁▁ beats 21/57 | 4.3% |
| BIG-Bench Hard | 72.7% ✎ | ▁▄·▁▁·▅█·▄▄▁ beats 15/22 | 3.9% |
| MMLU | 70.7% ✎ | ▁▂·▁·▁▁█·▃▃▅ beats 11/22 | 3.7% |
| GPQA Diamond | 36.5% ✎ | ▁▁▁▁▂▄▆▄▅▇█▅ beats 31/208 | 3.4% |
| WildBench v2 WB-Score (task macro) | 48.5402 WB-Score ✎ | ▁·▁▁·▃█▄▇▆▅▆ beats 39/52 | 3.3% |
| EvalPerf correctness (118 tasks, 20240328) | 80.2% ✎ | ▂·▂▂▂▆▅▆▆▆▃█ beats 18/29 | 1.8% |
7 more tests
| test | result | vs the others in its run | counts |
|---|---|---|---|
| BRIDGE clinical text, zero-shot average (87 tasks) | 38.2% ✎ | ▁▁▁▁▁▂▂▃▄▆█▃ beats 61/97 | 1.4% |
| Open Persian LLM Leaderboard v2 average (21 tasks) | 60.8% ✎ | ▂▄▂▃█▄▃▆▃▅▂▂ beats 54/81 | 1.2% |
| PopQA | 33.9% ✎ | ▁▁▁▃▃▃▁█▃▃·▄ beats 16/21 | 0.8% |
| Open PT-LLM Leaderboard average (9 Portuguese tasks) | 76.3% ✎ | ▃▁▁▁▁▁▁▁▂█▅▁ beats 232/276 | 0.6% |
| TruthfulQA MC2 | 64.6% ✎ | ▃▃▂·▃▃·▅█▂▅▂ beats 14/21 | 0.6% |
| EuroEval HellaSwag (English), test split, 5-shot generative MC, accuracy | 83.0% ✎ | ▃·▁▁▂▁▂▅█▇▄▁ beats 78/100 | 0.5% |
| EuroEval Life in the UK (English knowledge MC), test split, 5-shot, accuracy | 88.2% ✎ | ▁▁▁▁▁▁▁▂▄█▄▃ beats 111/146 | 0.3% |
$ 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 27B IT · needs ~16.6 GB · from huggingface.co/lmstudio-communitychat in the terminal
llama cli -hf lmstudio-community/gemma-2-27b-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-27b-it-GGUF:Q4_K_M
LM Studio
version
- Install LM Studio · Open the app once before using the lms command.
- Run Gemma 2 27B IT · needs ~16.6 GB · from huggingface.co/lmstudio-community
- Or download it in the terminal
lms get https://huggingface.co/lmstudio-community/gemma-2-27b-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 27B IT · needs ~16.84 GB · from ollama.comchat in the terminal
ollama run gemma2:27b
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 27B IT · needs ~15.3 GB, Mac only · from huggingface.co/mlx-communitychat in the terminal
mlx_lm.chat --model mlx-community/gemma-2-27b-it-4bit - Or start an OpenAI-compatible server at http://localhost:8080/v1
mlx_lm.server --model mlx-community/gemma-2-27b-it-4bit
Official weights and documentation: huggingface.co/google ↗
$ how the score was worked out · WildEval ZeroEval published r… 33%, 2 OLMo 2 Furious (Team OLMo,… 14%, LiveBench model judgments (HF… 12% and 13 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