Loading
Loading

The same model, small enough to run on your phone. Compress the frontier models into GGUFs.
Neuron registration trends
Organizations deploying large language models face a critical tradeoff: serving Qwen/Qwen3-8B at full precision consumes substantial bandwidth and compute resources, while naive quantization degrades downstream capability unpredictably. Existing compression approaches either require architectural changes that break compatibility or use imitation-based scoring that rewards surface-level style matching rather than retained capability—leading to models that score well on narrow metrics while failing on real tasks.
A decentralized network of compression researchers can explore the full solution space without coordination overhead, each optimizing for explicit bit budgets in their method of choice. By measuring retention through downstream observer effects rather than teacher imitation, a tournament structure rewards genuine capability preservation and makes copying economically irrational: an exact duplicate has zero margin over what it copied and cannot earn challenger share. The commit-then-generate mechanism prevents exam harvesting, while publicly signed, recomputable round records let any participant verify the scoring without trusting the operator.
Ralph implements this on Bittensor SN40 using three dimensions: four simultaneous bit-budget tiers (binary at 1.15 bits/weight, ternary at 1.75, sub2 at 2.3, sub4 at 4.0) where miners can enter once per round, strict intake gates that measure actual serialized bits rather than declared types, and scored competition where the displayed metric reflects effect magnitude and effect similarity to the pinned parent across three judge models. Crown status—80% of tier allocation—holds for three rounds or changes on a displayed-metric margin of 0.02 in one round or 0.01 in two consecutive rounds, with a requirement that no challenger slice falls below the incumbent's worst slice.
Use cases were auto-generated from the GitHub repository and may not reflect the latest changes.
Ralph SN40 v2 is an architecture-preserving model compression subnet on Bittensor where miners compress the pinned Qwen/Qwen3-8B model into four bit-budget tiers (binary, ternary, sub2, sub4) and compete for crown status. Scoring measures retention by downstream effect using three judge models rather than imitation, with publicly signed, re-runnable round records and strict bit-budget enforcement via GGUF tensor types or safetensors quantization levels.
Ralph operates as a commit-then-generate tournament. Miners compress Qwen/Qwen3-8B privately and commit a content hash to chain before the round's nonce exists, preventing exam harvesting. Once the round opens and the nonce is drawn, miners reveal their artifact URIs.
Validators fetch the artifacts, verify they match the committed hash and pass six intake gates (economics, safety, tier fit, bit budget, parent architecture match, commit-reveal integrity), then score them using three judge models configured with fresh trajectory items derived from the nonce. Scoring produces signed, re-runnable round records anchored on-chain. Auditor validators independently verify these records at multiple levels (L0: arithmetic only; L1: exam derivation; L2: judge inference; L3: model binding).
Weight vectors are set only after an auditor accepts the record, with crown allocation (80% king / 20% challenger) and strict improvement margins that prevent copying from earning.
The same model, small enough to run on your phone. Compress the frontier models into GGUFs.
This information was auto-extracted from the GitHub repository and may be incomplete or out of date. Always refer to the subnet's GitHub repository for the latest instructions.
Scoring works by measuring how a judge model's probability distribution shifts when conditioned on different steps. For each trajectory prefix K: (1) both parent and miner produce a next step, (2) a judge model continues from the parent's step to generate continuation C, (3) the judge's distribution is measured at three points—conditioned on K alone, K+parent_step, K+miner_step. The metric rewards effect similarity (low divergence between continuations) and effect magnitude (miner effect magnitude close to parent effect magnitude), normalized by parent effect.
The crown metric is the mean across three judges' worst-slice scores. Dethronement requires 0.02 displayed-metric lead in one round OR 0.01 lead in two consecutive rounds with same artifact. After three rounds as king, margins are halved.
Additionally, no challenger slice can fall below the incumbent's worst slice on the same judge (floor rule).
The sections above were auto-generated from the GitHub repository and may not reflect the latest changes. View repository
Hugging Face crowns: https://huggingface.co/RalphLabsAI/ralph-crowns
FAQs were auto-generated from the GitHub repository and may not reflect the latest changes.
Holder & total-staked metrics as of 1h ago (hourly snapshot)
Compression method is miner-chosen; GPU needed only for the compression development process, not for submission. Compressed artifact can be served from any accessible URI.
Scoring validators run three judge models (SmolLM2-1.7B, Phi-3-mini-4k, OLMo-2-1124-7B) in parallel. CPU validators can run audits at L0/L1 levels without GPU.
Clone the Ralph repository
git clone https://github.com/RalphLabsAI/ralph && cd ralph
Install core dependencies and chain SDK for on-chain operations
pip install -r requirements.txt -r requirements-chain.txt
Verify your compressed model meets the bit-budget requirement before committing
python -m eval.bitrate path/to/your/model.gguf
Dry-run the commit to see what will be written on-chain(optional)
python -m miner.submit commit --ckpt ./my-compressed-qwen3 --tier ternary --uri hf://<you>/<repo>@<commit-sha> --wallet <wallet> --hotkey <hotkey> --netuid 40 --dry-run
Seal the hash of your exact bytes on-chain before the round nonce exists
python -m miner.submit commit --ckpt ./my-compressed-qwen3 --tier ternary --uri hf://<you>/<repo>@<commit-sha> --wallet <wallet> --hotkey <hotkey> --netuid 40
Publish the artifact URI and salt after the round opens
python -m miner.submit reveal --ckpt ./my-compressed-qwen3 --wallet <wallet> --hotkey <hotkey> --netuid 40
Clone the Ralph repository
git clone https://github.com/RalphLabsAI/ralph && cd ralph
Install core dependencies and chain SDK
pip install -r requirements.txt -r requirements-chain.txt
Install GPU-specific dependencies for model scoring (L2/L3 audits)(optional)
pip install -r requirements-gpu.txt
Install system package for code execution sandbox
sudo apt-get install bubblewrap
Run a single audit pass at L0 (arithmetic verification, CPU-only)(optional)
python -m eval.auditor --once --require L0 --signer <validator-record-key>
Continuously audit new rounds at L0 and L1 (exam selection verification)(optional)
python -m eval.auditor --follow --require L0,L1 --signer <key> --interval 600
Audit with judge model inference (L2), requires GPU(optional)
python -m eval.auditor --follow --require L0,L1,L2 --signer <key> --observer <judge-hf-id>
Run as weight-setting validator: verify and set emission weights on-chain(optional)
python -m eval.auditor --follow --signer <key> --anchor-hotkey <scoring-validator-ss58> --wallet <yours> --hotkey <yours> --interval 1200 --set-weights