Google/Dense

Googlegemma-2-2b

chat
2.6B
Parameters
4K
Context length
9
Benchmarks
6
Quantizations
429K
HF downloads
Architecture
Dense
Released
2024-04-09
Layers
26
KV Heads
4
Head Dim
256
Family
gemma

Quantization Options

QuantBitsVRAMQuality
Q4_K_M4.892.1 GBgood
Q5_K_S5.572.3 GBgood
Q5_K_M5.72.3 GBgood
Q6_K6.562.6 GBexcellent
Q8_08.53.3 GBlossless
FP16165.7 GBlossless

Select your GPU above to see speed estimates and compatibility for each quantization.

READY TO RUN THIS?RENT BY THE HOUR

RENT A GPU AND RUN GEMMA-2-2B NOW

Spin up an A100 / H100 / 4090 in ~60s. Pay by the second. Cancel anytime.

Community Ratings

Loading ratings...

Benchmarks (9)

Arena Elo1159
IFEval57.5
MBPP27.9
HumanEval27.2
BBH19.7
MMLU-PRO18.8
MUSR15.3
MATH9.1
GPQA7.4

Run this model

Easiest way to get started·Beginners
DOCS ↗
curl -fsSL https://ollama.com/install.sh | sh
$ollama run gemma2:2.6b-instruct-q4_K_M

Downloads and runs automatically. Add --verbose for speed stats.

▸ SETUP GUIDE
>_

Auto-setup with fitmyllm CLI

Detects your GPU, recommends the best model, downloads it, and starts chatting — zero config. Benchmarks your speed and contributes anonymous data to improve predictions.

pip install fitmyllmthen run fitmyllmLearn more
Auto-detect GPULive tok/s in chatSpeed benchmarks9 inference engines

GPUs that can run this model

At Q4_K_M quantization. Sorted by minimum VRAM.

NVIDIA Tesla C2050
3 GB VRAM • 144 GB/s
NVIDIA
NVIDIA Tesla M2050
3 GB VRAM • 148 GB/s
NVIDIA
NVIDIA Tesla S2050
3 GB VRAM • 148 GB/s
NVIDIA

Find the best GPU for gemma-2-2b

Build Hardware for gemma-2-2b
▸ SPEC SHEET

gemma-2-2b2.6B Dense.

▸ SPECIFICATIONS
PARAMETERS
2.6B
ARCHITECTURE
Dense Transformer
CONTEXT LENGTH
4K tokens
CAPABILITIES
chat
RELEASE DATE
2024-04-09
PROVIDER
Google
FAMILY
gemma
▸ VRAM REQUIREMENTS
QUANTBPWVRAMQUALITY
Q4_K_M4.892.1 GB94%
Q5_K_S5.572.3 GB96%
Q5_K_M5.72.3 GB96%
Q6_K6.562.6 GB97%
Q8_08.53.3 GB100%
FP16165.7 GB100%
§ 01BENCHMARK SCORES
HumanEval27.2
MMLU-PRO18.8
MATH9.1
IFEval57.5
BBH19.7
GPQA7.4
MUSR15.3
MBPP27.9
Arena Elo1159.0
§ 02RUN COMMAND

Run gemma-2-2b locally with Ollama — needs 2.1 GB VRAM at Q4_K_M:

$ollama run gemma2:2.6b