Goldworm Lab — a demo Space for goldworm-coder

An interactive, static lab for Uuuuuuniiiiiii/goldworm-coder, an experimental local-first agent wrapper around a byte-level upcycled MoE (113,689,648 params, 4 topic experts: stories / code / math / wiki; vocab 256, no tokenizer).

The page replays the agent's documented behavior in your browser — run the real weights on the model page linked below.

🧪 The lab

  • Agent console — chat with the agent: fix (staged red→green patch flow, verified by tests), test, inspect (triage), generate, classify (10/10 intent-routing demo), bench, help, reset, plus chat with session memory (greetings, 2+2, 7×8, capitals, "my name is …"). Every reply shows the pipeline: classify → gate → rank by BPC → verify → qwen2.5-0.5b phrases.
  • Router probe — type anything and watch the gate fire: bijective topic→expert routing, (illustrative replay).
  • BPC ranker — the brain never writes, it scores: rank candidate lines by BPC (lower = better).
  • Benchmarks — animated bars for the measured numbers of this exact bundle (gen0).

Measured with session_v9_scripts/benchmark_famous.py; see v10/benchmark_hf.log and v10/benchmark_hf_v10.md (self-reported).

metric value
TinyStories validation, 256 KB slice (bits/byte) 0.8125
WikiText-2 test, 256 KB slice, zero-shot (bits/byte) 2.2305

Honest limits: 0/5 arithmetic as a raw model, ARC-AGI at chance level, confident-but-wrong free-form generation. The product works because it ranks, routes and verifies — a patch is only promoted when a test goes red→green in a throwaway git worktree, and every champion push passes the frozen rsi/gate.py thresholds (hash-chained audit log). Later candidates were rejected by the gate.

Load the brain:

moe = rsi.gate.load_moe("moe.pt", dev)  # never trust the checkpoint's embedded cfg

The full self-contained agent bundle (goldworm-coder-linux-v0.2.0.zip, 1.73 GB, start.sh) and the sha256-audited manifest.json / active_bundle.json (gen0) live in the repo.

Not comparable to goldworm-v6: v6 (1.0073 bits/byte) uses a different protocol (windowed ctx-256 over 129,429 fixed outer-val positions) and a different slice; the numbers must not be compared head-to-head.

Earlier card values (0.8109 TinyStories val, 2.2385 "mean topic-tail") came from an internal topic-tail audit without a published artifact; they are superseded by the logged benchmark above.

Third-party demo tab: spotlight-vm

The page also contains a replay tab for percepta-ai/spotlight-vm. It is an unrelated third-party project, not part of GoldWorm and not affiliated with it.

About this demo

This Space is a static React + Vite + Tailwind page (single-file dist/index.html). Model inference is simulated/replayed in the browser using each model's real example code, documented outputs, configs and benchmarks — the model is a custom architecture that cannot run in a static page. To run them for real, use the load snippet above.

Built with React + Vite + Tailwind CSS.

Stub warning (weights)

Root moe.pt = stub-moe-placeholder; experts/code.pt, experts/html.pt, experts/math.pt are 16-byte stubs (stub-*-expert). Only experts/stories.pt is real (152 MB). Real weights live in release asset goldworm-coder-linux-v0.2.0.zip (1.73 GB) — download and overwrite stubs before load_moe.

Limitations

  • On an internal code-infill benchmark goldworm-coder scores 5% vs 47.5% for Qwen2.5-Coder-0.5B. It is not a strong code generator; the "agent" behaviour comes from ranking, routing and test-verification around it.
  • Router/gate/agent-skill figures from earlier versions of this card had no published eval artifact and were removed.
  • Not comparable head-to-head with goldworm-v6 (different eval protocol and slice).

User manual

See docs/USER_MANUAL.md for Windows + Linux install + load + eval reproduction.

Links

Citation

@misc{goldworm_coder_2026,
  title  = {goldworm-coder: a byte-level upcycled MoE coding agent},
  author = {Gold Lab},
  year   = {2026},
  url    = {https://huggingface.co/Uuuuuuniiiiiii/goldworm-coder}
}
Downloads last month
462
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 1 Ask for provider support

Datasets used to train Uuuuuuniiiiiii/goldworm-coder

Space using Uuuuuuniiiiiii/goldworm-coder 1