webbrain-one's picture
test3
da85fb0 verified
|
Raw History Blame Contribute Delete
3.98 kB
metadata
base_model: inclusionAI/Ling-3.0-tiny
library_name: llama.cpp
pipeline_tag: text-generation
tags:
  - gguf
  - webbrain
  - ling-3.0
  - bailing-moe
  - looped-transformer
  - bailingmoe3-loop

WebBrain-LingLoop-8B-A1.3B — GGUF

Native llama.cpp GGUF builds of webbrain-one/WebBrain-LingLoop-8B-A1.3B, using the new bailingmoe3_loop architecture. All loop reader/gate tensors are kept in FP32; only the frozen base weights are quantized.

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.


Architecture

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.

./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.


Benchmarks

In-house greedy decoding, same token budgets. RingLoop is included as a same-protocol reference.

Benchmark (n) Mode Base Ling LingLoop RingLoop-16B
Math500 (250) Direct 27.20 30.80 28.80
Math500 (250) Brief <=192 37.20 43.60 45.20
MMLU-Pro STEM (250) Direct 8.80 44.40 39.60
MMLU-Pro STEM (250) Brief <=192 10.00 41.60 41.20
GSM8K (200) Direct 27.00 35.00 31.00
GSM8K (200) Brief <=192 65.50 78.00 70.00
LongBench v2 (100) Direct 9.00 33.00 34.00
LongBench v2 (100) Brief <=192 8.00 34.00 29.00

With SenseNova added (sensenova/SenseNova-Loop-9B, revision 3cc220e9c14bd7a74813c1299765e22147b1a3d5; https://huggingface.co/sensenova/SenseNova-Loop-9B/tree/3cc220e9c14bd7a74813c1299765e22147b1a3d5):

Benchmark Mode LingLoop SenseNova RingLoop-16B
Math500 Direct 30.80 24.80 28.80
MMLU-Pro Direct 44.40 44.40 39.60
GSM8K Direct 35.00 30.00 31.00
LongBench v2 Direct 33.00 40.00 34.00

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.