Skip to content

Troiani

Troiani is a from-scratch language model family: tokenizer, architecture, data pipeline, trainer, and eval harness, all public.

v1 is a Mamba-3-dominant hybrid with sparse GQA, SwiGLU, RoPE + YaRN, and tied embeddings. Target is Troiani-base at ~921M parameters, with headroom for multimodal adapters under 1B.

ChoiceWhy
Mamba-3 backboneSelective SSM, linear in sequence length
GQA every 6th layerSharp retrieval without paying full attention cost
SwiGLU 8/3LLaMA-style gated MLP, capacity-efficient
RoPE + YaRNContext extension without retraining the stack

Notes and design logs will live here. Source of truth for the code is the repo.