Model save
Browse files- README.md +1 -1
- all_results.json +3 -3
- model-00001-of-00004.safetensors +1 -1
- model-00002-of-00004.safetensors +1 -1
- model-00003-of-00004.safetensors +1 -1
- model-00004-of-00004.safetensors +1 -1
- train_results.json +3 -3
- trainer_state.json +86 -86
- training_args.bin +2 -2
README.md
CHANGED
|
@@ -26,7 +26,7 @@ print(output["generated_text"])
|
|
| 26 |
|
| 27 |
## Training procedure
|
| 28 |
|
| 29 |
-
[<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/quantumcgx-sjtu/huggingface/runs/
|
| 30 |
|
| 31 |
|
| 32 |
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).
|
|
|
|
| 26 |
|
| 27 |
## Training procedure
|
| 28 |
|
| 29 |
+
[<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/quantumcgx-sjtu/huggingface/runs/q7992nd7)
|
| 30 |
|
| 31 |
|
| 32 |
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.
|
| 4 |
-
"train_runtime":
|
| 5 |
"train_samples": 7500,
|
| 6 |
-
"train_samples_per_second": 0.
|
| 7 |
"train_steps_per_second": 0.005
|
| 8 |
}
|
|
|
|
| 1 |
{
|
| 2 |
"total_flos": 0.0,
|
| 3 |
+
"train_loss": 0.04025471127784715,
|
| 4 |
+
"train_runtime": 12294.0923,
|
| 5 |
"train_samples": 7500,
|
| 6 |
+
"train_samples_per_second": 0.61,
|
| 7 |
"train_steps_per_second": 0.005
|
| 8 |
}
|
model-00001-of-00004.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 4877660776
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c7f34a79b22d7146ceb012375790d8cf75921e2932374539663700d1a5724a4b
|
| 3 |
size 4877660776
|
model-00002-of-00004.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 4932751008
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:79126fd3e643eaed94e367207aaf34c6a3dd1d38b711a309c2b457e4471f005b
|
| 3 |
size 4932751008
|
model-00003-of-00004.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 4330865200
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:34075134a56e830a924933f0728a0c255399dcee0324ab7cf63d2a3cc5c9ad29
|
| 3 |
size 4330865200
|
model-00004-of-00004.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 1089994880
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:9e186cd77e5c087ab5c6ef72af5c054e5abb46082077a8f0d81ce0d095400dbf
|
| 3 |
size 1089994880
|
train_results.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
| 1 |
{
|
| 2 |
"total_flos": 0.0,
|
| 3 |
-
"train_loss": 0.
|
| 4 |
-
"train_runtime":
|
| 5 |
"train_samples": 7500,
|
| 6 |
-
"train_samples_per_second": 0.
|
| 7 |
"train_steps_per_second": 0.005
|
| 8 |
}
|
|
|
|
| 1 |
{
|
| 2 |
"total_flos": 0.0,
|
| 3 |
+
"train_loss": 0.04025471127784715,
|
| 4 |
+
"train_runtime": 12294.0923,
|
| 5 |
"train_samples": 7500,
|
| 6 |
+
"train_samples_per_second": 0.61,
|
| 7 |
"train_steps_per_second": 0.005
|
| 8 |
}
|
trainer_state.json
CHANGED
|
@@ -12,7 +12,7 @@
|
|
| 12 |
"clip_ratio": 0.0,
|
| 13 |
"completion_length": 594.6719055175781,
|
| 14 |
"epoch": 0.017057569296375266,
|
| 15 |
-
"grad_norm": 0.
|
| 16 |
"kl": 0.0,
|
| 17 |
"learning_rate": 5e-07,
|
| 18 |
"loss": -0.0015,
|
|
@@ -24,172 +24,172 @@
|
|
| 24 |
},
|
| 25 |
{
|
| 26 |
"clip_ratio": 0.0,
|
| 27 |
-
"completion_length":
|
| 28 |
"epoch": 0.08528784648187633,
|
| 29 |
-
"grad_norm":
|
| 30 |
-
"kl": 0.
|
| 31 |
"learning_rate": 2.5e-06,
|
| 32 |
-
"loss": 0.
|
| 33 |
-
"reward": 0.
|
| 34 |
-
"reward_std": 0.
|
| 35 |
-
"rewards/accuracy_reward": 0.
|
| 36 |
"rewards/format_reward": 0.0,
|
| 37 |
"step": 5
|
| 38 |
},
|
| 39 |
{
|
| 40 |
"clip_ratio": 0.0,
|
| 41 |
-
"completion_length":
|
| 42 |
"epoch": 0.17057569296375266,
|
| 43 |
-
"grad_norm":
|
| 44 |
-
"kl": 0.
|
| 45 |
"learning_rate": 2.956412726139078e-06,
|
| 46 |
-
"loss": 0.
|
| 47 |
-
"reward": 0.
|
| 48 |
-
"reward_std": 0.
|
| 49 |
-
"rewards/accuracy_reward": 0.
|
| 50 |
"rewards/format_reward": 0.0,
|
| 51 |
"step": 10
|
| 52 |
},
|
| 53 |
{
|
| 54 |
"clip_ratio": 0.0,
|
| 55 |
-
"completion_length":
|
| 56 |
"epoch": 0.255863539445629,
|
| 57 |
-
"grad_norm": 0.
|
| 58 |
-
"kl": 0.
|
| 59 |
"learning_rate": 2.7836719084521715e-06,
|
| 60 |
-
"loss": 0.
|
| 61 |
-
"reward": 0.
|
| 62 |
-
"reward_std": 0.
|
| 63 |
-
"rewards/accuracy_reward": 0.
|
| 64 |
"rewards/format_reward": 0.0,
|
| 65 |
"step": 15
|
| 66 |
},
|
| 67 |
{
|
| 68 |
"clip_ratio": 0.0,
|
| 69 |
-
"completion_length":
|
| 70 |
"epoch": 0.3411513859275053,
|
| 71 |
-
"grad_norm": 0.
|
| 72 |
-
"kl": 0.
|
| 73 |
"learning_rate": 2.4946839873611927e-06,
|
| 74 |
-
"loss": 0.
|
| 75 |
-
"reward": 0.
|
| 76 |
-
"reward_std": 0.
|
| 77 |
-
"rewards/accuracy_reward": 0.
|
| 78 |
"rewards/format_reward": 0.0,
|
| 79 |
"step": 20
|
| 80 |
},
|
| 81 |
{
|
| 82 |
"clip_ratio": 0.0,
|
| 83 |
-
"completion_length":
|
| 84 |
"epoch": 0.42643923240938164,
|
| 85 |
-
"grad_norm": 0.
|
| 86 |
-
"kl": 0.
|
| 87 |
"learning_rate": 2.1156192081791355e-06,
|
| 88 |
-
"loss": 0.
|
| 89 |
-
"reward": 0.
|
| 90 |
-
"reward_std": 0.
|
| 91 |
-
"rewards/accuracy_reward": 0.
|
| 92 |
"rewards/format_reward": 0.0,
|
| 93 |
"step": 25
|
| 94 |
},
|
| 95 |
{
|
| 96 |
"clip_ratio": 0.0,
|
| 97 |
-
"completion_length":
|
| 98 |
"epoch": 0.511727078891258,
|
| 99 |
-
"grad_norm": 0.
|
| 100 |
-
"kl": 0.
|
| 101 |
"learning_rate": 1.6808050203829845e-06,
|
| 102 |
-
"loss": 0.
|
| 103 |
-
"reward": 0.
|
| 104 |
-
"reward_std": 0.
|
| 105 |
-
"rewards/accuracy_reward": 0.
|
| 106 |
"rewards/format_reward": 0.0,
|
| 107 |
"step": 30
|
| 108 |
},
|
| 109 |
{
|
| 110 |
"clip_ratio": 0.0,
|
| 111 |
-
"completion_length":
|
| 112 |
"epoch": 0.5970149253731343,
|
| 113 |
-
"grad_norm": 0.
|
| 114 |
-
"kl": 0.
|
| 115 |
"learning_rate": 1.2296174432791415e-06,
|
| 116 |
-
"loss": 0.
|
| 117 |
-
"reward": 0.
|
| 118 |
-
"reward_std": 0.
|
| 119 |
-
"rewards/accuracy_reward": 0.
|
| 120 |
"rewards/format_reward": 0.0,
|
| 121 |
"step": 35
|
| 122 |
},
|
| 123 |
{
|
| 124 |
"clip_ratio": 0.0,
|
| 125 |
-
"completion_length":
|
| 126 |
"epoch": 0.6823027718550106,
|
| 127 |
-
"grad_norm": 0.
|
| 128 |
-
"kl": 0.
|
| 129 |
"learning_rate": 8.029152419343472e-07,
|
| 130 |
-
"loss": 0.
|
| 131 |
-
"reward": 0.
|
| 132 |
-
"reward_std": 0.
|
| 133 |
-
"rewards/accuracy_reward": 0.
|
| 134 |
"rewards/format_reward": 0.0,
|
| 135 |
"step": 40
|
| 136 |
},
|
| 137 |
{
|
| 138 |
"clip_ratio": 0.0,
|
| 139 |
-
"completion_length":
|
| 140 |
"epoch": 0.767590618336887,
|
| 141 |
-
"grad_norm": 0.
|
| 142 |
-
"kl": 0.
|
| 143 |
"learning_rate": 4.3933982822017883e-07,
|
| 144 |
-
"loss": 0.
|
| 145 |
-
"reward": 0.
|
| 146 |
-
"reward_std": 0.
|
| 147 |
-
"rewards/accuracy_reward": 0.
|
| 148 |
"rewards/format_reward": 0.0,
|
| 149 |
"step": 45
|
| 150 |
},
|
| 151 |
{
|
| 152 |
"clip_ratio": 0.0,
|
| 153 |
-
"completion_length":
|
| 154 |
"epoch": 0.8528784648187633,
|
| 155 |
-
"grad_norm": 0.
|
| 156 |
-
"kl": 0.
|
| 157 |
"learning_rate": 1.718159615201853e-07,
|
| 158 |
-
"loss": 0.
|
| 159 |
-
"reward": 0.
|
| 160 |
-
"reward_std": 0.
|
| 161 |
-
"rewards/accuracy_reward": 0.
|
| 162 |
"rewards/format_reward": 0.0,
|
| 163 |
"step": 50
|
| 164 |
},
|
| 165 |
{
|
| 166 |
"clip_ratio": 0.0,
|
| 167 |
-
"completion_length":
|
| 168 |
"epoch": 0.9381663113006397,
|
| 169 |
-
"grad_norm": 0.
|
| 170 |
-
"kl": 0.
|
| 171 |
"learning_rate": 2.4570139579284723e-08,
|
| 172 |
-
"loss": 0.
|
| 173 |
-
"reward": 0.
|
| 174 |
-
"reward_std": 0.
|
| 175 |
-
"rewards/accuracy_reward": 0.
|
| 176 |
"rewards/format_reward": 0.0,
|
| 177 |
"step": 55
|
| 178 |
},
|
| 179 |
{
|
| 180 |
"clip_ratio": 0.0,
|
| 181 |
-
"completion_length":
|
| 182 |
"epoch": 0.9893390191897654,
|
| 183 |
-
"kl": 0.
|
| 184 |
-
"reward": 0.
|
| 185 |
-
"reward_std": 0.
|
| 186 |
-
"rewards/accuracy_reward": 0.
|
| 187 |
"rewards/format_reward": 0.0,
|
| 188 |
"step": 58,
|
| 189 |
"total_flos": 0.0,
|
| 190 |
-
"train_loss": 0.
|
| 191 |
-
"train_runtime":
|
| 192 |
-
"train_samples_per_second": 0.
|
| 193 |
"train_steps_per_second": 0.005
|
| 194 |
}
|
| 195 |
],
|
|
|
|
| 12 |
"clip_ratio": 0.0,
|
| 13 |
"completion_length": 594.6719055175781,
|
| 14 |
"epoch": 0.017057569296375266,
|
| 15 |
+
"grad_norm": 0.39137744903564453,
|
| 16 |
"kl": 0.0,
|
| 17 |
"learning_rate": 5e-07,
|
| 18 |
"loss": -0.0015,
|
|
|
|
| 24 |
},
|
| 25 |
{
|
| 26 |
"clip_ratio": 0.0,
|
| 27 |
+
"completion_length": 607.5834541320801,
|
| 28 |
"epoch": 0.08528784648187633,
|
| 29 |
+
"grad_norm": 1.0777415037155151,
|
| 30 |
+
"kl": 0.00038692355155944824,
|
| 31 |
"learning_rate": 2.5e-06,
|
| 32 |
+
"loss": 0.0259,
|
| 33 |
+
"reward": 0.5962611874565482,
|
| 34 |
+
"reward_std": 0.36695866473019123,
|
| 35 |
+
"rewards/accuracy_reward": 0.5962611874565482,
|
| 36 |
"rewards/format_reward": 0.0,
|
| 37 |
"step": 5
|
| 38 |
},
|
| 39 |
{
|
| 40 |
"clip_ratio": 0.0,
|
| 41 |
+
"completion_length": 606.7803886413574,
|
| 42 |
"epoch": 0.17057569296375266,
|
| 43 |
+
"grad_norm": 1.1746565103530884,
|
| 44 |
+
"kl": 0.010793495178222656,
|
| 45 |
"learning_rate": 2.956412726139078e-06,
|
| 46 |
+
"loss": 0.048,
|
| 47 |
+
"reward": 0.6758928880095482,
|
| 48 |
+
"reward_std": 0.30583293717354537,
|
| 49 |
+
"rewards/accuracy_reward": 0.6758928880095482,
|
| 50 |
"rewards/format_reward": 0.0,
|
| 51 |
"step": 10
|
| 52 |
},
|
| 53 |
{
|
| 54 |
"clip_ratio": 0.0,
|
| 55 |
+
"completion_length": 602.4096214294434,
|
| 56 |
"epoch": 0.255863539445629,
|
| 57 |
+
"grad_norm": 0.1635478436946869,
|
| 58 |
+
"kl": 0.008692169189453125,
|
| 59 |
"learning_rate": 2.7836719084521715e-06,
|
| 60 |
+
"loss": 0.0619,
|
| 61 |
+
"reward": 0.755357176065445,
|
| 62 |
+
"reward_std": 0.22135366648435592,
|
| 63 |
+
"rewards/accuracy_reward": 0.755357176065445,
|
| 64 |
"rewards/format_reward": 0.0,
|
| 65 |
"step": 15
|
| 66 |
},
|
| 67 |
{
|
| 68 |
"clip_ratio": 0.0,
|
| 69 |
+
"completion_length": 593.5116325378418,
|
| 70 |
"epoch": 0.3411513859275053,
|
| 71 |
+
"grad_norm": 0.3694714605808258,
|
| 72 |
+
"kl": 0.00950794219970703,
|
| 73 |
"learning_rate": 2.4946839873611927e-06,
|
| 74 |
+
"loss": 0.0543,
|
| 75 |
+
"reward": 0.7654018238186836,
|
| 76 |
+
"reward_std": 0.2084361480548978,
|
| 77 |
+
"rewards/accuracy_reward": 0.7654018238186836,
|
| 78 |
"rewards/format_reward": 0.0,
|
| 79 |
"step": 20
|
| 80 |
},
|
| 81 |
{
|
| 82 |
"clip_ratio": 0.0,
|
| 83 |
+
"completion_length": 603.0078392028809,
|
| 84 |
"epoch": 0.42643923240938164,
|
| 85 |
+
"grad_norm": 0.21624431014060974,
|
| 86 |
+
"kl": 0.004351234436035157,
|
| 87 |
"learning_rate": 2.1156192081791355e-06,
|
| 88 |
+
"loss": 0.0513,
|
| 89 |
+
"reward": 0.7598214641213417,
|
| 90 |
+
"reward_std": 0.19899208266288043,
|
| 91 |
+
"rewards/accuracy_reward": 0.7598214641213417,
|
| 92 |
"rewards/format_reward": 0.0,
|
| 93 |
"step": 25
|
| 94 |
},
|
| 95 |
{
|
| 96 |
"clip_ratio": 0.0,
|
| 97 |
+
"completion_length": 605.0727897644043,
|
| 98 |
"epoch": 0.511727078891258,
|
| 99 |
+
"grad_norm": 0.26695239543914795,
|
| 100 |
+
"kl": 0.005370330810546875,
|
| 101 |
"learning_rate": 1.6808050203829845e-06,
|
| 102 |
+
"loss": 0.0455,
|
| 103 |
+
"reward": 0.7566964611411094,
|
| 104 |
+
"reward_std": 0.18958494029939174,
|
| 105 |
+
"rewards/accuracy_reward": 0.7566964611411094,
|
| 106 |
"rewards/format_reward": 0.0,
|
| 107 |
"step": 30
|
| 108 |
},
|
| 109 |
{
|
| 110 |
"clip_ratio": 0.0,
|
| 111 |
+
"completion_length": 592.4431076049805,
|
| 112 |
"epoch": 0.5970149253731343,
|
| 113 |
+
"grad_norm": 0.12381298094987869,
|
| 114 |
+
"kl": 0.004366302490234375,
|
| 115 |
"learning_rate": 1.2296174432791415e-06,
|
| 116 |
+
"loss": 0.0353,
|
| 117 |
+
"reward": 0.747098246216774,
|
| 118 |
+
"reward_std": 0.18222492672502993,
|
| 119 |
+
"rewards/accuracy_reward": 0.747098246216774,
|
| 120 |
"rewards/format_reward": 0.0,
|
| 121 |
"step": 35
|
| 122 |
},
|
| 123 |
{
|
| 124 |
"clip_ratio": 0.0,
|
| 125 |
+
"completion_length": 583.5830627441406,
|
| 126 |
"epoch": 0.6823027718550106,
|
| 127 |
+
"grad_norm": 0.15292133390903473,
|
| 128 |
+
"kl": 0.003928375244140625,
|
| 129 |
"learning_rate": 8.029152419343472e-07,
|
| 130 |
+
"loss": 0.0394,
|
| 131 |
+
"reward": 0.7667411059141159,
|
| 132 |
+
"reward_std": 0.1841550744138658,
|
| 133 |
+
"rewards/accuracy_reward": 0.7667411059141159,
|
| 134 |
"rewards/format_reward": 0.0,
|
| 135 |
"step": 40
|
| 136 |
},
|
| 137 |
{
|
| 138 |
"clip_ratio": 0.0,
|
| 139 |
+
"completion_length": 599.4895347595215,
|
| 140 |
"epoch": 0.767590618336887,
|
| 141 |
+
"grad_norm": 0.2122126966714859,
|
| 142 |
+
"kl": 0.004204940795898437,
|
| 143 |
"learning_rate": 4.3933982822017883e-07,
|
| 144 |
+
"loss": 0.0305,
|
| 145 |
+
"reward": 0.7553571775555611,
|
| 146 |
+
"reward_std": 0.1827343128155917,
|
| 147 |
+
"rewards/accuracy_reward": 0.7553571775555611,
|
| 148 |
"rewards/format_reward": 0.0,
|
| 149 |
"step": 45
|
| 150 |
},
|
| 151 |
{
|
| 152 |
"clip_ratio": 0.0,
|
| 153 |
+
"completion_length": 596.6477951049804,
|
| 154 |
"epoch": 0.8528784648187633,
|
| 155 |
+
"grad_norm": 0.10254240781068802,
|
| 156 |
+
"kl": 0.007993698120117188,
|
| 157 |
"learning_rate": 1.718159615201853e-07,
|
| 158 |
+
"loss": 0.0327,
|
| 159 |
+
"reward": 0.7506696820259094,
|
| 160 |
+
"reward_std": 0.19283948028460146,
|
| 161 |
+
"rewards/accuracy_reward": 0.7506696820259094,
|
| 162 |
"rewards/format_reward": 0.0,
|
| 163 |
"step": 50
|
| 164 |
},
|
| 165 |
{
|
| 166 |
"clip_ratio": 0.0,
|
| 167 |
+
"completion_length": 590.7453369140625,
|
| 168 |
"epoch": 0.9381663113006397,
|
| 169 |
+
"grad_norm": 0.22994418442249298,
|
| 170 |
+
"kl": 0.00672760009765625,
|
| 171 |
"learning_rate": 2.4570139579284723e-08,
|
| 172 |
+
"loss": 0.0323,
|
| 173 |
+
"reward": 0.7854911103844643,
|
| 174 |
+
"reward_std": 0.18603479415178298,
|
| 175 |
+
"rewards/accuracy_reward": 0.7854911103844643,
|
| 176 |
"rewards/format_reward": 0.0,
|
| 177 |
"step": 55
|
| 178 |
},
|
| 179 |
{
|
| 180 |
"clip_ratio": 0.0,
|
| 181 |
+
"completion_length": 583.9811820983887,
|
| 182 |
"epoch": 0.9893390191897654,
|
| 183 |
+
"kl": 0.004169464111328125,
|
| 184 |
+
"reward": 0.7682292014360428,
|
| 185 |
+
"reward_std": 0.18959872238337994,
|
| 186 |
+
"rewards/accuracy_reward": 0.7682292014360428,
|
| 187 |
"rewards/format_reward": 0.0,
|
| 188 |
"step": 58,
|
| 189 |
"total_flos": 0.0,
|
| 190 |
+
"train_loss": 0.04025471127784715,
|
| 191 |
+
"train_runtime": 12294.0923,
|
| 192 |
+
"train_samples_per_second": 0.61,
|
| 193 |
"train_steps_per_second": 0.005
|
| 194 |
}
|
| 195 |
],
|
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:4c755ecba0508c9f40824f0fbf0d2922ab2bc7d3e57c93d27c3e5b830f38b179
|
| 3 |
+
size 7992
|