mirror of
https://github.com/karpathy/minGPT
synced 2026-07-29 14:53:29 +02:00
chargpt
chargpt trains a character-level language model.
We support three settings: 1 convenience setting and 2 "benchmark" settings that have acedemic literature results:
- a user specified
input.txtfile that we train an LM on (e.g. get tiny-shakespear (1.1MB of data) here) - TODO text8: also derived from Wikipedia text but all XML is removed and is lowercased to only 26 characters of
- TODO enwik8 benchmark ("Hutter Prize"), first 100M bytes of a Wikipedia XML dump, with 205 unique tokensEnglish plus spaces