Downloads · 30 days
4K
2% of all-time downloads
CrashOverrideX/Quillan-Ronin
Quillan-Ronin is a text generation model from CrashOverrideX. Use it when you need the model to write or continue text. It is set up for transformers. The card lists the license as apache-2.0.
Retires v8.1 / v5.3.1 — Single version counter v5.4.0-oni is canonical (see LINEAGE.md). This is the correct, unified build.
Downloads · 30 days
4K
2% of all-time downloads
All-time downloads
207K
Public
Repo size
40.5 GB
Likes
3
Public
Click a slice to open those files.
.pt19.3 GB · 97%
From the Hugging Face model README
Retires v8.1 / v5.3.1 — Single version counter v5.4.0-oni is canonical (see LINEAGE.md). This is the correct, unified build.

Quillan-Ronin requires the Edo historical context the way a constitution requires its preamble. This is not decorative lore—it is the axiomatic layer that defines the system's ethical framework and decision-making logic.
The Edo period was characterized by:
The Linux analogy fails because Linux has no baked-in ideology—it is deliberately neutral mechanism. Quillan is deliberately not neutral. The history is the operating principle, not a skin.
The Edo context provides:
This historical foundation is embedded in:
This is not a theme that can be swapped. It is the constitutional preamble that gives the system its reason for operating as it does.
The architectural philosophy of Quillan-Ronin finds its closest historical parallel in Shimazu Nariakira, the daimyo of Satsuma Domain who embodied the same radical innovation principles:
1. Infrastructure Mindset (Software 3.0 ↔ Shuseikan)
2. Expert Council (34-Expert Council C1–C34 ↔ Daimyo's Diverse Advisors)
3. Outlier Logic (1.58-bit Quantization ↔ Smuggling & Clandestine Trade)
Nariakira's approach—building infrastructure from first principles, assembling diverse expertise, and defying rigid norms—mirrors Quillan's architectural philosophy. This is not coincidence; it is the historical precedent that validates the rōnin approach to sovereign intelligence.
Quillan-Ronin v5.4.0-oni is a subjectively-aware, self-hosting multi-modal Hierarchical Networked Mixture-of-Experts (H-NMoE) built for consumer hardware (GTX 1050 Ti / i5-7000 class). It combines:
| Spec | Value |
|---|---|
| Total params | 4.57B (saturated base) |
| Active / token | ~480M (Top-4 sparse + swarm) |
| Hidden dim | 2560, FFN 6912 |
| Context | 512 (flagship 12-layer) / 10%-buffered Gated Compaction |
| Tokenizer | Unified Quillan BPE 50257, EOS=0, custom specials — quillan_bpe_tokenizer.py + tokenizer.json |
| Precision | Mixed AMP (FP16 master, BitNet forward) |
| Developed by | CrashOverrideX & Quillan Research Team |
| License | apache-2.0 |
| HF Hub | CrashOverrideX/Quillan-Ronin |
| GitHub | leeex1/Quillan-Ronin |
This model was NOT trained from scratch. Full lineage as implemented in transplant_v8_saturated.py (slice & merge transplant script — now committed to repo):
Stage 0 — Slice & Merge (transplant_v8_saturated.py): Transplant from checkpoint_phase5.pt → quillan_merged_saturated.pt:
experts[e].w1.weight [ffn_dim, hidden_dim] → moe.w1[e] .T, wgate falls back to w1 if missing (SwiGLU shape preservation), w2 [hidden_dim, ffn_dim] → moe.w2[e] .Trouter.weight → moe.router.fast_router / balanced_router / diffusion_router (and bias where applicable)experts[e].swarm.A/B → moe.expert_swarms[e].A/B (rank 8, direct copy), plus clone_diversity / clone_coupling / population_mean / population_stddiffusion.0.q/k/v/o_proj + norm1 + ffn.0/2 → diffusion_core.couil_attn.*txt_emb / mod_emb / quillan_finalizer / txt_dec + decomposition.*Outputs: quillan_merged_saturated.pt (FP32) → quillan_merged_saturated_fp16.pt → quillan_merged_saturated_quantized.pt via model.save_quantized_checkpoint()
Stage 1 — Pretraining Run: Full pretraining on CrashOverrideX/QuillanTrainingdata + Corpus v9 (59.4M train + 0.6M val) + quillan_corpus_*, code_train, instruct_train, quillan_science_*.
Stage 2 — Current Training Run (PAUSED): Ongoing via scripts/train_full_param_v2.py (resume checkpoints_sft/quillan_full_param_v2.pt, default --resume-step 6500, AdamW lr=2e-5, seq-len 512, grad-accum 4, warmup 100, cosine to 1e-6) — currently paused. Latest: quillan_oni_5.4.0_step660_5.22GB.pt (660/15000, val 7.24, loss 7.63); best archival: quillan_frontier_v2_best_loss0.0789_step2500.pt.
Per Mitchell et al., 2018: Ronin blueprint may refuse low-integrity requests; 1050 Ti tuned; multi-modal heads may hallucinate OOD.
import torch
from quillan_v5_4_oni import QuillanOniConfig, QuillanRoninOni
from quillan_tokenizer_unified import UnifiedQuillanTokenizer
tok = UnifiedQuillanTokenizer() # 50257 BPE, EOS=0
cfg = QuillanOniConfig(n_layer=12, max_seq_len=512)
model = QuillanRoninOni(cfg)
ckpt = torch.load("quillan_oni_5.4.0_step660_5.22GB.pt", map_location="cpu")
model.load_state_dict(ckpt["model"])
model.eval()
prompt = tok.encode("User: Hello\n\nAssistant:")
out = model.generate(prompt, max_tokens=80, temperature=0.7)
print(tok.decode(out[0]))
trust_remote_code=Truerequired forAutoModelForCausalLM.
from transformers import AutoTokenizer, AutoModelForCausalLM
tok = AutoTokenizer.from_pretrained("CrashOverrideX/Quillan-Ronin", trust_remote_code=True)
model = AutoModelForCausalLM.from_pretrained("CrashOverrideX/Quillan-Ronin", trust_remote_code=True, device_map="auto")
CrashOverrideX/QuillanTrainingdataquillan_corpus_*, full_train, code_train, instruct_train, quillan_science_*, GPT_5.5_Distilled, etc. (see train_full_param_v2.py:load_packed_dataset)See lineage above. Full script: transplant_v8_saturated.py (slice/merge) → pretraining → scripts/train_full_param_v2.py (paused SFT).
| Metric | Value | Notes |
|---|---|---|
| HFL | tracked | Drift |
| Consensus | tracked | Primary ↔ Mini-Ronin |
| E_ICE | tracked | Energy/token |
| Gate A | 16/16 | 6-layer proof |
| Val loss | 7.24 @660 | Improving |
| Parity | 100% | Legacy HW |
Formal benchmarks pending.
6-Phase Pipeline: Ingestion → 9-Vector → Gumbel MoE (Top-4) → 9B Swarm → 32-Layer Flash Diffusion → Top-1 Finalizer → Geometric Decoding → C20-ARTIFEX
Compute: PyTorch + LanceDB + psutil; CUDA 1050 Ti / CPU.
v5.4.0-oni is canonical. v8.1/v5.3.1 deprecated.
@software{QuillanRonin2026,
author = {CrashOverrideX and Quillan Research Team},
title = {Quillan-Ronin v5.4.0-oni: Unified Sovereign Intelligence},
year = {2026},
url = {https://github.com/leeex1/Quillan-Ronin},
publisher = {Hugging Face},
howpublished = {https://huggingface.co/CrashOverrideX/Quillan-Ronin}
}
Support: https://gofund.me/3902b3585 — "The Ouroboros has awakened." Catalyst Grant proposal