bigmorning
commited on
Commit
•
e874c8f
1
Parent(s):
e9a970e
Upload TFWhisperForConditionalGeneration
Browse files- README.md +73 -0
- config.json +64 -0
- generation_config.json +117 -0
- tf_model.h5 +3 -0
README.md
ADDED
@@ -0,0 +1,73 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: apache-2.0
|
3 |
+
base_model: openai/whisper-tiny
|
4 |
+
tags:
|
5 |
+
- generated_from_keras_callback
|
6 |
+
model-index:
|
7 |
+
- name: wh_4_sun_syl_w_0_lr_8en5_new_0015
|
8 |
+
results: []
|
9 |
+
---
|
10 |
+
|
11 |
+
<!-- This model card has been generated automatically according to the information Keras had access to. You should
|
12 |
+
probably proofread and complete it, then remove this comment. -->
|
13 |
+
|
14 |
+
# wh_4_sun_syl_w_0_lr_8en5_new_0015
|
15 |
+
|
16 |
+
This model is a fine-tuned version of [openai/whisper-tiny](https://huggingface.co/openai/whisper-tiny) on an unknown dataset.
|
17 |
+
It achieves the following results on the evaluation set:
|
18 |
+
- Train Loss: 0.3395
|
19 |
+
- Train Accuracy: 0.0324
|
20 |
+
- Train Wermet: 0.0547
|
21 |
+
- Train Wermet Syl: 0.0714
|
22 |
+
- Validation Loss: 0.8982
|
23 |
+
- Validation Accuracy: 0.0218
|
24 |
+
- Validation Wermet: 0.2587
|
25 |
+
- Validation Wermet Syl: 0.2329
|
26 |
+
- Epoch: 14
|
27 |
+
|
28 |
+
## Model description
|
29 |
+
|
30 |
+
More information needed
|
31 |
+
|
32 |
+
## Intended uses & limitations
|
33 |
+
|
34 |
+
More information needed
|
35 |
+
|
36 |
+
## Training and evaluation data
|
37 |
+
|
38 |
+
More information needed
|
39 |
+
|
40 |
+
## Training procedure
|
41 |
+
|
42 |
+
### Training hyperparameters
|
43 |
+
|
44 |
+
The following hyperparameters were used during training:
|
45 |
+
- optimizer: {'name': 'AdamWeightDecay', 'learning_rate': 8e-05, 'decay': 0.0, 'beta_1': 0.9, 'beta_2': 0.999, 'epsilon': 1e-07, 'amsgrad': False, 'weight_decay_rate': 0}
|
46 |
+
- training_precision: float32
|
47 |
+
|
48 |
+
### Training results
|
49 |
+
|
50 |
+
| Train Loss | Train Accuracy | Train Wermet | Train Wermet Syl | Validation Loss | Validation Accuracy | Validation Wermet | Validation Wermet Syl | Epoch |
|
51 |
+
|:----------:|:--------------:|:------------:|:----------------:|:---------------:|:-------------------:|:-----------------:|:---------------------:|:-----:|
|
52 |
+
| 4.9473 | 0.0111 | 1.1332 | 1.0824 | 3.9300 | 0.0113 | 0.9772 | 0.9710 | 0 |
|
53 |
+
| 4.6712 | 0.0117 | 0.8506 | 0.8117 | 3.8878 | 0.0115 | 0.9268 | 0.8881 | 1 |
|
54 |
+
| 4.6221 | 0.0117 | 0.8367 | 0.7959 | 3.8674 | 0.0115 | 0.9247 | 0.8888 | 2 |
|
55 |
+
| 4.5022 | 0.0121 | 0.7836 | 0.7413 | 3.5242 | 0.0123 | 0.8394 | 0.7987 | 3 |
|
56 |
+
| 3.7874 | 0.0142 | 0.7029 | 0.6765 | 2.3850 | 0.0149 | 0.6752 | 0.6324 | 4 |
|
57 |
+
| 2.5092 | 0.0187 | 0.5239 | 0.5285 | 1.4988 | 0.0182 | 0.4595 | 0.4333 | 5 |
|
58 |
+
| 1.7333 | 0.0222 | 0.4129 | 0.4748 | 1.1810 | 0.0197 | 0.3791 | 0.3635 | 6 |
|
59 |
+
| 1.2826 | 0.0247 | 0.3217 | 0.3850 | 1.0531 | 0.0203 | 0.3334 | 0.3074 | 7 |
|
60 |
+
| 0.9965 | 0.0267 | 0.2482 | 0.3003 | 0.9782 | 0.0209 | 0.3112 | 0.3004 | 8 |
|
61 |
+
| 0.8306 | 0.0279 | 0.1937 | 0.2358 | 0.9286 | 0.0212 | 0.2943 | 0.2714 | 9 |
|
62 |
+
| 0.6918 | 0.0290 | 0.1522 | 0.1875 | 0.9175 | 0.0213 | 0.2839 | 0.2573 | 10 |
|
63 |
+
| 0.5595 | 0.0302 | 0.1177 | 0.1469 | 1.1712 | 0.0199 | 0.2826 | 0.2564 | 11 |
|
64 |
+
| 0.4914 | 0.0309 | 0.0907 | 0.1084 | 0.9066 | 0.0215 | 0.2700 | 0.2412 | 12 |
|
65 |
+
| 0.4207 | 0.0315 | 0.0735 | 0.0931 | 0.8965 | 0.0217 | 0.2686 | 0.2398 | 13 |
|
66 |
+
| 0.3395 | 0.0324 | 0.0547 | 0.0714 | 0.8982 | 0.0218 | 0.2587 | 0.2329 | 14 |
|
67 |
+
|
68 |
+
|
69 |
+
### Framework versions
|
70 |
+
|
71 |
+
- Transformers 4.34.0.dev0
|
72 |
+
- TensorFlow 2.13.0
|
73 |
+
- Tokenizers 0.13.3
|
config.json
ADDED
@@ -0,0 +1,64 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "openai/whisper-tiny",
|
3 |
+
"activation_dropout": 0.0,
|
4 |
+
"activation_function": "gelu",
|
5 |
+
"apply_spec_augment": false,
|
6 |
+
"architectures": [
|
7 |
+
"WhisperForConditionalGeneration"
|
8 |
+
],
|
9 |
+
"attention_dropout": 0.0,
|
10 |
+
"begin_suppress_tokens": [
|
11 |
+
50257
|
12 |
+
],
|
13 |
+
"bos_token_id": 50257,
|
14 |
+
"classifier_proj_size": 256,
|
15 |
+
"d_model": 384,
|
16 |
+
"decoder_attention_heads": 6,
|
17 |
+
"decoder_ffn_dim": 1536,
|
18 |
+
"decoder_layerdrop": 0.0,
|
19 |
+
"decoder_layers": 4,
|
20 |
+
"decoder_start_token_id": 50258,
|
21 |
+
"dropout": 0.0,
|
22 |
+
"encoder_attention_heads": 6,
|
23 |
+
"encoder_ffn_dim": 1536,
|
24 |
+
"encoder_layerdrop": 0.0,
|
25 |
+
"encoder_layers": 4,
|
26 |
+
"eos_token_id": 50257,
|
27 |
+
"forced_decoder_ids": [
|
28 |
+
[
|
29 |
+
1,
|
30 |
+
50289
|
31 |
+
],
|
32 |
+
[
|
33 |
+
2,
|
34 |
+
50359
|
35 |
+
],
|
36 |
+
[
|
37 |
+
3,
|
38 |
+
50363
|
39 |
+
]
|
40 |
+
],
|
41 |
+
"init_std": 0.02,
|
42 |
+
"is_encoder_decoder": true,
|
43 |
+
"mask_feature_length": 10,
|
44 |
+
"mask_feature_min_masks": 0,
|
45 |
+
"mask_feature_prob": 0.0,
|
46 |
+
"mask_time_length": 10,
|
47 |
+
"mask_time_min_masks": 2,
|
48 |
+
"mask_time_prob": 0.05,
|
49 |
+
"max_length": 448,
|
50 |
+
"max_source_positions": 1500,
|
51 |
+
"max_target_positions": 448,
|
52 |
+
"median_filter_width": 7,
|
53 |
+
"model_type": "whisper",
|
54 |
+
"num_hidden_layers": 4,
|
55 |
+
"num_mel_bins": 80,
|
56 |
+
"pad_token_id": -100,
|
57 |
+
"scale_embedding": false,
|
58 |
+
"suppress_tokens": [],
|
59 |
+
"torch_dtype": "float32",
|
60 |
+
"transformers_version": "4.34.0.dev0",
|
61 |
+
"use_cache": true,
|
62 |
+
"use_weighted_layer_sum": false,
|
63 |
+
"vocab_size": 51865
|
64 |
+
}
|
generation_config.json
ADDED
@@ -0,0 +1,117 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_from_model_config": true,
|
3 |
+
"begin_suppress_tokens": [
|
4 |
+
220,
|
5 |
+
50257
|
6 |
+
],
|
7 |
+
"bos_token_id": 50257,
|
8 |
+
"decoder_start_token_id": 50258,
|
9 |
+
"eos_token_id": 50257,
|
10 |
+
"forced_decoder_ids": [
|
11 |
+
[
|
12 |
+
1,
|
13 |
+
50259
|
14 |
+
],
|
15 |
+
[
|
16 |
+
2,
|
17 |
+
50359
|
18 |
+
],
|
19 |
+
[
|
20 |
+
3,
|
21 |
+
50363
|
22 |
+
]
|
23 |
+
],
|
24 |
+
"max_length": 448,
|
25 |
+
"pad_token_id": 50257,
|
26 |
+
"suppress_tokens": [
|
27 |
+
1,
|
28 |
+
2,
|
29 |
+
7,
|
30 |
+
8,
|
31 |
+
9,
|
32 |
+
10,
|
33 |
+
14,
|
34 |
+
25,
|
35 |
+
26,
|
36 |
+
27,
|
37 |
+
28,
|
38 |
+
29,
|
39 |
+
31,
|
40 |
+
58,
|
41 |
+
59,
|
42 |
+
60,
|
43 |
+
61,
|
44 |
+
62,
|
45 |
+
63,
|
46 |
+
90,
|
47 |
+
91,
|
48 |
+
92,
|
49 |
+
93,
|
50 |
+
359,
|
51 |
+
503,
|
52 |
+
522,
|
53 |
+
542,
|
54 |
+
873,
|
55 |
+
893,
|
56 |
+
902,
|
57 |
+
918,
|
58 |
+
922,
|
59 |
+
931,
|
60 |
+
1350,
|
61 |
+
1853,
|
62 |
+
1982,
|
63 |
+
2460,
|
64 |
+
2627,
|
65 |
+
3246,
|
66 |
+
3253,
|
67 |
+
3268,
|
68 |
+
3536,
|
69 |
+
3846,
|
70 |
+
3961,
|
71 |
+
4183,
|
72 |
+
4667,
|
73 |
+
6585,
|
74 |
+
6647,
|
75 |
+
7273,
|
76 |
+
9061,
|
77 |
+
9383,
|
78 |
+
10428,
|
79 |
+
10929,
|
80 |
+
11938,
|
81 |
+
12033,
|
82 |
+
12331,
|
83 |
+
12562,
|
84 |
+
13793,
|
85 |
+
14157,
|
86 |
+
14635,
|
87 |
+
15265,
|
88 |
+
15618,
|
89 |
+
16553,
|
90 |
+
16604,
|
91 |
+
18362,
|
92 |
+
18956,
|
93 |
+
20075,
|
94 |
+
21675,
|
95 |
+
22520,
|
96 |
+
26130,
|
97 |
+
26161,
|
98 |
+
26435,
|
99 |
+
28279,
|
100 |
+
29464,
|
101 |
+
31650,
|
102 |
+
32302,
|
103 |
+
32470,
|
104 |
+
36865,
|
105 |
+
42863,
|
106 |
+
47425,
|
107 |
+
49870,
|
108 |
+
50254,
|
109 |
+
50258,
|
110 |
+
50358,
|
111 |
+
50359,
|
112 |
+
50360,
|
113 |
+
50361,
|
114 |
+
50362
|
115 |
+
],
|
116 |
+
"transformers_version": "4.34.0.dev0"
|
117 |
+
}
|
tf_model.h5
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:c584cea6ea79ae82d526eaab91d30937821ba6136af15e1bbc161c8cf7979144
|
3 |
+
size 151253960
|