whatmodel.sh / Gemma 7B (base)
Gemma 7B (base)
↗ share
+ contribute
Gemma 7B (base) 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
Maker repo google/gemma-7b @ff6768d: licence tag gemma. 8,537,680,896 parameters from the Hugging Face safetensors metadata (dense, so active = total). Released 2024-02: month the maker's Hugging Face repo was created (createdAt 2024-02-08). Pretrained Gemma 1.0 7B; the catalogue's gemma-7b is the instruction-tuned Gemma 7B IT. Ollama tags gemma:7b-text-q4_K_M, gemma:7b-text-q8_0 (sizes as listed on the tags page, observed 2026-09-29).
$ how it compares
The LLMs ranked either side of Gemma 7B (base), out of 828 with a score, then more from Google.
| # | model | score | where | ||
|---|---|---|---|---|---|
| 692 | 36±1 | local | |||
| 693 | 35±2 | comparison only | |||
| 694 | 35±1 | local | |||
| 695 | 35±1 | local | |||
| 696 | 35±3 | 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▁▁▁▃▆██▇▆▄▃▁ #416 of 458 · 71% of its score · 7 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, Granite 3B Code Base (2K) here, though they rank lower overall.
| test | result | vs the others in its run | counts |
|---|---|---|---|
| HumanEval +3 | 35.4% ✎ | ▁·▁▁▃▄▆▅█▃▁▁ beats 20/99 | 41% |
| HumanEval+ | 28.7% ✎ | ▁·▁▁▁▃▄▄▄█▃▁ beats 17/99 | 16% |
| HumanEvalSynthesize (HumanEvalPack, 6-language average) | 34.4% ✎ | ▁·▂▁▂▆▅█▄▄▁▂ beats 12/35 | 4.2% |
| MBPP+ | 43.4% ✎ | ▁···▁▁▃▅▇█▆▂ beats 9/75 | 3.1% |
| MBPP lab +1 | 44.4% ✎ | ▁▁▁▄▅█▄▅▃▁▂▁ beats 21/81 | 2.6% |
| HumanEvalExplain (HumanEvalPack, 6-language average) | 15.0% ✎ | ▄▇█▃▄▇▄▁▇▃·▁ beats 9/35 | 2.3% |
| HumanEvalFix (HumanEvalPack, 6-language average) | 7.4% ✎ | ▁·▁▁▄██▄█▁▅▅ beats 3/35 | 2.0% |
math▁▂▃▅▆▅▄█▄▁▁▁ #291 of 398 · 4.5% of its score · 2 tests
Beats GPT-4 (0613), Athene-70B, Gemma 2 27B IT here, though they rank higher overall.
other tests22 not in a task · 25% of its score
| test | result | vs the others in its run | counts |
|---|---|---|---|
| EvoEval (overall) | 23.0% ✎ | ▂▂▃▄▄█▁▄▅▃▁▃ beats 7/42 | 5.8% |
| MedQA (USMLE, 4 options) | 48.7% ✎ | ▁▁··▄▁▁··▄▃█ beats 10/17 | 2.6% |
| BIG-Bench Hard lab | 55.1% ✎ | ▁▁▁▁▂▄▅▅█▃▄▁ beats 58/129 | 1.9% |
| ARC Challenge lab | 53.2% ✎ | ▆▁▁▂▂▅▇█▄▃▃▂ beats 62/97 | 1.8% |
| MedMCQA | 49.3% ✎ | ▂▂··▄▄▂▂·▄██ beats 12/17 | 1.4% |
| OpenBookQA lab | 52.8% ✎ | █▁▁▁▄▃▃▇▂▁▄▂ beats 49/65 | 1.1% |
| WinoGrande lab | 72.3% ✎ | ▁···▂▁▁▅█▇▃▁ beats 69/87 | 1.1% |
| Natural Questions (closed book) lab | 23.0% ✎ | ▁·▁·▁▂▁▂▁▄▃█ beats 19/33 | 1.1% |
14 more tests
| test | result | vs the others in its run | counts |
|---|---|---|---|
| MMLU lab | 64.3% ✎ | ▁▁▁▁▁▂▃▅█▃▆▃ beats 82/183 | 1.0% |
| BoolQ lab | 83.2% ✎ | ▁▄▅▆▂▆▄▄█▃▄▄ beats 47/58 | 1.0% |
| TriviaQA lab | 63.4% ✎ | ▁·▁▁▄▁▂▂▅▁▃█ beats 27/38 | 0.9% |
| HellaSwag lab | 81.2% ✎ | ▁▁▁▁▂▂▃▇█▆▅▃ beats 69/85 | 0.8% |
| AGIEval English (Gemma report) lab | 41.7% ✎ | ▄··········█ beats 2/2 | 0.7% |
| CommonsenseQA lab | 71.3% ✎ | ▄·▄▄·▄····▄█ beats 6/6 | 0.6% |
| ARC Easy lab | 81.5% ✎ | ▁▂▃▂▃▅▇█▇▆▄▆ beats 63/65 | 0.5% |
| Open PT-LLM Leaderboard average (9 Portuguese tasks) | 64.2% ✎ | ▃▁▁▁▁▁▁▁▂█▅▁ beats 109/276 | 0.5% |
| Social IQA lab | 51.8% ✎ | ▂·▂██▅▅▁▂▃▆▁ beats 34/51 | 0.5% |
| EuroEval Life in the UK (English knowledge MC), test split, 5-shot, accuracy | 84.9% ✎ | ▁▁▁▁▁▁▁▂▄█▄▃ beats 98/146 | 0.4% |
| PIQA lab | 81.2% ✎ | ▁▁▁▃▃▄▇█▄▃▁▁ beats 71/83 | 0.3% |
| EuroEval HellaSwag (English), test split, 5-shot generative MC, accuracy | 33.5% ✎ | ▃·▁▁▃▁▂▅█▇▄▁ beats 17/100 | 0.3% |
| TruthfulQA MC2 | 44.9% ✎ | ▅▃█▆▁▂▅···▁▁ beats 19/31 | 0.2% |
| PubMedQA | 75.6% ✎ | ▂·▂▆·▄▂▄▄▂█▂ beats 16/17 | 0.2% |
$ 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 (base) · needs ~5.3 GB · from huggingface.co/MaziyarPanahichat in the terminal
llama cli -hf MaziyarPanahi/gemma-7b-GGUF:Q4_K_M - Or start a local server and open the address it prints (http://localhost:9931)
llama serve -hf MaziyarPanahi/gemma-7b-GGUF:Q4_K_M
LM Studio
version
- Install LM Studio · Open the app once before using the lms command.
- Run Gemma 7B (base) · needs ~5.3 GB · from huggingface.co/MaziyarPanahi
- Or download it in the terminal
lms get https://huggingface.co/MaziyarPanahi/gemma-7b-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 (base) · needs ~5.5 GB · from ollama.comchat in the terminal
ollama run gemma:7b-text-q4_K_M
Official weights and documentation: huggingface.co/google ↗
$ how the score was worked out · EvalPlus / EvalPerf published… 42%, Gemma report — original evalu… 19%, Top Leaderboard Ranking = Top… 18% and 6 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