Hugging Face Forums
Loss error for bert token classifier
Beginners
emmakelo
December 2, 2021, 3:32pm
2
Could you post the error ?
show post in topic
Related topics
Topic
Replies
Views
Activity
Token classification on custom BERT and data
Intermediate
2
1501
December 28, 2020
Expected scalar type Long but found Float using Trainer for BertForTokenClassification
Beginners
6
4000
April 22, 2021
Expected input batch_size (2048) to match target batch_size (4)
Beginners
3
1608
May 23, 2022
KeyError: 'loss' while training QnA
Beginners
2
2556
March 17, 2022
KeyError: 'input_ids'. when training BERT with Trainer
Models
5
7677
July 21, 2021