readme: finalize evaluation procedure
Browse files
README.md
CHANGED
@@ -104,7 +104,7 @@ model = Wav2Vec2ForCTC.from_pretrained("stefan-it/wav2vec2-large-xlsr-53-basque"
|
|
104 |
|
105 |
model.to("cuda")
|
106 |
|
107 |
-
chars_to_ignore_regex = '["
|
108 |
|
109 |
resampler = torchaudio.transforms.Resample(48_000, 16_000)
|
110 |
|
|
|
104 |
|
105 |
model.to("cuda")
|
106 |
|
107 |
+
chars_to_ignore_regex = '[\,\?\.\!\-\;\:\"\“\%\‘\”\�]'
|
108 |
|
109 |
resampler = torchaudio.transforms.Resample(48_000, 16_000)
|
110 |
|