Run this model with HF Jobs

Run webbrain-one/WebBrain-LingLoop-8B-A1.3B 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-LingLoop-8B-A1.3B. 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-LingLoop-8B-A1.3B 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-LingLoop-8B-A1.3B. 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-LingLoop-8B-A1.3B. 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.
File size: 5,742 Bytes
9ad3814
 
 
 
 
 
 
492486e
9ad3814
 
 
6cd9992
 
b26cada
ac0e07e
8a39b1a
 
 
 
 
 
b26cada
 
 
 
1a8f40d
9ad3814
b92232e
 
 
 
8b3bdd7
b92232e
 
 
 
 
 
 
 
 
 
 
 
b26cada
 
 
 
 
 
 
 
 
 
 
 
 
 
b92232e
 
492486e
 
 
 
 
 
 
 
 
 
 
 
f7c7825
 
492486e
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
9ad3814
 
 
492486e
 
 
 
 
 
 
9ad3814
 
492486e
 
 
9ad3814
492486e
9ad3814
492486e
 
 
 
 
 
 
9ad3814
492486e
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
---
base_model: inclusionAI/Ling-3.0-tiny
library_name: transformers
pipeline_tag: text-generation
tags:
  - webbrain
  - ling-3.0
  - bailing-moe
  - looped-transformer
---

# WebBrain-LingLoop-8B-A1.3B

<!-- webbrain-brand-banner:start -->
<div class="not-prose mb-4 rounded-lg border border-gray-200 bg-gray-50 px-4 py-3 dark:border-gray-700 dark:bg-gray-900">
  <a href="https://webbrain.one/" class="flex items-center gap-3 no-underline">
    <img src="https://raw.githubusercontent.com/webbrain-one/webbrain/main/assets/store-icon-128.png" width="30" height="30" alt="" class="my-0 block shrink-0" />
    <span class="block leading-snug">
      <strong>WebBrain</strong><span> · Open-source AI browser agent</span><br />
      <span class="text-sm text-gray-600 dark:text-gray-300">Chat with pages and PDFs · Automate browser tasks · Run models locally</span>
    </span>
  </a>
</div>
<!-- webbrain-brand-banner:end -->

