In this project, I'll generate mt own Seinfeld TV scripts using RNNs. I 'll be using part of the Seinfeld dataset of scripts from 9 seasons. The Neural Network I'll build will generate a new ,"fake" TV script, based on patterns it recognizes in this training data.
The project is broken down into multiple steps:
- Load and preprocess the image dataset
- Build the Neural Network
- Train the Neural Network
- Generate TV Script
The data in this repository comes from Seinfeld dataset.
Analysis has been performed in the Jupyter Notebook, using Python 3.x and pyTorch.
To run this project:
- With python 3.x installed, create a virtual environment and activate it as shown:
virtualenv -p python3 my_virtualenv
source my_virtualenv/bin/activate- Clone this repository into your virtual environment:
git clone https://github.com/BarbaraStempien/DL--TV-Script-Generation.git- Install project dependencies:
pip install -r DL--TV-Script-Generation/requirements.txt- Open Jupter Notebook, and run the project.
If you want to contribute, check out CONTRIBUTING.md.
Copyright (c) 2018 Barbara Stempien
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.