Errors running `run_long_form_eval.py`
guynich opened this issue · comments
Following the training/README.md https://github.com/huggingface/distil-whisper/blob/main/training/README.md#long-form.
I have two issues running the bash script example for TED-LIUM validation set.
- For this bash script line
--dataset_config_name "all" \
.
This error.
ValueError: BuilderConfig 'all' not found. Available: ['default']
- Changing bash scipt to mitigate 1)
--dataset_config_name "default" \
.
Then see this error.
File "/home/ubuntu/distil-whisper-large-v2-hi/run_long_form_eval.py", line 578, in eval_step
eval_labels.append(sample["reference"][0])
KeyError: 'reference'
The model card for TED-LIUM does not mention a reference
key.