Path: blob/master/examples/nlp/ipynb/bidirectional_lstm_imdb.ipynb
3508 views
Kernel: Python 3
Bidirectional LSTM on IMDB
Author: fchollet
Date created: 2020/05/03
Last modified: 2020/05/03
Description: Train a 2-layer bidirectional LSTM on the IMDB movie review sentiment classification dataset.
Setup
In [0]:
Build the model
In [0]:
Load the IMDB movie review sentiment data
In [0]:
Train and evaluate the model
You can use the trained model hosted on Hugging Face Hub and try the demo on Hugging Face Spaces.
In [0]: