kingabzpro
commited on
Commit
•
4505ee4
1
Parent(s):
f3e110a
update model card README.md
Browse files
README.md
CHANGED
@@ -1,76 +1,42 @@
|
|
1 |
---
|
2 |
-
language:
|
3 |
-
- ur
|
4 |
-
|
5 |
-
license: apache-2.0
|
6 |
tags:
|
7 |
-
-
|
8 |
-
- robust-speech-event
|
9 |
datasets:
|
10 |
-
-
|
11 |
-
metrics:
|
12 |
-
- wer
|
13 |
-
- cer
|
14 |
model-index:
|
15 |
- name: wav2vec2-60-urdu
|
16 |
-
results:
|
17 |
-
- task:
|
18 |
-
type: automatic-speech-recognition # Required. Example: automatic-speech-recognition
|
19 |
-
name: Urdu Speech Recognition # Optional. Example: Speech Recognition
|
20 |
-
dataset:
|
21 |
-
type: mozilla-foundation/common_voice_7_0 # Required. Example: common_voice. Use dataset id from https://hf.co/datasets
|
22 |
-
name: Urdu # Required. Example: Common Voice zh-CN
|
23 |
-
args: ur # Optional. Example: zh-CN
|
24 |
-
metrics:
|
25 |
-
- type: wer # Required. Example: wer
|
26 |
-
value: 59.2 # Required. Example: 20.90
|
27 |
-
name: Test WER # Optional. Example: Test WER
|
28 |
-
args:
|
29 |
-
- learning_rate: 0.0003
|
30 |
-
- train_batch_size: 16
|
31 |
-
- eval_batch_size: 8
|
32 |
-
- seed: 42
|
33 |
-
- gradient_accumulation_steps: 2
|
34 |
-
- total_train_batch_size: 32
|
35 |
-
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
36 |
-
- lr_scheduler_type: linear
|
37 |
-
- lr_scheduler_warmup_steps: 200
|
38 |
-
- num_epochs: 50
|
39 |
-
- mixed_precision_training: Native AMP # Optional. Example for BLEU: max_order
|
40 |
-
- type: cer # Required. Example: wer
|
41 |
-
value: 32.9 # Required. Example: 20.90
|
42 |
-
name: Test CER # Optional. Example: Test WER
|
43 |
-
args:
|
44 |
-
- learning_rate: 0.0003
|
45 |
-
- train_batch_size: 16
|
46 |
-
- eval_batch_size: 8
|
47 |
-
- seed: 42
|
48 |
-
- gradient_accumulation_steps: 2
|
49 |
-
- total_train_batch_size: 32
|
50 |
-
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
51 |
-
- lr_scheduler_type: linear
|
52 |
-
- lr_scheduler_warmup_steps: 200
|
53 |
-
- num_epochs: 50
|
54 |
-
- mixed_precision_training: Native AMP # Optional. Example for BLEU: max_order
|
55 |
---
|
56 |
-
|
|
|
|
|
|
|
|
|
57 |
|
58 |
This model is a fine-tuned version of [Harveenchadha/vakyansh-wav2vec2-urdu-urm-60](https://huggingface.co/Harveenchadha/vakyansh-wav2vec2-urdu-urm-60) on the common_voice dataset.
|
59 |
It achieves the following results on the evaluation set:
|
60 |
-
-
|
61 |
-
-
|
|
|
62 |
|
63 |
## Model description
|
64 |
-
The training and valid dataset is 0.58 hours. It was hard to train any model on lower number of so I decided to take vakyansh-wav2vec2-urdu-urm-60 checkpoint and finetune the wav2vec2 model.
|
65 |
|
66 |
-
|
67 |
-
|
|
|
68 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
69 |
|
70 |
### Training hyperparameters
|
71 |
|
72 |
The following hyperparameters were used during training:
|
73 |
-
- learning_rate: 0.
|
74 |
- train_batch_size: 16
|
75 |
- eval_batch_size: 8
|
76 |
- seed: 42
|
@@ -78,20 +44,21 @@ The following hyperparameters were used during training:
|
|
78 |
- total_train_batch_size: 32
|
79 |
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
80 |
- lr_scheduler_type: linear
|
81 |
-
- lr_scheduler_warmup_steps:
|
82 |
-
- num_epochs:
|
83 |
- mixed_precision_training: Native AMP
|
84 |
|
85 |
### Training results
|
86 |
|
87 |
-
| Training Loss | Epoch | Step | Wer | Cer |
|
88 |
-
|
89 |
-
|
|
90 |
-
|
|
91 |
-
|
|
92 |
-
|
|
93 |
-
|
|
94 |
-
|
|
|
|
95 |
|
96 |
|
97 |
### Framework versions
|
|
|
1 |
---
|
|
|
|
|
|
|
|
|
2 |
tags:
|
3 |
+
- generated_from_trainer
|
|
|
4 |
datasets:
|
5 |
+
- common_voice
|
|
|
|
|
|
|
6 |
model-index:
|
7 |
- name: wav2vec2-60-urdu
|
8 |
+
results: []
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
9 |
---
|
10 |
+
|
11 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
12 |
+
should probably proofread and complete it, then remove this comment. -->
|
13 |
+
|
14 |
+
# wav2vec2-60-urdu
|
15 |
|
16 |
This model is a fine-tuned version of [Harveenchadha/vakyansh-wav2vec2-urdu-urm-60](https://huggingface.co/Harveenchadha/vakyansh-wav2vec2-urdu-urm-60) on the common_voice dataset.
|
17 |
It achieves the following results on the evaluation set:
|
18 |
+
- Loss: 8.8609
|
19 |
+
- Wer: 0.5948
|
20 |
+
- Cer: 0.3176
|
21 |
|
22 |
## Model description
|
|
|
23 |
|
24 |
+
More information needed
|
25 |
+
|
26 |
+
## Intended uses & limitations
|
27 |
|
28 |
+
More information needed
|
29 |
+
|
30 |
+
## Training and evaluation data
|
31 |
+
|
32 |
+
More information needed
|
33 |
+
|
34 |
+
## Training procedure
|
35 |
|
36 |
### Training hyperparameters
|
37 |
|
38 |
The following hyperparameters were used during training:
|
39 |
+
- learning_rate: 0.0001
|
40 |
- train_batch_size: 16
|
41 |
- eval_batch_size: 8
|
42 |
- seed: 42
|
|
|
44 |
- total_train_batch_size: 32
|
45 |
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
46 |
- lr_scheduler_type: linear
|
47 |
+
- lr_scheduler_warmup_steps: 100
|
48 |
+
- num_epochs: 30
|
49 |
- mixed_precision_training: Native AMP
|
50 |
|
51 |
### Training results
|
52 |
|
53 |
+
| Training Loss | Epoch | Step | Validation Loss | Wer | Cer |
|
54 |
+
|:-------------:|:-----:|:----:|:---------------:|:------:|:------:|
|
55 |
+
| 24.6193 | 4.17 | 50 | 8.8884 | 1.4349 | 0.6538 |
|
56 |
+
| 4.0847 | 8.33 | 100 | 8.9820 | 0.8175 | 0.4775 |
|
57 |
+
| 2.7909 | 12.5 | 150 | 10.4491 | 0.6559 | 0.4129 |
|
58 |
+
| 1.8326 | 16.67 | 200 | 8.7698 | 0.6105 | 0.3530 |
|
59 |
+
| 1.2727 | 20.83 | 250 | 8.7352 | 0.6061 | 0.3302 |
|
60 |
+
| 1.0649 | 25.0 | 300 | 8.7588 | 0.6079 | 0.3240 |
|
61 |
+
| 1.0751 | 29.17 | 350 | 8.8609 | 0.5948 | 0.3176 |
|
62 |
|
63 |
|
64 |
### Framework versions
|