yanranxiaoxi commited on
Commit
507d96c
1 Parent(s): 41a528a

First commit

Browse files
Files changed (2) hide show
  1. config.json +247 -0
  2. pytorch_model.bin +3 -0
config.json ADDED
@@ -0,0 +1,247 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "SamModel"
4
+ ],
5
+ "initializer_range": 0.02,
6
+ "mask_decoder_config": {
7
+ "_name_or_path": "",
8
+ "add_cross_attention": false,
9
+ "architectures": null,
10
+ "attention_downsample_rate": 2,
11
+ "bad_words_ids": null,
12
+ "begin_suppress_tokens": null,
13
+ "bos_token_id": null,
14
+ "chunk_size_feed_forward": 0,
15
+ "cross_attention_hidden_size": null,
16
+ "decoder_start_token_id": null,
17
+ "diversity_penalty": 0.0,
18
+ "do_sample": false,
19
+ "early_stopping": false,
20
+ "encoder_no_repeat_ngram_size": 0,
21
+ "eos_token_id": null,
22
+ "exponential_decay_length_penalty": null,
23
+ "finetuning_task": null,
24
+ "forced_bos_token_id": null,
25
+ "forced_eos_token_id": null,
26
+ "hidden_act": "relu",
27
+ "hidden_size": 256,
28
+ "id2label": {
29
+ "0": "LABEL_0",
30
+ "1": "LABEL_1"
31
+ },
32
+ "iou_head_depth": 3,
33
+ "iou_head_hidden_dim": 256,
34
+ "is_decoder": false,
35
+ "is_encoder_decoder": false,
36
+ "label2id": {
37
+ "LABEL_0": 0,
38
+ "LABEL_1": 1
39
+ },
40
+ "layer_norm_eps": 1e-06,
41
+ "length_penalty": 1.0,
42
+ "max_length": 20,
43
+ "min_length": 0,
44
+ "mlp_dim": 2048,
45
+ "model_type": "",
46
+ "no_repeat_ngram_size": 0,
47
+ "num_attention_heads": 8,
48
+ "num_beam_groups": 1,
49
+ "num_beams": 1,
50
+ "num_hidden_layers": 2,
51
+ "num_multimask_outputs": 3,
52
+ "num_return_sequences": 1,
53
+ "output_attentions": false,
54
+ "output_hidden_states": false,
55
+ "output_scores": false,
56
+ "pad_token_id": null,
57
+ "prefix": null,
58
+ "problem_type": null,
59
+ "pruned_heads": {},
60
+ "remove_invalid_values": false,
61
+ "repetition_penalty": 1.0,
62
+ "return_dict": true,
63
+ "return_dict_in_generate": false,
64
+ "sep_token_id": null,
65
+ "suppress_tokens": null,
66
+ "task_specific_params": null,
67
+ "temperature": 1.0,
68
+ "tf_legacy_loss": false,
69
+ "tie_encoder_decoder": false,
70
+ "tie_word_embeddings": true,
71
+ "tokenizer_class": null,
72
+ "top_k": 50,
73
+ "top_p": 1.0,
74
+ "torch_dtype": null,
75
+ "torchscript": false,
76
+ "transformers_version": "4.31.0",
77
+ "typical_p": 1.0,
78
+ "use_bfloat16": false
79
+ },
80
+ "model_type": "sam",
81
+ "prompt_encoder_config": {
82
+ "_name_or_path": "",
83
+ "add_cross_attention": false,
84
+ "architectures": null,
85
+ "bad_words_ids": null,
86
+ "begin_suppress_tokens": null,
87
+ "bos_token_id": null,
88
+ "chunk_size_feed_forward": 0,
89
+ "cross_attention_hidden_size": null,
90
+ "decoder_start_token_id": null,
91
+ "diversity_penalty": 0.0,
92
+ "do_sample": false,
93
+ "early_stopping": false,
94
+ "encoder_no_repeat_ngram_size": 0,
95
+ "eos_token_id": null,
96
+ "exponential_decay_length_penalty": null,
97
+ "finetuning_task": null,
98
+ "forced_bos_token_id": null,
99
+ "forced_eos_token_id": null,
100
+ "hidden_act": "gelu",
101
+ "hidden_size": 256,
102
+ "id2label": {
103
+ "0": "LABEL_0",
104
+ "1": "LABEL_1"
105
+ },
106
+ "image_embedding_size": 64,
107
+ "image_size": 1024,
108
+ "is_decoder": false,
109
+ "is_encoder_decoder": false,
110
+ "label2id": {
111
+ "LABEL_0": 0,
112
+ "LABEL_1": 1
113
+ },
114
+ "layer_norm_eps": 1e-06,
115
+ "length_penalty": 1.0,
116
+ "mask_input_channels": 16,
117
+ "max_length": 20,
118
+ "min_length": 0,
119
+ "model_type": "",
120
+ "no_repeat_ngram_size": 0,
121
+ "num_beam_groups": 1,
122
+ "num_beams": 1,
123
+ "num_point_embeddings": 4,
124
+ "num_return_sequences": 1,
125
+ "output_attentions": false,
126
+ "output_hidden_states": false,
127
+ "output_scores": false,
128
+ "pad_token_id": null,
129
+ "patch_size": 16,
130
+ "prefix": null,
131
+ "problem_type": null,
132
+ "pruned_heads": {},
133
+ "remove_invalid_values": false,
134
+ "repetition_penalty": 1.0,
135
+ "return_dict": true,
136
+ "return_dict_in_generate": false,
137
+ "sep_token_id": null,
138
+ "suppress_tokens": null,
139
+ "task_specific_params": null,
140
+ "temperature": 1.0,
141
+ "tf_legacy_loss": false,
142
+ "tie_encoder_decoder": false,
143
+ "tie_word_embeddings": true,
144
+ "tokenizer_class": null,
145
+ "top_k": 50,
146
+ "top_p": 1.0,
147
+ "torch_dtype": null,
148
+ "torchscript": false,
149
+ "transformers_version": "4.31.0",
150
+ "typical_p": 1.0,
151
+ "use_bfloat16": false
152
+ },
153
+ "torch_dtype": "float32",
154
+ "transformers_version": null,
155
+ "vision_config": {
156
+ "_name_or_path": "",
157
+ "add_cross_attention": false,
158
+ "architectures": null,
159
+ "attention_dropout": 0.0,
160
+ "bad_words_ids": null,
161
+ "begin_suppress_tokens": null,
162
+ "bos_token_id": null,
163
+ "chunk_size_feed_forward": 0,
164
+ "cross_attention_hidden_size": null,
165
+ "decoder_start_token_id": null,
166
+ "diversity_penalty": 0.0,
167
+ "do_sample": false,
168
+ "dropout": 0.0,
169
+ "early_stopping": false,
170
+ "encoder_no_repeat_ngram_size": 0,
171
+ "eos_token_id": null,
172
+ "exponential_decay_length_penalty": null,
173
+ "finetuning_task": null,
174
+ "forced_bos_token_id": null,
175
+ "forced_eos_token_id": null,
176
+ "global_attn_indexes": [
177
+ 2,
178
+ 5,
179
+ 8,
180
+ 11
181
+ ],
182
+ "hidden_act": "gelu",
183
+ "hidden_size": 768,
184
+ "id2label": {
185
+ "0": "LABEL_0",
186
+ "1": "LABEL_1"
187
+ },
188
+ "image_size": 1024,
189
+ "initializer_factor": 1.0,
190
+ "initializer_range": 1e-10,
191
+ "intermediate_size": 6144,
192
+ "is_decoder": false,
193
+ "is_encoder_decoder": false,
194
+ "label2id": {
195
+ "LABEL_0": 0,
196
+ "LABEL_1": 1
197
+ },
198
+ "layer_norm_eps": 1e-06,
199
+ "length_penalty": 1.0,
200
+ "max_length": 20,
201
+ "min_length": 0,
202
+ "mlp_dim": 3072,
203
+ "mlp_ratio": 4.0,
204
+ "model_type": "",
205
+ "no_repeat_ngram_size": 0,
206
+ "num_attention_heads": 12,
207
+ "num_beam_groups": 1,
208
+ "num_beams": 1,
209
+ "num_channels": 3,
210
+ "num_hidden_layers": 12,
211
+ "num_pos_feats": 128,
212
+ "num_return_sequences": 1,
213
+ "output_attentions": false,
214
+ "output_channels": 256,
215
+ "output_hidden_states": false,
216
+ "output_scores": false,
217
+ "pad_token_id": null,
218
+ "patch_size": 16,
219
+ "prefix": null,
220
+ "problem_type": null,
221
+ "projection_dim": 512,
222
+ "pruned_heads": {},
223
+ "qkv_bias": true,
224
+ "remove_invalid_values": false,
225
+ "repetition_penalty": 1.0,
226
+ "return_dict": true,
227
+ "return_dict_in_generate": false,
228
+ "sep_token_id": null,
229
+ "suppress_tokens": null,
230
+ "task_specific_params": null,
231
+ "temperature": 1.0,
232
+ "tf_legacy_loss": false,
233
+ "tie_encoder_decoder": false,
234
+ "tie_word_embeddings": true,
235
+ "tokenizer_class": null,
236
+ "top_k": 50,
237
+ "top_p": 1.0,
238
+ "torch_dtype": null,
239
+ "torchscript": false,
240
+ "transformers_version": "4.31.0",
241
+ "typical_p": 1.0,
242
+ "use_abs_pos": true,
243
+ "use_bfloat16": false,
244
+ "use_rel_pos": true,
245
+ "window_size": 14
246
+ }
247
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:214094fc3066c82197f2f6cefd6c0f33157896626f752eba2d86075da4b7136c
3
+ size 375050165