Skip to content

This example trains a multi-layer RNN-LSTM on a language modeling task. The model has been implemented using Tensoflow Keras python library. The training script uses the PTB dataset, provided.

ZizZu94/nlu-text-generation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Language Model with LSTM architecture

This example trains a multi-layer RNN-LSTM on a language modeling task. The model has been implemented using Tensoflow Keras python library. The training script uses the PTB dataset, provided.

The file notebook.ipynb is a Jupyter notebook, which contains all python codes: Link. Use Google Colab or any Jupyter notebook viewer to open it.

The file report_zihadul_azam.pdf is the report of this project: Link.

Dependencies

Python

$ sudo apt-get install python3 python3-pip

Tensorflow

$ pip install tensorflow
# $ conda install -c conda-forge tensorflow

NumPy

$ pip install numpy
# $ conda install numpy

Matplotlib

$ pip install matplotlib
# $ conda install matplotlib

For any questions, do not hesitate to contact me or open an issue! 👇👇👇👇👇📣
zihadul.azam@studenti.unitn.it

About

This example trains a multi-layer RNN-LSTM on a language modeling task. The model has been implemented using Tensoflow Keras python library. The training script uses the PTB dataset, provided.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published