Skip to content

sulagnag/Udacity-DeepLearningND-P3-Generate-TV-scripts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Udacity-DeepLearningND-P3-Generate-TV-scripts

Build a recurrent neural network using PyTorch to process text. Use it to generate new episodes of your favorite TV show, based on old scripts.

The problem description

Generate tv-scripts using part of the Seinfeld dataset of scripts from 9 seasons. The Neural Network will generate a new, "fake" TV script, based on patterns it recognizes in this training data.

The dataset

Sample lines from the dataset look like this -

jerry: do you know what this is all about? do you know, why were here? to be out, this is out...and out is one of the single most enjoyable experiences of life. people...did you ever hear people talking about we should go out? this is what theyre talking about...this whole thing, were all out now, no one is home. not one person here is home, were all out! there are people trying to find us, they dont know where we are. (on an imaginary phone) did you ring?, i cant find him. where did he go? he didnt tell me where he was going. he must have gone out. you wanna go out you get ready, you pick out the clothes, right? you take the shower, you get all ready, get the cash, get your friends, the car, the spot, the reservation...then youre standing around, what do you do? you go we gotta be getting back. once youre out, you wanna get back! you wanna go to sleep, you wanna get up, you wanna go out again tomorrow, right? where ever you are in life, its my feeling, youve gotta go.

jerry: (pointing at georges shirt) see, to me, that button is in the worst possible spot. the second button literally makes or breaks the shirt, look at it. its too high! its in no-mans-land. you look like you live with your mother.

george: are you through?

jerry: you do of course try on, when you buy?

george: yes, it was purple, i liked it, i dont actually recall considering the buttons.

jerry: oh, you dont recall?

The model

Neural netowrk using LSTM layers

The Requirements

Python3.6 PyTorch pickle

About

Generate TV scripts from old TV scripts

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published