caryK commited on
Commit
7fa97c6
·
verified ·
1 Parent(s): 8170e3b

Upload folder using huggingface_hub

Browse files
This view is limited to 50 files because it contains too many changes.   See raw diff
Files changed (50) hide show
  1. .gitattributes +16 -0
  2. checkpoint/pipeline_0225/StreamingVLM_SFT_stage_1_e40_lr2e-4_ps512_pw512_20260226_131850/checkpoint-500/added_tokens.json +24 -0
  3. checkpoint/pipeline_0225/StreamingVLM_SFT_stage_1_e40_lr2e-4_ps512_pw512_20260226_131850/checkpoint-500/chat_template.jinja +7 -0
  4. checkpoint/pipeline_0225/StreamingVLM_SFT_stage_1_e40_lr2e-4_ps512_pw512_20260226_131850/checkpoint-500/global_step500/bf16_zero_pp_rank_0_mp_rank_00_optim_states.pt +3 -0
  5. checkpoint/pipeline_0225/StreamingVLM_SFT_stage_1_e40_lr2e-4_ps512_pw512_20260226_131850/checkpoint-500/global_step500/bf16_zero_pp_rank_1_mp_rank_00_optim_states.pt +3 -0
  6. checkpoint/pipeline_0225/StreamingVLM_SFT_stage_1_e40_lr2e-4_ps512_pw512_20260226_131850/checkpoint-500/global_step500/bf16_zero_pp_rank_2_mp_rank_00_optim_states.pt +3 -0
  7. checkpoint/pipeline_0225/StreamingVLM_SFT_stage_1_e40_lr2e-4_ps512_pw512_20260226_131850/checkpoint-500/global_step500/bf16_zero_pp_rank_3_mp_rank_00_optim_states.pt +3 -0
  8. checkpoint/pipeline_0225/StreamingVLM_SFT_stage_1_e40_lr2e-4_ps512_pw512_20260226_131850/checkpoint-500/global_step500/bf16_zero_pp_rank_4_mp_rank_00_optim_states.pt +3 -0
  9. checkpoint/pipeline_0225/StreamingVLM_SFT_stage_1_e40_lr2e-4_ps512_pw512_20260226_131850/checkpoint-500/global_step500/bf16_zero_pp_rank_5_mp_rank_00_optim_states.pt +3 -0
  10. checkpoint/pipeline_0225/StreamingVLM_SFT_stage_1_e40_lr2e-4_ps512_pw512_20260226_131850/checkpoint-500/global_step500/bf16_zero_pp_rank_6_mp_rank_00_optim_states.pt +3 -0
  11. checkpoint/pipeline_0225/StreamingVLM_SFT_stage_1_e40_lr2e-4_ps512_pw512_20260226_131850/checkpoint-500/global_step500/bf16_zero_pp_rank_7_mp_rank_00_optim_states.pt +3 -0
  12. checkpoint/pipeline_0225/StreamingVLM_SFT_stage_1_e40_lr2e-4_ps512_pw512_20260226_131850/checkpoint-500/global_step500/zero_pp_rank_0_mp_rank_00_model_states.pt +3 -0
  13. checkpoint/pipeline_0225/StreamingVLM_SFT_stage_1_e40_lr2e-4_ps512_pw512_20260226_131850/checkpoint-500/global_step500/zero_pp_rank_1_mp_rank_00_model_states.pt +3 -0
  14. checkpoint/pipeline_0225/StreamingVLM_SFT_stage_1_e40_lr2e-4_ps512_pw512_20260226_131850/checkpoint-500/global_step500/zero_pp_rank_2_mp_rank_00_model_states.pt +3 -0
  15. checkpoint/pipeline_0225/StreamingVLM_SFT_stage_1_e40_lr2e-4_ps512_pw512_20260226_131850/checkpoint-500/global_step500/zero_pp_rank_3_mp_rank_00_model_states.pt +3 -0
  16. checkpoint/pipeline_0225/StreamingVLM_SFT_stage_1_e40_lr2e-4_ps512_pw512_20260226_131850/checkpoint-500/global_step500/zero_pp_rank_4_mp_rank_00_model_states.pt +3 -0
  17. checkpoint/pipeline_0225/StreamingVLM_SFT_stage_1_e40_lr2e-4_ps512_pw512_20260226_131850/checkpoint-500/global_step500/zero_pp_rank_5_mp_rank_00_model_states.pt +3 -0
  18. checkpoint/pipeline_0225/StreamingVLM_SFT_stage_1_e40_lr2e-4_ps512_pw512_20260226_131850/checkpoint-500/global_step500/zero_pp_rank_6_mp_rank_00_model_states.pt +3 -0
  19. checkpoint/pipeline_0225/StreamingVLM_SFT_stage_1_e40_lr2e-4_ps512_pw512_20260226_131850/checkpoint-500/global_step500/zero_pp_rank_7_mp_rank_00_model_states.pt +3 -0
  20. checkpoint/pipeline_0225/StreamingVLM_SFT_stage_1_e40_lr2e-4_ps512_pw512_20260226_131850/checkpoint-500/latest +1 -0
  21. checkpoint/pipeline_0225/StreamingVLM_SFT_stage_1_e40_lr2e-4_ps512_pw512_20260226_131850/checkpoint-500/merges.txt +0 -0
  22. checkpoint/pipeline_0225/StreamingVLM_SFT_stage_1_e40_lr2e-4_ps512_pw512_20260226_131850/checkpoint-500/preprocessor_config.json +29 -0
  23. checkpoint/pipeline_0225/StreamingVLM_SFT_stage_1_e40_lr2e-4_ps512_pw512_20260226_131850/checkpoint-500/pytorch_model.bin +3 -0
  24. checkpoint/pipeline_0225/StreamingVLM_SFT_stage_1_e40_lr2e-4_ps512_pw512_20260226_131850/checkpoint-500/rng_state_0.pth +3 -0
  25. checkpoint/pipeline_0225/StreamingVLM_SFT_stage_1_e40_lr2e-4_ps512_pw512_20260226_131850/checkpoint-500/rng_state_1.pth +3 -0
  26. checkpoint/pipeline_0225/StreamingVLM_SFT_stage_1_e40_lr2e-4_ps512_pw512_20260226_131850/checkpoint-500/rng_state_2.pth +3 -0
  27. checkpoint/pipeline_0225/StreamingVLM_SFT_stage_1_e40_lr2e-4_ps512_pw512_20260226_131850/checkpoint-500/rng_state_3.pth +3 -0
  28. checkpoint/pipeline_0225/StreamingVLM_SFT_stage_1_e40_lr2e-4_ps512_pw512_20260226_131850/checkpoint-500/rng_state_4.pth +3 -0
  29. checkpoint/pipeline_0225/StreamingVLM_SFT_stage_1_e40_lr2e-4_ps512_pw512_20260226_131850/checkpoint-500/rng_state_5.pth +3 -0
  30. checkpoint/pipeline_0225/StreamingVLM_SFT_stage_1_e40_lr2e-4_ps512_pw512_20260226_131850/checkpoint-500/rng_state_6.pth +3 -0
  31. checkpoint/pipeline_0225/StreamingVLM_SFT_stage_1_e40_lr2e-4_ps512_pw512_20260226_131850/checkpoint-500/rng_state_7.pth +3 -0
  32. checkpoint/pipeline_0225/StreamingVLM_SFT_stage_1_e40_lr2e-4_ps512_pw512_20260226_131850/checkpoint-500/scheduler.pt +3 -0
  33. checkpoint/pipeline_0225/StreamingVLM_SFT_stage_1_e40_lr2e-4_ps512_pw512_20260226_131850/checkpoint-500/special_tokens_map.json +31 -0
  34. checkpoint/pipeline_0225/StreamingVLM_SFT_stage_1_e40_lr2e-4_ps512_pw512_20260226_131850/checkpoint-500/tokenizer.json +3 -0
  35. checkpoint/pipeline_0225/StreamingVLM_SFT_stage_1_e40_lr2e-4_ps512_pw512_20260226_131850/checkpoint-500/tokenizer_config.json +209 -0
  36. checkpoint/pipeline_0225/StreamingVLM_SFT_stage_1_e40_lr2e-4_ps512_pw512_20260226_131850/checkpoint-500/trainer_state.json +3542 -0
  37. checkpoint/pipeline_0225/StreamingVLM_SFT_stage_1_e40_lr2e-4_ps512_pw512_20260226_131850/checkpoint-500/training_args.bin +3 -0
  38. checkpoint/pipeline_0225/StreamingVLM_SFT_stage_1_e40_lr2e-4_ps512_pw512_20260226_131850/checkpoint-500/video_preprocessor_config.json +86 -0
  39. checkpoint/pipeline_0225/StreamingVLM_SFT_stage_1_e40_lr2e-4_ps512_pw512_20260226_131850/checkpoint-500/vocab.json +0 -0
  40. checkpoint/pipeline_0225/StreamingVLM_SFT_stage_1_e40_lr2e-4_ps512_pw512_20260226_131850/checkpoint-500/zero_to_fp32.py +760 -0
  41. checkpoint/pipeline_0225/StreamingVLM_SFT_stage_1_e40_lr2e-4_ps512_pw512_20260226_190228/checkpoint-1000/added_tokens.json +24 -0
  42. checkpoint/pipeline_0225/StreamingVLM_SFT_stage_1_e40_lr2e-4_ps512_pw512_20260226_190228/checkpoint-1000/chat_template.jinja +7 -0
  43. checkpoint/pipeline_0225/StreamingVLM_SFT_stage_1_e40_lr2e-4_ps512_pw512_20260226_190228/checkpoint-1000/global_step1000/bf16_zero_pp_rank_0_mp_rank_00_optim_states.pt +3 -0
  44. checkpoint/pipeline_0225/StreamingVLM_SFT_stage_1_e40_lr2e-4_ps512_pw512_20260226_190228/checkpoint-1000/global_step1000/bf16_zero_pp_rank_1_mp_rank_00_optim_states.pt +3 -0
  45. checkpoint/pipeline_0225/StreamingVLM_SFT_stage_1_e40_lr2e-4_ps512_pw512_20260226_190228/checkpoint-1000/global_step1000/bf16_zero_pp_rank_2_mp_rank_00_optim_states.pt +3 -0
  46. checkpoint/pipeline_0225/StreamingVLM_SFT_stage_1_e40_lr2e-4_ps512_pw512_20260226_190228/checkpoint-1000/global_step1000/bf16_zero_pp_rank_3_mp_rank_00_optim_states.pt +3 -0
  47. checkpoint/pipeline_0225/StreamingVLM_SFT_stage_1_e40_lr2e-4_ps512_pw512_20260226_190228/checkpoint-1000/global_step1000/bf16_zero_pp_rank_4_mp_rank_00_optim_states.pt +3 -0
  48. checkpoint/pipeline_0225/StreamingVLM_SFT_stage_1_e40_lr2e-4_ps512_pw512_20260226_190228/checkpoint-1000/global_step1000/bf16_zero_pp_rank_5_mp_rank_00_optim_states.pt +3 -0
  49. checkpoint/pipeline_0225/StreamingVLM_SFT_stage_1_e40_lr2e-4_ps512_pw512_20260226_190228/checkpoint-1000/global_step1000/bf16_zero_pp_rank_6_mp_rank_00_optim_states.pt +3 -0
  50. checkpoint/pipeline_0225/StreamingVLM_SFT_stage_1_e40_lr2e-4_ps512_pw512_20260226_190228/checkpoint-1000/global_step1000/bf16_zero_pp_rank_7_mp_rank_00_optim_states.pt +3 -0
.gitattributes CHANGED
@@ -56,3 +56,19 @@ checkpoint/vln/pipeline_0225/StreamingVLM_SFT_stage_1_e40_lr2e-4_ps512_pw512_202
56
  checkpoint/vln/pipeline_0225/StreamingVLM_SFT_stage_1_e40_lr2e-4_ps512_pw512_20260227_161003/checkpoint-4500/tokenizer.json filter=lfs diff=lfs merge=lfs -text
57
  checkpoint/vln/pipeline_0225/StreamingVLM_SFT_stage_1_e40_lr2e-4_ps512_pw512_20260228_043722/checkpoint-5000/tokenizer.json filter=lfs diff=lfs merge=lfs -text
58
  checkpoint/vln/pipeline_0225/StreamingVLM_SFT_stage_1_e40_lr2e-4_ps512_pw512_20260228_043722/checkpoint-5500/tokenizer.json filter=lfs diff=lfs merge=lfs -text
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
56
  checkpoint/vln/pipeline_0225/StreamingVLM_SFT_stage_1_e40_lr2e-4_ps512_pw512_20260227_161003/checkpoint-4500/tokenizer.json filter=lfs diff=lfs merge=lfs -text
57
  checkpoint/vln/pipeline_0225/StreamingVLM_SFT_stage_1_e40_lr2e-4_ps512_pw512_20260228_043722/checkpoint-5000/tokenizer.json filter=lfs diff=lfs merge=lfs -text
58
  checkpoint/vln/pipeline_0225/StreamingVLM_SFT_stage_1_e40_lr2e-4_ps512_pw512_20260228_043722/checkpoint-5500/tokenizer.json filter=lfs diff=lfs merge=lfs -text
59
+ checkpoint/pipeline_0225/StreamingVLM_SFT_stage_1_e40_lr2e-4_ps512_pw512_20260226_131850/checkpoint-500/tokenizer.json filter=lfs diff=lfs merge=lfs -text
60
+ checkpoint/pipeline_0225/StreamingVLM_SFT_stage_1_e40_lr2e-4_ps512_pw512_20260226_190228/checkpoint-1000/tokenizer.json filter=lfs diff=lfs merge=lfs -text
61
+ checkpoint/pipeline_0225/StreamingVLM_SFT_stage_1_e40_lr2e-4_ps512_pw512_20260226_190228/checkpoint-1500/tokenizer.json filter=lfs diff=lfs merge=lfs -text
62
+ checkpoint/pipeline_0225/StreamingVLM_SFT_stage_1_e40_lr2e-4_ps512_pw512_20260226_190228/checkpoint-2000/tokenizer.json filter=lfs diff=lfs merge=lfs -text
63
+ checkpoint/pipeline_0225/StreamingVLM_SFT_stage_1_e40_lr2e-4_ps512_pw512_20260226_190228/checkpoint-2500/tokenizer.json filter=lfs diff=lfs merge=lfs -text
64
+ checkpoint/pipeline_0225/StreamingVLM_SFT_stage_1_e40_lr2e-4_ps512_pw512_20260226_190228/checkpoint-3000/tokenizer.json filter=lfs diff=lfs merge=lfs -text
65
+ checkpoint/pipeline_0225/StreamingVLM_SFT_stage_1_e40_lr2e-4_ps512_pw512_20260226_190228/checkpoint-3500/tokenizer.json filter=lfs diff=lfs merge=lfs -text
66
+ checkpoint/pipeline_0225/StreamingVLM_SFT_stage_1_e40_lr2e-4_ps512_pw512_20260226_190228/checkpoint-4000/tokenizer.json filter=lfs diff=lfs merge=lfs -text
67
+ checkpoint/pipeline_0225/StreamingVLM_SFT_stage_1_e40_lr2e-4_ps512_pw512_20260226_190228/checkpoint-4500/tokenizer.json filter=lfs diff=lfs merge=lfs -text
68
+ checkpoint/pipeline_0225/StreamingVLM_SFT_stage_1_e40_lr2e-4_ps512_pw512_20260227_160647/checkpoint-5000/tokenizer.json filter=lfs diff=lfs merge=lfs -text
69
+ checkpoint/pipeline_0225/StreamingVLM_SFT_stage_1_e40_lr2e-4_ps512_pw512_20260227_160647/checkpoint-5500/tokenizer.json filter=lfs diff=lfs merge=lfs -text
70
+ checkpoint/pipeline_0225/StreamingVLM_SFT_stage_1_e40_lr2e-4_ps512_pw512_20260227_234733/checkpoint-6000/tokenizer.json filter=lfs diff=lfs merge=lfs -text
71
+ checkpoint/pipeline_0225/StreamingVLM_SFT_stage_1_e40_lr2e-4_ps512_pw512_20260227_234733/checkpoint-6500/tokenizer.json filter=lfs diff=lfs merge=lfs -text
72
+ checkpoint/pipeline_0225/StreamingVLM_SFT_stage_1_e40_lr2e-4_ps512_pw512_20260227_234733/checkpoint-7000/tokenizer.json filter=lfs diff=lfs merge=lfs -text
73
+ checkpoint/pipeline_0225/StreamingVLM_SFT_stage_1_e40_lr2e-4_ps512_pw512_20260228_091109/checkpoint-7500/tokenizer.json filter=lfs diff=lfs merge=lfs -text
74
+ checkpoint/pipeline_0225/StreamingVLM_SFT_stage_1_e40_lr2e-4_ps512_pw512_20260228_133506/checkpoint-8000/tokenizer.json filter=lfs diff=lfs merge=lfs -text
checkpoint/pipeline_0225/StreamingVLM_SFT_stage_1_e40_lr2e-4_ps512_pw512_20260226_131850/checkpoint-500/added_tokens.json ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "</tool_call>": 151658,
3
+ "<tool_call>": 151657,
4
+ "<|box_end|>": 151649,
5
+ "<|box_start|>": 151648,
6
+ "<|endoftext|>": 151643,
7
+ "<|file_sep|>": 151664,
8
+ "<|fim_middle|>": 151660,
9
+ "<|fim_pad|>": 151662,
10
+ "<|fim_prefix|>": 151659,
11
+ "<|fim_suffix|>": 151661,
12
+ "<|im_end|>": 151645,
13
+ "<|im_start|>": 151644,
14
+ "<|image_pad|>": 151655,
15
+ "<|object_ref_end|>": 151647,
16
+ "<|object_ref_start|>": 151646,
17
+ "<|quad_end|>": 151651,
18
+ "<|quad_start|>": 151650,
19
+ "<|repo_name|>": 151663,
20
+ "<|video_pad|>": 151656,
21
+ "<|vision_end|>": 151653,
22
+ "<|vision_pad|>": 151654,
23
+ "<|vision_start|>": 151652
24
+ }
checkpoint/pipeline_0225/StreamingVLM_SFT_stage_1_e40_lr2e-4_ps512_pw512_20260226_131850/checkpoint-500/chat_template.jinja ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {% set image_count = namespace(value=0) %}{% set video_count = namespace(value=0) %}{% for message in messages %}{% if loop.first and message['role'] != 'system' %}<|im_start|>system
2
+ You are a helpful assistant.<|im_end|>
3
+ {% endif %}<|im_start|>{{ message['role'] }}
4
+ {% if message['content'] is string %}{{ message['content'] }}<|im_end|>
5
+ {% else %}{% for content in message['content'] %}{% if content['type'] == 'image' or 'image' in content or 'image_url' in content %}{% set image_count.value = image_count.value + 1 %}{% if add_vision_id %}Picture {{ image_count.value }}: {% endif %}<|vision_start|><|image_pad|><|vision_end|>{% elif content['type'] == 'video' or 'video' in content %}{% set video_count.value = video_count.value + 1 %}{% if add_vision_id %}Video {{ video_count.value }}: {% endif %}<|vision_start|><|video_pad|><|vision_end|>{% elif 'text' in content %}{{ content['text'] }}{% endif %}{% endfor %}<|im_end|>
6
+ {% endif %}{% endfor %}{% if add_generation_prompt %}<|im_start|>assistant
7
+ {% endif %}
checkpoint/pipeline_0225/StreamingVLM_SFT_stage_1_e40_lr2e-4_ps512_pw512_20260226_131850/checkpoint-500/global_step500/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:b32932de8927c14cdc81488ab0962904039e611adaa9df244324e2f6938cfbd5
3
+ size 344223365
checkpoint/pipeline_0225/StreamingVLM_SFT_stage_1_e40_lr2e-4_ps512_pw512_20260226_131850/checkpoint-500/global_step500/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:7bc068cd9fed6aa3459bd78ad1c84b10a7704fb9c46e36a6324dbf53f76cbdaa
3
+ size 344223365
checkpoint/pipeline_0225/StreamingVLM_SFT_stage_1_e40_lr2e-4_ps512_pw512_20260226_131850/checkpoint-500/global_step500/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:5bd0782c8356c8fb1e10267ac88d4df02ef08d5a17388f845261227b9ffa8abd
3
+ size 344223365
checkpoint/pipeline_0225/StreamingVLM_SFT_stage_1_e40_lr2e-4_ps512_pw512_20260226_131850/checkpoint-500/global_step500/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:3308981b0cfaad584b661e86709b0770ceb4f19aa164e50916197adb633996ff
3
+ size 344223365
checkpoint/pipeline_0225/StreamingVLM_SFT_stage_1_e40_lr2e-4_ps512_pw512_20260226_131850/checkpoint-500/global_step500/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:9a5d15a7a33653dcb6410a06a7358a50ff710147c20d151c4687f412baf35ca7
3
+ size 344223365
checkpoint/pipeline_0225/StreamingVLM_SFT_stage_1_e40_lr2e-4_ps512_pw512_20260226_131850/checkpoint-500/global_step500/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:bd1eb6dd962c8e1a0af6c5992cb6de7a9098690f2cfc9b7e733a5a69c92cb3a8
3
+ size 344223365
checkpoint/pipeline_0225/StreamingVLM_SFT_stage_1_e40_lr2e-4_ps512_pw512_20260226_131850/checkpoint-500/global_step500/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:d1112f2895e175552e4dc362ae34bd8b255aa4869e4c34dff8ad27d6b9b72014
3
+ size 344223365
checkpoint/pipeline_0225/StreamingVLM_SFT_stage_1_e40_lr2e-4_ps512_pw512_20260226_131850/checkpoint-500/global_step500/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:1c9467e953079a33b38ee5cfe74e5397f0e266954a0c2a577ebc02fcb539e89a
3
+ size 344223365
checkpoint/pipeline_0225/StreamingVLM_SFT_stage_1_e40_lr2e-4_ps512_pw512_20260226_131850/checkpoint-500/global_step500/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:af6c3e37c6db2f23310108dbd727469e0dfc74e6918284ae072c50d91d20daa1
3
+ size 940304657
checkpoint/pipeline_0225/StreamingVLM_SFT_stage_1_e40_lr2e-4_ps512_pw512_20260226_131850/checkpoint-500/global_step500/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:0a51a412f25e7027edf8c6421dec1365f13892022704c79d4e442c1408df33dc
3
+ size 940304529
checkpoint/pipeline_0225/StreamingVLM_SFT_stage_1_e40_lr2e-4_ps512_pw512_20260226_131850/checkpoint-500/global_step500/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:c7867f6e00af0e47667894620a6167524de5fb53283d81030ab4a3299b8d511c
3
+ size 940304529
checkpoint/pipeline_0225/StreamingVLM_SFT_stage_1_e40_lr2e-4_ps512_pw512_20260226_131850/checkpoint-500/global_step500/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:106c3a0fdcd74190ee6601d52c9df5dbbc8b75d3a8cd9072111c2ad90d1dba90
3
+ size 940304529
checkpoint/pipeline_0225/StreamingVLM_SFT_stage_1_e40_lr2e-4_ps512_pw512_20260226_131850/checkpoint-500/global_step500/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:989058e08353cef0f9188495d8fb4d611b9fc83c7bf585b7d98312fbe757f7c7
3
+ size 940304529
checkpoint/pipeline_0225/StreamingVLM_SFT_stage_1_e40_lr2e-4_ps512_pw512_20260226_131850/checkpoint-500/global_step500/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:013c28b516232514e84534bbc97f004cb2c70e2ca9c6363150f80f6e6f8ebf5c
3
+ size 940304529
checkpoint/pipeline_0225/StreamingVLM_SFT_stage_1_e40_lr2e-4_ps512_pw512_20260226_131850/checkpoint-500/global_step500/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:d7720498ed794dec47cec3b9d6c4d95880502b69cbc8264769041286e911f54b
3
+ size 940304529
checkpoint/pipeline_0225/StreamingVLM_SFT_stage_1_e40_lr2e-4_ps512_pw512_20260226_131850/checkpoint-500/global_step500/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:72fa1c79ed2020f74b0faea2d048db09ba9609d0e6ee650c076b1340789a8ff0
3
+ size 940304529
checkpoint/pipeline_0225/StreamingVLM_SFT_stage_1_e40_lr2e-4_ps512_pw512_20260226_131850/checkpoint-500/latest ADDED
@@ -0,0 +1 @@
 
 
1
+ global_step500
checkpoint/pipeline_0225/StreamingVLM_SFT_stage_1_e40_lr2e-4_ps512_pw512_20260226_131850/checkpoint-500/merges.txt ADDED
The diff for this file is too large to render. See raw diff
 
