Model save
Browse files- README.md +2 -4
- all_results.json +4 -4
- train_results.json +4 -4
- trainer_state.json +29 -49
README.md
CHANGED
@@ -1,11 +1,9 @@
|
|
1 |
---
|
2 |
base_model: Qwen/Qwen2.5-Math-7B
|
3 |
-
datasets: simplescaling/s1K-1.1
|
4 |
library_name: transformers
|
5 |
model_name: Qwen-2.5-7B-Simple-RL
|
6 |
tags:
|
7 |
- generated_from_trainer
|
8 |
-
- open-r1
|
9 |
- trl
|
10 |
- grpo
|
11 |
licence: license
|
@@ -13,7 +11,7 @@ licence: license
|
|
13 |
|
14 |
# Model Card for Qwen-2.5-7B-Simple-RL
|
15 |
|
16 |
-
This model is a fine-tuned version of [Qwen/Qwen2.5-Math-7B](https://huggingface.co/Qwen/Qwen2.5-Math-7B)
|
17 |
It has been trained using [TRL](https://github.com/huggingface/trl).
|
18 |
|
19 |
## Quick start
|
@@ -29,7 +27,7 @@ print(output["generated_text"])
|
|
29 |
|
30 |
## Training procedure
|
31 |
|
32 |
-
[<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/224015062-chinese-university-of-hong-kong-shenzhen/huggingface/runs/
|
33 |
|
34 |
|
35 |
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).
|
|
|
1 |
---
|
2 |
base_model: Qwen/Qwen2.5-Math-7B
|
|
|
3 |
library_name: transformers
|
4 |
model_name: Qwen-2.5-7B-Simple-RL
|
5 |
tags:
|
6 |
- generated_from_trainer
|
|
|
7 |
- trl
|
8 |
- grpo
|
9 |
licence: license
|
|
|
11 |
|
12 |
# Model Card for Qwen-2.5-7B-Simple-RL
|
13 |
|
14 |
+
This model is a fine-tuned version of [Qwen/Qwen2.5-Math-7B](https://huggingface.co/Qwen/Qwen2.5-Math-7B).
|
15 |
It has been trained using [TRL](https://github.com/huggingface/trl).
|
16 |
|
17 |
## Quick start
|
|
|
27 |
|
28 |
## Training procedure
|
29 |
|
30 |
+
[<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/224015062-chinese-university-of-hong-kong-shenzhen/huggingface/runs/5pyk4dec)
|
31 |
|
32 |
|
33 |
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).
|
all_results.json
CHANGED
@@ -1,8 +1,8 @@
|
|
1 |
{
|
2 |
"total_flos": 0.0,
|
3 |
-
"train_loss":
|
4 |
-
"train_runtime":
|
5 |
"train_samples": 1000,
|
6 |
-
"train_samples_per_second": 0.
|
7 |
-
"train_steps_per_second": 0.
|
8 |
}
|
|
|
1 |
{
|
2 |
"total_flos": 0.0,
|
3 |
+
"train_loss": 0.0006398193630351276,
|
4 |
+
"train_runtime": 3470.882,
|
5 |
"train_samples": 1000,
|
6 |
+
"train_samples_per_second": 0.288,
|
7 |
+
"train_steps_per_second": 0.002
|
8 |
}
|
train_results.json
CHANGED
@@ -1,8 +1,8 @@
|
|
1 |
{
|
2 |
"total_flos": 0.0,
|
3 |
-
"train_loss":
|
4 |
-
"train_runtime":
|
5 |
"train_samples": 1000,
|
6 |
-
"train_samples_per_second": 0.
|
7 |
-
"train_steps_per_second": 0.
|
8 |
}
|
|
|
1 |
{
|
2 |
"total_flos": 0.0,
|
3 |
+
"train_loss": 0.0006398193630351276,
|
4 |
+
"train_runtime": 3470.882,
|
5 |
"train_samples": 1000,
|
6 |
+
"train_samples_per_second": 0.288,
|
7 |
+
"train_steps_per_second": 0.002
|
8 |
}
|
trainer_state.json
CHANGED
@@ -1,77 +1,57 @@
|
|
1 |
{
|
2 |
"best_metric": null,
|
3 |
"best_model_checkpoint": null,
|
4 |
-
"epoch": 0.
|
5 |
"eval_steps": 500,
|
6 |
-
"global_step":
|
7 |
"is_hyper_param_search": false,
|
8 |
"is_local_process_zero": true,
|
9 |
"is_world_process_zero": true,
|
10 |
"log_history": [
|
11 |
{
|
12 |
-
"completion_length":
|
13 |
-
"epoch": 0.
|
14 |
-
"grad_norm": 0.
|
15 |
"kl": 0.0,
|
16 |
-
"learning_rate":
|
17 |
"loss": 0.0,
|
18 |
-
"reward": 0.
|
19 |
-
"reward_std": 0.
|
20 |
-
"rewards/accuracy_reward": 0.
|
21 |
"rewards/format_reward": 0.0,
|
22 |
"step": 1
|
23 |
},
|
24 |
{
|
25 |
-
"completion_length":
|
26 |
-
"epoch": 0.
|
27 |
-
"grad_norm": 0.
|
28 |
-
"kl": 0.
|
29 |
-
"learning_rate":
|
30 |
"loss": 0.0,
|
31 |
-
"reward": 0.
|
32 |
-
"reward_std": 0.
|
33 |
-
"rewards/accuracy_reward": 0.
|
34 |
"rewards/format_reward": 0.0,
|
35 |
"step": 5
|
36 |
},
|
37 |
{
|
38 |
-
"completion_length":
|
39 |
-
"epoch": 0.
|
40 |
-
"
|
41 |
-
"
|
42 |
-
"
|
43 |
-
"
|
44 |
-
"reward": 0.47135417237877847,
|
45 |
-
"reward_std": 0.03448774488642812,
|
46 |
-
"rewards/accuracy_reward": 0.47135417237877847,
|
47 |
"rewards/format_reward": 0.0,
|
48 |
-
"step":
|
49 |
-
},
|
50 |
-
{
|
51 |
-
"completion_length": 820.3849151611328,
|
52 |
-
"epoch": 0.96,
|
53 |
-
"grad_norm": 0.16045206350580687,
|
54 |
-
"kl": 0.0029309749603271484,
|
55 |
-
"learning_rate": 0.0,
|
56 |
-
"loss": 0.0001,
|
57 |
-
"reward": 0.5114583395421505,
|
58 |
-
"reward_std": 0.04463785570114851,
|
59 |
-
"rewards/accuracy_reward": 0.5114583395421505,
|
60 |
-
"rewards/format_reward": 0.0,
|
61 |
-
"step": 15
|
62 |
-
},
|
63 |
-
{
|
64 |
-
"epoch": 0.96,
|
65 |
-
"step": 15,
|
66 |
"total_flos": 0.0,
|
67 |
-
"train_loss":
|
68 |
-
"train_runtime":
|
69 |
-
"train_samples_per_second": 0.
|
70 |
-
"train_steps_per_second": 0.
|
71 |
}
|
72 |
],
|
73 |
"logging_steps": 5,
|
74 |
-
"max_steps":
|
75 |
"num_input_tokens_seen": 0,
|
76 |
"num_train_epochs": 1,
|
77 |
"save_steps": 10,
|
|
|
1 |
{
|
2 |
"best_metric": null,
|
3 |
"best_model_checkpoint": null,
|
4 |
+
"epoch": 0.896,
|
5 |
"eval_steps": 500,
|
6 |
+
"global_step": 7,
|
7 |
"is_hyper_param_search": false,
|
8 |
"is_local_process_zero": true,
|
9 |
"is_world_process_zero": true,
|
10 |
"log_history": [
|
11 |
{
|
12 |
+
"completion_length": 753.2539215087891,
|
13 |
+
"epoch": 0.128,
|
14 |
+
"grad_norm": 0.06466772245414092,
|
15 |
"kl": 0.0,
|
16 |
+
"learning_rate": 3e-06,
|
17 |
"loss": 0.0,
|
18 |
+
"reward": 0.5299479309469461,
|
19 |
+
"reward_std": 0.04184318264015019,
|
20 |
+
"rewards/accuracy_reward": 0.5299479309469461,
|
21 |
"rewards/format_reward": 0.0,
|
22 |
"step": 1
|
23 |
},
|
24 |
{
|
25 |
+
"completion_length": 731.6461801528931,
|
26 |
+
"epoch": 0.64,
|
27 |
+
"grad_norm": 0.17592978962322925,
|
28 |
+
"kl": 0.00040525197982788086,
|
29 |
+
"learning_rate": 7.500000000000003e-07,
|
30 |
"loss": 0.0,
|
31 |
+
"reward": 0.4778645921032876,
|
32 |
+
"reward_std": 0.03562753408914432,
|
33 |
+
"rewards/accuracy_reward": 0.4778645921032876,
|
34 |
"rewards/format_reward": 0.0,
|
35 |
"step": 5
|
36 |
},
|
37 |
{
|
38 |
+
"completion_length": 752.8470211029053,
|
39 |
+
"epoch": 0.896,
|
40 |
+
"kl": 0.013365030288696289,
|
41 |
+
"reward": 0.485026050824672,
|
42 |
+
"reward_std": 0.047988956212066114,
|
43 |
+
"rewards/accuracy_reward": 0.485026050824672,
|
|
|
|
|
|
|
44 |
"rewards/format_reward": 0.0,
|
45 |
+
"step": 7,
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
46 |
"total_flos": 0.0,
|
47 |
+
"train_loss": 0.0006398193630351276,
|
48 |
+
"train_runtime": 3470.882,
|
49 |
+
"train_samples_per_second": 0.288,
|
50 |
+
"train_steps_per_second": 0.002
|
51 |
}
|
52 |
],
|
53 |
"logging_steps": 5,
|
54 |
+
"max_steps": 7,
|
55 |
"num_input_tokens_seen": 0,
|
56 |
"num_train_epochs": 1,
|
57 |
"save_steps": 10,
|