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

mouadenna
Tue, 09 Jan 2024 10:53:48 +0000

UPDATE , try using the tokenize function here in the notebook
it worked for me