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

Cannot find diarization model #1715

Closed
siddie opened this issue Jan 2, 2024 · 2 comments
Closed

Cannot find diarization model #1715

siddie opened this issue Jan 2, 2024 · 2 comments

Comments

@siddie
Copy link

siddie commented Jan 2, 2024

As per the instructions, I try to download a diarization model. Using ./models/download-ggml-model.sh small.en-tdrz I get "Invalid model: small.en-tdrz"

The model is not present here: https://huggingface.co/ggerganov/whisper.cpp/tree/main

Is there a way to download the diarization model?

@mrienstra
Copy link
Contributor

That model is available here: https://huggingface.co/akashmjn/tinydiarize-whisper.cpp/tree/main

It can be downloaded within whisper.cpp with this command:

bash ./models/download-ggml-model.sh small.en-tdrz

... thanks to @akashmjn's PR (merged Jul 3, 2023): #1058

You can see small.en-tdrz in .models/download-ggml-model.sh, at the moment, on line 34, and some related logic on lines 73-77 (line numbers subject to change, search the file for tdrz if necessary).


Perhaps your cloned copy of whisper.cpp is out of date? You can check your local copy of .models/download-ggml-model.sh and see if it contains references to small.en-tdrz. If that's not the issue, perhaps try again, and if you can reproduce the issue you reported, provide some more details about your setup to help others triage in case you've stumbled on an interesting bug! 🐛

@siddie
Copy link
Author

siddie commented Feb 25, 2024

Thanks, @mrienstra. I've been running the models on Windows PC. I believe, download-ggml-model.cmd used a different model repo and was not aware of tdrz.

I ended up converting the original model to ggml and then moving on to language-independent diarization.

@siddie siddie closed this as completed Feb 25, 2024
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