Commit
·
fc61f67
1
Parent(s):
b6f3e5a
Update README.md
Browse files
README.md
CHANGED
@@ -23,9 +23,9 @@ model-index:
|
|
23 |
name: Speech Recognition
|
24 |
type: automatic-speech-recognition
|
25 |
dataset:
|
26 |
-
name: Common Voice
|
27 |
type: common_voice
|
28 |
-
args:
|
29 |
metrics:
|
30 |
- name: Test WER
|
31 |
type: wer
|
@@ -93,7 +93,7 @@ processor = Wav2Vec2Processor.from_pretrained("joorock12/wav2vec2-large-xlsr-53-
|
|
93 |
model = Wav2Vec2ForCTC.from_pretrained("joorock12/wav2vec2-large-xlsr-53-portuguese")
|
94 |
model.to("cuda")
|
95 |
|
96 |
-
chars_to_ignore_regex = '[
|
97 |
resampler = torchaudio.transforms.Resample(48_000, 16_000)
|
98 |
|
99 |
# Preprocessing the datasets.
|
|
|
23 |
name: Speech Recognition
|
24 |
type: automatic-speech-recognition
|
25 |
dataset:
|
26 |
+
name: Common Voice pt
|
27 |
type: common_voice
|
28 |
+
args: pt
|
29 |
metrics:
|
30 |
- name: Test WER
|
31 |
type: wer
|
|
|
93 |
model = Wav2Vec2ForCTC.from_pretrained("joorock12/wav2vec2-large-xlsr-53-portuguese")
|
94 |
model.to("cuda")
|
95 |
|
96 |
+
chars_to_ignore_regex = '[\\\\,\\\\?\\\\.\\\\!\\\\-\\\\;\\\\:\\\\"\\\\“]'
|
97 |
resampler = torchaudio.transforms.Resample(48_000, 16_000)
|
98 |
|
99 |
# Preprocessing the datasets.
|