GGUF
Japanese
English

Gemma4ใฏๅฐใ•ใ„ใƒขใƒ‡ใƒซใซๅ…ˆ่กŒใ•ใ›ใ‚‹ไบ‹ใงๆŽจ่ซ–ใ‚’้ซ˜้€ŸๅŒ–ใ™ใ‚‹MTP(Multi-Token Prediction)ใจใ„ใ†ไป•็ต„ใฟใŒใ‚ใ‚Šใพใ™ใ€‚
ใ“ใฎใƒขใƒ‡ใƒซใฏdahara1/gemma-4-E4B-it-UD-japanese-imatrixใ‚’MTPใงๅ‹•ใ‹ใ™ใŸใ‚ใฎๅฐใƒขใƒ‡ใƒซใงใ™ใ€‚

Gemma4 has a mechanism called MTP (Multi-Token Prediction) that speeds up inference by running a smaller model before the main model.
This model is a small model for running dahara1/gemma-4-E4B-it-UD-japanese-imatrix using MTP.

llama-server command example

E4Bใงใฏ็พๅœจใ€ๆ˜Ž็คบ็š„ใซ--flash-attn offใซใ™ใ‚‹ๅฟ…่ฆใŒใ‚ใ‚Šใพใ™ใ€‚
่ฉณ็ดฐใฏissues/24400ใ‚’ใ”่ฆงใใ ใ•ใ„

In E4B, you now need to explicitly set --flash-attn off.
See issues/24400 for details.

../llama.cpp/build/bin/llama-server   \
-m ./gemma-4-E4B-it-UD-Q4_K_XL.gguf   \
--host 0.0.0.0   \
--port 8080   \
--temp 1.0   \
--top-p 0.95   \
--top-k 64   \
--min-p 0.0  \
--ctx-size 21000   \
--flash-attn off   \
--jinja  \
--chat-template-file chat_template.jinja   \
--model-draft ./gemma-4-E4B-it-assistant/Gemma-4-E4B-It-Assistant-78M-Q8_0.gguf  \
--spec-type draft-mtp \
--reasoning on

ใƒ™ใƒณใƒใƒžใƒผใ‚ฏ็ตๆžœ RTX 4060ti(16GB)

ใƒ‰ใƒฉใƒ•ใƒˆใชใ—ใƒขใƒ‡ใƒซ
mtp_bench.py
  code_python        pred= 192 draft=   0 acc=   0 rate=n/a tok/s=69.4
  code_cpp           pred= 192 draft=   0 acc=   0 rate=n/a tok/s=69.7
  explain_concept    pred= 192 draft=   0 acc=   0 rate=n/a tok/s=69.7
  summarize          pred= 192 draft=   0 acc=   0 rate=n/a tok/s=69.5
  qa_factual         pred= 192 draft=   0 acc=   0 rate=n/a tok/s=69.4
  translation        pred= 192 draft=   0 acc=   0 rate=n/a tok/s=69.4
  creative_short     pred=  35 draft=   0 acc=   0 rate=n/a tok/s=70.4
  stepwise_math      pred= 192 draft=   0 acc=   0 rate=n/a tok/s=69.2
  long_code_review   pred= 192 draft=   0 acc=   0 rate=n/a tok/s=67.2

Aggregate: {
  "n_requests": 9,
  "total_predicted": 1571,
  "total_draft": 0,
  "total_draft_accepted": 0,
  "aggregate_accept_rate": null,
  "wall_s_total": 24.68
}

mtp_bench_jp.py
  code_python        pred= 192 draft=   0 acc=   0 rate=n/a tok/s=69.3
  code_cpp           pred= 192 draft=   0 acc=   0 rate=n/a tok/s=68.0
  explain_concept    pred= 192 draft=   0 acc=   0 rate=n/a tok/s=65.6
  summarize          pred=  47 draft=   0 acc=   0 rate=n/a tok/s=65.3
  qa_factual         pred= 192 draft=   0 acc=   0 rate=n/a tok/s=67.7
  translation        pred= 192 draft=   0 acc=   0 rate=n/a tok/s=66.9
  creative_short     pred= 192 draft=   0 acc=   0 rate=n/a tok/s=68.0
  stepwise_math      pred= 192 draft=   0 acc=   0 rate=n/a tok/s=68.6
  long_code_review   pred= 192 draft=   0 acc=   0 rate=n/a tok/s=65.7

Aggregate: {
  "n_requests": 9,
  "total_predicted": 1583,
  "total_draft": 0,
  "total_draft_accepted": 0,
  "aggregate_accept_rate": null,
  "wall_s_total": 25.43
}

ใƒ‰ใƒฉใƒ•ใƒˆใ‚ใ‚Šใƒขใƒ‡ใƒซ
  code_python        pred= 192 draft= 183 acc= 130 rate=0.710 tok/s=157.5
  code_cpp           pred= 192 draft= 185 acc= 128 rate=0.692 tok/s=153.8
  explain_concept    pred= 192 draft= 243 acc= 110 rate=0.453 tok/s=121.2
  summarize          pred= 192 draft= 196 acc= 125 rate=0.638 tok/s=146.6
  qa_factual         pred= 192 draft= 193 acc= 126 rate=0.653 tok/s=148.7
  translation        pred= 192 draft= 226 acc= 115 rate=0.509 tok/s=128.1
  creative_short     pred=  38 draft=  72 acc=  14 rate=0.194 tok/s=81.5
  stepwise_math      pred= 192 draft= 192 acc= 126 rate=0.656 tok/s=147.5
  long_code_review   pred= 192 draft= 250 acc= 107 rate=0.428 tok/s=113.9

Aggregate: {
  "n_requests": 9,
  "total_predicted": 1574,
  "total_draft": 1740,
  "total_draft_accepted": 981,
  "aggregate_accept_rate": 0.5638,
  "wall_s_total": 13.48
}
  code_python        pred= 192 draft= 201 acc= 124 rate=0.617 tok/s=144.8
  code_cpp           pred= 192 draft= 166 acc= 134 rate=0.807 tok/s=169.0
  explain_concept    pred= 192 draft= 232 acc= 113 rate=0.487 tok/s=125.7
  summarize          pred=  51 draft=  54 acc=  33 rate=0.611 tok/s=142.1
  qa_factual         pred= 192 draft= 191 acc= 127 rate=0.665 tok/s=150.6
  translation        pred= 192 draft= 225 acc= 115 rate=0.511 tok/s=129.2
  creative_short     pred= 192 draft= 240 acc= 110 rate=0.458 tok/s=121.1
  stepwise_math      pred= 192 draft= 204 acc= 123 rate=0.603 tok/s=142.3
  long_code_review   pred= 192 draft= 221 acc= 117 rate=0.529 tok/s=127.7

Aggregate: {
  "n_requests": 9,
  "total_predicted": 1587,
  "total_draft": 1734,
  "total_draft_accepted": 996,
  "aggregate_accept_rate": 0.5744,
  "wall_s_total": 13.7
}





Downloads last month
66
GGUF
Model size
78M params
Architecture
gemma4-assistant
Hardware compatibility
Log In to add your hardware

8-bit

16-bit

Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support

Model tree for dahara1/gemma-4-E4B-it-assistant_gguf

Quantized
(10)
this model