teowu commited on
Commit
bf10b2f
1 Parent(s): 174048a

Upload folder using huggingface_hub

Browse files
.ipynb_checkpoints/config-checkpoint.json ADDED
@@ -0,0 +1,192 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "q-future/co-instruct-preview",
3
+ "model_type": "mplug_owl2",
4
+ "architectures": [
5
+ "MPLUGOwl2LlamaForCausalLM"
6
+ ],
7
+ "auto_map": {
8
+ "AutoConfig": "configuration_mplug_owl2.MPLUGOwl2Config",
9
+ "AutoModel": "modeling_mplug_owl2.MPLUGOwl2LlamaForCausalLM",
10
+ "AutoModelForCausalLM": "modeling_mplug_owl2.MPLUGOwl2LlamaForCausalLM"
11
+ },
12
+ "attention_bias": false,
13
+ "bos_token_id": 1,
14
+ "eos_token_id": 2,
15
+ "freeze_vision_model": false,
16
+ "hidden_act": "silu",
17
+ "hidden_size": 4096,
18
+ "image_aspect_ratio": "pad",
19
+ "image_grid_pinpoints": null,
20
+ "initializer_range": 0.02,
21
+ "intermediate_size": 11008,
22
+ "max_position_embeddings": 2048,
23
+ "model_type": "mplug_owl2",
24
+ "num_attention_heads": 32,
25
+ "num_hidden_layers": 32,
26
+ "num_key_value_heads": 32,
27
+ "pretraining_tp": 1,
28
+ "rms_norm_eps": 1e-06,
29
+ "rope_scaling": null,
30
+ "rope_theta": 10000.0,
31
+ "tie_word_embeddings": false,
32
+ "torch_dtype": "bfloat16",
33
+ "transformers_version": "4.37.0",
34
+ "tune_visual_abstractor": true,
35
+ "use_cache": true,
36
+ "visual_abstractor_lr": null,
37
+ "visual_config": {
38
+ "visual_abstractor": {
39
+ "_name_or_path": "",
40
+ "add_cross_attention": false,
41
+ "architectures": null,
42
+ "attention_probs_dropout_prob": 0.0,
43
+ "bad_words_ids": null,
44
+ "begin_suppress_tokens": null,
45
+ "bos_token_id": null,
46
+ "chunk_size_feed_forward": 0,
47
+ "cross_attention_hidden_size": null,
48
+ "decoder_start_token_id": null,
49
+ "diversity_penalty": 0.0,
50
+ "do_sample": false,
51
+ "early_stopping": false,
52
+ "encoder_hidden_size": 1024,
53
+ "encoder_no_repeat_ngram_size": 0,
54
+ "eos_token_id": null,
55
+ "exponential_decay_length_penalty": null,
56
+ "finetuning_task": null,
57
+ "forced_bos_token_id": null,
58
+ "forced_eos_token_id": null,
59
+ "grid_size": 32,
60
+ "hidden_size": 1024,
61
+ "id2label": {
62
+ "0": "LABEL_0",
63
+ "1": "LABEL_1"
64
+ },
65
+ "initializer_range": 0.02,
66
+ "intermediate_size": 2816,
67
+ "is_decoder": false,
68
+ "is_encoder_decoder": false,
69
+ "label2id": {
70
+ "LABEL_0": 0,
71
+ "LABEL_1": 1
72
+ },
73
+ "layer_norm_eps": 1e-06,
74
+ "length_penalty": 1.0,
75
+ "max_length": 20,
76
+ "min_length": 0,
77
+ "model_type": "mplug_owl_visual_abstract",
78
+ "no_repeat_ngram_size": 0,
79
+ "num_attention_heads": 16,
80
+ "num_beam_groups": 1,
81
+ "num_beams": 1,
82
+ "num_hidden_layers": 6,
83
+ "num_learnable_queries": 64,
84
+ "num_return_sequences": 1,
85
+ "output_attentions": false,
86
+ "output_hidden_states": false,
87
+ "output_scores": false,
88
+ "pad_token_id": null,
89
+ "prefix": null,
90
+ "problem_type": null,
91
+ "pruned_heads": {},
92
+ "remove_invalid_values": false,
93
+ "repetition_penalty": 1.0,
94
+ "return_dict": true,
95
+ "return_dict_in_generate": false,
96
+ "sep_token_id": null,
97
+ "suppress_tokens": null,
98
+ "task_specific_params": null,
99
+ "temperature": 1.0,
100
+ "tf_legacy_loss": false,
101
+ "tie_encoder_decoder": false,
102
+ "tie_word_embeddings": true,
103
+ "tokenizer_class": null,
104
+ "top_k": 50,
105
+ "top_p": 1.0,
106
+ "torch_dtype": null,
107
+ "torchscript": false,
108
+ "transformers_version": "4.28.1",
109
+ "typical_p": 1.0,
110
+ "use_bfloat16": false
111
+ },
112
+ "visual_model": {
113
+ "_name_or_path": "",
114
+ "add_cross_attention": false,
115
+ "architectures": null,
116
+ "attention_dropout": 0.0,
117
+ "bad_words_ids": null,
118
+ "begin_suppress_tokens": null,
119
+ "bos_token_id": null,
120
+ "chunk_size_feed_forward": 0,
121
+ "cross_attention_hidden_size": null,
122
+ "decoder_start_token_id": null,
123
+ "diversity_penalty": 0.0,
124
+ "do_sample": false,
125
+ "early_stopping": false,
126
+ "encoder_no_repeat_ngram_size": 0,
127
+ "eos_token_id": null,
128
+ "exponential_decay_length_penalty": null,
129
+ "finetuning_task": null,
130
+ "forced_bos_token_id": null,
131
+ "forced_eos_token_id": null,
132
+ "hidden_act": "quick_gelu",
133
+ "hidden_size": 1024,
134
+ "id2label": {
135
+ "0": "LABEL_0",
136
+ "1": "LABEL_1"
137
+ },
138
+ "image_size": 448,
139
+ "initializer_factor": 1.0,
140
+ "initializer_range": 0.02,
141
+ "intermediate_size": 4096,
142
+ "is_decoder": false,
143
+ "is_encoder_decoder": false,
144
+ "label2id": {
145
+ "LABEL_0": 0,
146
+ "LABEL_1": 1
147
+ },
148
+ "layer_norm_eps": 1e-06,
149
+ "length_penalty": 1.0,
150
+ "max_length": 20,
151
+ "min_length": 0,
152
+ "model_type": "mplug_owl_vision_model",
153
+ "no_repeat_ngram_size": 0,
154
+ "num_attention_heads": 16,
155
+ "num_beam_groups": 1,
156
+ "num_beams": 1,
157
+ "num_channels": 3,
158
+ "num_hidden_layers": 24,
159
+ "num_return_sequences": 1,
160
+ "output_attentions": false,
161
+ "output_hidden_states": false,
162
+ "output_scores": false,
163
+ "pad_token_id": null,
164
+ "patch_size": 14,
165
+ "prefix": null,
166
+ "problem_type": null,
167
+ "projection_dim": 768,
168
+ "pruned_heads": {},
169
+ "remove_invalid_values": false,
170
+ "repetition_penalty": 1.0,
171
+ "return_dict": true,
172
+ "return_dict_in_generate": false,
173
+ "sep_token_id": null,
174
+ "suppress_tokens": null,
175
+ "task_specific_params": null,
176
+ "temperature": 1.0,
177
+ "tf_legacy_loss": false,
178
+ "tie_encoder_decoder": false,
179
+ "tie_word_embeddings": true,
180
+ "tokenizer_class": null,
181
+ "top_k": 50,
182
+ "top_p": 1.0,
183
+ "torch_dtype": null,
184
+ "torchscript": false,
185
+ "transformers_version": "4.37.0",
186
+ "typical_p": 1.0,
187
+ "use_bfloat16": false,
188
+ "use_flash_attn": false
189
+ }
190
+ },
191
+ "vocab_size": 32000
192
+ }
config.json CHANGED
@@ -10,7 +10,6 @@
10
  "AutoModelForCausalLM": "modeling_mplug_owl2.MPLUGOwl2LlamaForCausalLM"
