Moon-Beam 2 GGUF Research Preview. A violet pulse travels around a crescent moon and a U.S. flag waves in the bottom-right corner.

Moon-Beam 2 · GGUF Research Preview

Moon-Beam 2 is an open-weight mixture of experts with 8B total parameters and about 1B active per token. The research asks whether running layers 12–19 a second time can improve reasoning while reusing the same weights.

Download research GGUFs · Benchmarks · Memory research · Quickstart

Build Context Where to start
GGUF Research Preview 131K The Round 2 adapter trained on 14M tokens. Runs single-pass in stock llama.cpp.
Current Moon-Beam 2 release 3M GGUF release · Full weights and loop code

The experimental second pass for the Research Preview uses the custom runtime and weights.

Reasoning benchmarks

The later full-weight Preview Checkpoint 1 improved over Moon-Beam 1 on 8 of 11 sampled benchmarks in both modes. Across the suite, the second pass produced no statistically significant accuracy gain. The table reports that checkpoint. The Round 2 measurements cover the GGUFs in this repository.

Selected Preview Checkpoint 1 results. GPQA Diamond 61.99%, AIME 2026 65.83%, IMO-AnswerBench 32.00%.

Benchmark Ling-3.0-tiny Moon-Beam 1 Preview Ckpt 1 (loop off) Preview Ckpt 1 (loop on)
GSM8K (n=1,319) 94.92% 95.53% 95.45% 95.38%
GSM8K-Platinum (n=1,209) 97.77% 98.10% 97.77% 97.77%
MATH-500 (n=500) 84.40% 86.00% 87.20% 87.40%
GPQA Diamond (198 × 4, avg@4) 50.51% 54.17% 61.99% 60.86%
AIME 2026 (30 × 8, avg@8) 51.67% 60.83% 65.83% 64.17%
AIME 2025 (30 × 8, avg@8) 53.33% 55.00% 60.00% 60.00%
AIME 2024 (30 × 8, avg@8) 65.00% 72.08% 77.08% 75.42%
HMMT Feb 2026 (33 × 8, avg@8) 28.03% 31.82% 35.23% 34.09%
HMMT Feb 2025 (30 × 8, avg@8) 42.92% 52.92% 42.50% 43.75%
IMO-AnswerBench (n=400) 15.25% 18.75% 31.50% 32.00%
Humanity's Last Exam (text-only, n=2,158, judged) 4.08% (88) 5.89% (127) 7.46% (161) 6.81% (147)
Evaluation settings, paired comparisons and long-context baselines

Preview Checkpoint 1 (loop on & off) vs Moon-Beam 1 & Ling-3.0-tiny

Setup: recommended settings (temperature=1.0, top_p=0.95, top_k=20, thinking on, 32K max tokens, served in BF16 on SGLang; HLE judged against the official CAIS judge prompt using Qwen3-30B-A3B-Instruct-2507-FP8). loop on runs SGLang on a 32-layer unrolled checkpoint (L12–19 duplicated with dedicated pass-2 routers) paired with an fp32 LoopBand forward hook, verified 64/64 consecutive greedy tokens identical to the PyTorch reference (loop_infer.py) across chat, math, tool-use, and 3K prompts.

  • Greedy loops vanish under the recommended sampling. GSM8K rises from 88.2%–88.9% (greedy) to 95.38%–95.45%, matching Moon-Beam 1 and edging out Ling-3.0-tiny.
  • Stage 1 leads both baselines across frontier reasoning & HLE. Preview Checkpoint 1 gains +11.5 pts over Ling-3.0-tiny / +7.8 pts over Moon-Beam 1 on GPQA Diamond (61.99% off, 60.86% on), +14.2 / +5.0 pts on AIME 2026, +12.1 / +5.0 pts on AIME 2024, +16.8 / +13.3 pts on IMO-AnswerBench (32.00% on, 31.50% off vs 18.75% / 15.25%), and nearly doubles Ling-3.0-tiny on Humanity's Last Exam (7.46% loop-off / 6.81% loop-on vs 5.89% Moon-Beam 1 and 4.08% Ling-3.0-tiny; exact McNemar vs Ling p = 3.8e-7 off, p = 1.9e-5 on; loop-off vs Moon-Beam 1 p = 0.025), while finishing within 32K far more cleanly (e.g., 97.6% stop rate on GPQA vs 68.3% for Moon-Beam 1 and 58.3% for Ling-3.0-tiny). Moon-Beam 1 (52.92%) retains the lead on HMMT Feb 2025.
  • Loop-on vs loop-off parity at Stage 1. Across all 11 math, science, and HLE suites, loop on and loop off are statistically tied (HLE p = 0.39, IMO-AnswerBench p = 0.90, MATH-500 p = 1.0, GSM8K p = 1.0), confirming the finding from the greedy dev table above: the Stage-1 loop delivers statistical parity with single-pass execution ahead of long-context training and Stage-2b loop tuning.

