OpenMythos is an independent PyTorch recreation inspired by public speculation about Claude Mythos. It is not affiliated with Anthropic and targets experimentation only.
Overview
OpenMythos implements a theoretical Recurrent-Depth Transformer with Prelude blocks, a looped recurrent core, and a Coda tail. You can switch attention between grouped-query and multi-latent variants and use a sparse mixture-of-experts feed-forward path.
Preconfigured scale presets span from roughly one billion to one trillion parameter layouts, each defining width, expert counts, loop iteration limits, and context lengths. The forward pass reuses weights across loops while injecting encoded inputs each step to stabilize depth.
Training scripts target educational web-scale corpora with AdamW, optional multi-GPU distributed data parallel, mixed precision on recent CUDA hardware, and documented tokenizer and schedule choices. Flash Attention can accelerate grouped-query attention when CUDA builds are available.
Bundled documentation explains APIs, dataset guidance, and the research hypotheses behind looped depth, stability constraints, and expert routing. The authors disclaim any connection to proprietary Anthropic systems and present the code for community study rather than production chat serving.
Key features
- Prelude–recurrent–Coda stack
- Switchable GQA or MLA attention
- Sparse mixture-of-experts FFN
- Configurable loop iteration depth
- Named size presets up to 1T layout
- PyTorch training scripts included
- Optional Flash Attention 2 path
Use cases
- Study looped transformer architectures
- Train small Mythos-scale prototypes
- Compare attention and MoE settings
- Explore depth extrapolation research