upload-model-v1
#1
by Mubuky - opened
- .gitattributes +1 -0
- README.md +61 -0
- added_tokens.json +28 -0
- args.json +656 -0
- chat_template.jinja +61 -0
- config.json +39 -0
- merges.txt +0 -0
- model-00001-of-00013.safetensors +3 -0
- model-00002-of-00013.safetensors +3 -0
- model-00003-of-00013.safetensors +3 -0
- model-00004-of-00013.safetensors +3 -0
- model-00005-of-00013.safetensors +3 -0
- model-00006-of-00013.safetensors +3 -0
- model-00007-of-00013.safetensors +3 -0
- model-00008-of-00013.safetensors +3 -0
- model-00009-of-00013.safetensors +3 -0
- model-00010-of-00013.safetensors +3 -0
- model-00011-of-00013.safetensors +3 -0
- model-00012-of-00013.safetensors +3 -0
- model-00013-of-00013.safetensors +3 -0
- model.safetensors.index.json +0 -0
- special_tokens_map.json +31 -0
- tokenizer.json +3 -0
- tokenizer_config.json +239 -0
- vocab.json +0 -0
.gitattributes
CHANGED
|
@@ -33,3 +33,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 36 |
+
tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
README.md
ADDED
|
@@ -0,0 +1,61 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
language:
|
| 3 |
+
- en
|
| 4 |
+
license: apache-2.0
|
| 5 |
+
base_model: Qwen/Qwen3-30B-A3B-Instruct-2507
|
| 6 |
+
tags:
|
| 7 |
+
- scientific-evaluation
|
| 8 |
+
- citation-prediction
|
| 9 |
+
- preference-learning
|
| 10 |
+
- GRPO
|
| 11 |
+
- moe
|
| 12 |
+
pipeline_tag: text-generation
|
| 13 |
+
library_name: transformers
|
| 14 |
+
---
|
| 15 |
+
|
| 16 |
+
# SciJudge-Qwen3-30B
|
| 17 |
+
|
| 18 |
+
SciJudge-Qwen3-30B is a fine-tuned language model for **scientific paper evaluation**. Given two academic papers' metadata (title, abstract, publication date), it predicts which paper has a higher citation count — serving as a proxy for assessing research impact and "scientific taste."
|
| 19 |
+
|
| 20 |
+
This model is part of the paper: **AI Can Learn Scientific Taste**.
|
| 21 |
+
|
| 22 |
+
## Usage
|
| 23 |
+
|
| 24 |
+
```python
|
| 25 |
+
from transformers import AutoModelForCausalLM, AutoTokenizer
|
| 26 |
+
|
| 27 |
+
model_name = "OpenMOSS-Team/SciJudge-30B"
|
| 28 |
+
tokenizer = AutoTokenizer.from_pretrained(model_name)
|
| 29 |
+
model = AutoModelForCausalLM.from_pretrained(model_name, torch_dtype="bfloat16", device_map="auto")
|
| 30 |
+
|
| 31 |
+
messages = [
|
| 32 |
+
{"role": "system", "content": "You are a helpful assistant. You first think about the reasoning process in your mind and then provide the user with the answer."},
|
| 33 |
+
{"role": "user", "content": "Today is 2025-12-10. Based on the titles, abstracts, and publication dates of the following two papers A and B, determine which paper has a higher citation count.\nShow your reasoning process in <reason> </reason> tags. And return the final answer in <answer> </answer> tags. The final answer should contain only 'A' or 'B'.\n\nPaper A:\nTitle: ...\nAbstract: ...\nDate: ...\n\nPaper B:\nTitle: ...\nAbstract: ...\nDate: ..."}
|
| 34 |
+
]
|
| 35 |
+
|
| 36 |
+
text = tokenizer.apply_chat_template(messages, tokenize=False, add_generation_prompt=True)
|
| 37 |
+
inputs = tokenizer(text, return_tensors="pt").to(model.device)
|
| 38 |
+
outputs = model.generate(**inputs, max_new_tokens=2048, temperature=0.7, top_p=0.8, top_k=20)
|
| 39 |
+
response = tokenizer.decode(outputs[0][inputs["input_ids"].shape[-1]:], skip_special_tokens=True)
|
| 40 |
+
print(response)
|
| 41 |
+
```
|
| 42 |
+
|
| 43 |
+
## Training Details
|
| 44 |
+
|
| 45 |
+
- **Base model:** Qwen3-30B-A3B-Instruct-2507 (MoE, 30B total / 3B active)
|
| 46 |
+
- **Training method:** GRPO (Generative Reward Policy Optimization) with DAPO loss
|
| 47 |
+
- **Training data:** 720,341 preference pairs from arXiv papers
|
| 48 |
+
- **Learning rate:** 8e-7 (cosine schedule, 5% warmup)
|
| 49 |
+
- **Micro batch size:** 8, global batch size: 1024
|
| 50 |
+
- **Optimizer:** Adam (with CPU offload)
|
| 51 |
+
- **Precision:** bfloat16
|
| 52 |
+
- **KL coefficient (β):** 0.03
|
| 53 |
+
|
| 54 |
+
## Citation
|
| 55 |
+
|
| 56 |
+
```bibtex
|
| 57 |
+
@article{scijudge2025,
|
| 58 |
+
title={AI Can Learn Scientific Taste},
|
| 59 |
+
year={2025}
|
| 60 |
+
}
|
| 61 |
+
```
|
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,656 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"use_ray": false,
|
| 3 |
+
"ray_exp_name": null,
|
| 4 |
+
"device_groups": null,
|
| 5 |
+
"model": "/inspire/ssd/project/embodied-multimodality/limingzhe-CZXS25250069/ResearchPM/models/Qwen3-30B-A3B-Instruct-2507",
|
| 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": 2048,
|
| 23 |
+
"truncation_strategy": "delete",
|
| 24 |
+
"max_pixels": null,
|
| 25 |
+
"agent_template": null,
|
| 26 |
+
"norm_bbox": null,
|
| 27 |
+
"use_chat_template": true,
|
| 28 |
+
"padding_free": true,
|
| 29 |
+
"padding_side": "right",
|
| 30 |
+
"loss_scale": "last_round",
|
| 31 |
+
"sequence_parallel_size": 1,
|
| 32 |
+
"response_prefix": null,
|
| 33 |
+
"template_backend": "swift",
|
| 34 |
+
"dataset": [
|
| 35 |
+
"/inspire/ssd/project/embodied-multimodality/limingzhe-CZXS25250069/ResearchPM/data/data_train/train_2102715_main_qwen3-instruct.jsonl"
|
| 36 |
+
],
|
| 37 |
+
"val_dataset": [],
|
| 38 |
+
"cached_dataset": [],
|
| 39 |
+
"cached_val_dataset": [],
|
| 40 |
+
"split_dataset_ratio": 0.0,
|
| 41 |
+
"data_seed": 42,
|
| 42 |
+
"dataset_num_proc": 8,
|
| 43 |
+
"load_from_cache_file": true,
|
| 44 |
+
"dataset_shuffle": true,
|
| 45 |
+
"val_dataset_shuffle": false,
|
| 46 |
+
"streaming": false,
|
| 47 |
+
"interleave_prob": null,
|
| 48 |
+
"stopping_strategy": "first_exhausted",
|
| 49 |
+
"shuffle_buffer_size": 1000,
|
| 50 |
+
"download_mode": "reuse_dataset_if_exists",
|
| 51 |
+
"columns": {},
|
| 52 |
+
"strict": false,
|
| 53 |
+
"remove_unused_columns": false,
|
| 54 |
+
"model_name": null,
|
| 55 |
+
"model_author": null,
|
| 56 |
+
"custom_dataset_info": [],
|
| 57 |
+
"quant_method": null,
|
| 58 |
+
"quant_bits": null,
|
| 59 |
+
"hqq_axis": null,
|
| 60 |
+
"bnb_4bit_compute_dtype": "bfloat16",
|
| 61 |
+
"bnb_4bit_quant_type": "nf4",
|
| 62 |
+
"bnb_4bit_use_double_quant": true,
|
| 63 |
+
"bnb_4bit_quant_storage": null,
|
| 64 |
+
"max_new_tokens": null,
|
| 65 |
+
"temperature": 1.0,
|
| 66 |
+
"top_k": 50,
|
| 67 |
+
"top_p": 0.85,
|
| 68 |
+
"repetition_penalty": 1.0,
|
| 69 |
+
"num_beams": 1,
|
| 70 |
+
"stream": false,
|
| 71 |
+
"stop_words": [],
|
| 72 |
+
"logprobs": false,
|
| 73 |
+
"top_logprobs": null,
|
| 74 |
+
"ckpt_dir": null,
|
| 75 |
+
"lora_modules": [],
|
| 76 |
+
"tuner_backend": "peft",
|
| 77 |
+
"train_type": "full",
|
| 78 |
+
"adapters": [],
|
| 79 |
+
"external_plugins": [
|
| 80 |
+
"/inspire/ssd/project/embodied-multimodality/limingzhe-CZXS25250069/ResearchPM/src/plugin.py"
|
| 81 |
+
],
|
| 82 |
+
"seed": 42,
|
| 83 |
+
"model_kwargs": {},
|
| 84 |
+
"load_args": false,
|
| 85 |
+
"load_data_args": false,
|
| 86 |
+
"packing": false,
|
| 87 |
+
"packing_length": null,
|
| 88 |
+
"packing_num_proc": 1,
|
| 89 |
+
"lazy_tokenize": false,
|
| 90 |
+
"custom_register_path": [],
|
| 91 |
+
"use_hf": false,
|
| 92 |
+
"hub_token": null,
|
| 93 |
+
"ddp_timeout": 18000000,
|
| 94 |
+
"ddp_backend": null,
|
| 95 |
+
"ignore_args_error": false,
|
| 96 |
+
"use_swift_lora": false,
|
| 97 |
+
"freeze_llm": false,
|
| 98 |
+
"freeze_vit": true,
|
| 99 |
+
"freeze_aligner": true,
|
| 100 |
+
"freeze_parameters": [],
|
| 101 |
+
"freeze_parameters_regex": null,
|
| 102 |
+
"freeze_parameters_ratio": 0.0,
|
| 103 |
+
"trainable_parameters": [],
|
| 104 |
+
"trainable_parameters_regex": null,
|
| 105 |
+
"adapter_load": null,
|
| 106 |
+
"target_modules": [
|
| 107 |
+
"all-linear"
|
| 108 |
+
],
|
| 109 |
+
"target_regex": null,
|
| 110 |
+
"modules_to_save": [],
|
| 111 |
+
"lora_rank": 8,
|
| 112 |
+
"lora_alpha": 32,
|
| 113 |
+
"lora_dropout": 0.05,
|
| 114 |
+
"lora_bias": "none",
|
| 115 |
+
"lora_dtype": null,
|
| 116 |
+
"use_rslora": false,
|
| 117 |
+
"rlhf_type": "grpo",
|
| 118 |
+
"ref_load": null,
|
| 119 |
+
"ref_adapter_load": null,
|
| 120 |
+
"beta": 0.03,
|
| 121 |
+
"rpo_alpha": null,
|
| 122 |
+
"reference_free": false,
|
| 123 |
+
"label_smoothing": 0.0,
|
| 124 |
+
"f_divergence_type": "reverse_kl",
|
| 125 |
+
"loss_type": "dapo",
|
| 126 |
+
"desirable_weight": 1.0,
|
| 127 |
+
"undesirable_weight": 1.0,
|
| 128 |
+
"calculate_KL": null,
|
| 129 |
+
"center_rewards_coefficient": null,
|
| 130 |
+
"generation_batch_size": 1024,
|
| 131 |
+
"steps_per_generation": 1,
|
| 132 |
+
"num_generations": 8,
|
| 133 |
+
"max_completion_length": 4096,
|
| 134 |
+
"importance_sampling_level": "token",
|
| 135 |
+
"tau_pos": 1.0,
|
| 136 |
+
"tau_neg": 1.05,
|
| 137 |
+
"epsilon": 0.2,
|
| 138 |
+
"epsilon_high": 0.25,
|
| 139 |
+
"delta": null,
|
| 140 |
+
"use_vllm": true,
|
| 141 |
+
"vllm_mode": "colocate",
|
| 142 |
+
"vllm_enable_prefix_caching": true,
|
| 143 |
+
"vllm_gpu_memory_utilization": 0.2,
|
| 144 |
+
"vllm_tensor_parallel_size": 8,
|
| 145 |
+
"vllm_max_model_len": 6144,
|
| 146 |
+
"vllm_enforce_eager": false,
|
| 147 |
+
"vllm_limit_mm_per_prompt": null,
|
| 148 |
+
"vllm_disable_cascade_attn": false,
|
| 149 |
+
"vllm_max_num_seqs": null,
|
| 150 |
+
"vllm_mm_processor_cache_gb": null,
|
| 151 |
+
"vllm_engine_kwargs": {},
|
| 152 |
+
"sleep_level": 1,
|
| 153 |
+
"offload_optimizer": false,
|
| 154 |
+
"offload_model": false,
|
| 155 |
+
"offload_bridge": false,
|
| 156 |
+
"vllm_server_base_url": null,
|
| 157 |
+
"vllm_server_host": null,
|
| 158 |
+
"vllm_server_port": [
|
| 159 |
+
8000
|
| 160 |
+
],
|
| 161 |
+
"vllm_server_timeout": 240.0,
|
| 162 |
+
"vllm_server_group_port": null,
|
| 163 |
+
"reward_funcs": [
|
| 164 |
+
"external_preference",
|
| 165 |
+
"external_format"
|
| 166 |
+
],
|
| 167 |
+
"reward_weights": null,
|
| 168 |
+
"cosine_min_len_value_wrong": -0.5,
|
| 169 |
+
"cosine_max_len_value_wrong": 0.0,
|
| 170 |
+
"cosine_min_len_value_correct": 1.0,
|
| 171 |
+
"cosine_max_len_value_correct": 0.5,
|
| 172 |
+
"cosine_max_len": null,
|
| 173 |
+
"repetition_n_grams": 3,
|
| 174 |
+
"repetition_max_penalty": -1.0,
|
| 175 |
+
"soft_max_length": null,
|
| 176 |
+
"soft_cache_length": null,
|
| 177 |
+
"dynamic_sample": false,
|
| 178 |
+
"max_resample_times": 3,
|
| 179 |
+
"overlong_filter": false,
|
| 180 |
+
"scale_rewards": "group",
|
| 181 |
+
"advantage_estimator": "grpo",
|
| 182 |
+
"kl_in_reward": false,
|
| 183 |
+
"wandb_log_unique_prompts": null,
|
| 184 |
+
"log_completions": true,
|
| 185 |
+
"rollout_importance_sampling_mode": null,
|
| 186 |
+
"rollout_importance_sampling_threshold": 2.0,
|
| 187 |
+
"log_rollout_offpolicy_metrics": false,
|
| 188 |
+
"reward_model": null,
|
| 189 |
+
"reward_model_plugin": null,
|
| 190 |
+
"sync_ref_model": false,
|
| 191 |
+
"ref_model_sync_steps": 512,
|
| 192 |
+
"ref_model_mixup_alpha": 0.6,
|
| 193 |
+
"async_generate": false,
|
| 194 |
+
"move_model_batches": null,
|
| 195 |
+
"multi_turn_scheduler": null,
|
| 196 |
+
"max_turns": null,
|
| 197 |
+
"completion_length_limit_scope": "per_round",
|
| 198 |
+
"vllm_server_pass_dataset": false,
|
| 199 |
+
"log_entropy": false,
|
| 200 |
+
"top_entropy_quantile": 1.0,
|
| 201 |
+
"num_iterations": 1,
|
| 202 |
+
"check_model": false,
|
| 203 |
+
"padded_vocab_size": 151936,
|
| 204 |
+
"initialize_embedding": false,
|
| 205 |
+
"mlp_padding_free": false,
|
| 206 |
+
"load_safetensors": true,
|
| 207 |
+
"save_safetensors": true,
|
| 208 |
+
"ref_model": null,
|
| 209 |
+
"ref_adapters": [],
|
| 210 |
+
"merge_lora": true,
|
| 211 |
+
"max_shard_size": "5GB",
|
| 212 |
+
"dataloader_persistent_workers": true,
|
| 213 |
+
"dataloader_prefetch_factor": 10,
|
| 214 |
+
"architectures": "Qwen3MoeForCausalLM",
|
| 215 |
+
"llm_architectures": "Qwen3MoeForCausalLM",
|
| 216 |
+
"max_epochs": 1,
|
| 217 |
+
"enable_dft_loss": false,
|
| 218 |
+
"enable_channel_loss": false,
|
| 219 |
+
"save_strategy": "steps",
|
| 220 |
+
"original_max_position_embeddings": null,
|
| 221 |
+
"partial_rotary_factor": null,
|
| 222 |
+
"use_shared_expert_gate": false,
|
| 223 |
+
"vit_gradient_checkpointing": true,
|
| 224 |
+
"vit_lr": null,
|
| 225 |
+
"aligner_lr": null,
|
| 226 |
+
"gradient_checkpointing_kwargs": null,
|
| 227 |
+
"linear_num_value_heads": null,
|
| 228 |
+
"linear_num_key_heads": null,
|
| 229 |
+
"linear_key_head_dim": null,
|
| 230 |
+
"linear_value_head_dim": null,
|
| 231 |
+
"linear_conv_kernel_dim": null,
|
| 232 |
+
"layer_types": null,
|
| 233 |
+
"mrope_interleaved": false,
|
| 234 |
+
"micro_batch_size": 8,
|
| 235 |
+
"global_batch_size": 1024,
|
| 236 |
+
"recompute_granularity": "selective",
|
| 237 |
+
"recompute_method": null,
|
| 238 |
+
"recompute_num_layers": null,
|
| 239 |
+
"recompute_modules": [
|
| 240 |
+
"core_attn"
|
| 241 |
+
],
|
| 242 |
+
"use_cpu_initialization": false,
|
| 243 |
+
"deterministic_mode": false,
|
| 244 |
+
"train_iters": null,
|
| 245 |
+
"log_interval": 10,
|
| 246 |
+
"tensorboard_dir": "/inspire/ssd/project/embodied-multimodality/limingzhe-CZXS25250069/ResearchPM/saves/Qwen3-30B-A3B-Instruct-2507/megatron_grpo_train_2102715_main_qwen3-instruct/v0-20260127-211706/runs",
|
| 247 |
+
"no_masked_softmax_fusion": false,
|
| 248 |
+
"no_bias_dropout_fusion": false,
|
| 249 |
+
"no_bias_swiglu_fusion": false,
|
| 250 |
+
"no_rope_fusion": false,
|
| 251 |
+
"no_gradient_accumulation_fusion": false,
|
| 252 |
+
"cross_entropy_loss_fusion": false,
|
| 253 |
+
"cross_entropy_fusion_impl": "native",
|
| 254 |
+
"calculate_per_token_loss": false,
|
| 255 |
+
"use_flash_attn": false,
|
| 256 |
+
"attention_backend": "flash",
|
| 257 |
+
"optimizer": "adam",
|
| 258 |
+
"optimizer_cpu_offload": true,
|
| 259 |
+
"optimizer_offload_fraction": 1.0,
|
| 260 |
+
"use_precision_aware_optimizer": true,
|
| 261 |
+
"main_grads_dtype": "fp32",
|
| 262 |
+
"main_params_dtype": "fp32",
|
| 263 |
+
"exp_avg_dtype": "fp32",
|
| 264 |
+
"exp_avg_sq_dtype": "fp32",
|
| 265 |
+
"dataloader_type": "cyclic",
|
| 266 |
+
"manual_gc": false,
|
| 267 |
+
"manual_gc_interval": 0,
|
| 268 |
+
"lr": 8e-07,
|
| 269 |
+
"lr_decay_style": "cosine",
|
| 270 |
+
"lr_decay_iters": null,
|
| 271 |
+
"lr_warmup_iters": 0,
|
| 272 |
+
"lr_warmup_fraction": 0.05,
|
| 273 |
+
"min_lr": 0,
|
| 274 |
+
"weight_decay": 0.1,
|
| 275 |
+
"clip_grad": 1.0,
|
| 276 |
+
"adam_beta1": 0.9,
|
| 277 |
+
"adam_beta2": 0.95,
|
| 278 |
+
"adam_eps": 1e-08,
|
| 279 |
+
"sgd_momentum": 0.9,
|
| 280 |
+
"save": "/inspire/ssd/project/embodied-multimodality/limingzhe-CZXS25250069/ResearchPM/saves/Qwen3-30B-A3B-Instruct-2507/megatron_grpo_train_2102715_main_qwen3-instruct/v0-20260127-211706",
|
| 281 |
+
"save_interval": 250,
|
| 282 |
+
"save_retain_interval": null,
|
| 283 |
+
"no_save_optim": false,
|
| 284 |
+
"no_save_rng": false,
|
| 285 |
+
"load": null,
|
| 286 |
+
"no_load_optim": false,
|
| 287 |
+
"no_load_rng": false,
|
| 288 |
+
"finetune": true,
|
| 289 |
+
"ckpt_format": "torch_dist",
|
| 290 |
+
"no_initialization": true,
|
| 291 |
+
"auto_detect_ckpt_format": true,
|
| 292 |
+
"exit_on_missing_checkpoint": true,
|
| 293 |
+
"async_save": false,
|
| 294 |
+
"use_persistent_ckpt_worker": false,
|
| 295 |
+
"ckpt_fully_parallel_load": false,
|
| 296 |
+
"ckpt_assume_constant_structure": false,
|
| 297 |
+
"distributed_backend": "nccl",
|
| 298 |
+
"local_rank": 0,
|
| 299 |
+
"use_distributed_optimizer": true,
|
| 300 |
+
"tensor_model_parallel_size": 4,
|
| 301 |
+
"pipeline_model_parallel_size": 1,
|
| 302 |
+
"decoder_first_pipeline_num_layers": null,
|
| 303 |
+
"decoder_last_pipeline_num_layers": null,
|
| 304 |
+
"account_for_embedding_in_pipeline_split": false,
|
| 305 |
+
"account_for_loss_in_pipeline_split": false,
|
| 306 |
+
"sequence_parallel": true,
|
| 307 |
+
"context_parallel_size": 1,
|
| 308 |
+
"tp_comm_overlap": false,
|
| 309 |
+
"overlap_grad_reduce": false,
|
| 310 |
+
"overlap_param_gather": false,
|
| 311 |
+
"distributed_timeout_minutes": 300000,
|
| 312 |
+
"num_layers_per_virtual_pipeline_stage": null,
|
| 313 |
+
"num_virtual_stages_per_pipeline_rank": null,
|
| 314 |
+
"microbatch_group_size_per_virtual_pipeline_stage": null,
|
| 315 |
+
"pipeline_model_parallel_layout": null,
|
| 316 |
+
"num_layers": 48,
|
| 317 |
+
"hidden_size": 2048,
|
| 318 |
+
"ffn_hidden_size": null,
|
| 319 |
+
"num_attention_heads": 32,
|
| 320 |
+
"group_query_attention": true,
|
| 321 |
+
"num_query_groups": 4,
|
| 322 |
+
"softmax_type": "vanilla",
|
| 323 |
+
"window_size": null,
|
| 324 |
+
"window_attn_skip_freq": null,
|
| 325 |
+
"max_position_embeddings": 262144,
|
| 326 |
+
"position_embedding_type": "rope",
|
| 327 |
+
"mrope_section": null,
|
| 328 |
+
"rotary_base": 10000000,
|
| 329 |
+
"rotary_percent": 1.0,
|
| 330 |
+
"rotary_interleaved": false,
|
| 331 |
+
"normalization": "RMSNorm",
|
| 332 |
+
"norm_epsilon": 1e-06,
|
| 333 |
+
"swiglu": true,
|
| 334 |
+
"quick_geglu": false,
|
| 335 |
+
"activation_func_clamp_value": null,
|
| 336 |
+
"glu_linear_offset": 0.0,
|
| 337 |
+
"untie_embeddings_and_output_weights": true,
|
| 338 |
+
"disable_bias_linear": true,
|
| 339 |
+
"add_qkv_bias": false,
|
| 340 |
+
"attention_dropout": 0.0,
|
| 341 |
+
"hidden_dropout": 0.0,
|
| 342 |
+
"kv_channels": 128,
|
| 343 |
+
"qk_layernorm": true,
|
| 344 |
+
"qk_l2_norm": null,
|
| 345 |
+
"no_rope_freq": null,
|
| 346 |
+
"moe_apply_probs_on_input": null,
|
| 347 |
+
"transformer_impl": "transformer_engine",
|
| 348 |
+
"num_experts": 128,
|
| 349 |
+
"moe_layer_freq": "1",
|
| 350 |
+
"moe_ffn_hidden_size": 768,
|
| 351 |
+
"moe_shared_expert_intermediate_size": null,
|
| 352 |
+
"moe_router_topk": 8,
|
| 353 |
+
"moe_router_num_groups": null,
|
| 354 |
+
"moe_router_group_topk": null,
|
| 355 |
+
"moe_router_pre_softmax": false,
|
| 356 |
+
"moe_router_dtype": "fp32",
|
| 357 |
+
"moe_router_score_function": "softmax",
|
| 358 |
+
"moe_router_bias_update_rate": null,
|
| 359 |
+
"moe_router_enable_expert_bias": false,
|
| 360 |
+
"moe_router_topk_scaling_factor": null,
|
| 361 |
+
"moe_router_load_balancing_type": "aux_loss",
|
| 362 |
+
"expert_model_parallel_size": 8,
|
| 363 |
+
"expert_tensor_parallel_size": 1,
|
| 364 |
+
"moe_token_dispatcher_type": null,
|
| 365 |
+
"moe_enable_deepep": false,
|
| 366 |
+
"moe_grouped_gemm": true,
|
| 367 |
+
"moe_permute_fusion": false,
|
| 368 |
+
"moe_aux_loss_coeff": 0.0,
|
| 369 |
+
"moe_z_loss_coeff": null,
|
| 370 |
+
"moe_shared_expert_overlap": false,
|
| 371 |
+
"moe_layer_recompute": false,
|
| 372 |
+
"moe_expert_capacity_factor": null,
|
| 373 |
+
"moe_pad_expert_input_to_capacity": false,
|
| 374 |
+
"moe_token_drop_policy": null,
|
| 375 |
+
"multi_latent_attention": false,
|
| 376 |
+
"q_lora_rank": null,
|
| 377 |
+
"kv_lora_rank": 32,
|
| 378 |
+
"qk_head_dim": 128,
|
| 379 |
+
"qk_pos_emb_head_dim": 64,
|
| 380 |
+
"mtp_num_layers": null,
|
| 381 |
+
"mtp_loss_scaling_factor": 0.1,
|
| 382 |
+
"fp8_format": null,
|
| 383 |
+
"fp8_recipe": "delayed",
|
| 384 |
+
"fp8_amax_history_len": 1024,
|
| 385 |
+
"fp8_amax_compute_algo": "max",
|
| 386 |
+
"fp8_param_gather": false,
|
| 387 |
+
"fp16": false,
|
| 388 |
+
"bf16": true,
|
| 389 |
+
"apply_query_key_layer_scaling": false,
|
| 390 |
+
"attention_softmax_in_fp32": true,
|
| 391 |
+
"log_params_norm": false,
|
| 392 |
+
"log_throughput": false,
|
| 393 |
+
"tensorboard_log_interval": 1,
|
| 394 |
+
"tensorboard_queue_size": 50,
|
| 395 |
+
"log_timers_to_tensorboard": true,
|
| 396 |
+
"no_log_learning_rate_to_tensorboard": false,
|
| 397 |
+
"log_validation_ppl_to_tensorboard": true,
|
| 398 |
+
"log_memory_to_tensorboard": true,
|
| 399 |
+
"logging_level": null,
|
| 400 |
+
"wandb_project": null,
|
| 401 |
+
"wandb_exp_name": null,
|
| 402 |
+
"wandb_save_dir": null,
|
| 403 |
+
"eval_iters": -1,
|
| 404 |
+
"eval_interval": 250,
|
| 405 |
+
"seq_length": 2048,
|
| 406 |
+
"num_workers": 8,
|
| 407 |
+
"megatron_extra_kwargs": {},
|
| 408 |
+
"add_version": true,
|
| 409 |
+
"rank": 0,
|
| 410 |
+
"global_world_size": 64,
|
| 411 |
+
"local_world_size": 8,
|
| 412 |
+
"model_suffix": "Qwen3-30B-A3B-Instruct-2507",
|
| 413 |
+
"model_info": "ModelInfo(model_type='qwen3_nothinking', model_dir='/inspire/ssd/project/embodied-multimodality/limingzhe-CZXS25250069/ResearchPM/models/Qwen3-30B-A3B-Instruct-2507', 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)",
|
| 414 |
+
"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 0x7f6f19f2b380>, 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=[])",
|
| 415 |
+
"model_dir": "/inspire/ssd/project/embodied-multimodality/limingzhe-CZXS25250069/ResearchPM/models/Qwen3-30B-A3B-Instruct-2507",
|
| 416 |
+
"_val_dataset_exists": [],
|
| 417 |
+
"hub": "<class 'swift.hub.hub.MSHub'>",
|
| 418 |
+
"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', '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 0x7f6e917fbce0>, visual_cls=None, extra_args_provider=None)",
|
| 419 |
+
"per_device_generation_batch_size": 16,
|
| 420 |
+
"extra_args": {
|
| 421 |
+
"model_dir": "/inspire/ssd/project/embodied-multimodality/limingzhe-CZXS25250069/ResearchPM/models/Qwen3-30B-A3B-Instruct-2507",
|
| 422 |
+
"is_multimodal": false,
|
| 423 |
+
"hf_model_type": "qwen3_nothinking",
|
| 424 |
+
"use_ray": false,
|
| 425 |
+
"ray_exp_name": null,
|
| 426 |
+
"device_groups": null,
|
| 427 |
+
"model": "/inspire/ssd/project/embodied-multimodality/limingzhe-CZXS25250069/ResearchPM/models/Qwen3-30B-A3B-Instruct-2507",
|
| 428 |
+
"model_type": "qwen3_nothinking",
|
| 429 |
+
"model_revision": null,
|
| 430 |
+
"task_type": "causal_lm",
|
| 431 |
+
"torch_dtype": "bfloat16",
|
| 432 |
+
"attn_impl": null,
|
| 433 |
+
"new_special_tokens": [],
|
| 434 |
+
"num_labels": null,
|
| 435 |
+
"problem_type": null,
|
| 436 |
+
"rope_scaling": null,
|
| 437 |
+
"device_map": null,
|
| 438 |
+
"max_memory": {},
|
| 439 |
+
"max_model_len": null,
|
| 440 |
+
"local_repo_path": null,
|
| 441 |
+
"init_strategy": null,
|
| 442 |
+
"template": "qwen3_nothinking",
|
| 443 |
+
"system": null,
|
| 444 |
+
"max_length": 2048,
|
| 445 |
+
"truncation_strategy": "delete",
|
| 446 |
+
"max_pixels": null,
|
| 447 |
+
"agent_template": null,
|
| 448 |
+
"norm_bbox": null,
|
| 449 |
+
"use_chat_template": true,
|
| 450 |
+
"padding_free": true,
|
| 451 |
+
"padding_side": "right",
|
| 452 |
+
"sequence_parallel_size": 1,
|
| 453 |
+
"response_prefix": null,
|
| 454 |
+
"template_backend": "swift",
|
| 455 |
+
"dataset": [
|
| 456 |
+
"/inspire/ssd/project/embodied-multimodality/limingzhe-CZXS25250069/ResearchPM/data/data_train/train_2102715_main_qwen3-instruct.jsonl"
|
| 457 |
+
],
|
| 458 |
+
"val_dataset": [],
|
| 459 |
+
"cached_dataset": [],
|
| 460 |
+
"cached_val_dataset": [],
|
| 461 |
+
"split_dataset_ratio": 0.0,
|
| 462 |
+
"data_seed": 42,
|
| 463 |
+
"dataset_num_proc": 8,
|
| 464 |
+
"load_from_cache_file": true,
|
| 465 |
+
"dataset_shuffle": true,
|
| 466 |
+
"val_dataset_shuffle": false,
|
| 467 |
+
"streaming": false,
|
| 468 |
+
"interleave_prob": null,
|
| 469 |
+
"stopping_strategy": "first_exhausted",
|
| 470 |
+
"shuffle_buffer_size": 1000,
|
| 471 |
+
"download_mode": "reuse_dataset_if_exists",
|
| 472 |
+
"columns": {},
|
| 473 |
+
"strict": false,
|
| 474 |
+
"remove_unused_columns": false,
|
| 475 |
+
"model_name": null,
|
| 476 |
+
"model_author": null,
|
| 477 |
+
"custom_dataset_info": [],
|
| 478 |
+
"quant_method": null,
|
| 479 |
+
"quant_bits": null,
|
| 480 |
+
"hqq_axis": null,
|
| 481 |
+
"bnb_4bit_compute_dtype": "bfloat16",
|
| 482 |
+
"bnb_4bit_quant_type": "nf4",
|
| 483 |
+
"bnb_4bit_use_double_quant": true,
|
| 484 |
+
"bnb_4bit_quant_storage": null,
|
| 485 |
+
"max_new_tokens": null,
|
| 486 |
+
"temperature": 1.0,
|
| 487 |
+
"top_k": 50,
|
| 488 |
+
"top_p": 0.85,
|
| 489 |
+
"repetition_penalty": 1.0,
|
| 490 |
+
"num_beams": 1,
|
| 491 |
+
"stream": false,
|
| 492 |
+
"stop_words": [],
|
| 493 |
+
"logprobs": false,
|
| 494 |
+
"top_logprobs": null,
|
| 495 |
+
"ckpt_dir": null,
|
| 496 |
+
"lora_modules": [],
|
| 497 |
+
"tuner_backend": "peft",
|
| 498 |
+
"train_type": "full",
|
| 499 |
+
"adapters": [],
|
| 500 |
+
"external_plugins": [
|
| 501 |
+
"/inspire/ssd/project/embodied-multimodality/limingzhe-CZXS25250069/ResearchPM/src/plugin.py"
|
| 502 |
+
],
|
| 503 |
+
"model_kwargs": {},
|
| 504 |
+
"load_args": false,
|
| 505 |
+
"load_data_args": false,
|
| 506 |
+
"packing": false,
|
| 507 |
+
"packing_length": null,
|
| 508 |
+
"packing_num_proc": 1,
|
| 509 |
+
"lazy_tokenize": false,
|
| 510 |
+
"custom_register_path": [],
|
| 511 |
+
"use_hf": false,
|
| 512 |
+
"hub_token": null,
|
| 513 |
+
"ddp_timeout": 18000000,
|
| 514 |
+
"ddp_backend": null,
|
| 515 |
+
"ignore_args_error": false,
|
| 516 |
+
"use_swift_lora": false,
|
| 517 |
+
"freeze_llm": false,
|
| 518 |
+
"freeze_vit": true,
|
| 519 |
+
"freeze_aligner": true,
|
| 520 |
+
"freeze_parameters": [],
|
| 521 |
+
"freeze_parameters_regex": null,
|
| 522 |
+
"freeze_parameters_ratio": 0.0,
|
| 523 |
+
"trainable_parameters": [],
|
| 524 |
+
"trainable_parameters_regex": null,
|
| 525 |
+
"adapter_load": null,
|
| 526 |
+
"target_modules": [
|
| 527 |
+
"all-linear"
|
| 528 |
+
],
|
| 529 |
+
"target_regex": null,
|
| 530 |
+
"modules_to_save": [],
|
| 531 |
+
"lora_rank": 8,
|
| 532 |
+
"lora_alpha": 32,
|
| 533 |
+
"lora_dropout": 0.05,
|
| 534 |
+
"lora_bias": "none",
|
| 535 |
+
"lora_dtype": null,
|
| 536 |
+
"use_rslora": false,
|
| 537 |
+
"rlhf_type": "grpo",
|
| 538 |
+
"ref_load": null,
|
| 539 |
+
"ref_adapter_load": null,
|
| 540 |
+
"beta": 0.03,
|
| 541 |
+
"rpo_alpha": null,
|
| 542 |
+
"reference_free": false,
|
| 543 |
+
"label_smoothing": 0.0,
|
| 544 |
+
"f_divergence_type": "reverse_kl",
|
| 545 |
+
"loss_type": "dapo",
|
| 546 |
+
"desirable_weight": 1.0,
|
| 547 |
+
"undesirable_weight": 1.0,
|
| 548 |
+
"calculate_KL": null,
|
| 549 |
+
"center_rewards_coefficient": null,
|
| 550 |
+
"generation_batch_size": 1024,
|
| 551 |
+
"steps_per_generation": 1,
|
| 552 |
+
"num_generations": 8,
|
| 553 |
+
"max_completion_length": 4096,
|
| 554 |
+
"importance_sampling_level": "token",
|
| 555 |
+
"tau_pos": 1.0,
|
| 556 |
+
"tau_neg": 1.05,
|
| 557 |
+
"epsilon": 0.2,
|
| 558 |
+
"epsilon_high": 0.25,
|
| 559 |
+
"delta": null,
|
| 560 |
+
"use_vllm": true,
|
| 561 |
+
"vllm_mode": "colocate",
|
| 562 |
+
"vllm_enable_prefix_caching": true,
|
| 563 |
+
"vllm_gpu_memory_utilization": 0.2,
|
| 564 |
+
"vllm_tensor_parallel_size": 8,
|
| 565 |
+
"vllm_max_model_len": 6144,
|
| 566 |
+
"vllm_enforce_eager": false,
|
| 567 |
+
"vllm_limit_mm_per_prompt": null,
|
| 568 |
+
"vllm_disable_cascade_attn": false,
|
| 569 |
+
"vllm_max_num_seqs": null,
|
| 570 |
+
"vllm_mm_processor_cache_gb": null,
|
| 571 |
+
"vllm_engine_kwargs": {},
|
| 572 |
+
"sleep_level": 1,
|
| 573 |
+
"offload_optimizer": false,
|
| 574 |
+
"offload_model": false,
|
| 575 |
+
"offload_bridge": false,
|
| 576 |
+
"vllm_server_base_url": null,
|
| 577 |
+
"vllm_server_host": null,
|
| 578 |
+
"vllm_server_port": [
|
| 579 |
+
8000
|
| 580 |
+
],
|
| 581 |
+
"vllm_server_timeout": 240.0,
|
| 582 |
+
"vllm_server_group_port": null,
|
| 583 |
+
"reward_funcs": [
|
| 584 |
+
"external_preference",
|
| 585 |
+
"external_format"
|
| 586 |
+
],
|
| 587 |
+
"reward_weights": null,
|
| 588 |
+
"cosine_min_len_value_wrong": -0.5,
|
| 589 |
+
"cosine_max_len_value_wrong": 0.0,
|
| 590 |
+
"cosine_min_len_value_correct": 1.0,
|
| 591 |
+
"cosine_max_len_value_correct": 0.5,
|
| 592 |
+
"cosine_max_len": null,
|
| 593 |
+
"repetition_n_grams": 3,
|
| 594 |
+
"repetition_max_penalty": -1.0,
|
| 595 |
+
"soft_max_length": null,
|
| 596 |
+
"soft_cache_length": null,
|
| 597 |
+
"dynamic_sample": false,
|
| 598 |
+
"max_resample_times": 3,
|
| 599 |
+
"overlong_filter": false,
|
| 600 |
+
"scale_rewards": "group",
|
| 601 |
+
"advantage_estimator": "grpo",
|
| 602 |
+
"kl_in_reward": false,
|
| 603 |
+
"wandb_log_unique_prompts": null,
|
| 604 |
+
"log_completions": true,
|
| 605 |
+
"rollout_importance_sampling_mode": null,
|
| 606 |
+
"rollout_importance_sampling_threshold": 2.0,
|
| 607 |
+
"log_rollout_offpolicy_metrics": false,
|
| 608 |
+
"reward_model": null,
|
| 609 |
+
"reward_model_plugin": null,
|
| 610 |
+
"sync_ref_model": false,
|
| 611 |
+
"ref_model_sync_steps": 512,
|
| 612 |
+
"ref_model_mixup_alpha": 0.6,
|
| 613 |
+
"async_generate": false,
|
| 614 |
+
"move_model_batches": null,
|
| 615 |
+
"multi_turn_scheduler": null,
|
| 616 |
+
"max_turns": null,
|
| 617 |
+
"completion_length_limit_scope": "per_round",
|
| 618 |
+
"vllm_server_pass_dataset": false,
|
| 619 |
+
"log_entropy": false,
|
| 620 |
+
"top_entropy_quantile": 1.0,
|
| 621 |
+
"num_iterations": 1,
|
| 622 |
+
"check_model": false,
|
| 623 |
+
"padded_vocab_size": 151936,
|
| 624 |
+
"initialize_embedding": false,
|
| 625 |
+
"mlp_padding_free": false,
|
| 626 |
+
"load_safetensors": true,
|
| 627 |
+
"save_safetensors": true,
|
| 628 |
+
"ref_model": null,
|
| 629 |
+
"ref_adapters": [],
|
| 630 |
+
"merge_lora": true,
|
| 631 |
+
"max_shard_size": "5GB",
|
| 632 |
+
"dataloader_persistent_workers": true,
|
| 633 |
+
"dataloader_prefetch_factor": 10,
|
| 634 |
+
"architectures": "Qwen3MoeForCausalLM",
|
| 635 |
+
"llm_architectures": "Qwen3MoeForCausalLM",
|
| 636 |
+
"max_epochs": 1,
|
| 637 |
+
"enable_dft_loss": false,
|
| 638 |
+
"enable_channel_loss": false,
|
| 639 |
+
"save_strategy": "steps",
|
| 640 |
+
"original_max_position_embeddings": null,
|
| 641 |
+
"partial_rotary_factor": null,
|
| 642 |
+
"use_shared_expert_gate": false,
|
| 643 |
+
"vit_gradient_checkpointing": true,
|
| 644 |
+
"vit_lr": null,
|
| 645 |
+
"aligner_lr": null,
|
| 646 |
+
"gradient_checkpointing_kwargs": null,
|
| 647 |
+
"linear_num_value_heads": null,
|
| 648 |
+
"linear_num_key_heads": null,
|
| 649 |
+
"linear_key_head_dim": null,
|
| 650 |
+
"linear_value_head_dim": null,
|
| 651 |
+
"linear_conv_kernel_dim": null,
|
| 652 |
+
"layer_types": null,
|
| 653 |
+
"mrope_interleaved": false,
|
| 654 |
+
"add_version": true
|
| 655 |
+
}
|
| 656 |
+
}
|
chat_template.jinja
ADDED
|
@@ -0,0 +1,61 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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 |
+
{%- for message in messages %}
|
| 18 |
+
{%- if message.content is string %}
|
| 19 |
+
{%- set content = message.content %}
|
| 20 |
+
{%- else %}
|
| 21 |
+
{%- set content = '' %}
|
| 22 |
+
{%- endif %}
|
| 23 |
+
{%- if (message.role == "user") or (message.role == "system" and not loop.first) %}
|
| 24 |
+
{{- '<|im_start|>' + message.role + '\n' + content + '<|im_end|>' + '\n' }}
|
| 25 |
+
{%- elif message.role == "assistant" %}
|
| 26 |
+
{{- '<|im_start|>' + message.role + '\n' + content }}
|
| 27 |
+
{%- if message.tool_calls %}
|
| 28 |
+
{%- for tool_call in message.tool_calls %}
|
| 29 |
+
{%- if (loop.first and content) or (not loop.first) %}
|
| 30 |
+
{{- '\n' }}
|
| 31 |
+
{%- endif %}
|
| 32 |
+
{%- if tool_call.function %}
|
| 33 |
+
{%- set tool_call = tool_call.function %}
|
| 34 |
+
{%- endif %}
|
| 35 |
+
{{- '<tool_call>\n{"name": "' }}
|
| 36 |
+
{{- tool_call.name }}
|
| 37 |
+
{{- '", "arguments": ' }}
|
| 38 |
+
{%- if tool_call.arguments is string %}
|
| 39 |
+
{{- tool_call.arguments }}
|
| 40 |
+
{%- else %}
|
| 41 |
+
{{- tool_call.arguments | tojson }}
|
| 42 |
+
{%- endif %}
|
| 43 |
+
{{- '}\n</tool_call>' }}
|
| 44 |
+
{%- endfor %}
|
| 45 |
+
{%- endif %}
|
| 46 |
+
{{- '<|im_end|>\n' }}
|
| 47 |
+
{%- elif message.role == "tool" %}
|
| 48 |
+
{%- if loop.first or (messages[loop.index0 - 1].role != "tool") %}
|
| 49 |
+
{{- '<|im_start|>user' }}
|
| 50 |
+
{%- endif %}
|
| 51 |
+
{{- '\n<tool_response>\n' }}
|
| 52 |
+
{{- content }}
|
| 53 |
+
{{- '\n</tool_response>' }}
|
| 54 |
+
{%- if loop.last or (messages[loop.index0 + 1].role != "tool") %}
|
| 55 |
+
{{- '<|im_end|>\n' }}
|
| 56 |
+
{%- endif %}
|
| 57 |
+
{%- endif %}
|
| 58 |
+
{%- endfor %}
|
| 59 |
+
{%- if add_generation_prompt %}
|
| 60 |
+
{{- '<|im_start|>assistant\n' }}
|
| 61 |
+
{%- 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": 48,
|
| 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.3",
|
| 36 |
+
"use_cache": true,
|
| 37 |
+
"use_sliding_window": false,
|
| 38 |
+
"vocab_size": 151936
|
| 39 |
+
}
|
merges.txt
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
model-00001-of-00013.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b48e378c7918d0bf98de6175ff4aeedf6aa6171dc824149bff2bde2f87faf8d6
|
| 3 |
+
size 4997189144
|
model-00002-of-00013.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:bc5f911263f664ed7ae864aefb6806f80f893eaf0593997af2b19347bab96fa0
|
| 3 |
+
size 4997741584
|
model-00003-of-00013.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:67ec051557661552d7defa90828c1679a053579db935f67cca7381037e9260ac
|
| 3 |
+
size 4997742176
|
model-00004-of-00013.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:23b540be2b1e67208fed414d477c6ff858c5d3bf686a30de011909555eb14a9b
|
| 3 |
+
size 4997743160
|
model-00005-of-00013.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:4a4998521e5d06557f51ffdd83e70ce19c71992edc0c414278ac75caff8d7f20
|
| 3 |
+
size 4997743160
|
model-00006-of-00013.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:8d83ecb54e6eb825dc90310c3c4bd748af57ab148d4c20fb022ac072b8eb4b11
|
| 3 |
+
size 4997743160
|
model-00007-of-00013.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:0aeb84b549f84fd152bdc92bd39a8a021ec26d04b59316c3bd2f68a55745b79c
|
| 3 |
+
size 4997743160
|
model-00008-of-00013.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:0f3cace863868273e2dddc0ea2ec075ac6aeb39cc349752f6a3b50f46c17afa0
|
| 3 |
+
size 4997743160
|
model-00009-of-00013.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:19fdc64cf26ab8310b026a6b6064496dc12ed904217eefe7a43da183eadfddd3
|
| 3 |
+
size 4997743160
|
model-00010-of-00013.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ce756f84dc1def16f4d5f7a41cffd148aff93d3994d7ae37d8bbe0e2fa3d96a1
|
| 3 |
+
size 4997743160
|
model-00011-of-00013.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:274bf2c230cb0c667d50724b6c20b68380fb0cf6a9f15a02a8f4afee11bec5f9
|
| 3 |
+
size 4997743168
|
model-00012-of-00013.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:877066e60cc0e27f1e82754c96189dc44aecd6d1372b8f5529d57191f3d080be
|
| 3 |
+
size 4997743168
|
model-00013-of-00013.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:74c6aeaed286ee8523bb93f8ffc5e60b45df3a114c5fed10458c1159253fd8ae
|
| 3 |
+
size 1094216056
|
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:aeb13307a71acd8fe81861d94ad54ab689df773318809eed3cbe794b4492dae4
|
| 3 |
+
size 11422654
|
tokenizer_config.json
ADDED
|
@@ -0,0 +1,239 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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": 1010000,
|
| 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
|
|
|