Pre-long-context & agentic baselines (stage 1, before 384K / 3M training)

BABILong (4K–64K, qa1–qa5, thinking off) 4K 16K 32K 64K Overall (n=2,000)
Ling-3.0-tiny 43.6% 32.6% 35.6% 27.0% 34.7%
Moon-Beam 1 42.4% 35.8% 32.0% 28.8% 34.8%
Preview Checkpoint 1 (loop off, pre-Stage-3) 38.8% 30.4% 27.4% 25.4% 30.5%
Preview Checkpoint 1 (loop on, pre-Stage-3) 40.8% 30.2% 30.0% 26.6% 31.9%

BABILong setup: qa1–qa5 (100 items each per length), enable_thinking=False, max_tokens=64, SGLang BF16. Measured before the 384K / 3M long-context stage as the stage-1 reference; loop on scores +1.4 pts above loop off (p = 0.19, exact McNemar).

  • AA-LCR (ArtificialAnalysis/AA-LCR, n=100, ~100K-token multi-doc reasoning, thinking on, official v1.1 equality judge): Ling-3.0-tiny 54.0% (54/100) · Moon-Beam 1 56.0% (56/100) · Preview Checkpoint 1 (loop off) 30.0% (30/100) · Preview Checkpoint 1 (loop on) 32.0% (32/100, p = 0.82 on vs off). Stage 1 was trained exclusively on short packed sequences ahead of the 384K CP4 long-context stage, making AA-LCR and BABILong the pre-Stage-3 baselines to beat once the 384K / 3M stage finishes.
  • Google Physical & Engineering's Last Exam (google/physical-engineerings-last-exam, PLE, Harbor Docker/MCP agentic harness, PC1 loop on): 0.0% across the complete 12-task deterministic checks subset (0/12, producing structured text deliverables while missing quantitative engineering tolerances) and 0.96% on fire-test-validation-memo (0.0% on 5 other measured checks-judge/rubric tasks; 18 tasks measured total), establishing our pre-Stage-3 8B-A1B engineering-agent baseline.

Memory belongs to the harness

Memory belongs to the harness. Explore the Staircase long-conversation recall study.

What helps a model recall a detail from a conversation a million tokens long? Staircase compares the model alone, the model with excerpts retrieved by terrabeam’s session ledger, and the model given the relevant evidence directly. Explore Staircase

Open research notes

Training the single-pass path narrowed the apparent benefit of looping. Checks also found overlap between evaluation and training data, prompting a rebuild of the development sets. The measurements and corrections are available together below.

Stage 1 training, data checks and initial accuracy results

Stage 1 of the full-weight Preview run trained all 8B parameters with the loop in place for 2,278 steps and about 300M tokens. An independent three-part review of the run (code, data, method) changed how we measure it — and what we are aiming for.

What we found

1. Measured fairly, the loop's language-modeling gain is small. Early on, "loop off" meant running the looped model with its second pass removed — a path that had never been trained, so it looked worse than it is. Once that single-pass path was trained too, the on/off gap in dev NLL fell from 0.02–0.036 to 0.001–0.005 nats. The smaller number is the honest one.

2. We rebuilt our dev sets. An exact 32-token overlap scan of every dev row against both training streams, plus prompt-level checks, showed that parts of our math and SFT dev sets overlapped training data (the same pages recur across FineMath files; SFT prompts repeated). The clean set keeps rows with under 2% overlap, adds checks on data the model was not trained on (human-written chat, code, multilingual), and reports flagged rows separately.

3. No forgetting — gains over Moon-Beam 1 everywhere, including data the model was not trained on.

Perplexity vs Moon-Beam 1 on clean dev rows

Dev NLL on clean rows (lower is better) and the perplexity change it implies; Preview at step 1,611:

Dev set (clean rows) Moon-Beam 1 Preview, loop on Preview, loop off Perplexity vs Moon-Beam 1 (loop on)
Chat (smoltalk test) 0.833 0.698 0.701 −12.6%
General web (FineWeb-Edu) 2.422 2.293 2.298 −12.1%
Math (FineMath) 1.463 1.337 1.340 −11.9%
Reasoning traces (OpenR1) 0.451 0.345 0.347 −10.0%
Not a training source: Code (MBPP) 1.504 1.265 1.254 −21.2%
Not a training source: Multilingual (de/fr/es/zh) 2.987 2.890 2.888 −9.2%
Not a training source: Chat, human-written (no_robots) 1.971 1.899 1.900 −6.9%

