This project generates TV scripts with Recurrent Neural Networks and LSTMs. This project is trained on a script of the famous American sitcom, The Simpsons. I have used recurrent nets because while training on huge data, recurrent nets actually predict the outcome a lot better than any normal machine learning models.
To run this project, open up your bash terminal and write
chmod -R 777 setup.sh
This will set up the project enviornment for you. This must be run with administrator rights.
./setup.sh
Install the required packages using the following command.
source venv/bin/activate
pip install -r requirements.txt
python run_me.py
Setting parameters wrong will lead to overfitting, underfitting or other errors. The following is an example of overfitting.
Run the python file, following the instructions
python run_me.py
The outcome should look something like this: