Hugging Face Forums
ValueError: Expected input batch_size (16) to match target batch_size (64)
Beginners
laurb
October 16, 2020, 10:12am
2
Tried this using roberta-base as the model as well, and get the same error.
show post in topic
Related topics
Topic
Replies
Views
Activity
ValueError: Expected input batch_size (4096) to match target batch_size (8)
Beginners
3
8441
April 2, 2023
ValueError: Expected input batch_size (8) to match target batch_size (280)
Beginners
1
1968
November 18, 2024
ValueError: Target size (torch.Size([8])) must be the same as input size (torch.Size([8, 8]))
Beginners
15
12611
January 9, 2025
Multilabel sequence classification with Roberta value error expected input batch size to match target batch size
🤗Transformers
1
4242
March 2, 2021
Expected input batch_size (2048) to match target batch_size (4)
Beginners
3
1608
May 23, 2022