How to use from
llama.cpp
Install (macOS, Linux)
curl -LsSf https://llama.app/install.sh | sh
# Start a local OpenAI-compatible server with a web UI:
llama serve -hf jstarks/WebBrain-LingLoop-8B-A1.3B-Weight-Space-Programming:Q6_K
# Run inference directly in the terminal:
llama cli -hf jstarks/WebBrain-LingLoop-8B-A1.3B-Weight-Space-Programming:Q6_K
Install from WinGet (Windows)
winget install llama.cpp
# Start a local OpenAI-compatible server with a web UI:
llama serve -hf jstarks/WebBrain-LingLoop-8B-A1.3B-Weight-Space-Programming:Q6_K
# Run inference directly in the terminal:
llama cli -hf jstarks/WebBrain-LingLoop-8B-A1.3B-Weight-Space-Programming:Q6_K
Build from source code
git clone https://github.com/ggml-org/llama.cpp.git
cd llama.cpp
cmake -B build
cmake --build build -j --target llama-app
# Start a local OpenAI-compatible server with a web UI:
./build/bin/llama serve -hf jstarks/WebBrain-LingLoop-8B-A1.3B-Weight-Space-Programming:Q6_K
# Run inference directly in the terminal:
./build/bin/llama cli -hf jstarks/WebBrain-LingLoop-8B-A1.3B-Weight-Space-Programming:Q6_K
Use Docker
docker model run hf.co/jstarks/WebBrain-LingLoop-8B-A1.3B-Weight-Space-Programming:Q6_K
Quick Links

WebBrain-LingLoop-8B-A1.3B โ€” Weight Space Programming (WSP)

Standalone, losslessly baked Dual-Subspace Woodbury Right-Nullspace Weight Space Programming (WSP) release of webbrain-one/WebBrain-LingLoop-8B-A1.3B (Q6_K, bailingmoe3_loop, ~8B total / 1.3B active parameters, 24 physical layers with core 4..19 looped x2), together with our native headerless NVRTC Windows/CUDA 12.4 runtime (lingloop_cuda/), safetensors WSP adapter (wsp_adapters/lingloop_wsp_r32.safetensors), Pareto sweep telemetry, and reproducibility scripts.

Highlights (Single-Pass Standalone WebBrain-LingLoop-8B-A1.3B-WSP-Q6_K.gguf)

  • +10.0 pp overall across 160 matched tasks (121/160 = 75.6% -> 137/160 = 85.6%; zero runtime adapters loaded).
  • Non-Thinking agent100 (100 tasks): 78/100 (78.0%) -> 87/100 (87.0%) (+9.0 pp), WSP holdouts 20/30 (66.7%) -> 25/30 (83.3%), Established 58/70 (82.9%) -> 62/70 (88.6%), 5 -> 0 cutoffs, and 2.57x faster wall-clock completion (1931s -> 752s) via concise output control.
  • Targeted Thinking Probe (60 matched tasks): 43/60 (71.7%) -> 50/60 (83.3%) (+11.6 pp; 53/63 = 84.1% including S1_THINK), with TH WSP holdouts jumping from 13/25 (52.0%) -> 22/25 (88.0%) (+36.0 pp).
  • Perplexity Actually Improved: WikiText-2 2K (2-pass) PPL moved from 18.4888 baseline -> 18.2352 (-0.254 improvement, lossless bake diff vs runtime adapter@1.0 = 0.0020).
  • Surgical 24-Matrix Edit / 0 MoE Experts Touched: Modified only 16 upper cross-pass FP32 loop gates (blk.16..19) and 8 rank-32 Coda residual writers (blk.20..23.{attn_output,ffn_down_shexp} baked in lossless F16). All 614/638 remaining tensors โ€” including all 69 routed MoE Q6_K expert tensors and lower loop blocks blk.4..15 โ€” are raw byte-for-byte identical to upstream Q6_K.

Architecture & Dual-Subspace Woodbury Method

WebBrain-LingLoop-8B-A1.3B implements bailingmoe3_loop (24 physical layers = 6 groups of [3 KDA + 1 MLA], looping layers 4..19 for 2 passes through a 12.63M-param FP32 CrossPassLoopAdapter across 40 isolated cache slots):

  1. Subspace 1 โ€” Upper Cross-Pass FP32 Loop Gates (blk.16..19, 16 matrices): loop_attn_ctrl_forget, loop_attn_ctrl_gain, loop_ffn_ctrl_forget, loop_ffn_ctrl_gain ((1536, 64), baked in native F32) modulate the Pass 1 vs Pass 0 residual merge right before the Coda, resolving runaway token-budget loops (EST_GSM8K NT 5 -> 0 cutoffs) and Turn-2 re-invocation compulsion.
  2. Subspace 2 โ€” Coda Residual Writers (blk.20..23, 8 matrices): attn_output and ffn_down_shexp (SVD rank-32 LoRA, baked in lossless F16 via W_deq_f32 + delta_f32 -> F16) directly bias final logit semantics for strict Turn-2 JSON synthesis (S5), null/abstention grounding (S8), tool restraint (S2, EST_BFCL_IRR), write_file/escalate_handoff routing (S3, S6), and clean </think> termination.
  3. Woodbury Right-Nullspace Projection: Collected FP64 input covariances $H_{pres} = X^\top X$ across 32 strictly disjoint general-language prompts and applied trace-normalized Tikhonov projectors $N_\lambda = \lambda (C + \lambda I)^{-1}$ calibrated to iso_norm_ret = 0.90 on all 24 matrices (peak VRAM = 8.771 GiB during checkpointed synthesis across 71 disjoint NT+TH examples, loss 1.1852 -> 0.0287).

