RayDu0010 commited on
Commit
d3050a6
·
verified ·
1 Parent(s): 727f301

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. 25_128_e5_3e-5/checkpoint-1293/README.md +202 -0
  2. 25_128_e5_3e-5/checkpoint-1293/adapter_config.json +39 -0
  3. 25_128_e5_3e-5/checkpoint-1293/adapter_model.safetensors +3 -0
  4. 25_128_e5_3e-5/checkpoint-1293/latest +1 -0
  5. 25_128_e5_3e-5/checkpoint-1293/merges.txt +0 -0
  6. 25_128_e5_3e-5/checkpoint-1293/rng_state_0.pth +3 -0
  7. 25_128_e5_3e-5/checkpoint-1293/rng_state_1.pth +3 -0
  8. 25_128_e5_3e-5/checkpoint-1293/rng_state_2.pth +3 -0
  9. 25_128_e5_3e-5/checkpoint-1293/rng_state_3.pth +3 -0
  10. 25_128_e5_3e-5/checkpoint-1293/rng_state_4.pth +3 -0
  11. 25_128_e5_3e-5/checkpoint-1293/rng_state_5.pth +3 -0
  12. 25_128_e5_3e-5/checkpoint-1293/rng_state_6.pth +3 -0
  13. 25_128_e5_3e-5/checkpoint-1293/rng_state_7.pth +3 -0
  14. 25_128_e5_3e-5/checkpoint-1293/scheduler.pt +3 -0
  15. 25_128_e5_3e-5/checkpoint-1293/special_tokens_map.json +51 -0
  16. 25_128_e5_3e-5/checkpoint-1293/tokenizer.json +0 -0
  17. 25_128_e5_3e-5/checkpoint-1293/tokenizer_config.json +188 -0
  18. 25_128_e5_3e-5/checkpoint-1293/trainer_state.json +1840 -0
  19. 25_128_e5_3e-5/checkpoint-1293/training_args.bin +3 -0
  20. 25_128_e5_3e-5/checkpoint-1293/vocab.json +0 -0
  21. 25_128_e5_3e-5/checkpoint-1293/zero_to_fp32.py +604 -0
  22. 25_128_e5_3e-5/checkpoint-1724/README.md +202 -0
  23. 25_128_e5_3e-5/checkpoint-1724/adapter_config.json +39 -0
  24. 25_128_e5_3e-5/checkpoint-1724/adapter_model.safetensors +3 -0
  25. 25_128_e5_3e-5/checkpoint-1724/latest +1 -0
  26. 25_128_e5_3e-5/checkpoint-1724/merges.txt +0 -0
  27. 25_128_e5_3e-5/checkpoint-1724/rng_state_0.pth +3 -0
  28. 25_128_e5_3e-5/checkpoint-1724/rng_state_1.pth +3 -0
  29. 25_128_e5_3e-5/checkpoint-1724/rng_state_2.pth +3 -0
  30. 25_128_e5_3e-5/checkpoint-1724/rng_state_3.pth +3 -0
  31. 25_128_e5_3e-5/checkpoint-1724/rng_state_4.pth +3 -0
  32. 25_128_e5_3e-5/checkpoint-1724/rng_state_5.pth +3 -0
  33. 25_128_e5_3e-5/checkpoint-1724/rng_state_6.pth +3 -0
  34. 25_128_e5_3e-5/checkpoint-1724/rng_state_7.pth +3 -0
  35. 25_128_e5_3e-5/checkpoint-1724/scheduler.pt +3 -0
  36. 25_128_e5_3e-5/checkpoint-1724/special_tokens_map.json +51 -0
  37. 25_128_e5_3e-5/checkpoint-1724/tokenizer.json +0 -0
  38. 25_128_e5_3e-5/checkpoint-1724/tokenizer_config.json +188 -0
  39. 25_128_e5_3e-5/checkpoint-1724/trainer_state.json +2442 -0
  40. 25_128_e5_3e-5/checkpoint-1724/training_args.bin +3 -0
  41. 25_128_e5_3e-5/checkpoint-1724/vocab.json +0 -0
  42. 25_128_e5_3e-5/checkpoint-1724/zero_to_fp32.py +604 -0
  43. 25_128_e5_3e-5/checkpoint-2155/README.md +202 -0
  44. 25_128_e5_3e-5/checkpoint-2155/adapter_config.json +39 -0
  45. 25_128_e5_3e-5/checkpoint-2155/adapter_model.safetensors +3 -0
  46. 25_128_e5_3e-5/checkpoint-2155/latest +1 -0
  47. 25_128_e5_3e-5/checkpoint-2155/merges.txt +0 -0
  48. 25_128_e5_3e-5/checkpoint-2155/rng_state_0.pth +3 -0
  49. 25_128_e5_3e-5/checkpoint-2155/rng_state_1.pth +3 -0
  50. 25_128_e5_3e-5/checkpoint-2155/rng_state_2.pth +3 -0
25_128_e5_3e-5/checkpoint-1293/README.md ADDED
@@ -0,0 +1,202 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: ibm-granite/granite-3.3-8b-base
3
+ library_name: peft
4
+ ---
5
+
6
+ # Model Card for Model ID
7
+
8
+ <!-- Provide a quick summary of what the model is/does. -->
9
+
10
+
11
+
12
+ ## Model Details
13
+
14
+ ### Model Description
15
+
16
+ <!-- Provide a longer summary of what this model is. -->
17
+
18
+
19
+
20
+ - **Developed by:** [More Information Needed]
21
+ - **Funded by [optional]:** [More Information Needed]
22
+ - **Shared by [optional]:** [More Information Needed]
23
+ - **Model type:** [More Information Needed]
24
+ - **Language(s) (NLP):** [More Information Needed]
25
+ - **License:** [More Information Needed]
26
+ - **Finetuned from model [optional]:** [More Information Needed]
27
+
28
+ ### Model Sources [optional]
29
+
30
+ <!-- Provide the basic links for the model. -->
31
+
32
+ - **Repository:** [More Information Needed]
33
+ - **Paper [optional]:** [More Information Needed]
34
+ - **Demo [optional]:** [More Information Needed]
35
+
36
+ ## Uses
37
+
38
+ <!-- Address questions around how the model is intended to be used, including the foreseeable users of the model and those affected by the model. -->
39
+
40
+ ### Direct Use
41
+
42
+ <!-- This section is for the model use without fine-tuning or plugging into a larger ecosystem/app. -->
43
+
44
+ [More Information Needed]
45
+
46
+ ### Downstream Use [optional]
47
+
48
+ <!-- This section is for the model use when fine-tuned for a task, or when plugged into a larger ecosystem/app -->
49
+
50
+ [More Information Needed]
51
+
52
+ ### Out-of-Scope Use
53
+
54
+ <!-- This section addresses misuse, malicious use, and uses that the model will not work well for. -->
55
+
56
+ [More Information Needed]
57
+
58
+ ## Bias, Risks, and Limitations
59
+
60
+ <!-- This section is meant to convey both technical and sociotechnical limitations. -->
61
+
62
+ [More Information Needed]
63
+
64
+ ### Recommendations
65
+
66
+ <!-- This section is meant to convey recommendations with respect to the bias, risk, and technical limitations. -->
67
+
68
+ Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. More information needed for further recommendations.
69
+
70
+ ## How to Get Started with the Model
71
+
72
+ Use the code below to get started with the model.
73
+
74
+ [More Information Needed]
75
+
76
+ ## Training Details
77
+
78
+ ### Training Data
79
+
80
+ <!-- This should link to a Dataset Card, perhaps with a short stub of information on what the training data is all about as well as documentation related to data pre-processing or additional filtering. -->
81
+
82
+ [More Information Needed]
83
+
84
+ ### Training Procedure
85
+
86
+ <!-- This relates heavily to the Technical Specifications. Content here should link to that section when it is relevant to the training procedure. -->
87
+
88
+ #### Preprocessing [optional]
89
+
90
+ [More Information Needed]
91
+
92
+
93
+ #### Training Hyperparameters
94
+
95
+ - **Training regime:** [More Information Needed] <!--fp32, fp16 mixed precision, bf16 mixed precision, bf16 non-mixed precision, fp16 non-mixed precision, fp8 mixed precision -->
96
+
97
+ #### Speeds, Sizes, Times [optional]
98
+
99
+ <!-- This section provides information about throughput, start/end time, checkpoint size if relevant, etc. -->
100
+
101
+ [More Information Needed]
102
+
103
+ ## Evaluation
104
+
105
+ <!-- This section describes the evaluation protocols and provides the results. -->
106
+
107
+ ### Testing Data, Factors & Metrics
108
+
109
+ #### Testing Data
110
+
111
+ <!-- This should link to a Dataset Card if possible. -->
112
+
113
+ [More Information Needed]
114
+
115
+ #### Factors
116
+
117
+ <!-- These are the things the evaluation is disaggregating by, e.g., subpopulations or domains. -->
118
+
119
+ [More Information Needed]
120
+
121
+ #### Metrics
122
+
123
+ <!-- These are the evaluation metrics being used, ideally with a description of why. -->
124
+
125
+ [More Information Needed]
126
+
127
+ ### Results
128
+
129
+ [More Information Needed]
130
+
131
+ #### Summary
132
+
133
+
134
+
135
+ ## Model Examination [optional]
136
+
137
+ <!-- Relevant interpretability work for the model goes here -->
138
+
139
+ [More Information Needed]
140
+
141
+ ## Environmental Impact
142
+
143
+ <!-- Total emissions (in grams of CO2eq) and additional considerations, such as electricity usage, go here. Edit the suggested text below accordingly -->
144
+
145
+ Carbon emissions can be estimated using the [Machine Learning Impact calculator](https://mlco2.github.io/impact#compute) presented in [Lacoste et al. (2019)](https://arxiv.org/abs/1910.09700).
146
+
147
+ - **Hardware Type:** [More Information Needed]
148
+ - **Hours used:** [More Information Needed]
149
+ - **Cloud Provider:** [More Information Needed]
150
+ - **Compute Region:** [More Information Needed]
151
+ - **Carbon Emitted:** [More Information Needed]
152
+
153
+ ## Technical Specifications [optional]
154
+
155
+ ### Model Architecture and Objective
156
+
157
+ [More Information Needed]
158
+
159
+ ### Compute Infrastructure
160
+
161
+ [More Information Needed]
162
+
163
+ #### Hardware
164
+
165
+ [More Information Needed]
166
+
167
+ #### Software
168
+
169
+ [More Information Needed]
170
+
171
+ ## Citation [optional]
172
+
173
+ <!-- If there is a paper or blog post introducing the model, the APA and Bibtex information for that should go in this section. -->
174
+
175
+ **BibTeX:**
176
+
177
+ [More Information Needed]
178
+
179
+ **APA:**
180
+
181
+ [More Information Needed]
182
+
183
+ ## Glossary [optional]
184
+
185
+ <!-- If relevant, include terms and calculations in this section that can help readers understand the model or model card. -->
186
+
187
+ [More Information Needed]
188
+
189
+ ## More Information [optional]
190
+
191
+ [More Information Needed]
192
+
193
+ ## Model Card Authors [optional]
194
+
195
+ [More Information Needed]
196
+
197
+ ## Model Card Contact
198
+
199
+ [More Information Needed]
200
+ ### Framework versions
201
+
202
+ - PEFT 0.15.2
25_128_e5_3e-5/checkpoint-1293/adapter_config.json ADDED
@@ -0,0 +1,39 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "alpha_pattern": {},
3
+ "auto_mapping": null,
4
+ "base_model_name_or_path": "ibm-granite/granite-3.3-8b-base",
5
+ "bias": "none",
6
+ "corda_config": null,
7
+ "eva_config": null,
8
+ "exclude_modules": null,
9
+ "fan_in_fan_out": false,
10
+ "inference_mode": true,
11
+ "init_lora_weights": true,
12
+ "layer_replication": null,
13
+ "layers_pattern": null,
14
+ "layers_to_transform": null,
15
+ "loftq_config": {},
16
+ "lora_alpha": 256,
17
+ "lora_bias": false,
18
+ "lora_dropout": 0.05,
19
+ "megatron_config": null,
20
+ "megatron_core": "megatron.core",
21
+ "modules_to_save": null,
22
+ "peft_type": "LORA",
23
+ "r": 128,
24
+ "rank_pattern": {},
25
+ "revision": null,
26
+ "target_modules": [
27
+ "k_proj",
28
+ "down_proj",
29
+ "up_proj",
30
+ "q_proj",
31
+ "v_proj",
32
+ "o_proj",
33
+ "gate_proj"
34
+ ],
35
+ "task_type": "CAUSAL_LM",
36
+ "trainable_token_indices": null,
37
+ "use_dora": false,
38
+ "use_rslora": false
39
+ }
25_128_e5_3e-5/checkpoint-1293/adapter_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8b2e2947529e321d74526e36c78f9ab0998fcd416905cf127bc10b8587f90481
3
+ size 791751704
25_128_e5_3e-5/checkpoint-1293/latest ADDED
@@ -0,0 +1 @@
 
 
1
+ global_step1293
25_128_e5_3e-5/checkpoint-1293/merges.txt ADDED
The diff for this file is too large to render. See raw diff
 
