Skip to content

shubhendu-ghosh-DS/next-word-prediction-2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 

Repository files navigation

next-word-prediction-2

AI-Feature-Image-640x353

Data

In this project we are using the book The Picture of Dorian Gray by Oscar Wilde as a dataset.

Methodology

  1. first we will have a text corpus as a dataset.
  2. we will do NLP preprocessing for text data and create a vocabulary of tokenized words
  3. we will take first 4 words of va sequence as an input ( independent variables ) and the 5th word as output ( depenedent variable)
  4. then we will train a neural network (LSTM) on the data
  5. finally we will predict our model with random sequences

Requirements

  • tensorflow
  • numpy
  • pickle
  • os

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published