Update README.md
Browse files
README.md
CHANGED
@@ -38,7 +38,7 @@ import sys
|
|
38 |
|
39 |
model_name = "RuudVelo/XLSR-Wav2Vec2-Maltese-1"
|
40 |
device = "cuda"
|
41 |
-
chars_to_ignore_regex = '[
|
42 |
|
43 |
model = Wav2Vec2ForCTC.from_pretrained(model_name).to(device)
|
44 |
processor = Wav2Vec2Processor.from_pretrained(model_name)
|
|
|
38 |
|
39 |
model_name = "RuudVelo/XLSR-Wav2Vec2-Maltese-1"
|
40 |
device = "cuda"
|
41 |
+
chars_to_ignore_regex = '[\,\?\.\!\-\;\:\"\“\%\‘\”\�]'
|
42 |
|
43 |
model = Wav2Vec2ForCTC.from_pretrained(model_name).to(device)
|
44 |
processor = Wav2Vec2Processor.from_pretrained(model_name)
|