The [GPT2](https://huggingface.co/gpt2) model was fine-tuned on the [Shakespeare dataset](https://www.kaggle.com/kingburrito666/shakespeare-plays). In [this](https://github.com/garipovroma/shakespeare-gpt) repository you can find the code for training the model and generating text from it.