25_128_e5_3e-5/checkpoint-1293/rng_state_0.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bee9d9f246c7f9bcc03732992f735f48a479ee662b3a9b6b747b35f086d0be6b
3
+ size 15920
25_128_e5_3e-5/checkpoint-1293/rng_state_1.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:841078892087194dd30f792e033ef277c1de77493c3f13eb38ad79bcab80adf8
3
+ size 15920
25_128_e5_3e-5/checkpoint-1293/rng_state_2.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:dfa4b9526c78ff72c85b7578e10ae0ad94d7f532a6786b9bfadca6b522bcd61d
3
+ size 15920
25_128_e5_3e-5/checkpoint-1293/rng_state_3.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:355db91fc189b8d300af72f162aaffc8ceba72f22c1178400311b17af13bd680
3
+ size 15920
25_128_e5_3e-5/checkpoint-1293/rng_state_4.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:80cc4975169668deffcb78de75b78709c2dee1a8a4609bc36cf2c4c557828099
3
+ size 15920
25_128_e5_3e-5/checkpoint-1293/rng_state_5.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:65a59976a5a2718e3550d4013a7ebbebf5a99382ef5ad5588d2d18555292ec0e
3
+ size 15920
25_128_e5_3e-5/checkpoint-1293/rng_state_6.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:10edf0729f5372d462ee74d399ec8a6951d49eb79b757540d5748b7c29889395
3
+ size 15920
25_128_e5_3e-5/checkpoint-1293/rng_state_7.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6fab5483a10de71d1081cfb856329619130c0b0a31be892fb67a2489bff23105
3
+ size 15920
25_128_e5_3e-5/checkpoint-1293/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:38fbdb165482ae85cb14120f7387ff84296e2c5a8919fe110c4fef6bd8d6ea11
3
+ size 1064
25_128_e5_3e-5/checkpoint-1293/special_tokens_map.json ADDED
@@ -0,0 +1,51 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "additional_special_tokens": [
3
+ "<|endoftext|>",
4
+ "<fim_prefix>",
5
+ "<fim_middle>",
6
+ "<fim_suffix>",
7
+ "<fim_pad>",
8
+ "<filename>",
9
+ "<gh_stars>",
10
+ "<issue_start>",
11
+ "<issue_comment>",
12
+ "<issue_closed>",
13
+ "<jupyter_start>",
14
+ "<jupyter_text>",
15
+ "<jupyter_code>",
16
+ "<jupyter_output>",
17
+ "<empty_output>",
18
+ "<commit_before>",
19
+ "<commit_msg>",
20
+ "<commit_after>",
21
+ "<reponame>"
22
+ ],
23
+ "bos_token": {
24
+ "content": "<|endoftext|>",
25
+ "lstrip": false,
26
+ "normalized": false,
27
+ "rstrip": false,
28
+ "single_word": false
29
+ },
30
+ "eos_token": {
31
+ "content": "<|endoftext|>",
32
+ "lstrip": false,
33
+ "normalized": false,
34
+ "rstrip": false,
35
+ "single_word": false
36
+ },
37
+ "pad_token": {
38
+ "content": "<|endoftext|>",
39
+ "lstrip": false,
40
+ "normalized": false,
41
+ "rstrip": false,
42
+ "single_word": false
43
+ },
44
+ "unk_token": {
45
+ "content": "<|endoftext|>",
46
+ "lstrip": false,
47
+ "normalized": false,
48
+ "rstrip": false,
49
+ "single_word": false
50
+ }
51
+ }
25_128_e5_3e-5/checkpoint-1293/tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
25_128_e5_3e-5/checkpoint-1293/tokenizer_config.json ADDED
@@ -0,0 +1,188 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_prefix_space": false,
3
+ "added_tokens_decoder": {
4
+ "0": {
5
+ "content": "<|endoftext|>",
6
+ "lstrip": false,
7
+ "normalized": false,
8
+ "rstrip": false,
9
+ "single_word": false,
10
+ "special": true
11
+ },
12
+ "1": {
13
+ "content": "<fim_prefix>",
14
+ "lstrip": false,
15
+ "normalized": false,
16
+ "rstrip": false,
17
+ "single_word": false,
18
+ "special": true
19
+ },
20
+ "2": {
21
+ "content": "<fim_middle>",
22
+ "lstrip": false,
23
+ "normalized": false,
24
+ "rstrip": false,
25
+ "single_word": false,
26
+ "special": true
27
+ },
28
+ "3": {
29
+ "content": "<fim_suffix>",
30
+ "lstrip": false,
31
+ "normalized": false,
32
+ "rstrip": false,
33
+ "single_word": false,
34
+ "special": true
35
+ },
36
+ "4": {
37
+ "content": "<fim_pad>",
38
+ "lstrip": false,
39
+ "normalized": false,
40
+ "rstrip": false,
41
+ "single_word": false,
42
+ "special": true
43
+ },
44
+ "5": {
45
+ "content": "<filename>",
46
+ "lstrip": false,
47
+ "normalized": false,
48
+ "rstrip": false,
49
+ "single_word": false,
50
+ "special": true
51
+ },
52
+ "6": {
53
+ "content": "<gh_stars>",
54
+ "lstrip": false,
55
+ "normalized": false,
56
+ "rstrip": false,
57
+ "single_word": false,
58
+ "special": true
59
+ },
60
+ "7": {
61
+ "content": "<issue_start>",
62
+ "lstrip": false,
63
+ "normalized": false,
64
+ "rstrip": false,
65
+ "single_word": false,
66
+ "special": true
67
+ },
68
+ "8": {
69
+ "content": "<issue_comment>",
70
+ "lstrip": false,
71
+ "normalized": false,
72
+ "rstrip": false,
73
+ "single_word": false,
74
+ "special": true
75
+ },
76
+ "9": {
77
+ "content": "<issue_closed>",
78
+ "lstrip": false,
79
+ "normalized": false,
80
+ "rstrip": false,
81
+ "single_word": false,
82
+ "special": true
83
+ },
84
+ "10": {
85
+ "content": "<jupyter_start>",
86
+ "lstrip": false,
87
+ "normalized": false,
88
+ "rstrip": false,
89
+ "single_word": false,
90
+ "special": true
91
+ },
92
+ "11": {
93
+ "content": "<jupyter_text>",
94
+ "lstrip": false,
95
+ "normalized": false,
96
+ "rstrip": false,
97
+ "single_word": false,
98
+ "special": true
99
+ },
100
+ "12": {
101
+ "content": "<jupyter_code>",
102
+ "lstrip": false,
103
+ "normalized": false,
104
+ "rstrip": false,
105
+ "single_word": false,
106
+ "special": true
107
+ },
108
+ "13": {
109
+ "content": "<jupyter_output>",
110
+ "lstrip": false,
111
+ "normalized": false,
112
+ "rstrip": false,
113
+ "single_word": false,
114
+ "special": true
115
+ },
116
+ "14": {
117
+ "content": "<empty_output>",
118
+ "lstrip": false,
119
+ "normalized": false,
120
+ "rstrip": false,
121
+ "single_word": false,
122
+ "special": true
123
+ },
124
+ "15": {
125
+ "content": "<commit_before>",
126
+ "lstrip": false,
127
+ "normalized": false,
128
+ "rstrip": false,
129
+ "single_word": false,
130
+ "special": true
131
+ },
132
+ "16": {
133
+ "content": "<commit_msg>",
134
+ "lstrip": false,
135
+ "normalized": false,
136
+ "rstrip": false,
137
+ "single_word": false,
138
+ "special": true
139
+ },
140
+ "17": {
141
+ "content": "<commit_after>",
142
+ "lstrip": false,
143
+ "normalized": false,
144
+ "rstrip": false,
145
+ "single_word": false,
146
+ "special": true
147
+ },
148
+ "18": {
149
+ "content": "<reponame>",
150
+ "lstrip": false,
151
+ "normalized": false,
152
+ "rstrip": false,
153
+ "single_word": false,
154
+ "special": true
155
+ }
156
+ },
157
+ "additional_special_tokens": [
158
+ "<|endoftext|>",
159
+ "<fim_prefix>",
160
+ "<fim_middle>",
161
+ "<fim_suffix>",
162
+ "<fim_pad>",
163
+ "<filename>",
164
+ "<gh_stars>",
165
+ "<issue_start>",
166
+ "<issue_comment>",
167
+ "<issue_closed>",
168
+ "<jupyter_start>",
169
+ "<jupyter_text>",
170
+ "<jupyter_code>",
171
+ "<jupyter_output>",
172
+ "<empty_output>",
173
+ "<commit_before>",
174
+ "<commit_msg>",
175
+ "<commit_after>",
176
+ "<reponame>"
177
+ ],
178
+ "bos_token": "<|endoftext|>",
179
+ "clean_up_tokenization_spaces": true,
180
+ "eos_token": "<|endoftext|>",
181
+ "extra_special_tokens": {},
182
+ "model_max_length": 8192,
183
+ "pad_token": "<|endoftext|>",
184
+ "padding_side": "left",
185
+ "tokenizer_class": "GPT2Tokenizer",
186
+ "unk_token": "<|endoftext|>",
187
+ "vocab_size": 49152
188
+ }
25_128_e5_3e-5/checkpoint-1293/trainer_state.json ADDED
@@ -0,0 +1,1840 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_global_step": null,
3
+ "best_metric": null,
4
+ "best_model_checkpoint": null,
5
+ "epoch": 3.0,
6
+ "eval_steps": 500,
7
+ "global_step": 1293,
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.011614401858304297,
14
+ "grad_norm": 1.2486553192138672,
15
+ "learning_rate": 1.111111111111111e-06,
16
+ "loss": 1.3051,
17
+ "step": 5
18
+ },
19
+ {
20
+ "epoch": 0.023228803716608595,
21
+ "grad_norm": 1.02664053440094,
22
+ "learning_rate": 2.4999999999999998e-06,
23
+ "loss": 1.3323,
24
+ "step": 10
25
+ },
26
+ {
27
+ "epoch": 0.03484320557491289,
28
+ "grad_norm": 0.8225151896476746,
29
+ "learning_rate": 3.888888888888889e-06,
30
+ "loss": 1.3047,
31
+ "step": 15
32
+ },
33
+ {
34
+ "epoch": 0.04645760743321719,
35
+ "grad_norm": 0.7819671630859375,
36
+ "learning_rate": 5.277777777777778e-06,
37
+ "loss": 1.2887,
38
+ "step": 20
39
+ },
40
+ {
41
+ "epoch": 0.05807200929152149,
42
+ "grad_norm": 0.6035093069076538,
43
+ "learning_rate": 6.666666666666667e-06,
44
+ "loss": 1.3248,
45
+ "step": 25
46
+ },
47
+ {
48
+ "epoch": 0.06968641114982578,
49
+ "grad_norm": 0.5274394750595093,
50
+ "learning_rate": 8.055555555555557e-06,
51
+ "loss": 1.2981,
52
+ "step": 30
53
+ },
54
+ {
55
+ "epoch": 0.08130081300813008,
56
+ "grad_norm": 0.4473659098148346,
57
+ "learning_rate": 9.444444444444445e-06,
58
+ "loss": 1.2253,
59
+ "step": 35
60
+ },
61
+ {
62
+ "epoch": 0.09291521486643438,
63
+ "grad_norm": 0.5344942808151245,
64
+ "learning_rate": 1.0833333333333334e-05,
65
+ "loss": 1.2101,
66
+ "step": 40
67
+ },
68
+ {
69
+ "epoch": 0.10452961672473868,
70
+ "grad_norm": 0.42955347895622253,
71
+ "learning_rate": 1.2222222222222222e-05,
72
+ "loss": 1.2136,
73
+ "step": 45
74
+ },
75
+ {
76
+ "epoch": 0.11614401858304298,
77
+ "grad_norm": 0.4606517553329468,
78
+ "learning_rate": 1.3611111111111111e-05,
79
+ "loss": 1.2501,
80
+ "step": 50
81
+ },
82
+ {
83
+ "epoch": 0.12775842044134728,
84
+ "grad_norm": 0.43243467807769775,
85
+ "learning_rate": 1.5e-05,
86
+ "loss": 1.2287,
87
+ "step": 55
88
+ },
89
+ {
90
+ "epoch": 0.13937282229965156,
91
+ "grad_norm": 0.45852982997894287,
92
+ "learning_rate": 1.638888888888889e-05,
93
+ "loss": 1.2272,
94
+ "step": 60
95
+ },
96
+ {
97
+ "epoch": 0.15098722415795587,
98
+ "grad_norm": 0.422735333442688,
99
+ "learning_rate": 1.7777777777777777e-05,
100
+ "loss": 1.1591,
101
+ "step": 65
102
+ },
103
+ {
104
+ "epoch": 0.16260162601626016,
105
+ "grad_norm": 0.48696285486221313,
106
+ "learning_rate": 1.9166666666666667e-05,
107
+ "loss": 1.2238,
108
+ "step": 70
109
+ },
110
+ {
111
+ "epoch": 0.17421602787456447,
112
+ "grad_norm": 0.6145470142364502,
113
+ "learning_rate": 2.0555555555555558e-05,
114
+ "loss": 1.2375,
115
+ "step": 75
116
+ },
117
+ {
118
+ "epoch": 0.18583042973286876,
119
+ "grad_norm": 0.5468384623527527,
120
+ "learning_rate": 2.1944444444444445e-05,
121
+ "loss": 1.1484,
122
+ "step": 80
123
+ },
124
+ {
125
+ "epoch": 0.19744483159117304,
126
+ "grad_norm": 0.4397794008255005,
127
+ "learning_rate": 2.3333333333333336e-05,
128
+ "loss": 1.1567,
129
+ "step": 85
130
+ },
131
+ {
132
+ "epoch": 0.20905923344947736,
133
+ "grad_norm": 0.4396965801715851,
134
+ "learning_rate": 2.4722222222222223e-05,
135
+ "loss": 1.1665,
136
+ "step": 90
137
+ },
138
+ {
139
+ "epoch": 0.22067363530778164,
140
+ "grad_norm": 0.5894995927810669,
141
+ "learning_rate": 2.611111111111111e-05,
142
+ "loss": 1.1519,
143
+ "step": 95
144
+ },
145
+ {
146
+ "epoch": 0.23228803716608595,
147
+ "grad_norm": 0.4796619117259979,
148
+ "learning_rate": 2.75e-05,
149
+ "loss": 1.1242,
150
+ "step": 100
151
+ },
152
+ {
153
+ "epoch": 0.24390243902439024,
154
+ "grad_norm": 0.7274127006530762,
155
+ "learning_rate": 2.8888888888888888e-05,
156
+ "loss": 1.1197,
157
+ "step": 105
158
+ },
159
+ {
160
+ "epoch": 0.25551684088269455,
161
+ "grad_norm": 0.5538251996040344,
162
+ "learning_rate": 2.999998233452831e-05,
163
+ "loss": 1.09,
164
+ "step": 110
165
+ },
166
+ {
167
+ "epoch": 0.26713124274099886,
168
+ "grad_norm": 0.4963814616203308,
169
+ "learning_rate": 2.999936404738799e-05,
170
+ "loss": 1.14,
171
+ "step": 115
172
+ },
173
+ {
174
+ "epoch": 0.2787456445993031,
175
+ "grad_norm": 0.5045656561851501,
176
+ "learning_rate": 2.9997862528271754e-05,
177
+ "loss": 1.0846,
178
+ "step": 120
179
+ },
180
+ {
181
+ "epoch": 0.29036004645760743,
182
+ "grad_norm": 0.5694212913513184,
183
+ "learning_rate": 2.999547786559598e-05,
184
+ "loss": 1.0566,
185
+ "step": 125
186
+ },
187
+ {
188
+ "epoch": 0.30197444831591175,
189
+ "grad_norm": 0.5698084831237793,
190
+ "learning_rate": 2.9992210199780657e-05,
191
+ "loss": 1.0812,
192
+ "step": 130
193
+ },
194
+ {
195
+ "epoch": 0.313588850174216,
196
+ "grad_norm": 0.5170321464538574,
197
+ "learning_rate": 2.9988059723241064e-05,
198
+ "loss": 1.0414,
199
+ "step": 135
200
+ },
201
+ {
202
+ "epoch": 0.3252032520325203,
203
+ "grad_norm": 0.5222340226173401,
204
+ "learning_rate": 2.9983026680376472e-05,
205
+ "loss": 1.0631,
206
+ "step": 140
207
+ },
208
+ {
209
+ "epoch": 0.33681765389082463,
210
+ "grad_norm": 0.5456163883209229,
211
+ "learning_rate": 2.997711136755574e-05,
212
+ "loss": 1.0866,
213
+ "step": 145
214
+ },
215
+ {
216
+ "epoch": 0.34843205574912894,
217
+ "grad_norm": 0.5397904515266418,
218
+ "learning_rate": 2.9970314133099855e-05,
219
+ "loss": 1.1579,
220
+ "step": 150
221
+ },
222
+ {
223
+ "epoch": 0.3600464576074332,
224
+ "grad_norm": 0.6353335380554199,
225
+ "learning_rate": 2.9962635377261457e-05,
226
+ "loss": 0.9954,
227
+ "step": 155
228
+ },
229
+ {
230
+ "epoch": 0.3716608594657375,
231
+ "grad_norm": 0.6079632639884949,
232
+ "learning_rate": 2.9954075552201222e-05,
233
+ "loss": 1.0647,
234
+ "step": 160
235
+ },
236
+ {
237
+ "epoch": 0.3832752613240418,
238
+ "grad_norm": 0.6199746131896973,
239
+ "learning_rate": 2.994463516196126e-05,
240
+ "loss": 1.0637,
241
+ "step": 165
242
+ },
243
+ {
244
+ "epoch": 0.3948896631823461,
245
+ "grad_norm": 0.6312094926834106,
246
+ "learning_rate": 2.9934314762435444e-05,
247
+ "loss": 1.0242,
248
+ "step": 170
249
+ },
250
+ {
251
+ "epoch": 0.4065040650406504,
252
+ "grad_norm": 0.677851140499115,
253
+ "learning_rate": 2.9923114961336672e-05,
254
+ "loss": 0.9563,
255
+ "step": 175
256
+ },
257
+ {
258
+ "epoch": 0.4181184668989547,
259
+ "grad_norm": 0.6415532827377319,
260
+ "learning_rate": 2.9911036418161058e-05,
261
+ "loss": 0.9728,
262
+ "step": 180
263
+ },
264
+ {
265
+ "epoch": 0.429732868757259,
266
+ "grad_norm": 0.7620236873626709,
267
+ "learning_rate": 2.9898079844149132e-05,
268
+ "loss": 1.0066,
269
+ "step": 185
270
+ },
271
+ {
272
+ "epoch": 0.4413472706155633,
273
+ "grad_norm": 0.6720292568206787,
274
+ "learning_rate": 2.9884246002243936e-05,
275
+ "loss": 1.0059,
276
+ "step": 190
277
+ },
278
+ {
279
+ "epoch": 0.4529616724738676,
280
+ "grad_norm": 0.7387037873268127,
281
+ "learning_rate": 2.9869535707046104e-05,
282
+ "loss": 0.9314,
283
+ "step": 195
284
+ },
285
+ {
286
+ "epoch": 0.4645760743321719,
287
+ "grad_norm": 0.6071408987045288,
288
+ "learning_rate": 2.985394982476591e-05,
289
+ "loss": 0.9805,
290
+ "step": 200
291
+ },
292
+ {
293
+ "epoch": 0.47619047619047616,
294
+ "grad_norm": 0.7038552165031433,
295
+ "learning_rate": 2.9837489273172232e-05,
296
+ "loss": 0.9766,
297
+ "step": 205
298
+ },
299
+ {
300
+ "epoch": 0.4878048780487805,
301
+ "grad_norm": 0.7892246842384338,
302
+ "learning_rate": 2.9820155021538533e-05,
303
+ "loss": 0.9558,
304
+ "step": 210
305
+ },
306
+ {
307
+ "epoch": 0.4994192799070848,
308
+ "grad_norm": 0.7563413381576538,
309
+ "learning_rate": 2.980194809058577e-05,
310
+ "loss": 0.9455,
311
+ "step": 215
312
+ },
313
+ {
314
+ "epoch": 0.5110336817653891,
315
+ "grad_norm": 0.7255906462669373,
316
+ "learning_rate": 2.9782869552422316e-05,
317
+ "loss": 0.9183,
318
+ "step": 220
319
+ },
320
+ {
321
+ "epoch": 0.5226480836236934,
322
+ "grad_norm": 0.7455199956893921,
323
+ "learning_rate": 2.9762920530480788e-05,
324
+ "loss": 0.9363,
325
+ "step": 225
326
+ },
327
+ {
328
+ "epoch": 0.5342624854819977,
329
+ "grad_norm": 0.7163615822792053,
330
+ "learning_rate": 2.974210219945193e-05,
331
+ "loss": 0.9436,
332
+ "step": 230
333
+ },
334
+ {
335
+ "epoch": 0.5458768873403019,
336
+ "grad_norm": 0.6869027018547058,
337
+ "learning_rate": 2.9720415785215428e-05,
338
+ "loss": 0.8932,
339
+ "step": 235
340
+ },
341
+ {
342
+ "epoch": 0.5574912891986062,
343
+ "grad_norm": 0.776175320148468,
344
+ "learning_rate": 2.969786256476772e-05,
345
+ "loss": 0.9234,
346
+ "step": 240
347
+ },
348
+ {
349
+ "epoch": 0.5691056910569106,
350
+ "grad_norm": 0.687179446220398,
351
+ "learning_rate": 2.9674443866146807e-05,
352
+ "loss": 0.9165,
353
+ "step": 245
354
+ },
355
+ {
356
+ "epoch": 0.5807200929152149,
357
+ "grad_norm": 0.8298389911651611,
358
+ "learning_rate": 2.9650161068354054e-05,
359
+ "loss": 0.8863,
360
+ "step": 250
361
+ },
362
+ {
363
+ "epoch": 0.5923344947735192,
364
+ "grad_norm": 0.7793598175048828,
365
+ "learning_rate": 2.9625015601272974e-05,
366
+ "loss": 0.8693,
367
+ "step": 255
368
+ },
369
+ {
370
+ "epoch": 0.6039488966318235,
371
+ "grad_norm": 0.9237378835678101,
372
+ "learning_rate": 2.9599008945585066e-05,
373
+ "loss": 0.8435,
374
+ "step": 260
375
+ },
376
+ {
377
+ "epoch": 0.6155632984901278,
378
+ "grad_norm": 0.8277608752250671,
379
+ "learning_rate": 2.9572142632682562e-05,
380
+ "loss": 0.8683,
381
+ "step": 265
382
+ },
383
+ {
384
+ "epoch": 0.627177700348432,
385
+ "grad_norm": 0.7906745076179504,
386
+ "learning_rate": 2.954441824457832e-05,
387
+ "loss": 0.9144,
388
+ "step": 270
389
+ },
390
+ {
391
+ "epoch": 0.6387921022067363,
392
+ "grad_norm": 0.8107167482376099,
393
+ "learning_rate": 2.951583741381263e-05,
394
+ "loss": 0.8696,
395
+ "step": 275
396
+ },
397
+ {
398
+ "epoch": 0.6504065040650406,
399
+ "grad_norm": 0.734391987323761,
400
+ "learning_rate": 2.948640182335708e-05,
401
+ "loss": 0.871,
402
+ "step": 280
403
+ },
404
+ {
405
+ "epoch": 0.662020905923345,
406
+ "grad_norm": 0.8837676048278809,
407
+ "learning_rate": 2.9456113206515475e-05,
408
+ "loss": 0.8883,
409
+ "step": 285
410
+ },
411
+ {
412
+ "epoch": 0.6736353077816493,
413
+ "grad_norm": 0.8748791217803955,
414
+ "learning_rate": 2.942497334682176e-05,
415
+ "loss": 0.7801,
416
+ "step": 290
417
+ },
418
+ {
419
+ "epoch": 0.6852497096399536,
420
+ "grad_norm": 0.8546818494796753,
421
+ "learning_rate": 2.9392984077934987e-05,
422
+ "loss": 0.8724,
423
+ "step": 295
424
+ },
425
+ {
426
+ "epoch": 0.6968641114982579,
427
+ "grad_norm": 0.7864014506340027,
428
+ "learning_rate": 2.9360147283531373e-05,
429
+ "loss": 0.8214,
430
+ "step": 300
431
+ },
432
+ {
433
+ "epoch": 0.7084785133565621,
434
+ "grad_norm": 0.7984604835510254,
435
+ "learning_rate": 2.9326464897193343e-05,
436
+ "loss": 0.836,
437
+ "step": 305
438
+ },
439
+ {
440
+ "epoch": 0.7200929152148664,
441
+ "grad_norm": 0.9750844836235046,
442
+ "learning_rate": 2.9291938902295695e-05,
443
+ "loss": 0.7873,
444
+ "step": 310
445
+ },
446
+ {
447
+ "epoch": 0.7317073170731707,
448
+ "grad_norm": 0.8499948382377625,
449
+ "learning_rate": 2.925657133188881e-05,
450
+ "loss": 0.8412,
451
+ "step": 315
452
+ },
453
+ {
454
+ "epoch": 0.743321718931475,
455
+ "grad_norm": 0.86067134141922,
456
+ "learning_rate": 2.9220364268578922e-05,
457
+ "loss": 0.8256,
458
+ "step": 320
459
+ },
460
+ {
461
+ "epoch": 0.7549361207897793,
462
+ "grad_norm": 0.8807356357574463,
463
+ "learning_rate": 2.918331984440549e-05,
464
+ "loss": 0.8364,
465
+ "step": 325
466
+ },
467
+ {
468
+ "epoch": 0.7665505226480837,
469
+ "grad_norm": 0.8951946496963501,
470
+ "learning_rate": 2.9145440240715657e-05,
471
+ "loss": 0.8415,
472
+ "step": 330
473
+ },
474
+ {
475
+ "epoch": 0.778164924506388,
476
+ "grad_norm": 0.8705118894577026,
477
+ "learning_rate": 2.9106727688035814e-05,
478
+ "loss": 0.7762,
479
+ "step": 335
480
+ },
481
+ {
482
+ "epoch": 0.7897793263646922,
483
+ "grad_norm": 0.9147759675979614,
484
+ "learning_rate": 2.9067184465940225e-05,
485
+ "loss": 0.7983,
486
+ "step": 340
487
+ },
488
+ {
489
+ "epoch": 0.8013937282229965,
490
+ "grad_norm": 0.8624527454376221,
491
+ "learning_rate": 2.9026812902916834e-05,
492
+ "loss": 0.7434,
493
+ "step": 345
494
+ },
495
+ {
496
+ "epoch": 0.8130081300813008,
497
+ "grad_norm": 0.9535494446754456,
498
+ "learning_rate": 2.898561537623011e-05,
499
+ "loss": 0.8049,
500
+ "step": 350
501
+ },
502
+ {
503
+ "epoch": 0.8246225319396051,
504
+ "grad_norm": 0.836469292640686,
505
+ "learning_rate": 2.8943594311781104e-05,
506
+ "loss": 0.777,
507
+ "step": 355
508
+ },
509
+ {
510
+ "epoch": 0.8362369337979094,
511
+ "grad_norm": 0.9156211018562317,
512
+ "learning_rate": 2.8900752183964573e-05,
513
+ "loss": 0.7746,
514
+ "step": 360
515
+ },
516
+ {
517
+ "epoch": 0.8478513356562137,
518
+ "grad_norm": 0.9176764488220215,
519
+ "learning_rate": 2.8857091515523287e-05,
520
+ "loss": 0.7827,
521
+ "step": 365
522
+ },
523
+ {
524
+ "epoch": 0.859465737514518,
525
+ "grad_norm": 0.8853964805603027,
526
+ "learning_rate": 2.8812614877399476e-05,
527
+ "loss": 0.754,
528
+ "step": 370
529
+ },
530
+ {
531
+ "epoch": 0.8710801393728222,
532
+ "grad_norm": 0.8558771014213562,
533
+ "learning_rate": 2.876732488858344e-05,
534
+ "loss": 0.7039,
535
+ "step": 375
536
+ },
537
+ {
538
+ "epoch": 0.8826945412311266,
539
+ "grad_norm": 0.8176305294036865,
540
+ "learning_rate": 2.8721224215959335e-05,
541
+ "loss": 0.7892,
542
+ "step": 380
543
+ },
544
+ {
545
+ "epoch": 0.8943089430894309,
546
+ "grad_norm": 0.9530948996543884,
547
+ "learning_rate": 2.8674315574148126e-05,
548
+ "loss": 0.7049,
549
+ "step": 385
550
+ },
551
+ {
552
+ "epoch": 0.9059233449477352,
553
+ "grad_norm": 0.9136149287223816,
554
+ "learning_rate": 2.862660172534776e-05,
555
+ "loss": 0.7614,
556
+ "step": 390
557
+ },
558
+ {
559
+ "epoch": 0.9175377468060395,
560
+ "grad_norm": 0.9666270017623901,
561
+ "learning_rate": 2.8578085479170478e-05,
562
+ "loss": 0.7265,
563
+ "step": 395
564
+ },
565
+ {
566
+ "epoch": 0.9291521486643438,
567
+ "grad_norm": 0.9841073751449585,
568
+ "learning_rate": 2.85287696924774e-05,
569
+ "loss": 0.6903,
570
+ "step": 400
571
+ },
572
+ {
573
+ "epoch": 0.9407665505226481,
574
+ "grad_norm": 1.1007276773452759,
575
+ "learning_rate": 2.8478657269210294e-05,
576
+ "loss": 0.7114,
577
+ "step": 405
578
+ },
579
+ {
580
+ "epoch": 0.9523809523809523,
581
+ "grad_norm": 0.9525352120399475,
582
+ "learning_rate": 2.8427751160220573e-05,
583
+ "loss": 0.7115,
584
+ "step": 410
585
+ },
586
+ {
587
+ "epoch": 0.9639953542392566,
588
+ "grad_norm": 0.8143008351325989,
589
+ "learning_rate": 2.8376054363095545e-05,
590
+ "loss": 0.6784,
591
+ "step": 415
592
+ },
593
+ {
594
+ "epoch": 0.975609756097561,
595
+ "grad_norm": 0.9916719198226929,
596
+ "learning_rate": 2.8323569921981885e-05,
597
+ "loss": 0.7366,
598
+ "step": 420
599
+ },
600
+ {
601
+ "epoch": 0.9872241579558653,
602
+ "grad_norm": 0.9247941374778748,
603
+ "learning_rate": 2.82703009274064e-05,
604
+ "loss": 0.6974,
605
+ "step": 425
606
+ },
607
+ {
608
+ "epoch": 0.9988385598141696,
609
+ "grad_norm": 0.9906225800514221,
610
+ "learning_rate": 2.8216250516094027e-05,
611
+ "loss": 0.6673,
612
+ "step": 430
613
+ },
614
+ {
615
+ "epoch": 1.0092915214866434,
616
+ "grad_norm": 0.9208662509918213,
617
+ "learning_rate": 2.816142187078315e-05,
618
+ "loss": 0.603,
619
+ "step": 435
620
+ },
621
+ {
622
+ "epoch": 1.0209059233449478,
623
+ "grad_norm": 1.0540852546691895,
624
+ "learning_rate": 2.8105818220038167e-05,
625
+ "loss": 0.6062,
626
+ "step": 440
627
+ },
628
+ {
629
+ "epoch": 1.032520325203252,
630
+ "grad_norm": 0.9971239566802979,
631
+ "learning_rate": 2.804944283805938e-05,
632
+ "loss": 0.5986,
633
+ "step": 445
634
+ },
635
+ {
636
+ "epoch": 1.0441347270615564,
637
+ "grad_norm": 1.0977699756622314,
638
+ "learning_rate": 2.7992299044490192e-05,
639
+ "loss": 0.5556,
640
+ "step": 450
641
+ },
642
+ {
643
+ "epoch": 1.0557491289198606,
644
+ "grad_norm": 1.0428180694580078,
645
+ "learning_rate": 2.793439020422165e-05,
646
+ "loss": 0.599,
647
+ "step": 455
648
+ },
649
+ {
650
+ "epoch": 1.0673635307781648,
651
+ "grad_norm": 1.2783362865447998,
652
+ "learning_rate": 2.787571972719429e-05,
653
+ "loss": 0.5589,
654
+ "step": 460
655
+ },
656
+ {
657
+ "epoch": 1.0789779326364692,
658
+ "grad_norm": 1.0532207489013672,
659
+ "learning_rate": 2.781629106819733e-05,
660
+ "loss": 0.5534,
661
+ "step": 465
662
+ },
663
+ {
664
+ "epoch": 1.0905923344947734,
665
+ "grad_norm": 1.0525319576263428,
666
+ "learning_rate": 2.775610772666527e-05,
667
+ "loss": 0.577,
668
+ "step": 470
669
+ },
670
+ {
671
+ "epoch": 1.1022067363530779,
672
+ "grad_norm": 0.9602555632591248,
673
+ "learning_rate": 2.7695173246471803e-05,
674
+ "loss": 0.5625,
675
+ "step": 475
676
+ },
677
+ {
678
+ "epoch": 1.113821138211382,
679
+ "grad_norm": 1.0547131299972534,
680
+ "learning_rate": 2.763349121572114e-05,
681
+ "loss": 0.6173,
682
+ "step": 480
683
+ },
684
+ {
685
+ "epoch": 1.1254355400696865,
686
+ "grad_norm": 0.963524341583252,
687
+ "learning_rate": 2.7571065266536737e-05,
688
+ "loss": 0.62,
689
+ "step": 485
690
+ },
691
+ {
692
+ "epoch": 1.1370499419279907,
693
+ "grad_norm": 1.066751480102539,
694
+ "learning_rate": 2.7507899074847394e-05,
695
+ "loss": 0.5829,
696
+ "step": 490
697
+ },
698
+ {
699
+ "epoch": 1.1486643437862951,
700
+ "grad_norm": 0.9866227507591248,
701
+ "learning_rate": 2.7443996360170836e-05,
702
+ "loss": 0.5729,
703
+ "step": 495
704
+ },
705
+ {
706
+ "epoch": 1.1602787456445993,
707
+ "grad_norm": 1.037983775138855,
708
+ "learning_rate": 2.7379360885394664e-05,
709
+ "loss": 0.5955,
710
+ "step": 500
711
+ },
712
+ {
713
+ "epoch": 1.1718931475029035,
714
+ "grad_norm": 1.2030766010284424,
715
+ "learning_rate": 2.731399645655477e-05,
716
+ "loss": 0.6062,
717
+ "step": 505
718
+ },
719
+ {
720
+ "epoch": 1.183507549361208,
721
+ "grad_norm": 1.0329967737197876,
722
+ "learning_rate": 2.7247906922611254e-05,
723
+ "loss": 0.5871,
724
+ "step": 510
725
+ },
726
+ {
727
+ "epoch": 1.1951219512195121,
728
+ "grad_norm": 1.1776123046875,
729
+ "learning_rate": 2.7181096175221757e-05,
730
+ "loss": 0.5755,
731
+ "step": 515
732
+ },
733
+ {
734
+ "epoch": 1.2067363530778166,
735
+ "grad_norm": 1.0537413358688354,
736
+ "learning_rate": 2.7113568148512296e-05,
737
+ "loss": 0.545,
738
+ "step": 520
739
+ },
740
+ {
741
+ "epoch": 1.2183507549361208,
742
+ "grad_norm": 0.9902351498603821,
743
+ "learning_rate": 2.704532681884562e-05,
744
+ "loss": 0.5564,
745
+ "step": 525
746
+ },
747
+ {
748
+ "epoch": 1.229965156794425,
749
+ "grad_norm": 1.0097850561141968,
750
+ "learning_rate": 2.697637620458706e-05,
751
+ "loss": 0.5056,
752
+ "step": 530
753
+ },
754
+ {
755
+ "epoch": 1.2415795586527294,
756
+ "grad_norm": 0.9843356013298035,
757
+ "learning_rate": 2.690672036586791e-05,
758
+ "loss": 0.5348,
759
+ "step": 535
760
+ },
761
+ {
762
+ "epoch": 1.2531939605110336,
763
+ "grad_norm": 0.9540740251541138,
764
+ "learning_rate": 2.6836363404346324e-05,
765
+ "loss": 0.5411,
766
+ "step": 540
767
+ },
768
+ {
769
+ "epoch": 1.264808362369338,
770
+ "grad_norm": 1.0271143913269043,
771
+ "learning_rate": 2.6765309462965845e-05,
772
+ "loss": 0.5065,
773
+ "step": 545
774
+ },
775
+ {
776
+ "epoch": 1.2764227642276422,
777
+ "grad_norm": 1.077792763710022,
778
+ "learning_rate": 2.669356272571138e-05,
779
+ "loss": 0.5307,
780
+ "step": 550
781
+ },
782
+ {
783
+ "epoch": 1.2880371660859466,
784
+ "grad_norm": 1.0701345205307007,
785
+ "learning_rate": 2.6621127417362886e-05,
786
+ "loss": 0.5587,
787
+ "step": 555
788
+ },
789
+ {
790
+ "epoch": 1.2996515679442509,
791
+ "grad_norm": 1.0792369842529297,
792
+ "learning_rate": 2.6548007803246575e-05,
793
+ "loss": 0.5264,
794
+ "step": 560
795
+ },
796
+ {
797
+ "epoch": 1.3112659698025553,
798
+ "grad_norm": 0.8799574375152588,
799
+ "learning_rate": 2.647420818898373e-05,
800
+ "loss": 0.4964,
801
+ "step": 565
802
+ },
803
+ {
804
+ "epoch": 1.3228803716608595,
805
+ "grad_norm": 1.1636409759521484,
806
+ "learning_rate": 2.6399732920237212e-05,
807
+ "loss": 0.5576,
808
+ "step": 570
809
+ },
810
+ {
811
+ "epoch": 1.3344947735191637,
812
+ "grad_norm": 1.055418610572815,
813
+ "learning_rate": 2.6324586382455525e-05,
814
+ "loss": 0.5149,
815
+ "step": 575
816
+ },
817
+ {
818
+ "epoch": 1.346109175377468,
819
+ "grad_norm": 1.0145419836044312,
820
+ "learning_rate": 2.624877300061462e-05,
821
+ "loss": 0.4917,
822
+ "step": 580
823
+ },
824
+ {
825
+ "epoch": 1.3577235772357723,
826
+ "grad_norm": 0.9634491801261902,
827
+ "learning_rate": 2.6172297238957297e-05,
828
+ "loss": 0.515,
829
+ "step": 585
830
+ },
831
+ {
832
+ "epoch": 1.3693379790940767,
833
+ "grad_norm": 0.9772712588310242,
834
+ "learning_rate": 2.6095163600730355e-05,
835
+ "loss": 0.5012,
836
+ "step": 590
837
+ },
838
+ {
839
+ "epoch": 1.380952380952381,
840
+ "grad_norm": 0.9910968542098999,
841
+ "learning_rate": 2.6017376627919405e-05,
842
+ "loss": 0.4839,
843
+ "step": 595
844
+ },
845
+ {
846
+ "epoch": 1.3925667828106851,
847
+ "grad_norm": 1.103830099105835,
848
+ "learning_rate": 2.5938940900981424e-05,
849
+ "loss": 0.562,
850
+ "step": 600
851
+ },
852
+ {
853
+ "epoch": 1.4041811846689896,
854
+ "grad_norm": 1.1236923933029175,
855
+ "learning_rate": 2.5859861038575035e-05,
856
+ "loss": 0.493,
857
+ "step": 605
858
+ },
859
+ {
860
+ "epoch": 1.415795586527294,
861
+ "grad_norm": 0.9853049516677856,
862
+ "learning_rate": 2.5780141697288537e-05,
863
+ "loss": 0.4578,
864
+ "step": 610
865
+ },
866
+ {
867
+ "epoch": 1.4274099883855982,
868
+ "grad_norm": 1.02285635471344,
869
+ "learning_rate": 2.5699787571365704e-05,
870
+ "loss": 0.5141,
871
+ "step": 615
872
+ },
873
+ {
874
+ "epoch": 1.4390243902439024,
875
+ "grad_norm": 1.1389844417572021,
876
+ "learning_rate": 2.5618803392429373e-05,
877
+ "loss": 0.4684,
878
+ "step": 620
879
+ },
880
+ {
881
+ "epoch": 1.4506387921022068,
882
+ "grad_norm": 1.1375923156738281,
883
+ "learning_rate": 2.5537193929202815e-05,
884
+ "loss": 0.4761,
885
+ "step": 625
886
+ },
887
+ {
888
+ "epoch": 1.462253193960511,
889
+ "grad_norm": 1.046151876449585,
890
+ "learning_rate": 2.5454963987228926e-05,
891
+ "loss": 0.5179,
892
+ "step": 630
893
+ },
894
+ {
895
+ "epoch": 1.4738675958188154,
896
+ "grad_norm": 1.1057745218276978,
897
+ "learning_rate": 2.5372118408587284e-05,
898
+ "loss": 0.489,
899
+ "step": 635
900
+ },
901
+ {
902
+ "epoch": 1.4854819976771196,
903
+ "grad_norm": 1.032041311264038,
904
+ "learning_rate": 2.5288662071608975e-05,
905
+ "loss": 0.4871,
906
+ "step": 640
907
+ },
908
+ {
909
+ "epoch": 1.4970963995354238,
910
+ "grad_norm": 1.0814687013626099,
911
+ "learning_rate": 2.520459989058939e-05,
912
+ "loss": 0.5172,
913
+ "step": 645
914
+ },
915
+ {
916
+ "epoch": 1.5087108013937283,
917
+ "grad_norm": 1.0195306539535522,
918
+ "learning_rate": 2.5119936815498797e-05,
919
+ "loss": 0.5218,
920
+ "step": 650
921
+ },
922
+ {
923
+ "epoch": 1.5203252032520327,
924
+ "grad_norm": 0.9469033479690552,
925
+ "learning_rate": 2.503467783169091e-05,
926
+ "loss": 0.4883,
927
+ "step": 655
928
+ },
929
+ {
930
+ "epoch": 1.5319396051103369,
931
+ "grad_norm": 1.1030808687210083,
932
+ "learning_rate": 2.4948827959609285e-05,
933
+ "loss": 0.501,
934
+ "step": 660
935
+ },
936
+ {
937
+ "epoch": 1.543554006968641,
938
+ "grad_norm": 1.0832819938659668,
939
+ "learning_rate": 2.4862392254491736e-05,
940
+ "loss": 0.4813,
941
+ "step": 665
942
+ },
943
+ {
944
+ "epoch": 1.5551684088269453,
945
+ "grad_norm": 1.1702861785888672,
946
+ "learning_rate": 2.477537580607261e-05,
947
+ "loss": 0.4737,
948
+ "step": 670
949
+ },
950
+ {
951
+ "epoch": 1.5667828106852497,
952
+ "grad_norm": 1.0441266298294067,
953
+ "learning_rate": 2.4687783738283144e-05,
954
+ "loss": 0.454,
955
+ "step": 675
956
+ },
957
+ {
958
+ "epoch": 1.5783972125435541,
959
+ "grad_norm": 1.1927803754806519,
960
+ "learning_rate": 2.4599621208949674e-05,
961
+ "loss": 0.4328,
962
+ "step": 680
963
+ },
964
+ {
965
+ "epoch": 1.5900116144018583,
966
+ "grad_norm": 1.1129752397537231,
967
+ "learning_rate": 2.4510893409489967e-05,
968
+ "loss": 0.4024,
969
+ "step": 685
970
+ },
971
+ {
972
+ "epoch": 1.6016260162601625,
973
+ "grad_norm": 1.0736514329910278,
974
+ "learning_rate": 2.4421605564607514e-05,
975
+ "loss": 0.4499,
976
+ "step": 690
977
+ },
978
+ {
979
+ "epoch": 1.6132404181184667,
980
+ "grad_norm": 1.0657414197921753,
981
+ "learning_rate": 2.4331762931983866e-05,
982
+ "loss": 0.4649,
983
+ "step": 695
984
+ },
985
+ {
986
+ "epoch": 1.6248548199767712,
987
+ "grad_norm": 1.0618281364440918,
988
+ "learning_rate": 2.4241370801969045e-05,
989
+ "loss": 0.4337,
990
+ "step": 700
991
+ },
992
+ {
993
+ "epoch": 1.6364692218350756,
994
+ "grad_norm": 1.1562613248825073,
995
+ "learning_rate": 2.415043449727003e-05,
996
+ "loss": 0.4429,
997
+ "step": 705
998
+ },
999
+ {
1000
+ "epoch": 1.6480836236933798,
1001
+ "grad_norm": 1.1286054849624634,
1002
+ "learning_rate": 2.4058959372637304e-05,
1003
+ "loss": 0.4714,
1004
+ "step": 710
1005
+ },
1006
+ {
1007
+ "epoch": 1.659698025551684,
1008
+ "grad_norm": 1.043707251548767,
1009
+ "learning_rate": 2.396695081454959e-05,
1010
+ "loss": 0.4549,
1011
+ "step": 715
1012
+ },
1013
+ {
1014
+ "epoch": 1.6713124274099884,
1015
+ "grad_norm": 1.001025676727295,
1016
+ "learning_rate": 2.387441424089662e-05,
1017
+ "loss": 0.4843,
1018
+ "step": 720
1019
+ },
1020
+ {
1021
+ "epoch": 1.6829268292682928,
1022
+ "grad_norm": 1.0033694505691528,
1023
+ "learning_rate": 2.378135510066013e-05,
1024
+ "loss": 0.4203,
1025
+ "step": 725
1026
+ },
1027
+ {
1028
+ "epoch": 1.694541231126597,
1029
+ "grad_norm": 1.041979432106018,
1030
+ "learning_rate": 2.3687778873593e-05,
1031
+ "loss": 0.4609,
1032
+ "step": 730
1033
+ },
1034
+ {
1035
+ "epoch": 1.7061556329849012,
1036
+ "grad_norm": 1.0614110231399536,
1037
+ "learning_rate": 2.3593691069896582e-05,
1038
+ "loss": 0.4328,
1039
+ "step": 735
1040
+ },
1041
+ {
1042
+ "epoch": 1.7177700348432055,
1043
+ "grad_norm": 1.1184892654418945,
1044
+ "learning_rate": 2.3499097229896213e-05,
1045
+ "loss": 0.4323,
1046
+ "step": 740
1047
+ },
1048
+ {
1049
+ "epoch": 1.7293844367015099,
1050
+ "grad_norm": 1.0571225881576538,
1051
+ "learning_rate": 2.340400292371499e-05,
1052
+ "loss": 0.3688,
1053
+ "step": 745
1054
+ },
1055
+ {
1056
+ "epoch": 1.7409988385598143,
1057
+ "grad_norm": 0.9831321239471436,
1058
+ "learning_rate": 2.3308413750945788e-05,
1059
+ "loss": 0.4091,
1060
+ "step": 750
1061
+ },
1062
+ {
1063
+ "epoch": 1.7526132404181185,
1064
+ "grad_norm": 1.334681749343872,
1065
+ "learning_rate": 2.3212335340321518e-05,
1066
+ "loss": 0.4363,
1067
+ "step": 755
1068
+ },
1069
+ {
1070
+ "epoch": 1.7642276422764227,
1071
+ "grad_norm": 1.0677987337112427,
1072
+ "learning_rate": 2.3115773349383658e-05,
1073
+ "loss": 0.4202,
1074
+ "step": 760
1075
+ },
1076
+ {
1077
+ "epoch": 1.775842044134727,
1078
+ "grad_norm": 1.1645525693893433,
1079
+ "learning_rate": 2.3018733464149156e-05,
1080
+ "loss": 0.4515,
1081
+ "step": 765
1082
+ },
1083
+ {
1084
+ "epoch": 1.7874564459930313,
1085
+ "grad_norm": 1.0856503248214722,
1086
+ "learning_rate": 2.292122139877558e-05,
1087
+ "loss": 0.401,
1088
+ "step": 770
1089
+ },
1090
+ {
1091
+ "epoch": 1.7990708478513358,
1092
+ "grad_norm": 1.0238492488861084,
1093
+ "learning_rate": 2.2823242895224643e-05,
1094
+ "loss": 0.3955,
1095
+ "step": 775
1096
+ },
1097
+ {
1098
+ "epoch": 1.81068524970964,
1099
+ "grad_norm": 1.1932063102722168,
1100
+ "learning_rate": 2.2724803722924106e-05,
1101
+ "loss": 0.4154,
1102
+ "step": 780
1103
+ },
1104
+ {
1105
+ "epoch": 1.8222996515679442,
1106
+ "grad_norm": 1.0874030590057373,
1107
+ "learning_rate": 2.2625909678428038e-05,
1108
+ "loss": 0.4082,
1109
+ "step": 785
1110
+ },
1111
+ {
1112
+ "epoch": 1.8339140534262486,
1113
+ "grad_norm": 1.109732747077942,
1114
+ "learning_rate": 2.2526566585075485e-05,
1115
+ "loss": 0.3826,
1116
+ "step": 790
1117
+ },
1118
+ {
1119
+ "epoch": 1.845528455284553,
1120
+ "grad_norm": 1.0591766834259033,
1121
+ "learning_rate": 2.2426780292647568e-05,
1122
+ "loss": 0.388,
1123
+ "step": 795
1124
+ },
1125
+ {
1126
+ "epoch": 1.8571428571428572,
1127
+ "grad_norm": 1.1858235597610474,
1128
+ "learning_rate": 2.2326556677023017e-05,
1129
+ "loss": 0.4026,
1130
+ "step": 800
1131
+ },
1132
+ {
1133
+ "epoch": 1.8687572590011614,
1134
+ "grad_norm": 1.0293341875076294,
1135
+ "learning_rate": 2.2225901639832188e-05,
1136
+ "loss": 0.419,
1137
+ "step": 805
1138
+ },
1139
+ {
1140
+ "epoch": 1.8803716608594656,
1141
+ "grad_norm": 1.1112502813339233,
1142
+ "learning_rate": 2.2124821108109515e-05,
1143
+ "loss": 0.4005,
1144
+ "step": 810
1145
+ },
1146
+ {
1147
+ "epoch": 1.89198606271777,
1148
+ "grad_norm": 0.9960114359855652,
1149
+ "learning_rate": 2.2023321033944544e-05,
1150
+ "loss": 0.328,
1151
+ "step": 815
1152
+ },
1153
+ {
1154
+ "epoch": 1.9036004645760745,
1155
+ "grad_norm": 1.1106208562850952,
1156
+ "learning_rate": 2.1921407394131406e-05,
1157
+ "loss": 0.3667,
1158
+ "step": 820
1159
+ },
1160
+ {
1161
+ "epoch": 1.9152148664343787,
1162
+ "grad_norm": 1.0423858165740967,
1163
+ "learning_rate": 2.1819086189816893e-05,
1164
+ "loss": 0.3773,
1165
+ "step": 825
1166
+ },
1167
+ {
1168
+ "epoch": 1.9268292682926829,
1169
+ "grad_norm": 1.13150155544281,
1170
+ "learning_rate": 2.171636344614708e-05,
1171
+ "loss": 0.3491,
1172
+ "step": 830
1173
+ },
1174
+ {
1175
+ "epoch": 1.938443670150987,
1176
+ "grad_norm": 1.0611273050308228,
1177
+ "learning_rate": 2.1613245211912554e-05,
1178
+ "loss": 0.3323,
1179
+ "step": 835
1180
+ },
1181
+ {
1182
+ "epoch": 1.9500580720092915,
1183
+ "grad_norm": 0.9943997263908386,
1184
+ "learning_rate": 2.1509737559192188e-05,
1185
+ "loss": 0.3741,
1186
+ "step": 840
1187
+ },
1188
+ {
1189
+ "epoch": 1.961672473867596,
1190
+ "grad_norm": 0.9484174847602844,
1191
+ "learning_rate": 2.140584658299564e-05,
1192
+ "loss": 0.3415,
1193
+ "step": 845
1194
+ },
1195
+ {
1196
+ "epoch": 1.9732868757259001,
1197
+ "grad_norm": 1.0280919075012207,
1198
+ "learning_rate": 2.1301578400904424e-05,
1199
+ "loss": 0.3724,
1200
+ "step": 850
1201
+ },
1202
+ {
1203
+ "epoch": 1.9849012775842043,
1204
+ "grad_norm": 1.1084401607513428,
1205
+ "learning_rate": 2.119693915271168e-05,
1206
+ "loss": 0.3867,
1207
+ "step": 855
1208
+ },
1209
+ {
1210
+ "epoch": 1.9965156794425087,
1211
+ "grad_norm": 1.1195417642593384,
1212
+ "learning_rate": 2.1091935000060637e-05,
1213
+ "loss": 0.3641,
1214
+ "step": 860
1215
+ },
1216
+ {
1217
+ "epoch": 2.0069686411149825,
1218
+ "grad_norm": 0.877273440361023,
1219
+ "learning_rate": 2.0986572126081793e-05,
1220
+ "loss": 0.3401,
1221
+ "step": 865
1222
+ },
1223
+ {
1224
+ "epoch": 2.0185830429732867,
1225
+ "grad_norm": 1.3777830600738525,
1226
+ "learning_rate": 2.0880856735028803e-05,
1227
+ "loss": 0.3079,
1228
+ "step": 870
1229
+ },
1230
+ {
1231
+ "epoch": 2.0301974448315914,
1232
+ "grad_norm": 1.1466902494430542,
1233
+ "learning_rate": 2.0774795051913178e-05,
1234
+ "loss": 0.2913,
1235
+ "step": 875
1236
+ },
1237
+ {
1238
+ "epoch": 2.0418118466898956,
1239
+ "grad_norm": 1.0693480968475342,
1240
+ "learning_rate": 2.0668393322137703e-05,
1241
+ "loss": 0.2945,
1242
+ "step": 880
1243
+ },
1244
+ {
1245
+ "epoch": 2.0534262485481998,
1246
+ "grad_norm": 1.0168899297714233,
1247
+ "learning_rate": 2.056165781112867e-05,
1248
+ "loss": 0.2828,
1249
+ "step": 885
1250
+ },
1251
+ {
1252
+ "epoch": 2.065040650406504,
1253
+ "grad_norm": 1.0432965755462646,
1254
+ "learning_rate": 2.0454594803966972e-05,
1255
+ "loss": 0.2915,
1256
+ "step": 890
1257
+ },
1258
+ {
1259
+ "epoch": 2.076655052264808,
1260
+ "grad_norm": 1.100029468536377,
1261
+ "learning_rate": 2.034721060501799e-05,
1262
+ "loss": 0.297,
1263
+ "step": 895
1264
+ },
1265
+ {
1266
+ "epoch": 2.088269454123113,
1267
+ "grad_norm": 1.1748476028442383,
1268
+ "learning_rate": 2.023951153756035e-05,
1269
+ "loss": 0.2892,
1270
+ "step": 900
1271
+ },
1272
+ {
1273
+ "epoch": 2.099883855981417,
1274
+ "grad_norm": 1.0221283435821533,
1275
+ "learning_rate": 2.013150394341361e-05,
1276
+ "loss": 0.2831,
1277
+ "step": 905
1278
+ },
1279
+ {
1280
+ "epoch": 2.1114982578397212,
1281
+ "grad_norm": 0.9806298017501831,
1282
+ "learning_rate": 2.002319418256479e-05,
1283
+ "loss": 0.2785,
1284
+ "step": 910
1285
+ },
1286
+ {
1287
+ "epoch": 2.1231126596980254,
1288
+ "grad_norm": 1.292575716972351,
1289
+ "learning_rate": 1.9914588632793908e-05,
1290
+ "loss": 0.2829,
1291
+ "step": 915
1292
+ },
1293
+ {
1294
+ "epoch": 2.1347270615563296,
1295
+ "grad_norm": 1.0625466108322144,
1296
+ "learning_rate": 1.9805693689298374e-05,
1297
+ "loss": 0.2867,
1298
+ "step": 920
1299
+ },
1300
+ {
1301
+ "epoch": 2.1463414634146343,
1302
+ "grad_norm": 1.0215439796447754,
1303
+ "learning_rate": 1.969651576431646e-05,
1304
+ "loss": 0.3223,
1305
+ "step": 925
1306
+ },
1307
+ {
1308
+ "epoch": 2.1579558652729385,
1309
+ "grad_norm": 1.1626147031784058,
1310
+ "learning_rate": 1.9587061286749693e-05,
1311
+ "loss": 0.3042,
1312
+ "step": 930
1313
+ },
1314
+ {
1315
+ "epoch": 2.1695702671312427,
1316
+ "grad_norm": 0.9875515699386597,
1317
+ "learning_rate": 1.9477336701784292e-05,
1318
+ "loss": 0.2827,
1319
+ "step": 935
1320
+ },
1321
+ {
1322
+ "epoch": 2.181184668989547,
1323
+ "grad_norm": 1.0031932592391968,
1324
+ "learning_rate": 1.9367348470511652e-05,
1325
+ "loss": 0.2712,
1326
+ "step": 940
1327
+ },
1328
+ {
1329
+ "epoch": 2.1927990708478515,
1330
+ "grad_norm": 1.1925930976867676,
1331
+ "learning_rate": 1.9257103069547894e-05,
1332
+ "loss": 0.2895,
1333
+ "step": 945
1334
+ },
1335
+ {
1336
+ "epoch": 2.2044134727061557,
1337
+ "grad_norm": 1.217810869216919,
1338
+ "learning_rate": 1.9146606990652452e-05,
1339
+ "loss": 0.2714,
1340
+ "step": 950
1341
+ },
1342
+ {
1343
+ "epoch": 2.21602787456446,
1344
+ "grad_norm": 0.9798834323883057,
1345
+ "learning_rate": 1.903586674034587e-05,
1346
+ "loss": 0.2665,
1347
+ "step": 955
1348
+ },
1349
+ {
1350
+ "epoch": 2.227642276422764,
1351
+ "grad_norm": 1.2851895093917847,
1352
+ "learning_rate": 1.8924888839526612e-05,
1353
+ "loss": 0.2795,
1354
+ "step": 960
1355
+ },
1356
+ {
1357
+ "epoch": 2.2392566782810683,
1358
+ "grad_norm": 1.1440101861953735,
1359
+ "learning_rate": 1.881367982308711e-05,
1360
+ "loss": 0.2779,
1361
+ "step": 965
1362
+ },
1363
+ {
1364
+ "epoch": 2.250871080139373,
1365
+ "grad_norm": 1.3127503395080566,
1366
+ "learning_rate": 1.8702246239528965e-05,
1367
+ "loss": 0.2638,
1368
+ "step": 970
1369
+ },
1370
+ {
1371
+ "epoch": 2.262485481997677,
1372
+ "grad_norm": 1.0733845233917236,
1373
+ "learning_rate": 1.8590594650577314e-05,
1374
+ "loss": 0.2646,
1375
+ "step": 975
1376
+ },
1377
+ {
1378
+ "epoch": 2.2740998838559814,
1379
+ "grad_norm": 1.0694085359573364,
1380
+ "learning_rate": 1.847873163079446e-05,
1381
+ "loss": 0.2741,
1382
+ "step": 980
1383
+ },
1384
+ {
1385
+ "epoch": 2.2857142857142856,
1386
+ "grad_norm": 1.1703122854232788,
1387
+ "learning_rate": 1.8366663767192747e-05,
1388
+ "loss": 0.2374,
1389
+ "step": 985
1390
+ },
1391
+ {
1392
+ "epoch": 2.2973286875725902,
1393
+ "grad_norm": 1.2135448455810547,
1394
+ "learning_rate": 1.8254397658846656e-05,
1395
+ "loss": 0.271,
1396
+ "step": 990
1397
+ },
1398
+ {
1399
+ "epoch": 2.3089430894308944,
1400
+ "grad_norm": 1.1723593473434448,
1401
+ "learning_rate": 1.8141939916504245e-05,
1402
+ "loss": 0.2744,
1403
+ "step": 995
1404
+ },
1405
+ {
1406
+ "epoch": 2.3205574912891986,
1407
+ "grad_norm": 1.2068791389465332,
1408
+ "learning_rate": 1.8029297162197867e-05,
1409
+ "loss": 0.2597,
1410
+ "step": 1000
1411
+ },
1412
+ {
1413
+ "epoch": 2.332171893147503,
1414
+ "grad_norm": 1.1227343082427979,
1415
+ "learning_rate": 1.791647602885423e-05,
1416
+ "loss": 0.254,
1417
+ "step": 1005
1418
+ },
1419
+ {
1420
+ "epoch": 2.343786295005807,
1421
+ "grad_norm": 1.1190464496612549,
1422
+ "learning_rate": 1.7803483159903835e-05,
1423
+ "loss": 0.232,
1424
+ "step": 1010
1425
+ },
1426
+ {
1427
+ "epoch": 2.3554006968641117,
1428
+ "grad_norm": 1.0415700674057007,
1429
+ "learning_rate": 1.769032520888976e-05,
1430
+ "loss": 0.2613,
1431
+ "step": 1015
1432
+ },
1433
+ {
1434
+ "epoch": 2.367015098722416,
1435
+ "grad_norm": 1.188915491104126,
1436
+ "learning_rate": 1.7577008839075886e-05,
1437
+ "loss": 0.2392,
1438
+ "step": 1020
1439
+ },
1440
+ {
1441
+ "epoch": 2.37862950058072,
1442
+ "grad_norm": 1.1599727869033813,
1443
+ "learning_rate": 1.7463540723054526e-05,
1444
+ "loss": 0.2607,
1445
+ "step": 1025
1446
+ },
1447
+ {
1448
+ "epoch": 2.3902439024390243,
1449
+ "grad_norm": 1.0613243579864502,
1450
+ "learning_rate": 1.734992754235351e-05,
1451
+ "loss": 0.2517,
1452
+ "step": 1030
1453
+ },
1454
+ {
1455
+ "epoch": 2.4018583042973285,
1456
+ "grad_norm": 1.140293836593628,
1457
+ "learning_rate": 1.7236175987042744e-05,
1458
+ "loss": 0.2757,
1459
+ "step": 1035
1460
+ },
1461
+ {
1462
+ "epoch": 2.413472706155633,
1463
+ "grad_norm": 1.217897891998291,
1464
+ "learning_rate": 1.7122292755340284e-05,
1465
+ "loss": 0.2604,
1466
+ "step": 1040
1467
+ },
1468
+ {
1469
+ "epoch": 2.4250871080139373,
1470
+ "grad_norm": 1.2544645071029663,
1471
+ "learning_rate": 1.700828455321788e-05,
1472
+ "loss": 0.2539,
1473
+ "step": 1045
1474
+ },
1475
+ {
1476
+ "epoch": 2.4367015098722415,
1477
+ "grad_norm": 1.5165183544158936,
1478
+ "learning_rate": 1.6894158094006142e-05,
1479
+ "loss": 0.2392,
1480
+ "step": 1050
1481
+ },
1482
+ {
1483
+ "epoch": 2.4483159117305457,
1484
+ "grad_norm": 1.0610485076904297,
1485
+ "learning_rate": 1.6779920097999194e-05,
1486
+ "loss": 0.2678,
1487
+ "step": 1055
1488
+ },
1489
+ {
1490
+ "epoch": 2.45993031358885,
1491
+ "grad_norm": 1.1240959167480469,
1492
+ "learning_rate": 1.6665577292058955e-05,
1493
+ "loss": 0.2425,
1494
+ "step": 1060
1495
+ },
1496
+ {
1497
+ "epoch": 2.4715447154471546,
1498
+ "grad_norm": 1.2169679403305054,
1499
+ "learning_rate": 1.655113640921905e-05,
1500
+ "loss": 0.2425,
1501
+ "step": 1065
1502
+ },
1503
+ {
1504
+ "epoch": 2.483159117305459,
1505
+ "grad_norm": 1.0992380380630493,
1506
+ "learning_rate": 1.6436604188288325e-05,
1507
+ "loss": 0.2537,
1508
+ "step": 1070
1509
+ },
1510
+ {
1511
+ "epoch": 2.494773519163763,
1512
+ "grad_norm": 1.1832488775253296,
1513
+ "learning_rate": 1.632198737345403e-05,
1514
+ "loss": 0.2596,
1515
+ "step": 1075
1516
+ },
1517
+ {
1518
+ "epoch": 2.506387921022067,
1519
+ "grad_norm": 0.9653327465057373,
1520
+ "learning_rate": 1.6207292713884692e-05,
1521
+ "loss": 0.2427,
1522
+ "step": 1080
1523
+ },
1524
+ {
1525
+ "epoch": 2.5180023228803714,
1526
+ "grad_norm": 1.139378547668457,
1527
+ "learning_rate": 1.609252696333271e-05,
1528
+ "loss": 0.2432,
1529
+ "step": 1085
1530
+ },
1531
+ {
1532
+ "epoch": 2.529616724738676,
1533
+ "grad_norm": 1.0014028549194336,
1534
+ "learning_rate": 1.597769687973664e-05,
1535
+ "loss": 0.2329,
1536
+ "step": 1090
1537
+ },
1538
+ {
1539
+ "epoch": 2.5412311265969802,
1540
+ "grad_norm": 1.1616328954696655,
1541
+ "learning_rate": 1.586280922482327e-05,
1542
+ "loss": 0.2513,
1543
+ "step": 1095
1544
+ },
1545
+ {
1546
+ "epoch": 2.5528455284552845,
1547
+ "grad_norm": 1.022898554801941,
1548
+ "learning_rate": 1.5747870763709432e-05,
1549
+ "loss": 0.2697,
1550
+ "step": 1100
1551
+ },
1552
+ {
1553
+ "epoch": 2.564459930313589,
1554
+ "grad_norm": 1.102315902709961,
1555
+ "learning_rate": 1.5632888264503705e-05,
1556
+ "loss": 0.2368,
1557
+ "step": 1105
1558
+ },
1559
+ {
1560
+ "epoch": 2.5760743321718933,
1561
+ "grad_norm": 1.0889406204223633,
1562
+ "learning_rate": 1.5517868497907795e-05,
1563
+ "loss": 0.2377,
1564
+ "step": 1110
1565
+ },
1566
+ {
1567
+ "epoch": 2.5876887340301975,
1568
+ "grad_norm": 1.0581204891204834,
1569
+ "learning_rate": 1.54028182368179e-05,
1570
+ "loss": 0.2424,
1571
+ "step": 1115
1572
+ },
1573
+ {
1574
+ "epoch": 2.5993031358885017,
1575
+ "grad_norm": 1.180722713470459,
1576
+ "learning_rate": 1.5287744255925882e-05,
1577
+ "loss": 0.2191,
1578
+ "step": 1120
1579
+ },
1580
+ {
1581
+ "epoch": 2.610917537746806,
1582
+ "grad_norm": 1.0064940452575684,
1583
+ "learning_rate": 1.5172653331320318e-05,
1584
+ "loss": 0.2718,
1585
+ "step": 1125
1586
+ },
1587
+ {
1588
+ "epoch": 2.6225319396051106,
1589
+ "grad_norm": 1.1252609491348267,
1590
+ "learning_rate": 1.5057552240087526e-05,
1591
+ "loss": 0.2248,
1592
+ "step": 1130
1593
+ },
1594
+ {
1595
+ "epoch": 2.6341463414634148,
1596
+ "grad_norm": 1.0868943929672241,
1597
+ "learning_rate": 1.4942447759912473e-05,
1598
+ "loss": 0.2609,
1599
+ "step": 1135
1600
+ },
1601
+ {
1602
+ "epoch": 2.645760743321719,
1603
+ "grad_norm": 1.127143144607544,
1604
+ "learning_rate": 1.4827346668679683e-05,
1605
+ "loss": 0.233,
1606
+ "step": 1140
1607
+ },
1608
+ {
1609
+ "epoch": 2.657375145180023,
1610
+ "grad_norm": 1.2413113117218018,
1611
+ "learning_rate": 1.471225574407412e-05,
1612
+ "loss": 0.2043,
1613
+ "step": 1145
1614
+ },
1615
+ {
1616
+ "epoch": 2.6689895470383274,
1617
+ "grad_norm": 1.1059684753417969,
1618
+ "learning_rate": 1.4597181763182104e-05,
1619
+ "loss": 0.2375,
1620
+ "step": 1150
1621
+ },
1622
+ {
1623
+ "epoch": 2.680603948896632,
1624
+ "grad_norm": 1.1019221544265747,
1625
+ "learning_rate": 1.4482131502092208e-05,
1626
+ "loss": 0.1922,
1627
+ "step": 1155
1628
+ },
1629
+ {
1630
+ "epoch": 2.692218350754936,
1631
+ "grad_norm": 1.1478207111358643,
1632
+ "learning_rate": 1.4367111735496298e-05,
1633
+ "loss": 0.2286,
1634
+ "step": 1160
1635
+ },
1636
+ {
1637
+ "epoch": 2.7038327526132404,
1638
+ "grad_norm": 1.0406802892684937,
1639
+ "learning_rate": 1.4252129236290569e-05,
1640
+ "loss": 0.2078,
1641
+ "step": 1165
1642
+ },
1643
+ {
1644
+ "epoch": 2.7154471544715446,
1645
+ "grad_norm": 1.2635127305984497,
1646
+ "learning_rate": 1.4137190775176739e-05,
1647
+ "loss": 0.2146,
1648
+ "step": 1170
1649
+ },
1650
+ {
1651
+ "epoch": 2.727061556329849,
1652
+ "grad_norm": 1.0526198148727417,
1653
+ "learning_rate": 1.402230312026336e-05,
1654
+ "loss": 0.2103,
1655
+ "step": 1175
1656
+ },
1657
+ {
1658
+ "epoch": 2.7386759581881535,
1659
+ "grad_norm": 1.297333836555481,
1660
+ "learning_rate": 1.390747303666729e-05,
1661
+ "loss": 0.2183,
1662
+ "step": 1180
1663
+ },
1664
+ {
1665
+ "epoch": 2.7502903600464577,
1666
+ "grad_norm": 1.0738940238952637,
1667
+ "learning_rate": 1.3792707286115309e-05,
1668
+ "loss": 0.2077,
1669
+ "step": 1185
1670
+ },
1671
+ {
1672
+ "epoch": 2.761904761904762,
1673
+ "grad_norm": 1.0152521133422852,
1674
+ "learning_rate": 1.3678012626545978e-05,
1675
+ "loss": 0.2368,
1676
+ "step": 1190
1677
+ },
1678
+ {
1679
+ "epoch": 2.773519163763066,
1680
+ "grad_norm": 1.0068998336791992,
1681
+ "learning_rate": 1.3563395811711678e-05,
1682
+ "loss": 0.2152,
1683
+ "step": 1195
1684
+ },
1685
+ {
1686
+ "epoch": 2.7851335656213703,
1687
+ "grad_norm": 1.1199923753738403,
1688
+ "learning_rate": 1.344886359078095e-05,
1689
+ "loss": 0.2188,
1690
+ "step": 1200
1691
+ },
1692
+ {
1693
+ "epoch": 2.796747967479675,
1694
+ "grad_norm": 1.037109613418579,
1695
+ "learning_rate": 1.3334422707941051e-05,
1696
+ "loss": 0.2286,
1697
+ "step": 1205
1698
+ },
1699
+ {
1700
+ "epoch": 2.808362369337979,
1701
+ "grad_norm": 0.9589251279830933,
1702
+ "learning_rate": 1.3220079902000811e-05,
1703
+ "loss": 0.2025,
1704
+ "step": 1210
1705
+ },
1706
+ {
1707
+ "epoch": 2.8199767711962833,
1708
+ "grad_norm": 1.2464582920074463,
1709
+ "learning_rate": 1.3105841905993857e-05,
1710
+ "loss": 0.2131,
1711
+ "step": 1215
1712
+ },
1713
+ {
1714
+ "epoch": 2.831591173054588,
1715
+ "grad_norm": 1.091057538986206,
1716
+ "learning_rate": 1.2991715446782121e-05,
1717
+ "loss": 0.2067,
1718
+ "step": 1220
1719
+ },
1720
+ {
1721
+ "epoch": 2.8432055749128917,
1722
+ "grad_norm": 1.278668761253357,
1723
+ "learning_rate": 1.2877707244659722e-05,
1724
+ "loss": 0.2209,
1725
+ "step": 1225
1726
+ },
1727
+ {
1728
+ "epoch": 2.8548199767711964,
1729
+ "grad_norm": 1.2127578258514404,
1730
+ "learning_rate": 1.2763824012957258e-05,
1731
+ "loss": 0.1833,
1732
+ "step": 1230
1733
+ },
1734
+ {
1735
+ "epoch": 2.8664343786295006,
1736
+ "grad_norm": 1.146657109260559,
1737
+ "learning_rate": 1.2650072457646492e-05,
1738
+ "loss": 0.1814,
1739
+ "step": 1235
1740
+ },
1741
+ {
1742
+ "epoch": 2.8780487804878048,
1743
+ "grad_norm": 1.0890151262283325,
1744
+ "learning_rate": 1.2536459276945473e-05,
1745
+ "loss": 0.1801,
1746
+ "step": 1240
1747
+ },
1748
+ {
1749
+ "epoch": 2.8896631823461094,
1750
+ "grad_norm": 0.9708114266395569,
1751
+ "learning_rate": 1.2422991160924117e-05,
1752
+ "loss": 0.1946,
1753
+ "step": 1245
1754
+ },
1755
+ {
1756
+ "epoch": 2.9012775842044136,
1757
+ "grad_norm": 1.1722114086151123,
1758
+ "learning_rate": 1.2309674791110244e-05,
1759
+ "loss": 0.2438,
1760
+ "step": 1250
1761
+ },
1762
+ {
1763
+ "epoch": 2.912891986062718,
1764
+ "grad_norm": 1.015057921409607,
1765
+ "learning_rate": 1.2196516840096167e-05,
1766
+ "loss": 0.2035,
1767
+ "step": 1255
1768
+ },
1769
+ {
1770
+ "epoch": 2.924506387921022,
1771
+ "grad_norm": 0.9809845685958862,
1772
+ "learning_rate": 1.2083523971145773e-05,
1773
+ "loss": 0.189,
1774
+ "step": 1260
1775
+ },
1776
+ {
1777
+ "epoch": 2.9361207897793262,
1778
+ "grad_norm": 1.2840055227279663,
1779
+ "learning_rate": 1.1970702837802137e-05,
1780
+ "loss": 0.2055,
1781
+ "step": 1265
1782
+ },
1783
+ {
1784
+ "epoch": 2.947735191637631,
1785
+ "grad_norm": 0.9905469417572021,
1786
+ "learning_rate": 1.1858060083495761e-05,
1787
+ "loss": 0.1822,
1788
+ "step": 1270
1789
+ },
1790
+ {
1791
+ "epoch": 2.959349593495935,
1792
+ "grad_norm": 1.1354817152023315,
1793
+ "learning_rate": 1.1745602341153347e-05,
1794
+ "loss": 0.1883,
1795
+ "step": 1275
1796
+ },
1797
+ {
1798
+ "epoch": 2.9709639953542393,
1799
+ "grad_norm": 1.3380357027053833,
1800
+ "learning_rate": 1.1633336232807256e-05,
1801
+ "loss": 0.1874,
1802
+ "step": 1280
1803
+ },
1804
+ {
1805
+ "epoch": 2.9825783972125435,
1806
+ "grad_norm": 1.232898235321045,
1807
+ "learning_rate": 1.1521268369205546e-05,
1808
+ "loss": 0.177,
1809
+ "step": 1285
1810
+ },
1811
+ {
1812
+ "epoch": 2.9941927990708477,
1813
+ "grad_norm": 1.0560810565948486,
1814
+ "learning_rate": 1.1409405349422693e-05,
1815
+ "loss": 0.1929,
1816
+ "step": 1290
1817
+ }
1818
+ ],
1819
+ "logging_steps": 5,
1820
+ "max_steps": 2155,
1821
+ "num_input_tokens_seen": 0,
1822
+ "num_train_epochs": 5,
1823
+ "save_steps": 2000,
1824
+ "stateful_callbacks": {
1825
+ "TrainerControl": {
1826
+ "args": {
1827
+ "should_epoch_stop": false,
1828
+ "should_evaluate": false,
1829
+ "should_log": false,
1830
+ "should_save": true,
1831
+ "should_training_stop": false
1832
+ },
1833
+ "attributes": {}
1834
+ }
1835
+ },
1836
+ "total_flos": 2.035566742712877e+18,
1837
+ "train_batch_size": 2,
1838
+ "trial_name": null,
1839
+ "trial_params": null
1840
+ }
25_128_e5_3e-5/checkpoint-1293/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8826cd3cb0315b085e0bee4ad616aa4a2c50addf0b6c688836791cb1c313dff8
3
+ size 7736
25_128_e5_3e-5/checkpoint-1293/vocab.json ADDED
The diff for this file is too large to render. See raw diff
 
