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.
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