Skip to content

rigganni/RNN-TV-Script-Generator

Repository files navigation

RNN TV Script Generator

Generate fake Seinfeld TV scripts using RNNs. Uses the Seinfeld dataset of scripts from 9 seasons. The Neural Network generates a new ,"fake" TV script, based on patterns it recognizes in the training data.

Installation

  1. Clone this repository:

    git clone git@github.com:rigganni/RNN-TV-Script-Generator.git

  2. Make sure you have already installed the necessary Python packages. Anaconda was used in development of this project. The file conda.yml is contained in this repository to reproduce the environment.

Files

  • rnn_tv_script_generation.ipynb: Jupyter notebook file used to generate fake TV script
  • problem_unittests.py: Unit tests to ensure RNN does not contain logic errors
  • conda.yml: Anaconda environment used in development & provided for reproducibility

Usage

Open the Jupyter notebook in a Jupyter instance of your choice.