# MicroGPT

Tool · [Standard tools and platforms](https://ecosystem.samcarlton.com/tools)

Also called: microgpt, micro GPT

A very small [GPT](https://ecosystem.samcarlton.com/chatgpt) [language model](https://ecosystem.samcarlton.com/llm) written by Andrej Karpathy in a few hundred lines of plain [Python](https://ecosystem.samcarlton.com/python), meant to show how training and running a model works.

**For example:** A [developer](https://ecosystem.samcarlton.com/software-engineer) reads MicroGPT line by line to understand what [tokens](https://ecosystem.samcarlton.com/token), [weights](https://ecosystem.samcarlton.com/weights) and training mean in practice.

Official site: <https://karpathy.github.io/2026/02/12/microgpt/>

## Connects to (4)

- [LLM](https://ecosystem.samcarlton.com/llm): Large language model.
- [Training](https://ecosystem.samcarlton.com/training): Teaching an AI model by showing it a very large number of examples before anyone uses it.
- [Token](https://ecosystem.samcarlton.com/token): In AI, a small chunk of text, roughly a word or a piece of a word, that an LLM reads and writes.
- [Python](https://ecosystem.samcarlton.com/python): A programming language known for being easy to read.

Map view: https://ecosystem.samcarlton.com/microgpt
