← Overview
GitHub Trending · listed 1 time

karpathy/nanochat

tokenizetokenizerpretrainbase modelfinetunechat tuningevaluatemetricschat CLItalk to it
+321 that day★ 59.9KPython

Simple harness for training LLMs on a single GPU node

A minimal, hackable experimental harness covering every major LLM stage from tokenization to inference.

  • A single --depth setting sets the model size; other hyperparameters are computed automatically.
  • A GPT-2 capability model can be trained for about $48, roughly 2 hours on an 8xH100 node.

Trending history

Trended once, on 3 November 2026, gaining 321 stars that day for a total of 59.9K.

  1. 3 November 2026+321★ 59.9K

Related repos

Same owner or also written in Python, from other days on the list.