Update README.md
Browse files
README.md
CHANGED
@@ -87,6 +87,8 @@ model.to("cuda")
|
|
87 |
|
88 |
resampler = torchaudio.transforms.Resample(48_000, 16_000)
|
89 |
|
|
|
|
|
90 |
# Preprocessing the datasets.
|
91 |
# We need to read the aduio files as arrays
|
92 |
def speech_file_to_array_fn(batch):
|
|
|
87 |
|
88 |
resampler = torchaudio.transforms.Resample(48_000, 16_000)
|
89 |
|
90 |
+
chars_to_ignore_regex = '[\,\?\.\!\-\;\:\"\“]'
|
91 |
+
|
92 |
# Preprocessing the datasets.
|
93 |
# We need to read the aduio files as arrays
|
94 |
def speech_file_to_array_fn(batch):
|