BriansIDP / WhisperBiasing

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

train_large.sh

thankuuu opened this issue · comments

I encountered the following error while running your code:

Traceback (most recent call last):
File "train.py", line 70, in
decodetask = whisper.decoding.DecodingTask(model, options)
File "/root/autodl-tmp/WhisperBiasing/whisper/decoding.py", line 514, in init
self.sot_index: int = self.initial_tokens.index(tokenizer.sot)
ValueError: tuple.index(x): x not in tuple

I have verified the content of tokenizer, but I am still unable to resolve this error.
Could you please provide some guidance on how to address this issue? Thank you for your time and assistance.