updated eval scripts
Browse files
src/bash_runners/eval_fleurs_test.sh
CHANGED
@@ -4,7 +4,7 @@ python src/run_eval_whisper_streaming.py \
|
|
4 |
--dataset="google/fleurs" \
|
5 |
--config="be_by" \
|
6 |
--split="test" \
|
7 |
-
--text_column="
|
8 |
--device="0" \
|
9 |
--batch_size="32" \
|
10 |
--streaming="True" \
|
|
|
4 |
--dataset="google/fleurs" \
|
5 |
--config="be_by" \
|
6 |
--split="test" \
|
7 |
+
--text_column="raw_transcription" \
|
8 |
--device="0" \
|
9 |
--batch_size="32" \
|
10 |
--streaming="True" \
|
src/run_eval_whisper_streaming.py
CHANGED
@@ -56,7 +56,7 @@ def clean_filename(filename: str):
|
|
56 |
|
57 |
def main(args):
|
58 |
logger.info(f'running evaluation script with following parameters: {args}')
|
59 |
-
logger.info(f'using following text
|
60 |
|
61 |
batch_size = args.batch_size
|
62 |
whisper_asr = pipeline("automatic-speech-recognition", model=args.model_id, device=args.device)
|
|
|
56 |
|
57 |
def main(args):
|
58 |
logger.info(f'running evaluation script with following parameters: {args}')
|
59 |
+
logger.info(f'using following text normalizer: {text_normalizer}')
|
60 |
|
61 |
batch_size = args.batch_size
|
62 |
whisper_asr = pipeline("automatic-speech-recognition", model=args.model_id, device=args.device)
|