ArthurZ HF staff commited on
Commit
3375711
1 Parent(s): b011d1e

Upload model

Browse files
Files changed (2) hide show
  1. config.json +207 -0
  2. pytorch_model.bin +3 -0
config.json ADDED
@@ -0,0 +1,207 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_commit_hash": null,
3
+ "architectures": [
4
+ "ClapModel"
5
+ ],
6
+ "audio_config": {
7
+ "_name_or_path": "",
8
+ "add_cross_attention": false,
9
+ "aff_block_r": 4,
10
+ "architectures": null,
11
+ "attention_dropout": 0.1,
12
+ "attention_probs_dropout_prob": 0.0,
13
+ "bad_words_ids": null,
14
+ "begin_suppress_tokens": null,
15
+ "bos_token_id": null,
16
+ "chunk_size_feed_forward": 0,
17
+ "cross_attention_hidden_size": null,
18
+ "decoder_start_token_id": null,
19
+ "depths": [
20
+ 2,
21
+ 2,
22
+ 6,
23
+ 2
24
+ ],
25
+ "diversity_penalty": 0.0,
26
+ "do_sample": false,
27
+ "drop_path_rate": 0.0,
28
+ "dropout": 0.1,
29
+ "early_stopping": false,
30
+ "enable_fusion": false,
31
+ "enable_patch_layer_norm": true,
32
+ "encoder_no_repeat_ngram_size": 0,
33
+ "eos_token_id": null,
34
+ "exponential_decay_length_penalty": null,
35
+ "finetuning_task": null,
36
+ "flatten_patch_embeds": true,
37
+ "forced_bos_token_id": null,
38
+ "forced_eos_token_id": null,
39
+ "freq_ratio": 2,
40
+ "fusion_type": null,
41
+ "hidden_act": "gelu",
42
+ "hidden_dropout_prob": 0.1,
43
+ "hidden_size": 256,
44
+ "id2label": {
45
+ "0": "LABEL_0",
46
+ "1": "LABEL_1"
47
+ },
48
+ "image_size": 60,
49
+ "initializer_factor": 1.0,
50
+ "initializer_range": 0.02,
51
+ "intermediate_size": 37,
52
+ "is_decoder": false,
53
+ "is_encoder_decoder": false,
54
+ "label2id": {
55
+ "LABEL_0": 0,
56
+ "LABEL_1": 1
57
+ },
58
+ "layer_norm_eps": 1e-05,
59
+ "length_penalty": 1.0,
60
+ "max_length": 20,
61
+ "min_length": 0,
62
+ "mlp_ratio": 4.0,
63
+ "model_type": "clap_audio_model",
64
+ "no_repeat_ngram_size": 0,
65
+ "num_attention_heads": [
66
+ 2,
67
+ 2,
68
+ 2,
69
+ 2
70
+ ],
71
+ "num_beam_groups": 1,
72
+ "num_beams": 1,
73
+ "num_channels": 3,
74
+ "num_classes": 527,
75
+ "num_hidden_layers": 4,
76
+ "num_mel_bins": 16,
77
+ "num_return_sequences": 1,
78
+ "output_attentions": false,
79
+ "output_hidden_states": false,
80
+ "output_scores": false,
81
+ "pad_token_id": null,
82
+ "patch_embed_input_channels": 1,
83
+ "patch_embeds_hidden_size": 32,
84
+ "patch_size": 2,
85
+ "patch_stride": 2,
86
+ "prefix": null,
87
+ "problem_type": null,
88
+ "projection_dim": 64,
89
+ "projection_hidden_act": "relu",
90
+ "pruned_heads": {},
91
+ "qkv_bias": true,
92
+ "remove_invalid_values": false,
93
+ "repetition_penalty": 1.0,
94
+ "return_dict": true,
95
+ "return_dict_in_generate": false,
96
+ "sep_token_id": null,
97
+ "spec_size": 64,
98
+ "suppress_tokens": null,
99
+ "task_specific_params": null,
100
+ "temperature": 1.0,
101
+ "tf_legacy_loss": false,
102
+ "tie_encoder_decoder": false,
103
+ "tie_word_embeddings": true,
104
+ "tokenizer_class": null,
105
+ "top_k": 50,
106
+ "top_p": 1.0,
107
+ "torch_dtype": null,
108
+ "torchscript": false,
109
+ "transformers_version": "4.27.0.dev0",
110
+ "typical_p": 1.0,
111
+ "use_bfloat16": false,
112
+ "window_size": 4
113
+ },
114
+ "hidden_size": 32,
115
+ "initializer_factor": 1.0,
116
+ "logit_scale_init_value": 14.285714285714285,
117
+ "model_type": "clap",
118
+ "num_hidden_layers": 9,
119
+ "projection_dim": 64,
120
+ "projection_hidden_act": "relu",
121
+ "text_config": {
122
+ "_name_or_path": "",
123
+ "add_cross_attention": false,
124
+ "architectures": null,
125
+ "attention_dropout": 0.1,
126
+ "attention_probs_dropout_prob": 0.1,
127
+ "bad_words_ids": null,
128
+ "begin_suppress_tokens": null,
129
+ "bos_token_id": 0,
130
+ "chunk_size_feed_forward": 0,
131
+ "classifier_dropout": null,
132
+ "cross_attention_hidden_size": null,
133
+ "decoder_start_token_id": null,
134
+ "diversity_penalty": 0.0,
135
+ "do_sample": false,
136
+ "dropout": 0.1,
137
+ "early_stopping": false,
138
+ "encoder_no_repeat_ngram_size": 0,
139
+ "eos_token_id": 2,
140
+ "exponential_decay_length_penalty": null,
141
+ "finetuning_task": null,
142
+ "forced_bos_token_id": null,
143
+ "forced_eos_token_id": null,
144
+ "hidden_act": "gelu",
145
+ "hidden_dropout_prob": 0.1,
146
+ "hidden_size": 32,
147
+ "id2label": {
148
+ "0": "LABEL_0",
149
+ "1": "LABEL_1"
150
+ },
151
+ "initializer_factor": 1.0,
152
+ "initializer_range": 0.02,
153
+ "intermediate_size": 37,
154
+ "is_decoder": false,
155
+ "is_encoder_decoder": false,
156
+ "label2id": {
157
+ "LABEL_0": 0,
158
+ "LABEL_1": 1
159
+ },
160
+ "layer_norm_eps": 1e-12,
161
+ "length_penalty": 1.0,
162
+ "max_length": 20,
163
+ "max_position_embeddings": 512,
164
+ "min_length": 0,
165
+ "model_type": "clap_text_model",
166
+ "no_repeat_ngram_size": 0,
167
+ "num_attention_heads": 4,
168
+ "num_beam_groups": 1,
169
+ "num_beams": 1,
170
+ "num_hidden_layers": 5,
171
+ "num_return_sequences": 1,
172
+ "output_attentions": false,
173
+ "output_hidden_states": false,
174
+ "output_scores": false,
175
+ "pad_token_id": 1,
176
+ "position_embedding_type": "absolute",
177
+ "prefix": null,
178
+ "problem_type": null,
179
+ "projection_dim": 64,
180
+ "projection_hidden_act": "relu",
181
+ "pruned_heads": {},
182
+ "remove_invalid_values": false,
183
+ "repetition_penalty": 1.0,
184
+ "return_dict": true,
185
+ "return_dict_in_generate": false,
186
+ "sep_token_id": null,
187
+ "suppress_tokens": null,
188
+ "task_specific_params": null,
189
+ "temperature": 1.0,
190
+ "tf_legacy_loss": false,
191
+ "tie_encoder_decoder": false,
192
+ "tie_word_embeddings": true,
193
+ "tokenizer_class": null,
194
+ "top_k": 50,
195
+ "top_p": 1.0,
196
+ "torch_dtype": null,
197
+ "torchscript": false,
198
+ "transformers_version": "4.27.0.dev0",
199
+ "type_vocab_size": 1,
200
+ "typical_p": 1.0,
201
+ "use_bfloat16": false,
202
+ "use_cache": true,
203
+ "vocab_size": 99
204
+ },
205
+ "torch_dtype": "float32",
206
+ "transformers_version": null
207
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fcb97080f6a8cd5c8b157844e10577f696cc79938ea104dbce963908a03ab912
3
+ size 12759049