Interface API deployment
#1
by
VladS159
- opened
Hello, I've fine-tuned this version of Whisper for better Romanian transcription but when trying to deploy it I run into a problem. Usually, I load the model and the processor with WhisperForConditionalGeneration and WhisperProcessor respectively, and finally get the transcription with the model.generate() function (to which I would give as parameter the language, to avoid making Whisper guess it), but when using the serverless API from thf, I can't change or specify the language so it tries to guess (and sometimes misses completely). Is there any way that would allow me to specify that I want a transcription in Romanian? If not, are there any alternatives? :(