Training in progress, step 100
Browse files- added_tokens.json +5 -0
- config.json +248 -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,248 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "TIGER-Lab/Mantis-8B-Idefics2",
|
3 |
+
"architectures": [
|
4 |
+
"Idefics2ForSequenceClassification"
|
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 |
+
"problem_type": "regression",
|
93 |
+
"text_config": {
|
94 |
+
"_name_or_path": "",
|
95 |
+
"add_cross_attention": false,
|
96 |
+
"architectures": null,
|
97 |
+
"attention_dropout": 0.0,
|
98 |
+
"bad_words_ids": null,
|
99 |
+
"begin_suppress_tokens": null,
|
100 |
+
"bos_token_id": 1,
|
101 |
+
"chunk_size_feed_forward": 0,
|
102 |
+
"cross_attention_hidden_size": null,
|
103 |
+
"decoder_start_token_id": null,
|
104 |
+
"diversity_penalty": 0.0,
|
105 |
+
"do_sample": false,
|
106 |
+
"early_stopping": false,
|
107 |
+
"encoder_no_repeat_ngram_size": 0,
|
108 |
+
"eos_token_id": 2,
|
109 |
+
"exponential_decay_length_penalty": null,
|
110 |
+
"finetuning_task": null,
|
111 |
+
"forced_bos_token_id": null,
|
112 |
+
"forced_eos_token_id": null,
|
113 |
+
"hidden_act": "silu",
|
114 |
+
"hidden_size": 4096,
|
115 |
+
"id2label": {
|
116 |
+
"0": "LABEL_0",
|
117 |
+
"1": "LABEL_1"
|
118 |
+
},
|
119 |
+
"initializer_range": 0.02,
|
120 |
+
"intermediate_size": 14336,
|
121 |
+
"is_decoder": false,
|
122 |
+
"is_encoder_decoder": false,
|
123 |
+
"label2id": {
|
124 |
+
"LABEL_0": 0,
|
125 |
+
"LABEL_1": 1
|
126 |
+
},
|
127 |
+
"length_penalty": 1.0,
|
128 |
+
"max_length": 20,
|
129 |
+
"max_position_embeddings": 32768,
|
130 |
+
"min_length": 0,
|
131 |
+
"model_type": "mistral",
|
132 |
+
"no_repeat_ngram_size": 0,
|
133 |
+
"num_attention_heads": 32,
|
134 |
+
"num_beam_groups": 1,
|
135 |
+
"num_beams": 1,
|
136 |
+
"num_hidden_layers": 32,
|
137 |
+
"num_key_value_heads": 8,
|
138 |
+
"num_return_sequences": 1,
|
139 |
+
"output_attentions": false,
|
140 |
+
"output_hidden_states": false,
|
141 |
+
"output_scores": false,
|
142 |
+
"pad_token_id": 0,
|
143 |
+
"prefix": null,
|
144 |
+
"problem_type": null,
|
145 |
+
"pruned_heads": {},
|
146 |
+
"remove_invalid_values": false,
|
147 |
+
"repetition_penalty": 1.0,
|
148 |
+
"return_dict": true,
|
149 |
+
"return_dict_in_generate": false,
|
150 |
+
"rms_norm_eps": 1e-05,
|
151 |
+
"rope_theta": 10000.0,
|
152 |
+
"sep_token_id": null,
|
153 |
+
"sliding_window": 4096,
|
154 |
+
"suppress_tokens": null,
|
155 |
+
"task_specific_params": null,
|
156 |
+
"temperature": 1.0,
|
157 |
+
"tf_legacy_loss": false,
|
158 |
+
"tie_encoder_decoder": false,
|
159 |
+
"tie_word_embeddings": false,
|
160 |
+
"tokenizer_class": null,
|
161 |
+
"top_k": 50,
|
162 |
+
"top_p": 1.0,
|
163 |
+
"torch_dtype": null,
|
164 |
+
"torchscript": false,
|
165 |
+
"typical_p": 1.0,
|
166 |
+
"use_bfloat16": false,
|
167 |
+
"use_cache": true,
|
168 |
+
"vocab_size": 32003
|
169 |
+
},
|
170 |
+
"tie_word_embeddings": false,
|
171 |
+
"torch_dtype": "bfloat16",
|
172 |
+
"transformers_version": "4.41.1",
|
173 |
+
"use_cache": true,
|
174 |
+
"vision_config": {
|
175 |
+
"_name_or_path": "",
|
176 |
+
"add_cross_attention": false,
|
177 |
+
"architectures": null,
|
178 |
+
"attention_dropout": 0.0,
|
179 |
+
"bad_words_ids": null,
|
180 |
+
"begin_suppress_tokens": null,
|
181 |
+
"bos_token_id": null,
|
182 |
+
"chunk_size_feed_forward": 0,
|
183 |
+
"cross_attention_hidden_size": null,
|
184 |
+
"decoder_start_token_id": null,
|
185 |
+
"diversity_penalty": 0.0,
|
186 |
+
"do_sample": false,
|
187 |
+
"early_stopping": false,
|
188 |
+
"encoder_no_repeat_ngram_size": 0,
|
189 |
+
"eos_token_id": null,
|
190 |
+
"exponential_decay_length_penalty": null,
|
191 |
+
"finetuning_task": null,
|
192 |
+
"forced_bos_token_id": null,
|
193 |
+
"forced_eos_token_id": null,
|
194 |
+
"hidden_act": "gelu_pytorch_tanh",
|
195 |
+
"hidden_size": 1152,
|
196 |
+
"id2label": {
|
197 |
+
"0": "LABEL_0",
|
198 |
+
"1": "LABEL_1"
|
199 |
+
},
|
200 |
+
"image_size": 980,
|
201 |
+
"initializer_range": 0.02,
|
202 |
+
"intermediate_size": 4304,
|
203 |
+
"is_decoder": false,
|
204 |
+
"is_encoder_decoder": false,
|
205 |
+
"label2id": {
|
206 |
+
"LABEL_0": 0,
|
207 |
+
"LABEL_1": 1
|
208 |
+
},
|
209 |
+
"layer_norm_eps": 1e-06,
|
210 |
+
"length_penalty": 1.0,
|
211 |
+
"max_length": 20,
|
212 |
+
"min_length": 0,
|
213 |
+
"model_type": "idefics2",
|
214 |
+
"no_repeat_ngram_size": 0,
|
215 |
+
"num_attention_heads": 16,
|
216 |
+
"num_beam_groups": 1,
|
217 |
+
"num_beams": 1,
|
218 |
+
"num_channels": 3,
|
219 |
+
"num_hidden_layers": 27,
|
220 |
+
"num_return_sequences": 1,
|
221 |
+
"output_attentions": false,
|
222 |
+
"output_hidden_states": false,
|
223 |
+
"output_scores": false,
|
224 |
+
"pad_token_id": null,
|
225 |
+
"patch_size": 14,
|
226 |
+
"prefix": null,
|
227 |
+
"problem_type": null,
|
228 |
+
"pruned_heads": {},
|
229 |
+
"remove_invalid_values": false,
|
230 |
+
"repetition_penalty": 1.0,
|
231 |
+
"return_dict": true,
|
232 |
+
"return_dict_in_generate": false,
|
233 |
+
"sep_token_id": null,
|
234 |
+
"suppress_tokens": null,
|
235 |
+
"task_specific_params": null,
|
236 |
+
"temperature": 1.0,
|
237 |
+
"tf_legacy_loss": false,
|
238 |
+
"tie_encoder_decoder": false,
|
239 |
+
"tie_word_embeddings": true,
|
240 |
+
"tokenizer_class": null,
|
241 |
+
"top_k": 50,
|
242 |
+
"top_p": 1.0,
|
243 |
+
"torch_dtype": null,
|
244 |
+
"torchscript": false,
|
245 |
+
"typical_p": 1.0,
|
246 |
+
"use_bfloat16": false
|
247 |
+
}
|
248 |
+
}
|
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:cdfcebc31ccbc73be647b1a444f33c5e0ba62b28754e67b6e732770067b20aeb
|
3 |
+
size 6520
|