Commit
·
fe5c991
1
Parent(s):
4ce47f3
Update README.md
Browse files
README.md
CHANGED
@@ -105,7 +105,7 @@ processor = Wav2Vec2Processor.from_pretrained('gchhablani/wav2vec2-large-xlsr-eo
|
|
105 |
model = Wav2Vec2ForCTC.from_pretrained('gchhablani/wav2vec2-large-xlsr-eo')
|
106 |
model.to("cuda")
|
107 |
|
108 |
-
chars_to_ignore_regex =
|
109 |
resampler = torchaudio.transforms.Resample(48_000, 16_000)
|
110 |
|
111 |
# Preprocessing the datasets.
|
|
|
105 |
model = Wav2Vec2ForCTC.from_pretrained('gchhablani/wav2vec2-large-xlsr-eo')
|
106 |
model.to("cuda")
|
107 |
|
108 |
+
chars_to_ignore_regex = """[\\\\,\\\\?\\\\.\\\\!\\\\-\\\\;\\\\:\\\\"\\\\“\\\\%\\\\‘\\\\”\\\\�\\\\„\\\\«\\\\(\\\\»\\\\)\\\\’\\\\']"""
|
109 |
resampler = torchaudio.transforms.Resample(48_000, 16_000)
|
110 |
|
111 |
# Preprocessing the datasets.
|