mhenrichsen commited on
Commit
60b0c4d
·
verified ·
1 Parent(s): c818097

Upload folder using huggingface_hub

Browse files
.DS_Store ADDED
Binary file (6.15 kB). View file
 
.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
added_tokens.json ADDED
@@ -0,0 +1,28 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "</think>": 151668,
3
+ "</tool_call>": 151658,
4
+ "</tool_response>": 151666,
5
+ "<think>": 151667,
6
+ "<tool_call>": 151657,
7
+ "<tool_response>": 151665,
8
+ "<|box_end|>": 151649,
9
+ "<|box_start|>": 151648,
10
+ "<|endoftext|>": 151643,
11
+ "<|file_sep|>": 151664,
12
+ "<|fim_middle|>": 151660,
13
+ "<|fim_pad|>": 151662,
14
+ "<|fim_prefix|>": 151659,
15
+ "<|fim_suffix|>": 151661,
16
+ "<|im_end|>": 151645,
17
+ "<|im_start|>": 151644,
18
+ "<|image_pad|>": 151655,
19
+ "<|object_ref_end|>": 151647,
20
+ "<|object_ref_start|>": 151646,
21
+ "<|quad_end|>": 151651,
22
+ "<|quad_start|>": 151650,
23
+ "<|repo_name|>": 151663,
24
+ "<|video_pad|>": 151656,
25
+ "<|vision_end|>": 151653,
26
+ "<|vision_pad|>": 151654,
27
+ "<|vision_start|>": 151652
28
+ }
args.json ADDED
@@ -0,0 +1,369 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "output_dir": "/workspace/embeddings/output/v1-20250830-141830",
3
+ "overwrite_output_dir": false,
4
+ "do_train": false,
5
+ "do_eval": false,
6
+ "do_predict": false,
7
+ "eval_strategy": "steps",
8
+ "prediction_loss_only": false,
9
+ "per_device_train_batch_size": 4,
10
+ "per_device_eval_batch_size": 4,
11
+ "per_gpu_train_batch_size": null,
12
+ "per_gpu_eval_batch_size": null,
13
+ "gradient_accumulation_steps": 8,
14
+ "eval_accumulation_steps": null,
15
+ "eval_delay": 0,
16
+ "torch_empty_cache_steps": null,
17
+ "learning_rate": 6e-06,
18
+ "weight_decay": 0.1,
19
+ "adam_beta1": 0.9,
20
+ "adam_beta2": 0.95,
21
+ "adam_epsilon": 1e-08,
22
+ "max_grad_norm": 1.0,
23
+ "num_train_epochs": 5.0,
24
+ "max_steps": -1,
25
+ "lr_scheduler_type": "cosine",
26
+ "lr_scheduler_kwargs": null,
27
+ "warmup_ratio": 0.0,
28
+ "warmup_steps": 0,
29
+ "log_level": "passive",
30
+ "log_level_replica": "warning",
31
+ "log_on_each_node": true,
32
+ "logging_dir": "/workspace/embeddings/output/v1-20250830-141830/runs",
33
+ "logging_strategy": "steps",
34
+ "logging_first_step": true,
35
+ "logging_steps": 5,
36
+ "logging_nan_inf_filter": true,
37
+ "save_strategy": "steps",
38
+ "save_steps": 15000.0,
39
+ "save_total_limit": null,
40
+ "save_safetensors": true,
41
+ "save_on_each_node": false,
42
+ "save_only_model": false,
43
+ "restore_callback_states_from_checkpoint": false,
44
+ "no_cuda": false,
45
+ "use_cpu": false,
46
+ "use_mps_device": false,
47
+ "seed": 42,
48
+ "data_seed": 42,
49
+ "jit_mode_eval": false,
50
+ "use_ipex": false,
51
+ "bf16": true,
52
+ "fp16": false,
53
+ "fp16_opt_level": "O1",
54
+ "half_precision_backend": "auto",
55
+ "bf16_full_eval": false,
56
+ "fp16_full_eval": false,
57
+ "tf32": null,
58
+ "local_rank": 0,
59
+ "ddp_backend": null,
60
+ "tpu_num_cores": null,
61
+ "tpu_metrics_debug": false,
62
+ "debug": null,
63
+ "dataloader_drop_last": true,
64
+ "eval_steps": 15000.0,
65
+ "dataloader_num_workers": 8,
66
+ "dataloader_prefetch_factor": null,
67
+ "past_index": -1,
68
+ "run_name": "/workspace/embeddings/output/v1-20250830-141830",
69
+ "disable_tqdm": null,
70
+ "remove_unused_columns": true,
71
+ "label_names": [
72
+ "labels"
73
+ ],
74
+ "load_best_model_at_end": false,
75
+ "metric_for_best_model": "loss",
76
+ "greater_is_better": false,
77
+ "ignore_data_skip": false,
78
+ "fsdp": "",
79
+ "fsdp_min_num_params": 0,
80
+ "fsdp_config": null,
81
+ "fsdp_transformer_layer_cls_to_wrap": null,
82
+ "accelerator_config": {
83
+ "dispatch_batches": false
84
+ },
85
+ "deepspeed": {
86
+ "fp16": {
87
+ "enabled": "auto",
88
+ "loss_scale": 0,
89
+ "loss_scale_window": 1000,
90
+ "initial_scale_power": 16,
91
+ "hysteresis": 2,
92
+ "min_loss_scale": 1
93
+ },
94
+ "bf16": {
95
+ "enabled": "auto"
96
+ },
97
+ "zero_optimization": {
98
+ "stage": 2,
99
+ "offload_optimizer": {
100
+ "device": "none",
101
+ "pin_memory": true
102
+ },
103
+ "allgather_partitions": true,
104
+ "allgather_bucket_size": 200000000.0,
105
+ "overlap_comm": false,
106
+ "reduce_scatter": true,
107
+ "reduce_bucket_size": 200000000.0,
108
+ "contiguous_gradients": true
109
+ },
110
+ "gradient_accumulation_steps": "auto",
111
+ "gradient_clipping": "auto",
112
+ "steps_per_print": 2000,
113
+ "train_batch_size": "auto",
114
+ "train_micro_batch_size_per_gpu": "auto",
115
+ "wall_clock_breakdown": false
116
+ },
117
+ "label_smoothing_factor": 0.0,
118
+ "optim": "adamw_torch",
119
+ "optim_args": null,
120
+ "adafactor": false,
121
+ "group_by_length": false,
122
+ "length_column_name": "length",
123
+ "report_to": [
124
+ "wandb"
125
+ ],
126
+ "ddp_find_unused_parameters": null,
127
+ "ddp_bucket_cap_mb": null,
128
+ "ddp_broadcast_buffers": null,
129
+ "dataloader_pin_memory": true,
130
+ "dataloader_persistent_workers": false,
131
+ "skip_memory_metrics": true,
132
+ "use_legacy_prediction_loop": false,
133
+ "push_to_hub": false,
134
+ "resume_from_checkpoint": null,
135
+ "hub_model_id": null,
136
+ "hub_strategy": "every_save",
137
+ "hub_token": null,
138
+ "hub_private_repo": null,
139
+ "hub_always_push": false,
140
+ "hub_revision": null,
141
+ "gradient_checkpointing": true,
142
+ "gradient_checkpointing_kwargs": null,
143
+ "include_inputs_for_metrics": false,
144
+ "include_for_metrics": [],
145
+ "eval_do_concat_batches": true,
146
+ "fp16_backend": "auto",
147
+ "push_to_hub_model_id": null,
148
+ "push_to_hub_organization": null,
149
+ "push_to_hub_token": null,
150
+ "mp_parameters": "",
151
+ "auto_find_batch_size": false,
152
+ "full_determinism": false,
153
+ "torchdynamo": null,
154
+ "ray_scope": "last",
155
+ "ddp_timeout": 18000000,
156
+ "torch_compile": false,
157
+ "torch_compile_backend": null,
158
+ "torch_compile_mode": null,
159
+ "include_tokens_per_second": false,
160
+ "include_num_input_tokens_seen": false,
161
+ "neftune_noise_alpha": null,
162
+ "optim_target_modules": null,
163
+ "batch_eval_metrics": false,
164
+ "eval_on_start": false,
165
+ "use_liger_kernel": true,
166
+ "liger_kernel_config": null,
167
+ "eval_use_gather_object": false,
168
+ "average_tokens_across_devices": true,
169
+ "sortish_sampler": false,
170
+ "predict_with_generate": false,
171
+ "generation_max_length": null,
172
+ "generation_num_beams": null,
173
+ "generation_config": null,
174
+ "tuner_backend": "peft",
175
+ "vit_gradient_checkpointing": null,
176
+ "router_aux_loss_coef": 0.0,
177
+ "check_model": true,
178
+ "acc_strategy": "token",
179
+ "train_dataloader_shuffle": true,
180
+ "max_epochs": null,
181
+ "aligner_lr": null,
182
+ "vit_lr": null,
183
+ "optimizer": null,
184
+ "use_logits_to_keep": null,
185
+ "channels": null,
186
+ "ds3_gather_for_generation": true,
187
+ "resume_only_model": false,
188
+ "eval_use_evalscope": false,
189
+ "eval_dataset": [],
190
+ "eval_dataset_args": null,
191
+ "eval_limit": null,
192
+ "eval_generation_config": null,
193
+ "model": "Qwen/Qwen3-Embedding-0.6B",
194
+ "model_type": "qwen3_emb",
195
+ "model_revision": null,
196
+ "task_type": "embedding",
197
+ "torch_dtype": "bfloat16",
198
+ "attn_impl": null,
199
+ "new_special_tokens": [],
200
+ "num_labels": null,
201
+ "problem_type": null,
202
+ "rope_scaling": null,
203
+ "device_map": null,
204
+ "max_memory": {},
205
+ "max_model_len": null,
206
+ "local_repo_path": null,
207
+ "init_strategy": null,
208
+ "template": "qwen3_emb",
209
+ "system": null,
210
+ "max_length": null,
211
+ "truncation_strategy": "delete",
212
+ "max_pixels": null,
213
+ "agent_template": null,
214
+ "norm_bbox": null,
215
+ "use_chat_template": true,
216
+ "padding_free": false,
217
+ "padding_side": "right",
218
+ "loss_scale": "default",
219
+ "sequence_parallel_size": 1,
220
+ "response_prefix": null,
221
+ "template_backend": "swift",
222
+ "dataset": [
223
+ "syvai/giga-embed"
224
+ ],
225
+ "val_dataset": [],
226
+ "split_dataset_ratio": 0.01,
227
+ "dataset_num_proc": 1,
228
+ "load_from_cache_file": true,
229
+ "dataset_shuffle": true,
230
+ "val_dataset_shuffle": false,
231
+ "streaming": false,
232
+ "interleave_prob": null,
233
+ "stopping_strategy": "first_exhausted",
234
+ "shuffle_buffer_size": 1000,
235
+ "download_mode": "reuse_dataset_if_exists",
236
+ "columns": {},
237
+ "strict": false,
238
+ "model_name": null,
239
+ "model_author": null,
240
+ "custom_dataset_info": [],
241
+ "quant_method": null,
242
+ "quant_bits": null,
243
+ "hqq_axis": null,
244
+ "bnb_4bit_compute_dtype": "bfloat16",
245
+ "bnb_4bit_quant_type": "nf4",
246
+ "bnb_4bit_use_double_quant": true,
247
+ "bnb_4bit_quant_storage": null,
248
+ "max_new_tokens": 64,
249
+ "temperature": 0.0,
250
+ "top_k": null,
251
+ "top_p": null,
252
+ "repetition_penalty": null,
253
+ "num_beams": 1,
254
+ "stream": false,
255
+ "stop_words": [],
256
+ "logprobs": false,
257
+ "top_logprobs": null,
258
+ "ckpt_dir": null,
259
+ "lora_modules": [],
260
+ "train_type": "full",
261
+ "adapters": [],
262
+ "external_plugins": [],
263
+ "model_kwargs": {},
264
+ "load_args": false,
265
+ "load_data_args": false,
266
+ "packing": false,
267
+ "lazy_tokenize": false,
268
+ "cached_dataset": [],
269
+ "custom_register_path": [],
270
+ "use_hf": true,
271
+ "ignore_args_error": false,
272
+ "use_swift_lora": false,
273
+ "freeze_parameters": [],
274
+ "freeze_parameters_regex": null,
275
+ "freeze_parameters_ratio": 0.0,
276
+ "trainable_parameters": [],
277
+ "trainable_parameters_regex": null,
278
+ "freeze_llm": false,
279
+ "freeze_vit": true,
280
+ "freeze_aligner": true,
281
+ "target_modules": [
282
+ "all-linear"
283
+ ],
284
+ "target_regex": null,
285
+ "target_parameters": null,
286
+ "modules_to_save": [],
287
+ "lora_rank": 8,
288
+ "lora_alpha": 32,
289
+ "lora_dropout": 0.05,
290
+ "lora_bias": "none",
291
+ "lora_dtype": null,
292
+ "lorap_lr_ratio": null,
293
+ "use_rslora": false,
294
+ "use_dora": false,
295
+ "lora_ga_batch_size": 2,
296
+ "lora_ga_iters": 2,
297
+ "lora_ga_max_length": 1024,
298
+ "lora_ga_direction": "ArB2r",
299
+ "lora_ga_scale": "stable",
300
+ "lora_ga_stable_gamma": 16,
301
+ "init_weights": true,
302
+ "fourier_n_frequency": 2000,
303
+ "fourier_scaling": 300.0,
304
+ "boft_block_size": 4,
305
+ "boft_block_num": 0,
306
+ "boft_n_butterfly_factor": 1,
307
+ "boft_dropout": 0.0,
308
+ "vera_rank": 256,
309
+ "vera_projection_prng_key": 0,
310
+ "vera_dropout": 0.0,
311
+ "vera_d_initial": 0.1,
312
+ "adapter_act": "gelu",
313
+ "adapter_length": 128,
314
+ "use_galore": false,
315
+ "galore_target_modules": null,
316
+ "galore_rank": 128,
317
+ "galore_update_proj_gap": 50,
318
+ "galore_scale": 1.0,
319
+ "galore_proj_type": "std",
320
+ "galore_optim_per_parameter": false,
321
+ "galore_with_embedding": false,
322
+ "galore_quantization": false,
323
+ "galore_proj_quant": false,
324
+ "galore_proj_bits": 4,
325
+ "galore_proj_group_size": 256,
326
+ "galore_cos_threshold": 0.4,
327
+ "galore_gamma_proj": 2,
328
+ "galore_queue_size": 5,
329
+ "adalora_target_r": 8,
330
+ "adalora_init_r": 12,
331
+ "adalora_tinit": 0,
332
+ "adalora_tfinal": 0,
333
+ "adalora_deltaT": 1,
334
+ "adalora_beta1": 0.85,
335
+ "adalora_beta2": 0.85,
336
+ "adalora_orth_reg_weight": 0.5,
337
+ "llamapro_num_new_blocks": 4,
338
+ "llamapro_num_groups": null,
339
+ "lisa_activated_layers": 0,
340
+ "lisa_step_interval": 20,
341
+ "reft_layer_key": null,
342
+ "reft_layers": null,
343
+ "reft_rank": 4,
344
+ "reft_intervention_type": "LoreftIntervention",
345
+ "reft_args": null,
346
+ "swanlab_token": null,
347
+ "swanlab_project": null,
348
+ "swanlab_workspace": null,
349
+ "swanlab_exp_name": null,
350
+ "swanlab_lark_webhook_url": null,
351
+ "swanlab_lark_secret": null,
352
+ "swanlab_mode": "cloud",
353
+ "add_version": true,
354
+ "create_checkpoint_symlink": false,
355
+ "loss_type": "infonce",
356
+ "metric": null,
357
+ "zero_hpz_partition_size": null,
358
+ "deepspeed_autotp_size": null,
359
+ "rank": 0,
360
+ "global_world_size": 4,
361
+ "local_world_size": 4,
362
+ "model_suffix": "Qwen3-Embedding-0.6B",
363
+ "model_info": "ModelInfo(model_type='qwen3_emb', model_dir='/root/.cache/huggingface/hub/models--Qwen--Qwen3-Embedding-0.6B/snapshots/c54f2e6e80b2d7b7de06f51cec4959f6b3e03418', torch_dtype=torch.bfloat16, max_model_len=32768, quant_method=None, quant_bits=None, rope_scaling=None, is_moe_model=False, config=None, task_type='embedding', num_labels=None)",
364
+ "model_meta": "ModelMeta(model_type='qwen3_emb', model_groups=[ModelGroup(models=[Model(ms_model_id='Qwen/Qwen3-Embedding-0.6B', hf_model_id='Qwen/Qwen3-Embedding-0.6B', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen3-Embedding-4B', hf_model_id='Qwen/Qwen3-Embedding-4B', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen3-Embedding-8B', hf_model_id='Qwen/Qwen3-Embedding-8B', model_path=None, ms_revision=None, hf_revision=None)], ignore_patterns=None, requires=None, tags=[])], template='qwen3_emb', get_function=<function get_model_tokenizer_with_flash_attn at 0x7fd334c214e0>, model_arch=None, architectures=['Qwen3ForCausalLM'], additional_saved_files=['config_sentence_transformers.json', '1_Pooling', 'modules.json'], torch_dtype=None, is_multimodal=False, is_reward=False, task_type=None, ignore_patterns=None, requires=[], tags=[])",
365
+ "model_dir": "/root/.cache/huggingface/hub/models--Qwen--Qwen3-Embedding-0.6B/snapshots/c54f2e6e80b2d7b7de06f51cec4959f6b3e03418",
366
+ "hub": "<class 'swift.hub.hub.HFHub'>",
367
+ "evaluation_strategy": "steps",
368
+ "training_args": "TrainingArguments(output_dir='/workspace/embeddings/output/v1-20250830-141830', overwrite_output_dir=False, do_train=False, do_eval=True, do_predict=False, eval_strategy=<IntervalStrategy.STEPS: 'steps'>, prediction_loss_only=False, per_device_train_batch_size=4, per_device_eval_batch_size=4, per_gpu_train_batch_size=None, per_gpu_eval_batch_size=None, gradient_accumulation_steps=8, eval_accumulation_steps=None, eval_delay=0, torch_empty_cache_steps=None, learning_rate=6e-06, weight_decay=0.1, adam_beta1=0.9, adam_beta2=0.95, adam_epsilon=1e-08, max_grad_norm=1.0, num_train_epochs=5.0, max_steps=-1, lr_scheduler_type=<SchedulerType.COSINE: 'cosine'>, lr_scheduler_kwargs=None, warmup_ratio=0.0, warmup_steps=0, log_level='passive', log_level_replica='warning', log_on_each_node=True, logging_dir='/workspace/embeddings/output/v1-20250830-141830/runs', logging_strategy=<IntervalStrategy.STEPS: 'steps'>, logging_first_step=True, logging_steps=5, logging_nan_inf_filter=True, save_strategy=<SaveStrategy.STEPS: 'steps'>, save_steps=15000, save_total_limit=None, save_safetensors=True, save_on_each_node=False, save_only_model=False, restore_callback_states_from_checkpoint=False, no_cuda=False, use_cpu=False, use_mps_device=False, seed=42, data_seed=42, jit_mode_eval=False, use_ipex=False, bf16=True, fp16=False, fp16_opt_level='O1', half_precision_backend='auto', bf16_full_eval=False, fp16_full_eval=False, tf32=None, local_rank=0, ddp_backend=None, tpu_num_cores=None, tpu_metrics_debug=False, debug=[], dataloader_drop_last=True, eval_steps=15000, dataloader_num_workers=8, dataloader_prefetch_factor=10, past_index=-1, run_name='/workspace/embeddings/output/v1-20250830-141830', disable_tqdm=False, remove_unused_columns=False, label_names=['labels'], load_best_model_at_end=False, metric_for_best_model='loss', greater_is_better=False, ignore_data_skip=False, fsdp=[], fsdp_min_num_params=0, fsdp_config={'min_num_params': 0, 'xla': False, 'xla_fsdp_v2': False, 'xla_fsdp_grad_ckpt': False}, fsdp_transformer_layer_cls_to_wrap=None, accelerator_config=AcceleratorConfig(split_batches=False, dispatch_batches=False, even_batches=True, use_seedable_sampler=True, non_blocking=False, gradient_accumulation_kwargs=None, use_configured_state=False), deepspeed={'fp16': {'enabled': 'auto', 'loss_scale': 0, 'loss_scale_window': 1000, 'initial_scale_power': 16, 'hysteresis': 2, 'min_loss_scale': 1}, 'bf16': {'enabled': 'auto'}, 'zero_optimization': {'stage': 2, 'offload_optimizer': {'device': 'none', 'pin_memory': True}, 'allgather_partitions': True, 'allgather_bucket_size': 200000000.0, 'overlap_comm': False, 'reduce_scatter': True, 'reduce_bucket_size': 200000000.0, 'contiguous_gradients': True}, 'gradient_accumulation_steps': 'auto', 'gradient_clipping': 'auto', 'steps_per_print': 2000, 'train_batch_size': 'auto', 'train_micro_batch_size_per_gpu': 'auto', 'wall_clock_breakdown': False}, label_smoothing_factor=0.0, optim=<OptimizerNames.ADAMW_TORCH: 'adamw_torch'>, optim_args=None, adafactor=False, group_by_length=False, length_column_name='length', report_to=['wandb'], ddp_find_unused_parameters=None, ddp_bucket_cap_mb=None, ddp_broadcast_buffers=None, dataloader_pin_memory=True, dataloader_persistent_workers=False, skip_memory_metrics=True, use_legacy_prediction_loop=False, push_to_hub=False, resume_from_checkpoint=None, hub_model_id=None, hub_strategy=<HubStrategy.EVERY_SAVE: 'every_save'>, hub_token=None, hub_private_repo=None, hub_always_push=False, hub_revision=None, gradient_checkpointing=True, gradient_checkpointing_kwargs=None, include_inputs_for_metrics=False, include_for_metrics=[], eval_do_concat_batches=True, fp16_backend='auto', push_to_hub_model_id=None, push_to_hub_organization=None, push_to_hub_token=None, mp_parameters='', auto_find_batch_size=False, full_determinism=False, torchdynamo=None, ray_scope='last', ddp_timeout=18000000, torch_compile=False, torch_compile_backend=None, torch_compile_mode=None, include_tokens_per_second=None, include_num_input_tokens_seen=None, neftune_noise_alpha=None, optim_target_modules=None, batch_eval_metrics=False, eval_on_start=False, use_liger_kernel=True, liger_kernel_config=None, eval_use_gather_object=False, average_tokens_across_devices=None, tuner_backend='peft', vit_gradient_checkpointing=True, router_aux_loss_coef=0.0, check_model=True, acc_strategy='token', train_dataloader_shuffle=True, max_epochs=None, aligner_lr=None, vit_lr=None, optimizer=None, use_logits_to_keep=None, channels=None, ds3_gather_for_generation=True, resume_only_model=False, eval_use_evalscope=False, eval_dataset=[], eval_dataset_args=None, eval_limit=None, eval_generation_config=None, sft_alpha=0, train_type='full', local_repo_path=None, galore_config=None)"
369
+ }
chat_template.jinja ADDED
@@ -0,0 +1,85 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {%- if tools %}
2
+ {{- '<|im_start|>system\n' }}
3
+ {%- if messages[0].role == 'system' %}
4
+ {{- messages[0].content + '\n\n' }}
5
+ {%- endif %}
6
+ {{- "# 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>" }}
7
+ {%- for tool in tools %}
8
+ {{- "\n" }}
9
+ {{- tool | tojson }}
10
+ {%- endfor %}
11
+ {{- "\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" }}
12
+ {%- else %}
13
+ {%- if messages[0].role == 'system' %}
14
+ {{- '<|im_start|>system\n' + messages[0].content + '<|im_end|>\n' }}
15
+ {%- endif %}
16
+ {%- endif %}
17
+ {%- set ns = namespace(multi_step_tool=true, last_query_index=messages|length - 1) %}
18
+ {%- for message in messages[::-1] %}
19
+ {%- set index = (messages|length - 1) - loop.index0 %}
20
+ {%- if ns.multi_step_tool and message.role == "user" and not(message.content.startswith('<tool_response>') and message.content.endswith('</tool_response>')) %}
21
+ {%- set ns.multi_step_tool = false %}
22
+ {%- set ns.last_query_index = index %}
23
+ {%- endif %}
24
+ {%- endfor %}
25
+ {%- for message in messages %}
26
+ {%- if (message.role == "user") or (message.role == "system" and not loop.first) %}
27
+ {{- '<|im_start|>' + message.role + '\n' + message.content + '<|im_end|>' + '\n' }}
28
+ {%- elif message.role == "assistant" %}
29
+ {%- set content = message.content %}
30
+ {%- set reasoning_content = '' %}
31
+ {%- if message.reasoning_content is defined and message.reasoning_content is not none %}
32
+ {%- set reasoning_content = message.reasoning_content %}
33
+ {%- else %}
34
+ {%- if '</think>' in message.content %}
35
+ {%- set content = message.content.split('</think>')[-1].lstrip('\n') %}
36
+ {%- set reasoning_content = message.content.split('</think>')[0].rstrip('\n').split('<think>')[-1].lstrip('\n') %}
37
+ {%- endif %}
38
+ {%- endif %}
39
+ {%- if loop.index0 > ns.last_query_index %}
40
+ {%- if loop.last or (not loop.last and reasoning_content) %}
41
+ {{- '<|im_start|>' + message.role + '\n<think>\n' + reasoning_content.strip('\n') + '\n</think>\n\n' + content.lstrip('\n') }}
42
+ {%- else %}
43
+ {{- '<|im_start|>' + message.role + '\n' + content }}
44
+ {%- endif %}
45
+ {%- else %}
46
+ {{- '<|im_start|>' + message.role + '\n' + content }}
47
+ {%- endif %}
48
+ {%- if message.tool_calls %}
49
+ {%- for tool_call in message.tool_calls %}
50
+ {%- if (loop.first and content) or (not loop.first) %}
51
+ {{- '\n' }}
52
+ {%- endif %}
53
+ {%- if tool_call.function %}
54
+ {%- set tool_call = tool_call.function %}
55
+ {%- endif %}
56
+ {{- '<tool_call>\n{"name": "' }}
57
+ {{- tool_call.name }}
58
+ {{- '", "arguments": ' }}
59
+ {%- if tool_call.arguments is string %}
60
+ {{- tool_call.arguments }}
61
+ {%- else %}
62
+ {{- tool_call.arguments | tojson }}
63
+ {%- endif %}
64
+ {{- '}\n</tool_call>' }}
65
+ {%- endfor %}
66
+ {%- endif %}
67
+ {{- '<|im_end|>\n' }}
68
+ {%- elif message.role == "tool" %}
69
+ {%- if loop.first or (messages[loop.index0 - 1].role != "tool") %}
70
+ {{- '<|im_start|>user' }}
71
+ {%- endif %}
72
+ {{- '\n<tool_response>\n' }}
73
+ {{- message.content }}
74
+ {{- '\n</tool_response>' }}
75
+ {%- if loop.last or (messages[loop.index0 + 1].role != "tool") %}
76
+ {{- '<|im_end|>\n' }}
77
+ {%- endif %}
78
+ {%- endif %}
79
+ {%- endfor %}
80
+ {%- if add_generation_prompt %}
81
+ {{- '<|im_start|>assistant\n' }}
82
+ {%- if enable_thinking is defined and enable_thinking is false %}
83
+ {{- '<think>\n\n</think>\n\n' }}
84
+ {%- endif %}
85
+ {%- endif %}
config.json ADDED
@@ -0,0 +1,61 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "Qwen3ForCausalLM"
4
+ ],
5
+ "attention_bias": false,
6
+ "attention_dropout": 0.0,
7
+ "bos_token_id": 151643,
8
+ "eos_token_id": 151643,
9
+ "head_dim": 128,
10
+ "hidden_act": "silu",
11
+ "hidden_size": 1024,
12
+ "initializer_range": 0.02,
13
+ "intermediate_size": 3072,
14
+ "layer_types": [
15
+ "full_attention",
16
+ "full_attention",
17
+ "full_attention",
18
+ "full_attention",
19
+ "full_attention",
20
+ "full_attention",
21
+ "full_attention",
22
+ "full_attention",
23
+ "full_attention",
24
+ "full_attention",
25
+ "full_attention",
26
+ "full_attention",
27
+ "full_attention",
28
+ "full_attention",
29
+ "full_attention",
30
+ "full_attention",
31
+ "full_attention",
32
+ "full_attention",
33
+ "full_attention",
34
+ "full_attention",
35
+ "full_attention",
36
+ "full_attention",
37
+ "full_attention",
38
+ "full_attention",
39
+ "full_attention",
40
+ "full_attention",
41
+ "full_attention",
42
+ "full_attention"
43
+ ],
44
+ "max_position_embeddings": 32768,
45
+ "max_window_layers": 28,
46
+ "model_type": "qwen3",
47
+ "num_attention_heads": 16,
48
+ "num_hidden_layers": 28,
49
+ "num_key_value_heads": 8,
50
+ "pad_token_id": 151643,
51
+ "rms_norm_eps": 1e-06,
52
+ "rope_scaling": null,
53
+ "rope_theta": 1000000,
54
+ "sliding_window": null,
55
+ "tie_word_embeddings": true,
56
+ "torch_dtype": "bfloat16",
57
+ "transformers_version": "4.55.4",
58
+ "use_cache": false,
59
+ "use_sliding_window": false,
60
+ "vocab_size": 151669
61
+ }
config_sentence_transformers.json ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "prompts": {
3
+ "query": "Instruct: Given a web search query, retrieve relevant passages that answer the query\nQuery:",
4
+ "document": ""
5
+ },
6
+ "default_prompt_name": null,
7
+ "similarity_fn_name": "cosine"
8
+ }
generation_config.json ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token_id": 151643,
3
+ "eos_token_id": [
4
+ 151643,
5
+ 151645
6
+ ],
7
+ "max_new_tokens": 2048,
8
+ "transformers_version": "4.55.4"
9
+ }
merges.txt ADDED
The diff for this file is too large to render. See raw diff
 
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e419fdc05739c06e5345a35ef1f464c0d231747a58c7c2c26b0ebfc2c61d484e
3
+ size 1502206696
modules.json ADDED
@@ -0,0 +1,20 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [
2
+ {
3
+ "idx": 0,
4
+ "name": "0",
5
+ "path": "",
6
+ "type": "sentence_transformers.models.Transformer"
7
+ },
8
+ {
9
+ "idx": 1,
10
+ "name": "1",
11
+ "path": "1_Pooling",
12
+ "type": "sentence_transformers.models.Pooling"
13
+ },
14
+ {
15
+ "idx": 2,
16
+ "name": "2",
17
+ "path": "2_Normalize",
18
+ "type": "sentence_transformers.models.Normalize"
19
+ }
20
+ ]
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:def76fb086971c7867b829c23a26261e38d9d74e02139253b38aeb9df8b4b50a
3
+ size 11423705
tokenizer_config.json ADDED
@@ -0,0 +1,239 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ "151665": {
182
+ "content": "<tool_response>",
183
+ "lstrip": false,
184
+ "normalized": false,
185
+ "rstrip": false,
186
+ "single_word": false,
187
+ "special": false
188
+ },
189
+ "151666": {
190
+ "content": "</tool_response>",
191
+ "lstrip": false,
192
+ "normalized": false,
193
+ "rstrip": false,
194
+ "single_word": false,
195
+ "special": false
196
+ },
197
+ "151667": {
198
+ "content": "<think>",
199
+ "lstrip": false,
200
+ "normalized": false,
201
+ "rstrip": false,
202
+ "single_word": false,
203
+ "special": false
204
+ },
205
+ "151668": {
206
+ "content": "</think>",
207
+ "lstrip": false,
208
+ "normalized": false,
209
+ "rstrip": false,
210
+ "single_word": false,
211
+ "special": false
212
+ }
213
+ },
214
+ "additional_special_tokens": [
215
+ "<|im_start|>",
216
+ "<|im_end|>",
217
+ "<|object_ref_start|>",
218
+ "<|object_ref_end|>",
219
+ "<|box_start|>",
220
+ "<|box_end|>",
221
+ "<|quad_start|>",
222
+ "<|quad_end|>",
223
+ "<|vision_start|>",
224
+ "<|vision_end|>",
225
+ "<|vision_pad|>",
226
+ "<|image_pad|>",
227
+ "<|video_pad|>"
228
+ ],
229
+ "bos_token": null,
230
+ "clean_up_tokenization_spaces": false,
231
+ "eos_token": "<|im_end|>",
232
+ "errors": "replace",
233
+ "extra_special_tokens": {},
234
+ "model_max_length": 131072,
235
+ "pad_token": "<|endoftext|>",
236
+ "split_special_tokens": false,
237
+ "tokenizer_class": "Qwen2Tokenizer",
238
+ "unk_token": null
239
+ }
vocab.json ADDED
The diff for this file is too large to render. See raw diff