4. What pass 2 actually relies on. Forward-only ablations at step 1,611 (change in loop-on NLL; chat / web / reasoning):

Removed Δ NLL
Re-entry adapter +0.051 / +0.059 / +0.020 — worse than not looping at all
Pass-2 embedding ~0
Input re-injection ~0
Separate pass-2 routers (pass 2 uses the pass-1 routers) ≤ +0.001
The busiest pass-2 expert (blocked) ≤ +0.001

The re-entry adapter learned to add an almost constant vector (norm ≈ 46) to every token entering pass 2. That shift funnels about 82% of pass-2 tokens to a single expert in each looped layer — and blocking that expert costs nothing. Pass 2 is doing far less distinct work than it could; the adapter design is the main lever we are revisiting.

5. A data fix for tool use. About 4,300 tool calls in a public chat dataset used a JSON format that conflicts with the model's native tool-call format; they no longer contribute to the training loss.

The pivot: accuracy, not perplexity

A looped model is meant to think more per token, and published results for looped models show their gains on multi-step reasoning such as math — not on next-token prediction of web text. So the Preview will be judged on reasoning accuracy: loop on vs loop off vs a no-loop control trained on exactly the same data and steps, on GSM8K and MATH-500 (thinking on) and BABILong multi-hop reasoning from 4K to 128K tokens, with paired significance tests. The 3M-context stage will be judged the same way: long-context reasoning, not long-document perplexity. If the loop does not beat the control, we will say so here.

First accuracy results · stage 1 (step 2,278)

Benchmark Moon-Beam 1 Preview, loop on Preview, loop off
GSM8K (1,319 problems) 93.4% 88.2% 88.9%
GSM8K-Platinum (1,209, hand-cleaned) 96.2% 91.5% 92.5%
MATH-500 89.4% 86.2% 88.6%

Setup: thinking on, up to 32K generated tokens per problem, greedy decoding for a deterministic paired comparison of the three models. MATH-500 answers are checked with math-verify; automatic scoring decisions that were not exact matches were reviewed, and three scorer errors were corrected. GSM8K-Platinum is the GSM8K test set with mislabeled and ambiguous problems removed.

Paired tests (exact McNemar): loop on vs loop off is not significantly different (GSM8K p = 0.34, GSM8K-Platinum p = 0.14, MATH-500 p = 0.09). Moon-Beam 1 scores higher than this checkpoint on GSM8K (p < 1e-8 against both modes); on MATH-500 it is level with loop off (p = 0.65) and ahead of loop on (p = 0.04). At this stage the loop shows no accuracy gain.

Next, after the long-context stage: the same comparison with the recommended sampling settings (below), plus the benchmark suite used for Ling-3.0-tiny — GPQA Diamond, HMMT Feb 2026, IMO-AnswerBench, AA-LCR and Humanity's Last Exam — with Ling-3.0-tiny itself as a reference.

Recommended settings

Setting Value
Temperature 1.0
Top-p 0.95
Top-k 20
Thinking On (chat-template default)
Output budget 32K tokens or more for hard reasoning

These are the base model's recommended settings (Ling-3.0-tiny) and ship in generation_config.json. Do not use greedy decoding (temperature 0) or low temperatures: they cause repetition loops in long reasoning.

Architecture

Moon-beam 2 looped MoE architecture

  • Prelude L0–11 → looped band L12–19 (×2) → coda L20–23.
  • Pass conditioning: a learned per-pass embedding plus a small re-entry adapter (RMSNorm → 1536→256 → SiLU → 256→1536) before pass 2.
  • Per-pass caches: pass 2 keeps its own MLA KV and KDA state.
  • Experts: 128 routed (top-8, group-limited 8×4) + 1 shared; fp32 routers with a load-balancing bias.

Research Preview results (Round 2, NF4 on one A2000)

Show measurements

Dev-set NLL (lower is better), loop on / off on the same checkpoint:

Run Gen Math SFT Pass-2 routing (Jaccard / unique experts)
Moon-Beam 1 + raw loop (no training) 2.608 / 2.476 1.821 / 1.715 0.378 / 0.321 0.58 / 10.3
Round 1 (frozen routers) 2.386 / 2.404 1.609 / 1.615 0.331 / 0.330 0.61 / 10.1
Round 2 (Research Preview) 2.380 / 2.420 1.591 / 1.622 0.322 / 0.331 0.41 / 11.6

