JB commited on
Commit
1b1160c
1 Parent(s): 3397dde

Upload model

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