huruo commited on
Commit
a836719
·
verified ·
1 Parent(s): 5578f10

Upload folder using huggingface_hub

Browse files
Files changed (40) hide show
  1. .gitattributes +1 -0
  2. limo/full/checkpoint-515/config.json +30 -0
  3. limo/full/checkpoint-515/generation_config.json +9 -0
  4. limo/full/checkpoint-515/global_step515/bf16_zero_pp_rank_0_mp_rank_00_optim_states.pt +3 -0
  5. limo/full/checkpoint-515/global_step515/bf16_zero_pp_rank_1_mp_rank_00_optim_states.pt +3 -0
  6. limo/full/checkpoint-515/global_step515/bf16_zero_pp_rank_2_mp_rank_00_optim_states.pt +3 -0
  7. limo/full/checkpoint-515/global_step515/bf16_zero_pp_rank_3_mp_rank_00_optim_states.pt +3 -0
  8. limo/full/checkpoint-515/global_step515/bf16_zero_pp_rank_4_mp_rank_00_optim_states.pt +3 -0
  9. limo/full/checkpoint-515/global_step515/bf16_zero_pp_rank_5_mp_rank_00_optim_states.pt +3 -0
  10. limo/full/checkpoint-515/global_step515/bf16_zero_pp_rank_6_mp_rank_00_optim_states.pt +3 -0
  11. limo/full/checkpoint-515/global_step515/bf16_zero_pp_rank_7_mp_rank_00_optim_states.pt +3 -0
  12. limo/full/checkpoint-515/global_step515/zero_pp_rank_0_mp_rank_00_model_states.pt +3 -0
  13. limo/full/checkpoint-515/global_step515/zero_pp_rank_1_mp_rank_00_model_states.pt +3 -0
  14. limo/full/checkpoint-515/global_step515/zero_pp_rank_2_mp_rank_00_model_states.pt +3 -0
  15. limo/full/checkpoint-515/global_step515/zero_pp_rank_3_mp_rank_00_model_states.pt +3 -0
  16. limo/full/checkpoint-515/global_step515/zero_pp_rank_4_mp_rank_00_model_states.pt +3 -0
  17. limo/full/checkpoint-515/global_step515/zero_pp_rank_5_mp_rank_00_model_states.pt +3 -0
  18. limo/full/checkpoint-515/global_step515/zero_pp_rank_6_mp_rank_00_model_states.pt +3 -0
  19. limo/full/checkpoint-515/global_step515/zero_pp_rank_7_mp_rank_00_model_states.pt +3 -0
  20. limo/full/checkpoint-515/latest +1 -0
  21. limo/full/checkpoint-515/model-00001-of-00004.safetensors +3 -0
  22. limo/full/checkpoint-515/model-00002-of-00004.safetensors +3 -0
  23. limo/full/checkpoint-515/model-00003-of-00004.safetensors +3 -0
  24. limo/full/checkpoint-515/model-00004-of-00004.safetensors +3 -0
  25. limo/full/checkpoint-515/model.safetensors.index.json +346 -0
  26. limo/full/checkpoint-515/rng_state_0.pth +3 -0
  27. limo/full/checkpoint-515/rng_state_1.pth +3 -0
  28. limo/full/checkpoint-515/rng_state_2.pth +3 -0
  29. limo/full/checkpoint-515/rng_state_3.pth +3 -0
  30. limo/full/checkpoint-515/rng_state_4.pth +3 -0
  31. limo/full/checkpoint-515/rng_state_5.pth +3 -0
  32. limo/full/checkpoint-515/rng_state_6.pth +3 -0
  33. limo/full/checkpoint-515/rng_state_7.pth +3 -0
  34. limo/full/checkpoint-515/scheduler.pt +3 -0
  35. limo/full/checkpoint-515/special_tokens_map.json +32 -0
  36. limo/full/checkpoint-515/tokenizer.json +3 -0
  37. limo/full/checkpoint-515/tokenizer_config.json +207 -0
  38. limo/full/checkpoint-515/trainer_state.json +3638 -0
  39. limo/full/checkpoint-515/training_args.bin +3 -0
  40. limo/full/checkpoint-515/zero_to_fp32.py +674 -0
.gitattributes CHANGED
@@ -38,3 +38,4 @@ s1k/full/checkpoint-930/tokenizer.json filter=lfs diff=lfs merge=lfs -text
38
  limo/full/checkpoint-1030/tokenizer.json filter=lfs diff=lfs merge=lfs -text
39
  limo/full/checkpoint-1545/tokenizer.json filter=lfs diff=lfs merge=lfs -text
40
  s1k/full/checkpoint-310/tokenizer.json filter=lfs diff=lfs merge=lfs -text
 
 
38
  limo/full/checkpoint-1030/tokenizer.json filter=lfs diff=lfs merge=lfs -text
39
  limo/full/checkpoint-1545/tokenizer.json filter=lfs diff=lfs merge=lfs -text
40
  s1k/full/checkpoint-310/tokenizer.json filter=lfs diff=lfs merge=lfs -text
