IndexError: index -1 is out of bounds for dimension 1 with size 0

I am train
I am trying to fit a whisper-small.en template on aws sagemaker notebook but I get this error at the evaluation step during training.
notebook kernel: ml.g5.8xlarge
models: openai/whisper-small.en
training notebook example: Fine-Tune Whisper For Multilingual ASR with :hugs: Transformers

Can anyone help me to understand and solve this error. Thanks!