Create README.md
Browse files
README.md
ADDED
@@ -0,0 +1,96 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
language:
|
3 |
+
- cs
|
4 |
+
license: apache-2.0
|
5 |
+
tags:
|
6 |
+
- automatic-speech-recognition
|
7 |
+
- mozilla-foundation/common_voice_8_0
|
8 |
+
- generated_from_trainer
|
9 |
+
- cs
|
10 |
+
- robust-speech-event
|
11 |
+
- model_for_talk
|
12 |
+
datasets:
|
13 |
+
- mozilla-foundation/common_voice_8_0
|
14 |
+
|
15 |
+
model-index:
|
16 |
+
- name: sammy786/wav2vec2-xlsr-czech
|
17 |
+
results:
|
18 |
+
- task:
|
19 |
+
name: Automatic Speech Recognition
|
20 |
+
type: automatic-speech-recognition
|
21 |
+
dataset:
|
22 |
+
name: Common Voice 8
|
23 |
+
type: mozilla-foundation/common_voice_8_0
|
24 |
+
args: fi
|
25 |
+
metrics:
|
26 |
+
- name: Test WER
|
27 |
+
type: wer
|
28 |
+
value: 11.533
|
29 |
+
- name: Test CER
|
30 |
+
type: cer
|
31 |
+
value: 2.61
|
32 |
+
- task:
|
33 |
+
name: Automatic Speech Recognition
|
34 |
+
type: automatic-speech-recognition
|
35 |
+
dataset:
|
36 |
+
name: Robust Speech Event - Dev Data
|
37 |
+
type: speech-recognition-community-v2/dev_data
|
38 |
+
args: fi
|
39 |
+
metrics:
|
40 |
+
- name: Test WER
|
41 |
+
type: wer
|
42 |
+
value: 11.533
|
43 |
+
- name: Test CER
|
44 |
+
type: cer
|
45 |
+
value: 2.611
|
46 |
+
---
|
47 |
+
# sammy786/wav2vec2-xlsr-czech
|
48 |
+
|
49 |
+
This model is a fine-tuned version of [facebook/wav2vec2-xls-r-1b](https://huggingface.co/facebook/wav2vec2-xls-r-1b) on the MOZILLA-FOUNDATION/COMMON_VOICE_8_0 - cs dataset.
|
50 |
+
It achieves the following results on evaluation set (which is 10 percent of train data set merged with other and dev datasets):
|
51 |
+
- Loss: 9.7555
|
52 |
+
- Wer: 18.4731
|
53 |
+
|
54 |
+
## Model description
|
55 |
+
"facebook/wav2vec2-xls-r-1b" was finetuned.
|
56 |
+
|
57 |
+
## Intended uses & limitations
|
58 |
+
More information needed
|
59 |
+
## Training and evaluation data
|
60 |
+
Training data -
|
61 |
+
Common voice Finnish train.tsv, dev.tsv, invalidated.tsv and other.tsv
|
62 |
+
|
63 |
+
## Training procedure
|
64 |
+
For creating the train dataset, all possible datasets were appended and 90-10 split was used.
|
65 |
+
|
66 |
+
### Training hyperparameters
|
67 |
+
|
68 |
+
The following hyperparameters were used during training:
|
69 |
+
|
70 |
+
- learning_rate: 0.000045637994662983496
|
71 |
+
- train_batch_size: 8
|
72 |
+
- eval_batch_size: 16
|
73 |
+
- seed: 13
|
74 |
+
- gradient_accumulation_steps: 4
|
75 |
+
- total_train_batch_size: 32
|
76 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
77 |
+
- lr_scheduler_type: cosine_with_restarts
|
78 |
+
- lr_scheduler_warmup_steps: 500
|
79 |
+
- num_epochs: 7
|
80 |
+
- mixed_precision_training: Native AMP
|
81 |
+
|
82 |
+
|
83 |
+
|
84 |
+
### Framework versions
|
85 |
+
- Transformers 4.16.0.dev0
|
86 |
+
- Pytorch 1.10.0+cu102
|
87 |
+
- Datasets 1.17.1.dev0
|
88 |
+
- Tokenizers 0.10.3
|
89 |
+
|
90 |
+
#### Evaluation Commands
|
91 |
+
|
92 |
+
1. To evaluate on `mozilla-foundation/common_voice_8_0` with split `test`
|
93 |
+
|
94 |
+
```bash
|
95 |
+
python eval.py --model_id sammy786/wav2vec2-xlsr-czech --dataset mozilla-foundation/common_voice_8_0 --config cs --split test
|
96 |
+
```
|