Training in progress, step 100
Browse files- added_tokens.json +5 -0
- config.json +247 -0
- preprocessor_config.json +26 -0
- processor_config.json +4 -0
- special_tokens_map.json +53 -0
- tokenizer.json +0 -0
- tokenizer.model +3 -0
- tokenizer_config.json +72 -0
- training_args.bin +3 -0
added_tokens.json
ADDED
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"<end_of_utterance>": 32002,
|
3 |
+
"<fake_token_around_image>": 32000,
|
4 |
+
"<image>": 32001
|
5 |
+
}
|
config.json
ADDED
@@ -0,0 +1,247 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "TIGER-Lab/Mantis-8B-Idefics2",
|
3 |
+
"architectures": [
|
4 |
+
"Idefics2ForConditionalGeneration"
|
5 |
+
],
|
6 |
+
"id2label": {
|
7 |
+
"0": "LABEL_0",
|
8 |
+
"1": "LABEL_1",
|
9 |
+
"2": "LABEL_2",
|
10 |
+
"3": "LABEL_3",
|
11 |
+
"4": "LABEL_4"
|
12 |
+
},
|
13 |
+
"image_token_id": 32001,
|
14 |
+
"label2id": {
|
15 |
+
"LABEL_0": 0,
|
16 |
+
"LABEL_1": 1,
|
17 |
+
"LABEL_2": 2,
|
18 |
+
"LABEL_3": 3,
|
19 |
+
"LABEL_4": 4
|
20 |
+
},
|
21 |
+
"model_type": "idefics2",
|
22 |
+
"perceiver_config": {
|
23 |
+
"_name_or_path": "",
|
24 |
+
"add_cross_attention": false,
|
25 |
+
"architectures": null,
|
26 |
+
"attention_dropout": 0.0,
|
27 |
+
"bad_words_ids": null,
|
28 |
+
"begin_suppress_tokens": null,
|
29 |
+
"bos_token_id": null,
|
30 |
+
"chunk_size_feed_forward": 0,
|
31 |
+
"cross_attention_hidden_size": null,
|
32 |
+
"decoder_start_token_id": null,
|
33 |
+
"diversity_penalty": 0.0,
|
34 |
+
"do_sample": false,
|
35 |
+
"early_stopping": false,
|
36 |
+
"encoder_no_repeat_ngram_size": 0,
|
37 |
+
"eos_token_id": null,
|
38 |
+
"exponential_decay_length_penalty": null,
|
39 |
+
"finetuning_task": null,
|
40 |
+
"forced_bos_token_id": null,
|
41 |
+
"forced_eos_token_id": null,
|
42 |
+
"hidden_act": "silu",
|
43 |
+
"id2label": {
|
44 |
+
"0": "LABEL_0",
|
45 |
+
"1": "LABEL_1"
|
46 |
+
},
|
47 |
+
"is_decoder": false,
|
48 |
+
"is_encoder_decoder": false,
|
49 |
+
"label2id": {
|
50 |
+
"LABEL_0": 0,
|
51 |
+
"LABEL_1": 1
|
52 |
+
},
|
53 |
+
"length_penalty": 1.0,
|
54 |
+
"max_length": 20,
|
55 |
+
"min_length": 0,
|
56 |
+
"model_type": "idefics2",
|
57 |
+
"no_repeat_ngram_size": 0,
|
58 |
+
"num_beam_groups": 1,
|
59 |
+
"num_beams": 1,
|
60 |
+
"num_key_value_heads": 4,
|
61 |
+
"num_return_sequences": 1,
|
62 |
+
"output_attentions": false,
|
63 |
+
"output_hidden_states": false,
|
64 |
+
"output_scores": false,
|
65 |
+
"pad_token_id": null,
|
66 |
+
"prefix": null,
|
67 |
+
"problem_type": null,
|
68 |
+
"pruned_heads": {},
|
69 |
+
"remove_invalid_values": false,
|
70 |
+
"repetition_penalty": 1.0,
|
71 |
+
"resampler_depth": 3,
|
72 |
+
"resampler_head_dim": 96,
|
73 |
+
"resampler_n_heads": 16,
|
74 |
+
"resampler_n_latents": 64,
|
75 |
+
"return_dict": true,
|
76 |
+
"return_dict_in_generate": false,
|
77 |
+
"sep_token_id": null,
|
78 |
+
"suppress_tokens": null,
|
79 |
+
"task_specific_params": null,
|
80 |
+
"temperature": 1.0,
|
81 |
+
"tf_legacy_loss": false,
|
82 |
+
"tie_encoder_decoder": false,
|
83 |
+
"tie_word_embeddings": true,
|
84 |
+
"tokenizer_class": null,
|
85 |
+
"top_k": 50,
|
86 |
+
"top_p": 1.0,
|
87 |
+
"torch_dtype": null,
|
88 |
+
"torchscript": false,
|
89 |
+
"typical_p": 1.0,
|
90 |
+
"use_bfloat16": false
|
91 |
+
},
|
92 |
+
"text_config": {
|
93 |
+
"_name_or_path": "",
|
94 |
+
"add_cross_attention": false,
|
95 |
+
"architectures": null,
|
96 |
+
"attention_dropout": 0.0,
|
97 |
+
"bad_words_ids": null,
|
98 |
+
"begin_suppress_tokens": null,
|
99 |
+
"bos_token_id": 1,
|
100 |
+
"chunk_size_feed_forward": 0,
|
101 |
+
"cross_attention_hidden_size": null,
|
102 |
+
"decoder_start_token_id": null,
|
103 |
+
"diversity_penalty": 0.0,
|
104 |
+
"do_sample": false,
|
105 |
+
"early_stopping": false,
|
106 |
+
"encoder_no_repeat_ngram_size": 0,
|
107 |
+
"eos_token_id": 2,
|
108 |
+
"exponential_decay_length_penalty": null,
|
109 |
+
"finetuning_task": null,
|
110 |
+
"forced_bos_token_id": null,
|
111 |
+
"forced_eos_token_id": null,
|
112 |
+
"hidden_act": "silu",
|
113 |
+
"hidden_size": 4096,
|
114 |
+
"id2label": {
|
115 |
+
"0": "LABEL_0",
|
116 |
+
"1": "LABEL_1"
|
117 |
+
},
|
118 |
+
"initializer_range": 0.02,
|
119 |
+
"intermediate_size": 14336,
|
120 |
+
"is_decoder": false,
|
121 |
+
"is_encoder_decoder": false,
|
122 |
+
"label2id": {
|
123 |
+
"LABEL_0": 0,
|
124 |
+
"LABEL_1": 1
|
125 |
+
},
|
126 |
+
"length_penalty": 1.0,
|
127 |
+
"max_length": 20,
|
128 |
+
"max_position_embeddings": 32768,
|
129 |
+
"min_length": 0,
|
130 |
+
"model_type": "mistral",
|
131 |
+
"no_repeat_ngram_size": 0,
|
132 |
+
"num_attention_heads": 32,
|
133 |
+
"num_beam_groups": 1,
|
134 |
+
"num_beams": 1,
|
135 |
+
"num_hidden_layers": 32,
|
136 |
+
"num_key_value_heads": 8,
|
137 |
+
"num_return_sequences": 1,
|
138 |
+
"output_attentions": false,
|
139 |
+
"output_hidden_states": false,
|
140 |
+
"output_scores": false,
|
141 |
+
"pad_token_id": 0,
|
142 |
+
"prefix": null,
|
143 |
+
"problem_type": null,
|
144 |
+
"pruned_heads": {},
|
145 |
+
"remove_invalid_values": false,
|
146 |
+
"repetition_penalty": 1.0,
|
147 |
+
"return_dict": true,
|
148 |
+
"return_dict_in_generate": false,
|
149 |
+
"rms_norm_eps": 1e-05,
|
150 |
+
"rope_theta": 10000.0,
|
151 |
+
"sep_token_id": null,
|
152 |
+
"sliding_window": 4096,
|
153 |
+
"suppress_tokens": null,
|
154 |
+
"task_specific_params": null,
|
155 |
+
"temperature": 1.0,
|
156 |
+
"tf_legacy_loss": false,
|
157 |
+
"tie_encoder_decoder": false,
|
158 |
+
"tie_word_embeddings": false,
|
159 |
+
"tokenizer_class": null,
|
160 |
+
"top_k": 50,
|
161 |
+
"top_p": 1.0,
|
162 |
+
"torch_dtype": null,
|
163 |
+
"torchscript": false,
|
164 |
+
"typical_p": 1.0,
|
165 |
+
"use_bfloat16": false,
|
166 |
+
"use_cache": true,
|
167 |
+
"vocab_size": 32003
|
168 |
+
},
|
169 |
+
"tie_word_embeddings": false,
|
170 |
+
"torch_dtype": "bfloat16",
|
171 |
+
"transformers_version": "4.41.1",
|
172 |
+
"use_cache": true,
|
173 |
+
"vision_config": {
|
174 |
+
"_name_or_path": "",
|
175 |
+
"add_cross_attention": false,
|
176 |
+
"architectures": null,
|
177 |
+
"attention_dropout": 0.0,
|
178 |
+
"bad_words_ids": null,
|
179 |
+
"begin_suppress_tokens": null,
|
180 |
+
"bos_token_id": null,
|
181 |
+
"chunk_size_feed_forward": 0,
|
182 |
+
"cross_attention_hidden_size": null,
|
183 |
+
"decoder_start_token_id": null,
|
184 |
+
"diversity_penalty": 0.0,
|
185 |
+
"do_sample": false,
|
186 |
+
"early_stopping": false,
|
187 |
+
"encoder_no_repeat_ngram_size": 0,
|
188 |
+
"eos_token_id": null,
|
189 |
+
"exponential_decay_length_penalty": null,
|
190 |
+
"finetuning_task": null,
|
191 |
+
"forced_bos_token_id": null,
|
192 |
+
"forced_eos_token_id": null,
|
193 |
+
"hidden_act": "gelu_pytorch_tanh",
|
194 |
+
"hidden_size": 1152,
|
195 |
+
"id2label": {
|
196 |
+
"0": "LABEL_0",
|
197 |
+
"1": "LABEL_1"
|
198 |
+
},
|
199 |
+
"image_size": 980,
|
200 |
+
"initializer_range": 0.02,
|
201 |
+
"intermediate_size": 4304,
|
202 |
+
"is_decoder": false,
|
203 |
+
"is_encoder_decoder": false,
|
204 |
+
"label2id": {
|
205 |
+
"LABEL_0": 0,
|
206 |
+
"LABEL_1": 1
|
207 |
+
},
|
208 |
+
"layer_norm_eps": 1e-06,
|
209 |
+
"length_penalty": 1.0,
|
210 |
+
"max_length": 20,
|
211 |
+
"min_length": 0,
|
212 |
+
"model_type": "idefics2",
|
213 |
+
"no_repeat_ngram_size": 0,
|
214 |
+
"num_attention_heads": 16,
|
215 |
+
"num_beam_groups": 1,
|
216 |
+
"num_beams": 1,
|
217 |
+
"num_channels": 3,
|
218 |
+
"num_hidden_layers": 27,
|
219 |
+
"num_return_sequences": 1,
|
220 |
+
"output_attentions": false,
|
221 |
+
"output_hidden_states": false,
|
222 |
+
"output_scores": false,
|
223 |
+
"pad_token_id": null,
|
224 |
+
"patch_size": 14,
|
225 |
+
"prefix": null,
|
226 |
+
"problem_type": null,
|
227 |
+
"pruned_heads": {},
|
228 |
+
"remove_invalid_values": false,
|
229 |
+
"repetition_penalty": 1.0,
|
230 |
+
"return_dict": true,
|
231 |
+
"return_dict_in_generate": false,
|
232 |
+
"sep_token_id": null,
|
233 |
+
"suppress_tokens": null,
|
234 |
+
"task_specific_params": null,
|
235 |
+
"temperature": 1.0,
|
236 |
+
"tf_legacy_loss": false,
|
237 |
+
"tie_encoder_decoder": false,
|
238 |
+
"tie_word_embeddings": true,
|
239 |
+
"tokenizer_class": null,
|
240 |
+
"top_k": 50,
|
241 |
+
"top_p": 1.0,
|
242 |
+
"torch_dtype": null,
|
243 |
+
"torchscript": false,
|
244 |
+
"typical_p": 1.0,
|
245 |
+
"use_bfloat16": false
|
246 |
+
}
|
247 |
+
}
|
preprocessor_config.json
ADDED
@@ -0,0 +1,26 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"do_convert_rgb": true,
|
3 |
+
"do_image_splitting": false,
|
4 |
+
"do_normalize": true,
|
5 |
+
"do_pad": true,
|
6 |
+
"do_rescale": true,
|
7 |
+
"do_resize": true,
|
8 |
+
"image_mean": [
|
9 |
+
0.5,
|
10 |
+
0.5,
|
11 |
+
0.5
|
12 |
+
],
|
13 |
+
"image_processor_type": "Idefics2ImageProcessor",
|
14 |
+
"image_std": [
|
15 |
+
0.5,
|
16 |
+
0.5,
|
17 |
+
0.5
|
18 |
+
],
|
19 |
+
"processor_class": "Idefics2Processor",
|
20 |
+
"resample": 2,
|
21 |
+
"rescale_factor": 0.00392156862745098,
|
22 |
+
"size": {
|
23 |
+
"longest_edge": 980,
|
24 |
+
"shortest_edge": 378
|
25 |
+
}
|
26 |
+
}
|
processor_config.json
ADDED
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"image_seq_len": 64,
|
3 |
+
"processor_class": "Idefics2Processor"
|
4 |
+
}
|
special_tokens_map.json
ADDED
@@ -0,0 +1,53 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"additional_special_tokens": [
|
3 |
+
{
|
4 |
+
"content": "<fake_token_around_image>",
|
5 |
+
"lstrip": false,
|
6 |
+
"normalized": false,
|
7 |
+
"rstrip": false,
|
8 |
+
"single_word": false
|
9 |
+
},
|
10 |
+
{
|
11 |
+
"content": "<image>",
|
12 |
+
"lstrip": false,
|
13 |
+
"normalized": false,
|
14 |
+
"rstrip": false,
|
15 |
+
"single_word": false
|
16 |
+
},
|
17 |
+
{
|
18 |
+
"content": "<end_of_utterance>",
|
19 |
+
"lstrip": false,
|
20 |
+
"normalized": false,
|
21 |
+
"rstrip": false,
|
22 |
+
"single_word": false
|
23 |
+
}
|
24 |
+
],
|
25 |
+
"bos_token": {
|
26 |
+
"content": "<s>",
|
27 |
+
"lstrip": false,
|
28 |
+
"normalized": false,
|
29 |
+
"rstrip": false,
|
30 |
+
"single_word": false
|
31 |
+
},
|
32 |
+
"eos_token": {
|
33 |
+
"content": "</s>",
|
34 |
+
"lstrip": false,
|
35 |
+
"normalized": false,
|
36 |
+
"rstrip": false,
|
37 |
+
"single_word": false
|
38 |
+
},
|
39 |
+
"pad_token": {
|
40 |
+
"content": "<unk>",
|
41 |
+
"lstrip": false,
|
42 |
+
"normalized": false,
|
43 |
+
"rstrip": false,
|
44 |
+
"single_word": false
|
45 |
+
},
|
46 |
+
"unk_token": {
|
47 |
+
"content": "<unk>",
|
48 |
+
"lstrip": false,
|
49 |
+
"normalized": false,
|
50 |
+
"rstrip": false,
|
51 |
+
"single_word": false
|
52 |
+
}
|
53 |
+
}
|
tokenizer.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|
tokenizer.model
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:dadfd56d766715c61d2ef780a525ab43b8e6da4de6865bda3d95fdef5e134055
|
3 |
+
size 493443
|
tokenizer_config.json
ADDED
@@ -0,0 +1,72 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"add_bos_token": true,
|
3 |
+
"add_eos_token": false,
|
4 |
+
"added_tokens_decoder": {
|
5 |
+
"0": {
|
6 |
+
"content": "<unk>",
|
7 |
+
"lstrip": false,
|
8 |
+
"normalized": false,
|
9 |
+
"rstrip": false,
|
10 |
+
"single_word": false,
|
11 |
+
"special": true
|
12 |
+
},
|
13 |
+
"1": {
|
14 |
+
"content": "<s>",
|
15 |
+
"lstrip": false,
|
16 |
+
"normalized": false,
|
17 |
+
"rstrip": false,
|
18 |
+
"single_word": false,
|
19 |
+
"special": true
|
20 |
+
},
|
21 |
+
"2": {
|
22 |
+
"content": "</s>",
|
23 |
+
"lstrip": false,
|
24 |
+
"normalized": false,
|
25 |
+
"rstrip": false,
|
26 |
+
"single_word": false,
|
27 |
+
"special": true
|
28 |
+
},
|
29 |
+
"32000": {
|
30 |
+
"content": "<fake_token_around_image>",
|
31 |
+
"lstrip": false,
|
32 |
+
"normalized": false,
|
33 |
+
"rstrip": false,
|
34 |
+
"single_word": false,
|
35 |
+
"special": true
|
36 |
+
},
|
37 |
+
"32001": {
|
38 |
+
"content": "<image>",
|
39 |
+
"lstrip": false,
|
40 |
+
"normalized": false,
|
41 |
+
"rstrip": false,
|
42 |
+
"single_word": false,
|
43 |
+
"special": true
|
44 |
+
},
|
45 |
+
"32002": {
|
46 |
+
"content": "<end_of_utterance>",
|
47 |
+
"lstrip": false,
|
48 |
+
"normalized": false,
|
49 |
+
"rstrip": false,
|
50 |
+
"single_word": false,
|
51 |
+
"special": true
|
52 |
+
}
|
53 |
+
},
|
54 |
+
"additional_special_tokens": [
|
55 |
+
"<fake_token_around_image>",
|
56 |
+
"<image>",
|
57 |
+
"<end_of_utterance>"
|
58 |
+
],
|
59 |
+
"bos_token": "<s>",
|
60 |
+
"clean_up_tokenization_spaces": false,
|
61 |
+
"do_image_splitting": false,
|
62 |
+
"eos_token": "</s>",
|
63 |
+
"legacy": false,
|
64 |
+
"model_max_length": 1000000000000000019884624838656,
|
65 |
+
"pad_token": "<unk>",
|
66 |
+
"processor_class": "Idefics2Processor",
|
67 |
+
"sp_model_kwargs": {},
|
68 |
+
"spaces_between_special_tokens": false,
|
69 |
+
"tokenizer_class": "LlamaTokenizer",
|
70 |
+
"unk_token": "<unk>",
|
71 |
+
"use_default_system_prompt": true
|
72 |
+
}
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:25d036555696d6bb4f0365c4b599053045b3f3e03742156abd470ddcd2210c1a
|
3 |
+
size 6520
|