Instructions to use Chris0105/Inkling-2-Mini-AntiLoop-LoRA with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use Chris0105/Inkling-2-Mini-AntiLoop-LoRA with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("thinkingmachines/Inkling-2-Mini") model = PeftModel.from_pretrained(base_model, "Chris0105/Inkling-2-Mini-AntiLoop-LoRA") - Notebooks
- Google Colab
- Kaggle
Inkling-2-Mini-AntiLoop-LoRA v3 (34 MB Pure Single-Stage Native 1.0Γ PEFT Adapter)
A 34 MB pure single-stage BF16 attention-only LoRA (r = 32, lora_alpha = 32.0, native merge_scale = 1.00) trained from scratch (init = 0) on official thinkingmachines/Inkling-2-Mini β zero multi-LoRA blending, zero post-hoc scaling, zero legacy lineage.
It transfers zero-shot to both official thinkingmachines/Inkling-2-Mini and nokeepai/Inkling-2-Mini-Unbound β smashing all-time records across math, PhD science, coding, instruction following, cross-turn agentic tool-loop recovery, and non-thinking structured extraction (effort = 0.0, 0 tool-format leaks), while leaving all 1,124 NVFP4/MXFP8 routed experts, vision weights, DSpark drafter, and tokenizer 100% byte-identical.
AntiLoop v3 Highlights (Single 34 MB r=32 Adapter, Zero Pareto Compromise)
AIME 24+25T=0.6 avg@4(240rollouts, Official):94.17%avg@4 /98.33%maj@4 (59/60, AIME 2025100.0%maj@4!) (4.58%cap) β beatsUnbound v3 (Prime)(90.0%) by+4.17pts and Official Original (87.9%) by+6.27pts!AIME 24+25T=0.0(60problems):95.00%(57/60: AIME 2493.3%, AIME 2596.7%,100.0%non-cap accuracy!) zero-shot on Unbound, and90.00%(98.2%non-cap accuracy) on Official!GPQA Diamond(198):81.82%(162/198) on Official (+18.18over Original,+3.54overUnbound v3) and80.30%(159/198) zero-shot on Unbound (+17.67over Unbound Original)!HumanEval/HumanEval+(164):98.78%(162/164) /93.29%(153/164,0.0%cap) on Official and97.56% / 92.68%(0.0%cap) zero-shot on Unbound!IFEval(541prompts):91.13% / 93.17%strict (92.61% / 94.24%loose) on Official, and92.05% / 94.12%strict (93.72% / 95.32%loose) zero-shot on Unbound β beatsUnbound v3(86.88%) by+4.25to+5.17pts!- Full
MATH-500(500):98.60%(493/500,0.6%cap) on Official and98.40%(492/500) zero-shot on Unbound! - Agentic Tool Loops & Strict Formatting:
36/36 (100%)eval_tool_loopson Official (35/36on Unbound); 0% undeclared tool hallucination, 0% XML<write_file>leakage when tools are declared, and 0%<|content_invoke_tool_json|>leakage whentools = []ateffort = 0.0!
AntiLoop Family (3 Sibling Repositories)
- This repo β
Chris0105/Inkling-2-Mini-AntiLoop-LoRA: 34 MB standalone native1.0Γr=32PEFT adapter +merge_and_splice.py+ full reproducible evaluation suite & JSON summaries. Chris0105/Inkling-2-Mini-AntiLoop: Ready-to-run mergedthinkingmachines/Inkling-2-Mini(94.17%AIME avg@4 /98.33%maj@4,81.82%GPQA,98.78% / 93.29%HumanEval/+,91.13%IFEval,98.60%MATH-500,36/36Tool Loops).Chris0105/Inkling-2-Mini-Unbound-AntiLoop: Ready-to-run mergednokeepai/Inkling-2-Mini-Unbound(95.00%AIME T=0,92.05%IFEval,80.30%GPQA,97.56% / 92.68%HumanEval/+,98.40%MATH-500,35/36Tool Loops, + optional DSpark v2 drafter).
Files Included
adapter_model.safetensors(34 MB) +adapter_config.jsonβ Standard HuggingFace PEFT LoRA (pure single-stage nativer = 32, lora_alpha = 32.0, zero scaling required).lora_antiloop_v3.pt(67 MB) β Raw PyTorch LoRA checkpoint formerge_and_splice.py.merge_and_splice.pyβ Standalone FP64 merge + byte-exact in-place BF16 safetensors splicer (--verify-full) that updates only the 120 BF16 attention tensors without re-quantizing NVFP4/MXFP8 experts.evals/β Reproducible public benchmark harness (eval_public_tier1.py,eval_tool_loops.py,eval_v8_prod_smoke.py), zero-contamination audit (exact = 0, 13-gram = 0across all 1,463 Tier 1 questions), and raw JSON summaries for all tested baselines and v1/v2/v3 models.
Quick Apply (Works Zero-Shot on Both Official & Unbound)
Step 1 β Byte-Exact In-Place Splice (Preserves NVFP4/MXFP8 Experts Bit-for-Bit)
# Apply natively at merge_scale=1.00 to Official thinkingmachines/Inkling-2-Mini
# OR nokeepai/Inkling-2-Mini-Unbound:
python3 merge_and_splice.py \
--lora lora_antiloop_v3.pt \
--base /path/to/Inkling-2-Mini \
--out-dir /path/to/Inkling-2-Mini-AntiLoop \
--merge-scale 1.00 \
--verify-full
Step 2 β Convert with radiance (rad-convert, Optional)
rad-convert /path/to/Inkling-2-Mini-AntiLoop -o inkling2-text.rad \
--recipe /opt/radiance/share/radiance/recipes/inkling2-mini-i8.recipe \
--draft-model /path/to/Inkling-2-Mini-AntiLoop --kv-cache-dtype i8 --max-ctx 1048576
rad-convert /path/to/Inkling-2-Mini-AntiLoop \
--add-vision inkling2-text.rad \
-o inkling2-antiloop-v3.rad
Full Public Tier 1 Benchmark (0% Contamination, errors=0)
Evaluated apples-to-apples on identical radiance engine (effort=0.9, no 4,096-token thinking cap; official evalplus, Google Research IFEval, and math_verify graders):
| Full Public Benchmark (0% Contam.) | Official Orig | Unbound v2.1 Orig | Unbound v3 (Prime) |
Official + v2 | Official + AntiLoop v3 β | Unbound + AntiLoop v3 (0-shot) β |
|---|---|---|---|---|---|---|
eval_tool_loops (36 cases) |
22/36 |
20/36 |
30/36 |
36/36 |
36/36 (100%) |
35/36 (L4g 6/6, NEG 5/5) |
GPQA Diamond (198/198) |
63.64% (32.3% cap) |
62.63% (31.8% cap) |
78.28% (9.6% cap) |
78.79% |
81.82% (162/198) |
80.30% (159/198) |
HumanEval / HumanEval+ (164) |
93.9% / 87.8% |
93.3% / 87.8% |
96.3% / 90.9% |
96.34% / 90.24% |
98.78% / 93.29% (0.0% cap) |
97.56% / 92.68% (0.0% cap) |
IFEval Strict (P / I) (541) |
79.3% / 80.9% |
78.7% / 80.6% |
86.88% / 88.73% |
90.57% / 93.05% |
91.13% / 93.17% (Loose 92.61%) |
92.05% / 94.12% (Loose 93.72% / 95.32%) |
Full MATH-500 (500/500) |
96.60% |
97.20% |
97.80% |
99.20% |
98.60% (493/500, 0.6% cap) |
98.40% (492/500, 1.2% cap) |
AIME 24+25 T=0.0 (60, 32K) |
76.67% (23.3% cap) |
85.00% (13.3% cap) |
90.00% (8.3% cap) |
90.00% |
90.00% (24: 86.7% / 25: 93.3%, non-cap 98.2%) |
95.00% (57/60 β 24: 93.3% / 25: 96.7%, non-cap 100%!) |
AIME 24+25 T=0.6 avg@4 (240) |
87.9% / maj 91.7% (10.0% cap) |
85.4% / maj 95.0% (14.2% cap) |
90.0% / maj 96.7% (8.8% cap) |
91.25% / maj 95.0% (0.42% cap) |
94.17% / maj 98.33% (59/60, 25: 100% maj@4, 4.58% cap!) |
β |
Hard Stress loop99_t0 (100 @ e=0.99) |
46.0% cap / 64.6% acc |
46.0% cap |
β | 6.0% cap / 80.0% acc |
17.0% cap / 76.9% acc |
18.0% cap / 75.4% acc |
Method Summary (v3 Pure Single-Stage Architecture)
- Targets: Attention linear projections only (
q_proj,k_proj,v_proj,o_proj,gate_projacross all 24 layers = 120 BF16 matrices;r = 32, alpha = 32,mean_rel_delta = 0.168%,max = 0.277%). - Dataset (
4058K pairs +727forward-KL anchors,0%contamination verified across all 1,463 Tier 1 questions):- Calibrated decoupled per-kind DPO + onset-masked Unlikelihood (
loop_beta=4.5, loop_dpo_weight=2.2, ul_weight=1.65, ul_eps=0.002) eliminating over-compression while stopping runaway repetition. - Dedicated production-hardening groups:
schema_strict_tool(bans undeclared tool calls),no_tools_xml_strict(surgical UL on<|content_invoke_tool_json|>whentools=[]ateffort=0.0/0.9),tool_format_no_xml_leak(bans XML<write_file>leakage when native tools are declared),nonthinking_causal_grounding(fixeseffort=0.0causal conflation, diff-hunk misreads, priority inversion, and falsedry-runassumptions),longform_ifeval,pro_verify_math,proactive_verify,table_grounding,tool_loop, andtool_recovery.
- Calibrated decoupled per-kind DPO + onset-masked Unlikelihood (
- Single-Stage Native
1.0Γ: Checkpointstep 48(||ΞW||_F = 0.862,mean_anc_kl = 0.0233) hits peak capability directly at native1.0Γwith zero post-hoc scaling or multi-adapter blending.
- Downloads last month
- 69
Model tree for Chris0105/Inkling-2-Mini-AntiLoop-LoRA
Base model
thinkingmachines/Inkling-2-Mini