MatterWaveAI/grt-30m-curriculum)Multi-Round Symplectic Curriculum Release: Starting from the exact same
29.3M-parameter (9.74Mnon-embedding backbone across12rotational blocks) 24-hour Qwen 3 distilled checkpoint asMatterWaveAI/grt-30m,MatterWaveAI/grt-30m-curriculumapplies multi-round curriculum optimization withHuygensSymplecticAdam. Across the 9-taskSLM-Benchmultiple-choice suite (13,144held-out examples), macro-average accuracy rises from37.56%(Zero-Shot Distilled Base) →39.61%(PairAdamBaseline) →43.86%(Single-PassHuygensSymplecticAdam) →48.07%(Multi-Round Curriculum,+8.46%vs.PairAdam), whileGSM8K4-way numerical verification reaches99.20%(PPL = 7.60, down3.68×from27.99).
| Property | Value |
|---|---|
| Architecture | GRTForCausalLM (model_type: "grt", grt30m_kd) |
| Base model | MatterWaveAI/grt-30m (24-Hour Qwen 3 Distillation) |
| Total stored parameters | 29,305,498 (29.31M) |
| Non-embedding backbone parameters | 9,740,197 (9.74M across 12 blocks) |
| Dense-equivalent parameters | 55,680,446 (55.68M) |
hidden_size (d_model) |
256 |
num_hidden_layers (n_blocks) |
12 |
num_attention_heads (n_heads) |
4 (head_dim = 64) |
intermediate_size (d_ff) |
1,024 |
n_qkv_rotations / n_mixer_rotations / ffn_n_rotations |
11 / 1 / 21 |
| Vocabulary | 151,669 (Qwen 3 BPE, tied polar cosine head) |
Context length (max_position_embeddings) |
2,048 |
| Weight files | model.safetensors (116 MB; base FP32 GGUF in MatterWaveAI/grt-30m) |
Because grt-30m shares the full 151,669-token Qwen 3 vocabulary at hidden_size = 256 for direct token-aligned distillation from Qwen 3, the tied polar embedding table (phase_angles [151669, 128] + log_magnitude [151669]) accounts for 19.57M parameters (66.8% of stored weights), leaving 9.74M stored parameters for the 12-layer rotational transformer backbone.
| Metric | Value |
|---|---|
| Teacher family / Tokenizer | Qwen 3 (151,669-token Qwen 3 BPE vocabulary) |
| Student config | grt30m_kd (d_model = 256, 12 rotational blocks, 9.74M non-embedding params) |
| Base training corpus mix | fineweb-edu (45%), cosmopedia-v2 (20%), wikipedia (15%), finemath (12%), stack-edu (8%) |
| Base distillation hardware | 8x NVIDIA A100-SXM4-80GB (DDP + Fused CUDA Givens Kernels) |
| Base wall-clock / tokens | 24.0 hours (86,969s) / 10,789,404,672 (10.79B tokens, 20,580 steps at 123,900 tok/s) |
| Base distillation optimizer | PairAdam (Peak LR 1e-3, WSD schedule; val_loss = 4.4776, val_ppl = 88.02) |
| Multi-round curriculum optimizer | HuygensSymplecticAdam (Two-stage Huygens splay torque → Symplectic non-squeezing curriculum) |
On the base MatterWaveAI/grt-30m checkpoint, model.safetensors (transformers) and grt-30m-f32.gguf (llama.cpp) produce identical token-for-token greedy continuations (temperature = 0, 16 new tokens) across all four supported backends on AMD Strix Halo (gfx1151):
gfx1151, fused HIP kernels)llama.cpp CPU (x86_64 AVX2)llama.cpp Vulkan (RADV gfx1151)llama.cpp ROCm (HIP gfx1151)| Prompt | Greedy continuation on grt-30m base (16 tokens, identical on all 4 backends) |
|---|---|
The capital of France is |
The capital of France is the first to be the first to be the first to be the first to be |
Once upon a time |
Once upon a time, you might be wondering what exactly is the way to do with the right point |
In the beginning |
In the beginning of the world, the world is the most common form of the world. The |
GRT-30M) → PairAdam → Single-Pass HuygensSymplecticAdam → Multi-Round Curriculum (grt-30m-curriculum)Evaluated across the 10-task SLM-Bench small-language-model suite (training/slm_bench.py / grt-slm-bench) starting from the exact same 29.3M-parameter (9.74M non-embedding) 24-hour Qwen 3 distilled checkpoint:
9 Core SLM-Bench Tasks, 13,144 Held-Out Examples)Task (SLM-Bench) |
Split (n) |
Random | Zero-Shot (GRT-30M) |
PairAdam Baseline |
Single-Pass (HuygensSymplectic) |
Multi-Round Curriculum | Total Gain (Curriculum vs. PairAdam) |
|---|---|---|---|---|---|---|---|
BoolQ (google/boolq) |
val (3,270) |
50.00% |
51.41% |
60.55% |
62.23% |
65.72% |
+5.17% (+3.49% vs. Single-Pass) |
ARC-Easy (allenai/ai2_arc) |
test (2,376) |
25.00% |
29.59% |
28.96% |
36.32% |
40.57% |
+11.61% (+4.25% vs. Single-Pass) |
ARC-Challenge (allenai/ai2_arc) |
test (1,172) |
25.00% |
20.82% |
23.55% |
25.68% |
30.80% |
+7.25% (+5.12% vs. Single-Pass) |
OpenBookQA (allenai/openbookqa) |
test (500) |
25.00% |
28.20% |
30.00% |
35.80% |
42.80% |
+12.80% (+7.00% vs. Single-Pass) |
PIQA (baber/piqa) |
val (1,838) |
50.00% |
55.28% |
54.08% |
55.28% |
56.47% |
+2.39% (+1.19% vs. Single-Pass) |
WinoGrande (allenai/winogrande) |
val (1,267) |
50.00% |
50.28% |
50.99% |
51.22% |
51.70% |
+0.71% (+0.48% vs. Single-Pass) |
HellaSwag (Rowan/hellaswag) |
val (1,000) |
25.00% |
29.20% |
31.60% |
31.60% |
37.40% |
+5.80% (+5.80% vs. Single-Pass) |
QNLI (nyu-mll/glue) |
val (1,000) |
50.00% |
51.60% |
54.00% |
72.00% |
77.90% |
+23.90% (+5.90% vs. Single-Pass) |
CommonsenseQA (tau/commonsense_qa) |
val (1,221) |
20.00% |
21.70% |
22.77% |
24.65% |
29.24% |
+6.47% (+4.59% vs. Single-Pass) |
| 9-Task Multiple-Choice Macro Average | 13,144 total |
35.56% |
37.56% |
39.61% |
43.86% |
48.07% |
+8.46% (+4.21% vs. Single-Pass) |
GSM8K, test split, n = 500)Metric (SLM-Bench) |
Zero-Shot (GRT-30M) |
PairAdam Baseline |
Single-Pass (HuygensSymplectic) |
Multi-Round Curriculum | Total Improvement (Curriculum vs. Zero-Shot / PairAdam) |
|---|---|---|---|---|---|
GSM8K Held-Out Perplexity (PPL ↓) |
27.99 |
10.65 |
9.04 |
7.60 |
3.68× lower vs. Zero-Shot (-28.6% vs. PairAdam) |
GSM8K 4-Way Numerical Verification (Acc ↑) |
34.20% |
39.20% |
98.60% |
99.20% |
+60.00% vs. PairAdam (+0.60% vs. Single-Pass) |
HuygensSymplecticAdam)While single-pass task adaptation with HuygensSymplecticAdam already improves substantially over first-generation PairAdam, a compact 9.74M-parameter rotational backbone (12 Givens butterfly blocks on SO(D)) benefits further from multi-round curriculum training using HuygensSymplecticAdam (transformers.models.grt.optimization_grt):
_apply_huygens_splay_torque):
Across the K Givens cascade stages of each projection (dim=0), HuygensSymplecticAdam computes the classical Huygens circular synchronization order parameter
$$R_p = \left|\frac{1}{K}\sum_{k=0}^{K-1} e^{i\theta_{k,p}}\right|$$
During high-gradient alignment (step <= splay_anneal_steps and high normalized momentum energy $m_{\text{norm}}^2$), it applies a curriculum gate $\gamma_{\text{step}} = \frac{1}{1 + (\text{step} / \text{splay_anneal_steps})^2}$ and momentum activity factor $\gamma_{\text{mom}} = \frac{m_{\text{norm}}^2}{m_{\text{norm}}^2 + \text{zpe_floor}}$ to inject a strictly zero-mean repulsive splay torque $\operatorname{relu}(R_p - \tau_{\text{splay}})\sin(\theta_{k,p} - \Psi_p)$ whenever $R_p > \tau_{\text{splay}}$ (splay_threshold = 0.35). This prevents cascade stages from bunching into redundant angles without altering mean stage drift.step advances past splay_anneal_steps (annealing the splay gate to splay_stage2_ratio = 0.2) and angular momentum settles toward zpe_floor, the Huygens splay perturbation smoothly decays while the Dupin cyclide conic metric $r_{\text{conic}}^2$, reciprocal symplectic stiffness floor
$$c_{\text{symp}} = \sqrt{c_{\text{base}}^2 + c_{\text{rms}}^2 \frac{\text{zpe_floor}^2}{m_{\text{norm}}^2 + \text{zpe_floor}}}$$
and Helmholtz–Casimir wave-cavity boundary Laplacian (_apply_casimir_cavity_cascade, mixing deviatoric projection deviatoric_mix and Dirichlet boundary Laplacian casimir_coupling) govern fine-grained phase calibration.max_angle_step and wrapped to $[-\pi, \pi)$. Because every projection is norm-preserving (||R(theta) x||_2 = ||x||_2), the backbone is adapted across successive curriculum rounds without norm explosion or catastrophic forgetting.from transformers.models.grt import GRTForCausalLM, build_grt_optimizer
model = GRTForCausalLM.from_pretrained("MatterWaveAI/grt-30m-curriculum")
optimizer = build_grt_optimizer(
model,
lr=5e-3,
weight_decay=0.01,
optimizer_type="huygens_symplectic_adam",
max_angle_step=0.08,
zpe_floor=0.015,
casimir_coupling=0.08,
splay_weight=0.05,
splay_anneal_steps=250,
)
transformers)import torch
from transformers import AutoTokenizer, GRTForCausalLM
# Optional: register fused CUDA/ROCm Givens kernels if grt-kernels is installed
try:
from grt_kernels.torch_ops import ensure_grt_ops
ensure_grt_ops()
except ImportError:
pass
model_id = "MatterWaveAI/grt-30m-curriculum"
tokenizer = AutoTokenizer.from_pretrained(model_id)
model = GRTForCausalLM.from_pretrained(model_id, dtype=torch.float32).eval()
prompt = "The history of the city"
input_ids = tokenizer(prompt, return_tensors="pt").input_ids
with torch.no_grad():
output = model.generate(input_ids, max_new_tokens=32, do_sample=False)
print(tokenizer.decode(output[0], skip_special_tokens=True))
Verify file integrity against SHA256SUMS:
sha256sum --ignore-missing -c SHA256SUMS
GRT replaces dense weight matrices (nn.Linear) in both attention and FFN blocks with cascades of learned 2×2 Givens rotations arranged in a butterfly topology. At each stage k, pairs of coordinates (x0, x1) are rotated by an angle theta_k modulated by 4-component Cl(2,0) multivector features:
feat(x0, x1) = [x0^2 + x1^2, x0, x1, x0 * x1_next - x1 * x0_next]
theta_k = alpha_k + tanh(norm(feat(x0, x1)) @ C_k)
r0 = x0 * cos(theta_k) - x1 * sin(theta_k)
r1 = x0 * sin(theta_k) + x1 * cos(theta_k)
GRTEmbedding & GRTCosineHead — Token embeddings are stored in polar form (phase_angles + log_magnitude) and tied to a scaled cosine-similarity language modeling head (lm_head.output_scale = 40.23).GRTAttention — 11-stage content-modulated Givens butterfly cascades for Q, K, V, O, paired with standard scaled dot-product attention and learnable RoPE frequencies.GRTMixer & GRTFFN — Cross-head Givens mixing stage followed by 21-stage rotational FFN expansion/contraction and phase-preserving GRTRadialGELU.GRTPearlNorm — Pair-aware RMS normalization that normalizes pair radii sqrt(x_{2i}^2 + x_{2i+1}^2) while preserving phase angles.PyTorch / llama.cpp / vLLM) verification.MatterWaveAI/grt-30m-chat for conversational formatting), no safety filtering, and prone to repetition under greedy decoding at small parameter scale.MatterWaveAI/grt-30m* Research Suite on Hugging FaceMatterWaveAI/grt-30m | MatterWaveAI/grt-30m-curriculumMatterWaveAI/grt-30m-chat | MatterWaveAI/grt-30m-codeMoR) & Toroidal LoRA: MatterWaveAI/grt-30m-mor | MatterWaveAI/grt-30m-loraPRM), Extractive QA & NER: MatterWaveAI/grt-30m-prm | MatterWaveAI/grt-30m-qa | MatterWaveAI/grt-30m-nerMatterWaveAI/grt-30m-embedding | MatterWaveAI/grt-30m-rerankerMatterWaveAI/grt-30m-tokenizerGRTVL) & Text-to-Image (GRTImage): MatterWaveAI/grt-30m-vl | MatterWaveAI/grt-30m-imageGRTASR) & Text-to-Speech (GRTTTS): MatterWaveAI/grt-30m-asr | MatterWaveAI/grt-30m-ttsGRTOmni): MatterWaveAI/grt-30m-omniopen-s1): MatterWaveAI/open-s1-grt-30mGRT_Whitepaper.pdf)Apache 2.0
@techreport{householter2026grt,
title = {The Geometric Rotation Transformer: A Purely Rotational Foundation Architecture},
author = {Householter, David},
institution = {MatterWave AI},
year = {2026},
url = {https://matterwave.ai}
}
MatterWaveAI/grt-30m