chidiwilliams / buzz

Buzz transcribes and translates audio offline on your personal computer. Powered by OpenAI's Whisper.
https://chidiwilliams.github.io/buzz
MIT License
11.95k stars 899 forks source link

Error, because of model or buzz? #862

Closed githubberina closed 1 month ago

githubberina commented 1 month ago

image

I don't know how to read this, can you help me? Is the issue with the model?

githubberina commented 1 month ago

image

I also get this with a model I've used previously succesfully with .84 version. The new 1.01 turns on, I start downloading hugging face model (great to have these easily downloadable btw!) but it crashes in couple seconds. I turn on buzz again and it gives me this error when trying to download same model.

I've reinstalled with revo uninstaller, deleting all folders and registry and it still crashes when trying to download that particular model that worked before.

raivisdejus commented 1 month ago

Please select a language to transcribe, I think this is an issue with "Detect language" that was recently fixed but is not yet released

githubberina commented 1 month ago

Please select a language to transcribe, I think this is an issue with "Detect language" that was recently fixed but is not yet released

I have selected it and set to "Finnish" which is the language of model and my video.

Waiting for a release, maybe it will help anyway! Thanks for this beautiful tool!

githubberina commented 1 month ago

image

This works in 0.8.4, but doesn't work with 1.0 or 1.0.1 with same settings, not sure about 0.9. The V3 version of said model doesn't work with any version of Buzz.

raivisdejus commented 1 month ago

@githubberina I will need to do some investigation on what exactly is missing for this model to work, but I am sure we can make it work in not too distant future

raivisdejus commented 1 month ago

@githubberina Let's try the very latest development version of the Buzz from here https://github.com/chidiwilliams/buzz/actions/runs/10170061035/attempts/1 (log into github to see the artifacts section) Use Faster Whisper with this custom model To download custom model you can use Settings -> Models section.

Faster whisper is generally faster and requires less memory than regular whisper

githubberina commented 1 month ago

Hello, thank you for trying to solve this issue!

image

I downloaded the model succesfully with 1.0.2, but it gave an unknown error and no pop-up when it started transcribing.

raivisdejus commented 1 month ago

@githubberina Paste this in windows address bar %USERPROFILE%\AppData\Local\Buzz\Buzz\Logs and see what is in the logs file. You can clear it and then post the output here, relevant part may be not the very last lines, so post here longer part of the log.

Also if previous downloads had some issue on previous version your model may be in a broken state. To rule this out you can try to delete it and download again from Settings -> Models.

I tried to transcribe a file with it on Linux and it worked, so we may be facing some Windows specific issue as well

TheTruthisTheWay11 commented 1 month ago

I'm running into the same error trying to use this model here: https://huggingface.co/WANGTINGTING/whisper-large-v2-zh-TW.

raivisdejus commented 1 month ago

@githubberina The Finnish-NLP/whisper-large-finnish-v3 was fixed on model side. The generation_config.json file was missing from the model.

For model Finnish-NLP/whisper-large-v2-finnish something is not adding up, might be the missing generation config file, might be something else.

@TheTruthisTheWay11 Please try the latest development version from https://github.com/chidiwilliams/buzz/actions/runs/10211346492 You have to log into the github to see the artifact section your model should work with this version.

TheTruthisTheWay11 commented 1 month ago

@raivisdejus Unfortunately, I'm still getting the error. BuzzIssue

TheTruthisTheWay11 commented 1 month ago

@raivisdejus Thankfully, I was able to get this version to work: https://huggingface.co/XA9/faster-whisper-large-v2-zh-TW. It's the same repo as the one I posted, just converted to the CTranslate2 format.

githubberina commented 1 month ago

I am probably doing something wrong, but I got error without pop-up, using 1.0.2 with these settings: image

raivisdejus commented 1 month ago

@githubberina Ensure you have the latest version of 1.0.2, like get it from here https://github.com/chidiwilliams/buzz/actions/runs/10333865273 Then delete old model folder it's in the cache folder, info on that is here https://chidiwilliams.github.io/buzz/docs/faq Then download the model again.

If you still get the error, see the logs file in the Cache directory or run Buzz from command line on Linux or Mac to see the logging output

githubberina commented 1 month ago

Thanks, it's working now!! I think it was because of cache folders.