checkpoint/pipeline_0225/StreamingVLM_SFT_stage_1_e40_lr2e-4_ps512_pw512_20260226_131850/checkpoint-500/preprocessor_config.json ADDED
@@ -0,0 +1,29 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "do_convert_rgb": true,
3
+ "do_normalize": true,
4
+ "do_rescale": true,
5
+ "do_resize": true,
6
+ "image_mean": [
7
+ 0.48145466,
8
+ 0.4578275,
9
+ 0.40821073
10
+ ],
11
+ "image_processor_type": "Qwen2VLImageProcessor",
12
+ "image_std": [
13
+ 0.26862954,
14
+ 0.26130258,
15
+ 0.27577711
16
+ ],
17
+ "max_pixels": 12845056,
18
+ "merge_size": 2,
19
+ "min_pixels": 3136,
20
+ "patch_size": 14,
21
+ "processor_class": "Qwen2_5_VLProcessor",
22
+ "resample": 3,
23
+ "rescale_factor": 0.00392156862745098,
24
+ "size": {
25
+ "longest_edge": 12845056,
26
+ "shortest_edge": 3136
27
+ },
28
+ "temporal_patch_size": 2
29
+ }
checkpoint/pipeline_0225/StreamingVLM_SFT_stage_1_e40_lr2e-4_ps512_pw512_20260226_131850/checkpoint-500/pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fc35f93d9fd72a4e9ea5e37ce95bfbc15a505a1c34fc8b329416d60f3f0a6a2c
3
+ size 7968858171
checkpoint/pipeline_0225/StreamingVLM_SFT_stage_1_e40_lr2e-4_ps512_pw512_20260226_131850/checkpoint-500/rng_state_0.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6534b27f9f6a92a1c33c78debd97b09677197e112a51264426e5bdf3c941ae02
3
+ size 16389
checkpoint/pipeline_0225/StreamingVLM_SFT_stage_1_e40_lr2e-4_ps512_pw512_20260226_131850/checkpoint-500/rng_state_1.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b5964090bcdfbd7bd81be11d75b7e50ccbe358b5e1948b3d1a2b0d622ac55602
3
+ size 16389
checkpoint/pipeline_0225/StreamingVLM_SFT_stage_1_e40_lr2e-4_ps512_pw512_20260226_131850/checkpoint-500/rng_state_2.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:dd764d57589936954d768de57e756633e29ffc70761c5479e06664ae7aaa8195
3
+ size 16389
checkpoint/pipeline_0225/StreamingVLM_SFT_stage_1_e40_lr2e-4_ps512_pw512_20260226_131850/checkpoint-500/rng_state_3.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6263b2417796e3e98654df07230818076ae31abfef88bed6b0eeb1f5d798389c
3
+ size 16389
checkpoint/pipeline_0225/StreamingVLM_SFT_stage_1_e40_lr2e-4_ps512_pw512_20260226_131850/checkpoint-500/rng_state_4.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:17e3e1c9d8ccc96a70e2ffa1f277757cf67f00ab388670b58ab2952d6656ff2b
3
+ size 16389
checkpoint/pipeline_0225/StreamingVLM_SFT_stage_1_e40_lr2e-4_ps512_pw512_20260226_131850/checkpoint-500/rng_state_5.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0abdf7e3397bf822a5cb49cc333782ae711c339a6f0fdc4ed5b28438f40423a8
3
+ size 16389
checkpoint/pipeline_0225/StreamingVLM_SFT_stage_1_e40_lr2e-4_ps512_pw512_20260226_131850/checkpoint-500/rng_state_6.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b7d750f9af677b6b44bbbd2b6943cd871ece263697e4aa348e7def7b05fe6640
3
+ size 16389
checkpoint/pipeline_0225/StreamingVLM_SFT_stage_1_e40_lr2e-4_ps512_pw512_20260226_131850/checkpoint-500/rng_state_7.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1c0ec9e6d32cf4a0bf99aecad877b0fc914dae47eeef120a1e2762399ab3ef32
3
+ size 16389
checkpoint/pipeline_0225/StreamingVLM_SFT_stage_1_e40_lr2e-4_ps512_pw512_20260226_131850/checkpoint-500/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a03fb5adda7d09f72a4631642ef8adfab631c21735720c45fd9fa91cc06ffc62
3
+ size 1465
checkpoint/pipeline_0225/StreamingVLM_SFT_stage_1_e40_lr2e-4_ps512_pw512_20260226_131850/checkpoint-500/special_tokens_map.json ADDED
@@ -0,0 +1,31 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "additional_special_tokens": [
3
+ "<|im_start|>",
4
+ "<|im_end|>",
5
+ "<|object_ref_start|>",
6
+ "<|object_ref_end|>",
7
+ "<|box_start|>",
8
+ "<|box_end|>",
9
+ "<|quad_start|>",
10
+ "<|quad_end|>",
11
+ "<|vision_start|>",
12
+ "<|vision_end|>",
13
+ "<|vision_pad|>",
14
+ "<|image_pad|>",
15
+ "<|video_pad|>"
16
+ ],
17
+ "eos_token": {
18
+ "content": "<|im_end|>",
19
+ "lstrip": false,
20
+ "normalized": false,
21
+ "rstrip": false,
22
+ "single_word": false
23
+ },
24
+ "pad_token": {
25
+ "content": "<|endoftext|>",
26
+ "lstrip": false,
27
+ "normalized": false,
28
+ "rstrip": false,
29
+ "single_word": false
30
+ }
31
+ }
checkpoint/pipeline_0225/StreamingVLM_SFT_stage_1_e40_lr2e-4_ps512_pw512_20260226_131850/checkpoint-500/tokenizer.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9c5ae00e602b8860cbd784ba82a8aa14e8feecec692e7076590d014d7b7fdafa
3
+ size 11421896
checkpoint/pipeline_0225/StreamingVLM_SFT_stage_1_e40_lr2e-4_ps512_pw512_20260226_131850/checkpoint-500/tokenizer_config.json ADDED
@@ -0,0 +1,209 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_bos_token": false,
3
+ "add_prefix_space": false,
4
+ "added_tokens_decoder": {
5
+ "151643": {
6
+ "content": "<|endoftext|>",
7
+ "lstrip": false,
8
+ "normalized": false,
9
+ "rstrip": false,
10
+ "single_word": false,
11
+ "special": true
12
+ },
13
+ "151644": {
14
+ "content": "<|im_start|>",
15
+ "lstrip": false,
16
+ "normalized": false,
17
+ "rstrip": false,
18
+ "single_word": false,
19
+ "special": true
20
+ },
21
+ "151645": {
22
+ "content": "<|im_end|>",
23
+ "lstrip": false,
24
+ "normalized": false,
25
+ "rstrip": false,
26
+ "single_word": false,
27
+ "special": true
28
+ },
29
+ "151646": {
30
+ "content": "<|object_ref_start|>",
31
+ "lstrip": false,
32
+ "normalized": false,
33
+ "rstrip": false,
34
+ "single_word": false,
35
+ "special": true
36
+ },
37
+ "151647": {
38
+ "content": "<|object_ref_end|>",
39
+ "lstrip": false,
40
+ "normalized": false,
41
+ "rstrip": false,
42
+ "single_word": false,
43
+ "special": true
44
+ },
45
+ "151648": {
46
+ "content": "<|box_start|>",
47
+ "lstrip": false,
48
+ "normalized": false,
49
+ "rstrip": false,
50
+ "single_word": false,
51
+ "special": true
52
+ },
53
+ "151649": {
54
+ "content": "<|box_end|>",
55
+ "lstrip": false,
56
+ "normalized": false,
57
+ "rstrip": false,
58
+ "single_word": false,
59
+ "special": true
60
+ },
61
+ "151650": {
62
+ "content": "<|quad_start|>",
63
+ "lstrip": false,
64
+ "normalized": false,
65
+ "rstrip": false,
66
+ "single_word": false,
67
+ "special": true
68
+ },
69
+ "151651": {
70
+ "content": "<|quad_end|>",
71
+ "lstrip": false,
72
+ "normalized": false,
73
+ "rstrip": false,
74
+ "single_word": false,
75
+ "special": true
76
+ },
77
+ "151652": {
78
+ "content": "<|vision_start|>",
79
+ "lstrip": false,
80
+ "normalized": false,
81
+ "rstrip": false,
82
+ "single_word": false,
83
+ "special": true
84
+ },
85
+ "151653": {
86
+ "content": "<|vision_end|>",
87
+ "lstrip": false,
88
+ "normalized": false,
89
+ "rstrip": false,
90
+ "single_word": false,
91
+ "special": true
92
+ },
93
+ "151654": {
94
+ "content": "<|vision_pad|>",
95
+ "lstrip": false,
96
+ "normalized": false,
97
+ "rstrip": false,
98
+ "single_word": false,
99
+ "special": true
100
+ },
101
+ "151655": {
102
+ "content": "<|image_pad|>",
103
+ "lstrip": false,
104
+ "normalized": false,
105
+ "rstrip": false,
106
+ "single_word": false,
107
+ "special": true
108
+ },
109
+ "151656": {
110
+ "content": "<|video_pad|>",
111
+ "lstrip": false,
112
+ "normalized": false,
113
+ "rstrip": false,
114
+ "single_word": false,
115
+ "special": true
116
+ },
117
+ "151657": {
118
+ "content": "<tool_call>",
119
+ "lstrip": false,
120
+ "normalized": false,
121
+ "rstrip": false,
122
+ "single_word": false,
123
+ "special": false
124
+ },
125
+ "151658": {
126
+ "content": "</tool_call>",
127
+ "lstrip": false,
128
+ "normalized": false,
129
+ "rstrip": false,
130
+ "single_word": false,
131
+ "special": false
132
+ },
133
+ "151659": {
134
+ "content": "<|fim_prefix|>",
135
+ "lstrip": false,
136
+ "normalized": false,
137
+ "rstrip": false,
138
+ "single_word": false,
139
+ "special": false
140
+ },
141
+ "151660": {
142
+ "content": "<|fim_middle|>",
143
+ "lstrip": false,
144
+ "normalized": false,
145
+ "rstrip": false,
146
+ "single_word": false,
147
+ "special": false
148
+ },
149
+ "151661": {
150
+ "content": "<|fim_suffix|>",
151
+ "lstrip": false,
152
+ "normalized": false,
153
+ "rstrip": false,
154
+ "single_word": false,
155
+ "special": false
156
+ },
157
+ "151662": {
158
+ "content": "<|fim_pad|>",
159
+ "lstrip": false,
160
+ "normalized": false,
161
+ "rstrip": false,
162
+ "single_word": false,
163
+ "special": false
164
+ },
165
+ "151663": {
166
+ "content": "<|repo_name|>",
167
+ "lstrip": false,
168
+ "normalized": false,
169
+ "rstrip": false,
170
+ "single_word": false,
171
+ "special": false
172
+ },
173
+ "151664": {
174
+ "content": "<|file_sep|>",
175
+ "lstrip": false,
176
+ "normalized": false,
177
+ "rstrip": false,
178
+ "single_word": false,
179
+ "special": false
180
+ }
181
+ },
182
+ "additional_special_tokens": [
183
+ "<|im_start|>",
184
+ "<|im_end|>",
185
+ "<|object_ref_start|>",
186
+ "<|object_ref_end|>",
187
+ "<|box_start|>",
188
+ "<|box_end|>",
189
+ "<|quad_start|>",
190
+ "<|quad_end|>",
191
+ "<|vision_start|>",
192
+ "<|vision_end|>",
193
+ "<|vision_pad|>",
194
+ "<|image_pad|>",
195
+ "<|video_pad|>"
196
+ ],
197
+ "bos_token": null,
198
+ "clean_up_tokenization_spaces": false,
199
+ "eos_token": "<|im_end|>",
200
+ "errors": "replace",
201
+ "extra_special_tokens": {},
202
+ "model_max_length": 131072,
203
+ "pad_token": "<|endoftext|>",
204
+ "padding_side": "left",
205
+ "processor_class": "Qwen2_5_VLProcessor",
206
+ "split_special_tokens": false,
207
+ "tokenizer_class": "Qwen2Tokenizer",
208
+ "unk_token": null
209
+ }
checkpoint/pipeline_0225/StreamingVLM_SFT_stage_1_e40_lr2e-4_ps512_pw512_20260226_131850/checkpoint-500/trainer_state.json ADDED
@@ -0,0 +1,3542 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_global_step": 500,
3
+ "best_metric": 0.11392344534397125,
4
+ "best_model_checkpoint": "/mnt/dolphinfs/ssd_pool/docker/user/hadoop-aipnlp/EVA/yangheqing/workspace/Streaming-UAV/checkpoint/pipeline_0225/StreamingVLM_SFT_stage_1_e40_lr2e-4_ps512_pw512_20260226_131850/checkpoint-500",
5
+ "epoch": 1.5625,
6
+ "eval_steps": 500,
7
+ "global_step": 500,
8
+ "is_hyper_param_search": false,
9
+ "is_local_process_zero": true,
10
+ "is_world_process_zero": true,
11
+ "log_history": [
12
+ {
13
+ "epoch": 0.003125,
14
+ "grad_norm": 25.967828613892614,
15
+ "learning_rate": 0.0,
16
+ "loss": 6.5586,
17
+ "step": 1
18
+ },
19
+ {
20
+ "epoch": 0.00625,
21
+ "grad_norm": 25.27369746937231,
22
+ "learning_rate": 5.208333333333334e-07,
23
+ "loss": 6.5314,
24
+ "step": 2
25
+ },
26
+ {
27
+ "epoch": 0.009375,
28
+ "grad_norm": 25.95039198787132,
29
+ "learning_rate": 1.0416666666666667e-06,
30
+ "loss": 6.5288,
31
+ "step": 3
32
+ },
33
+ {
34
+ "epoch": 0.0125,
35
+ "grad_norm": 25.986133150119834,
36
+ "learning_rate": 1.5625e-06,
37
+ "loss": 6.5212,
38
+ "step": 4
39
+ },
40
+ {
41
+ "epoch": 0.015625,
42
+ "grad_norm": 25.35735654276883,
43
+ "learning_rate": 2.0833333333333334e-06,
44
+ "loss": 6.5212,
45
+ "step": 5
46
+ },
47
+ {
48
+ "epoch": 0.01875,
49
+ "grad_norm": 25.940538420900417,
50
+ "learning_rate": 2.604166666666667e-06,
51
+ "loss": 6.5215,
52
+ "step": 6
53
+ },
54
+ {
55
+ "epoch": 0.021875,
56
+ "grad_norm": 24.463599851871844,
57
+ "learning_rate": 3.125e-06,
58
+ "loss": 6.355,
59
+ "step": 7
60
+ },
61
+ {
62
+ "epoch": 0.025,
63
+ "grad_norm": 24.678097351395774,
64
+ "learning_rate": 3.6458333333333337e-06,
65
+ "loss": 6.3536,
66
+ "step": 8
67
+ },
68
+ {
69
+ "epoch": 0.028125,
70
+ "grad_norm": 23.289714124306812,
71
+ "learning_rate": 4.166666666666667e-06,
72
+ "loss": 6.2804,
73
+ "step": 9
74
+ },
75
+ {
76
+ "epoch": 0.03125,
77
+ "grad_norm": 18.124421370186344,
78
+ "learning_rate": 4.6875000000000004e-06,
79
+ "loss": 5.9191,
80
+ "step": 10
81
+ },
82
+ {
83
+ "epoch": 0.034375,
84
+ "grad_norm": 16.525693598489248,
85
+ "learning_rate": 5.208333333333334e-06,
86
+ "loss": 5.7543,
87
+ "step": 11
88
+ },
89
+ {
90
+ "epoch": 0.0375,
91
+ "grad_norm": 16.042242903864597,
92
+ "learning_rate": 5.729166666666667e-06,
93
+ "loss": 5.7337,
94
+ "step": 12
95
+ },
96
+ {
97
+ "epoch": 0.040625,
98
+ "grad_norm": 3.1780981319773716,
99
+ "learning_rate": 6.25e-06,
100
+ "loss": 5.3001,
101
+ "step": 13
102
+ },
103
+ {
104
+ "epoch": 0.04375,
105
+ "grad_norm": 3.2593658887720296,
106
+ "learning_rate": 6.770833333333333e-06,
107
+ "loss": 5.2489,
108
+ "step": 14
109
+ },
110
+ {
111
+ "epoch": 0.046875,
112
+ "grad_norm": 3.1954466175424807,
113
+ "learning_rate": 7.2916666666666674e-06,
114
+ "loss": 5.1933,
115
+ "step": 15
116
+ },
117
+ {
118
+ "epoch": 0.05,
119
+ "grad_norm": 4.090039756235578,
120
+ "learning_rate": 7.8125e-06,
121
+ "loss": 5.1982,
122
+ "step": 16
123
+ },
124
+ {
125
+ "epoch": 0.053125,
126
+ "grad_norm": 5.140187486881889,
127
+ "learning_rate": 8.333333333333334e-06,
128
+ "loss": 5.0604,
129
+ "step": 17
130
+ },
131
+ {
132
+ "epoch": 0.05625,
133
+ "grad_norm": 9.443764678804124,
134
+ "learning_rate": 8.854166666666667e-06,
135
+ "loss": 5.09,
136
+ "step": 18
137
+ },
138
+ {
139
+ "epoch": 0.059375,
140
+ "grad_norm": 5.574995913524894,
141
+ "learning_rate": 9.375000000000001e-06,
142
+ "loss": 5.0904,
143
+ "step": 19
144
+ },
145
+ {
146
+ "epoch": 0.0625,
147
+ "grad_norm": 4.121387571654496,
148
+ "learning_rate": 9.895833333333333e-06,
149
+ "loss": 4.9674,
150
+ "step": 20
151
+ },
152
+ {
153
+ "epoch": 0.065625,
154
+ "grad_norm": 4.823284029584046,
155
+ "learning_rate": 1.0416666666666668e-05,
156
+ "loss": 4.9051,
157
+ "step": 21
158
+ },
159
+ {
160
+ "epoch": 0.06875,
161
+ "grad_norm": 6.388610275286726,
162
+ "learning_rate": 1.09375e-05,
163
+ "loss": 4.8703,
164
+ "step": 22
165
+ },
166
+ {
167
+ "epoch": 0.071875,
168
+ "grad_norm": 6.854783102694158,
169
+ "learning_rate": 1.1458333333333333e-05,
170
+ "loss": 4.7715,
171
+ "step": 23
172
+ },
173
+ {
174
+ "epoch": 0.075,
175
+ "grad_norm": 6.197655397763414,
176
+ "learning_rate": 1.1979166666666667e-05,
177
+ "loss": 4.6821,
178
+ "step": 24
179
+ },
180
+ {
181
+ "epoch": 0.078125,
182
+ "grad_norm": 5.606416900952863,
183
+ "learning_rate": 1.25e-05,
184
+ "loss": 4.5755,
185
+ "step": 25
186
+ },
187
+ {
188
+ "epoch": 0.08125,
189
+ "grad_norm": 6.236956340270923,
190
+ "learning_rate": 1.3020833333333334e-05,
191
+ "loss": 4.3759,
192
+ "step": 26
193
+ },
194
+ {
195
+ "epoch": 0.084375,
196
+ "grad_norm": 6.197108972062877,
197
+ "learning_rate": 1.3541666666666666e-05,
198
+ "loss": 4.2675,
199
+ "step": 27
200
+ },
201
+ {
202
+ "epoch": 0.0875,
203
+ "grad_norm": 6.78633313102827,
204
+ "learning_rate": 1.4062500000000001e-05,
205
+ "loss": 4.0308,
206
+ "step": 28
207
+ },
208
+ {
209
+ "epoch": 0.090625,
210
+ "grad_norm": 7.686330442727373,
211
+ "learning_rate": 1.4583333333333335e-05,
212
+ "loss": 3.9698,
213
+ "step": 29
214
+ },
215
+ {
216
+ "epoch": 0.09375,
217
+ "grad_norm": 9.386600193133901,
218
+ "learning_rate": 1.5104166666666667e-05,
219
+ "loss": 3.8336,
220
+ "step": 30
221
+ },
222
+ {
223
+ "epoch": 0.096875,
224
+ "grad_norm": 6.488756092595361,
225
+ "learning_rate": 1.5625e-05,
226
+ "loss": 3.6063,
227
+ "step": 31
228
+ },
229
+ {
230
+ "epoch": 0.1,
231
+ "grad_norm": 10.0362265096323,
232
+ "learning_rate": 1.6145833333333334e-05,
233
+ "loss": 3.5027,
234
+ "step": 32
235
+ },
236
+ {
237
+ "epoch": 0.103125,
238
+ "grad_norm": 15.647466852814294,
239
+ "learning_rate": 1.6666666666666667e-05,
240
+ "loss": 3.4859,
241
+ "step": 33
242
+ },
243
+ {
244
+ "epoch": 0.10625,
245
+ "grad_norm": 11.855991684102108,
246
+ "learning_rate": 1.71875e-05,
247
+ "loss": 3.4019,
248
+ "step": 34
249
+ },
250
+ {
251
+ "epoch": 0.109375,
252
+ "grad_norm": 12.699059012381074,
253
+ "learning_rate": 1.7708333333333335e-05,
254
+ "loss": 3.309,
255
+ "step": 35
256
+ },
257
+ {
258
+ "epoch": 0.1125,
259
+ "grad_norm": 13.896904162434533,
260
+ "learning_rate": 1.8229166666666668e-05,
261
+ "loss": 3.3102,
262
+ "step": 36
263
+ },
264
+ {
265
+ "epoch": 0.115625,
266
+ "grad_norm": 11.951083780214015,
267
+ "learning_rate": 1.8750000000000002e-05,
268
+ "loss": 3.2363,
269
+ "step": 37
270
+ },
271
+ {
272
+ "epoch": 0.11875,
273
+ "grad_norm": 11.10545801119009,
274
+ "learning_rate": 1.9270833333333335e-05,
275
+ "loss": 3.1295,
276
+ "step": 38
277
+ },
278
+ {
279
+ "epoch": 0.121875,
280
+ "grad_norm": 16.79721364934682,
281
+ "learning_rate": 1.9791666666666665e-05,
282
+ "loss": 3.0404,
283
+ "step": 39
284
+ },
285
+ {
286
+ "epoch": 0.125,
287
+ "grad_norm": 12.149686062939905,
288
+ "learning_rate": 2.0312500000000002e-05,
289
+ "loss": 2.9296,
290
+ "step": 40
291
+ },
292
+ {
293
+ "epoch": 0.128125,
294
+ "grad_norm": 10.118283626422649,
295
+ "learning_rate": 2.0833333333333336e-05,
296
+ "loss": 3.0206,
297
+ "step": 41
298
+ },
299
+ {
300
+ "epoch": 0.13125,
301
+ "grad_norm": 10.328621847701617,
302
+ "learning_rate": 2.1354166666666666e-05,
303
+ "loss": 3.2333,
304
+ "step": 42
305
+ },
306
+ {
307
+ "epoch": 0.134375,
308
+ "grad_norm": 16.479079765607736,
309
+ "learning_rate": 2.1875e-05,
310
+ "loss": 3.0211,
311
+ "step": 43
312
+ },
313
+ {
314
+ "epoch": 0.1375,
315
+ "grad_norm": 8.92052911030536,
316
+ "learning_rate": 2.2395833333333337e-05,
317
+ "loss": 2.8675,
318
+ "step": 44
319
+ },
320
+ {
321
+ "epoch": 0.140625,
322
+ "grad_norm": 9.413102969331767,
323
+ "learning_rate": 2.2916666666666667e-05,
324
+ "loss": 2.9005,
325
+ "step": 45
326
+ },
327
+ {
328
+ "epoch": 0.14375,
329
+ "grad_norm": 6.115916371403105,
330
+ "learning_rate": 2.34375e-05,
331
+ "loss": 2.6911,
332
+ "step": 46
333
+ },
334
+ {
335
+ "epoch": 0.146875,
336
+ "grad_norm": 13.816870107125734,
337
+ "learning_rate": 2.3958333333333334e-05,
338
+ "loss": 2.7078,
339
+ "step": 47
340
+ },
341
+ {
342
+ "epoch": 0.15,
343
+ "grad_norm": 7.562557833546146,
344
+ "learning_rate": 2.4479166666666668e-05,
345
+ "loss": 2.6333,
346
+ "step": 48
347
+ },
348
+ {
349
+ "epoch": 0.153125,
350
+ "grad_norm": 12.713068145664923,
351
+ "learning_rate": 2.5e-05,
352
+ "loss": 2.748,
353
+ "step": 49
354
+ },
355
+ {
356
+ "epoch": 0.15625,
357
+ "grad_norm": 12.926801333868049,
358
+ "learning_rate": 2.552083333333333e-05,
359
+ "loss": 2.5928,
360
+ "step": 50
361
+ },
362
+ {
363
+ "epoch": 0.159375,
364
+ "grad_norm": 15.342784916259383,
365
+ "learning_rate": 2.604166666666667e-05,
366
+ "loss": 2.7113,
367
+ "step": 51
368
+ },
369
+ {
370
+ "epoch": 0.1625,
371
+ "grad_norm": 11.90439963783374,
372
+ "learning_rate": 2.6562500000000002e-05,
373
+ "loss": 2.5776,
374
+ "step": 52
375
+ },
376
+ {
377
+ "epoch": 0.165625,
378
+ "grad_norm": 9.381560076123646,
379
+ "learning_rate": 2.7083333333333332e-05,
380
+ "loss": 2.4661,
381
+ "step": 53
382
+ },
383
+ {
384
+ "epoch": 0.16875,
385
+ "grad_norm": 14.841223460677213,
386
+ "learning_rate": 2.760416666666667e-05,
387
+ "loss": 2.3863,
388
+ "step": 54
389
+ },
390
+ {
391
+ "epoch": 0.171875,
392
+ "grad_norm": 9.76874980773837,
393
+ "learning_rate": 2.8125000000000003e-05,
394
+ "loss": 2.2455,
395
+ "step": 55
396
+ },
397
+ {
398
+ "epoch": 0.175,
399
+ "grad_norm": 13.147569869091708,
400
+ "learning_rate": 2.8645833333333333e-05,
401
+ "loss": 2.2638,
402
+ "step": 56
403
+ },
404
+ {
405
+ "epoch": 0.178125,
406
+ "grad_norm": 10.469007478544903,
407
+ "learning_rate": 2.916666666666667e-05,
408
+ "loss": 2.1291,
409
+ "step": 57
410
+ },
411
+ {
412
+ "epoch": 0.18125,
413
+ "grad_norm": 13.373774314984846,
414
+ "learning_rate": 2.96875e-05,
415
+ "loss": 2.2404,
416
+ "step": 58
417
+ },
418
+ {
419
+ "epoch": 0.184375,
420
+ "grad_norm": 12.113179340675496,
421
+ "learning_rate": 3.0208333333333334e-05,
422
+ "loss": 2.065,
423
+ "step": 59
424
+ },
425
+ {
426
+ "epoch": 0.1875,
427
+ "grad_norm": 10.485190352155438,
428
+ "learning_rate": 3.072916666666667e-05,
429
+ "loss": 2.0951,
430
+ "step": 60
431
+ },
432
+ {
433
+ "epoch": 0.190625,
434
+ "grad_norm": 8.341343325946616,
435
+ "learning_rate": 3.125e-05,
436
+ "loss": 2.022,
437
+ "step": 61
438
+ },
439
+ {
440
+ "epoch": 0.19375,
441
+ "grad_norm": 12.387319066452953,
442
+ "learning_rate": 3.177083333333333e-05,
443
+ "loss": 2.0098,
444
+ "step": 62
445
+ },
446
+ {
447
+ "epoch": 0.196875,
448
+ "grad_norm": 10.540581708049434,
449
+ "learning_rate": 3.229166666666667e-05,
450
+ "loss": 1.9363,
451
+ "step": 63
452
+ },
453
+ {
454
+ "epoch": 0.2,
455
+ "grad_norm": 10.812810655996522,
456
+ "learning_rate": 3.2812500000000005e-05,
457
+ "loss": 1.8725,
458
+ "step": 64
459
+ },
460
+ {
461
+ "epoch": 0.203125,
462
+ "grad_norm": 9.484416715223766,
463
+ "learning_rate": 3.3333333333333335e-05,
464
+ "loss": 1.9178,
465
+ "step": 65
466
+ },
467
+ {
468
+ "epoch": 0.20625,
469
+ "grad_norm": 10.790181395136832,
470
+ "learning_rate": 3.385416666666667e-05,
471
+ "loss": 1.8782,
472
+ "step": 66
473
+ },
474
+ {
475
+ "epoch": 0.209375,
476
+ "grad_norm": 10.235575961475147,
477
+ "learning_rate": 3.4375e-05,
478
+ "loss": 1.876,
479
+ "step": 67
480
+ },
481
+ {
482
+ "epoch": 0.2125,
483
+ "grad_norm": 6.271805190921046,
484
+ "learning_rate": 3.489583333333333e-05,
485
+ "loss": 1.7577,
486
+ "step": 68
487
+ },
488
+ {
489
+ "epoch": 0.215625,
490
+ "grad_norm": 9.316287124115359,
491
+ "learning_rate": 3.541666666666667e-05,
492
+ "loss": 1.7794,
493
+ "step": 69
494
+ },
495
+ {
496
+ "epoch": 0.21875,
497
+ "grad_norm": 6.281571641162089,
498
+ "learning_rate": 3.59375e-05,
499
+ "loss": 1.7455,
500
+ "step": 70
501
+ },
502
+ {
503
+ "epoch": 0.221875,
504
+ "grad_norm": 9.05622087806547,
505
+ "learning_rate": 3.6458333333333336e-05,
506
+ "loss": 1.8924,
507
+ "step": 71
508
+ },
509
+ {
510
+ "epoch": 0.225,
511
+ "grad_norm": 5.776852355314147,
512
+ "learning_rate": 3.697916666666667e-05,
513
+ "loss": 1.7291,
514
+ "step": 72
515
+ },
516
+ {
517
+ "epoch": 0.228125,
518
+ "grad_norm": 11.682603554859547,
519
+ "learning_rate": 3.7500000000000003e-05,
520
+ "loss": 1.7906,
521
+ "step": 73
522
+ },
523
+ {
524
+ "epoch": 0.23125,
525
+ "grad_norm": 12.163996053395278,
526
+ "learning_rate": 3.8020833333333334e-05,
527
+ "loss": 1.7172,
528
+ "step": 74
529
+ },
530
+ {
531
+ "epoch": 0.234375,
532
+ "grad_norm": 6.560030873936021,
533
+ "learning_rate": 3.854166666666667e-05,
534
+ "loss": 1.617,
535
+ "step": 75
536
+ },
537
+ {
538
+ "epoch": 0.2375,
539
+ "grad_norm": 14.58298052284849,
540
+ "learning_rate": 3.90625e-05,
541
+ "loss": 1.6862,
542
+ "step": 76
543
+ },
544
+ {
545
+ "epoch": 0.240625,
546
+ "grad_norm": 9.78098581901162,
547
+ "learning_rate": 3.958333333333333e-05,
548
+ "loss": 1.671,
549
+ "step": 77
550
+ },
551
+ {
552
+ "epoch": 0.24375,
553
+ "grad_norm": 10.706052734180874,
554
+ "learning_rate": 4.010416666666667e-05,
555
+ "loss": 1.6405,
556
+ "step": 78
557
+ },
558
+ {
559
+ "epoch": 0.246875,
560
+ "grad_norm": 11.379102278294289,
561
+ "learning_rate": 4.0625000000000005e-05,
562
+ "loss": 1.6451,
563
+ "step": 79
564
+ },
565
+ {
566
+ "epoch": 0.25,
567
+ "grad_norm": 7.221638254380996,
568
+ "learning_rate": 4.1145833333333335e-05,
569
+ "loss": 1.6891,
570
+ "step": 80
571
+ },
572
+ {
573
+ "epoch": 0.253125,
574
+ "grad_norm": 22.808201903647433,
575
+ "learning_rate": 4.166666666666667e-05,
576
+ "loss": 1.7122,
577
+ "step": 81
578
+ },
579
+ {
580
+ "epoch": 0.25625,
581
+ "grad_norm": 18.639216075641873,
582
+ "learning_rate": 4.21875e-05,
583
+ "loss": 1.8257,
584
+ "step": 82
585
+ },
586
+ {
587
+ "epoch": 0.259375,
588
+ "grad_norm": 10.72731520702505,
589
+ "learning_rate": 4.270833333333333e-05,
590
+ "loss": 1.5362,
591
+ "step": 83
592
+ },
593
+ {
594
+ "epoch": 0.2625,
595
+ "grad_norm": 15.545323971414044,
596
+ "learning_rate": 4.322916666666667e-05,
597
+ "loss": 1.6213,
598
+ "step": 84
599
+ },
600
+ {
601
+ "epoch": 0.265625,
602
+ "grad_norm": 11.065955184771042,
603
+ "learning_rate": 4.375e-05,
604
+ "loss": 1.5553,
605
+ "step": 85
606
+ },
607
+ {
608
+ "epoch": 0.26875,
609
+ "grad_norm": 11.20654869730552,
610
+ "learning_rate": 4.4270833333333337e-05,
611
+ "loss": 1.5246,
612
+ "step": 86
613
+ },
614
+ {
615
+ "epoch": 0.271875,
616
+ "grad_norm": 11.932483781648322,
617
+ "learning_rate": 4.4791666666666673e-05,
618
+ "loss": 1.5369,
619
+ "step": 87
620
+ },
621
+ {
622
+ "epoch": 0.275,
623
+ "grad_norm": 11.752405651566585,
624
+ "learning_rate": 4.5312500000000004e-05,
625
+ "loss": 1.6348,
626
+ "step": 88
627
+ },
628
+ {
629
+ "epoch": 0.278125,
630
+ "grad_norm": 11.711495480244865,
631
+ "learning_rate": 4.5833333333333334e-05,
632
+ "loss": 1.5125,
633
+ "step": 89
634
+ },
635
+ {
636
+ "epoch": 0.28125,
637
+ "grad_norm": 8.922074770695046,
638
+ "learning_rate": 4.635416666666667e-05,
639
+ "loss": 1.4361,
640
+ "step": 90
641
+ },
642
+ {
643
+ "epoch": 0.284375,
644
+ "grad_norm": 10.220098410430548,
645
+ "learning_rate": 4.6875e-05,
646
+ "loss": 1.4668,
647
+ "step": 91
648
+ },
649
+ {
650
+ "epoch": 0.2875,
651
+ "grad_norm": 8.746695342588895,
652
+ "learning_rate": 4.739583333333333e-05,
653
+ "loss": 1.4902,
654
+ "step": 92
655
+ },
656
+ {
657
+ "epoch": 0.290625,
658
+ "grad_norm": 12.109046065683124,
659
+ "learning_rate": 4.791666666666667e-05,
660
+ "loss": 1.3935,
661
+ "step": 93
662
+ },
663
+ {
664
+ "epoch": 0.29375,
665
+ "grad_norm": 10.592432360976927,
666
+ "learning_rate": 4.8437500000000005e-05,
667
+ "loss": 1.4936,
668
+ "step": 94
669
+ },
670
+ {
671
+ "epoch": 0.296875,
672
+ "grad_norm": 13.401347502550934,
673
+ "learning_rate": 4.8958333333333335e-05,
674
+ "loss": 1.4997,
675
+ "step": 95
676
+ },
677
+ {
678
+ "epoch": 0.3,
679
+ "grad_norm": 13.708865595809112,
680
+ "learning_rate": 4.947916666666667e-05,
681
+ "loss": 1.4163,
682
+ "step": 96
683
+ },
684
+ {
685
+ "epoch": 0.303125,
686
+ "grad_norm": 8.119460814837431,
687
+ "learning_rate": 5e-05,
688
+ "loss": 1.3589,
689
+ "step": 97
690
+ },
691
+ {
692
+ "epoch": 0.30625,
693
+ "grad_norm": 16.933039368228076,
694
+ "learning_rate": 5.052083333333334e-05,
695
+ "loss": 1.4299,
696
+ "step": 98
697
+ },
698
+ {
699
+ "epoch": 0.309375,
700
+ "grad_norm": 13.150613444325701,
701
+ "learning_rate": 5.104166666666666e-05,
702
+ "loss": 1.3481,
703
+ "step": 99
704
+ },
705
+ {
706
+ "epoch": 0.3125,
707
+ "grad_norm": 8.912850450078942,
708
+ "learning_rate": 5.15625e-05,
709
+ "loss": 1.362,
710
+ "step": 100
711
+ },
712
+ {
713
+ "epoch": 0.315625,
714
+ "grad_norm": 13.127269697799717,
715
+ "learning_rate": 5.208333333333334e-05,
716
+ "loss": 1.2415,
717
+ "step": 101
718
+ },
719
+ {
720
+ "epoch": 0.31875,
721
+ "grad_norm": 6.1349553392940726,
722
+ "learning_rate": 5.260416666666667e-05,
723
+ "loss": 1.2637,
724
+ "step": 102
725
+ },
726
+ {
727
+ "epoch": 0.321875,
728
+ "grad_norm": 23.625786709924544,
729
+ "learning_rate": 5.3125000000000004e-05,
730
+ "loss": 1.6585,
731
+ "step": 103
732
+ },
733
+ {
734
+ "epoch": 0.325,
735
+ "grad_norm": 24.150218381183,
736
+ "learning_rate": 5.364583333333334e-05,
737
+ "loss": 1.4994,
738
+ "step": 104
739
+ },
740
+ {
741
+ "epoch": 0.328125,
742
+ "grad_norm": 9.573494256152,
743
+ "learning_rate": 5.4166666666666664e-05,
744
+ "loss": 1.2312,
745
+ "step": 105
746
+ },
747
+ {
748
+ "epoch": 0.33125,
749
+ "grad_norm": 18.32248401936274,
750
+ "learning_rate": 5.46875e-05,
751
+ "loss": 1.4261,
752
+ "step": 106
753
+ },
754
+ {
755
+ "epoch": 0.334375,
756
+ "grad_norm": 22.759858471699914,
757
+ "learning_rate": 5.520833333333334e-05,
758
+ "loss": 1.5693,
759
+ "step": 107
760
+ },
761
+ {
762
+ "epoch": 0.3375,
763
+ "grad_norm": 14.325787209593175,
764
+ "learning_rate": 5.572916666666667e-05,
765
+ "loss": 1.3204,
766
+ "step": 108
767
+ },
768
+ {
769
+ "epoch": 0.340625,
770
+ "grad_norm": 9.161111873027071,
771
+ "learning_rate": 5.6250000000000005e-05,
772
+ "loss": 1.2344,
773
+ "step": 109
774
+ },
775
+ {
776
+ "epoch": 0.34375,
777
+ "grad_norm": 16.54378026170953,
778
+ "learning_rate": 5.677083333333334e-05,
779
+ "loss": 1.3876,
780
+ "step": 110
781
+ },
782
+ {
783
+ "epoch": 0.346875,
784
+ "grad_norm": 14.660224214393118,
785
+ "learning_rate": 5.7291666666666666e-05,
786
+ "loss": 1.3828,
787
+ "step": 111
788
+ },
789
+ {
790
+ "epoch": 0.35,
791
+ "grad_norm": 4.746224404487515,
792
+ "learning_rate": 5.78125e-05,
793
+ "loss": 1.2078,
794
+ "step": 112
795
+ },
796
+ {
797
+ "epoch": 0.353125,
798
+ "grad_norm": 10.083095364787159,
799
+ "learning_rate": 5.833333333333334e-05,
800
+ "loss": 1.252,
801
+ "step": 113
802
+ },
803
+ {
804
+ "epoch": 0.35625,
805
+ "grad_norm": 3.744430925274016,
806
+ "learning_rate": 5.885416666666666e-05,
807
+ "loss": 1.1536,
808
+ "step": 114
809
+ },
810
+ {
811
+ "epoch": 0.359375,
812
+ "grad_norm": 7.1875275730879125,
813
+ "learning_rate": 5.9375e-05,
814
+ "loss": 1.1371,
815
+ "step": 115
816
+ },
817
+ {
818
+ "epoch": 0.3625,
819
+ "grad_norm": 6.558006448835113,
820
+ "learning_rate": 5.989583333333334e-05,
821
+ "loss": 1.13,
822
+ "step": 116
823
+ },
824
+ {
825
+ "epoch": 0.365625,
826
+ "grad_norm": 9.733359886218526,
827
+ "learning_rate": 6.041666666666667e-05,
828
+ "loss": 1.1528,
829
+ "step": 117
830
+ },
831
+ {
832
+ "epoch": 0.36875,
833
+ "grad_norm": 9.76291297898059,
834
+ "learning_rate": 6.0937500000000004e-05,
835
+ "loss": 1.0878,
836
+ "step": 118
837
+ },
838
+ {
839
+ "epoch": 0.371875,
840
+ "grad_norm": 6.2437666568877805,
841
+ "learning_rate": 6.145833333333334e-05,
842
+ "loss": 1.0861,
843
+ "step": 119
844
+ },
845
+ {
846
+ "epoch": 0.375,
847
+ "grad_norm": 8.199907557931391,
848
+ "learning_rate": 6.197916666666667e-05,
849
+ "loss": 1.0335,
850
+ "step": 120
851
+ },
852
+ {
853
+ "epoch": 0.378125,
854
+ "grad_norm": 10.499996193190483,
855
+ "learning_rate": 6.25e-05,
856
+ "loss": 1.1987,
857
+ "step": 121
858
+ },
859
+ {
860
+ "epoch": 0.38125,
861
+ "grad_norm": 9.114347736660998,
862
+ "learning_rate": 6.302083333333335e-05,
863
+ "loss": 1.0914,
864
+ "step": 122
865
+ },
866
+ {
867
+ "epoch": 0.384375,
868
+ "grad_norm": 8.268829599928603,
869
+ "learning_rate": 6.354166666666666e-05,
870
+ "loss": 1.055,
871
+ "step": 123
872
+ },
873
+ {
874
+ "epoch": 0.3875,
875
+ "grad_norm": 10.125304154569957,
876
+ "learning_rate": 6.40625e-05,
877
+ "loss": 1.0882,
878
+ "step": 124
879
+ },
880
+ {
881
+ "epoch": 0.390625,
882
+ "grad_norm": 8.1220344052888,
883
+ "learning_rate": 6.458333333333334e-05,
884
+ "loss": 1.0011,
885
+ "step": 125
886
+ },
887
+ {
888
+ "epoch": 0.39375,
889
+ "grad_norm": 12.531667895600402,
890
+ "learning_rate": 6.510416666666667e-05,
891
+ "loss": 1.1001,
892
+ "step": 126
893
+ },
894
+ {
895
+ "epoch": 0.396875,
896
+ "grad_norm": 7.001301118095523,
897
+ "learning_rate": 6.562500000000001e-05,
898
+ "loss": 1.0586,
899
+ "step": 127
900
+ },
901
+ {
902
+ "epoch": 0.4,
903
+ "grad_norm": 13.131918744229115,
904
+ "learning_rate": 6.614583333333334e-05,
905
+ "loss": 1.1934,
906
+ "step": 128
907
+ },
908
+ {
909
+ "epoch": 0.403125,
910
+ "grad_norm": 8.655929689449874,
911
+ "learning_rate": 6.666666666666667e-05,
912
+ "loss": 0.9972,
913
+ "step": 129
914
+ },
915
+ {
916
+ "epoch": 0.40625,
917
+ "grad_norm": 16.011683259014738,
918
+ "learning_rate": 6.71875e-05,
919
+ "loss": 1.1322,
920
+ "step": 130
921
+ },
922
+ {
923
+ "epoch": 0.409375,
924
+ "grad_norm": 13.459517614378198,
925
+ "learning_rate": 6.770833333333334e-05,
926
+ "loss": 1.0996,
927
+ "step": 131
928
+ },
929
+ {
930
+ "epoch": 0.4125,
931
+ "grad_norm": 8.184600225776215,
932
+ "learning_rate": 6.822916666666666e-05,
933
+ "loss": 0.9241,
934
+ "step": 132
935
+ },
936
+ {
937
+ "epoch": 0.415625,
938
+ "grad_norm": 9.770142187366993,
939
+ "learning_rate": 6.875e-05,
940
+ "loss": 0.9989,
941
+ "step": 133
942
+ },
943
+ {
944
+ "epoch": 0.41875,
945
+ "grad_norm": 8.680458648025033,
946
+ "learning_rate": 6.927083333333333e-05,
947
+ "loss": 1.0223,
948
+ "step": 134
949
+ },
950
+ {
951
+ "epoch": 0.421875,
952
+ "grad_norm": 8.262315759784606,
953
+ "learning_rate": 6.979166666666666e-05,
954
+ "loss": 1.0372,
955
+ "step": 135
956
+ },
957
+ {
958
+ "epoch": 0.425,
959
+ "grad_norm": 8.229942662737823,
960
+ "learning_rate": 7.031250000000001e-05,
961
+ "loss": 0.9867,
962
+ "step": 136
963
+ },
964
+ {
965
+ "epoch": 0.428125,
966
+ "grad_norm": 7.2390333730582,
967
+ "learning_rate": 7.083333333333334e-05,
968
+ "loss": 1.0357,
969
+ "step": 137
970
+ },
971
+ {
972
+ "epoch": 0.43125,
973
+ "grad_norm": 7.925478703298735,
974
+ "learning_rate": 7.135416666666667e-05,
975
+ "loss": 0.9554,
976
+ "step": 138
977
+ },
978
+ {
979
+ "epoch": 0.434375,
980
+ "grad_norm": 5.948018489055187,
981
+ "learning_rate": 7.1875e-05,
982
+ "loss": 0.9297,
983
+ "step": 139
984
+ },
985
+ {
986
+ "epoch": 0.4375,
987
+ "grad_norm": 7.868847102053355,
988
+ "learning_rate": 7.239583333333334e-05,
989
+ "loss": 0.9197,
990
+ "step": 140
991
+ },
992
+ {
993
+ "epoch": 0.440625,
994
+ "grad_norm": 4.0931309918679855,
995
+ "learning_rate": 7.291666666666667e-05,
996
+ "loss": 0.8842,
997
+ "step": 141
998
+ },
999
+ {
1000
+ "epoch": 0.44375,
1001
+ "grad_norm": 11.977179896611627,
1002
+ "learning_rate": 7.34375e-05,
1003
+ "loss": 0.9692,
1004
+ "step": 142
1005
+ },
1006
+ {
1007
+ "epoch": 0.446875,
1008
+ "grad_norm": 6.962877179309973,
1009
+ "learning_rate": 7.395833333333335e-05,
1010
+ "loss": 0.9198,
1011
+ "step": 143
1012
+ },
1013
+ {
1014
+ "epoch": 0.45,
1015
+ "grad_norm": 11.404784564808287,
1016
+ "learning_rate": 7.447916666666666e-05,
1017
+ "loss": 0.9714,
1018
+ "step": 144
1019
+ },
1020
+ {
1021
+ "epoch": 0.453125,
1022
+ "grad_norm": 9.53013227271108,
1023
+ "learning_rate": 7.500000000000001e-05,
1024
+ "loss": 0.9551,
1025
+ "step": 145
1026
+ },
1027
+ {
1028
+ "epoch": 0.45625,
1029
+ "grad_norm": 7.852769865014313,
1030
+ "learning_rate": 7.552083333333334e-05,
1031
+ "loss": 0.9476,
1032
+ "step": 146
1033
+ },
1034
+ {
1035
+ "epoch": 0.459375,
1036
+ "grad_norm": 12.027549904258692,
1037
+ "learning_rate": 7.604166666666667e-05,
1038
+ "loss": 0.9747,
1039
+ "step": 147
1040
+ },
1041
+ {
1042
+ "epoch": 0.4625,
1043
+ "grad_norm": 8.4280228515814,
1044
+ "learning_rate": 7.65625e-05,
1045
+ "loss": 0.9212,
1046
+ "step": 148
1047
+ },
1048
+ {
1049
+ "epoch": 0.465625,
1050
+ "grad_norm": 5.36717019992068,
1051
+ "learning_rate": 7.708333333333334e-05,
1052
+ "loss": 0.8841,
1053
+ "step": 149
1054
+ },
1055
+ {
1056
+ "epoch": 0.46875,
1057
+ "grad_norm": 9.707836798671655,
1058
+ "learning_rate": 7.760416666666667e-05,
1059
+ "loss": 0.9445,
1060
+ "step": 150
1061
+ },
1062
+ {
1063
+ "epoch": 0.471875,
1064
+ "grad_norm": 7.8211950493386375,
1065
+ "learning_rate": 7.8125e-05,
1066
+ "loss": 0.9346,
1067
+ "step": 151
1068
+ },
1069
+ {
1070
+ "epoch": 0.475,
1071
+ "grad_norm": 10.00239033844591,
1072
+ "learning_rate": 7.864583333333335e-05,
1073
+ "loss": 0.9327,
1074
+ "step": 152
1075
+ },
1076
+ {
1077
+ "epoch": 0.478125,
1078
+ "grad_norm": 7.080184630683423,
1079
+ "learning_rate": 7.916666666666666e-05,
1080
+ "loss": 0.8713,
1081
+ "step": 153
1082
+ },
1083
+ {
1084
+ "epoch": 0.48125,
1085
+ "grad_norm": 10.959277685948559,
1086
+ "learning_rate": 7.96875e-05,
1087
+ "loss": 0.9879,
1088
+ "step": 154
1089
+ },
1090
+ {
1091
+ "epoch": 0.484375,
1092
+ "grad_norm": 8.406304115385007,
1093
+ "learning_rate": 8.020833333333334e-05,
1094
+ "loss": 0.9298,
1095
+ "step": 155
1096
+ },
1097
+ {
1098
+ "epoch": 0.4875,
1099
+ "grad_norm": 10.857922003791755,
1100
+ "learning_rate": 8.072916666666667e-05,
1101
+ "loss": 0.8592,
1102
+ "step": 156
1103
+ },
1104
+ {
1105
+ "epoch": 0.490625,
1106
+ "grad_norm": 10.507698569336473,
1107
+ "learning_rate": 8.125000000000001e-05,
1108
+ "loss": 0.9309,
1109
+ "step": 157
1110
+ },
1111
+ {
1112
+ "epoch": 0.49375,
1113
+ "grad_norm": 6.529540954550196,
1114
+ "learning_rate": 8.177083333333334e-05,
1115
+ "loss": 0.8305,
1116
+ "step": 158
1117
+ },
1118
+ {
1119
+ "epoch": 0.496875,
1120
+ "grad_norm": 8.352235620067676,
1121
+ "learning_rate": 8.229166666666667e-05,
1122
+ "loss": 0.9641,
1123
+ "step": 159
1124
+ },
1125
+ {
1126
+ "epoch": 0.5,
1127
+ "grad_norm": 4.657798765262621,
1128
+ "learning_rate": 8.28125e-05,
1129
+ "loss": 0.8663,
1130
+ "step": 160
1131
+ },
1132
+ {
1133
+ "epoch": 0.503125,
1134
+ "grad_norm": 6.6468076014241335,
1135
+ "learning_rate": 8.333333333333334e-05,
1136
+ "loss": 0.8804,
1137
+ "step": 161
1138
+ },
1139
+ {
1140
+ "epoch": 0.50625,
1141
+ "grad_norm": 8.18281474088343,
1142
+ "learning_rate": 8.385416666666666e-05,
1143
+ "loss": 0.9127,
1144
+ "step": 162
1145
+ },
1146
+ {
1147
+ "epoch": 0.509375,
1148
+ "grad_norm": 5.149736076594657,
1149
+ "learning_rate": 8.4375e-05,
1150
+ "loss": 0.9288,
1151
+ "step": 163
1152
+ },
1153
+ {
1154
+ "epoch": 0.5125,
1155
+ "grad_norm": 7.581979286907847,
1156
+ "learning_rate": 8.489583333333333e-05,
1157
+ "loss": 0.8483,
1158
+ "step": 164
1159
+ },
1160
+ {
1161
+ "epoch": 0.515625,
1162
+ "grad_norm": 5.669787431334474,
1163
+ "learning_rate": 8.541666666666666e-05,
1164
+ "loss": 0.7873,
1165
+ "step": 165
1166
+ },
1167
+ {
1168
+ "epoch": 0.51875,
1169
+ "grad_norm": 9.260330708502003,
1170
+ "learning_rate": 8.593750000000001e-05,
1171
+ "loss": 0.9492,
1172
+ "step": 166
1173
+ },
1174
+ {
1175
+ "epoch": 0.521875,
1176
+ "grad_norm": 5.789639924996383,
1177
+ "learning_rate": 8.645833333333334e-05,
1178
+ "loss": 0.8318,
1179
+ "step": 167
1180
+ },
1181
+ {
1182
+ "epoch": 0.525,
1183
+ "grad_norm": 10.229343902621522,
1184
+ "learning_rate": 8.697916666666667e-05,
1185
+ "loss": 0.9097,
1186
+ "step": 168
1187
+ },
1188
+ {
1189
+ "epoch": 0.528125,
1190
+ "grad_norm": 9.228206884119015,
1191
+ "learning_rate": 8.75e-05,
1192
+ "loss": 0.8582,
1193
+ "step": 169
1194
+ },
1195
+ {
1196
+ "epoch": 0.53125,
1197
+ "grad_norm": 7.666777700421669,
1198
+ "learning_rate": 8.802083333333334e-05,
1199
+ "loss": 0.8492,
1200
+ "step": 170
1201
+ },
1202
+ {
1203
+ "epoch": 0.534375,
1204
+ "grad_norm": 7.498065591632684,
1205
+ "learning_rate": 8.854166666666667e-05,
1206
+ "loss": 0.8115,
1207
+ "step": 171
1208
+ },
1209
+ {
1210
+ "epoch": 0.5375,
1211
+ "grad_norm": 6.916558374382635,
1212
+ "learning_rate": 8.90625e-05,
1213
+ "loss": 0.7908,
1214
+ "step": 172
1215
+ },
1216
+ {
1217
+ "epoch": 0.540625,
1218
+ "grad_norm": 7.915912152903943,
1219
+ "learning_rate": 8.958333333333335e-05,
1220
+ "loss": 0.8059,
1221
+ "step": 173
1222
+ },
1223
+ {
1224
+ "epoch": 0.54375,
1225
+ "grad_norm": 5.9954176654563485,
1226
+ "learning_rate": 9.010416666666666e-05,
1227
+ "loss": 0.8024,
1228
+ "step": 174
1229
+ },
1230
+ {
1231
+ "epoch": 0.546875,
1232
+ "grad_norm": 5.173849203895654,
1233
+ "learning_rate": 9.062500000000001e-05,
1234
+ "loss": 0.7418,
1235
+ "step": 175
1236
+ },
1237
+ {
1238
+ "epoch": 0.55,
1239
+ "grad_norm": 4.146423153339542,
1240
+ "learning_rate": 9.114583333333334e-05,
1241
+ "loss": 0.7816,
1242
+ "step": 176
1243
+ },
1244
+ {
1245
+ "epoch": 0.553125,
1246
+ "grad_norm": 10.445546819978581,
1247
+ "learning_rate": 9.166666666666667e-05,
1248
+ "loss": 0.8374,
1249
+ "step": 177
1250
+ },
1251
+ {
1252
+ "epoch": 0.55625,
1253
+ "grad_norm": 5.977128755691389,
1254
+ "learning_rate": 9.21875e-05,
1255
+ "loss": 0.7962,
1256
+ "step": 178
1257
+ },
1258
+ {
1259
+ "epoch": 0.559375,
1260
+ "grad_norm": 9.020297195137891,
1261
+ "learning_rate": 9.270833333333334e-05,
1262
+ "loss": 0.865,
1263
+ "step": 179
1264
+ },
1265
+ {
1266
+ "epoch": 0.5625,
1267
+ "grad_norm": 7.106875300447416,
1268
+ "learning_rate": 9.322916666666667e-05,
1269
+ "loss": 0.7876,
1270
+ "step": 180
1271
+ },
1272
+ {
1273
+ "epoch": 0.565625,
1274
+ "grad_norm": 9.329673526456457,
1275
+ "learning_rate": 9.375e-05,
1276
+ "loss": 0.8542,
1277
+ "step": 181
1278
+ },
1279
+ {
1280
+ "epoch": 0.56875,
1281
+ "grad_norm": 6.58668399217218,
1282
+ "learning_rate": 9.427083333333335e-05,
1283
+ "loss": 0.8382,
1284
+ "step": 182
1285
+ },
1286
+ {
1287
+ "epoch": 0.571875,
1288
+ "grad_norm": 10.083483331258801,
1289
+ "learning_rate": 9.479166666666666e-05,
1290
+ "loss": 0.875,
1291
+ "step": 183
1292
+ },
1293
+ {
1294
+ "epoch": 0.575,
1295
+ "grad_norm": 5.169975483021176,
1296
+ "learning_rate": 9.53125e-05,
1297
+ "loss": 0.8075,
1298
+ "step": 184
1299
+ },
1300
+ {
1301
+ "epoch": 0.578125,
1302
+ "grad_norm": 10.925234205175018,
1303
+ "learning_rate": 9.583333333333334e-05,
1304
+ "loss": 0.7896,
1305
+ "step": 185
1306
+ },
1307
+ {
1308
+ "epoch": 0.58125,
1309
+ "grad_norm": 9.453839262647373,
1310
+ "learning_rate": 9.635416666666667e-05,
1311
+ "loss": 0.8686,
1312
+ "step": 186
1313
+ },
1314
+ {
1315
+ "epoch": 0.584375,
1316
+ "grad_norm": 7.51176543895577,
1317
+ "learning_rate": 9.687500000000001e-05,
1318
+ "loss": 0.7349,
1319
+ "step": 187
1320
+ },
1321
+ {
1322
+ "epoch": 0.5875,
1323
+ "grad_norm": 8.371249075947729,
1324
+ "learning_rate": 9.739583333333334e-05,
1325
+ "loss": 0.7885,
1326
+ "step": 188
1327
+ },
1328
+ {
1329
+ "epoch": 0.590625,
1330
+ "grad_norm": 6.2623315034271005,
1331
+ "learning_rate": 9.791666666666667e-05,
1332
+ "loss": 0.8232,
1333
+ "step": 189
1334
+ },
1335
+ {
1336
+ "epoch": 0.59375,
1337
+ "grad_norm": 8.51607024992856,
1338
+ "learning_rate": 9.84375e-05,
1339
+ "loss": 0.7814,
1340
+ "step": 190
1341
+ },
1342
+ {
1343
+ "epoch": 0.596875,
1344
+ "grad_norm": 5.969121833596023,
1345
+ "learning_rate": 9.895833333333334e-05,
1346
+ "loss": 0.7853,
1347
+ "step": 191
1348
+ },
1349
+ {
1350
+ "epoch": 0.6,
1351
+ "grad_norm": 6.931397740654763,
1352
+ "learning_rate": 9.947916666666666e-05,
1353
+ "loss": 0.8034,
1354
+ "step": 192
1355
+ },
1356
+ {
1357
+ "epoch": 0.603125,
1358
+ "grad_norm": 5.8365666787524,
1359
+ "learning_rate": 0.0001,
1360
+ "loss": 0.7447,
1361
+ "step": 193
1362
+ },
1363
+ {
1364
+ "epoch": 0.60625,
1365
+ "grad_norm": 6.4445007992856524,
1366
+ "learning_rate": 0.00010052083333333333,
1367
+ "loss": 0.7553,
1368
+ "step": 194
1369
+ },
1370
+ {
1371
+ "epoch": 0.609375,
1372
+ "grad_norm": 7.808743283800006,
1373
+ "learning_rate": 0.00010104166666666668,
1374
+ "loss": 0.739,
1375
+ "step": 195
1376
+ },
1377
+ {
1378
+ "epoch": 0.6125,
1379
+ "grad_norm": 5.226152562462588,
1380
+ "learning_rate": 0.00010156250000000001,
1381
+ "loss": 0.7505,
1382
+ "step": 196
1383
+ },
1384
+ {
1385
+ "epoch": 0.615625,
1386
+ "grad_norm": 5.871676266320986,
1387
+ "learning_rate": 0.00010208333333333333,
1388
+ "loss": 0.7383,
1389
+ "step": 197
1390
+ },
1391
+ {
1392
+ "epoch": 0.61875,
1393
+ "grad_norm": 7.690100226914687,
1394
+ "learning_rate": 0.00010260416666666668,
1395
+ "loss": 0.8546,
1396
+ "step": 198
1397
+ },
1398
+ {
1399
+ "epoch": 0.621875,
1400
+ "grad_norm": 6.093202895282048,
1401
+ "learning_rate": 0.000103125,
1402
+ "loss": 0.7176,
1403
+ "step": 199
1404
+ },
1405
+ {
1406
+ "epoch": 0.625,
1407
+ "grad_norm": 6.227266062421436,
1408
+ "learning_rate": 0.00010364583333333333,
1409
+ "loss": 0.7289,
1410
+ "step": 200
1411
+ },
1412
+ {
1413
+ "epoch": 0.628125,
1414
+ "grad_norm": 4.0853238976344315,
1415
+ "learning_rate": 0.00010416666666666667,
1416
+ "loss": 0.7418,
1417
+ "step": 201
1418
+ },
1419
+ {
1420
+ "epoch": 0.63125,
1421
+ "grad_norm": 5.401743145574044,
1422
+ "learning_rate": 0.0001046875,
1423
+ "loss": 0.7138,
1424
+ "step": 202
1425
+ },
1426
+ {
1427
+ "epoch": 0.634375,
1428
+ "grad_norm": 5.732632372228023,
1429
+ "learning_rate": 0.00010520833333333333,
1430
+ "loss": 0.696,
1431
+ "step": 203
1432
+ },
1433
+ {
1434
+ "epoch": 0.6375,
1435
+ "grad_norm": 4.470471973395256,
1436
+ "learning_rate": 0.00010572916666666668,
1437
+ "loss": 0.747,
1438
+ "step": 204
1439
+ },
1440
+ {
1441
+ "epoch": 0.640625,
1442
+ "grad_norm": 6.0144031305556345,
1443
+ "learning_rate": 0.00010625000000000001,
1444
+ "loss": 0.7014,
1445
+ "step": 205
1446
+ },
1447
+ {
1448
+ "epoch": 0.64375,
1449
+ "grad_norm": 4.712532304774911,
1450
+ "learning_rate": 0.00010677083333333334,
1451
+ "loss": 0.676,
1452
+ "step": 206
1453
+ },
1454
+ {
1455
+ "epoch": 0.646875,
1456
+ "grad_norm": 6.243704020795876,
1457
+ "learning_rate": 0.00010729166666666668,
1458
+ "loss": 0.6455,
1459
+ "step": 207
1460
+ },
1461
+ {
1462
+ "epoch": 0.65,
1463
+ "grad_norm": 6.1633651675976076,
1464
+ "learning_rate": 0.00010781250000000001,
1465
+ "loss": 0.7559,
1466
+ "step": 208
1467
+ },
1468
+ {
1469
+ "epoch": 0.653125,
1470
+ "grad_norm": 6.437422951687512,
1471
+ "learning_rate": 0.00010833333333333333,
1472
+ "loss": 0.6652,
1473
+ "step": 209
1474
+ },
1475
+ {
1476
+ "epoch": 0.65625,
1477
+ "grad_norm": 6.060227515981516,
1478
+ "learning_rate": 0.00010885416666666669,
1479
+ "loss": 0.7186,
1480
+ "step": 210
1481
+ },
1482
+ {
1483
+ "epoch": 0.659375,
1484
+ "grad_norm": 4.347124507702208,
1485
+ "learning_rate": 0.000109375,
1486
+ "loss": 0.7089,
1487
+ "step": 211
1488
+ },
1489
+ {
1490
+ "epoch": 0.6625,
1491
+ "grad_norm": 9.86919359385419,
1492
+ "learning_rate": 0.00010989583333333333,
1493
+ "loss": 0.7651,
1494
+ "step": 212
1495
+ },
1496
+ {
1497
+ "epoch": 0.665625,
1498
+ "grad_norm": 8.099230221322795,
1499
+ "learning_rate": 0.00011041666666666668,
1500
+ "loss": 0.7662,
1501
+ "step": 213
1502
+ },
1503
+ {
1504
+ "epoch": 0.66875,
1505
+ "grad_norm": 9.982836658924466,
1506
+ "learning_rate": 0.0001109375,
1507
+ "loss": 0.7726,
1508
+ "step": 214
1509
+ },
1510
+ {
1511
+ "epoch": 0.671875,
1512
+ "grad_norm": 9.11377532717914,
1513
+ "learning_rate": 0.00011145833333333334,
1514
+ "loss": 0.732,
1515
+ "step": 215
1516
+ },
1517
+ {
1518
+ "epoch": 0.675,
1519
+ "grad_norm": 7.7224363657361135,
1520
+ "learning_rate": 0.00011197916666666668,
1521
+ "loss": 0.7448,
1522
+ "step": 216
1523
+ },
1524
+ {
1525
+ "epoch": 0.678125,
1526
+ "grad_norm": 7.264877304875326,
1527
+ "learning_rate": 0.00011250000000000001,
1528
+ "loss": 0.7154,
1529
+ "step": 217
1530
+ },
1531
+ {
1532
+ "epoch": 0.68125,
1533
+ "grad_norm": 5.968019429647152,
1534
+ "learning_rate": 0.00011302083333333333,
1535
+ "loss": 0.6751,
1536
+ "step": 218
1537
+ },
1538
+ {
1539
+ "epoch": 0.684375,
1540
+ "grad_norm": 5.326970462516753,
1541
+ "learning_rate": 0.00011354166666666668,
1542
+ "loss": 0.7143,
1543
+ "step": 219
1544
+ },
1545
+ {
1546
+ "epoch": 0.6875,
1547
+ "grad_norm": 8.915861068302076,
1548
+ "learning_rate": 0.0001140625,
1549
+ "loss": 0.7451,
1550
+ "step": 220
1551
+ },
1552
+ {
1553
+ "epoch": 0.690625,
1554
+ "grad_norm": 6.7277062630103925,
1555
+ "learning_rate": 0.00011458333333333333,
1556
+ "loss": 0.7089,
1557
+ "step": 221
1558
+ },
1559
+ {
1560
+ "epoch": 0.69375,
1561
+ "grad_norm": 7.774681670860603,
1562
+ "learning_rate": 0.00011510416666666667,
1563
+ "loss": 0.7742,
1564
+ "step": 222
1565
+ },
1566
+ {
1567
+ "epoch": 0.696875,
1568
+ "grad_norm": 7.723415561234424,
1569
+ "learning_rate": 0.000115625,
1570
+ "loss": 0.7436,
1571
+ "step": 223
1572
+ },
1573
+ {
1574
+ "epoch": 0.7,
1575
+ "grad_norm": 4.408925309735434,
1576
+ "learning_rate": 0.00011614583333333334,
1577
+ "loss": 0.6783,
1578
+ "step": 224
1579
+ },
1580
+ {
1581
+ "epoch": 0.703125,
1582
+ "grad_norm": 5.128006412826596,
1583
+ "learning_rate": 0.00011666666666666668,
1584
+ "loss": 0.6574,
1585
+ "step": 225
1586
+ },
1587
+ {
1588
+ "epoch": 0.70625,
1589
+ "grad_norm": 7.109322132051973,
1590
+ "learning_rate": 0.00011718750000000001,
1591
+ "loss": 0.6809,
1592
+ "step": 226
1593
+ },
1594
+ {
1595
+ "epoch": 0.709375,
1596
+ "grad_norm": 5.678260661672194,
1597
+ "learning_rate": 0.00011770833333333333,
1598
+ "loss": 0.7801,
1599
+ "step": 227
1600
+ },
1601
+ {
1602
+ "epoch": 0.7125,
1603
+ "grad_norm": 5.230539784787929,
1604
+ "learning_rate": 0.00011822916666666668,
1605
+ "loss": 0.6834,
1606
+ "step": 228
1607
+ },
1608
+ {
1609
+ "epoch": 0.715625,
1610
+ "grad_norm": 4.298606538054625,
1611
+ "learning_rate": 0.00011875,
1612
+ "loss": 0.6126,
1613
+ "step": 229
1614
+ },
1615
+ {
1616
+ "epoch": 0.71875,
1617
+ "grad_norm": 5.823181840932161,
1618
+ "learning_rate": 0.00011927083333333333,
1619
+ "loss": 0.7571,
1620
+ "step": 230
1621
+ },
1622
+ {
1623
+ "epoch": 0.721875,
1624
+ "grad_norm": 3.557763682325525,
1625
+ "learning_rate": 0.00011979166666666667,
1626
+ "loss": 0.6532,
1627
+ "step": 231
1628
+ },
1629
+ {
1630
+ "epoch": 0.725,
1631
+ "grad_norm": 9.360009235239575,
1632
+ "learning_rate": 0.0001203125,
1633
+ "loss": 0.779,
1634
+ "step": 232
1635
+ },
1636
+ {
1637
+ "epoch": 0.728125,
1638
+ "grad_norm": 6.467134528380297,
1639
+ "learning_rate": 0.00012083333333333333,
1640
+ "loss": 0.7027,
1641
+ "step": 233
1642
+ },
1643
+ {
1644
+ "epoch": 0.73125,
1645
+ "grad_norm": 6.443330255081421,
1646
+ "learning_rate": 0.00012135416666666668,
1647
+ "loss": 0.7535,
1648
+ "step": 234
1649
+ },
1650
+ {
1651
+ "epoch": 0.734375,
1652
+ "grad_norm": 5.263696964696843,
1653
+ "learning_rate": 0.00012187500000000001,
1654
+ "loss": 0.7076,
1655
+ "step": 235
1656
+ },
1657
+ {
1658
+ "epoch": 0.7375,
1659
+ "grad_norm": 8.41674251103533,
1660
+ "learning_rate": 0.00012239583333333332,
1661
+ "loss": 0.7685,
1662
+ "step": 236
1663
+ },
1664
+ {
1665
+ "epoch": 0.740625,
1666
+ "grad_norm": 6.468022344397508,
1667
+ "learning_rate": 0.00012291666666666668,
1668
+ "loss": 0.664,
1669
+ "step": 237
1670
+ },
1671
+ {
1672
+ "epoch": 0.74375,
1673
+ "grad_norm": 4.667797510411515,
1674
+ "learning_rate": 0.0001234375,
1675
+ "loss": 0.723,
1676
+ "step": 238
1677
+ },
1678
+ {
1679
+ "epoch": 0.746875,
1680
+ "grad_norm": 5.095530201731687,
1681
+ "learning_rate": 0.00012395833333333334,
1682
+ "loss": 0.6788,
1683
+ "step": 239
1684
+ },
1685
+ {
1686
+ "epoch": 0.75,
1687
+ "grad_norm": 5.024524480040258,
1688
+ "learning_rate": 0.00012447916666666667,
1689
+ "loss": 0.7031,
1690
+ "step": 240
1691
+ },
1692
+ {
1693
+ "epoch": 0.753125,
1694
+ "grad_norm": 4.686387781862867,
1695
+ "learning_rate": 0.000125,
1696
+ "loss": 0.6393,
1697
+ "step": 241
1698
+ },
1699
+ {
1700
+ "epoch": 0.75625,
1701
+ "grad_norm": 4.147768654688554,
1702
+ "learning_rate": 0.00012552083333333333,
1703
+ "loss": 0.6721,
1704
+ "step": 242
1705
+ },
1706
+ {
1707
+ "epoch": 0.759375,
1708
+ "grad_norm": 3.991069562808937,
1709
+ "learning_rate": 0.0001260416666666667,
1710
+ "loss": 0.5938,
1711
+ "step": 243
1712
+ },
1713
+ {
1714
+ "epoch": 0.7625,
1715
+ "grad_norm": 8.149179025879748,
1716
+ "learning_rate": 0.0001265625,
1717
+ "loss": 0.6779,
1718
+ "step": 244
1719
+ },
1720
+ {
1721
+ "epoch": 0.765625,
1722
+ "grad_norm": 5.3989756217933165,
1723
+ "learning_rate": 0.00012708333333333332,
1724
+ "loss": 0.653,
1725
+ "step": 245
1726
+ },
1727
+ {
1728
+ "epoch": 0.76875,
1729
+ "grad_norm": 7.382240102146617,
1730
+ "learning_rate": 0.00012760416666666668,
1731
+ "loss": 0.765,
1732
+ "step": 246
1733
+ },
1734
+ {
1735
+ "epoch": 0.771875,
1736
+ "grad_norm": 6.286650490681898,
1737
+ "learning_rate": 0.000128125,
1738
+ "loss": 0.7326,
1739
+ "step": 247
1740
+ },
1741
+ {
1742
+ "epoch": 0.775,
1743
+ "grad_norm": 4.633473634760908,
1744
+ "learning_rate": 0.00012864583333333334,
1745
+ "loss": 0.6258,
1746
+ "step": 248
1747
+ },
1748
+ {
1749
+ "epoch": 0.778125,
1750
+ "grad_norm": 10.673427073287195,
1751
+ "learning_rate": 0.00012916666666666667,
1752
+ "loss": 0.7801,
1753
+ "step": 249
1754
+ },
1755
+ {
1756
+ "epoch": 0.78125,
1757
+ "grad_norm": 5.223890554435825,
1758
+ "learning_rate": 0.0001296875,
1759
+ "loss": 0.6659,
1760
+ "step": 250
1761
+ },
1762
+ {
1763
+ "epoch": 0.784375,
1764
+ "grad_norm": 11.277996957765167,
1765
+ "learning_rate": 0.00013020833333333333,
1766
+ "loss": 0.8506,
1767
+ "step": 251
1768
+ },
1769
+ {
1770
+ "epoch": 0.7875,
1771
+ "grad_norm": 8.192236976895307,
1772
+ "learning_rate": 0.0001307291666666667,
1773
+ "loss": 0.8054,
1774
+ "step": 252
1775
+ },
1776
+ {
1777
+ "epoch": 0.790625,
1778
+ "grad_norm": 7.564377201542728,
1779
+ "learning_rate": 0.00013125000000000002,
1780
+ "loss": 0.7872,
1781
+ "step": 253
1782
+ },
1783
+ {
1784
+ "epoch": 0.79375,
1785
+ "grad_norm": 7.376895934218807,
1786
+ "learning_rate": 0.00013177083333333332,
1787
+ "loss": 0.8117,
1788
+ "step": 254
1789
+ },
1790
+ {
1791
+ "epoch": 0.796875,
1792
+ "grad_norm": 6.4492649766013574,
1793
+ "learning_rate": 0.00013229166666666668,
1794
+ "loss": 0.6726,
1795
+ "step": 255
1796
+ },
1797
+ {
1798
+ "epoch": 0.8,
1799
+ "grad_norm": 7.056223615199466,
1800
+ "learning_rate": 0.0001328125,
1801
+ "loss": 0.7024,
1802
+ "step": 256
1803
+ },
1804
+ {
1805
+ "epoch": 0.803125,
1806
+ "grad_norm": 6.188905904504976,
1807
+ "learning_rate": 0.00013333333333333334,
1808
+ "loss": 0.7158,
1809
+ "step": 257
1810
+ },
1811
+ {
1812
+ "epoch": 0.80625,
1813
+ "grad_norm": 5.81486514980825,
1814
+ "learning_rate": 0.00013385416666666667,
1815
+ "loss": 0.6696,
1816
+ "step": 258
1817
+ },
1818
+ {
1819
+ "epoch": 0.809375,
1820
+ "grad_norm": 6.408786300617925,
1821
+ "learning_rate": 0.000134375,
1822
+ "loss": 0.7378,
1823
+ "step": 259
1824
+ },
1825
+ {
1826
+ "epoch": 0.8125,
1827
+ "grad_norm": 6.033101933587246,
1828
+ "learning_rate": 0.00013489583333333333,
1829
+ "loss": 0.5996,
1830
+ "step": 260
1831
+ },
1832
+ {
1833
+ "epoch": 0.815625,
1834
+ "grad_norm": 4.806690666893966,
1835
+ "learning_rate": 0.0001354166666666667,
1836
+ "loss": 0.6503,
1837
+ "step": 261
1838
+ },
1839
+ {
1840
+ "epoch": 0.81875,
1841
+ "grad_norm": 6.394692964269329,
1842
+ "learning_rate": 0.00013593750000000002,
1843
+ "loss": 0.72,
1844
+ "step": 262
1845
+ },
1846
+ {
1847
+ "epoch": 0.821875,
1848
+ "grad_norm": 3.867322783879365,
1849
+ "learning_rate": 0.00013645833333333332,
1850
+ "loss": 0.6163,
1851
+ "step": 263
1852
+ },
1853
+ {
1854
+ "epoch": 0.825,
1855
+ "grad_norm": 5.5139377490245876,
1856
+ "learning_rate": 0.00013697916666666668,
1857
+ "loss": 0.6186,
1858
+ "step": 264
1859
+ },
1860
+ {
1861
+ "epoch": 0.828125,
1862
+ "grad_norm": 5.09570226545013,
1863
+ "learning_rate": 0.0001375,
1864
+ "loss": 0.6894,
1865
+ "step": 265
1866
+ },
1867
+ {
1868
+ "epoch": 0.83125,
1869
+ "grad_norm": 3.8389028514679064,
1870
+ "learning_rate": 0.00013802083333333334,
1871
+ "loss": 0.6451,
1872
+ "step": 266
1873
+ },
1874
+ {
1875
+ "epoch": 0.834375,
1876
+ "grad_norm": 4.577383334065461,
1877
+ "learning_rate": 0.00013854166666666667,
1878
+ "loss": 0.6337,
1879
+ "step": 267
1880
+ },
1881
+ {
1882
+ "epoch": 0.8375,
1883
+ "grad_norm": 4.00685539620012,
1884
+ "learning_rate": 0.0001390625,
1885
+ "loss": 0.5703,
1886
+ "step": 268
1887
+ },
1888
+ {
1889
+ "epoch": 0.840625,
1890
+ "grad_norm": 6.012861829383814,
1891
+ "learning_rate": 0.00013958333333333333,
1892
+ "loss": 0.6799,
1893
+ "step": 269
1894
+ },
1895
+ {
1896
+ "epoch": 0.84375,
1897
+ "grad_norm": 3.552926641113641,
1898
+ "learning_rate": 0.00014010416666666669,
1899
+ "loss": 0.6019,
1900
+ "step": 270
1901
+ },
1902
+ {
1903
+ "epoch": 0.846875,
1904
+ "grad_norm": 6.640586308933678,
1905
+ "learning_rate": 0.00014062500000000002,
1906
+ "loss": 0.6676,
1907
+ "step": 271
1908
+ },
1909
+ {
1910
+ "epoch": 0.85,
1911
+ "grad_norm": 5.863103082822842,
1912
+ "learning_rate": 0.00014114583333333332,
1913
+ "loss": 0.6962,
1914
+ "step": 272
1915
+ },
1916
+ {
1917
+ "epoch": 0.853125,
1918
+ "grad_norm": 7.212282647310525,
1919
+ "learning_rate": 0.00014166666666666668,
1920
+ "loss": 0.7539,
1921
+ "step": 273
1922
+ },
1923
+ {
1924
+ "epoch": 0.85625,
1925
+ "grad_norm": 6.138497137370133,
1926
+ "learning_rate": 0.0001421875,
1927
+ "loss": 0.6381,
1928
+ "step": 274
1929
+ },
1930
+ {
1931
+ "epoch": 0.859375,
1932
+ "grad_norm": 5.075880610971953,
1933
+ "learning_rate": 0.00014270833333333334,
1934
+ "loss": 0.6947,
1935
+ "step": 275
1936
+ },
1937
+ {
1938
+ "epoch": 0.8625,
1939
+ "grad_norm": 6.181891500305302,
1940
+ "learning_rate": 0.00014322916666666667,
1941
+ "loss": 0.6381,
1942
+ "step": 276
1943
+ },
1944
+ {
1945
+ "epoch": 0.865625,
1946
+ "grad_norm": 5.250962298084777,
1947
+ "learning_rate": 0.00014375,
1948
+ "loss": 0.6293,
1949
+ "step": 277
1950
+ },
1951
+ {
1952
+ "epoch": 0.86875,
1953
+ "grad_norm": 4.6093606156741,
1954
+ "learning_rate": 0.00014427083333333333,
1955
+ "loss": 0.6517,
1956
+ "step": 278
1957
+ },
1958
+ {
1959
+ "epoch": 0.871875,
1960
+ "grad_norm": 4.112889069368331,
1961
+ "learning_rate": 0.00014479166666666669,
1962
+ "loss": 0.5992,
1963
+ "step": 279
1964
+ },
1965
+ {
1966
+ "epoch": 0.875,
1967
+ "grad_norm": 4.669767052226125,
1968
+ "learning_rate": 0.00014531250000000002,
1969
+ "loss": 0.6211,
1970
+ "step": 280
1971
+ },
1972
+ {
1973
+ "epoch": 0.878125,
1974
+ "grad_norm": 4.196082806091218,
1975
+ "learning_rate": 0.00014583333333333335,
1976
+ "loss": 0.6721,
1977
+ "step": 281
1978
+ },
1979
+ {
1980
+ "epoch": 0.88125,
1981
+ "grad_norm": 6.550932267913235,
1982
+ "learning_rate": 0.00014635416666666668,
1983
+ "loss": 0.7132,
1984
+ "step": 282
1985
+ },
1986
+ {
1987
+ "epoch": 0.884375,
1988
+ "grad_norm": 3.7057766450929948,
1989
+ "learning_rate": 0.000146875,
1990
+ "loss": 0.609,
1991
+ "step": 283
1992
+ },
1993
+ {
1994
+ "epoch": 0.8875,
1995
+ "grad_norm": 6.988619919422886,
1996
+ "learning_rate": 0.00014739583333333334,
1997
+ "loss": 0.6502,
1998
+ "step": 284
1999
+ },
2000
+ {
2001
+ "epoch": 0.890625,
2002
+ "grad_norm": 5.1031894425980955,
2003
+ "learning_rate": 0.0001479166666666667,
2004
+ "loss": 0.6444,
2005
+ "step": 285
2006
+ },
2007
+ {
2008
+ "epoch": 0.89375,
2009
+ "grad_norm": 7.3129173002131544,
2010
+ "learning_rate": 0.0001484375,
2011
+ "loss": 0.6916,
2012
+ "step": 286
2013
+ },
2014
+ {
2015
+ "epoch": 0.896875,
2016
+ "grad_norm": 6.589299028651061,
2017
+ "learning_rate": 0.00014895833333333333,
2018
+ "loss": 0.6928,
2019
+ "step": 287
2020
+ },
2021
+ {
2022
+ "epoch": 0.9,
2023
+ "grad_norm": 6.507881019786985,
2024
+ "learning_rate": 0.00014947916666666668,
2025
+ "loss": 0.7102,
2026
+ "step": 288
2027
+ },
2028
+ {
2029
+ "epoch": 0.903125,
2030
+ "grad_norm": 5.397882675964744,
2031
+ "learning_rate": 0.00015000000000000001,
2032
+ "loss": 0.6867,
2033
+ "step": 289
2034
+ },
2035
+ {
2036
+ "epoch": 0.90625,
2037
+ "grad_norm": 6.187071771361283,
2038
+ "learning_rate": 0.00015052083333333334,
2039
+ "loss": 0.6304,
2040
+ "step": 290
2041
+ },
2042
+ {
2043
+ "epoch": 0.909375,
2044
+ "grad_norm": 5.1473279658105024,
2045
+ "learning_rate": 0.00015104166666666667,
2046
+ "loss": 0.6669,
2047
+ "step": 291
2048
+ },
2049
+ {
2050
+ "epoch": 0.9125,
2051
+ "grad_norm": 5.952602708905966,
2052
+ "learning_rate": 0.0001515625,
2053
+ "loss": 0.6658,
2054
+ "step": 292
2055
+ },
2056
+ {
2057
+ "epoch": 0.915625,
2058
+ "grad_norm": 4.833693946412644,
2059
+ "learning_rate": 0.00015208333333333333,
2060
+ "loss": 0.5923,
2061
+ "step": 293
2062
+ },
2063
+ {
2064
+ "epoch": 0.91875,
2065
+ "grad_norm": 5.708733854302764,
2066
+ "learning_rate": 0.0001526041666666667,
2067
+ "loss": 0.6776,
2068
+ "step": 294
2069
+ },
2070
+ {
2071
+ "epoch": 0.921875,
2072
+ "grad_norm": 6.159895020795588,
2073
+ "learning_rate": 0.000153125,
2074
+ "loss": 0.7081,
2075
+ "step": 295
2076
+ },
2077
+ {
2078
+ "epoch": 0.925,
2079
+ "grad_norm": 3.6420861623581664,
2080
+ "learning_rate": 0.00015364583333333333,
2081
+ "loss": 0.5722,
2082
+ "step": 296
2083
+ },
2084
+ {
2085
+ "epoch": 0.928125,
2086
+ "grad_norm": 4.498361402240788,
2087
+ "learning_rate": 0.00015416666666666668,
2088
+ "loss": 0.6347,
2089
+ "step": 297
2090
+ },
2091
+ {
2092
+ "epoch": 0.93125,
2093
+ "grad_norm": 5.5407071416791025,
2094
+ "learning_rate": 0.0001546875,
2095
+ "loss": 0.6328,
2096
+ "step": 298
2097
+ },
2098
+ {
2099
+ "epoch": 0.934375,
2100
+ "grad_norm": 2.989522367565342,
2101
+ "learning_rate": 0.00015520833333333334,
2102
+ "loss": 0.604,
2103
+ "step": 299
2104
+ },
2105
+ {
2106
+ "epoch": 0.9375,
2107
+ "grad_norm": 7.212786015409645,
2108
+ "learning_rate": 0.00015572916666666667,
2109
+ "loss": 0.6996,
2110
+ "step": 300
2111
+ },
2112
+ {
2113
+ "epoch": 0.940625,
2114
+ "grad_norm": 6.475186960727527,
2115
+ "learning_rate": 0.00015625,
2116
+ "loss": 0.6937,
2117
+ "step": 301
2118
+ },
2119
+ {
2120
+ "epoch": 0.94375,
2121
+ "grad_norm": 4.876884136220253,
2122
+ "learning_rate": 0.00015677083333333333,
2123
+ "loss": 0.6748,
2124
+ "step": 302
2125
+ },
2126
+ {
2127
+ "epoch": 0.946875,
2128
+ "grad_norm": 4.891452146223525,
2129
+ "learning_rate": 0.0001572916666666667,
2130
+ "loss": 0.6437,
2131
+ "step": 303
2132
+ },
2133
+ {
2134
+ "epoch": 0.95,
2135
+ "grad_norm": 4.553582576759581,
2136
+ "learning_rate": 0.00015781250000000002,
2137
+ "loss": 0.657,
2138
+ "step": 304
2139
+ },
2140
+ {
2141
+ "epoch": 0.953125,
2142
+ "grad_norm": 7.094328124766603,
2143
+ "learning_rate": 0.00015833333333333332,
2144
+ "loss": 0.6877,
2145
+ "step": 305
2146
+ },
2147
+ {
2148
+ "epoch": 0.95625,
2149
+ "grad_norm": 4.191489560484197,
2150
+ "learning_rate": 0.00015885416666666668,
2151
+ "loss": 0.6163,
2152
+ "step": 306
2153
+ },
2154
+ {
2155
+ "epoch": 0.959375,
2156
+ "grad_norm": 9.641050857560009,
2157
+ "learning_rate": 0.000159375,
2158
+ "loss": 0.7381,
2159
+ "step": 307
2160
+ },
2161
+ {
2162
+ "epoch": 0.9625,
2163
+ "grad_norm": 7.010284309022098,
2164
+ "learning_rate": 0.00015989583333333334,
2165
+ "loss": 0.7669,
2166
+ "step": 308
2167
+ },
2168
+ {
2169
+ "epoch": 0.965625,
2170
+ "grad_norm": 5.124065842157194,
2171
+ "learning_rate": 0.00016041666666666667,
2172
+ "loss": 0.6315,
2173
+ "step": 309
2174
+ },
2175
+ {
2176
+ "epoch": 0.96875,
2177
+ "grad_norm": 5.124058430454074,
2178
+ "learning_rate": 0.0001609375,
2179
+ "loss": 0.6506,
2180
+ "step": 310
2181
+ },
2182
+ {
2183
+ "epoch": 0.971875,
2184
+ "grad_norm": 5.3050104754360525,
2185
+ "learning_rate": 0.00016145833333333333,
2186
+ "loss": 0.7087,
2187
+ "step": 311
2188
+ },
2189
+ {
2190
+ "epoch": 0.975,
2191
+ "grad_norm": 4.98614798038132,
2192
+ "learning_rate": 0.0001619791666666667,
2193
+ "loss": 0.6785,
2194
+ "step": 312
2195
+ },
2196
+ {
2197
+ "epoch": 0.978125,
2198
+ "grad_norm": 4.639878304940204,
2199
+ "learning_rate": 0.00016250000000000002,
2200
+ "loss": 0.6477,
2201
+ "step": 313
2202
+ },
2203
+ {
2204
+ "epoch": 0.98125,
2205
+ "grad_norm": 3.593971777115038,
2206
+ "learning_rate": 0.00016302083333333332,
2207
+ "loss": 0.5836,
2208
+ "step": 314
2209
+ },
2210
+ {
2211
+ "epoch": 0.984375,
2212
+ "grad_norm": 4.287283690498829,
2213
+ "learning_rate": 0.00016354166666666668,
2214
+ "loss": 0.6399,
2215
+ "step": 315
2216
+ },
2217
+ {
2218
+ "epoch": 0.9875,
2219
+ "grad_norm": 2.9784776593955806,
2220
+ "learning_rate": 0.0001640625,
2221
+ "loss": 0.5512,
2222
+ "step": 316
2223
+ },
2224
+ {
2225
+ "epoch": 0.990625,
2226
+ "grad_norm": 5.564221306406586,
2227
+ "learning_rate": 0.00016458333333333334,
2228
+ "loss": 0.6978,
2229
+ "step": 317
2230
+ },
2231
+ {
2232
+ "epoch": 0.99375,
2233
+ "grad_norm": 4.42395876676637,
2234
+ "learning_rate": 0.00016510416666666667,
2235
+ "loss": 0.6639,
2236
+ "step": 318
2237
+ },
2238
+ {
2239
+ "epoch": 0.996875,
2240
+ "grad_norm": 4.140311353469645,
2241
+ "learning_rate": 0.000165625,
2242
+ "loss": 0.6476,
2243
+ "step": 319
2244
+ },
2245
+ {
2246
+ "epoch": 1.0,
2247
+ "grad_norm": 4.561580859386521,
2248
+ "learning_rate": 0.00016614583333333333,
2249
+ "loss": 0.6309,
2250
+ "step": 320
2251
+ },
2252
+ {
2253
+ "epoch": 1.003125,
2254
+ "grad_norm": 4.434609821187959,
2255
+ "learning_rate": 0.0001666666666666667,
2256
+ "loss": 0.5968,
2257
+ "step": 321
2258
+ },
2259
+ {
2260
+ "epoch": 1.00625,
2261
+ "grad_norm": 4.033931087729723,
2262
+ "learning_rate": 0.00016718750000000002,
2263
+ "loss": 0.612,
2264
+ "step": 322
2265
+ },
2266
+ {
2267
+ "epoch": 1.009375,
2268
+ "grad_norm": 3.668618116153994,
2269
+ "learning_rate": 0.00016770833333333332,
2270
+ "loss": 0.5852,
2271
+ "step": 323
2272
+ },
2273
+ {
2274
+ "epoch": 1.0125,
2275
+ "grad_norm": 3.303816620597269,
2276
+ "learning_rate": 0.00016822916666666668,
2277
+ "loss": 0.582,
2278
+ "step": 324
2279
+ },
2280
+ {
2281
+ "epoch": 1.015625,
2282
+ "grad_norm": 5.842683135889451,
2283
+ "learning_rate": 0.00016875,
2284
+ "loss": 0.6734,
2285
+ "step": 325
2286
+ },
2287
+ {
2288
+ "epoch": 1.01875,
2289
+ "grad_norm": 4.929416158829141,
2290
+ "learning_rate": 0.00016927083333333334,
2291
+ "loss": 0.6835,
2292
+ "step": 326
2293
+ },
2294
+ {
2295
+ "epoch": 1.021875,
2296
+ "grad_norm": 6.063302192931308,
2297
+ "learning_rate": 0.00016979166666666667,
2298
+ "loss": 0.6708,
2299
+ "step": 327
2300
+ },
2301
+ {
2302
+ "epoch": 1.025,
2303
+ "grad_norm": 4.6947744345482185,
2304
+ "learning_rate": 0.0001703125,
2305
+ "loss": 0.5882,
2306
+ "step": 328
2307
+ },
2308
+ {
2309
+ "epoch": 1.028125,
2310
+ "grad_norm": 6.192987624369097,
2311
+ "learning_rate": 0.00017083333333333333,
2312
+ "loss": 0.6155,
2313
+ "step": 329
2314
+ },
2315
+ {
2316
+ "epoch": 1.03125,
2317
+ "grad_norm": 5.968012128174232,
2318
+ "learning_rate": 0.0001713541666666667,
2319
+ "loss": 0.7291,
2320
+ "step": 330
2321
+ },
2322
+ {
2323
+ "epoch": 1.034375,
2324
+ "grad_norm": 4.132939310548836,
2325
+ "learning_rate": 0.00017187500000000002,
2326
+ "loss": 0.572,
2327
+ "step": 331
2328
+ },
2329
+ {
2330
+ "epoch": 1.0375,
2331
+ "grad_norm": 3.960470052640584,
2332
+ "learning_rate": 0.00017239583333333335,
2333
+ "loss": 0.5826,
2334
+ "step": 332
2335
+ },
2336
+ {
2337
+ "epoch": 1.040625,
2338
+ "grad_norm": 3.9920661904821557,
2339
+ "learning_rate": 0.00017291666666666668,
2340
+ "loss": 0.5968,
2341
+ "step": 333
2342
+ },
2343
+ {
2344
+ "epoch": 1.04375,
2345
+ "grad_norm": 3.585872072815213,
2346
+ "learning_rate": 0.0001734375,
2347
+ "loss": 0.5658,
2348
+ "step": 334
2349
+ },
2350
+ {
2351
+ "epoch": 1.046875,
2352
+ "grad_norm": 4.504950881201075,
2353
+ "learning_rate": 0.00017395833333333334,
2354
+ "loss": 0.6037,
2355
+ "step": 335
2356
+ },
2357
+ {
2358
+ "epoch": 1.05,
2359
+ "grad_norm": 3.1469345496615584,
2360
+ "learning_rate": 0.0001744791666666667,
2361
+ "loss": 0.6137,
2362
+ "step": 336
2363
+ },
2364
+ {
2365
+ "epoch": 1.053125,
2366
+ "grad_norm": 5.747219318871885,
2367
+ "learning_rate": 0.000175,
2368
+ "loss": 0.6002,
2369
+ "step": 337
2370
+ },
2371
+ {
2372
+ "epoch": 1.05625,
2373
+ "grad_norm": 4.520617585503134,
2374
+ "learning_rate": 0.00017552083333333333,
2375
+ "loss": 0.6405,
2376
+ "step": 338
2377
+ },
2378
+ {
2379
+ "epoch": 1.059375,
2380
+ "grad_norm": 4.569181141830411,
2381
+ "learning_rate": 0.00017604166666666669,
2382
+ "loss": 0.5438,
2383
+ "step": 339
2384
+ },
2385
+ {
2386
+ "epoch": 1.0625,
2387
+ "grad_norm": 3.9784246978308655,
2388
+ "learning_rate": 0.00017656250000000002,
2389
+ "loss": 0.6246,
2390
+ "step": 340
2391
+ },
2392
+ {
2393
+ "epoch": 1.065625,
2394
+ "grad_norm": 3.8001801824838353,
2395
+ "learning_rate": 0.00017708333333333335,
2396
+ "loss": 0.5996,
2397
+ "step": 341
2398
+ },
2399
+ {
2400
+ "epoch": 1.06875,
2401
+ "grad_norm": 3.034079840363021,
2402
+ "learning_rate": 0.00017760416666666668,
2403
+ "loss": 0.5843,
2404
+ "step": 342
2405
+ },
2406
+ {
2407
+ "epoch": 1.071875,
2408
+ "grad_norm": 3.876331687428292,
2409
+ "learning_rate": 0.000178125,
2410
+ "loss": 0.615,
2411
+ "step": 343
2412
+ },
2413
+ {
2414
+ "epoch": 1.075,
2415
+ "grad_norm": 4.635798079642919,
2416
+ "learning_rate": 0.00017864583333333334,
2417
+ "loss": 0.6124,
2418
+ "step": 344
2419
+ },
2420
+ {
2421
+ "epoch": 1.078125,
2422
+ "grad_norm": 2.335432423002044,
2423
+ "learning_rate": 0.0001791666666666667,
2424
+ "loss": 0.5488,
2425
+ "step": 345
2426
+ },
2427
+ {
2428
+ "epoch": 1.08125,
2429
+ "grad_norm": 4.785942622491517,
2430
+ "learning_rate": 0.0001796875,
2431
+ "loss": 0.5998,
2432
+ "step": 346
2433
+ },
2434
+ {
2435
+ "epoch": 1.084375,
2436
+ "grad_norm": 3.0759621265468136,
2437
+ "learning_rate": 0.00018020833333333333,
2438
+ "loss": 0.6086,
2439
+ "step": 347
2440
+ },
2441
+ {
2442
+ "epoch": 1.0875,
2443
+ "grad_norm": 4.2039670911038645,
2444
+ "learning_rate": 0.00018072916666666668,
2445
+ "loss": 0.5477,
2446
+ "step": 348
2447
+ },
2448
+ {
2449
+ "epoch": 1.090625,
2450
+ "grad_norm": 4.027958185916663,
2451
+ "learning_rate": 0.00018125000000000001,
2452
+ "loss": 0.6339,
2453
+ "step": 349
2454
+ },
2455
+ {
2456
+ "epoch": 1.09375,
2457
+ "grad_norm": 2.862234750388971,
2458
+ "learning_rate": 0.00018177083333333334,
2459
+ "loss": 0.572,
2460
+ "step": 350
2461
+ },
2462
+ {
2463
+ "epoch": 1.096875,
2464
+ "grad_norm": 5.757871063053227,
2465
+ "learning_rate": 0.00018229166666666667,
2466
+ "loss": 0.6529,
2467
+ "step": 351
2468
+ },
2469
+ {
2470
+ "epoch": 1.1,
2471
+ "grad_norm": 4.099736087688541,
2472
+ "learning_rate": 0.0001828125,
2473
+ "loss": 0.6555,
2474
+ "step": 352
2475
+ },
2476
+ {
2477
+ "epoch": 1.103125,
2478
+ "grad_norm": 5.460147996487453,
2479
+ "learning_rate": 0.00018333333333333334,
2480
+ "loss": 0.6182,
2481
+ "step": 353
2482
+ },
2483
+ {
2484
+ "epoch": 1.10625,
2485
+ "grad_norm": 4.914741003135554,
2486
+ "learning_rate": 0.0001838541666666667,
2487
+ "loss": 0.627,
2488
+ "step": 354
2489
+ },
2490
+ {
2491
+ "epoch": 1.109375,
2492
+ "grad_norm": 5.631606820737119,
2493
+ "learning_rate": 0.000184375,
2494
+ "loss": 0.6217,
2495
+ "step": 355
2496
+ },
2497
+ {
2498
+ "epoch": 1.1125,
2499
+ "grad_norm": 4.180371014207427,
2500
+ "learning_rate": 0.00018489583333333333,
2501
+ "loss": 0.6211,
2502
+ "step": 356
2503
+ },
2504
+ {
2505
+ "epoch": 1.115625,
2506
+ "grad_norm": 6.29508654977305,
2507
+ "learning_rate": 0.00018541666666666668,
2508
+ "loss": 0.6882,
2509
+ "step": 357
2510
+ },
2511
+ {
2512
+ "epoch": 1.11875,
2513
+ "grad_norm": 5.623785702087407,
2514
+ "learning_rate": 0.0001859375,
2515
+ "loss": 0.714,
2516
+ "step": 358
2517
+ },
2518
+ {
2519
+ "epoch": 1.121875,
2520
+ "grad_norm": 4.033768210280031,
2521
+ "learning_rate": 0.00018645833333333334,
2522
+ "loss": 0.5804,
2523
+ "step": 359
2524
+ },
2525
+ {
2526
+ "epoch": 1.125,
2527
+ "grad_norm": 5.4054964903748015,
2528
+ "learning_rate": 0.00018697916666666667,
2529
+ "loss": 0.6733,
2530
+ "step": 360
2531
+ },
2532
+ {
2533
+ "epoch": 1.128125,
2534
+ "grad_norm": 3.2916387927953217,
2535
+ "learning_rate": 0.0001875,
2536
+ "loss": 0.6227,
2537
+ "step": 361
2538
+ },
2539
+ {
2540
+ "epoch": 1.13125,
2541
+ "grad_norm": 6.953763180473268,
2542
+ "learning_rate": 0.00018802083333333333,
2543
+ "loss": 0.6485,
2544
+ "step": 362
2545
+ },
2546
+ {
2547
+ "epoch": 1.134375,
2548
+ "grad_norm": 5.144823067162498,
2549
+ "learning_rate": 0.0001885416666666667,
2550
+ "loss": 0.6367,
2551
+ "step": 363
2552
+ },
2553
+ {
2554
+ "epoch": 1.1375,
2555
+ "grad_norm": 6.345477212391719,
2556
+ "learning_rate": 0.00018906250000000002,
2557
+ "loss": 0.679,
2558
+ "step": 364
2559
+ },
2560
+ {
2561
+ "epoch": 1.140625,
2562
+ "grad_norm": 5.521239313714407,
2563
+ "learning_rate": 0.00018958333333333332,
2564
+ "loss": 0.6169,
2565
+ "step": 365
2566
+ },
2567
+ {
2568
+ "epoch": 1.14375,
2569
+ "grad_norm": 5.919307096024343,
2570
+ "learning_rate": 0.00019010416666666668,
2571
+ "loss": 0.6229,
2572
+ "step": 366
2573
+ },
2574
+ {
2575
+ "epoch": 1.146875,
2576
+ "grad_norm": 4.767283639783667,
2577
+ "learning_rate": 0.000190625,
2578
+ "loss": 0.6573,
2579
+ "step": 367
2580
+ },
2581
+ {
2582
+ "epoch": 1.15,
2583
+ "grad_norm": 5.697884009205893,
2584
+ "learning_rate": 0.00019114583333333334,
2585
+ "loss": 0.6571,
2586
+ "step": 368
2587
+ },
2588
+ {
2589
+ "epoch": 1.153125,
2590
+ "grad_norm": 4.448168254264531,
2591
+ "learning_rate": 0.00019166666666666667,
2592
+ "loss": 0.6302,
2593
+ "step": 369
2594
+ },
2595
+ {
2596
+ "epoch": 1.15625,
2597
+ "grad_norm": 4.642921977216857,
2598
+ "learning_rate": 0.0001921875,
2599
+ "loss": 0.5758,
2600
+ "step": 370
2601
+ },
2602
+ {
2603
+ "epoch": 1.159375,
2604
+ "grad_norm": 4.213613761616212,
2605
+ "learning_rate": 0.00019270833333333333,
2606
+ "loss": 0.6153,
2607
+ "step": 371
2608
+ },
2609
+ {
2610
+ "epoch": 1.1625,
2611
+ "grad_norm": 4.149635364368779,
2612
+ "learning_rate": 0.0001932291666666667,
2613
+ "loss": 0.6129,
2614
+ "step": 372
2615
+ },
2616
+ {
2617
+ "epoch": 1.165625,
2618
+ "grad_norm": 3.720503855815432,
2619
+ "learning_rate": 0.00019375000000000002,
2620
+ "loss": 0.622,
2621
+ "step": 373
2622
+ },
2623
+ {
2624
+ "epoch": 1.16875,
2625
+ "grad_norm": 4.545708715962929,
2626
+ "learning_rate": 0.00019427083333333332,
2627
+ "loss": 0.5517,
2628
+ "step": 374
2629
+ },
2630
+ {
2631
+ "epoch": 1.171875,
2632
+ "grad_norm": 3.581342691314205,
2633
+ "learning_rate": 0.00019479166666666668,
2634
+ "loss": 0.5441,
2635
+ "step": 375
2636
+ },
2637
+ {
2638
+ "epoch": 1.175,
2639
+ "grad_norm": 3.6231310988073524,
2640
+ "learning_rate": 0.0001953125,
2641
+ "loss": 0.5731,
2642
+ "step": 376
2643
+ },
2644
+ {
2645
+ "epoch": 1.178125,
2646
+ "grad_norm": 3.0983955669977594,
2647
+ "learning_rate": 0.00019583333333333334,
2648
+ "loss": 0.5655,
2649
+ "step": 377
2650
+ },
2651
+ {
2652
+ "epoch": 1.18125,
2653
+ "grad_norm": 3.3190691945194826,
2654
+ "learning_rate": 0.00019635416666666667,
2655
+ "loss": 0.5668,
2656
+ "step": 378
2657
+ },
2658
+ {
2659
+ "epoch": 1.184375,
2660
+ "grad_norm": 3.4501535392004556,
2661
+ "learning_rate": 0.000196875,
2662
+ "loss": 0.5884,
2663
+ "step": 379
2664
+ },
2665
+ {
2666
+ "epoch": 1.1875,
2667
+ "grad_norm": 3.0103578703577876,
2668
+ "learning_rate": 0.00019739583333333333,
2669
+ "loss": 0.5464,
2670
+ "step": 380
2671
+ },
2672
+ {
2673
+ "epoch": 1.190625,
2674
+ "grad_norm": 4.042886233808065,
2675
+ "learning_rate": 0.0001979166666666667,
2676
+ "loss": 0.5546,
2677
+ "step": 381
2678
+ },
2679
+ {
2680
+ "epoch": 1.19375,
2681
+ "grad_norm": 2.5784932247763,
2682
+ "learning_rate": 0.00019843750000000002,
2683
+ "loss": 0.5198,
2684
+ "step": 382
2685
+ },
2686
+ {
2687
+ "epoch": 1.196875,
2688
+ "grad_norm": 5.067105876382611,
2689
+ "learning_rate": 0.00019895833333333332,
2690
+ "loss": 0.5932,
2691
+ "step": 383
2692
+ },
2693
+ {
2694
+ "epoch": 1.2,
2695
+ "grad_norm": 2.9767294457122655,
2696
+ "learning_rate": 0.00019947916666666668,
2697
+ "loss": 0.5017,
2698
+ "step": 384
2699
+ },
2700
+ {
2701
+ "epoch": 1.203125,
2702
+ "grad_norm": 4.8940852716921,
2703
+ "learning_rate": 0.0002,
2704
+ "loss": 0.5745,
2705
+ "step": 385
2706
+ },
2707
+ {
2708
+ "epoch": 1.20625,
2709
+ "grad_norm": 4.333946023984807,
2710
+ "learning_rate": 0.0001999999967988477,
2711
+ "loss": 0.616,
2712
+ "step": 386
2713
+ },
2714
+ {
2715
+ "epoch": 1.209375,
2716
+ "grad_norm": 5.093976652912978,
2717
+ "learning_rate": 0.00019999998719539094,
2718
+ "loss": 0.6451,
2719
+ "step": 387
2720
+ },
2721
+ {
2722
+ "epoch": 1.2125,
2723
+ "grad_norm": 4.2881978831171415,
2724
+ "learning_rate": 0.00019999997118963037,
2725
+ "loss": 0.6015,
2726
+ "step": 388
2727
+ },
2728
+ {
2729
+ "epoch": 1.215625,
2730
+ "grad_norm": 4.7565437026635955,
2731
+ "learning_rate": 0.000199999948781567,
2732
+ "loss": 0.5807,
2733
+ "step": 389
2734
+ },
2735
+ {
2736
+ "epoch": 1.21875,
2737
+ "grad_norm": 3.8014460966358823,
2738
+ "learning_rate": 0.00019999991997120227,
2739
+ "loss": 0.5946,
2740
+ "step": 390
2741
+ },
2742
+ {
2743
+ "epoch": 1.221875,
2744
+ "grad_norm": 4.266773944541441,
2745
+ "learning_rate": 0.00019999988475853802,
2746
+ "loss": 0.5801,
2747
+ "step": 391
2748
+ },
2749
+ {
2750
+ "epoch": 1.225,
2751
+ "grad_norm": 3.212291016698606,
2752
+ "learning_rate": 0.00019999984314357652,
2753
+ "loss": 0.5527,
2754
+ "step": 392
2755
+ },
2756
+ {
2757
+ "epoch": 1.228125,
2758
+ "grad_norm": 4.552307155908715,
2759
+ "learning_rate": 0.0001999997951263204,
2760
+ "loss": 0.643,
2761
+ "step": 393
2762
+ },
2763
+ {
2764
+ "epoch": 1.23125,
2765
+ "grad_norm": 3.3806578652171155,
2766
+ "learning_rate": 0.00019999974070677277,
2767
+ "loss": 0.593,
2768
+ "step": 394
2769
+ },
2770
+ {
2771
+ "epoch": 1.234375,
2772
+ "grad_norm": 3.4233889432997295,
2773
+ "learning_rate": 0.0001999996798849371,
2774
+ "loss": 0.5769,
2775
+ "step": 395
2776
+ },
2777
+ {
2778
+ "epoch": 1.2375,
2779
+ "grad_norm": 2.8124449711658137,
2780
+ "learning_rate": 0.0001999996126608173,
2781
+ "loss": 0.5415,
2782
+ "step": 396
2783
+ },
2784
+ {
2785
+ "epoch": 1.240625,
2786
+ "grad_norm": 3.625572686591024,
2787
+ "learning_rate": 0.00019999953903441763,
2788
+ "loss": 0.5659,
2789
+ "step": 397
2790
+ },
2791
+ {
2792
+ "epoch": 1.24375,
2793
+ "grad_norm": 2.3227203649344004,
2794
+ "learning_rate": 0.00019999945900574289,
2795
+ "loss": 0.5364,
2796
+ "step": 398
2797
+ },
2798
+ {
2799
+ "epoch": 1.246875,
2800
+ "grad_norm": 5.252930551183527,
2801
+ "learning_rate": 0.00019999937257479807,
2802
+ "loss": 0.578,
2803
+ "step": 399
2804
+ },
2805
+ {
2806
+ "epoch": 1.25,
2807
+ "grad_norm": 4.3721674508660096,
2808
+ "learning_rate": 0.00019999927974158883,
2809
+ "loss": 0.587,
2810
+ "step": 400
2811
+ },
2812
+ {
2813
+ "epoch": 1.253125,
2814
+ "grad_norm": 3.1202241697706565,
2815
+ "learning_rate": 0.00019999918050612108,
2816
+ "loss": 0.5307,
2817
+ "step": 401
2818
+ },
2819
+ {
2820
+ "epoch": 1.25625,
2821
+ "grad_norm": 4.029798825672641,
2822
+ "learning_rate": 0.00019999907486840113,
2823
+ "loss": 0.5431,
2824
+ "step": 402
2825
+ },
2826
+ {
2827
+ "epoch": 1.259375,
2828
+ "grad_norm": 2.9257069930809187,
2829
+ "learning_rate": 0.00019999896282843575,
2830
+ "loss": 0.5401,
2831
+ "step": 403
2832
+ },
2833
+ {
2834
+ "epoch": 1.2625,
2835
+ "grad_norm": 3.911075928594739,
2836
+ "learning_rate": 0.00019999884438623216,
2837
+ "loss": 0.5101,
2838
+ "step": 404
2839
+ },
2840
+ {
2841
+ "epoch": 1.265625,
2842
+ "grad_norm": 3.0992066994896583,
2843
+ "learning_rate": 0.00019999871954179792,
2844
+ "loss": 0.5742,
2845
+ "step": 405
2846
+ },
2847
+ {
2848
+ "epoch": 1.26875,
2849
+ "grad_norm": 3.5805638013032732,
2850
+ "learning_rate": 0.000199998588295141,
2851
+ "loss": 0.5687,
2852
+ "step": 406
2853
+ },
2854
+ {
2855
+ "epoch": 1.271875,
2856
+ "grad_norm": 2.681444363924163,
2857
+ "learning_rate": 0.00019999845064626982,
2858
+ "loss": 0.5717,
2859
+ "step": 407
2860
+ },
2861
+ {
2862
+ "epoch": 1.275,
2863
+ "grad_norm": 2.7972868007210767,
2864
+ "learning_rate": 0.0001999983065951932,
2865
+ "loss": 0.5501,
2866
+ "step": 408
2867
+ },
2868
+ {
2869
+ "epoch": 1.278125,
2870
+ "grad_norm": 4.085054846207015,
2871
+ "learning_rate": 0.00019999815614192036,
2872
+ "loss": 0.5172,
2873
+ "step": 409
2874
+ },
2875
+ {
2876
+ "epoch": 1.28125,
2877
+ "grad_norm": 2.693152743035582,
2878
+ "learning_rate": 0.00019999799928646094,
2879
+ "loss": 0.552,
2880
+ "step": 410
2881
+ },
2882
+ {
2883
+ "epoch": 1.284375,
2884
+ "grad_norm": 4.543906959537988,
2885
+ "learning_rate": 0.00019999783602882496,
2886
+ "loss": 0.6084,
2887
+ "step": 411
2888
+ },
2889
+ {
2890
+ "epoch": 1.2875,
2891
+ "grad_norm": 2.883724076312403,
2892
+ "learning_rate": 0.00019999766636902288,
2893
+ "loss": 0.6001,
2894
+ "step": 412
2895
+ },
2896
+ {
2897
+ "epoch": 1.290625,
2898
+ "grad_norm": 3.9635490001420015,
2899
+ "learning_rate": 0.0001999974903070656,
2900
+ "loss": 0.5454,
2901
+ "step": 413
2902
+ },
2903
+ {
2904
+ "epoch": 1.29375,
2905
+ "grad_norm": 2.731161973299382,
2906
+ "learning_rate": 0.00019999730784296433,
2907
+ "loss": 0.5728,
2908
+ "step": 414
2909
+ },
2910
+ {
2911
+ "epoch": 1.296875,
2912
+ "grad_norm": 5.468166004466353,
2913
+ "learning_rate": 0.0001999971189767308,
2914
+ "loss": 0.6353,
2915
+ "step": 415
2916
+ },
2917
+ {
2918
+ "epoch": 1.3,
2919
+ "grad_norm": 3.195340206239341,
2920
+ "learning_rate": 0.00019999692370837707,
2921
+ "loss": 0.5856,
2922
+ "step": 416
2923
+ },
2924
+ {
2925
+ "epoch": 1.303125,
2926
+ "grad_norm": 5.623783576070044,
2927
+ "learning_rate": 0.00019999672203791565,
2928
+ "loss": 0.5977,
2929
+ "step": 417
2930
+ },
2931
+ {
2932
+ "epoch": 1.30625,
2933
+ "grad_norm": 4.692322670510212,
2934
+ "learning_rate": 0.00019999651396535945,
2935
+ "loss": 0.5914,
2936
+ "step": 418
2937
+ },
2938
+ {
2939
+ "epoch": 1.309375,
2940
+ "grad_norm": 3.954568184680778,
2941
+ "learning_rate": 0.0001999962994907218,
2942
+ "loss": 0.5213,
2943
+ "step": 419
2944
+ },
2945
+ {
2946
+ "epoch": 1.3125,
2947
+ "grad_norm": 4.136861297309464,
2948
+ "learning_rate": 0.00019999607861401645,
2949
+ "loss": 0.5308,
2950
+ "step": 420
2951
+ },
2952
+ {
2953
+ "epoch": 1.315625,
2954
+ "grad_norm": 3.615770213787855,
2955
+ "learning_rate": 0.00019999585133525746,
2956
+ "loss": 0.5723,
2957
+ "step": 421
2958
+ },
2959
+ {
2960
+ "epoch": 1.31875,
2961
+ "grad_norm": 2.9300725255491367,
2962
+ "learning_rate": 0.00019999561765445952,
2963
+ "loss": 0.5139,
2964
+ "step": 422
2965
+ },
2966
+ {
2967
+ "epoch": 1.321875,
2968
+ "grad_norm": 3.348457829733626,
2969
+ "learning_rate": 0.00019999537757163746,
2970
+ "loss": 0.5599,
2971
+ "step": 423
2972
+ },
2973
+ {
2974
+ "epoch": 1.325,
2975
+ "grad_norm": 3.4438568677902017,
2976
+ "learning_rate": 0.00019999513108680673,
2977
+ "loss": 0.5402,
2978
+ "step": 424
2979
+ },
2980
+ {
2981
+ "epoch": 1.328125,
2982
+ "grad_norm": 3.8973380329575273,
2983
+ "learning_rate": 0.00019999487819998305,
2984
+ "loss": 0.6013,
2985
+ "step": 425
2986
+ },
2987
+ {
2988
+ "epoch": 1.33125,
2989
+ "grad_norm": 2.544244396987993,
2990
+ "learning_rate": 0.00019999461891118266,
2991
+ "loss": 0.5641,
2992
+ "step": 426
2993
+ },
2994
+ {
2995
+ "epoch": 1.334375,
2996
+ "grad_norm": 3.8790631885370894,
2997
+ "learning_rate": 0.00019999435322042217,
2998
+ "loss": 0.5024,
2999
+ "step": 427
3000
+ },
3001
+ {
3002
+ "epoch": 1.3375,
3003
+ "grad_norm": 3.7697598697037527,
3004
+ "learning_rate": 0.00019999408112771853,
3005
+ "loss": 0.5722,
3006
+ "step": 428
3007
+ },
3008
+ {
3009
+ "epoch": 1.340625,
3010
+ "grad_norm": 2.839502929655522,
3011
+ "learning_rate": 0.0001999938026330892,
3012
+ "loss": 0.6027,
3013
+ "step": 429
3014
+ },
3015
+ {
3016
+ "epoch": 1.34375,
3017
+ "grad_norm": 3.45233079645525,
3018
+ "learning_rate": 0.00019999351773655204,
3019
+ "loss": 0.5905,
3020
+ "step": 430
3021
+ },
3022
+ {
3023
+ "epoch": 1.346875,
3024
+ "grad_norm": 3.621918441298716,
3025
+ "learning_rate": 0.0001999932264381252,
3026
+ "loss": 0.5688,
3027
+ "step": 431
3028
+ },
3029
+ {
3030
+ "epoch": 1.35,
3031
+ "grad_norm": 2.348120809505185,
3032
+ "learning_rate": 0.0001999929287378274,
3033
+ "loss": 0.5413,
3034
+ "step": 432
3035
+ },
3036
+ {
3037
+ "epoch": 1.353125,
3038
+ "grad_norm": 4.08459549931994,
3039
+ "learning_rate": 0.00019999262463567773,
3040
+ "loss": 0.5694,
3041
+ "step": 433
3042
+ },
3043
+ {
3044
+ "epoch": 1.35625,
3045
+ "grad_norm": 2.6346713908504023,
3046
+ "learning_rate": 0.00019999231413169556,
3047
+ "loss": 0.543,
3048
+ "step": 434
3049
+ },
3050
+ {
3051
+ "epoch": 1.359375,
3052
+ "grad_norm": 3.3167096234149964,
3053
+ "learning_rate": 0.00019999199722590085,
3054
+ "loss": 0.5308,
3055
+ "step": 435
3056
+ },
3057
+ {
3058
+ "epoch": 1.3625,
3059
+ "grad_norm": 2.6791404002072032,
3060
+ "learning_rate": 0.00019999167391831387,
3061
+ "loss": 0.5298,
3062
+ "step": 436
3063
+ },
3064
+ {
3065
+ "epoch": 1.365625,
3066
+ "grad_norm": 3.4841203686972757,
3067
+ "learning_rate": 0.0001999913442089553,
3068
+ "loss": 0.5679,
3069
+ "step": 437
3070
+ },
3071
+ {
3072
+ "epoch": 1.36875,
3073
+ "grad_norm": 2.9536436274783275,
3074
+ "learning_rate": 0.00019999100809784624,
3075
+ "loss": 0.5635,
3076
+ "step": 438
3077
+ },
3078
+ {
3079
+ "epoch": 1.371875,
3080
+ "grad_norm": 2.835194073224616,
3081
+ "learning_rate": 0.00019999066558500827,
3082
+ "loss": 0.4898,
3083
+ "step": 439
3084
+ },
3085
+ {
3086
+ "epoch": 1.375,
3087
+ "grad_norm": 2.781774587646673,
3088
+ "learning_rate": 0.00019999031667046322,
3089
+ "loss": 0.5007,
3090
+ "step": 440
3091
+ },
3092
+ {
3093
+ "epoch": 1.378125,
3094
+ "grad_norm": 2.208584429068845,
3095
+ "learning_rate": 0.00019998996135423352,
3096
+ "loss": 0.5729,
3097
+ "step": 441
3098
+ },
3099
+ {
3100
+ "epoch": 1.38125,
3101
+ "grad_norm": 2.2587000899586274,
3102
+ "learning_rate": 0.0001999895996363419,
3103
+ "loss": 0.5187,
3104
+ "step": 442
3105
+ },
3106
+ {
3107
+ "epoch": 1.384375,
3108
+ "grad_norm": 2.3952388352439122,
3109
+ "learning_rate": 0.00019998923151681147,
3110
+ "loss": 0.4604,
3111
+ "step": 443
3112
+ },
3113
+ {
3114
+ "epoch": 1.3875,
3115
+ "grad_norm": 2.3986265537515337,
3116
+ "learning_rate": 0.00019998885699566588,
3117
+ "loss": 0.5013,
3118
+ "step": 444
3119
+ },
3120
+ {
3121
+ "epoch": 1.390625,
3122
+ "grad_norm": 3.925642267628311,
3123
+ "learning_rate": 0.000199988476072929,
3124
+ "loss": 0.516,
3125
+ "step": 445
3126
+ },
3127
+ {
3128
+ "epoch": 1.39375,
3129
+ "grad_norm": 1.8832343973114467,
3130
+ "learning_rate": 0.00019998808874862532,
3131
+ "loss": 0.5272,
3132
+ "step": 446
3133
+ },
3134
+ {
3135
+ "epoch": 1.396875,
3136
+ "grad_norm": 4.692073484437634,
3137
+ "learning_rate": 0.0001999876950227796,
3138
+ "loss": 0.5895,
3139
+ "step": 447
3140
+ },
3141
+ {
3142
+ "epoch": 1.4,
3143
+ "grad_norm": 2.7189004688911385,
3144
+ "learning_rate": 0.00019998729489541703,
3145
+ "loss": 0.5114,
3146
+ "step": 448
3147
+ },
3148
+ {
3149
+ "epoch": 1.403125,
3150
+ "grad_norm": 5.458041477832237,
3151
+ "learning_rate": 0.00019998688836656323,
3152
+ "loss": 0.6303,
3153
+ "step": 449
3154
+ },
3155
+ {
3156
+ "epoch": 1.40625,
3157
+ "grad_norm": 3.8740132507053353,
3158
+ "learning_rate": 0.00019998647543624425,
3159
+ "loss": 0.5708,
3160
+ "step": 450
3161
+ },
3162
+ {
3163
+ "epoch": 1.409375,
3164
+ "grad_norm": 4.663852862102554,
3165
+ "learning_rate": 0.0001999860561044865,
3166
+ "loss": 0.5054,
3167
+ "step": 451
3168
+ },
3169
+ {
3170
+ "epoch": 1.4125,
3171
+ "grad_norm": 4.236208251222634,
3172
+ "learning_rate": 0.00019998563037131682,
3173
+ "loss": 0.6268,
3174
+ "step": 452
3175
+ },
3176
+ {
3177
+ "epoch": 1.415625,
3178
+ "grad_norm": 3.524886794904158,
3179
+ "learning_rate": 0.00019998519823676253,
3180
+ "loss": 0.5446,
3181
+ "step": 453
3182
+ },
3183
+ {
3184
+ "epoch": 1.41875,
3185
+ "grad_norm": 3.653003723788189,
3186
+ "learning_rate": 0.00019998475970085125,
3187
+ "loss": 0.5566,
3188
+ "step": 454
3189
+ },
3190
+ {
3191
+ "epoch": 1.421875,
3192
+ "grad_norm": 3.133791650542882,
3193
+ "learning_rate": 0.00019998431476361106,
3194
+ "loss": 0.5152,
3195
+ "step": 455
3196
+ },
3197
+ {
3198
+ "epoch": 1.425,
3199
+ "grad_norm": 2.5802764294356706,
3200
+ "learning_rate": 0.00019998386342507044,
3201
+ "loss": 0.4878,
3202
+ "step": 456
3203
+ },
3204
+ {
3205
+ "epoch": 1.428125,
3206
+ "grad_norm": 3.656491891052452,
3207
+ "learning_rate": 0.0001999834056852583,
3208
+ "loss": 0.6039,
3209
+ "step": 457
3210
+ },
3211
+ {
3212
+ "epoch": 1.43125,
3213
+ "grad_norm": 3.689518376360162,
3214
+ "learning_rate": 0.00019998294154420393,
3215
+ "loss": 0.5489,
3216
+ "step": 458
3217
+ },
3218
+ {
3219
+ "epoch": 1.434375,
3220
+ "grad_norm": 3.0169402432450254,
3221
+ "learning_rate": 0.00019998247100193702,
3222
+ "loss": 0.4919,
3223
+ "step": 459
3224
+ },
3225
+ {
3226
+ "epoch": 1.4375,
3227
+ "grad_norm": 2.2947838041021904,
3228
+ "learning_rate": 0.0001999819940584878,
3229
+ "loss": 0.4612,
3230
+ "step": 460
3231
+ },
3232
+ {
3233
+ "epoch": 1.440625,
3234
+ "grad_norm": 4.3157378953925285,
3235
+ "learning_rate": 0.00019998151071388672,
3236
+ "loss": 0.5555,
3237
+ "step": 461
3238
+ },
3239
+ {
3240
+ "epoch": 1.44375,
3241
+ "grad_norm": 3.331016514811397,
3242
+ "learning_rate": 0.00019998102096816469,
3243
+ "loss": 0.5527,
3244
+ "step": 462
3245
+ },
3246
+ {
3247
+ "epoch": 1.446875,
3248
+ "grad_norm": 3.3099077873032345,
3249
+ "learning_rate": 0.00019998052482135314,
3250
+ "loss": 0.4998,
3251
+ "step": 463
3252
+ },
3253
+ {
3254
+ "epoch": 1.45,
3255
+ "grad_norm": 3.1142823326754874,
3256
+ "learning_rate": 0.00019998002227348383,
3257
+ "loss": 0.5235,
3258
+ "step": 464
3259
+ },
3260
+ {
3261
+ "epoch": 1.453125,
3262
+ "grad_norm": 3.9524533988710764,
3263
+ "learning_rate": 0.0001999795133245889,
3264
+ "loss": 0.5886,
3265
+ "step": 465
3266
+ },
3267
+ {
3268
+ "epoch": 1.45625,
3269
+ "grad_norm": 3.541960662228808,
3270
+ "learning_rate": 0.00019997899797470097,
3271
+ "loss": 0.4846,
3272
+ "step": 466
3273
+ },
3274
+ {
3275
+ "epoch": 1.459375,
3276
+ "grad_norm": 2.985533474202037,
3277
+ "learning_rate": 0.00019997847622385298,
3278
+ "loss": 0.574,
3279
+ "step": 467
3280
+ },
3281
+ {
3282
+ "epoch": 1.4625,
3283
+ "grad_norm": 3.9207440738080512,
3284
+ "learning_rate": 0.0001999779480720784,
3285
+ "loss": 0.5594,
3286
+ "step": 468
3287
+ },
3288
+ {
3289
+ "epoch": 1.465625,
3290
+ "grad_norm": 2.400502411740158,
3291
+ "learning_rate": 0.00019997741351941101,
3292
+ "loss": 0.5113,
3293
+ "step": 469
3294
+ },
3295
+ {
3296
+ "epoch": 1.46875,
3297
+ "grad_norm": 4.155918440406712,
3298
+ "learning_rate": 0.000199976872565885,
3299
+ "loss": 0.5631,
3300
+ "step": 470
3301
+ },
3302
+ {
3303
+ "epoch": 1.471875,
3304
+ "grad_norm": 4.3228454360372535,
3305
+ "learning_rate": 0.0001999763252115351,
3306
+ "loss": 0.6143,
3307
+ "step": 471
3308
+ },
3309
+ {
3310
+ "epoch": 1.475,
3311
+ "grad_norm": 3.1428945311392207,
3312
+ "learning_rate": 0.00019997577145639626,
3313
+ "loss": 0.4787,
3314
+ "step": 472
3315
+ },
3316
+ {
3317
+ "epoch": 1.478125,
3318
+ "grad_norm": 2.9261070905039683,
3319
+ "learning_rate": 0.00019997521130050394,
3320
+ "loss": 0.5132,
3321
+ "step": 473
3322
+ },
3323
+ {
3324
+ "epoch": 1.48125,
3325
+ "grad_norm": 3.4125204633658903,
3326
+ "learning_rate": 0.00019997464474389408,
3327
+ "loss": 0.5668,
3328
+ "step": 474
3329
+ },
3330
+ {
3331
+ "epoch": 1.484375,
3332
+ "grad_norm": 3.0614394470324786,
3333
+ "learning_rate": 0.00019997407178660285,
3334
+ "loss": 0.5237,
3335
+ "step": 475
3336
+ },
3337
+ {
3338
+ "epoch": 1.4875,
3339
+ "grad_norm": 2.7647602283996027,
3340
+ "learning_rate": 0.000199973492428667,
3341
+ "loss": 0.4709,
3342
+ "step": 476
3343
+ },
3344
+ {
3345
+ "epoch": 1.490625,
3346
+ "grad_norm": 3.4428009587630513,
3347
+ "learning_rate": 0.0001999729066701236,
3348
+ "loss": 0.5353,
3349
+ "step": 477
3350
+ },
3351
+ {
3352
+ "epoch": 1.49375,
3353
+ "grad_norm": 2.7375056626957646,
3354
+ "learning_rate": 0.00019997231451101017,
3355
+ "loss": 0.5056,
3356
+ "step": 478
3357
+ },
3358
+ {
3359
+ "epoch": 1.496875,
3360
+ "grad_norm": 3.2712438843146665,
3361
+ "learning_rate": 0.00019997171595136464,
3362
+ "loss": 0.4901,
3363
+ "step": 479
3364
+ },
3365
+ {
3366
+ "epoch": 1.5,
3367
+ "grad_norm": 2.6104083009852617,
3368
+ "learning_rate": 0.00019997111099122528,
3369
+ "loss": 0.5733,
3370
+ "step": 480
3371
+ },
3372
+ {
3373
+ "epoch": 1.503125,
3374
+ "grad_norm": 2.956546548553359,
3375
+ "learning_rate": 0.0001999704996306308,
3376
+ "loss": 0.5422,
3377
+ "step": 481
3378
+ },
3379
+ {
3380
+ "epoch": 1.50625,
3381
+ "grad_norm": 2.0881630180588417,
3382
+ "learning_rate": 0.00019996988186962041,
3383
+ "loss": 0.4988,
3384
+ "step": 482
3385
+ },
3386
+ {
3387
+ "epoch": 1.509375,
3388
+ "grad_norm": 3.1962973710170073,
3389
+ "learning_rate": 0.00019996925770823367,
3390
+ "loss": 0.5283,
3391
+ "step": 483
3392
+ },
3393
+ {
3394
+ "epoch": 1.5125,
3395
+ "grad_norm": 2.454784996915068,
3396
+ "learning_rate": 0.00019996862714651047,
3397
+ "loss": 0.485,
3398
+ "step": 484
3399
+ },
3400
+ {
3401
+ "epoch": 1.515625,
3402
+ "grad_norm": 2.6543098898421307,
3403
+ "learning_rate": 0.0001999679901844912,
3404
+ "loss": 0.5362,
3405
+ "step": 485
3406
+ },
3407
+ {
3408
+ "epoch": 1.51875,
3409
+ "grad_norm": 2.6734071676562166,
3410
+ "learning_rate": 0.0001999673468222167,
3411
+ "loss": 0.4973,
3412
+ "step": 486
3413
+ },
3414
+ {
3415
+ "epoch": 1.521875,
3416
+ "grad_norm": 3.5617138387287937,
3417
+ "learning_rate": 0.0001999666970597281,
3418
+ "loss": 0.4839,
3419
+ "step": 487
3420
+ },
3421
+ {
3422
+ "epoch": 1.525,
3423
+ "grad_norm": 2.40337813243574,
3424
+ "learning_rate": 0.00019996604089706703,
3425
+ "loss": 0.47,
3426
+ "step": 488
3427
+ },
3428
+ {
3429
+ "epoch": 1.528125,
3430
+ "grad_norm": 4.077643473345593,
3431
+ "learning_rate": 0.00019996537833427548,
3432
+ "loss": 0.5522,
3433
+ "step": 489
3434
+ },
3435
+ {
3436
+ "epoch": 1.53125,
3437
+ "grad_norm": 2.374710238948673,
3438
+ "learning_rate": 0.00019996470937139584,
3439
+ "loss": 0.5001,
3440
+ "step": 490
3441
+ },
3442
+ {
3443
+ "epoch": 1.534375,
3444
+ "grad_norm": 3.5332391386112043,
3445
+ "learning_rate": 0.00019996403400847102,
3446
+ "loss": 0.471,
3447
+ "step": 491
3448
+ },
3449
+ {
3450
+ "epoch": 1.5375,
3451
+ "grad_norm": 3.464037276431159,
3452
+ "learning_rate": 0.0001999633522455442,
3453
+ "loss": 0.5012,
3454
+ "step": 492
3455
+ },
3456
+ {
3457
+ "epoch": 1.540625,
3458
+ "grad_norm": 2.8912087075191533,
3459
+ "learning_rate": 0.00019996266408265902,
3460
+ "loss": 0.4912,
3461
+ "step": 493
3462
+ },
3463
+ {
3464
+ "epoch": 1.54375,
3465
+ "grad_norm": 2.433207544384389,
3466
+ "learning_rate": 0.00019996196951985957,
3467
+ "loss": 0.5065,
3468
+ "step": 494
3469
+ },
3470
+ {
3471
+ "epoch": 1.546875,
3472
+ "grad_norm": 2.3767389632937697,
3473
+ "learning_rate": 0.0001999612685571903,
3474
+ "loss": 0.4759,
3475
+ "step": 495
3476
+ },
3477
+ {
3478
+ "epoch": 1.55,
3479
+ "grad_norm": 2.650960704210614,
3480
+ "learning_rate": 0.0001999605611946961,
3481
+ "loss": 0.493,
3482
+ "step": 496
3483
+ },
3484
+ {
3485
+ "epoch": 1.553125,
3486
+ "grad_norm": 1.8470710846159393,
3487
+ "learning_rate": 0.00019995984743242226,
3488
+ "loss": 0.4616,
3489
+ "step": 497
3490
+ },
3491
+ {
3492
+ "epoch": 1.55625,
3493
+ "grad_norm": 2.8761005519647656,
3494
+ "learning_rate": 0.0001999591272704145,
3495
+ "loss": 0.5349,
3496
+ "step": 498
3497
+ },
3498
+ {
3499
+ "epoch": 1.559375,
3500
+ "grad_norm": 2.136684126309438,
3501
+ "learning_rate": 0.00019995840070871884,
3502
+ "loss": 0.4849,
3503
+ "step": 499
3504
+ },
3505
+ {
3506
+ "epoch": 1.5625,
3507
+ "grad_norm": 3.1258227469404387,
3508
+ "learning_rate": 0.00019995766774738187,
3509
+ "loss": 0.4858,
3510
+ "step": 500
3511
+ },
3512
+ {
3513
+ "epoch": 1.5625,
3514
+ "eval_loss": 0.11392344534397125,
3515
+ "eval_runtime": 179.6799,
3516
+ "eval_samples_per_second": 23.653,
3517
+ "eval_steps_per_second": 0.373,
3518
+ "step": 500
3519
+ }
3520
+ ],
3521
+ "logging_steps": 1.0,
3522
+ "max_steps": 12800,
3523
+ "num_input_tokens_seen": 0,
3524
+ "num_train_epochs": 40,
3525
+ "save_steps": 500,
3526
+ "stateful_callbacks": {
3527
+ "TrainerControl": {
3528
+ "args": {
3529
+ "should_epoch_stop": false,
3530
+ "should_evaluate": false,
3531
+ "should_log": false,
3532
+ "should_save": true,
3533
+ "should_training_stop": false
3534
+ },
3535
+ "attributes": {}
3536
+ }
3537
+ },
3538
+ "total_flos": 0.0,
3539
+ "train_batch_size": 8,
3540
+ "trial_name": null,
3541
+ "trial_params": null
3542
+ }
checkpoint/pipeline_0225/StreamingVLM_SFT_stage_1_e40_lr2e-4_ps512_pw512_20260226_131850/checkpoint-500/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e9fc8bca2a96d3955549f3cd9fc6f3e71444bf3de9ddb3c1e06920443b0ffde2
3
+ size 8081
checkpoint/pipeline_0225/StreamingVLM_SFT_stage_1_e40_lr2e-4_ps512_pw512_20260226_131850/checkpoint-500/video_preprocessor_config.json ADDED
@@ -0,0 +1,86 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_valid_kwargs_names": [
3
+ "do_convert_rgb",
4
+ "do_resize",
5
+ "size",
6
+ "size_divisor",
7
+ "default_to_square",
8
+ "resample",
9
+ "do_rescale",
10
+ "rescale_factor",
11
+ "do_normalize",
12
+ "image_mean",
13
+ "image_std",
14
+ "do_pad",
15
+ "do_center_crop",
16
+ "crop_size",
17
+ "data_format",
18
+ "input_data_format",
19
+ "device",
20
+ "min_pixels",
21
+ "max_pixels",
22
+ "patch_size",
23
+ "temporal_patch_size",
24
+ "merge_size"
25
+ ],
26
+ "crop_size": null,
27
+ "data_format": "channels_first",
28
+ "default_to_square": true,
29
+ "device": null,
30
+ "do_center_crop": null,
31
+ "do_convert_rgb": true,
32
+ "do_normalize": true,
33
+ "do_pad": null,
34
+ "do_rescale": true,
35
+ "do_resize": true,
36
+ "image_mean": [
37
+ 0.48145466,
38
+ 0.4578275,
39
+ 0.40821073
40
+ ],
41
+ "image_processor_type": "Qwen2VLImageProcessor",
42
+ "image_std": [
43
+ 0.26862954,
44
+ 0.26130258,
45
+ 0.27577711
46
+ ],
47
+ "input_data_format": null,
48
+ "max_pixels": 12845056,
49
+ "merge_size": 2,
50
+ "min_pixels": 3136,
51
+ "model_valid_processing_keys": [
52
+ "do_convert_rgb",
53
+ "do_resize",
54
+ "size",
55
+ "size_divisor",
56
+ "default_to_square",
57
+ "resample",
58
+ "do_rescale",
59
+ "rescale_factor",
60
+ "do_normalize",
61
+ "image_mean",
62
+ "image_std",
63
+ "do_pad",
64
+ "do_center_crop",
65
+ "crop_size",
66
+ "data_format",
67
+ "input_data_format",
68
+ "device",
69
+ "min_pixels",
70
+ "max_pixels",
71
+ "patch_size",
72
+ "temporal_patch_size",
73
+ "merge_size"
74
+ ],
75
+ "patch_size": 14,
76
+ "processor_class": "Qwen2_5_VLProcessor",
77
+ "resample": 3,
78
+ "rescale_factor": 0.00392156862745098,
79
+ "size": {
80
+ "longest_edge": 12845056,
81
+ "shortest_edge": 3136
82
+ },
83
+ "size_divisor": null,
84
+ "temporal_patch_size": 2,
85
+ "video_processor_type": "Qwen2VLVideoProcessor"
86
+ }
checkpoint/pipeline_0225/StreamingVLM_SFT_stage_1_e40_lr2e-4_ps512_pw512_20260226_131850/checkpoint-500/vocab.json ADDED
The diff for this file is too large to render. See raw diff
 
