What if the labels are already typed as int64
I have the same error for sequence classification with BERT model, even my labels start from 0, here’s what my training dataset looks like
Dataset({
features: ['label', 'text', 'input_ids', 'token_type_ids', 'attention_mask'],
num_rows: 393
})