You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello! I've been working on fine-tuning Whisper for a low-resource language, and have been using this blogpost / accompanying Colab to do so: https://huggingface.co/blog/fine-tune-whisper
I'm running into an issue with how to run the trained model on my test set. I save the model and processor:
Run the training and everything works okay. Then I load the pretrained model and processor which also works fine:
Then I try to just take the first example of the test set, run it through the model and take the argmax of the logits to retrieve the predicted token ids (and then will decode it)
But that keeps giving me this error, and I have not been able to fix it at all:
Would appreciate any guidance or help, thank you so much!
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Hello! I've been working on fine-tuning Whisper for a low-resource language, and have been using this blogpost / accompanying Colab to do so: https://huggingface.co/blog/fine-tune-whisper
I'm running into an issue with how to run the trained model on my test set. I save the model and processor:

Run the training and everything works okay. Then I load the pretrained model and processor which also works fine:

Then I try to just take the first example of the test set, run it through the model and take the argmax of the logits to retrieve the predicted token ids (and then will decode it)

But that keeps giving me this error, and I have not been able to fix it at all:

Would appreciate any guidance or help, thank you so much!
Beta Was this translation helpful? Give feedback.
All reactions