harveenchadha
Adding Evaluation
94d64ca
raw
history blame contribute delete
No virus
582 Bytes
model_id='Harveenchadha/hindi_base_wav2vec2'
lang='hi'
split='test'
with_lm=1
if [ "$with_lm" == 0 ]; then
mkdir -p without_lm
logdir='without_lm'
else
mkdir -p with_lm
logdir='with_lm'
fi
python eval.py --model_id ${model_id} --dataset common_voice --config ${lang} --split ${split} --log_dir $logdir
python eval.py --model_id ${model_id} --dataset mozilla-foundation/common_voice_7_0 --config ${lang} --split ${split} --log_dir $logdir
python eval.py --model_id ${model_id} --dataset mozilla-foundation/common_voice_8_0 --config ${lang} --split ${split} --log_dir $logdir