sadrasabouri
commited on
Commit
•
08ffd94
1
Parent(s):
b8eb4fa
Update README.md
Browse files
README.md
CHANGED
@@ -131,14 +131,10 @@ dataset = dataset.map(speech_file_to_array_fn)
|
|
131 |
|
132 |
result = dataset.map(predict, batched=True, batch_size=4)
|
133 |
wer = load_metric("wer")
|
134 |
-
cer = load_metric("cer")
|
135 |
|
136 |
print("WER: {:.2f}".format(wer.compute(
|
137 |
predictions=result["prediction"],
|
138 |
references=result["reference"])))
|
139 |
-
print("CER: {:.2f}".format(cer.compute(
|
140 |
-
predictions=result["prediction"],
|
141 |
-
references=result["reference"])))
|
142 |
```
|
143 |
|
144 |
*Result (WER) on common-voice 6.1*:
|
|
|
131 |
|
132 |
result = dataset.map(predict, batched=True, batch_size=4)
|
133 |
wer = load_metric("wer")
|
|
|
134 |
|
135 |
print("WER: {:.2f}".format(wer.compute(
|
136 |
predictions=result["prediction"],
|
137 |
references=result["reference"])))
|
|
|
|
|
|
|
138 |
```
|
139 |
|
140 |
*Result (WER) on common-voice 6.1*:
|