Instructions to use webbrain-one/WebBrain-RingLoop-16B-A1.4B with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use webbrain-one/WebBrain-RingLoop-16B-A1.4B with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="webbrain-one/WebBrain-RingLoop-16B-A1.4B", trust_remote_code=True) messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# pip install -U transformers accelerate # Load model directly from transformers import AutoModelForCausalLM model = AutoModelForCausalLM.from_pretrained("webbrain-one/WebBrain-RingLoop-16B-A1.4B", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use webbrain-one/WebBrain-RingLoop-16B-A1.4B with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "webbrain-one/WebBrain-RingLoop-16B-A1.4B" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "webbrain-one/WebBrain-RingLoop-16B-A1.4B", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/webbrain-one/WebBrain-RingLoop-16B-A1.4B
- SGLang
How to use webbrain-one/WebBrain-RingLoop-16B-A1.4B with SGLang:
Install from pip and serve model
# Install SGLang from pip: pip install sglang # Start the SGLang server: python3 -m sglang.launch_server \ --model-path "webbrain-one/WebBrain-RingLoop-16B-A1.4B" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "webbrain-one/WebBrain-RingLoop-16B-A1.4B", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker images
docker run --gpus all \ --shm-size 32g \ -p 30000:30000 \ -v ~/.cache/huggingface:/root/.cache/huggingface \ --env "HF_TOKEN=<secret>" \ --ipc=host \ lmsysorg/sglang:latest \ python3 -m sglang.launch_server \ --model-path "webbrain-one/WebBrain-RingLoop-16B-A1.4B" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "webbrain-one/WebBrain-RingLoop-16B-A1.4B", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use webbrain-one/WebBrain-RingLoop-16B-A1.4B with Docker Model Runner:
docker model run hf.co/webbrain-one/WebBrain-RingLoop-16B-A1.4B
# pip install -U transformers accelerate
# Load model directly
from transformers import AutoModelForCausalLM
model = AutoModelForCausalLM.from_pretrained("webbrain-one/WebBrain-RingLoop-16B-A1.4B", trust_remote_code=True, device_map="auto")WebBrain-RingLoop-16B-A1.4B
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 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.
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 |
| 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 |
Benchmarks: Original Ring-mini-2.0 & 2026 Open-Weight Landscape
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, andNemotron 3.5come directly from their official 2026 public model cards (full unconstrained reasoning / context), whereasRing-mini-2.0andWebBrain-RingLoopreflect our capped-budget in-house runs (MMLU-Pro STEM<=2K,LongBench v2<=3.5KNo-CoT,AIME 24+25<=2K,ARC-AGI-1compact<=192tok) 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?
- Second-Pass Depth Without Adding Experts: Just like Thinking Machines Lab's Inkling 2 Mini loops its middle layers across passes,
WebBrain-RingLooprunsRing-mini-2.0's middle 10 layers (5โ14) twice per token (30effective layers from20physical layers), bridging the two passes with 10.5M lightweight weights while leaving the16.4Bbase model frozen. - 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.
- True 8 GB Consumer GPU Speed: With only 1.4B active parameters (
~2.1Beffective per token across 2 passes), the quantizedQ3_K_SGGUF fits in 7.00 GiB VRAM and runs at 406 tok/s on RTX 5090 (vs. 32 GB+ recommended forInkling 2 Mini).
Quickstart
PyTorch / 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."
Deep Dive & Credits
- Detailed Technical Report:
TECHNICAL_REPORT.mdโ full causal ablations (parameter-matchedr=64LoRA 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; cross-pass depth recurrence inspired bythinkingmachines/Inkling-2-Mini.
- Downloads last month
- -
Model tree for webbrain-one/WebBrain-RingLoop-16B-A1.4B
Base model
inclusionAI/Ling-mini-base-2.0-20T
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="webbrain-one/WebBrain-RingLoop-16B-A1.4B", trust_remote_code=True) messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)