Akashpb13 commited on
Commit
839787d
1 Parent(s): e93045c

Create README.md

Browse files
Files changed (1) hide show
  1. README.md +117 -0
README.md ADDED
@@ -0,0 +1,117 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ language:
3
+ - gl
4
+ license: apache-2.0
5
+ tags:
6
+ - automatic-speech-recognition
7
+ - mozilla-foundation/common_voice_8_0
8
+ - generated_from_trainer
9
+ - gl
10
+ - robust-speech-event
11
+ - model_for_talk
12
+ datasets:
13
+ - mozilla-foundation/common_voice_8_0
14
+
15
+ model-index:
16
+ - name: Akashpb13/Galician_xlsr
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: kmr
25
+ metrics:
26
+ - name: Test WER
27
+ type: wer
28
+ value: 0.11308483789555426
29
+ - name: Test CER
30
+ type: cer
31
+ value: 0.023982371794871796
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: gl
39
+ metrics:
40
+ - name: Test WER
41
+ type: wer
42
+ value: 0.11308483789555426
43
+ - name: Test CER
44
+ type: cer
45
+ value: 0.023982371794871796
46
+ ---
47
+
48
+ # Akashpb13/xlsr_hungarian_new
49
+
50
+ This model is a fine-tuned version of [facebook/wav2vec2-xls-r-300m](https://huggingface.co/facebook/wav2vec2-xls-r-300m) on the MOZILLA-FOUNDATION/COMMON_VOICE_7_0 - hu dataset.
51
+ It achieves the following results on the evaluation set (which is 10 percent of train data set merged with invalidated data, reported, other, and dev datasets):
52
+ - Loss: 0.137096
53
+ - Wer: 0.196230
54
+ ## Model description
55
+ "facebook/wav2vec2-xls-r-300m" was finetuned.
56
+
57
+ ## Intended uses & limitations
58
+ More information needed
59
+ ## Training and evaluation data
60
+ Training data -
61
+ Common voice Galician train.tsv, dev.tsv, invalidated.tsv, reported.tsv, other.tsv and validated.tsv
62
+ Only those points were considered where upvotes were greater than downvotes and duplicates were removed after concatenation of all the datasets given in common voice 7.0
63
+
64
+ ## Training procedure
65
+ For creating the training dataset, all possible datasets were appended and 90-10 split was used.
66
+
67
+ ### Training hyperparameters
68
+
69
+ The following hyperparameters were used during training:
70
+
71
+ - learning_rate: 0.000096
72
+ - train_batch_size: 16
73
+ - eval_batch_size: 16
74
+ - seed: 13
75
+ - gradient_accumulation_steps: 2
76
+ - lr_scheduler_type: cosine_with_restarts
77
+ - lr_scheduler_warmup_steps: 500
78
+ - num_epochs: 100
79
+ - mixed_precision_training: Native AMP
80
+
81
+
82
+ ### Training results
83
+
84
+ | Step | Training Loss | Validation Loss | Wer |
85
+ |------|---------------|-----------------|----------|
86
+ | 500 | 5.004400 | 2.960605 | 1.000000 |
87
+ | 1000 | 1.653100 | 0.248843 | 0.354571 |
88
+ | 1500 | 0.259100 | 0.149203 | 0.251272 |
89
+ | 2000 | 0.155200 | 0.142355 | 0.227521 |
90
+ | 2500 | 0.118900 | 0.134033 | 0.217154 |
91
+ | 3000 | 0.100200 | 0.134676 | 0.216588 |
92
+ | 3500 | 0.085800 | 0.138649 | 0.219416 |
93
+ | 4000 | 0.075700 | 0.138660 | 0.212441 |
94
+ | 4500 | 0.066200 | 0.142651 | 0.208671 |
95
+ | 5000 | 0.060300 | 0.136673 | 0.204713 |
96
+ | 5500 | 0.054600 | 0.132755 | 0.202828 |
97
+ | 6000 | 0.048100 | 0.136589 | 0.198115 |
98
+ | 6500 | 0.044800 | 0.140990 | 0.199246 |
99
+ | 7000 | 0.039700 | 0.136947 | 0.196984 |
100
+ | 7500 | 0.040200 | 0.140098 | 0.196418 |
101
+ | 8000 | 0.037800 | 0.137096 | 0.196230 |
102
+
103
+
104
+ ### Framework versions
105
+ - Transformers 4.16.0.dev0
106
+ - Pytorch 1.10.0+cu102
107
+ - Datasets 1.17.1.dev0
108
+ - Tokenizers 0.10.3
109
+
110
+ #### Evaluation Commands
111
+
112
+ 1. To evaluate on `mozilla-foundation/common_voice_8_0` with split `test`
113
+
114
+ ```bash
115
+ python eval.py --model_id Akashpb13/Galician_xlsr --dataset mozilla-foundation/common_voice_8_0 --config gl --split test
116
+ ```
117
+