← All Models
|
Gemma - Google's lightweight open models built from Gemini research:
gemma-2b
gemma-7b
gemma-2-2b
gemma-2-9b
gemma-2-27b
gemma-3-270m
gemma-3-1b-pt
gemma-3-4b-pt
gemma-3-12b-pt
gemma-3-27b-pt
google/gemma-3-1b-pt
📊 Model Parameters
Total Parameters
1,301,875,840
Context Length
32,768
Hidden Size
1152
Layers
26
Attention Heads
4
KV Heads
1
💾 Memory Requirements
FP32 (Full)
4.85 GB
FP16 (Half)
2.42 GB
INT8 (Quantized)
1.21 GB
INT4 (Quantized)
620.8 MB
🔑 KV Cache (Inference)
Per Token (FP16)
26.62 KB
Max Context FP32
1.62 GB
Max Context FP16
832.0 MB
Max Context INT8
416.0 MB
⚙️ Model Configuration
Core Architecture
Vocabulary Size
262,144
Hidden Size
1,152
FFN Intermediate Size
6,912
Number of Layers
26
Attention Heads
4
Head Dimension
256
KV Heads
1
Context & Position
Max Context Length
32,768
RoPE Base Frequency
1,000,000
Sliding Window Size
512
Layer Attention Types
[26 items]
RoPE Scaling
Not set
Attention Configuration
Tied Embeddings
Yes
Attention Bias
No
Attention Dropout
0%
Query Pre-Attention Scalar
256
Output Softcapping
Not set
Attention Softcapping
Not set
Activation & Normalization
RMSNorm Epsilon
1e-06
Activation Function
gelu_pytorch_tanh
Special Tokens
BOS Token ID
2
Pad Token ID
0
EOS Token ID
1
Data Type
Model Dtype
bfloat16
Layer Types:
Attention
MLP/FFN
Normalization
Embedding
Attention
MLP
Norm
Embedding
Clear
Expand All
Collapse All