I am following the example from https://www.tensorflow.org/alpha/tutorials/load_data/text
to load my own dataset and run binary classification on the sentences there (TensorFlow 2.0).
The only change I've made to the example is the dataset being used (which I took from https://github.com/UKPLab/emnlp2017-claim-identification/tree/master/src/main/python), and since the labels can be only 0 or 1 I changed the loss function to binary_crossentropy and the optimizer to RMSprop.
When fitting the Keras model which is identical to the model proposed in the tutorial, I'm …