End of training
Browse files- .gitattributes +1 -0
- README.md +71 -0
- added_tokens.json +24 -0
- all_results.json +8 -0
- config.json +28 -0
- generation_config.json +14 -0
- merges.txt +0 -0
- model.safetensors +3 -0
- special_tokens_map.json +31 -0
- tokenizer.json +3 -0
- tokenizer_config.json +208 -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,71 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
base_model: Gensyn/Qwen2.5-0.5B-Instruct
|
| 3 |
+
library_name: transformers
|
| 4 |
+
model_name: Qwen2.5-0.5B-Instruct-Gensyn-Swarm-quick_timid_frog
|
| 5 |
+
tags:
|
| 6 |
+
- generated_from_trainer
|
| 7 |
+
- rl-swarm
|
| 8 |
+
- grpo
|
| 9 |
+
- gensyn
|
| 10 |
+
- I am quick timid frog
|
| 11 |
+
- trl
|
| 12 |
+
licence: license
|
| 13 |
+
---
|
| 14 |
+
|
| 15 |
+
# Model Card for Qwen2.5-0.5B-Instruct-Gensyn-Swarm-quick_timid_frog
|
| 16 |
+
|
| 17 |
+
This model is a fine-tuned version of [Gensyn/Qwen2.5-0.5B-Instruct](https://huggingface.co/Gensyn/Qwen2.5-0.5B-Instruct).
|
| 18 |
+
It has been trained using [TRL](https://github.com/huggingface/trl).
|
| 19 |
+
|
| 20 |
+
## Quick start
|
| 21 |
+
|
| 22 |
+
```python
|
| 23 |
+
from transformers import pipeline
|
| 24 |
+
|
| 25 |
+
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?"
|
| 26 |
+
generator = pipeline("text-generation", model="hazentr/Qwen2.5-0.5B-Instruct-Gensyn-Swarm-quick_timid_frog", device="cuda")
|
| 27 |
+
output = generator([{"role": "user", "content": question}], max_new_tokens=128, return_full_text=False)[0]
|
| 28 |
+
print(output["generated_text"])
|
| 29 |
+
```
|
| 30 |
+
|
| 31 |
+
## Training procedure
|
| 32 |
+
|
| 33 |
+
|
| 34 |
+
|
| 35 |
+
|
| 36 |
+
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).
|
| 37 |
+
|
| 38 |
+
### Framework versions
|
| 39 |
+
|
| 40 |
+
- TRL: 0.15.2
|
| 41 |
+
- Transformers: 4.50.3
|
| 42 |
+
- Pytorch: 2.5.1
|
| 43 |
+
- Datasets: 3.5.0
|
| 44 |
+
- Tokenizers: 0.21.1
|
| 45 |
+
|
| 46 |
+
## Citations
|
| 47 |
+
|
| 48 |
+
Cite GRPO as:
|
| 49 |
+
|
| 50 |
+
```bibtex
|
| 51 |
+
@article{zhihong2024deepseekmath,
|
| 52 |
+
title = {{DeepSeekMath: Pushing the Limits of Mathematical Reasoning in Open Language Models}},
|
| 53 |
+
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},
|
| 54 |
+
year = 2024,
|
| 55 |
+
eprint = {arXiv:2402.03300},
|
| 56 |
+
}
|
| 57 |
+
|
| 58 |
+
```
|
| 59 |
+
|
| 60 |
+
Cite TRL as:
|
| 61 |
+
|
| 62 |
+
```bibtex
|
| 63 |
+
@misc{vonwerra2022trl,
|
| 64 |
+
title = {{TRL: Transformer Reinforcement Learning}},
|
| 65 |
+
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},
|
| 66 |
+
year = 2020,
|
| 67 |
+
journal = {GitHub repository},
|
| 68 |
+
publisher = {GitHub},
|
| 69 |
+
howpublished = {\url{https://github.com/huggingface/trl}}
|
| 70 |
+
}
|
| 71 |
+
```
|
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": 2.981136299240461e-06,
|
| 4 |
+
"train_runtime": 446.672,
|
| 5 |
+
"train_samples": 400,
|
| 6 |
+
"train_samples_per_second": 0.716,
|
| 7 |
+
"train_steps_per_second": 0.045
|
| 8 |
+
}
|
config.json
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"architectures": [
|
| 3 |
+
"Qwen2ForCausalLM"
|
| 4 |
+
],
|
| 5 |
+
"attention_dropout": 0.0,
|
| 6 |
+
"bos_token_id": 151643,
|
| 7 |
+
"eos_token_id": 151645,
|
| 8 |
+
"hidden_act": "silu",
|
| 9 |
+
"hidden_size": 896,
|
| 10 |
+
"initializer_range": 0.02,
|
| 11 |
+
"intermediate_size": 4864,
|
| 12 |
+
"max_position_embeddings": 32768,
|
| 13 |
+
"max_window_layers": 21,
|
| 14 |
+
"model_type": "qwen2",
|
| 15 |
+
"num_attention_heads": 14,
|
| 16 |
+
"num_hidden_layers": 24,
|
| 17 |
+
"num_key_value_heads": 2,
|
| 18 |
+
"rms_norm_eps": 1e-06,
|
| 19 |
+
"rope_scaling": null,
|
| 20 |
+
"rope_theta": 1000000.0,
|
| 21 |
+
"sliding_window": 32768,
|
| 22 |
+
"tie_word_embeddings": true,
|
| 23 |
+
"torch_dtype": "float32",
|
| 24 |
+
"transformers_version": "4.50.3",
|
| 25 |
+
"use_cache": true,
|
| 26 |
+
"use_sliding_window": false,
|
| 27 |
+
"vocab_size": 151936
|
| 28 |
+
}
|
generation_config.json
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"bos_token_id": 151643,
|
| 3 |
+
"do_sample": true,
|
| 4 |
+
"eos_token_id": [
|
| 5 |
+
151645,
|
| 6 |
+
151643
|
| 7 |
+
],
|
| 8 |
+
"pad_token_id": 151643,
|
| 9 |
+
"repetition_penalty": 1.1,
|
| 10 |
+
"temperature": 0.7,
|
| 11 |
+
"top_k": 20,
|
| 12 |
+
"top_p": 0.8,
|
| 13 |
+
"transformers_version": "4.50.3"
|
| 14 |
+
}
|
merges.txt
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b2692950c978fd30d00c87eef2ca781d2c8c5b5b326cf827b8fbeeac65232016
|
| 3 |
+
size 1976163472
|
special_tokens_map.json
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"additional_special_tokens": [
|
| 3 |
+
"<|im_start|>",
|
| 4 |
+
"<|im_end|>",
|
| 5 |
+
"<|object_ref_start|>",
|
| 6 |
+
"<|object_ref_end|>",
|
| 7 |
+
"<|box_start|>",
|
| 8 |
+
"<|box_end|>",
|
| 9 |
+
"<|quad_start|>",
|
| 10 |
+
"<|quad_end|>",
|
| 11 |
+
"<|vision_start|>",
|
| 12 |
+
"<|vision_end|>",
|
| 13 |
+
"<|vision_pad|>",
|
| 14 |
+
"<|image_pad|>",
|
| 15 |
+
"<|video_pad|>"
|
| 16 |
+
],
|
| 17 |
+
"eos_token": {
|
| 18 |
+
"content": "<|im_end|>",
|
| 19 |
+
"lstrip": false,
|
| 20 |
+
"normalized": false,
|
| 21 |
+
"rstrip": false,
|
| 22 |
+
"single_word": false
|
| 23 |
+
},
|
| 24 |
+
"pad_token": {
|
| 25 |
+
"content": "<|endoftext|>",
|
| 26 |
+
"lstrip": false,
|
| 27 |
+
"normalized": false,
|
| 28 |
+
"rstrip": false,
|
| 29 |
+
"single_word": false
|
| 30 |
+
}
|
| 31 |
+
}
|
tokenizer.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:5eee858c5123a4279c3e1f7b81247343f356ac767940b2692a928ad929543214
|
| 3 |
+
size 11422063
|
tokenizer_config.json
ADDED
|
@@ -0,0 +1,208 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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": 131072,
|
| 204 |
+
"pad_token": "<|endoftext|>",
|
| 205 |
+
"split_special_tokens": false,
|
| 206 |
+
"tokenizer_class": "Qwen2Tokenizer",
|
| 207 |
+
"unk_token": null
|
| 208 |
+
}
|
train_results.json
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"total_flos": 0.0,
|
| 3 |
+
"train_loss": 2.981136299240461e-06,
|
| 4 |
+
"train_runtime": 446.672,
|
| 5 |
+
"train_samples": 400,
|
| 6 |
+
"train_samples_per_second": 0.716,
|
| 7 |
+
"train_steps_per_second": 0.045
|
| 8 |
+
}
|
trainer_state.json
ADDED
|
@@ -0,0 +1,233 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"best_global_step": null,
|
| 3 |
+
"best_metric": null,
|
| 4 |
+
"best_model_checkpoint": null,
|
| 5 |
+
"epoch": 0.4,
|
| 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 |
+
"completion_length": 193.8125,
|
| 14 |
+
"epoch": 0.04,
|
| 15 |
+
"grad_norm": 14.63391399383545,
|
| 16 |
+
"kl": 0.0,
|
| 17 |
+
"learning_rate": 4.965903258506806e-07,
|
| 18 |
+
"loss": 0.0,
|
| 19 |
+
"reward": 0.7319308997248299,
|
| 20 |
+
"reward_std": 1.4675951624521986,
|
| 21 |
+
"rewards/concensus_correctness_reward_func": 0.625,
|
| 22 |
+
"rewards/consensus_reward_func": 0.0,
|
| 23 |
+
"rewards/cumulative_reward_2": 0.0,
|
| 24 |
+
"rewards/final_correctness_reward_func": 0.125,
|
| 25 |
+
"rewards/question_recreation_reward_func": 0.14661836915183812,
|
| 26 |
+
"rewards/soft_format_reward_func": 0.0,
|
| 27 |
+
"rewards/strict_format_reward_func": 0.0,
|
| 28 |
+
"rewards/xmlcount_reward_func": -0.16468749474734068,
|
| 29 |
+
"step": 2
|
| 30 |
+
},
|
| 31 |
+
{
|
| 32 |
+
"completion_length": 182.4375,
|
| 33 |
+
"epoch": 0.08,
|
| 34 |
+
"grad_norm": 103.45428466796875,
|
| 35 |
+
"kl": 0.0030059531818551477,
|
| 36 |
+
"learning_rate": 4.698684378016222e-07,
|
| 37 |
+
"loss": 0.0,
|
| 38 |
+
"reward": 0.4674203674076125,
|
| 39 |
+
"reward_std": 0.39494728393037803,
|
| 40 |
+
"rewards/concensus_correctness_reward_func": 0.0,
|
| 41 |
+
"rewards/consensus_reward_func": 0.0625,
|
| 42 |
+
"rewards/cumulative_reward_2": 0.0,
|
| 43 |
+
"rewards/final_correctness_reward_func": 0.25,
|
| 44 |
+
"rewards/question_recreation_reward_func": 0.12910787563305348,
|
| 45 |
+
"rewards/soft_format_reward_func": 0.0,
|
| 46 |
+
"rewards/strict_format_reward_func": 0.0,
|
| 47 |
+
"rewards/xmlcount_reward_func": 0.02581250388175249,
|
| 48 |
+
"step": 4
|
| 49 |
+
},
|
| 50 |
+
{
|
| 51 |
+
"completion_length": 332.4375,
|
| 52 |
+
"epoch": 0.12,
|
| 53 |
+
"grad_norm": 172.62315368652344,
|
| 54 |
+
"kl": 0.004414604589328519,
|
| 55 |
+
"learning_rate": 4.193203929064353e-07,
|
| 56 |
+
"loss": 0.0,
|
| 57 |
+
"reward": 0.32138258835766464,
|
| 58 |
+
"reward_std": 0.4429597834823653,
|
| 59 |
+
"rewards/concensus_correctness_reward_func": 0.0,
|
| 60 |
+
"rewards/consensus_reward_func": 0.125,
|
| 61 |
+
"rewards/cumulative_reward_2": 0.0,
|
| 62 |
+
"rewards/final_correctness_reward_func": 0.0625,
|
| 63 |
+
"rewards/question_recreation_reward_func": 0.14366383833112195,
|
| 64 |
+
"rewards/soft_format_reward_func": 0.0,
|
| 65 |
+
"rewards/strict_format_reward_func": 0.0,
|
| 66 |
+
"rewards/xmlcount_reward_func": -0.009781251661479473,
|
| 67 |
+
"step": 6
|
| 68 |
+
},
|
| 69 |
+
{
|
| 70 |
+
"completion_length": 259.5625,
|
| 71 |
+
"epoch": 0.16,
|
| 72 |
+
"grad_norm": 43.04401779174805,
|
| 73 |
+
"kl": 0.00653164548202767,
|
| 74 |
+
"learning_rate": 3.5042385616324236e-07,
|
| 75 |
+
"loss": 0.0,
|
| 76 |
+
"reward": 0.42670605750754476,
|
| 77 |
+
"reward_std": 0.3774161513429135,
|
| 78 |
+
"rewards/concensus_correctness_reward_func": 0.0,
|
| 79 |
+
"rewards/consensus_reward_func": 0.1875,
|
| 80 |
+
"rewards/cumulative_reward_2": 0.0,
|
| 81 |
+
"rewards/final_correctness_reward_func": 0.0,
|
| 82 |
+
"rewards/question_recreation_reward_func": 0.1817060547764413,
|
| 83 |
+
"rewards/soft_format_reward_func": 0.0,
|
| 84 |
+
"rewards/strict_format_reward_func": 0.0,
|
| 85 |
+
"rewards/xmlcount_reward_func": 0.05750000011175871,
|
| 86 |
+
"step": 8
|
| 87 |
+
},
|
| 88 |
+
{
|
| 89 |
+
"completion_length": 284.25,
|
| 90 |
+
"epoch": 0.2,
|
| 91 |
+
"grad_norm": 62.62071228027344,
|
| 92 |
+
"kl": 0.003264372280682437,
|
| 93 |
+
"learning_rate": 2.706448363680831e-07,
|
| 94 |
+
"loss": 0.0,
|
| 95 |
+
"reward": 0.772022644559911,
|
| 96 |
+
"reward_std": 0.6841085706546437,
|
| 97 |
+
"rewards/concensus_correctness_reward_func": 0.0,
|
| 98 |
+
"rewards/consensus_reward_func": 0.0625,
|
| 99 |
+
"rewards/cumulative_reward_2": 0.0,
|
| 100 |
+
"rewards/final_correctness_reward_func": 0.3125,
|
| 101 |
+
"rewards/question_recreation_reward_func": 0.22080390694463858,
|
| 102 |
+
"rewards/soft_format_reward_func": 0.0,
|
| 103 |
+
"rewards/strict_format_reward_func": 0.0,
|
| 104 |
+
"rewards/xmlcount_reward_func": 0.17621874995529652,
|
| 105 |
+
"step": 10
|
| 106 |
+
},
|
| 107 |
+
{
|
| 108 |
+
"completion_length": 262.125,
|
| 109 |
+
"epoch": 0.24,
|
| 110 |
+
"grad_norm": 122.08007049560547,
|
| 111 |
+
"kl": 0.001552950276163756,
|
| 112 |
+
"learning_rate": 1.886286282148002e-07,
|
| 113 |
+
"loss": 0.0,
|
| 114 |
+
"reward": 0.19894775302964263,
|
| 115 |
+
"reward_std": 0.15799446203163825,
|
| 116 |
+
"rewards/concensus_correctness_reward_func": 0.0,
|
| 117 |
+
"rewards/consensus_reward_func": 0.0,
|
| 118 |
+
"rewards/cumulative_reward_2": 0.0,
|
| 119 |
+
"rewards/final_correctness_reward_func": 0.0,
|
| 120 |
+
"rewards/question_recreation_reward_func": 0.1651977600704413,
|
| 121 |
+
"rewards/soft_format_reward_func": 0.0,
|
| 122 |
+
"rewards/strict_format_reward_func": 0.0,
|
| 123 |
+
"rewards/xmlcount_reward_func": 0.033749999944120646,
|
| 124 |
+
"step": 12
|
| 125 |
+
},
|
| 126 |
+
{
|
| 127 |
+
"completion_length": 238.6875,
|
| 128 |
+
"epoch": 0.28,
|
| 129 |
+
"grad_norm": 19.189781188964844,
|
| 130 |
+
"kl": 0.002484437918610638,
|
| 131 |
+
"learning_rate": 1.1326296046939333e-07,
|
| 132 |
+
"loss": 0.0,
|
| 133 |
+
"reward": 0.3354560334701091,
|
| 134 |
+
"reward_std": 0.2469154231948778,
|
| 135 |
+
"rewards/concensus_correctness_reward_func": 0.0,
|
| 136 |
+
"rewards/consensus_reward_func": 0.0,
|
| 137 |
+
"rewards/cumulative_reward_2": 0.0,
|
| 138 |
+
"rewards/final_correctness_reward_func": 0.125,
|
| 139 |
+
"rewards/question_recreation_reward_func": 0.1289560382720083,
|
| 140 |
+
"rewards/soft_format_reward_func": 0.0,
|
| 141 |
+
"rewards/strict_format_reward_func": 0.0,
|
| 142 |
+
"rewards/xmlcount_reward_func": 0.0815000026486814,
|
| 143 |
+
"step": 14
|
| 144 |
+
},
|
| 145 |
+
{
|
| 146 |
+
"completion_length": 361.28125,
|
| 147 |
+
"epoch": 0.32,
|
| 148 |
+
"grad_norm": 36.086551666259766,
|
| 149 |
+
"kl": 0.0016246729228441836,
|
| 150 |
+
"learning_rate": 5.271487265090163e-08,
|
| 151 |
+
"loss": 0.0,
|
| 152 |
+
"reward": 0.2372828422812745,
|
| 153 |
+
"reward_std": 0.05421121521794703,
|
| 154 |
+
"rewards/concensus_correctness_reward_func": 0.0,
|
| 155 |
+
"rewards/consensus_reward_func": 0.0,
|
| 156 |
+
"rewards/cumulative_reward_2": 0.0,
|
| 157 |
+
"rewards/final_correctness_reward_func": 0.0,
|
| 158 |
+
"rewards/question_recreation_reward_func": 0.13265784678515047,
|
| 159 |
+
"rewards/soft_format_reward_func": 0.0,
|
| 160 |
+
"rewards/strict_format_reward_func": 0.0,
|
| 161 |
+
"rewards/xmlcount_reward_func": 0.10462499936693348,
|
| 162 |
+
"step": 16
|
| 163 |
+
},
|
| 164 |
+
{
|
| 165 |
+
"completion_length": 344.875,
|
| 166 |
+
"epoch": 0.36,
|
| 167 |
+
"grad_norm": 23.323461532592773,
|
| 168 |
+
"kl": 0.0014701017171319108,
|
| 169 |
+
"learning_rate": 1.3545689574841341e-08,
|
| 170 |
+
"loss": 0.0,
|
| 171 |
+
"reward": 0.1528349393629469,
|
| 172 |
+
"reward_std": 0.19100812728720484,
|
| 173 |
+
"rewards/concensus_correctness_reward_func": 0.0,
|
| 174 |
+
"rewards/consensus_reward_func": 0.0,
|
| 175 |
+
"rewards/cumulative_reward_2": 0.0,
|
| 176 |
+
"rewards/final_correctness_reward_func": 0.0625,
|
| 177 |
+
"rewards/question_recreation_reward_func": 0.0999599380302243,
|
| 178 |
+
"rewards/soft_format_reward_func": 0.0,
|
| 179 |
+
"rewards/strict_format_reward_func": 0.0,
|
| 180 |
+
"rewards/xmlcount_reward_func": -0.009625000529922545,
|
| 181 |
+
"step": 18
|
| 182 |
+
},
|
| 183 |
+
{
|
| 184 |
+
"completion_length": 332.625,
|
| 185 |
+
"epoch": 0.4,
|
| 186 |
+
"grad_norm": 103.00875091552734,
|
| 187 |
+
"kl": 0.0065819556220958475,
|
| 188 |
+
"learning_rate": 0.0,
|
| 189 |
+
"loss": 0.0,
|
| 190 |
+
"reward": 0.7341161223594099,
|
| 191 |
+
"reward_std": 0.9769555462007702,
|
| 192 |
+
"rewards/concensus_correctness_reward_func": 0.625,
|
| 193 |
+
"rewards/consensus_reward_func": 0.0,
|
| 194 |
+
"rewards/cumulative_reward_2": 0.0,
|
| 195 |
+
"rewards/final_correctness_reward_func": 0.0,
|
| 196 |
+
"rewards/question_recreation_reward_func": 0.09980363619979471,
|
| 197 |
+
"rewards/soft_format_reward_func": 0.0,
|
| 198 |
+
"rewards/strict_format_reward_func": 0.0,
|
| 199 |
+
"rewards/xmlcount_reward_func": 0.009312499780207872,
|
| 200 |
+
"step": 20
|
| 201 |
+
},
|
| 202 |
+
{
|
| 203 |
+
"epoch": 0.4,
|
| 204 |
+
"step": 20,
|
| 205 |
+
"total_flos": 0.0,
|
| 206 |
+
"train_loss": 2.981136299240461e-06,
|
| 207 |
+
"train_runtime": 446.672,
|
| 208 |
+
"train_samples_per_second": 0.716,
|
| 209 |
+
"train_steps_per_second": 0.045
|
| 210 |
+
}
|
| 211 |
+
],
|
| 212 |
+
"logging_steps": 2,
|
| 213 |
+
"max_steps": 20,
|
| 214 |
+
"num_input_tokens_seen": 0,
|
| 215 |
+
"num_train_epochs": 1,
|
| 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": 2,
|
| 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:08cfb5cac1c3b7849bc08494fb99547b4012036118841ee03bb52d0e6deba09b
|
| 3 |
+
size 6008
|
vocab.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|