Wav2Vec2: ValueError: Unable to create tensor, you should probably activate padding with 'padding=True' to have batched tensors with the same length

I am trying to fine tune facebook/wav2vec2-large-xlsr-53 models but am running into the above error.

I have read the various fixes and related bugs e.g.

I suspect this is actually a bug in the Wav2Vec2 processor. None of the suggested fixes seem to do anything e.g padding=True in various places.

Has anyone encountered this with these models, and.do you have any insight or suggestions

Thank you
Peter

1 Like

Iā€™m facing the same problem. Did you find the solution?