Instructions to use jstarks/WebBrain-LingLoop-8B-A1.3B-Weight-Space-Programming with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use jstarks/WebBrain-LingLoop-8B-A1.3B-Weight-Space-Programming with 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
- Llama new
- LM Studio
- Jan
- vLLM
How to use jstarks/WebBrain-LingLoop-8B-A1.3B-Weight-Space-Programming with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "jstarks/WebBrain-LingLoop-8B-A1.3B-Weight-Space-Programming" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "jstarks/WebBrain-LingLoop-8B-A1.3B-Weight-Space-Programming", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/jstarks/WebBrain-LingLoop-8B-A1.3B-Weight-Space-Programming:Q6_K
- Ollama
How to use jstarks/WebBrain-LingLoop-8B-A1.3B-Weight-Space-Programming with Ollama:
ollama run hf.co/jstarks/WebBrain-LingLoop-8B-A1.3B-Weight-Space-Programming:Q6_K
- Unsloth Desktop
- Pi
How to use jstarks/WebBrain-LingLoop-8B-A1.3B-Weight-Space-Programming with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf jstarks/WebBrain-LingLoop-8B-A1.3B-Weight-Space-Programming:Q6_K
Configure the model in Pi
# Install Pi: npm install -g @earendil-works/pi-coding-agent # Add to ~/.pi/agent/models.json: { "providers": { "llama-cpp": { "baseUrl": "http://localhost:9931/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "jstarks/WebBrain-LingLoop-8B-A1.3B-Weight-Space-Programming:Q6_K" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Docker Model Runner
How to use jstarks/WebBrain-LingLoop-8B-A1.3B-Weight-Space-Programming with Docker Model Runner:
docker model run hf.co/jstarks/WebBrain-LingLoop-8B-A1.3B-Weight-Space-Programming:Q6_K
- Lemonade
How to use jstarks/WebBrain-LingLoop-8B-A1.3B-Weight-Space-Programming with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull jstarks/WebBrain-LingLoop-8B-A1.3B-Weight-Space-Programming:Q6_K
Run and chat with the model
lemonade run user.WebBrain-LingLoop-8B-A1.3B-Weight-Space-Programming-Q6_K
List all available models
lemonade list
- Hermes Agent
How to use jstarks/WebBrain-LingLoop-8B-A1.3B-Weight-Space-Programming with Hermes Agent:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf jstarks/WebBrain-LingLoop-8B-A1.3B-Weight-Space-Programming:Q6_K
Configure Hermes
# Install Hermes: curl -fsSL https://hermes-agent.nousresearch.com/install.sh | bash hermes setup # Point Hermes at the local server: hermes config set model.provider custom hermes config set model.base_url http://127.0.0.1:9931/v1 hermes config set model.default jstarks/WebBrain-LingLoop-8B-A1.3B-Weight-Space-Programming:Q6_K
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use jstarks/WebBrain-LingLoop-8B-A1.3B-Weight-Space-Programming with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf jstarks/WebBrain-LingLoop-8B-A1.3B-Weight-Space-Programming:Q6_K
Configure OpenClaw
# Install OpenClaw: npm install -g openclaw@latest # Register the local server and set it as the default model: openclaw onboard --non-interactive --mode local \ --auth-choice custom-api-key \ --custom-base-url http://127.0.0.1:9931/v1 \ --custom-model-id "jstarks/WebBrain-LingLoop-8B-A1.3B-Weight-Space-Programming:Q6_K" \ --custom-provider-id llama-cpp \ --custom-compatibility openai \ --custom-text-input \ --accept-risk \ --skip-health
Run OpenClaw
openclaw agent --local --agent main --message "Hello from Hugging Face"
- WebBrain-LingLoop-8B-A1.3B โ Weight Space Programming (WSP)
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(100tasks):78/100 (78.0%)->87/100 (87.0%)(+9.0 pp), WSP holdouts20/30 (66.7%)->25/30 (83.3%), Established58/70 (82.9%)->62/70 (88.6%),5 -> 0cutoffs, and2.57xfaster wall-clock completion (1931s -> 752s) via concise output control. - Targeted Thinking Probe (
60matched tasks):43/60 (71.7%)->50/60 (83.3%)(+11.6 pp;53/63 = 84.1%includingS1_THINK), with TH WSP holdouts jumping from13/25 (52.0%)->22/25 (88.0%)(+36.0 pp). - Perplexity Actually Improved: WikiText-2 2K (2-pass) PPL moved from
18.4888baseline ->18.2352(-0.254improvement, lossless bake diff vs runtimeadapter@1.0=0.0020). - Surgical 24-Matrix Edit / 0 MoE Experts Touched: Modified only
16upper cross-pass FP32 loop gates (blk.16..19) and8rank-32 Coda residual writers (blk.20..23.{attn_output,ffn_down_shexp}baked in losslessF16). All614/638remaining tensors โ including all69routed MoEQ6_Kexpert tensors and lower loop blocksblk.4..15โ are raw byte-for-byte identical to upstreamQ6_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):
- 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 nativeF32) modulate the Pass 1 vs Pass 0 residual merge right before the Coda, resolving runaway token-budget loops (EST_GSM8KNT5 -> 0cutoffs) and Turn-2 re-invocation compulsion. - Subspace 2 โ Coda Residual Writers (
blk.20..23, 8 matrices):attn_outputandffn_down_shexp(SVD rank-32 LoRA, baked in losslessF16viaW_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_handoffrouting (S3,S6), and clean</think>termination. - Woodbury Right-Nullspace Projection: Collected FP64 input covariances $H_{pres} = X^\top X$ across
32strictly disjoint general-language prompts and applied trace-normalized Tikhonov projectors $N_\lambda = \lambda (C + \lambda I)^{-1}$ calibrated toiso_norm_ret = 0.90on all 24 matrices (peak VRAM = 8.771 GiBduring checkpointed synthesis across71disjoint NT+TH examples, loss1.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(638tensors) -> Baked GGUF:6.8322 GiB(+17.7 MiB) - Modified / Preserved:
16F32loop gates +8F16Coda writers;614/638raw byte-exact untouched tensors (0routed experts modified). - WikiText-2 2K (2-pass PPL): Baseline
18.4888-> Runtimeadapter@1.018.2372-> Standalone Baked GGUF18.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
- -
6-bit
Model tree for jstarks/WebBrain-LingLoop-8B-A1.3B-Weight-Space-Programming
Base model
inclusionAI/Ling-3.0-tiny