jpraysz commited on
Commit
01ef6a2
·
verified ·
1 Parent(s): 71ed2bb

Upload 20 files

Browse files
.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,58 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: peft
3
+ license: other
4
+ base_model: Qwen/Qwen2.5-VL-7B-Instruct
5
+ tags:
6
+ - llama-factory
7
+ - lora
8
+ - generated_from_trainer
9
+ model-index:
10
+ - name: BS_riche_lora
11
+ results: []
12
+ ---
13
+
14
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
15
+ should probably proofread and complete it, then remove this comment. -->
16
+
17
+ # BS_riche_lora
18
+
19
+ This model is a fine-tuned version of [Qwen/Qwen2.5-VL-7B-Instruct](https://huggingface.co/Qwen/Qwen2.5-VL-7B-Instruct) on the BsKIE3 dataset.
20
+
21
+ ## Model description
22
+
23
+ More information needed
24
+
25
+ ## Intended uses & limitations
26
+
27
+ More information needed
28
+
29
+ ## Training and evaluation data
30
+
31
+ More information needed
32
+
33
+ ## Training procedure
34
+
35
+ ### Training hyperparameters
36
+
37
+ The following hyperparameters were used during training:
38
+ - learning_rate: 5e-05
39
+ - train_batch_size: 2
40
+ - eval_batch_size: 8
41
+ - seed: 42
42
+ - gradient_accumulation_steps: 8
43
+ - total_train_batch_size: 16
44
+ - optimizer: Use adamw_torch with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
45
+ - lr_scheduler_type: cosine
46
+ - num_epochs: 3.0
47
+
48
+ ### Training results
49
+
50
+
51
+
52
+ ### Framework versions
53
+
54
+ - PEFT 0.12.0
55
+ - Transformers 4.49.0
56
+ - Pytorch 2.4.0+cu121
57
+ - Datasets 2.21.0
58
+ - Tokenizers 0.21.0
adapter_config.json ADDED
@@ -0,0 +1,223 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "alpha_pattern": {},
3
+ "auto_mapping": null,
4
+ "base_model_name_or_path": "Qwen/Qwen2.5-VL-7B-Instruct",
5
+ "bias": "none",
6
+ "fan_in_fan_out": false,
7
+ "inference_mode": true,
8
+ "init_lora_weights": true,
9
+ "layer_replication": null,
10
+ "layers_pattern": null,
11
+ "layers_to_transform": null,
12
+ "loftq_config": {},
13
+ "lora_alpha": 16,
14
+ "lora_dropout": 0,
15
+ "megatron_config": null,
16
+ "megatron_core": "megatron.core",
17
+ "modules_to_save": null,
18
+ "peft_type": "LORA",
19
+ "r": 8,
20
+ "rank_pattern": {},
21
+ "revision": null,
22
+ "target_modules": [
23
+ "model.layers.17.self_attn.k_proj",
24
+ "model.layers.16.mlp.gate_proj",
25
+ "model.layers.18.self_attn.k_proj",
26
+ "model.layers.24.mlp.up_proj",
27
+ "model.layers.20.mlp.gate_proj",
28
+ "model.layers.5.mlp.gate_proj",
29
+ "model.layers.20.self_attn.k_proj",
30
+ "model.layers.15.mlp.gate_proj",
31
+ "model.layers.21.self_attn.o_proj",
32
+ "model.layers.17.mlp.up_proj",
33
+ "model.layers.12.self_attn.q_proj",
34
+ "model.layers.4.mlp.up_proj",
35
+ "model.layers.12.mlp.gate_proj",
36
+ "model.layers.6.mlp.down_proj",
37
+ "model.layers.7.mlp.up_proj",
38
+ "model.layers.6.self_attn.k_proj",
39
+ "model.layers.19.self_attn.q_proj",
40
+ "model.layers.20.mlp.down_proj",
41
+ "model.layers.5.self_attn.q_proj",
42
+ "model.layers.25.mlp.down_proj",
43
+ "model.layers.10.mlp.gate_proj",
44
+ "model.layers.9.mlp.up_proj",
45
+ "model.layers.13.self_attn.q_proj",
46
+ "model.layers.21.mlp.gate_proj",
47
+ "model.layers.0.mlp.down_proj",
48
+ "model.layers.10.self_attn.v_proj",
49
+ "model.layers.18.self_attn.v_proj",
50
+ "model.layers.11.self_attn.v_proj",
51
+ "model.layers.0.self_attn.q_proj",
52
+ "model.layers.1.mlp.gate_proj",
53
+ "model.layers.17.self_attn.o_proj",
54
+ "model.layers.9.self_attn.o_proj",
55
+ "model.layers.22.mlp.gate_proj",
56
+ "model.layers.10.self_attn.q_proj",
57
+ "model.layers.26.mlp.down_proj",
58
+ "model.layers.1.self_attn.o_proj",
59
+ "model.layers.19.mlp.up_proj",
60
+ "model.layers.7.self_attn.v_proj",
61
+ "model.layers.22.mlp.up_proj",
62
+ "model.layers.17.self_attn.q_proj",
63
+ "model.layers.3.mlp.gate_proj",
64
+ "model.layers.1.self_attn.v_proj",
65
+ "model.layers.13.self_attn.v_proj",
66
+ "model.layers.0.mlp.up_proj",
67
+ "model.layers.3.self_attn.v_proj",
68
+ "model.layers.5.mlp.down_proj",
69
+ "model.layers.4.self_attn.k_proj",
70
+ "model.layers.4.self_attn.o_proj",
71
+ "model.layers.10.self_attn.k_proj",
72
+ "model.layers.14.self_attn.v_proj",
73
+ "model.layers.16.self_attn.q_proj",
74
+ "model.layers.4.mlp.down_proj",
75
+ "model.layers.6.mlp.gate_proj",
76
+ "model.layers.9.mlp.down_proj",
77
+ "model.layers.18.mlp.down_proj",
78
+ "model.layers.26.self_attn.o_proj",
79
+ "model.layers.1.self_attn.k_proj",
80
+ "model.layers.14.mlp.down_proj",
81
+ "model.layers.1.self_attn.q_proj",
82
+ "model.layers.8.self_attn.o_proj",
83
+ "model.layers.23.self_attn.o_proj",
84
+ "model.layers.11.self_attn.o_proj",
85
+ "model.layers.21.self_attn.v_proj",
86
+ "model.layers.7.self_attn.q_proj",
87
+ "model.layers.11.self_attn.k_proj",
88
+ "model.layers.12.self_attn.o_proj",
89
+ "model.layers.20.self_attn.o_proj",
90
+ "model.layers.7.self_attn.k_proj",
91
+ "model.layers.7.self_attn.o_proj",
92
+ "model.layers.16.self_attn.o_proj",
93
+ "model.layers.8.self_attn.v_proj",
94
+ "model.layers.17.mlp.gate_proj",
95
+ "model.layers.3.self_attn.o_proj",
96
+ "model.layers.11.mlp.up_proj",
97
+ "model.layers.23.mlp.down_proj",
98
+ "model.layers.27.self_attn.k_proj",
99
+ "model.layers.27.mlp.up_proj",
100
+ "model.layers.8.mlp.down_proj",
101
+ "model.layers.7.mlp.gate_proj",
102
+ "model.layers.5.self_attn.k_proj",
103
+ "model.layers.20.self_attn.v_proj",
104
+ "model.layers.25.self_attn.k_proj",
105
+ "model.layers.10.self_attn.o_proj",
106
+ "model.layers.22.self_attn.o_proj",
107
+ "model.layers.24.mlp.gate_proj",
108
+ "model.layers.7.mlp.down_proj",
109
+ "model.layers.14.self_attn.k_proj",
110
+ "model.layers.16.self_attn.k_proj",
111
+ "model.layers.24.self_attn.o_proj",
112
+ "model.layers.6.self_attn.q_proj",
113
+ "model.layers.4.self_attn.v_proj",
114
+ "model.layers.14.self_attn.o_proj",
115
+ "model.layers.0.self_attn.o_proj",
116
+ "model.layers.27.self_attn.v_proj",
117
+ "model.layers.18.self_attn.o_proj",
118
+ "model.layers.27.self_attn.q_proj",
119
+ "model.layers.8.mlp.up_proj",
120
+ "model.layers.25.mlp.gate_proj",
121
+ "model.layers.6.self_attn.v_proj",
122
+ "model.layers.9.mlp.gate_proj",
123
+ "model.layers.15.self_attn.q_proj",
124
+ "model.layers.8.mlp.gate_proj",
125
+ "model.layers.13.mlp.up_proj",
126
+ "model.layers.4.mlp.gate_proj",
127
+ "model.layers.19.mlp.down_proj",
128
+ "model.layers.19.self_attn.k_proj",
129
+ "model.layers.23.mlp.gate_proj",
130
+ "model.layers.22.self_attn.q_proj",
131
+ "model.layers.13.self_attn.k_proj",
132
+ "model.layers.15.self_attn.o_proj",
133
+ "model.layers.26.self_attn.v_proj",
134
+ "model.layers.1.mlp.down_proj",
135
+ "model.layers.14.mlp.gate_proj",
136
+ "model.layers.12.mlp.up_proj",
137
+ "model.layers.26.self_attn.q_proj",
138
+ "model.layers.14.self_attn.q_proj",
139
+ "model.layers.3.mlp.down_proj",
140
+ "model.layers.24.self_attn.k_proj",
141
+ "model.layers.3.self_attn.k_proj",
142
+ "model.layers.20.mlp.up_proj",
143
+ "model.layers.21.mlp.down_proj",
144
+ "model.layers.10.mlp.down_proj",
145
+ "model.layers.27.mlp.down_proj",
146
+ "model.layers.26.mlp.gate_proj",
147
+ "model.layers.16.mlp.up_proj",
148
+ "model.layers.0.self_attn.k_proj",
149
+ "model.layers.21.mlp.up_proj",
150
+ "model.layers.6.self_attn.o_proj",
151
+ "model.layers.27.mlp.gate_proj",
152
+ "model.layers.22.mlp.down_proj",
153
+ "model.layers.3.self_attn.q_proj",
154
+ "model.layers.15.mlp.up_proj",
155
+ "model.layers.8.self_attn.q_proj",
156
+ "model.layers.17.self_attn.v_proj",
157
+ "model.layers.20.self_attn.q_proj",
158
+ "model.layers.12.self_attn.v_proj",
159
+ "model.layers.16.mlp.down_proj",
160
+ "model.layers.2.self_attn.o_proj",
161
+ "model.layers.19.self_attn.v_proj",
162
+ "model.layers.22.self_attn.k_proj",
163
+ "model.layers.10.mlp.up_proj",
164
+ "model.layers.2.mlp.gate_proj",
165
+ "model.layers.2.self_attn.k_proj",
166
+ "model.layers.9.self_attn.q_proj",
167
+ "model.layers.25.self_attn.q_proj",
168
+ "model.layers.18.mlp.up_proj",
169
+ "model.layers.25.mlp.up_proj",
170
+ "model.layers.1.mlp.up_proj",
171
+ "model.layers.5.mlp.up_proj",
172
+ "model.layers.2.self_attn.v_proj",
173
+ "model.layers.13.mlp.gate_proj",
174
+ "model.layers.18.mlp.gate_proj",
175
+ "model.layers.11.mlp.gate_proj",
176
+ "model.layers.19.self_attn.o_proj",
177
+ "model.layers.11.mlp.down_proj",
178
+ "model.layers.18.self_attn.q_proj",
179
+ "model.layers.17.mlp.down_proj",
180
+ "model.layers.2.mlp.down_proj",
181
+ "model.layers.13.mlp.down_proj",
182
+ "model.layers.16.self_attn.v_proj",
183
+ "model.layers.15.self_attn.k_proj",
184
+ "model.layers.15.self_attn.v_proj",
185
+ "model.layers.3.mlp.up_proj",
186
+ "model.layers.15.mlp.down_proj",
187
+ "model.layers.12.mlp.down_proj",
188
+ "model.layers.13.self_attn.o_proj",
189
+ "model.layers.23.mlp.up_proj",
190
+ "model.layers.22.self_attn.v_proj",
191
+ "model.layers.21.self_attn.k_proj",
192
+ "model.layers.26.mlp.up_proj",
193
+ "model.layers.26.self_attn.k_proj",
194
+ "model.layers.2.mlp.up_proj",
195
+ "model.layers.23.self_attn.q_proj",
196
+ "model.layers.19.mlp.gate_proj",
197
+ "model.layers.24.self_attn.v_proj",
198
+ "model.layers.4.self_attn.q_proj",
199
+ "model.layers.9.self_attn.v_proj",
200
+ "model.layers.14.mlp.up_proj",
201
+ "model.layers.25.self_attn.v_proj",
202
+ "model.layers.12.self_attn.k_proj",
203
+ "model.layers.24.mlp.down_proj",
204
+ "model.layers.27.self_attn.o_proj",
205
+ "model.layers.24.self_attn.q_proj",
206
+ "model.layers.5.self_attn.o_proj",
207
+ "model.layers.6.mlp.up_proj",
208
+ "model.layers.0.mlp.gate_proj",
209
+ "model.layers.5.self_attn.v_proj",
210
+ "model.layers.23.self_attn.v_proj",
211
+ "model.layers.9.self_attn.k_proj",
212
+ "model.layers.25.self_attn.o_proj",
213
+ "model.layers.2.self_attn.q_proj",
214
+ "model.layers.8.self_attn.k_proj",
215
+ "model.layers.21.self_attn.q_proj",
216
+ "model.layers.23.self_attn.k_proj",
217
+ "model.layers.11.self_attn.q_proj",
218
+ "model.layers.0.self_attn.v_proj"
219
+ ],
220
+ "task_type": "CAUSAL_LM",
221
+ "use_dora": false,
222
+ "use_rslora": false
223
+ }
adapter_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c3a73b0aff9828aeea7d13edf6709ee37a47343efdd235fa78d90afcc31696cf
3
+ size 80792096
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
+ }
all_results.json ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 2.9904761904761905,
3
+ "num_input_tokens_seen": 8039616,
4
+ "total_flos": 3.746792787278561e+17,
5
+ "train_loss": 0.06834620604148278,
6
+ "train_runtime": 3970.1665,
7
+ "train_samples_per_second": 0.793,
8
+ "train_steps_per_second": 0.049
9
+ }
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
+ }
llamaboard_config.yaml ADDED
@@ -0,0 +1,78 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ top.booster: auto
2
+ top.checkpoint_path: []
3
+ top.finetuning_type: lora
4
+ top.model_name: Qwen2.5-VL-7B-Instruct
5
+ top.quantization_bit: none
6
+ top.quantization_method: bitsandbytes
7
+ top.rope_scaling: none
8
+ top.template: qwen2_vl
9
+ train.additional_target: ''
10
+ train.apollo_rank: 16
11
+ train.apollo_scale: 32
12
+ train.apollo_target: all
13
+ train.apollo_update_interval: 200
14
+ train.badam_mode: layer
15
+ train.badam_switch_interval: 50
16
+ train.badam_switch_mode: ascending
17
+ train.badam_update_ratio: 0.05
18
+ train.batch_size: 2
19
+ train.compute_type: bf16
20
+ train.create_new_adapter: false
21
+ train.cutoff_len: 34114
22
+ train.dataset:
23
+ - BsKIE3
24
+ train.dataset_dir: data
25
+ train.ds_offload: false
26
+ train.ds_stage: none
27
+ train.extra_args: '{"optim": "adamw_torch"}'
28
+ train.freeze_extra_modules: ''
29
+ train.freeze_trainable_layers: 2
30
+ train.freeze_trainable_modules: all
31
+ train.galore_rank: 16
32
+ train.galore_scale: 2
33
+ train.galore_target: all
34
+ train.galore_update_interval: 200
35
+ train.gradient_accumulation_steps: 8
36
+ train.learning_rate: 5e-5
37
+ train.logging_steps: 5
38
+ train.lora_alpha: 16
39
+ train.lora_dropout: 0
40
+ train.lora_rank: 8
41
+ train.lora_target: ''
42
+ train.loraplus_lr_ratio: 0
43
+ train.lr_scheduler_type: cosine
44
+ train.mask_history: false
45
+ train.max_grad_norm: '1.0'
46
+ train.max_samples: '100000'
47
+ train.neat_packing: false
48
+ train.neftune_alpha: 0
49
+ train.num_train_epochs: '3.0'
50
+ train.packing: false
51
+ train.ppo_score_norm: false
52
+ train.ppo_whiten_rewards: false
53
+ train.pref_beta: 0.1
54
+ train.pref_ftx: 0
55
+ train.pref_loss: sigmoid
56
+ train.report_to:
57
+ - none
58
+ train.resize_vocab: false
59
+ train.reward_model: null
60
+ train.save_steps: 100
61
+ train.swanlab_api_key: ''
62
+ train.swanlab_link: ''
63
+ train.swanlab_mode: cloud
64
+ train.swanlab_project: llamafactory
65
+ train.swanlab_run_name: ''
66
+ train.swanlab_workspace: ''
67
+ train.train_on_prompt: false
68
+ train.training_stage: Supervised Fine-Tuning
69
+ train.use_apollo: false
70
+ train.use_badam: false
71
+ train.use_dora: false
72
+ train.use_galore: false
73
+ train.use_llama_pro: false
74
+ train.use_pissa: false
75
+ train.use_rslora: false
76
+ train.use_swanlab: false
77
+ train.val_size: 0
78
+ train.warmup_steps: 0
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": "Qwen2_5_VLProcessor",
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
+ }
running_log.txt ADDED
@@ -0,0 +1,601 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [INFO|2025-03-21 07:37:06] configuration_utils.py:699 >> loading configuration file config.json from cache at /root/.cache/huggingface/hub/models--Qwen--Qwen2.5-VL-7B-Instruct/snapshots/68156fd997cdc9f710620466735af49862bb81f6/config.json
2
+
3
+ [INFO|2025-03-21 07:37:06] configuration_utils.py:771 >> Model config Qwen2_5_VLConfig {
4
+ "_name_or_path": "Qwen/Qwen2.5-VL-7B-Instruct",
5
+ "architectures": [
6
+ "Qwen2_5_VLForConditionalGeneration"
7
+ ],
8
+ "attention_dropout": 0.0,
9
+ "bos_token_id": 151643,
10
+ "eos_token_id": 151645,
11
+ "hidden_act": "silu",
12
+ "hidden_size": 3584,
13
+ "image_token_id": 151655,
14
+ "initializer_range": 0.02,
15
+ "intermediate_size": 18944,
16
+ "max_position_embeddings": 128000,
17
+ "max_window_layers": 28,
18
+ "model_type": "qwen2_5_vl",
19
+ "num_attention_heads": 28,
20
+ "num_hidden_layers": 28,
21
+ "num_key_value_heads": 4,
22
+ "rms_norm_eps": 1e-06,
23
+ "rope_scaling": {
24
+ "mrope_section": [
25
+ 16,
26
+ 24,
27
+ 24
28
+ ],
29
+ "rope_type": "default",
30
+ "type": "default"
31
+ },
32
+ "rope_theta": 1000000.0,
33
+ "sliding_window": 32768,
34
+ "tie_word_embeddings": false,
35
+ "torch_dtype": "bfloat16",
36
+ "transformers_version": "4.49.0",
37
+ "use_cache": true,
38
+ "use_sliding_window": false,
39
+ "video_token_id": 151656,
40
+ "vision_config": {
41
+ "hidden_size": 1280,
42
+ "in_chans": 3,
43
+ "model_type": "qwen2_5_vl",
44
+ "spatial_patch_size": 14,
45
+ "tokens_per_second": 2
46
+ },
47
+ "vision_end_token_id": 151653,
48
+ "vision_start_token_id": 151652,
49
+ "vision_token_id": 151654,
50
+ "vocab_size": 152064
51
+ }
52
+
53
+
54
+ [INFO|2025-03-21 07:37:06] tokenization_utils_base.py:2050 >> loading file vocab.json from cache at /root/.cache/huggingface/hub/models--Qwen--Qwen2.5-VL-7B-Instruct/snapshots/68156fd997cdc9f710620466735af49862bb81f6/vocab.json
55
+
56
+ [INFO|2025-03-21 07:37:06] tokenization_utils_base.py:2050 >> loading file merges.txt from cache at /root/.cache/huggingface/hub/models--Qwen--Qwen2.5-VL-7B-Instruct/snapshots/68156fd997cdc9f710620466735af49862bb81f6/merges.txt
57
+
58
+ [INFO|2025-03-21 07:37:06] tokenization_utils_base.py:2050 >> loading file tokenizer.json from cache at /root/.cache/huggingface/hub/models--Qwen--Qwen2.5-VL-7B-Instruct/snapshots/68156fd997cdc9f710620466735af49862bb81f6/tokenizer.json
59
+
60
+ [INFO|2025-03-21 07:37:06] tokenization_utils_base.py:2050 >> loading file added_tokens.json from cache at None
61
+
62
+ [INFO|2025-03-21 07:37:06] tokenization_utils_base.py:2050 >> loading file special_tokens_map.json from cache at None
63
+
64
+ [INFO|2025-03-21 07:37:06] tokenization_utils_base.py:2050 >> loading file tokenizer_config.json from cache at /root/.cache/huggingface/hub/models--Qwen--Qwen2.5-VL-7B-Instruct/snapshots/68156fd997cdc9f710620466735af49862bb81f6/tokenizer_config.json
65
+
66
+ [INFO|2025-03-21 07:37:06] tokenization_utils_base.py:2050 >> loading file chat_template.jinja from cache at None
67
+
68
+ [INFO|2025-03-21 07:37:06] tokenization_utils_base.py:2313 >> Special tokens have been added in the vocabulary, make sure the associated word embeddings are fine-tuned or trained.
69
+
70
+ [INFO|2025-03-21 07:37:07] image_processing_base.py:381 >> loading configuration file preprocessor_config.json from cache at /root/.cache/huggingface/hub/models--Qwen--Qwen2.5-VL-7B-Instruct/snapshots/68156fd997cdc9f710620466735af49862bb81f6/preprocessor_config.json
71
+
72
+ [INFO|2025-03-21 07:37:07] image_processing_base.py:381 >> loading configuration file preprocessor_config.json from cache at /root/.cache/huggingface/hub/models--Qwen--Qwen2.5-VL-7B-Instruct/snapshots/68156fd997cdc9f710620466735af49862bb81f6/preprocessor_config.json
73
+
74
+ [WARNING|2025-03-21 07:37:07] logging.py:329 >> Using a slow image processor as `use_fast` is unset and a slow processor was saved with this model. `use_fast=True` will be the default behavior in v4.48, even if the model was saved with a slow processor. This will result in minor differences in outputs. You'll still be able to use a slow processor with `use_fast=False`.
75
+
76
+ [INFO|2025-03-21 07:37:07] image_processing_base.py:434 >> Image processor Qwen2VLImageProcessor {
77
+ "do_convert_rgb": true,
78
+ "do_normalize": true,
79
+ "do_rescale": true,
80
+ "do_resize": true,
81
+ "image_mean": [
82
+ 0.48145466,
83
+ 0.4578275,
84
+ 0.40821073
85
+ ],
86
+ "image_processor_type": "Qwen2VLImageProcessor",
87
+ "image_std": [
88
+ 0.26862954,
89
+ 0.26130258,
90
+ 0.27577711
91
+ ],
92
+ "max_pixels": 12845056,
93
+ "merge_size": 2,
94
+ "min_pixels": 3136,
95
+ "patch_size": 14,
96
+ "processor_class": "Qwen2_5_VLProcessor",
97
+ "resample": 3,
98
+ "rescale_factor": 0.00392156862745098,
99
+ "size": {
100
+ "longest_edge": 12845056,
101
+ "shortest_edge": 3136
102
+ },
103
+ "temporal_patch_size": 2
104
+ }
105
+
106
+
107
+ [INFO|2025-03-21 07:37:07] tokenization_utils_base.py:2050 >> loading file vocab.json from cache at /root/.cache/huggingface/hub/models--Qwen--Qwen2.5-VL-7B-Instruct/snapshots/68156fd997cdc9f710620466735af49862bb81f6/vocab.json
108
+
109
+ [INFO|2025-03-21 07:37:07] tokenization_utils_base.py:2050 >> loading file merges.txt from cache at /root/.cache/huggingface/hub/models--Qwen--Qwen2.5-VL-7B-Instruct/snapshots/68156fd997cdc9f710620466735af49862bb81f6/merges.txt
110
+
111
+ [INFO|2025-03-21 07:37:07] tokenization_utils_base.py:2050 >> loading file tokenizer.json from cache at /root/.cache/huggingface/hub/models--Qwen--Qwen2.5-VL-7B-Instruct/snapshots/68156fd997cdc9f710620466735af49862bb81f6/tokenizer.json
112
+
113
+ [INFO|2025-03-21 07:37:07] tokenization_utils_base.py:2050 >> loading file added_tokens.json from cache at None
114
+
115
+ [INFO|2025-03-21 07:37:07] tokenization_utils_base.py:2050 >> loading file special_tokens_map.json from cache at None
116
+
117
+ [INFO|2025-03-21 07:37:07] tokenization_utils_base.py:2050 >> loading file tokenizer_config.json from cache at /root/.cache/huggingface/hub/models--Qwen--Qwen2.5-VL-7B-Instruct/snapshots/68156fd997cdc9f710620466735af49862bb81f6/tokenizer_config.json
118
+
119
+ [INFO|2025-03-21 07:37:07] tokenization_utils_base.py:2050 >> loading file chat_template.jinja from cache at None
120
+
121
+ [INFO|2025-03-21 07:37:07] tokenization_utils_base.py:2313 >> Special tokens have been added in the vocabulary, make sure the associated word embeddings are fine-tuned or trained.
122
+
123
+ [INFO|2025-03-21 07:37:08] processing_utils.py:876 >> Processor Qwen2_5_VLProcessor:
124
+ - image_processor: Qwen2VLImageProcessor {
125
+ "do_convert_rgb": true,
126
+ "do_normalize": true,
127
+ "do_rescale": true,
128
+ "do_resize": true,
129
+ "image_mean": [
130
+ 0.48145466,
131
+ 0.4578275,
132
+ 0.40821073
133
+ ],
134
+ "image_processor_type": "Qwen2VLImageProcessor",
135
+ "image_std": [
136
+ 0.26862954,
137
+ 0.26130258,
138
+ 0.27577711
139
+ ],
140
+ "max_pixels": 12845056,
141
+ "merge_size": 2,
142
+ "min_pixels": 3136,
143
+ "patch_size": 14,
144
+ "processor_class": "Qwen2_5_VLProcessor",
145
+ "resample": 3,
146
+ "rescale_factor": 0.00392156862745098,
147
+ "size": {
148
+ "longest_edge": 12845056,
149
+ "shortest_edge": 3136
150
+ },
151
+ "temporal_patch_size": 2
152
+ }
153
+
154
+ - tokenizer: Qwen2TokenizerFast(name_or_path='Qwen/Qwen2.5-VL-7B-Instruct', vocab_size=151643, model_max_length=131072, is_fast=True, padding_side='right', truncation_side='right', special_tokens={'eos_token': '<|im_end|>', 'pad_token': '<|endoftext|>', 'additional_special_tokens': ['<|im_start|>', '<|im_end|>', '<|object_ref_start|>', '<|object_ref_end|>', '<|box_start|>', '<|box_end|>', '<|quad_start|>', '<|quad_end|>', '<|vision_start|>', '<|vision_end|>', '<|vision_pad|>', '<|image_pad|>', '<|video_pad|>']}, clean_up_tokenization_spaces=False, added_tokens_decoder={
155
+ 151643: AddedToken("<|endoftext|>", rstrip=False, lstrip=False, single_word=False, normalized=False, special=True),
156
+ 151644: AddedToken("<|im_start|>", rstrip=False, lstrip=False, single_word=False, normalized=False, special=True),
157
+ 151645: AddedToken("<|im_end|>", rstrip=False, lstrip=False, single_word=False, normalized=False, special=True),
158
+ 151646: AddedToken("<|object_ref_start|>", rstrip=False, lstrip=False, single_word=False, normalized=False, special=True),
159
+ 151647: AddedToken("<|object_ref_end|>", rstrip=False, lstrip=False, single_word=False, normalized=False, special=True),
160
+ 151648: AddedToken("<|box_start|>", rstrip=False, lstrip=False, single_word=False, normalized=False, special=True),
161
+ 151649: AddedToken("<|box_end|>", rstrip=False, lstrip=False, single_word=False, normalized=False, special=True),
162
+ 151650: AddedToken("<|quad_start|>", rstrip=False, lstrip=False, single_word=False, normalized=False, special=True),
163
+ 151651: AddedToken("<|quad_end|>", rstrip=False, lstrip=False, single_word=False, normalized=False, special=True),
164
+ 151652: AddedToken("<|vision_start|>", rstrip=False, lstrip=False, single_word=False, normalized=False, special=True),
165
+ 151653: AddedToken("<|vision_end|>", rstrip=False, lstrip=False, single_word=False, normalized=False, special=True),
166
+ 151654: AddedToken("<|vision_pad|>", rstrip=False, lstrip=False, single_word=False, normalized=False, special=True),
167
+ 151655: AddedToken("<|image_pad|>", rstrip=False, lstrip=False, single_word=False, normalized=False, special=True),
168
+ 151656: AddedToken("<|video_pad|>", rstrip=False, lstrip=False, single_word=False, normalized=False, special=True),
169
+ 151657: AddedToken("<tool_call>", rstrip=False, lstrip=False, single_word=False, normalized=False, special=False),
170
+ 151658: AddedToken("</tool_call>", rstrip=False, lstrip=False, single_word=False, normalized=False, special=False),
171
+ 151659: AddedToken("<|fim_prefix|>", rstrip=False, lstrip=False, single_word=False, normalized=False, special=False),
172
+ 151660: AddedToken("<|fim_middle|>", rstrip=False, lstrip=False, single_word=False, normalized=False, special=False),
173
+ 151661: AddedToken("<|fim_suffix|>", rstrip=False, lstrip=False, single_word=False, normalized=False, special=False),
174
+ 151662: AddedToken("<|fim_pad|>", rstrip=False, lstrip=False, single_word=False, normalized=False, special=False),
175
+ 151663: AddedToken("<|repo_name|>", rstrip=False, lstrip=False, single_word=False, normalized=False, special=False),
176
+ 151664: AddedToken("<|file_sep|>", rstrip=False, lstrip=False, single_word=False, normalized=False, special=False),
177
+ }
178
+ )
179
+
180
+ {
181
+ "processor_class": "Qwen2_5_VLProcessor"
182
+ }
183
+
184
+
185
+ [INFO|2025-03-21 07:37:08] logging.py:157 >> Add <|im_end|> to stop words.
186
+
187
+ [INFO|2025-03-21 07:37:08] logging.py:157 >> Loading dataset BsKIE3.json...
188
+
189
+ [INFO|2025-03-21 07:37:21] configuration_utils.py:699 >> loading configuration file config.json from cache at /root/.cache/huggingface/hub/models--Qwen--Qwen2.5-VL-7B-Instruct/snapshots/68156fd997cdc9f710620466735af49862bb81f6/config.json
190
+
191
+ [INFO|2025-03-21 07:37:21] configuration_utils.py:771 >> Model config Qwen2_5_VLConfig {
192
+ "_name_or_path": "Qwen/Qwen2.5-VL-7B-Instruct",
193
+ "architectures": [
194
+ "Qwen2_5_VLForConditionalGeneration"
195
+ ],
196
+ "attention_dropout": 0.0,
197
+ "bos_token_id": 151643,
198
+ "eos_token_id": 151645,
199
+ "hidden_act": "silu",
200
+ "hidden_size": 3584,
201
+ "image_token_id": 151655,
202
+ "initializer_range": 0.02,
203
+ "intermediate_size": 18944,
204
+ "max_position_embeddings": 128000,
205
+ "max_window_layers": 28,
206
+ "model_type": "qwen2_5_vl",
207
+ "num_attention_heads": 28,
208
+ "num_hidden_layers": 28,
209
+ "num_key_value_heads": 4,
210
+ "rms_norm_eps": 1e-06,
211
+ "rope_scaling": {
212
+ "mrope_section": [
213
+ 16,
214
+ 24,
215
+ 24
216
+ ],
217
+ "rope_type": "default",
218
+ "type": "default"
219
+ },
220
+ "rope_theta": 1000000.0,
221
+ "sliding_window": 32768,
222
+ "tie_word_embeddings": false,
223
+ "torch_dtype": "bfloat16",
224
+ "transformers_version": "4.49.0",
225
+ "use_cache": true,
226
+ "use_sliding_window": false,
227
+ "video_token_id": 151656,
228
+ "vision_config": {
229
+ "hidden_size": 1280,
230
+ "in_chans": 3,
231
+ "model_type": "qwen2_5_vl",
232
+ "spatial_patch_size": 14,
233
+ "tokens_per_second": 2
234
+ },
235
+ "vision_end_token_id": 151653,
236
+ "vision_start_token_id": 151652,
237
+ "vision_token_id": 151654,
238
+ "vocab_size": 152064
239
+ }
240
+
241
+
242
+ [INFO|2025-03-21 07:37:21] modeling_utils.py:3982 >> loading weights file model.safetensors from cache at /root/.cache/huggingface/hub/models--Qwen--Qwen2.5-VL-7B-Instruct/snapshots/68156fd997cdc9f710620466735af49862bb81f6/model.safetensors.index.json
243
+
244
+ [INFO|2025-03-21 07:37:21] modeling_utils.py:1633 >> Instantiating Qwen2_5_VLForConditionalGeneration model under default dtype torch.bfloat16.
245
+
246
+ [INFO|2025-03-21 07:37:21] configuration_utils.py:1140 >> Generate config GenerationConfig {
247
+ "bos_token_id": 151643,
248
+ "eos_token_id": 151645
249
+ }
250
+
251
+
252
+ [INFO|2025-03-21 07:37:21] modeling_utils.py:1633 >> Instantiating Qwen2_5_VisionTransformerPretrainedModel model under default dtype torch.bfloat16.
253
+
254
+ [INFO|2025-03-21 07:37:25] modeling_utils.py:4970 >> All model checkpoint weights were used when initializing Qwen2_5_VLForConditionalGeneration.
255
+
256
+
257
+ [INFO|2025-03-21 07:37:25] modeling_utils.py:4978 >> All the weights of Qwen2_5_VLForConditionalGeneration were initialized from the model checkpoint at Qwen/Qwen2.5-VL-7B-Instruct.
258
+ If your task is similar to the task the model of the checkpoint was trained on, you can already use Qwen2_5_VLForConditionalGeneration for predictions without further training.
259
+
260
+ [INFO|2025-03-21 07:37:25] configuration_utils.py:1095 >> loading configuration file generation_config.json from cache at /root/.cache/huggingface/hub/models--Qwen--Qwen2.5-VL-7B-Instruct/snapshots/68156fd997cdc9f710620466735af49862bb81f6/generation_config.json
261
+
262
+ [INFO|2025-03-21 07:37:25] configuration_utils.py:1140 >> Generate config GenerationConfig {
263
+ "bos_token_id": 151643,
264
+ "do_sample": true,
265
+ "eos_token_id": [
266
+ 151645,
267
+ 151643
268
+ ],
269
+ "pad_token_id": 151643,
270
+ "repetition_penalty": 1.05,
271
+ "temperature": 0.1,
272
+ "top_k": 1,
273
+ "top_p": 0.001
274
+ }
275
+
276
+
277
+ [INFO|2025-03-21 07:37:26] logging.py:157 >> Gradient checkpointing enabled.
278
+
279
+ [INFO|2025-03-21 07:37:26] logging.py:157 >> Using torch SDPA for faster training and inference.
280
+
281
+ [INFO|2025-03-21 07:37:26] logging.py:157 >> Upcasting trainable params to float32.
282
+
283
+ [INFO|2025-03-21 07:37:26] logging.py:157 >> Fine-tuning method: LoRA
284
+
285
+ [INFO|2025-03-21 07:37:26] logging.py:157 >> Found linear modules: gate_proj,up_proj,v_proj,down_proj,q_proj,k_proj,o_proj
286
+
287
+ [INFO|2025-03-21 07:37:26] logging.py:157 >> Set vision model not trainable: ['visual.patch_embed', 'visual.blocks'].
288
+
289
+ [INFO|2025-03-21 07:37:26] logging.py:157 >> Set multi model projector not trainable: visual.merger.
290
+
291
+ [INFO|2025-03-21 07:37:26] logging.py:157 >> trainable params: 20,185,088 || all params: 8,312,351,744 || trainable%: 0.2428
292
+
293
+ [INFO|2025-03-21 07:37:26] trainer.py:746 >> Using auto half precision backend
294
+
295
+ [WARNING|2025-03-21 07:37:26] trainer.py:781 >> No label_names provided for model class `PeftModelForCausalLM`. Since `PeftModel` hides base models input arguments, if label_names is not given, label_names can't be set automatically within `Trainer`. Note that empty label_names list will be used instead.
296
+
297
+ [INFO|2025-03-21 07:37:26] trainer.py:2405 >> ***** Running training *****
298
+
299
+ [INFO|2025-03-21 07:37:26] trainer.py:2406 >> Num examples = 1,050
300
+
301
+ [INFO|2025-03-21 07:37:26] trainer.py:2407 >> Num Epochs = 3
302
+
303
+ [INFO|2025-03-21 07:37:26] trainer.py:2408 >> Instantaneous batch size per device = 2
304
+
305
+ [INFO|2025-03-21 07:37:26] trainer.py:2411 >> Total train batch size (w. parallel, distributed & accumulation) = 16
306
+
307
+ [INFO|2025-03-21 07:37:26] trainer.py:2412 >> Gradient Accumulation steps = 8
308
+
309
+ [INFO|2025-03-21 07:37:26] trainer.py:2413 >> Total optimization steps = 195
310
+
311
+ [INFO|2025-03-21 07:37:26] trainer.py:2414 >> Number of trainable parameters = 20,185,088
312
+
313
+ [INFO|2025-03-21 07:39:08] logging.py:157 >> {'loss': 0.3154, 'learning_rate': 4.9919e-05, 'epoch': 0.08, 'throughput': 2074.94}
314
+
315
+ [INFO|2025-03-21 07:40:50] logging.py:157 >> {'loss': 0.2409, 'learning_rate': 4.9676e-05, 'epoch': 0.15, 'throughput': 2059.35}
316
+
317
+ [INFO|2025-03-21 07:42:36] logging.py:157 >> {'loss': 0.1711, 'learning_rate': 4.9274e-05, 'epoch': 0.23, 'throughput': 2038.91}
318
+
319
+ [INFO|2025-03-21 07:44:18] logging.py:157 >> {'loss': 0.1228, 'learning_rate': 4.8713e-05, 'epoch': 0.30, 'throughput': 2033.99}
320
+
321
+ [INFO|2025-03-21 07:45:59] logging.py:157 >> {'loss': 0.0945, 'learning_rate': 4.7999e-05, 'epoch': 0.38, 'throughput': 2030.92}
322
+
323
+ [INFO|2025-03-21 07:47:40] logging.py:157 >> {'loss': 0.0873, 'learning_rate': 4.7136e-05, 'epoch': 0.46, 'throughput': 2028.08}
324
+
325
+ [INFO|2025-03-21 07:49:18] logging.py:157 >> {'loss': 0.0635, 'learning_rate': 4.6130e-05, 'epoch': 0.53, 'throughput': 2030.96}
326
+
327
+ [INFO|2025-03-21 07:51:00] logging.py:157 >> {'loss': 0.0784, 'learning_rate': 4.4986e-05, 'epoch': 0.61, 'throughput': 2029.27}
328
+
329
+ [INFO|2025-03-21 07:52:36] logging.py:157 >> {'loss': 0.0634, 'learning_rate': 4.3713e-05, 'epoch': 0.69, 'throughput': 2032.57}
330
+
331
+ [INFO|2025-03-21 07:54:19] logging.py:157 >> {'loss': 0.0715, 'learning_rate': 4.2318e-05, 'epoch': 0.76, 'throughput': 2030.24}
332
+
333
+ [INFO|2025-03-21 07:56:02] logging.py:157 >> {'loss': 0.0588, 'learning_rate': 4.0811e-05, 'epoch': 0.84, 'throughput': 2030.66}
334
+
335
+ [INFO|2025-03-21 07:57:43] logging.py:157 >> {'loss': 0.0634, 'learning_rate': 3.9202e-05, 'epoch': 0.91, 'throughput': 2030.21}
336
+
337
+ [INFO|2025-03-21 07:59:24] logging.py:157 >> {'loss': 0.0582, 'learning_rate': 3.7500e-05, 'epoch': 0.99, 'throughput': 2030.85}
338
+
339
+ [INFO|2025-03-21 08:01:14] logging.py:157 >> {'loss': 0.0687, 'learning_rate': 3.5717e-05, 'epoch': 1.08, 'throughput': 2029.43}
340
+
341
+ [INFO|2025-03-21 08:02:45] logging.py:157 >> {'loss': 0.0539, 'learning_rate': 3.3865e-05, 'epoch': 1.15, 'throughput': 2033.85}
342
+
343
+ [INFO|2025-03-21 08:04:29] logging.py:157 >> {'loss': 0.0545, 'learning_rate': 3.1955e-05, 'epoch': 1.23, 'throughput': 2030.86}
344
+
345
+ [INFO|2025-03-21 08:06:14] logging.py:157 >> {'loss': 0.0446, 'learning_rate': 3.0001e-05, 'epoch': 1.30, 'throughput': 2030.02}
346
+
347
+ [INFO|2025-03-21 08:07:52] logging.py:157 >> {'loss': 0.0535, 'learning_rate': 2.8013e-05, 'epoch': 1.38, 'throughput': 2030.47}
348
+
349
+ [INFO|2025-03-21 08:09:35] logging.py:157 >> {'loss': 0.0488, 'learning_rate': 2.6007e-05, 'epoch': 1.46, 'throughput': 2028.22}
350
+
351
+ [INFO|2025-03-21 08:11:20] logging.py:157 >> {'loss': 0.0440, 'learning_rate': 2.3993e-05, 'epoch': 1.53, 'throughput': 2026.11}
352
+
353
+ [INFO|2025-03-21 08:11:20] trainer.py:3942 >> Saving model checkpoint to saves/Qwen2.5-VL-7B-Instruct/lora/BS_riche_lora/checkpoint-100
354
+
355
+ [INFO|2025-03-21 08:11:20] configuration_utils.py:699 >> loading configuration file config.json from cache at /root/.cache/huggingface/hub/models--Qwen--Qwen2.5-VL-7B-Instruct/snapshots/68156fd997cdc9f710620466735af49862bb81f6/config.json
356
+
357
+ [INFO|2025-03-21 08:11:20] configuration_utils.py:771 >> Model config Qwen2_5_VLConfig {
358
+ "architectures": [
359
+ "Qwen2_5_VLForConditionalGeneration"
360
+ ],
361
+ "attention_dropout": 0.0,
362
+ "bos_token_id": 151643,
363
+ "eos_token_id": 151645,
364
+ "hidden_act": "silu",
365
+ "hidden_size": 3584,
366
+ "image_token_id": 151655,
367
+ "initializer_range": 0.02,
368
+ "intermediate_size": 18944,
369
+ "max_position_embeddings": 128000,
370
+ "max_window_layers": 28,
371
+ "model_type": "qwen2_5_vl",
372
+ "num_attention_heads": 28,
373
+ "num_hidden_layers": 28,
374
+ "num_key_value_heads": 4,
375
+ "rms_norm_eps": 1e-06,
376
+ "rope_scaling": {
377
+ "mrope_section": [
378
+ 16,
379
+ 24,
380
+ 24
381
+ ],
382
+ "rope_type": "default",
383
+ "type": "default"
384
+ },
385
+ "rope_theta": 1000000.0,
386
+ "sliding_window": 32768,
387
+ "tie_word_embeddings": false,
388
+ "torch_dtype": "bfloat16",
389
+ "transformers_version": "4.49.0",
390
+ "use_cache": true,
391
+ "use_sliding_window": false,
392
+ "video_token_id": 151656,
393
+ "vision_config": {
394
+ "hidden_size": 1280,
395
+ "in_chans": 3,
396
+ "model_type": "qwen2_5_vl",
397
+ "spatial_patch_size": 14,
398
+ "tokens_per_second": 2
399
+ },
400
+ "vision_end_token_id": 151653,
401
+ "vision_start_token_id": 151652,
402
+ "vision_token_id": 151654,
403
+ "vocab_size": 152064
404
+ }
405
+
406
+
407
+ [INFO|2025-03-21 08:11:21] tokenization_utils_base.py:2500 >> tokenizer config file saved in saves/Qwen2.5-VL-7B-Instruct/lora/BS_riche_lora/checkpoint-100/tokenizer_config.json
408
+
409
+ [INFO|2025-03-21 08:11:21] tokenization_utils_base.py:2509 >> Special tokens file saved in saves/Qwen2.5-VL-7B-Instruct/lora/BS_riche_lora/checkpoint-100/special_tokens_map.json
410
+
411
+ [INFO|2025-03-21 08:11:21] image_processing_base.py:261 >> Image processor saved in saves/Qwen2.5-VL-7B-Instruct/lora/BS_riche_lora/checkpoint-100/preprocessor_config.json
412
+
413
+ [INFO|2025-03-21 08:11:21] tokenization_utils_base.py:2500 >> tokenizer config file saved in saves/Qwen2.5-VL-7B-Instruct/lora/BS_riche_lora/checkpoint-100/tokenizer_config.json
414
+
415
+ [INFO|2025-03-21 08:11:21] tokenization_utils_base.py:2509 >> Special tokens file saved in saves/Qwen2.5-VL-7B-Instruct/lora/BS_riche_lora/checkpoint-100/special_tokens_map.json
416
+
417
+ [INFO|2025-03-21 08:11:21] processing_utils.py:638 >> chat template saved in saves/Qwen2.5-VL-7B-Instruct/lora/BS_riche_lora/checkpoint-100/chat_template.json
418
+
419
+ [INFO|2025-03-21 08:13:03] logging.py:157 >> {'loss': 0.0479, 'learning_rate': 2.1987e-05, 'epoch': 1.61, 'throughput': 2024.85}
420
+
421
+ [INFO|2025-03-21 08:14:49] logging.py:157 >> {'loss': 0.0441, 'learning_rate': 1.9999e-05, 'epoch': 1.69, 'throughput': 2023.58}
422
+
423
+ [INFO|2025-03-21 08:16:31] logging.py:157 >> {'loss': 0.0428, 'learning_rate': 1.8045e-05, 'epoch': 1.76, 'throughput': 2023.28}
424
+
425
+ [INFO|2025-03-21 08:18:15] logging.py:157 >> {'loss': 0.0425, 'learning_rate': 1.6135e-05, 'epoch': 1.84, 'throughput': 2023.49}
426
+
427
+ [INFO|2025-03-21 08:19:51] logging.py:157 >> {'loss': 0.0437, 'learning_rate': 1.4283e-05, 'epoch': 1.91, 'throughput': 2025.72}
428
+
429
+ [INFO|2025-03-21 08:21:30] logging.py:157 >> {'loss': 0.0390, 'learning_rate': 1.2500e-05, 'epoch': 1.99, 'throughput': 2026.78}
430
+
431
+ [INFO|2025-03-21 08:23:19] logging.py:157 >> {'loss': 0.0465, 'learning_rate': 1.0798e-05, 'epoch': 2.08, 'throughput': 2026.32}
432
+
433
+ [INFO|2025-03-21 08:24:54] logging.py:157 >> {'loss': 0.0451, 'learning_rate': 9.1889e-06, 'epoch': 2.15, 'throughput': 2027.94}
434
+
435
+ [INFO|2025-03-21 08:26:41] logging.py:157 >> {'loss': 0.0385, 'learning_rate': 7.6819e-06, 'epoch': 2.23, 'throughput': 2026.17}
436
+
437
+ [INFO|2025-03-21 08:28:17] logging.py:157 >> {'loss': 0.0506, 'learning_rate': 6.2872e-06, 'epoch': 2.30, 'throughput': 2027.23}
438
+
439
+ [INFO|2025-03-21 08:29:57] logging.py:157 >> {'loss': 0.0471, 'learning_rate': 5.0139e-06, 'epoch': 2.38, 'throughput': 2027.90}
440
+
441
+ [INFO|2025-03-21 08:31:37] logging.py:157 >> {'loss': 0.0383, 'learning_rate': 3.8702e-06, 'epoch': 2.46, 'throughput': 2028.25}
442
+
443
+ [INFO|2025-03-21 08:33:19] logging.py:157 >> {'loss': 0.0360, 'learning_rate': 2.8636e-06, 'epoch': 2.53, 'throughput': 2028.63}
444
+
445
+ [INFO|2025-03-21 08:34:59] logging.py:157 >> {'loss': 0.0381, 'learning_rate': 2.0005e-06, 'epoch': 2.61, 'throughput': 2028.93}
446
+
447
+ [INFO|2025-03-21 08:36:39] logging.py:157 >> {'loss': 0.0415, 'learning_rate': 1.2866e-06, 'epoch': 2.69, 'throughput': 2028.93}
448
+
449
+ [INFO|2025-03-21 08:38:24] logging.py:157 >> {'loss': 0.0397, 'learning_rate': 7.2645e-07, 'epoch': 2.76, 'throughput': 2027.85}
450
+
451
+ [INFO|2025-03-21 08:40:15] logging.py:157 >> {'loss': 0.0421, 'learning_rate': 3.2374e-07, 'epoch': 2.84, 'throughput': 2025.27}
452
+
453
+ [INFO|2025-03-21 08:41:56] logging.py:157 >> {'loss': 0.0378, 'learning_rate': 8.1067e-08, 'epoch': 2.91, 'throughput': 2025.73}
454
+
455
+ [INFO|2025-03-21 08:43:34] logging.py:157 >> {'loss': 0.0470, 'learning_rate': 0.0000e+00, 'epoch': 2.99, 'throughput': 2026.33}
456
+
457
+ [INFO|2025-03-21 08:43:34] trainer.py:3942 >> Saving model checkpoint to saves/Qwen2.5-VL-7B-Instruct/lora/BS_riche_lora/checkpoint-195
458
+
459
+ [INFO|2025-03-21 08:43:35] configuration_utils.py:699 >> loading configuration file config.json from cache at /root/.cache/huggingface/hub/models--Qwen--Qwen2.5-VL-7B-Instruct/snapshots/68156fd997cdc9f710620466735af49862bb81f6/config.json
460
+
461
+ [INFO|2025-03-21 08:43:35] configuration_utils.py:771 >> Model config Qwen2_5_VLConfig {
462
+ "architectures": [
463
+ "Qwen2_5_VLForConditionalGeneration"
464
+ ],
465
+ "attention_dropout": 0.0,
466
+ "bos_token_id": 151643,
467
+ "eos_token_id": 151645,
468
+ "hidden_act": "silu",
469
+ "hidden_size": 3584,
470
+ "image_token_id": 151655,
471
+ "initializer_range": 0.02,
472
+ "intermediate_size": 18944,
473
+ "max_position_embeddings": 128000,
474
+ "max_window_layers": 28,
475
+ "model_type": "qwen2_5_vl",
476
+ "num_attention_heads": 28,
477
+ "num_hidden_layers": 28,
478
+ "num_key_value_heads": 4,
479
+ "rms_norm_eps": 1e-06,
480
+ "rope_scaling": {
481
+ "mrope_section": [
482
+ 16,
483
+ 24,
484
+ 24
485
+ ],
486
+ "rope_type": "default",
487
+ "type": "default"
488
+ },
489
+ "rope_theta": 1000000.0,
490
+ "sliding_window": 32768,
491
+ "tie_word_embeddings": false,
492
+ "torch_dtype": "bfloat16",
493
+ "transformers_version": "4.49.0",
494
+ "use_cache": true,
495
+ "use_sliding_window": false,
496
+ "video_token_id": 151656,
497
+ "vision_config": {
498
+ "hidden_size": 1280,
499
+ "in_chans": 3,
500
+ "model_type": "qwen2_5_vl",
501
+ "spatial_patch_size": 14,
502
+ "tokens_per_second": 2
503
+ },
504
+ "vision_end_token_id": 151653,
505
+ "vision_start_token_id": 151652,
506
+ "vision_token_id": 151654,
507
+ "vocab_size": 152064
508
+ }
509
+
510
+
511
+ [INFO|2025-03-21 08:43:36] tokenization_utils_base.py:2500 >> tokenizer config file saved in saves/Qwen2.5-VL-7B-Instruct/lora/BS_riche_lora/checkpoint-195/tokenizer_config.json
512
+
513
+ [INFO|2025-03-21 08:43:36] tokenization_utils_base.py:2509 >> Special tokens file saved in saves/Qwen2.5-VL-7B-Instruct/lora/BS_riche_lora/checkpoint-195/special_tokens_map.json
514
+
515
+ [INFO|2025-03-21 08:43:36] image_processing_base.py:261 >> Image processor saved in saves/Qwen2.5-VL-7B-Instruct/lora/BS_riche_lora/checkpoint-195/preprocessor_config.json
516
+
517
+ [INFO|2025-03-21 08:43:36] tokenization_utils_base.py:2500 >> tokenizer config file saved in saves/Qwen2.5-VL-7B-Instruct/lora/BS_riche_lora/checkpoint-195/tokenizer_config.json
518
+
519
+ [INFO|2025-03-21 08:43:36] tokenization_utils_base.py:2509 >> Special tokens file saved in saves/Qwen2.5-VL-7B-Instruct/lora/BS_riche_lora/checkpoint-195/special_tokens_map.json
520
+
521
+ [INFO|2025-03-21 08:43:36] processing_utils.py:638 >> chat template saved in saves/Qwen2.5-VL-7B-Instruct/lora/BS_riche_lora/checkpoint-195/chat_template.json
522
+
523
+ [INFO|2025-03-21 08:43:36] trainer.py:2657 >>
524
+
525
+ Training completed. Do not forget to share your model on huggingface.co/models =)
526
+
527
+
528
+
529
+ [INFO|2025-03-21 08:43:36] image_processing_base.py:261 >> Image processor saved in saves/Qwen2.5-VL-7B-Instruct/lora/BS_riche_lora/preprocessor_config.json
530
+
531
+ [INFO|2025-03-21 08:43:36] tokenization_utils_base.py:2500 >> tokenizer config file saved in saves/Qwen2.5-VL-7B-Instruct/lora/BS_riche_lora/tokenizer_config.json
532
+
533
+ [INFO|2025-03-21 08:43:36] tokenization_utils_base.py:2509 >> Special tokens file saved in saves/Qwen2.5-VL-7B-Instruct/lora/BS_riche_lora/special_tokens_map.json
534
+
535
+ [INFO|2025-03-21 08:43:37] processing_utils.py:638 >> chat template saved in saves/Qwen2.5-VL-7B-Instruct/lora/BS_riche_lora/chat_template.json
536
+
537
+ [INFO|2025-03-21 08:43:37] trainer.py:3942 >> Saving model checkpoint to saves/Qwen2.5-VL-7B-Instruct/lora/BS_riche_lora
538
+
539
+ [INFO|2025-03-21 08:43:37] configuration_utils.py:699 >> loading configuration file config.json from cache at /root/.cache/huggingface/hub/models--Qwen--Qwen2.5-VL-7B-Instruct/snapshots/68156fd997cdc9f710620466735af49862bb81f6/config.json
540
+
541
+ [INFO|2025-03-21 08:43:37] configuration_utils.py:771 >> Model config Qwen2_5_VLConfig {
542
+ "architectures": [
543
+ "Qwen2_5_VLForConditionalGeneration"
544
+ ],
545
+ "attention_dropout": 0.0,
546
+ "bos_token_id": 151643,
547
+ "eos_token_id": 151645,
548
+ "hidden_act": "silu",
549
+ "hidden_size": 3584,
550
+ "image_token_id": 151655,
551
+ "initializer_range": 0.02,
552
+ "intermediate_size": 18944,
553
+ "max_position_embeddings": 128000,
554
+ "max_window_layers": 28,
555
+ "model_type": "qwen2_5_vl",
556
+ "num_attention_heads": 28,
557
+ "num_hidden_layers": 28,
558
+ "num_key_value_heads": 4,
559
+ "rms_norm_eps": 1e-06,
560
+ "rope_scaling": {
561
+ "mrope_section": [
562
+ 16,
563
+ 24,
564
+ 24
565
+ ],
566
+ "rope_type": "default",
567
+ "type": "default"
568
+ },
569
+ "rope_theta": 1000000.0,
570
+ "sliding_window": 32768,
571
+ "tie_word_embeddings": false,
572
+ "torch_dtype": "bfloat16",
573
+ "transformers_version": "4.49.0",
574
+ "use_cache": true,
575
+ "use_sliding_window": false,
576
+ "video_token_id": 151656,
577
+ "vision_config": {
578
+ "hidden_size": 1280,
579
+ "in_chans": 3,
580
+ "model_type": "qwen2_5_vl",
581
+ "spatial_patch_size": 14,
582
+ "tokens_per_second": 2
583
+ },
584
+ "vision_end_token_id": 151653,
585
+ "vision_start_token_id": 151652,
586
+ "vision_token_id": 151654,
587
+ "vocab_size": 152064
588
+ }
589
+
590
+
591
+ [INFO|2025-03-21 08:43:37] tokenization_utils_base.py:2500 >> tokenizer config file saved in saves/Qwen2.5-VL-7B-Instruct/lora/BS_riche_lora/tokenizer_config.json
592
+
593
+ [INFO|2025-03-21 08:43:37] tokenization_utils_base.py:2509 >> Special tokens file saved in saves/Qwen2.5-VL-7B-Instruct/lora/BS_riche_lora/special_tokens_map.json
594
+
595
+ [WARNING|2025-03-21 08:43:37] logging.py:162 >> No metric eval_loss to plot.
596
+
597
+ [WARNING|2025-03-21 08:43:37] logging.py:162 >> No metric eval_accuracy to plot.
598
+
599
+ [INFO|2025-03-21 08:43:37] modelcard.py:449 >> Dropping the following result as it does not have all the necessary fields:
600
+ {'task': {'name': 'Causal Language Modeling', 'type': 'text-generation'}}
601
+
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,210 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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": 34114,
204
+ "pad_token": "<|endoftext|>",
205
+ "padding_side": "right",
206
+ "processor_class": "Qwen2_5_VLProcessor",
207
+ "split_special_tokens": false,
208
+ "tokenizer_class": "Qwen2Tokenizer",
209
+ "unk_token": null
210
+ }
train_results.json ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 2.9904761904761905,
3
+ "num_input_tokens_seen": 8039616,
4
+ "total_flos": 3.746792787278561e+17,
5
+ "train_loss": 0.06834620604148278,
6
+ "train_runtime": 3970.1665,
7
+ "train_samples_per_second": 0.793,
8
+ "train_steps_per_second": 0.049
9
+ }
trainer_log.jsonl ADDED
@@ -0,0 +1,40 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {"current_steps": 5, "total_steps": 195, "loss": 0.3154, "lr": 4.9918932703355256e-05, "epoch": 0.0761904761904762, "percentage": 2.56, "elapsed_time": "0:01:41", "remaining_time": "1:04:29", "throughput": 2074.94, "total_tokens": 211280}
2
+ {"current_steps": 10, "total_steps": 195, "loss": 0.2409, "lr": 4.967625656594782e-05, "epoch": 0.1523809523809524, "percentage": 5.13, "elapsed_time": "0:03:23", "remaining_time": "1:02:45", "throughput": 2059.35, "total_tokens": 419136}
3
+ {"current_steps": 15, "total_steps": 195, "loss": 0.1711, "lr": 4.92735454356513e-05, "epoch": 0.22857142857142856, "percentage": 7.69, "elapsed_time": "0:05:09", "remaining_time": "1:01:57", "throughput": 2038.91, "total_tokens": 631632}
4
+ {"current_steps": 20, "total_steps": 195, "loss": 0.1228, "lr": 4.8713411048678635e-05, "epoch": 0.3047619047619048, "percentage": 10.26, "elapsed_time": "0:06:51", "remaining_time": "1:00:00", "throughput": 2033.99, "total_tokens": 836896}
5
+ {"current_steps": 25, "total_steps": 195, "loss": 0.0945, "lr": 4.799948609147061e-05, "epoch": 0.38095238095238093, "percentage": 12.82, "elapsed_time": "0:08:33", "remaining_time": "0:58:10", "throughput": 2030.92, "total_tokens": 1042416}
6
+ {"current_steps": 30, "total_steps": 195, "loss": 0.0873, "lr": 4.713640064133025e-05, "epoch": 0.45714285714285713, "percentage": 15.38, "elapsed_time": "0:10:13", "remaining_time": "0:56:14", "throughput": 2028.08, "total_tokens": 1244384}
7
+ {"current_steps": 35, "total_steps": 195, "loss": 0.0635, "lr": 4.6129752138594874e-05, "epoch": 0.5333333333333333, "percentage": 17.95, "elapsed_time": "0:11:51", "remaining_time": "0:54:12", "throughput": 2030.96, "total_tokens": 1445168}
8
+ {"current_steps": 40, "total_steps": 195, "loss": 0.0784, "lr": 4.498606908508754e-05, "epoch": 0.6095238095238096, "percentage": 20.51, "elapsed_time": "0:13:33", "remaining_time": "0:52:34", "throughput": 2029.27, "total_tokens": 1651760}
9
+ {"current_steps": 45, "total_steps": 195, "loss": 0.0634, "lr": 4.371276870427753e-05, "epoch": 0.6857142857142857, "percentage": 23.08, "elapsed_time": "0:15:10", "remaining_time": "0:50:33", "throughput": 2032.57, "total_tokens": 1849920}
10
+ {"current_steps": 50, "total_steps": 195, "loss": 0.0715, "lr": 4.231810883773999e-05, "epoch": 0.7619047619047619, "percentage": 25.64, "elapsed_time": "0:16:52", "remaining_time": "0:48:57", "throughput": 2030.24, "total_tokens": 2056592}
11
+ {"current_steps": 55, "total_steps": 195, "loss": 0.0588, "lr": 4.0811134389884433e-05, "epoch": 0.8380952380952381, "percentage": 28.21, "elapsed_time": "0:18:35", "remaining_time": "0:47:19", "throughput": 2030.66, "total_tokens": 2265056}
12
+ {"current_steps": 60, "total_steps": 195, "loss": 0.0634, "lr": 3.920161866827889e-05, "epoch": 0.9142857142857143, "percentage": 30.77, "elapsed_time": "0:20:17", "remaining_time": "0:45:38", "throughput": 2030.21, "total_tokens": 2471328}
13
+ {"current_steps": 65, "total_steps": 195, "loss": 0.0582, "lr": 3.7500000000000003e-05, "epoch": 0.9904761904761905, "percentage": 33.33, "elapsed_time": "0:21:57", "remaining_time": "0:43:55", "throughput": 2030.85, "total_tokens": 2676640}
14
+ {"current_steps": 70, "total_steps": 195, "loss": 0.0687, "lr": 3.5717314035076355e-05, "epoch": 1.0761904761904761, "percentage": 35.9, "elapsed_time": "0:23:47", "remaining_time": "0:42:29", "throughput": 2029.43, "total_tokens": 2897712}
15
+ {"current_steps": 75, "total_steps": 195, "loss": 0.0539, "lr": 3.386512217606339e-05, "epoch": 1.1523809523809523, "percentage": 38.46, "elapsed_time": "0:25:19", "remaining_time": "0:40:30", "throughput": 2033.85, "total_tokens": 3089808}
16
+ {"current_steps": 80, "total_steps": 195, "loss": 0.0545, "lr": 3.195543659791132e-05, "epoch": 1.2285714285714286, "percentage": 41.03, "elapsed_time": "0:27:03", "remaining_time": "0:38:53", "throughput": 2030.86, "total_tokens": 3296576}
17
+ {"current_steps": 85, "total_steps": 195, "loss": 0.0446, "lr": 3.0000642344401113e-05, "epoch": 1.3047619047619048, "percentage": 43.59, "elapsed_time": "0:28:48", "remaining_time": "0:37:16", "throughput": 2030.02, "total_tokens": 3508416}
18
+ {"current_steps": 90, "total_steps": 195, "loss": 0.0535, "lr": 2.8013417006383076e-05, "epoch": 1.380952380952381, "percentage": 46.15, "elapsed_time": "0:30:25", "remaining_time": "0:35:29", "throughput": 2030.47, "total_tokens": 3706512}
19
+ {"current_steps": 95, "total_steps": 195, "loss": 0.0488, "lr": 2.600664850273538e-05, "epoch": 1.457142857142857, "percentage": 48.72, "elapsed_time": "0:32:09", "remaining_time": "0:33:50", "throughput": 2028.22, "total_tokens": 3913120}
20
+ {"current_steps": 100, "total_steps": 195, "loss": 0.044, "lr": 2.399335149726463e-05, "epoch": 1.5333333333333332, "percentage": 51.28, "elapsed_time": "0:33:54", "remaining_time": "0:32:12", "throughput": 2026.11, "total_tokens": 4121248}
21
+ {"current_steps": 105, "total_steps": 195, "loss": 0.0479, "lr": 2.1986582993616926e-05, "epoch": 1.6095238095238096, "percentage": 53.85, "elapsed_time": "0:35:37", "remaining_time": "0:30:32", "throughput": 2024.85, "total_tokens": 4327824}
22
+ {"current_steps": 110, "total_steps": 195, "loss": 0.0441, "lr": 1.9999357655598893e-05, "epoch": 1.6857142857142857, "percentage": 56.41, "elapsed_time": "0:37:22", "remaining_time": "0:28:52", "throughput": 2023.58, "total_tokens": 4537936}
23
+ {"current_steps": 115, "total_steps": 195, "loss": 0.0428, "lr": 1.8044563402088684e-05, "epoch": 1.7619047619047619, "percentage": 58.97, "elapsed_time": "0:39:04", "remaining_time": "0:27:11", "throughput": 2023.28, "total_tokens": 4744432}
24
+ {"current_steps": 120, "total_steps": 195, "loss": 0.0425, "lr": 1.613487782393661e-05, "epoch": 1.8380952380952382, "percentage": 61.54, "elapsed_time": "0:40:48", "remaining_time": "0:25:30", "throughput": 2023.49, "total_tokens": 4955296}
25
+ {"current_steps": 125, "total_steps": 195, "loss": 0.0437, "lr": 1.4282685964923642e-05, "epoch": 1.9142857142857141, "percentage": 64.1, "elapsed_time": "0:42:24", "remaining_time": "0:23:45", "throughput": 2025.72, "total_tokens": 5154784}
26
+ {"current_steps": 130, "total_steps": 195, "loss": 0.039, "lr": 1.2500000000000006e-05, "epoch": 1.9904761904761905, "percentage": 66.67, "elapsed_time": "0:44:03", "remaining_time": "0:22:01", "throughput": 2026.78, "total_tokens": 5358160}
27
+ {"current_steps": 135, "total_steps": 195, "loss": 0.0465, "lr": 1.0798381331721109e-05, "epoch": 2.0761904761904764, "percentage": 69.23, "elapsed_time": "0:45:52", "remaining_time": "0:20:23", "throughput": 2026.32, "total_tokens": 5577808}
28
+ {"current_steps": 140, "total_steps": 195, "loss": 0.0451, "lr": 9.18886561011557e-06, "epoch": 2.1523809523809523, "percentage": 71.79, "elapsed_time": "0:47:27", "remaining_time": "0:18:38", "throughput": 2027.94, "total_tokens": 5775552}
29
+ {"current_steps": 145, "total_steps": 195, "loss": 0.0385, "lr": 7.681891162260015e-06, "epoch": 2.2285714285714286, "percentage": 74.36, "elapsed_time": "0:49:14", "remaining_time": "0:16:58", "throughput": 2026.17, "total_tokens": 5986112}
30
+ {"current_steps": 150, "total_steps": 195, "loss": 0.0506, "lr": 6.28723129572247e-06, "epoch": 2.3047619047619046, "percentage": 76.92, "elapsed_time": "0:50:51", "remaining_time": "0:15:15", "throughput": 2027.23, "total_tokens": 6185568}
31
+ {"current_steps": 155, "total_steps": 195, "loss": 0.0471, "lr": 5.013930914912476e-06, "epoch": 2.380952380952381, "percentage": 79.49, "elapsed_time": "0:52:30", "remaining_time": "0:13:33", "throughput": 2027.9, "total_tokens": 6389392}
32
+ {"current_steps": 160, "total_steps": 195, "loss": 0.0383, "lr": 3.8702478614051355e-06, "epoch": 2.4571428571428573, "percentage": 82.05, "elapsed_time": "0:54:11", "remaining_time": "0:11:51", "throughput": 2028.25, "total_tokens": 6594256}
33
+ {"current_steps": 165, "total_steps": 195, "loss": 0.036, "lr": 2.8635993586697553e-06, "epoch": 2.533333333333333, "percentage": 84.62, "elapsed_time": "0:55:53", "remaining_time": "0:10:09", "throughput": 2028.63, "total_tokens": 6802240}
34
+ {"current_steps": 170, "total_steps": 195, "loss": 0.0381, "lr": 2.0005139085293945e-06, "epoch": 2.6095238095238096, "percentage": 87.18, "elapsed_time": "0:57:32", "remaining_time": "0:08:27", "throughput": 2028.93, "total_tokens": 7004816}
35
+ {"current_steps": 175, "total_steps": 195, "loss": 0.0415, "lr": 1.286588951321363e-06, "epoch": 2.685714285714286, "percentage": 89.74, "elapsed_time": "0:59:12", "remaining_time": "0:06:46", "throughput": 2028.93, "total_tokens": 7208608}
36
+ {"current_steps": 180, "total_steps": 195, "loss": 0.0397, "lr": 7.264545643486997e-07, "epoch": 2.761904761904762, "percentage": 92.31, "elapsed_time": "1:00:58", "remaining_time": "0:05:04", "throughput": 2027.85, "total_tokens": 7418320}
37
+ {"current_steps": 185, "total_steps": 195, "loss": 0.0421, "lr": 3.237434340521789e-07, "epoch": 2.8380952380952382, "percentage": 94.87, "elapsed_time": "1:02:48", "remaining_time": "0:03:23", "throughput": 2025.27, "total_tokens": 7633248}
38
+ {"current_steps": 190, "total_steps": 195, "loss": 0.0378, "lr": 8.106729664475176e-08, "epoch": 2.914285714285714, "percentage": 97.44, "elapsed_time": "1:04:29", "remaining_time": "0:01:41", "throughput": 2025.73, "total_tokens": 7838576}
39
+ {"current_steps": 195, "total_steps": 195, "loss": 0.047, "lr": 0.0, "epoch": 2.9904761904761905, "percentage": 100.0, "elapsed_time": "1:06:07", "remaining_time": "0:00:00", "throughput": 2026.33, "total_tokens": 8039616}
40
+ {"current_steps": 195, "total_steps": 195, "epoch": 2.9904761904761905, "percentage": 100.0, "elapsed_time": "1:06:10", "remaining_time": "0:00:00", "throughput": 2025.01, "total_tokens": 8039616}
trainer_state.json ADDED
@@ -0,0 +1,355 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": null,
3
+ "best_model_checkpoint": null,
4
+ "epoch": 2.9904761904761905,
5
+ "eval_steps": 500,
6
+ "global_step": 195,
7
+ "is_hyper_param_search": false,
8
+ "is_local_process_zero": true,
9
+ "is_world_process_zero": true,
10
+ "log_history": [
11
+ {
12
+ "epoch": 0.0761904761904762,
13
+ "grad_norm": 0.2635799050331116,
14
+ "learning_rate": 4.9918932703355256e-05,
15
+ "loss": 0.3154,
16
+ "num_input_tokens_seen": 211280,
17
+ "step": 5
18
+ },
19
+ {
20
+ "epoch": 0.1523809523809524,
21
+ "grad_norm": 0.2279728353023529,
22
+ "learning_rate": 4.967625656594782e-05,
23
+ "loss": 0.2409,
24
+ "num_input_tokens_seen": 419136,
25
+ "step": 10
26
+ },
27
+ {
28
+ "epoch": 0.22857142857142856,
29
+ "grad_norm": 0.22582456469535828,
30
+ "learning_rate": 4.92735454356513e-05,
31
+ "loss": 0.1711,
32
+ "num_input_tokens_seen": 631632,
33
+ "step": 15
34
+ },
35
+ {
36
+ "epoch": 0.3047619047619048,
37
+ "grad_norm": 0.14574189484119415,
38
+ "learning_rate": 4.8713411048678635e-05,
39
+ "loss": 0.1228,
40
+ "num_input_tokens_seen": 836896,
41
+ "step": 20
42
+ },
43
+ {
44
+ "epoch": 0.38095238095238093,
45
+ "grad_norm": 0.12243571132421494,
46
+ "learning_rate": 4.799948609147061e-05,
47
+ "loss": 0.0945,
48
+ "num_input_tokens_seen": 1042416,
49
+ "step": 25
50
+ },
51
+ {
52
+ "epoch": 0.45714285714285713,
53
+ "grad_norm": 0.12587733566761017,
54
+ "learning_rate": 4.713640064133025e-05,
55
+ "loss": 0.0873,
56
+ "num_input_tokens_seen": 1244384,
57
+ "step": 30
58
+ },
59
+ {
60
+ "epoch": 0.5333333333333333,
61
+ "grad_norm": 0.09762891381978989,
62
+ "learning_rate": 4.6129752138594874e-05,
63
+ "loss": 0.0635,
64
+ "num_input_tokens_seen": 1445168,
65
+ "step": 35
66
+ },
67
+ {
68
+ "epoch": 0.6095238095238096,
69
+ "grad_norm": 0.10953030735254288,
70
+ "learning_rate": 4.498606908508754e-05,
71
+ "loss": 0.0784,
72
+ "num_input_tokens_seen": 1651760,
73
+ "step": 40
74
+ },
75
+ {
76
+ "epoch": 0.6857142857142857,
77
+ "grad_norm": 0.12629230320453644,
78
+ "learning_rate": 4.371276870427753e-05,
79
+ "loss": 0.0634,
80
+ "num_input_tokens_seen": 1849920,
81
+ "step": 45
82
+ },
83
+ {
84
+ "epoch": 0.7619047619047619,
85
+ "grad_norm": 0.12405364215373993,
86
+ "learning_rate": 4.231810883773999e-05,
87
+ "loss": 0.0715,
88
+ "num_input_tokens_seen": 2056592,
89
+ "step": 50
90
+ },
91
+ {
92
+ "epoch": 0.8380952380952381,
93
+ "grad_norm": 0.07898106426000595,
94
+ "learning_rate": 4.0811134389884433e-05,
95
+ "loss": 0.0588,
96
+ "num_input_tokens_seen": 2265056,
97
+ "step": 55
98
+ },
99
+ {
100
+ "epoch": 0.9142857142857143,
101
+ "grad_norm": 0.10841359943151474,
102
+ "learning_rate": 3.920161866827889e-05,
103
+ "loss": 0.0634,
104
+ "num_input_tokens_seen": 2471328,
105
+ "step": 60
106
+ },
107
+ {
108
+ "epoch": 0.9904761904761905,
109
+ "grad_norm": 0.1293160319328308,
110
+ "learning_rate": 3.7500000000000003e-05,
111
+ "loss": 0.0582,
112
+ "num_input_tokens_seen": 2676640,
113
+ "step": 65
114
+ },
115
+ {
116
+ "epoch": 1.0761904761904761,
117
+ "grad_norm": 0.11754991114139557,
118
+ "learning_rate": 3.5717314035076355e-05,
119
+ "loss": 0.0687,
120
+ "num_input_tokens_seen": 2897712,
121
+ "step": 70
122
+ },
123
+ {
124
+ "epoch": 1.1523809523809523,
125
+ "grad_norm": 0.10079122334718704,
126
+ "learning_rate": 3.386512217606339e-05,
127
+ "loss": 0.0539,
128
+ "num_input_tokens_seen": 3089808,
129
+ "step": 75
130
+ },
131
+ {
132
+ "epoch": 1.2285714285714286,
133
+ "grad_norm": 0.10278293490409851,
134
+ "learning_rate": 3.195543659791132e-05,
135
+ "loss": 0.0545,
136
+ "num_input_tokens_seen": 3296576,
137
+ "step": 80
138
+ },
139
+ {
140
+ "epoch": 1.3047619047619048,
141
+ "grad_norm": 0.10142832249403,
142
+ "learning_rate": 3.0000642344401113e-05,
143
+ "loss": 0.0446,
144
+ "num_input_tokens_seen": 3508416,
145
+ "step": 85
146
+ },
147
+ {
148
+ "epoch": 1.380952380952381,
149
+ "grad_norm": 0.21511930227279663,
150
+ "learning_rate": 2.8013417006383076e-05,
151
+ "loss": 0.0535,
152
+ "num_input_tokens_seen": 3706512,
153
+ "step": 90
154
+ },
155
+ {
156
+ "epoch": 1.457142857142857,
157
+ "grad_norm": 0.10380080342292786,
158
+ "learning_rate": 2.600664850273538e-05,
159
+ "loss": 0.0488,
160
+ "num_input_tokens_seen": 3913120,
161
+ "step": 95
162
+ },
163
+ {
164
+ "epoch": 1.5333333333333332,
165
+ "grad_norm": 0.11608559638261795,
166
+ "learning_rate": 2.399335149726463e-05,
167
+ "loss": 0.044,
168
+ "num_input_tokens_seen": 4121248,
169
+ "step": 100
170
+ },
171
+ {
172
+ "epoch": 1.6095238095238096,
173
+ "grad_norm": 0.11765897274017334,
174
+ "learning_rate": 2.1986582993616926e-05,
175
+ "loss": 0.0479,
176
+ "num_input_tokens_seen": 4327824,
177
+ "step": 105
178
+ },
179
+ {
180
+ "epoch": 1.6857142857142857,
181
+ "grad_norm": 0.0989590659737587,
182
+ "learning_rate": 1.9999357655598893e-05,
183
+ "loss": 0.0441,
184
+ "num_input_tokens_seen": 4537936,
185
+ "step": 110
186
+ },
187
+ {
188
+ "epoch": 1.7619047619047619,
189
+ "grad_norm": 0.1432141810655594,
190
+ "learning_rate": 1.8044563402088684e-05,
191
+ "loss": 0.0428,
192
+ "num_input_tokens_seen": 4744432,
193
+ "step": 115
194
+ },
195
+ {
196
+ "epoch": 1.8380952380952382,
197
+ "grad_norm": 0.08667314797639847,
198
+ "learning_rate": 1.613487782393661e-05,
199
+ "loss": 0.0425,
200
+ "num_input_tokens_seen": 4955296,
201
+ "step": 120
202
+ },
203
+ {
204
+ "epoch": 1.9142857142857141,
205
+ "grad_norm": 0.12118078023195267,
206
+ "learning_rate": 1.4282685964923642e-05,
207
+ "loss": 0.0437,
208
+ "num_input_tokens_seen": 5154784,
209
+ "step": 125
210
+ },
211
+ {
212
+ "epoch": 1.9904761904761905,
213
+ "grad_norm": 0.09234391897916794,
214
+ "learning_rate": 1.2500000000000006e-05,
215
+ "loss": 0.039,
216
+ "num_input_tokens_seen": 5358160,
217
+ "step": 130
218
+ },
219
+ {
220
+ "epoch": 2.0761904761904764,
221
+ "grad_norm": 0.08275337517261505,
222
+ "learning_rate": 1.0798381331721109e-05,
223
+ "loss": 0.0465,
224
+ "num_input_tokens_seen": 5577808,
225
+ "step": 135
226
+ },
227
+ {
228
+ "epoch": 2.1523809523809523,
229
+ "grad_norm": 0.08790527284145355,
230
+ "learning_rate": 9.18886561011557e-06,
231
+ "loss": 0.0451,
232
+ "num_input_tokens_seen": 5775552,
233
+ "step": 140
234
+ },
235
+ {
236
+ "epoch": 2.2285714285714286,
237
+ "grad_norm": 0.0865679457783699,
238
+ "learning_rate": 7.681891162260015e-06,
239
+ "loss": 0.0385,
240
+ "num_input_tokens_seen": 5986112,
241
+ "step": 145
242
+ },
243
+ {
244
+ "epoch": 2.3047619047619046,
245
+ "grad_norm": 0.09322898089885712,
246
+ "learning_rate": 6.28723129572247e-06,
247
+ "loss": 0.0506,
248
+ "num_input_tokens_seen": 6185568,
249
+ "step": 150
250
+ },
251
+ {
252
+ "epoch": 2.380952380952381,
253
+ "grad_norm": 0.13761946558952332,
254
+ "learning_rate": 5.013930914912476e-06,
255
+ "loss": 0.0471,
256
+ "num_input_tokens_seen": 6389392,
257
+ "step": 155
258
+ },
259
+ {
260
+ "epoch": 2.4571428571428573,
261
+ "grad_norm": 0.1628292351961136,
262
+ "learning_rate": 3.8702478614051355e-06,
263
+ "loss": 0.0383,
264
+ "num_input_tokens_seen": 6594256,
265
+ "step": 160
266
+ },
267
+ {
268
+ "epoch": 2.533333333333333,
269
+ "grad_norm": 0.09071007370948792,
270
+ "learning_rate": 2.8635993586697553e-06,
271
+ "loss": 0.036,
272
+ "num_input_tokens_seen": 6802240,
273
+ "step": 165
274
+ },
275
+ {
276
+ "epoch": 2.6095238095238096,
277
+ "grad_norm": 0.09868919104337692,
278
+ "learning_rate": 2.0005139085293945e-06,
279
+ "loss": 0.0381,
280
+ "num_input_tokens_seen": 7004816,
281
+ "step": 170
282
+ },
283
+ {
284
+ "epoch": 2.685714285714286,
285
+ "grad_norm": 0.11255531758069992,
286
+ "learning_rate": 1.286588951321363e-06,
287
+ "loss": 0.0415,
288
+ "num_input_tokens_seen": 7208608,
289
+ "step": 175
290
+ },
291
+ {
292
+ "epoch": 2.761904761904762,
293
+ "grad_norm": 0.09013009071350098,
294
+ "learning_rate": 7.264545643486997e-07,
295
+ "loss": 0.0397,
296
+ "num_input_tokens_seen": 7418320,
297
+ "step": 180
298
+ },
299
+ {
300
+ "epoch": 2.8380952380952382,
301
+ "grad_norm": 0.10500302165746689,
302
+ "learning_rate": 3.237434340521789e-07,
303
+ "loss": 0.0421,
304
+ "num_input_tokens_seen": 7633248,
305
+ "step": 185
306
+ },
307
+ {
308
+ "epoch": 2.914285714285714,
309
+ "grad_norm": 0.09550434350967407,
310
+ "learning_rate": 8.106729664475176e-08,
311
+ "loss": 0.0378,
312
+ "num_input_tokens_seen": 7838576,
313
+ "step": 190
314
+ },
315
+ {
316
+ "epoch": 2.9904761904761905,
317
+ "grad_norm": 0.10578631609678268,
318
+ "learning_rate": 0.0,
319
+ "loss": 0.047,
320
+ "num_input_tokens_seen": 8039616,
321
+ "step": 195
322
+ },
323
+ {
324
+ "epoch": 2.9904761904761905,
325
+ "num_input_tokens_seen": 8039616,
326
+ "step": 195,
327
+ "total_flos": 3.746792787278561e+17,
328
+ "train_loss": 0.06834620604148278,
329
+ "train_runtime": 3970.1665,
330
+ "train_samples_per_second": 0.793,
331
+ "train_steps_per_second": 0.049
332
+ }
333
+ ],
334
+ "logging_steps": 5,
335
+ "max_steps": 195,
336
+ "num_input_tokens_seen": 8039616,
337
+ "num_train_epochs": 3,
338
+ "save_steps": 100,
339
+ "stateful_callbacks": {
340
+ "TrainerControl": {
341
+ "args": {
342
+ "should_epoch_stop": false,
343
+ "should_evaluate": false,
344
+ "should_log": false,
345
+ "should_save": true,
346
+ "should_training_stop": true
347
+ },
348
+ "attributes": {}
349
+ }
350
+ },
351
+ "total_flos": 3.746792787278561e+17,
352
+ "train_batch_size": 2,
353
+ "trial_name": null,
354
+ "trial_params": null
355
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:64b42ad3b4b8b79db7da6f9ec535c5eca035fc96c8a7dc13db39845793113a1c
3
+ size 5688
training_args.yaml ADDED
@@ -0,0 +1,33 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ bf16: true
2
+ cutoff_len: 34114
3
+ dataset: BsKIE3
4
+ dataset_dir: data
5
+ ddp_timeout: 180000000
6
+ do_train: true
7
+ finetuning_type: lora
8
+ flash_attn: auto
9
+ gradient_accumulation_steps: 8
10
+ include_num_input_tokens_seen: true
11
+ learning_rate: 5.0e-05
12
+ logging_steps: 5
13
+ lora_alpha: 16
14
+ lora_dropout: 0
15
+ lora_rank: 8
16
+ lora_target: all
17
+ lr_scheduler_type: cosine
18
+ max_grad_norm: 1.0
19
+ max_samples: 100000
20
+ model_name_or_path: Qwen/Qwen2.5-VL-7B-Instruct
21
+ num_train_epochs: 3.0
22
+ optim: adamw_torch
23
+ output_dir: saves/Qwen2.5-VL-7B-Instruct/lora/BS_riche_lora
24
+ packing: false
25
+ per_device_train_batch_size: 2
26
+ plot_loss: true
27
+ preprocessing_num_workers: 16
28
+ report_to: none
29
+ save_steps: 100
30
+ stage: sft
31
+ template: qwen2_vl
32
+ trust_remote_code: true
33
+ warmup_steps: 0
training_loss.png ADDED
vocab.json ADDED
The diff for this file is too large to render. See raw diff