whatmodel.sh / Gemma 7B IT
Gemma 7B IT
↗ share
+ contribute
Gemma 7B IT is an open-weights language model from Google, released February 2024. Its published size is 8.54B parameters and a 8k-token context window. Licence: gemma.
Catalogue identity notes
Arena entry 'gemma-7b-it' (text). LMArena's leaderboard table (arena-leaderboard space @6f2eeeb) labels 'gemma-7b-it' as 'Gemma-7B-it' (Google, Gemma license), linking https://huggingface.co/google/gemma-7b-it. Maker repo google/gemma-7b-it @9c5798d: licence tag gemma. 8,537,680,896 parameters from the Hugging Face safetensors metadata (dense, so active = total). Released 2024-02: Google Gemma releases page (ai.google.dev/gemma/docs/releases): 'February 21, 2024 Initial release of Gemma in 2B and 7B sizes'. The ollama gemma library was updated to v1.1; the tags used here are the separate original (non-v1.1) builds, which have different digests from the -v1.1- tags.
$ how it compares
The LLMs ranked either side of Gemma 7B IT, out of 828 with a score, then more from Google.
| # | model | score | where | ||
|---|---|---|---|---|---|
| 720 | 32±1 | local | |||
| 721 | 32±2 | local | |||
| 722 | 32±1 | local | |||
| 723 | 32±1 | local | |||
| 724 | 32±2 | 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▁▁▁▃▆██▇▆▄▃▁ #426 of 458 · 74% of its score · 6 tests
Beats DeepSeek R1 Distill Qwen 7B, Qwen3.5 2B, DeepSeek R1 Distill Llama 8B here, though they rank higher overall. Trails Llama 3.2 1B Instruct, SmolLM2 1.7B Instruct, Mistral 7B Instruct v0.1 here, though they rank lower overall.
| test | result | vs the others in its run | counts |
|---|---|---|---|
| HumanEval +1 | 28.7% ✎ | ▁·▁▁▃▄▆▅█▃▁▁ beats 12/99 | 42% |
| HumanEval+ | 25.0% ✎ | ▁·▁▁▁▃▄▄▄█▃▁ beats 13/99 | 18% |
| HumanEvalSynthesize (HumanEvalPack, 6-language average) | 19.8% ✎ | ▁·▃▁▂▆▅█▄▄▁▂ beats 2/35 | 5.2% |
| MBPP+ | 36.8% ✎ | ▁···▁▁▃▅▇█▆▂ beats 5/75 | 4.1% |
| HumanEvalExplain (HumanEvalPack, 6-language average) | 21.5% ✎ | ▄▇█▃▄▇▄▁▇▃·▁ beats 17/35 | 2.6% |
| HumanEvalFix (HumanEvalPack, 6-language average) | 13.7% ✎ | ▁·▁▁▄██▄█▁▅▅ beats 12/35 | 2.0% |
chat & writing▁▁▁▃▅▄▅█▆▆▇▃ #364 of 393 · 13% of its score · 4 tests
Beats Gemma 4 E2B, Code Llama 70B Instruct, Phi-2 (2.7B) here, though they rank higher overall. Trails Gemma 3 270M IT, SmolLM2 360M Instruct, Granite 4.0 350M here, though they rank lower overall.
| test | result | vs the others in its run | counts |
|---|---|---|---|
| AlpacaEval 2 length-controlled | 10.4% ✎ | ▁▂▂▃▆▆█▆▄▄▁▁ beats 23/122 | 4.6% |
| Polyrating rating (bias-aware re-fit of Chatbot Arena votes, mid-2024) | 1029.0 ✎ | ▂▁▂▁▃▇█▆▇▄▂▂ beats 19/95 | 3.5% |
| LMArena (text) | 1137.7 ✎ | ▁▁▁▃▃▃▃▆▆▇█▃ beats 30/379 | 3.4% |
| Arena-Hard (v0.1, GPT-4-1106 judge) | 7.5% ✎ | ▂▃▁▅█▅▄▃▃▅▃▁ beats 3/60 | 1.7% |
other tests6 not in a task · 13% of its score
| test | result | vs the others in its run | counts |
|---|---|---|---|
| EvoEval (overall) | 17.7% ✎ | ▂▃▃▄▄█▁▄▅▃▁▃ beats 3/42 | 6.7% |
| WildBench v2 WB-Score (task macro) | 6.6198 WB-Score ✎ | ▁·▃▁·▃█▄▇▆▅▆ beats 1/52 | 3.9% |
| Open PT-LLM Leaderboard average (9 Portuguese tasks) | 48.0% ✎ | ▃▁▁▁▁▁▁▃▂█▅▁ beats 64/276 | 0.6% |
| EuroEval Life in the UK (English knowledge MC), test split, 5-shot, accuracy | 64.0% ✎ | ▁▁▁▁▁▁▁▃▄█▄▃ beats 34/146 | 0.5% |
| Vectara hallucination leaderboard, 2025 dataset (HHEM-2.3, factual consistency rate) | 85.2% ✎ | ▁▁▃▃▄▄█▆▃▂▂▁ beats 14/140 | 0.4% |
| EuroEval HellaSwag (English), test split, 5-shot generative MC, accuracy | 26.5% ✎ | ▃·▃▁▂▁▂▅█▇▄▁ beats 8/100 | 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 7B IT · needs ~5.3 GB · from huggingface.co/MaziyarPanahichat in the terminal
llama cli -hf MaziyarPanahi/gemma-7b-it-GGUF:Q4_K_M - Or start a local server and open the address it prints (http://localhost:9931)
llama serve -hf MaziyarPanahi/gemma-7b-it-GGUF:Q4_K_M
LM Studio
version
- Install LM Studio · Open the app once before using the lms command.
- Run Gemma 7B IT · needs ~5.3 GB · from huggingface.co/MaziyarPanahi
- Or download it in the terminal
lms get https://huggingface.co/MaziyarPanahi/gemma-7b-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 7B IT · needs ~5.62 GB · from ollama.comchat in the terminal
ollama run gemma:7b-instruct-q4_K_M
Official weights and documentation: huggingface.co/google ↗
$ how the score was worked out · EvalPlus / EvalPerf published… 50%, Top Leaderboard Ranking = Top… 21%, Granite Code Models: A Family… 10% and 8 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