vixhal-baraiya/microgpt-c
A minimal GPT implementation in pure C that trains from scratch and generates text.

Velocity · 7d
+5.0
★ / day
Trend
→steady
star history
MicroGPT-C is a from-scratch implementation of a GPT (Generative Pre-trained Transformer) model written in pure C with no external dependencies. It includes both training (backpropagation, gradient descent) and inference (token generation) capabilities. The implementation uses CPU optimizations like AVX2 and achieves high throughput for text generation.