41
+ limo/full/checkpoint-515/tokenizer.json filter=lfs diff=lfs merge=lfs -text
limo/full/checkpoint-515/config.json ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "/mnt/public/data/lh/models/DeepSeek-R1-Distill-Qwen-7B",
3
+ "architectures": [
4
+ "Qwen2ForCausalLM"
5
+ ],
6
+ "attention_dropout": 0.0,
7
+ "bos_token_id": 151643,
8
+ "eos_token_id": 151643,
9
+ "hidden_act": "silu",
10
+ "hidden_size": 3584,
11
+ "initializer_range": 0.02,
12
+ "intermediate_size": 18944,
13
+ "max_position_embeddings": 131072,
14
+ "max_window_layers": 28,
15
+ "model_type": "qwen2",
16
+ "num_attention_heads": 28,
17
+ "num_hidden_layers": 28,
18
+ "num_key_value_heads": 4,
19
+ "rms_norm_eps": 1e-06,
20
+ "rope_scaling": null,
21
+ "rope_theta": 10000,
22
+ "sliding_window": null,
23
+ "tie_word_embeddings": false,
24
+ "torch_dtype": "bfloat16",
25
+ "transformers_version": "4.46.1",
26
+ "use_cache": false,
27
+ "use_mrope": false,
28
+ "use_sliding_window": false,
29
+ "vocab_size": 152064
30
+ }
limo/full/checkpoint-515/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.46.1"
9
+ }
limo/full/checkpoint-515/global_step515/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:1afcc0e4c15d5de35bd71d4288e5ed759ead0c41550cfe323da52413ae6ac824
3
+ size 11423429568
limo/full/checkpoint-515/global_step515/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:a37033f432949fdf7b9bec4f35ddbb3e67ce5ee3ab5b301084e2fc95f46cab97
3
+ size 11423429568
limo/full/checkpoint-515/global_step515/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:313791de2f39491e310cba3e261a00ed48524de8e4444be9fcfd80d29e419b7a
3
+ size 11423429568
limo/full/checkpoint-515/global_step515/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:c92d14685b37d08fcf7ae7d589f26da970efd86d48f69daf7924960d1ff80596
3
+ size 11423429568
limo/full/checkpoint-515/global_step515/bf16_zero_pp_rank_4_mp_rank_00_optim_states.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bc68cda34df5e9c6312fc72b7b1db88405312a30d476f61834f644c2f2c6d858
3
+ size 11423429568
limo/full/checkpoint-515/global_step515/bf16_zero_pp_rank_5_mp_rank_00_optim_states.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1146e8c9707853ee5ff2607a9b0f9fd927a29b97b9d18df2cd771b79ef1c6988
3
+ size 11423429568
limo/full/checkpoint-515/global_step515/bf16_zero_pp_rank_6_mp_rank_00_optim_states.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d019c29f6d06f93f7f749958fe76f1103cf59a464f0763ea1f55cb8d0531459d
3
+ size 11423429568
limo/full/checkpoint-515/global_step515/bf16_zero_pp_rank_7_mp_rank_00_optim_states.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1259e832e4a9ae45831c58815a3e00c97216756927aec7b2c5f476cf85b1f087
3
+ size 11423429568
limo/full/checkpoint-515/global_step515/zero_pp_rank_0_mp_rank_00_model_states.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bf286f41254d5b215a2532c2426dd8faadd8233dfcd74064cd070985e724a9ad
3
+ size 168405
limo/full/checkpoint-515/global_step515/zero_pp_rank_1_mp_rank_00_model_states.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e932638b3b1f388f852f042f0d99fa6e53523c710b6e97703cb6f78e3ca43992
3
+ size 168405
limo/full/checkpoint-515/global_step515/zero_pp_rank_2_mp_rank_00_model_states.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:098d43c3604043c8f88e47b19c10a6da09179bb50356a92f426ebf3b282f404f
3
+ size 168405
limo/full/checkpoint-515/global_step515/zero_pp_rank_3_mp_rank_00_model_states.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:96cdda6725cf780ef3264ae44d4f9e52afffba48f21c85d5e424da60789d6b2f
3
+ size 168405
limo/full/checkpoint-515/global_step515/zero_pp_rank_4_mp_rank_00_model_states.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:67aab74410b3f61e677b2edcd3c04d047f2a4c19f198e4dfc59cf0925c30113d
3
+ size 168405
limo/full/checkpoint-515/global_step515/zero_pp_rank_5_mp_rank_00_model_states.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:012cdcc9074166ec431530b3b08621e2ad7ebcbb326a88e8ec38f45013061c1c
3
+ size 168405
limo/full/checkpoint-515/global_step515/zero_pp_rank_6_mp_rank_00_model_states.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bc8fafd9e82d3ea0ad125ebbf1cc5b72dab33df3a0dd8bace9c22321eb4fa9a8
3
+ size 168405
limo/full/checkpoint-515/global_step515/zero_pp_rank_7_mp_rank_00_model_states.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bf24bcb2ce59c1d44ead1260362eff03bc072fe9a3dd30043ba2cd4d8157b9f8
3
+ size 168405
limo/full/checkpoint-515/latest ADDED
@@ -0,0 +1 @@
 
 
1
+ global_step515
limo/full/checkpoint-515/model-00001-of-00004.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:116c08decc31cc1ebbcc992e2375f1728d749f446355db9b2742e8de071beb04
3
+ size 4877660776
limo/full/checkpoint-515/model-00002-of-00004.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:70628c87aa74d0b5660171596809680e30bafc4907853d9b0c279077ea20d857
3
+ size 4932751008
limo/full/checkpoint-515/model-00003-of-00004.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ba0d0234ed7781e0f1db5634192355e9ddc4d128569692788e95723f87f4ea4d
3
+ size 4330865200
limo/full/checkpoint-515/model-00004-of-00004.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1a111fd0d196f762bf543003c951dde0f7f8dd20e3b1b0fbacceb1c2c0e52d95
3
+ size 1089994880
limo/full/checkpoint-515/model.safetensors.index.json ADDED
@@ -0,0 +1,346 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "metadata": {
3
+ "total_size": 15231233024
4
+ },
5
+ "weight_map": {
6
+ "lm_head.weight": "model-00004-of-00004.safetensors",
7
+ "model.embed_tokens.weight": "model-00001-of-00004.safetensors",
8
+ "model.layers.0.input_layernorm.weight": "model-00001-of-00004.safetensors",
9
+ "model.layers.0.mlp.down_proj.weight": "model-00001-of-00004.safetensors",
10
+ "model.layers.0.mlp.gate_proj.weight": "model-00001-of-00004.safetensors",
11
+ "model.layers.0.mlp.up_proj.weight": "model-00001-of-00004.safetensors",
12
+ "model.layers.0.post_attention_layernorm.weight": "model-00001-of-00004.safetensors",
13
+ "model.layers.0.self_attn.k_proj.bias": "model-00001-of-00004.safetensors",
14
+ "model.layers.0.self_attn.k_proj.weight": "model-00001-of-00004.safetensors",
15
+ "model.layers.0.self_attn.o_proj.weight": "model-00001-of-00004.safetensors",
16
+ "model.layers.0.self_attn.q_proj.bias": "model-00001-of-00004.safetensors",
17
+ "model.layers.0.self_attn.q_proj.weight": "model-00001-of-00004.safetensors",
18
+ "model.layers.0.self_attn.v_proj.bias": "model-00001-of-00004.safetensors",
19
+ "model.layers.0.self_attn.v_proj.weight": "model-00001-of-00004.safetensors",
20
+ "model.layers.1.input_layernorm.weight": "model-00001-of-00004.safetensors",
21
+ "model.layers.1.mlp.down_proj.weight": "model-00001-of-00004.safetensors",
22
+ "model.layers.1.mlp.gate_proj.weight": "model-00001-of-00004.safetensors",
23
+ "model.layers.1.mlp.up_proj.weight": "model-00001-of-00004.safetensors",
24
+ "model.layers.1.post_attention_layernorm.weight": "model-00001-of-00004.safetensors",
25
+ "model.layers.1.self_attn.k_proj.bias": "model-00001-of-00004.safetensors",
26
+ "model.layers.1.self_attn.k_proj.weight": "model-00001-of-00004.safetensors",
27
+ "model.layers.1.self_attn.o_proj.weight": "model-00001-of-00004.safetensors",
28
+ "model.layers.1.self_attn.q_proj.bias": "model-00001-of-00004.safetensors",
29
+ "model.layers.1.self_attn.q_proj.weight": "model-00001-of-00004.safetensors",
30
+ "model.layers.1.self_attn.v_proj.bias": "model-00001-of-00004.safetensors",
31
+ "model.layers.1.self_attn.v_proj.weight": "model-00001-of-00004.safetensors",
32
+ "model.layers.10.input_layernorm.weight": "model-00002-of-00004.safetensors",
33
+ "model.layers.10.mlp.down_proj.weight": "model-00002-of-00004.safetensors",
34
+ "model.layers.10.mlp.gate_proj.weight": "model-00002-of-00004.safetensors",
35
+ "model.layers.10.mlp.up_proj.weight": "model-00002-of-00004.safetensors",
36
+ "model.layers.10.post_attention_layernorm.weight": "model-00002-of-00004.safetensors",
37
+ "model.layers.10.self_attn.k_proj.bias": "model-00002-of-00004.safetensors",
38
+ "model.layers.10.self_attn.k_proj.weight": "model-00002-of-00004.safetensors",
39
+ "model.layers.10.self_attn.o_proj.weight": "model-00002-of-00004.safetensors",
40
+ "model.layers.10.self_attn.q_proj.bias": "model-00002-of-00004.safetensors",
41
+ "model.layers.10.self_attn.q_proj.weight": "model-00002-of-00004.safetensors",
42
+ "model.layers.10.self_attn.v_proj.bias": "model-00002-of-00004.safetensors",
43
+ "model.layers.10.self_attn.v_proj.weight": "model-00002-of-00004.safetensors",
44
+ "model.layers.11.input_layernorm.weight": "model-00002-of-00004.safetensors",
45
+ "model.layers.11.mlp.down_proj.weight": "model-00002-of-00004.safetensors",
46
+ "model.layers.11.mlp.gate_proj.weight": "model-00002-of-00004.safetensors",
47
+ "model.layers.11.mlp.up_proj.weight": "model-00002-of-00004.safetensors",
48
+ "model.layers.11.post_attention_layernorm.weight": "model-00002-of-00004.safetensors",
49
+ "model.layers.11.self_attn.k_proj.bias": "model-00002-of-00004.safetensors",
50
+ "model.layers.11.self_attn.k_proj.weight": "model-00002-of-00004.safetensors",
51
+ "model.layers.11.self_attn.o_proj.weight": "model-00002-of-00004.safetensors",
52
+ "model.layers.11.self_attn.q_proj.bias": "model-00002-of-00004.safetensors",
53
+ "model.layers.11.self_attn.q_proj.weight": "model-00002-of-00004.safetensors",
54
+ "model.layers.11.self_attn.v_proj.bias": "model-00002-of-00004.safetensors",
55
+ "model.layers.11.self_attn.v_proj.weight": "model-00002-of-00004.safetensors",
56
+ "model.layers.12.input_layernorm.weight": "model-00002-of-00004.safetensors",
57
+ "model.layers.12.mlp.down_proj.weight": "model-00002-of-00004.safetensors",
58
+ "model.layers.12.mlp.gate_proj.weight": "model-00002-of-00004.safetensors",
59
+ "model.layers.12.mlp.up_proj.weight": "model-00002-of-00004.safetensors",
60
+ "model.layers.12.post_attention_layernorm.weight": "model-00002-of-00004.safetensors",
61
+ "model.layers.12.self_attn.k_proj.bias": "model-00002-of-00004.safetensors",
62
+ "model.layers.12.self_attn.k_proj.weight": "model-00002-of-00004.safetensors",
63
+ "model.layers.12.self_attn.o_proj.weight": "model-00002-of-00004.safetensors",
64
+ "model.layers.12.self_attn.q_proj.bias": "model-00002-of-00004.safetensors",
65
+ "model.layers.12.self_attn.q_proj.weight": "model-00002-of-00004.safetensors",
66
+ "model.layers.12.self_attn.v_proj.bias": "model-00002-of-00004.safetensors",
67
+ "model.layers.12.self_attn.v_proj.weight": "model-00002-of-00004.safetensors",
68
+ "model.layers.13.input_layernorm.weight": "model-00002-of-00004.safetensors",
69
+ "model.layers.13.mlp.down_proj.weight": "model-00002-of-00004.safetensors",
70
+ "model.layers.13.mlp.gate_proj.weight": "model-00002-of-00004.safetensors",
71
+ "model.layers.13.mlp.up_proj.weight": "model-00002-of-00004.safetensors",
72
+ "model.layers.13.post_attention_layernorm.weight": "model-00002-of-00004.safetensors",
73
+ "model.layers.13.self_attn.k_proj.bias": "model-00002-of-00004.safetensors",
74
+ "model.layers.13.self_attn.k_proj.weight": "model-00002-of-00004.safetensors",
75
+ "model.layers.13.self_attn.o_proj.weight": "model-00002-of-00004.safetensors",
76
+ "model.layers.13.self_attn.q_proj.bias": "model-00002-of-00004.safetensors",
77
+ "model.layers.13.self_attn.q_proj.weight": "model-00002-of-00004.safetensors",
78
+ "model.layers.13.self_attn.v_proj.bias": "model-00002-of-00004.safetensors",
79
+ "model.layers.13.self_attn.v_proj.weight": "model-00002-of-00004.safetensors",
80
+ "model.layers.14.input_layernorm.weight": "model-00002-of-00004.safetensors",
81
+ "model.layers.14.mlp.down_proj.weight": "model-00002-of-00004.safetensors",
82
+ "model.layers.14.mlp.gate_proj.weight": "model-00002-of-00004.safetensors",
83
+ "model.layers.14.mlp.up_proj.weight": "model-00002-of-00004.safetensors",
84
+ "model.layers.14.post_attention_layernorm.weight": "model-00002-of-00004.safetensors",
85
+ "model.layers.14.self_attn.k_proj.bias": "model-00002-of-00004.safetensors",
86
+ "model.layers.14.self_attn.k_proj.weight": "model-00002-of-00004.safetensors",
87
+ "model.layers.14.self_attn.o_proj.weight": "model-00002-of-00004.safetensors",
88
+ "model.layers.14.self_attn.q_proj.bias": "model-00002-of-00004.safetensors",
89
+ "model.layers.14.self_attn.q_proj.weight": "model-00002-of-00004.safetensors",
90
+ "model.layers.14.self_attn.v_proj.bias": "model-00002-of-00004.safetensors",
91
+ "model.layers.14.self_attn.v_proj.weight": "model-00002-of-00004.safetensors",
92
+ "model.layers.15.input_layernorm.weight": "model-00002-of-00004.safetensors",
93
+ "model.layers.15.mlp.down_proj.weight": "model-00002-of-00004.safetensors",
94
+ "model.layers.15.mlp.gate_proj.weight": "model-00002-of-00004.safetensors",
95
+ "model.layers.15.mlp.up_proj.weight": "model-00002-of-00004.safetensors",
96
+ "model.layers.15.post_attention_layernorm.weight": "model-00002-of-00004.safetensors",
97
+ "model.layers.15.self_attn.k_proj.bias": "model-00002-of-00004.safetensors",
98
+ "model.layers.15.self_attn.k_proj.weight": "model-00002-of-00004.safetensors",
99
+ "model.layers.15.self_attn.o_proj.weight": "model-00002-of-00004.safetensors",
100
+ "model.layers.15.self_attn.q_proj.bias": "model-00002-of-00004.safetensors",
101
+ "model.layers.15.self_attn.q_proj.weight": "model-00002-of-00004.safetensors",
102
+ "model.layers.15.self_attn.v_proj.bias": "model-00002-of-00004.safetensors",
103
+ "model.layers.15.self_attn.v_proj.weight": "model-00002-of-00004.safetensors",
104
+ "model.layers.16.input_layernorm.weight": "model-00002-of-00004.safetensors",
105
+ "model.layers.16.mlp.down_proj.weight": "model-00002-of-00004.safetensors",
106
+ "model.layers.16.mlp.gate_proj.weight": "model-00002-of-00004.safetensors",
107
+ "model.layers.16.mlp.up_proj.weight": "model-00002-of-00004.safetensors",
108
+ "model.layers.16.post_attention_layernorm.weight": "model-00002-of-00004.safetensors",
109
+ "model.layers.16.self_attn.k_proj.bias": "model-00002-of-00004.safetensors",
110
+ "model.layers.16.self_attn.k_proj.weight": "model-00002-of-00004.safetensors",
111
+ "model.layers.16.self_attn.o_proj.weight": "model-00002-of-00004.safetensors",
112
+ "model.layers.16.self_attn.q_proj.bias": "model-00002-of-00004.safetensors",
113
+ "model.layers.16.self_attn.q_proj.weight": "model-00002-of-00004.safetensors",
114
+ "model.layers.16.self_attn.v_proj.bias": "model-00002-of-00004.safetensors",
115
+ "model.layers.16.self_attn.v_proj.weight": "model-00002-of-00004.safetensors",
116
+ "model.layers.17.input_layernorm.weight": "model-00002-of-00004.safetensors",
117
+ "model.layers.17.mlp.down_proj.weight": "model-00002-of-00004.safetensors",
118
+ "model.layers.17.mlp.gate_proj.weight": "model-00002-of-00004.safetensors",
119
+ "model.layers.17.mlp.up_proj.weight": "model-00002-of-00004.safetensors",
120
+ "model.layers.17.post_attention_layernorm.weight": "model-00002-of-00004.safetensors",
121
+ "model.layers.17.self_attn.k_proj.bias": "model-00002-of-00004.safetensors",
122
+ "model.layers.17.self_attn.k_proj.weight": "model-00002-of-00004.safetensors",
123
+ "model.layers.17.self_attn.o_proj.weight": "model-00002-of-00004.safetensors",
124
+ "model.layers.17.self_attn.q_proj.bias": "model-00002-of-00004.safetensors",
125
+ "model.layers.17.self_attn.q_proj.weight": "model-00002-of-00004.safetensors",
126
+ "model.layers.17.self_attn.v_proj.bias": "model-00002-of-00004.safetensors",
127
+ "model.layers.17.self_attn.v_proj.weight": "model-00002-of-00004.safetensors",
128
+ "model.layers.18.input_layernorm.weight": "model-00003-of-00004.safetensors",
129
+ "model.layers.18.mlp.down_proj.weight": "model-00003-of-00004.safetensors",
130
+ "model.layers.18.mlp.gate_proj.weight": "model-00002-of-00004.safetensors",
131
+ "model.layers.18.mlp.up_proj.weight": "model-00002-of-00004.safetensors",
132
+ "model.layers.18.post_attention_layernorm.weight": "model-00003-of-00004.safetensors",
133
+ "model.layers.18.self_attn.k_proj.bias": "model-00002-of-00004.safetensors",
134
+ "model.layers.18.self_attn.k_proj.weight": "model-00002-of-00004.safetensors",
135
+ "model.layers.18.self_attn.o_proj.weight": "model-00002-of-00004.safetensors",
136
+ "model.layers.18.self_attn.q_proj.bias": "model-00002-of-00004.safetensors",
137
+ "model.layers.18.self_attn.q_proj.weight": "model-00002-of-00004.safetensors",
138
+ "model.layers.18.self_attn.v_proj.bias": "model-00002-of-00004.safetensors",
139
+ "model.layers.18.self_attn.v_proj.weight": "model-00002-of-00004.safetensors",
140
+ "model.layers.19.input_layernorm.weight": "model-00003-of-00004.safetensors",
141
+ "model.layers.19.mlp.down_proj.weight": "model-00003-of-00004.safetensors",
142
+ "model.layers.19.mlp.gate_proj.weight": "model-00003-of-00004.safetensors",
143
+ "model.layers.19.mlp.up_proj.weight": "model-00003-of-00004.safetensors",
144
+ "model.layers.19.post_attention_layernorm.weight": "model-00003-of-00004.safetensors",
145
+ "model.layers.19.self_attn.k_proj.bias": "model-00003-of-00004.safetensors",
146
+ "model.layers.19.self_attn.k_proj.weight": "model-00003-of-00004.safetensors",
147
+ "model.layers.19.self_attn.o_proj.weight": "model-00003-of-00004.safetensors",
148
+ "model.layers.19.self_attn.q_proj.bias": "model-00003-of-00004.safetensors",
149
+ "model.layers.19.self_attn.q_proj.weight": "model-00003-of-00004.safetensors",
150
+ "model.layers.19.self_attn.v_proj.bias": "model-00003-of-00004.safetensors",
151
+ "model.layers.19.self_attn.v_proj.weight": "model-00003-of-00004.safetensors",
152
+ "model.layers.2.input_layernorm.weight": "model-00001-of-00004.safetensors",
153
+ "model.layers.2.mlp.down_proj.weight": "model-00001-of-00004.safetensors",
154
+ "model.layers.2.mlp.gate_proj.weight": "model-00001-of-00004.safetensors",
155
+ "model.layers.2.mlp.up_proj.weight": "model-00001-of-00004.safetensors",
156
+ "model.layers.2.post_attention_layernorm.weight": "model-00001-of-00004.safetensors",
157
+ "model.layers.2.self_attn.k_proj.bias": "model-00001-of-00004.safetensors",
158
+ "model.layers.2.self_attn.k_proj.weight": "model-00001-of-00004.safetensors",
159
+ "model.layers.2.self_attn.o_proj.weight": "model-00001-of-00004.safetensors",
160
+ "model.layers.2.self_attn.q_proj.bias": "model-00001-of-00004.safetensors",
161
+ "model.layers.2.self_attn.q_proj.weight": "model-00001-of-00004.safetensors",
162
+ "model.layers.2.self_attn.v_proj.bias": "model-00001-of-00004.safetensors",
163
+ "model.layers.2.self_attn.v_proj.weight": "model-00001-of-00004.safetensors",
164
+ "model.layers.20.input_layernorm.weight": "model-00003-of-00004.safetensors",
165
+ "model.layers.20.mlp.down_proj.weight": "model-00003-of-00004.safetensors",
166
+ "model.layers.20.mlp.gate_proj.weight": "model-00003-of-00004.safetensors",
167
+ "model.layers.20.mlp.up_proj.weight": "model-00003-of-00004.safetensors",
168
+ "model.layers.20.post_attention_layernorm.weight": "model-00003-of-00004.safetensors",
169
+ "model.layers.20.self_attn.k_proj.bias": "model-00003-of-00004.safetensors",
170
+ "model.layers.20.self_attn.k_proj.weight": "model-00003-of-00004.safetensors",
171
+ "model.layers.20.self_attn.o_proj.weight": "model-00003-of-00004.safetensors",
172
+ "model.layers.20.self_attn.q_proj.bias": "model-00003-of-00004.safetensors",
173
+ "model.layers.20.self_attn.q_proj.weight": "model-00003-of-00004.safetensors",
174
+ "model.layers.20.self_attn.v_proj.bias": "model-00003-of-00004.safetensors",
175
+ "model.layers.20.self_attn.v_proj.weight": "model-00003-of-00004.safetensors",
176
+ "model.layers.21.input_layernorm.weight": "model-00003-of-00004.safetensors",
177
+ "model.layers.21.mlp.down_proj.weight": "model-00003-of-00004.safetensors",
178
+ "model.layers.21.mlp.gate_proj.weight": "model-00003-of-00004.safetensors",
179
+ "model.layers.21.mlp.up_proj.weight": "model-00003-of-00004.safetensors",
180
+ "model.layers.21.post_attention_layernorm.weight": "model-00003-of-00004.safetensors",
181
+ "model.layers.21.self_attn.k_proj.bias": "model-00003-of-00004.safetensors",
182
+ "model.layers.21.self_attn.k_proj.weight": "model-00003-of-00004.safetensors",
183
+ "model.layers.21.self_attn.o_proj.weight": "model-00003-of-00004.safetensors",
184
+ "model.layers.21.self_attn.q_proj.bias": "model-00003-of-00004.safetensors",
185
+ "model.layers.21.self_attn.q_proj.weight": "model-00003-of-00004.safetensors",
186
+ "model.layers.21.self_attn.v_proj.bias": "model-00003-of-00004.safetensors",
187
+ "model.layers.21.self_attn.v_proj.weight": "model-00003-of-00004.safetensors",
188
+ "model.layers.22.input_layernorm.weight": "model-00003-of-00004.safetensors",
189
+ "model.layers.22.mlp.down_proj.weight": "model-00003-of-00004.safetensors",
190
+ "model.layers.22.mlp.gate_proj.weight": "model-00003-of-00004.safetensors",
191
+ "model.layers.22.mlp.up_proj.weight": "model-00003-of-00004.safetensors",
192
+ "model.layers.22.post_attention_layernorm.weight": "model-00003-of-00004.safetensors",
193
+ "model.layers.22.self_attn.k_proj.bias": "model-00003-of-00004.safetensors",
194
+ "model.layers.22.self_attn.k_proj.weight": "model-00003-of-00004.safetensors",
195
+ "model.layers.22.self_attn.o_proj.weight": "model-00003-of-00004.safetensors",
196
+ "model.layers.22.self_attn.q_proj.bias": "model-00003-of-00004.safetensors",
197
+ "model.layers.22.self_attn.q_proj.weight": "model-00003-of-00004.safetensors",
198
+ "model.layers.22.self_attn.v_proj.bias": "model-00003-of-00004.safetensors",
199
+ "model.layers.22.self_attn.v_proj.weight": "model-00003-of-00004.safetensors",
200
+ "model.layers.23.input_layernorm.weight": "model-00003-of-00004.safetensors",
201
+ "model.layers.23.mlp.down_proj.weight": "model-00003-of-00004.safetensors",
202
+ "model.layers.23.mlp.gate_proj.weight": "model-00003-of-00004.safetensors",
203
+ "model.layers.23.mlp.up_proj.weight": "model-00003-of-00004.safetensors",
204
+ "model.layers.23.post_attention_layernorm.weight": "model-00003-of-00004.safetensors",
205
+ "model.layers.23.self_attn.k_proj.bias": "model-00003-of-00004.safetensors",
206
+ "model.layers.23.self_attn.k_proj.weight": "model-00003-of-00004.safetensors",
207
+ "model.layers.23.self_attn.o_proj.weight": "model-00003-of-00004.safetensors",
208
+ "model.layers.23.self_attn.q_proj.bias": "model-00003-of-00004.safetensors",
209
+ "model.layers.23.self_attn.q_proj.weight": "model-00003-of-00004.safetensors",
210
+ "model.layers.23.self_attn.v_proj.bias": "model-00003-of-00004.safetensors",
211
+ "model.layers.23.self_attn.v_proj.weight": "model-00003-of-00004.safetensors",
212
+ "model.layers.24.input_layernorm.weight": "model-00003-of-00004.safetensors",
213
+ "model.layers.24.mlp.down_proj.weight": "model-00003-of-00004.safetensors",
214
+ "model.layers.24.mlp.gate_proj.weight": "model-00003-of-00004.safetensors",
215
+ "model.layers.24.mlp.up_proj.weight": "model-00003-of-00004.safetensors",
216
+ "model.layers.24.post_attention_layernorm.weight": "model-00003-of-00004.safetensors",
217
+ "model.layers.24.self_attn.k_proj.bias": "model-00003-of-00004.safetensors",
218
+ "model.layers.24.self_attn.k_proj.weight": "model-00003-of-00004.safetensors",
219
+ "model.layers.24.self_attn.o_proj.weight": "model-00003-of-00004.safetensors",
220
+ "model.layers.24.self_attn.q_proj.bias": "model-00003-of-00004.safetensors",
221
+ "model.layers.24.self_attn.q_proj.weight": "model-00003-of-00004.safetensors",
222
+ "model.layers.24.self_attn.v_proj.bias": "model-00003-of-00004.safetensors",
223
+ "model.layers.24.self_attn.v_proj.weight": "model-00003-of-00004.safetensors",
224
+ "model.layers.25.input_layernorm.weight": "model-00003-of-00004.safetensors",
225
+ "model.layers.25.mlp.down_proj.weight": "model-00003-of-00004.safetensors",
226
+ "model.layers.25.mlp.gate_proj.weight": "model-00003-of-00004.safetensors",
227
+ "model.layers.25.mlp.up_proj.weight": "model-00003-of-00004.safetensors",
228
+ "model.layers.25.post_attention_layernorm.weight": "model-00003-of-00004.safetensors",
229
+ "model.layers.25.self_attn.k_proj.bias": "model-00003-of-00004.safetensors",
230
+ "model.layers.25.self_attn.k_proj.weight": "model-00003-of-00004.safetensors",
231
+ "model.layers.25.self_attn.o_proj.weight": "model-00003-of-00004.safetensors",
232
+ "model.layers.25.self_attn.q_proj.bias": "model-00003-of-00004.safetensors",
233
+ "model.layers.25.self_attn.q_proj.weight": "model-00003-of-00004.safetensors",
234
+ "model.layers.25.self_attn.v_proj.bias": "model-00003-of-00004.safetensors",
235
+ "model.layers.25.self_attn.v_proj.weight": "model-00003-of-00004.safetensors",
236
+ "model.layers.26.input_layernorm.weight": "model-00003-of-00004.safetensors",
237
+ "model.layers.26.mlp.down_proj.weight": "model-00003-of-00004.safetensors",
238
+ "model.layers.26.mlp.gate_proj.weight": "model-00003-of-00004.safetensors",
239
+ "model.layers.26.mlp.up_proj.weight": "model-00003-of-00004.safetensors",
240
+ "model.layers.26.post_attention_layernorm.weight": "model-00003-of-00004.safetensors",
241
+ "model.layers.26.self_attn.k_proj.bias": "model-00003-of-00004.safetensors",
242
+ "model.layers.26.self_attn.k_proj.weight": "model-00003-of-00004.safetensors",
243
+ "model.layers.26.self_attn.o_proj.weight": "model-00003-of-00004.safetensors",
244
+ "model.layers.26.self_attn.q_proj.bias": "model-00003-of-00004.safetensors",
245
+ "model.layers.26.self_attn.q_proj.weight": "model-00003-of-00004.safetensors",
246
+ "model.layers.26.self_attn.v_proj.bias": "model-00003-of-00004.safetensors",
247
+ "model.layers.26.self_attn.v_proj.weight": "model-00003-of-00004.safetensors",
248
+ "model.layers.27.input_layernorm.weight": "model-00003-of-00004.safetensors",
249
+ "model.layers.27.mlp.down_proj.weight": "model-00003-of-00004.safetensors",
250
+ "model.layers.27.mlp.gate_proj.weight": "model-00003-of-00004.safetensors",
251
+ "model.layers.27.mlp.up_proj.weight": "model-00003-of-00004.safetensors",
252
+ "model.layers.27.post_attention_layernorm.weight": "model-00003-of-00004.safetensors",
253
+ "model.layers.27.self_attn.k_proj.bias": "model-00003-of-00004.safetensors",
254
+ "model.layers.27.self_attn.k_proj.weight": "model-00003-of-00004.safetensors",
255
+ "model.layers.27.self_attn.o_proj.weight": "model-00003-of-00004.safetensors",
256
+ "model.layers.27.self_attn.q_proj.bias": "model-00003-of-00004.safetensors",
257
+ "model.layers.27.self_attn.q_proj.weight": "model-00003-of-00004.safetensors",
258
+ "model.layers.27.self_attn.v_proj.bias": "model-00003-of-00004.safetensors",
259
+ "model.layers.27.self_attn.v_proj.weight": "model-00003-of-00004.safetensors",
260
+ "model.layers.3.input_layernorm.weight": "model-00001-of-00004.safetensors",
261
+ "model.layers.3.mlp.down_proj.weight": "model-00001-of-00004.safetensors",
262
+ "model.layers.3.mlp.gate_proj.weight": "model-00001-of-00004.safetensors",
263
+ "model.layers.3.mlp.up_proj.weight": "model-00001-of-00004.safetensors",
264
+ "model.layers.3.post_attention_layernorm.weight": "model-00001-of-00004.safetensors",
265
+ "model.layers.3.self_attn.k_proj.bias": "model-00001-of-00004.safetensors",
266
+ "model.layers.3.self_attn.k_proj.weight": "model-00001-of-00004.safetensors",
267
+ "model.layers.3.self_attn.o_proj.weight": "model-00001-of-00004.safetensors",
268
+ "model.layers.3.self_attn.q_proj.bias": "model-00001-of-00004.safetensors",
269
+ "model.layers.3.self_attn.q_proj.weight": "model-00001-of-00004.safetensors",
270
+ "model.layers.3.self_attn.v_proj.bias": "model-00001-of-00004.safetensors",
271
+ "model.layers.3.self_attn.v_proj.weight": "model-00001-of-00004.safetensors",
272
+ "model.layers.4.input_layernorm.weight": "model-00001-of-00004.safetensors",
273
+ "model.layers.4.mlp.down_proj.weight": "model-00001-of-00004.safetensors",
274
+ "model.layers.4.mlp.gate_proj.weight": "model-00001-of-00004.safetensors",
275
+ "model.layers.4.mlp.up_proj.weight": "model-00001-of-00004.safetensors",
276
+ "model.layers.4.post_attention_layernorm.weight": "model-00001-of-00004.safetensors",
277
+ "model.layers.4.self_attn.k_proj.bias": "model-00001-of-00004.safetensors",
278
+ "model.layers.4.self_attn.k_proj.weight": "model-00001-of-00004.safetensors",
279
+ "model.layers.4.self_attn.o_proj.weight": "model-00001-of-00004.safetensors",
280
+ "model.layers.4.self_attn.q_proj.bias": "model-00001-of-00004.safetensors",
281
+ "model.layers.4.self_attn.q_proj.weight": "model-00001-of-00004.safetensors",
282
+ "model.layers.4.self_attn.v_proj.bias": "model-00001-of-00004.safetensors",
283
+ "model.layers.4.self_attn.v_proj.weight": "model-00001-of-00004.safetensors",
284
+ "model.layers.5.input_layernorm.weight": "model-00001-of-00004.safetensors",
285
+ "model.layers.5.mlp.down_proj.weight": "model-00001-of-00004.safetensors",
286
+ "model.layers.5.mlp.gate_proj.weight": "model-00001-of-00004.safetensors",
287
+ "model.layers.5.mlp.up_proj.weight": "model-00001-of-00004.safetensors",
288
+ "model.layers.5.post_attention_layernorm.weight": "model-00001-of-00004.safetensors",
289
+ "model.layers.5.self_attn.k_proj.bias": "model-00001-of-00004.safetensors",
290
+ "model.layers.5.self_attn.k_proj.weight": "model-00001-of-00004.safetensors",
291
+ "model.layers.5.self_attn.o_proj.weight": "model-00001-of-00004.safetensors",
292
+ "model.layers.5.self_attn.q_proj.bias": "model-00001-of-00004.safetensors",
293
+ "model.layers.5.self_attn.q_proj.weight": "model-00001-of-00004.safetensors",
294
+ "model.layers.5.self_attn.v_proj.bias": "model-00001-of-00004.safetensors",
295
+ "model.layers.5.self_attn.v_proj.weight": "model-00001-of-00004.safetensors",
296
+ "model.layers.6.input_layernorm.weight": "model-00001-of-00004.safetensors",
297
+ "model.layers.6.mlp.down_proj.weight": "model-00001-of-00004.safetensors",
298
+ "model.layers.6.mlp.gate_proj.weight": "model-00001-of-00004.safetensors",
299
+ "model.layers.6.mlp.up_proj.weight": "model-00001-of-00004.safetensors",
300
+ "model.layers.6.post_attention_layernorm.weight": "model-00001-of-00004.safetensors",
301
+ "model.layers.6.self_attn.k_proj.bias": "model-00001-of-00004.safetensors",
302
+ "model.layers.6.self_attn.k_proj.weight": "model-00001-of-00004.safetensors",
303
+ "model.layers.6.self_attn.o_proj.weight": "model-00001-of-00004.safetensors",
304
+ "model.layers.6.self_attn.q_proj.bias": "model-00001-of-00004.safetensors",
305
+ "model.layers.6.self_attn.q_proj.weight": "model-00001-of-00004.safetensors",
306
+ "model.layers.6.self_attn.v_proj.bias": "model-00001-of-00004.safetensors",
307
+ "model.layers.6.self_attn.v_proj.weight": "model-00001-of-00004.safetensors",
308
+ "model.layers.7.input_layernorm.weight": "model-00001-of-00004.safetensors",
309
+ "model.layers.7.mlp.down_proj.weight": "model-00001-of-00004.safetensors",
310
+ "model.layers.7.mlp.gate_proj.weight": "model-00001-of-00004.safetensors",
311
+ "model.layers.7.mlp.up_proj.weight": "model-00001-of-00004.safetensors",
312
+ "model.layers.7.post_attention_layernorm.weight": "model-00001-of-00004.safetensors",
313
+ "model.layers.7.self_attn.k_proj.bias": "model-00001-of-00004.safetensors",
314
+ "model.layers.7.self_attn.k_proj.weight": "model-00001-of-00004.safetensors",
315
+ "model.layers.7.self_attn.o_proj.weight": "model-00001-of-00004.safetensors",
316
+ "model.layers.7.self_attn.q_proj.bias": "model-00001-of-00004.safetensors",
317
+ "model.layers.7.self_attn.q_proj.weight": "model-00001-of-00004.safetensors",
318
+ "model.layers.7.self_attn.v_proj.bias": "model-00001-of-00004.safetensors",
319
+ "model.layers.7.self_attn.v_proj.weight": "model-00001-of-00004.safetensors",
320
+ "model.layers.8.input_layernorm.weight": "model-00002-of-00004.safetensors",
321
+ "model.layers.8.mlp.down_proj.weight": "model-00002-of-00004.safetensors",
322
+ "model.layers.8.mlp.gate_proj.weight": "model-00002-of-00004.safetensors",
323
+ "model.layers.8.mlp.up_proj.weight": "model-00002-of-00004.safetensors",
324
+ "model.layers.8.post_attention_layernorm.weight": "model-00002-of-00004.safetensors",
325
+ "model.layers.8.self_attn.k_proj.bias": "model-00001-of-00004.safetensors",
326
+ "model.layers.8.self_attn.k_proj.weight": "model-00001-of-00004.safetensors",
327
+ "model.layers.8.self_attn.o_proj.weight": "model-00001-of-00004.safetensors",
328
+ "model.layers.8.self_attn.q_proj.bias": "model-00001-of-00004.safetensors",
329
+ "model.layers.8.self_attn.q_proj.weight": "model-00001-of-00004.safetensors",
330
+ "model.layers.8.self_attn.v_proj.bias": "model-00001-of-00004.safetensors",
331
+ "model.layers.8.self_attn.v_proj.weight": "model-00001-of-00004.safetensors",
332
+ "model.layers.9.input_layernorm.weight": "model-00002-of-00004.safetensors",
333
+ "model.layers.9.mlp.down_proj.weight": "model-00002-of-00004.safetensors",
334
+ "model.layers.9.mlp.gate_proj.weight": "model-00002-of-00004.safetensors",
335
+ "model.layers.9.mlp.up_proj.weight": "model-00002-of-00004.safetensors",
336
+ "model.layers.9.post_attention_layernorm.weight": "model-00002-of-00004.safetensors",
337
+ "model.layers.9.self_attn.k_proj.bias": "model-00002-of-00004.safetensors",
338
+ "model.layers.9.self_attn.k_proj.weight": "model-00002-of-00004.safetensors",
339
+ "model.layers.9.self_attn.o_proj.weight": "model-00002-of-00004.safetensors",
340
+ "model.layers.9.self_attn.q_proj.bias": "model-00002-of-00004.safetensors",
341
+ "model.layers.9.self_attn.q_proj.weight": "model-00002-of-00004.safetensors",
342
+ "model.layers.9.self_attn.v_proj.bias": "model-00002-of-00004.safetensors",
343
+ "model.layers.9.self_attn.v_proj.weight": "model-00002-of-00004.safetensors",
344
+ "model.norm.weight": "model-00003-of-00004.safetensors"
345
+ }
346
+ }
limo/full/checkpoint-515/rng_state_0.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5a0ef6f96a48e59aa52c4b471312c2a62378c19acc7ebbae839612b03a7d775a
3
+ size 15984
limo/full/checkpoint-515/rng_state_1.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ab11d533c0fdad46ea8b8e295ba5fdb705e078eeb88cc28f37d82913508766e9
3
+ size 15984
limo/full/checkpoint-515/rng_state_2.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:615c168147e3465ce5bfab6da2ff4afc68566ce00ec0f0c6c9fc988038a58d0a
3
+ size 15984
limo/full/checkpoint-515/rng_state_3.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:79f71e8f8674ecaef9f8cdcbf7ac457a8b8ff15b12694ba2a2fffcb4b43f0f08
3
+ size 15984
limo/full/checkpoint-515/rng_state_4.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:88cf6d674dab5545c300a55135f08ca935730a3d35e2c419fb0b333f19482c19
3
+ size 15984
limo/full/checkpoint-515/rng_state_5.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2754f2cd8824702f027870d93748b3c0491b0ecd30f1e3d8e937116b2be6151f
3
+ size 15984
limo/full/checkpoint-515/rng_state_6.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1385124ac55604598f45ea6e2d141f29456647d3e7c10d12ca64ec93d312be8d
3
+ size 15984
limo/full/checkpoint-515/rng_state_7.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:416538efaec7391fa8fe782fb15146b83e5612d9e1961292c34c53e964806873
3
+ size 15984
limo/full/checkpoint-515/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e5d0919066ee6a14427d7be219c870467c623faeab11aea9e226fd92a7435d45
3
+ size 1064
limo/full/checkpoint-515/special_tokens_map.json ADDED
@@ -0,0 +1,32 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "additional_special_tokens": [
3
+ {
4
+ "content": "<|im_end|>",
5
+ "lstrip": false,
6
+ "normalized": false,
7
+ "rstrip": false,
8
+ "single_word": false
9
+ }
10
+ ],
11
+ "bos_token": {
12
+ "content": "<|begin▁of▁sentence|>",
13
+ "lstrip": false,
14
+ "normalized": false,
15
+ "rstrip": false,
16
+ "single_word": false
17
+ },
18
+ "eos_token": {
19
+ "content": "<|end▁of▁sentence|>",
20
+ "lstrip": false,
21
+ "normalized": false,
22
+ "rstrip": false,
23
+ "single_word": false
24
+ },
25
+ "pad_token": {
26
+ "content": "<|end▁of▁sentence|>",
27
+ "lstrip": false,
28
+ "normalized": false,
29
+ "rstrip": false,
30
+ "single_word": false
31
+ }
32
+ }
limo/full/checkpoint-515/tokenizer.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:02643f00207dfc5ed248992486bde04314c21dca556bf65ce520690962b8db63
3
+ size 11422965
limo/full/checkpoint-515/tokenizer_config.json ADDED
@@ -0,0 +1,207 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_bos_token": true,
3
+ "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
+ "151665": {
183
+ "content": "<|im_end|>",
184
+ "lstrip": false,
185
+ "normalized": false,
186
+ "rstrip": false,
187
+ "single_word": false,
188
+ "special": true
189
+ }
190
+ },
191
+ "additional_special_tokens": [
192
+ "<|im_end|>"
193
+ ],
194
+ "bos_token": "<|begin▁of▁sentence|>",
195
+ "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|>'}}{% endif %}",
196
+ "clean_up_tokenization_spaces": false,
197
+ "eos_token": "<|end▁of▁sentence|>",
198
+ "legacy": true,
199
+ "model_max_length": 16384,
200
+ "pad_token": "<|end▁of▁sentence|>",
201
+ "padding_side": "right",
202
+ "sp_model_kwargs": {},
203
+ "split_special_tokens": false,
204
+ "tokenizer_class": "LlamaTokenizer",
205
+ "unk_token": null,
206
+ "use_default_system_prompt": false
207
+ }
limo/full/checkpoint-515/trainer_state.json ADDED
@@ -0,0 +1,3638 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": null,
3
+ "best_model_checkpoint": null,
4
+ "epoch": 5.0,
5
+ "eval_steps": 500,
6
+ "global_step": 515,
7
+ "is_hyper_param_search": false,
8
+ "is_local_process_zero": true,
9
+ "is_world_process_zero": true,
10
+ "log_history": [
11
+ {
12
+ "epoch": 0.009708737864077669,
13
+ "grad_norm": 2.750988483428955,
14
+ "learning_rate": 4.999994831641374e-06,
15
+ "loss": 0.5337,
16
+ "step": 1
17
+ },
18
+ {
19
+ "epoch": 0.019417475728155338,
20
+ "grad_norm": 2.219198703765869,
21
+ "learning_rate": 4.9999793265868636e-06,
22
+ "loss": 0.3878,
23
+ "step": 2
24
+ },
25
+ {
26
+ "epoch": 0.02912621359223301,
27
+ "grad_norm": 2.154571533203125,
28
+ "learning_rate": 4.999953484900578e-06,
29
+ "loss": 0.5907,
30
+ "step": 3
31
+ },
32
+ {
33
+ "epoch": 0.038834951456310676,
34
+ "grad_norm": 2.1270041465759277,
35
+ "learning_rate": 4.9999173066893655e-06,
36
+ "loss": 0.4606,
37
+ "step": 4
38
+ },
39
+ {
40
+ "epoch": 0.04854368932038835,
41
+ "grad_norm": 1.8446154594421387,
42
+ "learning_rate": 4.9998707921028104e-06,
43
+ "loss": 0.5342,
44
+ "step": 5
45
+ },
46
+ {
47
+ "epoch": 0.05825242718446602,
48
+ "grad_norm": 1.504712462425232,
49
+ "learning_rate": 4.999813941333237e-06,
50
+ "loss": 0.3683,
51
+ "step": 6
52
+ },
53
+ {
54
+ "epoch": 0.06796116504854369,
55
+ "grad_norm": 1.5787030458450317,
56
+ "learning_rate": 4.999746754615704e-06,
57
+ "loss": 0.5031,
58
+ "step": 7
59
+ },
60
+ {
61
+ "epoch": 0.07766990291262135,
62
+ "grad_norm": 0.9261472225189209,
63
+ "learning_rate": 4.9996692322280085e-06,
64
+ "loss": 0.4372,
65
+ "step": 8
66
+ },
67
+ {
68
+ "epoch": 0.08737864077669903,
69
+ "grad_norm": 0.7603314518928528,
70
+ "learning_rate": 4.999581374490681e-06,
71
+ "loss": 0.45,
72
+ "step": 9
73
+ },
74
+ {
75
+ "epoch": 0.0970873786407767,
76
+ "grad_norm": 1.050328254699707,
77
+ "learning_rate": 4.999483181766986e-06,
78
+ "loss": 0.6373,
79
+ "step": 10
80
+ },
81
+ {
82
+ "epoch": 0.10679611650485436,
83
+ "grad_norm": 1.1623330116271973,
84
+ "learning_rate": 4.999374654462919e-06,
85
+ "loss": 0.5608,
86
+ "step": 11
87
+ },
88
+ {
89
+ "epoch": 0.11650485436893204,
90
+ "grad_norm": 0.9819350838661194,
91
+ "learning_rate": 4.999255793027207e-06,
92
+ "loss": 0.5828,
93
+ "step": 12
94
+ },
95
+ {
96
+ "epoch": 0.1262135922330097,
97
+ "grad_norm": 0.7598986625671387,
98
+ "learning_rate": 4.999126597951305e-06,
99
+ "loss": 0.3634,
100
+ "step": 13
101
+ },
102
+ {
103
+ "epoch": 0.13592233009708737,
104
+ "grad_norm": 0.7111096382141113,
105
+ "learning_rate": 4.998987069769394e-06,
106
+ "loss": 0.3395,
107
+ "step": 14
108
+ },
109
+ {
110
+ "epoch": 0.14563106796116504,
111
+ "grad_norm": 0.9073492288589478,
112
+ "learning_rate": 4.998837209058379e-06,
113
+ "loss": 0.5404,
114
+ "step": 15
115
+ },
116
+ {
117
+ "epoch": 0.1553398058252427,
118
+ "grad_norm": 1.2447338104248047,
119
+ "learning_rate": 4.998677016437888e-06,
120
+ "loss": 0.4153,
121
+ "step": 16
122
+ },
123
+ {
124
+ "epoch": 0.1650485436893204,
125
+ "grad_norm": 0.5936450958251953,
126
+ "learning_rate": 4.998506492570266e-06,
127
+ "loss": 0.3405,
128
+ "step": 17
129
+ },
130
+ {
131
+ "epoch": 0.17475728155339806,
132
+ "grad_norm": 1.0477153062820435,
133
+ "learning_rate": 4.998325638160576e-06,
134
+ "loss": 0.6277,
135
+ "step": 18
136
+ },
137
+ {
138
+ "epoch": 0.18446601941747573,
139
+ "grad_norm": 0.9470447301864624,
140
+ "learning_rate": 4.998134453956596e-06,
141
+ "loss": 0.4055,
142
+ "step": 19
143
+ },
144
+ {
145
+ "epoch": 0.1941747572815534,
146
+ "grad_norm": 1.2609833478927612,
147
+ "learning_rate": 4.997932940748811e-06,
148
+ "loss": 0.5094,
149
+ "step": 20
150
+ },
151
+ {
152
+ "epoch": 0.20388349514563106,
153
+ "grad_norm": 1.033146619796753,
154
+ "learning_rate": 4.997721099370416e-06,
155
+ "loss": 0.4799,
156
+ "step": 21
157
+ },
158
+ {
159
+ "epoch": 0.21359223300970873,
160
+ "grad_norm": 0.9227539300918579,
161
+ "learning_rate": 4.997498930697308e-06,
162
+ "loss": 0.4716,
163
+ "step": 22
164
+ },
165
+ {
166
+ "epoch": 0.22330097087378642,
167
+ "grad_norm": 0.8762221336364746,
168
+ "learning_rate": 4.997266435648086e-06,
169
+ "loss": 0.4087,
170
+ "step": 23
171
+ },
172
+ {
173
+ "epoch": 0.23300970873786409,
174
+ "grad_norm": 1.0111958980560303,
175
+ "learning_rate": 4.997023615184044e-06,
176
+ "loss": 0.6779,
177
+ "step": 24
178
+ },
179
+ {
180
+ "epoch": 0.24271844660194175,
181
+ "grad_norm": 0.7958911657333374,
182
+ "learning_rate": 4.996770470309167e-06,
183
+ "loss": 0.6274,
184
+ "step": 25
185
+ },
186
+ {
187
+ "epoch": 0.2524271844660194,
188
+ "grad_norm": 0.7777181267738342,
189
+ "learning_rate": 4.996507002070131e-06,
190
+ "loss": 0.4815,
191
+ "step": 26
192
+ },
193
+ {
194
+ "epoch": 0.2621359223300971,
195
+ "grad_norm": 0.7622829675674438,
196
+ "learning_rate": 4.996233211556295e-06,
197
+ "loss": 0.5668,
198
+ "step": 27
199
+ },
200
+ {
201
+ "epoch": 0.27184466019417475,
202
+ "grad_norm": 0.7621707320213318,
203
+ "learning_rate": 4.9959490998996974e-06,
204
+ "loss": 0.3447,
205
+ "step": 28
206
+ },
207
+ {
208
+ "epoch": 0.2815533980582524,
209
+ "grad_norm": 0.6936230659484863,
210
+ "learning_rate": 4.995654668275049e-06,
211
+ "loss": 0.4305,
212
+ "step": 29
213
+ },
214
+ {
215
+ "epoch": 0.2912621359223301,
216
+ "grad_norm": 0.6379275918006897,
217
+ "learning_rate": 4.995349917899735e-06,
218
+ "loss": 0.3779,
219
+ "step": 30
220
+ },
221
+ {
222
+ "epoch": 0.30097087378640774,
223
+ "grad_norm": 0.714606761932373,
224
+ "learning_rate": 4.9950348500338005e-06,
225
+ "loss": 0.3723,
226
+ "step": 31
227
+ },
228
+ {
229
+ "epoch": 0.3106796116504854,
230
+ "grad_norm": 0.8575965166091919,
231
+ "learning_rate": 4.994709465979954e-06,
232
+ "loss": 0.5068,
233
+ "step": 32
234
+ },
235
+ {
236
+ "epoch": 0.32038834951456313,
237
+ "grad_norm": 0.8307704925537109,
238
+ "learning_rate": 4.994373767083556e-06,
239
+ "loss": 0.4475,
240
+ "step": 33
241
+ },
242
+ {
243
+ "epoch": 0.3300970873786408,
244
+ "grad_norm": 0.978870689868927,
245
+ "learning_rate": 4.994027754732616e-06,
246
+ "loss": 0.5223,
247
+ "step": 34
248
+ },
249
+ {
250
+ "epoch": 0.33980582524271846,
251
+ "grad_norm": 0.6880773305892944,
252
+ "learning_rate": 4.993671430357788e-06,
253
+ "loss": 0.379,
254
+ "step": 35
255
+ },
256
+ {
257
+ "epoch": 0.34951456310679613,
258
+ "grad_norm": 0.7792438268661499,
259
+ "learning_rate": 4.99330479543236e-06,
260
+ "loss": 0.4358,
261
+ "step": 36
262
+ },
263
+ {
264
+ "epoch": 0.3592233009708738,
265
+ "grad_norm": 0.7110076546669006,
266
+ "learning_rate": 4.992927851472254e-06,
267
+ "loss": 0.5785,
268
+ "step": 37
269
+ },
270
+ {
271
+ "epoch": 0.36893203883495146,
272
+ "grad_norm": 0.6907165050506592,
273
+ "learning_rate": 4.992540600036014e-06,
274
+ "loss": 0.6123,
275
+ "step": 38
276
+ },
277
+ {
278
+ "epoch": 0.3786407766990291,
279
+ "grad_norm": 0.6032484769821167,
280
+ "learning_rate": 4.992143042724805e-06,
281
+ "loss": 0.4347,
282
+ "step": 39
283
+ },
284
+ {
285
+ "epoch": 0.3883495145631068,
286
+ "grad_norm": 0.9119201302528381,
287
+ "learning_rate": 4.991735181182401e-06,
288
+ "loss": 0.7102,
289
+ "step": 40
290
+ },
291
+ {
292
+ "epoch": 0.39805825242718446,
293
+ "grad_norm": 0.7313927412033081,
294
+ "learning_rate": 4.991317017095182e-06,
295
+ "loss": 0.4537,
296
+ "step": 41
297
+ },
298
+ {
299
+ "epoch": 0.4077669902912621,
300
+ "grad_norm": 0.6860741376876831,
301
+ "learning_rate": 4.990888552192126e-06,
302
+ "loss": 0.4216,
303
+ "step": 42
304
+ },
305
+ {
306
+ "epoch": 0.4174757281553398,
307
+ "grad_norm": 0.6899588704109192,
308
+ "learning_rate": 4.9904497882448004e-06,
309
+ "loss": 0.5287,
310
+ "step": 43
311
+ },
312
+ {
313
+ "epoch": 0.42718446601941745,
314
+ "grad_norm": 0.6557210087776184,
315
+ "learning_rate": 4.990000727067357e-06,
316
+ "loss": 0.4969,
317
+ "step": 44
318
+ },
319
+ {
320
+ "epoch": 0.4368932038834951,
321
+ "grad_norm": 0.6218708157539368,
322
+ "learning_rate": 4.989541370516523e-06,
323
+ "loss": 0.4038,
324
+ "step": 45
325
+ },
326
+ {
327
+ "epoch": 0.44660194174757284,
328
+ "grad_norm": 0.5744000673294067,
329
+ "learning_rate": 4.989071720491595e-06,
330
+ "loss": 0.3772,
331
+ "step": 46
332
+ },
333
+ {
334
+ "epoch": 0.4563106796116505,
335
+ "grad_norm": 0.6886637210845947,
336
+ "learning_rate": 4.988591778934428e-06,
337
+ "loss": 0.3736,
338
+ "step": 47
339
+ },
340
+ {
341
+ "epoch": 0.46601941747572817,
342
+ "grad_norm": 1.330315113067627,
343
+ "learning_rate": 4.9881015478294294e-06,
344
+ "loss": 0.4809,
345
+ "step": 48
346
+ },
347
+ {
348
+ "epoch": 0.47572815533980584,
349
+ "grad_norm": 0.6803296208381653,
350
+ "learning_rate": 4.987601029203553e-06,
351
+ "loss": 0.3859,
352
+ "step": 49
353
+ },
354
+ {
355
+ "epoch": 0.4854368932038835,
356
+ "grad_norm": 0.6322437524795532,
357
+ "learning_rate": 4.987090225126285e-06,
358
+ "loss": 0.5004,
359
+ "step": 50
360
+ },
361
+ {
362
+ "epoch": 0.49514563106796117,
363
+ "grad_norm": 0.6261456608772278,
364
+ "learning_rate": 4.98656913770964e-06,
365
+ "loss": 0.4145,
366
+ "step": 51
367
+ },
368
+ {
369
+ "epoch": 0.5048543689320388,
370
+ "grad_norm": 0.6072115302085876,
371
+ "learning_rate": 4.986037769108154e-06,
372
+ "loss": 0.4377,
373
+ "step": 52
374
+ },
375
+ {
376
+ "epoch": 0.5145631067961165,
377
+ "grad_norm": 0.8084361553192139,
378
+ "learning_rate": 4.9854961215188676e-06,
379
+ "loss": 0.6331,
380
+ "step": 53
381
+ },
382
+ {
383
+ "epoch": 0.5242718446601942,
384
+ "grad_norm": 0.6779961585998535,
385
+ "learning_rate": 4.984944197181324e-06,
386
+ "loss": 0.3618,
387
+ "step": 54
388
+ },
389
+ {
390
+ "epoch": 0.5339805825242718,
391
+ "grad_norm": 0.669882595539093,
392
+ "learning_rate": 4.9843819983775575e-06,
393
+ "loss": 0.4005,
394
+ "step": 55
395
+ },
396
+ {
397
+ "epoch": 0.5436893203883495,
398
+ "grad_norm": 0.7368363738059998,
399
+ "learning_rate": 4.983809527432086e-06,
400
+ "loss": 0.3951,
401
+ "step": 56
402
+ },
403
+ {
404
+ "epoch": 0.5533980582524272,
405
+ "grad_norm": 0.7703456878662109,
406
+ "learning_rate": 4.983226786711895e-06,
407
+ "loss": 0.4821,
408
+ "step": 57
409
+ },
410
+ {
411
+ "epoch": 0.5631067961165048,
412
+ "grad_norm": 0.6797823905944824,
413
+ "learning_rate": 4.982633778626437e-06,
414
+ "loss": 0.4389,
415
+ "step": 58
416
+ },
417
+ {
418
+ "epoch": 0.5728155339805825,
419
+ "grad_norm": 0.5815659761428833,
420
+ "learning_rate": 4.982030505627613e-06,
421
+ "loss": 0.5409,
422
+ "step": 59
423
+ },
424
+ {
425
+ "epoch": 0.5825242718446602,
426
+ "grad_norm": 0.766441285610199,
427
+ "learning_rate": 4.98141697020977e-06,
428
+ "loss": 0.4977,
429
+ "step": 60
430
+ },
431
+ {
432
+ "epoch": 0.5922330097087378,
433
+ "grad_norm": 0.6255026459693909,
434
+ "learning_rate": 4.9807931749096836e-06,
435
+ "loss": 0.3994,
436
+ "step": 61
437
+ },
438
+ {
439
+ "epoch": 0.6019417475728155,
440
+ "grad_norm": 0.7539398670196533,
441
+ "learning_rate": 4.980159122306551e-06,
442
+ "loss": 0.5768,
443
+ "step": 62
444
+ },
445
+ {
446
+ "epoch": 0.6116504854368932,
447
+ "grad_norm": 0.7843878269195557,
448
+ "learning_rate": 4.979514815021984e-06,
449
+ "loss": 0.6804,
450
+ "step": 63
451
+ },
452
+ {
453
+ "epoch": 0.6213592233009708,
454
+ "grad_norm": 0.7728163599967957,
455
+ "learning_rate": 4.978860255719989e-06,
456
+ "loss": 0.4552,
457
+ "step": 64
458
+ },
459
+ {
460
+ "epoch": 0.6310679611650486,
461
+ "grad_norm": 0.7498195171356201,
462
+ "learning_rate": 4.978195447106965e-06,
463
+ "loss": 0.5952,
464
+ "step": 65
465
+ },
466
+ {
467
+ "epoch": 0.6407766990291263,
468
+ "grad_norm": 0.7298671007156372,
469
+ "learning_rate": 4.9775203919316864e-06,
470
+ "loss": 0.4846,
471
+ "step": 66
472
+ },
473
+ {
474
+ "epoch": 0.6504854368932039,
475
+ "grad_norm": 1.0157232284545898,
476
+ "learning_rate": 4.976835092985297e-06,
477
+ "loss": 0.615,
478
+ "step": 67
479
+ },
480
+ {
481
+ "epoch": 0.6601941747572816,
482
+ "grad_norm": 0.6613374352455139,
483
+ "learning_rate": 4.976139553101291e-06,
484
+ "loss": 0.518,
485
+ "step": 68
486
+ },
487
+ {
488
+ "epoch": 0.6699029126213593,
489
+ "grad_norm": 0.754895806312561,
490
+ "learning_rate": 4.975433775155509e-06,
491
+ "loss": 0.4902,
492
+ "step": 69
493
+ },
494
+ {
495
+ "epoch": 0.6796116504854369,
496
+ "grad_norm": 0.6307485699653625,
497
+ "learning_rate": 4.974717762066123e-06,
498
+ "loss": 0.4122,
499
+ "step": 70
500
+ },
501
+ {
502
+ "epoch": 0.6893203883495146,
503
+ "grad_norm": 0.866858959197998,
504
+ "learning_rate": 4.973991516793621e-06,
505
+ "loss": 0.6873,
506
+ "step": 71
507
+ },
508
+ {
509
+ "epoch": 0.6990291262135923,
510
+ "grad_norm": 0.7766331434249878,
511
+ "learning_rate": 4.973255042340801e-06,
512
+ "loss": 0.4722,
513
+ "step": 72
514
+ },
515
+ {
516
+ "epoch": 0.7087378640776699,
517
+ "grad_norm": 0.8586907386779785,
518
+ "learning_rate": 4.972508341752754e-06,
519
+ "loss": 0.6483,
520
+ "step": 73
521
+ },
522
+ {
523
+ "epoch": 0.7184466019417476,
524
+ "grad_norm": 0.7376808524131775,
525
+ "learning_rate": 4.9717514181168534e-06,
526
+ "loss": 0.4555,
527
+ "step": 74
528
+ },
529
+ {
530
+ "epoch": 0.7281553398058253,
531
+ "grad_norm": 0.5241130590438843,
532
+ "learning_rate": 4.970984274562741e-06,
533
+ "loss": 0.3603,
534
+ "step": 75
535
+ },
536
+ {
537
+ "epoch": 0.7378640776699029,
538
+ "grad_norm": 0.7115001082420349,
539
+ "learning_rate": 4.970206914262315e-06,
540
+ "loss": 0.5182,
541
+ "step": 76
542
+ },
543
+ {
544
+ "epoch": 0.7475728155339806,
545
+ "grad_norm": 0.688653826713562,
546
+ "learning_rate": 4.969419340429717e-06,
547
+ "loss": 0.4654,
548
+ "step": 77
549
+ },
550
+ {
551
+ "epoch": 0.7572815533980582,
552
+ "grad_norm": 0.5328500866889954,
553
+ "learning_rate": 4.968621556321319e-06,
554
+ "loss": 0.4655,
555
+ "step": 78
556
+ },
557
+ {
558
+ "epoch": 0.7669902912621359,
559
+ "grad_norm": 1.0476230382919312,
560
+ "learning_rate": 4.967813565235708e-06,
561
+ "loss": 0.5689,
562
+ "step": 79
563
+ },
564
+ {
565
+ "epoch": 0.7766990291262136,
566
+ "grad_norm": 0.6169328689575195,
567
+ "learning_rate": 4.966995370513675e-06,
568
+ "loss": 0.4068,
569
+ "step": 80
570
+ },
571
+ {
572
+ "epoch": 0.7864077669902912,
573
+ "grad_norm": 0.8216828107833862,
574
+ "learning_rate": 4.966166975538197e-06,
575
+ "loss": 0.68,
576
+ "step": 81
577
+ },
578
+ {
579
+ "epoch": 0.7961165048543689,
580
+ "grad_norm": 0.6563589572906494,
581
+ "learning_rate": 4.965328383734429e-06,
582
+ "loss": 0.4559,
583
+ "step": 82
584
+ },
585
+ {
586
+ "epoch": 0.8058252427184466,
587
+ "grad_norm": 0.8646124005317688,
588
+ "learning_rate": 4.964479598569686e-06,
589
+ "loss": 0.6455,
590
+ "step": 83
591
+ },
592
+ {
593
+ "epoch": 0.8155339805825242,
594
+ "grad_norm": 0.9952420592308044,
595
+ "learning_rate": 4.963620623553428e-06,
596
+ "loss": 0.5929,
597
+ "step": 84
598
+ },
599
+ {
600
+ "epoch": 0.8252427184466019,
601
+ "grad_norm": 0.6527711749076843,
602
+ "learning_rate": 4.962751462237248e-06,
603
+ "loss": 0.4333,
604
+ "step": 85
605
+ },
606
+ {
607
+ "epoch": 0.8349514563106796,
608
+ "grad_norm": 0.7421233057975769,
609
+ "learning_rate": 4.9618721182148564e-06,
610
+ "loss": 0.3732,
611
+ "step": 86
612
+ },
613
+ {
614
+ "epoch": 0.8446601941747572,
615
+ "grad_norm": 0.7303851246833801,
616
+ "learning_rate": 4.960982595122064e-06,
617
+ "loss": 0.4007,
618
+ "step": 87
619
+ },
620
+ {
621
+ "epoch": 0.8543689320388349,
622
+ "grad_norm": 0.6574289798736572,
623
+ "learning_rate": 4.960082896636773e-06,
624
+ "loss": 0.5971,
625
+ "step": 88
626
+ },
627
+ {
628
+ "epoch": 0.8640776699029126,
629
+ "grad_norm": 0.7417539954185486,
630
+ "learning_rate": 4.959173026478952e-06,
631
+ "loss": 0.4952,
632
+ "step": 89
633
+ },
634
+ {
635
+ "epoch": 0.8737864077669902,
636
+ "grad_norm": 0.6207308769226074,
637
+ "learning_rate": 4.958252988410631e-06,
638
+ "loss": 0.3605,
639
+ "step": 90
640
+ },
641
+ {
642
+ "epoch": 0.883495145631068,
643
+ "grad_norm": 1.2858132123947144,
644
+ "learning_rate": 4.9573227862358794e-06,
645
+ "loss": 0.5067,
646
+ "step": 91
647
+ },
648
+ {
649
+ "epoch": 0.8932038834951457,
650
+ "grad_norm": 0.7016294002532959,
651
+ "learning_rate": 4.956382423800791e-06,
652
+ "loss": 0.5049,
653
+ "step": 92
654
+ },
655
+ {
656
+ "epoch": 0.9029126213592233,
657
+ "grad_norm": 0.6535316109657288,
658
+ "learning_rate": 4.955431904993471e-06,
659
+ "loss": 0.5478,
660
+ "step": 93
661
+ },
662
+ {
663
+ "epoch": 0.912621359223301,
664
+ "grad_norm": 0.581110417842865,
665
+ "learning_rate": 4.954471233744015e-06,
666
+ "loss": 0.3442,
667
+ "step": 94
668
+ },
669
+ {
670
+ "epoch": 0.9223300970873787,
671
+ "grad_norm": 0.7974981069564819,
672
+ "learning_rate": 4.9535004140245005e-06,
673
+ "loss": 0.5455,
674
+ "step": 95
675
+ },
676
+ {
677
+ "epoch": 0.9320388349514563,
678
+ "grad_norm": 0.6826483011245728,
679
+ "learning_rate": 4.952519449848962e-06,
680
+ "loss": 0.471,
681
+ "step": 96
682
+ },
683
+ {
684
+ "epoch": 0.941747572815534,
685
+ "grad_norm": 0.6755044460296631,
686
+ "learning_rate": 4.951528345273379e-06,
687
+ "loss": 0.4695,
688
+ "step": 97
689
+ },
690
+ {
691
+ "epoch": 0.9514563106796117,
692
+ "grad_norm": 0.7678257822990417,
693
+ "learning_rate": 4.950527104395659e-06,
694
+ "loss": 0.583,
695
+ "step": 98
696
+ },
697
+ {
698
+ "epoch": 0.9611650485436893,
699
+ "grad_norm": 0.7510711550712585,
700
+ "learning_rate": 4.9495157313556185e-06,
701
+ "loss": 0.3671,
702
+ "step": 99
703
+ },
704
+ {
705
+ "epoch": 0.970873786407767,
706
+ "grad_norm": 0.5573858618736267,
707
+ "learning_rate": 4.94849423033497e-06,
708
+ "loss": 0.2934,
709
+ "step": 100
710
+ },
711
+ {
712
+ "epoch": 0.9805825242718447,
713
+ "grad_norm": 0.7562112212181091,
714
+ "learning_rate": 4.9474626055573e-06,
715
+ "loss": 0.6547,
716
+ "step": 101
717
+ },
718
+ {
719
+ "epoch": 0.9902912621359223,
720
+ "grad_norm": 0.5529704689979553,
721
+ "learning_rate": 4.946420861288051e-06,
722
+ "loss": 0.47,
723
+ "step": 102
724
+ },
725
+ {
726
+ "epoch": 1.0,
727
+ "grad_norm": 0.9349260330200195,
728
+ "learning_rate": 4.9453690018345144e-06,
729
+ "loss": 0.4291,
730
+ "step": 103
731
+ },
732
+ {
733
+ "epoch": 1.0097087378640777,
734
+ "grad_norm": 0.5343674421310425,
735
+ "learning_rate": 4.944307031545797e-06,
736
+ "loss": 0.3439,
737
+ "step": 104
738
+ },
739
+ {
740
+ "epoch": 1.0194174757281553,
741
+ "grad_norm": 0.9405943155288696,
742
+ "learning_rate": 4.943234954812812e-06,
743
+ "loss": 0.5853,
744
+ "step": 105
745
+ },
746
+ {
747
+ "epoch": 1.029126213592233,
748
+ "grad_norm": 0.6383285522460938,
749
+ "learning_rate": 4.942152776068264e-06,
750
+ "loss": 0.3842,
751
+ "step": 106
752
+ },
753
+ {
754
+ "epoch": 1.0388349514563107,
755
+ "grad_norm": 0.859075665473938,
756
+ "learning_rate": 4.941060499786622e-06,
757
+ "loss": 0.5976,
758
+ "step": 107
759
+ },
760
+ {
761
+ "epoch": 1.0485436893203883,
762
+ "grad_norm": 0.7414010167121887,
763
+ "learning_rate": 4.939958130484106e-06,
764
+ "loss": 0.4295,
765
+ "step": 108
766
+ },
767
+ {
768
+ "epoch": 1.058252427184466,
769
+ "grad_norm": 0.5165299773216248,
770
+ "learning_rate": 4.938845672718668e-06,
771
+ "loss": 0.4116,
772
+ "step": 109
773
+ },
774
+ {
775
+ "epoch": 1.0679611650485437,
776
+ "grad_norm": 0.6870267987251282,
777
+ "learning_rate": 4.937723131089974e-06,
778
+ "loss": 0.4893,
779
+ "step": 110
780
+ },
781
+ {
782
+ "epoch": 1.0776699029126213,
783
+ "grad_norm": 0.7484614253044128,
784
+ "learning_rate": 4.93659051023938e-06,
785
+ "loss": 0.4745,
786
+ "step": 111
787
+ },
788
+ {
789
+ "epoch": 1.087378640776699,
790
+ "grad_norm": 0.4287586808204651,
791
+ "learning_rate": 4.93544781484992e-06,
792
+ "loss": 0.2543,
793
+ "step": 112
794
+ },
795
+ {
796
+ "epoch": 1.0970873786407767,
797
+ "grad_norm": 0.7693856954574585,
798
+ "learning_rate": 4.9342950496462815e-06,
799
+ "loss": 0.4679,
800
+ "step": 113
801
+ },
802
+ {
803
+ "epoch": 1.1067961165048543,
804
+ "grad_norm": 0.7279606461524963,
805
+ "learning_rate": 4.933132219394786e-06,
806
+ "loss": 0.468,
807
+ "step": 114
808
+ },
809
+ {
810
+ "epoch": 1.116504854368932,
811
+ "grad_norm": 0.787359893321991,
812
+ "learning_rate": 4.931959328903376e-06,
813
+ "loss": 0.5892,
814
+ "step": 115
815
+ },
816
+ {
817
+ "epoch": 1.1262135922330097,
818
+ "grad_norm": 0.6111868023872375,
819
+ "learning_rate": 4.930776383021584e-06,
820
+ "loss": 0.4062,
821
+ "step": 116
822
+ },
823
+ {
824
+ "epoch": 1.1359223300970873,
825
+ "grad_norm": 0.6948837637901306,
826
+ "learning_rate": 4.92958338664052e-06,
827
+ "loss": 0.3093,
828
+ "step": 117
829
+ },
830
+ {
831
+ "epoch": 1.145631067961165,
832
+ "grad_norm": 0.45196858048439026,
833
+ "learning_rate": 4.928380344692853e-06,
834
+ "loss": 0.3166,
835
+ "step": 118
836
+ },
837
+ {
838
+ "epoch": 1.1553398058252426,
839
+ "grad_norm": 0.6264169812202454,
840
+ "learning_rate": 4.927167262152784e-06,
841
+ "loss": 0.4513,
842
+ "step": 119
843
+ },
844
+ {
845
+ "epoch": 1.1650485436893203,
846
+ "grad_norm": 0.5587222576141357,
847
+ "learning_rate": 4.925944144036027e-06,
848
+ "loss": 0.4497,
849
+ "step": 120
850
+ },
851
+ {
852
+ "epoch": 1.174757281553398,
853
+ "grad_norm": 0.6254664063453674,
854
+ "learning_rate": 4.924710995399796e-06,
855
+ "loss": 0.4199,
856
+ "step": 121
857
+ },
858
+ {
859
+ "epoch": 1.1844660194174756,
860
+ "grad_norm": 0.5662532448768616,
861
+ "learning_rate": 4.923467821342773e-06,
862
+ "loss": 0.4158,
863
+ "step": 122
864
+ },
865
+ {
866
+ "epoch": 1.1941747572815533,
867
+ "grad_norm": 0.6218069791793823,
868
+ "learning_rate": 4.922214627005092e-06,
869
+ "loss": 0.4801,
870
+ "step": 123
871
+ },
872
+ {
873
+ "epoch": 1.203883495145631,
874
+ "grad_norm": 0.7494342923164368,
875
+ "learning_rate": 4.920951417568323e-06,
876
+ "loss": 0.5588,
877
+ "step": 124
878
+ },
879
+ {
880
+ "epoch": 1.2135922330097086,
881
+ "grad_norm": 0.5926786661148071,
882
+ "learning_rate": 4.919678198255438e-06,
883
+ "loss": 0.3545,
884
+ "step": 125
885
+ },
886
+ {
887
+ "epoch": 1.2233009708737863,
888
+ "grad_norm": 0.5640999674797058,
889
+ "learning_rate": 4.918394974330801e-06,
890
+ "loss": 0.4607,
891
+ "step": 126
892
+ },
893
+ {
894
+ "epoch": 1.233009708737864,
895
+ "grad_norm": 0.52383953332901,
896
+ "learning_rate": 4.917101751100142e-06,
897
+ "loss": 0.4278,
898
+ "step": 127
899
+ },
900
+ {
901
+ "epoch": 1.2427184466019416,
902
+ "grad_norm": 0.7073279023170471,
903
+ "learning_rate": 4.915798533910534e-06,
904
+ "loss": 0.4067,
905
+ "step": 128
906
+ },
907
+ {
908
+ "epoch": 1.2524271844660193,
909
+ "grad_norm": 0.6415435075759888,
910
+ "learning_rate": 4.9144853281503715e-06,
911
+ "loss": 0.3647,
912
+ "step": 129
913
+ },
914
+ {
915
+ "epoch": 1.262135922330097,
916
+ "grad_norm": 0.869964063167572,
917
+ "learning_rate": 4.91316213924935e-06,
918
+ "loss": 0.5479,
919
+ "step": 130
920
+ },
921
+ {
922
+ "epoch": 1.2718446601941746,
923
+ "grad_norm": 0.5213742256164551,
924
+ "learning_rate": 4.911828972678441e-06,
925
+ "loss": 0.3092,
926
+ "step": 131
927
+ },
928
+ {
929
+ "epoch": 1.2815533980582523,
930
+ "grad_norm": 0.5948150157928467,
931
+ "learning_rate": 4.91048583394987e-06,
932
+ "loss": 0.3913,
933
+ "step": 132
934
+ },
935
+ {
936
+ "epoch": 1.29126213592233,
937
+ "grad_norm": 0.695085346698761,
938
+ "learning_rate": 4.909132728617095e-06,
939
+ "loss": 0.666,
940
+ "step": 133
941
+ },
942
+ {
943
+ "epoch": 1.3009708737864076,
944
+ "grad_norm": 0.609943687915802,
945
+ "learning_rate": 4.907769662274785e-06,
946
+ "loss": 0.3837,
947
+ "step": 134
948
+ },
949
+ {
950
+ "epoch": 1.3106796116504853,
951
+ "grad_norm": 0.5892361998558044,
952
+ "learning_rate": 4.90639664055879e-06,
953
+ "loss": 0.3312,
954
+ "step": 135
955
+ },
956
+ {
957
+ "epoch": 1.3203883495145632,
958
+ "grad_norm": 0.5192832350730896,
959
+ "learning_rate": 4.905013669146127e-06,
960
+ "loss": 0.376,
961
+ "step": 136
962
+ },
963
+ {
964
+ "epoch": 1.3300970873786409,
965
+ "grad_norm": 0.6771908402442932,
966
+ "learning_rate": 4.903620753754949e-06,
967
+ "loss": 0.5261,
968
+ "step": 137
969
+ },
970
+ {
971
+ "epoch": 1.3398058252427185,
972
+ "grad_norm": 0.8547617197036743,
973
+ "learning_rate": 4.902217900144524e-06,
974
+ "loss": 0.6715,
975
+ "step": 138
976
+ },
977
+ {
978
+ "epoch": 1.3495145631067962,
979
+ "grad_norm": 0.6083062291145325,
980
+ "learning_rate": 4.900805114115214e-06,
981
+ "loss": 0.5999,
982
+ "step": 139
983
+ },
984
+ {
985
+ "epoch": 1.3592233009708738,
986
+ "grad_norm": 0.6749557256698608,
987
+ "learning_rate": 4.899382401508446e-06,
988
+ "loss": 0.3316,
989
+ "step": 140
990
+ },
991
+ {
992
+ "epoch": 1.3689320388349515,
993
+ "grad_norm": 0.6656121015548706,
994
+ "learning_rate": 4.8979497682066916e-06,
995
+ "loss": 0.4876,
996
+ "step": 141
997
+ },
998
+ {
999
+ "epoch": 1.3786407766990292,
1000
+ "grad_norm": 0.5090677738189697,
1001
+ "learning_rate": 4.89650722013344e-06,
1002
+ "loss": 0.3391,
1003
+ "step": 142
1004
+ },
1005
+ {
1006
+ "epoch": 1.3883495145631068,
1007
+ "grad_norm": 0.5438173413276672,
1008
+ "learning_rate": 4.895054763253177e-06,
1009
+ "loss": 0.436,
1010
+ "step": 143
1011
+ },
1012
+ {
1013
+ "epoch": 1.3980582524271845,
1014
+ "grad_norm": 0.6639130115509033,
1015
+ "learning_rate": 4.8935924035713564e-06,
1016
+ "loss": 0.3602,
1017
+ "step": 144
1018
+ },
1019
+ {
1020
+ "epoch": 1.4077669902912622,
1021
+ "grad_norm": 0.5315232276916504,
1022
+ "learning_rate": 4.892120147134378e-06,
1023
+ "loss": 0.3503,
1024
+ "step": 145
1025
+ },
1026
+ {
1027
+ "epoch": 1.4174757281553398,
1028
+ "grad_norm": 0.7320194840431213,
1029
+ "learning_rate": 4.8906380000295615e-06,
1030
+ "loss": 0.4673,
1031
+ "step": 146
1032
+ },
1033
+ {
1034
+ "epoch": 1.4271844660194175,
1035
+ "grad_norm": 0.6032155156135559,
1036
+ "learning_rate": 4.889145968385121e-06,
1037
+ "loss": 0.3787,
1038
+ "step": 147
1039
+ },
1040
+ {
1041
+ "epoch": 1.4368932038834952,
1042
+ "grad_norm": 0.6545783877372742,
1043
+ "learning_rate": 4.887644058370139e-06,
1044
+ "loss": 0.3103,
1045
+ "step": 148
1046
+ },
1047
+ {
1048
+ "epoch": 1.4466019417475728,
1049
+ "grad_norm": 0.5894538760185242,
1050
+ "learning_rate": 4.886132276194544e-06,
1051
+ "loss": 0.3413,
1052
+ "step": 149
1053
+ },
1054
+ {
1055
+ "epoch": 1.4563106796116505,
1056
+ "grad_norm": 0.6232749223709106,
1057
+ "learning_rate": 4.884610628109082e-06,
1058
+ "loss": 0.3436,
1059
+ "step": 150
1060
+ },
1061
+ {
1062
+ "epoch": 1.4660194174757282,
1063
+ "grad_norm": 0.4999227523803711,
1064
+ "learning_rate": 4.883079120405292e-06,
1065
+ "loss": 0.3365,
1066
+ "step": 151
1067
+ },
1068
+ {
1069
+ "epoch": 1.4757281553398058,
1070
+ "grad_norm": 0.6769834160804749,
1071
+ "learning_rate": 4.881537759415478e-06,
1072
+ "loss": 0.3026,
1073
+ "step": 152
1074
+ },
1075
+ {
1076
+ "epoch": 1.4854368932038835,
1077
+ "grad_norm": 0.7683031558990479,
1078
+ "learning_rate": 4.879986551512684e-06,
1079
+ "loss": 0.4916,
1080
+ "step": 153
1081
+ },
1082
+ {
1083
+ "epoch": 1.4951456310679612,
1084
+ "grad_norm": 0.6288866996765137,
1085
+ "learning_rate": 4.878425503110672e-06,
1086
+ "loss": 0.3623,
1087
+ "step": 154
1088
+ },
1089
+ {
1090
+ "epoch": 1.5048543689320388,
1091
+ "grad_norm": 0.7626834511756897,
1092
+ "learning_rate": 4.876854620663887e-06,
1093
+ "loss": 0.4129,
1094
+ "step": 155
1095
+ },
1096
+ {
1097
+ "epoch": 1.5145631067961165,
1098
+ "grad_norm": 0.6667632460594177,
1099
+ "learning_rate": 4.875273910667434e-06,
1100
+ "loss": 0.4238,
1101
+ "step": 156
1102
+ },
1103
+ {
1104
+ "epoch": 1.5242718446601942,
1105
+ "grad_norm": 0.582093358039856,
1106
+ "learning_rate": 4.873683379657057e-06,
1107
+ "loss": 0.2778,
1108
+ "step": 157
1109
+ },
1110
+ {
1111
+ "epoch": 1.5339805825242718,
1112
+ "grad_norm": 0.7995895743370056,
1113
+ "learning_rate": 4.8720830342091015e-06,
1114
+ "loss": 0.7007,
1115
+ "step": 158
1116
+ },
1117
+ {
1118
+ "epoch": 1.5436893203883495,
1119
+ "grad_norm": 0.7098531126976013,
1120
+ "learning_rate": 4.870472880940496e-06,
1121
+ "loss": 0.5393,
1122
+ "step": 159
1123
+ },
1124
+ {
1125
+ "epoch": 1.5533980582524272,
1126
+ "grad_norm": 1.1624517440795898,
1127
+ "learning_rate": 4.868852926508721e-06,
1128
+ "loss": 0.6077,
1129
+ "step": 160
1130
+ },
1131
+ {
1132
+ "epoch": 1.5631067961165048,
1133
+ "grad_norm": 0.80013507604599,
1134
+ "learning_rate": 4.867223177611779e-06,
1135
+ "loss": 0.4601,
1136
+ "step": 161
1137
+ },
1138
+ {
1139
+ "epoch": 1.5728155339805825,
1140
+ "grad_norm": 0.5787361860275269,
1141
+ "learning_rate": 4.865583640988173e-06,
1142
+ "loss": 0.3338,
1143
+ "step": 162
1144
+ },
1145
+ {
1146
+ "epoch": 1.5825242718446602,
1147
+ "grad_norm": 0.5957843661308289,
1148
+ "learning_rate": 4.863934323416871e-06,
1149
+ "loss": 0.4314,
1150
+ "step": 163
1151
+ },
1152
+ {
1153
+ "epoch": 1.5922330097087378,
1154
+ "grad_norm": 0.5439764857292175,
1155
+ "learning_rate": 4.862275231717288e-06,
1156
+ "loss": 0.3712,
1157
+ "step": 164
1158
+ },
1159
+ {
1160
+ "epoch": 1.6019417475728155,
1161
+ "grad_norm": 0.7053182125091553,
1162
+ "learning_rate": 4.860606372749247e-06,
1163
+ "loss": 0.3109,
1164
+ "step": 165
1165
+ },
1166
+ {
1167
+ "epoch": 1.6116504854368932,
1168
+ "grad_norm": 0.5710446238517761,
1169
+ "learning_rate": 4.858927753412958e-06,
1170
+ "loss": 0.3766,
1171
+ "step": 166
1172
+ },
1173
+ {
1174
+ "epoch": 1.6213592233009708,
1175
+ "grad_norm": 0.6648595333099365,
1176
+ "learning_rate": 4.857239380648985e-06,
1177
+ "loss": 0.3825,
1178
+ "step": 167
1179
+ },
1180
+ {
1181
+ "epoch": 1.6310679611650487,
1182
+ "grad_norm": 0.6290114521980286,
1183
+ "learning_rate": 4.855541261438223e-06,
1184
+ "loss": 0.4474,
1185
+ "step": 168
1186
+ },
1187
+ {
1188
+ "epoch": 1.6407766990291264,
1189
+ "grad_norm": 0.8073899745941162,
1190
+ "learning_rate": 4.8538334028018605e-06,
1191
+ "loss": 0.5414,
1192
+ "step": 169
1193
+ },
1194
+ {
1195
+ "epoch": 1.650485436893204,
1196
+ "grad_norm": 0.4455365240573883,
1197
+ "learning_rate": 4.8521158118013605e-06,
1198
+ "loss": 0.2714,
1199
+ "step": 170
1200
+ },
1201
+ {
1202
+ "epoch": 1.6601941747572817,
1203
+ "grad_norm": 0.7584375143051147,
1204
+ "learning_rate": 4.850388495538423e-06,
1205
+ "loss": 0.3977,
1206
+ "step": 171
1207
+ },
1208
+ {
1209
+ "epoch": 1.6699029126213594,
1210
+ "grad_norm": 0.7362307906150818,
1211
+ "learning_rate": 4.84865146115496e-06,
1212
+ "loss": 0.361,
1213
+ "step": 172
1214
+ },
1215
+ {
1216
+ "epoch": 1.679611650485437,
1217
+ "grad_norm": 0.6931505799293518,
1218
+ "learning_rate": 4.846904715833066e-06,
1219
+ "loss": 0.3181,
1220
+ "step": 173
1221
+ },
1222
+ {
1223
+ "epoch": 1.6893203883495147,
1224
+ "grad_norm": 0.6749580502510071,
1225
+ "learning_rate": 4.8451482667949836e-06,
1226
+ "loss": 0.5013,
1227
+ "step": 174
1228
+ },
1229
+ {
1230
+ "epoch": 1.6990291262135924,
1231
+ "grad_norm": 0.6496002078056335,
1232
+ "learning_rate": 4.843382121303082e-06,
1233
+ "loss": 0.4404,
1234
+ "step": 175
1235
+ },
1236
+ {
1237
+ "epoch": 1.70873786407767,
1238
+ "grad_norm": 0.5231767892837524,
1239
+ "learning_rate": 4.841606286659819e-06,
1240
+ "loss": 0.2943,
1241
+ "step": 176
1242
+ },
1243
+ {
1244
+ "epoch": 1.7184466019417477,
1245
+ "grad_norm": 0.6066251993179321,
1246
+ "learning_rate": 4.839820770207714e-06,
1247
+ "loss": 0.3056,
1248
+ "step": 177
1249
+ },
1250
+ {
1251
+ "epoch": 1.7281553398058254,
1252
+ "grad_norm": 0.6501230001449585,
1253
+ "learning_rate": 4.8380255793293195e-06,
1254
+ "loss": 0.3317,
1255
+ "step": 178
1256
+ },
1257
+ {
1258
+ "epoch": 1.737864077669903,
1259
+ "grad_norm": 0.6353102326393127,
1260
+ "learning_rate": 4.8362207214471864e-06,
1261
+ "loss": 0.3367,
1262
+ "step": 179
1263
+ },
1264
+ {
1265
+ "epoch": 1.7475728155339807,
1266
+ "grad_norm": 0.7967941164970398,
1267
+ "learning_rate": 4.83440620402384e-06,
1268
+ "loss": 0.4452,
1269
+ "step": 180
1270
+ },
1271
+ {
1272
+ "epoch": 1.7572815533980584,
1273
+ "grad_norm": 0.6307664513587952,
1274
+ "learning_rate": 4.832582034561738e-06,
1275
+ "loss": 0.4285,
1276
+ "step": 181
1277
+ },
1278
+ {
1279
+ "epoch": 1.766990291262136,
1280
+ "grad_norm": 0.6044855117797852,
1281
+ "learning_rate": 4.830748220603251e-06,
1282
+ "loss": 0.4512,
1283
+ "step": 182
1284
+ },
1285
+ {
1286
+ "epoch": 1.7766990291262137,
1287
+ "grad_norm": 0.6435297727584839,
1288
+ "learning_rate": 4.828904769730628e-06,
1289
+ "loss": 0.4549,
1290
+ "step": 183
1291
+ },
1292
+ {
1293
+ "epoch": 1.7864077669902914,
1294
+ "grad_norm": 0.702921986579895,
1295
+ "learning_rate": 4.827051689565958e-06,
1296
+ "loss": 0.4001,
1297
+ "step": 184
1298
+ },
1299
+ {
1300
+ "epoch": 1.796116504854369,
1301
+ "grad_norm": 0.668709397315979,
1302
+ "learning_rate": 4.825188987771149e-06,
1303
+ "loss": 0.5234,
1304
+ "step": 185
1305
+ },
1306
+ {
1307
+ "epoch": 1.8058252427184467,
1308
+ "grad_norm": 0.6227490305900574,
1309
+ "learning_rate": 4.82331667204789e-06,
1310
+ "loss": 0.2801,
1311
+ "step": 186
1312
+ },
1313
+ {
1314
+ "epoch": 1.8155339805825244,
1315
+ "grad_norm": 0.891064465045929,
1316
+ "learning_rate": 4.821434750137619e-06,
1317
+ "loss": 0.4557,
1318
+ "step": 187
1319
+ },
1320
+ {
1321
+ "epoch": 1.825242718446602,
1322
+ "grad_norm": 0.7352958917617798,
1323
+ "learning_rate": 4.819543229821494e-06,
1324
+ "loss": 0.4963,
1325
+ "step": 188
1326
+ },
1327
+ {
1328
+ "epoch": 1.8349514563106797,
1329
+ "grad_norm": 0.5045980215072632,
1330
+ "learning_rate": 4.8176421189203605e-06,
1331
+ "loss": 0.3175,
1332
+ "step": 189
1333
+ },
1334
+ {
1335
+ "epoch": 1.8446601941747574,
1336
+ "grad_norm": 0.6796278953552246,
1337
+ "learning_rate": 4.815731425294716e-06,
1338
+ "loss": 0.4467,
1339
+ "step": 190
1340
+ },
1341
+ {
1342
+ "epoch": 1.854368932038835,
1343
+ "grad_norm": 0.6816868185997009,
1344
+ "learning_rate": 4.813811156844681e-06,
1345
+ "loss": 0.4753,
1346
+ "step": 191
1347
+ },
1348
+ {
1349
+ "epoch": 1.8640776699029127,
1350
+ "grad_norm": 0.7810450196266174,
1351
+ "learning_rate": 4.811881321509964e-06,
1352
+ "loss": 0.485,
1353
+ "step": 192
1354
+ },
1355
+ {
1356
+ "epoch": 1.8737864077669903,
1357
+ "grad_norm": 0.7930178046226501,
1358
+ "learning_rate": 4.809941927269829e-06,
1359
+ "loss": 0.6113,
1360
+ "step": 193
1361
+ },
1362
+ {
1363
+ "epoch": 1.883495145631068,
1364
+ "grad_norm": 0.7545306086540222,
1365
+ "learning_rate": 4.807992982143064e-06,
1366
+ "loss": 0.4116,
1367
+ "step": 194
1368
+ },
1369
+ {
1370
+ "epoch": 1.8932038834951457,
1371
+ "grad_norm": 0.7625388503074646,
1372
+ "learning_rate": 4.806034494187949e-06,
1373
+ "loss": 0.5885,
1374
+ "step": 195
1375
+ },
1376
+ {
1377
+ "epoch": 1.9029126213592233,
1378
+ "grad_norm": 0.6281082630157471,
1379
+ "learning_rate": 4.804066471502216e-06,
1380
+ "loss": 0.3712,
1381
+ "step": 196
1382
+ },
1383
+ {
1384
+ "epoch": 1.912621359223301,
1385
+ "grad_norm": 0.685569167137146,
1386
+ "learning_rate": 4.802088922223024e-06,
1387
+ "loss": 0.3116,
1388
+ "step": 197
1389
+ },
1390
+ {
1391
+ "epoch": 1.9223300970873787,
1392
+ "grad_norm": 0.6114542484283447,
1393
+ "learning_rate": 4.80010185452692e-06,
1394
+ "loss": 0.4237,
1395
+ "step": 198
1396
+ },
1397
+ {
1398
+ "epoch": 1.9320388349514563,
1399
+ "grad_norm": 0.5424678921699524,
1400
+ "learning_rate": 4.798105276629806e-06,
1401
+ "loss": 0.2987,
1402
+ "step": 199
1403
+ },
1404
+ {
1405
+ "epoch": 1.941747572815534,
1406
+ "grad_norm": 0.6528575420379639,
1407
+ "learning_rate": 4.796099196786908e-06,
1408
+ "loss": 0.3472,
1409
+ "step": 200
1410
+ },
1411
+ {
1412
+ "epoch": 1.9514563106796117,
1413
+ "grad_norm": 0.5948964953422546,
1414
+ "learning_rate": 4.794083623292737e-06,
1415
+ "loss": 0.5002,
1416
+ "step": 201
1417
+ },
1418
+ {
1419
+ "epoch": 1.9611650485436893,
1420
+ "grad_norm": 0.6066758036613464,
1421
+ "learning_rate": 4.792058564481058e-06,
1422
+ "loss": 0.3192,
1423
+ "step": 202
1424
+ },
1425
+ {
1426
+ "epoch": 1.970873786407767,
1427
+ "grad_norm": 0.6982361078262329,
1428
+ "learning_rate": 4.7900240287248554e-06,
1429
+ "loss": 0.4737,
1430
+ "step": 203
1431
+ },
1432
+ {
1433
+ "epoch": 1.9805825242718447,
1434
+ "grad_norm": 0.7239336967468262,
1435
+ "learning_rate": 4.7879800244362975e-06,
1436
+ "loss": 0.5082,
1437
+ "step": 204
1438
+ },
1439
+ {
1440
+ "epoch": 1.9902912621359223,
1441
+ "grad_norm": 0.6995775103569031,
1442
+ "learning_rate": 4.785926560066703e-06,
1443
+ "loss": 0.5026,
1444
+ "step": 205
1445
+ },
1446
+ {
1447
+ "epoch": 2.0,
1448
+ "grad_norm": 0.5648424625396729,
1449
+ "learning_rate": 4.783863644106502e-06,
1450
+ "loss": 0.3916,
1451
+ "step": 206
1452
+ },
1453
+ {
1454
+ "epoch": 2.0097087378640777,
1455
+ "grad_norm": 0.5701444149017334,
1456
+ "learning_rate": 4.781791285085209e-06,
1457
+ "loss": 0.3145,
1458
+ "step": 207
1459
+ },
1460
+ {
1461
+ "epoch": 2.0194174757281553,
1462
+ "grad_norm": 0.5663194060325623,
1463
+ "learning_rate": 4.779709491571378e-06,
1464
+ "loss": 0.2859,
1465
+ "step": 208
1466
+ },
1467
+ {
1468
+ "epoch": 2.029126213592233,
1469
+ "grad_norm": 0.5743699669837952,
1470
+ "learning_rate": 4.777618272172573e-06,
1471
+ "loss": 0.4217,
1472
+ "step": 209
1473
+ },
1474
+ {
1475
+ "epoch": 2.0388349514563107,
1476
+ "grad_norm": 0.8450823426246643,
1477
+ "learning_rate": 4.775517635535332e-06,
1478
+ "loss": 0.4749,
1479
+ "step": 210
1480
+ },
1481
+ {
1482
+ "epoch": 2.0485436893203883,
1483
+ "grad_norm": 0.6182947158813477,
1484
+ "learning_rate": 4.77340759034513e-06,
1485
+ "loss": 0.4835,
1486
+ "step": 211
1487
+ },
1488
+ {
1489
+ "epoch": 2.058252427184466,
1490
+ "grad_norm": 0.661399245262146,
1491
+ "learning_rate": 4.771288145326343e-06,
1492
+ "loss": 0.4592,
1493
+ "step": 212
1494
+ },
1495
+ {
1496
+ "epoch": 2.0679611650485437,
1497
+ "grad_norm": 0.561326265335083,
1498
+ "learning_rate": 4.769159309242213e-06,
1499
+ "loss": 0.2659,
1500
+ "step": 213
1501
+ },
1502
+ {
1503
+ "epoch": 2.0776699029126213,
1504
+ "grad_norm": 0.5948139429092407,
1505
+ "learning_rate": 4.767021090894809e-06,
1506
+ "loss": 0.4182,
1507
+ "step": 214
1508
+ },
1509
+ {
1510
+ "epoch": 2.087378640776699,
1511
+ "grad_norm": 0.6271581053733826,
1512
+ "learning_rate": 4.764873499124997e-06,
1513
+ "loss": 0.4742,
1514
+ "step": 215
1515
+ },
1516
+ {
1517
+ "epoch": 2.0970873786407767,
1518
+ "grad_norm": 0.5260875821113586,
1519
+ "learning_rate": 4.762716542812395e-06,
1520
+ "loss": 0.3065,
1521
+ "step": 216
1522
+ },
1523
+ {
1524
+ "epoch": 2.1067961165048543,
1525
+ "grad_norm": 0.6065751314163208,
1526
+ "learning_rate": 4.7605502308753415e-06,
1527
+ "loss": 0.3763,
1528
+ "step": 217
1529
+ },
1530
+ {
1531
+ "epoch": 2.116504854368932,
1532
+ "grad_norm": 0.6876965761184692,
1533
+ "learning_rate": 4.758374572270859e-06,
1534
+ "loss": 0.4534,
1535
+ "step": 218
1536
+ },
1537
+ {
1538
+ "epoch": 2.1262135922330097,
1539
+ "grad_norm": 0.48716917634010315,
1540
+ "learning_rate": 4.756189575994614e-06,
1541
+ "loss": 0.1769,
1542
+ "step": 219
1543
+ },
1544
+ {
1545
+ "epoch": 2.1359223300970873,
1546
+ "grad_norm": 0.603748083114624,
1547
+ "learning_rate": 4.753995251080884e-06,
1548
+ "loss": 0.3719,
1549
+ "step": 220
1550
+ },
1551
+ {
1552
+ "epoch": 2.145631067961165,
1553
+ "grad_norm": 0.47758758068084717,
1554
+ "learning_rate": 4.7517916066025126e-06,
1555
+ "loss": 0.2457,
1556
+ "step": 221
1557
+ },
1558
+ {
1559
+ "epoch": 2.1553398058252426,
1560
+ "grad_norm": 0.692158043384552,
1561
+ "learning_rate": 4.7495786516708806e-06,
1562
+ "loss": 0.5067,
1563
+ "step": 222
1564
+ },
1565
+ {
1566
+ "epoch": 2.1650485436893203,
1567
+ "grad_norm": 0.6843806505203247,
1568
+ "learning_rate": 4.747356395435865e-06,
1569
+ "loss": 0.2829,
1570
+ "step": 223
1571
+ },
1572
+ {
1573
+ "epoch": 2.174757281553398,
1574
+ "grad_norm": 0.8849295377731323,
1575
+ "learning_rate": 4.745124847085799e-06,
1576
+ "loss": 0.3827,
1577
+ "step": 224
1578
+ },
1579
+ {
1580
+ "epoch": 2.1844660194174756,
1581
+ "grad_norm": 0.6735808849334717,
1582
+ "learning_rate": 4.742884015847436e-06,
1583
+ "loss": 0.355,
1584
+ "step": 225
1585
+ },
1586
+ {
1587
+ "epoch": 2.1941747572815533,
1588
+ "grad_norm": 0.6396856904029846,
1589
+ "learning_rate": 4.740633910985911e-06,
1590
+ "loss": 0.4024,
1591
+ "step": 226
1592
+ },
1593
+ {
1594
+ "epoch": 2.203883495145631,
1595
+ "grad_norm": 0.45892441272735596,
1596
+ "learning_rate": 4.738374541804704e-06,
1597
+ "loss": 0.2249,
1598
+ "step": 227
1599
+ },
1600
+ {
1601
+ "epoch": 2.2135922330097086,
1602
+ "grad_norm": 0.5224670767784119,
1603
+ "learning_rate": 4.7361059176456e-06,
1604
+ "loss": 0.2975,
1605
+ "step": 228
1606
+ },
1607
+ {
1608
+ "epoch": 2.2233009708737863,
1609
+ "grad_norm": 0.5963131785392761,
1610
+ "learning_rate": 4.733828047888647e-06,
1611
+ "loss": 0.4551,
1612
+ "step": 229
1613
+ },
1614
+ {
1615
+ "epoch": 2.233009708737864,
1616
+ "grad_norm": 0.49990126490592957,
1617
+ "learning_rate": 4.731540941952126e-06,
1618
+ "loss": 0.2487,
1619
+ "step": 230
1620
+ },
1621
+ {
1622
+ "epoch": 2.2427184466019416,
1623
+ "grad_norm": 0.6114132404327393,
1624
+ "learning_rate": 4.7292446092925016e-06,
1625
+ "loss": 0.323,
1626
+ "step": 231
1627
+ },
1628
+ {
1629
+ "epoch": 2.2524271844660193,
1630
+ "grad_norm": 0.5504849553108215,
1631
+ "learning_rate": 4.726939059404392e-06,
1632
+ "loss": 0.2488,
1633
+ "step": 232
1634
+ },
1635
+ {
1636
+ "epoch": 2.262135922330097,
1637
+ "grad_norm": 0.586751401424408,
1638
+ "learning_rate": 4.724624301820524e-06,
1639
+ "loss": 0.2976,
1640
+ "step": 233
1641
+ },
1642
+ {
1643
+ "epoch": 2.2718446601941746,
1644
+ "grad_norm": 0.778872549533844,
1645
+ "learning_rate": 4.722300346111695e-06,
1646
+ "loss": 0.423,
1647
+ "step": 234
1648
+ },
1649
+ {
1650
+ "epoch": 2.2815533980582523,
1651
+ "grad_norm": 0.6887276768684387,
1652
+ "learning_rate": 4.719967201886734e-06,
1653
+ "loss": 0.3558,
1654
+ "step": 235
1655
+ },
1656
+ {
1657
+ "epoch": 2.29126213592233,
1658
+ "grad_norm": 0.6255162358283997,
1659
+ "learning_rate": 4.717624878792461e-06,
1660
+ "loss": 0.514,
1661
+ "step": 236
1662
+ },
1663
+ {
1664
+ "epoch": 2.3009708737864076,
1665
+ "grad_norm": 0.6514340043067932,
1666
+ "learning_rate": 4.715273386513651e-06,
1667
+ "loss": 0.4811,
1668
+ "step": 237
1669
+ },
1670
+ {
1671
+ "epoch": 2.3106796116504853,
1672
+ "grad_norm": 0.5994253754615784,
1673
+ "learning_rate": 4.712912734772988e-06,
1674
+ "loss": 0.3557,
1675
+ "step": 238
1676
+ },
1677
+ {
1678
+ "epoch": 2.320388349514563,
1679
+ "grad_norm": 0.4917253851890564,
1680
+ "learning_rate": 4.710542933331025e-06,
1681
+ "loss": 0.3611,
1682
+ "step": 239
1683
+ },
1684
+ {
1685
+ "epoch": 2.3300970873786406,
1686
+ "grad_norm": 0.6361456513404846,
1687
+ "learning_rate": 4.708163991986152e-06,
1688
+ "loss": 0.4329,
1689
+ "step": 240
1690
+ },
1691
+ {
1692
+ "epoch": 2.3398058252427183,
1693
+ "grad_norm": 0.6043516993522644,
1694
+ "learning_rate": 4.705775920574546e-06,
1695
+ "loss": 0.4122,
1696
+ "step": 241
1697
+ },
1698
+ {
1699
+ "epoch": 2.349514563106796,
1700
+ "grad_norm": 0.6577557325363159,
1701
+ "learning_rate": 4.703378728970134e-06,
1702
+ "loss": 0.3015,
1703
+ "step": 242
1704
+ },
1705
+ {
1706
+ "epoch": 2.3592233009708736,
1707
+ "grad_norm": 0.5667371153831482,
1708
+ "learning_rate": 4.700972427084551e-06,
1709
+ "loss": 0.414,
1710
+ "step": 243
1711
+ },
1712
+ {
1713
+ "epoch": 2.3689320388349513,
1714
+ "grad_norm": 0.6049787402153015,
1715
+ "learning_rate": 4.698557024867105e-06,
1716
+ "loss": 0.2795,
1717
+ "step": 244
1718
+ },
1719
+ {
1720
+ "epoch": 2.378640776699029,
1721
+ "grad_norm": 0.7228444218635559,
1722
+ "learning_rate": 4.696132532304727e-06,
1723
+ "loss": 0.4881,
1724
+ "step": 245
1725
+ },
1726
+ {
1727
+ "epoch": 2.3883495145631066,
1728
+ "grad_norm": 0.5614190101623535,
1729
+ "learning_rate": 4.693698959421935e-06,
1730
+ "loss": 0.3381,
1731
+ "step": 246
1732
+ },
1733
+ {
1734
+ "epoch": 2.3980582524271843,
1735
+ "grad_norm": 0.6152287125587463,
1736
+ "learning_rate": 4.691256316280789e-06,
1737
+ "loss": 0.5593,
1738
+ "step": 247
1739
+ },
1740
+ {
1741
+ "epoch": 2.407766990291262,
1742
+ "grad_norm": 0.5011581778526306,
1743
+ "learning_rate": 4.688804612980855e-06,
1744
+ "loss": 0.2445,
1745
+ "step": 248
1746
+ },
1747
+ {
1748
+ "epoch": 2.4174757281553396,
1749
+ "grad_norm": 0.5896782279014587,
1750
+ "learning_rate": 4.686343859659158e-06,
1751
+ "loss": 0.473,
1752
+ "step": 249
1753
+ },
1754
+ {
1755
+ "epoch": 2.4271844660194173,
1756
+ "grad_norm": 0.6347712874412537,
1757
+ "learning_rate": 4.683874066490143e-06,
1758
+ "loss": 0.3516,
1759
+ "step": 250
1760
+ },
1761
+ {
1762
+ "epoch": 2.436893203883495,
1763
+ "grad_norm": 0.5596681833267212,
1764
+ "learning_rate": 4.681395243685631e-06,
1765
+ "loss": 0.3678,
1766
+ "step": 251
1767
+ },
1768
+ {
1769
+ "epoch": 2.4466019417475726,
1770
+ "grad_norm": 0.7163019180297852,
1771
+ "learning_rate": 4.67890740149478e-06,
1772
+ "loss": 0.3569,
1773
+ "step": 252
1774
+ },
1775
+ {
1776
+ "epoch": 2.4563106796116507,
1777
+ "grad_norm": 0.6242774128913879,
1778
+ "learning_rate": 4.676410550204036e-06,
1779
+ "loss": 0.3928,
1780
+ "step": 253
1781
+ },
1782
+ {
1783
+ "epoch": 2.466019417475728,
1784
+ "grad_norm": 0.460670530796051,
1785
+ "learning_rate": 4.673904700137098e-06,
1786
+ "loss": 0.2079,
1787
+ "step": 254
1788
+ },
1789
+ {
1790
+ "epoch": 2.475728155339806,
1791
+ "grad_norm": 0.5833090543746948,
1792
+ "learning_rate": 4.671389861654873e-06,
1793
+ "loss": 0.3023,
1794
+ "step": 255
1795
+ },
1796
+ {
1797
+ "epoch": 2.4854368932038833,
1798
+ "grad_norm": 0.5938665270805359,
1799
+ "learning_rate": 4.668866045155428e-06,
1800
+ "loss": 0.3848,
1801
+ "step": 256
1802
+ },
1803
+ {
1804
+ "epoch": 2.4951456310679614,
1805
+ "grad_norm": 0.8690244555473328,
1806
+ "learning_rate": 4.666333261073956e-06,
1807
+ "loss": 0.4287,
1808
+ "step": 257
1809
+ },
1810
+ {
1811
+ "epoch": 2.5048543689320386,
1812
+ "grad_norm": 0.6412749290466309,
1813
+ "learning_rate": 4.6637915198827265e-06,
1814
+ "loss": 0.466,
1815
+ "step": 258
1816
+ },
1817
+ {
1818
+ "epoch": 2.5145631067961167,
1819
+ "grad_norm": 0.6463085412979126,
1820
+ "learning_rate": 4.661240832091042e-06,
1821
+ "loss": 0.3357,
1822
+ "step": 259
1823
+ },
1824
+ {
1825
+ "epoch": 2.524271844660194,
1826
+ "grad_norm": 0.6331371665000916,
1827
+ "learning_rate": 4.658681208245198e-06,
1828
+ "loss": 0.3715,
1829
+ "step": 260
1830
+ },
1831
+ {
1832
+ "epoch": 2.533980582524272,
1833
+ "grad_norm": 0.5888141393661499,
1834
+ "learning_rate": 4.65611265892844e-06,
1835
+ "loss": 0.3909,
1836
+ "step": 261
1837
+ },
1838
+ {
1839
+ "epoch": 2.5436893203883493,
1840
+ "grad_norm": 0.6700317859649658,
1841
+ "learning_rate": 4.653535194760912e-06,
1842
+ "loss": 0.3722,
1843
+ "step": 262
1844
+ },
1845
+ {
1846
+ "epoch": 2.5533980582524274,
1847
+ "grad_norm": 0.662674069404602,
1848
+ "learning_rate": 4.650948826399624e-06,
1849
+ "loss": 0.2092,
1850
+ "step": 263
1851
+ },
1852
+ {
1853
+ "epoch": 2.5631067961165046,
1854
+ "grad_norm": 0.7149965167045593,
1855
+ "learning_rate": 4.648353564538397e-06,
1856
+ "loss": 0.2988,
1857
+ "step": 264
1858
+ },
1859
+ {
1860
+ "epoch": 2.5728155339805827,
1861
+ "grad_norm": 0.6281551122665405,
1862
+ "learning_rate": 4.645749419907829e-06,
1863
+ "loss": 0.3102,
1864
+ "step": 265
1865
+ },
1866
+ {
1867
+ "epoch": 2.58252427184466,
1868
+ "grad_norm": 0.5224995017051697,
1869
+ "learning_rate": 4.64313640327524e-06,
1870
+ "loss": 0.2248,
1871
+ "step": 266
1872
+ },
1873
+ {
1874
+ "epoch": 2.592233009708738,
1875
+ "grad_norm": 0.6341948509216309,
1876
+ "learning_rate": 4.640514525444637e-06,
1877
+ "loss": 0.4047,
1878
+ "step": 267
1879
+ },
1880
+ {
1881
+ "epoch": 2.6019417475728153,
1882
+ "grad_norm": 0.7885901927947998,
1883
+ "learning_rate": 4.637883797256663e-06,
1884
+ "loss": 0.6537,
1885
+ "step": 268
1886
+ },
1887
+ {
1888
+ "epoch": 2.6116504854368934,
1889
+ "grad_norm": 0.6814199686050415,
1890
+ "learning_rate": 4.635244229588558e-06,
1891
+ "loss": 0.352,
1892
+ "step": 269
1893
+ },
1894
+ {
1895
+ "epoch": 2.6213592233009706,
1896
+ "grad_norm": 0.5105057954788208,
1897
+ "learning_rate": 4.632595833354105e-06,
1898
+ "loss": 0.3706,
1899
+ "step": 270
1900
+ },
1901
+ {
1902
+ "epoch": 2.6310679611650487,
1903
+ "grad_norm": 0.5718193054199219,
1904
+ "learning_rate": 4.629938619503593e-06,
1905
+ "loss": 0.2927,
1906
+ "step": 271
1907
+ },
1908
+ {
1909
+ "epoch": 2.6407766990291264,
1910
+ "grad_norm": 0.5923221707344055,
1911
+ "learning_rate": 4.627272599023772e-06,
1912
+ "loss": 0.4807,
1913
+ "step": 272
1914
+ },
1915
+ {
1916
+ "epoch": 2.650485436893204,
1917
+ "grad_norm": 0.624381422996521,
1918
+ "learning_rate": 4.6245977829378e-06,
1919
+ "loss": 0.5805,
1920
+ "step": 273
1921
+ },
1922
+ {
1923
+ "epoch": 2.6601941747572817,
1924
+ "grad_norm": 0.5855986475944519,
1925
+ "learning_rate": 4.6219141823052035e-06,
1926
+ "loss": 0.2696,
1927
+ "step": 274
1928
+ },
1929
+ {
1930
+ "epoch": 2.6699029126213594,
1931
+ "grad_norm": 0.8095797896385193,
1932
+ "learning_rate": 4.619221808221833e-06,
1933
+ "loss": 0.5238,
1934
+ "step": 275
1935
+ },
1936
+ {
1937
+ "epoch": 2.679611650485437,
1938
+ "grad_norm": 0.5612257719039917,
1939
+ "learning_rate": 4.616520671819812e-06,
1940
+ "loss": 0.282,
1941
+ "step": 276
1942
+ },
1943
+ {
1944
+ "epoch": 2.6893203883495147,
1945
+ "grad_norm": 0.7121798992156982,
1946
+ "learning_rate": 4.613810784267492e-06,
1947
+ "loss": 0.4285,
1948
+ "step": 277
1949
+ },
1950
+ {
1951
+ "epoch": 2.6990291262135924,
1952
+ "grad_norm": 0.54909747838974,
1953
+ "learning_rate": 4.61109215676941e-06,
1954
+ "loss": 0.2892,
1955
+ "step": 278
1956
+ },
1957
+ {
1958
+ "epoch": 2.70873786407767,
1959
+ "grad_norm": 0.6088219881057739,
1960
+ "learning_rate": 4.608364800566241e-06,
1961
+ "loss": 0.4092,
1962
+ "step": 279
1963
+ },
1964
+ {
1965
+ "epoch": 2.7184466019417477,
1966
+ "grad_norm": 0.548576831817627,
1967
+ "learning_rate": 4.605628726934747e-06,
1968
+ "loss": 0.4547,
1969
+ "step": 280
1970
+ },
1971
+ {
1972
+ "epoch": 2.7281553398058254,
1973
+ "grad_norm": 0.6479307413101196,
1974
+ "learning_rate": 4.602883947187738e-06,
1975
+ "loss": 0.4217,
1976
+ "step": 281
1977
+ },
1978
+ {
1979
+ "epoch": 2.737864077669903,
1980
+ "grad_norm": 0.5298342704772949,
1981
+ "learning_rate": 4.600130472674017e-06,
1982
+ "loss": 0.2735,
1983
+ "step": 282
1984
+ },
1985
+ {
1986
+ "epoch": 2.7475728155339807,
1987
+ "grad_norm": 0.6714808940887451,
1988
+ "learning_rate": 4.5973683147783405e-06,
1989
+ "loss": 0.549,
1990
+ "step": 283
1991
+ },
1992
+ {
1993
+ "epoch": 2.7572815533980584,
1994
+ "grad_norm": 0.4988473951816559,
1995
+ "learning_rate": 4.594597484921365e-06,
1996
+ "loss": 0.3424,
1997
+ "step": 284
1998
+ },
1999
+ {
2000
+ "epoch": 2.766990291262136,
2001
+ "grad_norm": 0.6939184665679932,
2002
+ "learning_rate": 4.5918179945596055e-06,
2003
+ "loss": 0.3471,
2004
+ "step": 285
2005
+ },
2006
+ {
2007
+ "epoch": 2.7766990291262137,
2008
+ "grad_norm": 0.49857980012893677,
2009
+ "learning_rate": 4.589029855185384e-06,
2010
+ "loss": 0.2869,
2011
+ "step": 286
2012
+ },
2013
+ {
2014
+ "epoch": 2.7864077669902914,
2015
+ "grad_norm": 0.7681678533554077,
2016
+ "learning_rate": 4.586233078326785e-06,
2017
+ "loss": 0.6411,
2018
+ "step": 287
2019
+ },
2020
+ {
2021
+ "epoch": 2.796116504854369,
2022
+ "grad_norm": 0.6754655241966248,
2023
+ "learning_rate": 4.583427675547602e-06,
2024
+ "loss": 0.4317,
2025
+ "step": 288
2026
+ },
2027
+ {
2028
+ "epoch": 2.8058252427184467,
2029
+ "grad_norm": 0.7244645357131958,
2030
+ "learning_rate": 4.580613658447301e-06,
2031
+ "loss": 0.4869,
2032
+ "step": 289
2033
+ },
2034
+ {
2035
+ "epoch": 2.8155339805825244,
2036
+ "grad_norm": 0.5869209170341492,
2037
+ "learning_rate": 4.577791038660959e-06,
2038
+ "loss": 0.2967,
2039
+ "step": 290
2040
+ },
2041
+ {
2042
+ "epoch": 2.825242718446602,
2043
+ "grad_norm": 0.6289324164390564,
2044
+ "learning_rate": 4.574959827859226e-06,
2045
+ "loss": 0.268,
2046
+ "step": 291
2047
+ },
2048
+ {
2049
+ "epoch": 2.8349514563106797,
2050
+ "grad_norm": 0.5759575366973877,
2051
+ "learning_rate": 4.572120037748273e-06,
2052
+ "loss": 0.3052,
2053
+ "step": 292
2054
+ },
2055
+ {
2056
+ "epoch": 2.8446601941747574,
2057
+ "grad_norm": 0.6194033622741699,
2058
+ "learning_rate": 4.5692716800697415e-06,
2059
+ "loss": 0.4295,
2060
+ "step": 293
2061
+ },
2062
+ {
2063
+ "epoch": 2.854368932038835,
2064
+ "grad_norm": 0.5214007496833801,
2065
+ "learning_rate": 4.566414766600698e-06,
2066
+ "loss": 0.3377,
2067
+ "step": 294
2068
+ },
2069
+ {
2070
+ "epoch": 2.8640776699029127,
2071
+ "grad_norm": 0.5058611631393433,
2072
+ "learning_rate": 4.563549309153589e-06,
2073
+ "loss": 0.2281,
2074
+ "step": 295
2075
+ },
2076
+ {
2077
+ "epoch": 2.8737864077669903,
2078
+ "grad_norm": 0.5612390041351318,
2079
+ "learning_rate": 4.56067531957618e-06,
2080
+ "loss": 0.2293,
2081
+ "step": 296
2082
+ },
2083
+ {
2084
+ "epoch": 2.883495145631068,
2085
+ "grad_norm": 0.5222321152687073,
2086
+ "learning_rate": 4.557792809751519e-06,
2087
+ "loss": 0.3842,
2088
+ "step": 297
2089
+ },
2090
+ {
2091
+ "epoch": 2.8932038834951457,
2092
+ "grad_norm": 0.5909943580627441,
2093
+ "learning_rate": 4.554901791597883e-06,
2094
+ "loss": 0.3353,
2095
+ "step": 298
2096
+ },
2097
+ {
2098
+ "epoch": 2.9029126213592233,
2099
+ "grad_norm": 0.6016085743904114,
2100
+ "learning_rate": 4.552002277068725e-06,
2101
+ "loss": 0.341,
2102
+ "step": 299
2103
+ },
2104
+ {
2105
+ "epoch": 2.912621359223301,
2106
+ "grad_norm": 0.640730082988739,
2107
+ "learning_rate": 4.549094278152631e-06,
2108
+ "loss": 0.4173,
2109
+ "step": 300
2110
+ },
2111
+ {
2112
+ "epoch": 2.9223300970873787,
2113
+ "grad_norm": 0.6297656893730164,
2114
+ "learning_rate": 4.546177806873266e-06,
2115
+ "loss": 0.2969,
2116
+ "step": 301
2117
+ },
2118
+ {
2119
+ "epoch": 2.9320388349514563,
2120
+ "grad_norm": 0.7191891074180603,
2121
+ "learning_rate": 4.543252875289326e-06,
2122
+ "loss": 0.3705,
2123
+ "step": 302
2124
+ },
2125
+ {
2126
+ "epoch": 2.941747572815534,
2127
+ "grad_norm": 0.6503893136978149,
2128
+ "learning_rate": 4.540319495494486e-06,
2129
+ "loss": 0.4036,
2130
+ "step": 303
2131
+ },
2132
+ {
2133
+ "epoch": 2.9514563106796117,
2134
+ "grad_norm": 0.6657088994979858,
2135
+ "learning_rate": 4.537377679617353e-06,
2136
+ "loss": 0.3952,
2137
+ "step": 304
2138
+ },
2139
+ {
2140
+ "epoch": 2.9611650485436893,
2141
+ "grad_norm": 0.5238518714904785,
2142
+ "learning_rate": 4.534427439821416e-06,
2143
+ "loss": 0.2522,
2144
+ "step": 305
2145
+ },
2146
+ {
2147
+ "epoch": 2.970873786407767,
2148
+ "grad_norm": 0.6133108735084534,
2149
+ "learning_rate": 4.531468788304992e-06,
2150
+ "loss": 0.2787,
2151
+ "step": 306
2152
+ },
2153
+ {
2154
+ "epoch": 2.9805825242718447,
2155
+ "grad_norm": 0.6255090832710266,
2156
+ "learning_rate": 4.5285017373011784e-06,
2157
+ "loss": 0.301,
2158
+ "step": 307
2159
+ },
2160
+ {
2161
+ "epoch": 2.9902912621359223,
2162
+ "grad_norm": 0.4754847586154938,
2163
+ "learning_rate": 4.5255262990778024e-06,
2164
+ "loss": 0.2602,
2165
+ "step": 308
2166
+ },
2167
+ {
2168
+ "epoch": 3.0,
2169
+ "grad_norm": 0.499038428068161,
2170
+ "learning_rate": 4.522542485937369e-06,
2171
+ "loss": 0.272,
2172
+ "step": 309
2173
+ },
2174
+ {
2175
+ "epoch": 3.0097087378640777,
2176
+ "grad_norm": 0.5872356295585632,
2177
+ "learning_rate": 4.519550310217013e-06,
2178
+ "loss": 0.3217,
2179
+ "step": 310
2180
+ },
2181
+ {
2182
+ "epoch": 3.0194174757281553,
2183
+ "grad_norm": 0.5508328676223755,
2184
+ "learning_rate": 4.516549784288442e-06,
2185
+ "loss": 0.2727,
2186
+ "step": 311
2187
+ },
2188
+ {
2189
+ "epoch": 3.029126213592233,
2190
+ "grad_norm": 0.5548502802848816,
2191
+ "learning_rate": 4.513540920557892e-06,
2192
+ "loss": 0.2955,
2193
+ "step": 312
2194
+ },
2195
+ {
2196
+ "epoch": 3.0388349514563107,
2197
+ "grad_norm": 0.5459408760070801,
2198
+ "learning_rate": 4.510523731466072e-06,
2199
+ "loss": 0.4611,
2200
+ "step": 313
2201
+ },
2202
+ {
2203
+ "epoch": 3.0485436893203883,
2204
+ "grad_norm": 0.40116170048713684,
2205
+ "learning_rate": 4.507498229488116e-06,
2206
+ "loss": 0.1619,
2207
+ "step": 314
2208
+ },
2209
+ {
2210
+ "epoch": 3.058252427184466,
2211
+ "grad_norm": 0.559270977973938,
2212
+ "learning_rate": 4.504464427133527e-06,
2213
+ "loss": 0.2794,
2214
+ "step": 315
2215
+ },
2216
+ {
2217
+ "epoch": 3.0679611650485437,
2218
+ "grad_norm": 0.7351297736167908,
2219
+ "learning_rate": 4.501422336946126e-06,
2220
+ "loss": 0.3053,
2221
+ "step": 316
2222
+ },
2223
+ {
2224
+ "epoch": 3.0776699029126213,
2225
+ "grad_norm": 0.623252809047699,
2226
+ "learning_rate": 4.498371971504005e-06,
2227
+ "loss": 0.2301,
2228
+ "step": 317
2229
+ },
2230
+ {
2231
+ "epoch": 3.087378640776699,
2232
+ "grad_norm": 0.5645596385002136,
2233
+ "learning_rate": 4.49531334341947e-06,
2234
+ "loss": 0.2475,
2235
+ "step": 318
2236
+ },
2237
+ {
2238
+ "epoch": 3.0970873786407767,
2239
+ "grad_norm": 0.5398479104042053,
2240
+ "learning_rate": 4.49224646533899e-06,
2241
+ "loss": 0.3074,
2242
+ "step": 319
2243
+ },
2244
+ {
2245
+ "epoch": 3.1067961165048543,
2246
+ "grad_norm": 0.5792535543441772,
2247
+ "learning_rate": 4.489171349943144e-06,
2248
+ "loss": 0.2575,
2249
+ "step": 320
2250
+ },
2251
+ {
2252
+ "epoch": 3.116504854368932,
2253
+ "grad_norm": 0.5130180716514587,
2254
+ "learning_rate": 4.486088009946575e-06,
2255
+ "loss": 0.1722,
2256
+ "step": 321
2257
+ },
2258
+ {
2259
+ "epoch": 3.1262135922330097,
2260
+ "grad_norm": 0.6537393927574158,
2261
+ "learning_rate": 4.482996458097926e-06,
2262
+ "loss": 0.3127,
2263
+ "step": 322
2264
+ },
2265
+ {
2266
+ "epoch": 3.1359223300970873,
2267
+ "grad_norm": 0.609282910823822,
2268
+ "learning_rate": 4.479896707179796e-06,
2269
+ "loss": 0.4708,
2270
+ "step": 323
2271
+ },
2272
+ {
2273
+ "epoch": 3.145631067961165,
2274
+ "grad_norm": 0.6748102903366089,
2275
+ "learning_rate": 4.476788770008685e-06,
2276
+ "loss": 0.4804,
2277
+ "step": 324
2278
+ },
2279
+ {
2280
+ "epoch": 3.1553398058252426,
2281
+ "grad_norm": 0.6340557336807251,
2282
+ "learning_rate": 4.473672659434941e-06,
2283
+ "loss": 0.4084,
2284
+ "step": 325
2285
+ },
2286
+ {
2287
+ "epoch": 3.1650485436893203,
2288
+ "grad_norm": 0.6230309009552002,
2289
+ "learning_rate": 4.470548388342704e-06,
2290
+ "loss": 0.3335,
2291
+ "step": 326
2292
+ },
2293
+ {
2294
+ "epoch": 3.174757281553398,
2295
+ "grad_norm": 0.6684495210647583,
2296
+ "learning_rate": 4.467415969649858e-06,
2297
+ "loss": 0.2872,
2298
+ "step": 327
2299
+ },
2300
+ {
2301
+ "epoch": 3.1844660194174756,
2302
+ "grad_norm": 0.6560296416282654,
2303
+ "learning_rate": 4.464275416307973e-06,
2304
+ "loss": 0.359,
2305
+ "step": 328
2306
+ },
2307
+ {
2308
+ "epoch": 3.1941747572815533,
2309
+ "grad_norm": 0.6728345155715942,
2310
+ "learning_rate": 4.461126741302253e-06,
2311
+ "loss": 0.3189,
2312
+ "step": 329
2313
+ },
2314
+ {
2315
+ "epoch": 3.203883495145631,
2316
+ "grad_norm": 0.7458807826042175,
2317
+ "learning_rate": 4.457969957651485e-06,
2318
+ "loss": 0.2736,
2319
+ "step": 330
2320
+ },
2321
+ {
2322
+ "epoch": 3.2135922330097086,
2323
+ "grad_norm": 0.7018234133720398,
2324
+ "learning_rate": 4.454805078407979e-06,
2325
+ "loss": 0.4862,
2326
+ "step": 331
2327
+ },
2328
+ {
2329
+ "epoch": 3.2233009708737863,
2330
+ "grad_norm": 0.49450060725212097,
2331
+ "learning_rate": 4.451632116657521e-06,
2332
+ "loss": 0.2543,
2333
+ "step": 332
2334
+ },
2335
+ {
2336
+ "epoch": 3.233009708737864,
2337
+ "grad_norm": 0.48408615589141846,
2338
+ "learning_rate": 4.448451085519314e-06,
2339
+ "loss": 0.212,
2340
+ "step": 333
2341
+ },
2342
+ {
2343
+ "epoch": 3.2427184466019416,
2344
+ "grad_norm": 0.6958401203155518,
2345
+ "learning_rate": 4.445261998145927e-06,
2346
+ "loss": 0.3268,
2347
+ "step": 334
2348
+ },
2349
+ {
2350
+ "epoch": 3.2524271844660193,
2351
+ "grad_norm": 0.5003550052642822,
2352
+ "learning_rate": 4.442064867723236e-06,
2353
+ "loss": 0.2682,
2354
+ "step": 335
2355
+ },
2356
+ {
2357
+ "epoch": 3.262135922330097,
2358
+ "grad_norm": 0.5778501033782959,
2359
+ "learning_rate": 4.438859707470376e-06,
2360
+ "loss": 0.2943,
2361
+ "step": 336
2362
+ },
2363
+ {
2364
+ "epoch": 3.2718446601941746,
2365
+ "grad_norm": 0.7064384818077087,
2366
+ "learning_rate": 4.435646530639679e-06,
2367
+ "loss": 0.1909,
2368
+ "step": 337
2369
+ },
2370
+ {
2371
+ "epoch": 3.2815533980582523,
2372
+ "grad_norm": 0.7310653328895569,
2373
+ "learning_rate": 4.432425350516627e-06,
2374
+ "loss": 0.3328,
2375
+ "step": 338
2376
+ },
2377
+ {
2378
+ "epoch": 3.29126213592233,
2379
+ "grad_norm": 0.6794629693031311,
2380
+ "learning_rate": 4.42919618041979e-06,
2381
+ "loss": 0.1964,
2382
+ "step": 339
2383
+ },
2384
+ {
2385
+ "epoch": 3.3009708737864076,
2386
+ "grad_norm": 0.6210153698921204,
2387
+ "learning_rate": 4.425959033700776e-06,
2388
+ "loss": 0.1117,
2389
+ "step": 340
2390
+ },
2391
+ {
2392
+ "epoch": 3.3106796116504853,
2393
+ "grad_norm": 0.6585896015167236,
2394
+ "learning_rate": 4.422713923744174e-06,
2395
+ "loss": 0.3615,
2396
+ "step": 341
2397
+ },
2398
+ {
2399
+ "epoch": 3.320388349514563,
2400
+ "grad_norm": 0.7214643955230713,
2401
+ "learning_rate": 4.419460863967496e-06,
2402
+ "loss": 0.4092,
2403
+ "step": 342
2404
+ },
2405
+ {
2406
+ "epoch": 3.3300970873786406,
2407
+ "grad_norm": 0.5474739670753479,
2408
+ "learning_rate": 4.416199867821126e-06,
2409
+ "loss": 0.3305,
2410
+ "step": 343
2411
+ },
2412
+ {
2413
+ "epoch": 3.3398058252427183,
2414
+ "grad_norm": 0.6251519322395325,
2415
+ "learning_rate": 4.412930948788263e-06,
2416
+ "loss": 0.2833,
2417
+ "step": 344
2418
+ },
2419
+ {
2420
+ "epoch": 3.349514563106796,
2421
+ "grad_norm": 0.692952036857605,
2422
+ "learning_rate": 4.409654120384863e-06,
2423
+ "loss": 0.4526,
2424
+ "step": 345
2425
+ },
2426
+ {
2427
+ "epoch": 3.3592233009708736,
2428
+ "grad_norm": 0.5494093894958496,
2429
+ "learning_rate": 4.406369396159585e-06,
2430
+ "loss": 0.3776,
2431
+ "step": 346
2432
+ },
2433
+ {
2434
+ "epoch": 3.3689320388349513,
2435
+ "grad_norm": 0.7002531886100769,
2436
+ "learning_rate": 4.403076789693735e-06,
2437
+ "loss": 0.4925,
2438
+ "step": 347
2439
+ },
2440
+ {
2441
+ "epoch": 3.378640776699029,
2442
+ "grad_norm": 0.5736033320426941,
2443
+ "learning_rate": 4.399776314601212e-06,
2444
+ "loss": 0.2497,
2445
+ "step": 348
2446
+ },
2447
+ {
2448
+ "epoch": 3.3883495145631066,
2449
+ "grad_norm": 0.6323889493942261,
2450
+ "learning_rate": 4.396467984528445e-06,
2451
+ "loss": 0.4034,
2452
+ "step": 349
2453
+ },
2454
+ {
2455
+ "epoch": 3.3980582524271843,
2456
+ "grad_norm": 0.591261088848114,
2457
+ "learning_rate": 4.393151813154345e-06,
2458
+ "loss": 0.2422,
2459
+ "step": 350
2460
+ },
2461
+ {
2462
+ "epoch": 3.407766990291262,
2463
+ "grad_norm": 0.5683301687240601,
2464
+ "learning_rate": 4.3898278141902396e-06,
2465
+ "loss": 0.2869,
2466
+ "step": 351
2467
+ },
2468
+ {
2469
+ "epoch": 3.4174757281553396,
2470
+ "grad_norm": 0.6677878499031067,
2471
+ "learning_rate": 4.386496001379826e-06,
2472
+ "loss": 0.3871,
2473
+ "step": 352
2474
+ },
2475
+ {
2476
+ "epoch": 3.4271844660194173,
2477
+ "grad_norm": 0.8581719994544983,
2478
+ "learning_rate": 4.383156388499106e-06,
2479
+ "loss": 0.3608,
2480
+ "step": 353
2481
+ },
2482
+ {
2483
+ "epoch": 3.436893203883495,
2484
+ "grad_norm": 0.5784116387367249,
2485
+ "learning_rate": 4.3798089893563335e-06,
2486
+ "loss": 0.2391,
2487
+ "step": 354
2488
+ },
2489
+ {
2490
+ "epoch": 3.4466019417475726,
2491
+ "grad_norm": 0.6105745434761047,
2492
+ "learning_rate": 4.3764538177919555e-06,
2493
+ "loss": 0.1661,
2494
+ "step": 355
2495
+ },
2496
+ {
2497
+ "epoch": 3.4563106796116507,
2498
+ "grad_norm": 0.6270071864128113,
2499
+ "learning_rate": 4.3730908876785574e-06,
2500
+ "loss": 0.2744,
2501
+ "step": 356
2502
+ },
2503
+ {
2504
+ "epoch": 3.466019417475728,
2505
+ "grad_norm": 0.6848212480545044,
2506
+ "learning_rate": 4.3697202129208e-06,
2507
+ "loss": 0.3768,
2508
+ "step": 357
2509
+ },
2510
+ {
2511
+ "epoch": 3.475728155339806,
2512
+ "grad_norm": 0.5955895781517029,
2513
+ "learning_rate": 4.36634180745537e-06,
2514
+ "loss": 0.1898,
2515
+ "step": 358
2516
+ },
2517
+ {
2518
+ "epoch": 3.4854368932038833,
2519
+ "grad_norm": 0.5630469918251038,
2520
+ "learning_rate": 4.3629556852509145e-06,
2521
+ "loss": 0.4752,
2522
+ "step": 359
2523
+ },
2524
+ {
2525
+ "epoch": 3.4951456310679614,
2526
+ "grad_norm": 0.5288087725639343,
2527
+ "learning_rate": 4.35956186030799e-06,
2528
+ "loss": 0.2313,
2529
+ "step": 360
2530
+ },
2531
+ {
2532
+ "epoch": 3.5048543689320386,
2533
+ "grad_norm": 0.525031566619873,
2534
+ "learning_rate": 4.356160346659001e-06,
2535
+ "loss": 0.29,
2536
+ "step": 361
2537
+ },
2538
+ {
2539
+ "epoch": 3.5145631067961167,
2540
+ "grad_norm": 0.7154048681259155,
2541
+ "learning_rate": 4.3527511583681384e-06,
2542
+ "loss": 0.7446,
2543
+ "step": 362
2544
+ },
2545
+ {
2546
+ "epoch": 3.524271844660194,
2547
+ "grad_norm": 0.6375012993812561,
2548
+ "learning_rate": 4.34933430953133e-06,
2549
+ "loss": 0.3629,
2550
+ "step": 363
2551
+ },
2552
+ {
2553
+ "epoch": 3.533980582524272,
2554
+ "grad_norm": 0.7044176459312439,
2555
+ "learning_rate": 4.345909814276177e-06,
2556
+ "loss": 0.4217,
2557
+ "step": 364
2558
+ },
2559
+ {
2560
+ "epoch": 3.5436893203883493,
2561
+ "grad_norm": 0.5310605764389038,
2562
+ "learning_rate": 4.3424776867618935e-06,
2563
+ "loss": 0.3776,
2564
+ "step": 365
2565
+ },
2566
+ {
2567
+ "epoch": 3.5533980582524274,
2568
+ "grad_norm": 0.5908545851707458,
2569
+ "learning_rate": 4.339037941179253e-06,
2570
+ "loss": 0.3704,
2571
+ "step": 366
2572
+ },
2573
+ {
2574
+ "epoch": 3.5631067961165046,
2575
+ "grad_norm": 0.5712844729423523,
2576
+ "learning_rate": 4.335590591750526e-06,
2577
+ "loss": 0.2685,
2578
+ "step": 367
2579
+ },
2580
+ {
2581
+ "epoch": 3.5728155339805827,
2582
+ "grad_norm": 0.6057801842689514,
2583
+ "learning_rate": 4.332135652729423e-06,
2584
+ "loss": 0.2823,
2585
+ "step": 368
2586
+ },
2587
+ {
2588
+ "epoch": 3.58252427184466,
2589
+ "grad_norm": 0.5957722067832947,
2590
+ "learning_rate": 4.328673138401036e-06,
2591
+ "loss": 0.401,
2592
+ "step": 369
2593
+ },
2594
+ {
2595
+ "epoch": 3.592233009708738,
2596
+ "grad_norm": 0.690753698348999,
2597
+ "learning_rate": 4.325203063081776e-06,
2598
+ "loss": 0.2192,
2599
+ "step": 370
2600
+ },
2601
+ {
2602
+ "epoch": 3.6019417475728153,
2603
+ "grad_norm": 0.6514263153076172,
2604
+ "learning_rate": 4.32172544111932e-06,
2605
+ "loss": 0.2097,
2606
+ "step": 371
2607
+ },
2608
+ {
2609
+ "epoch": 3.6116504854368934,
2610
+ "grad_norm": 0.4971867799758911,
2611
+ "learning_rate": 4.318240286892544e-06,
2612
+ "loss": 0.2443,
2613
+ "step": 372
2614
+ },
2615
+ {
2616
+ "epoch": 3.6213592233009706,
2617
+ "grad_norm": 0.5361030101776123,
2618
+ "learning_rate": 4.314747614811471e-06,
2619
+ "loss": 0.2588,
2620
+ "step": 373
2621
+ },
2622
+ {
2623
+ "epoch": 3.6310679611650487,
2624
+ "grad_norm": 0.5564566850662231,
2625
+ "learning_rate": 4.3112474393172055e-06,
2626
+ "loss": 0.2143,
2627
+ "step": 374
2628
+ },
2629
+ {
2630
+ "epoch": 3.6407766990291264,
2631
+ "grad_norm": 0.5552682876586914,
2632
+ "learning_rate": 4.307739774881878e-06,
2633
+ "loss": 0.2823,
2634
+ "step": 375
2635
+ },
2636
+ {
2637
+ "epoch": 3.650485436893204,
2638
+ "grad_norm": 0.6247363686561584,
2639
+ "learning_rate": 4.304224636008582e-06,
2640
+ "loss": 0.1829,
2641
+ "step": 376
2642
+ },
2643
+ {
2644
+ "epoch": 3.6601941747572817,
2645
+ "grad_norm": 0.6173890829086304,
2646
+ "learning_rate": 4.300702037231318e-06,
2647
+ "loss": 0.413,
2648
+ "step": 377
2649
+ },
2650
+ {
2651
+ "epoch": 3.6699029126213594,
2652
+ "grad_norm": 0.642781138420105,
2653
+ "learning_rate": 4.297171993114927e-06,
2654
+ "loss": 0.145,
2655
+ "step": 378
2656
+ },
2657
+ {
2658
+ "epoch": 3.679611650485437,
2659
+ "grad_norm": 0.6031596660614014,
2660
+ "learning_rate": 4.2936345182550365e-06,
2661
+ "loss": 0.4141,
2662
+ "step": 379
2663
+ },
2664
+ {
2665
+ "epoch": 3.6893203883495147,
2666
+ "grad_norm": 0.5309922695159912,
2667
+ "learning_rate": 4.290089627277998e-06,
2668
+ "loss": 0.2209,
2669
+ "step": 380
2670
+ },
2671
+ {
2672
+ "epoch": 3.6990291262135924,
2673
+ "grad_norm": 0.5616117715835571,
2674
+ "learning_rate": 4.286537334840825e-06,
2675
+ "loss": 0.3514,
2676
+ "step": 381
2677
+ },
2678
+ {
2679
+ "epoch": 3.70873786407767,
2680
+ "grad_norm": 0.6711661219596863,
2681
+ "learning_rate": 4.2829776556311355e-06,
2682
+ "loss": 0.2756,
2683
+ "step": 382
2684
+ },
2685
+ {
2686
+ "epoch": 3.7184466019417477,
2687
+ "grad_norm": 0.9085079431533813,
2688
+ "learning_rate": 4.279410604367088e-06,
2689
+ "loss": 0.5231,
2690
+ "step": 383
2691
+ },
2692
+ {
2693
+ "epoch": 3.7281553398058254,
2694
+ "grad_norm": 0.7275105714797974,
2695
+ "learning_rate": 4.275836195797323e-06,
2696
+ "loss": 0.3773,
2697
+ "step": 384
2698
+ },
2699
+ {
2700
+ "epoch": 3.737864077669903,
2701
+ "grad_norm": 0.6976683139801025,
2702
+ "learning_rate": 4.2722544447008995e-06,
2703
+ "loss": 0.4558,
2704
+ "step": 385
2705
+ },
2706
+ {
2707
+ "epoch": 3.7475728155339807,
2708
+ "grad_norm": 0.6676245331764221,
2709
+ "learning_rate": 4.268665365887238e-06,
2710
+ "loss": 0.4503,
2711
+ "step": 386
2712
+ },
2713
+ {
2714
+ "epoch": 3.7572815533980584,
2715
+ "grad_norm": 0.46635928750038147,
2716
+ "learning_rate": 4.265068974196056e-06,
2717
+ "loss": 0.157,
2718
+ "step": 387
2719
+ },
2720
+ {
2721
+ "epoch": 3.766990291262136,
2722
+ "grad_norm": 0.5962404608726501,
2723
+ "learning_rate": 4.261465284497307e-06,
2724
+ "loss": 0.2184,
2725
+ "step": 388
2726
+ },
2727
+ {
2728
+ "epoch": 3.7766990291262137,
2729
+ "grad_norm": 0.7135609984397888,
2730
+ "learning_rate": 4.257854311691118e-06,
2731
+ "loss": 0.4233,
2732
+ "step": 389
2733
+ },
2734
+ {
2735
+ "epoch": 3.7864077669902914,
2736
+ "grad_norm": 0.48697859048843384,
2737
+ "learning_rate": 4.254236070707734e-06,
2738
+ "loss": 0.2134,
2739
+ "step": 390
2740
+ },
2741
+ {
2742
+ "epoch": 3.796116504854369,
2743
+ "grad_norm": 0.7304379940032959,
2744
+ "learning_rate": 4.250610576507445e-06,
2745
+ "loss": 0.216,
2746
+ "step": 391
2747
+ },
2748
+ {
2749
+ "epoch": 3.8058252427184467,
2750
+ "grad_norm": 0.6933459043502808,
2751
+ "learning_rate": 4.246977844080537e-06,
2752
+ "loss": 0.3859,
2753
+ "step": 392
2754
+ },
2755
+ {
2756
+ "epoch": 3.8155339805825244,
2757
+ "grad_norm": 0.6276050806045532,
2758
+ "learning_rate": 4.24333788844722e-06,
2759
+ "loss": 0.2899,
2760
+ "step": 393
2761
+ },
2762
+ {
2763
+ "epoch": 3.825242718446602,
2764
+ "grad_norm": 0.8272635340690613,
2765
+ "learning_rate": 4.239690724657571e-06,
2766
+ "loss": 0.324,
2767
+ "step": 394
2768
+ },
2769
+ {
2770
+ "epoch": 3.8349514563106797,
2771
+ "grad_norm": 0.5484209060668945,
2772
+ "learning_rate": 4.236036367791471e-06,
2773
+ "loss": 0.3267,
2774
+ "step": 395
2775
+ },
2776
+ {
2777
+ "epoch": 3.8446601941747574,
2778
+ "grad_norm": 0.672440767288208,
2779
+ "learning_rate": 4.23237483295854e-06,
2780
+ "loss": 0.4328,
2781
+ "step": 396
2782
+ },
2783
+ {
2784
+ "epoch": 3.854368932038835,
2785
+ "grad_norm": 0.6158328056335449,
2786
+ "learning_rate": 4.228706135298081e-06,
2787
+ "loss": 0.2575,
2788
+ "step": 397
2789
+ },
2790
+ {
2791
+ "epoch": 3.8640776699029127,
2792
+ "grad_norm": 0.6439457535743713,
2793
+ "learning_rate": 4.225030289979006e-06,
2794
+ "loss": 0.2095,
2795
+ "step": 398
2796
+ },
2797
+ {
2798
+ "epoch": 3.8737864077669903,
2799
+ "grad_norm": 0.5429261922836304,
2800
+ "learning_rate": 4.221347312199788e-06,
2801
+ "loss": 0.2205,
2802
+ "step": 399
2803
+ },
2804
+ {
2805
+ "epoch": 3.883495145631068,
2806
+ "grad_norm": 0.5270217061042786,
2807
+ "learning_rate": 4.2176572171883865e-06,
2808
+ "loss": 0.3106,
2809
+ "step": 400
2810
+ },
2811
+ {
2812
+ "epoch": 3.8932038834951457,
2813
+ "grad_norm": 0.5904674530029297,
2814
+ "learning_rate": 4.213960020202187e-06,
2815
+ "loss": 0.3903,
2816
+ "step": 401
2817
+ },
2818
+ {
2819
+ "epoch": 3.9029126213592233,
2820
+ "grad_norm": 0.7325130105018616,
2821
+ "learning_rate": 4.2102557365279435e-06,
2822
+ "loss": 0.5404,
2823
+ "step": 402
2824
+ },
2825
+ {
2826
+ "epoch": 3.912621359223301,
2827
+ "grad_norm": 0.6240959763526917,
2828
+ "learning_rate": 4.206544381481708e-06,
2829
+ "loss": 0.399,
2830
+ "step": 403
2831
+ },
2832
+ {
2833
+ "epoch": 3.9223300970873787,
2834
+ "grad_norm": 0.632676362991333,
2835
+ "learning_rate": 4.202825970408772e-06,
2836
+ "loss": 0.187,
2837
+ "step": 404
2838
+ },
2839
+ {
2840
+ "epoch": 3.9320388349514563,
2841
+ "grad_norm": 0.5993353128433228,
2842
+ "learning_rate": 4.199100518683601e-06,
2843
+ "loss": 0.2331,
2844
+ "step": 405
2845
+ },
2846
+ {
2847
+ "epoch": 3.941747572815534,
2848
+ "grad_norm": 0.5927851796150208,
2849
+ "learning_rate": 4.195368041709772e-06,
2850
+ "loss": 0.3959,
2851
+ "step": 406
2852
+ },
2853
+ {
2854
+ "epoch": 3.9514563106796117,
2855
+ "grad_norm": 0.494970440864563,
2856
+ "learning_rate": 4.191628554919907e-06,
2857
+ "loss": 0.2533,
2858
+ "step": 407
2859
+ },
2860
+ {
2861
+ "epoch": 3.9611650485436893,
2862
+ "grad_norm": 0.5709957480430603,
2863
+ "learning_rate": 4.187882073775615e-06,
2864
+ "loss": 0.267,
2865
+ "step": 408
2866
+ },
2867
+ {
2868
+ "epoch": 3.970873786407767,
2869
+ "grad_norm": 0.5627012848854065,
2870
+ "learning_rate": 4.184128613767422e-06,
2871
+ "loss": 0.2914,
2872
+ "step": 409
2873
+ },
2874
+ {
2875
+ "epoch": 3.9805825242718447,
2876
+ "grad_norm": 0.5530299544334412,
2877
+ "learning_rate": 4.18036819041471e-06,
2878
+ "loss": 0.3071,
2879
+ "step": 410
2880
+ },
2881
+ {
2882
+ "epoch": 3.9902912621359223,
2883
+ "grad_norm": 0.5919513702392578,
2884
+ "learning_rate": 4.17660081926565e-06,
2885
+ "loss": 0.2059,
2886
+ "step": 411
2887
+ },
2888
+ {
2889
+ "epoch": 4.0,
2890
+ "grad_norm": 0.6598716974258423,
2891
+ "learning_rate": 4.172826515897146e-06,
2892
+ "loss": 0.1953,
2893
+ "step": 412
2894
+ },
2895
+ {
2896
+ "epoch": 4.009708737864078,
2897
+ "grad_norm": 0.5695852041244507,
2898
+ "learning_rate": 4.169045295914757e-06,
2899
+ "loss": 0.3486,
2900
+ "step": 413
2901
+ },
2902
+ {
2903
+ "epoch": 4.019417475728155,
2904
+ "grad_norm": 0.5444216728210449,
2905
+ "learning_rate": 4.165257174952647e-06,
2906
+ "loss": 0.1647,
2907
+ "step": 414
2908
+ },
2909
+ {
2910
+ "epoch": 4.029126213592233,
2911
+ "grad_norm": 0.5701639652252197,
2912
+ "learning_rate": 4.161462168673508e-06,
2913
+ "loss": 0.2867,
2914
+ "step": 415
2915
+ },
2916
+ {
2917
+ "epoch": 4.038834951456311,
2918
+ "grad_norm": 0.5739265084266663,
2919
+ "learning_rate": 4.157660292768502e-06,
2920
+ "loss": 0.3941,
2921
+ "step": 416
2922
+ },
2923
+ {
2924
+ "epoch": 4.048543689320389,
2925
+ "grad_norm": 0.6720489859580994,
2926
+ "learning_rate": 4.1538515629571985e-06,
2927
+ "loss": 0.2837,
2928
+ "step": 417
2929
+ },
2930
+ {
2931
+ "epoch": 4.058252427184466,
2932
+ "grad_norm": 0.5424773097038269,
2933
+ "learning_rate": 4.1500359949875e-06,
2934
+ "loss": 0.3481,
2935
+ "step": 418
2936
+ },
2937
+ {
2938
+ "epoch": 4.067961165048544,
2939
+ "grad_norm": 0.5736377835273743,
2940
+ "learning_rate": 4.1462136046355864e-06,
2941
+ "loss": 0.2342,
2942
+ "step": 419
2943
+ },
2944
+ {
2945
+ "epoch": 4.077669902912621,
2946
+ "grad_norm": 0.5163815021514893,
2947
+ "learning_rate": 4.142384407705846e-06,
2948
+ "loss": 0.447,
2949
+ "step": 420
2950
+ },
2951
+ {
2952
+ "epoch": 4.087378640776699,
2953
+ "grad_norm": 0.5188374519348145,
2954
+ "learning_rate": 4.138548420030808e-06,
2955
+ "loss": 0.1716,
2956
+ "step": 421
2957
+ },
2958
+ {
2959
+ "epoch": 4.097087378640777,
2960
+ "grad_norm": 0.5863322019577026,
2961
+ "learning_rate": 4.13470565747108e-06,
2962
+ "loss": 0.3029,
2963
+ "step": 422
2964
+ },
2965
+ {
2966
+ "epoch": 4.106796116504855,
2967
+ "grad_norm": 0.48825642466545105,
2968
+ "learning_rate": 4.130856135915282e-06,
2969
+ "loss": 0.2099,
2970
+ "step": 423
2971
+ },
2972
+ {
2973
+ "epoch": 4.116504854368932,
2974
+ "grad_norm": 0.6416239738464355,
2975
+ "learning_rate": 4.126999871279982e-06,
2976
+ "loss": 0.2477,
2977
+ "step": 424
2978
+ },
2979
+ {
2980
+ "epoch": 4.12621359223301,
2981
+ "grad_norm": 0.5978772044181824,
2982
+ "learning_rate": 4.123136879509626e-06,
2983
+ "loss": 0.355,
2984
+ "step": 425
2985
+ },
2986
+ {
2987
+ "epoch": 4.135922330097087,
2988
+ "grad_norm": 0.5654548406600952,
2989
+ "learning_rate": 4.119267176576475e-06,
2990
+ "loss": 0.3269,
2991
+ "step": 426
2992
+ },
2993
+ {
2994
+ "epoch": 4.145631067961165,
2995
+ "grad_norm": 0.5691317319869995,
2996
+ "learning_rate": 4.11539077848054e-06,
2997
+ "loss": 0.3658,
2998
+ "step": 427
2999
+ },
3000
+ {
3001
+ "epoch": 4.155339805825243,
3002
+ "grad_norm": 0.6897786855697632,
3003
+ "learning_rate": 4.111507701249513e-06,
3004
+ "loss": 0.3918,
3005
+ "step": 428
3006
+ },
3007
+ {
3008
+ "epoch": 4.165048543689321,
3009
+ "grad_norm": 0.8434731960296631,
3010
+ "learning_rate": 4.107617960938702e-06,
3011
+ "loss": 0.149,
3012
+ "step": 429
3013
+ },
3014
+ {
3015
+ "epoch": 4.174757281553398,
3016
+ "grad_norm": 0.741525411605835,
3017
+ "learning_rate": 4.103721573630965e-06,
3018
+ "loss": 0.2738,
3019
+ "step": 430
3020
+ },
3021
+ {
3022
+ "epoch": 4.184466019417476,
3023
+ "grad_norm": 0.5480707883834839,
3024
+ "learning_rate": 4.099818555436645e-06,
3025
+ "loss": 0.2704,
3026
+ "step": 431
3027
+ },
3028
+ {
3029
+ "epoch": 4.194174757281553,
3030
+ "grad_norm": 0.9266293048858643,
3031
+ "learning_rate": 4.095908922493499e-06,
3032
+ "loss": 0.5329,
3033
+ "step": 432
3034
+ },
3035
+ {
3036
+ "epoch": 4.203883495145631,
3037
+ "grad_norm": 0.7091429829597473,
3038
+ "learning_rate": 4.091992690966636e-06,
3039
+ "loss": 0.1109,
3040
+ "step": 433
3041
+ },
3042
+ {
3043
+ "epoch": 4.213592233009709,
3044
+ "grad_norm": 0.5552862286567688,
3045
+ "learning_rate": 4.088069877048447e-06,
3046
+ "loss": 0.2407,
3047
+ "step": 434
3048
+ },
3049
+ {
3050
+ "epoch": 4.223300970873787,
3051
+ "grad_norm": 0.6244552135467529,
3052
+ "learning_rate": 4.084140496958539e-06,
3053
+ "loss": 0.2108,
3054
+ "step": 435
3055
+ },
3056
+ {
3057
+ "epoch": 4.233009708737864,
3058
+ "grad_norm": 0.7678143978118896,
3059
+ "learning_rate": 4.080204566943668e-06,
3060
+ "loss": 0.2088,
3061
+ "step": 436
3062
+ },
3063
+ {
3064
+ "epoch": 4.242718446601942,
3065
+ "grad_norm": 0.6703317165374756,
3066
+ "learning_rate": 4.076262103277673e-06,
3067
+ "loss": 0.1528,
3068
+ "step": 437
3069
+ },
3070
+ {
3071
+ "epoch": 4.252427184466019,
3072
+ "grad_norm": 0.6737928986549377,
3073
+ "learning_rate": 4.072313122261406e-06,
3074
+ "loss": 0.4616,
3075
+ "step": 438
3076
+ },
3077
+ {
3078
+ "epoch": 4.262135922330097,
3079
+ "grad_norm": 0.5564897656440735,
3080
+ "learning_rate": 4.068357640222668e-06,
3081
+ "loss": 0.1319,
3082
+ "step": 439
3083
+ },
3084
+ {
3085
+ "epoch": 4.271844660194175,
3086
+ "grad_norm": 0.51083904504776,
3087
+ "learning_rate": 4.06439567351614e-06,
3088
+ "loss": 0.1884,
3089
+ "step": 440
3090
+ },
3091
+ {
3092
+ "epoch": 4.281553398058253,
3093
+ "grad_norm": 0.5311152935028076,
3094
+ "learning_rate": 4.0604272385233105e-06,
3095
+ "loss": 0.2328,
3096
+ "step": 441
3097
+ },
3098
+ {
3099
+ "epoch": 4.29126213592233,
3100
+ "grad_norm": 0.6676695346832275,
3101
+ "learning_rate": 4.056452351652418e-06,
3102
+ "loss": 0.145,
3103
+ "step": 442
3104
+ },
3105
+ {
3106
+ "epoch": 4.300970873786408,
3107
+ "grad_norm": 0.5755549073219299,
3108
+ "learning_rate": 4.052471029338375e-06,
3109
+ "loss": 0.3041,
3110
+ "step": 443
3111
+ },
3112
+ {
3113
+ "epoch": 4.310679611650485,
3114
+ "grad_norm": 0.649605929851532,
3115
+ "learning_rate": 4.048483288042703e-06,
3116
+ "loss": 0.2018,
3117
+ "step": 444
3118
+ },
3119
+ {
3120
+ "epoch": 4.320388349514563,
3121
+ "grad_norm": 0.5598784685134888,
3122
+ "learning_rate": 4.0444891442534615e-06,
3123
+ "loss": 0.1736,
3124
+ "step": 445
3125
+ },
3126
+ {
3127
+ "epoch": 4.330097087378641,
3128
+ "grad_norm": 0.6140623092651367,
3129
+ "learning_rate": 4.040488614485187e-06,
3130
+ "loss": 0.3402,
3131
+ "step": 446
3132
+ },
3133
+ {
3134
+ "epoch": 4.339805825242719,
3135
+ "grad_norm": 0.654649019241333,
3136
+ "learning_rate": 4.036481715278818e-06,
3137
+ "loss": 0.322,
3138
+ "step": 447
3139
+ },
3140
+ {
3141
+ "epoch": 4.349514563106796,
3142
+ "grad_norm": 0.5743938684463501,
3143
+ "learning_rate": 4.032468463201626e-06,
3144
+ "loss": 0.2994,
3145
+ "step": 448
3146
+ },
3147
+ {
3148
+ "epoch": 4.359223300970874,
3149
+ "grad_norm": 0.5662089586257935,
3150
+ "learning_rate": 4.028448874847152e-06,
3151
+ "loss": 0.0994,
3152
+ "step": 449
3153
+ },
3154
+ {
3155
+ "epoch": 4.368932038834951,
3156
+ "grad_norm": 0.645409882068634,
3157
+ "learning_rate": 4.024422966835137e-06,
3158
+ "loss": 0.2807,
3159
+ "step": 450
3160
+ },
3161
+ {
3162
+ "epoch": 4.378640776699029,
3163
+ "grad_norm": 0.7538043856620789,
3164
+ "learning_rate": 4.0203907558114475e-06,
3165
+ "loss": 0.2016,
3166
+ "step": 451
3167
+ },
3168
+ {
3169
+ "epoch": 4.388349514563107,
3170
+ "grad_norm": 0.554035484790802,
3171
+ "learning_rate": 4.016352258448016e-06,
3172
+ "loss": 0.1306,
3173
+ "step": 452
3174
+ },
3175
+ {
3176
+ "epoch": 4.398058252427185,
3177
+ "grad_norm": 0.6023773550987244,
3178
+ "learning_rate": 4.0123074914427635e-06,
3179
+ "loss": 0.179,
3180
+ "step": 453
3181
+ },
3182
+ {
3183
+ "epoch": 4.407766990291262,
3184
+ "grad_norm": 0.4744186997413635,
3185
+ "learning_rate": 4.008256471519536e-06,
3186
+ "loss": 0.1312,
3187
+ "step": 454
3188
+ },
3189
+ {
3190
+ "epoch": 4.41747572815534,
3191
+ "grad_norm": 0.6246916651725769,
3192
+ "learning_rate": 4.004199215428032e-06,
3193
+ "loss": 0.279,
3194
+ "step": 455
3195
+ },
3196
+ {
3197
+ "epoch": 4.427184466019417,
3198
+ "grad_norm": 0.8718860745429993,
3199
+ "learning_rate": 4.000135739943735e-06,
3200
+ "loss": 0.4049,
3201
+ "step": 456
3202
+ },
3203
+ {
3204
+ "epoch": 4.436893203883495,
3205
+ "grad_norm": 0.5976299047470093,
3206
+ "learning_rate": 3.996066061867844e-06,
3207
+ "loss": 0.2779,
3208
+ "step": 457
3209
+ },
3210
+ {
3211
+ "epoch": 4.446601941747573,
3212
+ "grad_norm": 0.6921701431274414,
3213
+ "learning_rate": 3.991990198027203e-06,
3214
+ "loss": 0.2268,
3215
+ "step": 458
3216
+ },
3217
+ {
3218
+ "epoch": 4.456310679611651,
3219
+ "grad_norm": 0.5831341743469238,
3220
+ "learning_rate": 3.987908165274233e-06,
3221
+ "loss": 0.2781,
3222
+ "step": 459
3223
+ },
3224
+ {
3225
+ "epoch": 4.466019417475728,
3226
+ "grad_norm": 0.5739938020706177,
3227
+ "learning_rate": 3.9838199804868635e-06,
3228
+ "loss": 0.353,
3229
+ "step": 460
3230
+ },
3231
+ {
3232
+ "epoch": 4.475728155339806,
3233
+ "grad_norm": 0.6788473725318909,
3234
+ "learning_rate": 3.979725660568456e-06,
3235
+ "loss": 0.3235,
3236
+ "step": 461
3237
+ },
3238
+ {
3239
+ "epoch": 4.485436893203883,
3240
+ "grad_norm": 0.6106454133987427,
3241
+ "learning_rate": 3.975625222447742e-06,
3242
+ "loss": 0.1903,
3243
+ "step": 462
3244
+ },
3245
+ {
3246
+ "epoch": 4.495145631067961,
3247
+ "grad_norm": 0.8468668460845947,
3248
+ "learning_rate": 3.97151868307875e-06,
3249
+ "loss": 0.3609,
3250
+ "step": 463
3251
+ },
3252
+ {
3253
+ "epoch": 4.504854368932039,
3254
+ "grad_norm": 0.7000426054000854,
3255
+ "learning_rate": 3.9674060594407345e-06,
3256
+ "loss": 0.2357,
3257
+ "step": 464
3258
+ },
3259
+ {
3260
+ "epoch": 4.514563106796117,
3261
+ "grad_norm": 0.5690450072288513,
3262
+ "learning_rate": 3.963287368538105e-06,
3263
+ "loss": 0.1164,
3264
+ "step": 465
3265
+ },
3266
+ {
3267
+ "epoch": 4.524271844660194,
3268
+ "grad_norm": 0.7158642411231995,
3269
+ "learning_rate": 3.959162627400361e-06,
3270
+ "loss": 0.3587,
3271
+ "step": 466
3272
+ },
3273
+ {
3274
+ "epoch": 4.533980582524272,
3275
+ "grad_norm": 0.8226291537284851,
3276
+ "learning_rate": 3.9550318530820145e-06,
3277
+ "loss": 0.3488,
3278
+ "step": 467
3279
+ },
3280
+ {
3281
+ "epoch": 4.543689320388349,
3282
+ "grad_norm": 0.6773446202278137,
3283
+ "learning_rate": 3.9508950626625244e-06,
3284
+ "loss": 0.1872,
3285
+ "step": 468
3286
+ },
3287
+ {
3288
+ "epoch": 4.553398058252427,
3289
+ "grad_norm": 0.6974344849586487,
3290
+ "learning_rate": 3.946752273246224e-06,
3291
+ "loss": 0.3076,
3292
+ "step": 469
3293
+ },
3294
+ {
3295
+ "epoch": 4.563106796116505,
3296
+ "grad_norm": 0.7240371108055115,
3297
+ "learning_rate": 3.942603501962249e-06,
3298
+ "loss": 0.2194,
3299
+ "step": 470
3300
+ },
3301
+ {
3302
+ "epoch": 4.572815533980583,
3303
+ "grad_norm": 0.8507097363471985,
3304
+ "learning_rate": 3.9384487659644716e-06,
3305
+ "loss": 0.1283,
3306
+ "step": 471
3307
+ },
3308
+ {
3309
+ "epoch": 4.58252427184466,
3310
+ "grad_norm": 0.5208114981651306,
3311
+ "learning_rate": 3.934288082431423e-06,
3312
+ "loss": 0.2337,
3313
+ "step": 472
3314
+ },
3315
+ {
3316
+ "epoch": 4.592233009708738,
3317
+ "grad_norm": 0.659975528717041,
3318
+ "learning_rate": 3.930121468566227e-06,
3319
+ "loss": 0.343,
3320
+ "step": 473
3321
+ },
3322
+ {
3323
+ "epoch": 4.601941747572815,
3324
+ "grad_norm": 0.6047101616859436,
3325
+ "learning_rate": 3.925948941596528e-06,
3326
+ "loss": 0.2477,
3327
+ "step": 474
3328
+ },
3329
+ {
3330
+ "epoch": 4.611650485436893,
3331
+ "grad_norm": 0.591589093208313,
3332
+ "learning_rate": 3.92177051877442e-06,
3333
+ "loss": 0.1969,
3334
+ "step": 475
3335
+ },
3336
+ {
3337
+ "epoch": 4.621359223300971,
3338
+ "grad_norm": 0.5828817486763,
3339
+ "learning_rate": 3.917586217376369e-06,
3340
+ "loss": 0.2927,
3341
+ "step": 476
3342
+ },
3343
+ {
3344
+ "epoch": 4.631067961165049,
3345
+ "grad_norm": 0.5926609635353088,
3346
+ "learning_rate": 3.913396054703155e-06,
3347
+ "loss": 0.3156,
3348
+ "step": 477
3349
+ },
3350
+ {
3351
+ "epoch": 4.640776699029126,
3352
+ "grad_norm": 0.5627316832542419,
3353
+ "learning_rate": 3.909200048079786e-06,
3354
+ "loss": 0.2721,
3355
+ "step": 478
3356
+ },
3357
+ {
3358
+ "epoch": 4.650485436893204,
3359
+ "grad_norm": 0.8213399052619934,
3360
+ "learning_rate": 3.9049982148554384e-06,
3361
+ "loss": 0.4026,
3362
+ "step": 479
3363
+ },
3364
+ {
3365
+ "epoch": 4.660194174757281,
3366
+ "grad_norm": 0.6906929016113281,
3367
+ "learning_rate": 3.900790572403376e-06,
3368
+ "loss": 0.245,
3369
+ "step": 480
3370
+ },
3371
+ {
3372
+ "epoch": 4.669902912621359,
3373
+ "grad_norm": 0.6363279819488525,
3374
+ "learning_rate": 3.896577138120881e-06,
3375
+ "loss": 0.2899,
3376
+ "step": 481
3377
+ },
3378
+ {
3379
+ "epoch": 4.679611650485437,
3380
+ "grad_norm": 0.6629766821861267,
3381
+ "learning_rate": 3.892357929429187e-06,
3382
+ "loss": 0.1948,
3383
+ "step": 482
3384
+ },
3385
+ {
3386
+ "epoch": 4.689320388349515,
3387
+ "grad_norm": 0.6485582590103149,
3388
+ "learning_rate": 3.8881329637734e-06,
3389
+ "loss": 0.1518,
3390
+ "step": 483
3391
+ },
3392
+ {
3393
+ "epoch": 4.699029126213592,
3394
+ "grad_norm": 0.5513966083526611,
3395
+ "learning_rate": 3.883902258622431e-06,
3396
+ "loss": 0.2499,
3397
+ "step": 484
3398
+ },
3399
+ {
3400
+ "epoch": 4.70873786407767,
3401
+ "grad_norm": 0.8740300536155701,
3402
+ "learning_rate": 3.8796658314689205e-06,
3403
+ "loss": 0.3368,
3404
+ "step": 485
3405
+ },
3406
+ {
3407
+ "epoch": 4.718446601941747,
3408
+ "grad_norm": 0.6036941409111023,
3409
+ "learning_rate": 3.875423699829168e-06,
3410
+ "loss": 0.1315,
3411
+ "step": 486
3412
+ },
3413
+ {
3414
+ "epoch": 4.728155339805825,
3415
+ "grad_norm": 0.5299080014228821,
3416
+ "learning_rate": 3.871175881243061e-06,
3417
+ "loss": 0.202,
3418
+ "step": 487
3419
+ },
3420
+ {
3421
+ "epoch": 4.737864077669903,
3422
+ "grad_norm": 0.6407957077026367,
3423
+ "learning_rate": 3.866922393273999e-06,
3424
+ "loss": 0.3696,
3425
+ "step": 488
3426
+ },
3427
+ {
3428
+ "epoch": 4.747572815533981,
3429
+ "grad_norm": 0.5987715721130371,
3430
+ "learning_rate": 3.862663253508822e-06,
3431
+ "loss": 0.2131,
3432
+ "step": 489
3433
+ },
3434
+ {
3435
+ "epoch": 4.757281553398058,
3436
+ "grad_norm": 0.5340495109558105,
3437
+ "learning_rate": 3.858398479557739e-06,
3438
+ "loss": 0.2166,
3439
+ "step": 490
3440
+ },
3441
+ {
3442
+ "epoch": 4.766990291262136,
3443
+ "grad_norm": 0.6883168816566467,
3444
+ "learning_rate": 3.8541280890542565e-06,
3445
+ "loss": 0.2626,
3446
+ "step": 491
3447
+ },
3448
+ {
3449
+ "epoch": 4.776699029126213,
3450
+ "grad_norm": 0.9401558041572571,
3451
+ "learning_rate": 3.849852099655102e-06,
3452
+ "loss": 0.3857,
3453
+ "step": 492
3454
+ },
3455
+ {
3456
+ "epoch": 4.786407766990291,
3457
+ "grad_norm": 0.48749417066574097,
3458
+ "learning_rate": 3.845570529040151e-06,
3459
+ "loss": 0.2171,
3460
+ "step": 493
3461
+ },
3462
+ {
3463
+ "epoch": 4.796116504854369,
3464
+ "grad_norm": 0.6752912402153015,
3465
+ "learning_rate": 3.841283394912361e-06,
3466
+ "loss": 0.2269,
3467
+ "step": 494
3468
+ },
3469
+ {
3470
+ "epoch": 4.805825242718447,
3471
+ "grad_norm": 0.60317063331604,
3472
+ "learning_rate": 3.836990714997686e-06,
3473
+ "loss": 0.3227,
3474
+ "step": 495
3475
+ },
3476
+ {
3477
+ "epoch": 4.815533980582524,
3478
+ "grad_norm": 0.6304256319999695,
3479
+ "learning_rate": 3.832692507045015e-06,
3480
+ "loss": 0.332,
3481
+ "step": 496
3482
+ },
3483
+ {
3484
+ "epoch": 4.825242718446602,
3485
+ "grad_norm": 0.5268096923828125,
3486
+ "learning_rate": 3.828388788826091e-06,
3487
+ "loss": 0.3388,
3488
+ "step": 497
3489
+ },
3490
+ {
3491
+ "epoch": 4.834951456310679,
3492
+ "grad_norm": 0.6119520664215088,
3493
+ "learning_rate": 3.824079578135442e-06,
3494
+ "loss": 0.2921,
3495
+ "step": 498
3496
+ },
3497
+ {
3498
+ "epoch": 4.844660194174757,
3499
+ "grad_norm": 0.5615065097808838,
3500
+ "learning_rate": 3.819764892790307e-06,
3501
+ "loss": 0.2708,
3502
+ "step": 499
3503
+ },
3504
+ {
3505
+ "epoch": 4.854368932038835,
3506
+ "grad_norm": 0.6683458685874939,
3507
+ "learning_rate": 3.815444750630555e-06,
3508
+ "loss": 0.2755,
3509
+ "step": 500
3510
+ },
3511
+ {
3512
+ "epoch": 4.864077669902913,
3513
+ "grad_norm": 0.7224542498588562,
3514
+ "learning_rate": 3.811119169518624e-06,
3515
+ "loss": 0.4511,
3516
+ "step": 501
3517
+ },
3518
+ {
3519
+ "epoch": 4.87378640776699,
3520
+ "grad_norm": 0.7381410598754883,
3521
+ "learning_rate": 3.8067881673394363e-06,
3522
+ "loss": 0.4965,
3523
+ "step": 502
3524
+ },
3525
+ {
3526
+ "epoch": 4.883495145631068,
3527
+ "grad_norm": 0.658463716506958,
3528
+ "learning_rate": 3.802451762000331e-06,
3529
+ "loss": 0.2083,
3530
+ "step": 503
3531
+ },
3532
+ {
3533
+ "epoch": 4.893203883495145,
3534
+ "grad_norm": 0.6669811606407166,
3535
+ "learning_rate": 3.7981099714309856e-06,
3536
+ "loss": 0.1759,
3537
+ "step": 504
3538
+ },
3539
+ {
3540
+ "epoch": 4.902912621359223,
3541
+ "grad_norm": 0.7292122840881348,
3542
+ "learning_rate": 3.7937628135833453e-06,
3543
+ "loss": 0.2642,
3544
+ "step": 505
3545
+ },
3546
+ {
3547
+ "epoch": 4.9126213592233015,
3548
+ "grad_norm": 0.7087453007698059,
3549
+ "learning_rate": 3.7894103064315463e-06,
3550
+ "loss": 0.2894,
3551
+ "step": 506
3552
+ },
3553
+ {
3554
+ "epoch": 4.922330097087379,
3555
+ "grad_norm": 0.6095560789108276,
3556
+ "learning_rate": 3.7850524679718424e-06,
3557
+ "loss": 0.2117,
3558
+ "step": 507
3559
+ },
3560
+ {
3561
+ "epoch": 4.932038834951456,
3562
+ "grad_norm": 0.559994101524353,
3563
+ "learning_rate": 3.7806893162225328e-06,
3564
+ "loss": 0.2267,
3565
+ "step": 508
3566
+ },
3567
+ {
3568
+ "epoch": 4.941747572815534,
3569
+ "grad_norm": 0.5426676869392395,
3570
+ "learning_rate": 3.7763208692238818e-06,
3571
+ "loss": 0.2841,
3572
+ "step": 509
3573
+ },
3574
+ {
3575
+ "epoch": 4.951456310679612,
3576
+ "grad_norm": 0.5384762287139893,
3577
+ "learning_rate": 3.7719471450380518e-06,
3578
+ "loss": 0.1805,
3579
+ "step": 510
3580
+ },
3581
+ {
3582
+ "epoch": 4.961165048543689,
3583
+ "grad_norm": 0.5685274004936218,
3584
+ "learning_rate": 3.7675681617490212e-06,
3585
+ "loss": 0.3862,
3586
+ "step": 511
3587
+ },
3588
+ {
3589
+ "epoch": 4.970873786407767,
3590
+ "grad_norm": 0.5709934830665588,
3591
+ "learning_rate": 3.7631839374625167e-06,
3592
+ "loss": 0.3766,
3593
+ "step": 512
3594
+ },
3595
+ {
3596
+ "epoch": 4.980582524271845,
3597
+ "grad_norm": 2.084059238433838,
3598
+ "learning_rate": 3.758794490305932e-06,
3599
+ "loss": 0.2005,
3600
+ "step": 513
3601
+ },
3602
+ {
3603
+ "epoch": 4.990291262135923,
3604
+ "grad_norm": 0.6240888833999634,
3605
+ "learning_rate": 3.7543998384282565e-06,
3606
+ "loss": 0.2399,
3607
+ "step": 514
3608
+ },
3609
+ {
3610
+ "epoch": 5.0,
3611
+ "grad_norm": 0.5388016700744629,
3612
+ "learning_rate": 3.7500000000000005e-06,
3613
+ "loss": 0.3159,
3614
+ "step": 515
3615
+ }
3616
+ ],
3617
+ "logging_steps": 1,
3618
+ "max_steps": 1545,
3619
+ "num_input_tokens_seen": 0,
3620
+ "num_train_epochs": 15,
3621
+ "save_steps": 515,
3622
+ "stateful_callbacks": {
3623
+ "TrainerControl": {
3624
+ "args": {
3625
+ "should_epoch_stop": false,
3626
+ "should_evaluate": false,
3627
+ "should_log": false,
3628
+ "should_save": true,
3629
+ "should_training_stop": false
3630
+ },
3631
+ "attributes": {}
3632
+ }
3633
+ },
3634
+ "total_flos": 57374359822336.0,
3635
+ "train_batch_size": 1,
3636
+ "trial_name": null,
3637
+ "trial_params": null
3638
+ }
limo/full/checkpoint-515/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8f3c7ddc1db65b3b9f5bab5719ee9184e9c7dd18c206085551877d843e3318d8
3
+ size 7608
limo/full/checkpoint-515/zero_to_fp32.py ADDED
@@ -0,0 +1,674 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #!/usr/bin/env python
2
+
3
+ # Copyright (c) Microsoft Corporation.
4
+ # SPDX-License-Identifier: Apache-2.0
5
+
6
+ # DeepSpeed Team
7
+
8
+ # This script extracts fp32 consolidated weights from a zero 1, 2 and 3 DeepSpeed checkpoints. 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 json
25
+ from tqdm import tqdm
26
+ from collections import OrderedDict
27
+ from dataclasses import dataclass
28
+
29
+ # while this script doesn't use deepspeed to recover data, since the checkpoints are pickled with
30
+ # DeepSpeed data structures it has to be available in the current python environment.
31
+ from deepspeed.utils import logger
32
+ from deepspeed.checkpoint.constants import (DS_VERSION, OPTIMIZER_STATE_DICT, SINGLE_PARTITION_OF_FP32_GROUPS,
33
+ FP32_FLAT_GROUPS, ZERO_STAGE, PARTITION_COUNT, PARAM_SHAPES, BUFFER_NAMES,
34
+ FROZEN_PARAM_SHAPES, FROZEN_PARAM_FRAGMENTS)
35
+
36
+
37
+ @dataclass
38
+ class zero_model_state:
39
+ buffers: dict()
40
+ param_shapes: dict()
41
+ shared_params: list
42
+ ds_version: int
43
+ frozen_param_shapes: dict()
44
+ frozen_param_fragments: dict()
45
+
46
+
47
+ debug = 0
48
+
49
+ # load to cpu
50
+ device = torch.device('cpu')
51
+
52
+
53
+ def atoi(text):
54
+ return int(text) if text.isdigit() else text
55
+
56
+
57
+ def natural_keys(text):
58
+ '''
59
+ alist.sort(key=natural_keys) sorts in human order
60
+ http://nedbatchelder.com/blog/200712/human_sorting.html
61
+ (See Toothy's implementation in the comments)
62
+ '''
63
+ return [atoi(c) for c in re.split(r'(\d+)', text)]
64
+
65
+
66
+ def get_model_state_file(checkpoint_dir, zero_stage):
67
+ if not os.path.isdir(checkpoint_dir):
68
+ raise FileNotFoundError(f"Directory '{checkpoint_dir}' doesn't exist")
69
+
70
+ # there should be only one file
71
+ if zero_stage <= 2:
72
+ file = os.path.join(checkpoint_dir, "mp_rank_00_model_states.pt")
73
+ elif zero_stage == 3:
74
+ file = os.path.join(checkpoint_dir, "zero_pp_rank_0_mp_rank_00_model_states.pt")
75
+
76
+ if not os.path.exists(file):
77
+ raise FileNotFoundError(f"can't find model states file at '{file}'")
78
+
79
+ return file
80
+
81
+
82
+ def get_checkpoint_files(checkpoint_dir, glob_pattern):
83
+ # XXX: need to test that this simple glob rule works for multi-node setup too
84
+ ckpt_files = sorted(glob.glob(os.path.join(checkpoint_dir, glob_pattern)), key=natural_keys)
85
+
86
+ if len(ckpt_files) == 0:
87
+ raise FileNotFoundError(f"can't find {glob_pattern} files in directory '{checkpoint_dir}'")
88
+
89
+ return ckpt_files
90
+
91
+
92
+ def get_optim_files(checkpoint_dir):
93
+ return get_checkpoint_files(checkpoint_dir, "*_optim_states.pt")
94
+
95
+
96
+ def get_model_state_files(checkpoint_dir):
97
+ return get_checkpoint_files(checkpoint_dir, "*_model_states.pt")
98
+
99
+
100
+ def parse_model_states(files):
101
+ zero_model_states = []
102
+ for file in files:
103
+ state_dict = torch.load(file, map_location=device)
104
+
105
+ if BUFFER_NAMES not in state_dict:
106
+ raise ValueError(f"{file} is not a model state checkpoint")
107
+ buffer_names = state_dict[BUFFER_NAMES]
108
+ if debug:
109
+ print("Found buffers:", buffer_names)
110
+
111
+ # recover just the buffers while restoring them to fp32 if they were saved in fp16
112
+ buffers = {k: v.float() for k, v in state_dict["module"].items() if k in buffer_names}
113
+ param_shapes = state_dict[PARAM_SHAPES]
114
+
115
+ # collect parameters that are included in param_shapes
116
+ param_names = []
117
+ for s in param_shapes:
118
+ for name in s.keys():
119
+ param_names.append(name)
120
+
121
+ # update with frozen parameters
122
+ frozen_param_shapes = state_dict.get(FROZEN_PARAM_SHAPES, None)
123
+ if frozen_param_shapes is not None:
124
+ if debug:
125
+ print(f"Found frozen_param_shapes: {frozen_param_shapes}")
126
+ param_names += list(frozen_param_shapes.keys())
127
+
128
+ # handle shared params
129
+ shared_params = [[k, v] for k, v in state_dict["shared_params"].items()]
130
+
131
+ ds_version = state_dict.get(DS_VERSION, None)
132
+
133
+ frozen_param_fragments = state_dict.get(FROZEN_PARAM_FRAGMENTS, None)
134
+
135
+ z_model_state = zero_model_state(buffers=buffers,
136
+ param_shapes=param_shapes,
137
+ shared_params=shared_params,
138
+ ds_version=ds_version,
139
+ frozen_param_shapes=frozen_param_shapes,
140
+ frozen_param_fragments=frozen_param_fragments)
141
+ zero_model_states.append(z_model_state)
142
+
143
+ return zero_model_states
144
+
145
+
146
+ def parse_optim_states(files, ds_checkpoint_dir):
147
+ total_files = len(files)
148
+ state_dicts = []
149
+ for f in files:
150
+ state_dict = torch.load(f, map_location=device)
151
+ # immediately discard the potentially huge 2 optimizer states as we only care for fp32 master weights
152
+ # and also handle the case where it was already removed by another helper script
153
+ state_dict["optimizer_state_dict"].pop("optimizer_state_dict", None)
154
+ state_dicts.append(state_dict)
155
+
156
+ if not ZERO_STAGE in state_dicts[0][OPTIMIZER_STATE_DICT]:
157
+ raise ValueError(f"{files[0]} is not a zero checkpoint")
158
+ zero_stage = state_dicts[0][OPTIMIZER_STATE_DICT][ZERO_STAGE]
159
+ world_size = state_dicts[0][OPTIMIZER_STATE_DICT][PARTITION_COUNT]
160
+
161
+ # For ZeRO-2 each param group can have different partition_count as data parallelism for expert
162
+ # parameters can be different from data parallelism for non-expert parameters. So we can just
163
+ # use the max of the partition_count to get the dp world_size.
164
+
165
+ if type(world_size) is list:
166
+ world_size = max(world_size)
167
+
168
+ if world_size != total_files:
169
+ raise ValueError(
170
+ f"Expected {world_size} of '*_optim_states.pt' under '{ds_checkpoint_dir}' but found {total_files} files. "
171
+ "Possibly due to an overwrite of an old checkpoint, or a checkpoint didn't get saved by one or more processes."
172
+ )
173
+
174
+ # the groups are named differently in each stage
175
+ if zero_stage <= 2:
176
+ fp32_groups_key = SINGLE_PARTITION_OF_FP32_GROUPS
177
+ elif zero_stage == 3:
178
+ fp32_groups_key = FP32_FLAT_GROUPS
179
+ else:
180
+ raise ValueError(f"unknown zero stage {zero_stage}")
181
+
182
+ if zero_stage <= 2:
183
+ fp32_flat_groups = [state_dicts[i][OPTIMIZER_STATE_DICT][fp32_groups_key] for i in range(len(state_dicts))]
184
+ elif zero_stage == 3:
185
+ # if there is more than one param group, there will be multiple flattened tensors - one
186
+ # flattened tensor per group - for simplicity merge them into a single tensor
187
+ #
188
+ # XXX: could make the script more memory efficient for when there are multiple groups - it
189
+ # will require matching the sub-lists of param_shapes for each param group flattened tensor
190
+
191
+ fp32_flat_groups = [
192
+ torch.cat(state_dicts[i][OPTIMIZER_STATE_DICT][fp32_groups_key], 0) for i in range(len(state_dicts))
193
+ ]
194
+
195
+ return zero_stage, world_size, fp32_flat_groups
196
+
197
+
198
+ def _get_fp32_state_dict_from_zero_checkpoint(ds_checkpoint_dir, exclude_frozen_parameters):
199
+ """
200
+ Returns fp32 state_dict reconstructed from ds checkpoint
201
+
202
+ Args:
203
+ - ``ds_checkpoint_dir``: path to the deepspeed checkpoint folder (where the optimizer files are)
204
+
205
+ """
206
+ print(f"Processing zero checkpoint '{ds_checkpoint_dir}'")
207
+
208
+ optim_files = get_optim_files(ds_checkpoint_dir)
209
+ zero_stage, world_size, fp32_flat_groups = parse_optim_states(optim_files, ds_checkpoint_dir)
210
+ print(f"Detected checkpoint of type zero stage {zero_stage}, world_size: {world_size}")
211
+
212
+ model_files = get_model_state_files(ds_checkpoint_dir)
213
+
214
+ zero_model_states = parse_model_states(model_files)
215
+ print(f'Parsing checkpoint created by deepspeed=={zero_model_states[0].ds_version}')
216
+
217
+ if zero_stage <= 2:
218
+ return _get_fp32_state_dict_from_zero2_checkpoint(world_size, fp32_flat_groups, zero_model_states,
219
+ exclude_frozen_parameters)
220
+ elif zero_stage == 3:
221
+ return _get_fp32_state_dict_from_zero3_checkpoint(world_size, fp32_flat_groups, zero_model_states,
222
+ exclude_frozen_parameters)
223
+
224
+
225
+ def _zero2_merge_frozen_params(state_dict, zero_model_states):
226
+ if zero_model_states[0].frozen_param_shapes is None or len(zero_model_states[0].frozen_param_shapes) == 0:
227
+ return
228
+
229
+ frozen_param_shapes = zero_model_states[0].frozen_param_shapes
230
+ frozen_param_fragments = zero_model_states[0].frozen_param_fragments
231
+
232
+ if debug:
233
+ num_elem = sum(s.numel() for s in frozen_param_shapes.values())
234
+ print(f'rank 0: {FROZEN_PARAM_SHAPES}.numel = {num_elem}')
235
+
236
+ wanted_params = len(frozen_param_shapes)
237
+ wanted_numel = sum(s.numel() for s in frozen_param_shapes.values())
238
+ avail_numel = sum([p.numel() for p in frozen_param_fragments.values()])
239
+ print(f'Frozen params: Have {avail_numel} numels to process.')
240
+ print(f'Frozen params: Need {wanted_numel} numels in {wanted_params} params')
241
+
242
+ total_params = 0
243
+ total_numel = 0
244
+ for name, shape in frozen_param_shapes.items():
245
+ total_params += 1
246
+ unpartitioned_numel = shape.numel()
247
+ total_numel += unpartitioned_numel
248
+
249
+ state_dict[name] = frozen_param_fragments[name]
250
+
251
+ if debug:
252
+ print(f"{name} full shape: {shape} unpartitioned numel {unpartitioned_numel} ")
253
+
254
+ print(f"Reconstructed Frozen fp32 state dict with {total_params} params {total_numel} elements")
255
+
256
+
257
+ def _has_callable(obj, fn):
258
+ attr = getattr(obj, fn, None)
259
+ return callable(attr)
260
+
261
+
262
+ def _zero2_merge_trainable_params(state_dict, world_size, fp32_flat_groups, zero_model_states):
263
+ param_shapes = zero_model_states[0].param_shapes
264
+
265
+ # Reconstruction protocol:
266
+ #
267
+ # XXX: document this
268
+
269
+ if debug:
270
+ for i in range(world_size):
271
+ for j in range(len(fp32_flat_groups[0])):
272
+ print(f"{FP32_FLAT_GROUPS}[{i}][{j}].shape={fp32_flat_groups[i][j].shape}")
273
+
274
+ # XXX: memory usage doubles here (zero2)
275
+ num_param_groups = len(fp32_flat_groups[0])
276
+ merged_single_partition_of_fp32_groups = []
277
+ for i in range(num_param_groups):
278
+ merged_partitions = [sd[i] for sd in fp32_flat_groups]
279
+ full_single_fp32_vector = torch.cat(merged_partitions, 0)
280
+ merged_single_partition_of_fp32_groups.append(full_single_fp32_vector)
281
+ avail_numel = sum(
282
+ [full_single_fp32_vector.numel() for full_single_fp32_vector in merged_single_partition_of_fp32_groups])
283
+
284
+ if debug:
285
+ wanted_params = sum([len(shapes) for shapes in param_shapes])
286
+ wanted_numel = sum([sum(shape.numel() for shape in shapes.values()) for shapes in param_shapes])
287
+ # not asserting if there is a mismatch due to possible padding
288
+ print(f"Have {avail_numel} numels to process.")
289
+ print(f"Need {wanted_numel} numels in {wanted_params} params.")
290
+
291
+ # params
292
+ # XXX: for huge models that can't fit into the host's RAM we will have to recode this to support
293
+ # out-of-core computing solution
294
+ total_numel = 0
295
+ total_params = 0
296
+ for shapes, full_single_fp32_vector in zip(param_shapes, merged_single_partition_of_fp32_groups):
297
+ offset = 0
298
+ avail_numel = full_single_fp32_vector.numel()
299
+ for name, shape in shapes.items():
300
+
301
+ unpartitioned_numel = shape.numel() if _has_callable(shape, 'numel') else math.prod(shape)
302
+ total_numel += unpartitioned_numel
303
+ total_params += 1
304
+
305
+ if debug:
306
+ print(f"{name} full shape: {shape} unpartitioned numel {unpartitioned_numel} ")
307
+ state_dict[name] = full_single_fp32_vector.narrow(0, offset, unpartitioned_numel).view(shape)
308
+ offset += unpartitioned_numel
309
+
310
+ # Z2 started to align to 2*world_size to improve nccl performance. Therefore both offset and
311
+ # avail_numel can differ by anywhere between 0..2*world_size. Due to two unrelated complex
312
+ # paddings performed in the code it's almost impossible to predict the exact numbers w/o the
313
+ # live optimizer object, so we are checking that the numbers are within the right range
314
+ align_to = 2 * world_size
315
+
316
+ def zero2_align(x):
317
+ return align_to * math.ceil(x / align_to)
318
+
319
+ if debug:
320
+ print(f"original offset={offset}, avail_numel={avail_numel}")
321
+
322
+ offset = zero2_align(offset)
323
+ avail_numel = zero2_align(avail_numel)
324
+
325
+ if debug:
326
+ print(f"aligned offset={offset}, avail_numel={avail_numel}")
327
+
328
+ # Sanity check
329
+ if offset != avail_numel:
330
+ raise ValueError(f"consumed {offset} numels out of {avail_numel} - something is wrong")
331
+
332
+ print(f"Reconstructed fp32 state dict with {total_params} params {total_numel} elements")
333
+
334
+
335
+ def _get_fp32_state_dict_from_zero2_checkpoint(world_size, fp32_flat_groups, zero_model_states,
336
+ exclude_frozen_parameters):
337
+ state_dict = OrderedDict()
338
+
339
+ # buffers
340
+ buffers = zero_model_states[0].buffers
341
+ state_dict.update(buffers)
342
+ if debug:
343
+ print(f"added {len(buffers)} buffers")
344
+
345
+ if not exclude_frozen_parameters:
346
+ _zero2_merge_frozen_params(state_dict, zero_model_states)
347
+
348
+ _zero2_merge_trainable_params(state_dict, world_size, fp32_flat_groups, zero_model_states)
349
+
350
+ # recover shared parameters
351
+ for pair in zero_model_states[0].shared_params:
352
+ if pair[1] in state_dict:
353
+ state_dict[pair[0]] = state_dict[pair[1]]
354
+
355
+ return state_dict
356
+
357
+
358
+ def zero3_partitioned_param_info(unpartitioned_numel, world_size):
359
+ remainder = unpartitioned_numel % world_size
360
+ padding_numel = (world_size - remainder) if remainder else 0
361
+ partitioned_numel = math.ceil(unpartitioned_numel / world_size)
362
+ return partitioned_numel, padding_numel
363
+
364
+
365
+ def _zero3_merge_frozen_params(state_dict, world_size, zero_model_states):
366
+ if zero_model_states[0].frozen_param_shapes is None or len(zero_model_states[0].frozen_param_shapes) == 0:
367
+ return
368
+
369
+ if debug:
370
+ for i in range(world_size):
371
+ num_elem = sum(s.numel() for s in zero_model_states[i].frozen_param_fragments.values())
372
+ print(f'rank {i}: {FROZEN_PARAM_SHAPES}.numel = {num_elem}')
373
+
374
+ frozen_param_shapes = zero_model_states[0].frozen_param_shapes
375
+ wanted_params = len(frozen_param_shapes)
376
+ wanted_numel = sum(s.numel() for s in frozen_param_shapes.values())
377
+ avail_numel = sum([p.numel() for p in zero_model_states[0].frozen_param_fragments.values()]) * world_size
378
+ print(f'Frozen params: Have {avail_numel} numels to process.')
379
+ print(f'Frozen params: Need {wanted_numel} numels in {wanted_params} params')
380
+
381
+ total_params = 0
382
+ total_numel = 0
383
+ for name, shape in zero_model_states[0].frozen_param_shapes.items():
384
+ total_params += 1
385
+ unpartitioned_numel = shape.numel()
386
+ total_numel += unpartitioned_numel
387
+
388
+ param_frags = tuple(model_state.frozen_param_fragments[name] for model_state in zero_model_states)
389
+ state_dict[name] = torch.cat(param_frags, 0).narrow(0, 0, unpartitioned_numel).view(shape)
390
+
391
+ partitioned_numel, partitioned_padding_numel = zero3_partitioned_param_info(unpartitioned_numel, world_size)
392
+
393
+ if debug:
394
+ print(
395
+ f"Frozen params: {total_params} {name} full shape: {shape} partition0 numel={partitioned_numel} partitioned_padding_numel={partitioned_padding_numel}"
396
+ )
397
+
398
+ print(f"Reconstructed Frozen fp32 state dict with {total_params} params {total_numel} elements")
399
+
400
+
401
+ def _zero3_merge_trainable_params(state_dict, world_size, fp32_flat_groups, zero_model_states):
402
+ param_shapes = zero_model_states[0].param_shapes
403
+ avail_numel = fp32_flat_groups[0].numel() * world_size
404
+ # Reconstruction protocol: For zero3 we need to zip the partitions together at boundary of each
405
+ # param, re-consolidating each param, while dealing with padding if any
406
+
407
+ # merge list of dicts, preserving order
408
+ param_shapes = {k: v for d in param_shapes for k, v in d.items()}
409
+
410
+ if debug:
411
+ for i in range(world_size):
412
+ print(f"{FP32_FLAT_GROUPS}[{i}].shape={fp32_flat_groups[i].shape}")
413
+
414
+ wanted_params = len(param_shapes)
415
+ wanted_numel = sum(shape.numel() for shape in param_shapes.values())
416
+ # not asserting if there is a mismatch due to possible padding
417
+ avail_numel = fp32_flat_groups[0].numel() * world_size
418
+ print(f"Trainable params: Have {avail_numel} numels to process.")
419
+ print(f"Trainable params: Need {wanted_numel} numels in {wanted_params} params.")
420
+
421
+ # params
422
+ # XXX: for huge models that can't fit into the host's RAM we will have to recode this to support
423
+ # out-of-core computing solution
424
+ offset = 0
425
+ total_numel = 0
426
+ total_params = 0
427
+ for name, shape in tqdm(param_shapes.items(), desc='Gathering Sharded Weights'):
428
+ unpartitioned_numel = shape.numel()
429
+ total_numel += unpartitioned_numel
430
+ total_params += 1
431
+ partitioned_numel, partitioned_padding_numel = zero3_partitioned_param_info(unpartitioned_numel, world_size)
432
+
433
+ if debug:
434
+ print(
435
+ f"Trainable params: {total_params} {name} full shape: {shape} partition0 numel={partitioned_numel} partitioned_padding_numel={partitioned_padding_numel}"
436
+ )
437
+
438
+ # XXX: memory usage doubles here
439
+ state_dict[name] = torch.cat(
440
+ tuple(fp32_flat_groups[i].narrow(0, offset, partitioned_numel) for i in range(world_size)),
441
+ 0).narrow(0, 0, unpartitioned_numel).view(shape)
442
+ offset += partitioned_numel
443
+
444
+ offset *= world_size
445
+
446
+ # Sanity check
447
+ if offset != avail_numel:
448
+ raise ValueError(f"consumed {offset} numels out of {avail_numel} - something is wrong")
449
+
450
+ print(f"Reconstructed Trainable fp32 state dict with {total_params} params {total_numel} elements")
451
+
452
+
453
+ def _get_fp32_state_dict_from_zero3_checkpoint(world_size, fp32_flat_groups, zero_model_states,
454
+ exclude_frozen_parameters):
455
+ state_dict = OrderedDict()
456
+
457
+ # buffers
458
+ buffers = zero_model_states[0].buffers
459
+ state_dict.update(buffers)
460
+ if debug:
461
+ print(f"added {len(buffers)} buffers")
462
+
463
+ if not exclude_frozen_parameters:
464
+ _zero3_merge_frozen_params(state_dict, world_size, zero_model_states)
465
+
466
+ _zero3_merge_trainable_params(state_dict, world_size, fp32_flat_groups, zero_model_states)
467
+
468
+ # recover shared parameters
469
+ for pair in zero_model_states[0].shared_params:
470
+ if pair[1] in state_dict:
471
+ state_dict[pair[0]] = state_dict[pair[1]]
472
+
473
+ return state_dict
474
+
475
+
476
+ def get_fp32_state_dict_from_zero_checkpoint(checkpoint_dir, tag=None, exclude_frozen_parameters=False):
477
+ """
478
+ Convert ZeRO 2 or 3 checkpoint into a single fp32 consolidated state_dict that can be loaded with
479
+ ``load_state_dict()`` and used for training without DeepSpeed or shared with others, for example
480
+ via a model hub.
481
+
482
+ Args:
483
+ - ``checkpoint_dir``: path to the desired checkpoint folder
484
+ - ``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``
485
+ - ``exclude_frozen_parameters``: exclude frozen parameters
486
+
487
+ Returns:
488
+ - pytorch ``state_dict``
489
+
490
+ Note: this approach may not work if your application doesn't have sufficient free CPU memory and
491
+ you may need to use the offline approach using the ``zero_to_fp32.py`` script that is saved with
492
+ the checkpoint.
493
+
494
+ A typical usage might be ::
495
+
496
+ from deepspeed.utils.zero_to_fp32 import get_fp32_state_dict_from_zero_checkpoint
497
+ # do the training and checkpoint saving
498
+ state_dict = get_fp32_state_dict_from_zero_checkpoint(checkpoint_dir) # already on cpu
499
+ model = model.cpu() # move to cpu
500
+ model.load_state_dict(state_dict)
501
+ # submit to model hub or save the model to share with others
502
+
503
+ In this example the ``model`` will no longer be usable in the deepspeed context of the same
504
+ application. i.e. you will need to re-initialize the deepspeed engine, since
505
+ ``model.load_state_dict(state_dict)`` will remove all the deepspeed magic from it.
506
+
507
+ If you want it all done for you, use ``load_state_dict_from_zero_checkpoint`` instead.
508
+
509
+ """
510
+ if tag is None:
511
+ latest_path = os.path.join(checkpoint_dir, 'latest')
512
+ if os.path.isfile(latest_path):
513
+ with open(latest_path, 'r') as fd:
514
+ tag = fd.read().strip()
515
+ else:
516
+ raise ValueError(f"Unable to find 'latest' file at {latest_path}")
517
+
518
+ ds_checkpoint_dir = os.path.join(checkpoint_dir, tag)
519
+
520
+ if not os.path.isdir(ds_checkpoint_dir):
521
+ raise FileNotFoundError(f"Directory '{ds_checkpoint_dir}' doesn't exist")
522
+
523
+ return _get_fp32_state_dict_from_zero_checkpoint(ds_checkpoint_dir, exclude_frozen_parameters)
524
+
525
+
526
+ def convert_zero_checkpoint_to_fp32_state_dict(checkpoint_dir,
527
+ output_dir,
528
+ max_shard_size="5GB",
529
+ safe_serialization=False,
530
+ tag=None,
531
+ exclude_frozen_parameters=False):
532
+ """
533
+ Convert ZeRO 2 or 3 checkpoint into a single fp32 consolidated ``state_dict`` file that can be
534
+ loaded with ``torch.load(file)`` + ``load_state_dict()`` and used for training without DeepSpeed.
535
+
536
+ Args:
537
+ - ``checkpoint_dir``: path to the desired checkpoint folder. (one that contains the tag-folder, like ``global_step14``)
538
+ - ``output_dir``: directory to the pytorch fp32 state_dict output files
539
+ - ``max_shard_size``: the maximum size for a checkpoint before being sharded, default value is 5GB
540
+ - ``safe_serialization``: whether to save the model using `safetensors` or the traditional PyTorch way (that uses `pickle`).
541
+ - ``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``
542
+ - ``exclude_frozen_parameters``: exclude frozen parameters
543
+ """
544
+ # Dependency pre-check
545
+ if safe_serialization:
546
+ try:
547
+ from safetensors.torch import save_file
548
+ except ImportError:
549
+ print('If you want to use `safe_serialization`, please `pip install safetensors`')
550
+ raise
551
+ if max_shard_size is not None:
552
+ try:
553
+ from huggingface_hub import split_torch_state_dict_into_shards
554
+ except ImportError:
555
+ print('If you want to use `max_shard_size`, please `pip install huggingface_hub`')
556
+ raise
557
+
558
+ # Convert zero checkpoint to state_dict
559
+ state_dict = get_fp32_state_dict_from_zero_checkpoint(checkpoint_dir, tag, exclude_frozen_parameters)
560
+
561
+ # Shard the model if it is too big.
562
+ weights_name = "model.safetensors" if safe_serialization else "pytorch_model.bin"
563
+ if max_shard_size is not None:
564
+ filename_pattern = weights_name.replace(".bin", "{suffix}.bin").replace(".safetensors", "{suffix}.safetensors")
565
+ state_dict_split = split_torch_state_dict_into_shards(state_dict,
566
+ filename_pattern=filename_pattern,
567
+ max_shard_size=max_shard_size)
568
+ else:
569
+ from collections import namedtuple
570
+ StateDictSplit = namedtuple("StateDictSplit", ["is_sharded", "filename_to_tensors"])
571
+ state_dict_split = StateDictSplit(is_sharded=False,
572
+ filename_to_tensors={weights_name: list(state_dict.keys())})
573
+
574
+ # Save the model
575
+ filename_to_tensors = state_dict_split.filename_to_tensors.items()
576
+ for shard_file, tensors in tqdm(filename_to_tensors, desc="Saving checkpoint shards"):
577
+ shard = {tensor: state_dict[tensor].contiguous() for tensor in tensors}
578
+ output_path = os.path.join(output_dir, shard_file)
579
+ if safe_serialization:
580
+ save_file(shard, output_path, metadata={"format": "pt"})
581
+ else:
582
+ torch.save(shard, output_path)
583
+
584
+ # Save index if sharded
585
+ if state_dict_split.is_sharded:
586
+ index = {
587
+ "metadata": state_dict_split.metadata,
588
+ "weight_map": state_dict_split.tensor_to_filename,
589
+ }
590
+ save_index_file = "model.safetensors.index.json" if safe_serialization else "pytorch_model.bin.index.json"
591
+ save_index_file = os.path.join(output_dir, save_index_file)
592
+ with open(save_index_file, "w", encoding="utf-8") as f:
593
+ content = json.dumps(index, indent=2, sort_keys=True) + "\n"
594
+ f.write(content)
595
+
596
+
597
+ def load_state_dict_from_zero_checkpoint(model, checkpoint_dir, tag=None):
598
+ """
599
+ 1. Put the provided model to cpu
600
+ 2. Convert ZeRO 2 or 3 checkpoint into a single fp32 consolidated ``state_dict``
601
+ 3. Load it into the provided model
602
+
603
+ Args:
604
+ - ``model``: the model object to update
605
+ - ``checkpoint_dir``: path to the desired checkpoint folder. (one that contains the tag-folder, like ``global_step14``)
606
+ - ``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``
607
+
608
+ Returns:
609
+ - ``model`: modified model
610
+
611
+ Make sure you have plenty of CPU memory available before you call this function. If you don't
612
+ have enough use the ``zero_to_fp32.py`` utility to do the conversion. You will find it
613
+ conveniently placed for you in the checkpoint folder.
614
+
615
+ A typical usage might be ::
616
+
617
+ from deepspeed.utils.zero_to_fp32 import load_state_dict_from_zero_checkpoint
618
+ model = load_state_dict_from_zero_checkpoint(trainer.model, checkpoint_dir)
619
+ # submit to model hub or save the model to share with others
620
+
621
+ Note, that once this was run, the ``model`` will no longer be usable in the deepspeed context
622
+ of the same application. i.e. you will need to re-initialize the deepspeed engine, since
623
+ ``model.load_state_dict(state_dict)`` will remove all the deepspeed magic from it.
624
+
625
+ """
626
+ logger.info(f"Extracting fp32 weights")
627
+ state_dict = get_fp32_state_dict_from_zero_checkpoint(checkpoint_dir, tag)
628
+
629
+ logger.info(f"Overwriting model with fp32 weights")
630
+ model = model.cpu()
631
+ model.load_state_dict(state_dict, strict=False)
632
+
633
+ return model
634
+
635
+
636
+ if __name__ == "__main__":
637
+ parser = argparse.ArgumentParser()
638
+ parser.add_argument("checkpoint_dir",
639
+ type=str,
640
+ help="path to the desired checkpoint folder, e.g., path/checkpoint-12")
641
+ parser.add_argument("output_dir",
642
+ type=str,
643
+ help="directory to the pytorch fp32 state_dict output files"
644
+ "(e.g. path/checkpoint-12-output/)")
645
+ parser.add_argument(
646
+ "--max_shard_size",
647
+ type=str,
648
+ default="5GB",
649
+ help="The maximum size for a checkpoint before being sharded. Checkpoints shard will then be each of size"
650
+ "lower than this size. If expressed as a string, needs to be digits followed by a unit (like `5MB`"
651
+ "We default it to 5GB in order for models to be able to run easily on free-tier google colab instances"
652
+ "without CPU OOM issues.")
653
+ parser.add_argument(
654
+ "--safe_serialization",
655
+ default=False,
656
+ action='store_true',
657
+ help="Whether to save the model using `safetensors` or the traditional PyTorch way (that uses `pickle`).")
658
+ parser.add_argument("-t",
659
+ "--tag",
660
+ type=str,
661
+ default=None,
662
+ help="checkpoint tag used as a unique identifier for checkpoint. e.g., global_step1")
663
+ parser.add_argument("--exclude_frozen_parameters", action='store_true', help="exclude frozen parameters")
664
+ parser.add_argument("-d", "--debug", action='store_true', help="enable debug")
665
+ args = parser.parse_args()
666
+
667
+ debug = args.debug
668
+
669
+ convert_zero_checkpoint_to_fp32_state_dict(args.checkpoint_dir,
670
+ args.output_dir,
671
+ max_shard_size=args.max_shard_size,
672
+ safe_serialization=args.safe_serialization,
673
+ tag=args.tag,
674
+ exclude_frozen_parameters=args.exclude_frozen_parameters)