Transformers
Safetensors
Generated from Trainer
rl-swarm
grpo
gensyn
I am large padded chimpanzee
unsloth
trl
Instructions to use 0xOzii/Qwen2.5-7B-Instruct-Gensyn-Swarm-large_padded_chimpanzee with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use 0xOzii/Qwen2.5-7B-Instruct-Gensyn-Swarm-large_padded_chimpanzee with Transformers:
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("0xOzii/Qwen2.5-7B-Instruct-Gensyn-Swarm-large_padded_chimpanzee", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Unsloth Desktop
End of training
Browse files- .gitattributes +1 -0
- README.md +72 -0
- adapter_config.json +39 -0
- adapter_model.safetensors +3 -0
- added_tokens.json +24 -0
- all_results.json +8 -0
- merges.txt +0 -0
- special_tokens_map.json +31 -0
- tokenizer.json +3 -0
- tokenizer_config.json +209 -0
- train_results.json +8 -0
- trainer_state.json +233 -0
- training_args.bin +3 -0
- vocab.json +0 -0
.gitattributes
CHANGED
|
@@ -33,3 +33,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 36 |
+
tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
README.md
ADDED
|
@@ -0,0 +1,72 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
base_model: Gensyn/Qwen2.5-7B-Instruct
|
| 3 |
+
library_name: transformers
|
| 4 |
+
model_name: Qwen2.5-7B-Instruct-Gensyn-Swarm-large_padded_chimpanzee
|
| 5 |
+
tags:
|
| 6 |
+
- generated_from_trainer
|
| 7 |
+
- rl-swarm
|
| 8 |
+
- grpo
|
| 9 |
+
- gensyn
|
| 10 |
+
- I am large padded chimpanzee
|
| 11 |
+
- unsloth
|
| 12 |
+
- trl
|
| 13 |
+
licence: license
|
| 14 |
+
---
|
| 15 |
+
|
| 16 |
+
# Model Card for Qwen2.5-7B-Instruct-Gensyn-Swarm-large_padded_chimpanzee
|
| 17 |
+
|
| 18 |
+
This model is a fine-tuned version of [Gensyn/Qwen2.5-7B-Instruct](https://huggingface.co/Gensyn/Qwen2.5-7B-Instruct).
|
| 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="0xOzii/Qwen2.5-7B-Instruct-Gensyn-Swarm-large_padded_chimpanzee", 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 |
+
|
| 35 |
+
|
| 36 |
+
|
| 37 |
+
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).
|
| 38 |
+
|
| 39 |
+
### Framework versions
|
| 40 |
+
|
| 41 |
+
- TRL: 0.15.2
|
| 42 |
+
- Transformers: 4.51.3
|
| 43 |
+
- Pytorch: 2.5.1
|
| 44 |
+
- Datasets: 3.6.0
|
| 45 |
+
- Tokenizers: 0.21.1
|
| 46 |
+
|
| 47 |
+
## Citations
|
| 48 |
+
|
| 49 |
+
Cite GRPO as:
|
| 50 |
+
|
| 51 |
+
```bibtex
|
| 52 |
+
@article{zhihong2024deepseekmath,
|
| 53 |
+
title = {{DeepSeekMath: Pushing the Limits of Mathematical Reasoning in Open Language Models}},
|
| 54 |
+
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},
|
| 55 |
+
year = 2024,
|
| 56 |
+
eprint = {arXiv:2402.03300},
|
| 57 |
+
}
|
| 58 |
+
|
| 59 |
+
```
|
| 60 |
+
|
| 61 |
+
Cite TRL as:
|
| 62 |
+
|
| 63 |
+
```bibtex
|
| 64 |
+
@misc{vonwerra2022trl,
|
| 65 |
+
title = {{TRL: Transformer Reinforcement Learning}},
|
| 66 |
+
author = {Leandro von Werra and Younes Belkada and Lewis Tunstall and Edward Beeching and Tristan Thrush and Nathan Lambert and Shengyi Huang and Kashif Rasul and Quentin Gallouédec},
|
| 67 |
+
year = 2020,
|
| 68 |
+
journal = {GitHub repository},
|
| 69 |
+
publisher = {GitHub},
|
| 70 |
+
howpublished = {\url{https://github.com/huggingface/trl}}
|
| 71 |
+
}
|
| 72 |
+
```
|
adapter_config.json
ADDED
|
@@ -0,0 +1,39 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"alpha_pattern": {},
|
| 3 |
+
"auto_mapping": null,
|
| 4 |
+
"base_model_name_or_path": "Gensyn/Qwen2.5-7B-Instruct",
|
| 5 |
+
"bias": "none",
|
| 6 |
+
"corda_config": null,
|
| 7 |
+
"eva_config": null,
|
| 8 |
+
"exclude_modules": null,
|
| 9 |
+
"fan_in_fan_out": false,
|
| 10 |
+
"inference_mode": true,
|
| 11 |
+
"init_lora_weights": true,
|
| 12 |
+
"layer_replication": null,
|
| 13 |
+
"layers_pattern": null,
|
| 14 |
+
"layers_to_transform": null,
|
| 15 |
+
"loftq_config": {},
|
| 16 |
+
"lora_alpha": 16,
|
| 17 |
+
"lora_bias": false,
|
| 18 |
+
"lora_dropout": 0,
|
| 19 |
+
"megatron_config": null,
|
| 20 |
+
"megatron_core": "megatron.core",
|
| 21 |
+
"modules_to_save": null,
|
| 22 |
+
"peft_type": "LORA",
|
| 23 |
+
"r": 16,
|
| 24 |
+
"rank_pattern": {},
|
| 25 |
+
"revision": null,
|
| 26 |
+
"target_modules": [
|
| 27 |
+
"gate_proj",
|
| 28 |
+
"down_proj",
|
| 29 |
+
"k_proj",
|
| 30 |
+
"o_proj",
|
| 31 |
+
"up_proj",
|
| 32 |
+
"v_proj",
|
| 33 |
+
"q_proj"
|
| 34 |
+
],
|
| 35 |
+
"task_type": "CAUSAL_LM",
|
| 36 |
+
"trainable_token_indices": null,
|
| 37 |
+
"use_dora": false,
|
| 38 |
+
"use_rslora": false
|
| 39 |
+
}
|
adapter_model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:0c1179616be3624f5c7b4045dd295b13f565bdf8e44a86b4b6100e6307d0de37
|
| 3 |
+
size 161533192
|
added_tokens.json
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"</tool_call>": 151658,
|
| 3 |
+
"<tool_call>": 151657,
|
| 4 |
+
"<|box_end|>": 151649,
|
| 5 |
+
"<|box_start|>": 151648,
|
| 6 |
+
"<|endoftext|>": 151643,
|
| 7 |
+
"<|file_sep|>": 151664,
|
| 8 |
+
"<|fim_middle|>": 151660,
|
| 9 |
+
"<|fim_pad|>": 151662,
|
| 10 |
+
"<|fim_prefix|>": 151659,
|
| 11 |
+
"<|fim_suffix|>": 151661,
|
| 12 |
+
"<|im_end|>": 151645,
|
| 13 |
+
"<|im_start|>": 151644,
|
| 14 |
+
"<|image_pad|>": 151655,
|
| 15 |
+
"<|object_ref_end|>": 151647,
|
| 16 |
+
"<|object_ref_start|>": 151646,
|
| 17 |
+
"<|quad_end|>": 151651,
|
| 18 |
+
"<|quad_start|>": 151650,
|
| 19 |
+
"<|repo_name|>": 151663,
|
| 20 |
+
"<|video_pad|>": 151656,
|
| 21 |
+
"<|vision_end|>": 151653,
|
| 22 |
+
"<|vision_pad|>": 151654,
|
| 23 |
+
"<|vision_start|>": 151652
|
| 24 |
+
}
|
all_results.json
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"total_flos": 0.0,
|
| 3 |
+
"train_loss": 1.06198954199499e-06,
|
| 4 |
+
"train_runtime": 2218.5211,
|
| 5 |
+
"train_samples": 14,
|
| 6 |
+
"train_samples_per_second": 0.144,
|
| 7 |
+
"train_steps_per_second": 0.009
|
| 8 |
+
}
|
merges.txt
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
special_tokens_map.json
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"additional_special_tokens": [
|
| 3 |
+
"<|im_start|>",
|
| 4 |
+
"<|im_end|>",
|
| 5 |
+
"<|object_ref_start|>",
|
| 6 |
+
"<|object_ref_end|>",
|
| 7 |
+
"<|box_start|>",
|
| 8 |
+
"<|box_end|>",
|
| 9 |
+
"<|quad_start|>",
|
| 10 |
+
"<|quad_end|>",
|
| 11 |
+
"<|vision_start|>",
|
| 12 |
+
"<|vision_end|>",
|
| 13 |
+
"<|vision_pad|>",
|
| 14 |
+
"<|image_pad|>",
|
| 15 |
+
"<|video_pad|>"
|
| 16 |
+
],
|
| 17 |
+
"eos_token": {
|
| 18 |
+
"content": "<|im_end|>",
|
| 19 |
+
"lstrip": false,
|
| 20 |
+
"normalized": false,
|
| 21 |
+
"rstrip": false,
|
| 22 |
+
"single_word": false
|
| 23 |
+
},
|
| 24 |
+
"pad_token": {
|
| 25 |
+
"content": "<|vision_pad|>",
|
| 26 |
+
"lstrip": false,
|
| 27 |
+
"normalized": false,
|
| 28 |
+
"rstrip": false,
|
| 29 |
+
"single_word": false
|
| 30 |
+
}
|
| 31 |
+
}
|
tokenizer.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
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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 |
+
},
|
| 182 |
+
"additional_special_tokens": [
|
| 183 |
+
"<|im_start|>",
|
| 184 |
+
"<|im_end|>",
|
| 185 |
+
"<|object_ref_start|>",
|
| 186 |
+
"<|object_ref_end|>",
|
| 187 |
+
"<|box_start|>",
|
| 188 |
+
"<|box_end|>",
|
| 189 |
+
"<|quad_start|>",
|
| 190 |
+
"<|quad_end|>",
|
| 191 |
+
"<|vision_start|>",
|
| 192 |
+
"<|vision_end|>",
|
| 193 |
+
"<|vision_pad|>",
|
| 194 |
+
"<|image_pad|>",
|
| 195 |
+
"<|video_pad|>"
|
| 196 |
+
],
|
| 197 |
+
"bos_token": null,
|
| 198 |
+
"chat_template": "{%- if tools %}\n {{- '<|im_start|>system\\n' }}\n {%- if messages[0]['role'] == 'system' %}\n {{- messages[0]['content'] }}\n {%- else %}\n {{- 'You are Qwen, created by Alibaba Cloud. You are a helpful assistant.' }}\n {%- endif %}\n {{- \"\\n\\n# Tools\\n\\nYou may call one or more functions to assist with the user query.\\n\\nYou are provided with function signatures within <tools></tools> XML tags:\\n<tools>\" }}\n {%- for tool in tools %}\n {{- \"\\n\" }}\n {{- tool | tojson }}\n {%- endfor %}\n {{- \"\\n</tools>\\n\\nFor each function call, return a json object with function name and arguments within <tool_call></tool_call> XML tags:\\n<tool_call>\\n{\\\"name\\\": <function-name>, \\\"arguments\\\": <args-json-object>}\\n</tool_call><|im_end|>\\n\" }}\n{%- else %}\n {%- if messages[0]['role'] == 'system' %}\n {{- '<|im_start|>system\\n' + messages[0]['content'] + '<|im_end|>\\n' }}\n {%- else %}\n {{- '<|im_start|>system\\nYou are Qwen, created by Alibaba Cloud. You are a helpful assistant.<|im_end|>\\n' }}\n {%- endif %}\n{%- endif %}\n{%- for message in messages %}\n {%- if (message.role == \"user\") or (message.role == \"system\" and not loop.first) or (message.role == \"assistant\" and not message.tool_calls) %}\n {{- '<|im_start|>' + message.role + '\\n' + message.content + '<|im_end|>' + '\\n' }}\n {%- elif message.role == \"assistant\" %}\n {{- '<|im_start|>' + message.role }}\n {%- if message.content %}\n {{- '\\n' + message.content }}\n {%- endif %}\n {%- for tool_call in message.tool_calls %}\n {%- if tool_call.function is defined %}\n {%- set tool_call = tool_call.function %}\n {%- endif %}\n {{- '\\n<tool_call>\\n{\"name\": \"' }}\n {{- tool_call.name }}\n {{- '\", \"arguments\": ' }}\n {{- tool_call.arguments | tojson }}\n {{- '}\\n</tool_call>' }}\n {%- endfor %}\n {{- '<|im_end|>\\n' }}\n {%- elif message.role == \"tool\" %}\n {%- if (loop.index0 == 0) or (messages[loop.index0 - 1].role != \"tool\") %}\n {{- '<|im_start|>user' }}\n {%- endif %}\n {{- '\\n<tool_response>\\n' }}\n {{- message.content }}\n {{- '\\n</tool_response>' }}\n {%- if loop.last or (messages[loop.index0 + 1].role != \"tool\") %}\n {{- '<|im_end|>\\n' }}\n {%- endif %}\n {%- endif %}\n{%- endfor %}\n{%- if add_generation_prompt %}\n {{- '<|im_start|>assistant\\n' }}\n{%- endif %}\n",
|
| 199 |
+
"clean_up_tokenization_spaces": false,
|
| 200 |
+
"eos_token": "<|im_end|>",
|
| 201 |
+
"errors": "replace",
|
| 202 |
+
"extra_special_tokens": {},
|
| 203 |
+
"model_max_length": 32768,
|
| 204 |
+
"pad_token": "<|vision_pad|>",
|
| 205 |
+
"padding_side": "right",
|
| 206 |
+
"split_special_tokens": false,
|
| 207 |
+
"tokenizer_class": "Qwen2Tokenizer",
|
| 208 |
+
"unk_token": null
|
| 209 |
+
}
|
train_results.json
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"total_flos": 0.0,
|
| 3 |
+
"train_loss": 1.06198954199499e-06,
|
| 4 |
+
"train_runtime": 2218.5211,
|
| 5 |
+
"train_samples": 14,
|
| 6 |
+
"train_samples_per_second": 0.144,
|
| 7 |
+
"train_steps_per_second": 0.009
|
| 8 |
+
}
|
trainer_state.json
ADDED
|
@@ -0,0 +1,233 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
+
"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 |
+
"completion_length": 638.71875,
|
| 14 |
+
"epoch": 0.5714285714285714,
|
| 15 |
+
"grad_norm": 0.38374558091163635,
|
| 16 |
+
"kl": 0.0009654578389017843,
|
| 17 |
+
"learning_rate": 5e-07,
|
| 18 |
+
"loss": 0.0,
|
| 19 |
+
"reward": 2.6174719631671906,
|
| 20 |
+
"reward_std": 0.9517780635505915,
|
| 21 |
+
"rewards/concensus_correctness_reward_func": 0.0,
|
| 22 |
+
"rewards/consensus_reward_func": 1.5,
|
| 23 |
+
"rewards/cumulative_reward_2": 0.0,
|
| 24 |
+
"rewards/final_correctness_reward_func": 0.4375,
|
| 25 |
+
"rewards/question_recreation_reward_func": 0.9712532758712769,
|
| 26 |
+
"rewards/soft_format_reward_func": 0.0,
|
| 27 |
+
"rewards/strict_format_reward_func": 0.0,
|
| 28 |
+
"rewards/xmlcount_reward_func": -0.29128124192357063,
|
| 29 |
+
"step": 2
|
| 30 |
+
},
|
| 31 |
+
{
|
| 32 |
+
"completion_length": 720.7083333333334,
|
| 33 |
+
"epoch": 1.0,
|
| 34 |
+
"grad_norm": 0.24735885858535767,
|
| 35 |
+
"kl": 0.0009645834603967766,
|
| 36 |
+
"learning_rate": 4.864543104251586e-07,
|
| 37 |
+
"loss": 0.0,
|
| 38 |
+
"reward": 2.694145619869232,
|
| 39 |
+
"reward_std": 0.739270132733509,
|
| 40 |
+
"rewards/concensus_correctness_reward_func": 0.0,
|
| 41 |
+
"rewards/consensus_reward_func": 1.75,
|
| 42 |
+
"rewards/cumulative_reward_2": 0.0,
|
| 43 |
+
"rewards/final_correctness_reward_func": 0.25,
|
| 44 |
+
"rewards/question_recreation_reward_func": 0.9238538940747579,
|
| 45 |
+
"rewards/soft_format_reward_func": 0.0,
|
| 46 |
+
"rewards/strict_format_reward_func": 0.0,
|
| 47 |
+
"rewards/xmlcount_reward_func": -0.22970833691457906,
|
| 48 |
+
"step": 4
|
| 49 |
+
},
|
| 50 |
+
{
|
| 51 |
+
"completion_length": 655.90625,
|
| 52 |
+
"epoch": 1.5714285714285714,
|
| 53 |
+
"grad_norm": 0.2403717339038849,
|
| 54 |
+
"kl": 0.0009067438877536915,
|
| 55 |
+
"learning_rate": 4.472851273490984e-07,
|
| 56 |
+
"loss": 0.0,
|
| 57 |
+
"reward": 2.52608260512352,
|
| 58 |
+
"reward_std": 0.7863902058452368,
|
| 59 |
+
"rewards/concensus_correctness_reward_func": 0.0,
|
| 60 |
+
"rewards/consensus_reward_func": 1.5,
|
| 61 |
+
"rewards/cumulative_reward_2": 0.0,
|
| 62 |
+
"rewards/final_correctness_reward_func": 0.25,
|
| 63 |
+
"rewards/question_recreation_reward_func": 0.9529263749718666,
|
| 64 |
+
"rewards/soft_format_reward_func": 0.0,
|
| 65 |
+
"rewards/strict_format_reward_func": 0.0,
|
| 66 |
+
"rewards/xmlcount_reward_func": -0.17684375261887908,
|
| 67 |
+
"step": 6
|
| 68 |
+
},
|
| 69 |
+
{
|
| 70 |
+
"completion_length": 643.875,
|
| 71 |
+
"epoch": 2.0,
|
| 72 |
+
"grad_norm": 0.120332270860672,
|
| 73 |
+
"kl": 0.0010642353493797903,
|
| 74 |
+
"learning_rate": 3.867370395306068e-07,
|
| 75 |
+
"loss": 0.0,
|
| 76 |
+
"reward": 2.9124013980229697,
|
| 77 |
+
"reward_std": 0.7194343196849028,
|
| 78 |
+
"rewards/concensus_correctness_reward_func": 0.0,
|
| 79 |
+
"rewards/consensus_reward_func": 1.75,
|
| 80 |
+
"rewards/cumulative_reward_2": 0.0,
|
| 81 |
+
"rewards/final_correctness_reward_func": 0.5,
|
| 82 |
+
"rewards/question_recreation_reward_func": 0.9007347027460734,
|
| 83 |
+
"rewards/soft_format_reward_func": 0.0,
|
| 84 |
+
"rewards/strict_format_reward_func": 0.0,
|
| 85 |
+
"rewards/xmlcount_reward_func": -0.23833331791684031,
|
| 86 |
+
"step": 8
|
| 87 |
+
},
|
| 88 |
+
{
|
| 89 |
+
"completion_length": 528.03125,
|
| 90 |
+
"epoch": 2.571428571428571,
|
| 91 |
+
"grad_norm": 0.3127322196960449,
|
| 92 |
+
"kl": 0.0011082601922680624,
|
| 93 |
+
"learning_rate": 3.1137137178519977e-07,
|
| 94 |
+
"loss": 0.0,
|
| 95 |
+
"reward": 2.595315456390381,
|
| 96 |
+
"reward_std": 0.9942259974777699,
|
| 97 |
+
"rewards/concensus_correctness_reward_func": 0.0,
|
| 98 |
+
"rewards/consensus_reward_func": 1.25,
|
| 99 |
+
"rewards/cumulative_reward_2": 0.0,
|
| 100 |
+
"rewards/final_correctness_reward_func": 0.6875,
|
| 101 |
+
"rewards/question_recreation_reward_func": 0.9626591950654984,
|
| 102 |
+
"rewards/soft_format_reward_func": 0.0,
|
| 103 |
+
"rewards/strict_format_reward_func": 0.0,
|
| 104 |
+
"rewards/xmlcount_reward_func": -0.3048437596298754,
|
| 105 |
+
"step": 10
|
| 106 |
+
},
|
| 107 |
+
{
|
| 108 |
+
"completion_length": 809.75,
|
| 109 |
+
"epoch": 3.0,
|
| 110 |
+
"grad_norm": 0.22717513144016266,
|
| 111 |
+
"kl": 0.0007695318054175004,
|
| 112 |
+
"learning_rate": 2.2935516363191693e-07,
|
| 113 |
+
"loss": 0.0,
|
| 114 |
+
"reward": 2.790837605794271,
|
| 115 |
+
"reward_std": 0.6141482169429461,
|
| 116 |
+
"rewards/concensus_correctness_reward_func": 0.0,
|
| 117 |
+
"rewards/consensus_reward_func": 2.0,
|
| 118 |
+
"rewards/cumulative_reward_2": 0.0,
|
| 119 |
+
"rewards/final_correctness_reward_func": 0.08333333333333333,
|
| 120 |
+
"rewards/question_recreation_reward_func": 0.9246709446112314,
|
| 121 |
+
"rewards/soft_format_reward_func": 0.0,
|
| 122 |
+
"rewards/strict_format_reward_func": 0.0,
|
| 123 |
+
"rewards/xmlcount_reward_func": -0.21716668208440146,
|
| 124 |
+
"step": 12
|
| 125 |
+
},
|
| 126 |
+
{
|
| 127 |
+
"completion_length": 610.09375,
|
| 128 |
+
"epoch": 3.571428571428571,
|
| 129 |
+
"grad_norm": 0.3834904134273529,
|
| 130 |
+
"kl": 0.0010239674520562403,
|
| 131 |
+
"learning_rate": 1.4957614383675767e-07,
|
| 132 |
+
"loss": 0.0,
|
| 133 |
+
"reward": 2.812987893819809,
|
| 134 |
+
"reward_std": 0.8699007257819176,
|
| 135 |
+
"rewards/concensus_correctness_reward_func": 0.0,
|
| 136 |
+
"rewards/consensus_reward_func": 1.3125,
|
| 137 |
+
"rewards/cumulative_reward_2": 0.0,
|
| 138 |
+
"rewards/final_correctness_reward_func": 0.6875,
|
| 139 |
+
"rewards/question_recreation_reward_func": 0.9098628908395767,
|
| 140 |
+
"rewards/soft_format_reward_func": 0.0,
|
| 141 |
+
"rewards/strict_format_reward_func": 0.0,
|
| 142 |
+
"rewards/xmlcount_reward_func": -0.09687499329447746,
|
| 143 |
+
"step": 14
|
| 144 |
+
},
|
| 145 |
+
{
|
| 146 |
+
"completion_length": 676.375,
|
| 147 |
+
"epoch": 4.0,
|
| 148 |
+
"grad_norm": 0.21810463070869446,
|
| 149 |
+
"kl": 0.0010542051847248028,
|
| 150 |
+
"learning_rate": 8.067960709356478e-08,
|
| 151 |
+
"loss": 0.0,
|
| 152 |
+
"reward": 2.669045388698578,
|
| 153 |
+
"reward_std": 0.4530413995186488,
|
| 154 |
+
"rewards/concensus_correctness_reward_func": 0.0,
|
| 155 |
+
"rewards/consensus_reward_func": 2.0,
|
| 156 |
+
"rewards/cumulative_reward_2": 0.0,
|
| 157 |
+
"rewards/final_correctness_reward_func": 0.4166666666666667,
|
| 158 |
+
"rewards/question_recreation_reward_func": 0.9392953912417094,
|
| 159 |
+
"rewards/soft_format_reward_func": 0.0,
|
| 160 |
+
"rewards/strict_format_reward_func": 0.0,
|
| 161 |
+
"rewards/xmlcount_reward_func": -0.6869166592756907,
|
| 162 |
+
"step": 16
|
| 163 |
+
},
|
| 164 |
+
{
|
| 165 |
+
"completion_length": 700.25,
|
| 166 |
+
"epoch": 4.571428571428571,
|
| 167 |
+
"grad_norm": 0.2315680980682373,
|
| 168 |
+
"kl": 0.000864378635014873,
|
| 169 |
+
"learning_rate": 3.013156219837776e-08,
|
| 170 |
+
"loss": 0.0,
|
| 171 |
+
"reward": 2.9789403527975082,
|
| 172 |
+
"reward_std": 1.1692956015467644,
|
| 173 |
+
"rewards/concensus_correctness_reward_func": 0.0,
|
| 174 |
+
"rewards/consensus_reward_func": 1.4375,
|
| 175 |
+
"rewards/cumulative_reward_2": 0.0,
|
| 176 |
+
"rewards/final_correctness_reward_func": 0.875,
|
| 177 |
+
"rewards/question_recreation_reward_func": 0.9160966128110886,
|
| 178 |
+
"rewards/soft_format_reward_func": 0.0,
|
| 179 |
+
"rewards/strict_format_reward_func": 0.0,
|
| 180 |
+
"rewards/xmlcount_reward_func": -0.24965623021125793,
|
| 181 |
+
"step": 18
|
| 182 |
+
},
|
| 183 |
+
{
|
| 184 |
+
"completion_length": 590.0416666666666,
|
| 185 |
+
"epoch": 5.0,
|
| 186 |
+
"grad_norm": 0.26396167278289795,
|
| 187 |
+
"kl": 0.0011462939631504316,
|
| 188 |
+
"learning_rate": 3.4096741493194193e-09,
|
| 189 |
+
"loss": 0.0,
|
| 190 |
+
"reward": 2.3803677956263223,
|
| 191 |
+
"reward_std": 0.7875129493574301,
|
| 192 |
+
"rewards/concensus_correctness_reward_func": 0.0,
|
| 193 |
+
"rewards/consensus_reward_func": 1.75,
|
| 194 |
+
"rewards/cumulative_reward_2": 0.0,
|
| 195 |
+
"rewards/final_correctness_reward_func": 0.0,
|
| 196 |
+
"rewards/question_recreation_reward_func": 0.9779927929242452,
|
| 197 |
+
"rewards/soft_format_reward_func": 0.0,
|
| 198 |
+
"rewards/strict_format_reward_func": 0.0,
|
| 199 |
+
"rewards/xmlcount_reward_func": -0.3476250000918905,
|
| 200 |
+
"step": 20
|
| 201 |
+
},
|
| 202 |
+
{
|
| 203 |
+
"epoch": 5.0,
|
| 204 |
+
"step": 20,
|
| 205 |
+
"total_flos": 0.0,
|
| 206 |
+
"train_loss": 1.06198954199499e-06,
|
| 207 |
+
"train_runtime": 2218.5211,
|
| 208 |
+
"train_samples_per_second": 0.144,
|
| 209 |
+
"train_steps_per_second": 0.009
|
| 210 |
+
}
|
| 211 |
+
],
|
| 212 |
+
"logging_steps": 2,
|
| 213 |
+
"max_steps": 20,
|
| 214 |
+
"num_input_tokens_seen": 0,
|
| 215 |
+
"num_train_epochs": 7,
|
| 216 |
+
"save_steps": 25,
|
| 217 |
+
"stateful_callbacks": {
|
| 218 |
+
"TrainerControl": {
|
| 219 |
+
"args": {
|
| 220 |
+
"should_epoch_stop": false,
|
| 221 |
+
"should_evaluate": false,
|
| 222 |
+
"should_log": false,
|
| 223 |
+
"should_save": true,
|
| 224 |
+
"should_training_stop": true
|
| 225 |
+
},
|
| 226 |
+
"attributes": {}
|
| 227 |
+
}
|
| 228 |
+
},
|
| 229 |
+
"total_flos": 0.0,
|
| 230 |
+
"train_batch_size": 4,
|
| 231 |
+
"trial_name": null,
|
| 232 |
+
"trial_params": null
|
| 233 |
+
}
|
training_args.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:94d0fad370f425e42adc55d5138afe0e6aee7ea76ecdf96b751781ea94811c27
|
| 3 |
+
size 6008
|
vocab.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|