MehdiHosseiniMoghadam
commited on
Commit
·
2a69df3
1
Parent(s):
f19bcf1
Update README.md
Browse files
README.md
CHANGED
@@ -106,7 +106,7 @@ print("Reference:", test_dataset["sentence"][:2])
|
|
106 |
|
107 |
## Evaluation
|
108 |
|
109 |
-
The model can be evaluated as follows on the
|
110 |
|
111 |
```python
|
112 |
|
@@ -130,7 +130,7 @@ model = Wav2Vec2ForCTC.from_pretrained("MehdiHosseiniMoghadam/wav2vec2-large-xls
|
|
130 |
|
131 |
model.to("cuda")
|
132 |
|
133 |
-
chars_to_ignore_regex = '[
|
134 |
|
135 |
resampler = torchaudio.transforms.Resample(48_000, 16_000)
|
136 |
|
|
|
106 |
|
107 |
## Evaluation
|
108 |
|
109 |
+
The model can be evaluated as follows on the Dutch test data of Common Voice.
|
110 |
|
111 |
```python
|
112 |
|
|
|
130 |
|
131 |
model.to("cuda")
|
132 |
|
133 |
+
chars_to_ignore_regex = '[\\,\\?\\.\\!\\-\\;\\:\\"\\“]'
|
134 |
|
135 |
resampler = torchaudio.transforms.Resample(48_000, 16_000)
|
136 |
|