Update README.md
Browse files
README.md
CHANGED
@@ -85,7 +85,7 @@ processor = Wav2Vec2Processor.from_pretrained("manandey/wav2vec2-large-xlsr-bret
|
|
85 |
model = Wav2Vec2ForCTC.from_pretrained("manandey/wav2vec2-large-xlsr-breton")
|
86 |
model.to("cuda")
|
87 |
|
88 |
-
chars_to_ignore_regex = '[
|
89 |
resampler = torchaudio.transforms.Resample(48_000, 16_000)
|
90 |
|
91 |
# Preprocessing the datasets.
|
|
|
85 |
model = Wav2Vec2ForCTC.from_pretrained("manandey/wav2vec2-large-xlsr-breton")
|
86 |
model.to("cuda")
|
87 |
|
88 |
+
chars_to_ignore_regex = '[\,\?\.\!\-\;\:\"\“\%\‘\”\�\’\–\(\)\/\«\»\½\…]'
|
89 |
resampler = torchaudio.transforms.Resample(48_000, 16_000)
|
90 |
|
91 |
# Preprocessing the datasets.
|