--- license: mit base_model: inclusionAI/Ring-mini-2.0 library_name: transformers pipeline_tag: text-generation tags: - webbrain - moe - looped-transformer - reasoning - ring-mini-2.0 - bailing-moe - test-time-compute --- # WebBrain-RingLoop-16B-A1.4B **WebBrain-RingLoop-16B-A1.4B** upgrades [`inclusionAI/Ring-mini-2.0`](https://huggingface.co/inclusionAI/Ring-mini-2.0) (`16.4B` total / **`1.4B` active** Mixture-of-Experts) with **Inkling-2-Mini–style looped depth**, allowing the middle 10 layers to think twice before predicting each token. It adds only **10.5M lightweight parameters (`+0.06%`)**, keeps all original weights intact, and runs smoothly on **8 GB consumer GPUs** via either PyTorch or `llama.cpp` — while boosting instant direct-answer and brief-reasoning accuracy over the original `Ring-mini-2.0` by up to **+30.8 percentage points**. > Looking for causal ablations, parameter-matched LoRA controls, 2-pass vs. 3-pass Pareto analysis, or gate diagnostics? Read the full **[Technical Report](./TECHNICAL_REPORT.md)**. ### Model Family & 8 GB GPU Downloads | Edition | Format | Size / VRAM | Link | |---|---|---:|---| | **Main (BF16)** | Hugging Face `bfloat16` (`trust_remote_code=True`) | ~30.3 GiB | [`webbrain-one/WebBrain-RingLoop-16B-A1.4B`](https://huggingface.co/webbrain-one/WebBrain-RingLoop-16B-A1.4B) | | **8 GB GPU (PyTorch)** | NF3-g64 Experts + INT8 Emb/LM-Head (`trust_remote_code=True`) | **7.01 GiB** (`7.31 GiB` peak) | [`webbrain-one/WebBrain-RingLoop-16B-A1.4B-INT3`](https://huggingface.co/webbrain-one/WebBrain-RingLoop-16B-A1.4B-INT3) | | **8 GB GPU (`llama.cpp`)** | Native GGUF (`Q2_K` / `Q3_K_S` / `Q3_K_M` / `Q4_K_M`, [`ggml-org/llama.cpp#33298`](https://github.com/ggml-org/llama.cpp/pull/33298)) | **6.05–7.66 GiB** (`Q3_K_S`: **406 tok/s**) | [`webbrain-one/WebBrain-RingLoop-16B-A1.4B-GGUF`](https://huggingface.co/webbrain-one/WebBrain-RingLoop-16B-A1.4B-GGUF) | --- ## Benchmarks: Original `Ring-mini-2.0` & 2026 Open-Weight Landscape

WebBrain-RingLoop vs Original Ring-mini-2.0 and 2026 Open-Weight Models

