imvladikon
commited on
Commit
·
4d5e5ab
1
Parent(s):
7953bb5
End of training
Browse files- README.md +69 -0
- generation_config.json +15 -0
README.md
ADDED
@@ -0,0 +1,69 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
language:
|
3 |
+
- he
|
4 |
+
license: apache-2.0
|
5 |
+
base_model: openai/whisper-medium
|
6 |
+
tags:
|
7 |
+
- generated_from_trainer
|
8 |
+
metrics:
|
9 |
+
- wer
|
10 |
+
model-index:
|
11 |
+
- name: whisper-medium-he
|
12 |
+
results: []
|
13 |
+
---
|
14 |
+
|
15 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
16 |
+
should probably proofread and complete it, then remove this comment. -->
|
17 |
+
|
18 |
+
# whisper-medium-he
|
19 |
+
|
20 |
+
This model is a fine-tuned version of [openai/whisper-medium](https://huggingface.co/openai/whisper-medium) on the imvladikon/hebrew_speech_coursera dataset.
|
21 |
+
It achieves the following results on the evaluation set:
|
22 |
+
- Loss: 0.2042
|
23 |
+
- Wer: 12.9071
|
24 |
+
|
25 |
+
## Model description
|
26 |
+
|
27 |
+
More information needed
|
28 |
+
|
29 |
+
## Intended uses & limitations
|
30 |
+
|
31 |
+
More information needed
|
32 |
+
|
33 |
+
## Training and evaluation data
|
34 |
+
|
35 |
+
More information needed
|
36 |
+
|
37 |
+
## Training procedure
|
38 |
+
|
39 |
+
### Training hyperparameters
|
40 |
+
|
41 |
+
The following hyperparameters were used during training:
|
42 |
+
- learning_rate: 1e-05
|
43 |
+
- train_batch_size: 1
|
44 |
+
- eval_batch_size: 1
|
45 |
+
- seed: 42
|
46 |
+
- gradient_accumulation_steps: 2
|
47 |
+
- total_train_batch_size: 2
|
48 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
49 |
+
- lr_scheduler_type: linear
|
50 |
+
- lr_scheduler_warmup_steps: 500
|
51 |
+
- training_steps: 4000
|
52 |
+
- mixed_precision_training: Native AMP
|
53 |
+
|
54 |
+
### Training results
|
55 |
+
|
56 |
+
| Training Loss | Epoch | Step | Validation Loss | Wer |
|
57 |
+
|:-------------:|:-----:|:----:|:---------------:|:-------:|
|
58 |
+
| 0.1865 | 0.1 | 1000 | 0.3587 | 21.4973 |
|
59 |
+
| 0.2601 | 0.2 | 2000 | 0.2673 | 17.1157 |
|
60 |
+
| 0.2033 | 0.3 | 3000 | 0.2238 | 14.4325 |
|
61 |
+
| 0.1988 | 0.39 | 4000 | 0.2042 | 12.9071 |
|
62 |
+
|
63 |
+
|
64 |
+
### Framework versions
|
65 |
+
|
66 |
+
- Transformers 4.36.0.dev0
|
67 |
+
- Pytorch 2.1.0+cu118
|
68 |
+
- Datasets 2.15.0
|
69 |
+
- Tokenizers 0.15.0
|
generation_config.json
ADDED
@@ -0,0 +1,15 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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 |
+
"return_timestamps": false,
|
12 |
+
"suppress_tokens": [],
|
13 |
+
"transformers_version": "4.36.0.dev0",
|
14 |
+
"use_cache": false
|
15 |
+
}
|