Codegemma 2B vs Gemma 2B
Side-by-side comparison of VRAM requirements, quantization, context length, and hardware compatibility.
Specifications
| Codegemma 2B | Gemma 2B | |
|---|---|---|
| Parameters | 2.5B | 2.5B |
| Context | — | — |
| Architecture | — | — |
| License | Gemma Terms | Gemma Terms |
| Downloads | 5.8K | 324.3K |
| Released | Aug 2024 | Sep 2024 |
VRAM by Quantization: Codegemma 2B vs Gemma 2B
| Quantization | Bits | Codegemma 2B VRAM | Gemma 2B VRAM |
|---|---|---|---|
| Q2_K | 3.40 | — | 1.2 GB |
| Q3_K_M | 3.90 | — | 1.3 GB |
| Q3_K_S | 3.50 | — | 1.2 GB |
| Q4_0 | 4.00 | — | 1.4 GB |
| Q4_K_M | 4.80 | — | 1.6 GB |
| Q5_K_M | 5.70 | — | 2.0 GB |
| Q6_K | 6.60 | — | 2.3 GB |
| Q8_0 | 8.00 | — | 2.8 GB |
Verdict
Gemma 2B is the more widely downloaded of the two.
Frequently Asked Questions
- What is the difference between Codegemma 2B and Gemma 2B?
Codegemma 2B is a 2.5B model from Google (Gemma 2 family), while Gemma 2B is a 2.5B model from Google (Gemma 2 family). Compare their VRAM requirements above to see which fits your GPU or Mac.