Update README.md
Browse files
README.md
CHANGED
@@ -103,7 +103,7 @@ processor = Wav2Vec2Processor.from_pretrained("cpierse/wav2vec2-large-xlsr-53-es
|
|
103 |
model = Wav2Vec2ForCTC.from_pretrained("cpierse/wav2vec2-large-xlsr-53-esperanto")
|
104 |
model.to("cuda")
|
105 |
|
106 |
-
chars_to_ignore_regex = '[
|
107 |
resampler = torchaudio.transforms.Resample(48_000, 16_000)
|
108 |
|
109 |
# Preprocessing the datasets.
|
|
|
103 |
model = Wav2Vec2ForCTC.from_pretrained("cpierse/wav2vec2-large-xlsr-53-esperanto")
|
104 |
model.to("cuda")
|
105 |
|
106 |
+
chars_to_ignore_regex = '[\,\?\.\!\-\;\:\"\“\%\‘\”\�\„\«\(\»\)\’\']'
|
107 |
resampler = torchaudio.transforms.Resample(48_000, 16_000)
|
108 |
|
109 |
# Preprocessing the datasets.
|