Multi-label Text Classification with Tensorflow - Vict0rsch adjust the type # of your 0 padding_values according to your platform dataset = tf.data.dataset.zip( (texts_dataset, labels_dataset)) dataset = dataset.shuffle(10000, reshuffle_each_iteration=true) dataset = dataset.padded_batch(batch_size, padded_shapes, padding_values) dataset = dataset.prefetch(10) iterator = tf.data.iterator.from_structure( …