Cdial commited on
Commit
2bfb84f
1 Parent(s): 92d69b2

Upload README.md

Browse files
Files changed (1) hide show
  1. README.md +115 -3
README.md CHANGED
@@ -1,3 +1,115 @@
1
- ---
2
- license: apache-2.0
3
- ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ language:
3
+ - ha
4
+ license: apache-2.0
5
+ tags:
6
+ - automatic-speech-recognition
7
+ - mozilla-foundation/common_voice_8_0
8
+ - generated_from_trainer
9
+ - ha
10
+ - robust-speech-event
11
+ - model_for_talk
12
+ datasets:
13
+ - mozilla-foundation/common_voice_8_0
14
+
15
+ model-index:
16
+ - name: Akashpb13/Hausa_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: ha
25
+ metrics:
26
+ - name: Test WER
27
+ type: wer
28
+ value: 0.20614541257934219
29
+ - name: Test CER
30
+ type: cer
31
+ value: 0.04358048053214061
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: ha
39
+ metrics:
40
+ - name: Test WER
41
+ type: wer
42
+ value: 0.20614541257934219
43
+ - name: Test CER
44
+ type: cer
45
+ value: 0.04358048053214061
46
+ ---
47
+
48
+ # Akashpb13/Hausa_xlsr
49
+
50
+ This model is a fine-tuned version of [facebook/wav2vec2-xls-r-300m](https://huggingface.co/facebook/wav2vec2-xls-r-300m)
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.275118
53
+ - Wer: 0.329955
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 Hausa train.tsv, dev.tsv, invalidated.tsv, reported.tsv and other.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: 50
79
+ - mixed_precision_training: Native AMP
80
+
81
+
82
+ ### Training results
83
+
84
+ | Step | Training Loss | Validation Loss | Wer |
85
+ |------|---------------|-----------------|----------|
86
+ | 500 | 5.175900 | 2.750914 | 1.000000 |
87
+ | 1000 | 1.028700 | 0.338649 | 0.497999 |
88
+ | 1500 | 0.332200 | 0.246896 | 0.402241 |
89
+ | 2000 | 0.227300 | 0.239640 | 0.395839 |
90
+ | 2500 | 0.175000 | 0.239577 | 0.373966 |
91
+ | 3000 | 0.140400 | 0.243272 | 0.356095 |
92
+ | 3500 | 0.119200 | 0.263761 | 0.365164 |
93
+ | 4000 | 0.099300 | 0.265954 | 0.353428 |
94
+ | 4500 | 0.084400 | 0.276367 | 0.349693 |
95
+ | 5000 | 0.073700 | 0.282631 | 0.343825 |
96
+ | 5500 | 0.068000 | 0.282344 | 0.341158 |
97
+ | 6000 | 0.064500 | 0.281591 | 0.342491 |
98
+
99
+
100
+
101
+
102
+ ### Framework versions
103
+ - Transformers 4.16.0.dev0
104
+ - Pytorch 1.10.0+cu102
105
+ - Datasets 1.18.3
106
+ - Tokenizers 0.10.3
107
+
108
+ #### Evaluation Commands
109
+
110
+ 1. To evaluate on `mozilla-foundation/common_voice_8_0` with split `test`
111
+
112
+ ```bash
113
+ python eval.py --model_id Akashpb13/Hausa_xlsr --dataset mozilla-foundation/common_voice_8_0 --config ha --split test
114
+ ```
115
+