utsavk28 / NovelAI

Light Novel Generation using LSTM & GPT-2.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

NovelAI

Note: This is a rough Readme , this Readme will be updated soon with all the details

πŸ“Œ About

Light Novel Generation using LSTM & GPT-2. This Project was made in KJSIEIT Code Odyssey Hackathon

🎯 Key Features

  • Text Generation Using GPT-2

πŸ’» Development Process

Various Techniques/Models Used

  • LSTM
    • 1 LSTM & 1 Dense Layer
    • 2 LSTM & 1 Dense Layer
    • 1 LSTM & 2 Dense Layer
    • 1 Bidirectional LSTM & 1 Dense Layer
    • 1 Bidirectional LSTM & 2 Dense Layer
  • GPT2
    • Base
    • Fine Tuning

Datasets used

  • Light Novel Dataset
    • Contains 4 Light Novel :
      • Against the Gods
      • Level 999 Villager
      • The Dungeon Seeker
      • The Skeleton Knight
    • JK Rowling's Book :
      • Harry Potter

Notebooks

πŸ›  Project Setup

  1. Clone the repository using the git clone
 $ git clone https://github.com/utsavk28/NovelAI.git
  1. Create a virtual environment
 $ virtualenv venv
 $ source venv/bin/activate
  1. Install the required packages
 $ pip install -r requirements.txt
  1. Run the app
 $ cd webapp
 $ streamlit run main.py

Group members

πŸ“Έ Results

Demo link HomePage GeneratorPage

🌐 Conclusion

About

Light Novel Generation using LSTM & GPT-2.


Languages

Language:Jupyter Notebook 89.1%Language:Python 10.9%