Run this model with HF Jobs
Run webbrain-one/WebBrain-RingLoop-16B-A1.4B on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs and TRL to fine-tune https://huggingface.co/webbrain-one/WebBrain-RingLoop-16B-A1.4B. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/webbrain-one/WebBrain-RingLoop-16B-A1.4B on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Evaluate on a benchmark
Use HF Jobs to evaluate https://huggingface.co/webbrain-one/WebBrain-RingLoop-16B-A1.4B. Ask me which benchmark to run, then save the scores and the per-example results to a new dataset repo. Run `hf jobs --help` first to learn the CLI.
Quantize for lower memory use
Use HF Jobs to create a 4-bit version of https://huggingface.co/webbrain-one/WebBrain-RingLoop-16B-A1.4B. Push it to a new model repo, then reload it from there and report its memory footprint. Run `hf jobs --help` first to learn the CLI.
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
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 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.
RingLoop improves the matched benchmark average over Ring-mini-2.0
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.
Selected benchmark results
| 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.
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 |
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.
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
- 994
Model tree for webbrain-one/WebBrain-RingLoop-16B-A1.4B
Base model
inclusionAI/Ling-mini-base-2.0-20T