Codegemma 2B vs Shieldgemma 2B

Side-by-side comparison of VRAM requirements, quantization, context length, and hardware compatibility.

Codegemma 2B

Google · 2.5B

ChatCode
Shieldgemma 2B

Google · 2.6B

Chat

Specifications

Codegemma 2BShieldgemma 2B
Parameters2.5B2.6B
Context
Architecture
LicenseGemma TermsGemma Terms
Downloads5.8K4.6K
ReleasedAug 2024Aug 2024

VRAM by Quantization: Codegemma 2B vs Shieldgemma 2B

QuantizationBitsCodegemma 2B VRAMShieldgemma 2B VRAM
Q2_K3.401.2 GB
Q3_K_M3.901.4 GB
Q3_K_S3.501.3 GB
Q4_04.001.4 GB
Q4_K_M4.801.7 GB
Q5_K_M5.702.0 GB
Q6_K6.602.4 GB
Q8_08.002.9 GB

Verdict

Codegemma 2B is the more widely downloaded of the two.

Frequently Asked Questions

What is the difference between Codegemma 2B and Shieldgemma 2B?

Codegemma 2B is a 2.5B model from Google (Gemma 2 family), while Shieldgemma 2B is a 2.6B model from Google (Gemma 2 family). Compare their VRAM requirements above to see which fits your GPU or Mac.