how to add local model instead of the official ones #1464
Answered
by
phineas-pta
abdelkareemkobo
asked this question in
Q&A
-
I am trying to use whisper to transcribe my data I want to use the following code
It gives me "AttributeError: 'WhisperForConditionalGeneration' object has no attribute 'transcribe'"
The model is in pytorch form |
Beta Was this translation helpful? Give feedback.
Answered by
phineas-pta
Jun 22, 2023
Replies: 1 comment 2 replies
-
your title is a bit misleading, u r using see my comment for example usage |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
seem like your model isn't configured to return timestamps
you can simply remove
return_timestamps=True
if you want to use whisper CLI, you have to edit source code to load fine-tuned checkpoint, you can inspire from this #830 (comment)