Upload folder using huggingface_hub
Browse files- .gitattributes +1 -0
- README.md +202 -0
- adapter_config.json +29 -0
- adapter_model.safetensors +3 -0
- added_tokens.json +24 -0
- chat_template.json +3 -0
- git_hash.txt +1 -0
- merges.txt +0 -0
- preprocessor_config.json +29 -0
- results.json +1 -0
- special_tokens_map.json +31 -0
- tokenizer.json +3 -0
- tokenizer_config.json +209 -0
- training_config.yml +72 -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: Qwen/Qwen2.5-VL-7B-Instruct
|
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
|
adapter_config.json
ADDED
@@ -0,0 +1,29 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"alpha_pattern": {},
|
3 |
+
"auto_mapping": null,
|
4 |
+
"base_model_name_or_path": "Qwen/Qwen2.5-VL-7B-Instruct",
|
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": 128,
|
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": 128,
|
23 |
+
"rank_pattern": {},
|
24 |
+
"revision": null,
|
25 |
+
"target_modules": "(.*(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:69f94f6690540ae11b01de87ccca616c728969a75c8f080952bc7e4a31f367e2
|
3 |
+
size 1293799944
|
added_tokens.json
ADDED
@@ -0,0 +1,24 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"</tool_call>": 151658,
|
3 |
+
"<tool_call>": 151657,
|
4 |
+
"<|box_end|>": 151649,
|
5 |
+
"<|box_start|>": 151648,
|
6 |
+
"<|endoftext|>": 151643,
|
7 |
+
"<|file_sep|>": 151664,
|
8 |
+
"<|fim_middle|>": 151660,
|
9 |
+
"<|fim_pad|>": 151662,
|
10 |
+
"<|fim_prefix|>": 151659,
|
11 |
+
"<|fim_suffix|>": 151661,
|
12 |
+
"<|im_end|>": 151645,
|
13 |
+
"<|im_start|>": 151644,
|
14 |
+
"<|image_pad|>": 151655,
|
15 |
+
"<|object_ref_end|>": 151647,
|
16 |
+
"<|object_ref_start|>": 151646,
|
17 |
+
"<|quad_end|>": 151651,
|
18 |
+
"<|quad_start|>": 151650,
|
19 |
+
"<|repo_name|>": 151663,
|
20 |
+
"<|video_pad|>": 151656,
|
21 |
+
"<|vision_end|>": 151653,
|
22 |
+
"<|vision_pad|>": 151654,
|
23 |
+
"<|vision_start|>": 151652
|
24 |
+
}
|
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 |
+
59e94a92790b67bd60507608c3115a2e48f83a07
|
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": "Qwen2_5_VLImageProcessor",
|
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": "ColQwen2_5Processor",
|
22 |
+
"resample": 3,
|
23 |
+
"rescale_factor": 0.00392156862745098,
|
24 |
+
"size": {
|
25 |
+
"longest_edge": 12845056,
|
26 |
+
"shortest_edge": 3136
|
27 |
+
},
|
28 |
+
"temporal_patch_size": 2
|
29 |
+
}
|
results.json
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
{"arxivqa_test_subsampled": {"ndcg_at_1": 0.872, "ndcg_at_3": 0.90624, "ndcg_at_5": 0.91605, "ndcg_at_10": 0.91983, "ndcg_at_20": 0.92472, "ndcg_at_100": 0.92704, "ndcg_at_1000": 0.9273, "map_at_1": 0.872, "map_at_3": 0.898, "map_at_5": 0.9034, "map_at_10": 0.90491, "map_at_20": 0.90617, "map_at_100": 0.90652, "map_at_1000": 0.90653, "recall_at_1": 0.872, "recall_at_3": 0.93, "recall_at_5": 0.954, "recall_at_10": 0.966, "recall_at_20": 0.986, "recall_at_100": 0.998, "recall_at_1000": 1.0, "precision_at_1": 0.872, "precision_at_3": 0.31, "precision_at_5": 0.1908, "precision_at_10": 0.0966, "precision_at_20": 0.0493, "precision_at_100": 0.00998, "precision_at_1000": 0.001, "mrr_at_1": 0.872, "mrr_at_3": 0.8983333333333332, "mrr_at_5": 0.9027333333333332, "mrr_at_10": 0.9050246031746031, "mrr_at_20": 0.9061947356135435, "mrr_at_100": 0.9066581246088399, "mrr_at_1000": 0.906667833346704, "naucs_at_1_max": 0.78117866154031, "naucs_at_1_std": -0.2690586327045542, "naucs_at_1_diff1": 0.941427369938724, "naucs_at_3_max": 0.8743497398959608, "naucs_at_3_std": -0.20349473122582729, "naucs_at_3_diff1": 0.9191009737228247, "naucs_at_5_max": 0.9239840863881768, "naucs_at_5_std": -0.0771120042219855, "naucs_at_5_diff1": 0.9287541103397898, "naucs_at_10_max": 0.9288735101883935, "naucs_at_10_std": 0.0749437029713847, "naucs_at_10_diff1": 0.9189872027242296, "naucs_at_20_max": 0.9229691876750666, "naucs_at_20_std": -0.051420568227293066, "naucs_at_20_diff1": 0.8802854475123367, "naucs_at_100_max": 1.0, "naucs_at_100_std": 1.0, "naucs_at_100_diff1": 1.0, "naucs_at_1000_max": 1.0, "naucs_at_1000_std": 1.0, "naucs_at_1000_diff1": 1.0}, "docvqa_test_subsampled": {"ndcg_at_1": 0.55876, "ndcg_at_3": 0.62937, "ndcg_at_5": 0.65332, "ndcg_at_10": 0.67583, "ndcg_at_20": 0.69045, "ndcg_at_100": 0.70636, "ndcg_at_1000": 0.71315, "map_at_1": 0.55876, "map_at_3": 0.61234, "map_at_5": 0.62576, "map_at_10": 0.63523, "map_at_20": 0.63925, "map_at_100": 0.64139, "map_at_1000": 0.64168, "recall_at_1": 0.55876, "recall_at_3": 0.67849, "recall_at_5": 0.73614, "recall_at_10": 0.80488, "recall_at_20": 0.86253, "recall_at_100": 0.949, "recall_at_1000": 1.0, "precision_at_1": 0.55876, "precision_at_3": 0.22616, "precision_at_5": 0.14723, "precision_at_10": 0.08049, "precision_at_20": 0.04313, "precision_at_100": 0.00949, "precision_at_1000": 0.001, "mrr_at_1": 0.5521064301552107, "mrr_at_3": 0.6104951958610497, "mrr_at_5": 0.6230229120473023, "mrr_at_10": 0.6323980220321683, "mrr_at_20": 0.636301287429156, "mrr_at_100": 0.6385718084996487, "mrr_at_1000": 0.6388595018654679, "naucs_at_1_max": 0.47898015796346216, "naucs_at_1_std": -0.31401905806891717, "naucs_at_1_diff1": 0.8490375522154754, "naucs_at_3_max": 0.4361723535093254, "naucs_at_3_std": -0.40210007216450594, "naucs_at_3_diff1": 0.7812770594092832, "naucs_at_5_max": 0.43864302105213626, "naucs_at_5_std": -0.36794334667406037, "naucs_at_5_diff1": 0.7527735797331181, "naucs_at_10_max": 0.38646639530703636, "naucs_at_10_std": -0.2805750831877236, "naucs_at_10_diff1": 0.7334243393537739, "naucs_at_20_max": 0.3838054648809118, "naucs_at_20_std": -0.1310605806976941, "naucs_at_20_diff1": 0.7259684756503129, "naucs_at_100_max": 0.502904125951142, "naucs_at_100_std": 0.3923565469987927, "naucs_at_100_diff1": 0.6479405708342569, "naucs_at_1000_max": 1.0, "naucs_at_1000_std": 1.0, "naucs_at_1000_diff1": 1.0}, "infovqa_test_subsampled": {"ndcg_at_1": 0.90486, "ndcg_at_3": 0.93488, "ndcg_at_5": 0.93802, "ndcg_at_10": 0.94127, "ndcg_at_20": 0.94329, "ndcg_at_100": 0.94405, "ndcg_at_1000": 0.94565, "map_at_1": 0.90486, "map_at_3": 0.92713, "map_at_5": 0.92874, "map_at_10": 0.93007, "map_at_20": 0.93061, "map_at_100": 0.93071, "map_at_1000": 0.93078, "recall_at_1": 0.90486, "recall_at_3": 0.95749, "recall_at_5": 0.96559, "recall_at_10": 0.97571, "recall_at_20": 0.98381, "recall_at_100": 0.98785, "recall_at_1000": 1.0, "precision_at_1": 0.90486, "precision_at_3": 0.31916, "precision_at_5": 0.19312, "precision_at_10": 0.09757, "precision_at_20": 0.04919, "precision_at_100": 0.00988, "precision_at_1000": 0.001, "mrr_at_1": 0.9068825910931174, "mrr_at_3": 0.9281376518218624, "mrr_at_5": 0.9294534412955465, "mrr_at_10": 0.9309475612107192, "mrr_at_20": 0.9316585461322304, "mrr_at_100": 0.9317688817880067, "mrr_at_1000": 0.9318324180507253, "naucs_at_1_max": 0.6334629679799084, "naucs_at_1_std": -0.24301437009609028, "naucs_at_1_diff1": 0.9482237165679124, "naucs_at_3_max": 0.6233629697463214, "naucs_at_3_std": -0.19939440668055744, "naucs_at_3_diff1": 0.9416662583110353, "naucs_at_5_max": 0.6990158901841317, "naucs_at_5_std": -0.18602616298839614, "naucs_at_5_diff1": 0.9279406720312746, "naucs_at_10_max": 0.7958520970778115, "naucs_at_10_std": 0.2662975621020652, "naucs_at_10_diff1": 0.9319439680295455, "naucs_at_20_max": 0.8189249320515473, "naucs_at_20_std": 0.42232371311537836, "naucs_at_20_diff1": 0.9489579760221489, "naucs_at_100_max": 0.7585665760687373, "naucs_at_100_std": 0.32581599582508164, "naucs_at_100_diff1": 0.9537108770403242, "naucs_at_1000_max": 1.0, "naucs_at_1000_std": 1.0, "naucs_at_1000_diff1": 1.0}, "tabfquad_test_subsampled": {"ndcg_at_1": 0.93214, "ndcg_at_3": 0.96144, "ndcg_at_5": 0.96743, "ndcg_at_10": 0.96856, "ndcg_at_20": 0.9695, "ndcg_at_100": 0.9695, "ndcg_at_1000": 0.9695, "map_at_1": 0.93214, "map_at_3": 0.95536, "map_at_5": 0.95875, "map_at_10": 0.9592, "map_at_20": 0.95947, "map_at_100": 0.95947, "map_at_1000": 0.95947, "recall_at_1": 0.93214, "recall_at_3": 0.97857, "recall_at_5": 0.99286, "recall_at_10": 0.99643, "recall_at_20": 1.0, "recall_at_100": 1.0, "recall_at_1000": 1.0, "precision_at_1": 0.93214, "precision_at_3": 0.32619, "precision_at_5": 0.19857, "precision_at_10": 0.09964, "precision_at_20": 0.05, "precision_at_100": 0.01, "precision_at_1000": 0.001, "mrr_at_1": 0.9357142857142857, "mrr_at_3": 0.956547619047619, "mrr_at_5": 0.9592261904761904, "mrr_at_10": 0.9602465986394557, "mrr_at_20": 0.960521323914181, "mrr_at_100": 0.960521323914181, "mrr_at_1000": 0.960521323914181, "naucs_at_1_max": 0.4931937687355659, "naucs_at_1_std": 0.3008255933952535, "naucs_at_1_diff1": 0.9034350582338209, "naucs_at_3_max": 0.7394179894179925, "naucs_at_3_std": 0.6195922813569864, "naucs_at_3_diff1": 0.9564270152505565, "naucs_at_5_max": 1.0, "naucs_at_5_std": 0.9346405228758269, "naucs_at_5_diff1": 0.9346405228758269, "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_100_max": 1.0, "naucs_at_100_std": 1.0, "naucs_at_100_diff1": 1.0, "naucs_at_1000_max": NaN, "naucs_at_1000_std": NaN, "naucs_at_1000_diff1": NaN}, "tatdqa_test": {"ndcg_at_1": 0.69259, "ndcg_at_3": 0.78713, "ndcg_at_5": 0.81014, "ndcg_at_10": 0.82209, "ndcg_at_20": 0.82758, "ndcg_at_100": 0.83311, "ndcg_at_1000": 0.83385, "map_at_1": 0.69259, "map_at_3": 0.76468, "map_at_5": 0.77744, "map_at_10": 0.78247, "map_at_20": 0.78404, "map_at_100": 0.78484, "map_at_1000": 0.78488, "recall_at_1": 0.69259, "recall_at_3": 0.85176, "recall_at_5": 0.90765, "recall_at_10": 0.94411, "recall_at_20": 0.96537, "recall_at_100": 0.99453, "recall_at_1000": 1.0, "precision_at_1": 0.69259, "precision_at_3": 0.28392, "precision_at_5": 0.18153, "precision_at_10": 0.09441, "precision_at_20": 0.04827, "precision_at_100": 0.00995, "precision_at_1000": 0.001, "mrr_at_1": 0.6931956257594167, "mrr_at_3": 0.764985824220332, "mrr_at_5": 0.777257999189956, "mrr_at_10": 0.78269253023202, "mrr_at_20": 0.7842680275688904, "mrr_at_100": 0.7850725589609645, "mrr_at_1000": 0.7851141705086578, "naucs_at_1_max": 0.20398371414783106, "naucs_at_1_std": -0.24034782425231832, "naucs_at_1_diff1": 0.8063676387904894, "naucs_at_3_max": 0.2396636623614596, "naucs_at_3_std": -0.2340385941277604, "naucs_at_3_diff1": 0.7193674186229371, "naucs_at_5_max": 0.25725555975625924, "naucs_at_5_std": -0.12367180254322775, "naucs_at_5_diff1": 0.6723018243887673, "naucs_at_10_max": 0.3394170156946574, "naucs_at_10_std": 0.031367481157820884, "naucs_at_10_diff1": 0.6416885995392956, "naucs_at_20_max": 0.47858979115790484, "naucs_at_20_std": 0.23759528593663565, "naucs_at_20_diff1": 0.6638387312367023, "naucs_at_100_max": 0.4269541256283218, "naucs_at_100_std": 0.5057660562646209, "naucs_at_100_diff1": 0.6411286045870721, "naucs_at_1000_max": NaN, "naucs_at_1000_std": NaN, "naucs_at_1000_diff1": NaN}, "shiftproject_test": {"ndcg_at_1": 0.75, "ndcg_at_3": 0.87595, "ndcg_at_5": 0.88026, "ndcg_at_10": 0.88341, "ndcg_at_20": 0.8862, "ndcg_at_100": 0.88791, "ndcg_at_1000": 0.88791, "map_at_1": 0.75, "map_at_3": 0.84667, "map_at_5": 0.84917, "map_at_10": 0.85042, "map_at_20": 0.85133, "map_at_100": 0.8515, "map_at_1000": 0.8515, "recall_at_1": 0.75, "recall_at_3": 0.96, "recall_at_5": 0.97, "recall_at_10": 0.98, "recall_at_20": 0.99, "recall_at_100": 1.0, "recall_at_1000": 1.0, "precision_at_1": 0.75, "precision_at_3": 0.32, "precision_at_5": 0.194, "precision_at_10": 0.098, "precision_at_20": 0.0495, "precision_at_100": 0.01, "precision_at_1000": 0.001, "mrr_at_1": 0.78, "mrr_at_3": 0.865, "mrr_at_5": 0.8675, "mrr_at_10": 0.8675, "mrr_at_20": 0.8684090909090909, "mrr_at_100": 0.8685876623376625, "mrr_at_1000": 0.8685876623376625, "naucs_at_1_max": 0.03667189952904228, "naucs_at_1_std": -0.4420303506017796, "naucs_at_1_diff1": 0.8742019884877025, "naucs_at_3_max": 0.5875350140056042, "naucs_at_3_std": -0.01447245564892935, "naucs_at_3_diff1": 0.7280578898225921, "naucs_at_5_max": 0.4936196700902597, "naucs_at_5_std": -0.06022408963585601, "naucs_at_5_diff1": 0.8513849984438217, "naucs_at_10_max": 0.24042950513538955, "naucs_at_10_std": -0.004668534080301362, "naucs_at_10_diff1": 0.7770774976657324, "naucs_at_20_max": 0.35807656395891135, "naucs_at_20_std": 0.5541549953314738, "naucs_at_20_diff1": 0.5541549953314738, "naucs_at_100_max": NaN, "naucs_at_100_std": NaN, "naucs_at_100_diff1": NaN, "naucs_at_1000_max": NaN, "naucs_at_1000_std": NaN, "naucs_at_1000_diff1": NaN}, "syntheticDocQA_artificial_intelligence_test": {"ndcg_at_1": 0.98, "ndcg_at_3": 0.99262, "ndcg_at_5": 0.99262, "ndcg_at_10": 0.99262, "ndcg_at_20": 0.99262, "ndcg_at_100": 0.99262, "ndcg_at_1000": 0.99262, "map_at_1": 0.98, "map_at_3": 0.99, "map_at_5": 0.99, "map_at_10": 0.99, "map_at_20": 0.99, "map_at_100": 0.99, "map_at_1000": 0.99, "recall_at_1": 0.98, "recall_at_3": 1.0, "recall_at_5": 1.0, "recall_at_10": 1.0, "recall_at_20": 1.0, "recall_at_100": 1.0, "recall_at_1000": 1.0, "precision_at_1": 0.98, "precision_at_3": 0.33333, "precision_at_5": 0.2, "precision_at_10": 0.1, "precision_at_20": 0.05, "precision_at_100": 0.01, "precision_at_1000": 0.001, "mrr_at_1": 0.98, "mrr_at_3": 0.99, "mrr_at_5": 0.99, "mrr_at_10": 0.99, "mrr_at_20": 0.99, "mrr_at_100": 0.99, "mrr_at_1000": 0.99, "naucs_at_1_max": 0.71171802054155, "naucs_at_1_std": -0.367413632119516, "naucs_at_1_diff1": 1.0, "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_100_max": NaN, "naucs_at_100_std": NaN, "naucs_at_100_diff1": NaN, "naucs_at_1000_max": NaN, "naucs_at_1000_std": NaN, "naucs_at_1000_diff1": NaN}, "syntheticDocQA_energy_test": {"ndcg_at_1": 0.93, "ndcg_at_3": 0.95393, "ndcg_at_5": 0.95393, "ndcg_at_10": 0.95682, "ndcg_at_20": 0.95682, "ndcg_at_100": 0.96104, "ndcg_at_1000": 0.96104, "map_at_1": 0.93, "map_at_3": 0.94833, "map_at_5": 0.94833, "map_at_10": 0.94933, "map_at_20": 0.94933, "map_at_100": 0.95012, "map_at_1000": 0.95012, "recall_at_1": 0.93, "recall_at_3": 0.97, "recall_at_5": 0.97, "recall_at_10": 0.98, "recall_at_20": 0.98, "recall_at_100": 1.0, "recall_at_1000": 1.0, "precision_at_1": 0.93, "precision_at_3": 0.32333, "precision_at_5": 0.194, "precision_at_10": 0.098, "precision_at_20": 0.049, "precision_at_100": 0.01, "precision_at_1000": 0.001, "mrr_at_1": 0.93, "mrr_at_3": 0.9483333333333333, "mrr_at_5": 0.9483333333333333, "mrr_at_10": 0.9494444444444444, "mrr_at_20": 0.9499444444444444, "mrr_at_100": 0.9502569444444444, "mrr_at_1000": 0.9502569444444444, "naucs_at_1_max": 0.44384420434840643, "naucs_at_1_std": -0.29718554088302146, "naucs_at_1_diff1": 0.9813258636788056, "naucs_at_3_max": 0.807812013694371, "naucs_at_3_std": -0.922969187675073, "naucs_at_3_diff1": 1.0, "naucs_at_5_max": 0.807812013694364, "naucs_at_5_std": -0.9229691876750711, "naucs_at_5_diff1": 1.0, "naucs_at_10_max": 0.7117180205415541, "naucs_at_10_std": -1.445845004668519, "naucs_at_10_diff1": 1.0, "naucs_at_20_max": 0.7117180205415541, "naucs_at_20_std": -1.445845004668519, "naucs_at_20_diff1": 1.0, "naucs_at_100_max": NaN, "naucs_at_100_std": NaN, "naucs_at_100_diff1": NaN, "naucs_at_1000_max": NaN, "naucs_at_1000_std": NaN, "naucs_at_1000_diff1": NaN}, "syntheticDocQA_government_reports_test": {"ndcg_at_1": 0.9, "ndcg_at_3": 0.94786, "ndcg_at_5": 0.95172, "ndcg_at_10": 0.95506, "ndcg_at_20": 0.95506, "ndcg_at_100": 0.95506, "ndcg_at_1000": 0.95506, "map_at_1": 0.9, "map_at_3": 0.93667, "map_at_5": 0.93867, "map_at_10": 0.9401, "map_at_20": 0.9401, "map_at_100": 0.9401, "map_at_1000": 0.9401, "recall_at_1": 0.9, "recall_at_3": 0.98, "recall_at_5": 0.99, "recall_at_10": 1.0, "recall_at_20": 1.0, "recall_at_100": 1.0, "recall_at_1000": 1.0, "precision_at_1": 0.9, "precision_at_3": 0.32667, "precision_at_5": 0.198, "precision_at_10": 0.1, "precision_at_20": 0.05, "precision_at_100": 0.01, "precision_at_1000": 0.001, "mrr_at_1": 0.91, "mrr_at_3": 0.9416666666666668, "mrr_at_5": 0.9436666666666667, "mrr_at_10": 0.945095238095238, "mrr_at_20": 0.945095238095238, "mrr_at_100": 0.945095238095238, "mrr_at_1000": 0.945095238095238, "naucs_at_1_max": 0.6363678804855271, "naucs_at_1_std": 0.4060690943043871, "naucs_at_1_diff1": 0.8622782446311862, "naucs_at_3_max": 0.6790382819794457, "naucs_at_3_std": 0.4561157796451816, "naucs_at_3_diff1": 0.8692810457516296, "naucs_at_5_max": 1.0, "naucs_at_5_std": 0.5541549953314738, "naucs_at_5_diff1": 0.8692810457516413, "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_100_max": NaN, "naucs_at_100_std": NaN, "naucs_at_100_diff1": NaN, "naucs_at_1000_max": NaN, "naucs_at_1000_std": NaN, "naucs_at_1000_diff1": NaN}, "syntheticDocQA_healthcare_industry_test": {"ndcg_at_1": 0.93, "ndcg_at_3": 0.96655, "ndcg_at_5": 0.97085, "ndcg_at_10": 0.97085, "ndcg_at_20": 0.97085, "ndcg_at_100": 0.97085, "ndcg_at_1000": 0.97085, "map_at_1": 0.93, "map_at_3": 0.95833, "map_at_5": 0.96083, "map_at_10": 0.96083, "map_at_20": 0.96083, "map_at_100": 0.96083, "map_at_1000": 0.96083, "recall_at_1": 0.93, "recall_at_3": 0.99, "recall_at_5": 1.0, "recall_at_10": 1.0, "recall_at_20": 1.0, "recall_at_100": 1.0, "recall_at_1000": 1.0, "precision_at_1": 0.93, "precision_at_3": 0.33, "precision_at_5": 0.2, "precision_at_10": 0.1, "precision_at_20": 0.05, "precision_at_100": 0.01, "precision_at_1000": 0.001, "mrr_at_1": 0.94, "mrr_at_3": 0.9666666666666667, "mrr_at_5": 0.9666666666666667, "mrr_at_10": 0.9666666666666667, "mrr_at_20": 0.9666666666666667, "mrr_at_100": 0.9666666666666667, "mrr_at_1000": 0.9666666666666667, "naucs_at_1_max": 0.673536081099108, "naucs_at_1_std": -0.18914232359610428, "naucs_at_1_diff1": 0.9626517273576113, "naucs_at_3_max": 1.0, "naucs_at_3_std": -1.7399626517274398, "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_100_max": NaN, "naucs_at_100_std": NaN, "naucs_at_100_diff1": NaN, "naucs_at_1000_max": NaN, "naucs_at_1000_std": NaN, "naucs_at_1000_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:9c5ae00e602b8860cbd784ba82a8aa14e8feecec692e7076590d014d7b7fdafa
|
3 |
+
size 11421896
|
tokenizer_config.json
ADDED
@@ -0,0 +1,209 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"add_bos_token": false,
|
3 |
+
"add_prefix_space": false,
|
4 |
+
"added_tokens_decoder": {
|
5 |
+
"151643": {
|
6 |
+
"content": "<|endoftext|>",
|
7 |
+
"lstrip": false,
|
8 |
+
"normalized": false,
|
9 |
+
"rstrip": false,
|
10 |
+
"single_word": false,
|
11 |
+
"special": true
|
12 |
+
},
|
13 |
+
"151644": {
|
14 |
+
"content": "<|im_start|>",
|
15 |
+
"lstrip": false,
|
16 |
+
"normalized": false,
|
17 |
+
"rstrip": false,
|
18 |
+
"single_word": false,
|
19 |
+
"special": true
|
20 |
+
},
|
21 |
+
"151645": {
|
22 |
+
"content": "<|im_end|>",
|
23 |
+
"lstrip": false,
|
24 |
+
"normalized": false,
|
25 |
+
"rstrip": false,
|
26 |
+
"single_word": false,
|
27 |
+
"special": true
|
28 |
+
},
|
29 |
+
"151646": {
|
30 |
+
"content": "<|object_ref_start|>",
|
31 |
+
"lstrip": false,
|
32 |
+
"normalized": false,
|
33 |
+
"rstrip": false,
|
34 |
+
"single_word": false,
|
35 |
+
"special": true
|
36 |
+
},
|
37 |
+
"151647": {
|
38 |
+
"content": "<|object_ref_end|>",
|
39 |
+
"lstrip": false,
|
40 |
+
"normalized": false,
|
41 |
+
"rstrip": false,
|
42 |
+
"single_word": false,
|
43 |
+
"special": true
|
44 |
+
},
|
45 |
+
"151648": {
|
46 |
+
"content": "<|box_start|>",
|
47 |
+
"lstrip": false,
|
48 |
+
"normalized": false,
|
49 |
+
"rstrip": false,
|
50 |
+
"single_word": false,
|
51 |
+
"special": true
|
52 |
+
},
|
53 |
+
"151649": {
|
54 |
+
"content": "<|box_end|>",
|
55 |
+
"lstrip": false,
|
56 |
+
"normalized": false,
|
57 |
+
"rstrip": false,
|
58 |
+
"single_word": false,
|
59 |
+
"special": true
|
60 |
+
},
|
61 |
+
"151650": {
|
62 |
+
"content": "<|quad_start|>",
|
63 |
+
"lstrip": false,
|
64 |
+
"normalized": false,
|
65 |
+
"rstrip": false,
|
66 |
+
"single_word": false,
|
67 |
+
"special": true
|
68 |
+
},
|
69 |
+
"151651": {
|
70 |
+
"content": "<|quad_end|>",
|
71 |
+
"lstrip": false,
|
72 |
+
"normalized": false,
|
73 |
+
"rstrip": false,
|
74 |
+
"single_word": false,
|
75 |
+
"special": true
|
76 |
+
},
|
77 |
+
"151652": {
|
78 |
+
"content": "<|vision_start|>",
|
79 |
+
"lstrip": false,
|
80 |
+
"normalized": false,
|
81 |
+
"rstrip": false,
|
82 |
+
"single_word": false,
|
83 |
+
"special": true
|
84 |
+
},
|
85 |
+
"151653": {
|
86 |
+
"content": "<|vision_end|>",
|
87 |
+
"lstrip": false,
|
88 |
+
"normalized": false,
|
89 |
+
"rstrip": false,
|
90 |
+
"single_word": false,
|
91 |
+
"special": true
|
92 |
+
},
|
93 |
+
"151654": {
|
94 |
+
"content": "<|vision_pad|>",
|
95 |
+
"lstrip": false,
|
96 |
+
"normalized": false,
|
97 |
+
"rstrip": false,
|
98 |
+
"single_word": false,
|
99 |
+
"special": true
|
100 |
+
},
|
101 |
+
"151655": {
|
102 |
+
"content": "<|image_pad|>",
|
103 |
+
"lstrip": false,
|
104 |
+
"normalized": false,
|
105 |
+
"rstrip": false,
|
106 |
+
"single_word": false,
|
107 |
+
"special": true
|
108 |
+
},
|
109 |
+
"151656": {
|
110 |
+
"content": "<|video_pad|>",
|
111 |
+
"lstrip": false,
|
112 |
+
"normalized": false,
|
113 |
+
"rstrip": false,
|
114 |
+
"single_word": false,
|
115 |
+
"special": true
|
116 |
+
},
|
117 |
+
"151657": {
|
118 |
+
"content": "<tool_call>",
|
119 |
+
"lstrip": false,
|
120 |
+
"normalized": false,
|
121 |
+
"rstrip": false,
|
122 |
+
"single_word": false,
|
123 |
+
"special": false
|
124 |
+
},
|
125 |
+
"151658": {
|
126 |
+
"content": "</tool_call>",
|
127 |
+
"lstrip": false,
|
128 |
+
"normalized": false,
|
129 |
+
"rstrip": false,
|
130 |
+
"single_word": false,
|
131 |
+
"special": false
|
132 |
+
},
|
133 |
+
"151659": {
|
134 |
+
"content": "<|fim_prefix|>",
|
135 |
+
"lstrip": false,
|
136 |
+
"normalized": false,
|
137 |
+
"rstrip": false,
|
138 |
+
"single_word": false,
|
139 |
+
"special": false
|
140 |
+
},
|
141 |
+
"151660": {
|
142 |
+
"content": "<|fim_middle|>",
|
143 |
+
"lstrip": false,
|
144 |
+
"normalized": false,
|
145 |
+
"rstrip": false,
|
146 |
+
"single_word": false,
|
147 |
+
"special": false
|
148 |
+
},
|
149 |
+
"151661": {
|
150 |
+
"content": "<|fim_suffix|>",
|
151 |
+
"lstrip": false,
|
152 |
+
"normalized": false,
|
153 |
+
"rstrip": false,
|
154 |
+
"single_word": false,
|
155 |
+
"special": false
|
156 |
+
},
|
157 |
+
"151662": {
|
158 |
+
"content": "<|fim_pad|>",
|
159 |
+
"lstrip": false,
|
160 |
+
"normalized": false,
|
161 |
+
"rstrip": false,
|
162 |
+
"single_word": false,
|
163 |
+
"special": false
|
164 |
+
},
|
165 |
+
"151663": {
|
166 |
+
"content": "<|repo_name|>",
|
167 |
+
"lstrip": false,
|
168 |
+
"normalized": false,
|
169 |
+
"rstrip": false,
|
170 |
+
"single_word": false,
|
171 |
+
"special": false
|
172 |
+
},
|
173 |
+
"151664": {
|
174 |
+
"content": "<|file_sep|>",
|
175 |
+
"lstrip": false,
|
176 |
+
"normalized": false,
|
177 |
+
"rstrip": false,
|
178 |
+
"single_word": false,
|
179 |
+
"special": false
|
180 |
+
}
|
181 |
+
},
|
182 |
+
"additional_special_tokens": [
|
183 |
+
"<|im_start|>",
|
184 |
+
"<|im_end|>",
|
185 |
+
"<|object_ref_start|>",
|
186 |
+
"<|object_ref_end|>",
|
187 |
+
"<|box_start|>",
|
188 |
+
"<|box_end|>",
|
189 |
+
"<|quad_start|>",
|
190 |
+
"<|quad_end|>",
|
191 |
+
"<|vision_start|>",
|
192 |
+
"<|vision_end|>",
|
193 |
+
"<|vision_pad|>",
|
194 |
+
"<|image_pad|>",
|
195 |
+
"<|video_pad|>"
|
196 |
+
],
|
197 |
+
"bos_token": null,
|
198 |
+
"chat_template": "{%- if tools %}\n {{- '<|im_start|>system\\n' }}\n {%- if messages[0]['role'] == 'system' %}\n {{- messages[0]['content'] }}\n {%- else %}\n {{- 'You are a helpful assistant.' }}\n {%- endif %}\n {{- \"\\n\\n# Tools\\n\\nYou may call one or more functions to assist with the user query.\\n\\nYou are provided with function signatures within <tools></tools> XML tags:\\n<tools>\" }}\n {%- for tool in tools %}\n {{- \"\\n\" }}\n {{- tool | tojson }}\n {%- endfor %}\n {{- \"\\n</tools>\\n\\nFor each function call, return a json object with function name and arguments within <tool_call></tool_call> XML tags:\\n<tool_call>\\n{\\\"name\\\": <function-name>, \\\"arguments\\\": <args-json-object>}\\n</tool_call><|im_end|>\\n\" }}\n{%- else %}\n {%- if messages[0]['role'] == 'system' %}\n {{- '<|im_start|>system\\n' + messages[0]['content'] + '<|im_end|>\\n' }}\n {%- else %}\n {{- '<|im_start|>system\\nYou are a helpful assistant.<|im_end|>\\n' }}\n {%- endif %}\n{%- endif %}\n{%- for message in messages %}\n {%- if (message.role == \"user\") or (message.role == \"system\" and not loop.first) or (message.role == \"assistant\" and not message.tool_calls) %}\n {{- '<|im_start|>' + message.role + '\\n' + message.content + '<|im_end|>' + '\\n' }}\n {%- elif message.role == \"assistant\" %}\n {{- '<|im_start|>' + message.role }}\n {%- if message.content %}\n {{- '\\n' + message.content }}\n {%- endif %}\n {%- for tool_call in message.tool_calls %}\n {%- if tool_call.function is defined %}\n {%- set tool_call = tool_call.function %}\n {%- endif %}\n {{- '\\n<tool_call>\\n{\"name\": \"' }}\n {{- tool_call.name }}\n {{- '\", \"arguments\": ' }}\n {{- tool_call.arguments | tojson }}\n {{- '}\\n</tool_call>' }}\n {%- endfor %}\n {{- '<|im_end|>\\n' }}\n {%- elif message.role == \"tool\" %}\n {%- if (loop.index0 == 0) or (messages[loop.index0 - 1].role != \"tool\") %}\n {{- '<|im_start|>user' }}\n {%- endif %}\n {{- '\\n<tool_response>\\n' }}\n {{- message.content }}\n {{- '\\n</tool_response>' }}\n {%- if loop.last or (messages[loop.index0 + 1].role != \"tool\") %}\n {{- '<|im_end|>\\n' }}\n {%- endif %}\n {%- endif %}\n{%- endfor %}\n{%- if add_generation_prompt %}\n {{- '<|im_start|>assistant\\n' }}\n{%- endif %}\n",
|
199 |
+
"clean_up_tokenization_spaces": false,
|
200 |
+
"eos_token": "<|im_end|>",
|
201 |
+
"errors": "replace",
|
202 |
+
"extra_special_tokens": {},
|
203 |
+
"model_max_length": 131072,
|
204 |
+
"pad_token": "<|endoftext|>",
|
205 |
+
"processor_class": "ColQwen2_5Processor",
|
206 |
+
"split_special_tokens": false,
|
207 |
+
"tokenizer_class": "Qwen2Tokenizer",
|
208 |
+
"unk_token": null
|
209 |
+
}
|
training_config.yml
ADDED
@@ -0,0 +1,72 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
config:
|
2 |
+
(): colpali_engine.trainer.colmodel_training.ColModelTrainingConfig
|
3 |
+
output_dir: !path ../../../models/colqwen2_5-7b-mixed-multiL-tabf-5ep-l-128
|
4 |
+
processor:
|
5 |
+
(): colpali_engine.utils.transformers_wrappers.AllPurposeWrapper
|
6 |
+
class_to_instanciate: !ext colpali_engine.models.ColQwen2_5Processor
|
7 |
+
pretrained_model_name_or_path: "Qwen/Qwen2.5-VL-7B-Instruct" # "./models/paligemma-3b-mix-448"
|
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.ColQwen2_5
|
14 |
+
pretrained_model_name_or_path: "Qwen/Qwen2.5-VL-7B-Instruct"
|
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_mixed_multiL_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: 1
|
38 |
+
per_device_train_batch_size: 64
|
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: 2
|
44 |
+
per_device_eval_batch_size: 32
|
45 |
+
eval_strategy: "steps"
|
46 |
+
dataloader_num_workers: 8
|
47 |
+
# bf16: true
|
48 |
+
save_steps: 100
|
49 |
+
logging_steps: 1
|
50 |
+
eval_steps: 380
|
51 |
+
warmup_steps: 40
|
52 |
+
learning_rate: 2e-4
|
53 |
+
save_total_limit: 16
|
54 |
+
resume_from_checkpoint: false
|
55 |
+
# optim: "paged_adamw_8bit"
|
56 |
+
# wandb logging
|
57 |
+
# wandb_project: "dolma"
|
58 |
+
run_name: "colqwen2_5-7b-mixed-multiL-tabf-5ep-l-128"
|
59 |
+
report_to: wandb
|
60 |
+
|
61 |
+
|
62 |
+
peft_config:
|
63 |
+
(): peft.LoraConfig
|
64 |
+
r: 128
|
65 |
+
lora_alpha: 128
|
66 |
+
lora_dropout: 0.1
|
67 |
+
init_lora_weights: "gaussian"
|
68 |
+
bias: "none"
|
69 |
+
task_type: "FEATURE_EXTRACTION"
|
70 |
+
target_modules: '(.*(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
|
|