MehdiHosseiniMoghadam
commited on
Commit
•
93c71c4
1
Parent(s):
e58d273
Update README.md
Browse files
README.md
CHANGED
@@ -106,7 +106,7 @@ model = Wav2Vec2ForCTC.from_pretrained("MehdiHosseiniMoghadam/wav2vec2-large-xls
|
|
106 |
|
107 |
model.to("cuda")
|
108 |
|
109 |
-
chars_to_ignore_regex = '[
|
110 |
|
111 |
resampler = torchaudio.transforms.Resample(48_000, 16_000)
|
112 |
|
|
|
106 |
|
107 |
model.to("cuda")
|
108 |
|
109 |
+
chars_to_ignore_regex = '[\,\?\.\!\-\;\:\"\“\%\‘\”\�]'
|
110 |
|
111 |
resampler = torchaudio.transforms.Resample(48_000, 16_000)
|
112 |
|