### 1. Before vs. After: Original `Ring-mini-2.0` vs. `WebBrain-RingLoop-16B-A1.4B` Evaluated identically in-house (greedy decoding, official `Ring` chat template, frozen test splits, and identical token caps): | Benchmark | Thinking Mode | Original `Ring-mini-2.0` | **`WebBrain-RingLoop-16B-A1.4B`** | Gain | |---|---|---:|---:|---:| | `MATH-500` (`n=250`) | Direct Answer (0 tok) | 20.00% | **28.80%** | **+8.80 pp** | | `MATH-500` (`n=250`) | Brief Reasoning (`<=192` tok) | 28.80% | **45.20%** | **+16.40 pp** | | `MMLU-Pro STEM` (`n=250`) | Direct Answer (0 tok) | 8.80% | **39.60%** | **+30.80 pp** | | `MMLU-Pro STEM` (`n=250`) | Brief Reasoning (`<=192` tok) | 25.60% | **41.20%** | **+15.60 pp** | | `MMLU-Pro STEM` (`n=50`) | Extended (`<=2048` tok) | 48.00% | **78.00%** | **+30.00 pp** | | `GSM8K` (`n=200`) | Direct Answer (0 tok) | 24.50% | **31.00%** | **+6.50 pp** | | `GSM8K` (`n=200`) | Brief Reasoning (`<=192` tok) | 50.00% | **70.00%** | **+20.00 pp** | | `LongBench v2` (`n=100`, `<=3.5K` ctx) | Direct Answer (0 tok) | 14.00% | **34.00%** | **+20.00 pp** | | `LongBench v2` (`n=100`, `<=3.5K` ctx) | Brief Reasoning (`<=192` tok) | 9.00% | **29.00%** | **+20.00 pp** | | `AIME 2024+2025` (`n=60`) | Extended (`<=2048` tok) | 13.33% | **16.67%** | **+3.34 pp** | --- ### 2. Comparison With `Inkling 2 Mini` & Current 2026 Open-Weight Models (Public Benchmarks) > **Scope Note:** Scores for `Inkling 2 Mini`, `Gemma 4`, `Qwen3.5`, `Qwen3.8`, `Muse Glimmer`, and `Nemotron 3.5` come directly from their **official 2026 public model cards** (full unconstrained reasoning / context), whereas `Ring-mini-2.0` and `WebBrain-RingLoop` reflect our **capped-budget in-house runs** (`MMLU-Pro STEM` `<=2K`, `LongBench v2` `<=3.5K` No-CoT, `AIME 24+25` `<=2K`, `ARC-AGI-1` compact `<=192` tok) shown side-by-side to frame hardware class vs. capability. | Model | Architecture | Active / Total Params | Min VRAM | `MMLU-Pro` | `LongBench v2` | `ARC-AGI-1` | `AIME` | |---|---|---:|---:|---:|---:|---:|---:| | **`WebBrain-RingLoop-16B-A1.4B` (Ours)** | **Looped MoE (2-pass)** | **1.4B act (~2.1B eff) / 16.4B** | **8 GB** | **78.0%** *(STEM 2K)* | **34.0%** *(No-CoT <=3.5K)* | **6.0%** *(192 tok)* | **16.7%** *(24+25 2K)* | | `Ring-mini-2.0` (Original Base) | MoE (1-pass) | 1.4B / 16.4B | 8 GB | 48.0% *(STEM 2K)* | 14.0% *(No-CoT <=3.5K)* | 6.0% *(192 tok)* | 13.3% *(24+25 2K)* | | `Inkling 2 Mini` *(Nov 2026)* | Looped MoE (3-pass) | 3.4B act (5.4B eff) / 26.4B | 32 GB+ | — | **66.9%** | 84.5% | — | | `Gemma 4 E2B` | Dense Hybrid + PLE | 2.3B eff / 5.1B | 8 GB | 60.0% | — | — | 37.5% *(AIME 26)* | | `Gemma 4 E4B` | Dense Hybrid + PLE | 4.5B eff / 8B | 8–12 GB | 69.4% | — | — | 42.5% *(AIME 26)* | | `Gemma 4 12B Unified` | Dense Multimodal | 12B / 12B | 12–16 GB | 77.2% | — | — | 77.5% *(AIME 26)* | | `Qwen3.5-4B` | Dense | 4B / 5B | 8 GB | 79.1% | — | — | — | | `Qwen3.5-9B` | Dense | 8B / 10B | 12–16 GB | 82.5% | 55.2% | — | **92.5%** *(AIME 26)* | | `Gemma 4 26B A4B` | MoE (1-pass) | 3.8B / 25.2B | 24 GB | 82.6% | — | — | 88.3% *(AIME 26)* | | `Qwen3.8-27B` | Dense | 27B / 27B | 24–32 GB+ | — | 52.3% | **87.5%** | — | | `Gemma 4 31B` | Dense Multimodal | 31B / 31B | 24–32 GB+ | **85.2%** | 52.9% | — | 89.2% *(AIME 26)* | | `Muse Glimmer` | Dense | 30B / 30B | 24–32 GB+ | — | 33.1% | — | — | | `Nemotron 3.5 Super VL` | MoE Hybrid VL | 12B / 125B | 80 GB+ | — | 62.1% | 22.7% | — | --- ## What Makes `WebBrain-RingLoop` Different?

