
MicroGPT-C
github.com/vixhal-baraiya/microgpt-c- Category
- Developer Tools
- Rank
- No. 1411Tools index
- Pricing
- Open Source
- Type
- TOOL
- Use case
- Models: Train & Run
- Interfaces
- SDK
- Builder
- @TheVixhal
- GitHub
- 843 stars
- Date
About
A minimal GPT implementation written in pure C with zero dependencies. Trains and runs a small transformer model from scratch, optimized for performance with AVX2 instructions.
What it can do
Train a transformer language model from scratch
Text training data → Trained GPT model weights
Generate text samples using trained model
Text prompt and trained model → Generated text continuation
Compile C code with AVX2 optimizations
Source code and compilation flags → Optimized executable binary
Run inference on transformer model
Model weights and input tokens → Predicted next tokens
Execute zero-dependency C implementation
Compiled binary → Standalone model training or inference
Why it made the leaderboard
A GPT in pure C with zero dependencies — training and inference in a codebase small enough to actually read, with AVX2 optimizations (the author reports 2.6M tokens/sec). A way to understand transformers at the memory-layout level, with no framework in the way.
Tags
Comments (0)
No comments yet
Editorially curated, with community endorsements as a secondary signal. Corrections welcome.