I’m trying to use this fine tuned Whisper model, but I’m getting the following error. What am I doing wrong?
OSError: Can't load tokenizer for 'gcasey2/whisper-large-v3-ko-en-v2'. If you were trying to load it from 'https://huggingface.co/models', make sure you don't have a local directory with the same name. Otherwise, make sure 'gcasey2/whisper-large-v3-ko-en-v2' is the correct path to a directory containing all relevant files for a WhisperTokenizerFast tokenizer.
Here’s my code.
from transformers import AutoProcessor, AutoModelForSpeechSeq2Seq, pipeline
transcriber = pipeline("automatic-speech-recognition",
model="gcasey2/whisper-large-v3-ko-en-v2")
out = transcriber(input_audio_file)
print(out['text'])
Using this same code I can run inference another fine tuned Whisper model: byoussef/whisper-large-v2-Ko · Hugging Face