|
Download README.md from Chris0105/Inkling-2-Mini-Unbound-AntiLoop: direct link, hf CLI and curl.
- Browser
- Download file 8.34 kB
-
https://huggingface.co/Chris0105/Inkling-2-Mini-Unbound-AntiLoop/resolve/main/README.md
- Command line
-
hf download hf://Chris0105/Inkling-2-Mini-Unbound-AntiLoop/README.md
-
curl -L -o README.md https://huggingface.co/Chris0105/Inkling-2-Mini-Unbound-AntiLoop/resolve/main/README.md
8.34 kB
| license: apache-2.0 | |
| base_model: | |
| - nokeepai/Inkling-2-Mini-Unbound | |
| - thinkingmachines/Inkling-2-Mini | |
| base_model_relation: finetune | |
| pipeline_tag: image-text-to-text | |
| tags: | |
| - inkling2 | |
| - uncensored | |
| - anti-looping | |
| - reasoning | |
| - agent | |
| - tool-use | |
| - dpo | |
| - unlikelihood | |
| - nvfp4 | |
| - moe | |
| - vision-language | |
| - radiance | |
| language: | |
| - en | |
| - zh | |
| # Inkling-2-Mini-Unbound-AntiLoop | |
| A surgical, weight-level **anti-looping, cross-turn tool-loop curing, and agentic reliability** upgrade of **`nokeepai/Inkling-2-Mini-Unbound`** (v2.1 base) that: | |
| - Achieves **#1 Coding across all 5 tested Inkling-2-Mini variants**: **`98.17% (161/164)`** on **HumanEval** and **`92.07% (151/164)`** on 80× hardened **HumanEval+** (`0.0%` cap hits, **4.9× faster** than original, **3.1× faster** than `Unbound v3`). | |
| - Eliminates **98–100% of pathological 16K reasoning loops** (**`0 / 784` semantic loops**, **`2 / 784 (0.25%)` total audited true loops**, **`0 / 60` caps on AIME 24+25 `T=0.0`**) across all effort levels (`0.0`–`0.99`) with **no 4,096-token thinking cap** and **no sampling hacks**. | |
| - Cures cross-turn agentic **`TOOL_CALL_LOOP` induction** (**`34/36`**, `4/4` live multi-turn tasks with `0` blind streak in live Tetris, `5/5` progressing negative controls — beating `Unbound v3`'s `30/36`). | |
| - Preserves **100% Unbound low-refusal compliance (`12/12`)**, vision (`7/7`), 128K–256K long-context retrieval (`6/6`), and includes an optional **DSpark v2 Lever 3 drafter** (`dspark_v2/mtp.safetensors`, `160.4 tok/s` at `T=0.0`, `max_tok0_Δlp = 0.000000`). | |
| ### AntiLoop Family (3 Sibling Repositories) | |
| - **This repo — [`Chris0105/Inkling-2-Mini-Unbound-AntiLoop`](https://huggingface.co/Chris0105/Inkling-2-Mini-Unbound-AntiLoop)**: Ready-to-run merged **`nokeepai/Inkling-2-Mini-Unbound`** (+ optional `dspark_v2/mtp.safetensors`). | |
| - **[`Chris0105/Inkling-2-Mini-AntiLoop`](https://huggingface.co/Chris0105/Inkling-2-Mini-AntiLoop)**: Ready-to-run merged **`thinkingmachines/Inkling-2-Mini`** (`98.00%` Full MATH-500, `76.26%` GPQA, `35/36` Tool Loops). | |
| - **[`Chris0105/Inkling-2-Mini-AntiLoop-LoRA`](https://huggingface.co/Chris0105/Inkling-2-Mini-AntiLoop-LoRA)**: **34 MB standalone native `1.0×` PEFT LoRA** (`r = 32, lora_alpha = 32.0`) + `merge_and_splice.py` + reproducible eval scripts. | |
| --- | |
| ## 5-Way Full Public Tier 1 Benchmark (`8,515` Completions, 0% Contamination) | |
| Evaluated apples-to-apples on the same `radiance` engine (`2× Radeon AI PRO R9700`, `tp=2`, `tp-wire=exact`, `kv-cache-dtype=i8`, `effort=0.9`, **no artificial 4,096-token thinking cap**). Official graders: `evalplus.evaluate`, Google Research `instruction_following_eval`, and `math_verify`. Full contamination audit (`0` exact overlap across all 1,463 unique prompts) and raw summaries are published in [`Chris0105/Inkling-2-Mini-AntiLoop-LoRA`](https://huggingface.co/Chris0105/Inkling-2-Mini-AntiLoop-LoRA). | |
| | Full Public Benchmark (0% Contam.) | Official Orig | Unbound v2.1 Orig | `Unbound v3` (`Prime`) | **Official + AntiLoop** | **Unbound + AntiLoop (This Model)** | | |
| |---|---:|---:|---:|---:|---:| | |
| | **Total Wall-Clock (All 6 Suites)** | `13,130s` (3.65h) | `~14,200s` | `9,415s` (2.62h) | **`4,893s` (2.7× faster)** | **`4,348s` (3.0× faster, 2.2× vs v3)** | | |
| | **`eval_tool_loops`** (`36` cases) | `22/36` | `20/36` | `30/36` (`L4f 2/4`, Tetris fail) | **`35/36` (#1, `L4f 4/4`, `L4g 5/6`)** | **`34/36`** (`L4f 4/4`, `L4g 4/6`) | | |
| | **`HumanEval` / `HumanEval+`** (`164`) | `93.9% / 87.8%` (`18.3%` loop) | `93.3% / 87.8%` (`14.6%` loop) | `96.3% / 90.9%` (`3.1%` loop, `383s`) | `95.7% / 88.4%` (`0.0%` cap, `141s`) | **`98.17% / 92.07%` (#1, `0.0%` cap, `122s`)** | | |
| | **Full `MATH-500`** (`500/500`) | `96.60%` (`5.6%` loop) | `97.20%` (`4.0%` loop) | `97.80%` (`2.6%` loop) | **`98.00%` (#1, `0.6%` cap)** | `97.20%` (`0.6%` cap, **`0.4%` loop**) | | |
| | **`IFEval` Prompt / Inst Strict** (`541`) | `79.3% / 80.9%` (`39.9%` loop) | `78.7% / 80.6%` (`41.2%` loop) | **`86.88% / 88.73%`** (`24.6%` loop) | `85.58% / 88.49%` (**`9.6%` loop**) | `85.03% / 88.61%` (**`10.0%` loop**, `4.6%` cap) | | |
| | **`GPQA Diamond`** (`198/198`) | `63.64%` (`32.3%` cap, `2,620s`) | `62.63%` (`31.8%` cap, `3,380s`) | **`78.28%`** (`9.6%` cap, `1,614s`) | `76.26%` (`+12.6`, **`1.5%` cap**, `505s`) | `71.72%` (**`+9.1`**, **`2.0%` cap**, `478s`) | | |
| | **`AIME 24+25` `T=0.0`** (`60`, 32K) | `76.67%` (`23.3%` cap, `1,624s`) | `85.00%` (`13.3%` cap, `1,386s`) | **`90.00%`** (`8.3%` cap, `960s`) | `73.33%` (`6.7%` cap, `734s`) | `81.67%` (**`0.0%` cap**, `3,370 tok`, `434s`) | | |
| | **`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) | `83.8%` / `maj 90.0%` / `pass 95.0%` (**`1.7%` cap**) | `81.7%` / `maj 86.7%` / `pass 93.3%` (**`2.9%` cap**) | | |
| > **Honest Pareto Note vs. `Unbound v3 (Prime)`**: `Unbound v3` retains `2–3×` longer thinking chains (at the cost of `2.5–6×` higher residual loops/caps and `2.2×` slower wall-clock speed), giving it an edge on Olympiad math (`AIME`) and PhD science (`GPQA`). **Unbound-AntiLoop** wins decisively on **Coding (`HumanEval 98.2% / HumanEval+ 92.1%`)**, **Cross-Turn Agentic Tool Loops (`34/36` vs `30/36`, `4/4` live multi-turn)**, **lowest loop/cap rates on every suite**, and **fastest runtime** (`3.0×` faster than original, `2.2×` faster than `Unbound v3`). | |
| --- | |
| ## Multi-Effort Stress-Loop & Systems Verification (784 Held-Out Prompts) | |
| | Stress Suite | Setting | Before `cap_hit` | **After `cap_hit`** | Before Acc | **After Acc** | Audited `TRUE_LOOP` | | |
| |---|---|---:|---:|---:|---:|---:| | |
| | **`loop09_t0`** (100 hard) | `e=0.9, T=0.0, 16K` | `39.0%` | **`0.0%`** (-100%) | `76.92%` | **`80.00%`** | **`0.0%`** (`0/100`) | | |
| | **`loop99_t0`** (100 hard) | `e=0.99, T=0.0, 16K` | `46.0%` | **`1.0%`** (-98%) | `64.62%` | **`83.08%`** | **`1.0%`** (`1/100`) | | |
| | **`loop99_t06`** (100 hard) | `e=0.99, T=0.6, p=0.95` | `45.0%` | **`0.0%`** (-100%) | `67.69%` | **`78.46%`** | **`0.0%`** (`0/100`) | | |
| | **`loop07_t0`** (40 hard) | `e=0.7, T=0.0, 16K` | `30.0%` | **`0.0%`** (-100%) | `80.00%` | **`90.00%`** | **`0.0%`** (`0/40`) | | |
| | **`condense_none`** (16) | `e=0.0, 4K` | `0.0%` | **`0.0%`** | `43.75%` | **`100.0%`** | **`0.0%`** | | |
| | **`zhtw_rules`** (24 zh-TW @3K) | `e=0.9, T=0.0, 3K` | `75.00%` | **`0.0%`** (-100%) | `25.00%` | **`100.0%`** | **`0.0%`** (`0/24`) | | |
| - **Semantic Rumination (`TRUE_LOOP_SEMANTIC`)**: **`0 / 784 (0.00%)`** across all 9 suites. | |
| - **`effort = 0.2` (40 hard prompts)**: **`0/40 (0.0%)` cap hit**. | |
| - **Unbound Low-Refusal Compliance**: **`12/12 (100.0%)`**. | |
| - **Vision & Tool Use**: **`7/7 PASS`** | **128K & 256K Needle**: **`6/6 (100%)`** (`160–190 tok/s`). | |
| - **Optional DSpark v2 Drafter (`dspark_v2/mtp.safetensors`)**: Self-distilled on `16.23M` tokens (zh-TW, EN, code, agentic, 4K–8K long-ctx) with **100% lossless trunk (`max_tok0_Δlp = 0.000000`)** — **`160.4 tok/s`** at `T=0.0` (`code 213.5`, `tw_agentic 174.5`) and **`156.3 tok/s`** at `T=1.0`. | |
| --- | |
| ## What Changed (Byte-Exact BF16 Attention Splice) | |
| - **Modified**: **120 BF16 attention linear matrices only** (`wq_du, wk_dv, wv_dv, wo_ud, gate_attn` across 24 layers), merged in FP64 from a native rank-32 LoRA (`r = 32, lora_alpha = 32.0, merge_scale = 1.00`, mean relative Frobenius delta **`0.289%`**, max `0.415%`). | |
| - **100% Byte-Identical (`--verify-full`)**: All **1,124** remaining checkpoint tensors — every NVFP4 and MXFP8 routed expert, router gate, embedding table, LM head, vision tower, root `mtp.safetensors`, and tokenizer — are verified **bit-for-bit identical** to `nokeepai/Inkling-2-Mini-Unbound`. | |
| ## Quick Start | |
| Serve directly with **`radiance`**, **vLLM**, **SGLang**, or **Transformers**. To enable the optional Lever 3 DSpark v2 speed drafter in `radiance`, pass `--draft-model /path/to/Inkling-2-Mini-Unbound-AntiLoop/dspark_v2`: | |
| ```bash | |
| rad-convert /path/to/Inkling-2-Mini-Unbound-AntiLoop -o inkling2-text.rad \ | |
| --recipe /opt/radiance/share/radiance/recipes/inkling2-mini-i8.recipe \ | |
| --draft-model /path/to/Inkling-2-Mini-Unbound-AntiLoop/dspark_v2 \ | |
| --kv-cache-dtype i8 --max-ctx 1048576 | |
| rad-convert --add-vision inkling2-text.rad \ | |
| /path/to/Inkling-2-Mini-Unbound-AntiLoop \ | |
| -o inkling2-mini-unbound-antiloop-i8.rad | |
| ``` | |