Commit
β’
b910673
1
Parent(s):
639c699
Update README.md
Browse files
README.md
CHANGED
@@ -86,7 +86,7 @@ processor = Wav2Vec2Processor.from_pretrained("gchhablani/wav2vec2-large-xlsr-gu
|
|
86 |
model = Wav2Vec2ForCTC.from_pretrained("gchhablani/wav2vec2-large-xlsr-gu")
|
87 |
model.to("cuda")
|
88 |
|
89 |
-
chars_to_ignore_regex = '[
|
90 |
resampler = torchaudio.transforms.Resample(48_000, 16_000)
|
91 |
|
92 |
# Preprocessing the datasets.
|
@@ -115,7 +115,7 @@ result = test_dataset.map(evaluate, batched=True, batch_size=8)
|
|
115 |
print("WER: {:2f}".format(100 * wer.compute(predictions=result["pred_strings"], references=result["sentence"])))
|
116 |
```
|
117 |
|
118 |
-
**Test Result**:
|
119 |
|
120 |
## Training
|
121 |
|
|
|
86 |
model = Wav2Vec2ForCTC.from_pretrained("gchhablani/wav2vec2-large-xlsr-gu")
|
87 |
model.to("cuda")
|
88 |
|
89 |
+
chars_to_ignore_regex = '[\\,\\?\\.\\!\\-\\;\\:\\"\\β\\%\\β\\β\\οΏ½\\β\\β¦\\'\\_\\β]'
|
90 |
resampler = torchaudio.transforms.Resample(48_000, 16_000)
|
91 |
|
92 |
# Preprocessing the datasets.
|
|
|
115 |
print("WER: {:2f}".format(100 * wer.compute(predictions=result["pred_strings"], references=result["sentence"])))
|
116 |
```
|
117 |
|
118 |
+
**Test Result**: 23.55 %
|
119 |
|
120 |
## Training
|
121 |
|