Downloads · 30 days
54
7% of all-time downloads
Maji001/llm-jp-4-32b-a3b-thinking-mlx-nvfp4-mixed
llm-jp-4-32b-a3b-thinking-mlx-nvfp4-mixed is a text generation model from Maji001. Use it when you need the model to write or continue text. It is set up for mlx. The card lists the license as apache-2.0.
このモデル Maji001/llm-jp-4-32b-a3b-thinking-mlx-nvfp4-mixed は、 llm-jp/llm-jp-4-32b-a3b-thinking から mlx-lm バージョン 0.31.1 を用いて MLX 形式に変換されたものです。
Downloads · 30 days
54
7% of all-time downloads
All-time downloads
739
Public
Parameters
32.1B
17 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors17 GB · 100%
How the weights are stored.
U3232.1B · 100%
From the Hugging Face model README
このモデル Maji001/llm-jp-4-32b-a3b-thinking-mlx-nvfp4-mixed は、 llm-jp/llm-jp-4-32b-a3b-thinking から mlx-lm バージョン 0.31.1 を用いて MLX 形式に変換されたものです。
pip install mlx-lm
from mlx_lm import load, generate
model, tokenizer = load("Maji001/llm-jp-4-32b-a3b-thinking-mlx-mixed-v3")
prompt = "hello"
if tokenizer.chat_template is not None:
messages = [{"role": "user", "content": prompt}]
prompt = tokenizer.apply_chat_template(
messages, add_generation_prompt=True, return_dict=False,
)
response = generate(model, tokenizer, prompt=prompt, verbose=True)
このモデルは混合精度の量子化スキームを採用しており、テンソルグループごとに異なるビット幅/フォーマットを割り当てることでサイズと品質のバランスを取っています:
| テンソル | フォーマット | ビット数 | グループサイズ |
|---|---|---|---|
router / mlp.gate (MoE ルーティング) | BF16 (非量子化) | 16 | - |
down_proj | NVFP4 | 4 | 16 |
gate_proj | affine | 3 | 32 |
up_proj | affine | 3 | 32 |
self_attn.v_proj | MXFP8 | 8 | 32 |
self_attn.q_proj / k_proj / o_proj | NVFP4 | 4 | 16 |
lm_head | MXFP8 | 8 | 32 |
embed_tokens | affine | 3 | 64 |
その他の Linear レイヤ | NVFP4 | 4 | 16 |
MoE のルーティングゲートと down-projection の精度は比較的高く保たれており、ルーティング誤差を最小化し出力品質を維持する一方で、Attention の Q/K/O 射影とほとんどの FFN 重みは NVFP4(4ビット)に積極的に量子化され、フットプリントを削減しています。結果として得られるチェックポイントは約 17GB です。
このモデルは Japanese MT-Bench(80問、単一回答採点、gpt-5.4-2026-03-05 ジャッジ)で評価されました。
注記: 公式スコア[^1](BF16 / Q4_K_M)は 3回の評価実行の平均です。このモデルのスコアは単一実行によるものであり、実行ごとのばらつき(ジャッジ採点のノイズ、サンプリングのランダム性など)が大きい可能性があります。直接比較は近似として扱ってください。
| モデル | thinking effort | 1ターン目 | 2ターン目 | 平均 |
|---|---|---|---|---|
| llm-jp/llm-jp-4-32b-a3b-thinking | medium | - | - | 7.82 |
| llm-jp/llm-jp-4-32b-a3b-thinking Q4_K_M | medium | - | - | 7.51 |
| Maji001/llm-jp-4-32b-a3b-thinking-mlx-nvfp4-mixed | high | 7.825 | 6.775 | 7.30 |
| Maji001/llm-jp-4-32b-a3b-thinking-mlx-nvfp4-mixed | medium | 7.756 | 6.408 | 7.091 |
Q4_K_M GGUF 量子化版よりも小さいサイズであるにもかかわらず、この混合精度 MLX 変換版は、特にマルチターン(2ターン目)の指示追従において競争力のある品質を維持しています。
このモデルは、LLM-jpプロジェクトによって開発された llm-jp/llm-jp-4-32b-a3b-thinking の派生モデルであり、ベースモデルのライセンスと同様に Apache License 2.0 の下で配布されています。 これは非公式の独立した量子化変換であり、LLM-jpプロジェクトとは無関係であり、承認も受けていません。
[^1] llm-jp, "LLM-jp-4 Thinking モデルの量子化版の公開", llm-jp Blog, https://llm-jp.nii.ac.jp/blog/llm-jp-4-thinking-quantization/