**WebBrain-LingLoop-8B-A1.3B** upgrades [`inclusionAI/Ling-3.0-tiny`](https://huggingface.co/inclusionAI/Ling-3.0-tiny) with Inkling-2-Mini-style looped depth. The base weights stay frozen; only a 12.63M-parameter cross-pass adapter is trained.

## LingLoop improves tool calling over Ling and approaches Qwen3.8-27B

WebBrain-LingLoop scored **61.25%** on our sampled BFCL tool-calling average, up **10.63 percentage points** from Ling-3.0-tiny. It came within **6.25 points** of Qwen3.8-27B and scored above Qwen3.6-35B-A3B, Inkling-2-Mini, and SenseNova-Loop-9B. Against the base model, single-turn accuracy rose from **73/80 to 74/80** and multi-turn completion rose from **2/20 to 6/20**.

![BFCL tool-calling averages for LingLoop, SenseNova, Qwen3.8, Qwen3.6, and Inkling](assets/benchmarks-2026-12-02.png)

| Model | BFCL two-suite mean |
|---|---:|
| Qwen3.8-27B | 67.50% |
| **WebBrain-LingLoop-8B-A1.3B** | **61.25%** |
| Qwen3.6-35B-A3B | 53.13% |
| Ling-3.0-tiny | 50.63% |
| Inkling-2-Mini | 40.63% |
| SenseNova-Loop-9B | 11.88% |

The average weights both suites equally. All six models ran on the same 80 single-turn Python AST cases and 20 multi-turn simulator cases. We evaluated LingLoop from its safetensors checkpoint, Inkling-2-Mini as IQ4_NL GGUF, and the other baselines as Q4_K_M GGUF.

## LingLoop Q4_K_M leads Bonsai PTQ1_0 on matched tool calling

For tool calling at this weight size, LingLoop has the edge in our matched evaluation. The **5.62 GB** LingLoop Q4_K_M scored **59.38%** across both BFCL suites, compared with **57.50%** for the **5.99 GB** [Ternary Bonsai 2.5 27B PTQ1_0](https://huggingface.co/prism-ml/Ternary-Bonsai-2.5-27B-GGUF).

| Matched benchmark | LingLoop Q4_K_M | Bonsai PTQ1_0 |
| --- | ---: | ---: |
| BFCL single-turn | **75/80 (93.75%)** | 72/80 (90.00%) |
| BFCL multi-turn | 5/20 (25.00%) | 5/20 (25.00%) |
| IFEval strict | **77/120 (64.17%)** | 73/120 (60.83%) |

LingLoop is an 8B mixture-of-experts model with about 1.3B active parameters per token. Its core layers run twice and exchange state through a **12.63M-parameter adapter** trained with the Ling-3.0-tiny base weights frozen.

The BFCL mean weights single-turn and multi-turn equally. Both GGUF builds ran the same cases with matched prompts, token caps and scoring. File sizes are in decimal GB.

## Downloads

| File | Type | Size |
|---|---|---:|
| `WebBrain-LingLoop-8B-A1.3B.gguf` | BF16 | ~15.9 GB |
| `WebBrain-LingLoop-8B-A1.3B-Q6_K.gguf` | Q6_K | ~6.9 GB |
| `WebBrain-LingLoop-8B-A1.3B-Q4_K_M.gguf` | Q4_K_M | ~5.3 GB |

For the sibling model on Ring-mini-2.0, see [`WebBrain-RingLoop-16B-A1.4B-GGUF`](https://huggingface.co/webbrain-one/WebBrain-RingLoop-16B-A1.4B-GGUF).

---

## Architecture

![Ling-3.0-tiny and LingLoop compared side by side. LingLoop runs layers 4–19 twice with shared weights, a learned cross-pass adapter, and separate KDA and MLA state.](assets/lingloop-architecture.png)

Ling-3.0-tiny is a 24-layer hybrid MoE with 6 blocks of `[3 KDA + 1 MLA]`. The looped-depth layout is:

- Prelude layers `0..3`: once
- Core layers `4..19`: twice
- Coda layers `20..23`: once
- Pass 0 uses physical slots `4..19`; pass 1 uses isolated virtual slots `24..39`
- 12.63M added parameters: depth-attention readers + rank-64 zero-init gates
- Between passes: `h' = h - tanh(W_f � r(h, m)) * h + tanh(W_g � r(h, m)) * m`

This mirrors the idea in `WebBrain-RingLoop-16B-A1.4B`, which loops layers `5..14` twice with 10.5M added parameters, but applies it to a smaller hybrid KDA/MLA MoE.

| | WebBrain-RingLoop-16B-A1.4B | WebBrain-LingLoop-8B-A1.3B |
|---|---|---|
| Base | Ring-mini-2.0 | Ling-3.0-tiny |
| Total / active | 16.4B / 1.4B | ~8B / 1.3B |
| Physical layers | 20 | 24 |
| Looped layers | `5..14` | `4..19` |
| Passes | 2 | 2 |
| Virtual slots | `20..29` | `24..39` |
| Added params | 10.5M | 12.63M |
| GGUF arch | `bailingmoe2_loop` | `bailingmoe3_loop` |

---

## Quickstart

A llama.cpp build with `bailingmoe3_loop` support is required.

```bash
./llama-completion --no-conversation \
  -m WebBrain-LingLoop-8B-A1.3B-Q4_K_M.gguf \
  -p "Question: What is 17 times 23? Answer:" \
  -n 32 --temp 0 -ngl 99 --device CUDA0
```

Use `--single-turn` instead of `--no-conversation` to apply the base Ling chat template; the chat path may produce a short chain-of-thought before the final answer.

---

## Validation

- `test-llama-archs -a loop`: 3/3 passed (`bailingmoe2_loop`, `bailingmoe3_loop`, `inkling2_loop`).
- Raw BF16 completion: `Question: What is 17 times 23? Answer:` ? ` 391 [end of text]`.
- Single-pass logit PPL on the 58-token parity prompt:
  - Python Looped Ling: `4.326`
  - GGUF BF16: `4.424`
  - GGUF Q6_K: `4.300`
  - GGUF Q4_K_M: `4.290`

The BF16 and quantized builds are experimental; independent evaluation is recommended.