11
  },
12
  "attention_bias": false,
13
- "attention_dropout": 0.0,
14
  "bos_token_id": 1,
15
  "eos_token_id": 2,
16
  "freeze_vision_model": false,
@@ -31,7 +30,7 @@
31
  "rope_theta": 10000.0,
32
  "tie_word_embeddings": false,
33
  "torch_dtype": "bfloat16",
34
- "transformers_version": "4.36.1",
35
  "tune_visual_abstractor": true,
36
  "use_cache": true,
37
  "visual_abstractor_lr": null,
@@ -183,7 +182,7 @@
183
  "top_p": 1.0,
184
  "torch_dtype": null,
185
  "torchscript": false,
186
- "transformers_version": "4.28.1",
187
  "typical_p": 1.0,
188
  "use_bfloat16": false,
189
  "use_flash_attn": false
 
10
  "AutoModelForCausalLM": "modeling_mplug_owl2.MPLUGOwl2LlamaForCausalLM"
11
  },
12
  "attention_bias": false,
 
13
  "bos_token_id": 1,
14
  "eos_token_id": 2,
15
  "freeze_vision_model": false,
 
30
  "rope_theta": 10000.0,
31
  "tie_word_embeddings": false,
32
  "torch_dtype": "bfloat16",
33
+ "transformers_version": "4.37.0",
34
  "tune_visual_abstractor": true,
35
  "use_cache": true,
36
  "visual_abstractor_lr": null,
 
182
  "top_p": 1.0,
183
  "torch_dtype": null,
184
  "torchscript": false,
185
+ "transformers_version": "4.37.0",
186
  "typical_p": 1.0,
187
  "use_bfloat16": false,
188
  "use_flash_attn": false
pytorch_model-00001-of-00004.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:8ac4839a29e48a8896368aa8f7816e18cc3a459eccb95ff7a571290bb6730cb6
3
  size 4981108780
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:966906c35a40c6f23c5ac6f516cc3ed5cb09cec69d1d730bff18bdd2730ab50f
3
  size 4981108780
pytorch_model-00002-of-00004.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:6b34ff911880a7f8bd60b2a3ee0f7a5ec885748fc4d5308d5e00cfc404960515
3
  size 4920293259
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:483997c9987818581dfe391d50b35a9dcfd19b61c6beb31e208567e46e812f42
3
  size 4920293259
pytorch_model-00003-of-00004.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:ce918e7e43822d390d528cab57892c1d50a25cae752155924339ac048f51df0b
3
  size 4989532454
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bec9927ae3cccd46d14d55edb65aee238d735b15496557c84622b8c73b2a972b
3
  size 4989532454
pytorch_model-00004-of-00004.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:920bba40c5cb6469732d171220fa6dc2c3f957270d5ce4060fe298e9f29bff1a
3
  size 1518469929
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7130429abb53cfb6e5b1c55ca16f3ff605d4a30d42872b55d025c9f1f70803fa
3
  size 1518469929
trainer_state.json CHANGED
The diff for this file is too large to render. See raw diff
 
training_args.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:d4d77889eaae62c56d315288e947ae6f9270d5e05c2c5af1f2fc65f6bb5f4d89
3
  size 6139
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3df716bc8cc87a8c8020346e18daef7f53e0f713f2249889e77ad19cfa7c9ce6
3
  size 6139