Hugging Face Forums
{"error":"The expanded size of the tensor (524) must match the existing size (514) at non-singleton dimension 1. Target sizes: [1, 524]. Tensor sizes: [1, 514]"}
Models
gegham
November 22, 2024, 7:50am
1
Hi All , I’m calling to this model
and get error about tensor size. How can I solve this?
1 Like
Related topics
Topic
Replies
Views
Activity
The expanded size of the tensor (22528) must match the existing size (1024) at non-singleton dimension 0
Models
0
1424
July 25, 2023
ERROR: The size of tensor a () must match the size of tensor b () at non-singleton dimension 1
Inference Endpoints on the Hub
0
676
January 11, 2024
RuntimeError: The expanded size of the tensor (31) must match the existing size (7) at non-singleton dimension 0. Target sizes: [31]. Tensor sizes: [7]
Beginners
0
149
May 23, 2024
I am following a hugging face guide for fine tuning whisper but I run into error when training
🤗Transformers
0
157
March 15, 2024
RuntimeError: Sizes of tensors must match except in dimension 2. Expected size 8 but got size 64 for tensor number 1 in the list
🤗Transformers
1
934
January 4, 2024