25_128_e5_3e-5/checkpoint-1293/zero_to_fp32.py ADDED
@@ -0,0 +1,604 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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: python zero_to_fp32.py . pytorch_model.bin
14
+
15
+ import argparse
16
+ import torch
17
+ import glob
18
+ import math
19
+ import os
20
+ import re
21
+ from collections import OrderedDict
22
+ from dataclasses import dataclass
23
+
24
+ # while this script doesn't use deepspeed to recover data, since the checkpoints are pickled with
25
+ # DeepSpeed data structures it has to be available in the current python environment.
26
+ from deepspeed.utils import logger
27
+ from deepspeed.checkpoint.constants import (DS_VERSION, OPTIMIZER_STATE_DICT, SINGLE_PARTITION_OF_FP32_GROUPS,
28
+ FP32_FLAT_GROUPS, ZERO_STAGE, PARTITION_COUNT, PARAM_SHAPES, BUFFER_NAMES,
29
+ FROZEN_PARAM_SHAPES, FROZEN_PARAM_FRAGMENTS)
30
+
31
+
32
+ @dataclass
33
+ class zero_model_state:
34
+ buffers: dict()
35
+ param_shapes: dict()
36
+ shared_params: list
37
+ ds_version: int
38
+ frozen_param_shapes: dict()
39
+ frozen_param_fragments: dict()
40
+
41
+
42
+ debug = 0
43
+
44
+ # load to cpu
45
+ device = torch.device('cpu')
46
+
47
+
48
+ def atoi(text):
49
+ return int(text) if text.isdigit() else text
50
+
51
+
52
+ def natural_keys(text):
53
+ '''
54
+ alist.sort(key=natural_keys) sorts in human order
55
+ http://nedbatchelder.com/blog/200712/human_sorting.html
56
+ (See Toothy's implementation in the comments)
57
+ '''
58
+ return [atoi(c) for c in re.split(r'(\d+)', text)]
59
+
60
+
61
+ def get_model_state_file(checkpoint_dir, zero_stage):
62
+ if not os.path.isdir(checkpoint_dir):
63
+ raise FileNotFoundError(f"Directory '{checkpoint_dir}' doesn't exist")
64
+
65
+ # there should be only one file
66
+ if zero_stage <= 2:
67
+ file = os.path.join(checkpoint_dir, "mp_rank_00_model_states.pt")
68
+ elif zero_stage == 3:
69
+ file = os.path.join(checkpoint_dir, "zero_pp_rank_0_mp_rank_00_model_states.pt")
70
+
71
+ if not os.path.exists(file):
72
+ raise FileNotFoundError(f"can't find model states file at '{file}'")
73
+
74
+ return file
75
+
76
+
77
+ def get_checkpoint_files(checkpoint_dir, glob_pattern):
78
+ # XXX: need to test that this simple glob rule works for multi-node setup too
79
+ ckpt_files = sorted(glob.glob(os.path.join(checkpoint_dir, glob_pattern)), key=natural_keys)
80
+
81
+ if len(ckpt_files) == 0:
82
+ raise FileNotFoundError(f"can't find {glob_pattern} files in directory '{checkpoint_dir}'")
83
+
84
+ return ckpt_files
85
+
86
+
87
+ def get_optim_files(checkpoint_dir):
88
+ return get_checkpoint_files(checkpoint_dir, "*_optim_states.pt")
89
+
90
+
91
+ def get_model_state_files(checkpoint_dir):
92
+ return get_checkpoint_files(checkpoint_dir, "*_model_states.pt")
93
+
94
+
95
+ def parse_model_states(files):
96
+ zero_model_states = []
97
+ for file in files:
98
+ state_dict = torch.load(file, map_location=device)
99
+
100
+ if BUFFER_NAMES not in state_dict:
101
+ raise ValueError(f"{file} is not a model state checkpoint")
102
+ buffer_names = state_dict[BUFFER_NAMES]
103
+ if debug:
104
+ print("Found buffers:", buffer_names)
105
+
106
+ # recover just the buffers while restoring them to fp32 if they were saved in fp16
107
+ buffers = {k: v.float() for k, v in state_dict["module"].items() if k in buffer_names}
108
+ param_shapes = state_dict[PARAM_SHAPES]
109
+
110
+ # collect parameters that are included in param_shapes
111
+ param_names = []
112
+ for s in param_shapes:
113
+ for name in s.keys():
114
+ param_names.append(name)
115
+
116
+ # update with frozen parameters
117
+ frozen_param_shapes = state_dict.get(FROZEN_PARAM_SHAPES, None)
118
+ if frozen_param_shapes is not None:
119
+ if debug:
120
+ print(f"Found frozen_param_shapes: {frozen_param_shapes}")
121
+ param_names += list(frozen_param_shapes.keys())
122
+
123
+ # handle shared params
124
+ shared_params = [[k, v] for k, v in state_dict["shared_params"].items()]
125
+
126
+ ds_version = state_dict.get(DS_VERSION, None)
127
+
128
+ frozen_param_fragments = state_dict.get(FROZEN_PARAM_FRAGMENTS, None)
129
+
130
+ z_model_state = zero_model_state(buffers=buffers,
131
+ param_shapes=param_shapes,
132
+ shared_params=shared_params,
133
+ ds_version=ds_version,
134
+ frozen_param_shapes=frozen_param_shapes,
135
+ frozen_param_fragments=frozen_param_fragments)
136
+ zero_model_states.append(z_model_state)
137
+
138
+ return zero_model_states
139
+
140
+
141
+ def parse_optim_states(files, ds_checkpoint_dir):
142
+
143
+ total_files = len(files)
144
+ state_dicts = []
145
+ for f in files:
146
+ state_dict = torch.load(f, map_location=device)
147
+ # immediately discard the potentially huge 2 optimizer states as we only care for fp32 master weights
148
+ # and also handle the case where it was already removed by another helper script
149
+ state_dict["optimizer_state_dict"].pop("optimizer_state_dict", None)
150
+ state_dicts.append(state_dict)
151
+
152
+ if not ZERO_STAGE in state_dicts[0][OPTIMIZER_STATE_DICT]:
153
+ raise ValueError(f"{files[0]} is not a zero checkpoint")
154
+ zero_stage = state_dicts[0][OPTIMIZER_STATE_DICT][ZERO_STAGE]
155
+ world_size = state_dicts[0][OPTIMIZER_STATE_DICT][PARTITION_COUNT]
156
+
157
+ # For ZeRO-2 each param group can have different partition_count as data parallelism for expert
158
+ # parameters can be different from data parallelism for non-expert parameters. So we can just
159
+ # use the max of the partition_count to get the dp world_size.
160
+
161
+ if type(world_size) is list:
162
+ world_size = max(world_size)
163
+
164
+ if world_size != total_files:
165
+ raise ValueError(
166
+ f"Expected {world_size} of '*_optim_states.pt' under '{ds_checkpoint_dir}' but found {total_files} files. "
167
+ "Possibly due to an overwrite of an old checkpoint, or a checkpoint didn't get saved by one or more processes."
168
+ )
169
+
170
+ # the groups are named differently in each stage
171
+ if zero_stage <= 2:
172
+ fp32_groups_key = SINGLE_PARTITION_OF_FP32_GROUPS
173
+ elif zero_stage == 3:
174
+ fp32_groups_key = FP32_FLAT_GROUPS
175
+ else:
176
+ raise ValueError(f"unknown zero stage {zero_stage}")
177
+
178
+ if zero_stage <= 2:
179
+ fp32_flat_groups = [state_dicts[i][OPTIMIZER_STATE_DICT][fp32_groups_key] for i in range(len(state_dicts))]
180
+ elif zero_stage == 3:
181
+ # if there is more than one param group, there will be multiple flattened tensors - one
182
+ # flattened tensor per group - for simplicity merge them into a single tensor
183
+ #
184
+ # XXX: could make the script more memory efficient for when there are multiple groups - it
185
+ # will require matching the sub-lists of param_shapes for each param group flattened tensor
186
+
187
+ fp32_flat_groups = [
188
+ torch.cat(state_dicts[i][OPTIMIZER_STATE_DICT][fp32_groups_key], 0) for i in range(len(state_dicts))
189
+ ]
190
+
191
+ return zero_stage, world_size, fp32_flat_groups
192
+
193
+
194
+ def _get_fp32_state_dict_from_zero_checkpoint(ds_checkpoint_dir, exclude_frozen_parameters):
195
+ """
196
+ Returns fp32 state_dict reconstructed from ds checkpoint
197
+
198
+ Args:
199
+ - ``ds_checkpoint_dir``: path to the deepspeed checkpoint folder (where the optimizer files are)
200
+
201
+ """
202
+ print(f"Processing zero checkpoint '{ds_checkpoint_dir}'")
203
+
204
+ optim_files = get_optim_files(ds_checkpoint_dir)
205
+ zero_stage, world_size, fp32_flat_groups = parse_optim_states(optim_files, ds_checkpoint_dir)
206
+ print(f"Detected checkpoint of type zero stage {zero_stage}, world_size: {world_size}")
207
+
208
+ model_files = get_model_state_files(ds_checkpoint_dir)
209
+
210
+ zero_model_states = parse_model_states(model_files)
211
+ print(f'Parsing checkpoint created by deepspeed=={zero_model_states[0].ds_version}')
212
+
213
+ if zero_stage <= 2:
214
+ return _get_fp32_state_dict_from_zero2_checkpoint(world_size, fp32_flat_groups, zero_model_states,
215
+ exclude_frozen_parameters)
216
+ elif zero_stage == 3:
217
+ return _get_fp32_state_dict_from_zero3_checkpoint(world_size, fp32_flat_groups, zero_model_states,
218
+ exclude_frozen_parameters)
219
+
220
+
221
+ def _zero2_merge_frozen_params(state_dict, zero_model_states):
222
+ if zero_model_states[0].frozen_param_shapes is None or len(zero_model_states[0].frozen_param_shapes) == 0:
223
+ return
224
+
225
+ frozen_param_shapes = zero_model_states[0].frozen_param_shapes
226
+ frozen_param_fragments = zero_model_states[0].frozen_param_fragments
227
+
228
+ if debug:
229
+ num_elem = sum(s.numel() for s in frozen_param_shapes.values())
230
+ print(f'rank 0: {FROZEN_PARAM_SHAPES}.numel = {num_elem}')
231
+
232
+ wanted_params = len(frozen_param_shapes)
233
+ wanted_numel = sum(s.numel() for s in frozen_param_shapes.values())
234
+ avail_numel = sum([p.numel() for p in frozen_param_fragments.values()])
235
+ print(f'Frozen params: Have {avail_numel} numels to process.')
236
+ print(f'Frozen params: Need {wanted_numel} numels in {wanted_params} params')
237
+
238
+ total_params = 0
239
+ total_numel = 0
240
+ for name, shape in frozen_param_shapes.items():
241
+ total_params += 1
242
+ unpartitioned_numel = shape.numel()
243
+ total_numel += unpartitioned_numel
244
+
245
+ state_dict[name] = frozen_param_fragments[name]
246
+
247
+ if debug:
248
+ print(f"{name} full shape: {shape} unpartitioned numel {unpartitioned_numel} ")
249
+
250
+ print(f"Reconstructed Frozen fp32 state dict with {total_params} params {total_numel} elements")
251
+
252
+
253
+ def _has_callable(obj, fn):
254
+ attr = getattr(obj, fn, None)
255
+ return callable(attr)
256
+
257
+
258
+ def _zero2_merge_trainable_params(state_dict, world_size, fp32_flat_groups, zero_model_states):
259
+ param_shapes = zero_model_states[0].param_shapes
260
+
261
+ # Reconstruction protocol:
262
+ #
263
+ # XXX: document this
264
+
265
+ if debug:
266
+ for i in range(world_size):
267
+ for j in range(len(fp32_flat_groups[0])):
268
+ print(f"{FP32_FLAT_GROUPS}[{i}][{j}].shape={fp32_flat_groups[i][j].shape}")
269
+
270
+ # XXX: memory usage doubles here (zero2)
271
+ num_param_groups = len(fp32_flat_groups[0])
272
+ merged_single_partition_of_fp32_groups = []
273
+ for i in range(num_param_groups):
274
+ merged_partitions = [sd[i] for sd in fp32_flat_groups]
275
+ full_single_fp32_vector = torch.cat(merged_partitions, 0)
276
+ merged_single_partition_of_fp32_groups.append(full_single_fp32_vector)
277
+ avail_numel = sum(
278
+ [full_single_fp32_vector.numel() for full_single_fp32_vector in merged_single_partition_of_fp32_groups])
279
+
280
+ if debug:
281
+ wanted_params = sum([len(shapes) for shapes in param_shapes])
282
+ wanted_numel = sum([sum(shape.numel() for shape in shapes.values()) for shapes in param_shapes])
283
+ # not asserting if there is a mismatch due to possible padding
284
+ print(f"Have {avail_numel} numels to process.")
285
+ print(f"Need {wanted_numel} numels in {wanted_params} params.")
286
+
287
+ # params
288
+ # XXX: for huge models that can't fit into the host's RAM we will have to recode this to support
289
+ # out-of-core computing solution
290
+ total_numel = 0
291
+ total_params = 0
292
+ for shapes, full_single_fp32_vector in zip(param_shapes, merged_single_partition_of_fp32_groups):
293
+ offset = 0
294
+ avail_numel = full_single_fp32_vector.numel()
295
+ for name, shape in shapes.items():
296
+
297
+ unpartitioned_numel = shape.numel() if _has_callable(shape, 'numel') else math.prod(shape)
298
+ total_numel += unpartitioned_numel
299
+ total_params += 1
300
+
301
+ if debug:
302
+ print(f"{name} full shape: {shape} unpartitioned numel {unpartitioned_numel} ")
303
+ state_dict[name] = full_single_fp32_vector.narrow(0, offset, unpartitioned_numel).view(shape)
304
+ offset += unpartitioned_numel
305
+
306
+ # Z2 started to align to 2*world_size to improve nccl performance. Therefore both offset and
307
+ # avail_numel can differ by anywhere between 0..2*world_size. Due to two unrelated complex
308
+ # paddings performed in the code it's almost impossible to predict the exact numbers w/o the
309
+ # live optimizer object, so we are checking that the numbers are within the right range
310
+ align_to = 2 * world_size
311
+
312
+ def zero2_align(x):
313
+ return align_to * math.ceil(x / align_to)
314
+
315
+ if debug:
316
+ print(f"original offset={offset}, avail_numel={avail_numel}")
317
+
318
+ offset = zero2_align(offset)
319
+ avail_numel = zero2_align(avail_numel)
320
+
321
+ if debug:
322
+ print(f"aligned offset={offset}, avail_numel={avail_numel}")
323
+
324
+ # Sanity check
325
+ if offset != avail_numel:
326
+ raise ValueError(f"consumed {offset} numels out of {avail_numel} - something is wrong")
327
+
328
+ print(f"Reconstructed fp32 state dict with {total_params} params {total_numel} elements")
329
+
330
+
331
+ def _get_fp32_state_dict_from_zero2_checkpoint(world_size, fp32_flat_groups, zero_model_states,
332
+ exclude_frozen_parameters):
333
+ state_dict = OrderedDict()
334
+
335
+ # buffers
336
+ buffers = zero_model_states[0].buffers
337
+ state_dict.update(buffers)
338
+ if debug:
339
+ print(f"added {len(buffers)} buffers")
340
+
341
+ if not exclude_frozen_parameters:
342
+ _zero2_merge_frozen_params(state_dict, zero_model_states)
343
+
344
+ _zero2_merge_trainable_params(state_dict, world_size, fp32_flat_groups, zero_model_states)
345
+
346
+ # recover shared parameters
347
+ for pair in zero_model_states[0].shared_params:
348
+ if pair[1] in state_dict:
349
+ state_dict[pair[0]] = state_dict[pair[1]]
350
+
351
+ return state_dict
352
+
353
+
354
+ def zero3_partitioned_param_info(unpartitioned_numel, world_size):
355
+ remainder = unpartitioned_numel % world_size
356
+ padding_numel = (world_size - remainder) if remainder else 0
357
+ partitioned_numel = math.ceil(unpartitioned_numel / world_size)
358
+ return partitioned_numel, padding_numel
359
+
360
+
361
+ def _zero3_merge_frozen_params(state_dict, world_size, zero_model_states):
362
+ if zero_model_states[0].frozen_param_shapes is None or len(zero_model_states[0].frozen_param_shapes) == 0:
363
+ return
364
+
365
+ if debug:
366
+ for i in range(world_size):
367
+ num_elem = sum(s.numel() for s in zero_model_states[i].frozen_param_fragments.values())
368
+ print(f'rank {i}: {FROZEN_PARAM_SHAPES}.numel = {num_elem}')
369
+
370
+ frozen_param_shapes = zero_model_states[0].frozen_param_shapes
371
+ wanted_params = len(frozen_param_shapes)
372
+ wanted_numel = sum(s.numel() for s in frozen_param_shapes.values())
373
+ avail_numel = sum([p.numel() for p in zero_model_states[0].frozen_param_fragments.values()]) * world_size
374
+ print(f'Frozen params: Have {avail_numel} numels to process.')
375
+ print(f'Frozen params: Need {wanted_numel} numels in {wanted_params} params')
376
+
377
+ total_params = 0
378
+ total_numel = 0
379
+ for name, shape in zero_model_states[0].frozen_param_shapes.items():
380
+ total_params += 1
381
+ unpartitioned_numel = shape.numel()
382
+ total_numel += unpartitioned_numel
383
+
384
+ param_frags = tuple(model_state.frozen_param_fragments[name] for model_state in zero_model_states)
385
+ state_dict[name] = torch.cat(param_frags, 0).narrow(0, 0, unpartitioned_numel).view(shape)
386
+
387
+ partitioned_numel, partitioned_padding_numel = zero3_partitioned_param_info(unpartitioned_numel, world_size)
388
+
389
+ if debug:
390
+ print(
391
+ f"Frozen params: {total_params} {name} full shape: {shape} partition0 numel={partitioned_numel} partitioned_padding_numel={partitioned_padding_numel}"
392
+ )
393
+
394
+ print(f"Reconstructed Frozen fp32 state dict with {total_params} params {total_numel} elements")
395
+
396
+
397
+ def _zero3_merge_trainable_params(state_dict, world_size, fp32_flat_groups, zero_model_states):
398
+ param_shapes = zero_model_states[0].param_shapes
399
+ avail_numel = fp32_flat_groups[0].numel() * world_size
400
+ # Reconstruction protocol: For zero3 we need to zip the partitions together at boundary of each
401
+ # param, re-consolidating each param, while dealing with padding if any
402
+
403
+ # merge list of dicts, preserving order
404
+ param_shapes = {k: v for d in param_shapes for k, v in d.items()}
405
+
406
+ if debug:
407
+ for i in range(world_size):
408
+ print(f"{FP32_FLAT_GROUPS}[{i}].shape={fp32_flat_groups[i].shape}")
409
+
410
+ wanted_params = len(param_shapes)
411
+ wanted_numel = sum(shape.numel() for shape in param_shapes.values())
412
+ # not asserting if there is a mismatch due to possible padding
413
+ avail_numel = fp32_flat_groups[0].numel() * world_size
414
+ print(f"Trainable params: Have {avail_numel} numels to process.")
415
+ print(f"Trainable params: Need {wanted_numel} numels in {wanted_params} params.")
416
+
417
+ # params
418
+ # XXX: for huge models that can't fit into the host's RAM we will have to recode this to support
419
+ # out-of-core computing solution
420
+ offset = 0
421
+ total_numel = 0
422
+ total_params = 0
423
+ for name, shape in param_shapes.items():
424
+
425
+ unpartitioned_numel = shape.numel()
426
+ total_numel += unpartitioned_numel
427
+ total_params += 1
428
+
429
+ partitioned_numel, partitioned_padding_numel = zero3_partitioned_param_info(unpartitioned_numel, world_size)
430
+
431
+ if debug:
432
+ print(
433
+ f"Trainable params: {total_params} {name} full shape: {shape} partition0 numel={partitioned_numel} partitioned_padding_numel={partitioned_padding_numel}"
434
+ )
435
+
436
+ # XXX: memory usage doubles here
437
+ state_dict[name] = torch.cat(
438
+ tuple(fp32_flat_groups[i].narrow(0, offset, partitioned_numel) for i in range(world_size)),
439
+ 0).narrow(0, 0, unpartitioned_numel).view(shape)
440
+ offset += partitioned_numel
441
+
442
+ offset *= world_size
443
+
444
+ # Sanity check
445
+ if offset != avail_numel:
446
+ raise ValueError(f"consumed {offset} numels out of {avail_numel} - something is wrong")
447
+
448
+ print(f"Reconstructed Trainable fp32 state dict with {total_params} params {total_numel} elements")
449
+
450
+
451
+ def _get_fp32_state_dict_from_zero3_checkpoint(world_size, fp32_flat_groups, zero_model_states,
452
+ exclude_frozen_parameters):
453
+ state_dict = OrderedDict()
454
+
455
+ # buffers
456
+ buffers = zero_model_states[0].buffers
457
+ state_dict.update(buffers)
458
+ if debug:
459
+ print(f"added {len(buffers)} buffers")
460
+
461
+ if not exclude_frozen_parameters:
462
+ _zero3_merge_frozen_params(state_dict, world_size, zero_model_states)
463
+
464
+ _zero3_merge_trainable_params(state_dict, world_size, fp32_flat_groups, zero_model_states)
465
+
466
+ # recover shared parameters
467
+ for pair in zero_model_states[0].shared_params:
468
+ if pair[1] in state_dict:
469
+ state_dict[pair[0]] = state_dict[pair[1]]
470
+
471
+ return state_dict
472
+
473
+
474
+ def get_fp32_state_dict_from_zero_checkpoint(checkpoint_dir, tag=None, exclude_frozen_parameters=False):
475
+ """
476
+ Convert ZeRO 2 or 3 checkpoint into a single fp32 consolidated state_dict that can be loaded with
477
+ ``load_state_dict()`` and used for training without DeepSpeed or shared with others, for example
478
+ via a model hub.
479
+
480
+ Args:
481
+ - ``checkpoint_dir``: path to the desired checkpoint folder
482
+ - ``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``
483
+ - ``exclude_frozen_parameters``: exclude frozen parameters
484
+
485
+ Returns:
486
+ - pytorch ``state_dict``
487
+
488
+ Note: this approach may not work if your application doesn't have sufficient free CPU memory and
489
+ you may need to use the offline approach using the ``zero_to_fp32.py`` script that is saved with
490
+ the checkpoint.
491
+
492
+ A typical usage might be ::
493
+
494
+ from deepspeed.utils.zero_to_fp32 import get_fp32_state_dict_from_zero_checkpoint
495
+ # do the training and checkpoint saving
496
+ state_dict = get_fp32_state_dict_from_zero_checkpoint(checkpoint_dir) # already on cpu
497
+ model = model.cpu() # move to cpu
498
+ model.load_state_dict(state_dict)
499
+ # submit to model hub or save the model to share with others
500
+
501
+ In this example the ``model`` will no longer be usable in the deepspeed context of the same
502
+ application. i.e. you will need to re-initialize the deepspeed engine, since
503
+ ``model.load_state_dict(state_dict)`` will remove all the deepspeed magic from it.
504
+
505
+ If you want it all done for you, use ``load_state_dict_from_zero_checkpoint`` instead.
506
+
507
+ """
508
+ if tag is None:
509
+ latest_path = os.path.join(checkpoint_dir, 'latest')
510
+ if os.path.isfile(latest_path):
511
+ with open(latest_path, 'r') as fd:
512
+ tag = fd.read().strip()
513
+ else:
514
+ raise ValueError(f"Unable to find 'latest' file at {latest_path}")
515
+
516
+ ds_checkpoint_dir = os.path.join(checkpoint_dir, tag)
517
+
518
+ if not os.path.isdir(ds_checkpoint_dir):
519
+ raise FileNotFoundError(f"Directory '{ds_checkpoint_dir}' doesn't exist")
520
+
521
+ return _get_fp32_state_dict_from_zero_checkpoint(ds_checkpoint_dir, exclude_frozen_parameters)
522
+
523
+
524
+ def convert_zero_checkpoint_to_fp32_state_dict(checkpoint_dir, output_file, tag=None, exclude_frozen_parameters=False):
525
+ """
526
+ Convert ZeRO 2 or 3 checkpoint into a single fp32 consolidated ``state_dict`` file that can be
527
+ loaded with ``torch.load(file)`` + ``load_state_dict()`` and used for training without DeepSpeed.
528
+
529
+ Args:
530
+ - ``checkpoint_dir``: path to the desired checkpoint folder. (one that contains the tag-folder, like ``global_step14``)
531
+ - ``output_file``: path to the pytorch fp32 state_dict output file (e.g. path/pytorch_model.bin)
532
+ - ``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``
533
+ - ``exclude_frozen_parameters``: exclude frozen parameters
534
+ """
535
+
536
+ state_dict = get_fp32_state_dict_from_zero_checkpoint(checkpoint_dir, tag, exclude_frozen_parameters)
537
+ print(f"Saving fp32 state dict to {output_file}")
538
+ torch.save(state_dict, output_file)
539
+
540
+
541
+ def load_state_dict_from_zero_checkpoint(model, checkpoint_dir, tag=None):
542
+ """
543
+ 1. Put the provided model to cpu
544
+ 2. Convert ZeRO 2 or 3 checkpoint into a single fp32 consolidated ``state_dict``
545
+ 3. Load it into the provided model
546
+
547
+ Args:
548
+ - ``model``: the model object to update
549
+ - ``checkpoint_dir``: path to the desired checkpoint folder. (one that contains the tag-folder, like ``global_step14``)
550
+ - ``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``
551
+
552
+ Returns:
553
+ - ``model`: modified model
554
+
555
+ Make sure you have plenty of CPU memory available before you call this function. If you don't
556
+ have enough use the ``zero_to_fp32.py`` utility to do the conversion. You will find it
557
+ conveniently placed for you in the checkpoint folder.
558
+
559
+ A typical usage might be ::
560
+
561
+ from deepspeed.utils.zero_to_fp32 import load_state_dict_from_zero_checkpoint
562
+ model = load_state_dict_from_zero_checkpoint(trainer.model, checkpoint_dir)
563
+ # submit to model hub or save the model to share with others
564
+
565
+ Note, that once this was run, the ``model`` will no longer be usable in the deepspeed context
566
+ of the same application. i.e. you will need to re-initialize the deepspeed engine, since
567
+ ``model.load_state_dict(state_dict)`` will remove all the deepspeed magic from it.
568
+
569
+ """
570
+ logger.info(f"Extracting fp32 weights")
571
+ state_dict = get_fp32_state_dict_from_zero_checkpoint(checkpoint_dir, tag)
572
+
573
+ logger.info(f"Overwriting model with fp32 weights")
574
+ model = model.cpu()
575
+ model.load_state_dict(state_dict, strict=False)
576
+
577
+ return model
578
+
579
+
580
+ if __name__ == "__main__":
581
+
582
+ parser = argparse.ArgumentParser()
583
+ parser.add_argument("checkpoint_dir",
584
+ type=str,
585
+ help="path to the desired checkpoint folder, e.g., path/checkpoint-12")
586
+ parser.add_argument(
587
+ "output_file",
588
+ type=str,
589
+ help="path to the pytorch fp32 state_dict output file (e.g. path/checkpoint-12/pytorch_model.bin)")
590
+ parser.add_argument("-t",
591
+ "--tag",
592
+ type=str,
593
+ default=None,
594
+ help="checkpoint tag used as a unique identifier for checkpoint. e.g., global_step1")
595
+ parser.add_argument("--exclude_frozen_parameters", action='store_true', help="exclude frozen parameters")
596
+ parser.add_argument("-d", "--debug", action='store_true', help="enable debug")
597
+ args = parser.parse_args()
598
+
599
+ debug = args.debug
600
+
601
+ convert_zero_checkpoint_to_fp32_state_dict(args.checkpoint_dir,
602
+ args.output_file,
603
+ tag=args.tag,
604
+ exclude_frozen_parameters=args.exclude_frozen_parameters)
25_128_e5_3e-5/checkpoint-1724/README.md ADDED
@@ -0,0 +1,202 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: ibm-granite/granite-3.3-8b-base
3
+ library_name: peft
4
+ ---
5
+
6
+ # Model Card for Model ID
7
+
8
+ <!-- Provide a quick summary of what the model is/does. -->
9
+
10
+
11
+
12
+ ## Model Details
13
+
14
+ ### Model Description
15
+
16
+ <!-- Provide a longer summary of what this model is. -->
17
+
18
+
19
+
20
+ - **Developed by:** [More Information Needed]
21
+ - **Funded by [optional]:** [More Information Needed]
22
+ - **Shared by [optional]:** [More Information Needed]
23
+ - **Model type:** [More Information Needed]
24
+ - **Language(s) (NLP):** [More Information Needed]
25
+ - **License:** [More Information Needed]
26
+ - **Finetuned from model [optional]:** [More Information Needed]
27
+
28
+ ### Model Sources [optional]
29
+
30
+ <!-- Provide the basic links for the model. -->
31
+
32
+ - **Repository:** [More Information Needed]
33
+ - **Paper [optional]:** [More Information Needed]
34
+ - **Demo [optional]:** [More Information Needed]
35
+
36
+ ## Uses
37
+
38
+ <!-- Address questions around how the model is intended to be used, including the foreseeable users of the model and those affected by the model. -->
39
+
40
+ ### Direct Use
41
+
42
+ <!-- This section is for the model use without fine-tuning or plugging into a larger ecosystem/app. -->
43
+
44
+ [More Information Needed]
45
+
46
+ ### Downstream Use [optional]
47
+
48
+ <!-- This section is for the model use when fine-tuned for a task, or when plugged into a larger ecosystem/app -->
49
+
50
+ [More Information Needed]
51
+
52
+ ### Out-of-Scope Use
53
+
54
+ <!-- This section addresses misuse, malicious use, and uses that the model will not work well for. -->
55
+
56
+ [More Information Needed]
57
+
58
+ ## Bias, Risks, and Limitations
59
+
60
+ <!-- This section is meant to convey both technical and sociotechnical limitations. -->
61
+
62
+ [More Information Needed]
63
+
64
+ ### Recommendations
65
+
66
+ <!-- This section is meant to convey recommendations with respect to the bias, risk, and technical limitations. -->
67
+
68
+ Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. More information needed for further recommendations.
69
+
70
+ ## How to Get Started with the Model
71
+
72
+ Use the code below to get started with the model.
73
+
74
+ [More Information Needed]
75
+
76
+ ## Training Details
77
+
78
+ ### Training Data
79
+
80
+ <!-- This should link to a Dataset Card, perhaps with a short stub of information on what the training data is all about as well as documentation related to data pre-processing or additional filtering. -->
81
+
82
+ [More Information Needed]
83
+
84
+ ### Training Procedure
85
+
86
+ <!-- This relates heavily to the Technical Specifications. Content here should link to that section when it is relevant to the training procedure. -->
87
+
88
+ #### Preprocessing [optional]
89
+
90
+ [More Information Needed]
91
+
92
+
93
+ #### Training Hyperparameters
94
+
95
+ - **Training regime:** [More Information Needed] <!--fp32, fp16 mixed precision, bf16 mixed precision, bf16 non-mixed precision, fp16 non-mixed precision, fp8 mixed precision -->
96
+
97
+ #### Speeds, Sizes, Times [optional]
98
+
99
+ <!-- This section provides information about throughput, start/end time, checkpoint size if relevant, etc. -->
100
+
101
+ [More Information Needed]
102
+
103
+ ## Evaluation
104
+
105
+ <!-- This section describes the evaluation protocols and provides the results. -->
106
+
107
+ ### Testing Data, Factors & Metrics
108
+
109
+ #### Testing Data
110
+
111
+ <!-- This should link to a Dataset Card if possible. -->
112
+
113
+ [More Information Needed]
114
+
115
+ #### Factors
116
+
117
+ <!-- These are the things the evaluation is disaggregating by, e.g., subpopulations or domains. -->
118
+
119
+ [More Information Needed]
120
+
121
+ #### Metrics
122
+
123
+ <!-- These are the evaluation metrics being used, ideally with a description of why. -->
124
+
125
+ [More Information Needed]
126
+
127
+ ### Results
128
+
129
+ [More Information Needed]
130
+
131
+ #### Summary
132
+
133
+
134
+
135
+ ## Model Examination [optional]
136
+
137
+ <!-- Relevant interpretability work for the model goes here -->
138
+
139
+ [More Information Needed]
140
+
141
+ ## Environmental Impact
142
+
143
+ <!-- Total emissions (in grams of CO2eq) and additional considerations, such as electricity usage, go here. Edit the suggested text below accordingly -->
144
+
145
+ Carbon emissions can be estimated using the [Machine Learning Impact calculator](https://mlco2.github.io/impact#compute) presented in [Lacoste et al. (2019)](https://arxiv.org/abs/1910.09700).
146
+
147
+ - **Hardware Type:** [More Information Needed]
148
+ - **Hours used:** [More Information Needed]
149
+ - **Cloud Provider:** [More Information Needed]
150
+ - **Compute Region:** [More Information Needed]
151
+ - **Carbon Emitted:** [More Information Needed]
152
+
153
+ ## Technical Specifications [optional]
154
+
155
+ ### Model Architecture and Objective
156
+
157
+ [More Information Needed]
158
+
159
+ ### Compute Infrastructure
160
+
161
+ [More Information Needed]
162
+
163
+ #### Hardware
164
+
165
+ [More Information Needed]
166
+
167
+ #### Software
168
+
169
+ [More Information Needed]
170
+
171
+ ## Citation [optional]
172
+
173
+ <!-- If there is a paper or blog post introducing the model, the APA and Bibtex information for that should go in this section. -->
174
+
175
+ **BibTeX:**
176
+
177
+ [More Information Needed]
178
+
179
+ **APA:**
180
+
181
+ [More Information Needed]
182
+
183
+ ## Glossary [optional]
184
+
185
+ <!-- If relevant, include terms and calculations in this section that can help readers understand the model or model card. -->
186
+
187
+ [More Information Needed]
188
+
189
+ ## More Information [optional]
190
+
191
+ [More Information Needed]
192
+
193
+ ## Model Card Authors [optional]
194
+
195
+ [More Information Needed]
196
+
197
+ ## Model Card Contact
198
+
199
+ [More Information Needed]
200
+ ### Framework versions
201
+
202
+ - PEFT 0.15.2
25_128_e5_3e-5/checkpoint-1724/adapter_config.json ADDED
@@ -0,0 +1,39 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "alpha_pattern": {},
3
+ "auto_mapping": null,
4
+ "base_model_name_or_path": "ibm-granite/granite-3.3-8b-base",
5
+ "bias": "none",
6
+ "corda_config": null,
7
+ "eva_config": null,
8
+ "exclude_modules": null,
9
+ "fan_in_fan_out": false,
10
+ "inference_mode": true,
11
+ "init_lora_weights": true,
12
+ "layer_replication": null,
13
+ "layers_pattern": null,
14
+ "layers_to_transform": null,
15
+ "loftq_config": {},
16
+ "lora_alpha": 256,
17
+ "lora_bias": false,
18
+ "lora_dropout": 0.05,
19
+ "megatron_config": null,
20
+ "megatron_core": "megatron.core",
21
+ "modules_to_save": null,
22
+ "peft_type": "LORA",
23
+ "r": 128,
24
+ "rank_pattern": {},
25
+ "revision": null,
26
+ "target_modules": [
27
+ "k_proj",
28
+ "down_proj",
29
+ "up_proj",
30
+ "q_proj",
31
+ "v_proj",
32
+ "o_proj",
33
+ "gate_proj"
34
+ ],
35
+ "task_type": "CAUSAL_LM",
36
+ "trainable_token_indices": null,
37
+ "use_dora": false,
38
+ "use_rslora": false
39
+ }
25_128_e5_3e-5/checkpoint-1724/adapter_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9a77585e0aa773ae4495e472c3258e769d333e0bd1cbc39afcb4acb82fd3512f
3
+ size 791751704
25_128_e5_3e-5/checkpoint-1724/latest ADDED
@@ -0,0 +1 @@
 
 
1
+ global_step1724
25_128_e5_3e-5/checkpoint-1724/merges.txt ADDED
The diff for this file is too large to render. See raw diff
 
