sanchit-gandhi HF staff commited on
Commit
bf16ee0
1 Parent(s): d3bf24c

Add weights and configs

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