update WER to 12.90 after evaluating with cleared cache
This commit is contained in:
parent
45a4f3a3c6
commit
698a3d155e
|
@ -23,7 +23,7 @@ model-index:
|
||||||
metrics:
|
metrics:
|
||||||
- name: Test WER
|
- name: Test WER
|
||||||
type: wer
|
type: wer
|
||||||
value: 12.62
|
value: 12.90
|
||||||
---
|
---
|
||||||
|
|
||||||
# Wav2Vec2-Large-XLSR-53-German
|
# Wav2Vec2-Large-XLSR-53-German
|
||||||
|
@ -152,7 +152,7 @@ result = test_dataset.map(evaluate, batched=True, batch_size=8) # batch_size=8 -
|
||||||
|
|
||||||
# non-chunked version:
|
# non-chunked version:
|
||||||
# print("WER: {:2f}".format(100 * wer.compute(predictions=result["pred_strings"], references=result["sentence"])))
|
# print("WER: {:2f}".format(100 * wer.compute(predictions=result["pred_strings"], references=result["sentence"])))
|
||||||
# WER: 12.615308
|
# WER: 12.900291
|
||||||
|
|
||||||
# Chunked version, see https://discuss.huggingface.co/t/spanish-asr-fine-tuning-wav2vec2/4586/5:
|
# Chunked version, see https://discuss.huggingface.co/t/spanish-asr-fine-tuning-wav2vec2/4586/5:
|
||||||
import jiwer
|
import jiwer
|
||||||
|
@ -176,7 +176,7 @@ print("Total (chunk_size=1000), WER: {:2f}".format(100 * chunked_wer(result["pre
|
||||||
# Total (chunk=1000), WER: 12.768981
|
# Total (chunk=1000), WER: 12.768981
|
||||||
```
|
```
|
||||||
|
|
||||||
**Test Result**: 12.62 %
|
**Test Result**: WER: 12.90 %
|
||||||
|
|
||||||
|
|
||||||
## Training
|
## Training
|
||||||
|
|
Loading…
Reference in New Issue