diff --git a/metrics_service.sh b/metrics_service.sh index 3f917d0..8c3ace6 100644 --- a/metrics_service.sh +++ b/metrics_service.sh @@ -16,7 +16,7 @@ cat wer_results.txt | awk '{print ( ($7 + $8 + $9) / ($7 + $8 + $6) ) * 100;}' > paste wer_per_line.txt wikiniews_results.tsv # calculate mean WER for all records -awk '{sum += $1; n++} END { print sum / n; }' < wer_per_lines.txt > wer.txt +awk '{sum += $1; n++} END { print sum / n; }' < wer_per_line.txt > wer.txt # calculate SSR