arusl / nwp-en-bsd

This repo contains a Jupyter notebook for training an English next word prediction model based on a conversational dataset.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Next Word Prediction Model

This notebook shows how to train an English next word prediction model using LSTM (w/ Keras and NLTK).

Required files

To run the notebook (next_word_prediction_en_bsd.ipynb) in Google Colab, you need to download the followings and adjust the paths inside the notebook:

Load a trained model

If you want, you can skip the training step and load the trained model below to make predictions.

Notes

Detailed explanations can be found inside the notebook.

About

This repo contains a Jupyter notebook for training an English next word prediction model based on a conversational dataset.


Languages

Language:Jupyter Notebook 100.0%