sammy786 commited on
Commit
feb8838
1 Parent(s): 6bc884d

Create README.md

Browse files
Files changed (1) hide show
  1. README.md +104 -0
README.md ADDED
@@ -0,0 +1,104 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ language:
3
+ - ka
4
+ license: apache-2.0
5
+ tags:
6
+ - automatic-speech-recognition
7
+ - mozilla-foundation/common_voice_8_0
8
+ - generated_from_trainer
9
+ - ka
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: ka
25
+ metrics:
26
+ - name: Test WER
27
+ type: wer
28
+ value: 26.70
29
+ - name: Test CER
30
+ type: cer
31
+ value: 4.22
32
+
33
+ ---
34
+ # sammy786/wav2vec2-xlsr-georgian
35
+
36
+ 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 - ka dataset.
37
+ It achieves the following results on evaluation set (which is 10 percent of train data set merged with other and dev datasets):
38
+ - Loss: 10.54
39
+ - Wer: 27.53
40
+
41
+ ## Model description
42
+ "facebook/wav2vec2-xls-r-1b" was finetuned.
43
+
44
+ ## Intended uses & limitations
45
+ More information needed
46
+ ## Training and evaluation data
47
+ Training data -
48
+ Common voice Finnish train.tsv, dev.tsv and other.tsv
49
+
50
+ ## Training procedure
51
+ For creating the train dataset, all possible datasets were appended and 90-10 split was used.
52
+
53
+ ### Training hyperparameters
54
+
55
+ The following hyperparameters were used during training:
56
+
57
+ - learning_rate: 0.000045637994662983496
58
+ - train_batch_size: 8
59
+ - eval_batch_size: 16
60
+ - seed: 13
61
+ - gradient_accumulation_steps: 4
62
+ - total_train_batch_size: 32
63
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
64
+ - lr_scheduler_type: cosine_with_restarts
65
+ - lr_scheduler_warmup_steps: 500
66
+ - num_epochs: 30
67
+ - mixed_precision_training: Native AMP
68
+
69
+
70
+
71
+
72
+ ### Training results
73
+
74
+
75
+ | Step | Training Loss | Validation Loss | Wer |
76
+ |:----:|:-------------:|:---------------:|:--------:|
77
+ | 200 | 4.152100 | 0.823672 | 0.967814 |
78
+ | 400 | 0.889500 | 0.196740 | 0.444792 |
79
+ | 600 | 0.493700 | 0.155659 | 0.366115 |
80
+ | 800 | 0.328000 | 0.138066 | 0.358069 |
81
+ | 1000 | 0.260600 | 0.119236 | 0.324989 |
82
+ | 1200 | 0.217200 | 0.114050 | 0.313366 |
83
+ | 1400 | 0.188800 | 0.112600 | 0.302190 |
84
+ | 1600 | 0.166900 | 0.111154 | 0.295485 |
85
+ | 1800 | 0.155500 | 0.109963 | 0.286544 |
86
+ | 2000 | 0.140400 | 0.107587 | 0.277604 |
87
+ | 2200 | 0.142600 | 0.105662 | 0.277157 |
88
+ | 2400 | 0.135400 | 0.105414 | 0.275369 |
89
+
90
+
91
+
92
+ ### Framework versions
93
+ - Transformers 4.16.0.dev0
94
+ - Pytorch 1.10.0+cu102
95
+ - Datasets 1.17.1.dev0
96
+ - Tokenizers 0.10.3
97
+
98
+ #### Evaluation Commands
99
+
100
+ 1. To evaluate on `mozilla-foundation/common_voice_8_0` with split `test`
101
+
102
+ ```bash
103
+ python eval.py --model_id sammy786/wav2vec2-xlsr-georgian --dataset mozilla-foundation/common_voice_8_0 --config ka --split test
104
+ ```