checkpoint/pipeline_0225/StreamingVLM_SFT_stage_1_e40_lr2e-4_ps512_pw512_20260226_131850/checkpoint-500/zero_to_fp32.py ADDED
@@ -0,0 +1,760 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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 gc
25
+ import json
26
+ import numpy as np
27
+ from tqdm import tqdm
28
+ from collections import OrderedDict
29
+ from dataclasses import dataclass
30
+
31
+ # while this script doesn't use deepspeed to recover data, since the checkpoints are pickled with
32
+ # DeepSpeed data structures it has to be available in the current python environment.
33
+ from deepspeed.utils import logger
34
+ from deepspeed.checkpoint.constants import (DS_VERSION, OPTIMIZER_STATE_DICT, SINGLE_PARTITION_OF_FP32_GROUPS,
35
+ FP32_FLAT_GROUPS, ZERO_STAGE, PARTITION_COUNT, PARAM_SHAPES, BUFFER_NAMES,
36
+ FROZEN_PARAM_SHAPES, FROZEN_PARAM_FRAGMENTS)
37
+
38
+
39
+ @dataclass
40
+ class zero_model_state:
41
+ buffers: dict()
42
+ param_shapes: dict()
43
+ shared_params: list
44
+ ds_version: int
45
+ frozen_param_shapes: dict()
46
+ frozen_param_fragments: dict()
47
+
48
+
49
+ debug = 0
50
+
51
+ # load to cpu
52
+ device = torch.device('cpu')
53
+
54
+
55
+ def atoi(text):
56
+ return int(text) if text.isdigit() else text
57
+
58
+
59
+ def natural_keys(text):
60
+ '''
61
+ alist.sort(key=natural_keys) sorts in human order
62
+ http://nedbatchelder.com/blog/200712/human_sorting.html
63
+ (See Toothy's implementation in the comments)
64
+ '''
65
+ return [atoi(c) for c in re.split(r'(\d+)', text)]
66
+
67
+
68
+ def get_model_state_file(checkpoint_dir, zero_stage):
69
+ if not os.path.isdir(checkpoint_dir):
70
+ raise FileNotFoundError(f"Directory '{checkpoint_dir}' doesn't exist")
71
+
72
+ # there should be only one file
73
+ if zero_stage <= 2:
74
+ file = os.path.join(checkpoint_dir, "mp_rank_00_model_states.pt")
75
+ elif zero_stage == 3:
76
+ file = os.path.join(checkpoint_dir, "zero_pp_rank_0_mp_rank_00_model_states.pt")
77
+
78
+ if not os.path.exists(file):
79
+ raise FileNotFoundError(f"can't find model states file at '{file}'")
80
+
81
+ return file
82
+
83
+
84
+ def get_checkpoint_files(checkpoint_dir, glob_pattern):
85
+ # XXX: need to test that this simple glob rule works for multi-node setup too
86
+ ckpt_files = sorted(glob.glob(os.path.join(checkpoint_dir, glob_pattern)), key=natural_keys)
87
+
88
+ if len(ckpt_files) == 0:
89
+ raise FileNotFoundError(f"can't find {glob_pattern} files in directory '{checkpoint_dir}'")
90
+
91
+ return ckpt_files
92
+
93
+
94
+ def get_optim_files(checkpoint_dir):
95
+ return get_checkpoint_files(checkpoint_dir, "*_optim_states.pt")
96
+
97
+
98
+ def get_model_state_files(checkpoint_dir):
99
+ return get_checkpoint_files(checkpoint_dir, "*_model_states.pt")
100
+
101
+
102
+ def parse_model_states(files):
103
+ zero_model_states = []
104
+ for file in files:
105
+ state_dict = torch.load(file, map_location=device, weights_only=False)
106
+
107
+ if BUFFER_NAMES not in state_dict:
108
+ raise ValueError(f"{file} is not a model state checkpoint")
109
+ buffer_names = state_dict[BUFFER_NAMES]
110
+ if debug:
111
+ print("Found buffers:", buffer_names)
112
+
113
+ # recover just the buffers while restoring them to fp32 if they were saved in fp16
114
+ buffers = {k: v.float() for k, v in state_dict["module"].items() if k in buffer_names}
115
+ param_shapes = state_dict[PARAM_SHAPES]
116
+
117
+ # collect parameters that are included in param_shapes
118
+ param_names = []
119
+ for s in param_shapes:
120
+ for name in s.keys():
121
+ param_names.append(name)
122
+
123
+ # update with frozen parameters
124
+ frozen_param_shapes = state_dict.get(FROZEN_PARAM_SHAPES, None)
125
+ if frozen_param_shapes is not None:
126
+ if debug:
127
+ print(f"Found frozen_param_shapes: {frozen_param_shapes}")
128
+ param_names += list(frozen_param_shapes.keys())
129
+
130
+ # handle shared params
131
+ shared_params = [[k, v] for k, v in state_dict["shared_params"].items()]
132
+
133
+ ds_version = state_dict.get(DS_VERSION, None)
134
+
135
+ frozen_param_fragments = state_dict.get(FROZEN_PARAM_FRAGMENTS, None)
136
+
137
+ z_model_state = zero_model_state(buffers=buffers,
138
+ param_shapes=param_shapes,
139
+ shared_params=shared_params,
140
+ ds_version=ds_version,
141
+ frozen_param_shapes=frozen_param_shapes,
142
+ frozen_param_fragments=frozen_param_fragments)
143
+ zero_model_states.append(z_model_state)
144
+
145
+ return zero_model_states
146
+
147
+
148
+ def parse_optim_states(files, ds_checkpoint_dir):
149
+ total_files = len(files)
150
+ state_dicts = []
151
+ for f in tqdm(files, desc='Loading checkpoint shards'):
152
+ state_dict = torch.load(f, map_location=device, mmap=True, weights_only=False)
153
+ # immediately discard the potentially huge 2 optimizer states as we only care for fp32 master weights
154
+ # and also handle the case where it was already removed by another helper script
155
+ state_dict["optimizer_state_dict"].pop("optimizer_state_dict", None)
156
+ state_dicts.append(state_dict)
157
+
158
+ if not ZERO_STAGE in state_dicts[0][OPTIMIZER_STATE_DICT]:
159
+ raise ValueError(f"{files[0]} is not a zero checkpoint")
160
+ zero_stage = state_dicts[0][OPTIMIZER_STATE_DICT][ZERO_STAGE]
161
+ world_size = state_dicts[0][OPTIMIZER_STATE_DICT][PARTITION_COUNT]
162
+
163
+ # For ZeRO-2 each param group can have different partition_count as data parallelism for expert
164
+ # parameters can be different from data parallelism for non-expert parameters. So we can just
165
+ # use the max of the partition_count to get the dp world_size.
166
+
167
+ if type(world_size) is list:
168
+ world_size = max(world_size)
169
+
170
+ if world_size != total_files:
171
+ raise ValueError(
172
+ f"Expected {world_size} of '*_optim_states.pt' under '{ds_checkpoint_dir}' but found {total_files} files. "
173
+ "Possibly due to an overwrite of an old checkpoint, or a checkpoint didn't get saved by one or more processes."
174
+ )
175
+
176
+ # the groups are named differently in each stage
177
+ if zero_stage <= 2:
178
+ fp32_groups_key = SINGLE_PARTITION_OF_FP32_GROUPS
179
+ elif zero_stage == 3:
180
+ fp32_groups_key = FP32_FLAT_GROUPS
181
+ else:
182
+ raise ValueError(f"unknown zero stage {zero_stage}")
183
+
184
+ fp32_flat_groups = [state_dicts[i][OPTIMIZER_STATE_DICT][fp32_groups_key] for i in range(len(state_dicts))]
185
+ return zero_stage, world_size, fp32_flat_groups
186
+
187
+
188
+ def _get_fp32_state_dict_from_zero_checkpoint(ds_checkpoint_dir, exclude_frozen_parameters):
189
+ """
190
+ Returns fp32 state_dict reconstructed from ds checkpoint
191
+
192
+ Args:
193
+ - ``ds_checkpoint_dir``: path to the deepspeed checkpoint folder (where the optimizer files are)
194
+
195
+ """
196
+ print(f"Processing zero checkpoint '{ds_checkpoint_dir}'")
197
+
198
+ optim_files = get_optim_files(ds_checkpoint_dir)
199
+ zero_stage, world_size, fp32_flat_groups = parse_optim_states(optim_files, ds_checkpoint_dir)
200
+ print(f"Detected checkpoint of type zero stage {zero_stage}, world_size: {world_size}")
201
+
202
+ model_files = get_model_state_files(ds_checkpoint_dir)
203
+
204
+ zero_model_states = parse_model_states(model_files)
205
+ print(f'Parsing checkpoint created by deepspeed=={zero_model_states[0].ds_version}')
206
+
207
+ if zero_stage <= 2:
208
+ return _get_fp32_state_dict_from_zero2_checkpoint(world_size, fp32_flat_groups, zero_model_states,
209
+ exclude_frozen_parameters)
210
+ elif zero_stage == 3:
211
+ return _get_fp32_state_dict_from_zero3_checkpoint(world_size, fp32_flat_groups, zero_model_states,
212
+ exclude_frozen_parameters)
213
+
214
+
215
+ def _zero2_merge_frozen_params(state_dict, zero_model_states):
216
+ if zero_model_states[0].frozen_param_shapes is None or len(zero_model_states[0].frozen_param_shapes) == 0:
217
+ return
218
+
219
+ frozen_param_shapes = zero_model_states[0].frozen_param_shapes
220
+ frozen_param_fragments = zero_model_states[0].frozen_param_fragments
221
+
222
+ if debug:
223
+ num_elem = sum(s.numel() for s in frozen_param_shapes.values())
224
+ print(f'rank 0: {FROZEN_PARAM_SHAPES}.numel = {num_elem}')
225
+
226
+ wanted_params = len(frozen_param_shapes)
227
+ wanted_numel = sum(s.numel() for s in frozen_param_shapes.values())
228
+ avail_numel = sum([p.numel() for p in frozen_param_fragments.values()])
229
+ print(f'Frozen params: Have {avail_numel} numels to process.')
230
+ print(f'Frozen params: Need {wanted_numel} numels in {wanted_params} params')
231
+
232
+ total_params = 0
233
+ total_numel = 0
234
+ for name, shape in frozen_param_shapes.items():
235
+ total_params += 1
236
+ unpartitioned_numel = shape.numel()
237
+ total_numel += unpartitioned_numel
238
+
239
+ state_dict[name] = frozen_param_fragments[name]
240
+
241
+ if debug:
242
+ print(f"{name} full shape: {shape} unpartitioned numel {unpartitioned_numel} ")
243
+
244
+ print(f"Reconstructed Frozen fp32 state dict with {total_params} params {total_numel} elements")
245
+
246
+
247
+ def _has_callable(obj, fn):
248
+ attr = getattr(obj, fn, None)
249
+ return callable(attr)
250
+
251
+
252
+ def _zero2_merge_trainable_params(state_dict, world_size, fp32_flat_groups, zero_model_states):
253
+ param_shapes = zero_model_states[0].param_shapes
254
+
255
+ # Reconstruction protocol:
256
+ #
257
+ # XXX: document this
258
+
259
+ if debug:
260
+ for i in range(world_size):
261
+ for j in range(len(fp32_flat_groups[0])):
262
+ print(f"{FP32_FLAT_GROUPS}[{i}][{j}].shape={fp32_flat_groups[i][j].shape}")
263
+
264
+ # XXX: memory usage doubles here (zero2)
265
+ num_param_groups = len(fp32_flat_groups[0])
266
+ merged_single_partition_of_fp32_groups = []
267
+ for i in range(num_param_groups):
268
+ merged_partitions = [sd[i] for sd in fp32_flat_groups]
269
+ full_single_fp32_vector = torch.cat(merged_partitions, 0)
270
+ merged_single_partition_of_fp32_groups.append(full_single_fp32_vector)
271
+ avail_numel = sum(
272
+ [full_single_fp32_vector.numel() for full_single_fp32_vector in merged_single_partition_of_fp32_groups])
273
+
274
+ if debug:
275
+ wanted_params = sum([len(shapes) for shapes in param_shapes])
276
+ wanted_numel = sum([sum(shape.numel() for shape in shapes.values()) for shapes in param_shapes])
277
+ # not asserting if there is a mismatch due to possible padding
278
+ print(f"Have {avail_numel} numels to process.")
279
+ print(f"Need {wanted_numel} numels in {wanted_params} params.")
280
+
281
+ # params
282
+ # XXX: for huge models that can't fit into the host's RAM we will have to recode this to support
283
+ # out-of-core computing solution
284
+ total_numel = 0
285
+ total_params = 0
286
+ for shapes, full_single_fp32_vector in zip(param_shapes, merged_single_partition_of_fp32_groups):
287
+ offset = 0
288
+ avail_numel = full_single_fp32_vector.numel()
289
+ for name, shape in shapes.items():
290
+
291
+ unpartitioned_numel = shape.numel() if _has_callable(shape, 'numel') else math.prod(shape)
292
+ total_numel += unpartitioned_numel
293
+ total_params += 1
294
+
295
+ if debug:
296
+ print(f"{name} full shape: {shape} unpartitioned numel {unpartitioned_numel} ")
297
+ state_dict[name] = full_single_fp32_vector.narrow(0, offset, unpartitioned_numel).view(shape)
298
+ offset += unpartitioned_numel
299
+
300
+ # Z2 started to align to 2*world_size to improve nccl performance. Therefore both offset and
301
+ # avail_numel can differ by anywhere between 0..2*world_size. Due to two unrelated complex
302
+ # paddings performed in the code it's almost impossible to predict the exact numbers w/o the
303
+ # live optimizer object, so we are checking that the numbers are within the right range
304
+ align_to = 2 * world_size
305
+
306
+ def zero2_align(x):
307
+ return align_to * math.ceil(x / align_to)
308
+
309
+ if debug:
310
+ print(f"original offset={offset}, avail_numel={avail_numel}")
311
+
312
+ offset = zero2_align(offset)
313
+ avail_numel = zero2_align(avail_numel)
314
+
315
+ if debug:
316
+ print(f"aligned offset={offset}, avail_numel={avail_numel}")
317
+
318
+ # Sanity check
319
+ if offset != avail_numel:
320
+ raise ValueError(f"consumed {offset} numels out of {avail_numel} - something is wrong")
321
+
322
+ print(f"Reconstructed fp32 state dict with {total_params} params {total_numel} elements")
323
+
324
+
325
+ def _get_fp32_state_dict_from_zero2_checkpoint(world_size, fp32_flat_groups, zero_model_states,
326
+ exclude_frozen_parameters):
327
+ state_dict = OrderedDict()
328
+
329
+ # buffers
330
+ buffers = zero_model_states[0].buffers
331
+ state_dict.update(buffers)
332
+ if debug:
333
+ print(f"added {len(buffers)} buffers")
334
+
335
+ if not exclude_frozen_parameters:
336
+ _zero2_merge_frozen_params(state_dict, zero_model_states)
337
+
338
+ _zero2_merge_trainable_params(state_dict, world_size, fp32_flat_groups, zero_model_states)
339
+
340
+ # recover shared parameters
341
+ for pair in zero_model_states[0].shared_params:
342
+ if pair[1] in state_dict:
343
+ state_dict[pair[0]] = state_dict[pair[1]]
344
+
345
+ return state_dict
346
+
347
+
348
+ def zero3_partitioned_param_info(unpartitioned_numel, world_size):
349
+ remainder = unpartitioned_numel % world_size
350
+ padding_numel = (world_size - remainder) if remainder else 0
351
+ partitioned_numel = math.ceil(unpartitioned_numel / world_size)
352
+ return partitioned_numel, padding_numel
353
+
354
+
355
+ def _zero3_merge_frozen_params(state_dict, world_size, zero_model_states):
356
+ if zero_model_states[0].frozen_param_shapes is None or len(zero_model_states[0].frozen_param_shapes) == 0:
357
+ return
358
+
359
+ if debug:
360
+ for i in range(world_size):
361
+ num_elem = sum(s.numel() for s in zero_model_states[i].frozen_param_fragments.values())
362
+ print(f'rank {i}: {FROZEN_PARAM_SHAPES}.numel = {num_elem}')
363
+
364
+ frozen_param_shapes = zero_model_states[0].frozen_param_shapes
365
+ wanted_params = len(frozen_param_shapes)
366
+ wanted_numel = sum(s.numel() for s in frozen_param_shapes.values())
367
+ avail_numel = sum([p.numel() for p in zero_model_states[0].frozen_param_fragments.values()]) * world_size
368
+ print(f'Frozen params: Have {avail_numel} numels to process.')
369
+ print(f'Frozen params: Need {wanted_numel} numels in {wanted_params} params')
370
+
371
+ total_params = 0
372
+ total_numel = 0
373
+ for name, shape in zero_model_states[0].frozen_param_shapes.items():
374
+ total_params += 1
375
+ unpartitioned_numel = shape.numel()
376
+ total_numel += unpartitioned_numel
377
+
378
+ param_frags = tuple(model_state.frozen_param_fragments[name] for model_state in zero_model_states)
379
+ state_dict[name] = torch.cat(param_frags, 0).narrow(0, 0, unpartitioned_numel).view(shape)
380
+
381
+ partitioned_numel, partitioned_padding_numel = zero3_partitioned_param_info(unpartitioned_numel, world_size)
382
+
383
+ if debug:
384
+ print(
385
+ f"Frozen params: {total_params} {name} full shape: {shape} partition0 numel={partitioned_numel} partitioned_padding_numel={partitioned_padding_numel}"
386
+ )
387
+
388
+ print(f"Reconstructed Frozen fp32 state dict with {total_params} params {total_numel} elements")
389
+
390
+
391
+ class GatheredTensor:
392
+ """
393
+ A pseudo tensor that collects partitioned weights.
394
+ It is more memory efficient when there are multiple groups.
395
+ """
396
+
397
+ def __init__(self, flat_groups, flat_groups_offset, offset, partitioned_numel, shape):
398
+ self.flat_groups = flat_groups
399
+ self.flat_groups_offset = flat_groups_offset
400
+ self.offset = offset
401
+ self.partitioned_numel = partitioned_numel
402
+ self.shape = shape
403
+ self.dtype = self.flat_groups[0][0].dtype
404
+
405
+ def contiguous(self):
406
+ """
407
+ Merge partitioned weights from flat_groups into a single tensor.
408
+ """
409
+ end_idx = self.offset + self.partitioned_numel
410
+ world_size = len(self.flat_groups)
411
+ pad_flat_param_chunks = []
412
+
413
+ for rank_i in range(world_size):
414
+ # for each rank, we need to collect weights from related group/groups
415
+ flat_groups_at_rank_i = self.flat_groups[rank_i]
416
+ start_group_id = None
417
+ end_group_id = None
418
+ for group_id in range(len(self.flat_groups_offset)):
419
+ if self.flat_groups_offset[group_id] <= self.offset < self.flat_groups_offset[group_id + 1]:
420
+ start_group_id = group_id
421
+ if self.flat_groups_offset[group_id] < end_idx <= self.flat_groups_offset[group_id + 1]:
422
+ end_group_id = group_id
423
+ break
424
+ # collect weights from related group/groups
425
+ for group_id in range(start_group_id, end_group_id + 1):
426
+ flat_tensor = flat_groups_at_rank_i[group_id]
427
+ start_offset = self.offset - self.flat_groups_offset[group_id]
428
+ end_offset = min(end_idx, self.flat_groups_offset[group_id + 1]) - self.flat_groups_offset[group_id]
429
+ pad_flat_param_chunks.append(flat_tensor[start_offset:end_offset])
430
+
431
+ # collect weights from all ranks
432
+ pad_flat_param = torch.cat(pad_flat_param_chunks, dim=0)
433
+ param = pad_flat_param[:self.shape.numel()].view(self.shape).contiguous()
434
+ return param
435
+
436
+
437
+ def _zero3_merge_trainable_params(state_dict, world_size, fp32_flat_groups, zero_model_states):
438
+ param_shapes = zero_model_states[0].param_shapes
439
+ avail_numel = sum([flat_group.numel() for flat_group in fp32_flat_groups[0]]) * world_size
440
+
441
+ # Reconstruction protocol: For zero3 we need to zip the partitions together at boundary of each
442
+ # param, re-consolidating each param, while dealing with padding if any
443
+
444
+ # merge list of dicts, preserving order
445
+ param_shapes = {k: v for d in param_shapes for k, v in d.items()}
446
+
447
+ if debug:
448
+ for i in range(world_size):
449
+ print(f"{FP32_FLAT_GROUPS}[{i}].shape={fp32_flat_groups[i].shape}")
450
+
451
+ wanted_params = len(param_shapes)
452
+ wanted_numel = sum(shape.numel() for shape in param_shapes.values())
453
+ # not asserting if there is a mismatch due to possible padding
454
+ avail_numel = fp32_flat_groups[0].numel() * world_size
455
+ print(f"Trainable params: Have {avail_numel} numels to process.")
456
+ print(f"Trainable params: Need {wanted_numel} numels in {wanted_params} params.")
457
+
458
+ # params
459
+ # XXX: for huge models that can't fit into the host's RAM we will have to recode this to support
460
+ # out-of-core computing solution
461
+ offset = 0
462
+ total_numel = 0
463
+ total_params = 0
464
+ flat_groups_offset = [0] + list(np.cumsum([flat_tensor.numel() for flat_tensor in fp32_flat_groups[0]]))
465
+ for name, shape in tqdm(param_shapes.items(), desc='Gathering sharded weights'):
466
+ unpartitioned_numel = shape.numel()
467
+ total_numel += unpartitioned_numel
468
+ total_params += 1
469
+ partitioned_numel, partitioned_padding_numel = zero3_partitioned_param_info(unpartitioned_numel, world_size)
470
+
471
+ if debug:
472
+ print(
473
+ f"Trainable params: {total_params} {name} full shape: {shape} partition0 numel={partitioned_numel} partitioned_padding_numel={partitioned_padding_numel}"
474
+ )
475
+
476
+ # memory efficient tensor
477
+ tensor = GatheredTensor(fp32_flat_groups, flat_groups_offset, offset, partitioned_numel, shape)
478
+ state_dict[name] = tensor
479
+ offset += partitioned_numel
480
+
481
+ offset *= world_size
482
+
483
+ # Sanity check
484
+ if offset != avail_numel:
485
+ raise ValueError(f"consumed {offset} numels out of {avail_numel} - something is wrong")
486
+
487
+ print(f"Reconstructed Trainable fp32 state dict with {total_params} params {total_numel} elements")
488
+
489
+
490
+ def _get_fp32_state_dict_from_zero3_checkpoint(world_size, fp32_flat_groups, zero_model_states,
491
+ exclude_frozen_parameters):
492
+ state_dict = OrderedDict()
493
+
494
+ # buffers
495
+ buffers = zero_model_states[0].buffers
496
+ state_dict.update(buffers)
497
+ if debug:
498
+ print(f"added {len(buffers)} buffers")
499
+
500
+ if not exclude_frozen_parameters:
501
+ _zero3_merge_frozen_params(state_dict, world_size, zero_model_states)
502
+
503
+ _zero3_merge_trainable_params(state_dict, world_size, fp32_flat_groups, zero_model_states)
504
+
505
+ # recover shared parameters
506
+ for pair in zero_model_states[0].shared_params:
507
+ if pair[1] in state_dict:
508
+ state_dict[pair[0]] = state_dict[pair[1]]
509
+
510
+ return state_dict
511
+
512
+
513
+ def to_torch_tensor(state_dict, return_empty_tensor=False):
514
+ """
515
+ Convert state_dict of GatheredTensor to torch tensor
516
+ """
517
+ torch_state_dict = {}
518
+ converted_tensors = {}
519
+ for name, tensor in state_dict.items():
520
+ tensor_id = id(tensor)
521
+ if tensor_id in converted_tensors: # shared tensors
522
+ shared_tensor = torch_state_dict[converted_tensors[tensor_id]]
523
+ torch_state_dict[name] = shared_tensor
524
+ else:
525
+ converted_tensors[tensor_id] = name
526
+ if return_empty_tensor:
527
+ torch_state_dict[name] = torch.empty(tensor.shape, dtype=tensor.dtype)
528
+ else:
529
+ torch_state_dict[name] = tensor.contiguous()
530
+ return torch_state_dict
531
+
532
+
533
+ def get_fp32_state_dict_from_zero_checkpoint(checkpoint_dir,
534
+ tag=None,
535
+ exclude_frozen_parameters=False,
536
+ lazy_mode=False):
537
+ """
538
+ Convert ZeRO 2 or 3 checkpoint into a single fp32 consolidated state_dict that can be loaded with
539
+ ``load_state_dict()`` and used for training without DeepSpeed or shared with others, for example
540
+ via a model hub.
541
+
542
+ Args:
543
+ - ``checkpoint_dir``: path to the desired checkpoint folder
544
+ - ``tag``: checkpoint tag used as a unique identifier for checkpoint. If not provided will attempt to load tag in 'latest' file. e.g., ``global_step14``
545
+ - ``exclude_frozen_parameters``: exclude frozen parameters
546
+ - ``lazy_mode``: get state_dict in lazy mode. It returns a dict of pesduo tensor instead of torch tensor, which is more memory efficient.
547
+ Convert the pesduo tensor to torch tensor by ``.contiguous()``
548
+
549
+ Returns:
550
+ - pytorch ``state_dict``
551
+
552
+ A typical usage might be ::
553
+
554
+ from deepspeed.utils.zero_to_fp32 import get_fp32_state_dict_from_zero_checkpoint
555
+ # do the training and checkpoint saving
556
+ state_dict = get_fp32_state_dict_from_zero_checkpoint(checkpoint_dir) # already on cpu
557
+ model = model.cpu() # move to cpu
558
+ model.load_state_dict(state_dict)
559
+ # submit to model hub or save the model to share with others
560
+
561
+ In this example the ``model`` will no longer be usable in the deepspeed context of the same
562
+ application. i.e. you will need to re-initialize the deepspeed engine, since
563
+ ``model.load_state_dict(state_dict)`` will remove all the deepspeed magic from it.
564
+
565
+ If you want it all done for you, use ``load_state_dict_from_zero_checkpoint`` instead.
566
+
567
+ Note: the above usage may not work if your application doesn't have sufficient free CPU memory.
568
+ You may need to use the offline approach using the ``zero_to_fp32.py`` script that is saved with
569
+ the checkpoint. Or you can load state_dict in lazy mode ::
570
+
571
+ from deepspeed.utils.zero_to_fp32 import get_fp32_state_dict_from_zero_checkpoint
572
+ state_dict = get_fp32_state_dict_from_zero_checkpoint(checkpoint_dir, lazy_mode=True) # not on cpu
573
+ for name, lazy_tensor in state_dict.item():
574
+ tensor = lazy_tensor.contiguous() # to cpu
575
+ print(name, tensor)
576
+ # del tensor to release memory if it no longer in use
577
+ """
578
+ if tag is None:
579
+ latest_path = os.path.join(checkpoint_dir, 'latest')
580
+ if os.path.isfile(latest_path):
581
+ with open(latest_path, 'r') as fd:
582
+ tag = fd.read().strip()
583
+ else:
584
+ raise ValueError(f"Unable to find 'latest' file at {latest_path}")
585
+
586
+ ds_checkpoint_dir = os.path.join(checkpoint_dir, tag)
587
+
588
+ if not os.path.isdir(ds_checkpoint_dir):
589
+ raise FileNotFoundError(f"Directory '{ds_checkpoint_dir}' doesn't exist")
590
+
591
+ state_dict = _get_fp32_state_dict_from_zero_checkpoint(ds_checkpoint_dir, exclude_frozen_parameters)
592
+ if lazy_mode:
593
+ return state_dict
594
+ else:
595
+ return to_torch_tensor(state_dict)
596
+
597
+
598
+ def convert_zero_checkpoint_to_fp32_state_dict(checkpoint_dir,
599
+ output_dir,
600
+ max_shard_size="5GB",
601
+ safe_serialization=False,
602
+ tag=None,
603
+ exclude_frozen_parameters=False):
604
+ """
605
+ Convert ZeRO 2 or 3 checkpoint into a single fp32 consolidated ``state_dict`` file that can be
606
+ loaded with ``torch.load(file)`` + ``load_state_dict()`` and used for training without DeepSpeed.
607
+
608
+ Args:
609
+ - ``checkpoint_dir``: path to the desired checkpoint folder. (one that contains the tag-folder, like ``global_step14``)
610
+ - ``output_dir``: directory to the pytorch fp32 state_dict output files
611
+ - ``max_shard_size``: the maximum size for a checkpoint before being sharded, default value is 5GB
612
+ - ``safe_serialization``: whether to save the model using `safetensors` or the traditional PyTorch way (that uses `pickle`).
613
+ - ``tag``: checkpoint tag used as a unique identifier for checkpoint. If not provided will attempt to load tag in the file named ``latest`` in the checkpoint folder, e.g., ``global_step14``
614
+ - ``exclude_frozen_parameters``: exclude frozen parameters
615
+ """
616
+
617
+ # Dependency pre-check
618
+ if safe_serialization:
619
+ try:
620
+ from safetensors.torch import save_file
621
+ except ImportError:
622
+ print('If you want to use `safe_serialization`, please `pip install safetensors`')
623
+ raise
624
+ if max_shard_size is not None:
625
+ try:
626
+ from huggingface_hub import split_torch_state_dict_into_shards
627
+ except ImportError:
628
+ print('If you want to use `max_shard_size`, please `pip install huggingface_hub`')
629
+ raise
630
+
631
+ # Convert zero checkpoint to state_dict
632
+ state_dict = get_fp32_state_dict_from_zero_checkpoint(checkpoint_dir,
633
+ tag,
634
+ exclude_frozen_parameters,
635
+ lazy_mode=True)
636
+
637
+ # Shard the model if it is too big.
638
+ weights_name = "model.safetensors" if safe_serialization else "pytorch_model.bin"
639
+ if max_shard_size is not None:
640
+ filename_pattern = weights_name.replace(".bin", "{suffix}.bin").replace(".safetensors", "{suffix}.safetensors")
641
+ # an memory-efficient approach for sharding
642
+ empty_state_dict = to_torch_tensor(state_dict, return_empty_tensor=True)
643
+ state_dict_split = split_torch_state_dict_into_shards(empty_state_dict,
644
+ filename_pattern=filename_pattern,
645
+ max_shard_size=max_shard_size)
646
+ else:
647
+ from collections import namedtuple
648
+ StateDictSplit = namedtuple("StateDictSplit", ["is_sharded", "filename_to_tensors"])
649
+ state_dict_split = StateDictSplit(is_sharded=False,
650
+ filename_to_tensors={weights_name: list(state_dict.keys())})
651
+
652
+ # Save the model by shard
653
+ os.makedirs(output_dir, exist_ok=True)
654
+ filename_to_tensors = state_dict_split.filename_to_tensors.items()
655
+ for shard_file, tensors in tqdm(filename_to_tensors, desc="Saving checkpoint shards"):
656
+ shard_state_dict = {tensor_name: state_dict[tensor_name] for tensor_name in tensors}
657
+ shard_state_dict = to_torch_tensor(shard_state_dict)
658
+ output_path = os.path.join(output_dir, shard_file)
659
+ if safe_serialization:
660
+ save_file(shard_state_dict, output_path, metadata={"format": "pt"})
661
+ else:
662
+ torch.save(shard_state_dict, output_path)
663
+ # release the memory of current shard
664
+ for tensor_name in list(shard_state_dict.keys()):
665
+ del state_dict[tensor_name]
666
+ del shard_state_dict[tensor_name]
667
+ del shard_state_dict
668
+ gc.collect()
669
+
670
+ # Save index if sharded
671
+ if state_dict_split.is_sharded:
672
+ index = {
673
+ "metadata": state_dict_split.metadata,
674
+ "weight_map": state_dict_split.tensor_to_filename,
675
+ }
676
+ save_index_file = "model.safetensors.index.json" if safe_serialization else "pytorch_model.bin.index.json"
677
+ save_index_file = os.path.join(output_dir, save_index_file)
678
+ with open(save_index_file, "w", encoding="utf-8") as f:
679
+ content = json.dumps(index, indent=2, sort_keys=True) + "\n"
680
+ f.write(content)
681
+
682
+
683
+ def load_state_dict_from_zero_checkpoint(model, checkpoint_dir, tag=None):
684
+ """
685
+ 1. Put the provided model to cpu
686
+ 2. Convert ZeRO 2 or 3 checkpoint into a single fp32 consolidated ``state_dict``
687
+ 3. Load it into the provided model
688
+
689
+ Args:
690
+ - ``model``: the model object to update
691
+ - ``checkpoint_dir``: path to the desired checkpoint folder. (one that contains the tag-folder, like ``global_step14``)
692
+ - ``tag``: checkpoint tag used as a unique identifier for checkpoint. If not provided will attempt to load tag in the file named ``latest`` in the checkpoint folder, e.g., ``global_step14``
693
+
694
+ Returns:
695
+ - ``model`: modified model
696
+
697
+ Make sure you have plenty of CPU memory available before you call this function. If you don't
698
+ have enough use the ``zero_to_fp32.py`` utility to do the conversion. You will find it
699
+ conveniently placed for you in the checkpoint folder.
700
+
701
+ A typical usage might be ::
702
+
703
+ from deepspeed.utils.zero_to_fp32 import load_state_dict_from_zero_checkpoint
704
+ model = load_state_dict_from_zero_checkpoint(trainer.model, checkpoint_dir)
705
+ # submit to model hub or save the model to share with others
706
+
707
+ Note, that once this was run, the ``model`` will no longer be usable in the deepspeed context
708
+ of the same application. i.e. you will need to re-initialize the deepspeed engine, since
709
+ ``model.load_state_dict(state_dict)`` will remove all the deepspeed magic from it.
710
+
711
+ """
712
+ logger.info(f"Extracting fp32 weights")
713
+ state_dict = get_fp32_state_dict_from_zero_checkpoint(checkpoint_dir, tag)
714
+
715
+ logger.info(f"Overwriting model with fp32 weights")
716
+ model = model.cpu()
717
+ model.load_state_dict(state_dict, strict=False)
718
+
719
+ return model
720
+
721
+
722
+ if __name__ == "__main__":
723
+ parser = argparse.ArgumentParser()
724
+ parser.add_argument("checkpoint_dir",
725
+ type=str,
726
+ help="path to the desired checkpoint folder, e.g., path/checkpoint-12")
727
+ parser.add_argument("output_dir",
728
+ type=str,
729
+ help="directory to the pytorch fp32 state_dict output files"
730
+ "(e.g. path/checkpoint-12-output/)")
731
+ parser.add_argument(
732
+ "--max_shard_size",
733
+ type=str,
734
+ default="5GB",
735
+ help="The maximum size for a checkpoint before being sharded. Checkpoints shard will then be each of size"
736
+ "lower than this size. If expressed as a string, needs to be digits followed by a unit (like `5MB`"
737
+ "We default it to 5GB in order for models to be able to run easily on free-tier google colab instances"
738
+ "without CPU OOM issues.")
739
+ parser.add_argument(
740
+ "--safe_serialization",
741
+ default=False,
742
+ action='store_true',
743
+ help="Whether to save the model using `safetensors` or the traditional PyTorch way (that uses `pickle`).")
744
+ parser.add_argument("-t",
745
+ "--tag",
746
+ type=str,
747
+ default=None,
748
+ help="checkpoint tag used as a unique identifier for checkpoint. e.g., global_step1")
749
+ parser.add_argument("--exclude_frozen_parameters", action='store_true', help="exclude frozen parameters")
750
+ parser.add_argument("-d", "--debug", action='store_true', help="enable debug")
751
+ args = parser.parse_args()
752
+
753
+ debug = args.debug
754
+
755
+ convert_zero_checkpoint_to_fp32_state_dict(args.checkpoint_dir,
756
+ args.output_dir,
757
+ max_shard_size=args.max_shard_size,
758
+ safe_serialization=args.safe_serialization,
759
+ tag=args.tag,
760
+ exclude_frozen_parameters=args.exclude_frozen_parameters)
checkpoint/pipeline_0225/StreamingVLM_SFT_stage_1_e40_lr2e-4_ps512_pw512_20260226_190228/checkpoint-1000/added_tokens.json ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "</tool_call>": 151658,
3
+ "<tool_call>": 151657,
4
+ "<|box_end|>": 151649,
5
+ "<|box_start|>": 151648,
6
+ "<|endoftext|>": 151643,
7
+ "<|file_sep|>": 151664,
8
+ "<|fim_middle|>": 151660,
9
+ "<|fim_pad|>": 151662,
10
+ "<|fim_prefix|>": 151659,
11
+ "<|fim_suffix|>": 151661,
12
+ "<|im_end|>": 151645,
13
+ "<|im_start|>": 151644,
14
+ "<|image_pad|>": 151655,
15
+ "<|object_ref_end|>": 151647,
16
+ "<|object_ref_start|>": 151646,
17
+ "<|quad_end|>": 151651,
18
+ "<|quad_start|>": 151650,
19
+ "<|repo_name|>": 151663,
20
+ "<|video_pad|>": 151656,
21
+ "<|vision_end|>": 151653,
22
+ "<|vision_pad|>": 151654,
23
+ "<|vision_start|>": 151652
24
+ }
checkpoint/pipeline_0225/StreamingVLM_SFT_stage_1_e40_lr2e-4_ps512_pw512_20260226_190228/checkpoint-1000/chat_template.jinja ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {% set image_count = namespace(value=0) %}{% set video_count = namespace(value=0) %}{% for message in messages %}{% if loop.first and message['role'] != 'system' %}<|im_start|>system
2
+ You are a helpful assistant.<|im_end|>
3
+ {% endif %}<|im_start|>{{ message['role'] }}
4
+ {% if message['content'] is string %}{{ message['content'] }}<|im_end|>
5
+ {% else %}{% for content in message['content'] %}{% if content['type'] == 'image' or 'image' in content or 'image_url' in content %}{% set image_count.value = image_count.value + 1 %}{% if add_vision_id %}Picture {{ image_count.value }}: {% endif %}<|vision_start|><|image_pad|><|vision_end|>{% elif content['type'] == 'video' or 'video' in content %}{% set video_count.value = video_count.value + 1 %}{% if add_vision_id %}Video {{ video_count.value }}: {% endif %}<|vision_start|><|video_pad|><|vision_end|>{% elif 'text' in content %}{{ content['text'] }}{% endif %}{% endfor %}<|im_end|>
6
+ {% endif %}{% endfor %}{% if add_generation_prompt %}<|im_start|>assistant
7
+ {% endif %}
checkpoint/pipeline_0225/StreamingVLM_SFT_stage_1_e40_lr2e-4_ps512_pw512_20260226_190228/checkpoint-1000/global_step1000/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:f9611db4ecaa59d3fc70ceb5b941fad532155fa85cd5aeff43f7720ae88d6d4c
3
+ size 344223365
checkpoint/pipeline_0225/StreamingVLM_SFT_stage_1_e40_lr2e-4_ps512_pw512_20260226_190228/checkpoint-1000/global_step1000/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:af859d8c4bf341d92d0486c684d2ef9565fc9bf092b17855fbd073a7180763f4
3
+ size 344223365
checkpoint/pipeline_0225/StreamingVLM_SFT_stage_1_e40_lr2e-4_ps512_pw512_20260226_190228/checkpoint-1000/global_step1000/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:8dd614f40a553d1bb873908360ba10b2b6867bc3f706fb675838b45b6915b21c
3
+ size 344223365
checkpoint/pipeline_0225/StreamingVLM_SFT_stage_1_e40_lr2e-4_ps512_pw512_20260226_190228/checkpoint-1000/global_step1000/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:053277b58493433d62d59410c450960c06ddb50a36e3290883c4a87ea4602ac5
3
+ size 344223365
checkpoint/pipeline_0225/StreamingVLM_SFT_stage_1_e40_lr2e-4_ps512_pw512_20260226_190228/checkpoint-1000/global_step1000/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:1a67cd2ba80bf09063988c7e0d1ad7215a2e3bc906c923eb85f0d7d276fc1e64
3
+ size 344223365
checkpoint/pipeline_0225/StreamingVLM_SFT_stage_1_e40_lr2e-4_ps512_pw512_20260226_190228/checkpoint-1000/global_step1000/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:d6705d09ae69ab1b22a81164c323ee8d652a16426974b73b5fbf7ee6b71903fa
3
+ size 344223365
checkpoint/pipeline_0225/StreamingVLM_SFT_stage_1_e40_lr2e-4_ps512_pw512_20260226_190228/checkpoint-1000/global_step1000/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:d61022cbf45faaea271d57a22fd040c4e8afe78e3b3c9c526fafeef3255775ca
3
+ size 344223365
checkpoint/pipeline_0225/StreamingVLM_SFT_stage_1_e40_lr2e-4_ps512_pw512_20260226_190228/checkpoint-1000/global_step1000/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:c7e9c5a0fc6e599fdcbd25629498e11dbbeb9ba33396e5df572e998682f59654
3
+ size 344223365