miosipof commited on
Commit
ac25160
·
verified ·
1 Parent(s): e1698ce

End of training

Browse files
Files changed (5) hide show
  1. README.md +97 -0
  2. config.json +162 -0
  3. model.safetensors +3 -0
  4. preprocessor_config.json +14 -0
  5. training_args.bin +3 -0
README.md ADDED
@@ -0,0 +1,97 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: transformers
3
+ license: apache-2.0
4
+ base_model: openai/whisper-small
5
+ tags:
6
+ - generated_from_trainer
7
+ datasets:
8
+ - balbus-classifier
9
+ metrics:
10
+ - accuracy
11
+ - precision
12
+ - recall
13
+ - f1
14
+ model-index:
15
+ - name: miosipof/whisper-small-ft-balbus-sep28k-v1.9
16
+ results:
17
+ - task:
18
+ name: Audio Classification
19
+ type: audio-classification
20
+ dataset:
21
+ name: Apple dataset
22
+ type: balbus-classifier
23
+ config: default
24
+ split: train
25
+ args: default
26
+ metrics:
27
+ - name: Accuracy
28
+ type: accuracy
29
+ value: 0.6554730384242816
30
+ - name: Precision
31
+ type: precision
32
+ value: 0.6662764347644506
33
+ - name: Recall
34
+ type: recall
35
+ value: 0.6536533800437693
36
+ - name: F1
37
+ type: f1
38
+ value: 0.6584516062723008
39
+ ---
40
+
41
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
42
+ should probably proofread and complete it, then remove this comment. -->
43
+
44
+ # miosipof/whisper-small-ft-balbus-sep28k-v1.9
45
+
46
+ This model is a fine-tuned version of [openai/whisper-small](https://huggingface.co/openai/whisper-small) on the Apple dataset dataset.
47
+ It achieves the following results on the evaluation set:
48
+ - Loss: 1.4792
49
+ - Accuracy: 0.6555
50
+ - Precision: 0.6663
51
+ - Recall: 0.6537
52
+ - F1: 0.6585
53
+
54
+ ## Model description
55
+
56
+ More information needed
57
+
58
+ ## Intended uses & limitations
59
+
60
+ More information needed
61
+
62
+ ## Training and evaluation data
63
+
64
+ More information needed
65
+
66
+ ## Training procedure
67
+
68
+ ### Training hyperparameters
69
+
70
+ The following hyperparameters were used during training:
71
+ - learning_rate: 4e-05
72
+ - train_batch_size: 64
73
+ - eval_batch_size: 32
74
+ - seed: 42
75
+ - optimizer: Use adamw_torch with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
76
+ - lr_scheduler_type: linear
77
+ - lr_scheduler_warmup_ratio: 0.5
78
+ - num_epochs: 5
79
+ - mixed_precision_training: Native AMP
80
+
81
+ ### Training results
82
+
83
+ | Training Loss | Epoch | Step | Validation Loss | Accuracy | Precision | Recall | F1 |
84
+ |:-------------:|:-----:|:----:|:---------------:|:--------:|:---------:|:------:|:------:|
85
+ | 0.8584 | 1.0 | 436 | 0.7060 | 0.6810 | 0.6897 | 0.6911 | 0.6834 |
86
+ | 0.6584 | 2.0 | 872 | 0.6886 | 0.6878 | 0.6994 | 0.6816 | 0.6849 |
87
+ | 0.5415 | 3.0 | 1308 | 0.7227 | 0.6742 | 0.6934 | 0.6708 | 0.6779 |
88
+ | 0.3032 | 4.0 | 1744 | 0.9611 | 0.6522 | 0.6647 | 0.6513 | 0.6564 |
89
+ | 0.0734 | 5.0 | 2180 | 1.4792 | 0.6555 | 0.6663 | 0.6537 | 0.6585 |
90
+
91
+
92
+ ### Framework versions
93
+
94
+ - Transformers 4.47.1
95
+ - Pytorch 2.6.0+cu124
96
+ - Datasets 3.5.0
97
+ - Tokenizers 0.21.1
config.json ADDED
@@ -0,0 +1,162 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "openai/whisper-small",
3
+ "activation_dropout": 0.0,
4
+ "activation_function": "gelu",
5
+ "apply_spec_augment": false,
6
+ "architectures": [
7
+ "WhisperForAudioClassification"
8
+ ],
9
+ "attention_dropout": 0.0,
10
+ "begin_suppress_tokens": [
11
+ 220,
12
+ 50257
13
+ ],
14
+ "bos_token_id": 50257,
15
+ "classifier_proj_size": 256,
16
+ "d_model": 768,
17
+ "decoder_attention_heads": 12,
18
+ "decoder_ffn_dim": 3072,
19
+ "decoder_layerdrop": 0.0,
20
+ "decoder_layers": 12,
21
+ "decoder_start_token_id": 50258,
22
+ "dropout": 0.0,
23
+ "encoder_attention_heads": 12,
24
+ "encoder_ffn_dim": 3072,
25
+ "encoder_layerdrop": 0.0,
26
+ "encoder_layers": 12,
27
+ "eos_token_id": 50257,
28
+ "forced_decoder_ids": [
29
+ [
30
+ 1,
31
+ 50259
32
+ ],
33
+ [
34
+ 2,
35
+ 50359
36
+ ],
37
+ [
38
+ 3,
39
+ 50363
40
+ ]
41
+ ],
42
+ "id2label": {
43
+ "0": "fluent",
44
+ "1": "clonica",
45
+ "2": "tonica"
46
+ },
47
+ "init_std": 0.02,
48
+ "is_encoder_decoder": true,
49
+ "label2id": {
50
+ "clonica": 1,
51
+ "fluent": 0,
52
+ "tonica": 2
53
+ },
54
+ "mask_feature_length": 10,
55
+ "mask_feature_min_masks": 0,
56
+ "mask_feature_prob": 0.0,
57
+ "mask_time_length": 10,
58
+ "mask_time_min_masks": 2,
59
+ "mask_time_prob": 0.05,
60
+ "max_length": 448,
61
+ "max_source_positions": 1500,
62
+ "max_target_positions": 448,
63
+ "median_filter_width": 7,
64
+ "model_type": "whisper",
65
+ "num_hidden_layers": 12,
66
+ "num_mel_bins": 80,
67
+ "pad_token_id": 50257,
68
+ "scale_embedding": false,
69
+ "suppress_tokens": [
70
+ 1,
71
+ 2,
72
+ 7,
73
+ 8,
74
+ 9,
75
+ 10,
76
+ 14,
77
+ 25,
78
+ 26,
79
+ 27,
80
+ 28,
81
+ 29,
82
+ 31,
83
+ 58,
84
+ 59,
85
+ 60,
86
+ 61,
87
+ 62,
88
+ 63,
89
+ 90,
90
+ 91,
91
+ 92,
92
+ 93,
93
+ 359,
94
+ 503,
95
+ 522,
96
+ 542,
97
+ 873,
98
+ 893,
99
+ 902,
100
+ 918,
101
+ 922,
102
+ 931,
103
+ 1350,
104
+ 1853,
105
+ 1982,
106
+ 2460,
107
+ 2627,
108
+ 3246,
109
+ 3253,
110
+ 3268,
111
+ 3536,
112
+ 3846,
113
+ 3961,
114
+ 4183,
115
+ 4667,
116
+ 6585,
117
+ 6647,
118
+ 7273,
119
+ 9061,
120
+ 9383,
121
+ 10428,
122
+ 10929,
123
+ 11938,
124
+ 12033,
125
+ 12331,
126
+ 12562,
127
+ 13793,
128
+ 14157,
129
+ 14635,
130
+ 15265,
131
+ 15618,
132
+ 16553,
133
+ 16604,
134
+ 18362,
135
+ 18956,
136
+ 20075,
137
+ 21675,
138
+ 22520,
139
+ 26130,
140
+ 26161,
141
+ 26435,
142
+ 28279,
143
+ 29464,
144
+ 31650,
145
+ 32302,
146
+ 32470,
147
+ 36865,
148
+ 42863,
149
+ 47425,
150
+ 49870,
151
+ 50254,
152
+ 50258,
153
+ 50360,
154
+ 50361,
155
+ 50362
156
+ ],
157
+ "torch_dtype": "float32",
158
+ "transformers_version": "4.47.1",
159
+ "use_cache": true,
160
+ "use_weighted_layer_sum": false,
161
+ "vocab_size": 51865
162
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9f756c30c9c99195ec3eae80974c1106b48d164e28e31a0eaf079d3828bb59c8
3
+ size 353427388
preprocessor_config.json ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "chunk_length": 30,
3
+ "feature_extractor_type": "WhisperFeatureExtractor",
4
+ "feature_size": 80,
5
+ "hop_length": 160,
6
+ "n_fft": 400,
7
+ "n_samples": 480000,
8
+ "nb_max_frames": 3000,
9
+ "padding_side": "right",
10
+ "padding_value": 0.0,
11
+ "processor_class": "WhisperProcessor",
12
+ "return_attention_mask": false,
13
+ "sampling_rate": 16000
14
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:14d302052c2f9aa1b0e820914e4c3b1cec471d2834ab6533b5735866d789d27a
3
+ size 5304