25_128_e5_3e-5/checkpoint-1724/rng_state_0.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5439a6035718d96ac1737e638df2e77cf2ce17258a4bc6c636e9a2d82e6afd15
3
+ size 15920
25_128_e5_3e-5/checkpoint-1724/rng_state_1.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b563e9b7b0bb1fe54736f943ebf5a964c7692be9281dc73be887b201014e19fd
3
+ size 15920
25_128_e5_3e-5/checkpoint-1724/rng_state_2.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f4f6008fee9f92770297d74125d890c9249624b41d2c5920ce0dfa41e7c935ae
3
+ size 15920
25_128_e5_3e-5/checkpoint-1724/rng_state_3.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ec62a0cd71615ee11bfed472cf444a654d12ac786aa89f7bf59e60e5b0a57042
3
+ size 15920
25_128_e5_3e-5/checkpoint-1724/rng_state_4.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9f2aca6c276107ece231276a36efd32f1a702bf656c576fa3d1a889e9bae6a51
3
+ size 15920
25_128_e5_3e-5/checkpoint-1724/rng_state_5.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7e059f01b8b3afb064aa8c321ad686eba584fb81806f56be1099b64a0bdc9396
3
+ size 15920
25_128_e5_3e-5/checkpoint-1724/rng_state_6.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:59b6e030ba6fa792b3615f0e5cd9ccfbed7c5bf1607fb0d35661a956cfdef75e
3
+ size 15920
25_128_e5_3e-5/checkpoint-1724/rng_state_7.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e6fa05efae1e71db67fc4ab3d46a75c17f580a10cc9cf1baaa2dbaedc33b365a
3
+ size 15920
25_128_e5_3e-5/checkpoint-1724/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1ef8c305b0b7681d6d6c9e3c5388f9c97dcf6bb0d2f66802eb0e6eabbbec7a5d
3
+ size 1064
25_128_e5_3e-5/checkpoint-1724/special_tokens_map.json ADDED
@@ -0,0 +1,51 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "additional_special_tokens": [
3
+ "<|endoftext|>",
4
+ "<fim_prefix>",
5
+ "<fim_middle>",
6
+ "<fim_suffix>",
7
+ "<fim_pad>",
8
+ "<filename>",
9
+ "<gh_stars>",
10
+ "<issue_start>",
11
+ "<issue_comment>",
12
+ "<issue_closed>",
13
+ "<jupyter_start>",
14
+ "<jupyter_text>",
15
+ "<jupyter_code>",
16
+ "<jupyter_output>",
17
+ "<empty_output>",
18
+ "<commit_before>",
19
+ "<commit_msg>",
20
+ "<commit_after>",
21
+ "<reponame>"
22
+ ],
23
+ "bos_token": {
24
+ "content": "<|endoftext|>",
25
+ "lstrip": false,
26
+ "normalized": false,
27
+ "rstrip": false,
28
+ "single_word": false
29
+ },
30
+ "eos_token": {
31
+ "content": "<|endoftext|>",
32
+ "lstrip": false,
33
+ "normalized": false,
34
+ "rstrip": false,
35
+ "single_word": false
36
+ },
37
+ "pad_token": {
38
+ "content": "<|endoftext|>",
39
+ "lstrip": false,
40
+ "normalized": false,
41
+ "rstrip": false,
42
+ "single_word": false
43
+ },
44
+ "unk_token": {
45
+ "content": "<|endoftext|>",
46
+ "lstrip": false,
47
+ "normalized": false,
48
+ "rstrip": false,
49
+ "single_word": false
50
+ }
51
+ }
25_128_e5_3e-5/checkpoint-1724/tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
25_128_e5_3e-5/checkpoint-1724/tokenizer_config.json ADDED
@@ -0,0 +1,188 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_prefix_space": false,
3
+ "added_tokens_decoder": {
4
+ "0": {
5
+ "content": "<|endoftext|>",
6
+ "lstrip": false,
7
+ "normalized": false,
8
+ "rstrip": false,
9
+ "single_word": false,
10
+ "special": true
11
+ },
12
+ "1": {
13
+ "content": "<fim_prefix>",
14
+ "lstrip": false,
15
+ "normalized": false,
16
+ "rstrip": false,
17
+ "single_word": false,
18
+ "special": true
19
+ },
20
+ "2": {
21
+ "content": "<fim_middle>",
22
+ "lstrip": false,
23
+ "normalized": false,
24
+ "rstrip": false,
25
+ "single_word": false,
26
+ "special": true
27
+ },
28
+ "3": {
29
+ "content": "<fim_suffix>",
30
+ "lstrip": false,
31
+ "normalized": false,
32
+ "rstrip": false,
33
+ "single_word": false,
34
+ "special": true
35
+ },
36
+ "4": {
37
+ "content": "<fim_pad>",
38
+ "lstrip": false,
39
+ "normalized": false,
40
+ "rstrip": false,
41
+ "single_word": false,
42
+ "special": true
43
+ },
44
+ "5": {
45
+ "content": "<filename>",
46
+ "lstrip": false,
47
+ "normalized": false,
48
+ "rstrip": false,
49
+ "single_word": false,
50
+ "special": true
51
+ },
52
+ "6": {
53
+ "content": "<gh_stars>",
54
+ "lstrip": false,
55
+ "normalized": false,
56
+ "rstrip": false,
57
+ "single_word": false,
58
+ "special": true
59
+ },
60
+ "7": {
61
+ "content": "<issue_start>",
62
+ "lstrip": false,
63
+ "normalized": false,
64
+ "rstrip": false,
65
+ "single_word": false,
66
+ "special": true
67
+ },
68
+ "8": {
69
+ "content": "<issue_comment>",
70
+ "lstrip": false,
71
+ "normalized": false,
72
+ "rstrip": false,
73
+ "single_word": false,
74
+ "special": true
75
+ },
76
+ "9": {
77
+ "content": "<issue_closed>",
78
+ "lstrip": false,
79
+ "normalized": false,
80
+ "rstrip": false,
81
+ "single_word": false,
82
+ "special": true
83
+ },
84
+ "10": {
85
+ "content": "<jupyter_start>",
86
+ "lstrip": false,
87
+ "normalized": false,
88
+ "rstrip": false,
89
+ "single_word": false,
90
+ "special": true
91
+ },
92
+ "11": {
93
+ "content": "<jupyter_text>",
94
+ "lstrip": false,
95
+ "normalized": false,
96
+ "rstrip": false,
97
+ "single_word": false,
98
+ "special": true
99
+ },
100
+ "12": {
101
+ "content": "<jupyter_code>",
102
+ "lstrip": false,
103
+ "normalized": false,
104
+ "rstrip": false,
105
+ "single_word": false,
106
+ "special": true
107
+ },
108
+ "13": {
109
+ "content": "<jupyter_output>",
110
+ "lstrip": false,
111
+ "normalized": false,
112
+ "rstrip": false,
113
+ "single_word": false,
114
+ "special": true
115
+ },
116
+ "14": {
117
+ "content": "<empty_output>",
118
+ "lstrip": false,
119
+ "normalized": false,
120
+ "rstrip": false,
121
+ "single_word": false,
122
+ "special": true
123
+ },
124
+ "15": {
125
+ "content": "<commit_before>",
126
+ "lstrip": false,
127
+ "normalized": false,
128
+ "rstrip": false,
129
+ "single_word": false,
130
+ "special": true
131
+ },
132
+ "16": {
133
+ "content": "<commit_msg>",
134
+ "lstrip": false,
135
+ "normalized": false,
136
+ "rstrip": false,
137
+ "single_word": false,
138
+ "special": true
139
+ },
140
+ "17": {
141
+ "content": "<commit_after>",
142
+ "lstrip": false,
143
+ "normalized": false,
144
+ "rstrip": false,
145
+ "single_word": false,
146
+ "special": true
147
+ },
148
+ "18": {
149
+ "content": "<reponame>",
150
+ "lstrip": false,
151
+ "normalized": false,
152
+ "rstrip": false,
153
+ "single_word": false,
154
+ "special": true
155
+ }
156
+ },
157
+ "additional_special_tokens": [
158
+ "<|endoftext|>",
159
+ "<fim_prefix>",
160
+ "<fim_middle>",
161
+ "<fim_suffix>",
162
+ "<fim_pad>",
163
+ "<filename>",
164
+ "<gh_stars>",
165
+ "<issue_start>",
166
+ "<issue_comment>",
167
+ "<issue_closed>",
168
+ "<jupyter_start>",
169
+ "<jupyter_text>",
170
+ "<jupyter_code>",
171
+ "<jupyter_output>",
172
+ "<empty_output>",
173
+ "<commit_before>",
174
+ "<commit_msg>",
175
+ "<commit_after>",
176
+ "<reponame>"
177
+ ],
178
+ "bos_token": "<|endoftext|>",
179
+ "clean_up_tokenization_spaces": true,
180
+ "eos_token": "<|endoftext|>",
181
+ "extra_special_tokens": {},
182
+ "model_max_length": 8192,
183
+ "pad_token": "<|endoftext|>",
184
+ "padding_side": "left",
185
+ "tokenizer_class": "GPT2Tokenizer",
186
+ "unk_token": "<|endoftext|>",
187
+ "vocab_size": 49152
188
+ }
25_128_e5_3e-5/checkpoint-1724/trainer_state.json ADDED
@@ -0,0 +1,2442 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_global_step": null,
3
+ "best_metric": null,
4
+ "best_model_checkpoint": null,
5
+ "epoch": 4.0,
6
+ "eval_steps": 500,
7
+ "global_step": 1724,
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.011614401858304297,
14
+ "grad_norm": 1.2486553192138672,
15
+ "learning_rate": 1.111111111111111e-06,
16
+ "loss": 1.3051,
17
+ "step": 5
18
+ },
19
+ {
20
+ "epoch": 0.023228803716608595,
21
+ "grad_norm": 1.02664053440094,
22
+ "learning_rate": 2.4999999999999998e-06,
23
+ "loss": 1.3323,
24
+ "step": 10
25
+ },
26
+ {
27
+ "epoch": 0.03484320557491289,
28
+ "grad_norm": 0.8225151896476746,
29
+ "learning_rate": 3.888888888888889e-06,
30
+ "loss": 1.3047,
31
+ "step": 15
32
+ },
33
+ {
34
+ "epoch": 0.04645760743321719,
35
+ "grad_norm": 0.7819671630859375,
36
+ "learning_rate": 5.277777777777778e-06,
37
+ "loss": 1.2887,
38
+ "step": 20
39
+ },
40
+ {
41
+ "epoch": 0.05807200929152149,
42
+ "grad_norm": 0.6035093069076538,
43
+ "learning_rate": 6.666666666666667e-06,
44
+ "loss": 1.3248,
45
+ "step": 25
46
+ },
47
+ {
48
+ "epoch": 0.06968641114982578,
49
+ "grad_norm": 0.5274394750595093,
50
+ "learning_rate": 8.055555555555557e-06,
51
+ "loss": 1.2981,
52
+ "step": 30
53
+ },
54
+ {
55
+ "epoch": 0.08130081300813008,
56
+ "grad_norm": 0.4473659098148346,
57
+ "learning_rate": 9.444444444444445e-06,
58
+ "loss": 1.2253,
59
+ "step": 35
60
+ },
61
+ {
62
+ "epoch": 0.09291521486643438,
63
+ "grad_norm": 0.5344942808151245,
64
+ "learning_rate": 1.0833333333333334e-05,
65
+ "loss": 1.2101,
66
+ "step": 40
67
+ },
68
+ {
69
+ "epoch": 0.10452961672473868,
70
+ "grad_norm": 0.42955347895622253,
71
+ "learning_rate": 1.2222222222222222e-05,
72
+ "loss": 1.2136,
73
+ "step": 45
74
+ },
75
+ {
76
+ "epoch": 0.11614401858304298,
77
+ "grad_norm": 0.4606517553329468,
78
+ "learning_rate": 1.3611111111111111e-05,
79
+ "loss": 1.2501,
80
+ "step": 50
81
+ },
82
+ {
83
+ "epoch": 0.12775842044134728,
84
+ "grad_norm": 0.43243467807769775,
85
+ "learning_rate": 1.5e-05,
86
+ "loss": 1.2287,
87
+ "step": 55
88
+ },
89
+ {
90
+ "epoch": 0.13937282229965156,
91
+ "grad_norm": 0.45852982997894287,
92
+ "learning_rate": 1.638888888888889e-05,
93
+ "loss": 1.2272,
94
+ "step": 60
95
+ },
96
+ {
97
+ "epoch": 0.15098722415795587,
98
+ "grad_norm": 0.422735333442688,
99
+ "learning_rate": 1.7777777777777777e-05,
100
+ "loss": 1.1591,
101
+ "step": 65
102
+ },
103
+ {
104
+ "epoch": 0.16260162601626016,
105
+ "grad_norm": 0.48696285486221313,
106
+ "learning_rate": 1.9166666666666667e-05,
107
+ "loss": 1.2238,
108
+ "step": 70
109
+ },
110
+ {
111
+ "epoch": 0.17421602787456447,
112
+ "grad_norm": 0.6145470142364502,
113
+ "learning_rate": 2.0555555555555558e-05,
114
+ "loss": 1.2375,
115
+ "step": 75
116
+ },
117
+ {
118
+ "epoch": 0.18583042973286876,
119
+ "grad_norm": 0.5468384623527527,
120
+ "learning_rate": 2.1944444444444445e-05,
121
+ "loss": 1.1484,
122
+ "step": 80
123
+ },
124
+ {
125
+ "epoch": 0.19744483159117304,
126
+ "grad_norm": 0.4397794008255005,
127
+ "learning_rate": 2.3333333333333336e-05,
128
+ "loss": 1.1567,
129
+ "step": 85
130
+ },
131
+ {
132
+ "epoch": 0.20905923344947736,
133
+ "grad_norm": 0.4396965801715851,
134
+ "learning_rate": 2.4722222222222223e-05,
135
+ "loss": 1.1665,
136
+ "step": 90
137
+ },
138
+ {
139
+ "epoch": 0.22067363530778164,
140
+ "grad_norm": 0.5894995927810669,
141
+ "learning_rate": 2.611111111111111e-05,
142
+ "loss": 1.1519,
143
+ "step": 95
144
+ },
145
+ {
146
+ "epoch": 0.23228803716608595,
147
+ "grad_norm": 0.4796619117259979,
148
+ "learning_rate": 2.75e-05,
149
+ "loss": 1.1242,
150
+ "step": 100
151
+ },
152
+ {
153
+ "epoch": 0.24390243902439024,
154
+ "grad_norm": 0.7274127006530762,
155
+ "learning_rate": 2.8888888888888888e-05,
156
+ "loss": 1.1197,
157
+ "step": 105
158
+ },
159
+ {
160
+ "epoch": 0.25551684088269455,
161
+ "grad_norm": 0.5538251996040344,
162
+ "learning_rate": 2.999998233452831e-05,
163
+ "loss": 1.09,
164
+ "step": 110
165
+ },
166
+ {
167
+ "epoch": 0.26713124274099886,
168
+ "grad_norm": 0.4963814616203308,
169
+ "learning_rate": 2.999936404738799e-05,
170
+ "loss": 1.14,
171
+ "step": 115
172
+ },
173
+ {
174
+ "epoch": 0.2787456445993031,
175
+ "grad_norm": 0.5045656561851501,
176
+ "learning_rate": 2.9997862528271754e-05,
177
+ "loss": 1.0846,
178
+ "step": 120
179
+ },
180
+ {
181
+ "epoch": 0.29036004645760743,
182
+ "grad_norm": 0.5694212913513184,
183
+ "learning_rate": 2.999547786559598e-05,
184
+ "loss": 1.0566,
185
+ "step": 125
186
+ },
187
+ {
188
+ "epoch": 0.30197444831591175,
189
+ "grad_norm": 0.5698084831237793,
190
+ "learning_rate": 2.9992210199780657e-05,
191
+ "loss": 1.0812,
192
+ "step": 130
193
+ },
194
+ {
195
+ "epoch": 0.313588850174216,
196
+ "grad_norm": 0.5170321464538574,
197
+ "learning_rate": 2.9988059723241064e-05,
198
+ "loss": 1.0414,
199
+ "step": 135
200
+ },
201
+ {
202
+ "epoch": 0.3252032520325203,
203
+ "grad_norm": 0.5222340226173401,
204
+ "learning_rate": 2.9983026680376472e-05,
205
+ "loss": 1.0631,
206
+ "step": 140
207
+ },
208
+ {
209
+ "epoch": 0.33681765389082463,
210
+ "grad_norm": 0.5456163883209229,
211
+ "learning_rate": 2.997711136755574e-05,
212
+ "loss": 1.0866,
213
+ "step": 145
214
+ },
215
+ {
216
+ "epoch": 0.34843205574912894,
217
+ "grad_norm": 0.5397904515266418,
218
+ "learning_rate": 2.9970314133099855e-05,
219
+ "loss": 1.1579,
220
+ "step": 150
221
+ },
222
+ {
223
+ "epoch": 0.3600464576074332,
224
+ "grad_norm": 0.6353335380554199,
225
+ "learning_rate": 2.9962635377261457e-05,
226
+ "loss": 0.9954,
227
+ "step": 155
228
+ },
229
+ {
230
+ "epoch": 0.3716608594657375,
231
+ "grad_norm": 0.6079632639884949,
232
+ "learning_rate": 2.9954075552201222e-05,
233
+ "loss": 1.0647,
234
+ "step": 160
235
+ },
236
+ {
237
+ "epoch": 0.3832752613240418,
238
+ "grad_norm": 0.6199746131896973,
239
+ "learning_rate": 2.994463516196126e-05,
240
+ "loss": 1.0637,
241
+ "step": 165
242
+ },
243
+ {
244
+ "epoch": 0.3948896631823461,
245
+ "grad_norm": 0.6312094926834106,
246
+ "learning_rate": 2.9934314762435444e-05,
247
+ "loss": 1.0242,
248
+ "step": 170
249
+ },
250
+ {
251
+ "epoch": 0.4065040650406504,
252
+ "grad_norm": 0.677851140499115,
253
+ "learning_rate": 2.9923114961336672e-05,
254
+ "loss": 0.9563,
255
+ "step": 175
256
+ },
257
+ {
258
+ "epoch": 0.4181184668989547,
259
+ "grad_norm": 0.6415532827377319,
260
+ "learning_rate": 2.9911036418161058e-05,
261
+ "loss": 0.9728,
262
+ "step": 180
263
+ },
264
+ {
265
+ "epoch": 0.429732868757259,
266
+ "grad_norm": 0.7620236873626709,
267
+ "learning_rate": 2.9898079844149132e-05,
268
+ "loss": 1.0066,
269
+ "step": 185
270
+ },
271
+ {
272
+ "epoch": 0.4413472706155633,
273
+ "grad_norm": 0.6720292568206787,
274
+ "learning_rate": 2.9884246002243936e-05,
275
+ "loss": 1.0059,
276
+ "step": 190
277
+ },
278
+ {
279
+ "epoch": 0.4529616724738676,
280
+ "grad_norm": 0.7387037873268127,
281
+ "learning_rate": 2.9869535707046104e-05,
282
+ "loss": 0.9314,
283
+ "step": 195
284
+ },
285
+ {
286
+ "epoch": 0.4645760743321719,
287
+ "grad_norm": 0.6071408987045288,
288
+ "learning_rate": 2.985394982476591e-05,
289
+ "loss": 0.9805,
290
+ "step": 200
291
+ },
292
+ {
293
+ "epoch": 0.47619047619047616,
294
+ "grad_norm": 0.7038552165031433,
295
+ "learning_rate": 2.9837489273172232e-05,
296
+ "loss": 0.9766,
297
+ "step": 205
298
+ },
299
+ {
300
+ "epoch": 0.4878048780487805,
301
+ "grad_norm": 0.7892246842384338,
302
+ "learning_rate": 2.9820155021538533e-05,
303
+ "loss": 0.9558,
304
+ "step": 210
305
+ },
306
+ {
307
+ "epoch": 0.4994192799070848,
308
+ "grad_norm": 0.7563413381576538,
309
+ "learning_rate": 2.980194809058577e-05,
310
+ "loss": 0.9455,
311
+ "step": 215
312
+ },
313
+ {
314
+ "epoch": 0.5110336817653891,
315
+ "grad_norm": 0.7255906462669373,
316
+ "learning_rate": 2.9782869552422316e-05,
317
+ "loss": 0.9183,
318
+ "step": 220
319
+ },
320
+ {
321
+ "epoch": 0.5226480836236934,
322
+ "grad_norm": 0.7455199956893921,
323
+ "learning_rate": 2.9762920530480788e-05,
324
+ "loss": 0.9363,
325
+ "step": 225
326
+ },
327
+ {
328
+ "epoch": 0.5342624854819977,
329
+ "grad_norm": 0.7163615822792053,
330
+ "learning_rate": 2.974210219945193e-05,
331
+ "loss": 0.9436,
332
+ "step": 230
333
+ },
334
+ {
335
+ "epoch": 0.5458768873403019,
336
+ "grad_norm": 0.6869027018547058,
337
+ "learning_rate": 2.9720415785215428e-05,
338
+ "loss": 0.8932,
339
+ "step": 235
340
+ },
341
+ {
342
+ "epoch": 0.5574912891986062,
343
+ "grad_norm": 0.776175320148468,
344
+ "learning_rate": 2.969786256476772e-05,
345
+ "loss": 0.9234,
346
+ "step": 240
347
+ },
348
+ {
349
+ "epoch": 0.5691056910569106,
350
+ "grad_norm": 0.687179446220398,
351
+ "learning_rate": 2.9674443866146807e-05,
352
+ "loss": 0.9165,
353
+ "step": 245
354
+ },
355
+ {
356
+ "epoch": 0.5807200929152149,
357
+ "grad_norm": 0.8298389911651611,
358
+ "learning_rate": 2.9650161068354054e-05,
359
+ "loss": 0.8863,
360
+ "step": 250
361
+ },
362
+ {
363
+ "epoch": 0.5923344947735192,
364
+ "grad_norm": 0.7793598175048828,
365
+ "learning_rate": 2.9625015601272974e-05,
366
+ "loss": 0.8693,
367
+ "step": 255
368
+ },
369
+ {
370
+ "epoch": 0.6039488966318235,
371
+ "grad_norm": 0.9237378835678101,
372
+ "learning_rate": 2.9599008945585066e-05,
373
+ "loss": 0.8435,
374
+ "step": 260
375
+ },
376
+ {
377
+ "epoch": 0.6155632984901278,
378
+ "grad_norm": 0.8277608752250671,
379
+ "learning_rate": 2.9572142632682562e-05,
380
+ "loss": 0.8683,
381
+ "step": 265
382
+ },
383
+ {
384
+ "epoch": 0.627177700348432,
385
+ "grad_norm": 0.7906745076179504,
386
+ "learning_rate": 2.954441824457832e-05,
387
+ "loss": 0.9144,
388
+ "step": 270
389
+ },
390
+ {
391
+ "epoch": 0.6387921022067363,
392
+ "grad_norm": 0.8107167482376099,
393
+ "learning_rate": 2.951583741381263e-05,
394
+ "loss": 0.8696,
395
+ "step": 275
396
+ },
397
+ {
398
+ "epoch": 0.6504065040650406,
399
+ "grad_norm": 0.734391987323761,
400
+ "learning_rate": 2.948640182335708e-05,
401
+ "loss": 0.871,
402
+ "step": 280
403
+ },
404
+ {
405
+ "epoch": 0.662020905923345,
406
+ "grad_norm": 0.8837676048278809,
407
+ "learning_rate": 2.9456113206515475e-05,
408
+ "loss": 0.8883,
409
+ "step": 285
410
+ },
411
+ {
412
+ "epoch": 0.6736353077816493,
413
+ "grad_norm": 0.8748791217803955,
414
+ "learning_rate": 2.942497334682176e-05,
415
+ "loss": 0.7801,
416
+ "step": 290
417
+ },
418
+ {
419
+ "epoch": 0.6852497096399536,
420
+ "grad_norm": 0.8546818494796753,
421
+ "learning_rate": 2.9392984077934987e-05,
422
+ "loss": 0.8724,
423
+ "step": 295
424
+ },
425
+ {
426
+ "epoch": 0.6968641114982579,
427
+ "grad_norm": 0.7864014506340027,
428
+ "learning_rate": 2.9360147283531373e-05,
429
+ "loss": 0.8214,
430
+ "step": 300
431
+ },
432
+ {
433
+ "epoch": 0.7084785133565621,
434
+ "grad_norm": 0.7984604835510254,
435
+ "learning_rate": 2.9326464897193343e-05,
436
+ "loss": 0.836,
437
+ "step": 305
438
+ },
439
+ {
440
+ "epoch": 0.7200929152148664,
441
+ "grad_norm": 0.9750844836235046,
442
+ "learning_rate": 2.9291938902295695e-05,
443
+ "loss": 0.7873,
444
+ "step": 310
445
+ },
446
+ {
447
+ "epoch": 0.7317073170731707,
448
+ "grad_norm": 0.8499948382377625,
449
+ "learning_rate": 2.925657133188881e-05,
450
+ "loss": 0.8412,
451
+ "step": 315
452
+ },
453
+ {
454
+ "epoch": 0.743321718931475,
455
+ "grad_norm": 0.86067134141922,
456
+ "learning_rate": 2.9220364268578922e-05,
457
+ "loss": 0.8256,
458
+ "step": 320
459
+ },
460
+ {
461
+ "epoch": 0.7549361207897793,
462
+ "grad_norm": 0.8807356357574463,
463
+ "learning_rate": 2.918331984440549e-05,
464
+ "loss": 0.8364,
465
+ "step": 325
466
+ },
467
+ {
468
+ "epoch": 0.7665505226480837,
469
+ "grad_norm": 0.8951946496963501,
470
+ "learning_rate": 2.9145440240715657e-05,
471
+ "loss": 0.8415,
472
+ "step": 330
473
+ },
474
+ {
475
+ "epoch": 0.778164924506388,
476
+ "grad_norm": 0.8705118894577026,
477
+ "learning_rate": 2.9106727688035814e-05,
478
+ "loss": 0.7762,
479
+ "step": 335
480
+ },
481
+ {
482
+ "epoch": 0.7897793263646922,
483
+ "grad_norm": 0.9147759675979614,
484
+ "learning_rate": 2.9067184465940225e-05,
485
+ "loss": 0.7983,
486
+ "step": 340
487
+ },
488
+ {
489
+ "epoch": 0.8013937282229965,
490
+ "grad_norm": 0.8624527454376221,
491
+ "learning_rate": 2.9026812902916834e-05,
492
+ "loss": 0.7434,
493
+ "step": 345
494
+ },
495
+ {
496
+ "epoch": 0.8130081300813008,
497
+ "grad_norm": 0.9535494446754456,
498
+ "learning_rate": 2.898561537623011e-05,
499
+ "loss": 0.8049,
500
+ "step": 350
501
+ },
502
+ {
503
+ "epoch": 0.8246225319396051,
504
+ "grad_norm": 0.836469292640686,
505
+ "learning_rate": 2.8943594311781104e-05,
506
+ "loss": 0.777,
507
+ "step": 355
508
+ },
509
+ {
510
+ "epoch": 0.8362369337979094,
511
+ "grad_norm": 0.9156211018562317,
512
+ "learning_rate": 2.8900752183964573e-05,
513
+ "loss": 0.7746,
514
+ "step": 360
515
+ },
516
+ {
517
+ "epoch": 0.8478513356562137,
518
+ "grad_norm": 0.9176764488220215,
519
+ "learning_rate": 2.8857091515523287e-05,
520
+ "loss": 0.7827,
521
+ "step": 365
522
+ },
523
+ {
524
+ "epoch": 0.859465737514518,
525
+ "grad_norm": 0.8853964805603027,
526
+ "learning_rate": 2.8812614877399476e-05,
527
+ "loss": 0.754,
528
+ "step": 370
529
+ },
530
+ {
531
+ "epoch": 0.8710801393728222,
532
+ "grad_norm": 0.8558771014213562,
533
+ "learning_rate": 2.876732488858344e-05,
534
+ "loss": 0.7039,
535
+ "step": 375
536
+ },
537
+ {
538
+ "epoch": 0.8826945412311266,
539
+ "grad_norm": 0.8176305294036865,
540
+ "learning_rate": 2.8721224215959335e-05,
541
+ "loss": 0.7892,
542
+ "step": 380
543
+ },
544
+ {
545
+ "epoch": 0.8943089430894309,
546
+ "grad_norm": 0.9530948996543884,
547
+ "learning_rate": 2.8674315574148126e-05,
548
+ "loss": 0.7049,
549
+ "step": 385
550
+ },
551
+ {
552
+ "epoch": 0.9059233449477352,
553
+ "grad_norm": 0.9136149287223816,
554
+ "learning_rate": 2.862660172534776e-05,
555
+ "loss": 0.7614,
556
+ "step": 390
557
+ },
558
+ {
559
+ "epoch": 0.9175377468060395,
560
+ "grad_norm": 0.9666270017623901,
561
+ "learning_rate": 2.8578085479170478e-05,
562
+ "loss": 0.7265,
563
+ "step": 395
564
+ },
565
+ {
566
+ "epoch": 0.9291521486643438,
567
+ "grad_norm": 0.9841073751449585,
568
+ "learning_rate": 2.85287696924774e-05,
569
+ "loss": 0.6903,
570
+ "step": 400
571
+ },
572
+ {
573
+ "epoch": 0.9407665505226481,
574
+ "grad_norm": 1.1007276773452759,
575
+ "learning_rate": 2.8478657269210294e-05,
576
+ "loss": 0.7114,
577
+ "step": 405
578
+ },
579
+ {
580
+ "epoch": 0.9523809523809523,
581
+ "grad_norm": 0.9525352120399475,
582
+ "learning_rate": 2.8427751160220573e-05,
583
+ "loss": 0.7115,
584
+ "step": 410
585
+ },
586
+ {
587
+ "epoch": 0.9639953542392566,
588
+ "grad_norm": 0.8143008351325989,
589
+ "learning_rate": 2.8376054363095545e-05,
590
+ "loss": 0.6784,
591
+ "step": 415
592
+ },
593
+ {
594
+ "epoch": 0.975609756097561,
595
+ "grad_norm": 0.9916719198226929,
596
+ "learning_rate": 2.8323569921981885e-05,
597
+ "loss": 0.7366,
598
+ "step": 420
599
+ },
600
+ {
601
+ "epoch": 0.9872241579558653,
602
+ "grad_norm": 0.9247941374778748,
603
+ "learning_rate": 2.82703009274064e-05,
604
+ "loss": 0.6974,
605
+ "step": 425
606
+ },
607
+ {
608
+ "epoch": 0.9988385598141696,
609
+ "grad_norm": 0.9906225800514221,
610
+ "learning_rate": 2.8216250516094027e-05,
611
+ "loss": 0.6673,
612
+ "step": 430
613
+ },
614
+ {
615
+ "epoch": 1.0092915214866434,
616
+ "grad_norm": 0.9208662509918213,
617
+ "learning_rate": 2.816142187078315e-05,
618
+ "loss": 0.603,
619
+ "step": 435
620
+ },
621
+ {
622
+ "epoch": 1.0209059233449478,
623
+ "grad_norm": 1.0540852546691895,
624
+ "learning_rate": 2.8105818220038167e-05,
625
+ "loss": 0.6062,
626
+ "step": 440
627
+ },
628
+ {
629
+ "epoch": 1.032520325203252,
630
+ "grad_norm": 0.9971239566802979,
631
+ "learning_rate": 2.804944283805938e-05,
632
+ "loss": 0.5986,
633
+ "step": 445
634
+ },
635
+ {
636
+ "epoch": 1.0441347270615564,
637
+ "grad_norm": 1.0977699756622314,
638
+ "learning_rate": 2.7992299044490192e-05,
639
+ "loss": 0.5556,
640
+ "step": 450
641
+ },
642
+ {
643
+ "epoch": 1.0557491289198606,
644
+ "grad_norm": 1.0428180694580078,
645
+ "learning_rate": 2.793439020422165e-05,
646
+ "loss": 0.599,
647
+ "step": 455
648
+ },
649
+ {
650
+ "epoch": 1.0673635307781648,
651
+ "grad_norm": 1.2783362865447998,
652
+ "learning_rate": 2.787571972719429e-05,
653
+ "loss": 0.5589,
654
+ "step": 460
655
+ },
656
+ {
657
+ "epoch": 1.0789779326364692,
658
+ "grad_norm": 1.0532207489013672,
659
+ "learning_rate": 2.781629106819733e-05,
660
+ "loss": 0.5534,
661
+ "step": 465
662
+ },
663
+ {
664
+ "epoch": 1.0905923344947734,
665
+ "grad_norm": 1.0525319576263428,
666
+ "learning_rate": 2.775610772666527e-05,
667
+ "loss": 0.577,
668
+ "step": 470
669
+ },
670
+ {
671
+ "epoch": 1.1022067363530779,
672
+ "grad_norm": 0.9602555632591248,
673
+ "learning_rate": 2.7695173246471803e-05,
674
+ "loss": 0.5625,
675
+ "step": 475
676
+ },
677
+ {
678
+ "epoch": 1.113821138211382,
679
+ "grad_norm": 1.0547131299972534,
680
+ "learning_rate": 2.763349121572114e-05,
681
+ "loss": 0.6173,
682
+ "step": 480
683
+ },
684
+ {
685
+ "epoch": 1.1254355400696865,
686
+ "grad_norm": 0.963524341583252,
687
+ "learning_rate": 2.7571065266536737e-05,
688
+ "loss": 0.62,
689
+ "step": 485
690
+ },
691
+ {
692
+ "epoch": 1.1370499419279907,
693
+ "grad_norm": 1.066751480102539,
694
+ "learning_rate": 2.7507899074847394e-05,
695
+ "loss": 0.5829,
696
+ "step": 490
697
+ },
698
+ {
699
+ "epoch": 1.1486643437862951,
700
+ "grad_norm": 0.9866227507591248,
701
+ "learning_rate": 2.7443996360170836e-05,
702
+ "loss": 0.5729,
703
+ "step": 495
704
+ },
705
+ {
706
+ "epoch": 1.1602787456445993,
707
+ "grad_norm": 1.037983775138855,
708
+ "learning_rate": 2.7379360885394664e-05,
709
+ "loss": 0.5955,
710
+ "step": 500
711
+ },
712
+ {
713
+ "epoch": 1.1718931475029035,
714
+ "grad_norm": 1.2030766010284424,
715
+ "learning_rate": 2.731399645655477e-05,
716
+ "loss": 0.6062,
717
+ "step": 505
718
+ },
719
+ {
720
+ "epoch": 1.183507549361208,
721
+ "grad_norm": 1.0329967737197876,
722
+ "learning_rate": 2.7247906922611254e-05,
723
+ "loss": 0.5871,
724
+ "step": 510
725
+ },
726
+ {
727
+ "epoch": 1.1951219512195121,
728
+ "grad_norm": 1.1776123046875,
729
+ "learning_rate": 2.7181096175221757e-05,
730
+ "loss": 0.5755,
731
+ "step": 515
732
+ },
733
+ {
734
+ "epoch": 1.2067363530778166,
735
+ "grad_norm": 1.0537413358688354,
736
+ "learning_rate": 2.7113568148512296e-05,
737
+ "loss": 0.545,
738
+ "step": 520
739
+ },
740
+ {
741
+ "epoch": 1.2183507549361208,
742
+ "grad_norm": 0.9902351498603821,
743
+ "learning_rate": 2.704532681884562e-05,
744
+ "loss": 0.5564,
745
+ "step": 525
746
+ },
747
+ {
748
+ "epoch": 1.229965156794425,
749
+ "grad_norm": 1.0097850561141968,
750
+ "learning_rate": 2.697637620458706e-05,
751
+ "loss": 0.5056,
752
+ "step": 530
753
+ },
754
+ {
755
+ "epoch": 1.2415795586527294,
756
+ "grad_norm": 0.9843356013298035,
757
+ "learning_rate": 2.690672036586791e-05,
758
+ "loss": 0.5348,
759
+ "step": 535
760
+ },
761
+ {
762
+ "epoch": 1.2531939605110336,
763
+ "grad_norm": 0.9540740251541138,
764
+ "learning_rate": 2.6836363404346324e-05,
765
+ "loss": 0.5411,
766
+ "step": 540
767
+ },
768
+ {
769
+ "epoch": 1.264808362369338,
770
+ "grad_norm": 1.0271143913269043,
771
+ "learning_rate": 2.6765309462965845e-05,
772
+ "loss": 0.5065,
773
+ "step": 545
774
+ },
775
+ {
776
+ "epoch": 1.2764227642276422,
777
+ "grad_norm": 1.077792763710022,
778
+ "learning_rate": 2.669356272571138e-05,
779
+ "loss": 0.5307,
780
+ "step": 550
781
+ },
782
+ {
783
+ "epoch": 1.2880371660859466,
784
+ "grad_norm": 1.0701345205307007,
785
+ "learning_rate": 2.6621127417362886e-05,
786
+ "loss": 0.5587,
787
+ "step": 555
788
+ },
789
+ {
790
+ "epoch": 1.2996515679442509,
791
+ "grad_norm": 1.0792369842529297,
792
+ "learning_rate": 2.6548007803246575e-05,
793
+ "loss": 0.5264,
794
+ "step": 560
795
+ },
796
+ {
797
+ "epoch": 1.3112659698025553,
798
+ "grad_norm": 0.8799574375152588,
799
+ "learning_rate": 2.647420818898373e-05,
800
+ "loss": 0.4964,
801
+ "step": 565
802
+ },
803
+ {
804
+ "epoch": 1.3228803716608595,
805
+ "grad_norm": 1.1636409759521484,
806
+ "learning_rate": 2.6399732920237212e-05,
807
+ "loss": 0.5576,
808
+ "step": 570
809
+ },
810
+ {
811
+ "epoch": 1.3344947735191637,
812
+ "grad_norm": 1.055418610572815,
813
+ "learning_rate": 2.6324586382455525e-05,
814
+ "loss": 0.5149,
815
+ "step": 575
816
+ },
817
+ {
818
+ "epoch": 1.346109175377468,
819
+ "grad_norm": 1.0145419836044312,
820
+ "learning_rate": 2.624877300061462e-05,
821
+ "loss": 0.4917,
822
+ "step": 580
823
+ },
824
+ {
825
+ "epoch": 1.3577235772357723,
826
+ "grad_norm": 0.9634491801261902,
827
+ "learning_rate": 2.6172297238957297e-05,
828
+ "loss": 0.515,
829
+ "step": 585
830
+ },
831
+ {
832
+ "epoch": 1.3693379790940767,
833
+ "grad_norm": 0.9772712588310242,
834
+ "learning_rate": 2.6095163600730355e-05,
835
+ "loss": 0.5012,
836
+ "step": 590
837
+ },
838
+ {
839
+ "epoch": 1.380952380952381,
840
+ "grad_norm": 0.9910968542098999,
841
+ "learning_rate": 2.6017376627919405e-05,
842
+ "loss": 0.4839,
843
+ "step": 595
844
+ },
845
+ {
846
+ "epoch": 1.3925667828106851,
847
+ "grad_norm": 1.103830099105835,
848
+ "learning_rate": 2.5938940900981424e-05,
849
+ "loss": 0.562,
850
+ "step": 600
851
+ },
852
+ {
853
+ "epoch": 1.4041811846689896,
854
+ "grad_norm": 1.1236923933029175,
855
+ "learning_rate": 2.5859861038575035e-05,
856
+ "loss": 0.493,
857
+ "step": 605
858
+ },
859
+ {
860
+ "epoch": 1.415795586527294,
861
+ "grad_norm": 0.9853049516677856,
862
+ "learning_rate": 2.5780141697288537e-05,
863
+ "loss": 0.4578,
864
+ "step": 610
865
+ },
866
+ {
867
+ "epoch": 1.4274099883855982,
868
+ "grad_norm": 1.02285635471344,
869
+ "learning_rate": 2.5699787571365704e-05,
870
+ "loss": 0.5141,
871
+ "step": 615
872
+ },
873
+ {
874
+ "epoch": 1.4390243902439024,
875
+ "grad_norm": 1.1389844417572021,
876
+ "learning_rate": 2.5618803392429373e-05,
877
+ "loss": 0.4684,
878
+ "step": 620
879
+ },
880
+ {
881
+ "epoch": 1.4506387921022068,
882
+ "grad_norm": 1.1375923156738281,
883
+ "learning_rate": 2.5537193929202815e-05,
884
+ "loss": 0.4761,
885
+ "step": 625
886
+ },
887
+ {
888
+ "epoch": 1.462253193960511,
889
+ "grad_norm": 1.046151876449585,
890
+ "learning_rate": 2.5454963987228926e-05,
891
+ "loss": 0.5179,
892
+ "step": 630
893
+ },
894
+ {
895
+ "epoch": 1.4738675958188154,
896
+ "grad_norm": 1.1057745218276978,
897
+ "learning_rate": 2.5372118408587284e-05,
898
+ "loss": 0.489,
899
+ "step": 635
900
+ },
901
+ {
902
+ "epoch": 1.4854819976771196,
903
+ "grad_norm": 1.032041311264038,
904
+ "learning_rate": 2.5288662071608975e-05,
905
+ "loss": 0.4871,
906
+ "step": 640
907
+ },
908
+ {
909
+ "epoch": 1.4970963995354238,
910
+ "grad_norm": 1.0814687013626099,
911
+ "learning_rate": 2.520459989058939e-05,
912
+ "loss": 0.5172,
913
+ "step": 645
914
+ },
915
+ {
916
+ "epoch": 1.5087108013937283,
917
+ "grad_norm": 1.0195306539535522,
918
+ "learning_rate": 2.5119936815498797e-05,
919
+ "loss": 0.5218,
920
+ "step": 650
921
+ },
922
+ {
923
+ "epoch": 1.5203252032520327,
924
+ "grad_norm": 0.9469033479690552,
925
+ "learning_rate": 2.503467783169091e-05,
926
+ "loss": 0.4883,
927
+ "step": 655
928
+ },
929
+ {
930
+ "epoch": 1.5319396051103369,
931
+ "grad_norm": 1.1030808687210083,
932
+ "learning_rate": 2.4948827959609285e-05,
933
+ "loss": 0.501,
934
+ "step": 660
935
+ },
936
+ {
937
+ "epoch": 1.543554006968641,
938
+ "grad_norm": 1.0832819938659668,
939
+ "learning_rate": 2.4862392254491736e-05,
940
+ "loss": 0.4813,
941
+ "step": 665
942
+ },
943
+ {
944
+ "epoch": 1.5551684088269453,
945
+ "grad_norm": 1.1702861785888672,
946
+ "learning_rate": 2.477537580607261e-05,
947
+ "loss": 0.4737,
948
+ "step": 670
949
+ },
950
+ {
951
+ "epoch": 1.5667828106852497,
952
+ "grad_norm": 1.0441266298294067,
953
+ "learning_rate": 2.4687783738283144e-05,
954
+ "loss": 0.454,
955
+ "step": 675
956
+ },
957
+ {
958
+ "epoch": 1.5783972125435541,
959
+ "grad_norm": 1.1927803754806519,
960
+ "learning_rate": 2.4599621208949674e-05,
961
+ "loss": 0.4328,
962
+ "step": 680
963
+ },
964
+ {
965
+ "epoch": 1.5900116144018583,
966
+ "grad_norm": 1.1129752397537231,
967
+ "learning_rate": 2.4510893409489967e-05,
968
+ "loss": 0.4024,
969
+ "step": 685
970
+ },
971
+ {
972
+ "epoch": 1.6016260162601625,
973
+ "grad_norm": 1.0736514329910278,
974
+ "learning_rate": 2.4421605564607514e-05,
975
+ "loss": 0.4499,
976
+ "step": 690
977
+ },
978
+ {
979
+ "epoch": 1.6132404181184667,
980
+ "grad_norm": 1.0657414197921753,
981
+ "learning_rate": 2.4331762931983866e-05,
982
+ "loss": 0.4649,
983
+ "step": 695
984
+ },
985
+ {
986
+ "epoch": 1.6248548199767712,
987
+ "grad_norm": 1.0618281364440918,
988
+ "learning_rate": 2.4241370801969045e-05,
989
+ "loss": 0.4337,
990
+ "step": 700
991
+ },
992
+ {
993
+ "epoch": 1.6364692218350756,
994
+ "grad_norm": 1.1562613248825073,
995
+ "learning_rate": 2.415043449727003e-05,
996
+ "loss": 0.4429,
997
+ "step": 705
998
+ },
999
+ {
1000
+ "epoch": 1.6480836236933798,
1001
+ "grad_norm": 1.1286054849624634,
1002
+ "learning_rate": 2.4058959372637304e-05,
1003
+ "loss": 0.4714,
1004
+ "step": 710
1005
+ },
1006
+ {
1007
+ "epoch": 1.659698025551684,
1008
+ "grad_norm": 1.043707251548767,
1009
+ "learning_rate": 2.396695081454959e-05,
1010
+ "loss": 0.4549,
1011
+ "step": 715
1012
+ },
1013
+ {
1014
+ "epoch": 1.6713124274099884,
1015
+ "grad_norm": 1.001025676727295,
1016
+ "learning_rate": 2.387441424089662e-05,
1017
+ "loss": 0.4843,
1018
+ "step": 720
1019
+ },
1020
+ {
1021
+ "epoch": 1.6829268292682928,
1022
+ "grad_norm": 1.0033694505691528,
1023
+ "learning_rate": 2.378135510066013e-05,
1024
+ "loss": 0.4203,
1025
+ "step": 725
1026
+ },
1027
+ {
1028
+ "epoch": 1.694541231126597,
1029
+ "grad_norm": 1.041979432106018,
1030
+ "learning_rate": 2.3687778873593e-05,
1031
+ "loss": 0.4609,
1032
+ "step": 730
1033
+ },
1034
+ {
1035
+ "epoch": 1.7061556329849012,
1036
+ "grad_norm": 1.0614110231399536,
1037
+ "learning_rate": 2.3593691069896582e-05,
1038
+ "loss": 0.4328,
1039
+ "step": 735
1040
+ },
1041
+ {
1042
+ "epoch": 1.7177700348432055,
1043
+ "grad_norm": 1.1184892654418945,
1044
+ "learning_rate": 2.3499097229896213e-05,
1045
+ "loss": 0.4323,
1046
+ "step": 740
1047
+ },
1048
+ {
1049
+ "epoch": 1.7293844367015099,
1050
+ "grad_norm": 1.0571225881576538,
1051
+ "learning_rate": 2.340400292371499e-05,
1052
+ "loss": 0.3688,
1053
+ "step": 745
1054
+ },
1055
+ {
1056
+ "epoch": 1.7409988385598143,
1057
+ "grad_norm": 0.9831321239471436,
1058
+ "learning_rate": 2.3308413750945788e-05,
1059
+ "loss": 0.4091,
1060
+ "step": 750
1061
+ },
1062
+ {
1063
+ "epoch": 1.7526132404181185,
1064
+ "grad_norm": 1.334681749343872,
1065
+ "learning_rate": 2.3212335340321518e-05,
1066
+ "loss": 0.4363,
1067
+ "step": 755
1068
+ },
1069
+ {
1070
+ "epoch": 1.7642276422764227,
1071
+ "grad_norm": 1.0677987337112427,
1072
+ "learning_rate": 2.3115773349383658e-05,
1073
+ "loss": 0.4202,
1074
+ "step": 760
1075
+ },
1076
+ {
1077
+ "epoch": 1.775842044134727,
1078
+ "grad_norm": 1.1645525693893433,
1079
+ "learning_rate": 2.3018733464149156e-05,
1080
+ "loss": 0.4515,
1081
+ "step": 765
1082
+ },
1083
+ {
1084
+ "epoch": 1.7874564459930313,
1085
+ "grad_norm": 1.0856503248214722,
1086
+ "learning_rate": 2.292122139877558e-05,
1087
+ "loss": 0.401,
1088
+ "step": 770
1089
+ },
1090
+ {
1091
+ "epoch": 1.7990708478513358,
1092
+ "grad_norm": 1.0238492488861084,
1093
+ "learning_rate": 2.2823242895224643e-05,
1094
+ "loss": 0.3955,
1095
+ "step": 775
1096
+ },
1097
+ {
1098
+ "epoch": 1.81068524970964,
1099
+ "grad_norm": 1.1932063102722168,
1100
+ "learning_rate": 2.2724803722924106e-05,
1101
+ "loss": 0.4154,
1102
+ "step": 780
1103
+ },
1104
+ {
1105
+ "epoch": 1.8222996515679442,
1106
+ "grad_norm": 1.0874030590057373,
1107
+ "learning_rate": 2.2625909678428038e-05,
1108
+ "loss": 0.4082,
1109
+ "step": 785
1110
+ },
1111
+ {
1112
+ "epoch": 1.8339140534262486,
1113
+ "grad_norm": 1.109732747077942,
1114
+ "learning_rate": 2.2526566585075485e-05,
1115
+ "loss": 0.3826,
1116
+ "step": 790
1117
+ },
1118
+ {
1119
+ "epoch": 1.845528455284553,
1120
+ "grad_norm": 1.0591766834259033,
1121
+ "learning_rate": 2.2426780292647568e-05,
1122
+ "loss": 0.388,
1123
+ "step": 795
1124
+ },
1125
+ {
1126
+ "epoch": 1.8571428571428572,
1127
+ "grad_norm": 1.1858235597610474,
1128
+ "learning_rate": 2.2326556677023017e-05,
1129
+ "loss": 0.4026,
1130
+ "step": 800
1131
+ },
1132
+ {
1133
+ "epoch": 1.8687572590011614,
1134
+ "grad_norm": 1.0293341875076294,
1135
+ "learning_rate": 2.2225901639832188e-05,
1136
+ "loss": 0.419,
1137
+ "step": 805
1138
+ },
1139
+ {
1140
+ "epoch": 1.8803716608594656,
1141
+ "grad_norm": 1.1112502813339233,
1142
+ "learning_rate": 2.2124821108109515e-05,
1143
+ "loss": 0.4005,
1144
+ "step": 810
1145
+ },
1146
+ {
1147
+ "epoch": 1.89198606271777,
1148
+ "grad_norm": 0.9960114359855652,
1149
+ "learning_rate": 2.2023321033944544e-05,
1150
+ "loss": 0.328,
1151
+ "step": 815
1152
+ },
1153
+ {
1154
+ "epoch": 1.9036004645760745,
1155
+ "grad_norm": 1.1106208562850952,
1156
+ "learning_rate": 2.1921407394131406e-05,
1157
+ "loss": 0.3667,
1158
+ "step": 820
1159
+ },
1160
+ {
1161
+ "epoch": 1.9152148664343787,
1162
+ "grad_norm": 1.0423858165740967,
1163
+ "learning_rate": 2.1819086189816893e-05,
1164
+ "loss": 0.3773,
1165
+ "step": 825
1166
+ },
1167
+ {
1168
+ "epoch": 1.9268292682926829,
1169
+ "grad_norm": 1.13150155544281,
1170
+ "learning_rate": 2.171636344614708e-05,
1171
+ "loss": 0.3491,
1172
+ "step": 830
1173
+ },
1174
+ {
1175
+ "epoch": 1.938443670150987,
1176
+ "grad_norm": 1.0611273050308228,
1177
+ "learning_rate": 2.1613245211912554e-05,
1178
+ "loss": 0.3323,
1179
+ "step": 835
1180
+ },
1181
+ {
1182
+ "epoch": 1.9500580720092915,
1183
+ "grad_norm": 0.9943997263908386,
1184
+ "learning_rate": 2.1509737559192188e-05,
1185
+ "loss": 0.3741,
1186
+ "step": 840
1187
+ },
1188
+ {
1189
+ "epoch": 1.961672473867596,
1190
+ "grad_norm": 0.9484174847602844,
1191
+ "learning_rate": 2.140584658299564e-05,
1192
+ "loss": 0.3415,
1193
+ "step": 845
1194
+ },
1195
+ {
1196
+ "epoch": 1.9732868757259001,
1197
+ "grad_norm": 1.0280919075012207,
1198
+ "learning_rate": 2.1301578400904424e-05,
1199
+ "loss": 0.3724,
1200
+ "step": 850
1201
+ },
1202
+ {
1203
+ "epoch": 1.9849012775842043,
1204
+ "grad_norm": 1.1084401607513428,
1205
+ "learning_rate": 2.119693915271168e-05,
1206
+ "loss": 0.3867,
1207
+ "step": 855
1208
+ },
1209
+ {
1210
+ "epoch": 1.9965156794425087,
1211
+ "grad_norm": 1.1195417642593384,
1212
+ "learning_rate": 2.1091935000060637e-05,
1213
+ "loss": 0.3641,
1214
+ "step": 860
1215
+ },
1216
+ {
1217
+ "epoch": 2.0069686411149825,
1218
+ "grad_norm": 0.877273440361023,
1219
+ "learning_rate": 2.0986572126081793e-05,
1220
+ "loss": 0.3401,
1221
+ "step": 865
1222
+ },
1223
+ {
1224
+ "epoch": 2.0185830429732867,
1225
+ "grad_norm": 1.3777830600738525,
1226
+ "learning_rate": 2.0880856735028803e-05,
1227
+ "loss": 0.3079,
1228
+ "step": 870
1229
+ },
1230
+ {
1231
+ "epoch": 2.0301974448315914,
1232
+ "grad_norm": 1.1466902494430542,
1233
+ "learning_rate": 2.0774795051913178e-05,
1234
+ "loss": 0.2913,
1235
+ "step": 875
1236
+ },
1237
+ {
1238
+ "epoch": 2.0418118466898956,
1239
+ "grad_norm": 1.0693480968475342,
1240
+ "learning_rate": 2.0668393322137703e-05,
1241
+ "loss": 0.2945,
1242
+ "step": 880
1243
+ },
1244
+ {
1245
+ "epoch": 2.0534262485481998,
1246
+ "grad_norm": 1.0168899297714233,
1247
+ "learning_rate": 2.056165781112867e-05,
1248
+ "loss": 0.2828,
1249
+ "step": 885
1250
+ },
1251
+ {
1252
+ "epoch": 2.065040650406504,
1253
+ "grad_norm": 1.0432965755462646,
1254
+ "learning_rate": 2.0454594803966972e-05,
1255
+ "loss": 0.2915,
1256
+ "step": 890
1257
+ },
1258
+ {
1259
+ "epoch": 2.076655052264808,
1260
+ "grad_norm": 1.100029468536377,
1261
+ "learning_rate": 2.034721060501799e-05,
1262
+ "loss": 0.297,
1263
+ "step": 895
1264
+ },
1265
+ {
1266
+ "epoch": 2.088269454123113,
1267
+ "grad_norm": 1.1748476028442383,
1268
+ "learning_rate": 2.023951153756035e-05,
1269
+ "loss": 0.2892,
1270
+ "step": 900
1271
+ },
1272
+ {
1273
+ "epoch": 2.099883855981417,
1274
+ "grad_norm": 1.0221283435821533,
1275
+ "learning_rate": 2.013150394341361e-05,
1276
+ "loss": 0.2831,
1277
+ "step": 905
1278
+ },
1279
+ {
1280
+ "epoch": 2.1114982578397212,
1281
+ "grad_norm": 0.9806298017501831,
1282
+ "learning_rate": 2.002319418256479e-05,
1283
+ "loss": 0.2785,
1284
+ "step": 910
1285
+ },
1286
+ {
1287
+ "epoch": 2.1231126596980254,
1288
+ "grad_norm": 1.292575716972351,
1289
+ "learning_rate": 1.9914588632793908e-05,
1290
+ "loss": 0.2829,
1291
+ "step": 915
1292
+ },
1293
+ {
1294
+ "epoch": 2.1347270615563296,
1295
+ "grad_norm": 1.0625466108322144,
1296
+ "learning_rate": 1.9805693689298374e-05,
1297
+ "loss": 0.2867,
1298
+ "step": 920
1299
+ },
1300
+ {
1301
+ "epoch": 2.1463414634146343,
1302
+ "grad_norm": 1.0215439796447754,
1303
+ "learning_rate": 1.969651576431646e-05,
1304
+ "loss": 0.3223,
1305
+ "step": 925
1306
+ },
1307
+ {
1308
+ "epoch": 2.1579558652729385,
1309
+ "grad_norm": 1.1626147031784058,
1310
+ "learning_rate": 1.9587061286749693e-05,
1311
+ "loss": 0.3042,
1312
+ "step": 930
1313
+ },
1314
+ {
1315
+ "epoch": 2.1695702671312427,
1316
+ "grad_norm": 0.9875515699386597,
1317
+ "learning_rate": 1.9477336701784292e-05,
1318
+ "loss": 0.2827,
1319
+ "step": 935
1320
+ },
1321
+ {
1322
+ "epoch": 2.181184668989547,
1323
+ "grad_norm": 1.0031932592391968,
1324
+ "learning_rate": 1.9367348470511652e-05,
1325
+ "loss": 0.2712,
1326
+ "step": 940
1327
+ },
1328
+ {
1329
+ "epoch": 2.1927990708478515,
1330
+ "grad_norm": 1.1925930976867676,
1331
+ "learning_rate": 1.9257103069547894e-05,
1332
+ "loss": 0.2895,
1333
+ "step": 945
1334
+ },
1335
+ {
1336
+ "epoch": 2.2044134727061557,
1337
+ "grad_norm": 1.217810869216919,
1338
+ "learning_rate": 1.9146606990652452e-05,
1339
+ "loss": 0.2714,
1340
+ "step": 950
1341
+ },
1342
+ {
1343
+ "epoch": 2.21602787456446,
1344
+ "grad_norm": 0.9798834323883057,
1345
+ "learning_rate": 1.903586674034587e-05,
1346
+ "loss": 0.2665,
1347
+ "step": 955
1348
+ },
1349
+ {
1350
+ "epoch": 2.227642276422764,
1351
+ "grad_norm": 1.2851895093917847,
1352
+ "learning_rate": 1.8924888839526612e-05,
1353
+ "loss": 0.2795,
1354
+ "step": 960
1355
+ },
1356
+ {
1357
+ "epoch": 2.2392566782810683,
1358
+ "grad_norm": 1.1440101861953735,
1359
+ "learning_rate": 1.881367982308711e-05,
1360
+ "loss": 0.2779,
1361
+ "step": 965
1362
+ },
1363
+ {
1364
+ "epoch": 2.250871080139373,
1365
+ "grad_norm": 1.3127503395080566,
1366
+ "learning_rate": 1.8702246239528965e-05,
1367
+ "loss": 0.2638,
1368
+ "step": 970
1369
+ },
1370
+ {
1371
+ "epoch": 2.262485481997677,
1372
+ "grad_norm": 1.0733845233917236,
1373
+ "learning_rate": 1.8590594650577314e-05,
1374
+ "loss": 0.2646,
1375
+ "step": 975
1376
+ },
1377
+ {
1378
+ "epoch": 2.2740998838559814,
1379
+ "grad_norm": 1.0694085359573364,
1380
+ "learning_rate": 1.847873163079446e-05,
1381
+ "loss": 0.2741,
1382
+ "step": 980
1383
+ },
1384
+ {
1385
+ "epoch": 2.2857142857142856,
1386
+ "grad_norm": 1.1703122854232788,
1387
+ "learning_rate": 1.8366663767192747e-05,
1388
+ "loss": 0.2374,
1389
+ "step": 985
1390
+ },
1391
+ {
1392
+ "epoch": 2.2973286875725902,
1393
+ "grad_norm": 1.2135448455810547,
1394
+ "learning_rate": 1.8254397658846656e-05,
1395
+ "loss": 0.271,
1396
+ "step": 990
1397
+ },
1398
+ {
1399
+ "epoch": 2.3089430894308944,
1400
+ "grad_norm": 1.1723593473434448,
1401
+ "learning_rate": 1.8141939916504245e-05,
1402
+ "loss": 0.2744,
1403
+ "step": 995
1404
+ },
1405
+ {
1406
+ "epoch": 2.3205574912891986,
1407
+ "grad_norm": 1.2068791389465332,
1408
+ "learning_rate": 1.8029297162197867e-05,
1409
+ "loss": 0.2597,
1410
+ "step": 1000
1411
+ },
1412
+ {
1413
+ "epoch": 2.332171893147503,
1414
+ "grad_norm": 1.1227343082427979,
1415
+ "learning_rate": 1.791647602885423e-05,
1416
+ "loss": 0.254,
1417
+ "step": 1005
1418
+ },
1419
+ {
1420
+ "epoch": 2.343786295005807,
1421
+ "grad_norm": 1.1190464496612549,
1422
+ "learning_rate": 1.7803483159903835e-05,
1423
+ "loss": 0.232,
1424
+ "step": 1010
1425
+ },
1426
+ {
1427
+ "epoch": 2.3554006968641117,
1428
+ "grad_norm": 1.0415700674057007,
1429
+ "learning_rate": 1.769032520888976e-05,
1430
+ "loss": 0.2613,
1431
+ "step": 1015
1432
+ },
1433
+ {
1434
+ "epoch": 2.367015098722416,
1435
+ "grad_norm": 1.188915491104126,
1436
+ "learning_rate": 1.7577008839075886e-05,
1437
+ "loss": 0.2392,
1438
+ "step": 1020
1439
+ },
1440
+ {
1441
+ "epoch": 2.37862950058072,
1442
+ "grad_norm": 1.1599727869033813,
1443
+ "learning_rate": 1.7463540723054526e-05,
1444
+ "loss": 0.2607,
1445
+ "step": 1025
1446
+ },
1447
+ {
1448
+ "epoch": 2.3902439024390243,
1449
+ "grad_norm": 1.0613243579864502,
1450
+ "learning_rate": 1.734992754235351e-05,
1451
+ "loss": 0.2517,
1452
+ "step": 1030
1453
+ },
1454
+ {
1455
+ "epoch": 2.4018583042973285,
1456
+ "grad_norm": 1.140293836593628,
1457
+ "learning_rate": 1.7236175987042744e-05,
1458
+ "loss": 0.2757,
1459
+ "step": 1035
1460
+ },
1461
+ {
1462
+ "epoch": 2.413472706155633,
1463
+ "grad_norm": 1.217897891998291,
1464
+ "learning_rate": 1.7122292755340284e-05,
1465
+ "loss": 0.2604,
1466
+ "step": 1040
1467
+ },
1468
+ {
1469
+ "epoch": 2.4250871080139373,
1470
+ "grad_norm": 1.2544645071029663,
1471
+ "learning_rate": 1.700828455321788e-05,
1472
+ "loss": 0.2539,
1473
+ "step": 1045
1474
+ },
1475
+ {
1476
+ "epoch": 2.4367015098722415,
1477
+ "grad_norm": 1.5165183544158936,
1478
+ "learning_rate": 1.6894158094006142e-05,
1479
+ "loss": 0.2392,
1480
+ "step": 1050
1481
+ },
1482
+ {
1483
+ "epoch": 2.4483159117305457,
1484
+ "grad_norm": 1.0610485076904297,
1485
+ "learning_rate": 1.6779920097999194e-05,
1486
+ "loss": 0.2678,
1487
+ "step": 1055
1488
+ },
1489
+ {
1490
+ "epoch": 2.45993031358885,
1491
+ "grad_norm": 1.1240959167480469,
1492
+ "learning_rate": 1.6665577292058955e-05,
1493
+ "loss": 0.2425,
1494
+ "step": 1060
1495
+ },
1496
+ {
1497
+ "epoch": 2.4715447154471546,
1498
+ "grad_norm": 1.2169679403305054,
1499
+ "learning_rate": 1.655113640921905e-05,
1500
+ "loss": 0.2425,
1501
+ "step": 1065
1502
+ },
1503
+ {
1504
+ "epoch": 2.483159117305459,
1505
+ "grad_norm": 1.0992380380630493,
1506
+ "learning_rate": 1.6436604188288325e-05,
1507
+ "loss": 0.2537,
1508
+ "step": 1070
1509
+ },
1510
+ {
1511
+ "epoch": 2.494773519163763,
1512
+ "grad_norm": 1.1832488775253296,
1513
+ "learning_rate": 1.632198737345403e-05,
1514
+ "loss": 0.2596,
1515
+ "step": 1075
1516
+ },
1517
+ {
1518
+ "epoch": 2.506387921022067,
1519
+ "grad_norm": 0.9653327465057373,
1520
+ "learning_rate": 1.6207292713884692e-05,
1521
+ "loss": 0.2427,
1522
+ "step": 1080
1523
+ },
1524
+ {
1525
+ "epoch": 2.5180023228803714,
1526
+ "grad_norm": 1.139378547668457,
1527
+ "learning_rate": 1.609252696333271e-05,
1528
+ "loss": 0.2432,
1529
+ "step": 1085
1530
+ },
1531
+ {
1532
+ "epoch": 2.529616724738676,
1533
+ "grad_norm": 1.0014028549194336,
1534
+ "learning_rate": 1.597769687973664e-05,
1535
+ "loss": 0.2329,
1536
+ "step": 1090
1537
+ },
1538
+ {
1539
+ "epoch": 2.5412311265969802,
1540
+ "grad_norm": 1.1616328954696655,
1541
+ "learning_rate": 1.586280922482327e-05,
1542
+ "loss": 0.2513,
1543
+ "step": 1095
1544
+ },
1545
+ {
1546
+ "epoch": 2.5528455284552845,
1547
+ "grad_norm": 1.022898554801941,
1548
+ "learning_rate": 1.5747870763709432e-05,
1549
+ "loss": 0.2697,
1550
+ "step": 1100
1551
+ },
1552
+ {
1553
+ "epoch": 2.564459930313589,
1554
+ "grad_norm": 1.102315902709961,
1555
+ "learning_rate": 1.5632888264503705e-05,
1556
+ "loss": 0.2368,
1557
+ "step": 1105
1558
+ },
1559
+ {
1560
+ "epoch": 2.5760743321718933,
1561
+ "grad_norm": 1.0889406204223633,
1562
+ "learning_rate": 1.5517868497907795e-05,
1563
+ "loss": 0.2377,
1564
+ "step": 1110
1565
+ },
1566
+ {
1567
+ "epoch": 2.5876887340301975,
1568
+ "grad_norm": 1.0581204891204834,
1569
+ "learning_rate": 1.54028182368179e-05,
1570
+ "loss": 0.2424,
1571
+ "step": 1115
1572
+ },
1573
+ {
1574
+ "epoch": 2.5993031358885017,
1575
+ "grad_norm": 1.180722713470459,
1576
+ "learning_rate": 1.5287744255925882e-05,
1577
+ "loss": 0.2191,
1578
+ "step": 1120
1579
+ },
1580
+ {
1581
+ "epoch": 2.610917537746806,
1582
+ "grad_norm": 1.0064940452575684,
1583
+ "learning_rate": 1.5172653331320318e-05,
1584
+ "loss": 0.2718,
1585
+ "step": 1125
1586
+ },
1587
+ {
1588
+ "epoch": 2.6225319396051106,
1589
+ "grad_norm": 1.1252609491348267,
1590
+ "learning_rate": 1.5057552240087526e-05,
1591
+ "loss": 0.2248,
1592
+ "step": 1130
1593
+ },
1594
+ {
1595
+ "epoch": 2.6341463414634148,
1596
+ "grad_norm": 1.0868943929672241,
1597
+ "learning_rate": 1.4942447759912473e-05,
1598
+ "loss": 0.2609,
1599
+ "step": 1135
1600
+ },
1601
+ {
1602
+ "epoch": 2.645760743321719,
1603
+ "grad_norm": 1.127143144607544,
1604
+ "learning_rate": 1.4827346668679683e-05,
1605
+ "loss": 0.233,
1606
+ "step": 1140
1607
+ },
1608
+ {
1609
+ "epoch": 2.657375145180023,
1610
+ "grad_norm": 1.2413113117218018,
1611
+ "learning_rate": 1.471225574407412e-05,
1612
+ "loss": 0.2043,
1613
+ "step": 1145
1614
+ },
1615
+ {
1616
+ "epoch": 2.6689895470383274,
1617
+ "grad_norm": 1.1059684753417969,
1618
+ "learning_rate": 1.4597181763182104e-05,
1619
+ "loss": 0.2375,
1620
+ "step": 1150
1621
+ },
1622
+ {
1623
+ "epoch": 2.680603948896632,
1624
+ "grad_norm": 1.1019221544265747,
1625
+ "learning_rate": 1.4482131502092208e-05,
1626
+ "loss": 0.1922,
1627
+ "step": 1155
1628
+ },
1629
+ {
1630
+ "epoch": 2.692218350754936,
1631
+ "grad_norm": 1.1478207111358643,
1632
+ "learning_rate": 1.4367111735496298e-05,
1633
+ "loss": 0.2286,
1634
+ "step": 1160
1635
+ },
1636
+ {
1637
+ "epoch": 2.7038327526132404,
1638
+ "grad_norm": 1.0406802892684937,
1639
+ "learning_rate": 1.4252129236290569e-05,
1640
+ "loss": 0.2078,
1641
+ "step": 1165
1642
+ },
1643
+ {
1644
+ "epoch": 2.7154471544715446,
1645
+ "grad_norm": 1.2635127305984497,
1646
+ "learning_rate": 1.4137190775176739e-05,
1647
+ "loss": 0.2146,
1648
+ "step": 1170
1649
+ },
1650
+ {
1651
+ "epoch": 2.727061556329849,
1652
+ "grad_norm": 1.0526198148727417,
1653
+ "learning_rate": 1.402230312026336e-05,
1654
+ "loss": 0.2103,
1655
+ "step": 1175
1656
+ },
1657
+ {
1658
+ "epoch": 2.7386759581881535,
1659
+ "grad_norm": 1.297333836555481,
1660
+ "learning_rate": 1.390747303666729e-05,
1661
+ "loss": 0.2183,
1662
+ "step": 1180
1663
+ },
1664
+ {
1665
+ "epoch": 2.7502903600464577,
1666
+ "grad_norm": 1.0738940238952637,
1667
+ "learning_rate": 1.3792707286115309e-05,
1668
+ "loss": 0.2077,
1669
+ "step": 1185
1670
+ },
1671
+ {
1672
+ "epoch": 2.761904761904762,
1673
+ "grad_norm": 1.0152521133422852,
1674
+ "learning_rate": 1.3678012626545978e-05,
1675
+ "loss": 0.2368,
1676
+ "step": 1190
1677
+ },
1678
+ {
1679
+ "epoch": 2.773519163763066,
1680
+ "grad_norm": 1.0068998336791992,
1681
+ "learning_rate": 1.3563395811711678e-05,
1682
+ "loss": 0.2152,
1683
+ "step": 1195
1684
+ },
1685
+ {
1686
+ "epoch": 2.7851335656213703,
1687
+ "grad_norm": 1.1199923753738403,
1688
+ "learning_rate": 1.344886359078095e-05,
1689
+ "loss": 0.2188,
1690
+ "step": 1200
1691
+ },
1692
+ {
1693
+ "epoch": 2.796747967479675,
1694
+ "grad_norm": 1.037109613418579,
1695
+ "learning_rate": 1.3334422707941051e-05,
1696
+ "loss": 0.2286,
1697
+ "step": 1205
1698
+ },
1699
+ {
1700
+ "epoch": 2.808362369337979,
1701
+ "grad_norm": 0.9589251279830933,
1702
+ "learning_rate": 1.3220079902000811e-05,
1703
+ "loss": 0.2025,
1704
+ "step": 1210
1705
+ },
1706
+ {
1707
+ "epoch": 2.8199767711962833,
1708
+ "grad_norm": 1.2464582920074463,
1709
+ "learning_rate": 1.3105841905993857e-05,
1710
+ "loss": 0.2131,
1711
+ "step": 1215
1712
+ },
1713
+ {
1714
+ "epoch": 2.831591173054588,
1715
+ "grad_norm": 1.091057538986206,
1716
+ "learning_rate": 1.2991715446782121e-05,
1717
+ "loss": 0.2067,
1718
+ "step": 1220
1719
+ },
1720
+ {
1721
+ "epoch": 2.8432055749128917,
1722
+ "grad_norm": 1.278668761253357,
1723
+ "learning_rate": 1.2877707244659722e-05,
1724
+ "loss": 0.2209,
1725
+ "step": 1225
1726
+ },
1727
+ {
1728
+ "epoch": 2.8548199767711964,
1729
+ "grad_norm": 1.2127578258514404,
1730
+ "learning_rate": 1.2763824012957258e-05,
1731
+ "loss": 0.1833,
1732
+ "step": 1230
1733
+ },
1734
+ {
1735
+ "epoch": 2.8664343786295006,
1736
+ "grad_norm": 1.146657109260559,
1737
+ "learning_rate": 1.2650072457646492e-05,
1738
+ "loss": 0.1814,
1739
+ "step": 1235
1740
+ },
1741
+ {
1742
+ "epoch": 2.8780487804878048,
1743
+ "grad_norm": 1.0890151262283325,
1744
+ "learning_rate": 1.2536459276945473e-05,
1745
+ "loss": 0.1801,
1746
+ "step": 1240
1747
+ },
1748
+ {
1749
+ "epoch": 2.8896631823461094,
1750
+ "grad_norm": 0.9708114266395569,
1751
+ "learning_rate": 1.2422991160924117e-05,
1752
+ "loss": 0.1946,
1753
+ "step": 1245
1754
+ },
1755
+ {
1756
+ "epoch": 2.9012775842044136,
1757
+ "grad_norm": 1.1722114086151123,
1758
+ "learning_rate": 1.2309674791110244e-05,
1759
+ "loss": 0.2438,
1760
+ "step": 1250
1761
+ },
1762
+ {
1763
+ "epoch": 2.912891986062718,
1764
+ "grad_norm": 1.015057921409607,
1765
+ "learning_rate": 1.2196516840096167e-05,
1766
+ "loss": 0.2035,
1767
+ "step": 1255
1768
+ },
1769
+ {
1770
+ "epoch": 2.924506387921022,
1771
+ "grad_norm": 0.9809845685958862,
1772
+ "learning_rate": 1.2083523971145773e-05,
1773
+ "loss": 0.189,
1774
+ "step": 1260
1775
+ },
1776
+ {
1777
+ "epoch": 2.9361207897793262,
1778
+ "grad_norm": 1.2840055227279663,
1779
+ "learning_rate": 1.1970702837802137e-05,
1780
+ "loss": 0.2055,
1781
+ "step": 1265
1782
+ },
1783
+ {
1784
+ "epoch": 2.947735191637631,
1785
+ "grad_norm": 0.9905469417572021,
1786
+ "learning_rate": 1.1858060083495761e-05,
1787
+ "loss": 0.1822,
1788
+ "step": 1270
1789
+ },
1790
+ {
1791
+ "epoch": 2.959349593495935,
1792
+ "grad_norm": 1.1354817152023315,
1793
+ "learning_rate": 1.1745602341153347e-05,
1794
+ "loss": 0.1883,
1795
+ "step": 1275
1796
+ },
1797
+ {
1798
+ "epoch": 2.9709639953542393,
1799
+ "grad_norm": 1.3380357027053833,
1800
+ "learning_rate": 1.1633336232807256e-05,
1801
+ "loss": 0.1874,
1802
+ "step": 1280
1803
+ },
1804
+ {
1805
+ "epoch": 2.9825783972125435,
1806
+ "grad_norm": 1.232898235321045,
1807
+ "learning_rate": 1.1521268369205546e-05,
1808
+ "loss": 0.177,
1809
+ "step": 1285
1810
+ },
1811
+ {
1812
+ "epoch": 2.9941927990708477,
1813
+ "grad_norm": 1.0560810565948486,
1814
+ "learning_rate": 1.1409405349422693e-05,
1815
+ "loss": 0.1929,
1816
+ "step": 1290
1817
+ },
1818
+ {
1819
+ "epoch": 3.0046457607433217,
1820
+ "grad_norm": 0.9177282452583313,
1821
+ "learning_rate": 1.1297753760471034e-05,
1822
+ "loss": 0.199,
1823
+ "step": 1295
1824
+ },
1825
+ {
1826
+ "epoch": 3.016260162601626,
1827
+ "grad_norm": 1.1153042316436768,
1828
+ "learning_rate": 1.118632017691289e-05,
1829
+ "loss": 0.1459,
1830
+ "step": 1300
1831
+ },
1832
+ {
1833
+ "epoch": 3.0278745644599305,
1834
+ "grad_norm": 0.9868292212486267,
1835
+ "learning_rate": 1.1075111160473392e-05,
1836
+ "loss": 0.149,
1837
+ "step": 1305
1838
+ },
1839
+ {
1840
+ "epoch": 3.0394889663182347,
1841
+ "grad_norm": 0.9717047214508057,
1842
+ "learning_rate": 1.0964133259654136e-05,
1843
+ "loss": 0.154,
1844
+ "step": 1310
1845
+ },
1846
+ {
1847
+ "epoch": 3.051103368176539,
1848
+ "grad_norm": 1.0850447416305542,
1849
+ "learning_rate": 1.085339300934755e-05,
1850
+ "loss": 0.164,
1851
+ "step": 1315
1852
+ },
1853
+ {
1854
+ "epoch": 3.062717770034843,
1855
+ "grad_norm": 1.0128169059753418,
1856
+ "learning_rate": 1.074289693045211e-05,
1857
+ "loss": 0.1674,
1858
+ "step": 1320
1859
+ },
1860
+ {
1861
+ "epoch": 3.0743321718931473,
1862
+ "grad_norm": 1.1913701295852661,
1863
+ "learning_rate": 1.0632651529488349e-05,
1864
+ "loss": 0.1756,
1865
+ "step": 1325
1866
+ },
1867
+ {
1868
+ "epoch": 3.085946573751452,
1869
+ "grad_norm": 1.0130043029785156,
1870
+ "learning_rate": 1.052266329821571e-05,
1871
+ "loss": 0.1433,
1872
+ "step": 1330
1873
+ },
1874
+ {
1875
+ "epoch": 3.097560975609756,
1876
+ "grad_norm": 1.0070334672927856,
1877
+ "learning_rate": 1.0412938713250308e-05,
1878
+ "loss": 0.1627,
1879
+ "step": 1335
1880
+ },
1881
+ {
1882
+ "epoch": 3.1091753774680604,
1883
+ "grad_norm": 1.0455143451690674,
1884
+ "learning_rate": 1.0303484235683543e-05,
1885
+ "loss": 0.1506,
1886
+ "step": 1340
1887
+ },
1888
+ {
1889
+ "epoch": 3.1207897793263646,
1890
+ "grad_norm": 1.0055582523345947,
1891
+ "learning_rate": 1.0194306310701629e-05,
1892
+ "loss": 0.1485,
1893
+ "step": 1345
1894
+ },
1895
+ {
1896
+ "epoch": 3.132404181184669,
1897
+ "grad_norm": 1.1295661926269531,
1898
+ "learning_rate": 1.0085411367206098e-05,
1899
+ "loss": 0.1504,
1900
+ "step": 1350
1901
+ },
1902
+ {
1903
+ "epoch": 3.1440185830429734,
1904
+ "grad_norm": 0.9493905305862427,
1905
+ "learning_rate": 9.976805817435208e-06,
1906
+ "loss": 0.1582,
1907
+ "step": 1355
1908
+ },
1909
+ {
1910
+ "epoch": 3.1556329849012776,
1911
+ "grad_norm": 0.9460111856460571,
1912
+ "learning_rate": 9.868496056586391e-06,
1913
+ "loss": 0.1597,
1914
+ "step": 1360
1915
+ },
1916
+ {
1917
+ "epoch": 3.167247386759582,
1918
+ "grad_norm": 0.9388046860694885,
1919
+ "learning_rate": 9.760488462439653e-06,
1920
+ "loss": 0.1433,
1921
+ "step": 1365
1922
+ },
1923
+ {
1924
+ "epoch": 3.178861788617886,
1925
+ "grad_norm": 1.1539472341537476,
1926
+ "learning_rate": 9.652789394982014e-06,
1927
+ "loss": 0.142,
1928
+ "step": 1370
1929
+ },
1930
+ {
1931
+ "epoch": 3.1904761904761907,
1932
+ "grad_norm": 1.1274142265319824,
1933
+ "learning_rate": 9.545405196033025e-06,
1934
+ "loss": 0.1488,
1935
+ "step": 1375
1936
+ },
1937
+ {
1938
+ "epoch": 3.202090592334495,
1939
+ "grad_norm": 1.1115517616271973,
1940
+ "learning_rate": 9.438342188871331e-06,
1941
+ "loss": 0.1485,
1942
+ "step": 1380
1943
+ },
1944
+ {
1945
+ "epoch": 3.213704994192799,
1946
+ "grad_norm": 0.985272228717804,
1947
+ "learning_rate": 9.331606677862303e-06,
1948
+ "loss": 0.13,
1949
+ "step": 1385
1950
+ },
1951
+ {
1952
+ "epoch": 3.2253193960511033,
1953
+ "grad_norm": 0.8632730841636658,
1954
+ "learning_rate": 9.225204948086824e-06,
1955
+ "loss": 0.1538,
1956
+ "step": 1390
1957
+ },
1958
+ {
1959
+ "epoch": 3.2369337979094075,
1960
+ "grad_norm": 0.9072132706642151,
1961
+ "learning_rate": 9.119143264971198e-06,
1962
+ "loss": 0.1362,
1963
+ "step": 1395
1964
+ },
1965
+ {
1966
+ "epoch": 3.248548199767712,
1967
+ "grad_norm": 1.1985305547714233,
1968
+ "learning_rate": 9.01342787391821e-06,
1969
+ "loss": 0.1421,
1970
+ "step": 1400
1971
+ },
1972
+ {
1973
+ "epoch": 3.2601626016260163,
1974
+ "grad_norm": 1.0423188209533691,
1975
+ "learning_rate": 8.908064999939366e-06,
1976
+ "loss": 0.1367,
1977
+ "step": 1405
1978
+ },
1979
+ {
1980
+ "epoch": 3.2717770034843205,
1981
+ "grad_norm": 0.9370428919792175,
1982
+ "learning_rate": 8.803060847288322e-06,
1983
+ "loss": 0.1609,
1984
+ "step": 1410
1985
+ },
1986
+ {
1987
+ "epoch": 3.2833914053426247,
1988
+ "grad_norm": 1.1630222797393799,
1989
+ "learning_rate": 8.698421599095577e-06,
1990
+ "loss": 0.1527,
1991
+ "step": 1415
1992
+ },
1993
+ {
1994
+ "epoch": 3.295005807200929,
1995
+ "grad_norm": 1.0328259468078613,
1996
+ "learning_rate": 8.594153417004359e-06,
1997
+ "loss": 0.1376,
1998
+ "step": 1420
1999
+ },
2000
+ {
2001
+ "epoch": 3.3066202090592336,
2002
+ "grad_norm": 1.0899609327316284,
2003
+ "learning_rate": 8.490262440807816e-06,
2004
+ "loss": 0.1298,
2005
+ "step": 1425
2006
+ },
2007
+ {
2008
+ "epoch": 3.318234610917538,
2009
+ "grad_norm": 1.0752588510513306,
2010
+ "learning_rate": 8.386754788087453e-06,
2011
+ "loss": 0.1493,
2012
+ "step": 1430
2013
+ },
2014
+ {
2015
+ "epoch": 3.329849012775842,
2016
+ "grad_norm": 1.199508786201477,
2017
+ "learning_rate": 8.28363655385292e-06,
2018
+ "loss": 0.1451,
2019
+ "step": 1435
2020
+ },
2021
+ {
2022
+ "epoch": 3.341463414634146,
2023
+ "grad_norm": 1.1442402601242065,
2024
+ "learning_rate": 8.180913810183111e-06,
2025
+ "loss": 0.1361,
2026
+ "step": 1440
2027
+ },
2028
+ {
2029
+ "epoch": 3.3530778164924504,
2030
+ "grad_norm": 0.8858070969581604,
2031
+ "learning_rate": 8.078592605868597e-06,
2032
+ "loss": 0.1267,
2033
+ "step": 1445
2034
+ },
2035
+ {
2036
+ "epoch": 3.364692218350755,
2037
+ "grad_norm": 1.0057350397109985,
2038
+ "learning_rate": 7.97667896605546e-06,
2039
+ "loss": 0.1494,
2040
+ "step": 1450
2041
+ },
2042
+ {
2043
+ "epoch": 3.3763066202090593,
2044
+ "grad_norm": 0.9687568545341492,
2045
+ "learning_rate": 7.875178891890483e-06,
2046
+ "loss": 0.1322,
2047
+ "step": 1455
2048
+ },
2049
+ {
2050
+ "epoch": 3.3879210220673635,
2051
+ "grad_norm": 1.0430768728256226,
2052
+ "learning_rate": 7.774098360167817e-06,
2053
+ "loss": 0.1287,
2054
+ "step": 1460
2055
+ },
2056
+ {
2057
+ "epoch": 3.3995354239256677,
2058
+ "grad_norm": 0.8199989199638367,
2059
+ "learning_rate": 7.673443322976986e-06,
2060
+ "loss": 0.1449,
2061
+ "step": 1465
2062
+ },
2063
+ {
2064
+ "epoch": 3.4111498257839723,
2065
+ "grad_norm": 1.0182511806488037,
2066
+ "learning_rate": 7.5732197073524404e-06,
2067
+ "loss": 0.1623,
2068
+ "step": 1470
2069
+ },
2070
+ {
2071
+ "epoch": 3.4227642276422765,
2072
+ "grad_norm": 0.9345471858978271,
2073
+ "learning_rate": 7.473433414924512e-06,
2074
+ "loss": 0.1396,
2075
+ "step": 1475
2076
+ },
2077
+ {
2078
+ "epoch": 3.4343786295005807,
2079
+ "grad_norm": 1.0214126110076904,
2080
+ "learning_rate": 7.374090321571961e-06,
2081
+ "loss": 0.133,
2082
+ "step": 1480
2083
+ },
2084
+ {
2085
+ "epoch": 3.445993031358885,
2086
+ "grad_norm": 1.0448100566864014,
2087
+ "learning_rate": 7.275196277075896e-06,
2088
+ "loss": 0.1594,
2089
+ "step": 1485
2090
+ },
2091
+ {
2092
+ "epoch": 3.4576074332171896,
2093
+ "grad_norm": 0.9637423753738403,
2094
+ "learning_rate": 7.176757104775364e-06,
2095
+ "loss": 0.1389,
2096
+ "step": 1490
2097
+ },
2098
+ {
2099
+ "epoch": 3.4692218350754938,
2100
+ "grad_norm": 1.011009693145752,
2101
+ "learning_rate": 7.078778601224424e-06,
2102
+ "loss": 0.1328,
2103
+ "step": 1495
2104
+ },
2105
+ {
2106
+ "epoch": 3.480836236933798,
2107
+ "grad_norm": 0.9226102828979492,
2108
+ "learning_rate": 6.981266535850848e-06,
2109
+ "loss": 0.135,
2110
+ "step": 1500
2111
+ },
2112
+ {
2113
+ "epoch": 3.492450638792102,
2114
+ "grad_norm": 0.9921573400497437,
2115
+ "learning_rate": 6.8842266506163435e-06,
2116
+ "loss": 0.1399,
2117
+ "step": 1505
2118
+ },
2119
+ {
2120
+ "epoch": 3.5040650406504064,
2121
+ "grad_norm": 0.826085090637207,
2122
+ "learning_rate": 6.787664659678488e-06,
2123
+ "loss": 0.1338,
2124
+ "step": 1510
2125
+ },
2126
+ {
2127
+ "epoch": 3.515679442508711,
2128
+ "grad_norm": 1.0425338745117188,
2129
+ "learning_rate": 6.691586249054209e-06,
2130
+ "loss": 0.1348,
2131
+ "step": 1515
2132
+ },
2133
+ {
2134
+ "epoch": 3.527293844367015,
2135
+ "grad_norm": 0.9699033498764038,
2136
+ "learning_rate": 6.595997076285013e-06,
2137
+ "loss": 0.1321,
2138
+ "step": 1520
2139
+ },
2140
+ {
2141
+ "epoch": 3.5389082462253194,
2142
+ "grad_norm": 1.0192960500717163,
2143
+ "learning_rate": 6.500902770103796e-06,
2144
+ "loss": 0.1428,
2145
+ "step": 1525
2146
+ },
2147
+ {
2148
+ "epoch": 3.5505226480836236,
2149
+ "grad_norm": 1.0220447778701782,
2150
+ "learning_rate": 6.406308930103421e-06,
2151
+ "loss": 0.1358,
2152
+ "step": 1530
2153
+ },
2154
+ {
2155
+ "epoch": 3.562137049941928,
2156
+ "grad_norm": 1.0450464487075806,
2157
+ "learning_rate": 6.312221126406996e-06,
2158
+ "loss": 0.1339,
2159
+ "step": 1535
2160
+ },
2161
+ {
2162
+ "epoch": 3.5737514518002325,
2163
+ "grad_norm": 1.0781066417694092,
2164
+ "learning_rate": 6.218644899339873e-06,
2165
+ "loss": 0.119,
2166
+ "step": 1540
2167
+ },
2168
+ {
2169
+ "epoch": 3.5853658536585367,
2170
+ "grad_norm": 1.0588756799697876,
2171
+ "learning_rate": 6.125585759103387e-06,
2172
+ "loss": 0.1278,
2173
+ "step": 1545
2174
+ },
2175
+ {
2176
+ "epoch": 3.596980255516841,
2177
+ "grad_norm": 1.2598525285720825,
2178
+ "learning_rate": 6.033049185450418e-06,
2179
+ "loss": 0.1173,
2180
+ "step": 1550
2181
+ },
2182
+ {
2183
+ "epoch": 3.608594657375145,
2184
+ "grad_norm": 0.8823047876358032,
2185
+ "learning_rate": 5.9410406273626974e-06,
2186
+ "loss": 0.1504,
2187
+ "step": 1555
2188
+ },
2189
+ {
2190
+ "epoch": 3.6202090592334493,
2191
+ "grad_norm": 0.9176443815231323,
2192
+ "learning_rate": 5.8495655027299724e-06,
2193
+ "loss": 0.1351,
2194
+ "step": 1560
2195
+ },
2196
+ {
2197
+ "epoch": 3.631823461091754,
2198
+ "grad_norm": 0.9507741332054138,
2199
+ "learning_rate": 5.758629198030956e-06,
2200
+ "loss": 0.136,
2201
+ "step": 1565
2202
+ },
2203
+ {
2204
+ "epoch": 3.643437862950058,
2205
+ "grad_norm": 0.9544185400009155,
2206
+ "learning_rate": 5.668237068016138e-06,
2207
+ "loss": 0.1467,
2208
+ "step": 1570
2209
+ },
2210
+ {
2211
+ "epoch": 3.6550522648083623,
2212
+ "grad_norm": 1.1011279821395874,
2213
+ "learning_rate": 5.578394435392486e-06,
2214
+ "loss": 0.1351,
2215
+ "step": 1575
2216
+ },
2217
+ {
2218
+ "epoch": 3.6666666666666665,
2219
+ "grad_norm": 1.0757453441619873,
2220
+ "learning_rate": 5.489106590510035e-06,
2221
+ "loss": 0.1184,
2222
+ "step": 1580
2223
+ },
2224
+ {
2225
+ "epoch": 3.6782810685249707,
2226
+ "grad_norm": 0.8664600253105164,
2227
+ "learning_rate": 5.400378791050328e-06,
2228
+ "loss": 0.1143,
2229
+ "step": 1585
2230
+ },
2231
+ {
2232
+ "epoch": 3.6898954703832754,
2233
+ "grad_norm": 0.904226541519165,
2234
+ "learning_rate": 5.312216261716861e-06,
2235
+ "loss": 0.118,
2236
+ "step": 1590
2237
+ },
2238
+ {
2239
+ "epoch": 3.7015098722415796,
2240
+ "grad_norm": 1.0200014114379883,
2241
+ "learning_rate": 5.224624193927388e-06,
2242
+ "loss": 0.1097,
2243
+ "step": 1595
2244
+ },
2245
+ {
2246
+ "epoch": 3.7131242740998838,
2247
+ "grad_norm": 0.8909503817558289,
2248
+ "learning_rate": 5.137607745508271e-06,
2249
+ "loss": 0.114,
2250
+ "step": 1600
2251
+ },
2252
+ {
2253
+ "epoch": 3.7247386759581884,
2254
+ "grad_norm": 1.0821064710617065,
2255
+ "learning_rate": 5.0511720403907204e-06,
2256
+ "loss": 0.1285,
2257
+ "step": 1605
2258
+ },
2259
+ {
2260
+ "epoch": 3.736353077816492,
2261
+ "grad_norm": 0.9839633703231812,
2262
+ "learning_rate": 4.965322168309093e-06,
2263
+ "loss": 0.1119,
2264
+ "step": 1610
2265
+ },
2266
+ {
2267
+ "epoch": 3.747967479674797,
2268
+ "grad_norm": 0.9328600764274597,
2269
+ "learning_rate": 4.880063184501202e-06,
2270
+ "loss": 0.1042,
2271
+ "step": 1615
2272
+ },
2273
+ {
2274
+ "epoch": 3.759581881533101,
2275
+ "grad_norm": 1.0208909511566162,
2276
+ "learning_rate": 4.795400109410613e-06,
2277
+ "loss": 0.1139,
2278
+ "step": 1620
2279
+ },
2280
+ {
2281
+ "epoch": 3.7711962833914052,
2282
+ "grad_norm": 0.9615679383277893,
2283
+ "learning_rate": 4.711337928391027e-06,
2284
+ "loss": 0.1244,
2285
+ "step": 1625
2286
+ },
2287
+ {
2288
+ "epoch": 3.78281068524971,
2289
+ "grad_norm": 0.7882293462753296,
2290
+ "learning_rate": 4.627881591412723e-06,
2291
+ "loss": 0.1282,
2292
+ "step": 1630
2293
+ },
2294
+ {
2295
+ "epoch": 3.794425087108014,
2296
+ "grad_norm": 0.8788831830024719,
2297
+ "learning_rate": 4.545036012771075e-06,
2298
+ "loss": 0.1071,
2299
+ "step": 1635
2300
+ },
2301
+ {
2302
+ "epoch": 3.8060394889663183,
2303
+ "grad_norm": 0.9033803939819336,
2304
+ "learning_rate": 4.462806070797187e-06,
2305
+ "loss": 0.1248,
2306
+ "step": 1640
2307
+ },
2308
+ {
2309
+ "epoch": 3.8176538908246225,
2310
+ "grad_norm": 0.9137513637542725,
2311
+ "learning_rate": 4.38119660757063e-06,
2312
+ "loss": 0.1155,
2313
+ "step": 1645
2314
+ },
2315
+ {
2316
+ "epoch": 3.8292682926829267,
2317
+ "grad_norm": 0.8888696432113647,
2318
+ "learning_rate": 4.300212428634301e-06,
2319
+ "loss": 0.1122,
2320
+ "step": 1650
2321
+ },
2322
+ {
2323
+ "epoch": 3.8408826945412313,
2324
+ "grad_norm": 1.0764269828796387,
2325
+ "learning_rate": 4.219858302711466e-06,
2326
+ "loss": 0.1172,
2327
+ "step": 1655
2328
+ },
2329
+ {
2330
+ "epoch": 3.8524970963995355,
2331
+ "grad_norm": 0.8962306380271912,
2332
+ "learning_rate": 4.140138961424969e-06,
2333
+ "loss": 0.1187,
2334
+ "step": 1660
2335
+ },
2336
+ {
2337
+ "epoch": 3.8641114982578397,
2338
+ "grad_norm": 0.9213681817054749,
2339
+ "learning_rate": 4.061059099018576e-06,
2340
+ "loss": 0.1039,
2341
+ "step": 1665
2342
+ },
2343
+ {
2344
+ "epoch": 3.875725900116144,
2345
+ "grad_norm": 0.8205775618553162,
2346
+ "learning_rate": 3.982623372080598e-06,
2347
+ "loss": 0.0991,
2348
+ "step": 1670
2349
+ },
2350
+ {
2351
+ "epoch": 3.887340301974448,
2352
+ "grad_norm": 1.0516890287399292,
2353
+ "learning_rate": 3.904836399269645e-06,
2354
+ "loss": 0.1253,
2355
+ "step": 1675
2356
+ },
2357
+ {
2358
+ "epoch": 3.8989547038327528,
2359
+ "grad_norm": 0.9499752521514893,
2360
+ "learning_rate": 3.827702761042704e-06,
2361
+ "loss": 0.1278,
2362
+ "step": 1680
2363
+ },
2364
+ {
2365
+ "epoch": 3.910569105691057,
2366
+ "grad_norm": 0.8349530696868896,
2367
+ "learning_rate": 3.751226999385384e-06,
2368
+ "loss": 0.1211,
2369
+ "step": 1685
2370
+ },
2371
+ {
2372
+ "epoch": 3.922183507549361,
2373
+ "grad_norm": 0.8646232485771179,
2374
+ "learning_rate": 3.6754136175444763e-06,
2375
+ "loss": 0.1143,
2376
+ "step": 1690
2377
+ },
2378
+ {
2379
+ "epoch": 3.9337979094076654,
2380
+ "grad_norm": 0.8931161761283875,
2381
+ "learning_rate": 3.600267079762789e-06,
2382
+ "loss": 0.1194,
2383
+ "step": 1695
2384
+ },
2385
+ {
2386
+ "epoch": 3.9454123112659696,
2387
+ "grad_norm": 0.9849768280982971,
2388
+ "learning_rate": 3.525791811016271e-06,
2389
+ "loss": 0.1092,
2390
+ "step": 1700
2391
+ },
2392
+ {
2393
+ "epoch": 3.9570267131242742,
2394
+ "grad_norm": 0.9731475114822388,
2395
+ "learning_rate": 3.451992196753429e-06,
2396
+ "loss": 0.117,
2397
+ "step": 1705
2398
+ },
2399
+ {
2400
+ "epoch": 3.9686411149825784,
2401
+ "grad_norm": 0.7634958028793335,
2402
+ "learning_rate": 3.378872582637117e-06,
2403
+ "loss": 0.1107,
2404
+ "step": 1710
2405
+ },
2406
+ {
2407
+ "epoch": 3.9802555168408826,
2408
+ "grad_norm": 0.8839854598045349,
2409
+ "learning_rate": 3.306437274288624e-06,
2410
+ "loss": 0.0999,
2411
+ "step": 1715
2412
+ },
2413
+ {
2414
+ "epoch": 3.991869918699187,
2415
+ "grad_norm": 0.8653486371040344,
2416
+ "learning_rate": 3.2346905370341575e-06,
2417
+ "loss": 0.1106,
2418
+ "step": 1720
2419
+ }
2420
+ ],
2421
+ "logging_steps": 5,
2422
+ "max_steps": 2155,
2423
+ "num_input_tokens_seen": 0,
2424
+ "num_train_epochs": 5,
2425
+ "save_steps": 2000,
2426
+ "stateful_callbacks": {
2427
+ "TrainerControl": {
2428
+ "args": {
2429
+ "should_epoch_stop": false,
2430
+ "should_evaluate": false,
2431
+ "should_log": false,
2432
+ "should_save": true,
2433
+ "should_training_stop": false
2434
+ },
2435
+ "attributes": {}
2436
+ }
2437
+ },
2438
+ "total_flos": 2.713126404853072e+18,
2439
+ "train_batch_size": 2,
2440
+ "trial_name": null,
2441
+ "trial_params": null
2442
+ }
25_128_e5_3e-5/checkpoint-1724/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8826cd3cb0315b085e0bee4ad616aa4a2c50addf0b6c688836791cb1c313dff8
3
+ size 7736
25_128_e5_3e-5/checkpoint-1724/vocab.json ADDED
The diff for this file is too large to render. See raw diff
 
