blog icon indicating copy to clipboard operation
blog copied to clipboard

Whisper fine tune for Hausa language

Open valaofficial opened this issue 2 years ago • 0 comments

Good day i followed this blog post https://huggingface.co/blog/fine-tune-whisper, and used it with a Hausa dataset and the training was done successfully

image

My issue now is that anytime run this command

from transformers import WhisperForConditionalGeneration, WhisperProcessor
model = WhisperForConditionalGeneration.from_pretrained("valacodes/whisper-small-hausa")
processor = WhisperProcessor.from_pretrained("valacodes/whisper-small-hausa")

I get this Error:

OSError: Can't load tokenizer for 'valacodes/whisper-small-hausa'. 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 'valacodes/whisper-small-hausa' is the correct path to a directory containing all relevant files for a WhisperTokenizer tokenizer.

Please what can i do to rectify this

valaofficial avatar Oct 11 '23 22:10 valaofficial