ValueError: Unable to create tensor, you should probably activate truncation and/or padding with 'padding=True' 'truncation=True' to have batched tensors with the same length,medalpaca & lora

dnovak232
Tue, 09 Jan 2024 10:00:31 +0000

I am having similar issue training Mistral 7B Instruct.
Actually all was working yesterday so I am not sure if update to any package used could be the issue.

I created google collab with exact example and visible error.

colab.research.google.com

Google Colaboratory