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

Uncaught (in promise) Error: Unsupported model type: whisper #24

Open
Keith-Hon opened this issue Oct 25, 2023 · 2 comments
Open

Uncaught (in promise) Error: Unsupported model type: whisper #24

Keith-Hon opened this issue Oct 25, 2023 · 2 comments

Comments

@Keith-Hon
Copy link

Keith-Hon commented Oct 25, 2023

models.js:3384 Uncaught (in promise) Error: Unsupported model type: whisper
at AutoModelForCTC.from_pretrained (models.js:3384:19)
at async pipelines.js:2071:33
from_pretrained @ models.js:3384

I finetuned my whisper-small model with peft and then merged it back to the base model.

I then converted it into onnx with

https://github.com/xenova/transformers.js/blob/main/scripts/convert.py

However, when i try to run it with whisper-web, the above error showed up

@deeeed
Copy link

deeeed commented Jul 30, 2024

I have similar issue using xenova/whisper-medium

@abuchnick-aiola
Copy link

Also running into this ... Can this be answered please ?
Are we missing some voodoo in order to get it to work ?

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

3 participants