Language modelling with an RNN

  1. training set - large corpus of english Text
  2. tokenize
  3. add end of sentence if you want the model to know when the sentence ends
  4. If a particular word is not in the list of words, it is expressed as

Example:

Input sentence:

Cose function: