Downloads · 30 days
168
6% of all-time downloads
alfredplpl/llm-jp-4-32b-a3b-thinking-gguf
llm-jp-4-32b-a3b-thinking-gguf is a machine learning model from alfredplpl. Use it for the machine learning task on the model card, and read the license before you ship it in a product. The card lists the license as apache-2.0.
GGUF形式にしても最低限チャットテンプレートを維持したまま、推論できるようにしたモデルです。 オリジナルはllm-jp/llm-jp-4-32b-a3b-thinkingです。
Downloads · 30 days
168
6% of all-time downloads
All-time downloads
2.7K
Public
Repo size
73.7 GB
Likes
2
Public
Click a slice to open those files.
.gguf73.7 GB · 100%
From the Hugging Face model README
GGUF形式にしても最低限チャットテンプレートを維持したまま、推論できるようにしたモデルです。 オリジナルはllm-jp/llm-jp-4-32b-a3b-thinkingです。
以下の2つの使い方があります。
以下のコマンドを実行してください。
./build/bin/llama-completion \
-m '/path/to/llm-jp-4-32B-a3B-thinking-MXFP4_MOE.gguf' \
-p "<|start|>system<|message|>You are LLM-jp-4, a large language model trained by LLM-jp.\nKnowledge cutoff: 2025-12\nCurrent date: 2026-04-03\n\nReasoning: medium\n\n# Valid channels: analysis, commentary, final. Channel must be included for every message.<|end|><|start|>user<|message|>自然言語処理とは何か<|end|><|start|>assistant"
なお、llama-cliとllama-serverはランタイムの仕様により正常に動きません。ご了承ください。
普通にダウンロードして、カスタム指示を入れずに実行してください。 「こんにちは」と入れると、次のように出力されます。
<|channel|> analysis<|message|> The user says "こんにちは" (Hello). We should respond appropriately in Japanese. Probably greet back and ask how can help. Use polite tone.<|end|><|start|> assistant<|channel|> final<|message|> こんにちは!今日はどのようなお手伝いをしましょうか?お気軽にお知らせください。
Thinkingの部分が邪魔な場合はReasoning Parsingを以下のように設定してください。
Start String: <|channel|>
End String: final<|message|>
すると、以下のように表示されるはずです。
Thought for 1.50 seconds
こんにちは!今日はどのようなお手伝いをさせていただけますか?
ただし、現状はマルチターンができません。原因は調査中です。
TBA
ヒント:
./llama-quantize \
--override-kv tokenizer.ggml.add_space_prefix=bool:false \
model-f16.gguf \
model-f16-no-prefix.gguf \
copy
とここ。 あとconvert_hf_to_gguf.pyを書き換える。