25_128_e5_3e-5/checkpoint-1724/zero_to_fp32.py ADDED
@@ -0,0 +1,604 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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: python zero_to_fp32.py . pytorch_model.bin
14
+
15
+ import argparse
16
+ import torch
17
+ import glob
18
+ import math
19
+ import os
20
+ import re
21
+ from collections import OrderedDict
22
+ from dataclasses import dataclass
23
+
24
+ # while this script doesn't use deepspeed to recover data, since the checkpoints are pickled with
25
+ # DeepSpeed data structures it has to be available in the current python environment.
26
+ from deepspeed.utils import logger
27
+ from deepspeed.checkpoint.constants import (DS_VERSION, OPTIMIZER_STATE_DICT, SINGLE_PARTITION_OF_FP32_GROUPS,
28
+ FP32_FLAT_GROUPS, ZERO_STAGE, PARTITION_COUNT, PARAM_SHAPES, BUFFER_NAMES,
29
+ FROZEN_PARAM_SHAPES, FROZEN_PARAM_FRAGMENTS)
30
+
31
+
32
+ @dataclass
33
+ class zero_model_state:
34
+ buffers: dict()
35
+ param_shapes: dict()
36
+ shared_params: list
37
+ ds_version: int
38
+ frozen_param_shapes: dict()
39
+ frozen_param_fragments: dict()
40
+
41
+
42
+ debug = 0
43
+
44
+ # load to cpu
45
+ device = torch.device('cpu')
46
+
47
+
48
+ def atoi(text):
49
+ return int(text) if text.isdigit() else text
50
+
51
+
52
+ def natural_keys(text):
53
+ '''
54
+ alist.sort(key=natural_keys) sorts in human order
55
+ http://nedbatchelder.com/blog/200712/human_sorting.html
56
+ (See Toothy's implementation in the comments)
57
+ '''
58
+ return [atoi(c) for c in re.split(r'(\d+)', text)]
59
+
60
+
61
+ def get_model_state_file(checkpoint_dir, zero_stage):
62
+ if not os.path.isdir(checkpoint_dir):
63
+ raise FileNotFoundError(f"Directory '{checkpoint_dir}' doesn't exist")
64
+
65
+ # there should be only one file
66
+ if zero_stage <= 2:
67
+ file = os.path.join(checkpoint_dir, "mp_rank_00_model_states.pt")
68
+ elif zero_stage == 3:
69
+ file = os.path.join(checkpoint_dir, "zero_pp_rank_0_mp_rank_00_model_states.pt")
70
+
71
+ if not os.path.exists(file):
72
+ raise FileNotFoundError(f"can't find model states file at '{file}'")
73
+
74
+ return file
75
+
76
+
77
+ def get_checkpoint_files(checkpoint_dir, glob_pattern):
78
+ # XXX: need to test that this simple glob rule works for multi-node setup too
79
+ ckpt_files = sorted(glob.glob(os.path.join(checkpoint_dir, glob_pattern)), key=natural_keys)
80
+
81
+ if len(ckpt_files) == 0:
82
+ raise FileNotFoundError(f"can't find {glob_pattern} files in directory '{checkpoint_dir}'")
83
+
84
+ return ckpt_files
85
+
86
+
87
+ def get_optim_files(checkpoint_dir):
88
+ return get_checkpoint_files(checkpoint_dir, "*_optim_states.pt")
89
+
90
+
91
+ def get_model_state_files(checkpoint_dir):
92
+ return get_checkpoint_files(checkpoint_dir, "*_model_states.pt")
93
+
94
+
95
+ def parse_model_states(files):
96
+ zero_model_states = []
97
+ for file in files:
98
+ state_dict = torch.load(file, map_location=device)
99
+
100
+ if BUFFER_NAMES not in state_dict:
101
+ raise ValueError(f"{file} is not a model state checkpoint")
102
+ buffer_names = state_dict[BUFFER_NAMES]
103
+ if debug:
104
+ print("Found buffers:", buffer_names)
105
+
106
+ # recover just the buffers while restoring them to fp32 if they were saved in fp16
107
+ buffers = {k: v.float() for k, v in state_dict["module"].items() if k in buffer_names}
108
+ param_shapes = state_dict[PARAM_SHAPES]
109
+
110
+ # collect parameters that are included in param_shapes
111
+ param_names = []
112
+ for s in param_shapes:
113
+ for name in s.keys():
114
+ param_names.append(name)
115
+
116
+ # update with frozen parameters
117
+ frozen_param_shapes = state_dict.get(FROZEN_PARAM_SHAPES, None)
118
+ if frozen_param_shapes is not None:
119
+ if debug:
120
+ print(f"Found frozen_param_shapes: {frozen_param_shapes}")
121
+ param_names += list(frozen_param_shapes.keys())
122
+
123
+ # handle shared params
124
+ shared_params = [[k, v] for k, v in state_dict["shared_params"].items()]
125
+
126
+ ds_version = state_dict.get(DS_VERSION, None)
127
+
128
+ frozen_param_fragments = state_dict.get(FROZEN_PARAM_FRAGMENTS, None)
129
+
130
+ z_model_state = zero_model_state(buffers=buffers,
131
+ param_shapes=param_shapes,
132
+ shared_params=shared_params,
133
+ ds_version=ds_version,
134
+ frozen_param_shapes=frozen_param_shapes,
135
+ frozen_param_fragments=frozen_param_fragments)
136
+ zero_model_states.append(z_model_state)
137
+
138
+ return zero_model_states
139
+
140
+
141
+ def parse_optim_states(files, ds_checkpoint_dir):
142
+
143
+ total_files = len(files)
144
+ state_dicts = []
145
+ for f in files:
146
+ state_dict = torch.load(f, map_location=device)
147
+ # immediately discard the potentially huge 2 optimizer states as we only care for fp32 master weights
148
+ # and also handle the case where it was already removed by another helper script
149
+ state_dict["optimizer_state_dict"].pop("optimizer_state_dict", None)
150
+ state_dicts.append(state_dict)
151
+
152
+ if not ZERO_STAGE in state_dicts[0][OPTIMIZER_STATE_DICT]:
153
+ raise ValueError(f"{files[0]} is not a zero checkpoint")
154
+ zero_stage = state_dicts[0][OPTIMIZER_STATE_DICT][ZERO_STAGE]
155
+ world_size = state_dicts[0][OPTIMIZER_STATE_DICT][PARTITION_COUNT]
156
+
157
+ # For ZeRO-2 each param group can have different partition_count as data parallelism for expert
158
+ # parameters can be different from data parallelism for non-expert parameters. So we can just
159
+ # use the max of the partition_count to get the dp world_size.
160
+
161
+ if type(world_size) is list:
162
+ world_size = max(world_size)
163
+
164
+ if world_size != total_files:
165
+ raise ValueError(
166
+ f"Expected {world_size} of '*_optim_states.pt' under '{ds_checkpoint_dir}' but found {total_files} files. "
167
+ "Possibly due to an overwrite of an old checkpoint, or a checkpoint didn't get saved by one or more processes."
168
+ )
169
+
170
+ # the groups are named differently in each stage
171
+ if zero_stage <= 2:
172
+ fp32_groups_key = SINGLE_PARTITION_OF_FP32_GROUPS
173
+ elif zero_stage == 3:
174
+ fp32_groups_key = FP32_FLAT_GROUPS
175
+ else:
176
+ raise ValueError(f"unknown zero stage {zero_stage}")
177
+
178
+ if zero_stage <= 2:
179
+ fp32_flat_groups = [state_dicts[i][OPTIMIZER_STATE_DICT][fp32_groups_key] for i in range(len(state_dicts))]
180
+ elif zero_stage == 3:
181
+ # if there is more than one param group, there will be multiple flattened tensors - one
182
+ # flattened tensor per group - for simplicity merge them into a single tensor
183
+ #
184
+ # XXX: could make the script more memory efficient for when there are multiple groups - it
185
+ # will require matching the sub-lists of param_shapes for each param group flattened tensor
186
+
187
+ fp32_flat_groups = [
188
+ torch.cat(state_dicts[i][OPTIMIZER_STATE_DICT][fp32_groups_key], 0) for i in range(len(state_dicts))
189
+ ]
190
+
191
+ return zero_stage, world_size, fp32_flat_groups
192
+
193
+
194
+ def _get_fp32_state_dict_from_zero_checkpoint(ds_checkpoint_dir, exclude_frozen_parameters):
195
+ """
196
+ Returns fp32 state_dict reconstructed from ds checkpoint
197
+
198
+ Args:
199
+ - ``ds_checkpoint_dir``: path to the deepspeed checkpoint folder (where the optimizer files are)
200
+
201
+ """
202
+ print(f"Processing zero checkpoint '{ds_checkpoint_dir}'")
203
+
204
+ optim_files = get_optim_files(ds_checkpoint_dir)
205
+ zero_stage, world_size, fp32_flat_groups = parse_optim_states(optim_files, ds_checkpoint_dir)
206
+ print(f"Detected checkpoint of type zero stage {zero_stage}, world_size: {world_size}")
207
+
208
+ model_files = get_model_state_files(ds_checkpoint_dir)
209
+
210
+ zero_model_states = parse_model_states(model_files)
211
+ print(f'Parsing checkpoint created by deepspeed=={zero_model_states[0].ds_version}')
212
+
213
+ if zero_stage <= 2:
214
+ return _get_fp32_state_dict_from_zero2_checkpoint(world_size, fp32_flat_groups, zero_model_states,
215
+ exclude_frozen_parameters)
216
+ elif zero_stage == 3:
217
+ return _get_fp32_state_dict_from_zero3_checkpoint(world_size, fp32_flat_groups, zero_model_states,
218
+ exclude_frozen_parameters)
219
+
220
+
221
+ def _zero2_merge_frozen_params(state_dict, zero_model_states):
222
+ if zero_model_states[0].frozen_param_shapes is None or len(zero_model_states[0].frozen_param_shapes) == 0:
223
+ return
224
+
225
+ frozen_param_shapes = zero_model_states[0].frozen_param_shapes
226
+ frozen_param_fragments = zero_model_states[0].frozen_param_fragments
227
+
228
+ if debug:
229
+ num_elem = sum(s.numel() for s in frozen_param_shapes.values())
230
+ print(f'rank 0: {FROZEN_PARAM_SHAPES}.numel = {num_elem}')
231
+
232
+ wanted_params = len(frozen_param_shapes)
233
+ wanted_numel = sum(s.numel() for s in frozen_param_shapes.values())
234
+ avail_numel = sum([p.numel() for p in frozen_param_fragments.values()])
235
+ print(f'Frozen params: Have {avail_numel} numels to process.')
236
+ print(f'Frozen params: Need {wanted_numel} numels in {wanted_params} params')
237
+
238
+ total_params = 0
239
+ total_numel = 0
240
+ for name, shape in frozen_param_shapes.items():
241
+ total_params += 1
242
+ unpartitioned_numel = shape.numel()
243
+ total_numel += unpartitioned_numel
244
+
245
+ state_dict[name] = frozen_param_fragments[name]
246
+
247
+ if debug:
248
+ print(f"{name} full shape: {shape} unpartitioned numel {unpartitioned_numel} ")
249
+
250
+ print(f"Reconstructed Frozen fp32 state dict with {total_params} params {total_numel} elements")
251
+
252
+
253
+ def _has_callable(obj, fn):
254
+ attr = getattr(obj, fn, None)
255
+ return callable(attr)
256
+
257
+
258
+ def _zero2_merge_trainable_params(state_dict, world_size, fp32_flat_groups, zero_model_states):
259
+ param_shapes = zero_model_states[0].param_shapes
260
+
261
+ # Reconstruction protocol:
262
+ #
263
+ # XXX: document this
264
+
265
+ if debug:
266
+ for i in range(world_size):
267
+ for j in range(len(fp32_flat_groups[0])):
268
+ print(f"{FP32_FLAT_GROUPS}[{i}][{j}].shape={fp32_flat_groups[i][j].shape}")
269
+
270
+ # XXX: memory usage doubles here (zero2)
271
+ num_param_groups = len(fp32_flat_groups[0])
272
+ merged_single_partition_of_fp32_groups = []
273
+ for i in range(num_param_groups):
274
+ merged_partitions = [sd[i] for sd in fp32_flat_groups]
275
+ full_single_fp32_vector = torch.cat(merged_partitions, 0)
276
+ merged_single_partition_of_fp32_groups.append(full_single_fp32_vector)
277
+ avail_numel = sum(
278
+ [full_single_fp32_vector.numel() for full_single_fp32_vector in merged_single_partition_of_fp32_groups])
279
+
280
+ if debug:
281
+ wanted_params = sum([len(shapes) for shapes in param_shapes])
282
+ wanted_numel = sum([sum(shape.numel() for shape in shapes.values()) for shapes in param_shapes])
283
+ # not asserting if there is a mismatch due to possible padding
284
+ print(f"Have {avail_numel} numels to process.")
285
+ print(f"Need {wanted_numel} numels in {wanted_params} params.")
286
+
287
+ # params
288
+ # XXX: for huge models that can't fit into the host's RAM we will have to recode this to support
289
+ # out-of-core computing solution
290
+ total_numel = 0
291
+ total_params = 0
292
+ for shapes, full_single_fp32_vector in zip(param_shapes, merged_single_partition_of_fp32_groups):
293
+ offset = 0
294
+ avail_numel = full_single_fp32_vector.numel()
295
+ for name, shape in shapes.items():
296
+
297
+ unpartitioned_numel = shape.numel() if _has_callable(shape, 'numel') else math.prod(shape)
298
+ total_numel += unpartitioned_numel
299
+ total_params += 1
300
+
301
+ if debug:
302
+ print(f"{name} full shape: {shape} unpartitioned numel {unpartitioned_numel} ")
303
+ state_dict[name] = full_single_fp32_vector.narrow(0, offset, unpartitioned_numel).view(shape)
304
+ offset += unpartitioned_numel
305
+
306
+ # Z2 started to align to 2*world_size to improve nccl performance. Therefore both offset and
307
+ # avail_numel can differ by anywhere between 0..2*world_size. Due to two unrelated complex
308
+ # paddings performed in the code it's almost impossible to predict the exact numbers w/o the
309
+ # live optimizer object, so we are checking that the numbers are within the right range
310
+ align_to = 2 * world_size
311
+
312
+ def zero2_align(x):
313
+ return align_to * math.ceil(x / align_to)
314
+
315
+ if debug:
316
+ print(f"original offset={offset}, avail_numel={avail_numel}")
317
+
318
+ offset = zero2_align(offset)
319
+ avail_numel = zero2_align(avail_numel)
320
+
321
+ if debug:
322
+ print(f"aligned offset={offset}, avail_numel={avail_numel}")
323
+
324
+ # Sanity check
325
+ if offset != avail_numel:
326
+ raise ValueError(f"consumed {offset} numels out of {avail_numel} - something is wrong")
327
+
328
+ print(f"Reconstructed fp32 state dict with {total_params} params {total_numel} elements")
329
+
330
+
331
+ def _get_fp32_state_dict_from_zero2_checkpoint(world_size, fp32_flat_groups, zero_model_states,
332
+ exclude_frozen_parameters):
333
+ state_dict = OrderedDict()
334
+
335
+ # buffers
336
+ buffers = zero_model_states[0].buffers
337
+ state_dict.update(buffers)
338
+ if debug:
339
+ print(f"added {len(buffers)} buffers")
340
+
341
+ if not exclude_frozen_parameters:
342
+ _zero2_merge_frozen_params(state_dict, zero_model_states)
343
+
344
+ _zero2_merge_trainable_params(state_dict, world_size, fp32_flat_groups, zero_model_states)
345
+
346
+ # recover shared parameters
347
+ for pair in zero_model_states[0].shared_params:
348
+ if pair[1] in state_dict:
349
+ state_dict[pair[0]] = state_dict[pair[1]]
350
+
351
+ return state_dict
352
+
353
+
354
+ def zero3_partitioned_param_info(unpartitioned_numel, world_size):
355
+ remainder = unpartitioned_numel % world_size
356
+ padding_numel = (world_size - remainder) if remainder else 0
357
+ partitioned_numel = math.ceil(unpartitioned_numel / world_size)
358
+ return partitioned_numel, padding_numel
359
+
360
+
361
+ def _zero3_merge_frozen_params(state_dict, world_size, zero_model_states):
362
+ if zero_model_states[0].frozen_param_shapes is None or len(zero_model_states[0].frozen_param_shapes) == 0:
363
+ return
364
+
365
+ if debug:
366
+ for i in range(world_size):
367
+ num_elem = sum(s.numel() for s in zero_model_states[i].frozen_param_fragments.values())
368
+ print(f'rank {i}: {FROZEN_PARAM_SHAPES}.numel = {num_elem}')
369
+
370
+ frozen_param_shapes = zero_model_states[0].frozen_param_shapes
371
+ wanted_params = len(frozen_param_shapes)
372
+ wanted_numel = sum(s.numel() for s in frozen_param_shapes.values())
373
+ avail_numel = sum([p.numel() for p in zero_model_states[0].frozen_param_fragments.values()]) * world_size
374
+ print(f'Frozen params: Have {avail_numel} numels to process.')
375
+ print(f'Frozen params: Need {wanted_numel} numels in {wanted_params} params')
376
+
377
+ total_params = 0
378
+ total_numel = 0
379
+ for name, shape in zero_model_states[0].frozen_param_shapes.items():
380
+ total_params += 1
381
+ unpartitioned_numel = shape.numel()
382
+ total_numel += unpartitioned_numel
383
+
384
+ param_frags = tuple(model_state.frozen_param_fragments[name] for model_state in zero_model_states)
385
+ state_dict[name] = torch.cat(param_frags, 0).narrow(0, 0, unpartitioned_numel).view(shape)
386
+
387
+ partitioned_numel, partitioned_padding_numel = zero3_partitioned_param_info(unpartitioned_numel, world_size)
388
+
389
+ if debug:
390
+ print(
391
+ f"Frozen params: {total_params} {name} full shape: {shape} partition0 numel={partitioned_numel} partitioned_padding_numel={partitioned_padding_numel}"
392
+ )
393
+
394
+ print(f"Reconstructed Frozen fp32 state dict with {total_params} params {total_numel} elements")
395
+
396
+
397
+ def _zero3_merge_trainable_params(state_dict, world_size, fp32_flat_groups, zero_model_states):
398
+ param_shapes = zero_model_states[0].param_shapes
399
+ avail_numel = fp32_flat_groups[0].numel() * world_size
400
+ # Reconstruction protocol: For zero3 we need to zip the partitions together at boundary of each
401
+ # param, re-consolidating each param, while dealing with padding if any
402
+
403
+ # merge list of dicts, preserving order
404
+ param_shapes = {k: v for d in param_shapes for k, v in d.items()}
405
+
406
+ if debug:
407
+ for i in range(world_size):
408
+ print(f"{FP32_FLAT_GROUPS}[{i}].shape={fp32_flat_groups[i].shape}")
409
+
410
+ wanted_params = len(param_shapes)
411
+ wanted_numel = sum(shape.numel() for shape in param_shapes.values())
412
+ # not asserting if there is a mismatch due to possible padding
413
+ avail_numel = fp32_flat_groups[0].numel() * world_size
414
+ print(f"Trainable params: Have {avail_numel} numels to process.")
415
+ print(f"Trainable params: Need {wanted_numel} numels in {wanted_params} params.")
416
+
417
+ # params
418
+ # XXX: for huge models that can't fit into the host's RAM we will have to recode this to support
419
+ # out-of-core computing solution
420
+ offset = 0
421
+ total_numel = 0
422
+ total_params = 0
423
+ for name, shape in param_shapes.items():
424
+
425
+ unpartitioned_numel = shape.numel()
426
+ total_numel += unpartitioned_numel
427
+ total_params += 1
428
+
429
+ partitioned_numel, partitioned_padding_numel = zero3_partitioned_param_info(unpartitioned_numel, world_size)
430
+
431
+ if debug:
432
+ print(
433
+ f"Trainable params: {total_params} {name} full shape: {shape} partition0 numel={partitioned_numel} partitioned_padding_numel={partitioned_padding_numel}"
434
+ )
435
+
436
+ # XXX: memory usage doubles here
437
+ state_dict[name] = torch.cat(
438
+ tuple(fp32_flat_groups[i].narrow(0, offset, partitioned_numel) for i in range(world_size)),
439
+ 0).narrow(0, 0, unpartitioned_numel).view(shape)
440
+ offset += partitioned_numel
441
+
442
+ offset *= world_size
443
+
444
+ # Sanity check
445
+ if offset != avail_numel:
446
+ raise ValueError(f"consumed {offset} numels out of {avail_numel} - something is wrong")
447
+
448
+ print(f"Reconstructed Trainable fp32 state dict with {total_params} params {total_numel} elements")
449
+
450
+
451
+ def _get_fp32_state_dict_from_zero3_checkpoint(world_size, fp32_flat_groups, zero_model_states,
452
+ exclude_frozen_parameters):
453
+ state_dict = OrderedDict()
454
+
455
+ # buffers
456
+ buffers = zero_model_states[0].buffers
457
+ state_dict.update(buffers)
458
+ if debug:
459
+ print(f"added {len(buffers)} buffers")
460
+
461
+ if not exclude_frozen_parameters:
462
+ _zero3_merge_frozen_params(state_dict, world_size, zero_model_states)
463
+
464
+ _zero3_merge_trainable_params(state_dict, world_size, fp32_flat_groups, zero_model_states)
465
+
466
+ # recover shared parameters
467
+ for pair in zero_model_states[0].shared_params:
468
+ if pair[1] in state_dict:
469
+ state_dict[pair[0]] = state_dict[pair[1]]
470
+
471
+ return state_dict
472
+
473
+
474
+ def get_fp32_state_dict_from_zero_checkpoint(checkpoint_dir, tag=None, exclude_frozen_parameters=False):
475
+ """
476
+ Convert ZeRO 2 or 3 checkpoint into a single fp32 consolidated state_dict that can be loaded with
477
+ ``load_state_dict()`` and used for training without DeepSpeed or shared with others, for example
478
+ via a model hub.
479
+
480
+ Args:
481
+ - ``checkpoint_dir``: path to the desired checkpoint folder
482
+ - ``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``
483
+ - ``exclude_frozen_parameters``: exclude frozen parameters
484
+
485
+ Returns:
486
+ - pytorch ``state_dict``
487
+
488
+ Note: this approach may not work if your application doesn't have sufficient free CPU memory and
489
+ you may need to use the offline approach using the ``zero_to_fp32.py`` script that is saved with
490
+ the checkpoint.
491
+
492
+ A typical usage might be ::
493
+
494
+ from deepspeed.utils.zero_to_fp32 import get_fp32_state_dict_from_zero_checkpoint
495
+ # do the training and checkpoint saving
496
+ state_dict = get_fp32_state_dict_from_zero_checkpoint(checkpoint_dir) # already on cpu
497
+ model = model.cpu() # move to cpu
498
+ model.load_state_dict(state_dict)
499
+ # submit to model hub or save the model to share with others
500
+
501
+ In this example the ``model`` will no longer be usable in the deepspeed context of the same
502
+ application. i.e. you will need to re-initialize the deepspeed engine, since
503
+ ``model.load_state_dict(state_dict)`` will remove all the deepspeed magic from it.
504
+
505
+ If you want it all done for you, use ``load_state_dict_from_zero_checkpoint`` instead.
506
+
507
+ """
508
+ if tag is None:
509
+ latest_path = os.path.join(checkpoint_dir, 'latest')
510
+ if os.path.isfile(latest_path):
511
+ with open(latest_path, 'r') as fd:
512
+ tag = fd.read().strip()
513
+ else:
514
+ raise ValueError(f"Unable to find 'latest' file at {latest_path}")
515
+
516
+ ds_checkpoint_dir = os.path.join(checkpoint_dir, tag)
517
+
518
+ if not os.path.isdir(ds_checkpoint_dir):
519
+ raise FileNotFoundError(f"Directory '{ds_checkpoint_dir}' doesn't exist")
520
+
521
+ return _get_fp32_state_dict_from_zero_checkpoint(ds_checkpoint_dir, exclude_frozen_parameters)
522
+
523
+
524
+ def convert_zero_checkpoint_to_fp32_state_dict(checkpoint_dir, output_file, tag=None, exclude_frozen_parameters=False):
525
+ """
526
+ Convert ZeRO 2 or 3 checkpoint into a single fp32 consolidated ``state_dict`` file that can be
527
+ loaded with ``torch.load(file)`` + ``load_state_dict()`` and used for training without DeepSpeed.
528
+
529
+ Args:
530
+ - ``checkpoint_dir``: path to the desired checkpoint folder. (one that contains the tag-folder, like ``global_step14``)
531
+ - ``output_file``: path to the pytorch fp32 state_dict output file (e.g. path/pytorch_model.bin)
532
+ - ``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``
533
+ - ``exclude_frozen_parameters``: exclude frozen parameters
534
+ """
535
+
536
+ state_dict = get_fp32_state_dict_from_zero_checkpoint(checkpoint_dir, tag, exclude_frozen_parameters)
537
+ print(f"Saving fp32 state dict to {output_file}")
538
+ torch.save(state_dict, output_file)
539
+
540
+
541
+ def load_state_dict_from_zero_checkpoint(model, checkpoint_dir, tag=None):
542
+ """
543
+ 1. Put the provided model to cpu
544
+ 2. Convert ZeRO 2 or 3 checkpoint into a single fp32 consolidated ``state_dict``
545
+ 3. Load it into the provided model
546
+
547
+ Args:
548
+ - ``model``: the model object to update
549
+ - ``checkpoint_dir``: path to the desired checkpoint folder. (one that contains the tag-folder, like ``global_step14``)
550
+ - ``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``
551
+
552
+ Returns:
553
+ - ``model`: modified model
554
+
555
+ Make sure you have plenty of CPU memory available before you call this function. If you don't
556
+ have enough use the ``zero_to_fp32.py`` utility to do the conversion. You will find it
557
+ conveniently placed for you in the checkpoint folder.
558
+
559
+ A typical usage might be ::
560
+
561
+ from deepspeed.utils.zero_to_fp32 import load_state_dict_from_zero_checkpoint
562
+ model = load_state_dict_from_zero_checkpoint(trainer.model, checkpoint_dir)
563
+ # submit to model hub or save the model to share with others
564
+
565
+ Note, that once this was run, the ``model`` will no longer be usable in the deepspeed context
566
+ of the same application. i.e. you will need to re-initialize the deepspeed engine, since
567
+ ``model.load_state_dict(state_dict)`` will remove all the deepspeed magic from it.
568
+
569
+ """
570
+ logger.info(f"Extracting fp32 weights")
571
+ state_dict = get_fp32_state_dict_from_zero_checkpoint(checkpoint_dir, tag)
572
+
573
+ logger.info(f"Overwriting model with fp32 weights")
574
+ model = model.cpu()
575
+ model.load_state_dict(state_dict, strict=False)
576
+
577
+ return model
578
+
579
+
580
+ if __name__ == "__main__":
581
+
582
+ parser = argparse.ArgumentParser()
583
+ parser.add_argument("checkpoint_dir",
584
+ type=str,
585
+ help="path to the desired checkpoint folder, e.g., path/checkpoint-12")
586
+ parser.add_argument(
587
+ "output_file",
588
+ type=str,
589
+ help="path to the pytorch fp32 state_dict output file (e.g. path/checkpoint-12/pytorch_model.bin)")
590
+ parser.add_argument("-t",
591
+ "--tag",
592
+ type=str,
593
+ default=None,
594
+ help="checkpoint tag used as a unique identifier for checkpoint. e.g., global_step1")
595
+ parser.add_argument("--exclude_frozen_parameters", action='store_true', help="exclude frozen parameters")
596
+ parser.add_argument("-d", "--debug", action='store_true', help="enable debug")
597
+ args = parser.parse_args()
598
+
599
+ debug = args.debug
600
+
601
+ convert_zero_checkpoint_to_fp32_state_dict(args.checkpoint_dir,
602
+ args.output_file,
603
+ tag=args.tag,
604
+ exclude_frozen_parameters=args.exclude_frozen_parameters)
25_128_e5_3e-5/checkpoint-2155/README.md ADDED
@@ -0,0 +1,202 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: ibm-granite/granite-3.3-8b-base
3
+ library_name: peft
4
+ ---
5
+
6
+ # Model Card for Model ID
7
+
8
+ <!-- Provide a quick summary of what the model is/does. -->
9
+
10
+
11
+
12
+ ## Model Details
13
+
14
+ ### Model Description
15
+
16
+ <!-- Provide a longer summary of what this model is. -->
17
+
18
+
19
+
20
+ - **Developed by:** [More Information Needed]
21
+ - **Funded by [optional]:** [More Information Needed]
22
+ - **Shared by [optional]:** [More Information Needed]
23
+ - **Model type:** [More Information Needed]
24
+ - **Language(s) (NLP):** [More Information Needed]
25
+ - **License:** [More Information Needed]
26
+ - **Finetuned from model [optional]:** [More Information Needed]
27
+
28
+ ### Model Sources [optional]
29
+
30
+ <!-- Provide the basic links for the model. -->
31
+
32
+ - **Repository:** [More Information Needed]
33
+ - **Paper [optional]:** [More Information Needed]
34
+ - **Demo [optional]:** [More Information Needed]
35
+
36
+ ## Uses
37
+
38
+ <!-- Address questions around how the model is intended to be used, including the foreseeable users of the model and those affected by the model. -->
39
+
40
+ ### Direct Use
41
+
42
+ <!-- This section is for the model use without fine-tuning or plugging into a larger ecosystem/app. -->
43
+
44
+ [More Information Needed]
45
+
46
+ ### Downstream Use [optional]
47
+
48
+ <!-- This section is for the model use when fine-tuned for a task, or when plugged into a larger ecosystem/app -->
49
+
50
+ [More Information Needed]
51
+
52
+ ### Out-of-Scope Use
53
+
54
+ <!-- This section addresses misuse, malicious use, and uses that the model will not work well for. -->
55
+
56
+ [More Information Needed]
57
+
58
+ ## Bias, Risks, and Limitations
59
+
60
+ <!-- This section is meant to convey both technical and sociotechnical limitations. -->
61
+
62
+ [More Information Needed]
63
+
64
+ ### Recommendations
65
+
66
+ <!-- This section is meant to convey recommendations with respect to the bias, risk, and technical limitations. -->
67
+
68
+ Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. More information needed for further recommendations.
69
+
70
+ ## How to Get Started with the Model
71
+
72
+ Use the code below to get started with the model.
73
+
74
+ [More Information Needed]
75
+
76
+ ## Training Details
77
+
78
+ ### Training Data
79
+
80
+ <!-- This should link to a Dataset Card, perhaps with a short stub of information on what the training data is all about as well as documentation related to data pre-processing or additional filtering. -->
81
+
82
+ [More Information Needed]
83
+
84
+ ### Training Procedure
85
+
86
+ <!-- This relates heavily to the Technical Specifications. Content here should link to that section when it is relevant to the training procedure. -->
87
+
88
+ #### Preprocessing [optional]
89
+
90
+ [More Information Needed]
91
+
92
+
93
+ #### Training Hyperparameters
94
+
95
+ - **Training regime:** [More Information Needed] <!--fp32, fp16 mixed precision, bf16 mixed precision, bf16 non-mixed precision, fp16 non-mixed precision, fp8 mixed precision -->
96
+
97
+ #### Speeds, Sizes, Times [optional]
98
+
99
+ <!-- This section provides information about throughput, start/end time, checkpoint size if relevant, etc. -->
100
+
101
+ [More Information Needed]
102
+
103
+ ## Evaluation
104
+
105
+ <!-- This section describes the evaluation protocols and provides the results. -->
106
+
107
+ ### Testing Data, Factors & Metrics
108
+
109
+ #### Testing Data
110
+
111
+ <!-- This should link to a Dataset Card if possible. -->
112
+
113
+ [More Information Needed]
114
+
115
+ #### Factors
116
+
117
+ <!-- These are the things the evaluation is disaggregating by, e.g., subpopulations or domains. -->
118
+
119
+ [More Information Needed]
120
+
121
+ #### Metrics
122
+
123
+ <!-- These are the evaluation metrics being used, ideally with a description of why. -->
124
+
125
+ [More Information Needed]
126
+
127
+ ### Results
128
+
129
+ [More Information Needed]
130
+
131
+ #### Summary
132
+
133
+
134
+
135
+ ## Model Examination [optional]
136
+
137
+ <!-- Relevant interpretability work for the model goes here -->
138
+
139
+ [More Information Needed]
140
+
141
+ ## Environmental Impact
142
+
143
+ <!-- Total emissions (in grams of CO2eq) and additional considerations, such as electricity usage, go here. Edit the suggested text below accordingly -->
144
+
145
+ Carbon emissions can be estimated using the [Machine Learning Impact calculator](https://mlco2.github.io/impact#compute) presented in [Lacoste et al. (2019)](https://arxiv.org/abs/1910.09700).
146
+
147
+ - **Hardware Type:** [More Information Needed]
148
+ - **Hours used:** [More Information Needed]
149
+ - **Cloud Provider:** [More Information Needed]
150
+ - **Compute Region:** [More Information Needed]
151
+ - **Carbon Emitted:** [More Information Needed]
152
+
153
+ ## Technical Specifications [optional]
154
+
155
+ ### Model Architecture and Objective
156
+
157
+ [More Information Needed]
158
+
159
+ ### Compute Infrastructure
160
+
161
+ [More Information Needed]
162
+
163
+ #### Hardware
164
+
165
+ [More Information Needed]
166
+
167
+ #### Software
168
+
169
+ [More Information Needed]
170
+
171
+ ## Citation [optional]
172
+
173
+ <!-- If there is a paper or blog post introducing the model, the APA and Bibtex information for that should go in this section. -->
174
+
175
+ **BibTeX:**
176
+
177
+ [More Information Needed]
178
+
179
+ **APA:**
180
+
181
+ [More Information Needed]
182
+
183
+ ## Glossary [optional]
184
+
185
+ <!-- If relevant, include terms and calculations in this section that can help readers understand the model or model card. -->
186
+
187
+ [More Information Needed]
188
+
189
+ ## More Information [optional]
190
+
191
+ [More Information Needed]
192
+
193
+ ## Model Card Authors [optional]
194
+
195
+ [More Information Needed]
196
+
197
+ ## Model Card Contact
198
+
199
+ [More Information Needed]
200
+ ### Framework versions
201
+
202
+ - PEFT 0.15.2
25_128_e5_3e-5/checkpoint-2155/adapter_config.json ADDED
@@ -0,0 +1,39 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "alpha_pattern": {},
3
+ "auto_mapping": null,
4
+ "base_model_name_or_path": "ibm-granite/granite-3.3-8b-base",
5
+ "bias": "none",
6
+ "corda_config": null,
7
+ "eva_config": null,
8
+ "exclude_modules": null,
9
+ "fan_in_fan_out": false,
10
+ "inference_mode": true,
11
+ "init_lora_weights": true,
12
+ "layer_replication": null,
13
+ "layers_pattern": null,
14
+ "layers_to_transform": null,
15
+ "loftq_config": {},
16
+ "lora_alpha": 256,
17
+ "lora_bias": false,
18
+ "lora_dropout": 0.05,
19
+ "megatron_config": null,
20
+ "megatron_core": "megatron.core",
21
+ "modules_to_save": null,
22
+ "peft_type": "LORA",
23
+ "r": 128,
24
+ "rank_pattern": {},
25
+ "revision": null,
26
+ "target_modules": [
27
+ "k_proj",
28
+ "down_proj",
29
+ "up_proj",
30
+ "q_proj",
31
+ "v_proj",
32
+ "o_proj",
33
+ "gate_proj"
34
+ ],
35
+ "task_type": "CAUSAL_LM",
36
+ "trainable_token_indices": null,
37
+ "use_dora": false,
38
+ "use_rslora": false
39
+ }
25_128_e5_3e-5/checkpoint-2155/adapter_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4658cb8a7bc4762d90cdaf09d89611499c1e3926ea404b293368fb0a838a2358
3
+ size 791751704
25_128_e5_3e-5/checkpoint-2155/latest ADDED
@@ -0,0 +1 @@
 
 
1
+ global_step2155
25_128_e5_3e-5/checkpoint-2155/merges.txt ADDED
The diff for this file is too large to render. See raw diff
 
25_128_e5_3e-5/checkpoint-2155/rng_state_0.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:17f21a1b6500e0ff35b10a9c9785c7a966fe117e4b5ba284c1edee4c87fee24a
3
+ size 15920
25_128_e5_3e-5/checkpoint-2155/rng_state_1.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ca3a3c0620a6ca1db565b5fd99e6eafc4ee7f9fddf53e6bd873b72d554ef454b
3
+ size 15920
25_128_e5_3e-5/checkpoint-2155/rng_state_2.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:539371ae490ba8ad974e60d6a6970ef1a269ec67453cdd4acd8034fb3c0f1d25
3
+ size 15920