Muennighoff commited on
Commit
dd7d640
·
verified ·
1 Parent(s): 058ff4f

Model save

Browse files
README.md CHANGED
@@ -1,11 +1,9 @@
1
  ---
2
  base_model: Qwen/Qwen2.5-1.5B-Instruct
3
- datasets: simplescaling/openaimath
4
  library_name: transformers
5
  model_name: Qwen2.5-1.5B-hl-true-v6
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-1.5B-hl-true-v6
15
 
16
- This model is a fine-tuned version of [Qwen/Qwen2.5-1.5B-Instruct](https://huggingface.co/Qwen/Qwen2.5-1.5B-Instruct) on the [simplescaling/openaimath](https://huggingface.co/datasets/simplescaling/openaimath) 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/muennighoff/halos/runs/n0pjcped)
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-1.5B-Instruct
 
3
  library_name: transformers
4
  model_name: Qwen2.5-1.5B-hl-true-v6
5
  tags:
6
  - generated_from_trainer
 
7
  - trl
8
  - grpo
9
  licence: license
 
11
 
12
  # Model Card for Qwen2.5-1.5B-hl-true-v6
13
 
14
+ This model is a fine-tuned version of [Qwen/Qwen2.5-1.5B-Instruct](https://huggingface.co/Qwen/Qwen2.5-1.5B-Instruct).
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/muennighoff/halos/runs/5v4dg2rh)
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.036251500838914125,
4
- "train_runtime": 129592.8422,
5
  "train_samples": 12000,
6
- "train_samples_per_second": 11.062,
7
- "train_steps_per_second": 0.012
8
  }
 
1
  {
2
  "total_flos": 0.0,
3
+ "train_loss": -2.503701759680296e-05,
4
+ "train_runtime": 134.9948,
5
  "train_samples": 12000,
6
+ "train_samples_per_second": 10619.672,
7
+ "train_steps_per_second": 11.852
8
  }
generation_config.json CHANGED
@@ -1,10 +1,7 @@
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,
 
1
  {
2
  "bos_token_id": 151643,
3
  "do_sample": true,
4
+ "eos_token_id": 151645,
 
 
 
5
  "pad_token_id": 151643,
6
  "repetition_penalty": 1.1,
7
  "temperature": 0.7,
train_results.json CHANGED
@@ -1,8 +1,8 @@
1
  {
2
  "total_flos": 0.0,
3
- "train_loss": -0.036251500838914125,
4
- "train_runtime": 129592.8422,
5
  "train_samples": 12000,
6
- "train_samples_per_second": 11.062,
7
- "train_steps_per_second": 0.012
8
  }
 
1
  {
2
  "total_flos": 0.0,
3
+ "train_loss": -2.503701759680296e-05,
4
+ "train_runtime": 134.9948,
5
  "train_samples": 12000,
6
+ "train_samples_per_second": 10619.672,
7
+ "train_steps_per_second": 11.852
8
  }
trainer_state.json CHANGED
@@ -2,9 +2,9 @@
2
  "best_global_step": null,
3
  "best_metric": null,
4
  "best_model_checkpoint": null,
5
- "epoch": 14.951603498542275,
6
  "eval_steps": 500,
7
- "global_step": 1600,
8
  "is_hyper_param_search": false,
9
  "is_local_process_zero": true,
10
  "is_world_process_zero": true,
@@ -38410,19 +38410,43 @@
38410
  "step": 1600
38411
  },
38412
  {
38413
- "epoch": 14.951603498542275,
38414
- "step": 1600,
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
38415
  "total_flos": 0.0,
38416
- "train_loss": -0.036251500838914125,
38417
- "train_runtime": 129592.8422,
38418
- "train_samples_per_second": 11.062,
38419
- "train_steps_per_second": 0.012
38420
  }
38421
  ],
38422
  "logging_steps": 1,
38423
  "max_steps": 1600,
38424
- "num_input_tokens_seen": 871420576,
38425
- "num_train_epochs": 15,
38426
  "save_steps": 160,
38427
  "stateful_callbacks": {
38428
  "TrainerControl": {
 
2
  "best_global_step": null,
3
  "best_metric": null,
4
  "best_model_checkpoint": null,
5
+ "epoch": 3.7395742198891804,
6
  "eval_steps": 500,
7
+ "global_step": 1601,
8
  "is_hyper_param_search": false,
9
  "is_local_process_zero": true,
10
  "is_world_process_zero": true,
 
38410
  "step": 1600
38411
  },
38412
  {
38413
+ "clip_ratio/high_max": 0.04218487173784524,
38414
+ "clip_ratio/high_mean": 0.02072980930097401,
38415
+ "clip_ratio/low_mean": 0.0005389717216530698,
38416
+ "clip_ratio/low_min": 0.0,
38417
+ "clip_ratio/region_mean": 0.021268780867103487,
38418
+ "completions/clipped_ratio": 0.1037946428571429,
38419
+ "completions/max_length": 4096.0,
38420
+ "completions/max_terminated_length": 2385.0,
38421
+ "completions/mean_length": 866.5313110351562,
38422
+ "completions/mean_terminated_length": 492.5080871582031,
38423
+ "completions/min_length": 106.0,
38424
+ "completions/min_terminated_length": 106.0,
38425
+ "epoch": 3.7395742198891804,
38426
+ "grad_norm": 0.23319926857948303,
38427
+ "learning_rate": 1e-06,
38428
+ "loss": -0.0401,
38429
+ "num_tokens": 871906108.0,
38430
+ "reward": 0.7433035969734192,
38431
+ "reward_std": 0.14162540435791016,
38432
+ "rewards/verify_math_reward/mean": 0.7433035969734192,
38433
+ "rewards/verify_math_reward/std": 0.43705445528030396,
38434
+ "step": 1601
38435
+ },
38436
+ {
38437
+ "epoch": 3.7395742198891804,
38438
+ "step": 1601,
38439
  "total_flos": 0.0,
38440
+ "train_loss": -2.503701759680296e-05,
38441
+ "train_runtime": 134.9948,
38442
+ "train_samples_per_second": 10619.672,
38443
+ "train_steps_per_second": 11.852
38444
  }
38445
  ],
38446
  "logging_steps": 1,
38447
  "max_steps": 1600,
38448
+ "num_input_tokens_seen": 871906108,
38449
+ "num_train_epochs": 4,
38450
  "save_steps": 160,
38451
  "stateful_callbacks": {
38452
  "TrainerControl": {