Akashpb13 commited on
Commit
2bb73f2
1 Parent(s): a1b17ef

Create README.md

Browse files
Files changed (1) hide show
  1. README.md +106 -0
README.md ADDED
@@ -0,0 +1,106 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ language:
3
+ - kmr
4
+ license: apache-2.0
5
+ tags:
6
+ - automatic-speech-recognition
7
+ - mozilla-foundation/common_voice_8_0
8
+ - generated_from_trainer
9
+ - kmr
10
+ - robust-speech-event
11
+ - model_for_talk
12
+ datasets:
13
+ - mozilla-foundation/common_voice_8_0
14
+
15
+ model-index:
16
+ - name: Akashpb13/xlsr_kurmanji_kurdish
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.33073206986250464
29
+ - name: Test CER
30
+ type: cer
31
+ value: 0.08035244447163924
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: kmr
39
+ metrics:
40
+ - name: Test WER
41
+ type: wer
42
+ value: 0.33073206986250464
43
+ - name: Test CER
44
+ type: cer
45
+ value: 0.08035244447163924
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.292389
53
+ - Wer: 0.388585
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 Kurmanji Kurdish 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.000095637994662983496
72
+ - train_batch_size: 16
73
+ - eval_batch_size: 16
74
+ - seed: 13
75
+ - gradient_accumulation_steps: 16
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
+ | 200 | 4.382500 | 3.183725 | 1.000000 |
87
+ | 400 | 2.870200 | 0.996664 | 0.781117 |
88
+ | 600 | 0.609900 | 0.333755 | 0.445052 |
89
+ | 800 | 0.326800 | 0.305729 | 0.403157 |
90
+ | 1000 | 0.255000 | 0.290734 | 0.391621 |
91
+ | 1200 | 0.226300 | 0.292389 | 0.388585 |
92
+
93
+ ### Framework versions
94
+ - Transformers 4.16.0.dev0
95
+ - Pytorch 1.10.0+cu102
96
+ - Datasets 1.17.1.dev0
97
+ - Tokenizers 0.10.3
98
+
99
+ #### Evaluation Commands
100
+
101
+ 1. To evaluate on `mozilla-foundation/common_voice_8_0` with split `test`
102
+
103
+ ```bash
104
+ python eval.py --model_id Akashpb13/xlsr_kurmanji_kurdish --dataset mozilla-foundation/common_voice_8_0 --config kmr --split test
105
+ ```
106
+