Training in progress, step 100, checkpoint
Browse files- .gitattributes +1 -0
- checkpoint-100/config.json +29 -0
- checkpoint-100/generation_config.json +9 -0
- checkpoint-100/global_step100/bf16_zero_pp_rank_0_mp_rank_00_optim_states.pt +3 -0
- checkpoint-100/global_step100/bf16_zero_pp_rank_1_mp_rank_00_optim_states.pt +3 -0
- checkpoint-100/global_step100/bf16_zero_pp_rank_2_mp_rank_00_optim_states.pt +3 -0
- checkpoint-100/global_step100/bf16_zero_pp_rank_3_mp_rank_00_optim_states.pt +3 -0
- checkpoint-100/global_step100/mp_rank_00_model_states.pt +3 -0
- checkpoint-100/latest +1 -0
- checkpoint-100/model.safetensors +3 -0
- checkpoint-100/rng_state_0.pth +3 -0
- checkpoint-100/rng_state_1.pth +3 -0
- checkpoint-100/rng_state_2.pth +3 -0
- checkpoint-100/rng_state_3.pth +3 -0
- checkpoint-100/scheduler.pt +3 -0
- checkpoint-100/special_tokens_map.json +23 -0
- checkpoint-100/tokenizer.json +3 -0
- checkpoint-100/tokenizer_config.json +195 -0
- checkpoint-100/trainer_state.json +2534 -0
- checkpoint-100/training_args.bin +3 -0
- checkpoint-100/zero_to_fp32.py +760 -0
.gitattributes
CHANGED
|
@@ -35,3 +35,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 36 |
tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
| 37 |
checkpoint-50/tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 36 |
tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
| 37 |
checkpoint-50/tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
| 38 |
+
checkpoint-100/tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
checkpoint-100/config.json
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"architectures": [
|
| 3 |
+
"Qwen2ForCausalLM"
|
| 4 |
+
],
|
| 5 |
+
"attention_dropout": 0.0,
|
| 6 |
+
"bos_token_id": 151643,
|
| 7 |
+
"eos_token_id": 151643,
|
| 8 |
+
"hidden_act": "silu",
|
| 9 |
+
"hidden_size": 1536,
|
| 10 |
+
"initializer_range": 0.02,
|
| 11 |
+
"intermediate_size": 8960,
|
| 12 |
+
"max_position_embeddings": 131072,
|
| 13 |
+
"max_window_layers": 21,
|
| 14 |
+
"model_type": "qwen2",
|
| 15 |
+
"num_attention_heads": 12,
|
| 16 |
+
"num_hidden_layers": 28,
|
| 17 |
+
"num_key_value_heads": 2,
|
| 18 |
+
"rms_norm_eps": 1e-06,
|
| 19 |
+
"rope_scaling": null,
|
| 20 |
+
"rope_theta": 10000,
|
| 21 |
+
"sliding_window": 4096,
|
| 22 |
+
"tie_word_embeddings": false,
|
| 23 |
+
"torch_dtype": "bfloat16",
|
| 24 |
+
"transformers_version": "4.51.3",
|
| 25 |
+
"use_cache": false,
|
| 26 |
+
"use_mrope": false,
|
| 27 |
+
"use_sliding_window": false,
|
| 28 |
+
"vocab_size": 151936
|
| 29 |
+
}
|
checkpoint-100/generation_config.json
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_from_model_config": true,
|
| 3 |
+
"bos_token_id": 151646,
|
| 4 |
+
"do_sample": true,
|
| 5 |
+
"eos_token_id": 151643,
|
| 6 |
+
"temperature": 0.6,
|
| 7 |
+
"top_p": 0.95,
|
| 8 |
+
"transformers_version": "4.51.3"
|
| 9 |
+
}
|
checkpoint-100/global_step100/bf16_zero_pp_rank_0_mp_rank_00_optim_states.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:8e45b81e0570ac4dad65fef34f2d39d15813993edc39e0f26d0d87c0019eefd5
|
| 3 |
+
size 5331274140
|
checkpoint-100/global_step100/bf16_zero_pp_rank_1_mp_rank_00_optim_states.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b661201b7ec521193a6f246c5301e534687d4b10af256ffe139737a755631035
|
| 3 |
+
size 5331276572
|
checkpoint-100/global_step100/bf16_zero_pp_rank_2_mp_rank_00_optim_states.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:68258ff49f6be6fea13d948d614ca340b27ba9b87e71942514da3cc9923ad306
|
| 3 |
+
size 5331276892
|
checkpoint-100/global_step100/bf16_zero_pp_rank_3_mp_rank_00_optim_states.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:62d2ac8100f40b9d2df4490a683471aee3c539db6b541be2403c5225129e7b67
|
| 3 |
+
size 5331273884
|
checkpoint-100/global_step100/mp_rank_00_model_states.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:1b2ff44c14e457e2a07945817ed32a149ddb3fc81ca127c990b48d3caf7ebfa9
|
| 3 |
+
size 3554267640
|
checkpoint-100/latest
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
global_step100
|
checkpoint-100/model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ef007667c12770de5da20819c3e1d762e1bca3fb66efb70b8bc2ab43749d46ec
|
| 3 |
+
size 3554214752
|
checkpoint-100/rng_state_0.pth
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f0dcd1219e2c412ef0fd5c590b7d66a85991f28359265fe2d4f83803387fadf8
|
| 3 |
+
size 14960
|
checkpoint-100/rng_state_1.pth
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:bd64afd047ba34f9fc02eb451169eefe4271319044a6704e3cbd0d0e54e709d1
|
| 3 |
+
size 14960
|
checkpoint-100/rng_state_2.pth
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b148f4c9f4f33bba5e5283cc51321b00293b8a34f61458a192f7bded182f5936
|
| 3 |
+
size 14960
|
checkpoint-100/rng_state_3.pth
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:1d30b837de0197e3b5d9d6df85728783fb526ccc9a45068a4db9e5d52e01d42d
|
| 3 |
+
size 14960
|
checkpoint-100/scheduler.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:3b0d6ed3e119807e165d53a18d2ec22befd359c1465f6aeaa69d1d7eb1452246
|
| 3 |
+
size 1064
|
checkpoint-100/special_tokens_map.json
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"bos_token": {
|
| 3 |
+
"content": "<|begin▁of▁sentence|>",
|
| 4 |
+
"lstrip": false,
|
| 5 |
+
"normalized": false,
|
| 6 |
+
"rstrip": false,
|
| 7 |
+
"single_word": false
|
| 8 |
+
},
|
| 9 |
+
"eos_token": {
|
| 10 |
+
"content": "<|end▁of▁sentence|>",
|
| 11 |
+
"lstrip": false,
|
| 12 |
+
"normalized": false,
|
| 13 |
+
"rstrip": false,
|
| 14 |
+
"single_word": false
|
| 15 |
+
},
|
| 16 |
+
"pad_token": {
|
| 17 |
+
"content": "<|end▁of▁sentence|>",
|
| 18 |
+
"lstrip": false,
|
| 19 |
+
"normalized": false,
|
| 20 |
+
"rstrip": false,
|
| 21 |
+
"single_word": false
|
| 22 |
+
}
|
| 23 |
+
}
|
checkpoint-100/tokenizer.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a4256422650d141f228fe954acee98679da412984c29a569877eefd3af69315a
|
| 3 |
+
size 11422959
|
checkpoint-100/tokenizer_config.json
ADDED
|
@@ -0,0 +1,195 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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add_eos_token": false,
|
| 4 |
+
"add_prefix_space": null,
|
| 5 |
+
"added_tokens_decoder": {
|
| 6 |
+
"151643": {
|
| 7 |
+
"content": "<|end▁of▁sentence|>",
|
| 8 |
+
"lstrip": false,
|
| 9 |
+
"normalized": false,
|
| 10 |
+
"rstrip": false,
|
| 11 |
+
"single_word": false,
|
| 12 |
+
"special": true
|
| 13 |
+
},
|
| 14 |
+
"151644": {
|
| 15 |
+
"content": "<|User|>",
|
| 16 |
+
"lstrip": false,
|
| 17 |
+
"normalized": false,
|
| 18 |
+
"rstrip": false,
|
| 19 |
+
"single_word": false,
|
| 20 |
+
"special": false
|
| 21 |
+
},
|
| 22 |
+
"151645": {
|
| 23 |
+
"content": "<|Assistant|>",
|
| 24 |
+
"lstrip": false,
|
| 25 |
+
"normalized": false,
|
| 26 |
+
"rstrip": false,
|
| 27 |
+
"single_word": false,
|
| 28 |
+
"special": false
|
| 29 |
+
},
|
| 30 |
+
"151646": {
|
| 31 |
+
"content": "<|begin▁of▁sentence|>",
|
| 32 |
+
"lstrip": false,
|
| 33 |
+
"normalized": false,
|
| 34 |
+
"rstrip": false,
|
| 35 |
+
"single_word": false,
|
| 36 |
+
"special": true
|
| 37 |
+
},
|
| 38 |
+
"151647": {
|
| 39 |
+
"content": "<|EOT|>",
|
| 40 |
+
"lstrip": false,
|
| 41 |
+
"normalized": false,
|
| 42 |
+
"rstrip": false,
|
| 43 |
+
"single_word": false,
|
| 44 |
+
"special": false
|
| 45 |
+
},
|
| 46 |
+
"151648": {
|
| 47 |
+
"content": "<think>",
|
| 48 |
+
"lstrip": false,
|
| 49 |
+
"normalized": false,
|
| 50 |
+
"rstrip": false,
|
| 51 |
+
"single_word": false,
|
| 52 |
+
"special": false
|
| 53 |
+
},
|
| 54 |
+
"151649": {
|
| 55 |
+
"content": "</think>",
|
| 56 |
+
"lstrip": false,
|
| 57 |
+
"normalized": false,
|
| 58 |
+
"rstrip": false,
|
| 59 |
+
"single_word": false,
|
| 60 |
+
"special": false
|
| 61 |
+
},
|
| 62 |
+
"151650": {
|
| 63 |
+
"content": "<|quad_start|>",
|
| 64 |
+
"lstrip": false,
|
| 65 |
+
"normalized": false,
|
| 66 |
+
"rstrip": false,
|
| 67 |
+
"single_word": false,
|
| 68 |
+
"special": true
|
| 69 |
+
},
|
| 70 |
+
"151651": {
|
| 71 |
+
"content": "<|quad_end|>",
|
| 72 |
+
"lstrip": false,
|
| 73 |
+
"normalized": false,
|
| 74 |
+
"rstrip": false,
|
| 75 |
+
"single_word": false,
|
| 76 |
+
"special": true
|
| 77 |
+
},
|
| 78 |
+
"151652": {
|
| 79 |
+
"content": "<|vision_start|>",
|
| 80 |
+
"lstrip": false,
|
| 81 |
+
"normalized": false,
|
| 82 |
+
"rstrip": false,
|
| 83 |
+
"single_word": false,
|
| 84 |
+
"special": true
|
| 85 |
+
},
|
| 86 |
+
"151653": {
|
| 87 |
+
"content": "<|vision_end|>",
|
| 88 |
+
"lstrip": false,
|
| 89 |
+
"normalized": false,
|
| 90 |
+
"rstrip": false,
|
| 91 |
+
"single_word": false,
|
| 92 |
+
"special": true
|
| 93 |
+
},
|
| 94 |
+
"151654": {
|
| 95 |
+
"content": "<|vision_pad|>",
|
| 96 |
+
"lstrip": false,
|
| 97 |
+
"normalized": false,
|
| 98 |
+
"rstrip": false,
|
| 99 |
+
"single_word": false,
|
| 100 |
+
"special": true
|
| 101 |
+
},
|
| 102 |
+
"151655": {
|
| 103 |
+
"content": "<|image_pad|>",
|
| 104 |
+
"lstrip": false,
|
| 105 |
+
"normalized": false,
|
| 106 |
+
"rstrip": false,
|
| 107 |
+
"single_word": false,
|
| 108 |
+
"special": true
|
| 109 |
+
},
|
| 110 |
+
"151656": {
|
| 111 |
+
"content": "<|video_pad|>",
|
| 112 |
+
"lstrip": false,
|
| 113 |
+
"normalized": false,
|
| 114 |
+
"rstrip": false,
|
| 115 |
+
"single_word": false,
|
| 116 |
+
"special": true
|
| 117 |
+
},
|
| 118 |
+
"151657": {
|
| 119 |
+
"content": "<tool_call>",
|
| 120 |
+
"lstrip": false,
|
| 121 |
+
"normalized": false,
|
| 122 |
+
"rstrip": false,
|
| 123 |
+
"single_word": false,
|
| 124 |
+
"special": false
|
| 125 |
+
},
|
| 126 |
+
"151658": {
|
| 127 |
+
"content": "</tool_call>",
|
| 128 |
+
"lstrip": false,
|
| 129 |
+
"normalized": false,
|
| 130 |
+
"rstrip": false,
|
| 131 |
+
"single_word": false,
|
| 132 |
+
"special": false
|
| 133 |
+
},
|
| 134 |
+
"151659": {
|
| 135 |
+
"content": "<|fim_prefix|>",
|
| 136 |
+
"lstrip": false,
|
| 137 |
+
"normalized": false,
|
| 138 |
+
"rstrip": false,
|
| 139 |
+
"single_word": false,
|
| 140 |
+
"special": false
|
| 141 |
+
},
|
| 142 |
+
"151660": {
|
| 143 |
+
"content": "<|fim_middle|>",
|
| 144 |
+
"lstrip": false,
|
| 145 |
+
"normalized": false,
|
| 146 |
+
"rstrip": false,
|
| 147 |
+
"single_word": false,
|
| 148 |
+
"special": false
|
| 149 |
+
},
|
| 150 |
+
"151661": {
|
| 151 |
+
"content": "<|fim_suffix|>",
|
| 152 |
+
"lstrip": false,
|
| 153 |
+
"normalized": false,
|
| 154 |
+
"rstrip": false,
|
| 155 |
+
"single_word": false,
|
| 156 |
+
"special": false
|
| 157 |
+
},
|
| 158 |
+
"151662": {
|
| 159 |
+
"content": "<|fim_pad|>",
|
| 160 |
+
"lstrip": false,
|
| 161 |
+
"normalized": false,
|
| 162 |
+
"rstrip": false,
|
| 163 |
+
"single_word": false,
|
| 164 |
+
"special": false
|
| 165 |
+
},
|
| 166 |
+
"151663": {
|
| 167 |
+
"content": "<|repo_name|>",
|
| 168 |
+
"lstrip": false,
|
| 169 |
+
"normalized": false,
|
| 170 |
+
"rstrip": false,
|
| 171 |
+
"single_word": false,
|
| 172 |
+
"special": false
|
| 173 |
+
},
|
| 174 |
+
"151664": {
|
| 175 |
+
"content": "<|file_sep|>",
|
| 176 |
+
"lstrip": false,
|
| 177 |
+
"normalized": false,
|
| 178 |
+
"rstrip": false,
|
| 179 |
+
"single_word": false,
|
| 180 |
+
"special": false
|
| 181 |
+
}
|
| 182 |
+
},
|
| 183 |
+
"bos_token": "<|begin▁of▁sentence|>",
|
| 184 |
+
"chat_template": "{% if not add_generation_prompt is defined %}{% set add_generation_prompt = false %}{% endif %}{% set ns = namespace(is_first=false, is_tool=false, is_output_first=true, system_prompt='') %}{%- for message in messages %}{%- if message['role'] == 'system' %}{% set ns.system_prompt = message['content'] %}{%- endif %}{%- endfor %}{{bos_token}}{{ns.system_prompt}}{%- for message in messages %}{%- if message['role'] == 'user' %}{%- set ns.is_tool = false -%}{{'<|User|>' + message['content']}}{%- endif %}{%- if message['role'] == 'assistant' and message['content'] is none %}{%- set ns.is_tool = false -%}{%- for tool in message['tool_calls']%}{%- if not ns.is_first %}{{'<|Assistant|><|tool▁calls▁begin|><|tool▁call▁begin��>' + tool['type'] + '<|tool▁sep|>' + tool['function']['name'] + '\\n' + '```json' + '\\n' + tool['function']['arguments'] + '\\n' + '```' + '<|tool▁call▁end|>'}}{%- set ns.is_first = true -%}{%- else %}{{'\\n' + '<|tool▁call▁begin|>' + tool['type'] + '<|tool▁sep|>' + tool['function']['name'] + '\\n' + '```json' + '\\n' + tool['function']['arguments'] + '\\n' + '```' + '<|tool▁call▁end|>'}}{{'<|tool▁calls▁end|><|end▁of▁sentence|>'}}{%- endif %}{%- endfor %}{%- endif %}{%- if message['role'] == 'assistant' and message['content'] is not none %}{%- if ns.is_tool %}{{'<|tool▁outputs▁end|>' + message['content'] + '<|end▁of▁sentence|>'}}{%- set ns.is_tool = false -%}{%- else %}{% set content = message['content'] %}{% if '</think>' in content %}{% set content = content.split('</think>')[-1] %}{% endif %}{{'<|Assistant|>' + content + '<|end▁of▁sentence|>'}}{%- endif %}{%- endif %}{%- if message['role'] == 'tool' %}{%- set ns.is_tool = true -%}{%- if ns.is_output_first %}{{'<|tool▁outputs▁begin|><|tool▁output▁begin|>' + message['content'] + '<|tool▁output▁end|>'}}{%- set ns.is_output_first = false %}{%- else %}{{'\\n<|tool▁output▁begin|>' + message['content'] + '<|tool▁output▁end|>'}}{%- endif %}{%- endif %}{%- endfor -%}{% if ns.is_tool %}{{'<|tool▁outputs▁end|>'}}{% endif %}{% if add_generation_prompt and not ns.is_tool %}{{'<|Assistant|><think>\\n'}}{% endif %}",
|
| 185 |
+
"clean_up_tokenization_spaces": false,
|
| 186 |
+
"eos_token": "<|end▁of▁sentence|>",
|
| 187 |
+
"extra_special_tokens": {},
|
| 188 |
+
"legacy": true,
|
| 189 |
+
"model_max_length": 16384,
|
| 190 |
+
"pad_token": "<|end▁of▁sentence|>",
|
| 191 |
+
"sp_model_kwargs": {},
|
| 192 |
+
"tokenizer_class": "LlamaTokenizerFast",
|
| 193 |
+
"unk_token": null,
|
| 194 |
+
"use_default_system_prompt": false
|
| 195 |
+
}
|
checkpoint-100/trainer_state.json
ADDED
|
@@ -0,0 +1,2534 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"best_global_step": null,
|
| 3 |
+
"best_metric": null,
|
| 4 |
+
"best_model_checkpoint": null,
|
| 5 |
+
"epoch": 0.11428571428571428,
|
| 6 |
+
"eval_steps": 500,
|
| 7 |
+
"global_step": 100,
|
| 8 |
+
"is_hyper_param_search": false,
|
| 9 |
+
"is_local_process_zero": true,
|
| 10 |
+
"is_world_process_zero": true,
|
| 11 |
+
"log_history": [
|
| 12 |
+
{
|
| 13 |
+
"clip_ratio/high_max": 0.0,
|
| 14 |
+
"clip_ratio/high_mean": 0.0,
|
| 15 |
+
"clip_ratio/low_mean": 0.0,
|
| 16 |
+
"clip_ratio/low_min": 0.0,
|
| 17 |
+
"clip_ratio/region_mean": 0.0,
|
| 18 |
+
"completions/clipped_ratio": 0.671875,
|
| 19 |
+
"completions/max_length": 2048.0,
|
| 20 |
+
"completions/max_terminated_length": 1734.0,
|
| 21 |
+
"completions/mean_length": 1702.03125,
|
| 22 |
+
"completions/mean_terminated_length": 993.6190795898438,
|
| 23 |
+
"completions/min_length": 483.0,
|
| 24 |
+
"completions/min_terminated_length": 483.0,
|
| 25 |
+
"epoch": 0.001142857142857143,
|
| 26 |
+
"frac_reward_zero_std": 0.0,
|
| 27 |
+
"grad_norm": 0.2837817668914795,
|
| 28 |
+
"learning_rate": 0.0,
|
| 29 |
+
"loss": -0.0,
|
| 30 |
+
"num_tokens": 118418.0,
|
| 31 |
+
"reward": -0.09800112247467041,
|
| 32 |
+
"reward_std": 0.3028089702129364,
|
| 33 |
+
"rewards/cosine_scaled_reward/mean": -0.09800112992525101,
|
| 34 |
+
"rewards/cosine_scaled_reward/std": 0.37953105568885803,
|
| 35 |
+
"step": 1
|
| 36 |
+
},
|
| 37 |
+
{
|
| 38 |
+
"clip_ratio/high_max": 0.0,
|
| 39 |
+
"clip_ratio/high_mean": 0.0,
|
| 40 |
+
"clip_ratio/low_mean": 0.0,
|
| 41 |
+
"clip_ratio/low_min": 0.0,
|
| 42 |
+
"clip_ratio/region_mean": 0.0,
|
| 43 |
+
"completions/clipped_ratio": 0.71875,
|
| 44 |
+
"completions/max_length": 2048.0,
|
| 45 |
+
"completions/max_terminated_length": 1894.0,
|
| 46 |
+
"completions/mean_length": 1738.90625,
|
| 47 |
+
"completions/mean_terminated_length": 949.0,
|
| 48 |
+
"completions/min_length": 435.0,
|
| 49 |
+
"completions/min_terminated_length": 435.0,
|
| 50 |
+
"epoch": 0.002285714285714286,
|
| 51 |
+
"frac_reward_zero_std": 0.0,
|
| 52 |
+
"grad_norm": 0.2421981245279312,
|
| 53 |
+
"learning_rate": 2e-08,
|
| 54 |
+
"loss": -0.0,
|
| 55 |
+
"num_tokens": 239748.0,
|
| 56 |
+
"reward": 0.020556632429361343,
|
| 57 |
+
"reward_std": 0.3545936942100525,
|
| 58 |
+
"rewards/cosine_scaled_reward/mean": 0.020556632429361343,
|
| 59 |
+
"rewards/cosine_scaled_reward/std": 0.4492928683757782,
|
| 60 |
+
"step": 2
|
| 61 |
+
},
|
| 62 |
+
{
|
| 63 |
+
"clip_ratio/high_max": 0.0,
|
| 64 |
+
"clip_ratio/high_mean": 0.0,
|
| 65 |
+
"clip_ratio/low_mean": 0.0,
|
| 66 |
+
"clip_ratio/low_min": 0.0,
|
| 67 |
+
"clip_ratio/region_mean": 0.0,
|
| 68 |
+
"completions/clipped_ratio": 0.921875,
|
| 69 |
+
"completions/max_length": 2048.0,
|
| 70 |
+
"completions/max_terminated_length": 953.0,
|
| 71 |
+
"completions/mean_length": 1952.234375,
|
| 72 |
+
"completions/mean_terminated_length": 822.2000122070312,
|
| 73 |
+
"completions/min_length": 703.0,
|
| 74 |
+
"completions/min_terminated_length": 703.0,
|
| 75 |
+
"epoch": 0.0034285714285714284,
|
| 76 |
+
"frac_reward_zero_std": 0.0,
|
| 77 |
+
"grad_norm": 0.24851329624652863,
|
| 78 |
+
"learning_rate": 4e-08,
|
| 79 |
+
"loss": -0.0,
|
| 80 |
+
"num_tokens": 375163.0,
|
| 81 |
+
"reward": -0.22721199691295624,
|
| 82 |
+
"reward_std": 0.14563649892807007,
|
| 83 |
+
"rewards/cosine_scaled_reward/mean": -0.22721199691295624,
|
| 84 |
+
"rewards/cosine_scaled_reward/std": 0.1709199845790863,
|
| 85 |
+
"step": 3
|
| 86 |
+
},
|
| 87 |
+
{
|
| 88 |
+
"clip_ratio/high_max": 0.0,
|
| 89 |
+
"clip_ratio/high_mean": 0.0,
|
| 90 |
+
"clip_ratio/low_mean": 0.0,
|
| 91 |
+
"clip_ratio/low_min": 0.0,
|
| 92 |
+
"clip_ratio/region_mean": 0.0,
|
| 93 |
+
"completions/clipped_ratio": 0.546875,
|
| 94 |
+
"completions/max_length": 2048.0,
|
| 95 |
+
"completions/max_terminated_length": 1685.0,
|
| 96 |
+
"completions/mean_length": 1554.109375,
|
| 97 |
+
"completions/mean_terminated_length": 958.0344848632812,
|
| 98 |
+
"completions/min_length": 504.0,
|
| 99 |
+
"completions/min_terminated_length": 504.0,
|
| 100 |
+
"epoch": 0.004571428571428572,
|
| 101 |
+
"frac_reward_zero_std": 0.0,
|
| 102 |
+
"grad_norm": 0.29272863268852234,
|
| 103 |
+
"learning_rate": 6e-08,
|
| 104 |
+
"loss": -0.0,
|
| 105 |
+
"num_tokens": 484434.0,
|
| 106 |
+
"reward": -0.17542189359664917,
|
| 107 |
+
"reward_std": 0.18219107389450073,
|
| 108 |
+
"rewards/cosine_scaled_reward/mean": -0.17542189359664917,
|
| 109 |
+
"rewards/cosine_scaled_reward/std": 0.27975013852119446,
|
| 110 |
+
"step": 4
|
| 111 |
+
},
|
| 112 |
+
{
|
| 113 |
+
"clip_ratio/high_max": 0.0,
|
| 114 |
+
"clip_ratio/high_mean": 0.0,
|
| 115 |
+
"clip_ratio/low_mean": 0.0,
|
| 116 |
+
"clip_ratio/low_min": 0.0,
|
| 117 |
+
"clip_ratio/region_mean": 0.0,
|
| 118 |
+
"completions/clipped_ratio": 0.890625,
|
| 119 |
+
"completions/max_length": 2048.0,
|
| 120 |
+
"completions/max_terminated_length": 1930.0,
|
| 121 |
+
"completions/mean_length": 1943.0625,
|
| 122 |
+
"completions/mean_terminated_length": 1088.571533203125,
|
| 123 |
+
"completions/min_length": 344.0,
|
| 124 |
+
"completions/min_terminated_length": 344.0,
|
| 125 |
+
"epoch": 0.005714285714285714,
|
| 126 |
+
"frac_reward_zero_std": 0.0,
|
| 127 |
+
"grad_norm": 0.2773251533508301,
|
| 128 |
+
"learning_rate": 8e-08,
|
| 129 |
+
"loss": 0.0,
|
| 130 |
+
"num_tokens": 619606.0,
|
| 131 |
+
"reward": -0.2648562788963318,
|
| 132 |
+
"reward_std": 0.21638144552707672,
|
| 133 |
+
"rewards/cosine_scaled_reward/mean": -0.2648562788963318,
|
| 134 |
+
"rewards/cosine_scaled_reward/std": 0.23959198594093323,
|
| 135 |
+
"step": 5
|
| 136 |
+
},
|
| 137 |
+
{
|
| 138 |
+
"clip_ratio/high_max": 0.0,
|
| 139 |
+
"clip_ratio/high_mean": 0.0,
|
| 140 |
+
"clip_ratio/low_mean": 0.0,
|
| 141 |
+
"clip_ratio/low_min": 0.0,
|
| 142 |
+
"clip_ratio/region_mean": 0.0,
|
| 143 |
+
"completions/clipped_ratio": 0.828125,
|
| 144 |
+
"completions/max_length": 2048.0,
|
| 145 |
+
"completions/max_terminated_length": 1824.0,
|
| 146 |
+
"completions/mean_length": 1854.21875,
|
| 147 |
+
"completions/mean_terminated_length": 920.5454711914062,
|
| 148 |
+
"completions/min_length": 548.0,
|
| 149 |
+
"completions/min_terminated_length": 548.0,
|
| 150 |
+
"epoch": 0.006857142857142857,
|
| 151 |
+
"frac_reward_zero_std": 0.0,
|
| 152 |
+
"grad_norm": 0.27399909496307373,
|
| 153 |
+
"learning_rate": 1e-07,
|
| 154 |
+
"loss": -0.0,
|
| 155 |
+
"num_tokens": 749924.0,
|
| 156 |
+
"reward": -0.19292885065078735,
|
| 157 |
+
"reward_std": 0.2666770815849304,
|
| 158 |
+
"rewards/cosine_scaled_reward/mean": -0.19292885065078735,
|
| 159 |
+
"rewards/cosine_scaled_reward/std": 0.295730322599411,
|
| 160 |
+
"step": 6
|
| 161 |
+
},
|
| 162 |
+
{
|
| 163 |
+
"clip_ratio/high_max": 0.0,
|
| 164 |
+
"clip_ratio/high_mean": 0.0,
|
| 165 |
+
"clip_ratio/low_mean": 0.0,
|
| 166 |
+
"clip_ratio/low_min": 0.0,
|
| 167 |
+
"clip_ratio/region_mean": 0.0,
|
| 168 |
+
"completions/clipped_ratio": 0.890625,
|
| 169 |
+
"completions/max_length": 2048.0,
|
| 170 |
+
"completions/max_terminated_length": 1589.0,
|
| 171 |
+
"completions/mean_length": 1940.5625,
|
| 172 |
+
"completions/mean_terminated_length": 1065.71435546875,
|
| 173 |
+
"completions/min_length": 773.0,
|
| 174 |
+
"completions/min_terminated_length": 773.0,
|
| 175 |
+
"epoch": 0.008,
|
| 176 |
+
"frac_reward_zero_std": 0.0,
|
| 177 |
+
"grad_norm": 0.23362359404563904,
|
| 178 |
+
"learning_rate": 1.2e-07,
|
| 179 |
+
"loss": 0.0,
|
| 180 |
+
"num_tokens": 884528.0,
|
| 181 |
+
"reward": -0.18198424577713013,
|
| 182 |
+
"reward_std": 0.18540163338184357,
|
| 183 |
+
"rewards/cosine_scaled_reward/mean": -0.18198424577713013,
|
| 184 |
+
"rewards/cosine_scaled_reward/std": 0.32407456636428833,
|
| 185 |
+
"step": 7
|
| 186 |
+
},
|
| 187 |
+
{
|
| 188 |
+
"clip_ratio/high_max": 0.0,
|
| 189 |
+
"clip_ratio/high_mean": 0.0,
|
| 190 |
+
"clip_ratio/low_mean": 0.0,
|
| 191 |
+
"clip_ratio/low_min": 0.0,
|
| 192 |
+
"clip_ratio/region_mean": 0.0,
|
| 193 |
+
"completions/clipped_ratio": 0.671875,
|
| 194 |
+
"completions/max_length": 2048.0,
|
| 195 |
+
"completions/max_terminated_length": 2048.0,
|
| 196 |
+
"completions/mean_length": 1708.5625,
|
| 197 |
+
"completions/mean_terminated_length": 1013.5238037109375,
|
| 198 |
+
"completions/min_length": 317.0,
|
| 199 |
+
"completions/min_terminated_length": 317.0,
|
| 200 |
+
"epoch": 0.009142857142857144,
|
| 201 |
+
"frac_reward_zero_std": 0.0,
|
| 202 |
+
"grad_norm": 0.24677562713623047,
|
| 203 |
+
"learning_rate": 1.4e-07,
|
| 204 |
+
"loss": -0.0,
|
| 205 |
+
"num_tokens": 1004292.0,
|
| 206 |
+
"reward": -0.09573853015899658,
|
| 207 |
+
"reward_std": 0.22485454380512238,
|
| 208 |
+
"rewards/cosine_scaled_reward/mean": -0.09573852270841599,
|
| 209 |
+
"rewards/cosine_scaled_reward/std": 0.449250191450119,
|
| 210 |
+
"step": 8
|
| 211 |
+
},
|
| 212 |
+
{
|
| 213 |
+
"clip_ratio/high_max": 0.0,
|
| 214 |
+
"clip_ratio/high_mean": 0.0,
|
| 215 |
+
"clip_ratio/low_mean": 0.0,
|
| 216 |
+
"clip_ratio/low_min": 0.0,
|
| 217 |
+
"clip_ratio/region_mean": 0.0,
|
| 218 |
+
"completions/clipped_ratio": 0.9375,
|
| 219 |
+
"completions/max_length": 2048.0,
|
| 220 |
+
"completions/max_terminated_length": 1221.0,
|
| 221 |
+
"completions/mean_length": 1979.359375,
|
| 222 |
+
"completions/mean_terminated_length": 949.75,
|
| 223 |
+
"completions/min_length": 569.0,
|
| 224 |
+
"completions/min_terminated_length": 569.0,
|
| 225 |
+
"epoch": 0.010285714285714285,
|
| 226 |
+
"frac_reward_zero_std": 0.0,
|
| 227 |
+
"grad_norm": 0.26966309547424316,
|
| 228 |
+
"learning_rate": 1.6e-07,
|
| 229 |
+
"loss": 0.0,
|
| 230 |
+
"num_tokens": 1142427.0,
|
| 231 |
+
"reward": -0.19992578029632568,
|
| 232 |
+
"reward_std": 0.20190927386283875,
|
| 233 |
+
"rewards/cosine_scaled_reward/mean": -0.19992581009864807,
|
| 234 |
+
"rewards/cosine_scaled_reward/std": 0.23785534501075745,
|
| 235 |
+
"step": 9
|
| 236 |
+
},
|
| 237 |
+
{
|
| 238 |
+
"clip_ratio/high_max": 0.0,
|
| 239 |
+
"clip_ratio/high_mean": 0.0,
|
| 240 |
+
"clip_ratio/low_mean": 0.0,
|
| 241 |
+
"clip_ratio/low_min": 0.0,
|
| 242 |
+
"clip_ratio/region_mean": 0.0,
|
| 243 |
+
"completions/clipped_ratio": 0.65625,
|
| 244 |
+
"completions/max_length": 2048.0,
|
| 245 |
+
"completions/max_terminated_length": 1918.0,
|
| 246 |
+
"completions/mean_length": 1652.59375,
|
| 247 |
+
"completions/mean_terminated_length": 897.727294921875,
|
| 248 |
+
"completions/min_length": 286.0,
|
| 249 |
+
"completions/min_terminated_length": 286.0,
|
| 250 |
+
"epoch": 0.011428571428571429,
|
| 251 |
+
"frac_reward_zero_std": 0.0,
|
| 252 |
+
"grad_norm": 0.3011312484741211,
|
| 253 |
+
"learning_rate": 1.8e-07,
|
| 254 |
+
"loss": 0.0,
|
| 255 |
+
"num_tokens": 1259025.0,
|
| 256 |
+
"reward": -0.11706389486789703,
|
| 257 |
+
"reward_std": 0.2934548258781433,
|
| 258 |
+
"rewards/cosine_scaled_reward/mean": -0.11706390231847763,
|
| 259 |
+
"rewards/cosine_scaled_reward/std": 0.3601698577404022,
|
| 260 |
+
"step": 10
|
| 261 |
+
},
|
| 262 |
+
{
|
| 263 |
+
"clip_ratio/high_max": 0.0,
|
| 264 |
+
"clip_ratio/high_mean": 0.0,
|
| 265 |
+
"clip_ratio/low_mean": 0.0,
|
| 266 |
+
"clip_ratio/low_min": 0.0,
|
| 267 |
+
"clip_ratio/region_mean": 0.0,
|
| 268 |
+
"completions/clipped_ratio": 0.90625,
|
| 269 |
+
"completions/max_length": 2048.0,
|
| 270 |
+
"completions/max_terminated_length": 1333.0,
|
| 271 |
+
"completions/mean_length": 1946.6875,
|
| 272 |
+
"completions/mean_terminated_length": 967.3333740234375,
|
| 273 |
+
"completions/min_length": 599.0,
|
| 274 |
+
"completions/min_terminated_length": 599.0,
|
| 275 |
+
"epoch": 0.012571428571428572,
|
| 276 |
+
"frac_reward_zero_std": 0.0,
|
| 277 |
+
"grad_norm": 0.2451399564743042,
|
| 278 |
+
"learning_rate": 2e-07,
|
| 279 |
+
"loss": -0.0,
|
| 280 |
+
"num_tokens": 1395285.0,
|
| 281 |
+
"reward": -0.2866281270980835,
|
| 282 |
+
"reward_std": 0.12184012681245804,
|
| 283 |
+
"rewards/cosine_scaled_reward/mean": -0.2866281270980835,
|
| 284 |
+
"rewards/cosine_scaled_reward/std": 0.15141677856445312,
|
| 285 |
+
"step": 11
|
| 286 |
+
},
|
| 287 |
+
{
|
| 288 |
+
"clip_ratio/high_max": 0.0,
|
| 289 |
+
"clip_ratio/high_mean": 0.0,
|
| 290 |
+
"clip_ratio/low_mean": 0.0,
|
| 291 |
+
"clip_ratio/low_min": 0.0,
|
| 292 |
+
"clip_ratio/region_mean": 0.0,
|
| 293 |
+
"completions/clipped_ratio": 0.546875,
|
| 294 |
+
"completions/max_length": 2048.0,
|
| 295 |
+
"completions/max_terminated_length": 2032.0,
|
| 296 |
+
"completions/mean_length": 1659.28125,
|
| 297 |
+
"completions/mean_terminated_length": 1190.137939453125,
|
| 298 |
+
"completions/min_length": 535.0,
|
| 299 |
+
"completions/min_terminated_length": 535.0,
|
| 300 |
+
"epoch": 0.013714285714285714,
|
| 301 |
+
"frac_reward_zero_std": 0.0,
|
| 302 |
+
"grad_norm": 0.2733561396598816,
|
| 303 |
+
"learning_rate": 2.1999999999999998e-07,
|
| 304 |
+
"loss": 0.0,
|
| 305 |
+
"num_tokens": 1512423.0,
|
| 306 |
+
"reward": -0.13816070556640625,
|
| 307 |
+
"reward_std": 0.2968980073928833,
|
| 308 |
+
"rewards/cosine_scaled_reward/mean": -0.13816070556640625,
|
| 309 |
+
"rewards/cosine_scaled_reward/std": 0.3597467839717865,
|
| 310 |
+
"step": 12
|
| 311 |
+
},
|
| 312 |
+
{
|
| 313 |
+
"clip_ratio/high_max": 0.0,
|
| 314 |
+
"clip_ratio/high_mean": 0.0,
|
| 315 |
+
"clip_ratio/low_mean": 0.0,
|
| 316 |
+
"clip_ratio/low_min": 0.0,
|
| 317 |
+
"clip_ratio/region_mean": 0.0,
|
| 318 |
+
"completions/clipped_ratio": 0.765625,
|
| 319 |
+
"completions/max_length": 2048.0,
|
| 320 |
+
"completions/max_terminated_length": 1770.0,
|
| 321 |
+
"completions/mean_length": 1807.796875,
|
| 322 |
+
"completions/mean_terminated_length": 1023.1333618164062,
|
| 323 |
+
"completions/min_length": 697.0,
|
| 324 |
+
"completions/min_terminated_length": 697.0,
|
| 325 |
+
"epoch": 0.014857142857142857,
|
| 326 |
+
"frac_reward_zero_std": 0.0,
|
| 327 |
+
"grad_norm": 0.25238803029060364,
|
| 328 |
+
"learning_rate": 2.4e-07,
|
| 329 |
+
"loss": 0.0,
|
| 330 |
+
"num_tokens": 1639162.0,
|
| 331 |
+
"reward": -0.13488636910915375,
|
| 332 |
+
"reward_std": 0.2661236524581909,
|
| 333 |
+
"rewards/cosine_scaled_reward/mean": -0.13488635420799255,
|
| 334 |
+
"rewards/cosine_scaled_reward/std": 0.3444243371486664,
|
| 335 |
+
"step": 13
|
| 336 |
+
},
|
| 337 |
+
{
|
| 338 |
+
"clip_ratio/high_max": 0.0,
|
| 339 |
+
"clip_ratio/high_mean": 0.0,
|
| 340 |
+
"clip_ratio/low_mean": 0.0,
|
| 341 |
+
"clip_ratio/low_min": 0.0,
|
| 342 |
+
"clip_ratio/region_mean": 0.0,
|
| 343 |
+
"completions/clipped_ratio": 0.75,
|
| 344 |
+
"completions/max_length": 2048.0,
|
| 345 |
+
"completions/max_terminated_length": 1866.0,
|
| 346 |
+
"completions/mean_length": 1846.921875,
|
| 347 |
+
"completions/mean_terminated_length": 1243.6875,
|
| 348 |
+
"completions/min_length": 698.0,
|
| 349 |
+
"completions/min_terminated_length": 698.0,
|
| 350 |
+
"epoch": 0.016,
|
| 351 |
+
"frac_reward_zero_std": 0.0,
|
| 352 |
+
"grad_norm": 0.2201598882675171,
|
| 353 |
+
"learning_rate": 2.6e-07,
|
| 354 |
+
"loss": -0.0,
|
| 355 |
+
"num_tokens": 1767973.0,
|
| 356 |
+
"reward": -0.20591925084590912,
|
| 357 |
+
"reward_std": 0.21505361795425415,
|
| 358 |
+
"rewards/cosine_scaled_reward/mean": -0.20591923594474792,
|
| 359 |
+
"rewards/cosine_scaled_reward/std": 0.323749840259552,
|
| 360 |
+
"step": 14
|
| 361 |
+
},
|
| 362 |
+
{
|
| 363 |
+
"clip_ratio/high_max": 0.0,
|
| 364 |
+
"clip_ratio/high_mean": 0.0,
|
| 365 |
+
"clip_ratio/low_mean": 0.0,
|
| 366 |
+
"clip_ratio/low_min": 0.0,
|
| 367 |
+
"clip_ratio/region_mean": 0.0,
|
| 368 |
+
"completions/clipped_ratio": 0.71875,
|
| 369 |
+
"completions/max_length": 2048.0,
|
| 370 |
+
"completions/max_terminated_length": 1713.0,
|
| 371 |
+
"completions/mean_length": 1710.421875,
|
| 372 |
+
"completions/mean_terminated_length": 847.7222290039062,
|
| 373 |
+
"completions/min_length": 450.0,
|
| 374 |
+
"completions/min_terminated_length": 450.0,
|
| 375 |
+
"epoch": 0.017142857142857144,
|
| 376 |
+
"frac_reward_zero_std": 0.0,
|
| 377 |
+
"grad_norm": 0.2665213644504547,
|
| 378 |
+
"learning_rate": 2.8e-07,
|
| 379 |
+
"loss": 0.0,
|
| 380 |
+
"num_tokens": 1888360.0,
|
| 381 |
+
"reward": -0.0778750479221344,
|
| 382 |
+
"reward_std": 0.17502948641777039,
|
| 383 |
+
"rewards/cosine_scaled_reward/mean": -0.0778750628232956,
|
| 384 |
+
"rewards/cosine_scaled_reward/std": 0.47343766689300537,
|
| 385 |
+
"step": 15
|
| 386 |
+
},
|
| 387 |
+
{
|
| 388 |
+
"clip_ratio/high_max": 0.0,
|
| 389 |
+
"clip_ratio/high_mean": 0.0,
|
| 390 |
+
"clip_ratio/low_mean": 0.0,
|
| 391 |
+
"clip_ratio/low_min": 0.0,
|
| 392 |
+
"clip_ratio/region_mean": 0.0,
|
| 393 |
+
"completions/clipped_ratio": 0.984375,
|
| 394 |
+
"completions/max_length": 2048.0,
|
| 395 |
+
"completions/max_terminated_length": 962.0,
|
| 396 |
+
"completions/mean_length": 2031.03125,
|
| 397 |
+
"completions/mean_terminated_length": 962.0,
|
| 398 |
+
"completions/min_length": 962.0,
|
| 399 |
+
"completions/min_terminated_length": 962.0,
|
| 400 |
+
"epoch": 0.018285714285714287,
|
| 401 |
+
"frac_reward_zero_std": 0.0,
|
| 402 |
+
"grad_norm": 0.23009927570819855,
|
| 403 |
+
"learning_rate": 3e-07,
|
| 404 |
+
"loss": -0.0,
|
| 405 |
+
"num_tokens": 2028786.0,
|
| 406 |
+
"reward": -0.2619968056678772,
|
| 407 |
+
"reward_std": 0.16954168677330017,
|
| 408 |
+
"rewards/cosine_scaled_reward/mean": -0.2619968056678772,
|
| 409 |
+
"rewards/cosine_scaled_reward/std": 0.18357795476913452,
|
| 410 |
+
"step": 16
|
| 411 |
+
},
|
| 412 |
+
{
|
| 413 |
+
"clip_ratio/high_max": 0.0,
|
| 414 |
+
"clip_ratio/high_mean": 0.0,
|
| 415 |
+
"clip_ratio/low_mean": 0.0,
|
| 416 |
+
"clip_ratio/low_min": 0.0,
|
| 417 |
+
"clip_ratio/region_mean": 0.0,
|
| 418 |
+
"completions/clipped_ratio": 0.59375,
|
| 419 |
+
"completions/max_length": 2048.0,
|
| 420 |
+
"completions/max_terminated_length": 1918.0,
|
| 421 |
+
"completions/mean_length": 1533.15625,
|
| 422 |
+
"completions/mean_terminated_length": 780.6923217773438,
|
| 423 |
+
"completions/min_length": 380.0,
|
| 424 |
+
"completions/min_terminated_length": 380.0,
|
| 425 |
+
"epoch": 0.019428571428571427,
|
| 426 |
+
"frac_reward_zero_std": 0.0,
|
| 427 |
+
"grad_norm": 0.3392995297908783,
|
| 428 |
+
"learning_rate": 3.2e-07,
|
| 429 |
+
"loss": -0.0,
|
| 430 |
+
"num_tokens": 2137428.0,
|
| 431 |
+
"reward": -0.11706461012363434,
|
| 432 |
+
"reward_std": 0.3096129894256592,
|
| 433 |
+
"rewards/cosine_scaled_reward/mean": -0.11706460267305374,
|
| 434 |
+
"rewards/cosine_scaled_reward/std": 0.3810974657535553,
|
| 435 |
+
"step": 17
|
| 436 |
+
},
|
| 437 |
+
{
|
| 438 |
+
"clip_ratio/high_max": 0.0,
|
| 439 |
+
"clip_ratio/high_mean": 0.0,
|
| 440 |
+
"clip_ratio/low_mean": 0.0,
|
| 441 |
+
"clip_ratio/low_min": 0.0,
|
| 442 |
+
"clip_ratio/region_mean": 0.0,
|
| 443 |
+
"completions/clipped_ratio": 0.734375,
|
| 444 |
+
"completions/max_length": 2048.0,
|
| 445 |
+
"completions/max_terminated_length": 1626.0,
|
| 446 |
+
"completions/mean_length": 1774.46875,
|
| 447 |
+
"completions/mean_terminated_length": 1018.2352905273438,
|
| 448 |
+
"completions/min_length": 516.0,
|
| 449 |
+
"completions/min_terminated_length": 516.0,
|
| 450 |
+
"epoch": 0.02057142857142857,
|
| 451 |
+
"frac_reward_zero_std": 0.0,
|
| 452 |
+
"grad_norm": 0.23254038393497467,
|
| 453 |
+
"learning_rate": 3.4000000000000003e-07,
|
| 454 |
+
"loss": 0.0,
|
| 455 |
+
"num_tokens": 2261370.0,
|
| 456 |
+
"reward": -0.18709540367126465,
|
| 457 |
+
"reward_std": 0.2795025110244751,
|
| 458 |
+
"rewards/cosine_scaled_reward/mean": -0.18709540367126465,
|
| 459 |
+
"rewards/cosine_scaled_reward/std": 0.3359416127204895,
|
| 460 |
+
"step": 18
|
| 461 |
+
},
|
| 462 |
+
{
|
| 463 |
+
"clip_ratio/high_max": 0.0,
|
| 464 |
+
"clip_ratio/high_mean": 0.0,
|
| 465 |
+
"clip_ratio/low_mean": 0.0,
|
| 466 |
+
"clip_ratio/low_min": 0.0,
|
| 467 |
+
"clip_ratio/region_mean": 0.0,
|
| 468 |
+
"completions/clipped_ratio": 0.6875,
|
| 469 |
+
"completions/max_length": 2048.0,
|
| 470 |
+
"completions/max_terminated_length": 1859.0,
|
| 471 |
+
"completions/mean_length": 1719.0,
|
| 472 |
+
"completions/mean_terminated_length": 995.2000122070312,
|
| 473 |
+
"completions/min_length": 577.0,
|
| 474 |
+
"completions/min_terminated_length": 577.0,
|
| 475 |
+
"epoch": 0.021714285714285714,
|
| 476 |
+
"frac_reward_zero_std": 0.0,
|
| 477 |
+
"grad_norm": 0.262045681476593,
|
| 478 |
+
"learning_rate": 3.6e-07,
|
| 479 |
+
"loss": -0.0,
|
| 480 |
+
"num_tokens": 2382642.0,
|
| 481 |
+
"reward": -0.02329203486442566,
|
| 482 |
+
"reward_std": 0.34684932231903076,
|
| 483 |
+
"rewards/cosine_scaled_reward/mean": -0.02329203486442566,
|
| 484 |
+
"rewards/cosine_scaled_reward/std": 0.47637447714805603,
|
| 485 |
+
"step": 19
|
| 486 |
+
},
|
| 487 |
+
{
|
| 488 |
+
"clip_ratio/high_max": 0.0,
|
| 489 |
+
"clip_ratio/high_mean": 0.0,
|
| 490 |
+
"clip_ratio/low_mean": 0.0,
|
| 491 |
+
"clip_ratio/low_min": 0.0,
|
| 492 |
+
"clip_ratio/region_mean": 0.0,
|
| 493 |
+
"completions/clipped_ratio": 0.625,
|
| 494 |
+
"completions/max_length": 2048.0,
|
| 495 |
+
"completions/max_terminated_length": 1988.0,
|
| 496 |
+
"completions/mean_length": 1630.90625,
|
| 497 |
+
"completions/mean_terminated_length": 935.75,
|
| 498 |
+
"completions/min_length": 425.0,
|
| 499 |
+
"completions/min_terminated_length": 425.0,
|
| 500 |
+
"epoch": 0.022857142857142857,
|
| 501 |
+
"frac_reward_zero_std": 0.0,
|
| 502 |
+
"grad_norm": 0.250532329082489,
|
| 503 |
+
"learning_rate": 3.7999999999999996e-07,
|
| 504 |
+
"loss": 0.0,
|
| 505 |
+
"num_tokens": 2498372.0,
|
| 506 |
+
"reward": -0.06319350004196167,
|
| 507 |
+
"reward_std": 0.2394939512014389,
|
| 508 |
+
"rewards/cosine_scaled_reward/mean": -0.06319350004196167,
|
| 509 |
+
"rewards/cosine_scaled_reward/std": 0.3889789879322052,
|
| 510 |
+
"step": 20
|
| 511 |
+
},
|
| 512 |
+
{
|
| 513 |
+
"clip_ratio/high_max": 0.0,
|
| 514 |
+
"clip_ratio/high_mean": 0.0,
|
| 515 |
+
"clip_ratio/low_mean": 0.0,
|
| 516 |
+
"clip_ratio/low_min": 0.0,
|
| 517 |
+
"clip_ratio/region_mean": 0.0,
|
| 518 |
+
"completions/clipped_ratio": 0.65625,
|
| 519 |
+
"completions/max_length": 2048.0,
|
| 520 |
+
"completions/max_terminated_length": 1818.0,
|
| 521 |
+
"completions/mean_length": 1735.96875,
|
| 522 |
+
"completions/mean_terminated_length": 1140.272705078125,
|
| 523 |
+
"completions/min_length": 428.0,
|
| 524 |
+
"completions/min_terminated_length": 428.0,
|
| 525 |
+
"epoch": 0.024,
|
| 526 |
+
"frac_reward_zero_std": 0.0,
|
| 527 |
+
"grad_norm": 0.2773231565952301,
|
| 528 |
+
"learning_rate": 4e-07,
|
| 529 |
+
"loss": 0.0,
|
| 530 |
+
"num_tokens": 2620282.0,
|
| 531 |
+
"reward": -0.20884393155574799,
|
| 532 |
+
"reward_std": 0.20233216881752014,
|
| 533 |
+
"rewards/cosine_scaled_reward/mean": -0.20884393155574799,
|
| 534 |
+
"rewards/cosine_scaled_reward/std": 0.28432920575141907,
|
| 535 |
+
"step": 21
|
| 536 |
+
},
|
| 537 |
+
{
|
| 538 |
+
"clip_ratio/high_max": 0.0,
|
| 539 |
+
"clip_ratio/high_mean": 0.0,
|
| 540 |
+
"clip_ratio/low_mean": 0.0,
|
| 541 |
+
"clip_ratio/low_min": 0.0,
|
| 542 |
+
"clip_ratio/region_mean": 0.0,
|
| 543 |
+
"completions/clipped_ratio": 0.375,
|
| 544 |
+
"completions/max_length": 2048.0,
|
| 545 |
+
"completions/max_terminated_length": 1790.0,
|
| 546 |
+
"completions/mean_length": 1342.953125,
|
| 547 |
+
"completions/mean_terminated_length": 919.9249877929688,
|
| 548 |
+
"completions/min_length": 286.0,
|
| 549 |
+
"completions/min_terminated_length": 286.0,
|
| 550 |
+
"epoch": 0.025142857142857144,
|
| 551 |
+
"frac_reward_zero_std": 0.0,
|
| 552 |
+
"grad_norm": 0.34627005457878113,
|
| 553 |
+
"learning_rate": 4.1999999999999995e-07,
|
| 554 |
+
"loss": 0.0,
|
| 555 |
+
"num_tokens": 2715247.0,
|
| 556 |
+
"reward": -0.09092864394187927,
|
| 557 |
+
"reward_std": 0.21042926609516144,
|
| 558 |
+
"rewards/cosine_scaled_reward/mean": -0.09092865139245987,
|
| 559 |
+
"rewards/cosine_scaled_reward/std": 0.43559205532073975,
|
| 560 |
+
"step": 22
|
| 561 |
+
},
|
| 562 |
+
{
|
| 563 |
+
"clip_ratio/high_max": 0.0,
|
| 564 |
+
"clip_ratio/high_mean": 0.0,
|
| 565 |
+
"clip_ratio/low_mean": 0.0,
|
| 566 |
+
"clip_ratio/low_min": 0.0,
|
| 567 |
+
"clip_ratio/region_mean": 0.0,
|
| 568 |
+
"completions/clipped_ratio": 0.578125,
|
| 569 |
+
"completions/max_length": 2048.0,
|
| 570 |
+
"completions/max_terminated_length": 2038.0,
|
| 571 |
+
"completions/mean_length": 1661.9375,
|
| 572 |
+
"completions/mean_terminated_length": 1132.888916015625,
|
| 573 |
+
"completions/min_length": 455.0,
|
| 574 |
+
"completions/min_terminated_length": 455.0,
|
| 575 |
+
"epoch": 0.026285714285714287,
|
| 576 |
+
"frac_reward_zero_std": 0.0,
|
| 577 |
+
"grad_norm": 0.2705242335796356,
|
| 578 |
+
"learning_rate": 4.3999999999999997e-07,
|
| 579 |
+
"loss": 0.0,
|
| 580 |
+
"num_tokens": 2832403.0,
|
| 581 |
+
"reward": -0.13339249789714813,
|
| 582 |
+
"reward_std": 0.2433384656906128,
|
| 583 |
+
"rewards/cosine_scaled_reward/mean": -0.13339248299598694,
|
| 584 |
+
"rewards/cosine_scaled_reward/std": 0.3815627098083496,
|
| 585 |
+
"step": 23
|
| 586 |
+
},
|
| 587 |
+
{
|
| 588 |
+
"clip_ratio/high_max": 0.0,
|
| 589 |
+
"clip_ratio/high_mean": 0.0,
|
| 590 |
+
"clip_ratio/low_mean": 0.0,
|
| 591 |
+
"clip_ratio/low_min": 0.0,
|
| 592 |
+
"clip_ratio/region_mean": 0.0,
|
| 593 |
+
"completions/clipped_ratio": 0.75,
|
| 594 |
+
"completions/max_length": 2048.0,
|
| 595 |
+
"completions/max_terminated_length": 2020.0,
|
| 596 |
+
"completions/mean_length": 1802.296875,
|
| 597 |
+
"completions/mean_terminated_length": 1065.1875,
|
| 598 |
+
"completions/min_length": 572.0,
|
| 599 |
+
"completions/min_terminated_length": 572.0,
|
| 600 |
+
"epoch": 0.027428571428571427,
|
| 601 |
+
"frac_reward_zero_std": 0.0,
|
| 602 |
+
"grad_norm": 0.24961258471012115,
|
| 603 |
+
"learning_rate": 4.6e-07,
|
| 604 |
+
"loss": 0.0,
|
| 605 |
+
"num_tokens": 2958678.0,
|
| 606 |
+
"reward": -0.18733163177967072,
|
| 607 |
+
"reward_std": 0.2773033380508423,
|
| 608 |
+
"rewards/cosine_scaled_reward/mean": -0.1873316466808319,
|
| 609 |
+
"rewards/cosine_scaled_reward/std": 0.37051624059677124,
|
| 610 |
+
"step": 24
|
| 611 |
+
},
|
| 612 |
+
{
|
| 613 |
+
"clip_ratio/high_max": 0.0,
|
| 614 |
+
"clip_ratio/high_mean": 0.0,
|
| 615 |
+
"clip_ratio/low_mean": 0.0,
|
| 616 |
+
"clip_ratio/low_min": 0.0,
|
| 617 |
+
"clip_ratio/region_mean": 0.0,
|
| 618 |
+
"completions/clipped_ratio": 0.703125,
|
| 619 |
+
"completions/max_length": 2048.0,
|
| 620 |
+
"completions/max_terminated_length": 1848.0,
|
| 621 |
+
"completions/mean_length": 1731.53125,
|
| 622 |
+
"completions/mean_terminated_length": 982.0,
|
| 623 |
+
"completions/min_length": 406.0,
|
| 624 |
+
"completions/min_terminated_length": 406.0,
|
| 625 |
+
"epoch": 0.02857142857142857,
|
| 626 |
+
"frac_reward_zero_std": 0.0,
|
| 627 |
+
"grad_norm": 0.2662124037742615,
|
| 628 |
+
"learning_rate": 4.8e-07,
|
| 629 |
+
"loss": 0.0,
|
| 630 |
+
"num_tokens": 3079792.0,
|
| 631 |
+
"reward": -0.12407588213682175,
|
| 632 |
+
"reward_std": 0.25581949949264526,
|
| 633 |
+
"rewards/cosine_scaled_reward/mean": -0.12407589703798294,
|
| 634 |
+
"rewards/cosine_scaled_reward/std": 0.39043793082237244,
|
| 635 |
+
"step": 25
|
| 636 |
+
},
|
| 637 |
+
{
|
| 638 |
+
"clip_ratio/high_max": 0.0,
|
| 639 |
+
"clip_ratio/high_mean": 0.0,
|
| 640 |
+
"clip_ratio/low_mean": 0.0,
|
| 641 |
+
"clip_ratio/low_min": 0.0,
|
| 642 |
+
"clip_ratio/region_mean": 0.0,
|
| 643 |
+
"completions/clipped_ratio": 0.828125,
|
| 644 |
+
"completions/max_length": 2048.0,
|
| 645 |
+
"completions/max_terminated_length": 2017.0,
|
| 646 |
+
"completions/mean_length": 1965.46875,
|
| 647 |
+
"completions/mean_terminated_length": 1567.8182373046875,
|
| 648 |
+
"completions/min_length": 1006.0,
|
| 649 |
+
"completions/min_terminated_length": 1006.0,
|
| 650 |
+
"epoch": 0.029714285714285714,
|
| 651 |
+
"frac_reward_zero_std": 0.0,
|
| 652 |
+
"grad_norm": 0.23202598094940186,
|
| 653 |
+
"learning_rate": 5e-07,
|
| 654 |
+
"loss": 0.0,
|
| 655 |
+
"num_tokens": 3216214.0,
|
| 656 |
+
"reward": -0.0963105633854866,
|
| 657 |
+
"reward_std": 0.30887559056282043,
|
| 658 |
+
"rewards/cosine_scaled_reward/mean": -0.0963105633854866,
|
| 659 |
+
"rewards/cosine_scaled_reward/std": 0.39396020770072937,
|
| 660 |
+
"step": 26
|
| 661 |
+
},
|
| 662 |
+
{
|
| 663 |
+
"clip_ratio/high_max": 0.0,
|
| 664 |
+
"clip_ratio/high_mean": 0.0,
|
| 665 |
+
"clip_ratio/low_mean": 0.0,
|
| 666 |
+
"clip_ratio/low_min": 0.0,
|
| 667 |
+
"clip_ratio/region_mean": 0.0,
|
| 668 |
+
"completions/clipped_ratio": 0.828125,
|
| 669 |
+
"completions/max_length": 2048.0,
|
| 670 |
+
"completions/max_terminated_length": 2023.0,
|
| 671 |
+
"completions/mean_length": 1886.96875,
|
| 672 |
+
"completions/mean_terminated_length": 1111.0909423828125,
|
| 673 |
+
"completions/min_length": 498.0,
|
| 674 |
+
"completions/min_terminated_length": 498.0,
|
| 675 |
+
"epoch": 0.030857142857142857,
|
| 676 |
+
"frac_reward_zero_std": 0.0,
|
| 677 |
+
"grad_norm": 0.2878379225730896,
|
| 678 |
+
"learning_rate": 5.2e-07,
|
| 679 |
+
"loss": -0.0,
|
| 680 |
+
"num_tokens": 3347268.0,
|
| 681 |
+
"reward": -0.1645491123199463,
|
| 682 |
+
"reward_std": 0.28629785776138306,
|
| 683 |
+
"rewards/cosine_scaled_reward/mean": -0.1645491123199463,
|
| 684 |
+
"rewards/cosine_scaled_reward/std": 0.35050687193870544,
|
| 685 |
+
"step": 27
|
| 686 |
+
},
|
| 687 |
+
{
|
| 688 |
+
"clip_ratio/high_max": 0.0,
|
| 689 |
+
"clip_ratio/high_mean": 0.0,
|
| 690 |
+
"clip_ratio/low_mean": 0.0,
|
| 691 |
+
"clip_ratio/low_min": 0.0,
|
| 692 |
+
"clip_ratio/region_mean": 0.0,
|
| 693 |
+
"completions/clipped_ratio": 0.75,
|
| 694 |
+
"completions/max_length": 2048.0,
|
| 695 |
+
"completions/max_terminated_length": 1995.0,
|
| 696 |
+
"completions/mean_length": 1843.640625,
|
| 697 |
+
"completions/mean_terminated_length": 1230.5625,
|
| 698 |
+
"completions/min_length": 444.0,
|
| 699 |
+
"completions/min_terminated_length": 444.0,
|
| 700 |
+
"epoch": 0.032,
|
| 701 |
+
"frac_reward_zero_std": 0.0,
|
| 702 |
+
"grad_norm": 0.24996496737003326,
|
| 703 |
+
"learning_rate": 5.4e-07,
|
| 704 |
+
"loss": 0.0,
|
| 705 |
+
"num_tokens": 3475597.0,
|
| 706 |
+
"reward": -0.06605555862188339,
|
| 707 |
+
"reward_std": 0.2643629312515259,
|
| 708 |
+
"rewards/cosine_scaled_reward/mean": -0.06605555862188339,
|
| 709 |
+
"rewards/cosine_scaled_reward/std": 0.438128799200058,
|
| 710 |
+
"step": 28
|
| 711 |
+
},
|
| 712 |
+
{
|
| 713 |
+
"clip_ratio/high_max": 0.0,
|
| 714 |
+
"clip_ratio/high_mean": 0.0,
|
| 715 |
+
"clip_ratio/low_mean": 0.0,
|
| 716 |
+
"clip_ratio/low_min": 0.0,
|
| 717 |
+
"clip_ratio/region_mean": 0.0,
|
| 718 |
+
"completions/clipped_ratio": 0.9375,
|
| 719 |
+
"completions/max_length": 2048.0,
|
| 720 |
+
"completions/max_terminated_length": 2005.0,
|
| 721 |
+
"completions/mean_length": 2020.5,
|
| 722 |
+
"completions/mean_terminated_length": 1608.0,
|
| 723 |
+
"completions/min_length": 516.0,
|
| 724 |
+
"completions/min_terminated_length": 516.0,
|
| 725 |
+
"epoch": 0.03314285714285714,
|
| 726 |
+
"frac_reward_zero_std": 0.0,
|
| 727 |
+
"grad_norm": 0.23316837847232819,
|
| 728 |
+
"learning_rate": 5.6e-07,
|
| 729 |
+
"loss": -0.0,
|
| 730 |
+
"num_tokens": 3615381.0,
|
| 731 |
+
"reward": -0.2015206664800644,
|
| 732 |
+
"reward_std": 0.15312039852142334,
|
| 733 |
+
"rewards/cosine_scaled_reward/mean": -0.2015206664800644,
|
| 734 |
+
"rewards/cosine_scaled_reward/std": 0.1648881882429123,
|
| 735 |
+
"step": 29
|
| 736 |
+
},
|
| 737 |
+
{
|
| 738 |
+
"clip_ratio/high_max": 0.0,
|
| 739 |
+
"clip_ratio/high_mean": 0.0,
|
| 740 |
+
"clip_ratio/low_mean": 0.0,
|
| 741 |
+
"clip_ratio/low_min": 0.0,
|
| 742 |
+
"clip_ratio/region_mean": 0.0,
|
| 743 |
+
"completions/clipped_ratio": 0.796875,
|
| 744 |
+
"completions/max_length": 2048.0,
|
| 745 |
+
"completions/max_terminated_length": 1839.0,
|
| 746 |
+
"completions/mean_length": 1826.046875,
|
| 747 |
+
"completions/mean_terminated_length": 955.3077392578125,
|
| 748 |
+
"completions/min_length": 364.0,
|
| 749 |
+
"completions/min_terminated_length": 364.0,
|
| 750 |
+
"epoch": 0.03428571428571429,
|
| 751 |
+
"frac_reward_zero_std": 0.0,
|
| 752 |
+
"grad_norm": 0.2410832792520523,
|
| 753 |
+
"learning_rate": 5.8e-07,
|
| 754 |
+
"loss": -0.0,
|
| 755 |
+
"num_tokens": 3742784.0,
|
| 756 |
+
"reward": -0.17509159445762634,
|
| 757 |
+
"reward_std": 0.18994277715682983,
|
| 758 |
+
"rewards/cosine_scaled_reward/mean": -0.17509159445762634,
|
| 759 |
+
"rewards/cosine_scaled_reward/std": 0.22516494989395142,
|
| 760 |
+
"step": 30
|
| 761 |
+
},
|
| 762 |
+
{
|
| 763 |
+
"clip_ratio/high_max": 0.0,
|
| 764 |
+
"clip_ratio/high_mean": 0.0,
|
| 765 |
+
"clip_ratio/low_mean": 0.0,
|
| 766 |
+
"clip_ratio/low_min": 0.0,
|
| 767 |
+
"clip_ratio/region_mean": 0.0,
|
| 768 |
+
"completions/clipped_ratio": 0.765625,
|
| 769 |
+
"completions/max_length": 2048.0,
|
| 770 |
+
"completions/max_terminated_length": 1678.0,
|
| 771 |
+
"completions/mean_length": 1781.4375,
|
| 772 |
+
"completions/mean_terminated_length": 910.6666870117188,
|
| 773 |
+
"completions/min_length": 313.0,
|
| 774 |
+
"completions/min_terminated_length": 313.0,
|
| 775 |
+
"epoch": 0.03542857142857143,
|
| 776 |
+
"frac_reward_zero_std": 0.0,
|
| 777 |
+
"grad_norm": 0.2693414092063904,
|
| 778 |
+
"learning_rate": 6e-07,
|
| 779 |
+
"loss": 0.0,
|
| 780 |
+
"num_tokens": 3867292.0,
|
| 781 |
+
"reward": -0.24513831734657288,
|
| 782 |
+
"reward_std": 0.28315529227256775,
|
| 783 |
+
"rewards/cosine_scaled_reward/mean": -0.24513831734657288,
|
| 784 |
+
"rewards/cosine_scaled_reward/std": 0.3480584919452667,
|
| 785 |
+
"step": 31
|
| 786 |
+
},
|
| 787 |
+
{
|
| 788 |
+
"clip_ratio/high_max": 0.0,
|
| 789 |
+
"clip_ratio/high_mean": 0.0,
|
| 790 |
+
"clip_ratio/low_mean": 0.0,
|
| 791 |
+
"clip_ratio/low_min": 0.0,
|
| 792 |
+
"clip_ratio/region_mean": 0.0,
|
| 793 |
+
"completions/clipped_ratio": 0.859375,
|
| 794 |
+
"completions/max_length": 2048.0,
|
| 795 |
+
"completions/max_terminated_length": 1975.0,
|
| 796 |
+
"completions/mean_length": 1969.28125,
|
| 797 |
+
"completions/mean_terminated_length": 1488.2222900390625,
|
| 798 |
+
"completions/min_length": 1088.0,
|
| 799 |
+
"completions/min_terminated_length": 1088.0,
|
| 800 |
+
"epoch": 0.036571428571428574,
|
| 801 |
+
"frac_reward_zero_std": 0.0,
|
| 802 |
+
"grad_norm": 0.24202018976211548,
|
| 803 |
+
"learning_rate": 6.2e-07,
|
| 804 |
+
"loss": 0.0,
|
| 805 |
+
"num_tokens": 4003678.0,
|
| 806 |
+
"reward": -0.18968716263771057,
|
| 807 |
+
"reward_std": 0.28299200534820557,
|
| 808 |
+
"rewards/cosine_scaled_reward/mean": -0.18968716263771057,
|
| 809 |
+
"rewards/cosine_scaled_reward/std": 0.3119950294494629,
|
| 810 |
+
"step": 32
|
| 811 |
+
},
|
| 812 |
+
{
|
| 813 |
+
"clip_ratio/high_max": 0.0,
|
| 814 |
+
"clip_ratio/high_mean": 0.0,
|
| 815 |
+
"clip_ratio/low_mean": 0.0,
|
| 816 |
+
"clip_ratio/low_min": 0.0,
|
| 817 |
+
"clip_ratio/region_mean": 0.0,
|
| 818 |
+
"completions/clipped_ratio": 1.0,
|
| 819 |
+
"completions/max_length": 2048.0,
|
| 820 |
+
"completions/max_terminated_length": 0.0,
|
| 821 |
+
"completions/mean_length": 2048.0,
|
| 822 |
+
"completions/mean_terminated_length": 0.0,
|
| 823 |
+
"completions/min_length": 2048.0,
|
| 824 |
+
"completions/min_terminated_length": 0.0,
|
| 825 |
+
"epoch": 0.037714285714285714,
|
| 826 |
+
"frac_reward_zero_std": 0.0,
|
| 827 |
+
"grad_norm": 0.22288212180137634,
|
| 828 |
+
"learning_rate": 6.4e-07,
|
| 829 |
+
"loss": 0.0,
|
| 830 |
+
"num_tokens": 4145966.0,
|
| 831 |
+
"reward": -0.2955162525177002,
|
| 832 |
+
"reward_std": 0.17793573439121246,
|
| 833 |
+
"rewards/cosine_scaled_reward/mean": -0.2955162525177002,
|
| 834 |
+
"rewards/cosine_scaled_reward/std": 0.22786569595336914,
|
| 835 |
+
"step": 33
|
| 836 |
+
},
|
| 837 |
+
{
|
| 838 |
+
"clip_ratio/high_max": 0.0,
|
| 839 |
+
"clip_ratio/high_mean": 0.0,
|
| 840 |
+
"clip_ratio/low_mean": 0.0,
|
| 841 |
+
"clip_ratio/low_min": 0.0,
|
| 842 |
+
"clip_ratio/region_mean": 0.0,
|
| 843 |
+
"completions/clipped_ratio": 0.546875,
|
| 844 |
+
"completions/max_length": 2048.0,
|
| 845 |
+
"completions/max_terminated_length": 1809.0,
|
| 846 |
+
"completions/mean_length": 1589.640625,
|
| 847 |
+
"completions/mean_terminated_length": 1036.4482421875,
|
| 848 |
+
"completions/min_length": 515.0,
|
| 849 |
+
"completions/min_terminated_length": 515.0,
|
| 850 |
+
"epoch": 0.038857142857142854,
|
| 851 |
+
"frac_reward_zero_std": 0.0,
|
| 852 |
+
"grad_norm": 0.31030499935150146,
|
| 853 |
+
"learning_rate": 6.6e-07,
|
| 854 |
+
"loss": 0.0,
|
| 855 |
+
"num_tokens": 4257255.0,
|
| 856 |
+
"reward": 0.008002171292901039,
|
| 857 |
+
"reward_std": 0.3413254916667938,
|
| 858 |
+
"rewards/cosine_scaled_reward/mean": 0.008002176880836487,
|
| 859 |
+
"rewards/cosine_scaled_reward/std": 0.4431404769420624,
|
| 860 |
+
"step": 34
|
| 861 |
+
},
|
| 862 |
+
{
|
| 863 |
+
"clip_ratio/high_max": 0.0,
|
| 864 |
+
"clip_ratio/high_mean": 0.0,
|
| 865 |
+
"clip_ratio/low_mean": 0.0,
|
| 866 |
+
"clip_ratio/low_min": 0.0,
|
| 867 |
+
"clip_ratio/region_mean": 0.0,
|
| 868 |
+
"completions/clipped_ratio": 0.796875,
|
| 869 |
+
"completions/max_length": 2048.0,
|
| 870 |
+
"completions/max_terminated_length": 1987.0,
|
| 871 |
+
"completions/mean_length": 1785.921875,
|
| 872 |
+
"completions/mean_terminated_length": 757.769287109375,
|
| 873 |
+
"completions/min_length": 385.0,
|
| 874 |
+
"completions/min_terminated_length": 385.0,
|
| 875 |
+
"epoch": 0.04,
|
| 876 |
+
"frac_reward_zero_std": 0.0,
|
| 877 |
+
"grad_norm": 0.3145958483219147,
|
| 878 |
+
"learning_rate": 6.800000000000001e-07,
|
| 879 |
+
"loss": -0.0,
|
| 880 |
+
"num_tokens": 4383050.0,
|
| 881 |
+
"reward": -0.16386553645133972,
|
| 882 |
+
"reward_std": 0.2818174958229065,
|
| 883 |
+
"rewards/cosine_scaled_reward/mean": -0.16386555135250092,
|
| 884 |
+
"rewards/cosine_scaled_reward/std": 0.3242056965827942,
|
| 885 |
+
"step": 35
|
| 886 |
+
},
|
| 887 |
+
{
|
| 888 |
+
"clip_ratio/high_max": 0.0,
|
| 889 |
+
"clip_ratio/high_mean": 0.0,
|
| 890 |
+
"clip_ratio/low_mean": 0.0,
|
| 891 |
+
"clip_ratio/low_min": 0.0,
|
| 892 |
+
"clip_ratio/region_mean": 0.0,
|
| 893 |
+
"completions/clipped_ratio": 0.953125,
|
| 894 |
+
"completions/max_length": 2048.0,
|
| 895 |
+
"completions/max_terminated_length": 1195.0,
|
| 896 |
+
"completions/mean_length": 2000.421875,
|
| 897 |
+
"completions/mean_terminated_length": 1033.0,
|
| 898 |
+
"completions/min_length": 863.0,
|
| 899 |
+
"completions/min_terminated_length": 863.0,
|
| 900 |
+
"epoch": 0.04114285714285714,
|
| 901 |
+
"frac_reward_zero_std": 0.0,
|
| 902 |
+
"grad_norm": 0.25796815752983093,
|
| 903 |
+
"learning_rate": 7e-07,
|
| 904 |
+
"loss": 0.0,
|
| 905 |
+
"num_tokens": 4522189.0,
|
| 906 |
+
"reward": -0.2470606118440628,
|
| 907 |
+
"reward_std": 0.15509279072284698,
|
| 908 |
+
"rewards/cosine_scaled_reward/mean": -0.2470606118440628,
|
| 909 |
+
"rewards/cosine_scaled_reward/std": 0.16412879526615143,
|
| 910 |
+
"step": 36
|
| 911 |
+
},
|
| 912 |
+
{
|
| 913 |
+
"clip_ratio/high_max": 0.0,
|
| 914 |
+
"clip_ratio/high_mean": 0.0,
|
| 915 |
+
"clip_ratio/low_mean": 0.0,
|
| 916 |
+
"clip_ratio/low_min": 0.0,
|
| 917 |
+
"clip_ratio/region_mean": 0.0,
|
| 918 |
+
"completions/clipped_ratio": 0.890625,
|
| 919 |
+
"completions/max_length": 2048.0,
|
| 920 |
+
"completions/max_terminated_length": 2043.0,
|
| 921 |
+
"completions/mean_length": 1964.46875,
|
| 922 |
+
"completions/mean_terminated_length": 1284.2857666015625,
|
| 923 |
+
"completions/min_length": 931.0,
|
| 924 |
+
"completions/min_terminated_length": 931.0,
|
| 925 |
+
"epoch": 0.04228571428571429,
|
| 926 |
+
"frac_reward_zero_std": 0.0,
|
| 927 |
+
"grad_norm": 0.22452199459075928,
|
| 928 |
+
"learning_rate": 7.2e-07,
|
| 929 |
+
"loss": 0.0,
|
| 930 |
+
"num_tokens": 4658939.0,
|
| 931 |
+
"reward": -0.24706938862800598,
|
| 932 |
+
"reward_std": 0.18499845266342163,
|
| 933 |
+
"rewards/cosine_scaled_reward/mean": -0.24706941843032837,
|
| 934 |
+
"rewards/cosine_scaled_reward/std": 0.21092188358306885,
|
| 935 |
+
"step": 37
|
| 936 |
+
},
|
| 937 |
+
{
|
| 938 |
+
"clip_ratio/high_max": 0.0,
|
| 939 |
+
"clip_ratio/high_mean": 0.0,
|
| 940 |
+
"clip_ratio/low_mean": 0.0,
|
| 941 |
+
"clip_ratio/low_min": 0.0,
|
| 942 |
+
"clip_ratio/region_mean": 0.0,
|
| 943 |
+
"completions/clipped_ratio": 0.859375,
|
| 944 |
+
"completions/max_length": 2048.0,
|
| 945 |
+
"completions/max_terminated_length": 1840.0,
|
| 946 |
+
"completions/mean_length": 1925.234375,
|
| 947 |
+
"completions/mean_terminated_length": 1175.0,
|
| 948 |
+
"completions/min_length": 916.0,
|
| 949 |
+
"completions/min_terminated_length": 916.0,
|
| 950 |
+
"epoch": 0.04342857142857143,
|
| 951 |
+
"frac_reward_zero_std": 0.0,
|
| 952 |
+
"grad_norm": 0.23703666031360626,
|
| 953 |
+
"learning_rate": 7.4e-07,
|
| 954 |
+
"loss": -0.0,
|
| 955 |
+
"num_tokens": 4793866.0,
|
| 956 |
+
"reward": -0.11504355818033218,
|
| 957 |
+
"reward_std": 0.20660358667373657,
|
| 958 |
+
"rewards/cosine_scaled_reward/mean": -0.11504356563091278,
|
| 959 |
+
"rewards/cosine_scaled_reward/std": 0.3190351724624634,
|
| 960 |
+
"step": 38
|
| 961 |
+
},
|
| 962 |
+
{
|
| 963 |
+
"clip_ratio/high_max": 0.0,
|
| 964 |
+
"clip_ratio/high_mean": 0.0,
|
| 965 |
+
"clip_ratio/low_mean": 0.0,
|
| 966 |
+
"clip_ratio/low_min": 0.0,
|
| 967 |
+
"clip_ratio/region_mean": 0.0,
|
| 968 |
+
"completions/clipped_ratio": 0.78125,
|
| 969 |
+
"completions/max_length": 2048.0,
|
| 970 |
+
"completions/max_terminated_length": 1412.0,
|
| 971 |
+
"completions/mean_length": 1740.546875,
|
| 972 |
+
"completions/mean_terminated_length": 642.5,
|
| 973 |
+
"completions/min_length": 339.0,
|
| 974 |
+
"completions/min_terminated_length": 339.0,
|
| 975 |
+
"epoch": 0.044571428571428574,
|
| 976 |
+
"frac_reward_zero_std": 0.0,
|
| 977 |
+
"grad_norm": 0.23829001188278198,
|
| 978 |
+
"learning_rate": 7.599999999999999e-07,
|
| 979 |
+
"loss": 0.0,
|
| 980 |
+
"num_tokens": 4916045.0,
|
| 981 |
+
"reward": -0.12095541507005692,
|
| 982 |
+
"reward_std": 0.1958026885986328,
|
| 983 |
+
"rewards/cosine_scaled_reward/mean": -0.12095542997121811,
|
| 984 |
+
"rewards/cosine_scaled_reward/std": 0.340241402387619,
|
| 985 |
+
"step": 39
|
| 986 |
+
},
|
| 987 |
+
{
|
| 988 |
+
"clip_ratio/high_max": 0.0,
|
| 989 |
+
"clip_ratio/high_mean": 0.0,
|
| 990 |
+
"clip_ratio/low_mean": 0.0,
|
| 991 |
+
"clip_ratio/low_min": 0.0,
|
| 992 |
+
"clip_ratio/region_mean": 0.0,
|
| 993 |
+
"completions/clipped_ratio": 0.703125,
|
| 994 |
+
"completions/max_length": 2048.0,
|
| 995 |
+
"completions/max_terminated_length": 1918.0,
|
| 996 |
+
"completions/mean_length": 1713.203125,
|
| 997 |
+
"completions/mean_terminated_length": 920.26318359375,
|
| 998 |
+
"completions/min_length": 451.0,
|
| 999 |
+
"completions/min_terminated_length": 451.0,
|
| 1000 |
+
"epoch": 0.045714285714285714,
|
| 1001 |
+
"frac_reward_zero_std": 0.0,
|
| 1002 |
+
"grad_norm": 0.24145744740962982,
|
| 1003 |
+
"learning_rate": 7.799999999999999e-07,
|
| 1004 |
+
"loss": -0.0,
|
| 1005 |
+
"num_tokens": 5035762.0,
|
| 1006 |
+
"reward": -0.10936243832111359,
|
| 1007 |
+
"reward_std": 0.14468500018119812,
|
| 1008 |
+
"rewards/cosine_scaled_reward/mean": -0.10936242341995239,
|
| 1009 |
+
"rewards/cosine_scaled_reward/std": 0.4288744330406189,
|
| 1010 |
+
"step": 40
|
| 1011 |
+
},
|
| 1012 |
+
{
|
| 1013 |
+
"clip_ratio/high_max": 0.0,
|
| 1014 |
+
"clip_ratio/high_mean": 0.0,
|
| 1015 |
+
"clip_ratio/low_mean": 0.0,
|
| 1016 |
+
"clip_ratio/low_min": 0.0,
|
| 1017 |
+
"clip_ratio/region_mean": 0.0,
|
| 1018 |
+
"completions/clipped_ratio": 0.796875,
|
| 1019 |
+
"completions/max_length": 2048.0,
|
| 1020 |
+
"completions/max_terminated_length": 1801.0,
|
| 1021 |
+
"completions/mean_length": 1909.71875,
|
| 1022 |
+
"completions/mean_terminated_length": 1367.2308349609375,
|
| 1023 |
+
"completions/min_length": 1138.0,
|
| 1024 |
+
"completions/min_terminated_length": 1138.0,
|
| 1025 |
+
"epoch": 0.046857142857142854,
|
| 1026 |
+
"frac_reward_zero_std": 0.0,
|
| 1027 |
+
"grad_norm": 0.22317881882190704,
|
| 1028 |
+
"learning_rate": 8e-07,
|
| 1029 |
+
"loss": 0.0,
|
| 1030 |
+
"num_tokens": 5169136.0,
|
| 1031 |
+
"reward": -0.2058967649936676,
|
| 1032 |
+
"reward_std": 0.2325170338153839,
|
| 1033 |
+
"rewards/cosine_scaled_reward/mean": -0.20589673519134521,
|
| 1034 |
+
"rewards/cosine_scaled_reward/std": 0.28897321224212646,
|
| 1035 |
+
"step": 41
|
| 1036 |
+
},
|
| 1037 |
+
{
|
| 1038 |
+
"clip_ratio/high_max": 0.0,
|
| 1039 |
+
"clip_ratio/high_mean": 0.0,
|
| 1040 |
+
"clip_ratio/low_mean": 0.0,
|
| 1041 |
+
"clip_ratio/low_min": 0.0,
|
| 1042 |
+
"clip_ratio/region_mean": 0.0,
|
| 1043 |
+
"completions/clipped_ratio": 0.78125,
|
| 1044 |
+
"completions/max_length": 2048.0,
|
| 1045 |
+
"completions/max_terminated_length": 1752.0,
|
| 1046 |
+
"completions/mean_length": 1727.71875,
|
| 1047 |
+
"completions/mean_terminated_length": 583.857177734375,
|
| 1048 |
+
"completions/min_length": 159.0,
|
| 1049 |
+
"completions/min_terminated_length": 159.0,
|
| 1050 |
+
"epoch": 0.048,
|
| 1051 |
+
"frac_reward_zero_std": 0.0,
|
| 1052 |
+
"grad_norm": 0.44688937067985535,
|
| 1053 |
+
"learning_rate": 8.199999999999999e-07,
|
| 1054 |
+
"loss": 0.0,
|
| 1055 |
+
"num_tokens": 5290070.0,
|
| 1056 |
+
"reward": -0.2254919707775116,
|
| 1057 |
+
"reward_std": 0.1687203049659729,
|
| 1058 |
+
"rewards/cosine_scaled_reward/mean": -0.2254919707775116,
|
| 1059 |
+
"rewards/cosine_scaled_reward/std": 0.18203677237033844,
|
| 1060 |
+
"step": 42
|
| 1061 |
+
},
|
| 1062 |
+
{
|
| 1063 |
+
"clip_ratio/high_max": 0.0,
|
| 1064 |
+
"clip_ratio/high_mean": 0.0,
|
| 1065 |
+
"clip_ratio/low_mean": 0.0,
|
| 1066 |
+
"clip_ratio/low_min": 0.0,
|
| 1067 |
+
"clip_ratio/region_mean": 0.0,
|
| 1068 |
+
"completions/clipped_ratio": 0.84375,
|
| 1069 |
+
"completions/max_length": 2048.0,
|
| 1070 |
+
"completions/max_terminated_length": 1082.0,
|
| 1071 |
+
"completions/mean_length": 1855.328125,
|
| 1072 |
+
"completions/mean_terminated_length": 814.9000244140625,
|
| 1073 |
+
"completions/min_length": 588.0,
|
| 1074 |
+
"completions/min_terminated_length": 588.0,
|
| 1075 |
+
"epoch": 0.04914285714285714,
|
| 1076 |
+
"frac_reward_zero_std": 0.0,
|
| 1077 |
+
"grad_norm": 0.2430828958749771,
|
| 1078 |
+
"learning_rate": 8.399999999999999e-07,
|
| 1079 |
+
"loss": 0.0,
|
| 1080 |
+
"num_tokens": 5420427.0,
|
| 1081 |
+
"reward": -0.09104865789413452,
|
| 1082 |
+
"reward_std": 0.18217626214027405,
|
| 1083 |
+
"rewards/cosine_scaled_reward/mean": -0.09104865789413452,
|
| 1084 |
+
"rewards/cosine_scaled_reward/std": 0.3521345257759094,
|
| 1085 |
+
"step": 43
|
| 1086 |
+
},
|
| 1087 |
+
{
|
| 1088 |
+
"clip_ratio/high_max": 0.0,
|
| 1089 |
+
"clip_ratio/high_mean": 0.0,
|
| 1090 |
+
"clip_ratio/low_mean": 0.0,
|
| 1091 |
+
"clip_ratio/low_min": 0.0,
|
| 1092 |
+
"clip_ratio/region_mean": 0.0,
|
| 1093 |
+
"completions/clipped_ratio": 0.75,
|
| 1094 |
+
"completions/max_length": 2048.0,
|
| 1095 |
+
"completions/max_terminated_length": 1675.0,
|
| 1096 |
+
"completions/mean_length": 1727.9375,
|
| 1097 |
+
"completions/mean_terminated_length": 767.75,
|
| 1098 |
+
"completions/min_length": 407.0,
|
| 1099 |
+
"completions/min_terminated_length": 407.0,
|
| 1100 |
+
"epoch": 0.05028571428571429,
|
| 1101 |
+
"frac_reward_zero_std": 0.0,
|
| 1102 |
+
"grad_norm": 0.32065215706825256,
|
| 1103 |
+
"learning_rate": 8.599999999999999e-07,
|
| 1104 |
+
"loss": 0.0,
|
| 1105 |
+
"num_tokens": 5541711.0,
|
| 1106 |
+
"reward": -0.17701950669288635,
|
| 1107 |
+
"reward_std": 0.2957555055618286,
|
| 1108 |
+
"rewards/cosine_scaled_reward/mean": -0.17701953649520874,
|
| 1109 |
+
"rewards/cosine_scaled_reward/std": 0.38460060954093933,
|
| 1110 |
+
"step": 44
|
| 1111 |
+
},
|
| 1112 |
+
{
|
| 1113 |
+
"clip_ratio/high_max": 0.0,
|
| 1114 |
+
"clip_ratio/high_mean": 0.0,
|
| 1115 |
+
"clip_ratio/low_mean": 0.0,
|
| 1116 |
+
"clip_ratio/low_min": 0.0,
|
| 1117 |
+
"clip_ratio/region_mean": 0.0,
|
| 1118 |
+
"completions/clipped_ratio": 0.953125,
|
| 1119 |
+
"completions/max_length": 2048.0,
|
| 1120 |
+
"completions/max_terminated_length": 2032.0,
|
| 1121 |
+
"completions/mean_length": 2013.9375,
|
| 1122 |
+
"completions/mean_terminated_length": 1321.3333740234375,
|
| 1123 |
+
"completions/min_length": 740.0,
|
| 1124 |
+
"completions/min_terminated_length": 740.0,
|
| 1125 |
+
"epoch": 0.05142857142857143,
|
| 1126 |
+
"frac_reward_zero_std": 0.0,
|
| 1127 |
+
"grad_norm": 0.22363637387752533,
|
| 1128 |
+
"learning_rate": 8.799999999999999e-07,
|
| 1129 |
+
"loss": 0.0,
|
| 1130 |
+
"num_tokens": 5682259.0,
|
| 1131 |
+
"reward": -0.20341511070728302,
|
| 1132 |
+
"reward_std": 0.23104795813560486,
|
| 1133 |
+
"rewards/cosine_scaled_reward/mean": -0.20341511070728302,
|
| 1134 |
+
"rewards/cosine_scaled_reward/std": 0.3092363774776459,
|
| 1135 |
+
"step": 45
|
| 1136 |
+
},
|
| 1137 |
+
{
|
| 1138 |
+
"clip_ratio/high_max": 0.0,
|
| 1139 |
+
"clip_ratio/high_mean": 0.0,
|
| 1140 |
+
"clip_ratio/low_mean": 0.0,
|
| 1141 |
+
"clip_ratio/low_min": 0.0,
|
| 1142 |
+
"clip_ratio/region_mean": 0.0,
|
| 1143 |
+
"completions/clipped_ratio": 0.875,
|
| 1144 |
+
"completions/max_length": 2048.0,
|
| 1145 |
+
"completions/max_terminated_length": 1224.0,
|
| 1146 |
+
"completions/mean_length": 1909.0,
|
| 1147 |
+
"completions/mean_terminated_length": 936.0,
|
| 1148 |
+
"completions/min_length": 525.0,
|
| 1149 |
+
"completions/min_terminated_length": 525.0,
|
| 1150 |
+
"epoch": 0.052571428571428575,
|
| 1151 |
+
"frac_reward_zero_std": 0.0,
|
| 1152 |
+
"grad_norm": 0.26306217908859253,
|
| 1153 |
+
"learning_rate": 9e-07,
|
| 1154 |
+
"loss": 0.0,
|
| 1155 |
+
"num_tokens": 5815603.0,
|
| 1156 |
+
"reward": -0.26145532727241516,
|
| 1157 |
+
"reward_std": 0.17108051478862762,
|
| 1158 |
+
"rewards/cosine_scaled_reward/mean": -0.2614552974700928,
|
| 1159 |
+
"rewards/cosine_scaled_reward/std": 0.18312901258468628,
|
| 1160 |
+
"step": 46
|
| 1161 |
+
},
|
| 1162 |
+
{
|
| 1163 |
+
"clip_ratio/high_max": 0.0,
|
| 1164 |
+
"clip_ratio/high_mean": 0.0,
|
| 1165 |
+
"clip_ratio/low_mean": 0.0,
|
| 1166 |
+
"clip_ratio/low_min": 0.0,
|
| 1167 |
+
"clip_ratio/region_mean": 0.0,
|
| 1168 |
+
"completions/clipped_ratio": 0.75,
|
| 1169 |
+
"completions/max_length": 2048.0,
|
| 1170 |
+
"completions/max_terminated_length": 1668.0,
|
| 1171 |
+
"completions/mean_length": 1757.1875,
|
| 1172 |
+
"completions/mean_terminated_length": 884.75,
|
| 1173 |
+
"completions/min_length": 477.0,
|
| 1174 |
+
"completions/min_terminated_length": 477.0,
|
| 1175 |
+
"epoch": 0.053714285714285714,
|
| 1176 |
+
"frac_reward_zero_std": 0.0,
|
| 1177 |
+
"grad_norm": 0.2856813371181488,
|
| 1178 |
+
"learning_rate": 9.2e-07,
|
| 1179 |
+
"loss": 0.0,
|
| 1180 |
+
"num_tokens": 5938463.0,
|
| 1181 |
+
"reward": -0.20879247784614563,
|
| 1182 |
+
"reward_std": 0.23861759901046753,
|
| 1183 |
+
"rewards/cosine_scaled_reward/mean": -0.20879246294498444,
|
| 1184 |
+
"rewards/cosine_scaled_reward/std": 0.39607998728752136,
|
| 1185 |
+
"step": 47
|
| 1186 |
+
},
|
| 1187 |
+
{
|
| 1188 |
+
"clip_ratio/high_max": 0.0,
|
| 1189 |
+
"clip_ratio/high_mean": 0.0,
|
| 1190 |
+
"clip_ratio/low_mean": 0.0,
|
| 1191 |
+
"clip_ratio/low_min": 0.0,
|
| 1192 |
+
"clip_ratio/region_mean": 0.0,
|
| 1193 |
+
"completions/clipped_ratio": 0.71875,
|
| 1194 |
+
"completions/max_length": 2048.0,
|
| 1195 |
+
"completions/max_terminated_length": 1708.0,
|
| 1196 |
+
"completions/mean_length": 1756.5,
|
| 1197 |
+
"completions/mean_terminated_length": 1011.5555419921875,
|
| 1198 |
+
"completions/min_length": 487.0,
|
| 1199 |
+
"completions/min_terminated_length": 487.0,
|
| 1200 |
+
"epoch": 0.054857142857142854,
|
| 1201 |
+
"frac_reward_zero_std": 0.0,
|
| 1202 |
+
"grad_norm": 0.27563413977622986,
|
| 1203 |
+
"learning_rate": 9.399999999999999e-07,
|
| 1204 |
+
"loss": -0.0,
|
| 1205 |
+
"num_tokens": 6061423.0,
|
| 1206 |
+
"reward": -0.16147920489311218,
|
| 1207 |
+
"reward_std": 0.24055320024490356,
|
| 1208 |
+
"rewards/cosine_scaled_reward/mean": -0.16147920489311218,
|
| 1209 |
+
"rewards/cosine_scaled_reward/std": 0.3948959410190582,
|
| 1210 |
+
"step": 48
|
| 1211 |
+
},
|
| 1212 |
+
{
|
| 1213 |
+
"clip_ratio/high_max": 0.0,
|
| 1214 |
+
"clip_ratio/high_mean": 0.0,
|
| 1215 |
+
"clip_ratio/low_mean": 0.0,
|
| 1216 |
+
"clip_ratio/low_min": 0.0,
|
| 1217 |
+
"clip_ratio/region_mean": 0.0,
|
| 1218 |
+
"completions/clipped_ratio": 0.578125,
|
| 1219 |
+
"completions/max_length": 2048.0,
|
| 1220 |
+
"completions/max_terminated_length": 1458.0,
|
| 1221 |
+
"completions/mean_length": 1538.078125,
|
| 1222 |
+
"completions/mean_terminated_length": 839.2963256835938,
|
| 1223 |
+
"completions/min_length": 284.0,
|
| 1224 |
+
"completions/min_terminated_length": 284.0,
|
| 1225 |
+
"epoch": 0.056,
|
| 1226 |
+
"frac_reward_zero_std": 0.0,
|
| 1227 |
+
"grad_norm": 0.27617642283439636,
|
| 1228 |
+
"learning_rate": 9.6e-07,
|
| 1229 |
+
"loss": -0.0,
|
| 1230 |
+
"num_tokens": 6169924.0,
|
| 1231 |
+
"reward": -0.18436825275421143,
|
| 1232 |
+
"reward_std": 0.27141550183296204,
|
| 1233 |
+
"rewards/cosine_scaled_reward/mean": -0.18436823785305023,
|
| 1234 |
+
"rewards/cosine_scaled_reward/std": 0.3920196294784546,
|
| 1235 |
+
"step": 49
|
| 1236 |
+
},
|
| 1237 |
+
{
|
| 1238 |
+
"clip_ratio/high_max": 0.0,
|
| 1239 |
+
"clip_ratio/high_mean": 0.0,
|
| 1240 |
+
"clip_ratio/low_mean": 0.0,
|
| 1241 |
+
"clip_ratio/low_min": 0.0,
|
| 1242 |
+
"clip_ratio/region_mean": 0.0,
|
| 1243 |
+
"completions/clipped_ratio": 0.765625,
|
| 1244 |
+
"completions/max_length": 2048.0,
|
| 1245 |
+
"completions/max_terminated_length": 1938.0,
|
| 1246 |
+
"completions/mean_length": 1749.0625,
|
| 1247 |
+
"completions/mean_terminated_length": 772.5333862304688,
|
| 1248 |
+
"completions/min_length": 235.0,
|
| 1249 |
+
"completions/min_terminated_length": 235.0,
|
| 1250 |
+
"epoch": 0.05714285714285714,
|
| 1251 |
+
"frac_reward_zero_std": 0.0,
|
| 1252 |
+
"grad_norm": 0.23394836485385895,
|
| 1253 |
+
"learning_rate": 9.8e-07,
|
| 1254 |
+
"loss": 0.0,
|
| 1255 |
+
"num_tokens": 6292680.0,
|
| 1256 |
+
"reward": -0.10770958662033081,
|
| 1257 |
+
"reward_std": 0.22513547539710999,
|
| 1258 |
+
"rewards/cosine_scaled_reward/mean": -0.10770957916975021,
|
| 1259 |
+
"rewards/cosine_scaled_reward/std": 0.421062707901001,
|
| 1260 |
+
"step": 50
|
| 1261 |
+
},
|
| 1262 |
+
{
|
| 1263 |
+
"clip_ratio/high_max": 0.0,
|
| 1264 |
+
"clip_ratio/high_mean": 0.0,
|
| 1265 |
+
"clip_ratio/low_mean": 0.0,
|
| 1266 |
+
"clip_ratio/low_min": 0.0,
|
| 1267 |
+
"clip_ratio/region_mean": 0.0,
|
| 1268 |
+
"completions/clipped_ratio": 0.53125,
|
| 1269 |
+
"completions/max_length": 2048.0,
|
| 1270 |
+
"completions/max_terminated_length": 2001.0,
|
| 1271 |
+
"completions/mean_length": 1482.25,
|
| 1272 |
+
"completions/mean_terminated_length": 841.0667114257812,
|
| 1273 |
+
"completions/min_length": 359.0,
|
| 1274 |
+
"completions/min_terminated_length": 359.0,
|
| 1275 |
+
"epoch": 0.05828571428571429,
|
| 1276 |
+
"frac_reward_zero_std": 0.0,
|
| 1277 |
+
"grad_norm": 0.3268967568874359,
|
| 1278 |
+
"learning_rate": 1e-06,
|
| 1279 |
+
"loss": -0.0,
|
| 1280 |
+
"num_tokens": 6397752.0,
|
| 1281 |
+
"reward": -0.09745607525110245,
|
| 1282 |
+
"reward_std": 0.25210899114608765,
|
| 1283 |
+
"rewards/cosine_scaled_reward/mean": -0.09745605289936066,
|
| 1284 |
+
"rewards/cosine_scaled_reward/std": 0.3351369798183441,
|
| 1285 |
+
"step": 51
|
| 1286 |
+
},
|
| 1287 |
+
{
|
| 1288 |
+
"clip_ratio/high_max": 0.0,
|
| 1289 |
+
"clip_ratio/high_mean": 0.0,
|
| 1290 |
+
"clip_ratio/low_mean": 0.0,
|
| 1291 |
+
"clip_ratio/low_min": 0.0,
|
| 1292 |
+
"clip_ratio/region_mean": 0.0,
|
| 1293 |
+
"completions/clipped_ratio": 0.765625,
|
| 1294 |
+
"completions/max_length": 2048.0,
|
| 1295 |
+
"completions/max_terminated_length": 1579.0,
|
| 1296 |
+
"completions/mean_length": 1743.953125,
|
| 1297 |
+
"completions/mean_terminated_length": 750.7333984375,
|
| 1298 |
+
"completions/min_length": 285.0,
|
| 1299 |
+
"completions/min_terminated_length": 285.0,
|
| 1300 |
+
"epoch": 0.05942857142857143,
|
| 1301 |
+
"frac_reward_zero_std": 0.0,
|
| 1302 |
+
"grad_norm": 0.2918722927570343,
|
| 1303 |
+
"learning_rate": 9.999890338174275e-07,
|
| 1304 |
+
"loss": -0.0,
|
| 1305 |
+
"num_tokens": 6520717.0,
|
| 1306 |
+
"reward": -0.1890830397605896,
|
| 1307 |
+
"reward_std": 0.21916288137435913,
|
| 1308 |
+
"rewards/cosine_scaled_reward/mean": -0.1890830546617508,
|
| 1309 |
+
"rewards/cosine_scaled_reward/std": 0.32568052411079407,
|
| 1310 |
+
"step": 52
|
| 1311 |
+
},
|
| 1312 |
+
{
|
| 1313 |
+
"clip_ratio/high_max": 0.0,
|
| 1314 |
+
"clip_ratio/high_mean": 0.0,
|
| 1315 |
+
"clip_ratio/low_mean": 0.0,
|
| 1316 |
+
"clip_ratio/low_min": 0.0,
|
| 1317 |
+
"clip_ratio/region_mean": 0.0,
|
| 1318 |
+
"completions/clipped_ratio": 0.734375,
|
| 1319 |
+
"completions/max_length": 2048.0,
|
| 1320 |
+
"completions/max_terminated_length": 1757.0,
|
| 1321 |
+
"completions/mean_length": 1772.421875,
|
| 1322 |
+
"completions/mean_terminated_length": 1010.5294189453125,
|
| 1323 |
+
"completions/min_length": 520.0,
|
| 1324 |
+
"completions/min_terminated_length": 520.0,
|
| 1325 |
+
"epoch": 0.060571428571428575,
|
| 1326 |
+
"frac_reward_zero_std": 0.0,
|
| 1327 |
+
"grad_norm": 0.24523264169692993,
|
| 1328 |
+
"learning_rate": 9.999561358041868e-07,
|
| 1329 |
+
"loss": 0.0,
|
| 1330 |
+
"num_tokens": 6644984.0,
|
| 1331 |
+
"reward": -0.20969681441783905,
|
| 1332 |
+
"reward_std": 0.1810423731803894,
|
| 1333 |
+
"rewards/cosine_scaled_reward/mean": -0.20969681441783905,
|
| 1334 |
+
"rewards/cosine_scaled_reward/std": 0.2371566891670227,
|
| 1335 |
+
"step": 53
|
| 1336 |
+
},
|
| 1337 |
+
{
|
| 1338 |
+
"clip_ratio/high_max": 0.0,
|
| 1339 |
+
"clip_ratio/high_mean": 0.0,
|
| 1340 |
+
"clip_ratio/low_mean": 0.0,
|
| 1341 |
+
"clip_ratio/low_min": 0.0,
|
| 1342 |
+
"clip_ratio/region_mean": 0.0,
|
| 1343 |
+
"completions/clipped_ratio": 0.71875,
|
| 1344 |
+
"completions/max_length": 2048.0,
|
| 1345 |
+
"completions/max_terminated_length": 1961.0,
|
| 1346 |
+
"completions/mean_length": 1838.859375,
|
| 1347 |
+
"completions/mean_terminated_length": 1304.388916015625,
|
| 1348 |
+
"completions/min_length": 422.0,
|
| 1349 |
+
"completions/min_terminated_length": 422.0,
|
| 1350 |
+
"epoch": 0.061714285714285715,
|
| 1351 |
+
"frac_reward_zero_std": 0.0,
|
| 1352 |
+
"grad_norm": 0.23284469544887543,
|
| 1353 |
+
"learning_rate": 9.999013075636804e-07,
|
| 1354 |
+
"loss": 0.0,
|
| 1355 |
+
"num_tokens": 6773815.0,
|
| 1356 |
+
"reward": -0.06641622632741928,
|
| 1357 |
+
"reward_std": 0.30815836787223816,
|
| 1358 |
+
"rewards/cosine_scaled_reward/mean": -0.06641621887683868,
|
| 1359 |
+
"rewards/cosine_scaled_reward/std": 0.46219584345817566,
|
| 1360 |
+
"step": 54
|
| 1361 |
+
},
|
| 1362 |
+
{
|
| 1363 |
+
"clip_ratio/high_max": 0.0,
|
| 1364 |
+
"clip_ratio/high_mean": 0.0,
|
| 1365 |
+
"clip_ratio/low_mean": 0.0,
|
| 1366 |
+
"clip_ratio/low_min": 0.0,
|
| 1367 |
+
"clip_ratio/region_mean": 0.0,
|
| 1368 |
+
"completions/clipped_ratio": 0.75,
|
| 1369 |
+
"completions/max_length": 2048.0,
|
| 1370 |
+
"completions/max_terminated_length": 1803.0,
|
| 1371 |
+
"completions/mean_length": 1750.125,
|
| 1372 |
+
"completions/mean_terminated_length": 856.5,
|
| 1373 |
+
"completions/min_length": 494.0,
|
| 1374 |
+
"completions/min_terminated_length": 494.0,
|
| 1375 |
+
"epoch": 0.06285714285714286,
|
| 1376 |
+
"frac_reward_zero_std": 0.0,
|
| 1377 |
+
"grad_norm": 0.2651103734970093,
|
| 1378 |
+
"learning_rate": 9.998245517681593e-07,
|
| 1379 |
+
"loss": -0.0,
|
| 1380 |
+
"num_tokens": 6896111.0,
|
| 1381 |
+
"reward": -0.10750342905521393,
|
| 1382 |
+
"reward_std": 0.2286185324192047,
|
| 1383 |
+
"rewards/cosine_scaled_reward/mean": -0.10750342160463333,
|
| 1384 |
+
"rewards/cosine_scaled_reward/std": 0.43372800946235657,
|
| 1385 |
+
"step": 55
|
| 1386 |
+
},
|
| 1387 |
+
{
|
| 1388 |
+
"clip_ratio/high_max": 0.0,
|
| 1389 |
+
"clip_ratio/high_mean": 0.0,
|
| 1390 |
+
"clip_ratio/low_mean": 0.0,
|
| 1391 |
+
"clip_ratio/low_min": 0.0,
|
| 1392 |
+
"clip_ratio/region_mean": 0.0,
|
| 1393 |
+
"completions/clipped_ratio": 0.78125,
|
| 1394 |
+
"completions/max_length": 2048.0,
|
| 1395 |
+
"completions/max_terminated_length": 2037.0,
|
| 1396 |
+
"completions/mean_length": 1840.078125,
|
| 1397 |
+
"completions/mean_terminated_length": 1097.5,
|
| 1398 |
+
"completions/min_length": 526.0,
|
| 1399 |
+
"completions/min_terminated_length": 526.0,
|
| 1400 |
+
"epoch": 0.064,
|
| 1401 |
+
"frac_reward_zero_std": 0.0,
|
| 1402 |
+
"grad_norm": 0.22967560589313507,
|
| 1403 |
+
"learning_rate": 9.997258721585931e-07,
|
| 1404 |
+
"loss": -0.0,
|
| 1405 |
+
"num_tokens": 7024836.0,
|
| 1406 |
+
"reward": -0.10045827925205231,
|
| 1407 |
+
"reward_std": 0.2548004388809204,
|
| 1408 |
+
"rewards/cosine_scaled_reward/mean": -0.10045827925205231,
|
| 1409 |
+
"rewards/cosine_scaled_reward/std": 0.41444358229637146,
|
| 1410 |
+
"step": 56
|
| 1411 |
+
},
|
| 1412 |
+
{
|
| 1413 |
+
"clip_ratio/high_max": 0.0,
|
| 1414 |
+
"clip_ratio/high_mean": 0.0,
|
| 1415 |
+
"clip_ratio/low_mean": 0.0,
|
| 1416 |
+
"clip_ratio/low_min": 0.0,
|
| 1417 |
+
"clip_ratio/region_mean": 0.0,
|
| 1418 |
+
"completions/clipped_ratio": 0.90625,
|
| 1419 |
+
"completions/max_length": 2048.0,
|
| 1420 |
+
"completions/max_terminated_length": 1810.0,
|
| 1421 |
+
"completions/mean_length": 1991.1875,
|
| 1422 |
+
"completions/mean_terminated_length": 1442.0,
|
| 1423 |
+
"completions/min_length": 926.0,
|
| 1424 |
+
"completions/min_terminated_length": 926.0,
|
| 1425 |
+
"epoch": 0.06514285714285714,
|
| 1426 |
+
"frac_reward_zero_std": 0.0,
|
| 1427 |
+
"grad_norm": 0.20479348301887512,
|
| 1428 |
+
"learning_rate": 9.996052735444862e-07,
|
| 1429 |
+
"loss": 0.0,
|
| 1430 |
+
"num_tokens": 7163840.0,
|
| 1431 |
+
"reward": -0.27901512384414673,
|
| 1432 |
+
"reward_std": 0.2130473554134369,
|
| 1433 |
+
"rewards/cosine_scaled_reward/mean": -0.27901512384414673,
|
| 1434 |
+
"rewards/cosine_scaled_reward/std": 0.2583855092525482,
|
| 1435 |
+
"step": 57
|
| 1436 |
+
},
|
| 1437 |
+
{
|
| 1438 |
+
"clip_ratio/high_max": 0.0,
|
| 1439 |
+
"clip_ratio/high_mean": 0.0,
|
| 1440 |
+
"clip_ratio/low_mean": 0.0,
|
| 1441 |
+
"clip_ratio/low_min": 0.0,
|
| 1442 |
+
"clip_ratio/region_mean": 0.0,
|
| 1443 |
+
"completions/clipped_ratio": 0.53125,
|
| 1444 |
+
"completions/max_length": 2048.0,
|
| 1445 |
+
"completions/max_terminated_length": 2023.0,
|
| 1446 |
+
"completions/mean_length": 1617.421875,
|
| 1447 |
+
"completions/mean_terminated_length": 1129.433349609375,
|
| 1448 |
+
"completions/min_length": 417.0,
|
| 1449 |
+
"completions/min_terminated_length": 417.0,
|
| 1450 |
+
"epoch": 0.06628571428571428,
|
| 1451 |
+
"frac_reward_zero_std": 0.0,
|
| 1452 |
+
"grad_norm": 0.2690146267414093,
|
| 1453 |
+
"learning_rate": 9.994627618036452e-07,
|
| 1454 |
+
"loss": -0.0,
|
| 1455 |
+
"num_tokens": 7277451.0,
|
| 1456 |
+
"reward": -0.04198366403579712,
|
| 1457 |
+
"reward_std": 0.4036104083061218,
|
| 1458 |
+
"rewards/cosine_scaled_reward/mean": -0.04198366031050682,
|
| 1459 |
+
"rewards/cosine_scaled_reward/std": 0.5008736252784729,
|
| 1460 |
+
"step": 58
|
| 1461 |
+
},
|
| 1462 |
+
{
|
| 1463 |
+
"clip_ratio/high_max": 0.0,
|
| 1464 |
+
"clip_ratio/high_mean": 0.0,
|
| 1465 |
+
"clip_ratio/low_mean": 0.0,
|
| 1466 |
+
"clip_ratio/low_min": 0.0,
|
| 1467 |
+
"clip_ratio/region_mean": 0.0,
|
| 1468 |
+
"completions/clipped_ratio": 0.703125,
|
| 1469 |
+
"completions/max_length": 2048.0,
|
| 1470 |
+
"completions/max_terminated_length": 2022.0,
|
| 1471 |
+
"completions/mean_length": 1736.09375,
|
| 1472 |
+
"completions/mean_terminated_length": 997.368408203125,
|
| 1473 |
+
"completions/min_length": 478.0,
|
| 1474 |
+
"completions/min_terminated_length": 478.0,
|
| 1475 |
+
"epoch": 0.06742857142857143,
|
| 1476 |
+
"frac_reward_zero_std": 0.0,
|
| 1477 |
+
"grad_norm": 0.2184475064277649,
|
| 1478 |
+
"learning_rate": 9.992983438818915e-07,
|
| 1479 |
+
"loss": -0.0,
|
| 1480 |
+
"num_tokens": 7399025.0,
|
| 1481 |
+
"reward": -0.1564982533454895,
|
| 1482 |
+
"reward_std": 0.19560785591602325,
|
| 1483 |
+
"rewards/cosine_scaled_reward/mean": -0.1564982533454895,
|
| 1484 |
+
"rewards/cosine_scaled_reward/std": 0.3402426540851593,
|
| 1485 |
+
"step": 59
|
| 1486 |
+
},
|
| 1487 |
+
{
|
| 1488 |
+
"clip_ratio/high_max": 0.0,
|
| 1489 |
+
"clip_ratio/high_mean": 0.0,
|
| 1490 |
+
"clip_ratio/low_mean": 0.0,
|
| 1491 |
+
"clip_ratio/low_min": 0.0,
|
| 1492 |
+
"clip_ratio/region_mean": 0.0,
|
| 1493 |
+
"completions/clipped_ratio": 0.78125,
|
| 1494 |
+
"completions/max_length": 2048.0,
|
| 1495 |
+
"completions/max_terminated_length": 1512.0,
|
| 1496 |
+
"completions/mean_length": 1785.40625,
|
| 1497 |
+
"completions/mean_terminated_length": 847.5714721679688,
|
| 1498 |
+
"completions/min_length": 404.0,
|
| 1499 |
+
"completions/min_terminated_length": 404.0,
|
| 1500 |
+
"epoch": 0.06857142857142857,
|
| 1501 |
+
"frac_reward_zero_std": 0.0,
|
| 1502 |
+
"grad_norm": 0.23538637161254883,
|
| 1503 |
+
"learning_rate": 9.991120277927223e-07,
|
| 1504 |
+
"loss": -0.0,
|
| 1505 |
+
"num_tokens": 7524179.0,
|
| 1506 |
+
"reward": -0.2697012424468994,
|
| 1507 |
+
"reward_std": 0.17935499548912048,
|
| 1508 |
+
"rewards/cosine_scaled_reward/mean": -0.2697012424468994,
|
| 1509 |
+
"rewards/cosine_scaled_reward/std": 0.19757980108261108,
|
| 1510 |
+
"step": 60
|
| 1511 |
+
},
|
| 1512 |
+
{
|
| 1513 |
+
"clip_ratio/high_max": 0.0,
|
| 1514 |
+
"clip_ratio/high_mean": 0.0,
|
| 1515 |
+
"clip_ratio/low_mean": 0.0,
|
| 1516 |
+
"clip_ratio/low_min": 0.0,
|
| 1517 |
+
"clip_ratio/region_mean": 0.0,
|
| 1518 |
+
"completions/clipped_ratio": 0.84375,
|
| 1519 |
+
"completions/max_length": 2048.0,
|
| 1520 |
+
"completions/max_terminated_length": 2046.0,
|
| 1521 |
+
"completions/mean_length": 1884.484375,
|
| 1522 |
+
"completions/mean_terminated_length": 1001.5,
|
| 1523 |
+
"completions/min_length": 441.0,
|
| 1524 |
+
"completions/min_terminated_length": 441.0,
|
| 1525 |
+
"epoch": 0.06971428571428571,
|
| 1526 |
+
"frac_reward_zero_std": 0.0,
|
| 1527 |
+
"grad_norm": 0.225452721118927,
|
| 1528 |
+
"learning_rate": 9.989038226169207e-07,
|
| 1529 |
+
"loss": 0.0,
|
| 1530 |
+
"num_tokens": 7656306.0,
|
| 1531 |
+
"reward": -0.1635127067565918,
|
| 1532 |
+
"reward_std": 0.1931447982788086,
|
| 1533 |
+
"rewards/cosine_scaled_reward/mean": -0.1635127067565918,
|
| 1534 |
+
"rewards/cosine_scaled_reward/std": 0.23563610017299652,
|
| 1535 |
+
"step": 61
|
| 1536 |
+
},
|
| 1537 |
+
{
|
| 1538 |
+
"clip_ratio/high_max": 0.0,
|
| 1539 |
+
"clip_ratio/high_mean": 0.0,
|
| 1540 |
+
"clip_ratio/low_mean": 0.0,
|
| 1541 |
+
"clip_ratio/low_min": 0.0,
|
| 1542 |
+
"clip_ratio/region_mean": 0.0,
|
| 1543 |
+
"completions/clipped_ratio": 0.6875,
|
| 1544 |
+
"completions/max_length": 2048.0,
|
| 1545 |
+
"completions/max_terminated_length": 1994.0,
|
| 1546 |
+
"completions/mean_length": 1739.46875,
|
| 1547 |
+
"completions/mean_terminated_length": 1060.7000732421875,
|
| 1548 |
+
"completions/min_length": 499.0,
|
| 1549 |
+
"completions/min_terminated_length": 499.0,
|
| 1550 |
+
"epoch": 0.07085714285714285,
|
| 1551 |
+
"frac_reward_zero_std": 0.0,
|
| 1552 |
+
"grad_norm": 0.23771661520004272,
|
| 1553 |
+
"learning_rate": 9.98673738502114e-07,
|
| 1554 |
+
"loss": 0.0,
|
| 1555 |
+
"num_tokens": 7777864.0,
|
| 1556 |
+
"reward": -0.10127441585063934,
|
| 1557 |
+
"reward_std": 0.2957979142665863,
|
| 1558 |
+
"rewards/cosine_scaled_reward/mean": -0.10127442330121994,
|
| 1559 |
+
"rewards/cosine_scaled_reward/std": 0.34053224325180054,
|
| 1560 |
+
"step": 62
|
| 1561 |
+
},
|
| 1562 |
+
{
|
| 1563 |
+
"clip_ratio/high_max": 0.0,
|
| 1564 |
+
"clip_ratio/high_mean": 0.0,
|
| 1565 |
+
"clip_ratio/low_mean": 0.0,
|
| 1566 |
+
"clip_ratio/low_min": 0.0,
|
| 1567 |
+
"clip_ratio/region_mean": 0.0,
|
| 1568 |
+
"completions/clipped_ratio": 0.40625,
|
| 1569 |
+
"completions/max_length": 2048.0,
|
| 1570 |
+
"completions/max_terminated_length": 1965.0,
|
| 1571 |
+
"completions/mean_length": 1522.953125,
|
| 1572 |
+
"completions/mean_terminated_length": 1163.7105712890625,
|
| 1573 |
+
"completions/min_length": 531.0,
|
| 1574 |
+
"completions/min_terminated_length": 531.0,
|
| 1575 |
+
"epoch": 0.072,
|
| 1576 |
+
"frac_reward_zero_std": 0.0,
|
| 1577 |
+
"grad_norm": 0.27804723381996155,
|
| 1578 |
+
"learning_rate": 9.98421786662277e-07,
|
| 1579 |
+
"loss": 0.0,
|
| 1580 |
+
"num_tokens": 7885589.0,
|
| 1581 |
+
"reward": -0.036153122782707214,
|
| 1582 |
+
"reward_std": 0.3305097818374634,
|
| 1583 |
+
"rewards/cosine_scaled_reward/mean": -0.03615312650799751,
|
| 1584 |
+
"rewards/cosine_scaled_reward/std": 0.4355940818786621,
|
| 1585 |
+
"step": 63
|
| 1586 |
+
},
|
| 1587 |
+
{
|
| 1588 |
+
"clip_ratio/high_max": 0.0,
|
| 1589 |
+
"clip_ratio/high_mean": 0.0,
|
| 1590 |
+
"clip_ratio/low_mean": 0.0,
|
| 1591 |
+
"clip_ratio/low_min": 0.0,
|
| 1592 |
+
"clip_ratio/region_mean": 0.0,
|
| 1593 |
+
"completions/clipped_ratio": 0.71875,
|
| 1594 |
+
"completions/max_length": 2048.0,
|
| 1595 |
+
"completions/max_terminated_length": 1558.0,
|
| 1596 |
+
"completions/mean_length": 1760.390625,
|
| 1597 |
+
"completions/mean_terminated_length": 1025.388916015625,
|
| 1598 |
+
"completions/min_length": 414.0,
|
| 1599 |
+
"completions/min_terminated_length": 414.0,
|
| 1600 |
+
"epoch": 0.07314285714285715,
|
| 1601 |
+
"frac_reward_zero_std": 0.0,
|
| 1602 |
+
"grad_norm": 0.2333846092224121,
|
| 1603 |
+
"learning_rate": 9.981479793771866e-07,
|
| 1604 |
+
"loss": -0.0,
|
| 1605 |
+
"num_tokens": 8009206.0,
|
| 1606 |
+
"reward": -0.14333069324493408,
|
| 1607 |
+
"reward_std": 0.28757935762405396,
|
| 1608 |
+
"rewards/cosine_scaled_reward/mean": -0.14333069324493408,
|
| 1609 |
+
"rewards/cosine_scaled_reward/std": 0.41007620096206665,
|
| 1610 |
+
"step": 64
|
| 1611 |
+
},
|
| 1612 |
+
{
|
| 1613 |
+
"clip_ratio/high_max": 0.0,
|
| 1614 |
+
"clip_ratio/high_mean": 0.0,
|
| 1615 |
+
"clip_ratio/low_mean": 0.0,
|
| 1616 |
+
"clip_ratio/low_min": 0.0,
|
| 1617 |
+
"clip_ratio/region_mean": 0.0,
|
| 1618 |
+
"completions/clipped_ratio": 0.71875,
|
| 1619 |
+
"completions/max_length": 2048.0,
|
| 1620 |
+
"completions/max_terminated_length": 1532.0,
|
| 1621 |
+
"completions/mean_length": 1651.515625,
|
| 1622 |
+
"completions/mean_terminated_length": 638.2777709960938,
|
| 1623 |
+
"completions/min_length": 327.0,
|
| 1624 |
+
"completions/min_terminated_length": 327.0,
|
| 1625 |
+
"epoch": 0.07428571428571429,
|
| 1626 |
+
"frac_reward_zero_std": 0.0,
|
| 1627 |
+
"grad_norm": 0.26348626613616943,
|
| 1628 |
+
"learning_rate": 9.97852329991824e-07,
|
| 1629 |
+
"loss": 0.0,
|
| 1630 |
+
"num_tokens": 8125607.0,
|
| 1631 |
+
"reward": -0.2117859125137329,
|
| 1632 |
+
"reward_std": 0.15534773468971252,
|
| 1633 |
+
"rewards/cosine_scaled_reward/mean": -0.2117859125137329,
|
| 1634 |
+
"rewards/cosine_scaled_reward/std": 0.37395453453063965,
|
| 1635 |
+
"step": 65
|
| 1636 |
+
},
|
| 1637 |
+
{
|
| 1638 |
+
"clip_ratio/high_max": 0.0,
|
| 1639 |
+
"clip_ratio/high_mean": 0.0,
|
| 1640 |
+
"clip_ratio/low_mean": 0.0,
|
| 1641 |
+
"clip_ratio/low_min": 0.0,
|
| 1642 |
+
"clip_ratio/region_mean": 0.0,
|
| 1643 |
+
"completions/clipped_ratio": 0.453125,
|
| 1644 |
+
"completions/max_length": 2048.0,
|
| 1645 |
+
"completions/max_terminated_length": 1350.0,
|
| 1646 |
+
"completions/mean_length": 1254.125,
|
| 1647 |
+
"completions/mean_terminated_length": 596.3428344726562,
|
| 1648 |
+
"completions/min_length": 215.0,
|
| 1649 |
+
"completions/min_terminated_length": 215.0,
|
| 1650 |
+
"epoch": 0.07542857142857143,
|
| 1651 |
+
"frac_reward_zero_std": 0.0,
|
| 1652 |
+
"grad_norm": 0.33443817496299744,
|
| 1653 |
+
"learning_rate": 9.975348529157229e-07,
|
| 1654 |
+
"loss": 0.0,
|
| 1655 |
+
"num_tokens": 8216103.0,
|
| 1656 |
+
"reward": 0.028336994349956512,
|
| 1657 |
+
"reward_std": 0.25119709968566895,
|
| 1658 |
+
"rewards/cosine_scaled_reward/mean": 0.02833697199821472,
|
| 1659 |
+
"rewards/cosine_scaled_reward/std": 0.4882389008998871,
|
| 1660 |
+
"step": 66
|
| 1661 |
+
},
|
| 1662 |
+
{
|
| 1663 |
+
"clip_ratio/high_max": 0.0,
|
| 1664 |
+
"clip_ratio/high_mean": 0.0,
|
| 1665 |
+
"clip_ratio/low_mean": 0.0,
|
| 1666 |
+
"clip_ratio/low_min": 0.0,
|
| 1667 |
+
"clip_ratio/region_mean": 0.0,
|
| 1668 |
+
"completions/clipped_ratio": 0.90625,
|
| 1669 |
+
"completions/max_length": 2048.0,
|
| 1670 |
+
"completions/max_terminated_length": 1431.0,
|
| 1671 |
+
"completions/mean_length": 1966.21875,
|
| 1672 |
+
"completions/mean_terminated_length": 1175.666748046875,
|
| 1673 |
+
"completions/min_length": 840.0,
|
| 1674 |
+
"completions/min_terminated_length": 840.0,
|
| 1675 |
+
"epoch": 0.07657142857142857,
|
| 1676 |
+
"frac_reward_zero_std": 0.0,
|
| 1677 |
+
"grad_norm": 0.2199370563030243,
|
| 1678 |
+
"learning_rate": 9.971955636222684e-07,
|
| 1679 |
+
"loss": -0.0,
|
| 1680 |
+
"num_tokens": 8352677.0,
|
| 1681 |
+
"reward": -0.28747493028640747,
|
| 1682 |
+
"reward_std": 0.15530282258987427,
|
| 1683 |
+
"rewards/cosine_scaled_reward/mean": -0.28747493028640747,
|
| 1684 |
+
"rewards/cosine_scaled_reward/std": 0.16220521926879883,
|
| 1685 |
+
"step": 67
|
| 1686 |
+
},
|
| 1687 |
+
{
|
| 1688 |
+
"clip_ratio/high_max": 0.0,
|
| 1689 |
+
"clip_ratio/high_mean": 0.0,
|
| 1690 |
+
"clip_ratio/low_mean": 0.0,
|
| 1691 |
+
"clip_ratio/low_min": 0.0,
|
| 1692 |
+
"clip_ratio/region_mean": 0.0,
|
| 1693 |
+
"completions/clipped_ratio": 0.46875,
|
| 1694 |
+
"completions/max_length": 2048.0,
|
| 1695 |
+
"completions/max_terminated_length": 2024.0,
|
| 1696 |
+
"completions/mean_length": 1357.109375,
|
| 1697 |
+
"completions/mean_terminated_length": 747.5,
|
| 1698 |
+
"completions/min_length": 147.0,
|
| 1699 |
+
"completions/min_terminated_length": 147.0,
|
| 1700 |
+
"epoch": 0.07771428571428571,
|
| 1701 |
+
"frac_reward_zero_std": 0.0,
|
| 1702 |
+
"grad_norm": 0.3341590464115143,
|
| 1703 |
+
"learning_rate": 9.968344786479415e-07,
|
| 1704 |
+
"loss": -0.0,
|
| 1705 |
+
"num_tokens": 8448788.0,
|
| 1706 |
+
"reward": -0.06672946363687515,
|
| 1707 |
+
"reward_std": 0.28790342807769775,
|
| 1708 |
+
"rewards/cosine_scaled_reward/mean": -0.06672945618629456,
|
| 1709 |
+
"rewards/cosine_scaled_reward/std": 0.35960128903388977,
|
| 1710 |
+
"step": 68
|
| 1711 |
+
},
|
| 1712 |
+
{
|
| 1713 |
+
"clip_ratio/high_max": 0.0,
|
| 1714 |
+
"clip_ratio/high_mean": 0.0,
|
| 1715 |
+
"clip_ratio/low_mean": 0.0,
|
| 1716 |
+
"clip_ratio/low_min": 0.0,
|
| 1717 |
+
"clip_ratio/region_mean": 0.0,
|
| 1718 |
+
"completions/clipped_ratio": 0.5625,
|
| 1719 |
+
"completions/max_length": 2048.0,
|
| 1720 |
+
"completions/max_terminated_length": 1654.0,
|
| 1721 |
+
"completions/mean_length": 1565.046875,
|
| 1722 |
+
"completions/mean_terminated_length": 944.107177734375,
|
| 1723 |
+
"completions/min_length": 378.0,
|
| 1724 |
+
"completions/min_terminated_length": 378.0,
|
| 1725 |
+
"epoch": 0.07885714285714286,
|
| 1726 |
+
"frac_reward_zero_std": 0.0,
|
| 1727 |
+
"grad_norm": 0.35159721970558167,
|
| 1728 |
+
"learning_rate": 9.964516155915151e-07,
|
| 1729 |
+
"loss": -0.0,
|
| 1730 |
+
"num_tokens": 8559295.0,
|
| 1731 |
+
"reward": -0.27992868423461914,
|
| 1732 |
+
"reward_std": 0.20264248549938202,
|
| 1733 |
+
"rewards/cosine_scaled_reward/mean": -0.27992868423461914,
|
| 1734 |
+
"rewards/cosine_scaled_reward/std": 0.23891927301883698,
|
| 1735 |
+
"step": 69
|
| 1736 |
+
},
|
| 1737 |
+
{
|
| 1738 |
+
"clip_ratio/high_max": 0.0,
|
| 1739 |
+
"clip_ratio/high_mean": 0.0,
|
| 1740 |
+
"clip_ratio/low_mean": 0.0,
|
| 1741 |
+
"clip_ratio/low_min": 0.0,
|
| 1742 |
+
"clip_ratio/region_mean": 0.0,
|
| 1743 |
+
"completions/clipped_ratio": 0.875,
|
| 1744 |
+
"completions/max_length": 2048.0,
|
| 1745 |
+
"completions/max_terminated_length": 935.0,
|
| 1746 |
+
"completions/mean_length": 1867.765625,
|
| 1747 |
+
"completions/mean_terminated_length": 606.125,
|
| 1748 |
+
"completions/min_length": 439.0,
|
| 1749 |
+
"completions/min_terminated_length": 439.0,
|
| 1750 |
+
"epoch": 0.08,
|
| 1751 |
+
"frac_reward_zero_std": 0.0,
|
| 1752 |
+
"grad_norm": 0.23989427089691162,
|
| 1753 |
+
"learning_rate": 9.960469931131936e-07,
|
| 1754 |
+
"loss": -0.0,
|
| 1755 |
+
"num_tokens": 8690288.0,
|
| 1756 |
+
"reward": -0.2498025894165039,
|
| 1757 |
+
"reward_std": 0.15823513269424438,
|
| 1758 |
+
"rewards/cosine_scaled_reward/mean": -0.2498025894165039,
|
| 1759 |
+
"rewards/cosine_scaled_reward/std": 0.17978127300739288,
|
| 1760 |
+
"step": 70
|
| 1761 |
+
},
|
| 1762 |
+
{
|
| 1763 |
+
"clip_ratio/high_max": 0.0,
|
| 1764 |
+
"clip_ratio/high_mean": 0.0,
|
| 1765 |
+
"clip_ratio/low_mean": 0.0,
|
| 1766 |
+
"clip_ratio/low_min": 0.0,
|
| 1767 |
+
"clip_ratio/region_mean": 0.0,
|
| 1768 |
+
"completions/clipped_ratio": 0.65625,
|
| 1769 |
+
"completions/max_length": 2048.0,
|
| 1770 |
+
"completions/max_terminated_length": 1908.0,
|
| 1771 |
+
"completions/mean_length": 1669.125,
|
| 1772 |
+
"completions/mean_terminated_length": 945.8182373046875,
|
| 1773 |
+
"completions/min_length": 389.0,
|
| 1774 |
+
"completions/min_terminated_length": 389.0,
|
| 1775 |
+
"epoch": 0.08114285714285714,
|
| 1776 |
+
"frac_reward_zero_std": 0.0,
|
| 1777 |
+
"grad_norm": 0.335510790348053,
|
| 1778 |
+
"learning_rate": 9.956206309337066e-07,
|
| 1779 |
+
"loss": -0.0,
|
| 1780 |
+
"num_tokens": 8807832.0,
|
| 1781 |
+
"reward": -0.1673138290643692,
|
| 1782 |
+
"reward_std": 0.2547321915626526,
|
| 1783 |
+
"rewards/cosine_scaled_reward/mean": -0.1673138290643692,
|
| 1784 |
+
"rewards/cosine_scaled_reward/std": 0.39353805780410767,
|
| 1785 |
+
"step": 71
|
| 1786 |
+
},
|
| 1787 |
+
{
|
| 1788 |
+
"clip_ratio/high_max": 0.0,
|
| 1789 |
+
"clip_ratio/high_mean": 0.0,
|
| 1790 |
+
"clip_ratio/low_mean": 0.0,
|
| 1791 |
+
"clip_ratio/low_min": 0.0,
|
| 1792 |
+
"clip_ratio/region_mean": 0.0,
|
| 1793 |
+
"completions/clipped_ratio": 0.640625,
|
| 1794 |
+
"completions/max_length": 2048.0,
|
| 1795 |
+
"completions/max_terminated_length": 1957.0,
|
| 1796 |
+
"completions/mean_length": 1632.59375,
|
| 1797 |
+
"completions/mean_terminated_length": 892.0869750976562,
|
| 1798 |
+
"completions/min_length": 431.0,
|
| 1799 |
+
"completions/min_terminated_length": 431.0,
|
| 1800 |
+
"epoch": 0.08228571428571428,
|
| 1801 |
+
"frac_reward_zero_std": 0.0,
|
| 1802 |
+
"grad_norm": 0.30721575021743774,
|
| 1803 |
+
"learning_rate": 9.951725498333448e-07,
|
| 1804 |
+
"loss": 0.0,
|
| 1805 |
+
"num_tokens": 8922670.0,
|
| 1806 |
+
"reward": -0.1493685096502304,
|
| 1807 |
+
"reward_std": 0.23021411895751953,
|
| 1808 |
+
"rewards/cosine_scaled_reward/mean": -0.1493685096502304,
|
| 1809 |
+
"rewards/cosine_scaled_reward/std": 0.27729952335357666,
|
| 1810 |
+
"step": 72
|
| 1811 |
+
},
|
| 1812 |
+
{
|
| 1813 |
+
"clip_ratio/high_max": 0.0,
|
| 1814 |
+
"clip_ratio/high_mean": 0.0,
|
| 1815 |
+
"clip_ratio/low_mean": 0.0,
|
| 1816 |
+
"clip_ratio/low_min": 0.0,
|
| 1817 |
+
"clip_ratio/region_mean": 0.0,
|
| 1818 |
+
"completions/clipped_ratio": 0.953125,
|
| 1819 |
+
"completions/max_length": 2048.0,
|
| 1820 |
+
"completions/max_terminated_length": 1852.0,
|
| 1821 |
+
"completions/mean_length": 2020.59375,
|
| 1822 |
+
"completions/mean_terminated_length": 1463.3333740234375,
|
| 1823 |
+
"completions/min_length": 888.0,
|
| 1824 |
+
"completions/min_terminated_length": 888.0,
|
| 1825 |
+
"epoch": 0.08342857142857144,
|
| 1826 |
+
"frac_reward_zero_std": 0.0,
|
| 1827 |
+
"grad_norm": 0.20856839418411255,
|
| 1828 |
+
"learning_rate": 9.947027716509488e-07,
|
| 1829 |
+
"loss": 0.0,
|
| 1830 |
+
"num_tokens": 9062716.0,
|
| 1831 |
+
"reward": -0.25696587562561035,
|
| 1832 |
+
"reward_std": 0.19847074151039124,
|
| 1833 |
+
"rewards/cosine_scaled_reward/mean": -0.25696590542793274,
|
| 1834 |
+
"rewards/cosine_scaled_reward/std": 0.23918035626411438,
|
| 1835 |
+
"step": 73
|
| 1836 |
+
},
|
| 1837 |
+
{
|
| 1838 |
+
"clip_ratio/high_max": 0.0,
|
| 1839 |
+
"clip_ratio/high_mean": 0.0,
|
| 1840 |
+
"clip_ratio/low_mean": 0.0,
|
| 1841 |
+
"clip_ratio/low_min": 0.0,
|
| 1842 |
+
"clip_ratio/region_mean": 0.0,
|
| 1843 |
+
"completions/clipped_ratio": 0.84375,
|
| 1844 |
+
"completions/max_length": 2048.0,
|
| 1845 |
+
"completions/max_terminated_length": 1957.0,
|
| 1846 |
+
"completions/mean_length": 1926.984375,
|
| 1847 |
+
"completions/mean_terminated_length": 1273.5,
|
| 1848 |
+
"completions/min_length": 740.0,
|
| 1849 |
+
"completions/min_terminated_length": 740.0,
|
| 1850 |
+
"epoch": 0.08457142857142858,
|
| 1851 |
+
"frac_reward_zero_std": 0.0,
|
| 1852 |
+
"grad_norm": 0.23241353034973145,
|
| 1853 |
+
"learning_rate": 9.942113192828444e-07,
|
| 1854 |
+
"loss": -0.0,
|
| 1855 |
+
"num_tokens": 9195971.0,
|
| 1856 |
+
"reward": -0.12904082238674164,
|
| 1857 |
+
"reward_std": 0.23554545640945435,
|
| 1858 |
+
"rewards/cosine_scaled_reward/mean": -0.12904080748558044,
|
| 1859 |
+
"rewards/cosine_scaled_reward/std": 0.4280695915222168,
|
| 1860 |
+
"step": 74
|
| 1861 |
+
},
|
| 1862 |
+
{
|
| 1863 |
+
"clip_ratio/high_max": 0.0,
|
| 1864 |
+
"clip_ratio/high_mean": 0.0,
|
| 1865 |
+
"clip_ratio/low_mean": 0.0,
|
| 1866 |
+
"clip_ratio/low_min": 0.0,
|
| 1867 |
+
"clip_ratio/region_mean": 0.0,
|
| 1868 |
+
"completions/clipped_ratio": 0.8125,
|
| 1869 |
+
"completions/max_length": 2048.0,
|
| 1870 |
+
"completions/max_terminated_length": 1677.0,
|
| 1871 |
+
"completions/mean_length": 1868.890625,
|
| 1872 |
+
"completions/mean_terminated_length": 1092.75,
|
| 1873 |
+
"completions/min_length": 662.0,
|
| 1874 |
+
"completions/min_terminated_length": 662.0,
|
| 1875 |
+
"epoch": 0.08571428571428572,
|
| 1876 |
+
"frac_reward_zero_std": 0.125,
|
| 1877 |
+
"grad_norm": 0.19846303761005402,
|
| 1878 |
+
"learning_rate": 9.93698216681727e-07,
|
| 1879 |
+
"loss": -0.0,
|
| 1880 |
+
"num_tokens": 9326540.0,
|
| 1881 |
+
"reward": -0.03926669806241989,
|
| 1882 |
+
"reward_std": 0.2044709324836731,
|
| 1883 |
+
"rewards/cosine_scaled_reward/mean": -0.039266690611839294,
|
| 1884 |
+
"rewards/cosine_scaled_reward/std": 0.49658530950546265,
|
| 1885 |
+
"step": 75
|
| 1886 |
+
},
|
| 1887 |
+
{
|
| 1888 |
+
"clip_ratio/high_max": 0.0,
|
| 1889 |
+
"clip_ratio/high_mean": 0.0,
|
| 1890 |
+
"clip_ratio/low_mean": 0.0,
|
| 1891 |
+
"clip_ratio/low_min": 0.0,
|
| 1892 |
+
"clip_ratio/region_mean": 0.0,
|
| 1893 |
+
"completions/clipped_ratio": 0.75,
|
| 1894 |
+
"completions/max_length": 2048.0,
|
| 1895 |
+
"completions/max_terminated_length": 1963.0,
|
| 1896 |
+
"completions/mean_length": 1805.296875,
|
| 1897 |
+
"completions/mean_terminated_length": 1077.1875,
|
| 1898 |
+
"completions/min_length": 435.0,
|
| 1899 |
+
"completions/min_terminated_length": 435.0,
|
| 1900 |
+
"epoch": 0.08685714285714285,
|
| 1901 |
+
"frac_reward_zero_std": 0.0,
|
| 1902 |
+
"grad_norm": 0.23998627066612244,
|
| 1903 |
+
"learning_rate": 9.931634888554935e-07,
|
| 1904 |
+
"loss": 0.0,
|
| 1905 |
+
"num_tokens": 9452479.0,
|
| 1906 |
+
"reward": -0.23065510392189026,
|
| 1907 |
+
"reward_std": 0.17413878440856934,
|
| 1908 |
+
"rewards/cosine_scaled_reward/mean": -0.23065511882305145,
|
| 1909 |
+
"rewards/cosine_scaled_reward/std": 0.21896763145923615,
|
| 1910 |
+
"step": 76
|
| 1911 |
+
},
|
| 1912 |
+
{
|
| 1913 |
+
"clip_ratio/high_max": 0.0,
|
| 1914 |
+
"clip_ratio/high_mean": 0.0,
|
| 1915 |
+
"clip_ratio/low_mean": 0.0,
|
| 1916 |
+
"clip_ratio/low_min": 0.0,
|
| 1917 |
+
"clip_ratio/region_mean": 0.0,
|
| 1918 |
+
"completions/clipped_ratio": 0.75,
|
| 1919 |
+
"completions/max_length": 2048.0,
|
| 1920 |
+
"completions/max_terminated_length": 1871.0,
|
| 1921 |
+
"completions/mean_length": 1857.328125,
|
| 1922 |
+
"completions/mean_terminated_length": 1285.3125,
|
| 1923 |
+
"completions/min_length": 749.0,
|
| 1924 |
+
"completions/min_terminated_length": 749.0,
|
| 1925 |
+
"epoch": 0.088,
|
| 1926 |
+
"frac_reward_zero_std": 0.0,
|
| 1927 |
+
"grad_norm": 0.20421437919139862,
|
| 1928 |
+
"learning_rate": 9.926071618660237e-07,
|
| 1929 |
+
"loss": 0.0,
|
| 1930 |
+
"num_tokens": 9582924.0,
|
| 1931 |
+
"reward": -0.17972718179225922,
|
| 1932 |
+
"reward_std": 0.209285706281662,
|
| 1933 |
+
"rewards/cosine_scaled_reward/mean": -0.17972716689109802,
|
| 1934 |
+
"rewards/cosine_scaled_reward/std": 0.2716500163078308,
|
| 1935 |
+
"step": 77
|
| 1936 |
+
},
|
| 1937 |
+
{
|
| 1938 |
+
"clip_ratio/high_max": 0.0,
|
| 1939 |
+
"clip_ratio/high_mean": 0.0,
|
| 1940 |
+
"clip_ratio/low_mean": 0.0,
|
| 1941 |
+
"clip_ratio/low_min": 0.0,
|
| 1942 |
+
"clip_ratio/region_mean": 0.0,
|
| 1943 |
+
"completions/clipped_ratio": 0.828125,
|
| 1944 |
+
"completions/max_length": 2048.0,
|
| 1945 |
+
"completions/max_terminated_length": 2001.0,
|
| 1946 |
+
"completions/mean_length": 1883.921875,
|
| 1947 |
+
"completions/mean_terminated_length": 1093.3636474609375,
|
| 1948 |
+
"completions/min_length": 712.0,
|
| 1949 |
+
"completions/min_terminated_length": 712.0,
|
| 1950 |
+
"epoch": 0.08914285714285715,
|
| 1951 |
+
"frac_reward_zero_std": 0.0,
|
| 1952 |
+
"grad_norm": 0.2156875878572464,
|
| 1953 |
+
"learning_rate": 9.9202926282791e-07,
|
| 1954 |
+
"loss": -0.0,
|
| 1955 |
+
"num_tokens": 9714215.0,
|
| 1956 |
+
"reward": -0.14897406101226807,
|
| 1957 |
+
"reward_std": 0.2451157122850418,
|
| 1958 |
+
"rewards/cosine_scaled_reward/mean": -0.14897406101226807,
|
| 1959 |
+
"rewards/cosine_scaled_reward/std": 0.38884180784225464,
|
| 1960 |
+
"step": 78
|
| 1961 |
+
},
|
| 1962 |
+
{
|
| 1963 |
+
"clip_ratio/high_max": 0.0,
|
| 1964 |
+
"clip_ratio/high_mean": 0.0,
|
| 1965 |
+
"clip_ratio/low_mean": 0.0,
|
| 1966 |
+
"clip_ratio/low_min": 0.0,
|
| 1967 |
+
"clip_ratio/region_mean": 0.0,
|
| 1968 |
+
"completions/clipped_ratio": 0.578125,
|
| 1969 |
+
"completions/max_length": 2048.0,
|
| 1970 |
+
"completions/max_terminated_length": 1878.0,
|
| 1971 |
+
"completions/mean_length": 1507.65625,
|
| 1972 |
+
"completions/mean_terminated_length": 767.1851806640625,
|
| 1973 |
+
"completions/min_length": 227.0,
|
| 1974 |
+
"completions/min_terminated_length": 227.0,
|
| 1975 |
+
"epoch": 0.09028571428571429,
|
| 1976 |
+
"frac_reward_zero_std": 0.0,
|
| 1977 |
+
"grad_norm": 0.29943305253982544,
|
| 1978 |
+
"learning_rate": 9.91429819907136e-07,
|
| 1979 |
+
"loss": -0.0,
|
| 1980 |
+
"num_tokens": 9820801.0,
|
| 1981 |
+
"reward": -0.17114077508449554,
|
| 1982 |
+
"reward_std": 0.23199111223220825,
|
| 1983 |
+
"rewards/cosine_scaled_reward/mean": -0.17114077508449554,
|
| 1984 |
+
"rewards/cosine_scaled_reward/std": 0.3217289447784424,
|
| 1985 |
+
"step": 79
|
| 1986 |
+
},
|
| 1987 |
+
{
|
| 1988 |
+
"clip_ratio/high_max": 0.0,
|
| 1989 |
+
"clip_ratio/high_mean": 0.0,
|
| 1990 |
+
"clip_ratio/low_mean": 0.0,
|
| 1991 |
+
"clip_ratio/low_min": 0.0,
|
| 1992 |
+
"clip_ratio/region_mean": 0.0,
|
| 1993 |
+
"completions/clipped_ratio": 0.859375,
|
| 1994 |
+
"completions/max_length": 2048.0,
|
| 1995 |
+
"completions/max_terminated_length": 2007.0,
|
| 1996 |
+
"completions/mean_length": 1976.125,
|
| 1997 |
+
"completions/mean_terminated_length": 1536.888916015625,
|
| 1998 |
+
"completions/min_length": 655.0,
|
| 1999 |
+
"completions/min_terminated_length": 655.0,
|
| 2000 |
+
"epoch": 0.09142857142857143,
|
| 2001 |
+
"frac_reward_zero_std": 0.0,
|
| 2002 |
+
"grad_norm": 0.26230743527412415,
|
| 2003 |
+
"learning_rate": 9.908088623197048e-07,
|
| 2004 |
+
"loss": 0.0,
|
| 2005 |
+
"num_tokens": 9957665.0,
|
| 2006 |
+
"reward": -0.21115826070308685,
|
| 2007 |
+
"reward_std": 0.2435196340084076,
|
| 2008 |
+
"rewards/cosine_scaled_reward/mean": -0.21115827560424805,
|
| 2009 |
+
"rewards/cosine_scaled_reward/std": 0.28258123993873596,
|
| 2010 |
+
"step": 80
|
| 2011 |
+
},
|
| 2012 |
+
{
|
| 2013 |
+
"clip_ratio/high_max": 0.0,
|
| 2014 |
+
"clip_ratio/high_mean": 0.0,
|
| 2015 |
+
"clip_ratio/low_mean": 0.0,
|
| 2016 |
+
"clip_ratio/low_min": 0.0,
|
| 2017 |
+
"clip_ratio/region_mean": 0.0,
|
| 2018 |
+
"completions/clipped_ratio": 0.765625,
|
| 2019 |
+
"completions/max_length": 2048.0,
|
| 2020 |
+
"completions/max_terminated_length": 2042.0,
|
| 2021 |
+
"completions/mean_length": 1779.28125,
|
| 2022 |
+
"completions/mean_terminated_length": 901.4667358398438,
|
| 2023 |
+
"completions/min_length": 320.0,
|
| 2024 |
+
"completions/min_terminated_length": 320.0,
|
| 2025 |
+
"epoch": 0.09257142857142857,
|
| 2026 |
+
"frac_reward_zero_std": 0.0,
|
| 2027 |
+
"grad_norm": 0.33359771966934204,
|
| 2028 |
+
"learning_rate": 9.901664203302124e-07,
|
| 2029 |
+
"loss": 0.0,
|
| 2030 |
+
"num_tokens": 10082811.0,
|
| 2031 |
+
"reward": -0.1508273482322693,
|
| 2032 |
+
"reward_std": 0.2594776749610901,
|
| 2033 |
+
"rewards/cosine_scaled_reward/mean": -0.1508273482322693,
|
| 2034 |
+
"rewards/cosine_scaled_reward/std": 0.33812451362609863,
|
| 2035 |
+
"step": 81
|
| 2036 |
+
},
|
| 2037 |
+
{
|
| 2038 |
+
"clip_ratio/high_max": 0.0,
|
| 2039 |
+
"clip_ratio/high_mean": 0.0,
|
| 2040 |
+
"clip_ratio/low_mean": 0.0,
|
| 2041 |
+
"clip_ratio/low_min": 0.0,
|
| 2042 |
+
"clip_ratio/region_mean": 0.0,
|
| 2043 |
+
"completions/clipped_ratio": 0.71875,
|
| 2044 |
+
"completions/max_length": 2048.0,
|
| 2045 |
+
"completions/max_terminated_length": 1831.0,
|
| 2046 |
+
"completions/mean_length": 1711.609375,
|
| 2047 |
+
"completions/mean_terminated_length": 851.9444580078125,
|
| 2048 |
+
"completions/min_length": 432.0,
|
| 2049 |
+
"completions/min_terminated_length": 432.0,
|
| 2050 |
+
"epoch": 0.09371428571428571,
|
| 2051 |
+
"frac_reward_zero_std": 0.0,
|
| 2052 |
+
"grad_norm": 0.2805767059326172,
|
| 2053 |
+
"learning_rate": 9.895025252503755e-07,
|
| 2054 |
+
"loss": -0.0,
|
| 2055 |
+
"num_tokens": 10202682.0,
|
| 2056 |
+
"reward": -0.11850972473621368,
|
| 2057 |
+
"reward_std": 0.2631937861442566,
|
| 2058 |
+
"rewards/cosine_scaled_reward/mean": -0.11850972473621368,
|
| 2059 |
+
"rewards/cosine_scaled_reward/std": 0.4419197142124176,
|
| 2060 |
+
"step": 82
|
| 2061 |
+
},
|
| 2062 |
+
{
|
| 2063 |
+
"clip_ratio/high_max": 0.0,
|
| 2064 |
+
"clip_ratio/high_mean": 0.0,
|
| 2065 |
+
"clip_ratio/low_mean": 0.0,
|
| 2066 |
+
"clip_ratio/low_min": 0.0,
|
| 2067 |
+
"clip_ratio/region_mean": 0.0,
|
| 2068 |
+
"completions/clipped_ratio": 0.703125,
|
| 2069 |
+
"completions/max_length": 2048.0,
|
| 2070 |
+
"completions/max_terminated_length": 1925.0,
|
| 2071 |
+
"completions/mean_length": 1749.984375,
|
| 2072 |
+
"completions/mean_terminated_length": 1044.157958984375,
|
| 2073 |
+
"completions/min_length": 493.0,
|
| 2074 |
+
"completions/min_terminated_length": 493.0,
|
| 2075 |
+
"epoch": 0.09485714285714286,
|
| 2076 |
+
"frac_reward_zero_std": 0.0,
|
| 2077 |
+
"grad_norm": 0.3109220266342163,
|
| 2078 |
+
"learning_rate": 9.888172094375033e-07,
|
| 2079 |
+
"loss": -0.0,
|
| 2080 |
+
"num_tokens": 10325769.0,
|
| 2081 |
+
"reward": -0.10190614312887192,
|
| 2082 |
+
"reward_std": 0.2739119529724121,
|
| 2083 |
+
"rewards/cosine_scaled_reward/mean": -0.10190614312887192,
|
| 2084 |
+
"rewards/cosine_scaled_reward/std": 0.39238420128822327,
|
| 2085 |
+
"step": 83
|
| 2086 |
+
},
|
| 2087 |
+
{
|
| 2088 |
+
"clip_ratio/high_max": 0.0,
|
| 2089 |
+
"clip_ratio/high_mean": 0.0,
|
| 2090 |
+
"clip_ratio/low_mean": 0.0,
|
| 2091 |
+
"clip_ratio/low_min": 0.0,
|
| 2092 |
+
"clip_ratio/region_mean": 0.0,
|
| 2093 |
+
"completions/clipped_ratio": 0.796875,
|
| 2094 |
+
"completions/max_length": 2048.0,
|
| 2095 |
+
"completions/max_terminated_length": 1756.0,
|
| 2096 |
+
"completions/mean_length": 1800.390625,
|
| 2097 |
+
"completions/mean_terminated_length": 829.0000610351562,
|
| 2098 |
+
"completions/min_length": 420.0,
|
| 2099 |
+
"completions/min_terminated_length": 420.0,
|
| 2100 |
+
"epoch": 0.096,
|
| 2101 |
+
"frac_reward_zero_std": 0.0,
|
| 2102 |
+
"grad_norm": 0.23385629057884216,
|
| 2103 |
+
"learning_rate": 9.881105062929221e-07,
|
| 2104 |
+
"loss": 0.0,
|
| 2105 |
+
"num_tokens": 10451690.0,
|
| 2106 |
+
"reward": -0.21778321266174316,
|
| 2107 |
+
"reward_std": 0.25428956747055054,
|
| 2108 |
+
"rewards/cosine_scaled_reward/mean": -0.21778322756290436,
|
| 2109 |
+
"rewards/cosine_scaled_reward/std": 0.30295974016189575,
|
| 2110 |
+
"step": 84
|
| 2111 |
+
},
|
| 2112 |
+
{
|
| 2113 |
+
"clip_ratio/high_max": 0.0,
|
| 2114 |
+
"clip_ratio/high_mean": 0.0,
|
| 2115 |
+
"clip_ratio/low_mean": 0.0,
|
| 2116 |
+
"clip_ratio/low_min": 0.0,
|
| 2117 |
+
"clip_ratio/region_mean": 0.0,
|
| 2118 |
+
"completions/clipped_ratio": 0.75,
|
| 2119 |
+
"completions/max_length": 2048.0,
|
| 2120 |
+
"completions/max_terminated_length": 1842.0,
|
| 2121 |
+
"completions/mean_length": 1870.46875,
|
| 2122 |
+
"completions/mean_terminated_length": 1337.875,
|
| 2123 |
+
"completions/min_length": 867.0,
|
| 2124 |
+
"completions/min_terminated_length": 867.0,
|
| 2125 |
+
"epoch": 0.09714285714285714,
|
| 2126 |
+
"frac_reward_zero_std": 0.0,
|
| 2127 |
+
"grad_norm": 0.21526271104812622,
|
| 2128 |
+
"learning_rate": 9.873824502603459e-07,
|
| 2129 |
+
"loss": -0.0,
|
| 2130 |
+
"num_tokens": 10581720.0,
|
| 2131 |
+
"reward": -0.19906702637672424,
|
| 2132 |
+
"reward_std": 0.23402772843837738,
|
| 2133 |
+
"rewards/cosine_scaled_reward/mean": -0.19906699657440186,
|
| 2134 |
+
"rewards/cosine_scaled_reward/std": 0.28999006748199463,
|
| 2135 |
+
"step": 85
|
| 2136 |
+
},
|
| 2137 |
+
{
|
| 2138 |
+
"clip_ratio/high_max": 0.0,
|
| 2139 |
+
"clip_ratio/high_mean": 0.0,
|
| 2140 |
+
"clip_ratio/low_mean": 0.0,
|
| 2141 |
+
"clip_ratio/low_min": 0.0,
|
| 2142 |
+
"clip_ratio/region_mean": 0.0,
|
| 2143 |
+
"completions/clipped_ratio": 0.75,
|
| 2144 |
+
"completions/max_length": 2048.0,
|
| 2145 |
+
"completions/max_terminated_length": 1369.0,
|
| 2146 |
+
"completions/mean_length": 1734.875,
|
| 2147 |
+
"completions/mean_terminated_length": 795.5,
|
| 2148 |
+
"completions/min_length": 581.0,
|
| 2149 |
+
"completions/min_terminated_length": 581.0,
|
| 2150 |
+
"epoch": 0.09828571428571428,
|
| 2151 |
+
"frac_reward_zero_std": 0.0,
|
| 2152 |
+
"grad_norm": 0.24285966157913208,
|
| 2153 |
+
"learning_rate": 9.866330768241983e-07,
|
| 2154 |
+
"loss": 0.0,
|
| 2155 |
+
"num_tokens": 10703608.0,
|
| 2156 |
+
"reward": -0.16528445482254028,
|
| 2157 |
+
"reward_std": 0.2592755854129791,
|
| 2158 |
+
"rewards/cosine_scaled_reward/mean": -0.16528445482254028,
|
| 2159 |
+
"rewards/cosine_scaled_reward/std": 0.37110546231269836,
|
| 2160 |
+
"step": 86
|
| 2161 |
+
},
|
| 2162 |
+
{
|
| 2163 |
+
"clip_ratio/high_max": 0.0,
|
| 2164 |
+
"clip_ratio/high_mean": 0.0,
|
| 2165 |
+
"clip_ratio/low_mean": 0.0,
|
| 2166 |
+
"clip_ratio/low_min": 0.0,
|
| 2167 |
+
"clip_ratio/region_mean": 0.0,
|
| 2168 |
+
"completions/clipped_ratio": 0.5625,
|
| 2169 |
+
"completions/max_length": 2048.0,
|
| 2170 |
+
"completions/max_terminated_length": 1626.0,
|
| 2171 |
+
"completions/mean_length": 1577.921875,
|
| 2172 |
+
"completions/mean_terminated_length": 973.5357666015625,
|
| 2173 |
+
"completions/min_length": 466.0,
|
| 2174 |
+
"completions/min_terminated_length": 466.0,
|
| 2175 |
+
"epoch": 0.09942857142857142,
|
| 2176 |
+
"frac_reward_zero_std": 0.0,
|
| 2177 |
+
"grad_norm": 0.30273520946502686,
|
| 2178 |
+
"learning_rate": 9.85862422507884e-07,
|
| 2179 |
+
"loss": -0.0,
|
| 2180 |
+
"num_tokens": 10814715.0,
|
| 2181 |
+
"reward": -0.20241931080818176,
|
| 2182 |
+
"reward_std": 0.2693288326263428,
|
| 2183 |
+
"rewards/cosine_scaled_reward/mean": -0.20241928100585938,
|
| 2184 |
+
"rewards/cosine_scaled_reward/std": 0.33345305919647217,
|
| 2185 |
+
"step": 87
|
| 2186 |
+
},
|
| 2187 |
+
{
|
| 2188 |
+
"clip_ratio/high_max": 0.0,
|
| 2189 |
+
"clip_ratio/high_mean": 0.0,
|
| 2190 |
+
"clip_ratio/low_mean": 0.0,
|
| 2191 |
+
"clip_ratio/low_min": 0.0,
|
| 2192 |
+
"clip_ratio/region_mean": 0.0,
|
| 2193 |
+
"completions/clipped_ratio": 0.625,
|
| 2194 |
+
"completions/max_length": 2048.0,
|
| 2195 |
+
"completions/max_terminated_length": 1948.0,
|
| 2196 |
+
"completions/mean_length": 1680.546875,
|
| 2197 |
+
"completions/mean_terminated_length": 1068.125,
|
| 2198 |
+
"completions/min_length": 408.0,
|
| 2199 |
+
"completions/min_terminated_length": 408.0,
|
| 2200 |
+
"epoch": 0.10057142857142858,
|
| 2201 |
+
"frac_reward_zero_std": 0.0,
|
| 2202 |
+
"grad_norm": 0.2649252116680145,
|
| 2203 |
+
"learning_rate": 9.850705248720068e-07,
|
| 2204 |
+
"loss": -0.0,
|
| 2205 |
+
"num_tokens": 10932782.0,
|
| 2206 |
+
"reward": -0.018871163949370384,
|
| 2207 |
+
"reward_std": 0.3073042631149292,
|
| 2208 |
+
"rewards/cosine_scaled_reward/mean": -0.018871165812015533,
|
| 2209 |
+
"rewards/cosine_scaled_reward/std": 0.3826298415660858,
|
| 2210 |
+
"step": 88
|
| 2211 |
+
},
|
| 2212 |
+
{
|
| 2213 |
+
"clip_ratio/high_max": 0.0,
|
| 2214 |
+
"clip_ratio/high_mean": 0.0,
|
| 2215 |
+
"clip_ratio/low_mean": 0.0,
|
| 2216 |
+
"clip_ratio/low_min": 0.0,
|
| 2217 |
+
"clip_ratio/region_mean": 0.0,
|
| 2218 |
+
"completions/clipped_ratio": 0.59375,
|
| 2219 |
+
"completions/max_length": 2048.0,
|
| 2220 |
+
"completions/max_terminated_length": 1754.0,
|
| 2221 |
+
"completions/mean_length": 1683.703125,
|
| 2222 |
+
"completions/mean_terminated_length": 1151.269287109375,
|
| 2223 |
+
"completions/min_length": 667.0,
|
| 2224 |
+
"completions/min_terminated_length": 667.0,
|
| 2225 |
+
"epoch": 0.10171428571428572,
|
| 2226 |
+
"frac_reward_zero_std": 0.0,
|
| 2227 |
+
"grad_norm": 0.24950510263442993,
|
| 2228 |
+
"learning_rate": 9.8425742251254e-07,
|
| 2229 |
+
"loss": -0.0,
|
| 2230 |
+
"num_tokens": 11051539.0,
|
| 2231 |
+
"reward": -0.11818082630634308,
|
| 2232 |
+
"reward_std": 0.2949528694152832,
|
| 2233 |
+
"rewards/cosine_scaled_reward/mean": -0.11818082630634308,
|
| 2234 |
+
"rewards/cosine_scaled_reward/std": 0.34418320655822754,
|
| 2235 |
+
"step": 89
|
| 2236 |
+
},
|
| 2237 |
+
{
|
| 2238 |
+
"clip_ratio/high_max": 0.0,
|
| 2239 |
+
"clip_ratio/high_mean": 0.0,
|
| 2240 |
+
"clip_ratio/low_mean": 0.0,
|
| 2241 |
+
"clip_ratio/low_min": 0.0,
|
| 2242 |
+
"clip_ratio/region_mean": 0.0,
|
| 2243 |
+
"completions/clipped_ratio": 0.546875,
|
| 2244 |
+
"completions/max_length": 2048.0,
|
| 2245 |
+
"completions/max_terminated_length": 1958.0,
|
| 2246 |
+
"completions/mean_length": 1558.546875,
|
| 2247 |
+
"completions/mean_terminated_length": 967.8275756835938,
|
| 2248 |
+
"completions/min_length": 377.0,
|
| 2249 |
+
"completions/min_terminated_length": 377.0,
|
| 2250 |
+
"epoch": 0.10285714285714286,
|
| 2251 |
+
"frac_reward_zero_std": 0.0,
|
| 2252 |
+
"grad_norm": 0.36593058705329895,
|
| 2253 |
+
"learning_rate": 9.83423155058946e-07,
|
| 2254 |
+
"loss": 0.0,
|
| 2255 |
+
"num_tokens": 11161286.0,
|
| 2256 |
+
"reward": -0.26082760095596313,
|
| 2257 |
+
"reward_std": 0.1802712082862854,
|
| 2258 |
+
"rewards/cosine_scaled_reward/mean": -0.26082760095596313,
|
| 2259 |
+
"rewards/cosine_scaled_reward/std": 0.2037661075592041,
|
| 2260 |
+
"step": 90
|
| 2261 |
+
},
|
| 2262 |
+
{
|
| 2263 |
+
"clip_ratio/high_max": 0.0,
|
| 2264 |
+
"clip_ratio/high_mean": 0.0,
|
| 2265 |
+
"clip_ratio/low_mean": 0.0,
|
| 2266 |
+
"clip_ratio/low_min": 0.0,
|
| 2267 |
+
"clip_ratio/region_mean": 0.0,
|
| 2268 |
+
"completions/clipped_ratio": 0.765625,
|
| 2269 |
+
"completions/max_length": 2048.0,
|
| 2270 |
+
"completions/max_terminated_length": 1505.0,
|
| 2271 |
+
"completions/mean_length": 1827.9375,
|
| 2272 |
+
"completions/mean_terminated_length": 1109.0667724609375,
|
| 2273 |
+
"completions/min_length": 569.0,
|
| 2274 |
+
"completions/min_terminated_length": 569.0,
|
| 2275 |
+
"epoch": 0.104,
|
| 2276 |
+
"frac_reward_zero_std": 0.0,
|
| 2277 |
+
"grad_norm": 0.24167831242084503,
|
| 2278 |
+
"learning_rate": 9.825677631722435e-07,
|
| 2279 |
+
"loss": 0.0,
|
| 2280 |
+
"num_tokens": 11288842.0,
|
| 2281 |
+
"reward": -0.11456942558288574,
|
| 2282 |
+
"reward_std": 0.26296502351760864,
|
| 2283 |
+
"rewards/cosine_scaled_reward/mean": -0.11456942558288574,
|
| 2284 |
+
"rewards/cosine_scaled_reward/std": 0.3274599611759186,
|
| 2285 |
+
"step": 91
|
| 2286 |
+
},
|
| 2287 |
+
{
|
| 2288 |
+
"clip_ratio/high_max": 0.0,
|
| 2289 |
+
"clip_ratio/high_mean": 0.0,
|
| 2290 |
+
"clip_ratio/low_mean": 0.0,
|
| 2291 |
+
"clip_ratio/low_min": 0.0,
|
| 2292 |
+
"clip_ratio/region_mean": 0.0,
|
| 2293 |
+
"completions/clipped_ratio": 0.59375,
|
| 2294 |
+
"completions/max_length": 2048.0,
|
| 2295 |
+
"completions/max_terminated_length": 1931.0,
|
| 2296 |
+
"completions/mean_length": 1581.546875,
|
| 2297 |
+
"completions/mean_terminated_length": 899.8077392578125,
|
| 2298 |
+
"completions/min_length": 454.0,
|
| 2299 |
+
"completions/min_terminated_length": 454.0,
|
| 2300 |
+
"epoch": 0.10514285714285715,
|
| 2301 |
+
"frac_reward_zero_std": 0.0,
|
| 2302 |
+
"grad_norm": 0.2570616602897644,
|
| 2303 |
+
"learning_rate": 9.816912885430258e-07,
|
| 2304 |
+
"loss": 0.0,
|
| 2305 |
+
"num_tokens": 11400053.0,
|
| 2306 |
+
"reward": -0.17942462861537933,
|
| 2307 |
+
"reward_std": 0.2633644640445709,
|
| 2308 |
+
"rewards/cosine_scaled_reward/mean": -0.17942462861537933,
|
| 2309 |
+
"rewards/cosine_scaled_reward/std": 0.30215632915496826,
|
| 2310 |
+
"step": 92
|
| 2311 |
+
},
|
| 2312 |
+
{
|
| 2313 |
+
"clip_ratio/high_max": 0.0,
|
| 2314 |
+
"clip_ratio/high_mean": 0.0,
|
| 2315 |
+
"clip_ratio/low_mean": 0.0,
|
| 2316 |
+
"clip_ratio/low_min": 0.0,
|
| 2317 |
+
"clip_ratio/region_mean": 0.0,
|
| 2318 |
+
"completions/clipped_ratio": 0.96875,
|
| 2319 |
+
"completions/max_length": 2048.0,
|
| 2320 |
+
"completions/max_terminated_length": 1562.0,
|
| 2321 |
+
"completions/mean_length": 2022.328125,
|
| 2322 |
+
"completions/mean_terminated_length": 1226.5,
|
| 2323 |
+
"completions/min_length": 891.0,
|
| 2324 |
+
"completions/min_terminated_length": 891.0,
|
| 2325 |
+
"epoch": 0.10628571428571429,
|
| 2326 |
+
"frac_reward_zero_std": 0.0,
|
| 2327 |
+
"grad_norm": 0.25331902503967285,
|
| 2328 |
+
"learning_rate": 9.807937738894303e-07,
|
| 2329 |
+
"loss": 0.0,
|
| 2330 |
+
"num_tokens": 11540826.0,
|
| 2331 |
+
"reward": -0.26418450474739075,
|
| 2332 |
+
"reward_std": 0.1380012035369873,
|
| 2333 |
+
"rewards/cosine_scaled_reward/mean": -0.26418450474739075,
|
| 2334 |
+
"rewards/cosine_scaled_reward/std": 0.17390060424804688,
|
| 2335 |
+
"step": 93
|
| 2336 |
+
},
|
| 2337 |
+
{
|
| 2338 |
+
"clip_ratio/high_max": 0.0,
|
| 2339 |
+
"clip_ratio/high_mean": 0.0,
|
| 2340 |
+
"clip_ratio/low_mean": 0.0,
|
| 2341 |
+
"clip_ratio/low_min": 0.0,
|
| 2342 |
+
"clip_ratio/region_mean": 0.0,
|
| 2343 |
+
"completions/clipped_ratio": 0.75,
|
| 2344 |
+
"completions/max_length": 2048.0,
|
| 2345 |
+
"completions/max_terminated_length": 1702.0,
|
| 2346 |
+
"completions/mean_length": 1769.546875,
|
| 2347 |
+
"completions/mean_terminated_length": 934.1875,
|
| 2348 |
+
"completions/min_length": 574.0,
|
| 2349 |
+
"completions/min_terminated_length": 574.0,
|
| 2350 |
+
"epoch": 0.10742857142857143,
|
| 2351 |
+
"frac_reward_zero_std": 0.0,
|
| 2352 |
+
"grad_norm": 0.29503753781318665,
|
| 2353 |
+
"learning_rate": 9.798752629550546e-07,
|
| 2354 |
+
"loss": 0.0,
|
| 2355 |
+
"num_tokens": 11663845.0,
|
| 2356 |
+
"reward": -0.08299511671066284,
|
| 2357 |
+
"reward_std": 0.18226617574691772,
|
| 2358 |
+
"rewards/cosine_scaled_reward/mean": -0.08299513161182404,
|
| 2359 |
+
"rewards/cosine_scaled_reward/std": 0.46436113119125366,
|
| 2360 |
+
"step": 94
|
| 2361 |
+
},
|
| 2362 |
+
{
|
| 2363 |
+
"clip_ratio/high_max": 0.0,
|
| 2364 |
+
"clip_ratio/high_mean": 0.0,
|
| 2365 |
+
"clip_ratio/low_mean": 0.0,
|
| 2366 |
+
"clip_ratio/low_min": 0.0,
|
| 2367 |
+
"clip_ratio/region_mean": 0.0,
|
| 2368 |
+
"completions/clipped_ratio": 0.96875,
|
| 2369 |
+
"completions/max_length": 2048.0,
|
| 2370 |
+
"completions/max_terminated_length": 1300.0,
|
| 2371 |
+
"completions/mean_length": 2021.5,
|
| 2372 |
+
"completions/mean_terminated_length": 1200.0,
|
| 2373 |
+
"completions/min_length": 1100.0,
|
| 2374 |
+
"completions/min_terminated_length": 1100.0,
|
| 2375 |
+
"epoch": 0.10857142857142857,
|
| 2376 |
+
"frac_reward_zero_std": 0.0,
|
| 2377 |
+
"grad_norm": 0.20416001975536346,
|
| 2378 |
+
"learning_rate": 9.78935800506826e-07,
|
| 2379 |
+
"loss": -0.0,
|
| 2380 |
+
"num_tokens": 11803749.0,
|
| 2381 |
+
"reward": -0.22345861792564392,
|
| 2382 |
+
"reward_std": 0.18781372904777527,
|
| 2383 |
+
"rewards/cosine_scaled_reward/mean": -0.22345861792564392,
|
| 2384 |
+
"rewards/cosine_scaled_reward/std": 0.24531956017017365,
|
| 2385 |
+
"step": 95
|
| 2386 |
+
},
|
| 2387 |
+
{
|
| 2388 |
+
"clip_ratio/high_max": 0.0,
|
| 2389 |
+
"clip_ratio/high_mean": 0.0,
|
| 2390 |
+
"clip_ratio/low_mean": 0.0,
|
| 2391 |
+
"clip_ratio/low_min": 0.0,
|
| 2392 |
+
"clip_ratio/region_mean": 0.0,
|
| 2393 |
+
"completions/clipped_ratio": 0.59375,
|
| 2394 |
+
"completions/max_length": 2048.0,
|
| 2395 |
+
"completions/max_terminated_length": 1440.0,
|
| 2396 |
+
"completions/mean_length": 1582.890625,
|
| 2397 |
+
"completions/mean_terminated_length": 903.1154174804688,
|
| 2398 |
+
"completions/min_length": 519.0,
|
| 2399 |
+
"completions/min_terminated_length": 519.0,
|
| 2400 |
+
"epoch": 0.10971428571428571,
|
| 2401 |
+
"frac_reward_zero_std": 0.0,
|
| 2402 |
+
"grad_norm": 0.2593792974948883,
|
| 2403 |
+
"learning_rate": 9.779754323328192e-07,
|
| 2404 |
+
"loss": -0.0,
|
| 2405 |
+
"num_tokens": 11916190.0,
|
| 2406 |
+
"reward": 0.00020215287804603577,
|
| 2407 |
+
"reward_std": 0.24673128128051758,
|
| 2408 |
+
"rewards/cosine_scaled_reward/mean": 0.00020216405391693115,
|
| 2409 |
+
"rewards/cosine_scaled_reward/std": 0.49432000517845154,
|
| 2410 |
+
"step": 96
|
| 2411 |
+
},
|
| 2412 |
+
{
|
| 2413 |
+
"clip_ratio/high_max": 0.0,
|
| 2414 |
+
"clip_ratio/high_mean": 0.0,
|
| 2415 |
+
"clip_ratio/low_mean": 0.0,
|
| 2416 |
+
"clip_ratio/low_min": 0.0,
|
| 2417 |
+
"clip_ratio/region_mean": 0.0,
|
| 2418 |
+
"completions/clipped_ratio": 0.65625,
|
| 2419 |
+
"completions/max_length": 2048.0,
|
| 2420 |
+
"completions/max_terminated_length": 1972.0,
|
| 2421 |
+
"completions/mean_length": 1748.859375,
|
| 2422 |
+
"completions/mean_terminated_length": 1177.772705078125,
|
| 2423 |
+
"completions/min_length": 646.0,
|
| 2424 |
+
"completions/min_terminated_length": 646.0,
|
| 2425 |
+
"epoch": 0.11085714285714286,
|
| 2426 |
+
"frac_reward_zero_std": 0.0,
|
| 2427 |
+
"grad_norm": 0.2480001151561737,
|
| 2428 |
+
"learning_rate": 9.769942052400235e-07,
|
| 2429 |
+
"loss": 0.0,
|
| 2430 |
+
"num_tokens": 12038381.0,
|
| 2431 |
+
"reward": -0.19425566494464874,
|
| 2432 |
+
"reward_std": 0.21240204572677612,
|
| 2433 |
+
"rewards/cosine_scaled_reward/mean": -0.19425567984580994,
|
| 2434 |
+
"rewards/cosine_scaled_reward/std": 0.29181501269340515,
|
| 2435 |
+
"step": 97
|
| 2436 |
+
},
|
| 2437 |
+
{
|
| 2438 |
+
"clip_ratio/high_max": 0.0,
|
| 2439 |
+
"clip_ratio/high_mean": 0.0,
|
| 2440 |
+
"clip_ratio/low_mean": 0.0,
|
| 2441 |
+
"clip_ratio/low_min": 0.0,
|
| 2442 |
+
"clip_ratio/region_mean": 0.0,
|
| 2443 |
+
"completions/clipped_ratio": 0.578125,
|
| 2444 |
+
"completions/max_length": 2048.0,
|
| 2445 |
+
"completions/max_terminated_length": 1984.0,
|
| 2446 |
+
"completions/mean_length": 1632.171875,
|
| 2447 |
+
"completions/mean_terminated_length": 1062.3333740234375,
|
| 2448 |
+
"completions/min_length": 397.0,
|
| 2449 |
+
"completions/min_terminated_length": 397.0,
|
| 2450 |
+
"epoch": 0.112,
|
| 2451 |
+
"frac_reward_zero_std": 0.0,
|
| 2452 |
+
"grad_norm": 0.2797771692276001,
|
| 2453 |
+
"learning_rate": 9.759921670520634e-07,
|
| 2454 |
+
"loss": -0.0,
|
| 2455 |
+
"num_tokens": 12153904.0,
|
| 2456 |
+
"reward": -0.11104464530944824,
|
| 2457 |
+
"reward_std": 0.2755987048149109,
|
| 2458 |
+
"rewards/cosine_scaled_reward/mean": -0.11104465276002884,
|
| 2459 |
+
"rewards/cosine_scaled_reward/std": 0.4012855887413025,
|
| 2460 |
+
"step": 98
|
| 2461 |
+
},
|
| 2462 |
+
{
|
| 2463 |
+
"clip_ratio/high_max": 0.0,
|
| 2464 |
+
"clip_ratio/high_mean": 0.0,
|
| 2465 |
+
"clip_ratio/low_mean": 0.0,
|
| 2466 |
+
"clip_ratio/low_min": 0.0,
|
| 2467 |
+
"clip_ratio/region_mean": 0.0,
|
| 2468 |
+
"completions/clipped_ratio": 0.734375,
|
| 2469 |
+
"completions/max_length": 2048.0,
|
| 2470 |
+
"completions/max_terminated_length": 847.0,
|
| 2471 |
+
"completions/mean_length": 1651.078125,
|
| 2472 |
+
"completions/mean_terminated_length": 553.7058715820312,
|
| 2473 |
+
"completions/min_length": 390.0,
|
| 2474 |
+
"completions/min_terminated_length": 390.0,
|
| 2475 |
+
"epoch": 0.11314285714285714,
|
| 2476 |
+
"frac_reward_zero_std": 0.0,
|
| 2477 |
+
"grad_norm": 0.3114299476146698,
|
| 2478 |
+
"learning_rate": 9.749693666068663e-07,
|
| 2479 |
+
"loss": -0.0,
|
| 2480 |
+
"num_tokens": 12270741.0,
|
| 2481 |
+
"reward": -0.1317199319601059,
|
| 2482 |
+
"reward_std": 0.14237020909786224,
|
| 2483 |
+
"rewards/cosine_scaled_reward/mean": -0.1317199319601059,
|
| 2484 |
+
"rewards/cosine_scaled_reward/std": 0.3707720935344696,
|
| 2485 |
+
"step": 99
|
| 2486 |
+
},
|
| 2487 |
+
{
|
| 2488 |
+
"clip_ratio/high_max": 0.0,
|
| 2489 |
+
"clip_ratio/high_mean": 0.0,
|
| 2490 |
+
"clip_ratio/low_mean": 0.0,
|
| 2491 |
+
"clip_ratio/low_min": 0.0,
|
| 2492 |
+
"clip_ratio/region_mean": 0.0,
|
| 2493 |
+
"completions/clipped_ratio": 0.546875,
|
| 2494 |
+
"completions/max_length": 2048.0,
|
| 2495 |
+
"completions/max_terminated_length": 2034.0,
|
| 2496 |
+
"completions/mean_length": 1544.765625,
|
| 2497 |
+
"completions/mean_terminated_length": 937.413818359375,
|
| 2498 |
+
"completions/min_length": 457.0,
|
| 2499 |
+
"completions/min_terminated_length": 457.0,
|
| 2500 |
+
"epoch": 0.11428571428571428,
|
| 2501 |
+
"frac_reward_zero_std": 0.0,
|
| 2502 |
+
"grad_norm": 0.2654109001159668,
|
| 2503 |
+
"learning_rate": 9.739258537542835e-07,
|
| 2504 |
+
"loss": 0.0,
|
| 2505 |
+
"num_tokens": 12379318.0,
|
| 2506 |
+
"reward": -0.018167953938245773,
|
| 2507 |
+
"reward_std": 0.29768484830856323,
|
| 2508 |
+
"rewards/cosine_scaled_reward/mean": -0.01816795952618122,
|
| 2509 |
+
"rewards/cosine_scaled_reward/std": 0.44200995564460754,
|
| 2510 |
+
"step": 100
|
| 2511 |
+
}
|
| 2512 |
+
],
|
| 2513 |
+
"logging_steps": 1,
|
| 2514 |
+
"max_steps": 500,
|
| 2515 |
+
"num_input_tokens_seen": 12379318,
|
| 2516 |
+
"num_train_epochs": 1,
|
| 2517 |
+
"save_steps": 50,
|
| 2518 |
+
"stateful_callbacks": {
|
| 2519 |
+
"TrainerControl": {
|
| 2520 |
+
"args": {
|
| 2521 |
+
"should_epoch_stop": false,
|
| 2522 |
+
"should_evaluate": false,
|
| 2523 |
+
"should_log": false,
|
| 2524 |
+
"should_save": true,
|
| 2525 |
+
"should_training_stop": false
|
| 2526 |
+
},
|
| 2527 |
+
"attributes": {}
|
| 2528 |
+
}
|
| 2529 |
+
},
|
| 2530 |
+
"total_flos": 0.0,
|
| 2531 |
+
"train_batch_size": 4,
|
| 2532 |
+
"trial_name": null,
|
| 2533 |
+
"trial_params": null
|
| 2534 |
+
}
|
checkpoint-100/training_args.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:4639e85d2a55fd05c0491ef4a075a1d0d0059852d9fc8f59c4aaa80933edfcd5
|
| 3 |
+
size 8824
|
checkpoint-100/zero_to_fp32.py
ADDED
|
@@ -0,0 +1,760 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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oints. It gets
|
| 9 |
+
# copied into the top level checkpoint dir, so the user can easily do the conversion at any point in
|
| 10 |
+
# the future. Once extracted, the weights don't require DeepSpeed and can be used in any
|
| 11 |
+
# application.
|
| 12 |
+
#
|
| 13 |
+
# example:
|
| 14 |
+
# python zero_to_fp32.py . output_dir/
|
| 15 |
+
# or
|
| 16 |
+
# python zero_to_fp32.py . output_dir/ --safe_serialization
|
| 17 |
+
|
| 18 |
+
import argparse
|
| 19 |
+
import torch
|
| 20 |
+
import glob
|
| 21 |
+
import math
|
| 22 |
+
import os
|
| 23 |
+
import re
|
| 24 |
+
import gc
|
| 25 |
+
import json
|
| 26 |
+
import numpy as np
|
| 27 |
+
from tqdm import tqdm
|
| 28 |
+
from collections import OrderedDict
|
| 29 |
+
from dataclasses import dataclass
|
| 30 |
+
|
| 31 |
+
# while this script doesn't use deepspeed to recover data, since the checkpoints are pickled with
|
| 32 |
+
# DeepSpeed data structures it has to be available in the current python environment.
|
| 33 |
+
from deepspeed.utils import logger
|
| 34 |
+
from deepspeed.checkpoint.constants import (DS_VERSION, OPTIMIZER_STATE_DICT, SINGLE_PARTITION_OF_FP32_GROUPS,
|
| 35 |
+
FP32_FLAT_GROUPS, ZERO_STAGE, PARTITION_COUNT, PARAM_SHAPES, BUFFER_NAMES,
|
| 36 |
+
FROZEN_PARAM_SHAPES, FROZEN_PARAM_FRAGMENTS)
|
| 37 |
+
|
| 38 |
+
|
| 39 |
+
@dataclass
|
| 40 |
+
class zero_model_state:
|
| 41 |
+
buffers: dict()
|
| 42 |
+
param_shapes: dict()
|
| 43 |
+
shared_params: list
|
| 44 |
+
ds_version: int
|
| 45 |
+
frozen_param_shapes: dict()
|
| 46 |
+
frozen_param_fragments: dict()
|
| 47 |
+
|
| 48 |
+
|
| 49 |
+
debug = 0
|
| 50 |
+
|
| 51 |
+
# load to cpu
|
| 52 |
+
device = torch.device('cpu')
|
| 53 |
+
|
| 54 |
+
|
| 55 |
+
def atoi(text):
|
| 56 |
+
return int(text) if text.isdigit() else text
|
| 57 |
+
|
| 58 |
+
|
| 59 |
+
def natural_keys(text):
|
| 60 |
+
'''
|
| 61 |
+
alist.sort(key=natural_keys) sorts in human order
|
| 62 |
+
http://nedbatchelder.com/blog/200712/human_sorting.html
|
| 63 |
+
(See Toothy's implementation in the comments)
|
| 64 |
+
'''
|
| 65 |
+
return [atoi(c) for c in re.split(r'(\d+)', text)]
|
| 66 |
+
|
| 67 |
+
|
| 68 |
+
def get_model_state_file(checkpoint_dir, zero_stage):
|
| 69 |
+
if not os.path.isdir(checkpoint_dir):
|
| 70 |
+
raise FileNotFoundError(f"Directory '{checkpoint_dir}' doesn't exist")
|
| 71 |
+
|
| 72 |
+
# there should be only one file
|
| 73 |
+
if zero_stage <= 2:
|
| 74 |
+
file = os.path.join(checkpoint_dir, "mp_rank_00_model_states.pt")
|
| 75 |
+
elif zero_stage == 3:
|
| 76 |
+
file = os.path.join(checkpoint_dir, "zero_pp_rank_0_mp_rank_00_model_states.pt")
|
| 77 |
+
|
| 78 |
+
if not os.path.exists(file):
|
| 79 |
+
raise FileNotFoundError(f"can't find model states file at '{file}'")
|
| 80 |
+
|
| 81 |
+
return file
|
| 82 |
+
|
| 83 |
+
|
| 84 |
+
def get_checkpoint_files(checkpoint_dir, glob_pattern):
|
| 85 |
+
# XXX: need to test that this simple glob rule works for multi-node setup too
|
| 86 |
+
ckpt_files = sorted(glob.glob(os.path.join(checkpoint_dir, glob_pattern)), key=natural_keys)
|
| 87 |
+
|
| 88 |
+
if len(ckpt_files) == 0:
|
| 89 |
+
raise FileNotFoundError(f"can't find {glob_pattern} files in directory '{checkpoint_dir}'")
|
| 90 |
+
|
| 91 |
+
return ckpt_files
|
| 92 |
+
|
| 93 |
+
|
| 94 |
+
def get_optim_files(checkpoint_dir):
|
| 95 |
+
return get_checkpoint_files(checkpoint_dir, "*_optim_states.pt")
|
| 96 |
+
|
| 97 |
+
|
| 98 |
+
def get_model_state_files(checkpoint_dir):
|
| 99 |
+
return get_checkpoint_files(checkpoint_dir, "*_model_states.pt")
|
| 100 |
+
|
| 101 |
+
|
| 102 |
+
def parse_model_states(files):
|
| 103 |
+
zero_model_states = []
|
| 104 |
+
for file in files:
|
| 105 |
+
state_dict = torch.load(file, map_location=device, weights_only=False)
|
| 106 |
+
|
| 107 |
+
if BUFFER_NAMES not in state_dict:
|
| 108 |
+
raise ValueError(f"{file} is not a model state checkpoint")
|
| 109 |
+
buffer_names = state_dict[BUFFER_NAMES]
|
| 110 |
+
if debug:
|
| 111 |
+
print("Found buffers:", buffer_names)
|
| 112 |
+
|
| 113 |
+
# recover just the buffers while restoring them to fp32 if they were saved in fp16
|
| 114 |
+
buffers = {k: v.float() for k, v in state_dict["module"].items() if k in buffer_names}
|
| 115 |
+
param_shapes = state_dict[PARAM_SHAPES]
|
| 116 |
+
|
| 117 |
+
# collect parameters that are included in param_shapes
|
| 118 |
+
param_names = []
|
| 119 |
+
for s in param_shapes:
|
| 120 |
+
for name in s.keys():
|
| 121 |
+
param_names.append(name)
|
| 122 |
+
|
| 123 |
+
# update with frozen parameters
|
| 124 |
+
frozen_param_shapes = state_dict.get(FROZEN_PARAM_SHAPES, None)
|
| 125 |
+
if frozen_param_shapes is not None:
|
| 126 |
+
if debug:
|
| 127 |
+
print(f"Found frozen_param_shapes: {frozen_param_shapes}")
|
| 128 |
+
param_names += list(frozen_param_shapes.keys())
|
| 129 |
+
|
| 130 |
+
# handle shared params
|
| 131 |
+
shared_params = [[k, v] for k, v in state_dict["shared_params"].items()]
|
| 132 |
+
|
| 133 |
+
ds_version = state_dict.get(DS_VERSION, None)
|
| 134 |
+
|
| 135 |
+
frozen_param_fragments = state_dict.get(FROZEN_PARAM_FRAGMENTS, None)
|
| 136 |
+
|
| 137 |
+
z_model_state = zero_model_state(buffers=buffers,
|
| 138 |
+
param_shapes=param_shapes,
|
| 139 |
+
shared_params=shared_params,
|
| 140 |
+
ds_version=ds_version,
|
| 141 |
+
frozen_param_shapes=frozen_param_shapes,
|
| 142 |
+
frozen_param_fragments=frozen_param_fragments)
|
| 143 |
+
zero_model_states.append(z_model_state)
|
| 144 |
+
|
| 145 |
+
return zero_model_states
|
| 146 |
+
|
| 147 |
+
|
| 148 |
+
def parse_optim_states(files, ds_checkpoint_dir):
|
| 149 |
+
total_files = len(files)
|
| 150 |
+
state_dicts = []
|
| 151 |
+
for f in tqdm(files, desc='Loading checkpoint shards'):
|
| 152 |
+
state_dict = torch.load(f, map_location=device, mmap=True, weights_only=False)
|
| 153 |
+
# immediately discard the potentially huge 2 optimizer states as we only care for fp32 master weights
|
| 154 |
+
# and also handle the case where it was already removed by another helper script
|
| 155 |
+
state_dict["optimizer_state_dict"].pop("optimizer_state_dict", None)
|
| 156 |
+
state_dicts.append(state_dict)
|
| 157 |
+
|
| 158 |
+
if not ZERO_STAGE in state_dicts[0][OPTIMIZER_STATE_DICT]:
|
| 159 |
+
raise ValueError(f"{files[0]} is not a zero checkpoint")
|
| 160 |
+
zero_stage = state_dicts[0][OPTIMIZER_STATE_DICT][ZERO_STAGE]
|
| 161 |
+
world_size = state_dicts[0][OPTIMIZER_STATE_DICT][PARTITION_COUNT]
|
| 162 |
+
|
| 163 |
+
# For ZeRO-2 each param group can have different partition_count as data parallelism for expert
|
| 164 |
+
# parameters can be different from data parallelism for non-expert parameters. So we can just
|
| 165 |
+
# use the max of the partition_count to get the dp world_size.
|
| 166 |
+
|
| 167 |
+
if type(world_size) is list:
|
| 168 |
+
world_size = max(world_size)
|
| 169 |
+
|
| 170 |
+
if world_size != total_files:
|
| 171 |
+
raise ValueError(
|
| 172 |
+
f"Expected {world_size} of '*_optim_states.pt' under '{ds_checkpoint_dir}' but found {total_files} files. "
|
| 173 |
+
"Possibly due to an overwrite of an old checkpoint, or a checkpoint didn't get saved by one or more processes."
|
| 174 |
+
)
|
| 175 |
+
|
| 176 |
+
# the groups are named differently in each stage
|
| 177 |
+
if zero_stage <= 2:
|
| 178 |
+
fp32_groups_key = SINGLE_PARTITION_OF_FP32_GROUPS
|
| 179 |
+
elif zero_stage == 3:
|
| 180 |
+
fp32_groups_key = FP32_FLAT_GROUPS
|
| 181 |
+
else:
|
| 182 |
+
raise ValueError(f"unknown zero stage {zero_stage}")
|
| 183 |
+
|
| 184 |
+
fp32_flat_groups = [state_dicts[i][OPTIMIZER_STATE_DICT][fp32_groups_key] for i in range(len(state_dicts))]
|
| 185 |
+
return zero_stage, world_size, fp32_flat_groups
|
| 186 |
+
|
| 187 |
+
|
| 188 |
+
def _get_fp32_state_dict_from_zero_checkpoint(ds_checkpoint_dir, exclude_frozen_parameters):
|
| 189 |
+
"""
|
| 190 |
+
Returns fp32 state_dict reconstructed from ds checkpoint
|
| 191 |
+
|
| 192 |
+
Args:
|
| 193 |
+
- ``ds_checkpoint_dir``: path to the deepspeed checkpoint folder (where the optimizer files are)
|
| 194 |
+
|
| 195 |
+
"""
|
| 196 |
+
print(f"Processing zero checkpoint '{ds_checkpoint_dir}'")
|
| 197 |
+
|
| 198 |
+
optim_files = get_optim_files(ds_checkpoint_dir)
|
| 199 |
+
zero_stage, world_size, fp32_flat_groups = parse_optim_states(optim_files, ds_checkpoint_dir)
|
| 200 |
+
print(f"Detected checkpoint of type zero stage {zero_stage}, world_size: {world_size}")
|
| 201 |
+
|
| 202 |
+
model_files = get_model_state_files(ds_checkpoint_dir)
|
| 203 |
+
|
| 204 |
+
zero_model_states = parse_model_states(model_files)
|
| 205 |
+
print(f'Parsing checkpoint created by deepspeed=={zero_model_states[0].ds_version}')
|
| 206 |
+
|
| 207 |
+
if zero_stage <= 2:
|
| 208 |
+
return _get_fp32_state_dict_from_zero2_checkpoint(world_size, fp32_flat_groups, zero_model_states,
|
| 209 |
+
exclude_frozen_parameters)
|
| 210 |
+
elif zero_stage == 3:
|
| 211 |
+
return _get_fp32_state_dict_from_zero3_checkpoint(world_size, fp32_flat_groups, zero_model_states,
|
| 212 |
+
exclude_frozen_parameters)
|
| 213 |
+
|
| 214 |
+
|
| 215 |
+
def _zero2_merge_frozen_params(state_dict, zero_model_states):
|
| 216 |
+
if zero_model_states[0].frozen_param_shapes is None or len(zero_model_states[0].frozen_param_shapes) == 0:
|
| 217 |
+
return
|
| 218 |
+
|
| 219 |
+
frozen_param_shapes = zero_model_states[0].frozen_param_shapes
|
| 220 |
+
frozen_param_fragments = zero_model_states[0].frozen_param_fragments
|
| 221 |
+
|
| 222 |
+
if debug:
|
| 223 |
+
num_elem = sum(s.numel() for s in frozen_param_shapes.values())
|
| 224 |
+
print(f'rank 0: {FROZEN_PARAM_SHAPES}.numel = {num_elem}')
|
| 225 |
+
|
| 226 |
+
wanted_params = len(frozen_param_shapes)
|
| 227 |
+
wanted_numel = sum(s.numel() for s in frozen_param_shapes.values())
|
| 228 |
+
avail_numel = sum([p.numel() for p in frozen_param_fragments.values()])
|
| 229 |
+
print(f'Frozen params: Have {avail_numel} numels to process.')
|
| 230 |
+
print(f'Frozen params: Need {wanted_numel} numels in {wanted_params} params')
|
| 231 |
+
|
| 232 |
+
total_params = 0
|
| 233 |
+
total_numel = 0
|
| 234 |
+
for name, shape in frozen_param_shapes.items():
|
| 235 |
+
total_params += 1
|
| 236 |
+
unpartitioned_numel = shape.numel()
|
| 237 |
+
total_numel += unpartitioned_numel
|
| 238 |
+
|
| 239 |
+
state_dict[name] = frozen_param_fragments[name]
|
| 240 |
+
|
| 241 |
+
if debug:
|
| 242 |
+
print(f"{name} full shape: {shape} unpartitioned numel {unpartitioned_numel} ")
|
| 243 |
+
|
| 244 |
+
print(f"Reconstructed Frozen fp32 state dict with {total_params} params {total_numel} elements")
|
| 245 |
+
|
| 246 |
+
|
| 247 |
+
def _has_callable(obj, fn):
|
| 248 |
+
attr = getattr(obj, fn, None)
|
| 249 |
+
return callable(attr)
|
| 250 |
+
|
| 251 |
+
|
| 252 |
+
def _zero2_merge_trainable_params(state_dict, world_size, fp32_flat_groups, zero_model_states):
|
| 253 |
+
param_shapes = zero_model_states[0].param_shapes
|
| 254 |
+
|
| 255 |
+
# Reconstruction protocol:
|
| 256 |
+
#
|
| 257 |
+
# XXX: document this
|
| 258 |
+
|
| 259 |
+
if debug:
|
| 260 |
+
for i in range(world_size):
|
| 261 |
+
for j in range(len(fp32_flat_groups[0])):
|
| 262 |
+
print(f"{FP32_FLAT_GROUPS}[{i}][{j}].shape={fp32_flat_groups[i][j].shape}")
|
| 263 |
+
|
| 264 |
+
# XXX: memory usage doubles here (zero2)
|
| 265 |
+
num_param_groups = len(fp32_flat_groups[0])
|
| 266 |
+
merged_single_partition_of_fp32_groups = []
|
| 267 |
+
for i in range(num_param_groups):
|
| 268 |
+
merged_partitions = [sd[i] for sd in fp32_flat_groups]
|
| 269 |
+
full_single_fp32_vector = torch.cat(merged_partitions, 0)
|
| 270 |
+
merged_single_partition_of_fp32_groups.append(full_single_fp32_vector)
|
| 271 |
+
avail_numel = sum(
|
| 272 |
+
[full_single_fp32_vector.numel() for full_single_fp32_vector in merged_single_partition_of_fp32_groups])
|
| 273 |
+
|
| 274 |
+
if debug:
|
| 275 |
+
wanted_params = sum([len(shapes) for shapes in param_shapes])
|
| 276 |
+
wanted_numel = sum([sum(shape.numel() for shape in shapes.values()) for shapes in param_shapes])
|
| 277 |
+
# not asserting if there is a mismatch due to possible padding
|
| 278 |
+
print(f"Have {avail_numel} numels to process.")
|
| 279 |
+
print(f"Need {wanted_numel} numels in {wanted_params} params.")
|
| 280 |
+
|
| 281 |
+
# params
|
| 282 |
+
# XXX: for huge models that can't fit into the host's RAM we will have to recode this to support
|
| 283 |
+
# out-of-core computing solution
|
| 284 |
+
total_numel = 0
|
| 285 |
+
total_params = 0
|
| 286 |
+
for shapes, full_single_fp32_vector in zip(param_shapes, merged_single_partition_of_fp32_groups):
|
| 287 |
+
offset = 0
|
| 288 |
+
avail_numel = full_single_fp32_vector.numel()
|
| 289 |
+
for name, shape in shapes.items():
|
| 290 |
+
|
| 291 |
+
unpartitioned_numel = shape.numel() if _has_callable(shape, 'numel') else math.prod(shape)
|
| 292 |
+
total_numel += unpartitioned_numel
|
| 293 |
+
total_params += 1
|
| 294 |
+
|
| 295 |
+
if debug:
|
| 296 |
+
print(f"{name} full shape: {shape} unpartitioned numel {unpartitioned_numel} ")
|
| 297 |
+
state_dict[name] = full_single_fp32_vector.narrow(0, offset, unpartitioned_numel).view(shape)
|
| 298 |
+
offset += unpartitioned_numel
|
| 299 |
+
|
| 300 |
+
# Z2 started to align to 2*world_size to improve nccl performance. Therefore both offset and
|
| 301 |
+
# avail_numel can differ by anywhere between 0..2*world_size. Due to two unrelated complex
|
| 302 |
+
# paddings performed in the code it's almost impossible to predict the exact numbers w/o the
|
| 303 |
+
# live optimizer object, so we are checking that the numbers are within the right range
|
| 304 |
+
align_to = 2 * world_size
|
| 305 |
+
|
| 306 |
+
def zero2_align(x):
|
| 307 |
+
return align_to * math.ceil(x / align_to)
|
| 308 |
+
|
| 309 |
+
if debug:
|
| 310 |
+
print(f"original offset={offset}, avail_numel={avail_numel}")
|
| 311 |
+
|
| 312 |
+
offset = zero2_align(offset)
|
| 313 |
+
avail_numel = zero2_align(avail_numel)
|
| 314 |
+
|
| 315 |
+
if debug:
|
| 316 |
+
print(f"aligned offset={offset}, avail_numel={avail_numel}")
|
| 317 |
+
|
| 318 |
+
# Sanity check
|
| 319 |
+
if offset != avail_numel:
|
| 320 |
+
raise ValueError(f"consumed {offset} numels out of {avail_numel} - something is wrong")
|
| 321 |
+
|
| 322 |
+
print(f"Reconstructed fp32 state dict with {total_params} params {total_numel} elements")
|
| 323 |
+
|
| 324 |
+
|
| 325 |
+
def _get_fp32_state_dict_from_zero2_checkpoint(world_size, fp32_flat_groups, zero_model_states,
|
| 326 |
+
exclude_frozen_parameters):
|
| 327 |
+
state_dict = OrderedDict()
|
| 328 |
+
|
| 329 |
+
# buffers
|
| 330 |
+
buffers = zero_model_states[0].buffers
|
| 331 |
+
state_dict.update(buffers)
|
| 332 |
+
if debug:
|
| 333 |
+
print(f"added {len(buffers)} buffers")
|
| 334 |
+
|
| 335 |
+
if not exclude_frozen_parameters:
|
| 336 |
+
_zero2_merge_frozen_params(state_dict, zero_model_states)
|
| 337 |
+
|
| 338 |
+
_zero2_merge_trainable_params(state_dict, world_size, fp32_flat_groups, zero_model_states)
|
| 339 |
+
|
| 340 |
+
# recover shared parameters
|
| 341 |
+
for pair in zero_model_states[0].shared_params:
|
| 342 |
+
if pair[1] in state_dict:
|
| 343 |
+
state_dict[pair[0]] = state_dict[pair[1]]
|
| 344 |
+
|
| 345 |
+
return state_dict
|
| 346 |
+
|
| 347 |
+
|
| 348 |
+
def zero3_partitioned_param_info(unpartitioned_numel, world_size):
|
| 349 |
+
remainder = unpartitioned_numel % world_size
|
| 350 |
+
padding_numel = (world_size - remainder) if remainder else 0
|
| 351 |
+
partitioned_numel = math.ceil(unpartitioned_numel / world_size)
|
| 352 |
+
return partitioned_numel, padding_numel
|
| 353 |
+
|
| 354 |
+
|
| 355 |
+
def _zero3_merge_frozen_params(state_dict, world_size, zero_model_states):
|
| 356 |
+
if zero_model_states[0].frozen_param_shapes is None or len(zero_model_states[0].frozen_param_shapes) == 0:
|
| 357 |
+
return
|
| 358 |
+
|
| 359 |
+
if debug:
|
| 360 |
+
for i in range(world_size):
|
| 361 |
+
num_elem = sum(s.numel() for s in zero_model_states[i].frozen_param_fragments.values())
|
| 362 |
+
print(f'rank {i}: {FROZEN_PARAM_SHAPES}.numel = {num_elem}')
|
| 363 |
+
|
| 364 |
+
frozen_param_shapes = zero_model_states[0].frozen_param_shapes
|
| 365 |
+
wanted_params = len(frozen_param_shapes)
|
| 366 |
+
wanted_numel = sum(s.numel() for s in frozen_param_shapes.values())
|
| 367 |
+
avail_numel = sum([p.numel() for p in zero_model_states[0].frozen_param_fragments.values()]) * world_size
|
| 368 |
+
print(f'Frozen params: Have {avail_numel} numels to process.')
|
| 369 |
+
print(f'Frozen params: Need {wanted_numel} numels in {wanted_params} params')
|
| 370 |
+
|
| 371 |
+
total_params = 0
|
| 372 |
+
total_numel = 0
|
| 373 |
+
for name, shape in zero_model_states[0].frozen_param_shapes.items():
|
| 374 |
+
total_params += 1
|
| 375 |
+
unpartitioned_numel = shape.numel()
|
| 376 |
+
total_numel += unpartitioned_numel
|
| 377 |
+
|
| 378 |
+
param_frags = tuple(model_state.frozen_param_fragments[name] for model_state in zero_model_states)
|
| 379 |
+
state_dict[name] = torch.cat(param_frags, 0).narrow(0, 0, unpartitioned_numel).view(shape)
|
| 380 |
+
|
| 381 |
+
partitioned_numel, partitioned_padding_numel = zero3_partitioned_param_info(unpartitioned_numel, world_size)
|
| 382 |
+
|
| 383 |
+
if debug:
|
| 384 |
+
print(
|
| 385 |
+
f"Frozen params: {total_params} {name} full shape: {shape} partition0 numel={partitioned_numel} partitioned_padding_numel={partitioned_padding_numel}"
|
| 386 |
+
)
|
| 387 |
+
|
| 388 |
+
print(f"Reconstructed Frozen fp32 state dict with {total_params} params {total_numel} elements")
|
| 389 |
+
|
| 390 |
+
|
| 391 |
+
class GatheredTensor:
|
| 392 |
+
"""
|
| 393 |
+
A pseudo tensor that collects partitioned weights.
|
| 394 |
+
It is more memory efficient when there are multiple groups.
|
| 395 |
+
"""
|
| 396 |
+
|
| 397 |
+
def __init__(self, flat_groups, flat_groups_offset, offset, partitioned_numel, shape):
|
| 398 |
+
self.flat_groups = flat_groups
|
| 399 |
+
self.flat_groups_offset = flat_groups_offset
|
| 400 |
+
self.offset = offset
|
| 401 |
+
self.partitioned_numel = partitioned_numel
|
| 402 |
+
self.shape = shape
|
| 403 |
+
self.dtype = self.flat_groups[0][0].dtype
|
| 404 |
+
|
| 405 |
+
def contiguous(self):
|
| 406 |
+
"""
|
| 407 |
+
Merge partitioned weights from flat_groups into a single tensor.
|
| 408 |
+
"""
|
| 409 |
+
end_idx = self.offset + self.partitioned_numel
|
| 410 |
+
world_size = len(self.flat_groups)
|
| 411 |
+
pad_flat_param_chunks = []
|
| 412 |
+
|
| 413 |
+
for rank_i in range(world_size):
|
| 414 |
+
# for each rank, we need to collect weights from related group/groups
|
| 415 |
+
flat_groups_at_rank_i = self.flat_groups[rank_i]
|
| 416 |
+
start_group_id = None
|
| 417 |
+
end_group_id = None
|
| 418 |
+
for group_id in range(len(self.flat_groups_offset)):
|
| 419 |
+
if self.flat_groups_offset[group_id] <= self.offset < self.flat_groups_offset[group_id + 1]:
|
| 420 |
+
start_group_id = group_id
|
| 421 |
+
if self.flat_groups_offset[group_id] < end_idx <= self.flat_groups_offset[group_id + 1]:
|
| 422 |
+
end_group_id = group_id
|
| 423 |
+
break
|
| 424 |
+
# collect weights from related group/groups
|
| 425 |
+
for group_id in range(start_group_id, end_group_id + 1):
|
| 426 |
+
flat_tensor = flat_groups_at_rank_i[group_id]
|
| 427 |
+
start_offset = self.offset - self.flat_groups_offset[group_id]
|
| 428 |
+
end_offset = min(end_idx, self.flat_groups_offset[group_id + 1]) - self.flat_groups_offset[group_id]
|
| 429 |
+
pad_flat_param_chunks.append(flat_tensor[start_offset:end_offset])
|
| 430 |
+
|
| 431 |
+
# collect weights from all ranks
|
| 432 |
+
pad_flat_param = torch.cat(pad_flat_param_chunks, dim=0)
|
| 433 |
+
param = pad_flat_param[:self.shape.numel()].view(self.shape).contiguous()
|
| 434 |
+
return param
|
| 435 |
+
|
| 436 |
+
|
| 437 |
+
def _zero3_merge_trainable_params(state_dict, world_size, fp32_flat_groups, zero_model_states):
|
| 438 |
+
param_shapes = zero_model_states[0].param_shapes
|
| 439 |
+
avail_numel = sum([flat_group.numel() for flat_group in fp32_flat_groups[0]]) * world_size
|
| 440 |
+
|
| 441 |
+
# Reconstruction protocol: For zero3 we need to zip the partitions together at boundary of each
|
| 442 |
+
# param, re-consolidating each param, while dealing with padding if any
|
| 443 |
+
|
| 444 |
+
# merge list of dicts, preserving order
|
| 445 |
+
param_shapes = {k: v for d in param_shapes for k, v in d.items()}
|
| 446 |
+
|
| 447 |
+
if debug:
|
| 448 |
+
for i in range(world_size):
|
| 449 |
+
print(f"{FP32_FLAT_GROUPS}[{i}].shape={fp32_flat_groups[i].shape}")
|
| 450 |
+
|
| 451 |
+
wanted_params = len(param_shapes)
|
| 452 |
+
wanted_numel = sum(shape.numel() for shape in param_shapes.values())
|
| 453 |
+
# not asserting if there is a mismatch due to possible padding
|
| 454 |
+
avail_numel = fp32_flat_groups[0].numel() * world_size
|
| 455 |
+
print(f"Trainable params: Have {avail_numel} numels to process.")
|
| 456 |
+
print(f"Trainable params: Need {wanted_numel} numels in {wanted_params} params.")
|
| 457 |
+
|
| 458 |
+
# params
|
| 459 |
+
# XXX: for huge models that can't fit into the host's RAM we will have to recode this to support
|
| 460 |
+
# out-of-core computing solution
|
| 461 |
+
offset = 0
|
| 462 |
+
total_numel = 0
|
| 463 |
+
total_params = 0
|
| 464 |
+
flat_groups_offset = [0] + list(np.cumsum([flat_tensor.numel() for flat_tensor in fp32_flat_groups[0]]))
|
| 465 |
+
for name, shape in tqdm(param_shapes.items(), desc='Gathering sharded weights'):
|
| 466 |
+
unpartitioned_numel = shape.numel()
|
| 467 |
+
total_numel += unpartitioned_numel
|
| 468 |
+
total_params += 1
|
| 469 |
+
partitioned_numel, partitioned_padding_numel = zero3_partitioned_param_info(unpartitioned_numel, world_size)
|
| 470 |
+
|
| 471 |
+
if debug:
|
| 472 |
+
print(
|
| 473 |
+
f"Trainable params: {total_params} {name} full shape: {shape} partition0 numel={partitioned_numel} partitioned_padding_numel={partitioned_padding_numel}"
|
| 474 |
+
)
|
| 475 |
+
|
| 476 |
+
# memory efficient tensor
|
| 477 |
+
tensor = GatheredTensor(fp32_flat_groups, flat_groups_offset, offset, partitioned_numel, shape)
|
| 478 |
+
state_dict[name] = tensor
|
| 479 |
+
offset += partitioned_numel
|
| 480 |
+
|
| 481 |
+
offset *= world_size
|
| 482 |
+
|
| 483 |
+
# Sanity check
|
| 484 |
+
if offset != avail_numel:
|
| 485 |
+
raise ValueError(f"consumed {offset} numels out of {avail_numel} - something is wrong")
|
| 486 |
+
|
| 487 |
+
print(f"Reconstructed Trainable fp32 state dict with {total_params} params {total_numel} elements")
|
| 488 |
+
|
| 489 |
+
|
| 490 |
+
def _get_fp32_state_dict_from_zero3_checkpoint(world_size, fp32_flat_groups, zero_model_states,
|
| 491 |
+
exclude_frozen_parameters):
|
| 492 |
+
state_dict = OrderedDict()
|
| 493 |
+
|
| 494 |
+
# buffers
|
| 495 |
+
buffers = zero_model_states[0].buffers
|
| 496 |
+
state_dict.update(buffers)
|
| 497 |
+
if debug:
|
| 498 |
+
print(f"added {len(buffers)} buffers")
|
| 499 |
+
|
| 500 |
+
if not exclude_frozen_parameters:
|
| 501 |
+
_zero3_merge_frozen_params(state_dict, world_size, zero_model_states)
|
| 502 |
+
|
| 503 |
+
_zero3_merge_trainable_params(state_dict, world_size, fp32_flat_groups, zero_model_states)
|
| 504 |
+
|
| 505 |
+
# recover shared parameters
|
| 506 |
+
for pair in zero_model_states[0].shared_params:
|
| 507 |
+
if pair[1] in state_dict:
|
| 508 |
+
state_dict[pair[0]] = state_dict[pair[1]]
|
| 509 |
+
|
| 510 |
+
return state_dict
|
| 511 |
+
|
| 512 |
+
|
| 513 |
+
def to_torch_tensor(state_dict, return_empty_tensor=False):
|
| 514 |
+
"""
|
| 515 |
+
Convert state_dict of GatheredTensor to torch tensor
|
| 516 |
+
"""
|
| 517 |
+
torch_state_dict = {}
|
| 518 |
+
converted_tensors = {}
|
| 519 |
+
for name, tensor in state_dict.items():
|
| 520 |
+
tensor_id = id(tensor)
|
| 521 |
+
if tensor_id in converted_tensors: # shared tensors
|
| 522 |
+
shared_tensor = torch_state_dict[converted_tensors[tensor_id]]
|
| 523 |
+
torch_state_dict[name] = shared_tensor
|
| 524 |
+
else:
|
| 525 |
+
converted_tensors[tensor_id] = name
|
| 526 |
+
if return_empty_tensor:
|
| 527 |
+
torch_state_dict[name] = torch.empty(tensor.shape, dtype=tensor.dtype)
|
| 528 |
+
else:
|
| 529 |
+
torch_state_dict[name] = tensor.contiguous()
|
| 530 |
+
return torch_state_dict
|
| 531 |
+
|
| 532 |
+
|
| 533 |
+
def get_fp32_state_dict_from_zero_checkpoint(checkpoint_dir,
|
| 534 |
+
tag=None,
|
| 535 |
+
exclude_frozen_parameters=False,
|
| 536 |
+
lazy_mode=False):
|
| 537 |
+
"""
|
| 538 |
+
Convert ZeRO 2 or 3 checkpoint into a single fp32 consolidated state_dict that can be loaded with
|
| 539 |
+
``load_state_dict()`` and used for training without DeepSpeed or shared with others, for example
|
| 540 |
+
via a model hub.
|
| 541 |
+
|
| 542 |
+
Args:
|
| 543 |
+
- ``checkpoint_dir``: path to the desired checkpoint folder
|
| 544 |
+
- ``tag``: checkpoint tag used as a unique identifier for checkpoint. If not provided will attempt to load tag in 'latest' file. e.g., ``global_step14``
|
| 545 |
+
- ``exclude_frozen_parameters``: exclude frozen parameters
|
| 546 |
+
- ``lazy_mode``: get state_dict in lazy mode. It returns a dict of pesduo tensor instead of torch tensor, which is more memory efficient.
|
| 547 |
+
Convert the pesduo tensor to torch tensor by ``.contiguous()``
|
| 548 |
+
|
| 549 |
+
Returns:
|
| 550 |
+
- pytorch ``state_dict``
|
| 551 |
+
|
| 552 |
+
A typical usage might be ::
|
| 553 |
+
|
| 554 |
+
from deepspeed.utils.zero_to_fp32 import get_fp32_state_dict_from_zero_checkpoint
|
| 555 |
+
# do the training and checkpoint saving
|
| 556 |
+
state_dict = get_fp32_state_dict_from_zero_checkpoint(checkpoint_dir) # already on cpu
|
| 557 |
+
model = model.cpu() # move to cpu
|
| 558 |
+
model.load_state_dict(state_dict)
|
| 559 |
+
# submit to model hub or save the model to share with others
|
| 560 |
+
|
| 561 |
+
In this example the ``model`` will no longer be usable in the deepspeed context of the same
|
| 562 |
+
application. i.e. you will need to re-initialize the deepspeed engine, since
|
| 563 |
+
``model.load_state_dict(state_dict)`` will remove all the deepspeed magic from it.
|
| 564 |
+
|
| 565 |
+
If you want it all done for you, use ``load_state_dict_from_zero_checkpoint`` instead.
|
| 566 |
+
|
| 567 |
+
Note: the above usage may not work if your application doesn't have sufficient free CPU memory.
|
| 568 |
+
You may need to use the offline approach using the ``zero_to_fp32.py`` script that is saved with
|
| 569 |
+
the checkpoint. Or you can load state_dict in lazy mode ::
|
| 570 |
+
|
| 571 |
+
from deepspeed.utils.zero_to_fp32 import get_fp32_state_dict_from_zero_checkpoint
|
| 572 |
+
state_dict = get_fp32_state_dict_from_zero_checkpoint(checkpoint_dir, lazy_mode=True) # not on cpu
|
| 573 |
+
for name, lazy_tensor in state_dict.item():
|
| 574 |
+
tensor = lazy_tensor.contiguous() # to cpu
|
| 575 |
+
print(name, tensor)
|
| 576 |
+
# del tensor to release memory if it no longer in use
|
| 577 |
+
"""
|
| 578 |
+
if tag is None:
|
| 579 |
+
latest_path = os.path.join(checkpoint_dir, 'latest')
|
| 580 |
+
if os.path.isfile(latest_path):
|
| 581 |
+
with open(latest_path, 'r') as fd:
|
| 582 |
+
tag = fd.read().strip()
|
| 583 |
+
else:
|
| 584 |
+
raise ValueError(f"Unable to find 'latest' file at {latest_path}")
|
| 585 |
+
|
| 586 |
+
ds_checkpoint_dir = os.path.join(checkpoint_dir, tag)
|
| 587 |
+
|
| 588 |
+
if not os.path.isdir(ds_checkpoint_dir):
|
| 589 |
+
raise FileNotFoundError(f"Directory '{ds_checkpoint_dir}' doesn't exist")
|
| 590 |
+
|
| 591 |
+
state_dict = _get_fp32_state_dict_from_zero_checkpoint(ds_checkpoint_dir, exclude_frozen_parameters)
|
| 592 |
+
if lazy_mode:
|
| 593 |
+
return state_dict
|
| 594 |
+
else:
|
| 595 |
+
return to_torch_tensor(state_dict)
|
| 596 |
+
|
| 597 |
+
|
| 598 |
+
def convert_zero_checkpoint_to_fp32_state_dict(checkpoint_dir,
|
| 599 |
+
output_dir,
|
| 600 |
+
max_shard_size="5GB",
|
| 601 |
+
safe_serialization=False,
|
| 602 |
+
tag=None,
|
| 603 |
+
exclude_frozen_parameters=False):
|
| 604 |
+
"""
|
| 605 |
+
Convert ZeRO 2 or 3 checkpoint into a single fp32 consolidated ``state_dict`` file that can be
|
| 606 |
+
loaded with ``torch.load(file)`` + ``load_state_dict()`` and used for training without DeepSpeed.
|
| 607 |
+
|
| 608 |
+
Args:
|
| 609 |
+
- ``checkpoint_dir``: path to the desired checkpoint folder. (one that contains the tag-folder, like ``global_step14``)
|
| 610 |
+
- ``output_dir``: directory to the pytorch fp32 state_dict output files
|
| 611 |
+
- ``max_shard_size``: the maximum size for a checkpoint before being sharded, default value is 5GB
|
| 612 |
+
- ``safe_serialization``: whether to save the model using `safetensors` or the traditional PyTorch way (that uses `pickle`).
|
| 613 |
+
- ``tag``: checkpoint tag used as a unique identifier for checkpoint. If not provided will attempt to load tag in the file named ``latest`` in the checkpoint folder, e.g., ``global_step14``
|
| 614 |
+
- ``exclude_frozen_parameters``: exclude frozen parameters
|
| 615 |
+
"""
|
| 616 |
+
|
| 617 |
+
# Dependency pre-check
|
| 618 |
+
if safe_serialization:
|
| 619 |
+
try:
|
| 620 |
+
from safetensors.torch import save_file
|
| 621 |
+
except ImportError:
|
| 622 |
+
print('If you want to use `safe_serialization`, please `pip install safetensors`')
|
| 623 |
+
raise
|
| 624 |
+
if max_shard_size is not None:
|
| 625 |
+
try:
|
| 626 |
+
from huggingface_hub import split_torch_state_dict_into_shards
|
| 627 |
+
except ImportError:
|
| 628 |
+
print('If you want to use `max_shard_size`, please `pip install huggingface_hub`')
|
| 629 |
+
raise
|
| 630 |
+
|
| 631 |
+
# Convert zero checkpoint to state_dict
|
| 632 |
+
state_dict = get_fp32_state_dict_from_zero_checkpoint(checkpoint_dir,
|
| 633 |
+
tag,
|
| 634 |
+
exclude_frozen_parameters,
|
| 635 |
+
lazy_mode=True)
|
| 636 |
+
|
| 637 |
+
# Shard the model if it is too big.
|
| 638 |
+
weights_name = "model.safetensors" if safe_serialization else "pytorch_model.bin"
|
| 639 |
+
if max_shard_size is not None:
|
| 640 |
+
filename_pattern = weights_name.replace(".bin", "{suffix}.bin").replace(".safetensors", "{suffix}.safetensors")
|
| 641 |
+
# an memory-efficient approach for sharding
|
| 642 |
+
empty_state_dict = to_torch_tensor(state_dict, return_empty_tensor=True)
|
| 643 |
+
state_dict_split = split_torch_state_dict_into_shards(empty_state_dict,
|
| 644 |
+
filename_pattern=filename_pattern,
|
| 645 |
+
max_shard_size=max_shard_size)
|
| 646 |
+
else:
|
| 647 |
+
from collections import namedtuple
|
| 648 |
+
StateDictSplit = namedtuple("StateDictSplit", ["is_sharded", "filename_to_tensors"])
|
| 649 |
+
state_dict_split = StateDictSplit(is_sharded=False,
|
| 650 |
+
filename_to_tensors={weights_name: list(state_dict.keys())})
|
| 651 |
+
|
| 652 |
+
# Save the model by shard
|
| 653 |
+
os.makedirs(output_dir, exist_ok=True)
|
| 654 |
+
filename_to_tensors = state_dict_split.filename_to_tensors.items()
|
| 655 |
+
for shard_file, tensors in tqdm(filename_to_tensors, desc="Saving checkpoint shards"):
|
| 656 |
+
shard_state_dict = {tensor_name: state_dict[tensor_name] for tensor_name in tensors}
|
| 657 |
+
shard_state_dict = to_torch_tensor(shard_state_dict)
|
| 658 |
+
output_path = os.path.join(output_dir, shard_file)
|
| 659 |
+
if safe_serialization:
|
| 660 |
+
save_file(shard_state_dict, output_path, metadata={"format": "pt"})
|
| 661 |
+
else:
|
| 662 |
+
torch.save(shard_state_dict, output_path)
|
| 663 |
+
# release the memory of current shard
|
| 664 |
+
for tensor_name in list(shard_state_dict.keys()):
|
| 665 |
+
del state_dict[tensor_name]
|
| 666 |
+
del shard_state_dict[tensor_name]
|
| 667 |
+
del shard_state_dict
|
| 668 |
+
gc.collect()
|
| 669 |
+
|
| 670 |
+
# Save index if sharded
|
| 671 |
+
if state_dict_split.is_sharded:
|
| 672 |
+
index = {
|
| 673 |
+
"metadata": state_dict_split.metadata,
|
| 674 |
+
"weight_map": state_dict_split.tensor_to_filename,
|
| 675 |
+
}
|
| 676 |
+
save_index_file = "model.safetensors.index.json" if safe_serialization else "pytorch_model.bin.index.json"
|
| 677 |
+
save_index_file = os.path.join(output_dir, save_index_file)
|
| 678 |
+
with open(save_index_file, "w", encoding="utf-8") as f:
|
| 679 |
+
content = json.dumps(index, indent=2, sort_keys=True) + "\n"
|
| 680 |
+
f.write(content)
|
| 681 |
+
|
| 682 |
+
|
| 683 |
+
def load_state_dict_from_zero_checkpoint(model, checkpoint_dir, tag=None):
|
| 684 |
+
"""
|
| 685 |
+
1. Put the provided model to cpu
|
| 686 |
+
2. Convert ZeRO 2 or 3 checkpoint into a single fp32 consolidated ``state_dict``
|
| 687 |
+
3. Load it into the provided model
|
| 688 |
+
|
| 689 |
+
Args:
|
| 690 |
+
- ``model``: the model object to update
|
| 691 |
+
- ``checkpoint_dir``: path to the desired checkpoint folder. (one that contains the tag-folder, like ``global_step14``)
|
| 692 |
+
- ``tag``: checkpoint tag used as a unique identifier for checkpoint. If not provided will attempt to load tag in the file named ``latest`` in the checkpoint folder, e.g., ``global_step14``
|
| 693 |
+
|
| 694 |
+
Returns:
|
| 695 |
+
- ``model`: modified model
|
| 696 |
+
|
| 697 |
+
Make sure you have plenty of CPU memory available before you call this function. If you don't
|
| 698 |
+
have enough use the ``zero_to_fp32.py`` utility to do the conversion. You will find it
|
| 699 |
+
conveniently placed for you in the checkpoint folder.
|
| 700 |
+
|
| 701 |
+
A typical usage might be ::
|
| 702 |
+
|
| 703 |
+
from deepspeed.utils.zero_to_fp32 import load_state_dict_from_zero_checkpoint
|
| 704 |
+
model = load_state_dict_from_zero_checkpoint(trainer.model, checkpoint_dir)
|
| 705 |
+
# submit to model hub or save the model to share with others
|
| 706 |
+
|
| 707 |
+
Note, that once this was run, the ``model`` will no longer be usable in the deepspeed context
|
| 708 |
+
of the same application. i.e. you will need to re-initialize the deepspeed engine, since
|
| 709 |
+
``model.load_state_dict(state_dict)`` will remove all the deepspeed magic from it.
|
| 710 |
+
|
| 711 |
+
"""
|
| 712 |
+
logger.info(f"Extracting fp32 weights")
|
| 713 |
+
state_dict = get_fp32_state_dict_from_zero_checkpoint(checkpoint_dir, tag)
|
| 714 |
+
|
| 715 |
+
logger.info(f"Overwriting model with fp32 weights")
|
| 716 |
+
model = model.cpu()
|
| 717 |
+
model.load_state_dict(state_dict, strict=False)
|
| 718 |
+
|
| 719 |
+
return model
|
| 720 |
+
|
| 721 |
+
|
| 722 |
+
if __name__ == "__main__":
|
| 723 |
+
parser = argparse.ArgumentParser()
|
| 724 |
+
parser.add_argument("checkpoint_dir",
|
| 725 |
+
type=str,
|
| 726 |
+
help="path to the desired checkpoint folder, e.g., path/checkpoint-12")
|
| 727 |
+
parser.add_argument("output_dir",
|
| 728 |
+
type=str,
|
| 729 |
+
help="directory to the pytorch fp32 state_dict output files"
|
| 730 |
+
"(e.g. path/checkpoint-12-output/)")
|
| 731 |
+
parser.add_argument(
|
| 732 |
+
"--max_shard_size",
|
| 733 |
+
type=str,
|
| 734 |
+
default="5GB",
|
| 735 |
+
help="The maximum size for a checkpoint before being sharded. Checkpoints shard will then be each of size"
|
| 736 |
+
"lower than this size. If expressed as a string, needs to be digits followed by a unit (like `5MB`"
|
| 737 |
+
"We default it to 5GB in order for models to be able to run easily on free-tier google colab instances"
|
| 738 |
+
"without CPU OOM issues.")
|
| 739 |
+
parser.add_argument(
|
| 740 |
+
"--safe_serialization",
|
| 741 |
+
default=False,
|
| 742 |
+
action='store_true',
|
| 743 |
+
help="Whether to save the model using `safetensors` or the traditional PyTorch way (that uses `pickle`).")
|
| 744 |
+
parser.add_argument("-t",
|
| 745 |
+
"--tag",
|
| 746 |
+
type=str,
|
| 747 |
+
default=None,
|
| 748 |
+
help="checkpoint tag used as a unique identifier for checkpoint. e.g., global_step1")
|
| 749 |
+
parser.add_argument("--exclude_frozen_parameters", action='store_true', help="exclude frozen parameters")
|
| 750 |
+
parser.add_argument("-d", "--debug", action='store_true', help="enable debug")
|
| 751 |
+
args = parser.parse_args()
|
| 752 |
+
|
| 753 |
+
debug = args.debug
|
| 754 |
+
|
| 755 |
+
convert_zero_checkpoint_to_fp32_state_dict(args.checkpoint_dir,
|
| 756 |
+
args.output_dir,
|
| 757 |
+
max_shard_size=args.max_shard_size,
|
| 758 |
+
safe_serialization=args.safe_serialization,
|
| 759 |
+
tag=args.tag,
|
| 760 |
+
exclude_frozen_parameters=args.exclude_frozen_parameters)
|