karpathy/nanoGPT

github.com
On the map Visit site

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

Description

Файл train.py примерно на 300 строк воспроизводит GPT-2 (124M) на OpenWebText — около 4 суток на узле 8xA100 40GB. Код намеренно плоский и читаемый, легко правится под свои задачи.

Specs

Type Course
SectionLearning / LLM с нуля
Pricing open source
Platform Self-hosted
Systems исходный код
Who forРазработчикам, которые учатся обучать трансформеры на собственном железе.
Site languageen
VendorAndrej Karpathy
GitHubkarpathy/nanoGPT
★ Stars62 552

Source code

karpathy/nanoGPT

Found in sources

Similar in «Обучение»

Submit a site to the catalog

Just send the link — we will work out the rest.

We will review what you send and add it to the catalog if it fits.