bigmorning
commited on
Commit
•
c174fc0
1
Parent(s):
cf8c4c5
Upload TFWhisperForConditionalGeneration
Browse files- README.md +116 -0
- config.json +51 -0
- generation_config.json +117 -0
- tf_model.h5 +3 -0
README.md
ADDED
@@ -0,0 +1,116 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: apache-2.0
|
3 |
+
base_model: openai/whisper-tiny
|
4 |
+
tags:
|
5 |
+
- generated_from_keras_callback
|
6 |
+
model-index:
|
7 |
+
- name: whisper_input_decoder_equal_labels_no_force__0060
|
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 |
+
# whisper_input_decoder_equal_labels_no_force__0060
|
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.0000
|
19 |
+
- Train Accuracy: 0.0362
|
20 |
+
- Train Wermet: 0.0000
|
21 |
+
- Validation Loss: 0.0003
|
22 |
+
- Validation Accuracy: 0.0266
|
23 |
+
- Validation Wermet: 0.0001
|
24 |
+
- Epoch: 59
|
25 |
+
|
26 |
+
## Model description
|
27 |
+
|
28 |
+
More information needed
|
29 |
+
|
30 |
+
## Intended uses & limitations
|
31 |
+
|
32 |
+
More information needed
|
33 |
+
|
34 |
+
## Training and evaluation data
|
35 |
+
|
36 |
+
More information needed
|
37 |
+
|
38 |
+
## Training procedure
|
39 |
+
|
40 |
+
### Training hyperparameters
|
41 |
+
|
42 |
+
The following hyperparameters were used during training:
|
43 |
+
- optimizer: {'name': 'AdamWeightDecay', 'learning_rate': 1e-05, 'decay': 0.0, 'beta_1': 0.9, 'beta_2': 0.999, 'epsilon': 1e-07, 'amsgrad': False, 'weight_decay_rate': 0.01}
|
44 |
+
- training_precision: float32
|
45 |
+
|
46 |
+
### Training results
|
47 |
+
|
48 |
+
| Train Loss | Train Accuracy | Train Wermet | Validation Loss | Validation Accuracy | Validation Wermet | Epoch |
|
49 |
+
|:----------:|:--------------:|:------------:|:---------------:|:-------------------:|:-----------------:|:-----:|
|
50 |
+
| 0.7688 | 0.0332 | 32.0424 | 0.0164 | 0.0265 | 57.8712 | 0 |
|
51 |
+
| 0.0114 | 0.0362 | 31.1067 | 0.0062 | 0.0266 | 54.8371 | 1 |
|
52 |
+
| 0.0048 | 0.0362 | 27.0610 | 0.0030 | 0.0266 | 50.1428 | 2 |
|
53 |
+
| 0.0027 | 0.0362 | 24.9672 | 0.0018 | 0.0266 | 48.0741 | 3 |
|
54 |
+
| 0.0018 | 0.0362 | 23.1500 | 0.0013 | 0.0266 | 44.9304 | 4 |
|
55 |
+
| 0.0013 | 0.0362 | 21.5445 | 0.0010 | 0.0266 | 42.3508 | 5 |
|
56 |
+
| 0.0009 | 0.0362 | 20.2775 | 0.0008 | 0.0266 | 40.4061 | 6 |
|
57 |
+
| 0.0007 | 0.0362 | 19.5082 | 0.0006 | 0.0266 | 38.2329 | 7 |
|
58 |
+
| 0.0005 | 0.0362 | 17.9967 | 0.0005 | 0.0266 | 35.9761 | 8 |
|
59 |
+
| 0.0004 | 0.0362 | 16.8461 | 0.0004 | 0.0266 | 34.1220 | 9 |
|
60 |
+
| 0.0003 | 0.0362 | 15.8373 | 0.0004 | 0.0266 | 32.0054 | 10 |
|
61 |
+
| 0.0003 | 0.0362 | 14.7685 | 0.0004 | 0.0266 | 29.6994 | 11 |
|
62 |
+
| 0.0002 | 0.0362 | 13.4142 | 0.0003 | 0.0266 | 27.1796 | 12 |
|
63 |
+
| 0.0002 | 0.0362 | 12.4809 | 0.0003 | 0.0266 | 25.3421 | 13 |
|
64 |
+
| 0.0002 | 0.0362 | 11.2286 | 0.0003 | 0.0266 | 23.1619 | 14 |
|
65 |
+
| 0.0001 | 0.0362 | 10.2408 | 0.0003 | 0.0266 | 21.3348 | 15 |
|
66 |
+
| 0.0001 | 0.0362 | 9.5439 | 0.0002 | 0.0266 | 20.1758 | 16 |
|
67 |
+
| 0.0001 | 0.0362 | 8.7578 | 0.0002 | 0.0266 | 18.3977 | 17 |
|
68 |
+
| 0.0001 | 0.0362 | 7.8698 | 0.0002 | 0.0266 | 16.2156 | 18 |
|
69 |
+
| 0.0001 | 0.0362 | 7.0007 | 0.0002 | 0.0266 | 14.7919 | 19 |
|
70 |
+
| 0.0001 | 0.0362 | 6.2610 | 0.0002 | 0.0266 | 13.0212 | 20 |
|
71 |
+
| 0.0001 | 0.0362 | 5.5103 | 0.0002 | 0.0266 | 11.5619 | 21 |
|
72 |
+
| 0.0000 | 0.0362 | 4.9163 | 0.0002 | 0.0266 | 10.4626 | 22 |
|
73 |
+
| 0.0000 | 0.0362 | 4.3166 | 0.0002 | 0.0266 | 9.2446 | 23 |
|
74 |
+
| 0.0000 | 0.0362 | 3.7524 | 0.0002 | 0.0266 | 7.7431 | 24 |
|
75 |
+
| 0.0000 | 0.0362 | 3.2129 | 0.0002 | 0.0266 | 6.6332 | 25 |
|
76 |
+
| 0.0000 | 0.0362 | 2.7739 | 0.0002 | 0.0266 | 5.7615 | 26 |
|
77 |
+
| 0.0000 | 0.0362 | 2.3764 | 0.0002 | 0.0266 | 4.9058 | 27 |
|
78 |
+
| 0.0000 | 0.0362 | 1.9780 | 0.0002 | 0.0266 | 4.0666 | 28 |
|
79 |
+
| 0.0000 | 0.0362 | 1.6255 | 0.0002 | 0.0266 | 3.3591 | 29 |
|
80 |
+
| 0.0000 | 0.0362 | 1.3291 | 0.0002 | 0.0266 | 2.7223 | 30 |
|
81 |
+
| 0.0000 | 0.0362 | 1.1012 | 0.0002 | 0.0266 | 2.1768 | 31 |
|
82 |
+
| 0.0000 | 0.0362 | 0.9017 | 0.0002 | 0.0266 | 1.7957 | 32 |
|
83 |
+
| 0.0000 | 0.0362 | 0.7347 | 0.0002 | 0.0266 | 1.3240 | 33 |
|
84 |
+
| 0.0000 | 0.0362 | 0.5807 | 0.0002 | 0.0266 | 0.9770 | 34 |
|
85 |
+
| 0.0000 | 0.0362 | 0.4562 | 0.0002 | 0.0266 | 0.7842 | 35 |
|
86 |
+
| 0.0000 | 0.0362 | 0.3738 | 0.0002 | 0.0266 | 0.6098 | 36 |
|
87 |
+
| 0.0000 | 0.0362 | 0.2925 | 0.0002 | 0.0266 | 0.4481 | 37 |
|
88 |
+
| 0.0000 | 0.0362 | 0.2142 | 0.0002 | 0.0266 | 0.3331 | 38 |
|
89 |
+
| 0.0000 | 0.0362 | 0.1491 | 0.0002 | 0.0266 | 0.2229 | 39 |
|
90 |
+
| 0.0000 | 0.0362 | 0.0935 | 0.0002 | 0.0266 | 0.1604 | 40 |
|
91 |
+
| 0.0000 | 0.0362 | 0.0588 | 0.0002 | 0.0266 | 0.1018 | 41 |
|
92 |
+
| 0.0000 | 0.0362 | 0.0421 | 0.0002 | 0.0266 | 0.0653 | 42 |
|
93 |
+
| 0.0000 | 0.0362 | 0.0284 | 0.0002 | 0.0266 | 0.0364 | 43 |
|
94 |
+
| 0.0000 | 0.0362 | 0.0172 | 0.0002 | 0.0266 | 0.0210 | 44 |
|
95 |
+
| 0.0000 | 0.0362 | 0.0048 | 0.0002 | 0.0266 | 0.0105 | 45 |
|
96 |
+
| 0.0000 | 0.0362 | 0.0006 | 0.0002 | 0.0266 | 0.0031 | 46 |
|
97 |
+
| 0.0000 | 0.0362 | 0.0000 | 0.0002 | 0.0266 | 0.0004 | 47 |
|
98 |
+
| 0.0000 | 0.0362 | 0.0000 | 0.0002 | 0.0266 | 0.0001 | 48 |
|
99 |
+
| 0.0000 | 0.0362 | 0.0000 | 0.0002 | 0.0266 | 0.0001 | 49 |
|
100 |
+
| 0.0000 | 0.0362 | 0.0000 | 0.0002 | 0.0266 | 0.0001 | 50 |
|
101 |
+
| 0.0000 | 0.0362 | 0.0000 | 0.0002 | 0.0266 | 0.0001 | 51 |
|
102 |
+
| 0.0000 | 0.0362 | 0.0000 | 0.0003 | 0.0266 | 0.0001 | 52 |
|
103 |
+
| 0.0000 | 0.0362 | 0.0000 | 0.0003 | 0.0266 | 0.0001 | 53 |
|
104 |
+
| 0.0000 | 0.0362 | 0.0000 | 0.0003 | 0.0266 | 0.0001 | 54 |
|
105 |
+
| 0.0000 | 0.0362 | 0.0000 | 0.0003 | 0.0266 | 0.0001 | 55 |
|
106 |
+
| 0.0000 | 0.0362 | 0.0000 | 0.0003 | 0.0266 | 0.0001 | 56 |
|
107 |
+
| 0.0000 | 0.0362 | 0.0000 | 0.0003 | 0.0266 | 0.0001 | 57 |
|
108 |
+
| 0.0000 | 0.0362 | 0.0000 | 0.0003 | 0.0266 | 0.0001 | 58 |
|
109 |
+
| 0.0000 | 0.0362 | 0.0000 | 0.0003 | 0.0266 | 0.0001 | 59 |
|
110 |
+
|
111 |
+
|
112 |
+
### Framework versions
|
113 |
+
|
114 |
+
- Transformers 4.33.0.dev0
|
115 |
+
- TensorFlow 2.13.0
|
116 |
+
- Tokenizers 0.13.3
|
config.json
ADDED
@@ -0,0 +1,51 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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 |
+
"init_std": 0.02,
|
29 |
+
"is_encoder_decoder": true,
|
30 |
+
"mask_feature_length": 10,
|
31 |
+
"mask_feature_min_masks": 0,
|
32 |
+
"mask_feature_prob": 0.0,
|
33 |
+
"mask_time_length": 10,
|
34 |
+
"mask_time_min_masks": 2,
|
35 |
+
"mask_time_prob": 0.05,
|
36 |
+
"max_length": 448,
|
37 |
+
"max_source_positions": 1500,
|
38 |
+
"max_target_positions": 448,
|
39 |
+
"median_filter_width": 7,
|
40 |
+
"model_type": "whisper",
|
41 |
+
"num_hidden_layers": 4,
|
42 |
+
"num_mel_bins": 80,
|
43 |
+
"pad_token_id": 50257,
|
44 |
+
"scale_embedding": false,
|
45 |
+
"suppress_tokens": [],
|
46 |
+
"torch_dtype": "float32",
|
47 |
+
"transformers_version": "4.33.0.dev0",
|
48 |
+
"use_cache": true,
|
49 |
+
"use_weighted_layer_sum": false,
|
50 |
+
"vocab_size": 51865
|
51 |
+
}
|
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.33.0.dev0"
|
117 |
+
}
|
tf_model.h5
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:dbd8705d475308ddce9f216da178895385e6f7d285ad908629d9877db53e4f35
|
3 |
+
size 151253960
|