Skip to content

Latest commit

 

History

History
13 lines (11 loc) · 393 Bytes

File metadata and controls

13 lines (11 loc) · 393 Bytes

Predicting the next word

  1. train a model using a corpus of Shakespeare's sonnets
  2. predict the next word in a text sequence
  3. creating some helper functions to pre-process the data

Used Packages:

  • TensorFlow
  • Keras
  • Tokenizer
  • Pad_sequences
  • Embedding
  • LSTM