nanochat

Full-stack pipeline that trains a ChatGPT-style model end to end for about 100 dollars, by Andrej Karpathy.

Open SourceSelf HostedOffline CapableGPU Required
0.0 (0)

About

For roughly the price of a dinner out, nanochat trains a working ChatGPT-style assistant from scratch: Andrej Karpathy's follow-up to nanoGPT covers the entire stack in one clean codebase, from tokenizer training through pretraining, supervised fine-tuning, optional reinforcement learning, evaluation, and an inference server with a web chat UI. The reference speedrun script targets an 8xH100 node and reaches GPT-2 grade capability in roughly 1.5 hours for about 48 dollars, tracked on a time-to-GPT-2 leaderboard in the repository, while the stated goal is the best models reachable end to end on budgets under 1,000 dollars. Setup uses the uv package manager with CUDA as the primary path plus CPU and Apple Silicon fallbacks for tinkering, though real training assumes a multi-GPU node rented by the hour. The code is MIT licensed and deliberately minimal, hackable, and dependency-light. Released in October 2025, it collected more than 56,000 GitHub stars within months and is planned as the capstone project of Karpathy's LLM101n course, making it the standard answer to how to train your own chatbot end to end.

Reviews (0)

Leave a Review

No reviews yet. Be the first to review!

Details

Price
Free
Platform
Local/Desktop
Difficulty
Intermediate (3/5)
License
MIT
Added
Jul 29, 2026

Related Tools

Framework for generating synthetic data and AI feedback through composable LLM pipelines.

Open SourceSelf HostedOffline
Intermediate
0.0 (0)

Subject-driven fine-tuning technique for personalizing diffusion models.

Open SourceSelf HostedOfflineGPU 8GB+
Intermediate
0.0 (0)

Video model fine-tuning toolkit by Hugging Face Diffusers team.

Open SourceSelf HostedOfflineGPU 16GB+
Advanced
0.0 (0)

Efficient LLM quantization preserving important weight channels.

Open SourceSelf HostedOfflineGPU 8GB+
Intermediate
0.0 (0)

All-in-one Stable Diffusion fine-tuning tool with intuitive GUI.

Open SourceSelf HostedOfflineGPU 8GB+
Easy
0.0 (0)

No-code tool by Hugging Face for training ML models automatically.

Open SourceSelf HostedOfflineGPU 8GB+
Beginner
0.0 (0)
Browse all Model Training & Fine-Tuning tools