-
I want to load this fine-tuned model using my existing Whisper installation. I have a Python script which uses the |
Beta Was this translation helpful? Give feedback.
Answered by
jongwook
Apr 11, 2023
Replies: 1 comment 2 replies
-
The Lines 130 to 139 in c09a7ae So you can simply supply the checkpoint path. It should still have the same format, containing a dictionary with |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
jongwook
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The
load_model()
function also checks if thename
string is a path to an existing file:whisper/whisper/__init__.py
Lines 130 to 139 in c09a7ae
So you can simply supply the checkpoint path. It should still have the same format, containing a dictionary with
"dims"
and"model_state_dict"
fields.