dahara1 commited on
Commit
b978df4
·
verified ·
1 Parent(s): ee18475

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +5 -1
README.md CHANGED
@@ -10,15 +10,19 @@ tags:
10
  - mtp
11
  ---
12
 
13
- Gemma4は小さいモデルに先行させる事で推論を高速化するMTP(Multi-Token Prediction)という仕組みがあります。
 
14
  このモデルは[dahara1/gemma-4-12B-it-qat-UD-japanese-imatrix](https://huggingface.co/dahara1/gemma-4-12B-it-qat-UD-japanese-imatrix)をMTPで動かすための小モデルです。
15
  現時点ではQ4_0またはQ8_0が良さそうに見えます
16
 
17
  Gemma4 has a mechanism called MTP (Multi-Token Prediction) that speeds up inference by running a smaller model before the main model.
 
18
  This model is a small model for running [dahara1/gemma-4-12B-it-qat-UD-japanese-imatrix](https://huggingface.co/dahara1/gemma-4-12B-it-qat-UD-japanese-imatrix) with MTP.
19
  At this point, Q4_0 or Q8_0 looks promising. 
20
 
21
  # Benchmark Reslut (RTX 4060ti(16GB))
 
 
22
  [am17an/mtp-bench.py](https://gist.github.com/am17an/228edfb84ed082aa88e3865d6fa27090)
23
  [mtp_bench_jp.py](https://huggingface.co/dahara1/gemma-4-12B-it-qat-assistant/raw/main/mtp_bench_jp.py) japanese translated version by dahara1.
24
 
 
10
  - mtp
11
  ---
12
 
13
+ Gemma4は小さいモデルに先行させる事で推論を高速化するMTP(Multi-Token Prediction)という仕組みがあります。
14
+ 500MB程度のメモリ使用量が増えますが1.5超の速度向上が期待できます
15
  このモデルは[dahara1/gemma-4-12B-it-qat-UD-japanese-imatrix](https://huggingface.co/dahara1/gemma-4-12B-it-qat-UD-japanese-imatrix)をMTPで動かすための小モデルです。
16
  現時点ではQ4_0またはQ8_0が良さそうに見えます
17
 
18
  Gemma4 has a mechanism called MTP (Multi-Token Prediction) that speeds up inference by running a smaller model before the main model.
19
+ While memory usage will increase by approximately 500MB, a speed improvement of over 1.5x can be expected.
20
  This model is a small model for running [dahara1/gemma-4-12B-it-qat-UD-japanese-imatrix](https://huggingface.co/dahara1/gemma-4-12B-it-qat-UD-japanese-imatrix) with MTP.
21
  At this point, Q4_0 or Q8_0 looks promising. 
22
 
23
  # Benchmark Reslut (RTX 4060ti(16GB))
24
+ 私が使用したベンチマークスクリプトは以下です
25
+ The benchmark script I used is as follows:
26
  [am17an/mtp-bench.py](https://gist.github.com/am17an/228edfb84ed082aa88e3865d6fa27090)
27
  [mtp_bench_jp.py](https://huggingface.co/dahara1/gemma-4-12B-it-qat-assistant/raw/main/mtp_bench_jp.py) japanese translated version by dahara1.
28