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

My issue is almost similar but little different variant of it. I dont in case of using unsloth tokenizer how to deal with it?

Here is the issue link. Perhaps your features (`output` in this case) have excessive nesting (inputs type `list` where type `int` is expected)

1 Like