NANOCHAT
// The best ChatGPT that $100 can buy.
Nanochat
The best ChatGPT that $100 can buy.
13EmergingUnknown
What it does
nanochat is the simplest experimental harness for training LLMs. It is designed to run on a single GPU node, the code is minimal/hackable, and it covers all major LLM stages including tokenization, pretraining, finetuning, evaluation, inference, and a chat UI. For example, you can train your own GPT-2 capability LLM (which cost ~$43,000 to train in 2019) for only $72 (~3 hours of 8XH100 GPU node)
Getting Started
git
git clone https://github.com/karpathy/nanochat