carlosdanielhernandezmena
commited on
Commit
•
478b2d8
1
Parent(s):
393d908
Update README.md
Browse files
README.md
CHANGED
@@ -143,7 +143,7 @@ processor = Wav2Vec2Processor.from_pretrained(MODEL_NAME)
|
|
143 |
model = Wav2Vec2ForCTC.from_pretrained(MODEL_NAME)
|
144 |
#Load the dataset
|
145 |
from datasets import load_dataset, load_metric, Audio
|
146 |
-
ds=load_dataset("
|
147 |
#Normalize the transcriptions
|
148 |
import re
|
149 |
chars_to_ignore_regex = '[\\,\\?\\.\\!\\\;\\:\\"\\“\\%\\‘\\”\\�\\)\\(\\*)]'
|
@@ -189,7 +189,7 @@ results = ds.map(map_to_result,remove_columns=ds.column_names)
|
|
189 |
print("Test WER: {:.3f}".format(wer_metric.compute(predictions=results["pred_str"], references=results["sentence"])))
|
190 |
|
191 |
```
|
192 |
-
**Test Result**:
|
193 |
# BibTeX entry and citation info
|
194 |
*When publishing results based on these models please refer to:*
|
195 |
```bibtex
|
|
|
143 |
model = Wav2Vec2ForCTC.from_pretrained(MODEL_NAME)
|
144 |
#Load the dataset
|
145 |
from datasets import load_dataset, load_metric, Audio
|
146 |
+
ds=load_dataset("ciempiess/ciempiess_test", split="test")
|
147 |
#Normalize the transcriptions
|
148 |
import re
|
149 |
chars_to_ignore_regex = '[\\,\\?\\.\\!\\\;\\:\\"\\“\\%\\‘\\”\\�\\)\\(\\*)]'
|
|
|
189 |
print("Test WER: {:.3f}".format(wer_metric.compute(predictions=results["pred_str"], references=results["sentence"])))
|
190 |
|
191 |
```
|
192 |
+
**Test Result**: 0.112
|
193 |
# BibTeX entry and citation info
|
194 |
*When publishing results based on these models please refer to:*
|
195 |
```bibtex
|