Upload folder using huggingface_hub
Browse files- .gitattributes +1 -0
- args.json +690 -0
- chat_template.jinja +54 -0
- config.json +39 -0
- latest_checkpointed_iteration.txt +1 -0
- latest_wandb_artifact_path.txt +1 -0
- merges.txt +0 -0
- model-00001-of-00017.safetensors +3 -0
- model-00002-of-00017.safetensors +3 -0
- model-00003-of-00017.safetensors +3 -0
- model-00004-of-00017.safetensors +3 -0
- model-00005-of-00017.safetensors +3 -0
- model-00006-of-00017.safetensors +3 -0
- model-00007-of-00017.safetensors +3 -0
- model-00008-of-00017.safetensors +3 -0
- model-00009-of-00017.safetensors +3 -0
- model-00010-of-00017.safetensors +3 -0
- model-00011-of-00017.safetensors +3 -0
- model-00012-of-00017.safetensors +3 -0
- model-00013-of-00017.safetensors +3 -0
- model-00014-of-00017.safetensors +3 -0
- model-00015-of-00017.safetensors +3 -0
- model-00016-of-00017.safetensors +3 -0
- model-00017-of-00017.safetensors +3 -0
- model.safetensors.index.json +0 -0
- special_tokens_map.json +31 -0
- tokenizer.json +3 -0
- tokenizer_config.json +207 -0
- vocab.json +0 -0
.gitattributes
CHANGED
|
@@ -33,3 +33,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 36 |
+
tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
args.json
ADDED
|
@@ -0,0 +1,690 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
+
"model": "/scratch/hagrass/Experiments/Qwen-40B-SFT-All_Arabic-English/output_V7_MMLU/v2-20260125-211853/checkpoint-24",
|
| 6 |
+
"model_type": "qwen3_nothinking",
|
| 7 |
+
"model_revision": null,
|
| 8 |
+
"task_type": "causal_lm",
|
| 9 |
+
"torch_dtype": "bfloat16",
|
| 10 |
+
"attn_impl": null,
|
| 11 |
+
"new_special_tokens": [],
|
| 12 |
+
"num_labels": null,
|
| 13 |
+
"problem_type": null,
|
| 14 |
+
"rope_scaling": null,
|
| 15 |
+
"device_map": null,
|
| 16 |
+
"max_memory": {},
|
| 17 |
+
"max_model_len": null,
|
| 18 |
+
"local_repo_path": null,
|
| 19 |
+
"init_strategy": null,
|
| 20 |
+
"template": "qwen3_nothinking",
|
| 21 |
+
"system": null,
|
| 22 |
+
"max_length": 8192,
|
| 23 |
+
"truncation_strategy": "delete",
|
| 24 |
+
"max_pixels": null,
|
| 25 |
+
"agent_template": null,
|
| 26 |
+
"norm_bbox": null,
|
| 27 |
+
"use_chat_template": true,
|
| 28 |
+
"padding_side": "right",
|
| 29 |
+
"padding_free": true,
|
| 30 |
+
"loss_scale": "default",
|
| 31 |
+
"sequence_parallel_size": 1,
|
| 32 |
+
"template_backend": "swift",
|
| 33 |
+
"response_prefix": null,
|
| 34 |
+
"enable_thinking": null,
|
| 35 |
+
"add_non_thinking_prefix": true,
|
| 36 |
+
"dataset": [
|
| 37 |
+
"RL-QA-800K"
|
| 38 |
+
],
|
| 39 |
+
"val_dataset": [],
|
| 40 |
+
"cached_dataset": [],
|
| 41 |
+
"cached_val_dataset": [],
|
| 42 |
+
"split_dataset_ratio": 0.0,
|
| 43 |
+
"data_seed": 42,
|
| 44 |
+
"dataset_num_proc": 128,
|
| 45 |
+
"load_from_cache_file": false,
|
| 46 |
+
"dataset_shuffle": true,
|
| 47 |
+
"val_dataset_shuffle": false,
|
| 48 |
+
"streaming": false,
|
| 49 |
+
"interleave_prob": null,
|
| 50 |
+
"stopping_strategy": "first_exhausted",
|
| 51 |
+
"shuffle_buffer_size": 1000,
|
| 52 |
+
"download_mode": "reuse_dataset_if_exists",
|
| 53 |
+
"columns": {},
|
| 54 |
+
"strict": false,
|
| 55 |
+
"remove_unused_columns": true,
|
| 56 |
+
"model_name": [
|
| 57 |
+
"swift-robot"
|
| 58 |
+
],
|
| 59 |
+
"model_author": [
|
| 60 |
+
"swift"
|
| 61 |
+
],
|
| 62 |
+
"custom_dataset_info": [
|
| 63 |
+
"/scratch/hagrass/dataset_info.json"
|
| 64 |
+
],
|
| 65 |
+
"quant_method": null,
|
| 66 |
+
"quant_bits": null,
|
| 67 |
+
"hqq_axis": null,
|
| 68 |
+
"bnb_4bit_compute_dtype": "bfloat16",
|
| 69 |
+
"bnb_4bit_quant_type": "nf4",
|
| 70 |
+
"bnb_4bit_use_double_quant": true,
|
| 71 |
+
"bnb_4bit_quant_storage": null,
|
| 72 |
+
"max_new_tokens": null,
|
| 73 |
+
"temperature": 0.9,
|
| 74 |
+
"top_k": 50,
|
| 75 |
+
"top_p": 0.9,
|
| 76 |
+
"repetition_penalty": 1.0,
|
| 77 |
+
"num_beams": 1,
|
| 78 |
+
"stream": false,
|
| 79 |
+
"stop_words": [],
|
| 80 |
+
"logprobs": false,
|
| 81 |
+
"top_logprobs": null,
|
| 82 |
+
"structured_outputs_regex": null,
|
| 83 |
+
"ckpt_dir": "/scratch/hagrass/Experiments/Qwen-40B-SFT-All_Arabic-English/output_V7_MMLU/v2-20260125-211853/checkpoint-24",
|
| 84 |
+
"lora_modules": [],
|
| 85 |
+
"tuner_backend": "peft",
|
| 86 |
+
"train_type": "full",
|
| 87 |
+
"adapters": [],
|
| 88 |
+
"external_plugins": [],
|
| 89 |
+
"seed": 42,
|
| 90 |
+
"model_kwargs": {},
|
| 91 |
+
"load_args": false,
|
| 92 |
+
"load_data_args": false,
|
| 93 |
+
"packing": true,
|
| 94 |
+
"packing_length": 8192,
|
| 95 |
+
"packing_num_proc": 1,
|
| 96 |
+
"lazy_tokenize": false,
|
| 97 |
+
"custom_register_path": [],
|
| 98 |
+
"use_hf": false,
|
| 99 |
+
"hub_token": null,
|
| 100 |
+
"ddp_timeout": 18000000,
|
| 101 |
+
"ddp_backend": null,
|
| 102 |
+
"ignore_args_error": false,
|
| 103 |
+
"use_swift_lora": false,
|
| 104 |
+
"freeze_llm": false,
|
| 105 |
+
"freeze_vit": true,
|
| 106 |
+
"freeze_aligner": true,
|
| 107 |
+
"freeze_parameters": [],
|
| 108 |
+
"freeze_parameters_regex": null,
|
| 109 |
+
"freeze_parameters_ratio": 0.0,
|
| 110 |
+
"trainable_parameters": [],
|
| 111 |
+
"trainable_parameters_regex": null,
|
| 112 |
+
"adapter_load": null,
|
| 113 |
+
"target_modules": [
|
| 114 |
+
"all-linear"
|
| 115 |
+
],
|
| 116 |
+
"target_regex": null,
|
| 117 |
+
"modules_to_save": [],
|
| 118 |
+
"lora_rank": 8,
|
| 119 |
+
"lora_alpha": 32,
|
| 120 |
+
"lora_dropout": 0.05,
|
| 121 |
+
"lora_bias": "none",
|
| 122 |
+
"lora_dtype": null,
|
| 123 |
+
"use_rslora": false,
|
| 124 |
+
"rlhf_type": null,
|
| 125 |
+
"ref_load": null,
|
| 126 |
+
"ref_adapter_load": null,
|
| 127 |
+
"beta": null,
|
| 128 |
+
"rpo_alpha": null,
|
| 129 |
+
"reference_free": false,
|
| 130 |
+
"label_smoothing": 0.0,
|
| 131 |
+
"f_divergence_type": "reverse_kl",
|
| 132 |
+
"loss_type": null,
|
| 133 |
+
"desirable_weight": 1.0,
|
| 134 |
+
"undesirable_weight": 1.0,
|
| 135 |
+
"calculate_KL": null,
|
| 136 |
+
"center_rewards_coefficient": null,
|
| 137 |
+
"teacher_model": null,
|
| 138 |
+
"teacher_model_type": null,
|
| 139 |
+
"teacher_model_revision": null,
|
| 140 |
+
"lmbda": 0.5,
|
| 141 |
+
"seq_kd": false,
|
| 142 |
+
"offload_teacher_model": false,
|
| 143 |
+
"sft_alpha": 0.0,
|
| 144 |
+
"generation_batch_size": null,
|
| 145 |
+
"steps_per_generation": null,
|
| 146 |
+
"num_generations": 8,
|
| 147 |
+
"num_generations_eval": null,
|
| 148 |
+
"max_completion_length": 512,
|
| 149 |
+
"importance_sampling_level": "token",
|
| 150 |
+
"tau_pos": 1.0,
|
| 151 |
+
"tau_neg": 1.05,
|
| 152 |
+
"epsilon": 0.2,
|
| 153 |
+
"epsilon_high": null,
|
| 154 |
+
"delta": null,
|
| 155 |
+
"use_vllm": true,
|
| 156 |
+
"vllm_mode": null,
|
| 157 |
+
"vllm_enable_prefix_caching": true,
|
| 158 |
+
"vllm_gpu_memory_utilization": 0.9,
|
| 159 |
+
"vllm_tensor_parallel_size": 1,
|
| 160 |
+
"vllm_max_model_len": null,
|
| 161 |
+
"vllm_enforce_eager": false,
|
| 162 |
+
"vllm_limit_mm_per_prompt": null,
|
| 163 |
+
"vllm_disable_cascade_attn": false,
|
| 164 |
+
"vllm_max_num_seqs": null,
|
| 165 |
+
"vllm_mm_processor_cache_gb": null,
|
| 166 |
+
"vllm_engine_kwargs": null,
|
| 167 |
+
"sleep_level": 0,
|
| 168 |
+
"offload_optimizer": false,
|
| 169 |
+
"offload_model": false,
|
| 170 |
+
"offload_bridge": false,
|
| 171 |
+
"vllm_server_base_url": null,
|
| 172 |
+
"vllm_server_host": null,
|
| 173 |
+
"vllm_server_port": [
|
| 174 |
+
8000
|
| 175 |
+
],
|
| 176 |
+
"vllm_server_timeout": 240.0,
|
| 177 |
+
"vllm_server_group_port": null,
|
| 178 |
+
"reward_funcs": [],
|
| 179 |
+
"reward_weights": null,
|
| 180 |
+
"cosine_min_len_value_wrong": -0.5,
|
| 181 |
+
"cosine_max_len_value_wrong": 0.0,
|
| 182 |
+
"cosine_min_len_value_correct": 1.0,
|
| 183 |
+
"cosine_max_len_value_correct": 0.5,
|
| 184 |
+
"cosine_max_len": null,
|
| 185 |
+
"repetition_n_grams": 3,
|
| 186 |
+
"repetition_max_penalty": -1.0,
|
| 187 |
+
"soft_max_length": null,
|
| 188 |
+
"soft_cache_length": null,
|
| 189 |
+
"dynamic_sample": false,
|
| 190 |
+
"max_resample_times": 3,
|
| 191 |
+
"overlong_filter": false,
|
| 192 |
+
"scale_rewards": "group",
|
| 193 |
+
"advantage_estimator": "grpo",
|
| 194 |
+
"kl_in_reward": false,
|
| 195 |
+
"wandb_log_unique_prompts": null,
|
| 196 |
+
"log_completions": false,
|
| 197 |
+
"rollout_importance_sampling_mode": null,
|
| 198 |
+
"rollout_importance_sampling_threshold": 2.0,
|
| 199 |
+
"log_rollout_offpolicy_metrics": false,
|
| 200 |
+
"off_policy_sequence_mask_delta": null,
|
| 201 |
+
"log_entropy": false,
|
| 202 |
+
"top_entropy_quantile": 1.0,
|
| 203 |
+
"reward_model": null,
|
| 204 |
+
"reward_model_plugin": null,
|
| 205 |
+
"sync_ref_model": false,
|
| 206 |
+
"ref_model_sync_steps": 512,
|
| 207 |
+
"ref_model_mixup_alpha": 0.6,
|
| 208 |
+
"async_generate": false,
|
| 209 |
+
"move_model_batches": null,
|
| 210 |
+
"multi_turn_scheduler": null,
|
| 211 |
+
"max_turns": null,
|
| 212 |
+
"completion_length_limit_scope": "per_round",
|
| 213 |
+
"vllm_server_pass_dataset": false,
|
| 214 |
+
"num_iterations": 1,
|
| 215 |
+
"check_model": true,
|
| 216 |
+
"padded_vocab_size": 192728,
|
| 217 |
+
"initialize_embedding": false,
|
| 218 |
+
"mlp_padding_free": false,
|
| 219 |
+
"load_safetensors": true,
|
| 220 |
+
"save_safetensors": true,
|
| 221 |
+
"ref_model": null,
|
| 222 |
+
"ref_adapters": [],
|
| 223 |
+
"merge_lora": true,
|
| 224 |
+
"max_shard_size": "5GB",
|
| 225 |
+
"train_dataloader_shuffle": true,
|
| 226 |
+
"dataloader_pin_memory": true,
|
| 227 |
+
"dataloader_persistent_workers": true,
|
| 228 |
+
"dataloader_prefetch_factor": 2,
|
| 229 |
+
"group_by_length": false,
|
| 230 |
+
"architectures": "Qwen3MoeForCausalLM",
|
| 231 |
+
"llm_architectures": "Qwen3MoeForCausalLM",
|
| 232 |
+
"max_epochs": 1,
|
| 233 |
+
"enable_dft_loss": false,
|
| 234 |
+
"enable_channel_loss": false,
|
| 235 |
+
"save_strategy": "steps",
|
| 236 |
+
"original_max_position_embeddings": null,
|
| 237 |
+
"partial_rotary_factor": null,
|
| 238 |
+
"use_shared_expert_gate": false,
|
| 239 |
+
"report_to": "wandb",
|
| 240 |
+
"vit_gradient_checkpointing": true,
|
| 241 |
+
"vit_lr": null,
|
| 242 |
+
"aligner_lr": null,
|
| 243 |
+
"gradient_checkpointing_kwargs": null,
|
| 244 |
+
"linear_num_value_heads": null,
|
| 245 |
+
"linear_num_key_heads": null,
|
| 246 |
+
"linear_key_head_dim": null,
|
| 247 |
+
"linear_value_head_dim": null,
|
| 248 |
+
"linear_conv_kernel_dim": null,
|
| 249 |
+
"layer_types": null,
|
| 250 |
+
"mrope_interleaved": false,
|
| 251 |
+
"micro_batch_size": 1,
|
| 252 |
+
"global_batch_size": 512,
|
| 253 |
+
"recompute_granularity": "full",
|
| 254 |
+
"recompute_method": "uniform",
|
| 255 |
+
"recompute_num_layers": 1,
|
| 256 |
+
"recompute_modules": [
|
| 257 |
+
"core_attn"
|
| 258 |
+
],
|
| 259 |
+
"use_cpu_initialization": false,
|
| 260 |
+
"deterministic_mode": false,
|
| 261 |
+
"train_iters": null,
|
| 262 |
+
"log_interval": 1,
|
| 263 |
+
"tensorboard_dir": "/scratch/hagrass/Experiments/Qwen-40B-SFT-All_Arabic-English/output_V8-Rl-Answers/v1-20260126-210956/runs",
|
| 264 |
+
"no_masked_softmax_fusion": false,
|
| 265 |
+
"no_bias_dropout_fusion": false,
|
| 266 |
+
"no_bias_swiglu_fusion": false,
|
| 267 |
+
"no_rope_fusion": false,
|
| 268 |
+
"no_gradient_accumulation_fusion": false,
|
| 269 |
+
"cross_entropy_loss_fusion": true,
|
| 270 |
+
"cross_entropy_fusion_impl": "native",
|
| 271 |
+
"calculate_per_token_loss": true,
|
| 272 |
+
"use_flash_attn": true,
|
| 273 |
+
"attention_backend": "flash",
|
| 274 |
+
"optimizer": "adam",
|
| 275 |
+
"optimizer_cpu_offload": true,
|
| 276 |
+
"optimizer_offload_fraction": 0.7,
|
| 277 |
+
"use_precision_aware_optimizer": true,
|
| 278 |
+
"main_grads_dtype": "fp32",
|
| 279 |
+
"main_params_dtype": "fp32",
|
| 280 |
+
"exp_avg_dtype": "fp32",
|
| 281 |
+
"exp_avg_sq_dtype": "fp32",
|
| 282 |
+
"dataloader_type": "cyclic",
|
| 283 |
+
"manual_gc": false,
|
| 284 |
+
"manual_gc_interval": 0,
|
| 285 |
+
"lr": 3e-05,
|
| 286 |
+
"lr_decay_style": "cosine",
|
| 287 |
+
"lr_decay_iters": null,
|
| 288 |
+
"lr_warmup_iters": 0,
|
| 289 |
+
"lr_warmup_fraction": 0.05,
|
| 290 |
+
"min_lr": 3e-06,
|
| 291 |
+
"weight_decay": 0.1,
|
| 292 |
+
"clip_grad": 1.0,
|
| 293 |
+
"adam_beta1": 0.9,
|
| 294 |
+
"adam_beta2": 0.95,
|
| 295 |
+
"adam_eps": 1e-08,
|
| 296 |
+
"sgd_momentum": 0.9,
|
| 297 |
+
"save": "/scratch/hagrass/Experiments/Qwen-40B-SFT-All_Arabic-English/output_V8-Rl-Answers/v1-20260126-210956",
|
| 298 |
+
"save_interval": 200,
|
| 299 |
+
"save_retain_interval": null,
|
| 300 |
+
"no_save_optim": true,
|
| 301 |
+
"no_save_rng": true,
|
| 302 |
+
"load": null,
|
| 303 |
+
"no_load_optim": false,
|
| 304 |
+
"no_load_rng": false,
|
| 305 |
+
"finetune": true,
|
| 306 |
+
"ckpt_format": "torch_dist",
|
| 307 |
+
"no_initialization": true,
|
| 308 |
+
"auto_detect_ckpt_format": true,
|
| 309 |
+
"exit_on_missing_checkpoint": true,
|
| 310 |
+
"async_save": false,
|
| 311 |
+
"use_persistent_ckpt_worker": false,
|
| 312 |
+
"ckpt_fully_parallel_load": false,
|
| 313 |
+
"ckpt_assume_constant_structure": false,
|
| 314 |
+
"distributed_backend": "nccl",
|
| 315 |
+
"local_rank": 0,
|
| 316 |
+
"use_distributed_optimizer": true,
|
| 317 |
+
"tensor_model_parallel_size": 1,
|
| 318 |
+
"pipeline_model_parallel_size": 1,
|
| 319 |
+
"decoder_first_pipeline_num_layers": null,
|
| 320 |
+
"decoder_last_pipeline_num_layers": null,
|
| 321 |
+
"account_for_embedding_in_pipeline_split": false,
|
| 322 |
+
"account_for_loss_in_pipeline_split": false,
|
| 323 |
+
"sequence_parallel": true,
|
| 324 |
+
"context_parallel_size": 1,
|
| 325 |
+
"tp_comm_overlap": false,
|
| 326 |
+
"overlap_grad_reduce": false,
|
| 327 |
+
"overlap_param_gather": false,
|
| 328 |
+
"distributed_timeout_minutes": 300000,
|
| 329 |
+
"num_layers_per_virtual_pipeline_stage": null,
|
| 330 |
+
"num_virtual_stages_per_pipeline_rank": null,
|
| 331 |
+
"microbatch_group_size_per_virtual_pipeline_stage": null,
|
| 332 |
+
"pipeline_model_parallel_layout": null,
|
| 333 |
+
"num_layers": 64,
|
| 334 |
+
"hidden_size": 2048,
|
| 335 |
+
"ffn_hidden_size": null,
|
| 336 |
+
"num_attention_heads": 32,
|
| 337 |
+
"group_query_attention": true,
|
| 338 |
+
"num_query_groups": 4,
|
| 339 |
+
"softmax_type": null,
|
| 340 |
+
"window_size": null,
|
| 341 |
+
"window_attn_skip_freq": null,
|
| 342 |
+
"max_position_embeddings": 262144,
|
| 343 |
+
"position_embedding_type": "rope",
|
| 344 |
+
"mrope_section": null,
|
| 345 |
+
"rotary_base": 10000000,
|
| 346 |
+
"rotary_percent": 1.0,
|
| 347 |
+
"rotary_interleaved": false,
|
| 348 |
+
"normalization": "RMSNorm",
|
| 349 |
+
"norm_epsilon": 1e-06,
|
| 350 |
+
"swiglu": true,
|
| 351 |
+
"quick_geglu": false,
|
| 352 |
+
"activation_func_clamp_value": null,
|
| 353 |
+
"glu_linear_offset": null,
|
| 354 |
+
"untie_embeddings_and_output_weights": true,
|
| 355 |
+
"disable_bias_linear": true,
|
| 356 |
+
"add_qkv_bias": false,
|
| 357 |
+
"attention_dropout": 0.0,
|
| 358 |
+
"hidden_dropout": 0.0,
|
| 359 |
+
"kv_channels": 128,
|
| 360 |
+
"qk_layernorm": true,
|
| 361 |
+
"qk_l2_norm": null,
|
| 362 |
+
"no_rope_freq": null,
|
| 363 |
+
"moe_apply_probs_on_input": null,
|
| 364 |
+
"transformer_impl": "transformer_engine",
|
| 365 |
+
"num_experts": 128,
|
| 366 |
+
"moe_layer_freq": 1,
|
| 367 |
+
"moe_ffn_hidden_size": 768,
|
| 368 |
+
"moe_shared_expert_intermediate_size": null,
|
| 369 |
+
"moe_router_topk": 8,
|
| 370 |
+
"moe_router_num_groups": null,
|
| 371 |
+
"moe_router_group_topk": null,
|
| 372 |
+
"moe_router_pre_softmax": false,
|
| 373 |
+
"moe_router_dtype": "fp32",
|
| 374 |
+
"moe_router_score_function": "softmax",
|
| 375 |
+
"moe_router_bias_update_rate": null,
|
| 376 |
+
"moe_router_enable_expert_bias": false,
|
| 377 |
+
"moe_router_topk_scaling_factor": null,
|
| 378 |
+
"moe_router_load_balancing_type": "aux_loss",
|
| 379 |
+
"expert_model_parallel_size": 4,
|
| 380 |
+
"expert_tensor_parallel_size": 1,
|
| 381 |
+
"moe_token_dispatcher_type": null,
|
| 382 |
+
"moe_enable_deepep": false,
|
| 383 |
+
"moe_grouped_gemm": true,
|
| 384 |
+
"moe_permute_fusion": true,
|
| 385 |
+
"moe_aux_loss_coeff": 0.001,
|
| 386 |
+
"moe_z_loss_coeff": null,
|
| 387 |
+
"moe_shared_expert_overlap": true,
|
| 388 |
+
"moe_layer_recompute": false,
|
| 389 |
+
"moe_expert_capacity_factor": null,
|
| 390 |
+
"moe_pad_expert_input_to_capacity": false,
|
| 391 |
+
"moe_token_drop_policy": null,
|
| 392 |
+
"multi_latent_attention": false,
|
| 393 |
+
"q_lora_rank": null,
|
| 394 |
+
"kv_lora_rank": 32,
|
| 395 |
+
"qk_head_dim": 128,
|
| 396 |
+
"qk_pos_emb_head_dim": 64,
|
| 397 |
+
"mtp_num_layers": null,
|
| 398 |
+
"mtp_loss_scaling_factor": 0.1,
|
| 399 |
+
"fp8_format": null,
|
| 400 |
+
"fp8_recipe": "delayed",
|
| 401 |
+
"fp8_amax_history_len": 1024,
|
| 402 |
+
"fp8_amax_compute_algo": "max",
|
| 403 |
+
"fp8_param_gather": false,
|
| 404 |
+
"fp16": false,
|
| 405 |
+
"bf16": true,
|
| 406 |
+
"apply_query_key_layer_scaling": false,
|
| 407 |
+
"attention_softmax_in_fp32": true,
|
| 408 |
+
"log_params_norm": false,
|
| 409 |
+
"log_throughput": false,
|
| 410 |
+
"tensorboard_log_interval": 1,
|
| 411 |
+
"tensorboard_queue_size": 50,
|
| 412 |
+
"log_timers_to_tensorboard": true,
|
| 413 |
+
"no_log_learning_rate_to_tensorboard": false,
|
| 414 |
+
"log_validation_ppl_to_tensorboard": true,
|
| 415 |
+
"log_memory_to_tensorboard": true,
|
| 416 |
+
"logging_level": null,
|
| 417 |
+
"wandb_project": "Qwen-40B-SFT-All_Arabic-English",
|
| 418 |
+
"wandb_exp_name": "Qwen-40B-SFT-All_Arabic-English",
|
| 419 |
+
"wandb_save_dir": null,
|
| 420 |
+
"eval_iters": -1,
|
| 421 |
+
"eval_interval": 200,
|
| 422 |
+
"seq_length": 8192,
|
| 423 |
+
"num_workers": 128,
|
| 424 |
+
"no_data_sharding": false,
|
| 425 |
+
"megatron_extra_kwargs": {},
|
| 426 |
+
"add_version": true,
|
| 427 |
+
"rank": 0,
|
| 428 |
+
"global_world_size": 8,
|
| 429 |
+
"local_world_size": 8,
|
| 430 |
+
"model_suffix": "checkpoint-24",
|
| 431 |
+
"model_info": "ModelInfo(model_type='qwen3_nothinking', model_dir='/scratch/hagrass/Experiments/Qwen-40B-SFT-All_Arabic-English/output_V7_MMLU/v2-20260125-211853/checkpoint-24', torch_dtype=torch.bfloat16, max_model_len=262144, quant_method=None, quant_bits=None, rope_scaling=None, is_moe_model=True, is_multimodal=False, config=None, task_type='causal_lm', num_labels=None)",
|
| 432 |
+
"model_meta": "ModelMeta(model_type='qwen3_nothinking', model_groups=[ModelGroup(models=[Model(ms_model_id='Qwen/Qwen3-30B-A3B-Instruct-2507', hf_model_id='Qwen/Qwen3-30B-A3B-Instruct-2507', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen3-30B-A3B-Instruct-2507-FP8', hf_model_id='Qwen/Qwen3-30B-A3B-Instruct-2507-FP8', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen3-235B-A22B-Instruct-2507', hf_model_id='Qwen/Qwen3-235B-A22B-Instruct-2507', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen3-235B-A22B-Instruct-2507-FP8', hf_model_id='Qwen/Qwen3-235B-A22B-Instruct-2507-FP8', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='swift/Qwen3-235B-A22B-Instruct-2507-AWQ', hf_model_id=None, model_path=None, ms_revision=None, hf_revision=None)], ignore_patterns=None, requires=None, tags=[]), ModelGroup(models=[Model(ms_model_id='Qwen/Qwen3-4B-Instruct-2507', hf_model_id='Qwen/Qwen3-4B-Instruct-2507', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen3-4B-Instruct-2507-FP8', hf_model_id='Qwen/Qwen3-4B-Instruct-2507-FP8', model_path=None, ms_revision=None, hf_revision=None)], ignore_patterns=None, requires=None, tags=[])], template='qwen3_nothinking', get_function=<function get_model_tokenizer_with_flash_attn at 0x7f2807d685e0>, model_arch=None, architectures=['Qwen3MoeForCausalLM', 'Qwen3ForCausalLM'], additional_saved_files=[], torch_dtype=None, is_multimodal=False, is_reward=False, is_reranker=False, task_type=None, ignore_patterns=None, requires=['transformers>=4.51'], tags=[])",
|
| 433 |
+
"model_dir": "/scratch/hagrass/Experiments/Qwen-40B-SFT-All_Arabic-English/output_V7_MMLU/v2-20260125-211853/checkpoint-24",
|
| 434 |
+
"_val_dataset_exists": [],
|
| 435 |
+
"hub": "<class 'swift.hub.hub.MSHub'>",
|
| 436 |
+
"megatron_model_meta": "MegatronModelMeta(megatron_model_type='gpt', model_types=['qwen2', 'qwen2_5', 'qwq', 'qwq_preview', 'qwen2_5_math', 'llama', 'llama3', 'llama3_1', 'llama3_2', 'longwriter_llama3_1', 'codefuse_codellama', 'marco_o1', 'deepseek', 'deepseek_r1_distill', 'yi', 'yi_coder', 'sus', 'skywork_o1', 'openbuddy_llama', 'openbuddy_llama3', 'megrez', 'reflection', 'numina', 'ziya', 'mengzi3', 'qwen3', 'qwen3_thinking', 'qwen3_nothinking', 'qwen2_moe', 'qwen3_moe', 'qwen3_moe_thinking', 'qwen3_coder', 'internlm3', 'mimo', 'mimo_rl', 'moonlight', 'kimi_k2', 'deepseek_moe', 'deepseek_v2', 'deepseek_v2_5', 'deepseek_r1', 'dots1', 'ernie', 'glm4_5', 'glm4_7', 'deepseek_v3_1', 'ernie_thinking', 'gpt_oss'], is_multimodal=False, bridge_cls=<class 'swift.megatron.model.gpt_bridge.GPTBridge'>, model_cls=<class 'swift.megatron.model.gpt_model.GPTModel'>, get_transformer_layer_spec=None, model_provider=<function model_provider at 0x7f2534c209a0>, visual_cls=None, get_mtp_block_spec=None, extra_args_provider=None)",
|
| 437 |
+
"extra_args": {
|
| 438 |
+
"model_dir": "/scratch/hagrass/Experiments/Qwen-40B-SFT-All_Arabic-English/output_V7_MMLU/v2-20260125-211853/checkpoint-24",
|
| 439 |
+
"is_multimodal": false,
|
| 440 |
+
"hf_model_type": "qwen3_nothinking",
|
| 441 |
+
"use_ray": false,
|
| 442 |
+
"ray_exp_name": null,
|
| 443 |
+
"device_groups": null,
|
| 444 |
+
"model": "/scratch/hagrass/Experiments/Qwen-40B-SFT-All_Arabic-English/output_V7_MMLU/v2-20260125-211853/checkpoint-24",
|
| 445 |
+
"model_type": "qwen3_nothinking",
|
| 446 |
+
"model_revision": null,
|
| 447 |
+
"task_type": "causal_lm",
|
| 448 |
+
"torch_dtype": "bfloat16",
|
| 449 |
+
"attn_impl": null,
|
| 450 |
+
"new_special_tokens": [],
|
| 451 |
+
"num_labels": null,
|
| 452 |
+
"problem_type": null,
|
| 453 |
+
"rope_scaling": null,
|
| 454 |
+
"device_map": null,
|
| 455 |
+
"max_memory": {},
|
| 456 |
+
"max_model_len": null,
|
| 457 |
+
"local_repo_path": null,
|
| 458 |
+
"init_strategy": null,
|
| 459 |
+
"template": "qwen3_nothinking",
|
| 460 |
+
"system": null,
|
| 461 |
+
"max_length": 8192,
|
| 462 |
+
"truncation_strategy": "delete",
|
| 463 |
+
"max_pixels": null,
|
| 464 |
+
"agent_template": null,
|
| 465 |
+
"norm_bbox": null,
|
| 466 |
+
"use_chat_template": true,
|
| 467 |
+
"padding_side": "right",
|
| 468 |
+
"padding_free": true,
|
| 469 |
+
"sequence_parallel_size": 1,
|
| 470 |
+
"template_backend": "swift",
|
| 471 |
+
"response_prefix": null,
|
| 472 |
+
"enable_thinking": null,
|
| 473 |
+
"add_non_thinking_prefix": true,
|
| 474 |
+
"dataset": [
|
| 475 |
+
"RL-QA-800K"
|
| 476 |
+
],
|
| 477 |
+
"val_dataset": [],
|
| 478 |
+
"cached_dataset": [],
|
| 479 |
+
"cached_val_dataset": [],
|
| 480 |
+
"split_dataset_ratio": 0.0,
|
| 481 |
+
"data_seed": 42,
|
| 482 |
+
"dataset_num_proc": 128,
|
| 483 |
+
"load_from_cache_file": false,
|
| 484 |
+
"dataset_shuffle": true,
|
| 485 |
+
"val_dataset_shuffle": false,
|
| 486 |
+
"streaming": false,
|
| 487 |
+
"interleave_prob": null,
|
| 488 |
+
"stopping_strategy": "first_exhausted",
|
| 489 |
+
"shuffle_buffer_size": 1000,
|
| 490 |
+
"download_mode": "reuse_dataset_if_exists",
|
| 491 |
+
"columns": {},
|
| 492 |
+
"strict": false,
|
| 493 |
+
"remove_unused_columns": true,
|
| 494 |
+
"model_name": [
|
| 495 |
+
"swift-robot"
|
| 496 |
+
],
|
| 497 |
+
"model_author": [
|
| 498 |
+
"swift"
|
| 499 |
+
],
|
| 500 |
+
"custom_dataset_info": [
|
| 501 |
+
"/scratch/hagrass/dataset_info.json"
|
| 502 |
+
],
|
| 503 |
+
"quant_method": null,
|
| 504 |
+
"quant_bits": null,
|
| 505 |
+
"hqq_axis": null,
|
| 506 |
+
"bnb_4bit_compute_dtype": "bfloat16",
|
| 507 |
+
"bnb_4bit_quant_type": "nf4",
|
| 508 |
+
"bnb_4bit_use_double_quant": true,
|
| 509 |
+
"bnb_4bit_quant_storage": null,
|
| 510 |
+
"max_new_tokens": null,
|
| 511 |
+
"temperature": 0.9,
|
| 512 |
+
"top_k": 50,
|
| 513 |
+
"top_p": 0.9,
|
| 514 |
+
"repetition_penalty": 1.0,
|
| 515 |
+
"num_beams": 1,
|
| 516 |
+
"stream": false,
|
| 517 |
+
"stop_words": [],
|
| 518 |
+
"logprobs": false,
|
| 519 |
+
"top_logprobs": null,
|
| 520 |
+
"structured_outputs_regex": null,
|
| 521 |
+
"ckpt_dir": "/scratch/hagrass/Experiments/Qwen-40B-SFT-All_Arabic-English/output_V7_MMLU/v2-20260125-211853/checkpoint-24",
|
| 522 |
+
"lora_modules": [],
|
| 523 |
+
"tuner_backend": "peft",
|
| 524 |
+
"train_type": "full",
|
| 525 |
+
"adapters": [],
|
| 526 |
+
"external_plugins": [],
|
| 527 |
+
"model_kwargs": {},
|
| 528 |
+
"load_args": false,
|
| 529 |
+
"load_data_args": false,
|
| 530 |
+
"packing": true,
|
| 531 |
+
"packing_length": 8192,
|
| 532 |
+
"packing_num_proc": 1,
|
| 533 |
+
"lazy_tokenize": false,
|
| 534 |
+
"custom_register_path": [],
|
| 535 |
+
"use_hf": false,
|
| 536 |
+
"hub_token": null,
|
| 537 |
+
"ddp_timeout": 18000000,
|
| 538 |
+
"ddp_backend": null,
|
| 539 |
+
"ignore_args_error": false,
|
| 540 |
+
"use_swift_lora": false,
|
| 541 |
+
"freeze_llm": false,
|
| 542 |
+
"freeze_vit": true,
|
| 543 |
+
"freeze_aligner": true,
|
| 544 |
+
"freeze_parameters": [],
|
| 545 |
+
"freeze_parameters_regex": null,
|
| 546 |
+
"freeze_parameters_ratio": 0.0,
|
| 547 |
+
"trainable_parameters": [],
|
| 548 |
+
"trainable_parameters_regex": null,
|
| 549 |
+
"adapter_load": null,
|
| 550 |
+
"target_modules": [
|
| 551 |
+
"all-linear"
|
| 552 |
+
],
|
| 553 |
+
"target_regex": null,
|
| 554 |
+
"modules_to_save": [],
|
| 555 |
+
"lora_rank": 8,
|
| 556 |
+
"lora_alpha": 32,
|
| 557 |
+
"lora_dropout": 0.05,
|
| 558 |
+
"lora_bias": "none",
|
| 559 |
+
"lora_dtype": null,
|
| 560 |
+
"use_rslora": false,
|
| 561 |
+
"rlhf_type": null,
|
| 562 |
+
"ref_load": null,
|
| 563 |
+
"ref_adapter_load": null,
|
| 564 |
+
"beta": null,
|
| 565 |
+
"rpo_alpha": null,
|
| 566 |
+
"reference_free": false,
|
| 567 |
+
"label_smoothing": 0.0,
|
| 568 |
+
"f_divergence_type": "reverse_kl",
|
| 569 |
+
"loss_type": null,
|
| 570 |
+
"desirable_weight": 1.0,
|
| 571 |
+
"undesirable_weight": 1.0,
|
| 572 |
+
"calculate_KL": null,
|
| 573 |
+
"center_rewards_coefficient": null,
|
| 574 |
+
"teacher_model": null,
|
| 575 |
+
"teacher_model_type": null,
|
| 576 |
+
"teacher_model_revision": null,
|
| 577 |
+
"lmbda": 0.5,
|
| 578 |
+
"seq_kd": false,
|
| 579 |
+
"offload_teacher_model": false,
|
| 580 |
+
"sft_alpha": 0.0,
|
| 581 |
+
"generation_batch_size": null,
|
| 582 |
+
"steps_per_generation": null,
|
| 583 |
+
"num_generations": 8,
|
| 584 |
+
"num_generations_eval": null,
|
| 585 |
+
"max_completion_length": 512,
|
| 586 |
+
"importance_sampling_level": "token",
|
| 587 |
+
"tau_pos": 1.0,
|
| 588 |
+
"tau_neg": 1.05,
|
| 589 |
+
"epsilon": 0.2,
|
| 590 |
+
"epsilon_high": null,
|
| 591 |
+
"delta": null,
|
| 592 |
+
"use_vllm": true,
|
| 593 |
+
"vllm_mode": null,
|
| 594 |
+
"vllm_enable_prefix_caching": true,
|
| 595 |
+
"vllm_gpu_memory_utilization": 0.9,
|
| 596 |
+
"vllm_tensor_parallel_size": 1,
|
| 597 |
+
"vllm_max_model_len": null,
|
| 598 |
+
"vllm_enforce_eager": false,
|
| 599 |
+
"vllm_limit_mm_per_prompt": null,
|
| 600 |
+
"vllm_disable_cascade_attn": false,
|
| 601 |
+
"vllm_max_num_seqs": null,
|
| 602 |
+
"vllm_mm_processor_cache_gb": null,
|
| 603 |
+
"vllm_engine_kwargs": null,
|
| 604 |
+
"sleep_level": 0,
|
| 605 |
+
"offload_optimizer": false,
|
| 606 |
+
"offload_model": false,
|
| 607 |
+
"offload_bridge": false,
|
| 608 |
+
"vllm_server_base_url": null,
|
| 609 |
+
"vllm_server_host": null,
|
| 610 |
+
"vllm_server_port": [
|
| 611 |
+
8000
|
| 612 |
+
],
|
| 613 |
+
"vllm_server_timeout": 240.0,
|
| 614 |
+
"vllm_server_group_port": null,
|
| 615 |
+
"reward_funcs": [],
|
| 616 |
+
"reward_weights": null,
|
| 617 |
+
"cosine_min_len_value_wrong": -0.5,
|
| 618 |
+
"cosine_max_len_value_wrong": 0.0,
|
| 619 |
+
"cosine_min_len_value_correct": 1.0,
|
| 620 |
+
"cosine_max_len_value_correct": 0.5,
|
| 621 |
+
"cosine_max_len": null,
|
| 622 |
+
"repetition_n_grams": 3,
|
| 623 |
+
"repetition_max_penalty": -1.0,
|
| 624 |
+
"soft_max_length": null,
|
| 625 |
+
"soft_cache_length": null,
|
| 626 |
+
"dynamic_sample": false,
|
| 627 |
+
"max_resample_times": 3,
|
| 628 |
+
"overlong_filter": false,
|
| 629 |
+
"scale_rewards": "group",
|
| 630 |
+
"advantage_estimator": "grpo",
|
| 631 |
+
"kl_in_reward": false,
|
| 632 |
+
"wandb_log_unique_prompts": null,
|
| 633 |
+
"log_completions": false,
|
| 634 |
+
"rollout_importance_sampling_mode": null,
|
| 635 |
+
"rollout_importance_sampling_threshold": 2.0,
|
| 636 |
+
"log_rollout_offpolicy_metrics": false,
|
| 637 |
+
"off_policy_sequence_mask_delta": null,
|
| 638 |
+
"log_entropy": false,
|
| 639 |
+
"top_entropy_quantile": 1.0,
|
| 640 |
+
"reward_model": null,
|
| 641 |
+
"reward_model_plugin": null,
|
| 642 |
+
"sync_ref_model": false,
|
| 643 |
+
"ref_model_sync_steps": 512,
|
| 644 |
+
"ref_model_mixup_alpha": 0.6,
|
| 645 |
+
"async_generate": false,
|
| 646 |
+
"move_model_batches": null,
|
| 647 |
+
"multi_turn_scheduler": null,
|
| 648 |
+
"max_turns": null,
|
| 649 |
+
"completion_length_limit_scope": "per_round",
|
| 650 |
+
"vllm_server_pass_dataset": false,
|
| 651 |
+
"num_iterations": 1,
|
| 652 |
+
"check_model": true,
|
| 653 |
+
"padded_vocab_size": 192728,
|
| 654 |
+
"initialize_embedding": false,
|
| 655 |
+
"mlp_padding_free": false,
|
| 656 |
+
"load_safetensors": true,
|
| 657 |
+
"save_safetensors": true,
|
| 658 |
+
"ref_model": null,
|
| 659 |
+
"ref_adapters": [],
|
| 660 |
+
"merge_lora": true,
|
| 661 |
+
"max_shard_size": "5GB",
|
| 662 |
+
"train_dataloader_shuffle": true,
|
| 663 |
+
"dataloader_pin_memory": true,
|
| 664 |
+
"dataloader_persistent_workers": true,
|
| 665 |
+
"dataloader_prefetch_factor": 2,
|
| 666 |
+
"group_by_length": false,
|
| 667 |
+
"architectures": "Qwen3MoeForCausalLM",
|
| 668 |
+
"llm_architectures": "Qwen3MoeForCausalLM",
|
| 669 |
+
"max_epochs": 1,
|
| 670 |
+
"enable_dft_loss": false,
|
| 671 |
+
"enable_channel_loss": false,
|
| 672 |
+
"save_strategy": "steps",
|
| 673 |
+
"original_max_position_embeddings": null,
|
| 674 |
+
"partial_rotary_factor": null,
|
| 675 |
+
"use_shared_expert_gate": false,
|
| 676 |
+
"report_to": "wandb",
|
| 677 |
+
"vit_gradient_checkpointing": true,
|
| 678 |
+
"vit_lr": null,
|
| 679 |
+
"aligner_lr": null,
|
| 680 |
+
"gradient_checkpointing_kwargs": null,
|
| 681 |
+
"linear_num_value_heads": null,
|
| 682 |
+
"linear_num_key_heads": null,
|
| 683 |
+
"linear_key_head_dim": null,
|
| 684 |
+
"linear_value_head_dim": null,
|
| 685 |
+
"linear_conv_kernel_dim": null,
|
| 686 |
+
"layer_types": null,
|
| 687 |
+
"mrope_interleaved": false,
|
| 688 |
+
"add_version": true
|
| 689 |
+
}
|
| 690 |
+
}
|
chat_template.jinja
ADDED
|
@@ -0,0 +1,54 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{%- if tools %}
|
| 2 |
+
{{- '<|im_start|>system\n' }}
|
| 3 |
+
{%- if messages[0]['role'] == 'system' %}
|
| 4 |
+
{{- messages[0]['content'] }}
|
| 5 |
+
{%- else %}
|
| 6 |
+
{{- 'You are Qwen, created by Alibaba Cloud. You are a helpful assistant.' }}
|
| 7 |
+
{%- endif %}
|
| 8 |
+
{{- "\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>" }}
|
| 9 |
+
{%- for tool in tools %}
|
| 10 |
+
{{- "\n" }}
|
| 11 |
+
{{- tool | tojson }}
|
| 12 |
+
{%- endfor %}
|
| 13 |
+
{{- "\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" }}
|
| 14 |
+
{%- else %}
|
| 15 |
+
{%- if messages[0]['role'] == 'system' %}
|
| 16 |
+
{{- '<|im_start|>system\n' + messages[0]['content'] + '<|im_end|>\n' }}
|
| 17 |
+
{%- else %}
|
| 18 |
+
{{- '<|im_start|>system\nYou are Qwen, created by Alibaba Cloud. You are a helpful assistant.<|im_end|>\n' }}
|
| 19 |
+
{%- endif %}
|
| 20 |
+
{%- endif %}
|
| 21 |
+
{%- for message in messages %}
|
| 22 |
+
{%- if (message.role == "user") or (message.role == "system" and not loop.first) or (message.role == "assistant" and not message.tool_calls) %}
|
| 23 |
+
{{- '<|im_start|>' + message.role + '\n' + message.content + '<|im_end|>' + '\n' }}
|
| 24 |
+
{%- elif message.role == "assistant" %}
|
| 25 |
+
{{- '<|im_start|>' + message.role }}
|
| 26 |
+
{%- if message.content %}
|
| 27 |
+
{{- '\n' + message.content }}
|
| 28 |
+
{%- endif %}
|
| 29 |
+
{%- for tool_call in message.tool_calls %}
|
| 30 |
+
{%- if tool_call.function is defined %}
|
| 31 |
+
{%- set tool_call = tool_call.function %}
|
| 32 |
+
{%- endif %}
|
| 33 |
+
{{- '\n<tool_call>\n{"name": "' }}
|
| 34 |
+
{{- tool_call.name }}
|
| 35 |
+
{{- '", "arguments": ' }}
|
| 36 |
+
{{- tool_call.arguments | tojson }}
|
| 37 |
+
{{- '}\n</tool_call>' }}
|
| 38 |
+
{%- endfor %}
|
| 39 |
+
{{- '<|im_end|>\n' }}
|
| 40 |
+
{%- elif message.role == "tool" %}
|
| 41 |
+
{%- if (loop.index0 == 0) or (messages[loop.index0 - 1].role != "tool") %}
|
| 42 |
+
{{- '<|im_start|>user' }}
|
| 43 |
+
{%- endif %}
|
| 44 |
+
{{- '\n<tool_response>\n' }}
|
| 45 |
+
{{- message.content }}
|
| 46 |
+
{{- '\n</tool_response>' }}
|
| 47 |
+
{%- if loop.last or (messages[loop.index0 + 1].role != "tool") %}
|
| 48 |
+
{{- '<|im_end|>\n' }}
|
| 49 |
+
{%- endif %}
|
| 50 |
+
{%- endif %}
|
| 51 |
+
{%- endfor %}
|
| 52 |
+
{%- if add_generation_prompt %}
|
| 53 |
+
{{- '<|im_start|>assistant\n' }}
|
| 54 |
+
{%- endif %}
|
config.json
ADDED
|
@@ -0,0 +1,39 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"architectures": [
|
| 3 |
+
"Qwen3MoeForCausalLM"
|
| 4 |
+
],
|
| 5 |
+
"attention_bias": false,
|
| 6 |
+
"attention_dropout": 0.0,
|
| 7 |
+
"bos_token_id": 151643,
|
| 8 |
+
"decoder_sparse_step": 1,
|
| 9 |
+
"dtype": "bfloat16",
|
| 10 |
+
"eos_token_id": 151645,
|
| 11 |
+
"head_dim": 128,
|
| 12 |
+
"hidden_act": "silu",
|
| 13 |
+
"hidden_size": 2048,
|
| 14 |
+
"initializer_range": 0.02,
|
| 15 |
+
"intermediate_size": 6144,
|
| 16 |
+
"max_position_embeddings": 262144,
|
| 17 |
+
"max_window_layers": 48,
|
| 18 |
+
"mlp_only_layers": [],
|
| 19 |
+
"model_type": "qwen3_moe",
|
| 20 |
+
"moe_intermediate_size": 768,
|
| 21 |
+
"norm_topk_prob": true,
|
| 22 |
+
"num_attention_heads": 32,
|
| 23 |
+
"num_experts": 128,
|
| 24 |
+
"num_experts_per_tok": 8,
|
| 25 |
+
"num_hidden_layers": 64,
|
| 26 |
+
"num_key_value_heads": 4,
|
| 27 |
+
"output_router_logits": false,
|
| 28 |
+
"pad_token_id": 151643,
|
| 29 |
+
"rms_norm_eps": 1e-06,
|
| 30 |
+
"rope_scaling": null,
|
| 31 |
+
"rope_theta": 10000000,
|
| 32 |
+
"router_aux_loss_coef": 0.001,
|
| 33 |
+
"sliding_window": null,
|
| 34 |
+
"tie_word_embeddings": false,
|
| 35 |
+
"transformers_version": "4.57.1",
|
| 36 |
+
"use_cache": true,
|
| 37 |
+
"use_sliding_window": false,
|
| 38 |
+
"vocab_size": 192728
|
| 39 |
+
}
|
latest_checkpointed_iteration.txt
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
115
|
latest_wandb_artifact_path.txt
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
abdelrahmanhagrass11-aic/Qwen-40B-SFT-All_Arabic-English
|
merges.txt
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
model-00001-of-00017.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:93102469f8846c5408442aea00338ffeaccb8c599f646099ab0ee46831a2499a
|
| 3 |
+
size 4997543152
|
model-00002-of-00017.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:4156a724102e7811acb300e5e4b7ccd554fa91551533e4d56fc33dbf6b59ad82
|
| 3 |
+
size 4997741584
|
model-00003-of-00017.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:69dd1813d927693587160a60bf303085d3214012231cc5b838b0184bba381dba
|
| 3 |
+
size 4997742120
|
model-00004-of-00017.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:09ad08ffd8ec3b5202fd30e124890551b5a1c4a4d7224424538cda7f6b6abe72
|
| 3 |
+
size 4997743160
|
model-00005-of-00017.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d06384d7f801d58a98fe171e1c4c17f563b4678228215c79ef7ba3f3cfb3f3f7
|
| 3 |
+
size 4997743160
|
model-00006-of-00017.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:5be6dc0ec5a3f2748598567f4807d28e5b8b242cd3c7eb65ea83ade311f8a6ec
|
| 3 |
+
size 4997743160
|
model-00007-of-00017.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ea6bc5d15c39208908a451beabf47d88e882c32a1be1e02e27cf60ea54d48cde
|
| 3 |
+
size 4997743160
|
model-00008-of-00017.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:cdf00bc980a0e82bb1d77e0c8cf79a0bf59b8889435a7e62bfaddd5831d7eb2e
|
| 3 |
+
size 4997743168
|
model-00009-of-00017.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:441d6efda9997c871d7753f587f9889b7dc1f5e6aea0e158e5ff45b28c2812c7
|
| 3 |
+
size 4997743168
|
model-00010-of-00017.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6bd562f79d874803c55be19e61b4c3e40899b72c09044cef06e8514c487e83bc
|
| 3 |
+
size 4997743168
|
model-00011-of-00017.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f13ed3ef135871644d7cbe2ac35ee5d6e508577685e38ed8dd1e3c743ff5b20b
|
| 3 |
+
size 4997743168
|
model-00012-of-00017.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:8409ed8b092a31dc6603641717260ddb19d516e7dbe13d76a56721f67e1a4632
|
| 3 |
+
size 4997743168
|
model-00013-of-00017.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:30485630d6f3620bb9599bd8c200c2c96e59944e7771622632347204e94c434d
|
| 3 |
+
size 4997743168
|
model-00014-of-00017.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:590e39498553fcfb3a80cd389f65e518fa5dc67078399f24b5f77988adb6b707
|
| 3 |
+
size 4997743168
|
model-00015-of-00017.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:da6d51a27e6299d6f495b61a95eb715ceddc65412128971806e8fd00df985003
|
| 3 |
+
size 4997743168
|
model-00016-of-00017.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:79d9daf67f63c3c1844c2110874a311f41ee0db607d4d6decdb87d6b75824d39
|
| 3 |
+
size 4997743160
|
model-00017-of-00017.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:96c94a6b7e921d22c387b7ee9c635c7ebfda88a5017cde4ff6dac0cc1bf00eda
|
| 3 |
+
size 1377696728
|
model.safetensors.index.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
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:f644d71501367aaa569353e4787cd25cadb851169b709d8712bff51c72ce76f8
|
| 3 |
+
size 15658511
|
tokenizer_config.json
ADDED
|
@@ -0,0 +1,207 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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 |
+
"clean_up_tokenization_spaces": false,
|
| 199 |
+
"eos_token": "<|im_end|>",
|
| 200 |
+
"errors": "replace",
|
| 201 |
+
"extra_special_tokens": {},
|
| 202 |
+
"model_max_length": 131072,
|
| 203 |
+
"pad_token": "<|endoftext|>",
|
| 204 |
+
"split_special_tokens": false,
|
| 205 |
+
"tokenizer_class": "Qwen2Tokenizer",
|
| 206 |
+
"unk_token": null
|
| 207 |
+
}
|
vocab.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|