rippertnt commited on
Commit
f282a9b
1 Parent(s): f0fd783
Files changed (2) hide show
  1. config.json +195 -0
  2. pytorch_model.bin +3 -0
config.json ADDED
@@ -0,0 +1,195 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "vit_kobart_caption_ko_v1",
3
+ "architectures": [
4
+ "VisionEncoderDecoderModel"
5
+ ],
6
+ "decoder": {
7
+ "_name_or_path": "gogamza/kobart-base-v2",
8
+ "activation_dropout": 0.0,
9
+ "activation_function": "gelu",
10
+ "add_bias_logits": false,
11
+ "add_cross_attention": true,
12
+ "add_final_layer_norm": false,
13
+ "architectures": [
14
+ "BartModel"
15
+ ],
16
+ "attention_dropout": 0.0,
17
+ "author": "Heewon Jeon(madjakarta@gmail.com)",
18
+ "bad_words_ids": null,
19
+ "bos_token_id": 1,
20
+ "chunk_size_feed_forward": 0,
21
+ "classif_dropout": 0.1,
22
+ "classifier_dropout": 0.1,
23
+ "cross_attention_hidden_size": null,
24
+ "d_model": 768,
25
+ "decoder_attention_heads": 16,
26
+ "decoder_ffn_dim": 3072,
27
+ "decoder_layerdrop": 0.0,
28
+ "decoder_layers": 6,
29
+ "decoder_start_token_id": 1,
30
+ "diversity_penalty": 0.0,
31
+ "do_blenderbot_90_layernorm": false,
32
+ "do_sample": false,
33
+ "dropout": 0.1,
34
+ "early_stopping": false,
35
+ "encoder_attention_heads": 16,
36
+ "encoder_ffn_dim": 3072,
37
+ "encoder_layerdrop": 0.0,
38
+ "encoder_layers": 6,
39
+ "encoder_no_repeat_ngram_size": 0,
40
+ "eos_token_id": 1,
41
+ "exponential_decay_length_penalty": null,
42
+ "extra_pos_embeddings": 2,
43
+ "finetuning_task": null,
44
+ "force_bos_token_to_be_generated": false,
45
+ "forced_bos_token_id": null,
46
+ "forced_eos_token_id": 1,
47
+ "gradient_checkpointing": false,
48
+ "id2label": {
49
+ "0": "NEGATIVE",
50
+ "1": "POSITIVE"
51
+ },
52
+ "init_std": 0.02,
53
+ "is_decoder": true,
54
+ "is_encoder_decoder": false,
55
+ "kobart_version": 2.0,
56
+ "label2id": {
57
+ "NEGATIVE": 0,
58
+ "POSITIVE": 1
59
+ },
60
+ "length_penalty": 1.0,
61
+ "max_length": 20,
62
+ "max_position_embeddings": 1026,
63
+ "min_length": 0,
64
+ "model_type": "bart",
65
+ "no_repeat_ngram_size": 0,
66
+ "normalize_before": false,
67
+ "normalize_embedding": true,
68
+ "num_beam_groups": 1,
69
+ "num_beams": 1,
70
+ "num_hidden_layers": 6,
71
+ "num_return_sequences": 1,
72
+ "output_attentions": false,
73
+ "output_hidden_states": false,
74
+ "output_scores": false,
75
+ "pad_token_id": 3,
76
+ "prefix": null,
77
+ "problem_type": null,
78
+ "pruned_heads": {},
79
+ "remove_invalid_values": false,
80
+ "repetition_penalty": 1.0,
81
+ "return_dict": true,
82
+ "return_dict_in_generate": false,
83
+ "scale_embedding": false,
84
+ "sep_token_id": null,
85
+ "static_position_embeddings": false,
86
+ "task_specific_params": null,
87
+ "temperature": 1.0,
88
+ "tf_legacy_loss": false,
89
+ "tie_encoder_decoder": false,
90
+ "tie_word_embeddings": true,
91
+ "tokenizer_class": "PreTrainedTokenizerFast",
92
+ "top_k": 50,
93
+ "top_p": 1.0,
94
+ "torch_dtype": null,
95
+ "torchscript": false,
96
+ "transformers_version": "4.21.2",
97
+ "typical_p": 1.0,
98
+ "use_bfloat16": false,
99
+ "use_cache": true,
100
+ "vocab_size": 30000
101
+ },
102
+ "decoder_start_token_id": 1,
103
+ "early_stopping": true,
104
+ "encoder": {
105
+ "_name_or_path": "google/vit-base-patch16-224-in21k",
106
+ "add_cross_attention": false,
107
+ "architectures": [
108
+ "ViTModel"
109
+ ],
110
+ "attention_probs_dropout_prob": 0.0,
111
+ "bad_words_ids": null,
112
+ "bos_token_id": null,
113
+ "chunk_size_feed_forward": 0,
114
+ "cross_attention_hidden_size": null,
115
+ "decoder_start_token_id": null,
116
+ "diversity_penalty": 0.0,
117
+ "do_sample": false,
118
+ "early_stopping": false,
119
+ "encoder_no_repeat_ngram_size": 0,
120
+ "encoder_stride": 16,
121
+ "eos_token_id": null,
122
+ "exponential_decay_length_penalty": null,
123
+ "finetuning_task": null,
124
+ "forced_bos_token_id": null,
125
+ "forced_eos_token_id": null,
126
+ "hidden_act": "gelu",
127
+ "hidden_dropout_prob": 0.0,
128
+ "hidden_size": 768,
129
+ "id2label": {
130
+ "0": "LABEL_0",
131
+ "1": "LABEL_1"
132
+ },
133
+ "image_size": 224,
134
+ "initializer_range": 0.02,
135
+ "intermediate_size": 3072,
136
+ "is_decoder": false,
137
+ "is_encoder_decoder": false,
138
+ "label2id": {
139
+ "LABEL_0": 0,
140
+ "LABEL_1": 1
141
+ },
142
+ "layer_norm_eps": 1e-12,
143
+ "length_penalty": 1.0,
144
+ "max_length": 20,
145
+ "min_length": 0,
146
+ "model_type": "vit",
147
+ "no_repeat_ngram_size": 0,
148
+ "num_attention_heads": 12,
149
+ "num_beam_groups": 1,
150
+ "num_beams": 1,
151
+ "num_channels": 3,
152
+ "num_hidden_layers": 12,
153
+ "num_return_sequences": 1,
154
+ "output_attentions": false,
155
+ "output_hidden_states": false,
156
+ "output_scores": false,
157
+ "pad_token_id": null,
158
+ "patch_size": 16,
159
+ "prefix": null,
160
+ "problem_type": null,
161
+ "pruned_heads": {},
162
+ "qkv_bias": true,
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
+ "task_specific_params": null,
169
+ "temperature": 1.0,
170
+ "tf_legacy_loss": false,
171
+ "tie_encoder_decoder": false,
172
+ "tie_word_embeddings": true,
173
+ "tokenizer_class": null,
174
+ "top_k": 50,
175
+ "top_p": 1.0,
176
+ "torch_dtype": null,
177
+ "torchscript": false,
178
+ "transformers_version": "4.21.2",
179
+ "typical_p": 1.0,
180
+ "use_bfloat16": false
181
+ },
182
+ "eos_token_id": 1,
183
+ "is_encoder_decoder": true,
184
+ "length_penalty": 2.0,
185
+ "max_length": 32,
186
+ "model_type": "vision-encoder-decoder",
187
+ "no_repeat_ngram_size": 3,
188
+ "num_beams": 5,
189
+ "pad_token_id": 3,
190
+ "tie_encoder_decoder": true,
191
+ "tie_word_embeddings": false,
192
+ "torch_dtype": "float32",
193
+ "transformers_version": null,
194
+ "vocab_size": 30000
195
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:402170764fb873ac2b6d427f3e5eb65db7d518d3d5da46b9c4f9a211f21a0121
3
+ size 667840881