WebBrain-RingLoop-16B-A1.4B upgrades 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 the original weights frozen, and runs on 8 GB consumer GPUs via either PyTorch or llama.cpp.
Looking for causal ablations, parameter-matched LoRA controls, 2-pass vs. 3-pass Pareto analysis, or gate diagnostics? Read the full Technical Report.
WebBrain-RingLoop averaged 32.9% vs. 25.1% for Ring-mini-2.0 across eight matched suites in our December evaluation. The largest gains were +56.0 percentage points on GSM8K, +15.0 points on MATH-500, and +7.5 points on BFCL single-turn.
| Suite | Cases per model | Ring-mini-2.0 | WebBrain-RingLoop |
|---|---|---|---|
| Eight-suite mean | — | 25.1% | 32.9% |
| GSM8K | 100 | 18.0% | 74.0% |
| MATH-500 | 100 | 3.0% | 18.0% |
| BFCL single-turn | 80 | 35.0% | 42.5% |
Both models ran as Q4_K_M GGUF on the same sampled cases. The overall result weights all eight suite scores equally. The GSM8K and MATH-500 runs used a 1,024-token generation cap.
| Edition | Format | Size / VRAM | Link |
|---|---|---|---|
| Main (BF16) | Hugging Face bfloat16 (trust_remote_code=True) |
~30.3 GiB | 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 |
8 GB GPU (llama.cpp) |
Native GGUF (Q2_K / Q3_K_S / Q3_K_M / Q4_K_M, ggml-org/llama.cpp#33298) |
6.05–7.66 GiB (Q3_K_S: 406 tok/s) |
webbrain-one/WebBrain-RingLoop-16B-A1.4B-GGUF |
WebBrain-RingLoop Different?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.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.transformers (8 GB GPU -INT3 or Full BF16)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 = (
"<role>SYSTEM</role>You are Ring, an assistant created by inclusionAI"
"<role>HUMAN</role>Find the number of positive integers n <= 100 that are divisible by 3 or 5.<role>ASSISTANT</role><think>\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)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."
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.inclusionAI/Ring-mini-2.0; cross-pass depth recurrence inspired by thinkingmachines/Inkling-2-Mini.model-00003-of-00005.safetensors 9.3 GiBmodel-00002-of-00005.safetensors 9.3 GiBmodel-00001-of-00005.safetensors 9.3 GiBmodel-00004-of-00005.safetensors 2.3 GiBmodel-00005-of-00005.safetensors 40 MiB