Logo
Explore Help
Sign In
sen.liang/nanoGPT
Watch 1
Star 0 Fork 0
Code Issues Pull Requests Actions Packages Projects Releases Wiki Activity
Files
9dc91c262eaa9bcdc63d5b108ee9cb805556cb59
nanoGPT/data/shakespeare_char/readme.md
T
Andrej Karpathy d17350a31d add support for character-level language models, a new character-level shakespeare dataset, a new config file that shows how to train a character-level baby GPT on it, and adjust the sample function to figure out if it should decode with characters or GPT2 bpe tokens. The current implementation is a bit hacky and basically assumes just these two possibilities. In the future we may want to support more general encoders or decoders.
2023-01-11 05:27:19 +00:00

209 B
Raw Blame History

tiny shakespeare, character-level

Tiny shakespeare, of the good old char-rnn fame :) Treated on character-level.

After running prepare.py:

  • train.bin has 1,003,854 tokens
  • val.bin has 111,540 tokens
Reference in new issue View Git Blame Copy Permalink
Powered by Gitea Version: 28.4.0 Page: 20ms Template: 5ms
Auto
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API