Error Shape not compatible when using TFDeberta

Hello, im trying to use TFDebertaForSequenceClassification for text binary classification task. but i got this error when i want to calculate the recall and precision of the training.
“ValueError: Shapes (32, 2) and (32, 1) are incompatible”