English
esb

Dropout_rate

#1
by JulienDespres - opened

Hi, I tried to reproduce this recipe following literally the instructions and I get the following error:
Traceback (most recent call last):
File "run_speech_recognition_whisper.py", line 747, in
main()
File "run_speech_recognition_whisper.py", line 385, in main
model = whisper.load_model(model_args.model_name_or_path, dropout_rate=model_args.dropout_rate)
TypeError: load_model() got an unexpected keyword argument 'dropout_rate'

Does anyone have a solution to my problem?

Thanks

JulienDespres changed discussion status to closed
JulienDespres changed discussion status to open
End-to-End Speech Benchmark org

Sorry error on the model card, the pip install should be:

pip install git+https://github.com/patrickvonplaten/whisper.git

That should fix it!

sanchit-gandhi changed discussion status to closed

Now it works !
Thanks a lot !

Sign up or log in to comment