加载中…
加载中…
Nanbeige/Nanbeige4.2-3BGated LoRA adapters that turn the looped model Nanbeige4.2-3B (22 layers × 2 loops) into a lossless diffusion drafter, following Uno. Each decode step drafts 8 tokens in one forward pass and the frozen base model verifies them, so the output distribution is exactly the base model's.
| Folder | Training | Tokens | Notes |
|---|---|---|---|
step60/ |
52 min on 8 × A100 40G | 31M | One hour of training |
step240/ |
3.5 h on 8 × A100 40G | 126M | Best checkpoint |
End-to-end output tok/s against AR decoding of the same model on the same prompts. TPF is tokens accepted per decode step (AR = 1.00).
| Task | AR | step60 |
step240 |
|---|---|---|---|
| BFCL v3 function calling | 1653 tok/s | 1.98× (TPF 2.34) | 2.10× (TPF 2.58) |
| SWE-agent trajectory replay | 538 tok/s | 1.58× (TPF 2.06) | 1.62× (TPF 2.34) |
| gsm8k | 1545 tok/s | 1.47× (TPF 2.04) | 1.45× (TPF 2.18) |
BFCL accuracy is 87.2% for AR and 87.5% for Uno under greedy decoding; gsm8k accuracy stays at 93–96% against 96.0% for AR, within sampling noise.
model_code/ holds the config and modeling code for the Uno training wrapper: the SDAR block-diffusion modeling
from ifm-ai/uno, patched for two loops and no QK-norm.
python model_code/build_uno_model.py ./nanbeige42_3b_uno # downloads Nanbeige4.2-3B and assembles the model folder
Then load an adapter folder with PEFT, or pass it as the gated LoRA path to the Uno decoder with block size 8, mask token 166107 and stop token 166101.
step240 continues step60 for 180 more steps at the same learning rate.nebius/SWE-agent-trajectories, each cut at a random
assistant turn (median prompt 6.4k tokens). The model generates the next action, which is not executed.Agentic results replay recorded trajectories and score single function-calling turns; closed-loop agent runs with environment execution are not included. Timings on a few hundred prompts vary by about ±10%.
LoopUno builds on Uno (Sahoo et al., 2026) and its code (ifm-ai/uno), applied to Nanbeige4.2-3B (Nanbeige LLM Lab, 2026; weights).