js2025 commited on
Commit
fbf8a09
·
verified ·
1 Parent(s): 68396ea

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 +12 -12
README.md CHANGED
@@ -1,11 +1,9 @@
1
  ---
2
  base_model: Qwen/Qwen2.5-0.5B
3
- datasets: open-r1/OpenR1-Math-220k
4
  library_name: transformers
5
  model_name: Qwen2.5-0.5B-Open-R1-Code-GRPO
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 Qwen2.5-0.5B-Open-R1-Code-GRPO
15
 
16
- This model is a fine-tuned version of [Qwen/Qwen2.5-0.5B](https://huggingface.co/Qwen/Qwen2.5-0.5B) on the [open-r1/OpenR1-Math-220k](https://huggingface.co/datasets/open-r1/OpenR1-Math-220k) 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/js2024-teleai/huggingface/runs/v4b6t9k2)
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-0.5B
 
3
  library_name: transformers
4
  model_name: Qwen2.5-0.5B-Open-R1-Code-GRPO
5
  tags:
6
  - generated_from_trainer
 
7
  - trl
8
  - grpo
9
  licence: license
 
11
 
12
  # Model Card for Qwen2.5-0.5B-Open-R1-Code-GRPO
13
 
14
+ This model is a fine-tuned version of [Qwen/Qwen2.5-0.5B](https://huggingface.co/Qwen/Qwen2.5-0.5B).
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/js2024-teleai/huggingface/runs/nas9us5b)
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": 1.4257,
5
  "train_samples": 16,
6
- "train_samples_per_second": 11.223,
7
- "train_steps_per_second": 2.806
8
  }
 
1
  {
2
  "total_flos": 0.0,
3
+ "train_loss": 0.00930938980280871,
4
+ "train_runtime": 450.9542,
5
  "train_samples": 16,
6
+ "train_samples_per_second": 0.035,
7
+ "train_steps_per_second": 0.009
8
  }
train_results.json CHANGED
@@ -1,8 +1,8 @@
1
  {
2
  "total_flos": 0.0,
3
- "train_loss": 0.0,
4
- "train_runtime": 1.4257,
5
  "train_samples": 16,
6
- "train_samples_per_second": 11.223,
7
- "train_steps_per_second": 2.806
8
  }
 
1
  {
2
  "total_flos": 0.0,
3
+ "train_loss": 0.00930938980280871,
4
+ "train_runtime": 450.9542,
5
  "train_samples": 16,
6
+ "train_samples_per_second": 0.035,
7
+ "train_steps_per_second": 0.009
8
  }
trainer_state.json CHANGED
@@ -12,7 +12,7 @@
12
  "clip_ratio": 0.0,
13
  "completion_length": 912.75,
14
  "epoch": 0.25,
15
- "grad_norm": 1.1149588823318481,
16
  "kl": 0.0,
17
  "learning_rate": 1e-06,
18
  "loss": 0.0475,
@@ -27,7 +27,7 @@
27
  "clip_ratio": 0.0,
28
  "completion_length": 1019.5,
29
  "epoch": 0.5,
30
- "grad_norm": 0.8432132005691528,
31
  "kl": 0.0,
32
  "learning_rate": 7.75e-07,
33
  "loss": -0.0102,
@@ -40,10 +40,10 @@
40
  },
41
  {
42
  "clip_ratio": 0.0,
43
- "completion_length": 578.25,
44
  "epoch": 0.75,
45
- "grad_norm": 0.027600621804594994,
46
- "kl": 0.0020586252212524414,
47
  "learning_rate": 3.250000000000001e-07,
48
  "loss": 0.0,
49
  "reward": 0.0,
@@ -55,10 +55,10 @@
55
  },
56
  {
57
  "clip_ratio": 0.0,
58
- "completion_length": 1318.5,
59
  "epoch": 1.0,
60
- "grad_norm": 0.005318487994372845,
61
- "kl": 8.308887481689453e-05,
62
  "learning_rate": 1e-07,
63
  "loss": 0.0,
64
  "reward": 0.0,
@@ -72,10 +72,10 @@
72
  "epoch": 1.0,
73
  "step": 4,
74
  "total_flos": 0.0,
75
- "train_loss": 0.0,
76
- "train_runtime": 1.4257,
77
- "train_samples_per_second": 11.223,
78
- "train_steps_per_second": 2.806
79
  }
80
  ],
81
  "logging_steps": 1,
 
12
  "clip_ratio": 0.0,
13
  "completion_length": 912.75,
14
  "epoch": 0.25,
15
+ "grad_norm": 1.1153451204299927,
16
  "kl": 0.0,
17
  "learning_rate": 1e-06,
18
  "loss": 0.0475,
 
27
  "clip_ratio": 0.0,
28
  "completion_length": 1019.5,
29
  "epoch": 0.5,
30
+ "grad_norm": 0.8429189324378967,
31
  "kl": 0.0,
32
  "learning_rate": 7.75e-07,
33
  "loss": -0.0102,
 
40
  },
41
  {
42
  "clip_ratio": 0.0,
43
+ "completion_length": 1197.5,
44
  "epoch": 0.75,
45
+ "grad_norm": 0.01639331877231598,
46
+ "kl": 0.0010622739791870117,
47
  "learning_rate": 3.250000000000001e-07,
48
  "loss": 0.0,
49
  "reward": 0.0,
 
55
  },
56
  {
57
  "clip_ratio": 0.0,
58
+ "completion_length": 1408.5,
59
  "epoch": 1.0,
60
+ "grad_norm": 0.005612128414213657,
61
+ "kl": 5.0902366638183594e-05,
62
  "learning_rate": 1e-07,
63
  "loss": 0.0,
64
  "reward": 0.0,
 
72
  "epoch": 1.0,
73
  "step": 4,
74
  "total_flos": 0.0,
75
+ "train_loss": 0.00930938980280871,
76
+ "train_runtime": 450.9542,
77
+ "train_samples_per_second": 0.035,
78
+ "train_steps_per_second": 0.009
79
  }
80
  ],
81
  "logging_steps": 1,