RuntimeError: The size of tensor a (8) must match the size of tensor b (2744) at non-singleton dimension 1
I have this error in the line:
(“embeddings = x + self.position_embeddings”):
Error:
RuntimeError: The size of tensor a (8) must match the size of tensor b (2744) at non-singleton dimension 1