End of training
Browse files- README.md +6 -6
- all_results.json +5 -5
- config.json +3 -2
- generation_config.json +2 -1
- model.safetensors +1 -1
- special_tokens_map.json +1 -1
- tokenizer.json +2 -2
- tokenizer_config.json +3 -2
- train_results.json +5 -5
- trainer_state.json +77 -56
- training_args.bin +2 -2
README.md
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
---
|
2 |
-
base_model:
|
3 |
library_name: transformers
|
4 |
model_name: Qwen2.5-0.5B-Instruct-Gensyn-Swarm-mangy_padded_cow
|
5 |
tags:
|
@@ -14,7 +14,7 @@ licence: license
|
|
14 |
|
15 |
# Model Card for Qwen2.5-0.5B-Instruct-Gensyn-Swarm-mangy_padded_cow
|
16 |
|
17 |
-
This model is a fine-tuned version of [
|
18 |
It has been trained using [TRL](https://github.com/huggingface/trl).
|
19 |
|
20 |
## Quick start
|
@@ -37,10 +37,10 @@ This model was trained with GRPO, a method introduced in [DeepSeekMath: Pushing
|
|
37 |
|
38 |
### Framework versions
|
39 |
|
40 |
-
- TRL: 0.
|
41 |
- Transformers: 4.51.3
|
42 |
-
- Pytorch: 2.
|
43 |
-
- Datasets: 3.5.
|
44 |
- Tokenizers: 0.21.1
|
45 |
|
46 |
## Citations
|
@@ -62,7 +62,7 @@ Cite TRL as:
|
|
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
|
66 |
year = 2020,
|
67 |
journal = {GitHub repository},
|
68 |
publisher = {GitHub},
|
|
|
1 |
---
|
2 |
+
base_model: unsloth/Qwen2.5-0.5B-Instruct
|
3 |
library_name: transformers
|
4 |
model_name: Qwen2.5-0.5B-Instruct-Gensyn-Swarm-mangy_padded_cow
|
5 |
tags:
|
|
|
14 |
|
15 |
# Model Card for Qwen2.5-0.5B-Instruct-Gensyn-Swarm-mangy_padded_cow
|
16 |
|
17 |
+
This model is a fine-tuned version of [unsloth/Qwen2.5-0.5B-Instruct](https://huggingface.co/unsloth/Qwen2.5-0.5B-Instruct).
|
18 |
It has been trained using [TRL](https://github.com/huggingface/trl).
|
19 |
|
20 |
## Quick start
|
|
|
37 |
|
38 |
### Framework versions
|
39 |
|
40 |
+
- TRL: 0.17.0
|
41 |
- Transformers: 4.51.3
|
42 |
+
- Pytorch: 2.7.0
|
43 |
+
- Datasets: 3.5.1
|
44 |
- Tokenizers: 0.21.1
|
45 |
|
46 |
## Citations
|
|
|
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{\'e}dec},
|
66 |
year = 2020,
|
67 |
journal = {GitHub repository},
|
68 |
publisher = {GitHub},
|
all_results.json
CHANGED
@@ -1,8 +1,8 @@
|
|
1 |
{
|
2 |
"total_flos": 0.0,
|
3 |
-
"train_loss": 0.
|
4 |
-
"train_runtime":
|
5 |
-
"train_samples":
|
6 |
-
"train_samples_per_second": 0.
|
7 |
-
"train_steps_per_second": 0.
|
8 |
}
|
|
|
1 |
{
|
2 |
"total_flos": 0.0,
|
3 |
+
"train_loss": 0.27013154824574787,
|
4 |
+
"train_runtime": 1786.8594,
|
5 |
+
"train_samples": 23,
|
6 |
+
"train_samples_per_second": 0.013,
|
7 |
+
"train_steps_per_second": 0.002
|
8 |
}
|
config.json
CHANGED
@@ -3,7 +3,6 @@
|
|
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,
|
@@ -15,13 +14,15 @@
|
|
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":
|
22 |
"tie_word_embeddings": true,
|
23 |
"torch_dtype": "float32",
|
24 |
"transformers_version": "4.51.3",
|
|
|
25 |
"use_cache": true,
|
26 |
"use_sliding_window": false,
|
27 |
"vocab_size": 151936
|
|
|
3 |
"Qwen2ForCausalLM"
|
4 |
],
|
5 |
"attention_dropout": 0.0,
|
|
|
6 |
"eos_token_id": 151645,
|
7 |
"hidden_act": "silu",
|
8 |
"hidden_size": 896,
|
|
|
14 |
"num_attention_heads": 14,
|
15 |
"num_hidden_layers": 24,
|
16 |
"num_key_value_heads": 2,
|
17 |
+
"pad_token_id": 151654,
|
18 |
"rms_norm_eps": 1e-06,
|
19 |
"rope_scaling": null,
|
20 |
"rope_theta": 1000000.0,
|
21 |
+
"sliding_window": null,
|
22 |
"tie_word_embeddings": true,
|
23 |
"torch_dtype": "float32",
|
24 |
"transformers_version": "4.51.3",
|
25 |
+
"unsloth_fixed": true,
|
26 |
"use_cache": true,
|
27 |
"use_sliding_window": false,
|
28 |
"vocab_size": 151936
|
generation_config.json
CHANGED
@@ -5,7 +5,8 @@
|
|
5 |
151645,
|
6 |
151643
|
7 |
],
|
8 |
-
"
|
|
|
9 |
"repetition_penalty": 1.1,
|
10 |
"temperature": 0.7,
|
11 |
"top_k": 20,
|
|
|
5 |
151645,
|
6 |
151643
|
7 |
],
|
8 |
+
"max_length": 32768,
|
9 |
+
"pad_token_id": 151654,
|
10 |
"repetition_penalty": 1.1,
|
11 |
"temperature": 0.7,
|
12 |
"top_k": 20,
|
model.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 1976163472
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:042df9bab814993de332623fa5c40266568096ef8b903104ca3c676525f23d13
|
3 |
size 1976163472
|
special_tokens_map.json
CHANGED
@@ -22,7 +22,7 @@
|
|
22 |
"single_word": false
|
23 |
},
|
24 |
"pad_token": {
|
25 |
-
"content": "<|
|
26 |
"lstrip": false,
|
27 |
"normalized": false,
|
28 |
"rstrip": false,
|
|
|
22 |
"single_word": false
|
23 |
},
|
24 |
"pad_token": {
|
25 |
+
"content": "<|vision_pad|>",
|
26 |
"lstrip": false,
|
27 |
"normalized": false,
|
28 |
"rstrip": false,
|
tokenizer.json
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:64e71213db910f5cafa86d35091f37393dcc344b1bbc34091d1b3eed4cca01d5
|
3 |
+
size 11422064
|
tokenizer_config.json
CHANGED
@@ -200,8 +200,9 @@
|
|
200 |
"eos_token": "<|im_end|>",
|
201 |
"errors": "replace",
|
202 |
"extra_special_tokens": {},
|
203 |
-
"model_max_length":
|
204 |
-
"pad_token": "<|
|
|
|
205 |
"split_special_tokens": false,
|
206 |
"tokenizer_class": "Qwen2Tokenizer",
|
207 |
"unk_token": null
|
|
|
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": "left",
|
206 |
"split_special_tokens": false,
|
207 |
"tokenizer_class": "Qwen2Tokenizer",
|
208 |
"unk_token": null
|
train_results.json
CHANGED
@@ -1,8 +1,8 @@
|
|
1 |
{
|
2 |
"total_flos": 0.0,
|
3 |
-
"train_loss": 0.
|
4 |
-
"train_runtime":
|
5 |
-
"train_samples":
|
6 |
-
"train_samples_per_second": 0.
|
7 |
-
"train_steps_per_second": 0.
|
8 |
}
|
|
|
1 |
{
|
2 |
"total_flos": 0.0,
|
3 |
+
"train_loss": 0.27013154824574787,
|
4 |
+
"train_runtime": 1786.8594,
|
5 |
+
"train_samples": 23,
|
6 |
+
"train_samples_per_second": 0.013,
|
7 |
+
"train_steps_per_second": 0.002
|
8 |
}
|
trainer_state.json
CHANGED
@@ -2,77 +2,98 @@
|
|
2 |
"best_global_step": null,
|
3 |
"best_metric": null,
|
4 |
"best_model_checkpoint": null,
|
5 |
-
"epoch":
|
6 |
"eval_steps": 500,
|
7 |
-
"global_step":
|
8 |
"is_hyper_param_search": false,
|
9 |
"is_local_process_zero": true,
|
10 |
"is_world_process_zero": true,
|
11 |
"log_history": [
|
12 |
{
|
13 |
-
"
|
14 |
-
"
|
15 |
-
"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
16 |
"kl": 0.0,
|
17 |
"learning_rate": 5e-07,
|
18 |
-
"loss": 0.
|
19 |
-
"
|
20 |
-
"
|
21 |
-
"
|
22 |
-
"rewards/
|
23 |
-
"rewards/
|
24 |
-
"rewards/
|
25 |
-
"rewards/
|
26 |
-
"rewards/
|
27 |
-
"rewards/
|
28 |
-
"rewards/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
29 |
"step": 2
|
30 |
},
|
31 |
{
|
32 |
-
"
|
33 |
-
"
|
34 |
-
"
|
35 |
-
"
|
36 |
-
"
|
37 |
-
"
|
38 |
-
"
|
39 |
-
"
|
40 |
-
"
|
41 |
-
"
|
42 |
-
"
|
43 |
-
"
|
44 |
-
"
|
45 |
-
"
|
46 |
-
"
|
47 |
-
"
|
48 |
-
"
|
49 |
-
|
50 |
-
|
51 |
-
"
|
52 |
-
"
|
53 |
-
"
|
54 |
-
"
|
55 |
-
"
|
56 |
-
"rewards/
|
57 |
-
"rewards/
|
58 |
-
"rewards/
|
59 |
-
"rewards/
|
60 |
-
"rewards/
|
61 |
-
"rewards/
|
62 |
-
"rewards/strict_format_reward_func": 0.
|
63 |
-
"rewards/xmlcount_reward_func":
|
64 |
-
"
|
|
|
65 |
"total_flos": 0.0,
|
66 |
-
"train_loss": 0.
|
67 |
-
"train_runtime":
|
68 |
-
"train_samples_per_second": 0.
|
69 |
-
"train_steps_per_second": 0.
|
70 |
}
|
71 |
],
|
72 |
"logging_steps": 2,
|
73 |
-
"max_steps":
|
74 |
-
"num_input_tokens_seen":
|
75 |
-
"num_train_epochs":
|
76 |
"save_steps": 25,
|
77 |
"stateful_callbacks": {
|
78 |
"TrainerControl": {
|
|
|
2 |
"best_global_step": null,
|
3 |
"best_metric": null,
|
4 |
"best_model_checkpoint": null,
|
5 |
+
"epoch": 0.5217391304347826,
|
6 |
"eval_steps": 500,
|
7 |
+
"global_step": 3,
|
8 |
"is_hyper_param_search": false,
|
9 |
"is_local_process_zero": true,
|
10 |
"is_world_process_zero": true,
|
11 |
"log_history": [
|
12 |
{
|
13 |
+
"clip_ratio/high_max": 0.0,
|
14 |
+
"clip_ratio/high_mean": 0.0,
|
15 |
+
"clip_ratio/low_mean": 0.0,
|
16 |
+
"clip_ratio/low_min": 0.0,
|
17 |
+
"clip_ratio/region_mean": 0.0,
|
18 |
+
"completions/clipped_ratio": 0.125,
|
19 |
+
"completions/max_length": 759.0,
|
20 |
+
"completions/max_terminated_length": 544.0,
|
21 |
+
"completions/mean_length": 344.3125,
|
22 |
+
"completions/mean_terminated_length": 246.29166412353516,
|
23 |
+
"completions/min_length": 64.5,
|
24 |
+
"completions/min_terminated_length": 64.5,
|
25 |
+
"epoch": 0.34782608695652173,
|
26 |
+
"grad_norm": 6.1356120109558105,
|
27 |
"kl": 0.0,
|
28 |
"learning_rate": 5e-07,
|
29 |
+
"loss": 0.1231,
|
30 |
+
"num_tokens": 9605.0,
|
31 |
+
"reward": 0.0872948095202446,
|
32 |
+
"reward_std": 0.036231483216397464,
|
33 |
+
"rewards/concensus_correctness_reward_func/mean": 0.0,
|
34 |
+
"rewards/concensus_correctness_reward_func/std": 0.0,
|
35 |
+
"rewards/consensus_reward_func/mean": 0.0,
|
36 |
+
"rewards/consensus_reward_func/std": 0.0,
|
37 |
+
"rewards/cumulative_reward_2/mean": 0.0,
|
38 |
+
"rewards/cumulative_reward_2/std": 0.0,
|
39 |
+
"rewards/final_correctness_reward_func/mean": 0.0,
|
40 |
+
"rewards/final_correctness_reward_func/std": 0.0,
|
41 |
+
"rewards/question_recreation_reward_func/mean": 0.0872948169708252,
|
42 |
+
"rewards/question_recreation_reward_func/std": 0.042022028006613255,
|
43 |
+
"rewards/soft_format_reward_func/mean": 0.0,
|
44 |
+
"rewards/soft_format_reward_func/std": 0.0,
|
45 |
+
"rewards/strict_format_reward_func/mean": 0.0,
|
46 |
+
"rewards/strict_format_reward_func/std": 0.0,
|
47 |
+
"rewards/xmlcount_reward_func/mean": 0.0,
|
48 |
+
"rewards/xmlcount_reward_func/std": 0.0,
|
49 |
"step": 2
|
50 |
},
|
51 |
{
|
52 |
+
"clip_ratio/high_max": 0.0,
|
53 |
+
"clip_ratio/high_mean": 0.0,
|
54 |
+
"clip_ratio/low_mean": 0.0,
|
55 |
+
"clip_ratio/low_min": 0.0,
|
56 |
+
"clip_ratio/region_mean": 0.0,
|
57 |
+
"completions/clipped_ratio": 0.0,
|
58 |
+
"completions/max_length": 369.0,
|
59 |
+
"completions/max_terminated_length": 369.0,
|
60 |
+
"completions/mean_length": 126.25,
|
61 |
+
"completions/mean_terminated_length": 126.25,
|
62 |
+
"completions/min_length": 2.0,
|
63 |
+
"completions/min_terminated_length": 2.0,
|
64 |
+
"epoch": 0.5217391304347826,
|
65 |
+
"kl": 0.0009940905874827877,
|
66 |
+
"num_tokens": 12663.0,
|
67 |
+
"reward": 2.516864776611328,
|
68 |
+
"reward_std": 3.5382814407348633,
|
69 |
+
"rewards/concensus_correctness_reward_func/mean": 2.5,
|
70 |
+
"rewards/concensus_correctness_reward_func/std": 7.071068286895752,
|
71 |
+
"rewards/consensus_reward_func/mean": 0.0,
|
72 |
+
"rewards/consensus_reward_func/std": 0.0,
|
73 |
+
"rewards/cumulative_reward_2/mean": 0.0,
|
74 |
+
"rewards/cumulative_reward_2/std": 0.0,
|
75 |
+
"rewards/final_correctness_reward_func/mean": 0.0,
|
76 |
+
"rewards/final_correctness_reward_func/std": 0.0,
|
77 |
+
"rewards/question_recreation_reward_func/mean": 0.01686476171016693,
|
78 |
+
"rewards/question_recreation_reward_func/std": 0.01196382101625204,
|
79 |
+
"rewards/soft_format_reward_func/mean": 0.0,
|
80 |
+
"rewards/soft_format_reward_func/std": 0.0,
|
81 |
+
"rewards/strict_format_reward_func/mean": 0.0,
|
82 |
+
"rewards/strict_format_reward_func/std": 0.0,
|
83 |
+
"rewards/xmlcount_reward_func/mean": 0.0,
|
84 |
+
"rewards/xmlcount_reward_func/std": 0.0,
|
85 |
+
"step": 3,
|
86 |
"total_flos": 0.0,
|
87 |
+
"train_loss": 0.27013154824574787,
|
88 |
+
"train_runtime": 1786.8594,
|
89 |
+
"train_samples_per_second": 0.013,
|
90 |
+
"train_steps_per_second": 0.002
|
91 |
}
|
92 |
],
|
93 |
"logging_steps": 2,
|
94 |
+
"max_steps": 3,
|
95 |
+
"num_input_tokens_seen": 12663,
|
96 |
+
"num_train_epochs": 1,
|
97 |
"save_steps": 25,
|
98 |
"stateful_callbacks": {
|
99 |
"TrainerControl": {
|
training_args.bin
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:6a71230f32e732eea5fcb1a0593b7bc74ff3864c9b7b760cda833ba20848a0ed
|
3 |
+
size 6929
|