This project demonstrates the use of Transformers for text generation using the T5 model. The project includes the necessary code for training the model on a custom dataset and generating new text.
- Clone the repository:
git clone https://github.com/SreeEswaran/Text-Generation-Using-T5.git cd Text-Generation-Using-T5
- Install the dependencies
pip install -r requirements.txt
- To run the model
python train.py
- To generate the text
python generate.py