WebBrain-RingLoop Architecture

1. **Second-Pass Depth Without Adding Experts:** Just like Thinking Machines Lab's **Inkling 2 Mini** loops its middle layers across passes, `WebBrain-RingLoop` runs `Ring-mini-2.0`'s middle 10 layers (`5–14`) **twice per token** (`30` effective layers from `20` physical layers), bridging the two passes with **10.5M lightweight weights** while leaving the `16.4B` base model frozen. 2. **Instant Intelligence at Small Budgets:** Standard thinking models often need hundreds or thousands of reasoning tokens to do well. Looped depth gives the model extra internal compute *inside every single token*, producing large gains even at **0 reasoning tokens** or **192-token limits**. 3. **True 8 GB Consumer GPU Speed:** With only **1.4B active parameters** (`~2.1B` effective per token across 2 passes), the quantized `Q3_K_S` GGUF fits in **7.00 GiB VRAM** and runs at **406 tok/s** on RTX 5090 (vs. 32 GB+ recommended for `Inkling 2 Mini`). --- ## Quickstart ### PyTorch / `transformers` (8 GB GPU `-INT3` or Full `BF16`) ```python import torch from transformers import AutoModelForCausalLM, AutoTokenizer repo_id = "webbrain-one/WebBrain-RingLoop-16B-A1.4B-INT3" # or "webbrain-one/WebBrain-RingLoop-16B-A1.4B" tokenizer = AutoTokenizer.from_pretrained(repo_id, trust_remote_code=True) model = AutoModelForCausalLM.from_pretrained( repo_id, torch_dtype=torch.bfloat16, device_map={"": "cuda:0"}, trust_remote_code=True, ).eval() prompt = ( "SYSTEMYou are Ring, an assistant created by inclusionAI" "HUMANFind the number of positive integers n <= 100 that are divisible by 3 or 5.ASSISTANT\n" ) inputs = tokenizer(prompt, return_tensors="pt", return_token_type_ids=False).to("cuda:0") with torch.no_grad(): out = model.generate(**inputs, max_new_tokens=256, do_sample=False) print(tokenizer.decode(out[0][inputs["input_ids"].shape[1]:], skip_special_tokens=True)) ``` ### `llama.cpp` (8 GB GPU `Q3_K_S` GGUF) ```bash git clone https://github.com/esokullu/llama.cpp.git -b feat/bailingmoe2-loop cmake -S llama.cpp -B llama.cpp/build -DGGML_CUDA=ON && cmake --build llama.cpp/build --target llama-cli -j huggingface-cli download webbrain-one/WebBrain-RingLoop-16B-A1.4B-GGUF WebBrain-RingLoop-16B-A1.4B-Q3_K_S.gguf --local-dir ./models ./llama.cpp/build/bin/llama-cli -m ./models/WebBrain-RingLoop-16B-A1.4B-Q3_K_S.gguf -ngl 99 -c 2048 -p "Find the remainder when 7^100 is divided by 10." ``` --- ## Deep Dive & Credits - **Detailed Technical Report:** [`TECHNICAL_REPORT.md`](./TECHNICAL_REPORT.md) — full causal ablations (parameter-matched `r=64` LoRA control, zero-message ablation, 1-pass check, ODE loop baseline), 2-pass vs. 3-pass Pareto curves, and learned gate diagnostics. - Built on [`inclusionAI/Ring-mini-2.0`](https://huggingface.co/inclusionAI/Ring-mini-2.0); cross-pass depth recurrence inspired by [`thinkingmachines/Inkling-2-Mini`](https://huggingface.co/thinkingmachines/Inkling-2-Mini).