Hari Hara Prasad V

Oxidized-GPT: Zero-Dependency Rust Implementation

A compact, educational GPT implementation written in Rust using only the standard library. This project is a Rust port of microGPT by Andrej Karpathy, demonstrating a full stack: custom RNG, a minimal autodiff engine, a transformer forward+backward pass, Adam optimizer, training loop, and CPU inference — all without external crates.

Credits

This implementation is based on Andrej Karpathy's microGPT blog post, which presents a minimal, educational GPT implementation in Python. Oxidized-GPT faithfully translates the core concepts to Rust while maintaining zero external dependencies (standard library only).

This workspace uses the canonical Rust layout (Cargo.toml + src/main.rs).

Key points