Benchmarks (same harness, GSM8K no-think, 1,536-token cap):

Model ARC-C (n=300) MMLU (n=500) GSM8K (n=100) GSM8K wall time
Moon-Beam 1 (no loop) 90.7% 66.6% 89.0% 1,958 s
Research Preview, loop off 90.7% 67.8% 87.0% 2,869 s
Research Preview, loop on 91.3% 66.6% 87.0% 3,727 s

What this shows, honestly: the loop is used — pass 2 routes to different experts and lowers dev NLL — but at this adapter-only scale it does not yet beat Moon-Beam 1 on benchmarks, and it costs ~30–40% more time per token. That is why the Preview trains every weight with the loop in place instead of retrofitting a frozen model.

Quantization research (Lite-Beam v2)

Show measurements

Lite-Beam v2 spends extra bits on the looped band and the first/last layers (the band runs twice, so its errors count twice). At matched file size its KLD is on par with the standard imatrix ladder; the measured GGUFs are listed below.

The reasoning and retrieval charts below were measured on Moon-Beam 1 (r1b) weights quantized with the Lite-Beam v2 recipe, with small samples (24–50 items, one sample at T=1.0) — treat them as directional. They will be re-run on the Preview weights with larger samples.

Lite-Beam v2 CPU thinking-on Pareto (Moon-Beam 1 weights) Tablinum retrieval recovery across 1–4 bit quants (Moon-Beam 1 weights)

  • With Tablinum-3 retrieval (k=3), factual recall on EngramBench stays at 80–86% down to 2.37 GB (closed-book: 2–10%), and falls off below ~2.1 GB (44–48%).

Files and measured fidelity

Show measurements

KL divergence vs the Research Preview BF16 weights (16 × 2,048-token chunks):

File Size (GB) KLD (mix) Top-1 (mix) KLD (wiki) Top-1 (wiki)
Moon-Beam-2-8B-A1B-RP-Q8_0.gguf 8.41 0.0008 99.19% 0.0018 98.00%
Moon-Beam-2-8B-A1B-RP-Q6_K.gguf 7.23 0.0012 98.98% 0.0028 97.55%
Moon-Beam-2-8B-A1B-RP-Q4_K_M.gguf 4.96 0.0064 97.47% 0.0158 94.47%
Moon-Beam-2-8B-A1B-RP-IQ4_XS.gguf 4.85 0.0060 97.62% 0.0163 94.15%
Moon-Beam-2-8B-A1B-RP-MXFP4_MOE.gguf 4.38 0.0207 95.46% 0.0487 90.10%
Moon-Beam-2-8B-A1B-RP-IQ3_XXS.gguf 3.70 0.0272 94.97% 0.0741 88.20%
Moon-Beam-2-8B-A1B-RP-LB2-IQ2_M.gguf 3.23 0.0497 93.69% 0.1249 85.17%
Moon-Beam-2-8B-A1B-RP-LB2-IQ2_XXS.gguf 2.84 0.0839 91.18% 0.2073 80.77%
Moon-Beam-2-8B-A1B-RP-LB2.1-IQ2_XXS.gguf 2.84 0.0857 91.59% 0.2074 80.79%
Moon-Beam-2-8B-A1B-RP-LB2-IQ1_M.gguf 2.37 0.1666 87.74% 0.3724 73.98%
Moon-Beam-2-8B-A1B-RP-LB2.1-IQ1_S-Ultra.gguf 2.07 0.2855 83.57% 0.5825 68.03%

LB2 = Lite-Beam v2 (extra bits on the looped band and first/last layers); LB2.1 adds a thinking-trace + Tablinum calibration imatrix. Reasoning/retrieval notes for these recipes are in Quantization research above.

Quickstart

llama-server -m Moon-Beam-2-8B-A1B-RP-Q4_K_M.gguf -c 131072 -ngl 99 -fa on --temp 1.0 --top-p 0.95 --top-k 20

The two-pass loop runtime for transformers (loopmb.py) and the adapter files are in the main repo.

Model Family

Downloads last month
43,305
GGUF
Model size
8B params
Architecture
bailingmoe3
Hardware compatibility
Log In to add your hardware

1-bit

2-bit

3-bit

4-bit

6-bit

8-bit

Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for tablinum/Moon-Beam-2-8B-A1B-GGUF-Research

Quantized
(7)
this model

Collection including tablinum/Moon-Beam-2-8B-A1B-GGUF-Research