Skip to content
Day 69: new resources are added every day. See what's new

Framework

nanoGPT

The simplest, fastest repository for training and finetuning medium-sized GPTs.

Visit nanoGPT4.8
  • Rating

    4.8 / 5

  • Pricing

    Free

  • Difficulty

    Advanced

  • Works on

    macOS, Windows, Linux

Built with love by Shushant Lakhyani. Building bestproductivityresources.com

What is nanoGPT?

nanoGPT is Karpathy's minimal, hackable codebase for training and finetuning medium-sized GPTs — prioritising simplicity and speed over abstraction, and widely used as a teaching and research base.

Third-party open-source projects. We are not affiliated with their authors; repositories are provided as-is by their maintainers. Review each project's license, code and security before installing. See our Disclaimer.

Pros: what nanoGPT does well

  • Minimal and readable GPT training code
  • Fast enough for real experiments
  • The standard teaching base for LLM training

Cons: where it falls short

  • Requires GPU resources for serious runs
  • Deliberately few abstractions and features

Who nanoGPT is for

Engineers and students who want to train and understand GPTs from a clean codebase.

Who can skip it

Teams wanting a batteries-included training platform.

nanoGPT alternatives

Not sold on nanoGPT? These do a similar job, and each card says what it has in common.

Train LLM From Scratch

Focus: machine learning, tutorial and from scratch. Shares llm and training with nanoGPT. A course, not a framework. Rated 4.7 (nanoGPT: 4.8).

CourseFreeCross-Platform

Dive into Deep Learning

Focus: deep learning, book and course. Shares pytorch and open source with nanoGPT. A course, not a framework. Adds Web. Rated 4.9 (nanoGPT: 4.8).

CourseFreeWeb

LLM Course

Focus: course, roadmap and colab. Shares llm and open source with nanoGPT. A course, not a framework. Adds Web. Same 4.8 rating.

CourseFreeWeb

Awesome LLM

Focus: awesome list, papers and ai. Shares llm and open source with nanoGPT. A website, not a framework. Adds Web. Rated 4.7 (nanoGPT: 4.8).

WebsiteFreeWeb

Neural Networks: Zero to Hero

Focus: neural networks, course and backpropagation. Shares karpathy and gpt with nanoGPT. A course, not a framework. Adds Web. Rated 4.9 (nanoGPT: 4.8).

CourseFreeWeb

Free alternatives to nanoGPT

Want to spend nothing? These free picks cover similar ground.

How to Train Your GPT

Focus: deep learning, tutorial and from scratch. Shares llm and pytorch with nanoGPT. A course, not a framework. Adds Web. Rated 4.5 (nanoGPT: 4.8).

CourseFreeCross-Platform, Web

Fast GraphRAG

Focus: rag, graphrag and knowledge graph. Shares llm and open source with nanoGPT. Adds Web. Rated 4.7 (nanoGPT: 4.8).

FrameworkFreeCross-Platform, Web

Spinning Up in Deep RL

Focus: reinforcement learning, openai and course. Shares open source with nanoGPT. A course, not a framework. Adds Web. Rated 4.7 (nanoGPT: 4.8).

CourseFreeWeb

Open Notebook

Focus: notebooklm alternative, research and ai chat. Shares open source with nanoGPT. An AI tool, not a framework. Adds Web. Rated 4.6 (nanoGPT: 4.8).

AI ToolFreeWeb, Cross-Platform
Are you the maker of nanoGPT?Get a free Featured badge for your site, a share image and ready-to-paste posts. No sign-up.

New · updated daily

What people are actually doing with AI

Real use cases shared on Reddit, Hacker News, X, GitHub and blogs, summarised in plain words with a link to every original post.

Browse AI use cases

Free Notion database

1,100+ ways people are making money online

Real online businesses, creators and projects, broken down by how they make money: apps, online stores, AI tools and more. Free on Gumroad.

Get the free database

Free Notion database

399+ ways to make money online

Hundreds of online income methods in one place, so you can compare options and pick one to try. Free on Gumroad.

Get the free list

For research and ideas only. Results vary and nothing here is a promise of income. See our Disclaimer.

Weekly newsletter

Everything new, every Monday.

One short email every Monday with everything shipped that week: new free tools and websites, new guides, new free browser tools and what's new in my free Gumroad libraries, plus how the site is growing. Free, and you can unsubscribe anytime.

Join the newsletter

You sign up on Gumroad, which stores your email to send the newsletter. See our Privacy Policy.