Tokenizer
A from-scratch BPE tokenizer that learns merges and special tokens from raw text.
See how tokenizer, transformer blocks, training, kernels, and distributed execution fit together.
A from-scratch BPE tokenizer that learns merges and special tokens from raw text.
Decoder-only blocks with RMSNorm, RoPE, SwiGLU, custom attention, and custom loss.
Checkpointing, validation, generation, cosine scheduling, and optimizer utilities.
Custom DDP, sharded optimizer, and Triton Flash Attention 2 support.
HTML extraction, filtering, deduplication, masking, and quality tooling.