GitHub
183.7K
Download
Models
Docs
Pricing
Sign in
Download
Models
Docs
Pricing
Sign in
4skl
/
gemma4-e4b-mtp
:latest
1,127
Downloads
Updated
3 months ago
Multimodal 4.5B Gemma 4 with Unsloth Dynamic QAT & MTP (5.3GB). Features near-lossless vision, audio, text reasoning, an active 4-token speculative window, and an expanded 64K context size. Best for edge execution on systems with 8GB to 16GB RAM.
Multimodal 4.5B Gemma 4 with Unsloth Dynamic QAT & MTP (5.3GB). Features near-lossless vision, audio, text reasoning, an active 4-token speculative window, and an expanded 64K context size. Best for edge execution on systems with 8GB to 16GB RAM.
Cancel
vision
tools
thinking
gemma4-e4b-mtp:latest
...
/
draft
b0005dc39d47 · 60MB
Metadata
general.architecture
gemma4-assistant
gemma4-assistant
general.file_type
BF16
BF16
gemma4-assistant.attention.head_count
4
4
gemma4-assistant.attention.head_count_kv
2
2
gemma4-assistant.attention.key_length
512
512
gemma4-assistant.attention.key_length_swa
256
256
gemma4-assistant.attention.layer_norm_rms_epsilon
1e-06
1e-06
gemma4-assistant.attention.shared_kv_layers
4
4
gemma4-assistant.attention.sliding_window
512
512
gemma4-assistant.attention.sliding_window_pattern
[true, true, true, false]
[true, true, true, false]
gemma4-assistant.attention.value_length
512
512
gemma4-assistant.attention.value_length_swa
256
256
gemma4-assistant.block_count
4
4
gemma4-assistant.context_length
131072
131072
gemma4-assistant.embedding_length
256
256
gemma4-assistant.embedding_length_out
2560
2560
gemma4-assistant.embedding_length_per_layer_input
0
0
gemma4-assistant.feed_forward_length
2048
2048
gemma4-assistant.nextn_predict_layers
4
4
gemma4-assistant.rope.dimension_count
512
512
gemma4-assistant.rope.dimension_count_swa
256
256
gemma4-assistant.rope.freq_base
1e+06
1e+06
gemma4-assistant.rope.freq_base_swa
10000
10000
tokenizer.ggml.add_bos_token
true
true
tokenizer.ggml.add_space_prefix
false
false
tokenizer.ggml.bos_token_id
2
2
tokenizer.ggml.eos_token_id
1
1
tokenizer.ggml.mask_token_id
4
4
tokenizer.ggml.merges
[ , ▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁ ▁, , , ▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁ ▁▁, ...]
[ , ▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁ ▁, , , ▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁ ▁▁, ...]
tokenizer.ggml.model
gemma4
gemma4
tokenizer.ggml.padding_token_id
0
0
tokenizer.ggml.scores
[-1000, -1000, -1000, -1000, -1000, ...]
[-1000, -1000, -1000, -1000, -1000, ...]
tokenizer.ggml.token_type
[3, 3, 3, 3, 3, ...]
[3, 3, 3, 3, 3, ...]
tokenizer.ggml.tokens
[<pad>, <eos>, <bos>, <unk>, <mask>, ...]
[<pad>, <eos>, <bos>, <unk>, <mask>, ...]
tokenizer.ggml.unknown_token_id
3
3
Tensor
Name
Type
Shape
token_embd.weight
Q4_0
Q4_0
[256, 262144]
blk.0
blk.0.attn_norm.weight
F32
F32
[256]
blk.0.attn_output.weight
Q4_0
Q4_0
[1024, 256]
blk.0.attn_q.weight
Q4_0
Q4_0
[256, 1024]
blk.0.attn_q_norm.weight
F32
F32
[256]
blk.0.ffn_down.weight
Q4_0
Q4_0
[2048, 256]
blk.0.ffn_gate.weight
Q4_0
Q4_0
[256, 2048]
blk.0.ffn_norm.weight
F32
F32
[256]
blk.0.ffn_up.weight
Q4_0
Q4_0
[256, 2048]
blk.0.layer_output_scale.weight
F32
F32
[1]
blk.0.post_attention_norm.weight
F32
F32
[256]
blk.0.post_ffw_norm.weight
F32
F32
[256]
blk.1
blk.1.attn_norm.weight
F32
F32
[256]
blk.1.attn_output.weight
Q4_0
Q4_0
[1024, 256]
blk.1.attn_q.weight
Q4_0
Q4_0
[256, 1024]
blk.1.attn_q_norm.weight
F32
F32
[256]
blk.1.ffn_down.weight
Q4_0
Q4_0
[2048, 256]
blk.1.ffn_gate.weight
Q4_0
Q4_0
[256, 2048]
blk.1.ffn_norm.weight
F32
F32
[256]
blk.1.ffn_up.weight
Q4_0
Q4_0
[256, 2048]
blk.1.layer_output_scale.weight
F32
F32
[1]
blk.1.post_attention_norm.weight
F32
F32
[256]
blk.1.post_ffw_norm.weight
F32
F32
[256]
blk.2
blk.2.attn_norm.weight
F32
F32
[256]
blk.2.attn_output.weight
Q4_0
Q4_0
[1024, 256]
blk.2.attn_q.weight
Q4_0
Q4_0
[256, 1024]
blk.2.attn_q_norm.weight
F32
F32
[256]
blk.2.ffn_down.weight
Q4_0
Q4_0
[2048, 256]
blk.2.ffn_gate.weight
Q4_0
Q4_0
[256, 2048]
blk.2.ffn_norm.weight
F32
F32
[256]
blk.2.ffn_up.weight
Q4_0
Q4_0
[256, 2048]
blk.2.layer_output_scale.weight
F32
F32
[1]
blk.2.post_attention_norm.weight
F32
F32
[256]
blk.2.post_ffw_norm.weight
F32
F32
[256]
blk.3
blk.3.attn_norm.weight
F32
F32
[256]
blk.3.attn_output.weight
Q4_0
Q4_0
[2048, 256]
blk.3.attn_q.weight
Q4_0
Q4_0
[256, 2048]
blk.3.attn_q_norm.weight
F32
F32
[512]
blk.3.ffn_down.weight
Q4_0
Q4_0
[2048, 256]
blk.3.ffn_gate.weight
Q4_0
Q4_0
[256, 2048]
blk.3.ffn_norm.weight
F32
F32
[256]
blk.3.ffn_up.weight
Q4_0
Q4_0
[256, 2048]
blk.3.layer_output_scale.weight
F32
F32
[1]
blk.3.post_attention_norm.weight
F32
F32
[256]
blk.3.post_ffw_norm.weight
F32
F32
[256]
nextn.post_projection.weight
Q4_0
Q4_0
[256, 2560]
nextn.pre_projection.weight
Q4_0
Q4_0
[5120, 256]
rope_freqs.weight
F32
F32
[256]
output_norm.weight
F32
F32
[256]