Noumida commited on
Commit
b5e9c6d
·
verified ·
1 Parent(s): e77807b

Noumida/whisper-lang-id2

Browse files
Files changed (4) hide show
  1. README.md +62 -0
  2. config.json +177 -0
  3. model.safetensors +3 -0
  4. training_args.bin +3 -0
README.md ADDED
@@ -0,0 +1,62 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: transformers
3
+ license: apache-2.0
4
+ base_model: openai/whisper-tiny
5
+ tags:
6
+ - generated_from_trainer
7
+ model-index:
8
+ - name: whisper-lang-id_2
9
+ results: []
10
+ ---
11
+
12
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
13
+ should probably proofread and complete it, then remove this comment. -->
14
+
15
+ # whisper-lang-id_2
16
+
17
+ This model is a fine-tuned version of [openai/whisper-tiny](https://huggingface.co/openai/whisper-tiny) on the None dataset.
18
+ It achieves the following results on the evaluation set:
19
+ - Loss: 0.2295
20
+
21
+ ## Model description
22
+
23
+ More information needed
24
+
25
+ ## Intended uses & limitations
26
+
27
+ More information needed
28
+
29
+ ## Training and evaluation data
30
+
31
+ More information needed
32
+
33
+ ## Training procedure
34
+
35
+ ### Training hyperparameters
36
+
37
+ The following hyperparameters were used during training:
38
+ - learning_rate: 5e-05
39
+ - train_batch_size: 16
40
+ - eval_batch_size: 8
41
+ - seed: 42
42
+ - optimizer: Use OptimizerNames.ADAMW_TORCH with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
43
+ - lr_scheduler_type: linear
44
+ - num_epochs: 4
45
+ - mixed_precision_training: Native AMP
46
+
47
+ ### Training results
48
+
49
+ | Training Loss | Epoch | Step | Validation Loss |
50
+ |:-------------:|:-----:|:----:|:---------------:|
51
+ | 0.0993 | 1.0 | 563 | 0.2763 |
52
+ | 0.1963 | 2.0 | 1126 | 0.2643 |
53
+ | 0.2181 | 3.0 | 1689 | 0.2347 |
54
+ | 0.1789 | 4.0 | 2252 | 0.2295 |
55
+
56
+
57
+ ### Framework versions
58
+
59
+ - Transformers 4.52.4
60
+ - Pytorch 2.6.0+cu124
61
+ - Datasets 3.6.0
62
+ - Tokenizers 0.21.2
config.json ADDED
@@ -0,0 +1,177 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "activation_dropout": 0.0,
3
+ "activation_function": "gelu",
4
+ "apply_spec_augment": false,
5
+ "architectures": [
6
+ "WhisperForAudioClassification"
7
+ ],
8
+ "attention_dropout": 0.0,
9
+ "begin_suppress_tokens": [
10
+ 220,
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
+ 50259
31
+ ],
32
+ [
33
+ 2,
34
+ 50359
35
+ ],
36
+ [
37
+ 3,
38
+ 50363
39
+ ]
40
+ ],
41
+ "id2label": {
42
+ "0": "LABEL_0",
43
+ "1": "LABEL_1",
44
+ "2": "LABEL_2",
45
+ "3": "LABEL_3",
46
+ "4": "LABEL_4",
47
+ "5": "LABEL_5",
48
+ "6": "LABEL_6",
49
+ "7": "LABEL_7",
50
+ "8": "LABEL_8",
51
+ "9": "LABEL_9"
52
+ },
53
+ "init_std": 0.02,
54
+ "is_encoder_decoder": true,
55
+ "label2id": {
56
+ "LABEL_0": 0,
57
+ "LABEL_1": 1,
58
+ "LABEL_2": 2,
59
+ "LABEL_3": 3,
60
+ "LABEL_4": 4,
61
+ "LABEL_5": 5,
62
+ "LABEL_6": 6,
63
+ "LABEL_7": 7,
64
+ "LABEL_8": 8,
65
+ "LABEL_9": 9
66
+ },
67
+ "mask_feature_length": 10,
68
+ "mask_feature_min_masks": 0,
69
+ "mask_feature_prob": 0.0,
70
+ "mask_time_length": 10,
71
+ "mask_time_min_masks": 2,
72
+ "mask_time_prob": 0.05,
73
+ "max_length": 448,
74
+ "max_source_positions": 1500,
75
+ "max_target_positions": 448,
76
+ "median_filter_width": 7,
77
+ "model_type": "whisper",
78
+ "num_hidden_layers": 4,
79
+ "num_mel_bins": 80,
80
+ "pad_token_id": 50257,
81
+ "scale_embedding": false,
82
+ "suppress_tokens": [
83
+ 1,
84
+ 2,
85
+ 7,
86
+ 8,
87
+ 9,
88
+ 10,
89
+ 14,
90
+ 25,
91
+ 26,
92
+ 27,
93
+ 28,
94
+ 29,
95
+ 31,
96
+ 58,
97
+ 59,
98
+ 60,
99
+ 61,
100
+ 62,
101
+ 63,
102
+ 90,
103
+ 91,
104
+ 92,
105
+ 93,
106
+ 359,
107
+ 503,
108
+ 522,
109
+ 542,
110
+ 873,
111
+ 893,
112
+ 902,
113
+ 918,
114
+ 922,
115
+ 931,
116
+ 1350,
117
+ 1853,
118
+ 1982,
119
+ 2460,
120
+ 2627,
121
+ 3246,
122
+ 3253,
123
+ 3268,
124
+ 3536,
125
+ 3846,
126
+ 3961,
127
+ 4183,
128
+ 4667,
129
+ 6585,
130
+ 6647,
131
+ 7273,
132
+ 9061,
133
+ 9383,
134
+ 10428,
135
+ 10929,
136
+ 11938,
137
+ 12033,
138
+ 12331,
139
+ 12562,
140
+ 13793,
141
+ 14157,
142
+ 14635,
143
+ 15265,
144
+ 15618,
145
+ 16553,
146
+ 16604,
147
+ 18362,
148
+ 18956,
149
+ 20075,
150
+ 21675,
151
+ 22520,
152
+ 26130,
153
+ 26161,
154
+ 26435,
155
+ 28279,
156
+ 29464,
157
+ 31650,
158
+ 32302,
159
+ 32470,
160
+ 36865,
161
+ 42863,
162
+ 47425,
163
+ 49870,
164
+ 50254,
165
+ 50258,
166
+ 50358,
167
+ 50359,
168
+ 50360,
169
+ 50361,
170
+ 50362
171
+ ],
172
+ "torch_dtype": "float32",
173
+ "transformers_version": "4.52.4",
174
+ "use_cache": true,
175
+ "use_weighted_layer_sum": false,
176
+ "vocab_size": 51865
177
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:772068b46dcc318869f4754a12f529b1001cb3dc263d575eb3215612fa3af0cf
3
+ size 33245392
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:58ca14d4d7a2824ac6490805fef881fc539368f81f521146a3e13609f6d41ce9
3
+ size 5240