I am using Huggingface transformers to run a TFBertforsequenceclassification model.
Here\'s my original input: X = sentences Y = labels
I first one_hot encode