The work in this project has been done by me as my M.Tech Project from IIT Bhubaneswar.
Author: Sai Krishna Jupally
The files in the repo contain:
- Dataset files
- Dataset formatter code files for custom use
- Loss Plot code files with output cells containing GPT2 finetuned model plots
Sample code can be found here
Finetuned models (and dataset) can be found at Hugging Face
Sample stories from finetuned models can be found here
This link contains code for:
- Loading models for inference
- Interactive Story Generation
- 150 stories generator by self-feeding lines to the model
Code for coherence computation and model comparison available here
Web app client code available here