Update README.md
Browse files
README.md
CHANGED
@@ -24,7 +24,7 @@ model-index:
|
|
24 |
value: 54.04
|
25 |
---
|
26 |
|
27 |
-
# Wav2Vec2-Large-XLSR-53-
|
28 |
|
29 |
Fine-tuned [facebook/wav2vec2-large-xlsr-53](https://huggingface.co/facebook/wav2vec2-large-xlsr-53) in Breton using the [Common Voice](https://huggingface.co/datasets/common_voice)
|
30 |
When using this model, make sure that your speech input is sampled at 16kHz.
|
@@ -85,7 +85,7 @@ processor = Wav2Vec2Processor.from_pretrained("manandey/wav2vec2-large-xlsr-bret
|
|
85 |
model = Wav2Vec2ForCTC.from_pretrained("manandey/wav2vec2-large-xlsr-breton")
|
86 |
model.to("cuda")
|
87 |
|
88 |
-
chars_to_ignore_regex = '[
|
89 |
resampler = torchaudio.transforms.Resample(48_000, 16_000)
|
90 |
|
91 |
# Preprocessing the datasets.
|
|
|
24 |
value: 54.04
|
25 |
---
|
26 |
|
27 |
+
# Wav2Vec2-Large-XLSR-53-Breton
|
28 |
|
29 |
Fine-tuned [facebook/wav2vec2-large-xlsr-53](https://huggingface.co/facebook/wav2vec2-large-xlsr-53) in Breton using the [Common Voice](https://huggingface.co/datasets/common_voice)
|
30 |
When using this model, make sure that your speech input is sampled at 16kHz.
|
|
|
85 |
model = Wav2Vec2ForCTC.from_pretrained("manandey/wav2vec2-large-xlsr-breton")
|
86 |
model.to("cuda")
|
87 |
|
88 |
+
chars_to_ignore_regex = '[\\,\\?\\.\\!\\-\\;\\:\\"\\“\\%\\‘\\”\\�\\’\\–\\(\\)\\/\\«\\»\\½\\…]'
|
89 |
resampler = torchaudio.transforms.Resample(48_000, 16_000)
|
90 |
|
91 |
# Preprocessing the datasets.
|