Taken from Andrej Karpathy and repurposed for UofT's CSC 413 Deep Learning
40,000 lines of Shakespeare from a variety of Shakespeare's plays. Featured in Andrej Karpathy's blog post 'The Unreasonable Effectiveness of Recurrent Neural Networks':
http://karpathy.github.io/2015/05/21/rnn-effectiveness/.
To use for e.g. character modelling:
from datasets import load_dataset
for example… See the full description on the dataset page:
https://huggingface.co/datasets/r-three/shakespeare-dialogue.