xenova / whisper-web

ML-powered speech recognition directly in your browser

Home Page:https://hf.co/spaces/Xenova/whisper-web

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

Keith-Hon opened this issue · comments

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

I have similar issue using xenova/whisper-medium