pmojiri / tv_script_generation

Generate a TV script by defining and training a RNN network using PyTorch

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

tv_script_generation

Generate a TV script by defining and training a RNN network using PyTorch

Introduction

In this project, I have generated my own Seinfeld TV scripts using RNNs. I have used Seinfeld dataset of scripts from 9 seasons. The Neural Network will generate a new, "fake" TV script.

Getting the project files

The project files can be found in our my public GitHub repo, in the tv-script-generation folder. You can download the files from there. If you want to clone the repository to your computer using:

git clone https://github.com/pmojiri/tv_script_generation.git

This way you can stay up to date with any changes I make by pulling the changes to your local repository with git pull.

Open a terminal window and navigate to the project folder. Open the notebook and follow the instructions.

jupyter notebook dlnd_tv_script_generation.ipynb

Example generated script

jerry: i think i was going to do this. it's a good time.

hoyt: you are not getting married. they have a bonus.

captain: oh no no no no no no no no, i didnt.

frank: i was thinking about that term.

hoyt: i don't know, you know, i don't want to talk to her. i'm sorry i could have been able to be on the plane.

hoyt: you want to be the same one?

hoyt: what happened?

estelle: i was in mortal danger.

jerry: you want to go to paris.

jerry: oh, i think so.

estelle:(to george) i was a little adjustment in the morning.

elaine: so you were in the mood?

estelle: well, what do you think?

captain: i think i can go.

hoyt: i don't want any money.

captain: oh, no. no. no.

estelle: what? what do you think about that?

frank: yes, yes, yes, that's the most thing i can.

estelle: you were doing the crime of trivial york.

hoyt: what do he want to say to you?

captain: well, i was a successful boy, i know that i was held into a wheelchair.

hoyt: well, the whole thing is, and i was going to get out.

hoyt: you don't have a good idea. i can't hear that!

estelle: what happened to the defendant?

jerry: yeah, i know, but i was thinking to the contest.

jerry: what are you doing?

frank: that's what i was saying.

frank: you were getting married. i don't know where the whole thing are. but i think i can do it.

captain: ladies and gentlemen.

hoyt: what are you doing?

estelle: you know, jackie has been exposed to be a little

About

Generate a TV script by defining and training a RNN network using PyTorch


Languages

Language:HTML 85.1%Language:Jupyter Notebook 12.4%Language:Python 2.5%