This text classification tutorial trains a recurrent neural network on the IMDB large movie review dataset for sentiment analysis. This is adapted from https://www.tensorflow.org/text/tutorials/text_classification_rnn.
This tutorial requires Tensorflow Datasets installed in the comp0197_tf
:
conda activate comp0197_tf
pip install tensorflow-datasets
For further tutorials, see below.
https://www.tensorflow.org/text/tutorials/text_generation
https://www.tensorflow.org/text/tutorials/nmt_with_attention
https://www.tensorflow.org/text/tutorials/transformer
https://pytorch.org/tutorials/intermediate/char_rnn_classification_tutorial.html
https://pytorch.org/tutorials/intermediate/seq2seq_translation_tutorial.html
https://pytorch.org/tutorials/beginner/translation_transformer.html