Recurrent Neural Network, Text Classification, Sentiment Analysis, Imdb Text Classification, Binary Classification.
train_dataset.shuffle(BUFFER_SIZE).batch(BATCH_SIZE).prefetch(tf.data.AUTOTUNE) test_dataset = test_dataset.batch(BATCH_SIZE).prefetch(tf.data.AUTOTUNE) for text, label in train_dataset.take(1): print('texts: ', text.numpy()[:3]) print('\nlabels: ', label.numpy()[:3]) Output: Create the text