Instructions to use Sangsang/sdpo_Qwen3-4B_lora32_n2048_seed42_lr1e-05_mcl16384_full_voacb with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use Sangsang/sdpo_Qwen3-4B_lora32_n2048_seed42_lr1e-05_mcl16384_full_voacb with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("Qwen/Qwen3-4B") model = PeftModel.from_pretrained(base_model, "Sangsang/sdpo_Qwen3-4B_lora32_n2048_seed42_lr1e-05_mcl16384_full_voacb") - Transformers
How to use Sangsang/sdpo_Qwen3-4B_lora32_n2048_seed42_lr1e-05_mcl16384_full_voacb with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="Sangsang/sdpo_Qwen3-4B_lora32_n2048_seed42_lr1e-05_mcl16384_full_voacb") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("Sangsang/sdpo_Qwen3-4B_lora32_n2048_seed42_lr1e-05_mcl16384_full_voacb", dtype="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use Sangsang/sdpo_Qwen3-4B_lora32_n2048_seed42_lr1e-05_mcl16384_full_voacb with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "Sangsang/sdpo_Qwen3-4B_lora32_n2048_seed42_lr1e-05_mcl16384_full_voacb" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Sangsang/sdpo_Qwen3-4B_lora32_n2048_seed42_lr1e-05_mcl16384_full_voacb", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/Sangsang/sdpo_Qwen3-4B_lora32_n2048_seed42_lr1e-05_mcl16384_full_voacb
- SGLang
How to use Sangsang/sdpo_Qwen3-4B_lora32_n2048_seed42_lr1e-05_mcl16384_full_voacb with SGLang:
Install from pip and serve model
# Install SGLang from pip: pip install sglang # Start the SGLang server: python3 -m sglang.launch_server \ --model-path "Sangsang/sdpo_Qwen3-4B_lora32_n2048_seed42_lr1e-05_mcl16384_full_voacb" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Sangsang/sdpo_Qwen3-4B_lora32_n2048_seed42_lr1e-05_mcl16384_full_voacb", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker images
docker run --gpus all \ --shm-size 32g \ -p 30000:30000 \ -v ~/.cache/huggingface:/root/.cache/huggingface \ --env "HF_TOKEN=<secret>" \ --ipc=host \ lmsysorg/sglang:latest \ python3 -m sglang.launch_server \ --model-path "Sangsang/sdpo_Qwen3-4B_lora32_n2048_seed42_lr1e-05_mcl16384_full_voacb" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Sangsang/sdpo_Qwen3-4B_lora32_n2048_seed42_lr1e-05_mcl16384_full_voacb", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use Sangsang/sdpo_Qwen3-4B_lora32_n2048_seed42_lr1e-05_mcl16384_full_voacb with Docker Model Runner:
docker model run hf.co/Sangsang/sdpo_Qwen3-4B_lora32_n2048_seed42_lr1e-05_mcl16384_full_voacb
Upload folder using huggingface_hub
Browse filesThis view is limited to 50 files because it contains too many changes. See raw diff
- .gitattributes +11 -0
- README.md +72 -0
- adapter_config.json +48 -0
- adapter_model.safetensors +3 -0
- added_tokens.json +28 -0
- chat_template.jinja +89 -0
- checkpoint-10/README.md +210 -0
- checkpoint-10/adapter_config.json +48 -0
- checkpoint-10/adapter_model.safetensors +3 -0
- checkpoint-10/added_tokens.json +28 -0
- checkpoint-10/chat_template.jinja +89 -0
- checkpoint-10/merges.txt +0 -0
- checkpoint-10/optimizer.pt +3 -0
- checkpoint-10/rng_state.pth +3 -0
- checkpoint-10/scheduler.pt +3 -0
- checkpoint-10/special_tokens_map.json +31 -0
- checkpoint-10/tokenizer.json +3 -0
- checkpoint-10/tokenizer_config.json +240 -0
- checkpoint-10/trainer_state.json +354 -0
- checkpoint-10/training_args.bin +3 -0
- checkpoint-10/vocab.json +0 -0
- checkpoint-100/README.md +210 -0
- checkpoint-100/adapter_config.json +48 -0
- checkpoint-100/adapter_model.safetensors +3 -0
- checkpoint-100/added_tokens.json +28 -0
- checkpoint-100/chat_template.jinja +89 -0
- checkpoint-100/merges.txt +0 -0
- checkpoint-100/optimizer.pt +3 -0
- checkpoint-100/rng_state.pth +3 -0
- checkpoint-100/scheduler.pt +3 -0
- checkpoint-100/special_tokens_map.json +31 -0
- checkpoint-100/tokenizer.json +3 -0
- checkpoint-100/tokenizer_config.json +240 -0
- checkpoint-100/trainer_state.json +0 -0
- checkpoint-100/training_args.bin +3 -0
- checkpoint-100/vocab.json +0 -0
- checkpoint-20/README.md +210 -0
- checkpoint-20/adapter_config.json +48 -0
- checkpoint-20/adapter_model.safetensors +3 -0
- checkpoint-20/added_tokens.json +28 -0
- checkpoint-20/chat_template.jinja +89 -0
- checkpoint-20/merges.txt +0 -0
- checkpoint-20/optimizer.pt +3 -0
- checkpoint-20/rng_state.pth +3 -0
- checkpoint-20/scheduler.pt +3 -0
- checkpoint-20/special_tokens_map.json +31 -0
- checkpoint-20/tokenizer.json +3 -0
- checkpoint-20/tokenizer_config.json +240 -0
- checkpoint-20/trainer_state.json +674 -0
- checkpoint-20/training_args.bin +3 -0
.gitattributes
CHANGED
|
@@ -33,3 +33,14 @@ 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 |
+
checkpoint-10/tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
| 37 |
+
checkpoint-100/tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
| 38 |
+
checkpoint-20/tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
| 39 |
+
checkpoint-30/tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
| 40 |
+
checkpoint-40/tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
| 41 |
+
checkpoint-50/tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
| 42 |
+
checkpoint-60/tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
| 43 |
+
checkpoint-70/tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
| 44 |
+
checkpoint-80/tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
| 45 |
+
checkpoint-90/tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
| 46 |
+
tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
README.md
ADDED
|
@@ -0,0 +1,72 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
base_model: Qwen/Qwen3-4B
|
| 3 |
+
library_name: peft
|
| 4 |
+
model_name: sdpo_Qwen3-4B_lora32_n2048_seed42_lr1e-05_mcl16384_full_voacb
|
| 5 |
+
tags:
|
| 6 |
+
- base_model:adapter:Qwen/Qwen3-4B
|
| 7 |
+
- grpo
|
| 8 |
+
- lora
|
| 9 |
+
- sdpo
|
| 10 |
+
- transformers
|
| 11 |
+
- trl
|
| 12 |
+
licence: license
|
| 13 |
+
pipeline_tag: text-generation
|
| 14 |
+
---
|
| 15 |
+
|
| 16 |
+
# Model Card for sdpo_Qwen3-4B_lora32_n2048_seed42_lr1e-05_mcl16384_full_voacb
|
| 17 |
+
|
| 18 |
+
This model is a fine-tuned version of [Qwen/Qwen3-4B](https://huggingface.co/Qwen/Qwen3-4B).
|
| 19 |
+
It has been trained using [TRL](https://github.com/huggingface/trl).
|
| 20 |
+
|
| 21 |
+
## Quick start
|
| 22 |
+
|
| 23 |
+
```python
|
| 24 |
+
from transformers import pipeline
|
| 25 |
+
|
| 26 |
+
question = "If you had a time machine, but could only go to the past or the future once and never return, which would you choose and why?"
|
| 27 |
+
generator = pipeline("text-generation", model="None", device="cuda")
|
| 28 |
+
output = generator([{"role": "user", "content": question}], max_new_tokens=128, return_full_text=False)[0]
|
| 29 |
+
print(output["generated_text"])
|
| 30 |
+
```
|
| 31 |
+
|
| 32 |
+
## Training procedure
|
| 33 |
+
|
| 34 |
+
[<img src="https://raw.githubusercontent.com/wandb/assets/main/wandb-github-badge-28.svg" alt="Visualize in Weights & Biases" width="150" height="24"/>](https://wandb.ai/wandb_sw/2026-research-self-distill/runs/3cbwtlzv)
|
| 35 |
+
|
| 36 |
+
|
| 37 |
+
|
| 38 |
+
This model was trained with GRPO, a method introduced in [DeepSeekMath: Pushing the Limits of Mathematical Reasoning in Open Language Models](https://huggingface.co/papers/2402.03300).
|
| 39 |
+
|
| 40 |
+
### Framework versions
|
| 41 |
+
|
| 42 |
+
- PEFT 0.19.1
|
| 43 |
+
- TRL: 1.4.0
|
| 44 |
+
- Transformers: 4.57.6
|
| 45 |
+
- Pytorch: 2.10.0
|
| 46 |
+
- Datasets: 4.8.5
|
| 47 |
+
- Tokenizers: 0.22.2
|
| 48 |
+
|
| 49 |
+
## Citations
|
| 50 |
+
|
| 51 |
+
Cite GRPO as:
|
| 52 |
+
|
| 53 |
+
```bibtex
|
| 54 |
+
@article{shao2024deepseekmath,
|
| 55 |
+
title = {{DeepSeekMath: Pushing the Limits of Mathematical Reasoning in Open Language Models}},
|
| 56 |
+
author = {Zhihong Shao and Peiyi Wang and Qihao Zhu and Runxin Xu and Junxiao Song and Mingchuan Zhang and Y. K. Li and Y. Wu and Daya Guo},
|
| 57 |
+
year = 2024,
|
| 58 |
+
eprint = {arXiv:2402.03300},
|
| 59 |
+
}
|
| 60 |
+
```
|
| 61 |
+
|
| 62 |
+
Cite TRL as:
|
| 63 |
+
|
| 64 |
+
```bibtex
|
| 65 |
+
@software{vonwerra2020trl,
|
| 66 |
+
title = {{TRL: Transformers Reinforcement Learning}},
|
| 67 |
+
author = {von Werra, Leandro and Belkada, Younes and Tunstall, Lewis and Beeching, Edward and Thrush, Tristan and Lambert, Nathan and Huang, Shengyi and Rasul, Kashif and Gallouédec, Quentin},
|
| 68 |
+
license = {Apache-2.0},
|
| 69 |
+
url = {https://github.com/huggingface/trl},
|
| 70 |
+
year = {2020}
|
| 71 |
+
}
|
| 72 |
+
```
|
adapter_config.json
ADDED
|
@@ -0,0 +1,48 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"alora_invocation_tokens": null,
|
| 3 |
+
"alpha_pattern": {},
|
| 4 |
+
"arrow_config": null,
|
| 5 |
+
"auto_mapping": null,
|
| 6 |
+
"base_model_name_or_path": "Qwen/Qwen3-4B",
|
| 7 |
+
"bias": "none",
|
| 8 |
+
"corda_config": null,
|
| 9 |
+
"ensure_weight_tying": false,
|
| 10 |
+
"eva_config": null,
|
| 11 |
+
"exclude_modules": null,
|
| 12 |
+
"fan_in_fan_out": false,
|
| 13 |
+
"inference_mode": true,
|
| 14 |
+
"init_lora_weights": true,
|
| 15 |
+
"layer_replication": null,
|
| 16 |
+
"layers_pattern": null,
|
| 17 |
+
"layers_to_transform": null,
|
| 18 |
+
"loftq_config": {},
|
| 19 |
+
"lora_alpha": 64,
|
| 20 |
+
"lora_bias": false,
|
| 21 |
+
"lora_dropout": 0.05,
|
| 22 |
+
"lora_ga_config": null,
|
| 23 |
+
"megatron_config": null,
|
| 24 |
+
"megatron_core": "megatron.core",
|
| 25 |
+
"modules_to_save": null,
|
| 26 |
+
"peft_type": "LORA",
|
| 27 |
+
"peft_version": "0.19.1",
|
| 28 |
+
"qalora_group_size": 16,
|
| 29 |
+
"r": 32,
|
| 30 |
+
"rank_pattern": {},
|
| 31 |
+
"revision": null,
|
| 32 |
+
"target_modules": [
|
| 33 |
+
"o_proj",
|
| 34 |
+
"k_proj",
|
| 35 |
+
"gate_proj",
|
| 36 |
+
"q_proj",
|
| 37 |
+
"up_proj",
|
| 38 |
+
"v_proj",
|
| 39 |
+
"down_proj"
|
| 40 |
+
],
|
| 41 |
+
"target_parameters": null,
|
| 42 |
+
"task_type": "CAUSAL_LM",
|
| 43 |
+
"trainable_token_indices": null,
|
| 44 |
+
"use_bdlora": null,
|
| 45 |
+
"use_dora": false,
|
| 46 |
+
"use_qalora": false,
|
| 47 |
+
"use_rslora": false
|
| 48 |
+
}
|
adapter_model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:45209971cb3479fea184ae4ccfac65752a54ccf44244ffbe493a92beb2055fd9
|
| 3 |
+
size 264308896
|
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 |
+
}
|
chat_template.jinja
ADDED
|
@@ -0,0 +1,89 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{%- if tools %}
|
| 2 |
+
{{- '<|im_start|>system\n' }}
|
| 3 |
+
{%- if messages[0].role == 'system' %}
|
| 4 |
+
{{- messages[0].content + '\n\n' }}
|
| 5 |
+
{%- endif %}
|
| 6 |
+
{{- "# Tools\n\nYou may call one or more functions to assist with the user query.\n\nYou are provided with function signatures within <tools></tools> XML tags:\n<tools>" }}
|
| 7 |
+
{%- for tool in tools %}
|
| 8 |
+
{{- "\n" }}
|
| 9 |
+
{{- tool | tojson }}
|
| 10 |
+
{%- endfor %}
|
| 11 |
+
{{- "\n</tools>\n\nFor each function call, return a json object with function name and arguments within <tool_call></tool_call> XML tags:\n<tool_call>\n{\"name\": <function-name>, \"arguments\": <args-json-object>}\n</tool_call><|im_end|>\n" }}
|
| 12 |
+
{%- else %}
|
| 13 |
+
{%- if messages[0].role == 'system' %}
|
| 14 |
+
{{- '<|im_start|>system\n' + messages[0].content + '<|im_end|>\n' }}
|
| 15 |
+
{%- endif %}
|
| 16 |
+
{%- endif %}
|
| 17 |
+
{%- set ns = namespace(multi_step_tool=true, last_query_index=messages|length - 1) %}
|
| 18 |
+
{%- for message in messages[::-1] %}
|
| 19 |
+
{%- set index = (messages|length - 1) - loop.index0 %}
|
| 20 |
+
{%- if ns.multi_step_tool and message.role == "user" and message.content is string and not(message.content.startswith('<tool_response>') and message.content.endswith('</tool_response>')) %}
|
| 21 |
+
{%- set ns.multi_step_tool = false %}
|
| 22 |
+
{%- set ns.last_query_index = index %}
|
| 23 |
+
{%- endif %}
|
| 24 |
+
{%- endfor %}
|
| 25 |
+
{%- for message in messages %}
|
| 26 |
+
{%- if message.content is string %}
|
| 27 |
+
{%- set content = message.content %}
|
| 28 |
+
{%- else %}
|
| 29 |
+
{%- set content = '' %}
|
| 30 |
+
{%- endif %}
|
| 31 |
+
{%- if (message.role == "user") or (message.role == "system" and not loop.first) %}
|
| 32 |
+
{{- '<|im_start|>' + message.role + '\n' + content + '<|im_end|>' + '\n' }}
|
| 33 |
+
{%- elif message.role == "assistant" %}
|
| 34 |
+
{%- set reasoning_content = '' %}
|
| 35 |
+
{%- if message.reasoning_content is string %}
|
| 36 |
+
{%- set reasoning_content = message.reasoning_content %}
|
| 37 |
+
{%- else %}
|
| 38 |
+
{%- if '</think>' in content %}
|
| 39 |
+
{%- set reasoning_content = content.split('</think>')[0].rstrip('\n').split('<think>')[-1].lstrip('\n') %}
|
| 40 |
+
{%- set content = content.split('</think>')[-1].lstrip('\n') %}
|
| 41 |
+
{%- endif %}
|
| 42 |
+
{%- endif %}
|
| 43 |
+
{%- if loop.index0 > ns.last_query_index %}
|
| 44 |
+
{%- if loop.last or (not loop.last and reasoning_content) %}
|
| 45 |
+
{{- '<|im_start|>' + message.role + '\n<think>\n' + reasoning_content.strip('\n') + '\n</think>\n\n' + content.lstrip('\n') }}
|
| 46 |
+
{%- else %}
|
| 47 |
+
{{- '<|im_start|>' + message.role + '\n' + content }}
|
| 48 |
+
{%- endif %}
|
| 49 |
+
{%- else %}
|
| 50 |
+
{{- '<|im_start|>' + message.role + '\n' + content }}
|
| 51 |
+
{%- endif %}
|
| 52 |
+
{%- if message.tool_calls %}
|
| 53 |
+
{%- for tool_call in message.tool_calls %}
|
| 54 |
+
{%- if (loop.first and content) or (not loop.first) %}
|
| 55 |
+
{{- '\n' }}
|
| 56 |
+
{%- endif %}
|
| 57 |
+
{%- if tool_call.function %}
|
| 58 |
+
{%- set tool_call = tool_call.function %}
|
| 59 |
+
{%- endif %}
|
| 60 |
+
{{- '<tool_call>\n{"name": "' }}
|
| 61 |
+
{{- tool_call.name }}
|
| 62 |
+
{{- '", "arguments": ' }}
|
| 63 |
+
{%- if tool_call.arguments is string %}
|
| 64 |
+
{{- tool_call.arguments }}
|
| 65 |
+
{%- else %}
|
| 66 |
+
{{- tool_call.arguments | tojson }}
|
| 67 |
+
{%- endif %}
|
| 68 |
+
{{- '}\n</tool_call>' }}
|
| 69 |
+
{%- endfor %}
|
| 70 |
+
{%- endif %}
|
| 71 |
+
{{- '<|im_end|>\n' }}
|
| 72 |
+
{%- elif message.role == "tool" %}
|
| 73 |
+
{%- if loop.first or (messages[loop.index0 - 1].role != "tool") %}
|
| 74 |
+
{{- '<|im_start|>user' }}
|
| 75 |
+
{%- endif %}
|
| 76 |
+
{{- '\n<tool_response>\n' }}
|
| 77 |
+
{{- content }}
|
| 78 |
+
{{- '\n</tool_response>' }}
|
| 79 |
+
{%- if loop.last or (messages[loop.index0 + 1].role != "tool") %}
|
| 80 |
+
{{- '<|im_end|>\n' }}
|
| 81 |
+
{%- endif %}
|
| 82 |
+
{%- endif %}
|
| 83 |
+
{%- endfor %}
|
| 84 |
+
{%- if add_generation_prompt %}
|
| 85 |
+
{{- '<|im_start|>assistant\n' }}
|
| 86 |
+
{%- if enable_thinking is defined and enable_thinking is false %}
|
| 87 |
+
{{- '<think>\n\n</think>\n\n' }}
|
| 88 |
+
{%- endif %}
|
| 89 |
+
{%- endif %}
|
checkpoint-10/README.md
ADDED
|
@@ -0,0 +1,210 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
base_model: Qwen/Qwen3-4B
|
| 3 |
+
library_name: peft
|
| 4 |
+
pipeline_tag: text-generation
|
| 5 |
+
tags:
|
| 6 |
+
- base_model:adapter:Qwen/Qwen3-4B
|
| 7 |
+
- grpo
|
| 8 |
+
- lora
|
| 9 |
+
- sdpo
|
| 10 |
+
- transformers
|
| 11 |
+
- trl
|
| 12 |
+
---
|
| 13 |
+
|
| 14 |
+
# Model Card for Model ID
|
| 15 |
+
|
| 16 |
+
<!-- Provide a quick summary of what the model is/does. -->
|
| 17 |
+
|
| 18 |
+
|
| 19 |
+
|
| 20 |
+
## Model Details
|
| 21 |
+
|
| 22 |
+
### Model Description
|
| 23 |
+
|
| 24 |
+
<!-- Provide a longer summary of what this model is. -->
|
| 25 |
+
|
| 26 |
+
|
| 27 |
+
|
| 28 |
+
- **Developed by:** [More Information Needed]
|
| 29 |
+
- **Funded by [optional]:** [More Information Needed]
|
| 30 |
+
- **Shared by [optional]:** [More Information Needed]
|
| 31 |
+
- **Model type:** [More Information Needed]
|
| 32 |
+
- **Language(s) (NLP):** [More Information Needed]
|
| 33 |
+
- **License:** [More Information Needed]
|
| 34 |
+
- **Finetuned from model [optional]:** [More Information Needed]
|
| 35 |
+
|
| 36 |
+
### Model Sources [optional]
|
| 37 |
+
|
| 38 |
+
<!-- Provide the basic links for the model. -->
|
| 39 |
+
|
| 40 |
+
- **Repository:** [More Information Needed]
|
| 41 |
+
- **Paper [optional]:** [More Information Needed]
|
| 42 |
+
- **Demo [optional]:** [More Information Needed]
|
| 43 |
+
|
| 44 |
+
## Uses
|
| 45 |
+
|
| 46 |
+
<!-- Address questions around how the model is intended to be used, including the foreseeable users of the model and those affected by the model. -->
|
| 47 |
+
|
| 48 |
+
### Direct Use
|
| 49 |
+
|
| 50 |
+
<!-- This section is for the model use without fine-tuning or plugging into a larger ecosystem/app. -->
|
| 51 |
+
|
| 52 |
+
[More Information Needed]
|
| 53 |
+
|
| 54 |
+
### Downstream Use [optional]
|
| 55 |
+
|
| 56 |
+
<!-- This section is for the model use when fine-tuned for a task, or when plugged into a larger ecosystem/app -->
|
| 57 |
+
|
| 58 |
+
[More Information Needed]
|
| 59 |
+
|
| 60 |
+
### Out-of-Scope Use
|
| 61 |
+
|
| 62 |
+
<!-- This section addresses misuse, malicious use, and uses that the model will not work well for. -->
|
| 63 |
+
|
| 64 |
+
[More Information Needed]
|
| 65 |
+
|
| 66 |
+
## Bias, Risks, and Limitations
|
| 67 |
+
|
| 68 |
+
<!-- This section is meant to convey both technical and sociotechnical limitations. -->
|
| 69 |
+
|
| 70 |
+
[More Information Needed]
|
| 71 |
+
|
| 72 |
+
### Recommendations
|
| 73 |
+
|
| 74 |
+
<!-- This section is meant to convey recommendations with respect to the bias, risk, and technical limitations. -->
|
| 75 |
+
|
| 76 |
+
Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. More information needed for further recommendations.
|
| 77 |
+
|
| 78 |
+
## How to Get Started with the Model
|
| 79 |
+
|
| 80 |
+
Use the code below to get started with the model.
|
| 81 |
+
|
| 82 |
+
[More Information Needed]
|
| 83 |
+
|
| 84 |
+
## Training Details
|
| 85 |
+
|
| 86 |
+
### Training Data
|
| 87 |
+
|
| 88 |
+
<!-- This should link to a Dataset Card, perhaps with a short stub of information on what the training data is all about as well as documentation related to data pre-processing or additional filtering. -->
|
| 89 |
+
|
| 90 |
+
[More Information Needed]
|
| 91 |
+
|
| 92 |
+
### Training Procedure
|
| 93 |
+
|
| 94 |
+
<!-- This relates heavily to the Technical Specifications. Content here should link to that section when it is relevant to the training procedure. -->
|
| 95 |
+
|
| 96 |
+
#### Preprocessing [optional]
|
| 97 |
+
|
| 98 |
+
[More Information Needed]
|
| 99 |
+
|
| 100 |
+
|
| 101 |
+
#### Training Hyperparameters
|
| 102 |
+
|
| 103 |
+
- **Training regime:** [More Information Needed] <!--fp32, fp16 mixed precision, bf16 mixed precision, bf16 non-mixed precision, fp16 non-mixed precision, fp8 mixed precision -->
|
| 104 |
+
|
| 105 |
+
#### Speeds, Sizes, Times [optional]
|
| 106 |
+
|
| 107 |
+
<!-- This section provides information about throughput, start/end time, checkpoint size if relevant, etc. -->
|
| 108 |
+
|
| 109 |
+
[More Information Needed]
|
| 110 |
+
|
| 111 |
+
## Evaluation
|
| 112 |
+
|
| 113 |
+
<!-- This section describes the evaluation protocols and provides the results. -->
|
| 114 |
+
|
| 115 |
+
### Testing Data, Factors & Metrics
|
| 116 |
+
|
| 117 |
+
#### Testing Data
|
| 118 |
+
|
| 119 |
+
<!-- This should link to a Dataset Card if possible. -->
|
| 120 |
+
|
| 121 |
+
[More Information Needed]
|
| 122 |
+
|
| 123 |
+
#### Factors
|
| 124 |
+
|
| 125 |
+
<!-- These are the things the evaluation is disaggregating by, e.g., subpopulations or domains. -->
|
| 126 |
+
|
| 127 |
+
[More Information Needed]
|
| 128 |
+
|
| 129 |
+
#### Metrics
|
| 130 |
+
|
| 131 |
+
<!-- These are the evaluation metrics being used, ideally with a description of why. -->
|
| 132 |
+
|
| 133 |
+
[More Information Needed]
|
| 134 |
+
|
| 135 |
+
### Results
|
| 136 |
+
|
| 137 |
+
[More Information Needed]
|
| 138 |
+
|
| 139 |
+
#### Summary
|
| 140 |
+
|
| 141 |
+
|
| 142 |
+
|
| 143 |
+
## Model Examination [optional]
|
| 144 |
+
|
| 145 |
+
<!-- Relevant interpretability work for the model goes here -->
|
| 146 |
+
|
| 147 |
+
[More Information Needed]
|
| 148 |
+
|
| 149 |
+
## Environmental Impact
|
| 150 |
+
|
| 151 |
+
<!-- Total emissions (in grams of CO2eq) and additional considerations, such as electricity usage, go here. Edit the suggested text below accordingly -->
|
| 152 |
+
|
| 153 |
+
Carbon emissions can be estimated using the [Machine Learning Impact calculator](https://mlco2.github.io/impact#compute) presented in [Lacoste et al. (2019)](https://arxiv.org/abs/1910.09700).
|
| 154 |
+
|
| 155 |
+
- **Hardware Type:** [More Information Needed]
|
| 156 |
+
- **Hours used:** [More Information Needed]
|
| 157 |
+
- **Cloud Provider:** [More Information Needed]
|
| 158 |
+
- **Compute Region:** [More Information Needed]
|
| 159 |
+
- **Carbon Emitted:** [More Information Needed]
|
| 160 |
+
|
| 161 |
+
## Technical Specifications [optional]
|
| 162 |
+
|
| 163 |
+
### Model Architecture and Objective
|
| 164 |
+
|
| 165 |
+
[More Information Needed]
|
| 166 |
+
|
| 167 |
+
### Compute Infrastructure
|
| 168 |
+
|
| 169 |
+
[More Information Needed]
|
| 170 |
+
|
| 171 |
+
#### Hardware
|
| 172 |
+
|
| 173 |
+
[More Information Needed]
|
| 174 |
+
|
| 175 |
+
#### Software
|
| 176 |
+
|
| 177 |
+
[More Information Needed]
|
| 178 |
+
|
| 179 |
+
## Citation [optional]
|
| 180 |
+
|
| 181 |
+
<!-- If there is a paper or blog post introducing the model, the APA and Bibtex information for that should go in this section. -->
|
| 182 |
+
|
| 183 |
+
**BibTeX:**
|
| 184 |
+
|
| 185 |
+
[More Information Needed]
|
| 186 |
+
|
| 187 |
+
**APA:**
|
| 188 |
+
|
| 189 |
+
[More Information Needed]
|
| 190 |
+
|
| 191 |
+
## Glossary [optional]
|
| 192 |
+
|
| 193 |
+
<!-- If relevant, include terms and calculations in this section that can help readers understand the model or model card. -->
|
| 194 |
+
|
| 195 |
+
[More Information Needed]
|
| 196 |
+
|
| 197 |
+
## More Information [optional]
|
| 198 |
+
|
| 199 |
+
[More Information Needed]
|
| 200 |
+
|
| 201 |
+
## Model Card Authors [optional]
|
| 202 |
+
|
| 203 |
+
[More Information Needed]
|
| 204 |
+
|
| 205 |
+
## Model Card Contact
|
| 206 |
+
|
| 207 |
+
[More Information Needed]
|
| 208 |
+
### Framework versions
|
| 209 |
+
|
| 210 |
+
- PEFT 0.19.1
|
checkpoint-10/adapter_config.json
ADDED
|
@@ -0,0 +1,48 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"alora_invocation_tokens": null,
|
| 3 |
+
"alpha_pattern": {},
|
| 4 |
+
"arrow_config": null,
|
| 5 |
+
"auto_mapping": null,
|
| 6 |
+
"base_model_name_or_path": "Qwen/Qwen3-4B",
|
| 7 |
+
"bias": "none",
|
| 8 |
+
"corda_config": null,
|
| 9 |
+
"ensure_weight_tying": false,
|
| 10 |
+
"eva_config": null,
|
| 11 |
+
"exclude_modules": null,
|
| 12 |
+
"fan_in_fan_out": false,
|
| 13 |
+
"inference_mode": true,
|
| 14 |
+
"init_lora_weights": true,
|
| 15 |
+
"layer_replication": null,
|
| 16 |
+
"layers_pattern": null,
|
| 17 |
+
"layers_to_transform": null,
|
| 18 |
+
"loftq_config": {},
|
| 19 |
+
"lora_alpha": 64,
|
| 20 |
+
"lora_bias": false,
|
| 21 |
+
"lora_dropout": 0.05,
|
| 22 |
+
"lora_ga_config": null,
|
| 23 |
+
"megatron_config": null,
|
| 24 |
+
"megatron_core": "megatron.core",
|
| 25 |
+
"modules_to_save": null,
|
| 26 |
+
"peft_type": "LORA",
|
| 27 |
+
"peft_version": "0.19.1",
|
| 28 |
+
"qalora_group_size": 16,
|
| 29 |
+
"r": 32,
|
| 30 |
+
"rank_pattern": {},
|
| 31 |
+
"revision": null,
|
| 32 |
+
"target_modules": [
|
| 33 |
+
"o_proj",
|
| 34 |
+
"k_proj",
|
| 35 |
+
"gate_proj",
|
| 36 |
+
"q_proj",
|
| 37 |
+
"up_proj",
|
| 38 |
+
"v_proj",
|
| 39 |
+
"down_proj"
|
| 40 |
+
],
|
| 41 |
+
"target_parameters": null,
|
| 42 |
+
"task_type": "CAUSAL_LM",
|
| 43 |
+
"trainable_token_indices": null,
|
| 44 |
+
"use_bdlora": null,
|
| 45 |
+
"use_dora": false,
|
| 46 |
+
"use_qalora": false,
|
| 47 |
+
"use_rslora": false
|
| 48 |
+
}
|
checkpoint-10/adapter_model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:1a3a7964304d9f693f55e0b33c987c83c09a47e8d9289cd8fcc4ff20863693e7
|
| 3 |
+
size 264308896
|
checkpoint-10/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 |
+
}
|
checkpoint-10/chat_template.jinja
ADDED
|
@@ -0,0 +1,89 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{%- if tools %}
|
| 2 |
+
{{- '<|im_start|>system\n' }}
|
| 3 |
+
{%- if messages[0].role == 'system' %}
|
| 4 |
+
{{- messages[0].content + '\n\n' }}
|
| 5 |
+
{%- endif %}
|
| 6 |
+
{{- "# Tools\n\nYou may call one or more functions to assist with the user query.\n\nYou are provided with function signatures within <tools></tools> XML tags:\n<tools>" }}
|
| 7 |
+
{%- for tool in tools %}
|
| 8 |
+
{{- "\n" }}
|
| 9 |
+
{{- tool | tojson }}
|
| 10 |
+
{%- endfor %}
|
| 11 |
+
{{- "\n</tools>\n\nFor each function call, return a json object with function name and arguments within <tool_call></tool_call> XML tags:\n<tool_call>\n{\"name\": <function-name>, \"arguments\": <args-json-object>}\n</tool_call><|im_end|>\n" }}
|
| 12 |
+
{%- else %}
|
| 13 |
+
{%- if messages[0].role == 'system' %}
|
| 14 |
+
{{- '<|im_start|>system\n' + messages[0].content + '<|im_end|>\n' }}
|
| 15 |
+
{%- endif %}
|
| 16 |
+
{%- endif %}
|
| 17 |
+
{%- set ns = namespace(multi_step_tool=true, last_query_index=messages|length - 1) %}
|
| 18 |
+
{%- for message in messages[::-1] %}
|
| 19 |
+
{%- set index = (messages|length - 1) - loop.index0 %}
|
| 20 |
+
{%- if ns.multi_step_tool and message.role == "user" and message.content is string and not(message.content.startswith('<tool_response>') and message.content.endswith('</tool_response>')) %}
|
| 21 |
+
{%- set ns.multi_step_tool = false %}
|
| 22 |
+
{%- set ns.last_query_index = index %}
|
| 23 |
+
{%- endif %}
|
| 24 |
+
{%- endfor %}
|
| 25 |
+
{%- for message in messages %}
|
| 26 |
+
{%- if message.content is string %}
|
| 27 |
+
{%- set content = message.content %}
|
| 28 |
+
{%- else %}
|
| 29 |
+
{%- set content = '' %}
|
| 30 |
+
{%- endif %}
|
| 31 |
+
{%- if (message.role == "user") or (message.role == "system" and not loop.first) %}
|
| 32 |
+
{{- '<|im_start|>' + message.role + '\n' + content + '<|im_end|>' + '\n' }}
|
| 33 |
+
{%- elif message.role == "assistant" %}
|
| 34 |
+
{%- set reasoning_content = '' %}
|
| 35 |
+
{%- if message.reasoning_content is string %}
|
| 36 |
+
{%- set reasoning_content = message.reasoning_content %}
|
| 37 |
+
{%- else %}
|
| 38 |
+
{%- if '</think>' in content %}
|
| 39 |
+
{%- set reasoning_content = content.split('</think>')[0].rstrip('\n').split('<think>')[-1].lstrip('\n') %}
|
| 40 |
+
{%- set content = content.split('</think>')[-1].lstrip('\n') %}
|
| 41 |
+
{%- endif %}
|
| 42 |
+
{%- endif %}
|
| 43 |
+
{%- if loop.index0 > ns.last_query_index %}
|
| 44 |
+
{%- if loop.last or (not loop.last and reasoning_content) %}
|
| 45 |
+
{{- '<|im_start|>' + message.role + '\n<think>\n' + reasoning_content.strip('\n') + '\n</think>\n\n' + content.lstrip('\n') }}
|
| 46 |
+
{%- else %}
|
| 47 |
+
{{- '<|im_start|>' + message.role + '\n' + content }}
|
| 48 |
+
{%- endif %}
|
| 49 |
+
{%- else %}
|
| 50 |
+
{{- '<|im_start|>' + message.role + '\n' + content }}
|
| 51 |
+
{%- endif %}
|
| 52 |
+
{%- if message.tool_calls %}
|
| 53 |
+
{%- for tool_call in message.tool_calls %}
|
| 54 |
+
{%- if (loop.first and content) or (not loop.first) %}
|
| 55 |
+
{{- '\n' }}
|
| 56 |
+
{%- endif %}
|
| 57 |
+
{%- if tool_call.function %}
|
| 58 |
+
{%- set tool_call = tool_call.function %}
|
| 59 |
+
{%- endif %}
|
| 60 |
+
{{- '<tool_call>\n{"name": "' }}
|
| 61 |
+
{{- tool_call.name }}
|
| 62 |
+
{{- '", "arguments": ' }}
|
| 63 |
+
{%- if tool_call.arguments is string %}
|
| 64 |
+
{{- tool_call.arguments }}
|
| 65 |
+
{%- else %}
|
| 66 |
+
{{- tool_call.arguments | tojson }}
|
| 67 |
+
{%- endif %}
|
| 68 |
+
{{- '}\n</tool_call>' }}
|
| 69 |
+
{%- endfor %}
|
| 70 |
+
{%- endif %}
|
| 71 |
+
{{- '<|im_end|>\n' }}
|
| 72 |
+
{%- elif message.role == "tool" %}
|
| 73 |
+
{%- if loop.first or (messages[loop.index0 - 1].role != "tool") %}
|
| 74 |
+
{{- '<|im_start|>user' }}
|
| 75 |
+
{%- endif %}
|
| 76 |
+
{{- '\n<tool_response>\n' }}
|
| 77 |
+
{{- content }}
|
| 78 |
+
{{- '\n</tool_response>' }}
|
| 79 |
+
{%- if loop.last or (messages[loop.index0 + 1].role != "tool") %}
|
| 80 |
+
{{- '<|im_end|>\n' }}
|
| 81 |
+
{%- endif %}
|
| 82 |
+
{%- endif %}
|
| 83 |
+
{%- endfor %}
|
| 84 |
+
{%- if add_generation_prompt %}
|
| 85 |
+
{{- '<|im_start|>assistant\n' }}
|
| 86 |
+
{%- if enable_thinking is defined and enable_thinking is false %}
|
| 87 |
+
{{- '<think>\n\n</think>\n\n' }}
|
| 88 |
+
{%- endif %}
|
| 89 |
+
{%- endif %}
|
checkpoint-10/merges.txt
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
checkpoint-10/optimizer.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:1350fcbd88384ad48dae6aafd4a41fd281b6e82b52b97958c09bc7750c927e19
|
| 3 |
+
size 528915403
|
checkpoint-10/rng_state.pth
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ba14236602c68a757bdd290a5c9ccc3a0c6bcf8bcd3589d6b122078a823bd97a
|
| 3 |
+
size 14581
|
checkpoint-10/scheduler.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:52889cd60d94c2b95a58cb16a8e156fa6f2896a5b1aa732058777bce82b7ad16
|
| 3 |
+
size 1465
|
checkpoint-10/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 |
+
}
|
checkpoint-10/tokenizer.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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": 131072,
|
| 235 |
+
"pad_token": "<|endoftext|>",
|
| 236 |
+
"padding_side": "left",
|
| 237 |
+
"split_special_tokens": false,
|
| 238 |
+
"tokenizer_class": "Qwen2Tokenizer",
|
| 239 |
+
"unk_token": null
|
| 240 |
+
}
|
checkpoint-10/trainer_state.json
ADDED
|
@@ -0,0 +1,354 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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|
+
"best_model_checkpoint": null,
|
| 5 |
+
"epoch": 0.078125,
|
| 6 |
+
"eval_steps": 500,
|
| 7 |
+
"global_step": 10,
|
| 8 |
+
"is_hyper_param_search": false,
|
| 9 |
+
"is_local_process_zero": true,
|
| 10 |
+
"is_world_process_zero": true,
|
| 11 |
+
"log_history": [
|
| 12 |
+
{
|
| 13 |
+
"completions/clipped_ratio": 0.25,
|
| 14 |
+
"completions/max_length": 16384.0,
|
| 15 |
+
"completions/max_terminated_length": 14949.0,
|
| 16 |
+
"completions/mean_length": 9653.5625,
|
| 17 |
+
"completions/mean_terminated_length": 7410.08349609375,
|
| 18 |
+
"completions/min_length": 1429.0,
|
| 19 |
+
"completions/min_terminated_length": 1429.0,
|
| 20 |
+
"entropy": 0.29970241081900895,
|
| 21 |
+
"epoch": 0.0078125,
|
| 22 |
+
"frac_reward_zero_std": 0.5625,
|
| 23 |
+
"grad_norm": 139.3961181640625,
|
| 24 |
+
"learning_rate": 0.0,
|
| 25 |
+
"loss": 118.8372,
|
| 26 |
+
"num_tokens": 1254992.0,
|
| 27 |
+
"reward": 1.4375,
|
| 28 |
+
"reward_std": 0.8010819554328918,
|
| 29 |
+
"rewards/math_reward_func/mean": 0.65625,
|
| 30 |
+
"rewards/math_reward_func/std": 0.47682511806488037,
|
| 31 |
+
"rewards/think_format_reward/mean": 0.78125,
|
| 32 |
+
"rewards/think_format_reward/std": 0.41502299904823303,
|
| 33 |
+
"sampling/importance_sampling_ratio/max": 1.2375390529632568,
|
| 34 |
+
"sampling/importance_sampling_ratio/mean": 0.08747025579214096,
|
| 35 |
+
"sampling/importance_sampling_ratio/min": 0.0,
|
| 36 |
+
"sampling/sampling_logp_difference/max": 2.26882266998291,
|
| 37 |
+
"sampling/sampling_logp_difference/mean": 0.014405248686671257,
|
| 38 |
+
"sdpo/local_reward_mean": 1.4375,
|
| 39 |
+
"sdpo/success_fraction": 0.875,
|
| 40 |
+
"sdpo/top100_tail_reverse_kl": 0.9284152567852288,
|
| 41 |
+
"step": 1,
|
| 42 |
+
"step_time": 2370.7101150611416
|
| 43 |
+
},
|
| 44 |
+
{
|
| 45 |
+
"completions/clipped_ratio": 0.2734375,
|
| 46 |
+
"completions/max_length": 16384.0,
|
| 47 |
+
"completions/max_terminated_length": 16193.0,
|
| 48 |
+
"completions/mean_length": 9917.9296875,
|
| 49 |
+
"completions/mean_terminated_length": 7484.46240234375,
|
| 50 |
+
"completions/min_length": 700.0,
|
| 51 |
+
"completions/min_terminated_length": 700.0,
|
| 52 |
+
"entropy": 0.28982284700032324,
|
| 53 |
+
"epoch": 0.015625,
|
| 54 |
+
"frac_reward_zero_std": 0.5,
|
| 55 |
+
"grad_norm": 137.28524780273438,
|
| 56 |
+
"learning_rate": 1.0000000000000002e-06,
|
| 57 |
+
"loss": 113.6375,
|
| 58 |
+
"num_tokens": 2543519.0,
|
| 59 |
+
"reward": 1.3984375,
|
| 60 |
+
"reward_std": 0.8449930548667908,
|
| 61 |
+
"rewards/math_reward_func/mean": 0.6484375,
|
| 62 |
+
"rewards/math_reward_func/std": 0.4793342351913452,
|
| 63 |
+
"rewards/think_format_reward/mean": 0.75,
|
| 64 |
+
"rewards/think_format_reward/std": 0.434714138507843,
|
| 65 |
+
"sampling/importance_sampling_ratio/max": 1.9354466199874878,
|
| 66 |
+
"sampling/importance_sampling_ratio/mean": 0.11250229179859161,
|
| 67 |
+
"sampling/importance_sampling_ratio/min": 0.0,
|
| 68 |
+
"sampling/sampling_logp_difference/max": 2.236079216003418,
|
| 69 |
+
"sampling/sampling_logp_difference/mean": 0.01304610725492239,
|
| 70 |
+
"sdpo/local_reward_mean": 1.3984375,
|
| 71 |
+
"sdpo/success_fraction": 0.9375,
|
| 72 |
+
"sdpo/top100_tail_reverse_kl": 0.8877928248839453,
|
| 73 |
+
"step": 2,
|
| 74 |
+
"step_time": 2354.731563249603
|
| 75 |
+
},
|
| 76 |
+
{
|
| 77 |
+
"completions/clipped_ratio": 0.2109375,
|
| 78 |
+
"completions/max_length": 16384.0,
|
| 79 |
+
"completions/max_terminated_length": 16278.0,
|
| 80 |
+
"completions/mean_length": 10127.203125,
|
| 81 |
+
"completions/mean_terminated_length": 8454.59375,
|
| 82 |
+
"completions/min_length": 1682.0,
|
| 83 |
+
"completions/min_terminated_length": 1682.0,
|
| 84 |
+
"entropy": 0.3079841274302453,
|
| 85 |
+
"epoch": 0.0234375,
|
| 86 |
+
"frac_reward_zero_std": 0.4375,
|
| 87 |
+
"grad_norm": 129.67068481445312,
|
| 88 |
+
"learning_rate": 2.0000000000000003e-06,
|
| 89 |
+
"loss": 115.9272,
|
| 90 |
+
"num_tokens": 3859937.0,
|
| 91 |
+
"reward": 1.484375,
|
| 92 |
+
"reward_std": 0.7734204530715942,
|
| 93 |
+
"rewards/math_reward_func/mean": 0.6640625,
|
| 94 |
+
"rewards/math_reward_func/std": 0.47417303919792175,
|
| 95 |
+
"rewards/think_format_reward/mean": 0.8203125,
|
| 96 |
+
"rewards/think_format_reward/std": 0.3854354918003082,
|
| 97 |
+
"sampling/importance_sampling_ratio/max": 2.396805763244629,
|
| 98 |
+
"sampling/importance_sampling_ratio/mean": 0.11775611340999603,
|
| 99 |
+
"sampling/importance_sampling_ratio/min": 0.0,
|
| 100 |
+
"sampling/sampling_logp_difference/max": 2.574749708175659,
|
| 101 |
+
"sampling/sampling_logp_difference/mean": 0.01316322386264801,
|
| 102 |
+
"sdpo/local_reward_mean": 1.484375,
|
| 103 |
+
"sdpo/success_fraction": 1.0,
|
| 104 |
+
"sdpo/top100_tail_reverse_kl": 0.905681180418469,
|
| 105 |
+
"step": 3,
|
| 106 |
+
"step_time": 2384.785213011317
|
| 107 |
+
},
|
| 108 |
+
{
|
| 109 |
+
"completions/clipped_ratio": 0.1640625,
|
| 110 |
+
"completions/max_length": 16384.0,
|
| 111 |
+
"completions/max_terminated_length": 16304.0,
|
| 112 |
+
"completions/mean_length": 9269.671875,
|
| 113 |
+
"completions/mean_terminated_length": 7873.40185546875,
|
| 114 |
+
"completions/min_length": 1886.0,
|
| 115 |
+
"completions/min_terminated_length": 1886.0,
|
| 116 |
+
"entropy": 0.3416602340294048,
|
| 117 |
+
"epoch": 0.03125,
|
| 118 |
+
"frac_reward_zero_std": 0.5625,
|
| 119 |
+
"grad_norm": 166.99655151367188,
|
| 120 |
+
"learning_rate": 3e-06,
|
| 121 |
+
"loss": 136.3629,
|
| 122 |
+
"num_tokens": 5063863.0,
|
| 123 |
+
"reward": 1.7421875,
|
| 124 |
+
"reward_std": 0.5918886661529541,
|
| 125 |
+
"rewards/math_reward_func/mean": 0.875,
|
| 126 |
+
"rewards/math_reward_func/std": 0.3320184051990509,
|
| 127 |
+
"rewards/think_format_reward/mean": 0.8671875,
|
| 128 |
+
"rewards/think_format_reward/std": 0.3407054841518402,
|
| 129 |
+
"sampling/importance_sampling_ratio/max": 2.580911159515381,
|
| 130 |
+
"sampling/importance_sampling_ratio/mean": 0.14537686109542847,
|
| 131 |
+
"sampling/importance_sampling_ratio/min": 0.0,
|
| 132 |
+
"sampling/sampling_logp_difference/max": 1.1783078908920288,
|
| 133 |
+
"sampling/sampling_logp_difference/mean": 0.014237256720662117,
|
| 134 |
+
"sdpo/local_reward_mean": 1.7421875,
|
| 135 |
+
"sdpo/success_fraction": 1.0,
|
| 136 |
+
"sdpo/top100_tail_reverse_kl": 1.065335095161572,
|
| 137 |
+
"step": 4,
|
| 138 |
+
"step_time": 2334.6283859135583
|
| 139 |
+
},
|
| 140 |
+
{
|
| 141 |
+
"completions/clipped_ratio": 0.390625,
|
| 142 |
+
"completions/max_length": 16384.0,
|
| 143 |
+
"completions/max_terminated_length": 16333.0,
|
| 144 |
+
"completions/mean_length": 10170.78125,
|
| 145 |
+
"completions/mean_terminated_length": 6187.94873046875,
|
| 146 |
+
"completions/min_length": 1936.0,
|
| 147 |
+
"completions/min_terminated_length": 1936.0,
|
| 148 |
+
"entropy": 0.2497377436957322,
|
| 149 |
+
"epoch": 0.0390625,
|
| 150 |
+
"frac_reward_zero_std": 0.4375,
|
| 151 |
+
"grad_norm": 107.94488525390625,
|
| 152 |
+
"learning_rate": 4.000000000000001e-06,
|
| 153 |
+
"loss": 91.4281,
|
| 154 |
+
"num_tokens": 6384731.0,
|
| 155 |
+
"reward": 1.28125,
|
| 156 |
+
"reward_std": 0.8956368565559387,
|
| 157 |
+
"rewards/math_reward_func/mean": 0.6015625,
|
| 158 |
+
"rewards/math_reward_func/std": 0.4915000796318054,
|
| 159 |
+
"rewards/think_format_reward/mean": 0.6796875,
|
| 160 |
+
"rewards/think_format_reward/std": 0.4684300124645233,
|
| 161 |
+
"sampling/importance_sampling_ratio/max": 2.3500282764434814,
|
| 162 |
+
"sampling/importance_sampling_ratio/mean": 0.15797367691993713,
|
| 163 |
+
"sampling/importance_sampling_ratio/min": 0.0,
|
| 164 |
+
"sampling/sampling_logp_difference/max": 1.7027404308319092,
|
| 165 |
+
"sampling/sampling_logp_difference/mean": 0.012200523167848587,
|
| 166 |
+
"sdpo/local_reward_mean": 1.28125,
|
| 167 |
+
"sdpo/success_fraction": 0.9375,
|
| 168 |
+
"sdpo/top100_tail_reverse_kl": 0.7142818871070631,
|
| 169 |
+
"step": 5,
|
| 170 |
+
"step_time": 2426.561106611043
|
| 171 |
+
},
|
| 172 |
+
{
|
| 173 |
+
"completions/clipped_ratio": 0.1875,
|
| 174 |
+
"completions/max_length": 16384.0,
|
| 175 |
+
"completions/max_terminated_length": 15898.0,
|
| 176 |
+
"completions/mean_length": 9010.265625,
|
| 177 |
+
"completions/mean_terminated_length": 7308.634765625,
|
| 178 |
+
"completions/min_length": 1303.0,
|
| 179 |
+
"completions/min_terminated_length": 1303.0,
|
| 180 |
+
"entropy": 0.29075702652335167,
|
| 181 |
+
"epoch": 0.046875,
|
| 182 |
+
"frac_reward_zero_std": 0.6875,
|
| 183 |
+
"grad_norm": 140.95046997070312,
|
| 184 |
+
"learning_rate": 5e-06,
|
| 185 |
+
"loss": 118.4562,
|
| 186 |
+
"num_tokens": 7556957.0,
|
| 187 |
+
"reward": 1.671875,
|
| 188 |
+
"reward_std": 0.7110973596572876,
|
| 189 |
+
"rewards/math_reward_func/mean": 0.8359375,
|
| 190 |
+
"rewards/math_reward_func/std": 0.371787428855896,
|
| 191 |
+
"rewards/think_format_reward/mean": 0.8359375,
|
| 192 |
+
"rewards/think_format_reward/std": 0.371787428855896,
|
| 193 |
+
"sampling/importance_sampling_ratio/max": 2.424870729446411,
|
| 194 |
+
"sampling/importance_sampling_ratio/mean": 0.10164293646812439,
|
| 195 |
+
"sampling/importance_sampling_ratio/min": 0.0,
|
| 196 |
+
"sampling/sampling_logp_difference/max": 1.9601657390594482,
|
| 197 |
+
"sampling/sampling_logp_difference/mean": 0.012971683405339718,
|
| 198 |
+
"sdpo/local_reward_mean": 1.671875,
|
| 199 |
+
"sdpo/success_fraction": 1.0,
|
| 200 |
+
"sdpo/top100_tail_reverse_kl": 0.9254390870919451,
|
| 201 |
+
"step": 6,
|
| 202 |
+
"step_time": 2289.461196921766
|
| 203 |
+
},
|
| 204 |
+
{
|
| 205 |
+
"completions/clipped_ratio": 0.09375,
|
| 206 |
+
"completions/max_length": 16384.0,
|
| 207 |
+
"completions/max_terminated_length": 16159.0,
|
| 208 |
+
"completions/mean_length": 7217.25,
|
| 209 |
+
"completions/mean_terminated_length": 6268.96533203125,
|
| 210 |
+
"completions/min_length": 1892.0,
|
| 211 |
+
"completions/min_terminated_length": 1892.0,
|
| 212 |
+
"entropy": 0.31784707214683294,
|
| 213 |
+
"epoch": 0.0546875,
|
| 214 |
+
"frac_reward_zero_std": 0.625,
|
| 215 |
+
"grad_norm": 168.1649627685547,
|
| 216 |
+
"learning_rate": 6e-06,
|
| 217 |
+
"loss": 134.801,
|
| 218 |
+
"num_tokens": 8499453.0,
|
| 219 |
+
"reward": 1.6484375,
|
| 220 |
+
"reward_std": 0.622287392616272,
|
| 221 |
+
"rewards/math_reward_func/mean": 0.7421875,
|
| 222 |
+
"rewards/math_reward_func/std": 0.43914902210235596,
|
| 223 |
+
"rewards/think_format_reward/mean": 0.90625,
|
| 224 |
+
"rewards/think_format_reward/std": 0.29262590408325195,
|
| 225 |
+
"sampling/importance_sampling_ratio/max": 1.1390166282653809,
|
| 226 |
+
"sampling/importance_sampling_ratio/mean": 0.10175397992134094,
|
| 227 |
+
"sampling/importance_sampling_ratio/min": 0.0,
|
| 228 |
+
"sampling/sampling_logp_difference/max": 1.0895158052444458,
|
| 229 |
+
"sampling/sampling_logp_difference/mean": 0.013488837517797947,
|
| 230 |
+
"sdpo/local_reward_mean": 1.6484375,
|
| 231 |
+
"sdpo/success_fraction": 1.0,
|
| 232 |
+
"sdpo/top100_tail_reverse_kl": 1.0531327587086707,
|
| 233 |
+
"step": 7,
|
| 234 |
+
"step_time": 2179.5239698467776
|
| 235 |
+
},
|
| 236 |
+
{
|
| 237 |
+
"completions/clipped_ratio": 0.1171875,
|
| 238 |
+
"completions/max_length": 16384.0,
|
| 239 |
+
"completions/max_terminated_length": 14771.0,
|
| 240 |
+
"completions/mean_length": 7937.2421875,
|
| 241 |
+
"completions/mean_terminated_length": 6815.9912109375,
|
| 242 |
+
"completions/min_length": 2105.0,
|
| 243 |
+
"completions/min_terminated_length": 2105.0,
|
| 244 |
+
"entropy": 0.27554107748437673,
|
| 245 |
+
"epoch": 0.0625,
|
| 246 |
+
"frac_reward_zero_std": 0.6875,
|
| 247 |
+
"grad_norm": 155.4765167236328,
|
| 248 |
+
"learning_rate": 7e-06,
|
| 249 |
+
"loss": 133.8593,
|
| 250 |
+
"num_tokens": 9539540.0,
|
| 251 |
+
"reward": 1.8359375,
|
| 252 |
+
"reward_std": 0.49845972657203674,
|
| 253 |
+
"rewards/math_reward_func/mean": 0.9296875,
|
| 254 |
+
"rewards/math_reward_func/std": 0.2566775679588318,
|
| 255 |
+
"rewards/think_format_reward/mean": 0.90625,
|
| 256 |
+
"rewards/think_format_reward/std": 0.29262590408325195,
|
| 257 |
+
"sampling/importance_sampling_ratio/max": 2.6139657497406006,
|
| 258 |
+
"sampling/importance_sampling_ratio/mean": 0.15319757163524628,
|
| 259 |
+
"sampling/importance_sampling_ratio/min": 0.0,
|
| 260 |
+
"sampling/sampling_logp_difference/max": 0.9879323244094849,
|
| 261 |
+
"sampling/sampling_logp_difference/mean": 0.01237985584884882,
|
| 262 |
+
"sdpo/local_reward_mean": 1.8359375,
|
| 263 |
+
"sdpo/success_fraction": 1.0,
|
| 264 |
+
"sdpo/top100_tail_reverse_kl": 1.0457757124386262,
|
| 265 |
+
"step": 8,
|
| 266 |
+
"step_time": 2288.2132996609434
|
| 267 |
+
},
|
| 268 |
+
{
|
| 269 |
+
"completions/clipped_ratio": 0.15625,
|
| 270 |
+
"completions/max_length": 16384.0,
|
| 271 |
+
"completions/max_terminated_length": 15929.0,
|
| 272 |
+
"completions/mean_length": 8652.546875,
|
| 273 |
+
"completions/mean_terminated_length": 7220.79638671875,
|
| 274 |
+
"completions/min_length": 1778.0,
|
| 275 |
+
"completions/min_terminated_length": 1778.0,
|
| 276 |
+
"entropy": 0.27066256816033274,
|
| 277 |
+
"epoch": 0.0703125,
|
| 278 |
+
"frac_reward_zero_std": 0.5,
|
| 279 |
+
"grad_norm": 147.06039428710938,
|
| 280 |
+
"learning_rate": 8.000000000000001e-06,
|
| 281 |
+
"loss": 119.0247,
|
| 282 |
+
"num_tokens": 10665362.0,
|
| 283 |
+
"reward": 1.6796875,
|
| 284 |
+
"reward_std": 0.6390641927719116,
|
| 285 |
+
"rewards/math_reward_func/mean": 0.7890625,
|
| 286 |
+
"rewards/math_reward_func/std": 0.4095771610736847,
|
| 287 |
+
"rewards/think_format_reward/mean": 0.890625,
|
| 288 |
+
"rewards/think_format_reward/std": 0.31333550810813904,
|
| 289 |
+
"sampling/importance_sampling_ratio/max": 2.7830958366394043,
|
| 290 |
+
"sampling/importance_sampling_ratio/mean": 0.20229560136795044,
|
| 291 |
+
"sampling/importance_sampling_ratio/min": 0.0,
|
| 292 |
+
"sampling/sampling_logp_difference/max": 2.9212021827697754,
|
| 293 |
+
"sampling/sampling_logp_difference/mean": 0.01244754996150732,
|
| 294 |
+
"sdpo/local_reward_mean": 1.6796875,
|
| 295 |
+
"sdpo/success_fraction": 1.0,
|
| 296 |
+
"sdpo/top100_tail_reverse_kl": 0.9298805969301611,
|
| 297 |
+
"step": 9,
|
| 298 |
+
"step_time": 2296.1401055157185
|
| 299 |
+
},
|
| 300 |
+
{
|
| 301 |
+
"completions/clipped_ratio": 0.1640625,
|
| 302 |
+
"completions/max_length": 16384.0,
|
| 303 |
+
"completions/max_terminated_length": 16312.0,
|
| 304 |
+
"completions/mean_length": 8341.921875,
|
| 305 |
+
"completions/mean_terminated_length": 6763.56982421875,
|
| 306 |
+
"completions/min_length": 1375.0,
|
| 307 |
+
"completions/min_terminated_length": 1375.0,
|
| 308 |
+
"entropy": 0.28688407270237803,
|
| 309 |
+
"epoch": 0.078125,
|
| 310 |
+
"frac_reward_zero_std": 0.375,
|
| 311 |
+
"grad_norm": 169.16107177734375,
|
| 312 |
+
"learning_rate": 9e-06,
|
| 313 |
+
"loss": 121.9068,
|
| 314 |
+
"num_tokens": 11752032.0,
|
| 315 |
+
"reward": 1.578125,
|
| 316 |
+
"reward_std": 0.7382611632347107,
|
| 317 |
+
"rewards/math_reward_func/mean": 0.734375,
|
| 318 |
+
"rewards/math_reward_func/std": 0.44340085983276367,
|
| 319 |
+
"rewards/think_format_reward/mean": 0.84375,
|
| 320 |
+
"rewards/think_format_reward/std": 0.3645188808441162,
|
| 321 |
+
"sampling/importance_sampling_ratio/max": 2.4416871070861816,
|
| 322 |
+
"sampling/importance_sampling_ratio/mean": 0.13641589879989624,
|
| 323 |
+
"sampling/importance_sampling_ratio/min": 0.0,
|
| 324 |
+
"sampling/sampling_logp_difference/max": 1.7802882194519043,
|
| 325 |
+
"sampling/sampling_logp_difference/mean": 0.013117711059749126,
|
| 326 |
+
"sdpo/local_reward_mean": 1.578125,
|
| 327 |
+
"sdpo/success_fraction": 1.0,
|
| 328 |
+
"sdpo/top100_tail_reverse_kl": 0.9523969579604454,
|
| 329 |
+
"step": 10,
|
| 330 |
+
"step_time": 2242.045174873434
|
| 331 |
+
}
|
| 332 |
+
],
|
| 333 |
+
"logging_steps": 1,
|
| 334 |
+
"max_steps": 100,
|
| 335 |
+
"num_input_tokens_seen": 11752032,
|
| 336 |
+
"num_train_epochs": 1,
|
| 337 |
+
"save_steps": 10,
|
| 338 |
+
"stateful_callbacks": {
|
| 339 |
+
"TrainerControl": {
|
| 340 |
+
"args": {
|
| 341 |
+
"should_epoch_stop": false,
|
| 342 |
+
"should_evaluate": false,
|
| 343 |
+
"should_log": false,
|
| 344 |
+
"should_save": true,
|
| 345 |
+
"should_training_stop": false
|
| 346 |
+
},
|
| 347 |
+
"attributes": {}
|
| 348 |
+
}
|
| 349 |
+
},
|
| 350 |
+
"total_flos": 0.0,
|
| 351 |
+
"train_batch_size": 1,
|
| 352 |
+
"trial_name": null,
|
| 353 |
+
"trial_params": null
|
| 354 |
+
}
|
checkpoint-10/training_args.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:8e18becd6b26b8676b3a8f105ac44d4afad88e666d262a6709bc21415d543da5
|
| 3 |
+
size 8145
|
checkpoint-10/vocab.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
checkpoint-100/README.md
ADDED
|
@@ -0,0 +1,210 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
+
library_name: peft
|
| 4 |
+
pipeline_tag: text-generation
|
| 5 |
+
tags:
|
| 6 |
+
- base_model:adapter:Qwen/Qwen3-4B
|
| 7 |
+
- grpo
|
| 8 |
+
- lora
|
| 9 |
+
- sdpo
|
| 10 |
+
- transformers
|
| 11 |
+
- trl
|
| 12 |
+
---
|
| 13 |
+
|
| 14 |
+
# Model Card for Model ID
|
| 15 |
+
|
| 16 |
+
<!-- Provide a quick summary of what the model is/does. -->
|
| 17 |
+
|
| 18 |
+
|
| 19 |
+
|
| 20 |
+
## Model Details
|
| 21 |
+
|
| 22 |
+
### Model Description
|
| 23 |
+
|
| 24 |
+
<!-- Provide a longer summary of what this model is. -->
|
| 25 |
+
|
| 26 |
+
|
| 27 |
+
|
| 28 |
+
- **Developed by:** [More Information Needed]
|
| 29 |
+
- **Funded by [optional]:** [More Information Needed]
|
| 30 |
+
- **Shared by [optional]:** [More Information Needed]
|
| 31 |
+
- **Model type:** [More Information Needed]
|
| 32 |
+
- **Language(s) (NLP):** [More Information Needed]
|
| 33 |
+
- **License:** [More Information Needed]
|
| 34 |
+
- **Finetuned from model [optional]:** [More Information Needed]
|
| 35 |
+
|
| 36 |
+
### Model Sources [optional]
|
| 37 |
+
|
| 38 |
+
<!-- Provide the basic links for the model. -->
|
| 39 |
+
|
| 40 |
+
- **Repository:** [More Information Needed]
|
| 41 |
+
- **Paper [optional]:** [More Information Needed]
|
| 42 |
+
- **Demo [optional]:** [More Information Needed]
|
| 43 |
+
|
| 44 |
+
## Uses
|
| 45 |
+
|
| 46 |
+
<!-- Address questions around how the model is intended to be used, including the foreseeable users of the model and those affected by the model. -->
|
| 47 |
+
|
| 48 |
+
### Direct Use
|
| 49 |
+
|
| 50 |
+
<!-- This section is for the model use without fine-tuning or plugging into a larger ecosystem/app. -->
|
| 51 |
+
|
| 52 |
+
[More Information Needed]
|
| 53 |
+
|
| 54 |
+
### Downstream Use [optional]
|
| 55 |
+
|
| 56 |
+
<!-- This section is for the model use when fine-tuned for a task, or when plugged into a larger ecosystem/app -->
|
| 57 |
+
|
| 58 |
+
[More Information Needed]
|
| 59 |
+
|
| 60 |
+
### Out-of-Scope Use
|
| 61 |
+
|
| 62 |
+
<!-- This section addresses misuse, malicious use, and uses that the model will not work well for. -->
|
| 63 |
+
|
| 64 |
+
[More Information Needed]
|
| 65 |
+
|
| 66 |
+
## Bias, Risks, and Limitations
|
| 67 |
+
|
| 68 |
+
<!-- This section is meant to convey both technical and sociotechnical limitations. -->
|
| 69 |
+
|
| 70 |
+
[More Information Needed]
|
| 71 |
+
|
| 72 |
+
### Recommendations
|
| 73 |
+
|
| 74 |
+
<!-- This section is meant to convey recommendations with respect to the bias, risk, and technical limitations. -->
|
| 75 |
+
|
| 76 |
+
Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. More information needed for further recommendations.
|
| 77 |
+
|
| 78 |
+
## How to Get Started with the Model
|
| 79 |
+
|
| 80 |
+
Use the code below to get started with the model.
|
| 81 |
+
|
| 82 |
+
[More Information Needed]
|
| 83 |
+
|
| 84 |
+
## Training Details
|
| 85 |
+
|
| 86 |
+
### Training Data
|
| 87 |
+
|
| 88 |
+
<!-- This should link to a Dataset Card, perhaps with a short stub of information on what the training data is all about as well as documentation related to data pre-processing or additional filtering. -->
|
| 89 |
+
|
| 90 |
+
[More Information Needed]
|
| 91 |
+
|
| 92 |
+
### Training Procedure
|
| 93 |
+
|
| 94 |
+
<!-- This relates heavily to the Technical Specifications. Content here should link to that section when it is relevant to the training procedure. -->
|
| 95 |
+
|
| 96 |
+
#### Preprocessing [optional]
|
| 97 |
+
|
| 98 |
+
[More Information Needed]
|
| 99 |
+
|
| 100 |
+
|
| 101 |
+
#### Training Hyperparameters
|
| 102 |
+
|
| 103 |
+
- **Training regime:** [More Information Needed] <!--fp32, fp16 mixed precision, bf16 mixed precision, bf16 non-mixed precision, fp16 non-mixed precision, fp8 mixed precision -->
|
| 104 |
+
|
| 105 |
+
#### Speeds, Sizes, Times [optional]
|
| 106 |
+
|
| 107 |
+
<!-- This section provides information about throughput, start/end time, checkpoint size if relevant, etc. -->
|
| 108 |
+
|
| 109 |
+
[More Information Needed]
|
| 110 |
+
|
| 111 |
+
## Evaluation
|
| 112 |
+
|
| 113 |
+
<!-- This section describes the evaluation protocols and provides the results. -->
|
| 114 |
+
|
| 115 |
+
### Testing Data, Factors & Metrics
|
| 116 |
+
|
| 117 |
+
#### Testing Data
|
| 118 |
+
|
| 119 |
+
<!-- This should link to a Dataset Card if possible. -->
|
| 120 |
+
|
| 121 |
+
[More Information Needed]
|
| 122 |
+
|
| 123 |
+
#### Factors
|
| 124 |
+
|
| 125 |
+
<!-- These are the things the evaluation is disaggregating by, e.g., subpopulations or domains. -->
|
| 126 |
+
|
| 127 |
+
[More Information Needed]
|
| 128 |
+
|
| 129 |
+
#### Metrics
|
| 130 |
+
|
| 131 |
+
<!-- These are the evaluation metrics being used, ideally with a description of why. -->
|
| 132 |
+
|
| 133 |
+
[More Information Needed]
|
| 134 |
+
|
| 135 |
+
### Results
|
| 136 |
+
|
| 137 |
+
[More Information Needed]
|
| 138 |
+
|
| 139 |
+
#### Summary
|
| 140 |
+
|
| 141 |
+
|
| 142 |
+
|
| 143 |
+
## Model Examination [optional]
|
| 144 |
+
|
| 145 |
+
<!-- Relevant interpretability work for the model goes here -->
|
| 146 |
+
|
| 147 |
+
[More Information Needed]
|
| 148 |
+
|
| 149 |
+
## Environmental Impact
|
| 150 |
+
|
| 151 |
+
<!-- Total emissions (in grams of CO2eq) and additional considerations, such as electricity usage, go here. Edit the suggested text below accordingly -->
|
| 152 |
+
|
| 153 |
+
Carbon emissions can be estimated using the [Machine Learning Impact calculator](https://mlco2.github.io/impact#compute) presented in [Lacoste et al. (2019)](https://arxiv.org/abs/1910.09700).
|
| 154 |
+
|
| 155 |
+
- **Hardware Type:** [More Information Needed]
|
| 156 |
+
- **Hours used:** [More Information Needed]
|
| 157 |
+
- **Cloud Provider:** [More Information Needed]
|
| 158 |
+
- **Compute Region:** [More Information Needed]
|
| 159 |
+
- **Carbon Emitted:** [More Information Needed]
|
| 160 |
+
|
| 161 |
+
## Technical Specifications [optional]
|
| 162 |
+
|
| 163 |
+
### Model Architecture and Objective
|
| 164 |
+
|
| 165 |
+
[More Information Needed]
|
| 166 |
+
|
| 167 |
+
### Compute Infrastructure
|
| 168 |
+
|
| 169 |
+
[More Information Needed]
|
| 170 |
+
|
| 171 |
+
#### Hardware
|
| 172 |
+
|
| 173 |
+
[More Information Needed]
|
| 174 |
+
|
| 175 |
+
#### Software
|
| 176 |
+
|
| 177 |
+
[More Information Needed]
|
| 178 |
+
|
| 179 |
+
## Citation [optional]
|
| 180 |
+
|
| 181 |
+
<!-- If there is a paper or blog post introducing the model, the APA and Bibtex information for that should go in this section. -->
|
| 182 |
+
|
| 183 |
+
**BibTeX:**
|
| 184 |
+
|
| 185 |
+
[More Information Needed]
|
| 186 |
+
|
| 187 |
+
**APA:**
|
| 188 |
+
|
| 189 |
+
[More Information Needed]
|
| 190 |
+
|
| 191 |
+
## Glossary [optional]
|
| 192 |
+
|
| 193 |
+
<!-- If relevant, include terms and calculations in this section that can help readers understand the model or model card. -->
|
| 194 |
+
|
| 195 |
+
[More Information Needed]
|
| 196 |
+
|
| 197 |
+
## More Information [optional]
|
| 198 |
+
|
| 199 |
+
[More Information Needed]
|
| 200 |
+
|
| 201 |
+
## Model Card Authors [optional]
|
| 202 |
+
|
| 203 |
+
[More Information Needed]
|
| 204 |
+
|
| 205 |
+
## Model Card Contact
|
| 206 |
+
|
| 207 |
+
[More Information Needed]
|
| 208 |
+
### Framework versions
|
| 209 |
+
|
| 210 |
+
- PEFT 0.19.1
|
checkpoint-100/adapter_config.json
ADDED
|
@@ -0,0 +1,48 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"alora_invocation_tokens": null,
|
| 3 |
+
"alpha_pattern": {},
|
| 4 |
+
"arrow_config": null,
|
| 5 |
+
"auto_mapping": null,
|
| 6 |
+
"base_model_name_or_path": "Qwen/Qwen3-4B",
|
| 7 |
+
"bias": "none",
|
| 8 |
+
"corda_config": null,
|
| 9 |
+
"ensure_weight_tying": false,
|
| 10 |
+
"eva_config": null,
|
| 11 |
+
"exclude_modules": null,
|
| 12 |
+
"fan_in_fan_out": false,
|
| 13 |
+
"inference_mode": true,
|
| 14 |
+
"init_lora_weights": true,
|
| 15 |
+
"layer_replication": null,
|
| 16 |
+
"layers_pattern": null,
|
| 17 |
+
"layers_to_transform": null,
|
| 18 |
+
"loftq_config": {},
|
| 19 |
+
"lora_alpha": 64,
|
| 20 |
+
"lora_bias": false,
|
| 21 |
+
"lora_dropout": 0.05,
|
| 22 |
+
"lora_ga_config": null,
|
| 23 |
+
"megatron_config": null,
|
| 24 |
+
"megatron_core": "megatron.core",
|
| 25 |
+
"modules_to_save": null,
|
| 26 |
+
"peft_type": "LORA",
|
| 27 |
+
"peft_version": "0.19.1",
|
| 28 |
+
"qalora_group_size": 16,
|
| 29 |
+
"r": 32,
|
| 30 |
+
"rank_pattern": {},
|
| 31 |
+
"revision": null,
|
| 32 |
+
"target_modules": [
|
| 33 |
+
"o_proj",
|
| 34 |
+
"k_proj",
|
| 35 |
+
"gate_proj",
|
| 36 |
+
"q_proj",
|
| 37 |
+
"up_proj",
|
| 38 |
+
"v_proj",
|
| 39 |
+
"down_proj"
|
| 40 |
+
],
|
| 41 |
+
"target_parameters": null,
|
| 42 |
+
"task_type": "CAUSAL_LM",
|
| 43 |
+
"trainable_token_indices": null,
|
| 44 |
+
"use_bdlora": null,
|
| 45 |
+
"use_dora": false,
|
| 46 |
+
"use_qalora": false,
|
| 47 |
+
"use_rslora": false
|
| 48 |
+
}
|
checkpoint-100/adapter_model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:45209971cb3479fea184ae4ccfac65752a54ccf44244ffbe493a92beb2055fd9
|
| 3 |
+
size 264308896
|
checkpoint-100/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 |
+
}
|
checkpoint-100/chat_template.jinja
ADDED
|
@@ -0,0 +1,89 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{%- if tools %}
|
| 2 |
+
{{- '<|im_start|>system\n' }}
|
| 3 |
+
{%- if messages[0].role == 'system' %}
|
| 4 |
+
{{- messages[0].content + '\n\n' }}
|
| 5 |
+
{%- endif %}
|
| 6 |
+
{{- "# Tools\n\nYou may call one or more functions to assist with the user query.\n\nYou are provided with function signatures within <tools></tools> XML tags:\n<tools>" }}
|
| 7 |
+
{%- for tool in tools %}
|
| 8 |
+
{{- "\n" }}
|
| 9 |
+
{{- tool | tojson }}
|
| 10 |
+
{%- endfor %}
|
| 11 |
+
{{- "\n</tools>\n\nFor each function call, return a json object with function name and arguments within <tool_call></tool_call> XML tags:\n<tool_call>\n{\"name\": <function-name>, \"arguments\": <args-json-object>}\n</tool_call><|im_end|>\n" }}
|
| 12 |
+
{%- else %}
|
| 13 |
+
{%- if messages[0].role == 'system' %}
|
| 14 |
+
{{- '<|im_start|>system\n' + messages[0].content + '<|im_end|>\n' }}
|
| 15 |
+
{%- endif %}
|
| 16 |
+
{%- endif %}
|
| 17 |
+
{%- set ns = namespace(multi_step_tool=true, last_query_index=messages|length - 1) %}
|
| 18 |
+
{%- for message in messages[::-1] %}
|
| 19 |
+
{%- set index = (messages|length - 1) - loop.index0 %}
|
| 20 |
+
{%- if ns.multi_step_tool and message.role == "user" and message.content is string and not(message.content.startswith('<tool_response>') and message.content.endswith('</tool_response>')) %}
|
| 21 |
+
{%- set ns.multi_step_tool = false %}
|
| 22 |
+
{%- set ns.last_query_index = index %}
|
| 23 |
+
{%- endif %}
|
| 24 |
+
{%- endfor %}
|
| 25 |
+
{%- for message in messages %}
|
| 26 |
+
{%- if message.content is string %}
|
| 27 |
+
{%- set content = message.content %}
|
| 28 |
+
{%- else %}
|
| 29 |
+
{%- set content = '' %}
|
| 30 |
+
{%- endif %}
|
| 31 |
+
{%- if (message.role == "user") or (message.role == "system" and not loop.first) %}
|
| 32 |
+
{{- '<|im_start|>' + message.role + '\n' + content + '<|im_end|>' + '\n' }}
|
| 33 |
+
{%- elif message.role == "assistant" %}
|
| 34 |
+
{%- set reasoning_content = '' %}
|
| 35 |
+
{%- if message.reasoning_content is string %}
|
| 36 |
+
{%- set reasoning_content = message.reasoning_content %}
|
| 37 |
+
{%- else %}
|
| 38 |
+
{%- if '</think>' in content %}
|
| 39 |
+
{%- set reasoning_content = content.split('</think>')[0].rstrip('\n').split('<think>')[-1].lstrip('\n') %}
|
| 40 |
+
{%- set content = content.split('</think>')[-1].lstrip('\n') %}
|
| 41 |
+
{%- endif %}
|
| 42 |
+
{%- endif %}
|
| 43 |
+
{%- if loop.index0 > ns.last_query_index %}
|
| 44 |
+
{%- if loop.last or (not loop.last and reasoning_content) %}
|
| 45 |
+
{{- '<|im_start|>' + message.role + '\n<think>\n' + reasoning_content.strip('\n') + '\n</think>\n\n' + content.lstrip('\n') }}
|
| 46 |
+
{%- else %}
|
| 47 |
+
{{- '<|im_start|>' + message.role + '\n' + content }}
|
| 48 |
+
{%- endif %}
|
| 49 |
+
{%- else %}
|
| 50 |
+
{{- '<|im_start|>' + message.role + '\n' + content }}
|
| 51 |
+
{%- endif %}
|
| 52 |
+
{%- if message.tool_calls %}
|
| 53 |
+
{%- for tool_call in message.tool_calls %}
|
| 54 |
+
{%- if (loop.first and content) or (not loop.first) %}
|
| 55 |
+
{{- '\n' }}
|
| 56 |
+
{%- endif %}
|
| 57 |
+
{%- if tool_call.function %}
|
| 58 |
+
{%- set tool_call = tool_call.function %}
|
| 59 |
+
{%- endif %}
|
| 60 |
+
{{- '<tool_call>\n{"name": "' }}
|
| 61 |
+
{{- tool_call.name }}
|
| 62 |
+
{{- '", "arguments": ' }}
|
| 63 |
+
{%- if tool_call.arguments is string %}
|
| 64 |
+
{{- tool_call.arguments }}
|
| 65 |
+
{%- else %}
|
| 66 |
+
{{- tool_call.arguments | tojson }}
|
| 67 |
+
{%- endif %}
|
| 68 |
+
{{- '}\n</tool_call>' }}
|
| 69 |
+
{%- endfor %}
|
| 70 |
+
{%- endif %}
|
| 71 |
+
{{- '<|im_end|>\n' }}
|
| 72 |
+
{%- elif message.role == "tool" %}
|
| 73 |
+
{%- if loop.first or (messages[loop.index0 - 1].role != "tool") %}
|
| 74 |
+
{{- '<|im_start|>user' }}
|
| 75 |
+
{%- endif %}
|
| 76 |
+
{{- '\n<tool_response>\n' }}
|
| 77 |
+
{{- content }}
|
| 78 |
+
{{- '\n</tool_response>' }}
|
| 79 |
+
{%- if loop.last or (messages[loop.index0 + 1].role != "tool") %}
|
| 80 |
+
{{- '<|im_end|>\n' }}
|
| 81 |
+
{%- endif %}
|
| 82 |
+
{%- endif %}
|
| 83 |
+
{%- endfor %}
|
| 84 |
+
{%- if add_generation_prompt %}
|
| 85 |
+
{{- '<|im_start|>assistant\n' }}
|
| 86 |
+
{%- if enable_thinking is defined and enable_thinking is false %}
|
| 87 |
+
{{- '<think>\n\n</think>\n\n' }}
|
| 88 |
+
{%- endif %}
|
| 89 |
+
{%- endif %}
|
checkpoint-100/merges.txt
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
checkpoint-100/optimizer.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f3958929ab0d9c83bc7da1b50111c3740ff3c9350e1622dd568efd5f6699ddda
|
| 3 |
+
size 528915403
|
checkpoint-100/rng_state.pth
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:5062be63d3873f6757a014be726b89cc51864aea9fcf49c2bd59e50ba66ee0b6
|
| 3 |
+
size 14581
|
checkpoint-100/scheduler.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:89c7e585bf25f929251599f24890acceb440d06b049a496384748f1eed552840
|
| 3 |
+
size 1465
|
checkpoint-100/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 |
+
}
|
checkpoint-100/tokenizer.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:67cc0080ffd7555f723f423c27cfef314e1ad9d335c8b79f465c5faba1ed478b
|
| 3 |
+
size 11422821
|
checkpoint-100/tokenizer_config.json
ADDED
|
@@ -0,0 +1,240 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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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": 131072,
|
| 235 |
+
"pad_token": "<|endoftext|>",
|
| 236 |
+
"padding_side": "left",
|
| 237 |
+
"split_special_tokens": false,
|
| 238 |
+
"tokenizer_class": "Qwen2Tokenizer",
|
| 239 |
+
"unk_token": null
|
| 240 |
+
}
|
checkpoint-100/trainer_state.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
checkpoint-100/training_args.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:8e18becd6b26b8676b3a8f105ac44d4afad88e666d262a6709bc21415d543da5
|
| 3 |
+
size 8145
|
checkpoint-100/vocab.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
checkpoint-20/README.md
ADDED
|
@@ -0,0 +1,210 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
| 8 |
+
- lora
|
| 9 |
+
- sdpo
|
| 10 |
+
- transformers
|
| 11 |
+
- trl
|
| 12 |
+
---
|
| 13 |
+
|
| 14 |
+
# Model Card for Model ID
|
| 15 |
+
|
| 16 |
+
<!-- Provide a quick summary of what the model is/does. -->
|
| 17 |
+
|
| 18 |
+
|
| 19 |
+
|
| 20 |
+
## Model Details
|
| 21 |
+
|
| 22 |
+
### Model Description
|
| 23 |
+
|
| 24 |
+
<!-- Provide a longer summary of what this model is. -->
|
| 25 |
+
|
| 26 |
+
|
| 27 |
+
|
| 28 |
+
- **Developed by:** [More Information Needed]
|
| 29 |
+
- **Funded by [optional]:** [More Information Needed]
|
| 30 |
+
- **Shared by [optional]:** [More Information Needed]
|
| 31 |
+
- **Model type:** [More Information Needed]
|
| 32 |
+
- **Language(s) (NLP):** [More Information Needed]
|
| 33 |
+
- **License:** [More Information Needed]
|
| 34 |
+
- **Finetuned from model [optional]:** [More Information Needed]
|
| 35 |
+
|
| 36 |
+
### Model Sources [optional]
|
| 37 |
+
|
| 38 |
+
<!-- Provide the basic links for the model. -->
|
| 39 |
+
|
| 40 |
+
- **Repository:** [More Information Needed]
|
| 41 |
+
- **Paper [optional]:** [More Information Needed]
|
| 42 |
+
- **Demo [optional]:** [More Information Needed]
|
| 43 |
+
|
| 44 |
+
## Uses
|
| 45 |
+
|
| 46 |
+
<!-- Address questions around how the model is intended to be used, including the foreseeable users of the model and those affected by the model. -->
|
| 47 |
+
|
| 48 |
+
### Direct Use
|
| 49 |
+
|
| 50 |
+
<!-- This section is for the model use without fine-tuning or plugging into a larger ecosystem/app. -->
|
| 51 |
+
|
| 52 |
+
[More Information Needed]
|
| 53 |
+
|
| 54 |
+
### Downstream Use [optional]
|
| 55 |
+
|
| 56 |
+
<!-- This section is for the model use when fine-tuned for a task, or when plugged into a larger ecosystem/app -->
|
| 57 |
+
|
| 58 |
+
[More Information Needed]
|
| 59 |
+
|
| 60 |
+
### Out-of-Scope Use
|
| 61 |
+
|
| 62 |
+
<!-- This section addresses misuse, malicious use, and uses that the model will not work well for. -->
|
| 63 |
+
|
| 64 |
+
[More Information Needed]
|
| 65 |
+
|
| 66 |
+
## Bias, Risks, and Limitations
|
| 67 |
+
|
| 68 |
+
<!-- This section is meant to convey both technical and sociotechnical limitations. -->
|
| 69 |
+
|
| 70 |
+
[More Information Needed]
|
| 71 |
+
|
| 72 |
+
### Recommendations
|
| 73 |
+
|
| 74 |
+
<!-- This section is meant to convey recommendations with respect to the bias, risk, and technical limitations. -->
|
| 75 |
+
|
| 76 |
+
Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. More information needed for further recommendations.
|
| 77 |
+
|
| 78 |
+
## How to Get Started with the Model
|
| 79 |
+
|
| 80 |
+
Use the code below to get started with the model.
|
| 81 |
+
|
| 82 |
+
[More Information Needed]
|
| 83 |
+
|
| 84 |
+
## Training Details
|
| 85 |
+
|
| 86 |
+
### Training Data
|
| 87 |
+
|
| 88 |
+
<!-- This should link to a Dataset Card, perhaps with a short stub of information on what the training data is all about as well as documentation related to data pre-processing or additional filtering. -->
|
| 89 |
+
|
| 90 |
+
[More Information Needed]
|
| 91 |
+
|
| 92 |
+
### Training Procedure
|
| 93 |
+
|
| 94 |
+
<!-- This relates heavily to the Technical Specifications. Content here should link to that section when it is relevant to the training procedure. -->
|
| 95 |
+
|
| 96 |
+
#### Preprocessing [optional]
|
| 97 |
+
|
| 98 |
+
[More Information Needed]
|
| 99 |
+
|
| 100 |
+
|
| 101 |
+
#### Training Hyperparameters
|
| 102 |
+
|
| 103 |
+
- **Training regime:** [More Information Needed] <!--fp32, fp16 mixed precision, bf16 mixed precision, bf16 non-mixed precision, fp16 non-mixed precision, fp8 mixed precision -->
|
| 104 |
+
|
| 105 |
+
#### Speeds, Sizes, Times [optional]
|
| 106 |
+
|
| 107 |
+
<!-- This section provides information about throughput, start/end time, checkpoint size if relevant, etc. -->
|
| 108 |
+
|
| 109 |
+
[More Information Needed]
|
| 110 |
+
|
| 111 |
+
## Evaluation
|
| 112 |
+
|
| 113 |
+
<!-- This section describes the evaluation protocols and provides the results. -->
|
| 114 |
+
|
| 115 |
+
### Testing Data, Factors & Metrics
|
| 116 |
+
|
| 117 |
+
#### Testing Data
|
| 118 |
+
|
| 119 |
+
<!-- This should link to a Dataset Card if possible. -->
|
| 120 |
+
|
| 121 |
+
[More Information Needed]
|
| 122 |
+
|
| 123 |
+
#### Factors
|
| 124 |
+
|
| 125 |
+
<!-- These are the things the evaluation is disaggregating by, e.g., subpopulations or domains. -->
|
| 126 |
+
|
| 127 |
+
[More Information Needed]
|
| 128 |
+
|
| 129 |
+
#### Metrics
|
| 130 |
+
|
| 131 |
+
<!-- These are the evaluation metrics being used, ideally with a description of why. -->
|
| 132 |
+
|
| 133 |
+
[More Information Needed]
|
| 134 |
+
|
| 135 |
+
### Results
|
| 136 |
+
|
| 137 |
+
[More Information Needed]
|
| 138 |
+
|
| 139 |
+
#### Summary
|
| 140 |
+
|
| 141 |
+
|
| 142 |
+
|
| 143 |
+
## Model Examination [optional]
|
| 144 |
+
|
| 145 |
+
<!-- Relevant interpretability work for the model goes here -->
|
| 146 |
+
|
| 147 |
+
[More Information Needed]
|
| 148 |
+
|
| 149 |
+
## Environmental Impact
|
| 150 |
+
|
| 151 |
+
<!-- Total emissions (in grams of CO2eq) and additional considerations, such as electricity usage, go here. Edit the suggested text below accordingly -->
|
| 152 |
+
|
| 153 |
+
Carbon emissions can be estimated using the [Machine Learning Impact calculator](https://mlco2.github.io/impact#compute) presented in [Lacoste et al. (2019)](https://arxiv.org/abs/1910.09700).
|
| 154 |
+
|
| 155 |
+
- **Hardware Type:** [More Information Needed]
|
| 156 |
+
- **Hours used:** [More Information Needed]
|
| 157 |
+
- **Cloud Provider:** [More Information Needed]
|
| 158 |
+
- **Compute Region:** [More Information Needed]
|
| 159 |
+
- **Carbon Emitted:** [More Information Needed]
|
| 160 |
+
|
| 161 |
+
## Technical Specifications [optional]
|
| 162 |
+
|
| 163 |
+
### Model Architecture and Objective
|
| 164 |
+
|
| 165 |
+
[More Information Needed]
|
| 166 |
+
|
| 167 |
+
### Compute Infrastructure
|
| 168 |
+
|
| 169 |
+
[More Information Needed]
|
| 170 |
+
|
| 171 |
+
#### Hardware
|
| 172 |
+
|
| 173 |
+
[More Information Needed]
|
| 174 |
+
|
| 175 |
+
#### Software
|
| 176 |
+
|
| 177 |
+
[More Information Needed]
|
| 178 |
+
|
| 179 |
+
## Citation [optional]
|
| 180 |
+
|
| 181 |
+
<!-- If there is a paper or blog post introducing the model, the APA and Bibtex information for that should go in this section. -->
|
| 182 |
+
|
| 183 |
+
**BibTeX:**
|
| 184 |
+
|
| 185 |
+
[More Information Needed]
|
| 186 |
+
|
| 187 |
+
**APA:**
|
| 188 |
+
|
| 189 |
+
[More Information Needed]
|
| 190 |
+
|
| 191 |
+
## Glossary [optional]
|
| 192 |
+
|
| 193 |
+
<!-- If relevant, include terms and calculations in this section that can help readers understand the model or model card. -->
|
| 194 |
+
|
| 195 |
+
[More Information Needed]
|
| 196 |
+
|
| 197 |
+
## More Information [optional]
|
| 198 |
+
|
| 199 |
+
[More Information Needed]
|
| 200 |
+
|
| 201 |
+
## Model Card Authors [optional]
|
| 202 |
+
|
| 203 |
+
[More Information Needed]
|
| 204 |
+
|
| 205 |
+
## Model Card Contact
|
| 206 |
+
|
| 207 |
+
[More Information Needed]
|
| 208 |
+
### Framework versions
|
| 209 |
+
|
| 210 |
+
- PEFT 0.19.1
|
checkpoint-20/adapter_config.json
ADDED
|
@@ -0,0 +1,48 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"alora_invocation_tokens": null,
|
| 3 |
+
"alpha_pattern": {},
|
| 4 |
+
"arrow_config": null,
|
| 5 |
+
"auto_mapping": null,
|
| 6 |
+
"base_model_name_or_path": "Qwen/Qwen3-4B",
|
| 7 |
+
"bias": "none",
|
| 8 |
+
"corda_config": null,
|
| 9 |
+
"ensure_weight_tying": false,
|
| 10 |
+
"eva_config": null,
|
| 11 |
+
"exclude_modules": null,
|
| 12 |
+
"fan_in_fan_out": false,
|
| 13 |
+
"inference_mode": true,
|
| 14 |
+
"init_lora_weights": true,
|
| 15 |
+
"layer_replication": null,
|
| 16 |
+
"layers_pattern": null,
|
| 17 |
+
"layers_to_transform": null,
|
| 18 |
+
"loftq_config": {},
|
| 19 |
+
"lora_alpha": 64,
|
| 20 |
+
"lora_bias": false,
|
| 21 |
+
"lora_dropout": 0.05,
|
| 22 |
+
"lora_ga_config": null,
|
| 23 |
+
"megatron_config": null,
|
| 24 |
+
"megatron_core": "megatron.core",
|
| 25 |
+
"modules_to_save": null,
|
| 26 |
+
"peft_type": "LORA",
|
| 27 |
+
"peft_version": "0.19.1",
|
| 28 |
+
"qalora_group_size": 16,
|
| 29 |
+
"r": 32,
|
| 30 |
+
"rank_pattern": {},
|
| 31 |
+
"revision": null,
|
| 32 |
+
"target_modules": [
|
| 33 |
+
"o_proj",
|
| 34 |
+
"k_proj",
|
| 35 |
+
"gate_proj",
|
| 36 |
+
"q_proj",
|
| 37 |
+
"up_proj",
|
| 38 |
+
"v_proj",
|
| 39 |
+
"down_proj"
|
| 40 |
+
],
|
| 41 |
+
"target_parameters": null,
|
| 42 |
+
"task_type": "CAUSAL_LM",
|
| 43 |
+
"trainable_token_indices": null,
|
| 44 |
+
"use_bdlora": null,
|
| 45 |
+
"use_dora": false,
|
| 46 |
+
"use_qalora": false,
|
| 47 |
+
"use_rslora": false
|
| 48 |
+
}
|
checkpoint-20/adapter_model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6fbdc6d8420bfee9c8e17454dae6b98990b2a1a6a1710f9ee24bed595a0c02e5
|
| 3 |
+
size 264308896
|
checkpoint-20/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 |
+
}
|
checkpoint-20/chat_template.jinja
ADDED
|
@@ -0,0 +1,89 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{%- if tools %}
|
| 2 |
+
{{- '<|im_start|>system\n' }}
|
| 3 |
+
{%- if messages[0].role == 'system' %}
|
| 4 |
+
{{- messages[0].content + '\n\n' }}
|
| 5 |
+
{%- endif %}
|
| 6 |
+
{{- "# Tools\n\nYou may call one or more functions to assist with the user query.\n\nYou are provided with function signatures within <tools></tools> XML tags:\n<tools>" }}
|
| 7 |
+
{%- for tool in tools %}
|
| 8 |
+
{{- "\n" }}
|
| 9 |
+
{{- tool | tojson }}
|
| 10 |
+
{%- endfor %}
|
| 11 |
+
{{- "\n</tools>\n\nFor each function call, return a json object with function name and arguments within <tool_call></tool_call> XML tags:\n<tool_call>\n{\"name\": <function-name>, \"arguments\": <args-json-object>}\n</tool_call><|im_end|>\n" }}
|
| 12 |
+
{%- else %}
|
| 13 |
+
{%- if messages[0].role == 'system' %}
|
| 14 |
+
{{- '<|im_start|>system\n' + messages[0].content + '<|im_end|>\n' }}
|
| 15 |
+
{%- endif %}
|
| 16 |
+
{%- endif %}
|
| 17 |
+
{%- set ns = namespace(multi_step_tool=true, last_query_index=messages|length - 1) %}
|
| 18 |
+
{%- for message in messages[::-1] %}
|
| 19 |
+
{%- set index = (messages|length - 1) - loop.index0 %}
|
| 20 |
+
{%- if ns.multi_step_tool and message.role == "user" and message.content is string and not(message.content.startswith('<tool_response>') and message.content.endswith('</tool_response>')) %}
|
| 21 |
+
{%- set ns.multi_step_tool = false %}
|
| 22 |
+
{%- set ns.last_query_index = index %}
|
| 23 |
+
{%- endif %}
|
| 24 |
+
{%- endfor %}
|
| 25 |
+
{%- for message in messages %}
|
| 26 |
+
{%- if message.content is string %}
|
| 27 |
+
{%- set content = message.content %}
|
| 28 |
+
{%- else %}
|
| 29 |
+
{%- set content = '' %}
|
| 30 |
+
{%- endif %}
|
| 31 |
+
{%- if (message.role == "user") or (message.role == "system" and not loop.first) %}
|
| 32 |
+
{{- '<|im_start|>' + message.role + '\n' + content + '<|im_end|>' + '\n' }}
|
| 33 |
+
{%- elif message.role == "assistant" %}
|
| 34 |
+
{%- set reasoning_content = '' %}
|
| 35 |
+
{%- if message.reasoning_content is string %}
|
| 36 |
+
{%- set reasoning_content = message.reasoning_content %}
|
| 37 |
+
{%- else %}
|
| 38 |
+
{%- if '</think>' in content %}
|
| 39 |
+
{%- set reasoning_content = content.split('</think>')[0].rstrip('\n').split('<think>')[-1].lstrip('\n') %}
|
| 40 |
+
{%- set content = content.split('</think>')[-1].lstrip('\n') %}
|
| 41 |
+
{%- endif %}
|
| 42 |
+
{%- endif %}
|
| 43 |
+
{%- if loop.index0 > ns.last_query_index %}
|
| 44 |
+
{%- if loop.last or (not loop.last and reasoning_content) %}
|
| 45 |
+
{{- '<|im_start|>' + message.role + '\n<think>\n' + reasoning_content.strip('\n') + '\n</think>\n\n' + content.lstrip('\n') }}
|
| 46 |
+
{%- else %}
|
| 47 |
+
{{- '<|im_start|>' + message.role + '\n' + content }}
|
| 48 |
+
{%- endif %}
|
| 49 |
+
{%- else %}
|
| 50 |
+
{{- '<|im_start|>' + message.role + '\n' + content }}
|
| 51 |
+
{%- endif %}
|
| 52 |
+
{%- if message.tool_calls %}
|
| 53 |
+
{%- for tool_call in message.tool_calls %}
|
| 54 |
+
{%- if (loop.first and content) or (not loop.first) %}
|
| 55 |
+
{{- '\n' }}
|
| 56 |
+
{%- endif %}
|
| 57 |
+
{%- if tool_call.function %}
|
| 58 |
+
{%- set tool_call = tool_call.function %}
|
| 59 |
+
{%- endif %}
|
| 60 |
+
{{- '<tool_call>\n{"name": "' }}
|
| 61 |
+
{{- tool_call.name }}
|
| 62 |
+
{{- '", "arguments": ' }}
|
| 63 |
+
{%- if tool_call.arguments is string %}
|
| 64 |
+
{{- tool_call.arguments }}
|
| 65 |
+
{%- else %}
|
| 66 |
+
{{- tool_call.arguments | tojson }}
|
| 67 |
+
{%- endif %}
|
| 68 |
+
{{- '}\n</tool_call>' }}
|
| 69 |
+
{%- endfor %}
|
| 70 |
+
{%- endif %}
|
| 71 |
+
{{- '<|im_end|>\n' }}
|
| 72 |
+
{%- elif message.role == "tool" %}
|
| 73 |
+
{%- if loop.first or (messages[loop.index0 - 1].role != "tool") %}
|
| 74 |
+
{{- '<|im_start|>user' }}
|
| 75 |
+
{%- endif %}
|
| 76 |
+
{{- '\n<tool_response>\n' }}
|
| 77 |
+
{{- content }}
|
| 78 |
+
{{- '\n</tool_response>' }}
|
| 79 |
+
{%- if loop.last or (messages[loop.index0 + 1].role != "tool") %}
|
| 80 |
+
{{- '<|im_end|>\n' }}
|
| 81 |
+
{%- endif %}
|
| 82 |
+
{%- endif %}
|
| 83 |
+
{%- endfor %}
|
| 84 |
+
{%- if add_generation_prompt %}
|
| 85 |
+
{{- '<|im_start|>assistant\n' }}
|
| 86 |
+
{%- if enable_thinking is defined and enable_thinking is false %}
|
| 87 |
+
{{- '<think>\n\n</think>\n\n' }}
|
| 88 |
+
{%- endif %}
|
| 89 |
+
{%- endif %}
|
checkpoint-20/merges.txt
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
checkpoint-20/optimizer.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:61a18fedc92e7f8d034490a5493d079308cc5e10aa487b8073c72c1e722ea07a
|
| 3 |
+
size 528915403
|
checkpoint-20/rng_state.pth
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a5a7772901166986d9845ddde86ed23c77f500e4bc353e4d40e3bc289c8140cb
|
| 3 |
+
size 14581
|
checkpoint-20/scheduler.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:06f68b2c0b998a23f6f5b58716b9fe6e30a7cfeb3241e8e1ff45339927bfa21b
|
| 3 |
+
size 1465
|
checkpoint-20/special_tokens_map.json
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"additional_special_tokens": [
|
| 3 |
+
"<|im_start|>",
|
| 4 |
+
"<|im_end|>",
|
| 5 |
+
"<|object_ref_start|>",
|
| 6 |
+
"<|object_ref_end|>",
|
| 7 |
+
"<|box_start|>",
|
| 8 |
+
"<|box_end|>",
|
| 9 |
+
"<|quad_start|>",
|
| 10 |
+
"<|quad_end|>",
|
| 11 |
+
"<|vision_start|>",
|
| 12 |
+
"<|vision_end|>",
|
| 13 |
+
"<|vision_pad|>",
|
| 14 |
+
"<|image_pad|>",
|
| 15 |
+
"<|video_pad|>"
|
| 16 |
+
],
|
| 17 |
+
"eos_token": {
|
| 18 |
+
"content": "<|im_end|>",
|
| 19 |
+
"lstrip": false,
|
| 20 |
+
"normalized": false,
|
| 21 |
+
"rstrip": false,
|
| 22 |
+
"single_word": false
|
| 23 |
+
},
|
| 24 |
+
"pad_token": {
|
| 25 |
+
"content": "<|endoftext|>",
|
| 26 |
+
"lstrip": false,
|
| 27 |
+
"normalized": false,
|
| 28 |
+
"rstrip": false,
|
| 29 |
+
"single_word": false
|
| 30 |
+
}
|
| 31 |
+
}
|
checkpoint-20/tokenizer.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:67cc0080ffd7555f723f423c27cfef314e1ad9d335c8b79f465c5faba1ed478b
|
| 3 |
+
size 11422821
|
checkpoint-20/tokenizer_config.json
ADDED
|
@@ -0,0 +1,240 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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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": 131072,
|
| 235 |
+
"pad_token": "<|endoftext|>",
|
| 236 |
+
"padding_side": "left",
|
| 237 |
+
"split_special_tokens": false,
|
| 238 |
+
"tokenizer_class": "Qwen2Tokenizer",
|
| 239 |
+
"unk_token": null
|
| 240 |
+
}
|
checkpoint-20/trainer_state.json
ADDED
|
@@ -0,0 +1,674 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"best_global_step": null,
|
| 3 |
+
"best_metric": null,
|
| 4 |
+
"best_model_checkpoint": null,
|
| 5 |
+
"epoch": 0.15625,
|
| 6 |
+
"eval_steps": 500,
|
| 7 |
+
"global_step": 20,
|
| 8 |
+
"is_hyper_param_search": false,
|
| 9 |
+
"is_local_process_zero": true,
|
| 10 |
+
"is_world_process_zero": true,
|
| 11 |
+
"log_history": [
|
| 12 |
+
{
|
| 13 |
+
"completions/clipped_ratio": 0.25,
|
| 14 |
+
"completions/max_length": 16384.0,
|
| 15 |
+
"completions/max_terminated_length": 14949.0,
|
| 16 |
+
"completions/mean_length": 9653.5625,
|
| 17 |
+
"completions/mean_terminated_length": 7410.08349609375,
|
| 18 |
+
"completions/min_length": 1429.0,
|
| 19 |
+
"completions/min_terminated_length": 1429.0,
|
| 20 |
+
"entropy": 0.29970241081900895,
|
| 21 |
+
"epoch": 0.0078125,
|
| 22 |
+
"frac_reward_zero_std": 0.5625,
|
| 23 |
+
"grad_norm": 139.3961181640625,
|
| 24 |
+
"learning_rate": 0.0,
|
| 25 |
+
"loss": 118.8372,
|
| 26 |
+
"num_tokens": 1254992.0,
|
| 27 |
+
"reward": 1.4375,
|
| 28 |
+
"reward_std": 0.8010819554328918,
|
| 29 |
+
"rewards/math_reward_func/mean": 0.65625,
|
| 30 |
+
"rewards/math_reward_func/std": 0.47682511806488037,
|
| 31 |
+
"rewards/think_format_reward/mean": 0.78125,
|
| 32 |
+
"rewards/think_format_reward/std": 0.41502299904823303,
|
| 33 |
+
"sampling/importance_sampling_ratio/max": 1.2375390529632568,
|
| 34 |
+
"sampling/importance_sampling_ratio/mean": 0.08747025579214096,
|
| 35 |
+
"sampling/importance_sampling_ratio/min": 0.0,
|
| 36 |
+
"sampling/sampling_logp_difference/max": 2.26882266998291,
|
| 37 |
+
"sampling/sampling_logp_difference/mean": 0.014405248686671257,
|
| 38 |
+
"sdpo/local_reward_mean": 1.4375,
|
| 39 |
+
"sdpo/success_fraction": 0.875,
|
| 40 |
+
"sdpo/top100_tail_reverse_kl": 0.9284152567852288,
|
| 41 |
+
"step": 1,
|
| 42 |
+
"step_time": 2370.7101150611416
|
| 43 |
+
},
|
| 44 |
+
{
|
| 45 |
+
"completions/clipped_ratio": 0.2734375,
|
| 46 |
+
"completions/max_length": 16384.0,
|
| 47 |
+
"completions/max_terminated_length": 16193.0,
|
| 48 |
+
"completions/mean_length": 9917.9296875,
|
| 49 |
+
"completions/mean_terminated_length": 7484.46240234375,
|
| 50 |
+
"completions/min_length": 700.0,
|
| 51 |
+
"completions/min_terminated_length": 700.0,
|
| 52 |
+
"entropy": 0.28982284700032324,
|
| 53 |
+
"epoch": 0.015625,
|
| 54 |
+
"frac_reward_zero_std": 0.5,
|
| 55 |
+
"grad_norm": 137.28524780273438,
|
| 56 |
+
"learning_rate": 1.0000000000000002e-06,
|
| 57 |
+
"loss": 113.6375,
|
| 58 |
+
"num_tokens": 2543519.0,
|
| 59 |
+
"reward": 1.3984375,
|
| 60 |
+
"reward_std": 0.8449930548667908,
|
| 61 |
+
"rewards/math_reward_func/mean": 0.6484375,
|
| 62 |
+
"rewards/math_reward_func/std": 0.4793342351913452,
|
| 63 |
+
"rewards/think_format_reward/mean": 0.75,
|
| 64 |
+
"rewards/think_format_reward/std": 0.434714138507843,
|
| 65 |
+
"sampling/importance_sampling_ratio/max": 1.9354466199874878,
|
| 66 |
+
"sampling/importance_sampling_ratio/mean": 0.11250229179859161,
|
| 67 |
+
"sampling/importance_sampling_ratio/min": 0.0,
|
| 68 |
+
"sampling/sampling_logp_difference/max": 2.236079216003418,
|
| 69 |
+
"sampling/sampling_logp_difference/mean": 0.01304610725492239,
|
| 70 |
+
"sdpo/local_reward_mean": 1.3984375,
|
| 71 |
+
"sdpo/success_fraction": 0.9375,
|
| 72 |
+
"sdpo/top100_tail_reverse_kl": 0.8877928248839453,
|
| 73 |
+
"step": 2,
|
| 74 |
+
"step_time": 2354.731563249603
|
| 75 |
+
},
|
| 76 |
+
{
|
| 77 |
+
"completions/clipped_ratio": 0.2109375,
|
| 78 |
+
"completions/max_length": 16384.0,
|
| 79 |
+
"completions/max_terminated_length": 16278.0,
|
| 80 |
+
"completions/mean_length": 10127.203125,
|
| 81 |
+
"completions/mean_terminated_length": 8454.59375,
|
| 82 |
+
"completions/min_length": 1682.0,
|
| 83 |
+
"completions/min_terminated_length": 1682.0,
|
| 84 |
+
"entropy": 0.3079841274302453,
|
| 85 |
+
"epoch": 0.0234375,
|
| 86 |
+
"frac_reward_zero_std": 0.4375,
|
| 87 |
+
"grad_norm": 129.67068481445312,
|
| 88 |
+
"learning_rate": 2.0000000000000003e-06,
|
| 89 |
+
"loss": 115.9272,
|
| 90 |
+
"num_tokens": 3859937.0,
|
| 91 |
+
"reward": 1.484375,
|
| 92 |
+
"reward_std": 0.7734204530715942,
|
| 93 |
+
"rewards/math_reward_func/mean": 0.6640625,
|
| 94 |
+
"rewards/math_reward_func/std": 0.47417303919792175,
|
| 95 |
+
"rewards/think_format_reward/mean": 0.8203125,
|
| 96 |
+
"rewards/think_format_reward/std": 0.3854354918003082,
|
| 97 |
+
"sampling/importance_sampling_ratio/max": 2.396805763244629,
|
| 98 |
+
"sampling/importance_sampling_ratio/mean": 0.11775611340999603,
|
| 99 |
+
"sampling/importance_sampling_ratio/min": 0.0,
|
| 100 |
+
"sampling/sampling_logp_difference/max": 2.574749708175659,
|
| 101 |
+
"sampling/sampling_logp_difference/mean": 0.01316322386264801,
|
| 102 |
+
"sdpo/local_reward_mean": 1.484375,
|
| 103 |
+
"sdpo/success_fraction": 1.0,
|
| 104 |
+
"sdpo/top100_tail_reverse_kl": 0.905681180418469,
|
| 105 |
+
"step": 3,
|
| 106 |
+
"step_time": 2384.785213011317
|
| 107 |
+
},
|
| 108 |
+
{
|
| 109 |
+
"completions/clipped_ratio": 0.1640625,
|
| 110 |
+
"completions/max_length": 16384.0,
|
| 111 |
+
"completions/max_terminated_length": 16304.0,
|
| 112 |
+
"completions/mean_length": 9269.671875,
|
| 113 |
+
"completions/mean_terminated_length": 7873.40185546875,
|
| 114 |
+
"completions/min_length": 1886.0,
|
| 115 |
+
"completions/min_terminated_length": 1886.0,
|
| 116 |
+
"entropy": 0.3416602340294048,
|
| 117 |
+
"epoch": 0.03125,
|
| 118 |
+
"frac_reward_zero_std": 0.5625,
|
| 119 |
+
"grad_norm": 166.99655151367188,
|
| 120 |
+
"learning_rate": 3e-06,
|
| 121 |
+
"loss": 136.3629,
|
| 122 |
+
"num_tokens": 5063863.0,
|
| 123 |
+
"reward": 1.7421875,
|
| 124 |
+
"reward_std": 0.5918886661529541,
|
| 125 |
+
"rewards/math_reward_func/mean": 0.875,
|
| 126 |
+
"rewards/math_reward_func/std": 0.3320184051990509,
|
| 127 |
+
"rewards/think_format_reward/mean": 0.8671875,
|
| 128 |
+
"rewards/think_format_reward/std": 0.3407054841518402,
|
| 129 |
+
"sampling/importance_sampling_ratio/max": 2.580911159515381,
|
| 130 |
+
"sampling/importance_sampling_ratio/mean": 0.14537686109542847,
|
| 131 |
+
"sampling/importance_sampling_ratio/min": 0.0,
|
| 132 |
+
"sampling/sampling_logp_difference/max": 1.1783078908920288,
|
| 133 |
+
"sampling/sampling_logp_difference/mean": 0.014237256720662117,
|
| 134 |
+
"sdpo/local_reward_mean": 1.7421875,
|
| 135 |
+
"sdpo/success_fraction": 1.0,
|
| 136 |
+
"sdpo/top100_tail_reverse_kl": 1.065335095161572,
|
| 137 |
+
"step": 4,
|
| 138 |
+
"step_time": 2334.6283859135583
|
| 139 |
+
},
|
| 140 |
+
{
|
| 141 |
+
"completions/clipped_ratio": 0.390625,
|
| 142 |
+
"completions/max_length": 16384.0,
|
| 143 |
+
"completions/max_terminated_length": 16333.0,
|
| 144 |
+
"completions/mean_length": 10170.78125,
|
| 145 |
+
"completions/mean_terminated_length": 6187.94873046875,
|
| 146 |
+
"completions/min_length": 1936.0,
|
| 147 |
+
"completions/min_terminated_length": 1936.0,
|
| 148 |
+
"entropy": 0.2497377436957322,
|
| 149 |
+
"epoch": 0.0390625,
|
| 150 |
+
"frac_reward_zero_std": 0.4375,
|
| 151 |
+
"grad_norm": 107.94488525390625,
|
| 152 |
+
"learning_rate": 4.000000000000001e-06,
|
| 153 |
+
"loss": 91.4281,
|
| 154 |
+
"num_tokens": 6384731.0,
|
| 155 |
+
"reward": 1.28125,
|
| 156 |
+
"reward_std": 0.8956368565559387,
|
| 157 |
+
"rewards/math_reward_func/mean": 0.6015625,
|
| 158 |
+
"rewards/math_reward_func/std": 0.4915000796318054,
|
| 159 |
+
"rewards/think_format_reward/mean": 0.6796875,
|
| 160 |
+
"rewards/think_format_reward/std": 0.4684300124645233,
|
| 161 |
+
"sampling/importance_sampling_ratio/max": 2.3500282764434814,
|
| 162 |
+
"sampling/importance_sampling_ratio/mean": 0.15797367691993713,
|
| 163 |
+
"sampling/importance_sampling_ratio/min": 0.0,
|
| 164 |
+
"sampling/sampling_logp_difference/max": 1.7027404308319092,
|
| 165 |
+
"sampling/sampling_logp_difference/mean": 0.012200523167848587,
|
| 166 |
+
"sdpo/local_reward_mean": 1.28125,
|
| 167 |
+
"sdpo/success_fraction": 0.9375,
|
| 168 |
+
"sdpo/top100_tail_reverse_kl": 0.7142818871070631,
|
| 169 |
+
"step": 5,
|
| 170 |
+
"step_time": 2426.561106611043
|
| 171 |
+
},
|
| 172 |
+
{
|
| 173 |
+
"completions/clipped_ratio": 0.1875,
|
| 174 |
+
"completions/max_length": 16384.0,
|
| 175 |
+
"completions/max_terminated_length": 15898.0,
|
| 176 |
+
"completions/mean_length": 9010.265625,
|
| 177 |
+
"completions/mean_terminated_length": 7308.634765625,
|
| 178 |
+
"completions/min_length": 1303.0,
|
| 179 |
+
"completions/min_terminated_length": 1303.0,
|
| 180 |
+
"entropy": 0.29075702652335167,
|
| 181 |
+
"epoch": 0.046875,
|
| 182 |
+
"frac_reward_zero_std": 0.6875,
|
| 183 |
+
"grad_norm": 140.95046997070312,
|
| 184 |
+
"learning_rate": 5e-06,
|
| 185 |
+
"loss": 118.4562,
|
| 186 |
+
"num_tokens": 7556957.0,
|
| 187 |
+
"reward": 1.671875,
|
| 188 |
+
"reward_std": 0.7110973596572876,
|
| 189 |
+
"rewards/math_reward_func/mean": 0.8359375,
|
| 190 |
+
"rewards/math_reward_func/std": 0.371787428855896,
|
| 191 |
+
"rewards/think_format_reward/mean": 0.8359375,
|
| 192 |
+
"rewards/think_format_reward/std": 0.371787428855896,
|
| 193 |
+
"sampling/importance_sampling_ratio/max": 2.424870729446411,
|
| 194 |
+
"sampling/importance_sampling_ratio/mean": 0.10164293646812439,
|
| 195 |
+
"sampling/importance_sampling_ratio/min": 0.0,
|
| 196 |
+
"sampling/sampling_logp_difference/max": 1.9601657390594482,
|
| 197 |
+
"sampling/sampling_logp_difference/mean": 0.012971683405339718,
|
| 198 |
+
"sdpo/local_reward_mean": 1.671875,
|
| 199 |
+
"sdpo/success_fraction": 1.0,
|
| 200 |
+
"sdpo/top100_tail_reverse_kl": 0.9254390870919451,
|
| 201 |
+
"step": 6,
|
| 202 |
+
"step_time": 2289.461196921766
|
| 203 |
+
},
|
| 204 |
+
{
|
| 205 |
+
"completions/clipped_ratio": 0.09375,
|
| 206 |
+
"completions/max_length": 16384.0,
|
| 207 |
+
"completions/max_terminated_length": 16159.0,
|
| 208 |
+
"completions/mean_length": 7217.25,
|
| 209 |
+
"completions/mean_terminated_length": 6268.96533203125,
|
| 210 |
+
"completions/min_length": 1892.0,
|
| 211 |
+
"completions/min_terminated_length": 1892.0,
|
| 212 |
+
"entropy": 0.31784707214683294,
|
| 213 |
+
"epoch": 0.0546875,
|
| 214 |
+
"frac_reward_zero_std": 0.625,
|
| 215 |
+
"grad_norm": 168.1649627685547,
|
| 216 |
+
"learning_rate": 6e-06,
|
| 217 |
+
"loss": 134.801,
|
| 218 |
+
"num_tokens": 8499453.0,
|
| 219 |
+
"reward": 1.6484375,
|
| 220 |
+
"reward_std": 0.622287392616272,
|
| 221 |
+
"rewards/math_reward_func/mean": 0.7421875,
|
| 222 |
+
"rewards/math_reward_func/std": 0.43914902210235596,
|
| 223 |
+
"rewards/think_format_reward/mean": 0.90625,
|
| 224 |
+
"rewards/think_format_reward/std": 0.29262590408325195,
|
| 225 |
+
"sampling/importance_sampling_ratio/max": 1.1390166282653809,
|
| 226 |
+
"sampling/importance_sampling_ratio/mean": 0.10175397992134094,
|
| 227 |
+
"sampling/importance_sampling_ratio/min": 0.0,
|
| 228 |
+
"sampling/sampling_logp_difference/max": 1.0895158052444458,
|
| 229 |
+
"sampling/sampling_logp_difference/mean": 0.013488837517797947,
|
| 230 |
+
"sdpo/local_reward_mean": 1.6484375,
|
| 231 |
+
"sdpo/success_fraction": 1.0,
|
| 232 |
+
"sdpo/top100_tail_reverse_kl": 1.0531327587086707,
|
| 233 |
+
"step": 7,
|
| 234 |
+
"step_time": 2179.5239698467776
|
| 235 |
+
},
|
| 236 |
+
{
|
| 237 |
+
"completions/clipped_ratio": 0.1171875,
|
| 238 |
+
"completions/max_length": 16384.0,
|
| 239 |
+
"completions/max_terminated_length": 14771.0,
|
| 240 |
+
"completions/mean_length": 7937.2421875,
|
| 241 |
+
"completions/mean_terminated_length": 6815.9912109375,
|
| 242 |
+
"completions/min_length": 2105.0,
|
| 243 |
+
"completions/min_terminated_length": 2105.0,
|
| 244 |
+
"entropy": 0.27554107748437673,
|
| 245 |
+
"epoch": 0.0625,
|
| 246 |
+
"frac_reward_zero_std": 0.6875,
|
| 247 |
+
"grad_norm": 155.4765167236328,
|
| 248 |
+
"learning_rate": 7e-06,
|
| 249 |
+
"loss": 133.8593,
|
| 250 |
+
"num_tokens": 9539540.0,
|
| 251 |
+
"reward": 1.8359375,
|
| 252 |
+
"reward_std": 0.49845972657203674,
|
| 253 |
+
"rewards/math_reward_func/mean": 0.9296875,
|
| 254 |
+
"rewards/math_reward_func/std": 0.2566775679588318,
|
| 255 |
+
"rewards/think_format_reward/mean": 0.90625,
|
| 256 |
+
"rewards/think_format_reward/std": 0.29262590408325195,
|
| 257 |
+
"sampling/importance_sampling_ratio/max": 2.6139657497406006,
|
| 258 |
+
"sampling/importance_sampling_ratio/mean": 0.15319757163524628,
|
| 259 |
+
"sampling/importance_sampling_ratio/min": 0.0,
|
| 260 |
+
"sampling/sampling_logp_difference/max": 0.9879323244094849,
|
| 261 |
+
"sampling/sampling_logp_difference/mean": 0.01237985584884882,
|
| 262 |
+
"sdpo/local_reward_mean": 1.8359375,
|
| 263 |
+
"sdpo/success_fraction": 1.0,
|
| 264 |
+
"sdpo/top100_tail_reverse_kl": 1.0457757124386262,
|
| 265 |
+
"step": 8,
|
| 266 |
+
"step_time": 2288.2132996609434
|
| 267 |
+
},
|
| 268 |
+
{
|
| 269 |
+
"completions/clipped_ratio": 0.15625,
|
| 270 |
+
"completions/max_length": 16384.0,
|
| 271 |
+
"completions/max_terminated_length": 15929.0,
|
| 272 |
+
"completions/mean_length": 8652.546875,
|
| 273 |
+
"completions/mean_terminated_length": 7220.79638671875,
|
| 274 |
+
"completions/min_length": 1778.0,
|
| 275 |
+
"completions/min_terminated_length": 1778.0,
|
| 276 |
+
"entropy": 0.27066256816033274,
|
| 277 |
+
"epoch": 0.0703125,
|
| 278 |
+
"frac_reward_zero_std": 0.5,
|
| 279 |
+
"grad_norm": 147.06039428710938,
|
| 280 |
+
"learning_rate": 8.000000000000001e-06,
|
| 281 |
+
"loss": 119.0247,
|
| 282 |
+
"num_tokens": 10665362.0,
|
| 283 |
+
"reward": 1.6796875,
|
| 284 |
+
"reward_std": 0.6390641927719116,
|
| 285 |
+
"rewards/math_reward_func/mean": 0.7890625,
|
| 286 |
+
"rewards/math_reward_func/std": 0.4095771610736847,
|
| 287 |
+
"rewards/think_format_reward/mean": 0.890625,
|
| 288 |
+
"rewards/think_format_reward/std": 0.31333550810813904,
|
| 289 |
+
"sampling/importance_sampling_ratio/max": 2.7830958366394043,
|
| 290 |
+
"sampling/importance_sampling_ratio/mean": 0.20229560136795044,
|
| 291 |
+
"sampling/importance_sampling_ratio/min": 0.0,
|
| 292 |
+
"sampling/sampling_logp_difference/max": 2.9212021827697754,
|
| 293 |
+
"sampling/sampling_logp_difference/mean": 0.01244754996150732,
|
| 294 |
+
"sdpo/local_reward_mean": 1.6796875,
|
| 295 |
+
"sdpo/success_fraction": 1.0,
|
| 296 |
+
"sdpo/top100_tail_reverse_kl": 0.9298805969301611,
|
| 297 |
+
"step": 9,
|
| 298 |
+
"step_time": 2296.1401055157185
|
| 299 |
+
},
|
| 300 |
+
{
|
| 301 |
+
"completions/clipped_ratio": 0.1640625,
|
| 302 |
+
"completions/max_length": 16384.0,
|
| 303 |
+
"completions/max_terminated_length": 16312.0,
|
| 304 |
+
"completions/mean_length": 8341.921875,
|
| 305 |
+
"completions/mean_terminated_length": 6763.56982421875,
|
| 306 |
+
"completions/min_length": 1375.0,
|
| 307 |
+
"completions/min_terminated_length": 1375.0,
|
| 308 |
+
"entropy": 0.28688407270237803,
|
| 309 |
+
"epoch": 0.078125,
|
| 310 |
+
"frac_reward_zero_std": 0.375,
|
| 311 |
+
"grad_norm": 169.16107177734375,
|
| 312 |
+
"learning_rate": 9e-06,
|
| 313 |
+
"loss": 121.9068,
|
| 314 |
+
"num_tokens": 11752032.0,
|
| 315 |
+
"reward": 1.578125,
|
| 316 |
+
"reward_std": 0.7382611632347107,
|
| 317 |
+
"rewards/math_reward_func/mean": 0.734375,
|
| 318 |
+
"rewards/math_reward_func/std": 0.44340085983276367,
|
| 319 |
+
"rewards/think_format_reward/mean": 0.84375,
|
| 320 |
+
"rewards/think_format_reward/std": 0.3645188808441162,
|
| 321 |
+
"sampling/importance_sampling_ratio/max": 2.4416871070861816,
|
| 322 |
+
"sampling/importance_sampling_ratio/mean": 0.13641589879989624,
|
| 323 |
+
"sampling/importance_sampling_ratio/min": 0.0,
|
| 324 |
+
"sampling/sampling_logp_difference/max": 1.7802882194519043,
|
| 325 |
+
"sampling/sampling_logp_difference/mean": 0.013117711059749126,
|
| 326 |
+
"sdpo/local_reward_mean": 1.578125,
|
| 327 |
+
"sdpo/success_fraction": 1.0,
|
| 328 |
+
"sdpo/top100_tail_reverse_kl": 0.9523969579604454,
|
| 329 |
+
"step": 10,
|
| 330 |
+
"step_time": 2242.045174873434
|
| 331 |
+
},
|
| 332 |
+
{
|
| 333 |
+
"completions/clipped_ratio": 0.1015625,
|
| 334 |
+
"completions/max_length": 16384.0,
|
| 335 |
+
"completions/max_terminated_length": 15675.0,
|
| 336 |
+
"completions/mean_length": 7631.2421875,
|
| 337 |
+
"completions/mean_terminated_length": 6641.7998046875,
|
| 338 |
+
"completions/min_length": 673.0,
|
| 339 |
+
"completions/min_terminated_length": 673.0,
|
| 340 |
+
"entropy": 0.3130435968050733,
|
| 341 |
+
"epoch": 0.0859375,
|
| 342 |
+
"frac_reward_zero_std": 0.625,
|
| 343 |
+
"grad_norm": 223.6240692138672,
|
| 344 |
+
"learning_rate": 1e-05,
|
| 345 |
+
"loss": 141.7518,
|
| 346 |
+
"num_tokens": 12745735.0,
|
| 347 |
+
"reward": 1.6796875,
|
| 348 |
+
"reward_std": 0.6139274835586548,
|
| 349 |
+
"rewards/math_reward_func/mean": 0.765625,
|
| 350 |
+
"rewards/math_reward_func/std": 0.42527204751968384,
|
| 351 |
+
"rewards/think_format_reward/mean": 0.9140625,
|
| 352 |
+
"rewards/think_format_reward/std": 0.2813730239868164,
|
| 353 |
+
"sampling/importance_sampling_ratio/max": 1.0876129865646362,
|
| 354 |
+
"sampling/importance_sampling_ratio/mean": 0.07780440151691437,
|
| 355 |
+
"sampling/importance_sampling_ratio/min": 0.0,
|
| 356 |
+
"sampling/sampling_logp_difference/max": 1.2738298177719116,
|
| 357 |
+
"sampling/sampling_logp_difference/mean": 0.014252403751015663,
|
| 358 |
+
"sdpo/local_reward_mean": 1.6796875,
|
| 359 |
+
"sdpo/success_fraction": 1.0,
|
| 360 |
+
"sdpo/top100_tail_reverse_kl": 1.1074355833115987,
|
| 361 |
+
"step": 11,
|
| 362 |
+
"step_time": 2203.812321053818
|
| 363 |
+
},
|
| 364 |
+
{
|
| 365 |
+
"completions/clipped_ratio": 0.109375,
|
| 366 |
+
"completions/max_length": 16384.0,
|
| 367 |
+
"completions/max_terminated_length": 16168.0,
|
| 368 |
+
"completions/mean_length": 7337.203125,
|
| 369 |
+
"completions/mean_terminated_length": 6226.19287109375,
|
| 370 |
+
"completions/min_length": 825.0,
|
| 371 |
+
"completions/min_terminated_length": 825.0,
|
| 372 |
+
"entropy": 0.25038730120286345,
|
| 373 |
+
"epoch": 0.09375,
|
| 374 |
+
"frac_reward_zero_std": 0.75,
|
| 375 |
+
"grad_norm": 196.19200134277344,
|
| 376 |
+
"learning_rate": 9.88888888888889e-06,
|
| 377 |
+
"loss": 133.9144,
|
| 378 |
+
"num_tokens": 13705689.0,
|
| 379 |
+
"reward": 1.7734375,
|
| 380 |
+
"reward_std": 0.6046388149261475,
|
| 381 |
+
"rewards/math_reward_func/mean": 0.875,
|
| 382 |
+
"rewards/math_reward_func/std": 0.3320184051990509,
|
| 383 |
+
"rewards/think_format_reward/mean": 0.8984375,
|
| 384 |
+
"rewards/think_format_reward/std": 0.3032590448856354,
|
| 385 |
+
"sampling/importance_sampling_ratio/max": 2.7273266315460205,
|
| 386 |
+
"sampling/importance_sampling_ratio/mean": 0.1523737907409668,
|
| 387 |
+
"sampling/importance_sampling_ratio/min": 0.0,
|
| 388 |
+
"sampling/sampling_logp_difference/max": 3.2629263401031494,
|
| 389 |
+
"sampling/sampling_logp_difference/mean": 0.014198469929397106,
|
| 390 |
+
"sdpo/local_reward_mean": 1.7734375,
|
| 391 |
+
"sdpo/success_fraction": 0.9375,
|
| 392 |
+
"sdpo/top100_tail_reverse_kl": 1.0462062492151745,
|
| 393 |
+
"step": 12,
|
| 394 |
+
"step_time": 2225.1963889272884
|
| 395 |
+
},
|
| 396 |
+
{
|
| 397 |
+
"completions/clipped_ratio": 0.1015625,
|
| 398 |
+
"completions/max_length": 16384.0,
|
| 399 |
+
"completions/max_terminated_length": 16207.0,
|
| 400 |
+
"completions/mean_length": 9305.1953125,
|
| 401 |
+
"completions/mean_terminated_length": 8504.982421875,
|
| 402 |
+
"completions/min_length": 2107.0,
|
| 403 |
+
"completions/min_terminated_length": 2107.0,
|
| 404 |
+
"entropy": 0.282024092390202,
|
| 405 |
+
"epoch": 0.1015625,
|
| 406 |
+
"frac_reward_zero_std": 0.625,
|
| 407 |
+
"grad_norm": 153.59938049316406,
|
| 408 |
+
"learning_rate": 9.777777777777779e-06,
|
| 409 |
+
"loss": 117.6161,
|
| 410 |
+
"num_tokens": 14914506.0,
|
| 411 |
+
"reward": 1.734375,
|
| 412 |
+
"reward_std": 0.5395299196243286,
|
| 413 |
+
"rewards/math_reward_func/mean": 0.8125,
|
| 414 |
+
"rewards/math_reward_func/std": 0.39184603095054626,
|
| 415 |
+
"rewards/think_format_reward/mean": 0.921875,
|
| 416 |
+
"rewards/think_format_reward/std": 0.2694226801395416,
|
| 417 |
+
"sampling/importance_sampling_ratio/max": 1.677321195602417,
|
| 418 |
+
"sampling/importance_sampling_ratio/mean": 0.0686572790145874,
|
| 419 |
+
"sampling/importance_sampling_ratio/min": 0.0,
|
| 420 |
+
"sampling/sampling_logp_difference/max": 2.2385106086730957,
|
| 421 |
+
"sampling/sampling_logp_difference/mean": 0.013802426867187023,
|
| 422 |
+
"sdpo/local_reward_mean": 1.734375,
|
| 423 |
+
"sdpo/success_fraction": 1.0,
|
| 424 |
+
"sdpo/top100_tail_reverse_kl": 0.9188754103379324,
|
| 425 |
+
"step": 13,
|
| 426 |
+
"step_time": 2269.5332072526217
|
| 427 |
+
},
|
| 428 |
+
{
|
| 429 |
+
"completions/clipped_ratio": 0.234375,
|
| 430 |
+
"completions/max_length": 16384.0,
|
| 431 |
+
"completions/max_terminated_length": 16063.0,
|
| 432 |
+
"completions/mean_length": 8390.734375,
|
| 433 |
+
"completions/mean_terminated_length": 5943.81640625,
|
| 434 |
+
"completions/min_length": 1662.0,
|
| 435 |
+
"completions/min_terminated_length": 1662.0,
|
| 436 |
+
"entropy": 0.20445589907467365,
|
| 437 |
+
"epoch": 0.109375,
|
| 438 |
+
"frac_reward_zero_std": 0.625,
|
| 439 |
+
"grad_norm": 148.29547119140625,
|
| 440 |
+
"learning_rate": 9.666666666666667e-06,
|
| 441 |
+
"loss": 103.8433,
|
| 442 |
+
"num_tokens": 16003976.0,
|
| 443 |
+
"reward": 1.4921875,
|
| 444 |
+
"reward_std": 0.8228631615638733,
|
| 445 |
+
"rewards/math_reward_func/mean": 0.71875,
|
| 446 |
+
"rewards/math_reward_func/std": 0.4513758420944214,
|
| 447 |
+
"rewards/think_format_reward/mean": 0.7734375,
|
| 448 |
+
"rewards/think_format_reward/std": 0.4202519655227661,
|
| 449 |
+
"sampling/importance_sampling_ratio/max": 1.0998280048370361,
|
| 450 |
+
"sampling/importance_sampling_ratio/mean": 0.09229649603366852,
|
| 451 |
+
"sampling/importance_sampling_ratio/min": 0.0,
|
| 452 |
+
"sampling/sampling_logp_difference/max": 4.958465099334717,
|
| 453 |
+
"sampling/sampling_logp_difference/mean": 0.01327038835734129,
|
| 454 |
+
"sdpo/local_reward_mean": 1.4921875,
|
| 455 |
+
"sdpo/success_fraction": 0.875,
|
| 456 |
+
"sdpo/top100_tail_reverse_kl": 0.8112759278155863,
|
| 457 |
+
"step": 14,
|
| 458 |
+
"step_time": 2283.0402548387647
|
| 459 |
+
},
|
| 460 |
+
{
|
| 461 |
+
"completions/clipped_ratio": 0.09375,
|
| 462 |
+
"completions/max_length": 16384.0,
|
| 463 |
+
"completions/max_terminated_length": 16309.0,
|
| 464 |
+
"completions/mean_length": 8678.2109375,
|
| 465 |
+
"completions/mean_terminated_length": 7881.060546875,
|
| 466 |
+
"completions/min_length": 1679.0,
|
| 467 |
+
"completions/min_terminated_length": 1679.0,
|
| 468 |
+
"entropy": 0.2764591637533158,
|
| 469 |
+
"epoch": 0.1171875,
|
| 470 |
+
"frac_reward_zero_std": 0.5625,
|
| 471 |
+
"grad_norm": 162.71365356445312,
|
| 472 |
+
"learning_rate": 9.555555555555556e-06,
|
| 473 |
+
"loss": 110.2911,
|
| 474 |
+
"num_tokens": 17132739.0,
|
| 475 |
+
"reward": 1.6875,
|
| 476 |
+
"reward_std": 0.5985546708106995,
|
| 477 |
+
"rewards/math_reward_func/mean": 0.7734375,
|
| 478 |
+
"rewards/math_reward_func/std": 0.4202519655227661,
|
| 479 |
+
"rewards/think_format_reward/mean": 0.9140625,
|
| 480 |
+
"rewards/think_format_reward/std": 0.2813730239868164,
|
| 481 |
+
"sampling/importance_sampling_ratio/max": 2.0603184700012207,
|
| 482 |
+
"sampling/importance_sampling_ratio/mean": 0.07795818150043488,
|
| 483 |
+
"sampling/importance_sampling_ratio/min": 0.0,
|
| 484 |
+
"sampling/sampling_logp_difference/max": 2.717520236968994,
|
| 485 |
+
"sampling/sampling_logp_difference/mean": 0.0152816753834486,
|
| 486 |
+
"sdpo/local_reward_mean": 1.6875,
|
| 487 |
+
"sdpo/success_fraction": 1.0,
|
| 488 |
+
"sdpo/top100_tail_reverse_kl": 0.8616492211585864,
|
| 489 |
+
"step": 15,
|
| 490 |
+
"step_time": 2284.2519008833915
|
| 491 |
+
},
|
| 492 |
+
{
|
| 493 |
+
"completions/clipped_ratio": 0.09375,
|
| 494 |
+
"completions/max_length": 16384.0,
|
| 495 |
+
"completions/max_terminated_length": 16016.0,
|
| 496 |
+
"completions/mean_length": 7669.890625,
|
| 497 |
+
"completions/mean_terminated_length": 6768.43115234375,
|
| 498 |
+
"completions/min_length": 2206.0,
|
| 499 |
+
"completions/min_terminated_length": 2206.0,
|
| 500 |
+
"entropy": 0.23759500740561634,
|
| 501 |
+
"epoch": 0.125,
|
| 502 |
+
"frac_reward_zero_std": 0.6875,
|
| 503 |
+
"grad_norm": 156.71192932128906,
|
| 504 |
+
"learning_rate": 9.444444444444445e-06,
|
| 505 |
+
"loss": 109.7674,
|
| 506 |
+
"num_tokens": 18134285.0,
|
| 507 |
+
"reward": 1.7890625,
|
| 508 |
+
"reward_std": 0.5563144087791443,
|
| 509 |
+
"rewards/math_reward_func/mean": 0.8671875,
|
| 510 |
+
"rewards/math_reward_func/std": 0.3407054841518402,
|
| 511 |
+
"rewards/think_format_reward/mean": 0.921875,
|
| 512 |
+
"rewards/think_format_reward/std": 0.2694226801395416,
|
| 513 |
+
"sampling/importance_sampling_ratio/max": 1.7341861724853516,
|
| 514 |
+
"sampling/importance_sampling_ratio/mean": 0.07510986924171448,
|
| 515 |
+
"sampling/importance_sampling_ratio/min": 0.0,
|
| 516 |
+
"sampling/sampling_logp_difference/max": 1.8912134170532227,
|
| 517 |
+
"sampling/sampling_logp_difference/mean": 0.014694299548864365,
|
| 518 |
+
"sdpo/local_reward_mean": 1.7890625,
|
| 519 |
+
"sdpo/success_fraction": 1.0,
|
| 520 |
+
"sdpo/top100_tail_reverse_kl": 0.8575580433825962,
|
| 521 |
+
"step": 16,
|
| 522 |
+
"step_time": 2196.966399327852
|
| 523 |
+
},
|
| 524 |
+
{
|
| 525 |
+
"completions/clipped_ratio": 0.1015625,
|
| 526 |
+
"completions/max_length": 16384.0,
|
| 527 |
+
"completions/max_terminated_length": 14528.0,
|
| 528 |
+
"completions/mean_length": 6123.2109375,
|
| 529 |
+
"completions/mean_terminated_length": 4963.29541015625,
|
| 530 |
+
"completions/min_length": 1365.0,
|
| 531 |
+
"completions/min_terminated_length": 1365.0,
|
| 532 |
+
"entropy": 0.1932699321769178,
|
| 533 |
+
"epoch": 0.1328125,
|
| 534 |
+
"frac_reward_zero_std": 0.625,
|
| 535 |
+
"grad_norm": 162.4973907470703,
|
| 536 |
+
"learning_rate": 9.333333333333334e-06,
|
| 537 |
+
"loss": 111.5547,
|
| 538 |
+
"num_tokens": 18936144.0,
|
| 539 |
+
"reward": 1.7421875,
|
| 540 |
+
"reward_std": 0.5918886661529541,
|
| 541 |
+
"rewards/math_reward_func/mean": 0.828125,
|
| 542 |
+
"rewards/math_reward_func/std": 0.3787541687488556,
|
| 543 |
+
"rewards/think_format_reward/mean": 0.9140625,
|
| 544 |
+
"rewards/think_format_reward/std": 0.2813730239868164,
|
| 545 |
+
"sampling/importance_sampling_ratio/max": 2.4520015716552734,
|
| 546 |
+
"sampling/importance_sampling_ratio/mean": 0.11252652108669281,
|
| 547 |
+
"sampling/importance_sampling_ratio/min": 0.0,
|
| 548 |
+
"sampling/sampling_logp_difference/max": 2.6565070152282715,
|
| 549 |
+
"sampling/sampling_logp_difference/mean": 0.015431585721671581,
|
| 550 |
+
"sdpo/local_reward_mean": 1.7421875,
|
| 551 |
+
"sdpo/success_fraction": 1.0,
|
| 552 |
+
"sdpo/top100_tail_reverse_kl": 0.8715214569820091,
|
| 553 |
+
"step": 17,
|
| 554 |
+
"step_time": 2084.307107809931
|
| 555 |
+
},
|
| 556 |
+
{
|
| 557 |
+
"completions/clipped_ratio": 0.1328125,
|
| 558 |
+
"completions/max_length": 16384.0,
|
| 559 |
+
"completions/max_terminated_length": 16280.0,
|
| 560 |
+
"completions/mean_length": 8076.0234375,
|
| 561 |
+
"completions/mean_terminated_length": 6803.630859375,
|
| 562 |
+
"completions/min_length": 572.0,
|
| 563 |
+
"completions/min_terminated_length": 572.0,
|
| 564 |
+
"entropy": 0.20287329837447032,
|
| 565 |
+
"epoch": 0.140625,
|
| 566 |
+
"frac_reward_zero_std": 0.5,
|
| 567 |
+
"grad_norm": 159.11508178710938,
|
| 568 |
+
"learning_rate": 9.222222222222224e-06,
|
| 569 |
+
"loss": 106.6876,
|
| 570 |
+
"num_tokens": 19987187.0,
|
| 571 |
+
"reward": 1.734375,
|
| 572 |
+
"reward_std": 0.6081386804580688,
|
| 573 |
+
"rewards/math_reward_func/mean": 0.8359375,
|
| 574 |
+
"rewards/math_reward_func/std": 0.371787428855896,
|
| 575 |
+
"rewards/think_format_reward/mean": 0.8984375,
|
| 576 |
+
"rewards/think_format_reward/std": 0.3032590448856354,
|
| 577 |
+
"sampling/importance_sampling_ratio/max": 2.501821279525757,
|
| 578 |
+
"sampling/importance_sampling_ratio/mean": 0.09660257399082184,
|
| 579 |
+
"sampling/importance_sampling_ratio/min": 4.999841917685275e-21,
|
| 580 |
+
"sampling/sampling_logp_difference/max": 2.8883635997772217,
|
| 581 |
+
"sampling/sampling_logp_difference/mean": 0.017189152538776398,
|
| 582 |
+
"sdpo/local_reward_mean": 1.734375,
|
| 583 |
+
"sdpo/success_fraction": 1.0,
|
| 584 |
+
"sdpo/top100_tail_reverse_kl": 0.8334968033013865,
|
| 585 |
+
"step": 18,
|
| 586 |
+
"step_time": 2242.6666490389034
|
| 587 |
+
},
|
| 588 |
+
{
|
| 589 |
+
"completions/clipped_ratio": 0.0625,
|
| 590 |
+
"completions/max_length": 16384.0,
|
| 591 |
+
"completions/max_terminated_length": 14672.0,
|
| 592 |
+
"completions/mean_length": 6652.9609375,
|
| 593 |
+
"completions/mean_terminated_length": 6004.22509765625,
|
| 594 |
+
"completions/min_length": 1682.0,
|
| 595 |
+
"completions/min_terminated_length": 1682.0,
|
| 596 |
+
"entropy": 0.19443697290262207,
|
| 597 |
+
"epoch": 0.1484375,
|
| 598 |
+
"frac_reward_zero_std": 0.75,
|
| 599 |
+
"grad_norm": 166.24961853027344,
|
| 600 |
+
"learning_rate": 9.111111111111112e-06,
|
| 601 |
+
"loss": 108.2128,
|
| 602 |
+
"num_tokens": 20858630.0,
|
| 603 |
+
"reward": 1.890625,
|
| 604 |
+
"reward_std": 0.4014613926410675,
|
| 605 |
+
"rewards/math_reward_func/mean": 0.921875,
|
| 606 |
+
"rewards/math_reward_func/std": 0.2694226801395416,
|
| 607 |
+
"rewards/think_format_reward/mean": 0.96875,
|
| 608 |
+
"rewards/think_format_reward/std": 0.1746762990951538,
|
| 609 |
+
"sampling/importance_sampling_ratio/max": 0.8068121075630188,
|
| 610 |
+
"sampling/importance_sampling_ratio/mean": 0.021228063851594925,
|
| 611 |
+
"sampling/importance_sampling_ratio/min": 0.0,
|
| 612 |
+
"sampling/sampling_logp_difference/max": 4.259117126464844,
|
| 613 |
+
"sampling/sampling_logp_difference/mean": 0.019931036978960037,
|
| 614 |
+
"sdpo/local_reward_mean": 1.890625,
|
| 615 |
+
"sdpo/success_fraction": 1.0,
|
| 616 |
+
"sdpo/top100_tail_reverse_kl": 0.8454125826247036,
|
| 617 |
+
"step": 19,
|
| 618 |
+
"step_time": 2172.696639011614
|
| 619 |
+
},
|
| 620 |
+
{
|
| 621 |
+
"completions/clipped_ratio": 0.046875,
|
| 622 |
+
"completions/max_length": 16384.0,
|
| 623 |
+
"completions/max_terminated_length": 16371.0,
|
| 624 |
+
"completions/mean_length": 7623.7734375,
|
| 625 |
+
"completions/mean_terminated_length": 7192.9423828125,
|
| 626 |
+
"completions/min_length": 1386.0,
|
| 627 |
+
"completions/min_terminated_length": 1386.0,
|
| 628 |
+
"entropy": 0.19962301407940686,
|
| 629 |
+
"epoch": 0.15625,
|
| 630 |
+
"frac_reward_zero_std": 0.6875,
|
| 631 |
+
"grad_norm": 140.9843292236328,
|
| 632 |
+
"learning_rate": 9e-06,
|
| 633 |
+
"loss": 91.6438,
|
| 634 |
+
"num_tokens": 21855721.0,
|
| 635 |
+
"reward": 1.7421875,
|
| 636 |
+
"reward_std": 0.5058102607727051,
|
| 637 |
+
"rewards/math_reward_func/mean": 0.7734375,
|
| 638 |
+
"rewards/math_reward_func/std": 0.4202519655227661,
|
| 639 |
+
"rewards/think_format_reward/mean": 0.96875,
|
| 640 |
+
"rewards/think_format_reward/std": 0.1746762990951538,
|
| 641 |
+
"sampling/importance_sampling_ratio/max": 1.627164602279663,
|
| 642 |
+
"sampling/importance_sampling_ratio/mean": 0.07164306938648224,
|
| 643 |
+
"sampling/importance_sampling_ratio/min": 0.0,
|
| 644 |
+
"sampling/sampling_logp_difference/max": 3.246943950653076,
|
| 645 |
+
"sampling/sampling_logp_difference/mean": 0.022836929187178612,
|
| 646 |
+
"sdpo/local_reward_mean": 1.7421875,
|
| 647 |
+
"sdpo/success_fraction": 1.0,
|
| 648 |
+
"sdpo/top100_tail_reverse_kl": 0.7159674066933803,
|
| 649 |
+
"step": 20,
|
| 650 |
+
"step_time": 2231.109877148643
|
| 651 |
+
}
|
| 652 |
+
],
|
| 653 |
+
"logging_steps": 1,
|
| 654 |
+
"max_steps": 100,
|
| 655 |
+
"num_input_tokens_seen": 21855721,
|
| 656 |
+
"num_train_epochs": 1,
|
| 657 |
+
"save_steps": 10,
|
| 658 |
+
"stateful_callbacks": {
|
| 659 |
+
"TrainerControl": {
|
| 660 |
+
"args": {
|
| 661 |
+
"should_epoch_stop": false,
|
| 662 |
+
"should_evaluate": false,
|
| 663 |
+
"should_log": false,
|
| 664 |
+
"should_save": true,
|
| 665 |
+
"should_training_stop": false
|
| 666 |
+
},
|
| 667 |
+
"attributes": {}
|
| 668 |
+
}
|
| 669 |
+
},
|
| 670 |
+
"total_flos": 0.0,
|
| 671 |
+
"train_batch_size": 1,
|
| 672 |
+
"trial_name": null,
|
| 673 |
+
"trial_params": null
|
| 674 |
+
}
|
checkpoint-20/training_args.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:8e18becd6b26b8676b3a8f105ac44d4afad88e666d262a6709bc21415d543da5
|
| 3 |
+
size 8145
|