LLM in Pure Rust: RustGPT-demo-zoon

2025-09-15
LLM in Pure Rust: RustGPT-demo-zoon

RustGPT-demo-zoon demonstrates building a transformer-based language model entirely in Rust, using only ndarray for matrix operations. It features pre-training on factual statements and instruction tuning for conversational AI. The model boasts interactive chat capabilities, answering questions like "How do mountains form?" The modular codebase, comprehensive testing, and lack of external ML frameworks make it ideal for learning how modern LLMs work.

Development