Unable to run demo after training whisper model.
I am running the steps to train and deploy whisper model as shown in the blog here (https://huggingface.co/blog/fine-tune-whisper)
I was able to successfully train the model by running trainer.train(). Post training, I pushed the trainer logs to the hub using the below code:
I try to run the demo using the following code:
However, I am unable to run it and getting the error shown below:
Apparently, it is looking tokenizer and not able to find it. I tried to look in the files in the repository and tokenizer is not present (screenshot below). Please let me know how to proceed.
Hi! I suppose you already have a answer, but for anyone that has the same problem I fixed it by doing:
tokenizer.push_to_hub("your_namespace/your_model_repo", token="your_access_token")
REMINDER: the token you use should be in "write" access, not "read"!