Google
Gemma 2 2B
当前382.0K下载量1.4K点赞Jun 2024发布日期8K tokens上下文Gemma许可证15 入门质量
Gemma 2 2B (2B parameters) requires approximately 4.6 GB of VRAM with Q4_K_M quantization. For the best balance of quality and speed, we recommend hardware with at least 6 GB of VRAM.
快速开始
— 复制粘贴即可本地运行Copy-paste commands to run Gemma 2 2B on your machine.
Run
lms load gemma-2-2b-it && lms server startQuick specs
Parameters2B
Architecturedense
Context8K tokens
Modalitytext
Min RAM0.8 GB
Rec. RAM1.2 GB (Q4_K_M)
LicenseGemma
FamilyGemma
✓ Chat
About this model
相关模型
快速推荐
最佳硬件
Gemma 2 2B 的最佳选择
运行此模型
量化选项
各量化级别的 VRAM 估算
No hardware detected — fit column shows raw VRAM estimates
| Quant | Bits | VRAM | Quality | Fit |
|---|---|---|---|---|
Q2_K | 2 | 0.8 GB | Low | — |
Q3_K_S | 3 | 1.0 GB | Low | — |
NVFP4 | 4 | 1.1 GB | Medium | — |
Q4_K_M | 4 | 1.2 GB | Medium | — |
Q5_K_M | 5 | 1.4 GB | High | — |
Q6_K | 6 | 1.6 GB | High | — |
Q8_0 | 8 | 2.1 GB | Very High | — |
F16 | 16 | 4.1 GB | Maximum | — |
Quality benchmarks
Gemma 2 2B benchmark scores
Coding
SWE-bench Verified—
HumanEval+40.2%
Aider Polyglot—
LiveCodeBench—
Reasoning
MMLU-Pro17.2%
GPQA Diamond3.2%
MATH-50036.6%
ARC Challenge68.4%
General
Chatbot Arena—
IFEval56.7%
Source: official · 2024-06-27
硬件兼容性
全部硬件的适配估算
Computing compatibility...
内存详细分析
Reference: RTX 2060 6GB
Weights1.2 GB
KV Cache1.6 GB
Runtime1.2 GB
Headroom0.6 GB
常见问题
FAQ — Gemma 2 2B
另请参阅