Blancy commited on
Commit
1ad305c
·
verified ·
1 Parent(s): 2d6ba23

Model save

Browse files
Files changed (4) hide show
  1. README.md +2 -4
  2. all_results.json +4 -4
  3. train_results.json +4 -4
  4. trainer_state.json +21 -15
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) on the [simplescaling/s1K-1.1](https://huggingface.co/datasets/simplescaling/s1K-1.1) dataset.
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/g7cc54zs)
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/xo02xtwc)
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": 0.0,
4
- "train_runtime": 6.2252,
5
  "train_samples": 998,
6
- "train_samples_per_second": 160.317,
7
- "train_steps_per_second": 1.124
8
  }
 
1
  {
2
  "total_flos": 0.0,
3
+ "train_loss": 0.0014906150979749583,
4
+ "train_runtime": 3442.5079,
5
  "train_samples": 998,
6
+ "train_samples_per_second": 0.29,
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": 0.0,
4
- "train_runtime": 6.2252,
5
  "train_samples": 998,
6
- "train_samples_per_second": 160.317,
7
- "train_steps_per_second": 1.124
8
  }
 
1
  {
2
  "total_flos": 0.0,
3
+ "train_loss": 0.0014906150979749583,
4
+ "train_runtime": 3442.5079,
5
  "train_samples": 998,
6
+ "train_samples_per_second": 0.29,
7
+ "train_steps_per_second": 0.002
8
  }
trainer_state.json CHANGED
@@ -9,39 +9,45 @@
9
  "is_world_process_zero": true,
10
  "log_history": [
11
  {
12
- "completion_length": 879.5208587646484,
13
  "epoch": 0.128,
14
- "grad_norm": 0.046759604940746734,
15
  "kl": 0.0,
16
  "learning_rate": 3e-06,
17
  "loss": 0.0,
18
- "reward": 0.5507812602445483,
19
- "reward_std": 0.04920096090063453,
20
- "rewards/accuracy_reward": 0.5507812602445483,
21
  "rewards/format_reward": 0.0,
22
  "step": 1
23
  },
24
  {
25
- "completion_length": 865.0045747756958,
26
  "epoch": 0.64,
27
- "grad_norm": 0.25873392886207724,
28
- "kl": 0.0004495680332183838,
29
  "learning_rate": 7.500000000000003e-07,
30
  "loss": 0.0,
31
- "reward": 0.5003255287592765,
32
- "reward_std": 0.038605744659435004,
33
- "rewards/accuracy_reward": 0.5003255287592765,
34
  "rewards/format_reward": 0.0,
35
  "step": 5
36
  },
37
  {
 
38
  "epoch": 0.896,
 
 
 
 
 
39
  "step": 7,
40
  "total_flos": 0.0,
41
- "train_loss": 0.0,
42
- "train_runtime": 6.2252,
43
- "train_samples_per_second": 160.317,
44
- "train_steps_per_second": 1.124
45
  }
46
  ],
47
  "logging_steps": 5,
 
9
  "is_world_process_zero": true,
10
  "log_history": [
11
  {
12
+ "completion_length": 825.5468940734863,
13
  "epoch": 0.128,
14
+ "grad_norm": 0.047280427810459956,
15
  "kl": 0.0,
16
  "learning_rate": 3e-06,
17
  "loss": 0.0,
18
+ "reward": 0.5377604253590107,
19
+ "reward_std": 0.04342227545566857,
20
+ "rewards/accuracy_reward": 0.5377604253590107,
21
  "rewards/format_reward": 0.0,
22
  "step": 1
23
  },
24
  {
25
+ "completion_length": 817.2832221984863,
26
  "epoch": 0.64,
27
+ "grad_norm": 0.10830728111056658,
28
+ "kl": 0.0005020499229431152,
29
  "learning_rate": 7.500000000000003e-07,
30
  "loss": 0.0,
31
+ "reward": 0.4973958403279539,
32
+ "reward_std": 0.03326894948258996,
33
+ "rewards/accuracy_reward": 0.4973958403279539,
34
  "rewards/format_reward": 0.0,
35
  "step": 5
36
  },
37
  {
38
+ "completion_length": 799.4440307617188,
39
  "epoch": 0.896,
40
+ "kl": 0.031336188316345215,
41
+ "reward": 0.4934895895421505,
42
+ "reward_std": 0.04497725027613342,
43
+ "rewards/accuracy_reward": 0.4934895895421505,
44
+ "rewards/format_reward": 0.0,
45
  "step": 7,
46
  "total_flos": 0.0,
47
+ "train_loss": 0.0014906150979749583,
48
+ "train_runtime": 3442.5079,
49
+ "train_samples_per_second": 0.29,
50
+ "train_steps_per_second": 0.002
51
  }
52
  ],
53
  "logging_steps": 5,