ybelkada commited on
Commit
68405d3
1 Parent(s): ae1a240

Upload model

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