werent4 commited on
Commit
23f63ce
·
verified ·
1 Parent(s): b7d3542

Upload model

Browse files
Files changed (2) hide show
  1. config.json +259 -0
  2. model.safetensors +3 -0
config.json ADDED
@@ -0,0 +1,259 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "models/gliclas-hu-audio-base-emo-4/checkpoint-24",
3
+ "architecture_type": "audio-encoder",
4
+ "architectures": [
5
+ "GLiClassModel"
6
+ ],
7
+ "audio_model_config": {
8
+ "_attn_implementation_autoset": false,
9
+ "_name_or_path": "facebook/hubert-large-ls960-ft",
10
+ "activation_dropout": 0.1,
11
+ "add_cross_attention": false,
12
+ "apply_spec_augment": true,
13
+ "architectures": [
14
+ "HubertForCTC"
15
+ ],
16
+ "attention_dropout": 0.1,
17
+ "bad_words_ids": null,
18
+ "begin_suppress_tokens": null,
19
+ "bos_token_id": 1,
20
+ "chunk_size_feed_forward": 0,
21
+ "classifier_proj_size": 256,
22
+ "conv_bias": true,
23
+ "conv_dim": [
24
+ 512,
25
+ 512,
26
+ 512,
27
+ 512,
28
+ 512,
29
+ 512,
30
+ 512
31
+ ],
32
+ "conv_kernel": [
33
+ 10,
34
+ 3,
35
+ 3,
36
+ 3,
37
+ 3,
38
+ 2,
39
+ 2
40
+ ],
41
+ "conv_pos_batch_norm": false,
42
+ "conv_stride": [
43
+ 5,
44
+ 2,
45
+ 2,
46
+ 2,
47
+ 2,
48
+ 2,
49
+ 2
50
+ ],
51
+ "cross_attention_hidden_size": null,
52
+ "ctc_loss_reduction": "sum",
53
+ "ctc_zero_infinity": false,
54
+ "decoder_start_token_id": null,
55
+ "diversity_loss_weight": 0.1,
56
+ "diversity_penalty": 0.0,
57
+ "do_sample": false,
58
+ "do_stable_layer_norm": true,
59
+ "early_stopping": false,
60
+ "encoder_no_repeat_ngram_size": 0,
61
+ "eos_token_id": 2,
62
+ "exponential_decay_length_penalty": null,
63
+ "feat_extract_activation": "gelu",
64
+ "feat_extract_dropout": 0.0,
65
+ "feat_extract_norm": "layer",
66
+ "feat_proj_dropout": 0.1,
67
+ "feat_proj_layer_norm": true,
68
+ "final_dropout": 0.1,
69
+ "finetuning_task": null,
70
+ "forced_bos_token_id": null,
71
+ "forced_eos_token_id": null,
72
+ "gradient_checkpointing": false,
73
+ "hidden_act": "gelu",
74
+ "hidden_dropout": 0.1,
75
+ "hidden_dropout_prob": 0.1,
76
+ "hidden_size": 1024,
77
+ "id2label": {
78
+ "0": "LABEL_0",
79
+ "1": "LABEL_1"
80
+ },
81
+ "initializer_range": 0.02,
82
+ "intermediate_size": 4096,
83
+ "is_decoder": false,
84
+ "is_encoder_decoder": false,
85
+ "label2id": {
86
+ "LABEL_0": 0,
87
+ "LABEL_1": 1
88
+ },
89
+ "layer_norm_eps": 1e-05,
90
+ "layerdrop": 0.1,
91
+ "length_penalty": 1.0,
92
+ "mask_feature_length": 10,
93
+ "mask_feature_min_masks": 0,
94
+ "mask_feature_prob": 0.0,
95
+ "mask_time_length": 10,
96
+ "mask_time_min_masks": 2,
97
+ "mask_time_prob": 0.05,
98
+ "max_length": 20,
99
+ "min_length": 0,
100
+ "model_type": "hubert",
101
+ "no_repeat_ngram_size": 0,
102
+ "num_attention_heads": 16,
103
+ "num_beam_groups": 1,
104
+ "num_beams": 1,
105
+ "num_conv_pos_embedding_groups": 16,
106
+ "num_conv_pos_embeddings": 128,
107
+ "num_feat_extract_layers": 7,
108
+ "num_hidden_layers": 24,
109
+ "num_return_sequences": 1,
110
+ "output_attentions": false,
111
+ "output_hidden_states": false,
112
+ "output_scores": false,
113
+ "pad_token_id": 0,
114
+ "prefix": null,
115
+ "problem_type": null,
116
+ "pruned_heads": {},
117
+ "remove_invalid_values": false,
118
+ "repetition_penalty": 1.0,
119
+ "return_dict": true,
120
+ "return_dict_in_generate": false,
121
+ "sep_token_id": null,
122
+ "suppress_tokens": null,
123
+ "task_specific_params": null,
124
+ "temperature": 1.0,
125
+ "tf_legacy_loss": false,
126
+ "tie_encoder_decoder": false,
127
+ "tie_word_embeddings": true,
128
+ "tokenizer_class": null,
129
+ "top_k": 50,
130
+ "top_p": 1.0,
131
+ "torch_dtype": null,
132
+ "torchscript": false,
133
+ "typical_p": 1.0,
134
+ "use_bfloat16": false,
135
+ "use_weighted_layer_sum": false,
136
+ "vocab_size": 32
137
+ },
138
+ "audio_model_name": "facebook/hubert-large-ls960-ft",
139
+ "audio_token_index": 128003,
140
+ "class_token_index": 128001,
141
+ "contrastive_loss_coef": 0.0,
142
+ "embed_class_token": true,
143
+ "encoder_config": {
144
+ "_attn_implementation_autoset": false,
145
+ "_name_or_path": "microsoft/deberta-v3-base",
146
+ "add_cross_attention": false,
147
+ "architectures": null,
148
+ "attention_probs_dropout_prob": 0.1,
149
+ "bad_words_ids": null,
150
+ "begin_suppress_tokens": null,
151
+ "bos_token_id": null,
152
+ "chunk_size_feed_forward": 0,
153
+ "cross_attention_hidden_size": null,
154
+ "decoder_start_token_id": null,
155
+ "diversity_penalty": 0.0,
156
+ "do_sample": false,
157
+ "early_stopping": false,
158
+ "encoder_no_repeat_ngram_size": 0,
159
+ "eos_token_id": null,
160
+ "exponential_decay_length_penalty": null,
161
+ "finetuning_task": null,
162
+ "forced_bos_token_id": null,
163
+ "forced_eos_token_id": null,
164
+ "hidden_act": "gelu",
165
+ "hidden_dropout_prob": 0.1,
166
+ "hidden_size": 768,
167
+ "id2label": {
168
+ "0": "LABEL_0",
169
+ "1": "LABEL_1"
170
+ },
171
+ "initializer_range": 0.02,
172
+ "intermediate_size": 3072,
173
+ "is_decoder": false,
174
+ "is_encoder_decoder": false,
175
+ "label2id": {
176
+ "LABEL_0": 0,
177
+ "LABEL_1": 1
178
+ },
179
+ "layer_norm_eps": 1e-07,
180
+ "legacy": true,
181
+ "length_penalty": 1.0,
182
+ "max_length": 20,
183
+ "max_position_embeddings": 512,
184
+ "max_relative_positions": -1,
185
+ "min_length": 0,
186
+ "model_type": "deberta-v2",
187
+ "no_repeat_ngram_size": 0,
188
+ "norm_rel_ebd": "layer_norm",
189
+ "num_attention_heads": 12,
190
+ "num_beam_groups": 1,
191
+ "num_beams": 1,
192
+ "num_hidden_layers": 12,
193
+ "num_return_sequences": 1,
194
+ "output_attentions": false,
195
+ "output_hidden_states": false,
196
+ "output_scores": false,
197
+ "pad_token_id": 0,
198
+ "pooler_dropout": 0,
199
+ "pooler_hidden_act": "gelu",
200
+ "pooler_hidden_size": 768,
201
+ "pos_att_type": [
202
+ "p2c",
203
+ "c2p"
204
+ ],
205
+ "position_biased_input": false,
206
+ "position_buckets": 256,
207
+ "prefix": null,
208
+ "problem_type": null,
209
+ "pruned_heads": {},
210
+ "relative_attention": true,
211
+ "remove_invalid_values": false,
212
+ "repetition_penalty": 1.0,
213
+ "return_dict": true,
214
+ "return_dict_in_generate": false,
215
+ "sep_token_id": null,
216
+ "share_att_key": true,
217
+ "suppress_tokens": null,
218
+ "task_specific_params": null,
219
+ "temperature": 1.0,
220
+ "tf_legacy_loss": false,
221
+ "tie_encoder_decoder": false,
222
+ "tie_word_embeddings": true,
223
+ "tokenizer_class": null,
224
+ "top_k": 50,
225
+ "top_p": 1.0,
226
+ "torch_dtype": null,
227
+ "torchscript": false,
228
+ "type_vocab_size": 0,
229
+ "typical_p": 1.0,
230
+ "use_bfloat16": false,
231
+ "vocab_size": 128004
232
+ },
233
+ "encoder_model_name": "microsoft/deberta-v3-base",
234
+ "extract_text_features": false,
235
+ "focal_loss_alpha": 0.6,
236
+ "focal_loss_gamma": 2,
237
+ "hidden_size": 768,
238
+ "ignore_index": -100,
239
+ "init_from_larger_clap": false,
240
+ "initializer_range": 0.03,
241
+ "label_model_config": null,
242
+ "label_model_name": null,
243
+ "logit_scale_init_value": 2.6592,
244
+ "max_num_classes": 25,
245
+ "model_type": "GLiClass",
246
+ "normalize_features": true,
247
+ "pooling_strategy": "first",
248
+ "projection_dim": 512,
249
+ "projector_hidden_act": "gelu",
250
+ "prompt_first": true,
251
+ "scorer_type": "audio-token-dot",
252
+ "shuffle_labels": true,
253
+ "squeeze_layers": false,
254
+ "text_token_index": 128002,
255
+ "torch_dtype": "float32",
256
+ "transformers_version": "4.48.2",
257
+ "use_lstm": false,
258
+ "vocab_size": 128004
259
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6ac964ed2e64c39b5b8f51210a5b6f3d8053d38fc5d258df995d995d1793166b
3
+ size 2011832292