Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Where to put model in local install #17

Closed
remybonnav opened this issue Apr 21, 2023 · 2 comments
Closed

Where to put model in local install #17

remybonnav opened this issue Apr 21, 2023 · 2 comments

Comments

@remybonnav
Copy link

I don't get how I can link to the model on a local indtall. Should I replace /openai/largev2/ by the path of my model on the disk?
And should I download all feom the folder from huggingface or should I just download the flax file?

@sanchit-gandhi
Copy link
Owner

Hey @remybonnav!

Cool to see that you're using the Whisper JAX repo 🤗 You have two options for using your own checkpoint:

  1. Replace openai/large-v2 with the id of your checkpoint on the Hugging Face Hub, e.g. for this checkpoint, I would use sanchit-gandhi/whisper-small-hi
  2. Download the entire repository to your local system, and then pass the path to this folder. E.g. if I cloned this checkpoint into a folder called whisper-small-hi, I would pass ./whisper-small-hi

@remybonnav
Copy link
Author

Great, thanks, I was not sure how to replace path to huggingface by a path to local folder. Thanks again

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants