LLaDA2.2-mini-Thinking
LLaDA2.2-mini is a 16B diffusion MoE (1.4B active) that answers straight away. This fine-tune makes it
think first, in short <think> blocks, before it answers or calls a tool.
Six prompts in one chat against a live SGLang deployment on one A100, recorded unedited in a small HTML chat page (transcript). Each reply took under a second.
The thinking is a line or two of terse notes, usually in Chinese, ending with a quick check (验). Answers are short, sometimes too short. It got the bat-and-ball question right and wrote working code, but it still miscounts letters (strawberry: "2"). It answered a German question in English. It calls tools in LLaDA2.2's native format and doesn't call any when none are offered.
The weights are merged bf16. The LoRA is at kaivoss/LLaDA2.2-mini-Thinking-LoRA.
How it was made
It was trained as a LoRA on attention, the dense MLP and the shared experts, with LLaDA's block-diffusion loss. The routed experts were left alone. Training ran in two passes:
- DeepSeek-V4 agent sessions and reasoning traces taught it to think and call tools.
- The grug set then shortened the thinking. Its rows carry their tools in the system prompt.
Run it
Use Akicou/sglang@64f0d2e. It is SGLang 0.5.23
plus two fixes: working repetition penalties for diffusion models, and a kimi_k2 tool-parser fix.
printf 'threshold: 0.9\nedit_threshold: 0\nmax_post_edit_steps: 16\n' > dllm.yaml
python3 -m sglang.launch_server --model-path kaivoss/LLaDA2.2-mini-Thinking --trust-remote-code \
--dllm-algorithm JointThresholdInDel --dllm-algorithm-config dllm.yaml --moe-runner-backend triton \
--max-running-requests 8 --reasoning-parser kimi_k2 --tool-call-parser kimi_k2
It fits on one 48 GB GPU. Things to know:
- Keep the chat template. It ends the prompt with an open
<think>, which the model relies on. - Use
kimi_k2for both parsers. The model often goes from its thought straight into a tool call. generation_config.jsonsets a repetition penalty of 1.1. Stronger penalties break code answers.- In multi-turn chats, send earlier thinking back as
reasoning_content. Otherwise later turns tend to skip thinking.
Limits
- It is a small model. When a tool call fails, it often retries the same call instead of changing approach.
- Answers are terse and mostly in English, even when asked in another language.
- Long code generations can still loop now and then.
- It was only checked on small in-house sets (agent file lookups, math, long prompts), not standard benchmarks.
License
The base model and grug are Apache-2.0. DeepSeek-V4-Distill-8000x is MIT, and DeepSeek-v4-Pro-Agent declares no license. Both DeepSeek sets are model outputs, so check their terms before commercial use.