Update README.md
Browse files
README.md
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
---
|
2 |
-
language:
|
3 |
datasets:
|
4 |
- common_voice
|
5 |
metrics:
|
@@ -18,7 +18,7 @@ model-index:
|
|
18 |
dataset:
|
19 |
name: Common Voice gle
|
20 |
type: common_voice
|
21 |
-
args:
|
22 |
metrics:
|
23 |
- name: Test WER
|
24 |
type: wer
|
@@ -32,7 +32,7 @@ import torch
|
|
32 |
import torchaudio
|
33 |
from datasets import load_dataset
|
34 |
from transformers import Wav2Vec2ForCTC, Wav2Vec2Processor
|
35 |
-
test_dataset = load_dataset("common_voice", "
|
36 |
processor = Wav2Vec2Processor.from_pretrained("Semih/wav2vec2_Irish_Large")
|
37 |
model = Wav2Vec2ForCTC.from_pretrained("Semih/wav2vec2_Irish_Large")
|
38 |
resampler = torchaudio.transforms.Resample(48_000, 16_000)
|
|
|
1 |
---
|
2 |
+
language: ga-IE
|
3 |
datasets:
|
4 |
- common_voice
|
5 |
metrics:
|
|
|
18 |
dataset:
|
19 |
name: Common Voice gle
|
20 |
type: common_voice
|
21 |
+
args: ga-IE
|
22 |
metrics:
|
23 |
- name: Test WER
|
24 |
type: wer
|
|
|
32 |
import torchaudio
|
33 |
from datasets import load_dataset
|
34 |
from transformers import Wav2Vec2ForCTC, Wav2Vec2Processor
|
35 |
+
test_dataset = load_dataset("common_voice", "ga-IE", split="test[:2%]")
|
36 |
processor = Wav2Vec2Processor.from_pretrained("Semih/wav2vec2_Irish_Large")
|
37 |
model = Wav2Vec2ForCTC.from_pretrained("Semih/wav2vec2_Irish_Large")
|
38 |
resampler = torchaudio.transforms.Resample(48_000, 16_000)
|