This project utilizes the FastAI library and GPT-2 model for generating poems. It fine-tunes the pre-trained GPT-2 model on a dataset of poems and then generates new poems based on user prompts.
The repository contains code for the following:
- Fine-tuning the GPT-2 model on a dataset of poems
- Generating new poems based on given prompts
- Python 3.x
- FastAI
- Transformers library
- PyTorch
- Clone the repository:
git clone https://github.com/bansalsahab/Poem-Generation-using-FastAI.git
cd Poem-Generation-using-FastAI-and-GPT-2