anuragshas
commited on
Commit
•
b6536b6
1
Parent(s):
b453537
Update README.md
Browse files
README.md
CHANGED
@@ -66,7 +66,7 @@ wer = load_metric("wer")
|
|
66 |
processor = Wav2Vec2Processor.from_pretrained("anuragshas/wav2vec2-large-xlsr-53-vietnamese")
|
67 |
model = Wav2Vec2ForCTC.from_pretrained("anuragshas/wav2vec2-large-xlsr-53-vietnamese")
|
68 |
model.to("cuda")
|
69 |
-
chars_to_ignore_regex = '[
|
70 |
resampler = torchaudio.transforms.Resample(48_000, 16_000)
|
71 |
# Preprocessing the datasets.
|
72 |
# We need to read the aduio files as arrays
|
|
|
66 |
processor = Wav2Vec2Processor.from_pretrained("anuragshas/wav2vec2-large-xlsr-53-vietnamese")
|
67 |
model = Wav2Vec2ForCTC.from_pretrained("anuragshas/wav2vec2-large-xlsr-53-vietnamese")
|
68 |
model.to("cuda")
|
69 |
+
chars_to_ignore_regex = '[\,\?\.\!\-\;\:\"\“]'
|
70 |
resampler = torchaudio.transforms.Resample(48_000, 16_000)
|
71 |
# Preprocessing the datasets.
|
72 |
# We need to read the aduio files as arrays
|