Update README.md
Browse files
README.md
CHANGED
|
@@ -24,7 +24,7 @@ model-index:
|
|
| 24 |
value: 37.36
|
| 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 Estonian 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-esto
|
|
| 85 |
model = Wav2Vec2ForCTC.from_pretrained("manandey/wav2vec2-large-xlsr-estonian")
|
| 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: 37.36
|
| 25 |
---
|
| 26 |
|
| 27 |
+
# Wav2Vec2-Large-XLSR-53-Estonian
|
| 28 |
|
| 29 |
Fine-tuned [facebook/wav2vec2-large-xlsr-53](https://huggingface.co/facebook/wav2vec2-large-xlsr-53) in Estonian 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-estonian")
|
| 86 |
model.to("cuda")
|
| 87 |
|
| 88 |
+
chars_to_ignore_regex = '[\\,\\?\\.\\!\\-\\;\\:\\"\\“\\%\\‘\\”\\�\\|\\।\\–\\’\\']'
|
| 89 |
resampler = torchaudio.transforms.Resample(48_000, 16_000)
|
| 90 |
|
| 91 |
# Preprocessing the datasets.
|