Verified Benchmark Results (Standalone WebBrain-LingLoop-8B-A1.3B-WSP-Q6_K.gguf)

Non-Thinking agent100 (enable_thinking=False, max_tokens=1024)

Suite Baseline Pass Baseline Avg Tok Standalone WSP Pass WSP Avg Tok
S1_THINK 3/3 (100.0%) 484.0 2/3 (66.7%) 58.0
S2_RESTRAINT 1/4 (25.0%) 205.8 4/4 (100.0%) 53.8
S3_ROUTER 4/5 (80.0%) 29.6 4/5 (80.0%) 45.0
S4_CODE 2/2 (100.0%) 316.0 2/2 (100.0%) 86.0
S5_TURN2_JSON 2/3 (66.7%) 20.7 3/3 (100.0%) 22.7
S6_HANDOFF 3/4 (75.0%) 33.8 3/4 (75.0%) 36.5
S7_INJ_GUARD 2/3 (66.7%) 39.7 3/3 (100.0%) 23.7
S8_GROUNDING 0/3 (0.0%) 46.0 3/3 (100.0%) 23.7
S9_ERR_RECOV 3/3 (100.0%) 19.3 1/3 (33.3%) 28.7
EST_GSM8K 13/20 (65.0%) 563.3 15/20 (75.0%) 102.4
EST_HUMANEVAL 14/15 (93.3%) 147.9 14/15 (93.3%) 148.2
EST_BFCL_IRR 12/15 (80.0%) 85.5 14/15 (93.3%) 43.6
EST_NL2BASH 19/20 (95.0%) 38.8 19/20 (95.0%) 33.0
WSP Holdouts (S1..S9, 30) 20/30 (66.7%) โ€” 25/30 (83.3%) โ€”
Established (70) 58/70 (82.9%) โ€” 62/70 (88.6%) โ€”
Total agent100 (100) 78/100 (78.0%) cutoffs=5 (1931s) 87/100 (87.0%) cutoffs=0 (752s, 2.57x faster)

Targeted Thinking Probe (enable_thinking=True, max_tokens=1536)

Suite Baseline Pass Standalone WSP Pass
S1_THINK โ€” 3/3 (100.0%)
S2_RESTRAINT 1/4 (25.0%) 4/4 (100.0%)
S3_ROUTER 4/5 (80.0%) 5/5 (100.0%)
S5_TURN2_JSON 0/3 (0.0%) 3/3 (100.0%)
S6_HANDOFF 2/4 (50.0%) 3/4 (75.0%)
S7_INJ_GUARD 3/3 (100.0%) 3/3 (100.0%)
S8_GROUNDING 0/3 (0.0%) 3/3 (100.0%)
S9_ERR_RECOV 3/3 (100.0%) 1/3 (33.3%)
EST_GSM8K 19/20 (95.0%) 17/20 (85.0%)
EST_HUMANEVAL 11/15 (73.3%) 11/15 (73.3%)
WSP Holdouts (25 matched) 13/25 (52.0%) 22/25 (88.0%)
Matched Total (60) 43/60 (71.7%) 50/60 (83.3%)
Full Probe (63 incl. S1_THINK) โ€” 53/63 (84.1%)

Structural Bake & Perplexity Verification

  • Source GGUF: 6.8149 GiB (638 tensors) -> Baked GGUF: 6.8322 GiB (+17.7 MiB)
  • Modified / Preserved: 16 F32 loop gates + 8 F16 Coda writers; 614/638 raw byte-exact untouched tensors (0 routed experts modified).
  • WikiText-2 2K (2-pass PPL): Baseline 18.4888 -> Runtime adapter@1.0 18.2372 -> Standalone Baked GGUF 18.2352 (diff = 0.0020).

Native Windows / CUDA Quickstart (Zero nvcc / triton / fla Needed)

Our included lingloop_cuda/ package uses headerless NVRTC CUDA 12.4 (Q6_K, Q8_0, SwitchGLU MoE, kda_step_f32) bundled with standard PyTorch CUDA wheels and runs 100% GPU-resident on 12 GiB GPUs (6.38 GiB loaded / 6.82 GiB peak VRAM):

pip install torch transformers safetensors gguf numpy huggingface_hub
python -m lingloop_cuda.server_openai ^
  --model-gguf WebBrain-LingLoop-8B-A1.3B-WSP-Q6_K.gguf ^
  --meta-dir . ^
  --model-name WebBrain-LingLoop-8B-A1.3B-WSP ^
  --port 8145

License

Released under MIT (matching upstream inclusionAI/Ling-3.0-tiny and webbrain-one/WebBrain-LingLoop-8B-A1.3B).

Downloads last month
-
GGUF
Model size
8B params
Architecture
bailingmoe3_loop
Hardware compatibility
Log In to add your hardware

6-bit

Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support

Model tree for jstarks/WebBrain-LingLoop-8B-A1.3B-Weight-Space-Programming

Quantized
(46)
this model