Add files using upload-large-folder tool
Browse files- adapter_config.json +29 -0
- adapter_model.safetensors +3 -0
- added_tokens.json +42 -0
- chat_template.json +3 -0
- checkpoint-11082/README.md +202 -0
- checkpoint-11082/adapter_config.json +29 -0
- checkpoint-11082/adapter_model.safetensors +3 -0
- checkpoint-11082/optimizer.pt +3 -0
- checkpoint-11082/rng_state.pth +3 -0
- checkpoint-11082/scheduler.pt +3 -0
- checkpoint-11082/trainer_state.json +0 -0
- checkpoint-11082/training_args.bin +3 -0
- config.json +265 -0
- dump/tmp_adapter_config.json +26 -0
- dump/tmp_adapter_model.safetensors +3 -0
- git_hash.txt +1 -0
- merges.txt +0 -0
- model.safetensors +3 -0
- preprocessor_config.json +28 -0
- processor_config.json +4 -0
- results.json +1 -0
- special_tokens_map.json +53 -0
- tokenizer.json +0 -0
- tokenizer_config.json +479 -0
- training_config.yml +72 -0
- vocab.json +0 -0
adapter_config.json
ADDED
@@ -0,0 +1,29 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"alpha_pattern": {},
|
3 |
+
"auto_mapping": null,
|
4 |
+
"base_model_name_or_path": "./models/ColSmolVLM-500M-Base-22750",
|
5 |
+
"bias": "none",
|
6 |
+
"eva_config": null,
|
7 |
+
"exclude_modules": null,
|
8 |
+
"fan_in_fan_out": false,
|
9 |
+
"inference_mode": true,
|
10 |
+
"init_lora_weights": "gaussian",
|
11 |
+
"layer_replication": null,
|
12 |
+
"layers_pattern": null,
|
13 |
+
"layers_to_transform": null,
|
14 |
+
"loftq_config": {},
|
15 |
+
"lora_alpha": 32,
|
16 |
+
"lora_bias": false,
|
17 |
+
"lora_dropout": 0.1,
|
18 |
+
"megatron_config": null,
|
19 |
+
"megatron_core": "megatron.core",
|
20 |
+
"modules_to_save": null,
|
21 |
+
"peft_type": "LORA",
|
22 |
+
"r": 32,
|
23 |
+
"rank_pattern": {},
|
24 |
+
"revision": null,
|
25 |
+
"target_modules": "(.*(model.text_model).*(down_proj|gate_proj|up_proj|k_proj|q_proj|v_proj|o_proj).*$|.*(custom_text_proj).*$)",
|
26 |
+
"task_type": "FEATURE_EXTRACTION",
|
27 |
+
"use_dora": false,
|
28 |
+
"use_rslora": false
|
29 |
+
}
|
adapter_model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:e3d63a77b22bcc13e29da69bec5e1c59a242c86973f51c0d40c72555b2a5c5e0
|
3 |
+
size 69532280
|
added_tokens.json
ADDED
@@ -0,0 +1,42 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"<end_of_utterance>": 49191,
|
3 |
+
"<fake_token_around_image>": 49189,
|
4 |
+
"<global-img>": 49152,
|
5 |
+
"<image>": 49190,
|
6 |
+
"<row_1_col_1>": 49153,
|
7 |
+
"<row_1_col_2>": 49154,
|
8 |
+
"<row_1_col_3>": 49155,
|
9 |
+
"<row_1_col_4>": 49156,
|
10 |
+
"<row_1_col_5>": 49157,
|
11 |
+
"<row_1_col_6>": 49158,
|
12 |
+
"<row_2_col_1>": 49159,
|
13 |
+
"<row_2_col_2>": 49160,
|
14 |
+
"<row_2_col_3>": 49161,
|
15 |
+
"<row_2_col_4>": 49162,
|
16 |
+
"<row_2_col_5>": 49163,
|
17 |
+
"<row_2_col_6>": 49164,
|
18 |
+
"<row_3_col_1>": 49165,
|
19 |
+
"<row_3_col_2>": 49166,
|
20 |
+
"<row_3_col_3>": 49167,
|
21 |
+
"<row_3_col_4>": 49168,
|
22 |
+
"<row_3_col_5>": 49169,
|
23 |
+
"<row_3_col_6>": 49170,
|
24 |
+
"<row_4_col_1>": 49171,
|
25 |
+
"<row_4_col_2>": 49172,
|
26 |
+
"<row_4_col_3>": 49173,
|
27 |
+
"<row_4_col_4>": 49174,
|
28 |
+
"<row_4_col_5>": 49175,
|
29 |
+
"<row_4_col_6>": 49176,
|
30 |
+
"<row_5_col_1>": 49177,
|
31 |
+
"<row_5_col_2>": 49178,
|
32 |
+
"<row_5_col_3>": 49179,
|
33 |
+
"<row_5_col_4>": 49180,
|
34 |
+
"<row_5_col_5>": 49181,
|
35 |
+
"<row_5_col_6>": 49182,
|
36 |
+
"<row_6_col_1>": 49183,
|
37 |
+
"<row_6_col_2>": 49184,
|
38 |
+
"<row_6_col_3>": 49185,
|
39 |
+
"<row_6_col_4>": 49186,
|
40 |
+
"<row_6_col_5>": 49187,
|
41 |
+
"<row_6_col_6>": 49188
|
42 |
+
}
|
chat_template.json
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"chat_template": "<|im_start|>{% for message in messages %}{{message['role'].capitalize()}}{% if message['content'][0]['type'] == 'image' %}{{':'}}{% else %}{{': '}}{% endif %}{% for line in message['content'] %}{% if line['type'] == 'text' %}{{line['text']}}{% elif line['type'] == 'image' %}{{ '<image>' }}{% endif %}{% endfor %}<|endoftext|>\n{% endfor %}{% if add_generation_prompt %}{{ 'Assistant:' }}{% endif %}"
|
3 |
+
}
|
checkpoint-11082/README.md
ADDED
@@ -0,0 +1,202 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
base_model: ./models/ColSmolVLM-500M-Base-22750
|
3 |
+
library_name: peft
|
4 |
+
---
|
5 |
+
|
6 |
+
# Model Card for Model ID
|
7 |
+
|
8 |
+
<!-- Provide a quick summary of what the model is/does. -->
|
9 |
+
|
10 |
+
|
11 |
+
|
12 |
+
## Model Details
|
13 |
+
|
14 |
+
### Model Description
|
15 |
+
|
16 |
+
<!-- Provide a longer summary of what this model is. -->
|
17 |
+
|
18 |
+
|
19 |
+
|
20 |
+
- **Developed by:** [More Information Needed]
|
21 |
+
- **Funded by [optional]:** [More Information Needed]
|
22 |
+
- **Shared by [optional]:** [More Information Needed]
|
23 |
+
- **Model type:** [More Information Needed]
|
24 |
+
- **Language(s) (NLP):** [More Information Needed]
|
25 |
+
- **License:** [More Information Needed]
|
26 |
+
- **Finetuned from model [optional]:** [More Information Needed]
|
27 |
+
|
28 |
+
### Model Sources [optional]
|
29 |
+
|
30 |
+
<!-- Provide the basic links for the model. -->
|
31 |
+
|
32 |
+
- **Repository:** [More Information Needed]
|
33 |
+
- **Paper [optional]:** [More Information Needed]
|
34 |
+
- **Demo [optional]:** [More Information Needed]
|
35 |
+
|
36 |
+
## Uses
|
37 |
+
|
38 |
+
<!-- Address questions around how the model is intended to be used, including the foreseeable users of the model and those affected by the model. -->
|
39 |
+
|
40 |
+
### Direct Use
|
41 |
+
|
42 |
+
<!-- This section is for the model use without fine-tuning or plugging into a larger ecosystem/app. -->
|
43 |
+
|
44 |
+
[More Information Needed]
|
45 |
+
|
46 |
+
### Downstream Use [optional]
|
47 |
+
|
48 |
+
<!-- This section is for the model use when fine-tuned for a task, or when plugged into a larger ecosystem/app -->
|
49 |
+
|
50 |
+
[More Information Needed]
|
51 |
+
|
52 |
+
### Out-of-Scope Use
|
53 |
+
|
54 |
+
<!-- This section addresses misuse, malicious use, and uses that the model will not work well for. -->
|
55 |
+
|
56 |
+
[More Information Needed]
|
57 |
+
|
58 |
+
## Bias, Risks, and Limitations
|
59 |
+
|
60 |
+
<!-- This section is meant to convey both technical and sociotechnical limitations. -->
|
61 |
+
|
62 |
+
[More Information Needed]
|
63 |
+
|
64 |
+
### Recommendations
|
65 |
+
|
66 |
+
<!-- This section is meant to convey recommendations with respect to the bias, risk, and technical limitations. -->
|
67 |
+
|
68 |
+
Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. More information needed for further recommendations.
|
69 |
+
|
70 |
+
## How to Get Started with the Model
|
71 |
+
|
72 |
+
Use the code below to get started with the model.
|
73 |
+
|
74 |
+
[More Information Needed]
|
75 |
+
|
76 |
+
## Training Details
|
77 |
+
|
78 |
+
### Training Data
|
79 |
+
|
80 |
+
<!-- This should link to a Dataset Card, perhaps with a short stub of information on what the training data is all about as well as documentation related to data pre-processing or additional filtering. -->
|
81 |
+
|
82 |
+
[More Information Needed]
|
83 |
+
|
84 |
+
### Training Procedure
|
85 |
+
|
86 |
+
<!-- This relates heavily to the Technical Specifications. Content here should link to that section when it is relevant to the training procedure. -->
|
87 |
+
|
88 |
+
#### Preprocessing [optional]
|
89 |
+
|
90 |
+
[More Information Needed]
|
91 |
+
|
92 |
+
|
93 |
+
#### Training Hyperparameters
|
94 |
+
|
95 |
+
- **Training regime:** [More Information Needed] <!--fp32, fp16 mixed precision, bf16 mixed precision, bf16 non-mixed precision, fp16 non-mixed precision, fp8 mixed precision -->
|
96 |
+
|
97 |
+
#### Speeds, Sizes, Times [optional]
|
98 |
+
|
99 |
+
<!-- This section provides information about throughput, start/end time, checkpoint size if relevant, etc. -->
|
100 |
+
|
101 |
+
[More Information Needed]
|
102 |
+
|
103 |
+
## Evaluation
|
104 |
+
|
105 |
+
<!-- This section describes the evaluation protocols and provides the results. -->
|
106 |
+
|
107 |
+
### Testing Data, Factors & Metrics
|
108 |
+
|
109 |
+
#### Testing Data
|
110 |
+
|
111 |
+
<!-- This should link to a Dataset Card if possible. -->
|
112 |
+
|
113 |
+
[More Information Needed]
|
114 |
+
|
115 |
+
#### Factors
|
116 |
+
|
117 |
+
<!-- These are the things the evaluation is disaggregating by, e.g., subpopulations or domains. -->
|
118 |
+
|
119 |
+
[More Information Needed]
|
120 |
+
|
121 |
+
#### Metrics
|
122 |
+
|
123 |
+
<!-- These are the evaluation metrics being used, ideally with a description of why. -->
|
124 |
+
|
125 |
+
[More Information Needed]
|
126 |
+
|
127 |
+
### Results
|
128 |
+
|
129 |
+
[More Information Needed]
|
130 |
+
|
131 |
+
#### Summary
|
132 |
+
|
133 |
+
|
134 |
+
|
135 |
+
## Model Examination [optional]
|
136 |
+
|
137 |
+
<!-- Relevant interpretability work for the model goes here -->
|
138 |
+
|
139 |
+
[More Information Needed]
|
140 |
+
|
141 |
+
## Environmental Impact
|
142 |
+
|
143 |
+
<!-- Total emissions (in grams of CO2eq) and additional considerations, such as electricity usage, go here. Edit the suggested text below accordingly -->
|
144 |
+
|
145 |
+
Carbon emissions can be estimated using the [Machine Learning Impact calculator](https://mlco2.github.io/impact#compute) presented in [Lacoste et al. (2019)](https://arxiv.org/abs/1910.09700).
|
146 |
+
|
147 |
+
- **Hardware Type:** [More Information Needed]
|
148 |
+
- **Hours used:** [More Information Needed]
|
149 |
+
- **Cloud Provider:** [More Information Needed]
|
150 |
+
- **Compute Region:** [More Information Needed]
|
151 |
+
- **Carbon Emitted:** [More Information Needed]
|
152 |
+
|
153 |
+
## Technical Specifications [optional]
|
154 |
+
|
155 |
+
### Model Architecture and Objective
|
156 |
+
|
157 |
+
[More Information Needed]
|
158 |
+
|
159 |
+
### Compute Infrastructure
|
160 |
+
|
161 |
+
[More Information Needed]
|
162 |
+
|
163 |
+
#### Hardware
|
164 |
+
|
165 |
+
[More Information Needed]
|
166 |
+
|
167 |
+
#### Software
|
168 |
+
|
169 |
+
[More Information Needed]
|
170 |
+
|
171 |
+
## Citation [optional]
|
172 |
+
|
173 |
+
<!-- If there is a paper or blog post introducing the model, the APA and Bibtex information for that should go in this section. -->
|
174 |
+
|
175 |
+
**BibTeX:**
|
176 |
+
|
177 |
+
[More Information Needed]
|
178 |
+
|
179 |
+
**APA:**
|
180 |
+
|
181 |
+
[More Information Needed]
|
182 |
+
|
183 |
+
## Glossary [optional]
|
184 |
+
|
185 |
+
<!-- If relevant, include terms and calculations in this section that can help readers understand the model or model card. -->
|
186 |
+
|
187 |
+
[More Information Needed]
|
188 |
+
|
189 |
+
## More Information [optional]
|
190 |
+
|
191 |
+
[More Information Needed]
|
192 |
+
|
193 |
+
## Model Card Authors [optional]
|
194 |
+
|
195 |
+
[More Information Needed]
|
196 |
+
|
197 |
+
## Model Card Contact
|
198 |
+
|
199 |
+
[More Information Needed]
|
200 |
+
### Framework versions
|
201 |
+
|
202 |
+
- PEFT 0.14.0
|
checkpoint-11082/adapter_config.json
ADDED
@@ -0,0 +1,29 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"alpha_pattern": {},
|
3 |
+
"auto_mapping": null,
|
4 |
+
"base_model_name_or_path": "./models/ColSmolVLM-500M-Base-22750",
|
5 |
+
"bias": "none",
|
6 |
+
"eva_config": null,
|
7 |
+
"exclude_modules": null,
|
8 |
+
"fan_in_fan_out": false,
|
9 |
+
"inference_mode": true,
|
10 |
+
"init_lora_weights": "gaussian",
|
11 |
+
"layer_replication": null,
|
12 |
+
"layers_pattern": null,
|
13 |
+
"layers_to_transform": null,
|
14 |
+
"loftq_config": {},
|
15 |
+
"lora_alpha": 32,
|
16 |
+
"lora_bias": false,
|
17 |
+
"lora_dropout": 0.1,
|
18 |
+
"megatron_config": null,
|
19 |
+
"megatron_core": "megatron.core",
|
20 |
+
"modules_to_save": null,
|
21 |
+
"peft_type": "LORA",
|
22 |
+
"r": 32,
|
23 |
+
"rank_pattern": {},
|
24 |
+
"revision": null,
|
25 |
+
"target_modules": "(.*(model.text_model).*(down_proj|gate_proj|up_proj|k_proj|q_proj|v_proj|o_proj).*$|.*(custom_text_proj).*$)",
|
26 |
+
"task_type": "FEATURE_EXTRACTION",
|
27 |
+
"use_dora": false,
|
28 |
+
"use_rslora": false
|
29 |
+
}
|
checkpoint-11082/adapter_model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:e3d63a77b22bcc13e29da69bec5e1c59a242c86973f51c0d40c72555b2a5c5e0
|
3 |
+
size 69532280
|
checkpoint-11082/optimizer.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:c1ea642a2fa9ac57a3f0d136c59cba31643c60bc65e30c7ef51c72380ba08a69
|
3 |
+
size 139313234
|
checkpoint-11082/rng_state.pth
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:08787b4c84ebe89b7e59f5736f7ca49e58e23ff7d9d4ba8bb3f329511b062150
|
3 |
+
size 14244
|
checkpoint-11082/scheduler.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:d6492f98570ecb136d3a3c030cd8d38f5d102dfae6ace1f3bfc893278748c61b
|
3 |
+
size 1064
|
checkpoint-11082/trainer_state.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|
checkpoint-11082/training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:9544ee67dd5650ee41dced03f8b10c5fec082b4e2db4164006d12d43e1c192c6
|
3 |
+
size 5304
|
config.json
ADDED
@@ -0,0 +1,265 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "models/SmolVLM-500M-Base-22750/",
|
3 |
+
"architectures": [
|
4 |
+
"ColIdefics3"
|
5 |
+
],
|
6 |
+
"image_token_id": 49190,
|
7 |
+
"model_type": "idefics3",
|
8 |
+
"scale_factor": 4,
|
9 |
+
"text_config": {
|
10 |
+
"_attn_implementation_autoset": false,
|
11 |
+
"_flash_attn_2_enabled": true,
|
12 |
+
"_name_or_path": "/fsx/m4/experiments/local_experiment_dir/tr_343_vsmollm2_05b/opt_step-22750/unwrapped_model",
|
13 |
+
"add_cross_attention": false,
|
14 |
+
"architectures": [
|
15 |
+
"VLlama3ForCausalLM"
|
16 |
+
],
|
17 |
+
"attention_bias": false,
|
18 |
+
"attention_dropout": 0.0,
|
19 |
+
"bad_words_ids": null,
|
20 |
+
"begin_suppress_tokens": null,
|
21 |
+
"bos_token_id": 1,
|
22 |
+
"chunk_size_feed_forward": 0,
|
23 |
+
"cross_attention_hidden_size": null,
|
24 |
+
"decoder_start_token_id": null,
|
25 |
+
"diversity_penalty": 0.0,
|
26 |
+
"do_sample": false,
|
27 |
+
"early_stopping": false,
|
28 |
+
"encoder_no_repeat_ngram_size": 0,
|
29 |
+
"eos_token_id": 2,
|
30 |
+
"exponential_decay_length_penalty": null,
|
31 |
+
"finetuning_task": null,
|
32 |
+
"forced_bos_token_id": null,
|
33 |
+
"forced_eos_token_id": null,
|
34 |
+
"head_dim": 64,
|
35 |
+
"hidden_act": "silu",
|
36 |
+
"hidden_size": 960,
|
37 |
+
"id2label": {
|
38 |
+
"0": "LABEL_0",
|
39 |
+
"1": "LABEL_1"
|
40 |
+
},
|
41 |
+
"initializer_range": 0.02,
|
42 |
+
"intermediate_size": 2560,
|
43 |
+
"is_decoder": false,
|
44 |
+
"is_encoder_decoder": false,
|
45 |
+
"is_llama_config": true,
|
46 |
+
"label2id": {
|
47 |
+
"LABEL_0": 0,
|
48 |
+
"LABEL_1": 1
|
49 |
+
},
|
50 |
+
"length_penalty": 1.0,
|
51 |
+
"max_length": 20,
|
52 |
+
"max_position_embeddings": 8192,
|
53 |
+
"min_length": 0,
|
54 |
+
"mlp_bias": false,
|
55 |
+
"model_type": "llama",
|
56 |
+
"neftune_noise_alpha": 0.0,
|
57 |
+
"no_repeat_ngram_size": 0,
|
58 |
+
"num_attention_heads": 15,
|
59 |
+
"num_beam_groups": 1,
|
60 |
+
"num_beams": 1,
|
61 |
+
"num_hidden_layers": 32,
|
62 |
+
"num_key_value_heads": 5,
|
63 |
+
"num_return_sequences": 1,
|
64 |
+
"output_attentions": false,
|
65 |
+
"output_hidden_states": false,
|
66 |
+
"output_scores": false,
|
67 |
+
"pad_token_id": 2,
|
68 |
+
"perceiver_config": {
|
69 |
+
"_attn_implementation_autoset": false,
|
70 |
+
"_name_or_path": "",
|
71 |
+
"add_cross_attention": false,
|
72 |
+
"architectures": null,
|
73 |
+
"attention_dropout": 0.0,
|
74 |
+
"bad_words_ids": null,
|
75 |
+
"begin_suppress_tokens": null,
|
76 |
+
"bos_token_id": null,
|
77 |
+
"chunk_size_feed_forward": 0,
|
78 |
+
"cross_attention_hidden_size": null,
|
79 |
+
"decoder_start_token_id": null,
|
80 |
+
"diversity_penalty": 0.0,
|
81 |
+
"do_sample": false,
|
82 |
+
"early_stopping": false,
|
83 |
+
"encoder_no_repeat_ngram_size": 0,
|
84 |
+
"eos_token_id": null,
|
85 |
+
"exponential_decay_length_penalty": null,
|
86 |
+
"finetuning_task": null,
|
87 |
+
"forced_bos_token_id": null,
|
88 |
+
"forced_eos_token_id": null,
|
89 |
+
"hidden_act": "silu",
|
90 |
+
"id2label": {
|
91 |
+
"0": "LABEL_0",
|
92 |
+
"1": "LABEL_1"
|
93 |
+
},
|
94 |
+
"is_decoder": false,
|
95 |
+
"is_encoder_decoder": false,
|
96 |
+
"label2id": {
|
97 |
+
"LABEL_0": 0,
|
98 |
+
"LABEL_1": 1
|
99 |
+
},
|
100 |
+
"length_penalty": 1.0,
|
101 |
+
"max_length": 20,
|
102 |
+
"min_length": 0,
|
103 |
+
"model_type": "vllama3",
|
104 |
+
"no_repeat_ngram_size": 0,
|
105 |
+
"num_beam_groups": 1,
|
106 |
+
"num_beams": 1,
|
107 |
+
"num_key_value_heads": 1,
|
108 |
+
"num_return_sequences": 1,
|
109 |
+
"output_attentions": false,
|
110 |
+
"output_hidden_states": false,
|
111 |
+
"output_scores": false,
|
112 |
+
"pad_token_id": null,
|
113 |
+
"prefix": null,
|
114 |
+
"problem_type": null,
|
115 |
+
"pruned_heads": {},
|
116 |
+
"qk_layer_norms_perceiver": false,
|
117 |
+
"remove_invalid_values": false,
|
118 |
+
"repetition_penalty": 1.0,
|
119 |
+
"resampler_depth": 6,
|
120 |
+
"resampler_head_dim": 96,
|
121 |
+
"resampler_n_heads": 16,
|
122 |
+
"resampler_n_latents": 64,
|
123 |
+
"return_dict": true,
|
124 |
+
"return_dict_in_generate": false,
|
125 |
+
"sep_token_id": null,
|
126 |
+
"suppress_tokens": null,
|
127 |
+
"task_specific_params": null,
|
128 |
+
"temperature": 1.0,
|
129 |
+
"tf_legacy_loss": false,
|
130 |
+
"tie_encoder_decoder": false,
|
131 |
+
"tie_word_embeddings": true,
|
132 |
+
"tokenizer_class": null,
|
133 |
+
"top_k": 50,
|
134 |
+
"top_p": 1.0,
|
135 |
+
"torch_dtype": null,
|
136 |
+
"torchscript": false,
|
137 |
+
"transformers_version": "4.46.0",
|
138 |
+
"typical_p": 1.0,
|
139 |
+
"use_bfloat16": false
|
140 |
+
},
|
141 |
+
"pixel_shuffle_factor": 4,
|
142 |
+
"prefix": null,
|
143 |
+
"pretraining_tp": 1,
|
144 |
+
"problem_type": null,
|
145 |
+
"pruned_heads": {},
|
146 |
+
"qk_layer_norms": false,
|
147 |
+
"remove_invalid_values": false,
|
148 |
+
"repetition_penalty": 1.0,
|
149 |
+
"return_dict": true,
|
150 |
+
"return_dict_in_generate": false,
|
151 |
+
"rms_norm_eps": 1e-05,
|
152 |
+
"rope_interleaved": false,
|
153 |
+
"rope_scaling": null,
|
154 |
+
"rope_theta": 100000,
|
155 |
+
"sep_token_id": null,
|
156 |
+
"suppress_tokens": null,
|
157 |
+
"task_specific_params": null,
|
158 |
+
"temperature": 1.0,
|
159 |
+
"tf_legacy_loss": false,
|
160 |
+
"tie_encoder_decoder": false,
|
161 |
+
"tie_word_embeddings": false,
|
162 |
+
"tokenizer_class": null,
|
163 |
+
"top_k": 50,
|
164 |
+
"top_p": 1.0,
|
165 |
+
"torch_dtype": "bfloat16",
|
166 |
+
"torchscript": false,
|
167 |
+
"transformers.js_config": {
|
168 |
+
"kv_cache_dtype": {
|
169 |
+
"fp16": "float16",
|
170 |
+
"q4f16": "float16"
|
171 |
+
}
|
172 |
+
},
|
173 |
+
"typical_p": 1.0,
|
174 |
+
"use_bfloat16": false,
|
175 |
+
"use_cache": true,
|
176 |
+
"use_resampler": false,
|
177 |
+
"vocab_size": 49280
|
178 |
+
},
|
179 |
+
"tie_word_embeddings": false,
|
180 |
+
"torch_dtype": "bfloat16",
|
181 |
+
"transformers_version": "4.46.3",
|
182 |
+
"use_cache": true,
|
183 |
+
"vision_config": {
|
184 |
+
"_attn_implementation_autoset": false,
|
185 |
+
"_name_or_path": "",
|
186 |
+
"add_cross_attention": false,
|
187 |
+
"architectures": null,
|
188 |
+
"attention_dropout": 0.0,
|
189 |
+
"bad_words_ids": null,
|
190 |
+
"begin_suppress_tokens": null,
|
191 |
+
"bos_token_id": null,
|
192 |
+
"chunk_size_feed_forward": 0,
|
193 |
+
"cross_attention_hidden_size": null,
|
194 |
+
"decoder_start_token_id": null,
|
195 |
+
"diversity_penalty": 0.0,
|
196 |
+
"do_sample": false,
|
197 |
+
"early_stopping": false,
|
198 |
+
"encoder_no_repeat_ngram_size": 0,
|
199 |
+
"eos_token_id": null,
|
200 |
+
"exponential_decay_length_penalty": null,
|
201 |
+
"finetuning_task": null,
|
202 |
+
"forced_bos_token_id": null,
|
203 |
+
"forced_eos_token_id": null,
|
204 |
+
"hidden_act": "gelu_pytorch_tanh",
|
205 |
+
"hidden_size": 768,
|
206 |
+
"id2label": {
|
207 |
+
"0": "LABEL_0",
|
208 |
+
"1": "LABEL_1"
|
209 |
+
},
|
210 |
+
"image_size": 512,
|
211 |
+
"initializer_range": 0.02,
|
212 |
+
"intermediate_size": 3072,
|
213 |
+
"is_decoder": false,
|
214 |
+
"is_encoder_decoder": false,
|
215 |
+
"label2id": {
|
216 |
+
"LABEL_0": 0,
|
217 |
+
"LABEL_1": 1
|
218 |
+
},
|
219 |
+
"layer_norm_eps": 1e-06,
|
220 |
+
"length_penalty": 1.0,
|
221 |
+
"max_image_size": {
|
222 |
+
"longest_edge": 512
|
223 |
+
},
|
224 |
+
"max_length": 20,
|
225 |
+
"min_length": 0,
|
226 |
+
"model_type": "idefics3",
|
227 |
+
"no_repeat_ngram_size": 0,
|
228 |
+
"num_attention_heads": 12,
|
229 |
+
"num_beam_groups": 1,
|
230 |
+
"num_beams": 1,
|
231 |
+
"num_channels": 3,
|
232 |
+
"num_hidden_layers": 12,
|
233 |
+
"num_return_sequences": 1,
|
234 |
+
"output_attentions": false,
|
235 |
+
"output_hidden_states": false,
|
236 |
+
"output_scores": false,
|
237 |
+
"pad_token_id": null,
|
238 |
+
"patch_size": 16,
|
239 |
+
"prefix": null,
|
240 |
+
"problem_type": null,
|
241 |
+
"pruned_heads": {},
|
242 |
+
"remove_invalid_values": false,
|
243 |
+
"repetition_penalty": 1.0,
|
244 |
+
"return_dict": true,
|
245 |
+
"return_dict_in_generate": false,
|
246 |
+
"sep_token_id": null,
|
247 |
+
"size": {
|
248 |
+
"longest_edge": 2048
|
249 |
+
},
|
250 |
+
"suppress_tokens": null,
|
251 |
+
"task_specific_params": null,
|
252 |
+
"temperature": 1.0,
|
253 |
+
"tf_legacy_loss": false,
|
254 |
+
"tie_encoder_decoder": false,
|
255 |
+
"tie_word_embeddings": false,
|
256 |
+
"tokenizer_class": null,
|
257 |
+
"top_k": 50,
|
258 |
+
"top_p": 1.0,
|
259 |
+
"torch_dtype": null,
|
260 |
+
"torchscript": false,
|
261 |
+
"typical_p": 1.0,
|
262 |
+
"use_bfloat16": false
|
263 |
+
},
|
264 |
+
"vocab_size": 49280
|
265 |
+
}
|
dump/tmp_adapter_config.json
ADDED
@@ -0,0 +1,26 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"alpha_pattern": {},
|
3 |
+
"auto_mapping": null,
|
4 |
+
"base_model_name_or_path": "./models/ColSmolVLM-500M-Base-22750",
|
5 |
+
"bias": "none",
|
6 |
+
"fan_in_fan_out": false,
|
7 |
+
"inference_mode": true,
|
8 |
+
"init_lora_weights": "gaussian",
|
9 |
+
"layer_replication": null,
|
10 |
+
"layers_pattern": null,
|
11 |
+
"layers_to_transform": null,
|
12 |
+
"loftq_config": {},
|
13 |
+
"lora_alpha": 32,
|
14 |
+
"lora_dropout": 0.1,
|
15 |
+
"megatron_config": null,
|
16 |
+
"megatron_core": "megatron.core",
|
17 |
+
"modules_to_save": null,
|
18 |
+
"peft_type": "LORA",
|
19 |
+
"r": 32,
|
20 |
+
"rank_pattern": {},
|
21 |
+
"revision": null,
|
22 |
+
"target_modules": "(.*(model.text_model).*(down_proj|gate_proj|up_proj|k_proj|q_proj|v_proj|o_proj).*$|.*(custom_text_proj).*$)",
|
23 |
+
"task_type": "FEATURE_EXTRACTION",
|
24 |
+
"use_dora": false,
|
25 |
+
"use_rslora": false
|
26 |
+
}
|
dump/tmp_adapter_model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:c5408581fc45f84241560c7f2835bc0178d5ff4985af0d5e75f606bda632720c
|
3 |
+
size 34798496
|
git_hash.txt
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
8b4f75e476bddc6c34a02722761bd3ada6ac0d3d
|
merges.txt
ADDED
The diff for this file is too large to render.
See raw diff
|
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:015e1791f643baae6f2d74a8a082f0f3b24ee740041993d36be002ba1de9d4c0
|
3 |
+
size 920654272
|
preprocessor_config.json
ADDED
@@ -0,0 +1,28 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"do_convert_rgb": true,
|
3 |
+
"do_image_splitting": true,
|
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": "Idefics3ImageProcessor",
|
14 |
+
"image_std": [
|
15 |
+
0.5,
|
16 |
+
0.5,
|
17 |
+
0.5
|
18 |
+
],
|
19 |
+
"max_image_size": {
|
20 |
+
"longest_edge": 512
|
21 |
+
},
|
22 |
+
"processor_class": "ColIdefics3Processor",
|
23 |
+
"resample": 1,
|
24 |
+
"rescale_factor": 0.00392156862745098,
|
25 |
+
"size": {
|
26 |
+
"longest_edge": 2048
|
27 |
+
}
|
28 |
+
}
|
processor_config.json
ADDED
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"image_seq_len": 64,
|
3 |
+
"processor_class": "Idefics3Processor"
|
4 |
+
}
|
results.json
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
{"./data_dir/eval_vidore/arxivqa_test_subsampled": {"ndcg_at_1": 0.648, "ndcg_at_3": 0.71821, "ndcg_at_5": 0.73147, "ndcg_at_10": 0.7444, "ndcg_at_20": 0.75657, "ndcg_at_50": 0.76882, "ndcg_at_100": 0.77437, "map_at_1": 0.648, "map_at_3": 0.701, "map_at_5": 0.7084, "map_at_10": 0.71373, "map_at_20": 0.71708, "map_at_50": 0.71904, "map_at_100": 0.71954, "recall_at_1": 0.648, "recall_at_3": 0.768, "recall_at_5": 0.8, "recall_at_10": 0.84, "recall_at_20": 0.888, "recall_at_50": 0.95, "recall_at_100": 0.984, "precision_at_1": 0.648, "precision_at_3": 0.256, "precision_at_5": 0.16, "precision_at_10": 0.084, "precision_at_20": 0.0444, "precision_at_50": 0.019, "precision_at_100": 0.00984, "mrr_at_1": 0.652, "mrr_at_3": 0.703, "mrr_at_5": 0.7096, "mrr_at_10": 0.7163452380952381, "mrr_at_20": 0.7195925928990171, "mrr_at_50": 0.7213793558075785, "mrr_at_100": 0.7218459925368063, "naucs_at_1_max": 0.5320415548033148, "naucs_at_1_std": -0.09459100164714764, "naucs_at_1_diff1": 0.9007496465766573, "naucs_at_3_max": 0.5235472456346243, "naucs_at_3_std": -0.09979906824566964, "naucs_at_3_diff1": 0.8154895266545747, "naucs_at_5_max": 0.5494205794205791, "naucs_at_5_std": -0.07948051948052083, "naucs_at_5_diff1": 0.7935714285714291, "naucs_at_10_max": 0.6103399607265577, "naucs_at_10_std": -0.012493863524791362, "naucs_at_10_diff1": 0.7950233186057926, "naucs_at_20_max": 0.6541277732683969, "naucs_at_20_std": 0.12420522186147001, "naucs_at_20_diff1": 0.8013984713203455, "naucs_at_50_max": 0.7840896358543438, "naucs_at_50_std": 0.21335200746965483, "naucs_at_50_diff1": 0.8345471521942116, "naucs_at_100_max": 0.8932072829131755, "naucs_at_100_std": 0.2987861811391213, "naucs_at_100_diff1": 0.9183006535947711}, "./data_dir/eval_vidore/docvqa_test_subsampled": {"ndcg_at_1": 0.46785, "ndcg_at_3": 0.53315, "ndcg_at_5": 0.56073, "ndcg_at_10": 0.58063, "ndcg_at_20": 0.59491, "ndcg_at_50": 0.60895, "ndcg_at_100": 0.61612, "map_at_1": 0.46785, "map_at_3": 0.51737, "map_at_5": 0.53278, "map_at_10": 0.5413, "map_at_20": 0.54536, "map_at_50": 0.5476, "map_at_100": 0.54822, "recall_at_1": 0.46785, "recall_at_3": 0.57871, "recall_at_5": 0.64523, "recall_at_10": 0.7051, "recall_at_20": 0.76053, "recall_at_50": 0.83149, "recall_at_100": 0.87583, "precision_at_1": 0.46785, "precision_at_3": 0.1929, "precision_at_5": 0.12905, "precision_at_10": 0.07051, "precision_at_20": 0.03803, "precision_at_50": 0.01663, "precision_at_100": 0.00876, "mrr_at_1": 0.4722838137472284, "mrr_at_3": 0.5203252032520325, "mrr_at_5": 0.5344050258684405, "mrr_at_10": 0.54401418364833, "mrr_at_20": 0.547432357060943, "mrr_at_50": 0.5496278114926427, "mrr_at_100": 0.5502293224133955, "naucs_at_1_max": 0.22191473813157103, "naucs_at_1_std": 0.43792922230870507, "naucs_at_1_diff1": 0.846614423933555, "naucs_at_3_max": 0.14455270946312818, "naucs_at_3_std": 0.5599978573011983, "naucs_at_3_diff1": 0.7812484213095876, "naucs_at_5_max": 0.07904307020932648, "naucs_at_5_std": 0.5873613578608561, "naucs_at_5_diff1": 0.7507308300016783, "naucs_at_10_max": -0.00569065025671971, "naucs_at_10_std": 0.6086341964529604, "naucs_at_10_diff1": 0.7216978702993005, "naucs_at_20_max": -0.08386122115622482, "naucs_at_20_std": 0.6774737565173128, "naucs_at_20_diff1": 0.6877353492008539, "naucs_at_50_max": -0.22730282183008066, "naucs_at_50_std": 0.7387768986158063, "naucs_at_50_diff1": 0.6755005771418886, "naucs_at_100_max": -0.3500275419596926, "naucs_at_100_std": 0.8080829651530356, "naucs_at_100_diff1": 0.6506258023643423}, "./data_dir/eval_vidore/syntheticDocQA_energy_test": {"ndcg_at_1": 0.89, "ndcg_at_3": 0.93286, "ndcg_at_5": 0.94103, "ndcg_at_10": 0.94419, "ndcg_at_20": 0.94419, "ndcg_at_50": 0.94609, "ndcg_at_100": 0.94609, "map_at_1": 0.89, "map_at_3": 0.92333, "map_at_5": 0.92783, "map_at_10": 0.92908, "map_at_20": 0.92908, "map_at_50": 0.92935, "map_at_100": 0.92935, "recall_at_1": 0.89, "recall_at_3": 0.96, "recall_at_5": 0.98, "recall_at_10": 0.99, "recall_at_20": 0.99, "recall_at_50": 1.0, "recall_at_100": 1.0, "precision_at_1": 0.89, "precision_at_3": 0.32, "precision_at_5": 0.196, "precision_at_10": 0.099, "precision_at_20": 0.0495, "precision_at_50": 0.02, "precision_at_100": 0.01, "mrr_at_1": 0.91, "mrr_at_3": 0.9333333333333332, "mrr_at_5": 0.9378333333333333, "mrr_at_10": 0.9395, "mrr_at_20": 0.9395, "mrr_at_50": 0.9397777777777777, "mrr_at_100": 0.9397777777777777, "naucs_at_1_max": 0.36255476333648357, "naucs_at_1_std": -0.16244308908169428, "naucs_at_1_diff1": 0.9488875526157551, "naucs_at_3_max": 0.6091269841269833, "naucs_at_3_std": 0.12313258636788006, "naucs_at_3_diff1": 0.9305555555555564, "naucs_at_5_max": 0.7957516339869297, "naucs_at_5_std": 0.09337068160597826, "naucs_at_5_diff1": 1.0, "naucs_at_10_max": 0.8692810457516413, "naucs_at_10_std": -0.1713352007469681, "naucs_at_10_diff1": 1.0, "naucs_at_20_max": 0.8692810457516413, "naucs_at_20_std": -0.1713352007469681, "naucs_at_20_diff1": 1.0, "naucs_at_50_max": NaN, "naucs_at_50_std": NaN, "naucs_at_50_diff1": NaN, "naucs_at_100_max": NaN, "naucs_at_100_std": NaN, "naucs_at_100_diff1": NaN}, "./data_dir/eval_vidore/tatdqa_test": {"ndcg_at_1": 0.62333, "ndcg_at_3": 0.72622, "ndcg_at_5": 0.75278, "ndcg_at_10": 0.774, "ndcg_at_20": 0.78172, "ndcg_at_50": 0.78651, "ndcg_at_100": 0.78807, "map_at_1": 0.62333, "map_at_3": 0.70089, "map_at_5": 0.71565, "map_at_10": 0.72464, "map_at_20": 0.72678, "map_at_50": 0.72758, "map_at_100": 0.72772, "recall_at_1": 0.62333, "recall_at_3": 0.79951, "recall_at_5": 0.86391, "recall_at_10": 0.92831, "recall_at_20": 0.95869, "recall_at_50": 0.98238, "recall_at_100": 0.9921, "precision_at_1": 0.62333, "precision_at_3": 0.2665, "precision_at_5": 0.17278, "precision_at_10": 0.09283, "precision_at_20": 0.04793, "precision_at_50": 0.01965, "precision_at_100": 0.00992, "mrr_at_1": 0.6245443499392467, "mrr_at_3": 0.7006885378695827, "mrr_at_5": 0.7164540299716484, "mrr_at_10": 0.7250101255569056, "mrr_at_20": 0.7271291712945228, "mrr_at_50": 0.7279352643901574, "mrr_at_100": 0.728074338884466, "naucs_at_1_max": 0.18350079884403742, "naucs_at_1_std": -0.24504541716152195, "naucs_at_1_diff1": 0.788310462608764, "naucs_at_3_max": 0.2174478161548601, "naucs_at_3_std": -0.20875995619294158, "naucs_at_3_diff1": 0.6747002810297338, "naucs_at_5_max": 0.20232749356597957, "naucs_at_5_std": -0.2066338463888926, "naucs_at_5_diff1": 0.6660532813247335, "naucs_at_10_max": 0.3515538559874108, "naucs_at_10_std": 0.028956552272515996, "naucs_at_10_diff1": 0.6143796841665605, "naucs_at_20_max": 0.4075526493649992, "naucs_at_20_std": 0.30084166201853924, "naucs_at_20_diff1": 0.569699607771098, "naucs_at_50_max": 0.5357294959420121, "naucs_at_50_std": 0.5086348340492322, "naucs_at_50_diff1": 0.5257337269588929, "naucs_at_100_max": 0.5784455619019262, "naucs_at_100_std": 0.5499580299143445, "naucs_at_100_diff1": 0.6538225911609866}, "./data_dir/eval_vidore/infovqa_test_subsampled": {"ndcg_at_1": 0.76518, "ndcg_at_3": 0.82176, "ndcg_at_5": 0.83004, "ndcg_at_10": 0.84013, "ndcg_at_20": 0.84547, "ndcg_at_50": 0.85151, "ndcg_at_100": 0.85344, "map_at_1": 0.76518, "map_at_3": 0.80837, "map_at_5": 0.81292, "map_at_10": 0.81725, "map_at_20": 0.81883, "map_at_50": 0.81982, "map_at_100": 0.81997, "recall_at_1": 0.76518, "recall_at_3": 0.86032, "recall_at_5": 0.88057, "recall_at_10": 0.91093, "recall_at_20": 0.93117, "recall_at_50": 0.96154, "recall_at_100": 0.97368, "precision_at_1": 0.76518, "precision_at_3": 0.28677, "precision_at_5": 0.17611, "precision_at_10": 0.09109, "precision_at_20": 0.04656, "precision_at_50": 0.01923, "precision_at_100": 0.00974, "mrr_at_1": 0.7692307692307693, "mrr_at_3": 0.8120782726045884, "mrr_at_5": 0.8161268556005399, "mrr_at_10": 0.8204557869031553, "mrr_at_20": 0.8221355547683245, "mrr_at_50": 0.822944584158538, "mrr_at_100": 0.8231490232346909, "naucs_at_1_max": 0.5149096264576689, "naucs_at_1_std": 0.028876109416755995, "naucs_at_1_diff1": 0.8423502810401294, "naucs_at_3_max": 0.5357633382771757, "naucs_at_3_std": 0.006279786216531792, "naucs_at_3_diff1": 0.7627339364022564, "naucs_at_5_max": 0.5194080180551114, "naucs_at_5_std": 0.016244825987351323, "naucs_at_5_diff1": 0.7459578410036671, "naucs_at_10_max": 0.5866947683147792, "naucs_at_10_std": 0.24003115026037278, "naucs_at_10_diff1": 0.7051949282237744, "naucs_at_20_max": 0.5682575132928513, "naucs_at_20_std": 0.2770052352671666, "naucs_at_20_diff1": 0.6887081088160373, "naucs_at_50_max": 0.7594010289684164, "naucs_at_50_std": 0.7008338816869777, "naucs_at_50_diff1": 0.658391093237802, "naucs_at_100_max": 0.8815298509718311, "naucs_at_100_std": 0.8291345987814791, "naucs_at_100_diff1": 0.5748643414505342}, "./data_dir/eval_vidore/syntheticDocQA_healthcare_industry_test": {"ndcg_at_1": 0.9, "ndcg_at_3": 0.96178, "ndcg_at_5": 0.96178, "ndcg_at_10": 0.96178, "ndcg_at_20": 0.96178, "ndcg_at_50": 0.96178, "ndcg_at_100": 0.96178, "map_at_1": 0.9, "map_at_3": 0.94833, "map_at_5": 0.94833, "map_at_10": 0.94833, "map_at_20": 0.94833, "map_at_50": 0.94833, "map_at_100": 0.94833, "recall_at_1": 0.9, "recall_at_3": 1.0, "recall_at_5": 1.0, "recall_at_10": 1.0, "recall_at_20": 1.0, "recall_at_50": 1.0, "recall_at_100": 1.0, "precision_at_1": 0.9, "precision_at_3": 0.33333, "precision_at_5": 0.2, "precision_at_10": 0.1, "precision_at_20": 0.05, "precision_at_50": 0.02, "precision_at_100": 0.01, "mrr_at_1": 0.9, "mrr_at_3": 0.9483333333333333, "mrr_at_5": 0.9483333333333333, "mrr_at_10": 0.9483333333333333, "mrr_at_20": 0.9483333333333333, "mrr_at_50": 0.9483333333333333, "mrr_at_100": 0.9483333333333333, "naucs_at_1_max": 0.38183940242763664, "naucs_at_1_std": -0.3154995331465938, "naucs_at_1_diff1": 0.9607843137254906, "naucs_at_3_max": 1.0, "naucs_at_3_std": 1.0, "naucs_at_3_diff1": 1.0, "naucs_at_5_max": 1.0, "naucs_at_5_std": 1.0, "naucs_at_5_diff1": 1.0, "naucs_at_10_max": 1.0, "naucs_at_10_std": 1.0, "naucs_at_10_diff1": 1.0, "naucs_at_20_max": 1.0, "naucs_at_20_std": 1.0, "naucs_at_20_diff1": 1.0, "naucs_at_50_max": NaN, "naucs_at_50_std": NaN, "naucs_at_50_diff1": NaN, "naucs_at_100_max": NaN, "naucs_at_100_std": NaN, "naucs_at_100_diff1": NaN}, "./data_dir/eval_vidore/tabfquad_test_subsampled": {"ndcg_at_1": 0.67143, "ndcg_at_3": 0.72355, "ndcg_at_5": 0.73831, "ndcg_at_10": 0.76065, "ndcg_at_20": 0.77133, "ndcg_at_50": 0.78726, "ndcg_at_100": 0.78967, "map_at_1": 0.67143, "map_at_3": 0.71071, "map_at_5": 0.71893, "map_at_10": 0.72838, "map_at_20": 0.73124, "map_at_50": 0.73393, "map_at_100": 0.73417, "recall_at_1": 0.67143, "recall_at_3": 0.76071, "recall_at_5": 0.79643, "recall_at_10": 0.86429, "recall_at_20": 0.90714, "recall_at_50": 0.98571, "recall_at_100": 1.0, "precision_at_1": 0.67143, "precision_at_3": 0.25357, "precision_at_5": 0.15929, "precision_at_10": 0.08643, "precision_at_20": 0.04536, "precision_at_50": 0.01971, "precision_at_100": 0.01, "mrr_at_1": 0.6714285714285714, "mrr_at_3": 0.7107142857142857, "mrr_at_5": 0.71875, "mrr_at_10": 0.7274503968253968, "mrr_at_20": 0.7311492984354826, "mrr_at_50": 0.7336928024479792, "mrr_at_100": 0.7339324686957099, "naucs_at_1_max": 0.2918131988067234, "naucs_at_1_std": 0.10674613761490172, "naucs_at_1_diff1": 0.7514915961291264, "naucs_at_3_max": 0.2682433845224536, "naucs_at_3_std": 0.08520936427913174, "naucs_at_3_diff1": 0.6522779546035362, "naucs_at_5_max": 0.23648809157215928, "naucs_at_5_std": 0.11365575977265355, "naucs_at_5_diff1": 0.6022576302800486, "naucs_at_10_max": 0.1419792355845087, "naucs_at_10_std": 0.04070181688635578, "naucs_at_10_diff1": 0.6177159142958931, "naucs_at_20_max": 0.15348703583997816, "naucs_at_20_std": -0.004776269482152739, "naucs_at_20_diff1": 0.5820045967104782, "naucs_at_50_max": 0.8558590102707799, "naucs_at_50_std": 0.6790382819794502, "naucs_at_50_diff1": 0.8231792717086844, "naucs_at_100_max": 1.0, "naucs_at_100_std": 1.0, "naucs_at_100_diff1": 1.0}, "./data_dir/eval_vidore/syntheticDocQA_government_reports_test": {"ndcg_at_1": 0.87, "ndcg_at_3": 0.94047, "ndcg_at_5": 0.94478, "ndcg_at_10": 0.94478, "ndcg_at_20": 0.94478, "ndcg_at_50": 0.94478, "ndcg_at_100": 0.94478, "map_at_1": 0.87, "map_at_3": 0.92333, "map_at_5": 0.92583, "map_at_10": 0.92583, "map_at_20": 0.92583, "map_at_50": 0.92583, "map_at_100": 0.92583, "recall_at_1": 0.87, "recall_at_3": 0.99, "recall_at_5": 1.0, "recall_at_10": 1.0, "recall_at_20": 1.0, "recall_at_50": 1.0, "recall_at_100": 1.0, "precision_at_1": 0.87, "precision_at_3": 0.33, "precision_at_5": 0.2, "precision_at_10": 0.1, "precision_at_20": 0.05, "precision_at_50": 0.02, "precision_at_100": 0.01, "mrr_at_1": 0.88, "mrr_at_3": 0.93, "mrr_at_5": 0.9325, "mrr_at_10": 0.9325, "mrr_at_20": 0.9325, "mrr_at_50": 0.9325, "mrr_at_100": 0.9325, "naucs_at_1_max": 0.16200103680663608, "naucs_at_1_std": -0.2467229504554533, "naucs_at_1_diff1": 0.8407761238243359, "naucs_at_3_max": 1.0, "naucs_at_3_std": 1.0, "naucs_at_3_diff1": 0.35807656395889226, "naucs_at_5_max": 1.0, "naucs_at_5_std": 1.0, "naucs_at_5_diff1": 1.0, "naucs_at_10_max": 1.0, "naucs_at_10_std": 1.0, "naucs_at_10_diff1": 1.0, "naucs_at_20_max": 1.0, "naucs_at_20_std": 1.0, "naucs_at_20_diff1": 1.0, "naucs_at_50_max": NaN, "naucs_at_50_std": NaN, "naucs_at_50_diff1": NaN, "naucs_at_100_max": NaN, "naucs_at_100_std": NaN, "naucs_at_100_diff1": NaN}, "./data_dir/eval_vidore/shiftproject_test": {"ndcg_at_1": 0.54, "ndcg_at_3": 0.64309, "ndcg_at_5": 0.69258, "ndcg_at_10": 0.71262, "ndcg_at_20": 0.72955, "ndcg_at_50": 0.73167, "ndcg_at_100": 0.73337, "map_at_1": 0.54, "map_at_3": 0.61667, "map_at_5": 0.64417, "map_at_10": 0.65282, "map_at_20": 0.65707, "map_at_50": 0.65747, "map_at_100": 0.65764, "recall_at_1": 0.54, "recall_at_3": 0.72, "recall_at_5": 0.84, "recall_at_10": 0.9, "recall_at_20": 0.97, "recall_at_50": 0.98, "recall_at_100": 0.99, "precision_at_1": 0.54, "precision_at_3": 0.24, "precision_at_5": 0.168, "precision_at_10": 0.09, "precision_at_20": 0.0485, "precision_at_50": 0.0196, "precision_at_100": 0.0099, "mrr_at_1": 0.54, "mrr_at_3": 0.6233333333333334, "mrr_at_5": 0.6463333333333334, "mrr_at_10": 0.655984126984127, "mrr_at_20": 0.659218253968254, "mrr_at_50": 0.66014898989899, "mrr_at_100": 0.6603275613275613, "naucs_at_1_max": 0.06050123642021599, "naucs_at_1_std": -0.24067127893084392, "naucs_at_1_diff1": 0.586299352615932, "naucs_at_3_max": 0.2029532967032969, "naucs_at_3_std": -0.11450702075702028, "naucs_at_3_diff1": 0.5169413919413928, "naucs_at_5_max": 0.22760186548846306, "naucs_at_5_std": -0.12404884634265974, "naucs_at_5_diff1": 0.44949680903289124, "naucs_at_10_max": 0.06274509803921678, "naucs_at_10_std": -0.3894957983193242, "naucs_at_10_diff1": 0.5401960784313737, "naucs_at_20_max": -0.30376595082477437, "naucs_at_20_std": -0.4344849050731363, "naucs_at_20_diff1": 0.5154061624649885, "naucs_at_50_max": -0.9556489262371552, "naucs_at_50_std": -1.1517273576097031, "naucs_at_50_diff1": 0.3384687208216665, "naucs_at_100_max": -0.17133520074697067, "naucs_at_100_std": -0.5634920634920583, "naucs_at_100_diff1": 0.554154995331464}, "./data_dir/eval_vidore/syntheticDocQA_artificial_intelligence_test": {"ndcg_at_1": 0.95, "ndcg_at_3": 0.98024, "ndcg_at_5": 0.98024, "ndcg_at_10": 0.98024, "ndcg_at_20": 0.98024, "ndcg_at_50": 0.98024, "ndcg_at_100": 0.98024, "map_at_1": 0.95, "map_at_3": 0.97333, "map_at_5": 0.97333, "map_at_10": 0.97333, "map_at_20": 0.97333, "map_at_50": 0.97333, "map_at_100": 0.97333, "recall_at_1": 0.95, "recall_at_3": 1.0, "recall_at_5": 1.0, "recall_at_10": 1.0, "recall_at_20": 1.0, "recall_at_50": 1.0, "recall_at_100": 1.0, "precision_at_1": 0.95, "precision_at_3": 0.33333, "precision_at_5": 0.2, "precision_at_10": 0.1, "precision_at_20": 0.05, "precision_at_50": 0.02, "precision_at_100": 0.01, "mrr_at_1": 0.96, "mrr_at_3": 0.9783333333333333, "mrr_at_5": 0.9783333333333333, "mrr_at_10": 0.9783333333333333, "mrr_at_20": 0.9783333333333333, "mrr_at_50": 0.9783333333333333, "mrr_at_100": 0.9783333333333333, "naucs_at_1_max": 0.3213818860877688, "naucs_at_1_std": -0.07721755368813897, "naucs_at_1_diff1": 0.9738562091503253, "naucs_at_3_max": 1.0, "naucs_at_3_std": 1.0, "naucs_at_3_diff1": 1.0, "naucs_at_5_max": 1.0, "naucs_at_5_std": 1.0, "naucs_at_5_diff1": 1.0, "naucs_at_10_max": 1.0, "naucs_at_10_std": 1.0, "naucs_at_10_diff1": 1.0, "naucs_at_20_max": 1.0, "naucs_at_20_std": 1.0, "naucs_at_20_diff1": 1.0, "naucs_at_50_max": NaN, "naucs_at_50_std": NaN, "naucs_at_50_diff1": NaN, "naucs_at_100_max": NaN, "naucs_at_100_std": NaN, "naucs_at_100_diff1": NaN}}
|
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": "<|im_start|>",
|
27 |
+
"lstrip": false,
|
28 |
+
"normalized": false,
|
29 |
+
"rstrip": false,
|
30 |
+
"single_word": false
|
31 |
+
},
|
32 |
+
"eos_token": {
|
33 |
+
"content": "<|im_end|>",
|
34 |
+
"lstrip": false,
|
35 |
+
"normalized": false,
|
36 |
+
"rstrip": false,
|
37 |
+
"single_word": false
|
38 |
+
},
|
39 |
+
"pad_token": {
|
40 |
+
"content": "<|im_end|>",
|
41 |
+
"lstrip": false,
|
42 |
+
"normalized": false,
|
43 |
+
"rstrip": false,
|
44 |
+
"single_word": false
|
45 |
+
},
|
46 |
+
"unk_token": {
|
47 |
+
"content": "<|endoftext|>",
|
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_config.json
ADDED
@@ -0,0 +1,479 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"add_prefix_space": false,
|
3 |
+
"added_tokens_decoder": {
|
4 |
+
"0": {
|
5 |
+
"content": "<|endoftext|>",
|
6 |
+
"lstrip": false,
|
7 |
+
"normalized": false,
|
8 |
+
"rstrip": false,
|
9 |
+
"single_word": false,
|
10 |
+
"special": true
|
11 |
+
},
|
12 |
+
"1": {
|
13 |
+
"content": "<|im_start|>",
|
14 |
+
"lstrip": false,
|
15 |
+
"normalized": false,
|
16 |
+
"rstrip": false,
|
17 |
+
"single_word": false,
|
18 |
+
"special": true
|
19 |
+
},
|
20 |
+
"2": {
|
21 |
+
"content": "<|im_end|>",
|
22 |
+
"lstrip": false,
|
23 |
+
"normalized": false,
|
24 |
+
"rstrip": false,
|
25 |
+
"single_word": false,
|
26 |
+
"special": true
|
27 |
+
},
|
28 |
+
"3": {
|
29 |
+
"content": "<repo_name>",
|
30 |
+
"lstrip": false,
|
31 |
+
"normalized": false,
|
32 |
+
"rstrip": false,
|
33 |
+
"single_word": false,
|
34 |
+
"special": true
|
35 |
+
},
|
36 |
+
"4": {
|
37 |
+
"content": "<reponame>",
|
38 |
+
"lstrip": false,
|
39 |
+
"normalized": false,
|
40 |
+
"rstrip": false,
|
41 |
+
"single_word": false,
|
42 |
+
"special": true
|
43 |
+
},
|
44 |
+
"5": {
|
45 |
+
"content": "<file_sep>",
|
46 |
+
"lstrip": false,
|
47 |
+
"normalized": false,
|
48 |
+
"rstrip": false,
|
49 |
+
"single_word": false,
|
50 |
+
"special": true
|
51 |
+
},
|
52 |
+
"6": {
|
53 |
+
"content": "<filename>",
|
54 |
+
"lstrip": false,
|
55 |
+
"normalized": false,
|
56 |
+
"rstrip": false,
|
57 |
+
"single_word": false,
|
58 |
+
"special": true
|
59 |
+
},
|
60 |
+
"7": {
|
61 |
+
"content": "<gh_stars>",
|
62 |
+
"lstrip": false,
|
63 |
+
"normalized": false,
|
64 |
+
"rstrip": false,
|
65 |
+
"single_word": false,
|
66 |
+
"special": true
|
67 |
+
},
|
68 |
+
"8": {
|
69 |
+
"content": "<issue_start>",
|
70 |
+
"lstrip": false,
|
71 |
+
"normalized": false,
|
72 |
+
"rstrip": false,
|
73 |
+
"single_word": false,
|
74 |
+
"special": true
|
75 |
+
},
|
76 |
+
"9": {
|
77 |
+
"content": "<issue_comment>",
|
78 |
+
"lstrip": false,
|
79 |
+
"normalized": false,
|
80 |
+
"rstrip": false,
|
81 |
+
"single_word": false,
|
82 |
+
"special": true
|
83 |
+
},
|
84 |
+
"10": {
|
85 |
+
"content": "<issue_closed>",
|
86 |
+
"lstrip": false,
|
87 |
+
"normalized": false,
|
88 |
+
"rstrip": false,
|
89 |
+
"single_word": false,
|
90 |
+
"special": true
|
91 |
+
},
|
92 |
+
"11": {
|
93 |
+
"content": "<jupyter_start>",
|
94 |
+
"lstrip": false,
|
95 |
+
"normalized": false,
|
96 |
+
"rstrip": false,
|
97 |
+
"single_word": false,
|
98 |
+
"special": true
|
99 |
+
},
|
100 |
+
"12": {
|
101 |
+
"content": "<jupyter_text>",
|
102 |
+
"lstrip": false,
|
103 |
+
"normalized": false,
|
104 |
+
"rstrip": false,
|
105 |
+
"single_word": false,
|
106 |
+
"special": true
|
107 |
+
},
|
108 |
+
"13": {
|
109 |
+
"content": "<jupyter_code>",
|
110 |
+
"lstrip": false,
|
111 |
+
"normalized": false,
|
112 |
+
"rstrip": false,
|
113 |
+
"single_word": false,
|
114 |
+
"special": true
|
115 |
+
},
|
116 |
+
"14": {
|
117 |
+
"content": "<jupyter_output>",
|
118 |
+
"lstrip": false,
|
119 |
+
"normalized": false,
|
120 |
+
"rstrip": false,
|
121 |
+
"single_word": false,
|
122 |
+
"special": true
|
123 |
+
},
|
124 |
+
"15": {
|
125 |
+
"content": "<jupyter_script>",
|
126 |
+
"lstrip": false,
|
127 |
+
"normalized": false,
|
128 |
+
"rstrip": false,
|
129 |
+
"single_word": false,
|
130 |
+
"special": true
|
131 |
+
},
|
132 |
+
"16": {
|
133 |
+
"content": "<empty_output>",
|
134 |
+
"lstrip": false,
|
135 |
+
"normalized": false,
|
136 |
+
"rstrip": false,
|
137 |
+
"single_word": false,
|
138 |
+
"special": true
|
139 |
+
},
|
140 |
+
"49152": {
|
141 |
+
"content": "<global-img>",
|
142 |
+
"lstrip": false,
|
143 |
+
"normalized": false,
|
144 |
+
"rstrip": false,
|
145 |
+
"single_word": false,
|
146 |
+
"special": true
|
147 |
+
},
|
148 |
+
"49153": {
|
149 |
+
"content": "<row_1_col_1>",
|
150 |
+
"lstrip": false,
|
151 |
+
"normalized": false,
|
152 |
+
"rstrip": false,
|
153 |
+
"single_word": false,
|
154 |
+
"special": true
|
155 |
+
},
|
156 |
+
"49154": {
|
157 |
+
"content": "<row_1_col_2>",
|
158 |
+
"lstrip": false,
|
159 |
+
"normalized": false,
|
160 |
+
"rstrip": false,
|
161 |
+
"single_word": false,
|
162 |
+
"special": true
|
163 |
+
},
|
164 |
+
"49155": {
|
165 |
+
"content": "<row_1_col_3>",
|
166 |
+
"lstrip": false,
|
167 |
+
"normalized": false,
|
168 |
+
"rstrip": false,
|
169 |
+
"single_word": false,
|
170 |
+
"special": true
|
171 |
+
},
|
172 |
+
"49156": {
|
173 |
+
"content": "<row_1_col_4>",
|
174 |
+
"lstrip": false,
|
175 |
+
"normalized": false,
|
176 |
+
"rstrip": false,
|
177 |
+
"single_word": false,
|
178 |
+
"special": true
|
179 |
+
},
|
180 |
+
"49157": {
|
181 |
+
"content": "<row_1_col_5>",
|
182 |
+
"lstrip": false,
|
183 |
+
"normalized": false,
|
184 |
+
"rstrip": false,
|
185 |
+
"single_word": false,
|
186 |
+
"special": true
|
187 |
+
},
|
188 |
+
"49158": {
|
189 |
+
"content": "<row_1_col_6>",
|
190 |
+
"lstrip": false,
|
191 |
+
"normalized": false,
|
192 |
+
"rstrip": false,
|
193 |
+
"single_word": false,
|
194 |
+
"special": true
|
195 |
+
},
|
196 |
+
"49159": {
|
197 |
+
"content": "<row_2_col_1>",
|
198 |
+
"lstrip": false,
|
199 |
+
"normalized": false,
|
200 |
+
"rstrip": false,
|
201 |
+
"single_word": false,
|
202 |
+
"special": true
|
203 |
+
},
|
204 |
+
"49160": {
|
205 |
+
"content": "<row_2_col_2>",
|
206 |
+
"lstrip": false,
|
207 |
+
"normalized": false,
|
208 |
+
"rstrip": false,
|
209 |
+
"single_word": false,
|
210 |
+
"special": true
|
211 |
+
},
|
212 |
+
"49161": {
|
213 |
+
"content": "<row_2_col_3>",
|
214 |
+
"lstrip": false,
|
215 |
+
"normalized": false,
|
216 |
+
"rstrip": false,
|
217 |
+
"single_word": false,
|
218 |
+
"special": true
|
219 |
+
},
|
220 |
+
"49162": {
|
221 |
+
"content": "<row_2_col_4>",
|
222 |
+
"lstrip": false,
|
223 |
+
"normalized": false,
|
224 |
+
"rstrip": false,
|
225 |
+
"single_word": false,
|
226 |
+
"special": true
|
227 |
+
},
|
228 |
+
"49163": {
|
229 |
+
"content": "<row_2_col_5>",
|
230 |
+
"lstrip": false,
|
231 |
+
"normalized": false,
|
232 |
+
"rstrip": false,
|
233 |
+
"single_word": false,
|
234 |
+
"special": true
|
235 |
+
},
|
236 |
+
"49164": {
|
237 |
+
"content": "<row_2_col_6>",
|
238 |
+
"lstrip": false,
|
239 |
+
"normalized": false,
|
240 |
+
"rstrip": false,
|
241 |
+
"single_word": false,
|
242 |
+
"special": true
|
243 |
+
},
|
244 |
+
"49165": {
|
245 |
+
"content": "<row_3_col_1>",
|
246 |
+
"lstrip": false,
|
247 |
+
"normalized": false,
|
248 |
+
"rstrip": false,
|
249 |
+
"single_word": false,
|
250 |
+
"special": true
|
251 |
+
},
|
252 |
+
"49166": {
|
253 |
+
"content": "<row_3_col_2>",
|
254 |
+
"lstrip": false,
|
255 |
+
"normalized": false,
|
256 |
+
"rstrip": false,
|
257 |
+
"single_word": false,
|
258 |
+
"special": true
|
259 |
+
},
|
260 |
+
"49167": {
|
261 |
+
"content": "<row_3_col_3>",
|
262 |
+
"lstrip": false,
|
263 |
+
"normalized": false,
|
264 |
+
"rstrip": false,
|
265 |
+
"single_word": false,
|
266 |
+
"special": true
|
267 |
+
},
|
268 |
+
"49168": {
|
269 |
+
"content": "<row_3_col_4>",
|
270 |
+
"lstrip": false,
|
271 |
+
"normalized": false,
|
272 |
+
"rstrip": false,
|
273 |
+
"single_word": false,
|
274 |
+
"special": true
|
275 |
+
},
|
276 |
+
"49169": {
|
277 |
+
"content": "<row_3_col_5>",
|
278 |
+
"lstrip": false,
|
279 |
+
"normalized": false,
|
280 |
+
"rstrip": false,
|
281 |
+
"single_word": false,
|
282 |
+
"special": true
|
283 |
+
},
|
284 |
+
"49170": {
|
285 |
+
"content": "<row_3_col_6>",
|
286 |
+
"lstrip": false,
|
287 |
+
"normalized": false,
|
288 |
+
"rstrip": false,
|
289 |
+
"single_word": false,
|
290 |
+
"special": true
|
291 |
+
},
|
292 |
+
"49171": {
|
293 |
+
"content": "<row_4_col_1>",
|
294 |
+
"lstrip": false,
|
295 |
+
"normalized": false,
|
296 |
+
"rstrip": false,
|
297 |
+
"single_word": false,
|
298 |
+
"special": true
|
299 |
+
},
|
300 |
+
"49172": {
|
301 |
+
"content": "<row_4_col_2>",
|
302 |
+
"lstrip": false,
|
303 |
+
"normalized": false,
|
304 |
+
"rstrip": false,
|
305 |
+
"single_word": false,
|
306 |
+
"special": true
|
307 |
+
},
|
308 |
+
"49173": {
|
309 |
+
"content": "<row_4_col_3>",
|
310 |
+
"lstrip": false,
|
311 |
+
"normalized": false,
|
312 |
+
"rstrip": false,
|
313 |
+
"single_word": false,
|
314 |
+
"special": true
|
315 |
+
},
|
316 |
+
"49174": {
|
317 |
+
"content": "<row_4_col_4>",
|
318 |
+
"lstrip": false,
|
319 |
+
"normalized": false,
|
320 |
+
"rstrip": false,
|
321 |
+
"single_word": false,
|
322 |
+
"special": true
|
323 |
+
},
|
324 |
+
"49175": {
|
325 |
+
"content": "<row_4_col_5>",
|
326 |
+
"lstrip": false,
|
327 |
+
"normalized": false,
|
328 |
+
"rstrip": false,
|
329 |
+
"single_word": false,
|
330 |
+
"special": true
|
331 |
+
},
|
332 |
+
"49176": {
|
333 |
+
"content": "<row_4_col_6>",
|
334 |
+
"lstrip": false,
|
335 |
+
"normalized": false,
|
336 |
+
"rstrip": false,
|
337 |
+
"single_word": false,
|
338 |
+
"special": true
|
339 |
+
},
|
340 |
+
"49177": {
|
341 |
+
"content": "<row_5_col_1>",
|
342 |
+
"lstrip": false,
|
343 |
+
"normalized": false,
|
344 |
+
"rstrip": false,
|
345 |
+
"single_word": false,
|
346 |
+
"special": true
|
347 |
+
},
|
348 |
+
"49178": {
|
349 |
+
"content": "<row_5_col_2>",
|
350 |
+
"lstrip": false,
|
351 |
+
"normalized": false,
|
352 |
+
"rstrip": false,
|
353 |
+
"single_word": false,
|
354 |
+
"special": true
|
355 |
+
},
|
356 |
+
"49179": {
|
357 |
+
"content": "<row_5_col_3>",
|
358 |
+
"lstrip": false,
|
359 |
+
"normalized": false,
|
360 |
+
"rstrip": false,
|
361 |
+
"single_word": false,
|
362 |
+
"special": true
|
363 |
+
},
|
364 |
+
"49180": {
|
365 |
+
"content": "<row_5_col_4>",
|
366 |
+
"lstrip": false,
|
367 |
+
"normalized": false,
|
368 |
+
"rstrip": false,
|
369 |
+
"single_word": false,
|
370 |
+
"special": true
|
371 |
+
},
|
372 |
+
"49181": {
|
373 |
+
"content": "<row_5_col_5>",
|
374 |
+
"lstrip": false,
|
375 |
+
"normalized": false,
|
376 |
+
"rstrip": false,
|
377 |
+
"single_word": false,
|
378 |
+
"special": true
|
379 |
+
},
|
380 |
+
"49182": {
|
381 |
+
"content": "<row_5_col_6>",
|
382 |
+
"lstrip": false,
|
383 |
+
"normalized": false,
|
384 |
+
"rstrip": false,
|
385 |
+
"single_word": false,
|
386 |
+
"special": true
|
387 |
+
},
|
388 |
+
"49183": {
|
389 |
+
"content": "<row_6_col_1>",
|
390 |
+
"lstrip": false,
|
391 |
+
"normalized": false,
|
392 |
+
"rstrip": false,
|
393 |
+
"single_word": false,
|
394 |
+
"special": true
|
395 |
+
},
|
396 |
+
"49184": {
|
397 |
+
"content": "<row_6_col_2>",
|
398 |
+
"lstrip": false,
|
399 |
+
"normalized": false,
|
400 |
+
"rstrip": false,
|
401 |
+
"single_word": false,
|
402 |
+
"special": true
|
403 |
+
},
|
404 |
+
"49185": {
|
405 |
+
"content": "<row_6_col_3>",
|
406 |
+
"lstrip": false,
|
407 |
+
"normalized": false,
|
408 |
+
"rstrip": false,
|
409 |
+
"single_word": false,
|
410 |
+
"special": true
|
411 |
+
},
|
412 |
+
"49186": {
|
413 |
+
"content": "<row_6_col_4>",
|
414 |
+
"lstrip": false,
|
415 |
+
"normalized": false,
|
416 |
+
"rstrip": false,
|
417 |
+
"single_word": false,
|
418 |
+
"special": true
|
419 |
+
},
|
420 |
+
"49187": {
|
421 |
+
"content": "<row_6_col_5>",
|
422 |
+
"lstrip": false,
|
423 |
+
"normalized": false,
|
424 |
+
"rstrip": false,
|
425 |
+
"single_word": false,
|
426 |
+
"special": true
|
427 |
+
},
|
428 |
+
"49188": {
|
429 |
+
"content": "<row_6_col_6>",
|
430 |
+
"lstrip": false,
|
431 |
+
"normalized": false,
|
432 |
+
"rstrip": false,
|
433 |
+
"single_word": false,
|
434 |
+
"special": true
|
435 |
+
},
|
436 |
+
"49189": {
|
437 |
+
"content": "<fake_token_around_image>",
|
438 |
+
"lstrip": false,
|
439 |
+
"normalized": false,
|
440 |
+
"rstrip": false,
|
441 |
+
"single_word": false,
|
442 |
+
"special": true
|
443 |
+
},
|
444 |
+
"49190": {
|
445 |
+
"content": "<image>",
|
446 |
+
"lstrip": false,
|
447 |
+
"normalized": false,
|
448 |
+
"rstrip": false,
|
449 |
+
"single_word": false,
|
450 |
+
"special": true
|
451 |
+
},
|
452 |
+
"49191": {
|
453 |
+
"content": "<end_of_utterance>",
|
454 |
+
"lstrip": false,
|
455 |
+
"normalized": false,
|
456 |
+
"rstrip": false,
|
457 |
+
"single_word": false,
|
458 |
+
"special": true
|
459 |
+
}
|
460 |
+
},
|
461 |
+
"additional_special_tokens": [
|
462 |
+
"<fake_token_around_image>",
|
463 |
+
"<image>",
|
464 |
+
"<end_of_utterance>"
|
465 |
+
],
|
466 |
+
"bos_token": "<|im_start|>",
|
467 |
+
"chat_template": "{% for message in messages %}{% if loop.first and messages[0]['role'] != 'system' %}{{ '<|im_start|>system\nYou are a helpful AI assistant named SmolLM, trained by Hugging Face<|im_end|>\n' }}{% endif %}{{'<|im_start|>' + message['role'] + '\n' + message['content'] + '<|im_end|>' + '\n'}}{% endfor %}{% if add_generation_prompt %}{{ '<|im_start|>assistant\n' }}{% endif %}",
|
468 |
+
"clean_up_tokenization_spaces": false,
|
469 |
+
"eos_token": "<|im_end|>",
|
470 |
+
"extra_special_tokens": {},
|
471 |
+
"legacy": false,
|
472 |
+
"model_max_length": 8192,
|
473 |
+
"pad_token": "<|im_end|>",
|
474 |
+
"processor_class": "ColIdefics3Processor",
|
475 |
+
"tokenizer_class": "GPT2Tokenizer",
|
476 |
+
"truncation_side": "left",
|
477 |
+
"unk_token": "<|endoftext|>",
|
478 |
+
"vocab_size": 49152
|
479 |
+
}
|
training_config.yml
ADDED
@@ -0,0 +1,72 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
config:
|
2 |
+
(): colpali_engine.trainer.colmodel_training.ColModelTrainingConfig
|
3 |
+
output_dir: !path ../../../models/ColSmolVLM-500M-Base-22750
|
4 |
+
processor:
|
5 |
+
(): colpali_engine.utils.transformers_wrappers.AllPurposeWrapper
|
6 |
+
class_to_instanciate: !ext colpali_engine.models.ColIdefics3Processor
|
7 |
+
pretrained_model_name_or_path: "./models/ColSmolVLM-500M-Base-22750"
|
8 |
+
# num_image_tokens: 2048
|
9 |
+
# max_length: 50
|
10 |
+
|
11 |
+
model:
|
12 |
+
(): colpali_engine.utils.transformers_wrappers.AllPurposeWrapper
|
13 |
+
class_to_instanciate: !ext colpali_engine.models.ColIdefics3
|
14 |
+
pretrained_model_name_or_path: "./models/ColSmolVLM-500M-Base-22750"
|
15 |
+
torch_dtype: !ext torch.bfloat16
|
16 |
+
# use_cache: false
|
17 |
+
attn_implementation: "flash_attention_2"
|
18 |
+
# device_map: "auto"
|
19 |
+
# quantization_config:
|
20 |
+
# (): transformers.BitsAndBytesConfig
|
21 |
+
# load_in_4bit: true
|
22 |
+
# bnb_4bit_quant_type: "nf4"
|
23 |
+
# bnb_4bit_compute_dtype: "bfloat16"
|
24 |
+
# bnb_4bit_use_double_quant: true
|
25 |
+
|
26 |
+
dataset_loading_func: !ext colpali_engine.utils.dataset_transformation.load_train_set
|
27 |
+
eval_dataset_loader: !import ../data/test_data.yaml
|
28 |
+
|
29 |
+
# max_length: 50
|
30 |
+
run_eval: true
|
31 |
+
loss_func:
|
32 |
+
(): colpali_engine.loss.late_interaction_losses.ColbertPairwiseCELoss
|
33 |
+
tr_args:
|
34 |
+
(): transformers.training_args.TrainingArguments
|
35 |
+
output_dir: null
|
36 |
+
overwrite_output_dir: true
|
37 |
+
num_train_epochs: 3
|
38 |
+
per_device_train_batch_size: 8
|
39 |
+
gradient_checkpointing: true
|
40 |
+
gradient_checkpointing_kwargs: { "use_reentrant": false }
|
41 |
+
# gradient_checkpointing: true
|
42 |
+
# 6 x 8 gpus = 48 batch size
|
43 |
+
# gradient_accumulation_steps: 4
|
44 |
+
per_device_eval_batch_size: 4
|
45 |
+
eval_strategy: "steps"
|
46 |
+
dataloader_num_workers: 6
|
47 |
+
# bf16: true
|
48 |
+
save_steps: 500
|
49 |
+
logging_steps: 10
|
50 |
+
eval_steps: 100
|
51 |
+
warmup_steps: 100
|
52 |
+
learning_rate: 5e-4
|
53 |
+
save_total_limit: 1
|
54 |
+
resume_from_checkpoint: true
|
55 |
+
# optim: "paged_adamw_8bit"
|
56 |
+
# wandb logging
|
57 |
+
# wandb_project: "colqwen2"
|
58 |
+
# run_name: "colqwen2-ba32-nolora"
|
59 |
+
report_to: "wandb"
|
60 |
+
|
61 |
+
|
62 |
+
peft_config:
|
63 |
+
(): peft.LoraConfig
|
64 |
+
r: 32
|
65 |
+
lora_alpha: 32
|
66 |
+
lora_dropout: 0.1
|
67 |
+
init_lora_weights: "gaussian"
|
68 |
+
bias: "none"
|
69 |
+
task_type: "FEATURE_EXTRACTION"
|
70 |
+
target_modules: '(.*(model.text_model).*(down_proj|gate_proj|up_proj|k_proj|q_proj|v_proj|o_proj).*$|.*(custom_text_proj).*$)'
|
71 |
+
# target_modules: '(.*(language_model).*(down_proj|gate_proj|up_proj|k_proj|q_proj|v_proj|o_proj).*$|.*(custom_text_proj).*$)'
|
72 |
+
|
vocab.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|