End of training
Browse files- README.md +87 -0
- generation_config.json +14 -0
- model.safetensors +1 -1
README.md
ADDED
@@ -0,0 +1,87 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: apache-2.0
|
3 |
+
base_model: steja/whisper-small-persian
|
4 |
+
tags:
|
5 |
+
- generated_from_trainer
|
6 |
+
datasets:
|
7 |
+
- fleurs
|
8 |
+
metrics:
|
9 |
+
- wer
|
10 |
+
model-index:
|
11 |
+
- name: pashto-asr-cws-v1
|
12 |
+
results:
|
13 |
+
- task:
|
14 |
+
name: Automatic Speech Recognition
|
15 |
+
type: automatic-speech-recognition
|
16 |
+
dataset:
|
17 |
+
name: fleurs
|
18 |
+
type: fleurs
|
19 |
+
config: ps_af
|
20 |
+
split: None
|
21 |
+
args: ps_af
|
22 |
+
metrics:
|
23 |
+
- name: Wer
|
24 |
+
type: wer
|
25 |
+
value: 49.37953995157385
|
26 |
+
---
|
27 |
+
|
28 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
29 |
+
should probably proofread and complete it, then remove this comment. -->
|
30 |
+
|
31 |
+
# pashto-asr-cws-v1
|
32 |
+
|
33 |
+
This model is a fine-tuned version of [steja/whisper-small-persian](https://huggingface.co/steja/whisper-small-persian) on the fleurs dataset.
|
34 |
+
It achieves the following results on the evaluation set:
|
35 |
+
- Loss: 0.7501
|
36 |
+
- Wer: 49.3795
|
37 |
+
- Cer: 20.8766
|
38 |
+
|
39 |
+
## Model description
|
40 |
+
|
41 |
+
More information needed
|
42 |
+
|
43 |
+
## Intended uses & limitations
|
44 |
+
|
45 |
+
More information needed
|
46 |
+
|
47 |
+
## Training and evaluation data
|
48 |
+
|
49 |
+
More information needed
|
50 |
+
|
51 |
+
## Training procedure
|
52 |
+
|
53 |
+
### Training hyperparameters
|
54 |
+
|
55 |
+
The following hyperparameters were used during training:
|
56 |
+
- learning_rate: 1e-05
|
57 |
+
- train_batch_size: 32
|
58 |
+
- eval_batch_size: 16
|
59 |
+
- seed: 42
|
60 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
61 |
+
- lr_scheduler_type: linear
|
62 |
+
- lr_scheduler_warmup_steps: 30
|
63 |
+
- training_steps: 1000
|
64 |
+
- mixed_precision_training: Native AMP
|
65 |
+
|
66 |
+
### Training results
|
67 |
+
|
68 |
+
| Training Loss | Epoch | Step | Validation Loss | Wer | Cer |
|
69 |
+
|:-------------:|:------:|:----:|:---------------:|:-------:|:-------:|
|
70 |
+
| 0.7899 | 0.8065 | 100 | 0.8629 | 75.8323 | 47.9045 |
|
71 |
+
| 0.5051 | 1.6129 | 200 | 0.6860 | 52.9888 | 23.1242 |
|
72 |
+
| 0.3555 | 2.4194 | 300 | 0.6612 | 51.6798 | 22.9404 |
|
73 |
+
| 0.257 | 3.2258 | 400 | 0.6565 | 49.2660 | 21.0588 |
|
74 |
+
| 0.2174 | 4.0323 | 500 | 0.6560 | 47.1777 | 19.8523 |
|
75 |
+
| 0.1626 | 4.8387 | 600 | 0.6787 | 48.7591 | 20.4305 |
|
76 |
+
| 0.1268 | 5.6452 | 700 | 0.7062 | 49.4401 | 21.0137 |
|
77 |
+
| 0.0871 | 6.4516 | 800 | 0.7279 | 49.2433 | 20.7062 |
|
78 |
+
| 0.0685 | 7.2581 | 900 | 0.7443 | 49.3795 | 21.2276 |
|
79 |
+
| 0.0662 | 8.0645 | 1000 | 0.7501 | 49.3795 | 20.8766 |
|
80 |
+
|
81 |
+
|
82 |
+
### Framework versions
|
83 |
+
|
84 |
+
- Transformers 4.42.4
|
85 |
+
- Pytorch 2.3.1+cu121
|
86 |
+
- Datasets 2.20.0
|
87 |
+
- Tokenizers 0.19.1
|
generation_config.json
ADDED
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"begin_suppress_tokens": [
|
3 |
+
220,
|
4 |
+
50257
|
5 |
+
],
|
6 |
+
"bos_token_id": 50257,
|
7 |
+
"decoder_start_token_id": 50258,
|
8 |
+
"eos_token_id": 50257,
|
9 |
+
"max_length": 448,
|
10 |
+
"pad_token_id": 50257,
|
11 |
+
"suppress_tokens": [],
|
12 |
+
"transformers_version": "4.42.4",
|
13 |
+
"use_cache": false
|
14 |
+
}
|
model.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 966995080
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:f07b6a530db10a1603e65e7a17617172e691348e86a285065523113719173bb6
|
3 |
size 966995080
|