vixhal-baraiya / microgpt-c
PublicThe most atomic way to train and inference a GPT in pure, dependency-free C
A single-file C program that trains a tiny language model on custom text data from a file and generates similar text samples.
How It Works
You stumble upon this neat project online that promises to create a tiny AI writer trained on your own texts.
Download the single simple file to your computer.
Type or paste some short stories, sentences, or words into a plain text file called input.txt.
Follow the quick guide to build and launch it, letting the AI learn from your texts.
Numbers on screen show the AI getting smarter, copying your writing style better over time.
The AI generates fresh text samples that sound just like what you taught it.
You've built a little program that makes up text in your style, all from scratch!
Star Growth
Repurpose is a Pro feature
Generate ready-to-use prompts for X threads, LinkedIn posts, blog posts, YouTube scripts, and more -- with full repo context baked in.
Unlock RepurposeSimilar repos coming soon.