Train a small language model on Shakespeare.
Guides users through training small language models with nanoGPT and generating sample text.
When to use it
Use for learning GPT, experimenting with transformers, teaching, quick prototyping, or working with limited compute.
Give it a nanoGPT training task in a project; it prepares data, trains a model, and runs text sampling.
What you provide
Requires a Python runtime to run data preparation, training, and sampling scripts; no Python version is specified.
The Shakespeare preparation script imports requests to download its dataset.
This skill
GitHub
Downloads Shakespeare text from GitHub
OpenWebText
Downloads the OpenWebText dataset