54 points · by theaniketgiri · 1y ago · 44 comments
If you try create-llm, would love your feedback. Always looking to make it better.
Or the meaningful commit message of “.”
And the commit editing 1,000s of lines of python code mislabeled as a docs change?
Docs / Markdown: AI handled repetitive stuff like READMEs and summaries.
Core logic / Python: fully written by me.
Commit messages: some minimal ones just for quick iterations — the real work is in the code.
AI helped with boilerplate so I could ship faster; all functionality is hand-crafted.
> I wanted to understand how these things work by building one myself.
Directly to this:
What if training an LLM was as easy as npx create-next-app?
I mean that the second thought seems to be the opposite of the first (what if the entirety of training llm was abstracted behind a simple command)
When I started, I wanted to understand LLMs deeply. But I hit a wall: tutorials were either "hello world" toys or "here's 500 lines of setup before you start."
What I needed was: "give me working code quickly, THEN let me modify and learn."
That's what create-llm does. It scaffolds the boilerplate (like create-next-app), so you can spend time learning the interesting parts: - Why does vocab size matter? (adjust config, see results) - What causes overfitting? (train on small data, see it happen) - How do different architectures perform? (swap templates, compare)
It's "easy to start, deep to master." The abstraction gets you running in 60 seconds, then you dig into the code
Didn’t go for massive models — more about making the whole setup process quick and reliable. You can actually train the nano one on CPU in a few minutes just to see it working.
Key differences:
nanoGPT: - Minimal reference implementation (~300 lines) - Educational code for understanding transformers - Requires manual setup and configuration - Great for learning the internals
create-llm: - Production-ready scaffolding tool (like create-next-app) - One command: npx create-llm → complete project ready - Multiple templates (nano/tiny/small/base) - Built-in validation (warns about overfitting, vocab mismatches) - Includes tokenizer training, evaluation, deployment tools - Auto-detects issues before you waste GPU time
Think of it as: nanoGPT is the reference, create-llm is the framework.
nanoGPT teaches you HOW it works. create-llm lets you BUILD with what you learned.
You can actually use nanoGPT's architecture in create-llm templates - they're complementary tools!
Karpathy clearly said that it wasn't vibe coded. Apparently it was more time consuming to fix gpt bugs than to do it by himself.
As a side note, without looking it up, on your device, what is the process for typing an emdash?