updated readme
Browse files
README.md
CHANGED
@@ -154,7 +154,7 @@ processor = Wav2Vec2Processor.from_pretrained("cahya/wav2vec2-large-xlsr-sundane
|
|
154 |
model = Wav2Vec2ForCTC.from_pretrained("cahya/wav2vec2-large-xlsr-sundanese")
|
155 |
model.to("cuda")
|
156 |
|
157 |
-
chars_to_ignore_regex = '[\,\?\.\!\-\;\:\"
|
158 |
resampler = torchaudio.transforms.Resample(48_000, 16_000)
|
159 |
|
160 |
# Preprocessing the datasets.
|
|
|
154 |
model = Wav2Vec2ForCTC.from_pretrained("cahya/wav2vec2-large-xlsr-sundanese")
|
155 |
model.to("cuda")
|
156 |
|
157 |
+
chars_to_ignore_regex = '[\,\?\.\!\-\;\:\"\“\%\‘\'\”_\�]'
|
158 |
resampler = torchaudio.transforms.Resample(48_000, 16_000)
|
159 |
|
160 |
# Preprocessing the datasets.
|