Upload folder using huggingface_hub
Browse files- .gitattributes +1 -0
- README.md +202 -0
- adapter_config.json +26 -0
- adapter_model.safetensors +3 -0
- added_tokens.json +16 -0
- chat_template.json +3 -0
- git_hash.txt +1 -0
- merges.txt +0 -0
- preprocessor_config.json +29 -0
- results_old.json +1 -0
- special_tokens_map.json +31 -0
- tokenizer.json +3 -0
- tokenizer_config.json +144 -0
- training_config.yml +65 -0
- vocab.json +0 -0
.gitattributes
CHANGED
@@ -33,3 +33,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
|
|
|
33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
36 |
+
tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
README.md
ADDED
@@ -0,0 +1,202 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
base_model: vidore/qwen2-warmup
|
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.11.1
|
adapter_config.json
ADDED
@@ -0,0 +1,26 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"alpha_pattern": {},
|
3 |
+
"auto_mapping": null,
|
4 |
+
"base_model_name_or_path": "vidore/qwen2-warmup",
|
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).*(down_proj|gate_proj|up_proj|k_proj|q_proj|v_proj|o_proj).*$)",
|
23 |
+
"task_type": "FEATURE_EXTRACTION",
|
24 |
+
"use_dora": false,
|
25 |
+
"use_rslora": false
|
26 |
+
}
|
adapter_model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:c1ba254b682a2f6bca5678f2541387fa3ee92d1cf5034538c3d6c9d5dc6aa89d
|
3 |
+
size 73911504
|
added_tokens.json
ADDED
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"<|box_end|>": 151649,
|
3 |
+
"<|box_start|>": 151648,
|
4 |
+
"<|endoftext|>": 151643,
|
5 |
+
"<|im_end|>": 151645,
|
6 |
+
"<|im_start|>": 151644,
|
7 |
+
"<|image_pad|>": 151655,
|
8 |
+
"<|object_ref_end|>": 151647,
|
9 |
+
"<|object_ref_start|>": 151646,
|
10 |
+
"<|quad_end|>": 151651,
|
11 |
+
"<|quad_start|>": 151650,
|
12 |
+
"<|video_pad|>": 151656,
|
13 |
+
"<|vision_end|>": 151653,
|
14 |
+
"<|vision_pad|>": 151654,
|
15 |
+
"<|vision_start|>": 151652
|
16 |
+
}
|
chat_template.json
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"chat_template": "{% set image_count = namespace(value=0) %}{% set video_count = namespace(value=0) %}{% for message in messages %}{% if loop.first and message['role'] != 'system' %}<|im_start|>system\nYou are a helpful assistant.<|im_end|>\n{% endif %}<|im_start|>{{ message['role'] }}\n{% if message['content'] is string %}{{ message['content'] }}<|im_end|>\n{% else %}{% for content in message['content'] %}{% if content['type'] == 'image' or 'image' in content or 'image_url' in content %}{% set image_count.value = image_count.value + 1 %}{% if add_vision_id %}Picture {{ image_count.value }}: {% endif %}<|vision_start|><|image_pad|><|vision_end|>{% elif content['type'] == 'video' or 'video' in content %}{% set video_count.value = video_count.value + 1 %}{% if add_vision_id %}Video {{ video_count.value }}: {% endif %}<|vision_start|><|video_pad|><|vision_end|>{% elif 'text' in content %}{{ content['text'] }}{% endif %}{% endfor %}<|im_end|>\n{% endif %}{% endfor %}{% if add_generation_prompt %}<|im_start|>assistant\n{% endif %}"
|
3 |
+
}
|
git_hash.txt
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
cbe1183da8179ac2d1eaa856af4637157df81563
|
merges.txt
ADDED
The diff for this file is too large to render.
See raw diff
|
|
preprocessor_config.json
ADDED
@@ -0,0 +1,29 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"do_convert_rgb": true,
|
3 |
+
"do_normalize": true,
|
4 |
+
"do_rescale": true,
|
5 |
+
"do_resize": true,
|
6 |
+
"image_mean": [
|
7 |
+
0.48145466,
|
8 |
+
0.4578275,
|
9 |
+
0.40821073
|
10 |
+
],
|
11 |
+
"image_processor_type": "Qwen2VLImageProcessor",
|
12 |
+
"image_std": [
|
13 |
+
0.26862954,
|
14 |
+
0.26130258,
|
15 |
+
0.27577711
|
16 |
+
],
|
17 |
+
"max_pixels": 12845056,
|
18 |
+
"merge_size": 2,
|
19 |
+
"min_pixels": 3136,
|
20 |
+
"patch_size": 14,
|
21 |
+
"processor_class": "BiQwen2Processor",
|
22 |
+
"resample": 3,
|
23 |
+
"rescale_factor": 0.00392156862745098,
|
24 |
+
"size": {
|
25 |
+
"max_pixels": 12845056,
|
26 |
+
"min_pixels": 3136
|
27 |
+
},
|
28 |
+
"temporal_patch_size": 2
|
29 |
+
}
|
results_old.json
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
{"validation_set": {"ndcg_at_1": 0.758, "ndcg_at_3": 0.82043, "ndcg_at_5": 0.83282, "ndcg_at_10": 0.84266, "ndcg_at_20": 0.85084, "ndcg_at_50": 0.8562, "ndcg_at_100": 0.85751, "map_at_1": 0.758, "map_at_3": 0.80533, "map_at_5": 0.81223, "map_at_10": 0.81638, "map_at_20": 0.81867, "map_at_50": 0.81961, "map_at_100": 0.81973, "recall_at_1": 0.758, "recall_at_3": 0.864, "recall_at_5": 0.894, "recall_at_10": 0.924, "recall_at_20": 0.956, "recall_at_50": 0.982, "recall_at_100": 0.99, "precision_at_1": 0.758, "precision_at_3": 0.288, "precision_at_5": 0.1788, "precision_at_10": 0.0924, "precision_at_20": 0.0478, "precision_at_50": 0.01964, "precision_at_100": 0.0099, "mrr_at_1": 0.758, "mrr_at_3": 0.8066666666666666, "mrr_at_5": 0.8126666666666666, "mrr_at_10": 0.8168103174603175, "mrr_at_20": 0.8190987982176062, "mrr_at_50": 0.8200907132188691, "mrr_at_100": 0.8201695678965017, "naucs_at_1_max": 0.8180302294498618, "naucs_at_1_std": -0.6400185657127382, "naucs_at_1_diff1": 0.9092042099472675, "naucs_at_3_max": 0.9025004266939748, "naucs_at_3_std": -0.7107157080275334, "naucs_at_3_diff1": 0.8724682824145202, "naucs_at_5_max": 0.8931988002058825, "naucs_at_5_std": -0.7867259464352299, "naucs_at_5_diff1": 0.8751930142164964, "naucs_at_10_max": 0.9073050272740686, "naucs_at_10_std": -0.9626025848936113, "naucs_at_10_diff1": 0.8942331318492321, "naucs_at_20_max": 0.9277438248026504, "naucs_at_20_std": -1.2098930481283448, "naucs_at_20_diff1": 0.8992233256939183, "naucs_at_50_max": 0.9854756717501884, "naucs_at_50_std": -1.1305114638448153, "naucs_at_50_diff1": 0.9709513435003653, "naucs_at_100_max": 1.0, "naucs_at_100_std": -1.1909430438842146, "naucs_at_100_diff1": 0.9738562091503188}, "syntheticDocQA_energy": {"ndcg_at_1": 0.75, "ndcg_at_3": 0.83833, "ndcg_at_5": 0.85424, "ndcg_at_10": 0.86014, "ndcg_at_20": 0.8652, "ndcg_at_50": 0.86954, "ndcg_at_100": 0.87114, "map_at_1": 0.75, "map_at_3": 0.82, "map_at_5": 0.8285, "map_at_10": 0.83061, "map_at_20": 0.832, "map_at_50": 0.83285, "map_at_100": 0.83299, "recall_at_1": 0.75, "recall_at_3": 0.89, "recall_at_5": 0.93, "recall_at_10": 0.95, "recall_at_20": 0.97, "recall_at_50": 0.99, "recall_at_100": 1.0, "precision_at_1": 0.75, "precision_at_3": 0.29667, "precision_at_5": 0.186, "precision_at_10": 0.095, "precision_at_20": 0.0485, "precision_at_50": 0.0198, "precision_at_100": 0.01, "mrr_at_1": 0.76, "mrr_at_3": 0.825, "mrr_at_5": 0.8334999999999999, "mrr_at_10": 0.8356111111111112, "mrr_at_20": 0.8370757575757576, "mrr_at_50": 0.8379469696969697, "mrr_at_100": 0.8380821048321049, "naucs_at_1_max": 0.5903087388801671, "naucs_at_1_std": -0.6087912087912085, "naucs_at_1_diff1": 0.8399162742019884, "naucs_at_3_max": 0.567605875783866, "naucs_at_3_std": -0.6042865733184407, "naucs_at_3_diff1": 0.8077914268533612, "naucs_at_5_max": 0.652260904361747, "naucs_at_5_std": -0.5182739762571643, "naucs_at_5_diff1": 0.7465652927837797, "naucs_at_10_max": 0.5948646125116731, "naucs_at_10_std": -0.89458450046684, "naucs_at_10_diff1": 0.7997198879551832, "naucs_at_20_max": 0.4609399315281665, "naucs_at_20_std": -0.7231559290382794, "naucs_at_20_diff1": 0.7587924058512269, "naucs_at_50_max": 1.0, "naucs_at_50_std": 0.7222222222222041, "naucs_at_50_diff1": 0.7222222222222041, "naucs_at_100_max": NaN, "naucs_at_100_std": NaN, "naucs_at_100_diff1": NaN}, "syntheticDocQA_healthcare_industry": {"ndcg_at_1": 0.83, "ndcg_at_3": 0.90547, "ndcg_at_5": 0.92139, "ndcg_at_10": 0.92139, "ndcg_at_20": 0.92139, "ndcg_at_50": 0.92139, "ndcg_at_100": 0.92139, "map_at_1": 0.83, "map_at_3": 0.88667, "map_at_5": 0.89517, "map_at_10": 0.89517, "map_at_20": 0.89517, "map_at_50": 0.89517, "map_at_100": 0.89517, "recall_at_1": 0.83, "recall_at_3": 0.96, "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.83, "precision_at_3": 0.32, "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.83, "mrr_at_3": 0.8866666666666667, "mrr_at_5": 0.8956666666666666, "mrr_at_10": 0.8956666666666666, "mrr_at_20": 0.8956666666666666, "mrr_at_50": 0.8956666666666666, "mrr_at_100": 0.8956666666666666, "naucs_at_1_max": 0.4146978580135842, "naucs_at_1_std": -0.3873280315783354, "naucs_at_1_diff1": 0.8308179021303772, "naucs_at_3_max": 0.29470121381886233, "naucs_at_3_std": -1.2987861811391161, "naucs_at_3_diff1": 0.7741596638655437, "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}, "syntheticDocQA_artificial_intelligence_test": {"ndcg_at_1": 0.79, "ndcg_at_3": 0.85417, "ndcg_at_5": 0.86621, "ndcg_at_10": 0.88356, "ndcg_at_20": 0.88356, "ndcg_at_50": 0.88764, "ndcg_at_100": 0.88764, "map_at_1": 0.79, "map_at_3": 0.83833, "map_at_5": 0.84483, "map_at_10": 0.85269, "map_at_20": 0.85269, "map_at_50": 0.8534, "map_at_100": 0.8534, "recall_at_1": 0.79, "recall_at_3": 0.9, "recall_at_5": 0.93, "recall_at_10": 0.98, "recall_at_20": 0.98, "recall_at_50": 1.0, "recall_at_100": 1.0, "precision_at_1": 0.79, "precision_at_3": 0.3, "precision_at_5": 0.186, "precision_at_10": 0.098, "precision_at_20": 0.049, "precision_at_50": 0.02, "precision_at_100": 0.01, "mrr_at_1": 0.8, "mrr_at_3": 0.8433333333333333, "mrr_at_5": 0.8498333333333333, "mrr_at_10": 0.8576904761904761, "mrr_at_20": 0.8576904761904761, "mrr_at_50": 0.8583950216450217, "mrr_at_100": 0.8583950216450217, "naucs_at_1_max": 0.11376151201096464, "naucs_at_1_std": -0.618270132493328, "naucs_at_1_diff1": 0.868492557770457, "naucs_at_3_max": 0.40303454715219317, "naucs_at_3_std": -0.5295518207282941, "naucs_at_3_diff1": 0.8905228758169933, "naucs_at_5_max": 0.7246231826063763, "naucs_at_5_std": -0.17887154861944707, "naucs_at_5_diff1": 0.883286647992531, "naucs_at_10_max": 1.0, "naucs_at_10_std": 0.540149393090577, "naucs_at_10_diff1": 0.861111111111116, "naucs_at_20_max": 1.0, "naucs_at_20_std": 0.540149393090577, "naucs_at_20_diff1": 0.861111111111116, "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}, "syntheticDocQA_government_reports": {"ndcg_at_1": 0.78, "ndcg_at_3": 0.88071, "ndcg_at_5": 0.89276, "ndcg_at_10": 0.89632, "ndcg_at_20": 0.89882, "ndcg_at_50": 0.89882, "ndcg_at_100": 0.89882, "map_at_1": 0.78, "map_at_3": 0.85667, "map_at_5": 0.86317, "map_at_10": 0.86483, "map_at_20": 0.8655, "map_at_50": 0.8655, "map_at_100": 0.8655, "recall_at_1": 0.78, "recall_at_3": 0.95, "recall_at_5": 0.98, "recall_at_10": 0.99, "recall_at_20": 1.0, "recall_at_50": 1.0, "recall_at_100": 1.0, "precision_at_1": 0.78, "precision_at_3": 0.31667, "precision_at_5": 0.196, "precision_at_10": 0.099, "precision_at_20": 0.05, "precision_at_50": 0.02, "precision_at_100": 0.01, "mrr_at_1": 0.78, "mrr_at_3": 0.8583333333333333, "mrr_at_5": 0.8648333333333333, "mrr_at_10": 0.8665, "mrr_at_20": 0.8671666666666666, "mrr_at_50": 0.8671666666666666, "mrr_at_100": 0.8671666666666666, "naucs_at_1_max": 0.06732507998330828, "naucs_at_1_std": -0.2970278666481208, "naucs_at_1_diff1": 0.8174757731719745, "naucs_at_3_max": 0.24948646125116392, "naucs_at_3_std": -0.4772175536881391, "naucs_at_3_diff1": 0.7461251167133489, "naucs_at_5_max": 0.861111111111116, "naucs_at_5_std": -0.8576097105508901, "naucs_at_5_diff1": 0.8692810457516353, "naucs_at_10_max": 1.0, "naucs_at_10_std": -0.5634920634920767, "naucs_at_10_diff1": 0.8692810457516413, "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}, "infovqa_subsampled": {"ndcg_at_1": 0.734, "ndcg_at_3": 0.80305, "ndcg_at_5": 0.81767, "ndcg_at_10": 0.83013, "ndcg_at_20": 0.83437, "ndcg_at_50": 0.83845, "ndcg_at_100": 0.84042, "map_at_1": 0.734, "map_at_3": 0.78733, "map_at_5": 0.79533, "map_at_10": 0.80057, "map_at_20": 0.80184, "map_at_50": 0.80254, "map_at_100": 0.80272, "recall_at_1": 0.734, "recall_at_3": 0.848, "recall_at_5": 0.884, "recall_at_10": 0.922, "recall_at_20": 0.938, "recall_at_50": 0.958, "recall_at_100": 0.97, "precision_at_1": 0.734, "precision_at_3": 0.28267, "precision_at_5": 0.1768, "precision_at_10": 0.0922, "precision_at_20": 0.0469, "precision_at_50": 0.01916, "precision_at_100": 0.0097, "mrr_at_1": 0.738, "mrr_at_3": 0.7893333333333333, "mrr_at_5": 0.7977333333333333, "mrr_at_10": 0.8026674603174603, "mrr_at_20": 0.8039375901875903, "mrr_at_50": 0.8046370416553112, "mrr_at_100": 0.8048174808869882, "naucs_at_1_max": 0.4981791117249281, "naucs_at_1_std": -0.17621422402298867, "naucs_at_1_diff1": 0.8717617044310272, "naucs_at_3_max": 0.6137597098616197, "naucs_at_3_std": 0.011626112454345153, "naucs_at_3_diff1": 0.8184191573640626, "naucs_at_5_max": 0.7200154103413223, "naucs_at_5_std": 0.21685137217613695, "naucs_at_5_diff1": 0.803772254828026, "naucs_at_10_max": 0.781033781033783, "naucs_at_10_std": 0.3903971845148331, "naucs_at_10_diff1": 0.7920227920227934, "naucs_at_20_max": 0.827444956477214, "naucs_at_20_std": 0.5863980000602383, "naucs_at_20_diff1": 0.7833047197373586, "naucs_at_50_max": 0.9540927482103958, "naucs_at_50_std": 0.848539415766309, "naucs_at_50_diff1": 0.754479569605618, "naucs_at_100_max": 0.9814814814814826, "naucs_at_100_std": 0.8747587924058554, "naucs_at_100_diff1": 0.8075319016495498}, "docvqa_subsampled": {"ndcg_at_1": 0.39, "ndcg_at_3": 0.462, "ndcg_at_5": 0.48489, "ndcg_at_10": 0.5097, "ndcg_at_20": 0.52735, "ndcg_at_50": 0.54211, "ndcg_at_100": 0.55028, "map_at_1": 0.39, "map_at_3": 0.44467, "map_at_5": 0.45727, "map_at_10": 0.46726, "map_at_20": 0.47209, "map_at_50": 0.47432, "map_at_100": 0.47506, "recall_at_1": 0.39, "recall_at_3": 0.512, "recall_at_5": 0.568, "recall_at_10": 0.646, "recall_at_20": 0.716, "recall_at_50": 0.792, "recall_at_100": 0.842, "precision_at_1": 0.39, "precision_at_3": 0.17067, "precision_at_5": 0.1136, "precision_at_10": 0.0646, "precision_at_20": 0.0358, "precision_at_50": 0.01584, "precision_at_100": 0.00842, "mrr_at_1": 0.39, "mrr_at_3": 0.4453333333333333, "mrr_at_5": 0.45793333333333336, "mrr_at_10": 0.467965873015873, "mrr_at_20": 0.472880522779594, "mrr_at_50": 0.47501925006532203, "mrr_at_100": 0.47575775396072806, "naucs_at_1_max": 0.6216522447712546, "naucs_at_1_std": -0.025235083362436097, "naucs_at_1_diff1": 0.7875493125347613, "naucs_at_3_max": 0.6606267941551014, "naucs_at_3_std": 0.03579137078845739, "naucs_at_3_diff1": 0.7017682545164144, "naucs_at_5_max": 0.74680386743496, "naucs_at_5_std": 0.09704386376914526, "naucs_at_5_diff1": 0.6693062444869572, "naucs_at_10_max": 0.7814818523315649, "naucs_at_10_std": 0.2227106676701153, "naucs_at_10_diff1": 0.6354380989602686, "naucs_at_20_max": 0.7874150557746986, "naucs_at_20_std": 0.265915964611915, "naucs_at_20_diff1": 0.6136687608890765, "naucs_at_50_max": 0.8287788049692807, "naucs_at_50_std": 0.4682394325251468, "naucs_at_50_diff1": 0.6185001065953447, "naucs_at_100_max": 0.8895765310556315, "naucs_at_100_std": 0.6355634458528353, "naucs_at_100_diff1": 0.6351289277334297}, "arxivqa_subsampled": {"ndcg_at_1": 0.726, "ndcg_at_3": 0.77528, "ndcg_at_5": 0.79362, "ndcg_at_10": 0.80637, "ndcg_at_20": 0.81796, "ndcg_at_50": 0.82404, "ndcg_at_100": 0.82704, "map_at_1": 0.726, "map_at_3": 0.76267, "map_at_5": 0.77297, "map_at_10": 0.7785, "map_at_20": 0.78165, "map_at_50": 0.78253, "map_at_100": 0.78281, "recall_at_1": 0.726, "recall_at_3": 0.812, "recall_at_5": 0.856, "recall_at_10": 0.894, "recall_at_20": 0.94, "recall_at_50": 0.972, "recall_at_100": 0.99, "precision_at_1": 0.726, "precision_at_3": 0.27067, "precision_at_5": 0.1712, "precision_at_10": 0.0894, "precision_at_20": 0.047, "precision_at_50": 0.01944, "precision_at_100": 0.0099, "mrr_at_1": 0.728, "mrr_at_3": 0.7646666666666666, "mrr_at_5": 0.7744666666666667, "mrr_at_10": 0.7800809523809523, "mrr_at_20": 0.7833235527888005, "mrr_at_50": 0.7841031955347688, "mrr_at_100": 0.7843909166550672, "naucs_at_1_max": 0.6997774230011768, "naucs_at_1_std": -0.5231569420328694, "naucs_at_1_diff1": 0.8633501528517435, "naucs_at_3_max": 0.6897337960513782, "naucs_at_3_std": -0.5291702816513941, "naucs_at_3_diff1": 0.8149586304674437, "naucs_at_5_max": 0.7054787119083646, "naucs_at_5_std": -0.5820793710827757, "naucs_at_5_diff1": 0.8136211368057061, "naucs_at_10_max": 0.7270912092007895, "naucs_at_10_std": -0.5280336510302989, "naucs_at_10_diff1": 0.8138810499973373, "naucs_at_20_max": 0.7532679738562081, "naucs_at_20_std": -0.6036103330221042, "naucs_at_20_diff1": 0.8214441332088407, "naucs_at_50_max": 0.7690742963852164, "naucs_at_50_std": -0.5972722422302272, "naucs_at_50_diff1": 0.8394357743097238, "naucs_at_100_max": 0.8846872082166138, "naucs_at_100_std": 0.28309990662931644, "naucs_at_100_diff1": 0.8627450980391941}, "tabfquad_subsampled": {"ndcg_at_1": 0.83929, "ndcg_at_3": 0.90098, "ndcg_at_5": 0.91297, "ndcg_at_10": 0.92095, "ndcg_at_20": 0.92194, "ndcg_at_50": 0.92194, "ndcg_at_100": 0.92255, "map_at_1": 0.83929, "map_at_3": 0.8875, "map_at_5": 0.89429, "map_at_10": 0.89752, "map_at_20": 0.89784, "map_at_50": 0.89784, "map_at_100": 0.8979, "recall_at_1": 0.83929, "recall_at_3": 0.93929, "recall_at_5": 0.96786, "recall_at_10": 0.99286, "recall_at_20": 0.99643, "recall_at_50": 0.99643, "recall_at_100": 1.0, "precision_at_1": 0.83929, "precision_at_3": 0.3131, "precision_at_5": 0.19357, "precision_at_10": 0.09929, "precision_at_20": 0.04982, "precision_at_50": 0.01993, "precision_at_100": 0.01, "mrr_at_1": 0.8428571428571429, "mrr_at_3": 0.8892857142857142, "mrr_at_5": 0.8960714285714286, "mrr_at_10": 0.8993055555555555, "mrr_at_20": 0.8996302308802309, "mrr_at_50": 0.8996302308802309, "mrr_at_100": 0.8996887788895985, "naucs_at_1_max": 0.6308196005675004, "naucs_at_1_std": 0.2706537160318682, "naucs_at_1_diff1": 0.8597730001091355, "naucs_at_3_max": 0.9026473334431836, "naucs_at_3_std": 0.6891580161476388, "naucs_at_3_diff1": 0.8670840885373794, "naucs_at_5_max": 0.935937337898122, "naucs_at_5_std": 0.7217553688141943, "naucs_at_5_diff1": 0.9255628177196795, "naucs_at_10_max": 1.0, "naucs_at_10_std": 0.6790382819794653, "naucs_at_10_diff1": 0.9346405228758269, "naucs_at_20_max": 1.0, "naucs_at_20_std": 1.0, "naucs_at_20_diff1": 0.8692810457516478, "naucs_at_50_max": 1.0, "naucs_at_50_std": 1.0, "naucs_at_50_diff1": 0.8692810457515607, "naucs_at_100_max": 1.0, "naucs_at_100_std": 1.0, "naucs_at_100_diff1": 1.0}, "tatdqa": {"ndcg_at_1": 0.48346, "ndcg_at_3": 0.59726, "ndcg_at_5": 0.62772, "ndcg_at_10": 0.66144, "ndcg_at_20": 0.67603, "ndcg_at_50": 0.68527, "ndcg_at_100": 0.68807, "map_at_1": 0.48346, "map_at_3": 0.56835, "map_at_5": 0.58525, "map_at_10": 0.59945, "map_at_20": 0.60353, "map_at_50": 0.60508, "map_at_100": 0.60535, "recall_at_1": 0.48346, "recall_at_3": 0.6813, "recall_at_5": 0.75526, "recall_at_10": 0.85809, "recall_at_20": 0.91521, "recall_at_50": 0.96091, "recall_at_100": 0.97775, "precision_at_1": 0.48346, "precision_at_3": 0.2271, "precision_at_5": 0.15105, "precision_at_10": 0.08581, "precision_at_20": 0.04576, "precision_at_50": 0.01922, "precision_at_100": 0.00978, "mrr_at_1": 0.481659651232712, "mrr_at_3": 0.5672479454800562, "mrr_at_5": 0.5842653838444578, "mrr_at_10": 0.5985298609321459, "mrr_at_20": 0.6025970848960606, "mrr_at_50": 0.6041227644029902, "mrr_at_100": 0.6043871575907215, "naucs_at_1_max": 0.4061317386686219, "naucs_at_1_std": -0.10341123916343513, "naucs_at_1_diff1": 0.6374359397144861, "naucs_at_3_max": 0.4410840815843837, "naucs_at_3_std": -0.09865131952567925, "naucs_at_3_diff1": 0.5188284524540077, "naucs_at_5_max": 0.46563199590069476, "naucs_at_5_std": -0.04481989346322378, "naucs_at_5_diff1": 0.502964743301536, "naucs_at_10_max": 0.5971251813035713, "naucs_at_10_std": 0.17609454180900883, "naucs_at_10_diff1": 0.49762399924214884, "naucs_at_20_max": 0.7074578979929439, "naucs_at_20_std": 0.35131109907333347, "naucs_at_20_diff1": 0.48466509719700673, "naucs_at_50_max": 0.7898897400643674, "naucs_at_50_std": 0.5136437718598935, "naucs_at_50_diff1": 0.5049777692390409, "naucs_at_100_max": 0.9296593843449183, "naucs_at_100_std": 0.8481609120263548, "naucs_at_100_diff1": 0.6461841102700067}, "shift_project": {"ndcg_at_1": 0.55, "ndcg_at_3": 0.69488, "ndcg_at_5": 0.7151, "ndcg_at_10": 0.73829, "ndcg_at_20": 0.75364, "ndcg_at_50": 0.75588, "ndcg_at_100": 0.75919, "map_at_1": 0.55, "map_at_3": 0.66167, "map_at_5": 0.67267, "map_at_10": 0.68257, "map_at_20": 0.68688, "map_at_50": 0.68735, "map_at_100": 0.68766, "recall_at_1": 0.55, "recall_at_3": 0.79, "recall_at_5": 0.84, "recall_at_10": 0.91, "recall_at_20": 0.97, "recall_at_50": 0.98, "recall_at_100": 1.0, "precision_at_1": 0.55, "precision_at_3": 0.26333, "precision_at_5": 0.168, "precision_at_10": 0.091, "precision_at_20": 0.0485, "precision_at_50": 0.0196, "precision_at_100": 0.01, "mrr_at_1": 0.56, "mrr_at_3": 0.6666666666666667, "mrr_at_5": 0.6776666666666666, "mrr_at_10": 0.6888849206349207, "mrr_at_20": 0.6922836417967997, "mrr_at_50": 0.6927598322729902, "mrr_at_100": 0.6930715205846785, "naucs_at_1_max": 0.17372744506073132, "naucs_at_1_std": -0.1267991293968969, "naucs_at_1_diff1": 0.6048866109667903, "naucs_at_3_max": 0.480847380190925, "naucs_at_3_std": 0.14538197032726533, "naucs_at_3_diff1": 0.34732007598528425, "naucs_at_5_max": 0.6464776632302403, "naucs_at_5_std": 0.16319955817378487, "naucs_at_5_diff1": 0.2898870888561598, "naucs_at_10_max": 0.6763668430335094, "naucs_at_10_std": 0.13523187052598903, "naucs_at_10_diff1": 0.3826641767818238, "naucs_at_20_max": 0.7152194211017693, "naucs_at_20_std": 0.00513538748833041, "naucs_at_20_diff1": 0.5224089635854351, "naucs_at_50_max": 0.638188608776847, "naucs_at_50_std": 0.09337068160597661, "naucs_at_50_diff1": 0.3489729225023405, "naucs_at_100_max": NaN, "naucs_at_100_std": NaN, "naucs_at_100_diff1": NaN}}
|
special_tokens_map.json
ADDED
@@ -0,0 +1,31 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"additional_special_tokens": [
|
3 |
+
"<|im_start|>",
|
4 |
+
"<|im_end|>",
|
5 |
+
"<|object_ref_start|>",
|
6 |
+
"<|object_ref_end|>",
|
7 |
+
"<|box_start|>",
|
8 |
+
"<|box_end|>",
|
9 |
+
"<|quad_start|>",
|
10 |
+
"<|quad_end|>",
|
11 |
+
"<|vision_start|>",
|
12 |
+
"<|vision_end|>",
|
13 |
+
"<|vision_pad|>",
|
14 |
+
"<|image_pad|>",
|
15 |
+
"<|video_pad|>"
|
16 |
+
],
|
17 |
+
"eos_token": {
|
18 |
+
"content": "<|im_end|>",
|
19 |
+
"lstrip": false,
|
20 |
+
"normalized": false,
|
21 |
+
"rstrip": false,
|
22 |
+
"single_word": false
|
23 |
+
},
|
24 |
+
"pad_token": {
|
25 |
+
"content": "<|endoftext|>",
|
26 |
+
"lstrip": false,
|
27 |
+
"normalized": false,
|
28 |
+
"rstrip": false,
|
29 |
+
"single_word": false
|
30 |
+
}
|
31 |
+
}
|
tokenizer.json
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:091aa7594dc2fcfbfa06b9e3c22a5f0562ac14f30375c13af7309407a0e67b8a
|
3 |
+
size 11420371
|
tokenizer_config.json
ADDED
@@ -0,0 +1,144 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"add_prefix_space": false,
|
3 |
+
"added_tokens_decoder": {
|
4 |
+
"151643": {
|
5 |
+
"content": "<|endoftext|>",
|
6 |
+
"lstrip": false,
|
7 |
+
"normalized": false,
|
8 |
+
"rstrip": false,
|
9 |
+
"single_word": false,
|
10 |
+
"special": true
|
11 |
+
},
|
12 |
+
"151644": {
|
13 |
+
"content": "<|im_start|>",
|
14 |
+
"lstrip": false,
|
15 |
+
"normalized": false,
|
16 |
+
"rstrip": false,
|
17 |
+
"single_word": false,
|
18 |
+
"special": true
|
19 |
+
},
|
20 |
+
"151645": {
|
21 |
+
"content": "<|im_end|>",
|
22 |
+
"lstrip": false,
|
23 |
+
"normalized": false,
|
24 |
+
"rstrip": false,
|
25 |
+
"single_word": false,
|
26 |
+
"special": true
|
27 |
+
},
|
28 |
+
"151646": {
|
29 |
+
"content": "<|object_ref_start|>",
|
30 |
+
"lstrip": false,
|
31 |
+
"normalized": false,
|
32 |
+
"rstrip": false,
|
33 |
+
"single_word": false,
|
34 |
+
"special": true
|
35 |
+
},
|
36 |
+
"151647": {
|
37 |
+
"content": "<|object_ref_end|>",
|
38 |
+
"lstrip": false,
|
39 |
+
"normalized": false,
|
40 |
+
"rstrip": false,
|
41 |
+
"single_word": false,
|
42 |
+
"special": true
|
43 |
+
},
|
44 |
+
"151648": {
|
45 |
+
"content": "<|box_start|>",
|
46 |
+
"lstrip": false,
|
47 |
+
"normalized": false,
|
48 |
+
"rstrip": false,
|
49 |
+
"single_word": false,
|
50 |
+
"special": true
|
51 |
+
},
|
52 |
+
"151649": {
|
53 |
+
"content": "<|box_end|>",
|
54 |
+
"lstrip": false,
|
55 |
+
"normalized": false,
|
56 |
+
"rstrip": false,
|
57 |
+
"single_word": false,
|
58 |
+
"special": true
|
59 |
+
},
|
60 |
+
"151650": {
|
61 |
+
"content": "<|quad_start|>",
|
62 |
+
"lstrip": false,
|
63 |
+
"normalized": false,
|
64 |
+
"rstrip": false,
|
65 |
+
"single_word": false,
|
66 |
+
"special": true
|
67 |
+
},
|
68 |
+
"151651": {
|
69 |
+
"content": "<|quad_end|>",
|
70 |
+
"lstrip": false,
|
71 |
+
"normalized": false,
|
72 |
+
"rstrip": false,
|
73 |
+
"single_word": false,
|
74 |
+
"special": true
|
75 |
+
},
|
76 |
+
"151652": {
|
77 |
+
"content": "<|vision_start|>",
|
78 |
+
"lstrip": false,
|
79 |
+
"normalized": false,
|
80 |
+
"rstrip": false,
|
81 |
+
"single_word": false,
|
82 |
+
"special": true
|
83 |
+
},
|
84 |
+
"151653": {
|
85 |
+
"content": "<|vision_end|>",
|
86 |
+
"lstrip": false,
|
87 |
+
"normalized": false,
|
88 |
+
"rstrip": false,
|
89 |
+
"single_word": false,
|
90 |
+
"special": true
|
91 |
+
},
|
92 |
+
"151654": {
|
93 |
+
"content": "<|vision_pad|>",
|
94 |
+
"lstrip": false,
|
95 |
+
"normalized": false,
|
96 |
+
"rstrip": false,
|
97 |
+
"single_word": false,
|
98 |
+
"special": true
|
99 |
+
},
|
100 |
+
"151655": {
|
101 |
+
"content": "<|image_pad|>",
|
102 |
+
"lstrip": false,
|
103 |
+
"normalized": false,
|
104 |
+
"rstrip": false,
|
105 |
+
"single_word": false,
|
106 |
+
"special": true
|
107 |
+
},
|
108 |
+
"151656": {
|
109 |
+
"content": "<|video_pad|>",
|
110 |
+
"lstrip": false,
|
111 |
+
"normalized": false,
|
112 |
+
"rstrip": false,
|
113 |
+
"single_word": false,
|
114 |
+
"special": true
|
115 |
+
}
|
116 |
+
},
|
117 |
+
"additional_special_tokens": [
|
118 |
+
"<|im_start|>",
|
119 |
+
"<|im_end|>",
|
120 |
+
"<|object_ref_start|>",
|
121 |
+
"<|object_ref_end|>",
|
122 |
+
"<|box_start|>",
|
123 |
+
"<|box_end|>",
|
124 |
+
"<|quad_start|>",
|
125 |
+
"<|quad_end|>",
|
126 |
+
"<|vision_start|>",
|
127 |
+
"<|vision_end|>",
|
128 |
+
"<|vision_pad|>",
|
129 |
+
"<|image_pad|>",
|
130 |
+
"<|video_pad|>"
|
131 |
+
],
|
132 |
+
"bos_token": null,
|
133 |
+
"chat_template": "{% set image_count = namespace(value=0) %}{% set video_count = namespace(value=0) %}{% for message in messages %}{% if loop.first and message['role'] != 'system' %}<|im_start|>system\nYou are a helpful assistant.<|im_end|>\n{% endif %}<|im_start|>{{ message['role'] }}\n{% if message['content'] is string %}{{ message['content'] }}<|im_end|>\n{% else %}{% for content in message['content'] %}{% if content['type'] == 'image' or 'image' in content or 'image_url' in content %}{% set image_count.value = image_count.value + 1 %}{% if add_vision_id %}Picture {{ image_count.value }}: {% endif %}<|vision_start|><|image_pad|><|vision_end|>{% elif content['type'] == 'video' or 'video' in content %}{% set video_count.value = video_count.value + 1 %}{% if add_vision_id %}Video {{ video_count.value }}: {% endif %}<|vision_start|><|video_pad|><|vision_end|>{% elif 'text' in content %}{{ content['text'] }}{% endif %}{% endfor %}<|im_end|>\n{% endif %}{% endfor %}{% if add_generation_prompt %}<|im_start|>assistant\n{% endif %}",
|
134 |
+
"clean_up_tokenization_spaces": false,
|
135 |
+
"eos_token": "<|im_end|>",
|
136 |
+
"errors": "replace",
|
137 |
+
"model_max_length": 32768,
|
138 |
+
"pad_token": "<|endoftext|>",
|
139 |
+
"padding_side": "left",
|
140 |
+
"processor_class": "BiQwen2Processor",
|
141 |
+
"split_special_tokens": false,
|
142 |
+
"tokenizer_class": "Qwen2Tokenizer",
|
143 |
+
"unk_token": null
|
144 |
+
}
|
training_config.yml
ADDED
@@ -0,0 +1,65 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
config:
|
2 |
+
(): colpali_engine.trainer.colmodel_training.ColModelTrainingConfig
|
3 |
+
output_dir: !path ../../../models/biqwen2-warmup-256-newpad-1e
|
4 |
+
processor:
|
5 |
+
(): colpali_engine.utils.transformers_wrappers.AllPurposeWrapper
|
6 |
+
class_to_instanciate: !ext colpali_engine.models.BiQwen2Processor
|
7 |
+
pretrained_model_name_or_path: "./models/colqwen2_base" # "./models/paligemma-3b-mix-448"
|
8 |
+
# max_length: 50
|
9 |
+
|
10 |
+
model:
|
11 |
+
(): colpali_engine.utils.transformers_wrappers.AllPurposeWrapper
|
12 |
+
class_to_instanciate: !ext colpali_engine.models.BiQwen2
|
13 |
+
pretrained_model_name_or_path: "./models/qwen2-warmup"
|
14 |
+
torch_dtype: !ext torch.bfloat16
|
15 |
+
use_cache: false
|
16 |
+
attn_implementation: "flash_attention_2"
|
17 |
+
# device_map: "auto"
|
18 |
+
# quantization_config:
|
19 |
+
# (): transformers.BitsAndBytesConfig
|
20 |
+
# load_in_4bit: true
|
21 |
+
# bnb_4bit_quant_type: "nf4"
|
22 |
+
# bnb_4bit_compute_dtype: "bfloat16"
|
23 |
+
# bnb_4bit_use_double_quant: true
|
24 |
+
|
25 |
+
dataset_loading_func: !ext colpali_engine.utils.dataset_transformation.load_train_set
|
26 |
+
eval_dataset_loader: !import ../data/test_data.yaml
|
27 |
+
|
28 |
+
# max_length: 50
|
29 |
+
run_eval: true
|
30 |
+
|
31 |
+
loss_func:
|
32 |
+
(): colpali_engine.loss.bi_encoder_losses.BiPairwiseCELoss
|
33 |
+
tr_args:
|
34 |
+
(): transformers.training_args.TrainingArguments
|
35 |
+
output_dir: null
|
36 |
+
overwrite_output_dir: true
|
37 |
+
num_train_epochs: 1
|
38 |
+
per_device_train_batch_size: 64
|
39 |
+
gradient_checkpointing: true
|
40 |
+
gradient_checkpointing_kwargs: { "use_reentrant": false }
|
41 |
+
# 6 x 8 gpus = 48 batch size
|
42 |
+
# gradient_accumulation_steps: 4
|
43 |
+
per_device_eval_batch_size: 64
|
44 |
+
eval_strategy: "steps"
|
45 |
+
dataloader_num_workers: 8
|
46 |
+
# bf16: true
|
47 |
+
save_steps: 500
|
48 |
+
logging_steps: 10
|
49 |
+
eval_steps: 100
|
50 |
+
warmup_steps: 100
|
51 |
+
learning_rate: 5e-5
|
52 |
+
save_total_limit: 1
|
53 |
+
resume_from_checkpoint: false
|
54 |
+
# optim: "paged_adamw_8bit"
|
55 |
+
peft_config:
|
56 |
+
(): peft.LoraConfig
|
57 |
+
r: 32
|
58 |
+
lora_alpha: 32
|
59 |
+
lora_dropout: 0.1
|
60 |
+
init_lora_weights: "gaussian"
|
61 |
+
bias: "none"
|
62 |
+
task_type: "FEATURE_EXTRACTION"
|
63 |
+
target_modules: '(.*(model).*(down_proj|gate_proj|up_proj|k_proj|q_proj|v_proj|o_proj).*$)'
|
64 |
+
# target_modules: '(.*(language_model).*(down_proj|gate_proj|up_proj|k_proj|q_proj|v_proj|o_proj).*$|.*(custom_text_proj).*$)'
|
65 |
+
|
vocab.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|