Raiff1982 commited on
Commit
bb1e8ce
·
verified ·
1 Parent(s): 5dd00cf

Upload folder using huggingface_hub

Browse files
Files changed (40) hide show
  1. .gitattributes +4 -0
  2. newton/README.md +62 -0
  3. newton/adapter_config.json +43 -0
  4. newton/adapter_model.safetensors +3 -0
  5. newton/chat_template.jinja +109 -0
  6. newton/checkpoint-1000/README.md +209 -0
  7. newton/checkpoint-1000/adapter_config.json +43 -0
  8. newton/checkpoint-1000/adapter_model.safetensors +3 -0
  9. newton/checkpoint-1000/chat_template.jinja +109 -0
  10. newton/checkpoint-1000/optimizer.pt +3 -0
  11. newton/checkpoint-1000/rng_state.pth +3 -0
  12. newton/checkpoint-1000/scheduler.pt +3 -0
  13. newton/checkpoint-1000/tokenizer.json +3 -0
  14. newton/checkpoint-1000/tokenizer_config.json +14 -0
  15. newton/checkpoint-1000/trainer_state.json +1034 -0
  16. newton/checkpoint-1000/training_args.bin +3 -0
  17. newton/checkpoint-1125/README.md +209 -0
  18. newton/checkpoint-1125/adapter_config.json +43 -0
  19. newton/checkpoint-1125/adapter_model.safetensors +3 -0
  20. newton/checkpoint-1125/chat_template.jinja +109 -0
  21. newton/checkpoint-1125/optimizer.pt +3 -0
  22. newton/checkpoint-1125/rng_state.pth +3 -0
  23. newton/checkpoint-1125/scheduler.pt +3 -0
  24. newton/checkpoint-1125/tokenizer.json +3 -0
  25. newton/checkpoint-1125/tokenizer_config.json +14 -0
  26. newton/checkpoint-1125/trainer_state.json +1154 -0
  27. newton/checkpoint-1125/training_args.bin +3 -0
  28. newton/checkpoint-500/README.md +209 -0
  29. newton/checkpoint-500/adapter_config.json +43 -0
  30. newton/checkpoint-500/adapter_model.safetensors +3 -0
  31. newton/checkpoint-500/chat_template.jinja +109 -0
  32. newton/checkpoint-500/optimizer.pt +3 -0
  33. newton/checkpoint-500/rng_state.pth +3 -0
  34. newton/checkpoint-500/scheduler.pt +3 -0
  35. newton/checkpoint-500/tokenizer.json +3 -0
  36. newton/checkpoint-500/tokenizer_config.json +14 -0
  37. newton/checkpoint-500/trainer_state.json +534 -0
  38. newton/checkpoint-500/training_args.bin +3 -0
  39. newton/tokenizer.json +3 -0
  40. newton/tokenizer_config.json +14 -0
.gitattributes CHANGED
@@ -33,3 +33,7 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
 
 
 
 
 
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
36
+ newton/checkpoint-1000/tokenizer.json filter=lfs diff=lfs merge=lfs -text
37
+ newton/checkpoint-1125/tokenizer.json filter=lfs diff=lfs merge=lfs -text
38
+ newton/checkpoint-500/tokenizer.json filter=lfs diff=lfs merge=lfs -text
39
+ newton/tokenizer.json filter=lfs diff=lfs merge=lfs -text
newton/README.md ADDED
@@ -0,0 +1,62 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: meta-llama/Llama-3.1-8B-Instruct
3
+ library_name: peft
4
+ model_name: newton
5
+ tags:
6
+ - base_model:adapter:meta-llama/Llama-3.1-8B-Instruct
7
+ - lora
8
+ - sft
9
+ - transformers
10
+ - trl
11
+ licence: license
12
+ pipeline_tag: text-generation
13
+ ---
14
+
15
+ # Model Card for newton
16
+
17
+ This model is a fine-tuned version of [meta-llama/Llama-3.1-8B-Instruct](https://huggingface.co/meta-llama/Llama-3.1-8B-Instruct).
18
+ It has been trained using [TRL](https://github.com/huggingface/trl).
19
+
20
+ ## Quick start
21
+
22
+ ```python
23
+ from transformers import pipeline
24
+
25
+ question = "If you had a time machine, but could only go to the past or the future once and never return, which would you choose and why?"
26
+ generator = pipeline("text-generation", model="None", device="cuda")
27
+ output = generator([{"role": "user", "content": question}], max_new_tokens=128, return_full_text=False)[0]
28
+ print(output["generated_text"])
29
+ ```
30
+
31
+ ## Training procedure
32
+
33
+
34
+
35
+
36
+
37
+ This model was trained with SFT.
38
+
39
+ ### Framework versions
40
+
41
+ - PEFT 0.18.1
42
+ - TRL: 0.29.0
43
+ - Transformers: 5.3.0
44
+ - Pytorch: 2.10.0
45
+ - Datasets: 4.6.1
46
+ - Tokenizers: 0.22.2
47
+
48
+ ## Citations
49
+
50
+
51
+
52
+ Cite TRL as:
53
+
54
+ ```bibtex
55
+ @software{vonwerra2020trl,
56
+ title = {{TRL: Transformers Reinforcement Learning}},
57
+ author = {von Werra, Leandro and Belkada, Younes and Tunstall, Lewis and Beeching, Edward and Thrush, Tristan and Lambert, Nathan and Huang, Shengyi and Rasul, Kashif and Gallouédec, Quentin},
58
+ license = {Apache-2.0},
59
+ url = {https://github.com/huggingface/trl},
60
+ year = {2020}
61
+ }
62
+ ```
newton/adapter_config.json ADDED
@@ -0,0 +1,43 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "alora_invocation_tokens": null,
3
+ "alpha_pattern": {},
4
+ "arrow_config": null,
5
+ "auto_mapping": null,
6
+ "base_model_name_or_path": "meta-llama/Llama-3.1-8B-Instruct",
7
+ "bias": "none",
8
+ "corda_config": null,
9
+ "ensure_weight_tying": false,
10
+ "eva_config": null,
11
+ "exclude_modules": null,
12
+ "fan_in_fan_out": false,
13
+ "inference_mode": true,
14
+ "init_lora_weights": true,
15
+ "layer_replication": null,
16
+ "layers_pattern": null,
17
+ "layers_to_transform": null,
18
+ "loftq_config": {},
19
+ "lora_alpha": 32,
20
+ "lora_bias": false,
21
+ "lora_dropout": 0.05,
22
+ "megatron_config": null,
23
+ "megatron_core": "megatron.core",
24
+ "modules_to_save": null,
25
+ "peft_type": "LORA",
26
+ "peft_version": "0.18.1",
27
+ "qalora_group_size": 16,
28
+ "r": 16,
29
+ "rank_pattern": {},
30
+ "revision": null,
31
+ "target_modules": [
32
+ "q_proj",
33
+ "o_proj",
34
+ "k_proj",
35
+ "v_proj"
36
+ ],
37
+ "target_parameters": null,
38
+ "task_type": "CAUSAL_LM",
39
+ "trainable_token_indices": null,
40
+ "use_dora": false,
41
+ "use_qalora": false,
42
+ "use_rslora": false
43
+ }
newton/adapter_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:323635297b5e0c773a26c4451697f85a4ff3020e8864a138ba799a14da2627a2
3
+ size 27297544
newton/chat_template.jinja ADDED
@@ -0,0 +1,109 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {{- bos_token }}
2
+ {%- if custom_tools is defined %}
3
+ {%- set tools = custom_tools %}
4
+ {%- endif %}
5
+ {%- if not tools_in_user_message is defined %}
6
+ {%- set tools_in_user_message = true %}
7
+ {%- endif %}
8
+ {%- if not date_string is defined %}
9
+ {%- set date_string = "26 Jul 2024" %}
10
+ {%- endif %}
11
+ {%- if not tools is defined %}
12
+ {%- set tools = none %}
13
+ {%- endif %}
14
+
15
+ {#- This block extracts the system message, so we can slot it into the right place. #}
16
+ {%- if messages[0]['role'] == 'system' %}
17
+ {%- set system_message = messages[0]['content']|trim %}
18
+ {%- set messages = messages[1:] %}
19
+ {%- else %}
20
+ {%- set system_message = "" %}
21
+ {%- endif %}
22
+
23
+ {#- System message + builtin tools #}
24
+ {{- "<|start_header_id|>system<|end_header_id|>\n\n" }}
25
+ {%- if builtin_tools is defined or tools is not none %}
26
+ {{- "Environment: ipython\n" }}
27
+ {%- endif %}
28
+ {%- if builtin_tools is defined %}
29
+ {{- "Tools: " + builtin_tools | reject('equalto', 'code_interpreter') | join(", ") + "\n\n"}}
30
+ {%- endif %}
31
+ {{- "Cutting Knowledge Date: December 2023\n" }}
32
+ {{- "Today Date: " + date_string + "\n\n" }}
33
+ {%- if tools is not none and not tools_in_user_message %}
34
+ {{- "You have access to the following functions. To call a function, please respond with JSON for a function call." }}
35
+ {{- 'Respond in the format {"name": function name, "parameters": dictionary of argument name and its value}.' }}
36
+ {{- "Do not use variables.\n\n" }}
37
+ {%- for t in tools %}
38
+ {{- t | tojson(indent=4) }}
39
+ {{- "\n\n" }}
40
+ {%- endfor %}
41
+ {%- endif %}
42
+ {{- system_message }}
43
+ {{- "<|eot_id|>" }}
44
+
45
+ {#- Custom tools are passed in a user message with some extra guidance #}
46
+ {%- if tools_in_user_message and not tools is none %}
47
+ {#- Extract the first user message so we can plug it in here #}
48
+ {%- if messages | length != 0 %}
49
+ {%- set first_user_message = messages[0]['content']|trim %}
50
+ {%- set messages = messages[1:] %}
51
+ {%- else %}
52
+ {{- raise_exception("Cannot put tools in the first user message when there's no first user message!") }}
53
+ {%- endif %}
54
+ {{- '<|start_header_id|>user<|end_header_id|>\n\n' -}}
55
+ {{- "Given the following functions, please respond with a JSON for a function call " }}
56
+ {{- "with its proper arguments that best answers the given prompt.\n\n" }}
57
+ {{- 'Respond in the format {"name": function name, "parameters": dictionary of argument name and its value}.' }}
58
+ {{- "Do not use variables.\n\n" }}
59
+ {%- for t in tools %}
60
+ {{- t | tojson(indent=4) }}
61
+ {{- "\n\n" }}
62
+ {%- endfor %}
63
+ {{- first_user_message + "<|eot_id|>"}}
64
+ {%- endif %}
65
+
66
+ {%- for message in messages %}
67
+ {%- if not (message.role == 'ipython' or message.role == 'tool' or 'tool_calls' in message) %}
68
+ {{- '<|start_header_id|>' + message['role'] + '<|end_header_id|>\n\n'+ message['content'] | trim + '<|eot_id|>' }}
69
+ {%- elif 'tool_calls' in message %}
70
+ {%- if not message.tool_calls|length == 1 %}
71
+ {{- raise_exception("This model only supports single tool-calls at once!") }}
72
+ {%- endif %}
73
+ {%- set tool_call = message.tool_calls[0].function %}
74
+ {%- if builtin_tools is defined and tool_call.name in builtin_tools %}
75
+ {{- '<|start_header_id|>assistant<|end_header_id|>\n\n' -}}
76
+ {{- "<|python_tag|>" + tool_call.name + ".call(" }}
77
+ {%- for arg_name, arg_val in tool_call.arguments | items %}
78
+ {{- arg_name + '="' + arg_val + '"' }}
79
+ {%- if not loop.last %}
80
+ {{- ", " }}
81
+ {%- endif %}
82
+ {%- endfor %}
83
+ {{- ")" }}
84
+ {%- else %}
85
+ {{- '<|start_header_id|>assistant<|end_header_id|>\n\n' -}}
86
+ {{- '{"name": "' + tool_call.name + '", ' }}
87
+ {{- '"parameters": ' }}
88
+ {{- tool_call.arguments | tojson }}
89
+ {{- "}" }}
90
+ {%- endif %}
91
+ {%- if builtin_tools is defined %}
92
+ {#- This means we're in ipython mode #}
93
+ {{- "<|eom_id|>" }}
94
+ {%- else %}
95
+ {{- "<|eot_id|>" }}
96
+ {%- endif %}
97
+ {%- elif message.role == "tool" or message.role == "ipython" %}
98
+ {{- "<|start_header_id|>ipython<|end_header_id|>\n\n" }}
99
+ {%- if message.content is mapping or message.content is iterable %}
100
+ {{- message.content | tojson }}
101
+ {%- else %}
102
+ {{- message.content }}
103
+ {%- endif %}
104
+ {{- "<|eot_id|>" }}
105
+ {%- endif %}
106
+ {%- endfor %}
107
+ {%- if add_generation_prompt %}
108
+ {{- '<|start_header_id|>assistant<|end_header_id|>\n\n' }}
109
+ {%- endif %}
newton/checkpoint-1000/README.md ADDED
@@ -0,0 +1,209 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: meta-llama/Llama-3.1-8B-Instruct
3
+ library_name: peft
4
+ pipeline_tag: text-generation
5
+ tags:
6
+ - base_model:adapter:meta-llama/Llama-3.1-8B-Instruct
7
+ - lora
8
+ - sft
9
+ - transformers
10
+ - trl
11
+ ---
12
+
13
+ # Model Card for Model ID
14
+
15
+ <!-- Provide a quick summary of what the model is/does. -->
16
+
17
+
18
+
19
+ ## Model Details
20
+
21
+ ### Model Description
22
+
23
+ <!-- Provide a longer summary of what this model is. -->
24
+
25
+
26
+
27
+ - **Developed by:** [More Information Needed]
28
+ - **Funded by [optional]:** [More Information Needed]
29
+ - **Shared by [optional]:** [More Information Needed]
30
+ - **Model type:** [More Information Needed]
31
+ - **Language(s) (NLP):** [More Information Needed]
32
+ - **License:** [More Information Needed]
33
+ - **Finetuned from model [optional]:** [More Information Needed]
34
+
35
+ ### Model Sources [optional]
36
+
37
+ <!-- Provide the basic links for the model. -->
38
+
39
+ - **Repository:** [More Information Needed]
40
+ - **Paper [optional]:** [More Information Needed]
41
+ - **Demo [optional]:** [More Information Needed]
42
+
43
+ ## Uses
44
+
45
+ <!-- Address questions around how the model is intended to be used, including the foreseeable users of the model and those affected by the model. -->
46
+
47
+ ### Direct Use
48
+
49
+ <!-- This section is for the model use without fine-tuning or plugging into a larger ecosystem/app. -->
50
+
51
+ [More Information Needed]
52
+
53
+ ### Downstream Use [optional]
54
+
55
+ <!-- This section is for the model use when fine-tuned for a task, or when plugged into a larger ecosystem/app -->
56
+
57
+ [More Information Needed]
58
+
59
+ ### Out-of-Scope Use
60
+
61
+ <!-- This section addresses misuse, malicious use, and uses that the model will not work well for. -->
62
+
63
+ [More Information Needed]
64
+
65
+ ## Bias, Risks, and Limitations
66
+
67
+ <!-- This section is meant to convey both technical and sociotechnical limitations. -->
68
+
69
+ [More Information Needed]
70
+
71
+ ### Recommendations
72
+
73
+ <!-- This section is meant to convey recommendations with respect to the bias, risk, and technical limitations. -->
74
+
75
+ Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. More information needed for further recommendations.
76
+
77
+ ## How to Get Started with the Model
78
+
79
+ Use the code below to get started with the model.
80
+
81
+ [More Information Needed]
82
+
83
+ ## Training Details
84
+
85
+ ### Training Data
86
+
87
+ <!-- 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. -->
88
+
89
+ [More Information Needed]
90
+
91
+ ### Training Procedure
92
+
93
+ <!-- This relates heavily to the Technical Specifications. Content here should link to that section when it is relevant to the training procedure. -->
94
+
95
+ #### Preprocessing [optional]
96
+
97
+ [More Information Needed]
98
+
99
+
100
+ #### Training Hyperparameters
101
+
102
+ - **Training regime:** [More Information Needed] <!--fp32, fp16 mixed precision, bf16 mixed precision, bf16 non-mixed precision, fp16 non-mixed precision, fp8 mixed precision -->
103
+
104
+ #### Speeds, Sizes, Times [optional]
105
+
106
+ <!-- This section provides information about throughput, start/end time, checkpoint size if relevant, etc. -->
107
+
108
+ [More Information Needed]
109
+
110
+ ## Evaluation
111
+
112
+ <!-- This section describes the evaluation protocols and provides the results. -->
113
+
114
+ ### Testing Data, Factors & Metrics
115
+
116
+ #### Testing Data
117
+
118
+ <!-- This should link to a Dataset Card if possible. -->
119
+
120
+ [More Information Needed]
121
+
122
+ #### Factors
123
+
124
+ <!-- These are the things the evaluation is disaggregating by, e.g., subpopulations or domains. -->
125
+
126
+ [More Information Needed]
127
+
128
+ #### Metrics
129
+
130
+ <!-- These are the evaluation metrics being used, ideally with a description of why. -->
131
+
132
+ [More Information Needed]
133
+
134
+ ### Results
135
+
136
+ [More Information Needed]
137
+
138
+ #### Summary
139
+
140
+
141
+
142
+ ## Model Examination [optional]
143
+
144
+ <!-- Relevant interpretability work for the model goes here -->
145
+
146
+ [More Information Needed]
147
+
148
+ ## Environmental Impact
149
+
150
+ <!-- Total emissions (in grams of CO2eq) and additional considerations, such as electricity usage, go here. Edit the suggested text below accordingly -->
151
+
152
+ 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).
153
+
154
+ - **Hardware Type:** [More Information Needed]
155
+ - **Hours used:** [More Information Needed]
156
+ - **Cloud Provider:** [More Information Needed]
157
+ - **Compute Region:** [More Information Needed]
158
+ - **Carbon Emitted:** [More Information Needed]
159
+
160
+ ## Technical Specifications [optional]
161
+
162
+ ### Model Architecture and Objective
163
+
164
+ [More Information Needed]
165
+
166
+ ### Compute Infrastructure
167
+
168
+ [More Information Needed]
169
+
170
+ #### Hardware
171
+
172
+ [More Information Needed]
173
+
174
+ #### Software
175
+
176
+ [More Information Needed]
177
+
178
+ ## Citation [optional]
179
+
180
+ <!-- If there is a paper or blog post introducing the model, the APA and Bibtex information for that should go in this section. -->
181
+
182
+ **BibTeX:**
183
+
184
+ [More Information Needed]
185
+
186
+ **APA:**
187
+
188
+ [More Information Needed]
189
+
190
+ ## Glossary [optional]
191
+
192
+ <!-- If relevant, include terms and calculations in this section that can help readers understand the model or model card. -->
193
+
194
+ [More Information Needed]
195
+
196
+ ## More Information [optional]
197
+
198
+ [More Information Needed]
199
+
200
+ ## Model Card Authors [optional]
201
+
202
+ [More Information Needed]
203
+
204
+ ## Model Card Contact
205
+
206
+ [More Information Needed]
207
+ ### Framework versions
208
+
209
+ - PEFT 0.18.1
newton/checkpoint-1000/adapter_config.json ADDED
@@ -0,0 +1,43 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "alora_invocation_tokens": null,
3
+ "alpha_pattern": {},
4
+ "arrow_config": null,
5
+ "auto_mapping": null,
6
+ "base_model_name_or_path": "meta-llama/Llama-3.1-8B-Instruct",
7
+ "bias": "none",
8
+ "corda_config": null,
9
+ "ensure_weight_tying": false,
10
+ "eva_config": null,
11
+ "exclude_modules": null,
12
+ "fan_in_fan_out": false,
13
+ "inference_mode": true,
14
+ "init_lora_weights": true,
15
+ "layer_replication": null,
16
+ "layers_pattern": null,
17
+ "layers_to_transform": null,
18
+ "loftq_config": {},
19
+ "lora_alpha": 32,
20
+ "lora_bias": false,
21
+ "lora_dropout": 0.05,
22
+ "megatron_config": null,
23
+ "megatron_core": "megatron.core",
24
+ "modules_to_save": null,
25
+ "peft_type": "LORA",
26
+ "peft_version": "0.18.1",
27
+ "qalora_group_size": 16,
28
+ "r": 16,
29
+ "rank_pattern": {},
30
+ "revision": null,
31
+ "target_modules": [
32
+ "q_proj",
33
+ "o_proj",
34
+ "k_proj",
35
+ "v_proj"
36
+ ],
37
+ "target_parameters": null,
38
+ "task_type": "CAUSAL_LM",
39
+ "trainable_token_indices": null,
40
+ "use_dora": false,
41
+ "use_qalora": false,
42
+ "use_rslora": false
43
+ }
newton/checkpoint-1000/adapter_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f41c14f1336f835fccc7fe9f0c53b2a0966f2388840ee6241fffd86a6a65108a
3
+ size 27297544
newton/checkpoint-1000/chat_template.jinja ADDED
@@ -0,0 +1,109 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {{- bos_token }}
2
+ {%- if custom_tools is defined %}
3
+ {%- set tools = custom_tools %}
4
+ {%- endif %}
5
+ {%- if not tools_in_user_message is defined %}
6
+ {%- set tools_in_user_message = true %}
7
+ {%- endif %}
8
+ {%- if not date_string is defined %}
9
+ {%- set date_string = "26 Jul 2024" %}
10
+ {%- endif %}
11
+ {%- if not tools is defined %}
12
+ {%- set tools = none %}
13
+ {%- endif %}
14
+
15
+ {#- This block extracts the system message, so we can slot it into the right place. #}
16
+ {%- if messages[0]['role'] == 'system' %}
17
+ {%- set system_message = messages[0]['content']|trim %}
18
+ {%- set messages = messages[1:] %}
19
+ {%- else %}
20
+ {%- set system_message = "" %}
21
+ {%- endif %}
22
+
23
+ {#- System message + builtin tools #}
24
+ {{- "<|start_header_id|>system<|end_header_id|>\n\n" }}
25
+ {%- if builtin_tools is defined or tools is not none %}
26
+ {{- "Environment: ipython\n" }}
27
+ {%- endif %}
28
+ {%- if builtin_tools is defined %}
29
+ {{- "Tools: " + builtin_tools | reject('equalto', 'code_interpreter') | join(", ") + "\n\n"}}
30
+ {%- endif %}
31
+ {{- "Cutting Knowledge Date: December 2023\n" }}
32
+ {{- "Today Date: " + date_string + "\n\n" }}
33
+ {%- if tools is not none and not tools_in_user_message %}
34
+ {{- "You have access to the following functions. To call a function, please respond with JSON for a function call." }}
35
+ {{- 'Respond in the format {"name": function name, "parameters": dictionary of argument name and its value}.' }}
36
+ {{- "Do not use variables.\n\n" }}
37
+ {%- for t in tools %}
38
+ {{- t | tojson(indent=4) }}
39
+ {{- "\n\n" }}
40
+ {%- endfor %}
41
+ {%- endif %}
42
+ {{- system_message }}
43
+ {{- "<|eot_id|>" }}
44
+
45
+ {#- Custom tools are passed in a user message with some extra guidance #}
46
+ {%- if tools_in_user_message and not tools is none %}
47
+ {#- Extract the first user message so we can plug it in here #}
48
+ {%- if messages | length != 0 %}
49
+ {%- set first_user_message = messages[0]['content']|trim %}
50
+ {%- set messages = messages[1:] %}
51
+ {%- else %}
52
+ {{- raise_exception("Cannot put tools in the first user message when there's no first user message!") }}
53
+ {%- endif %}
54
+ {{- '<|start_header_id|>user<|end_header_id|>\n\n' -}}
55
+ {{- "Given the following functions, please respond with a JSON for a function call " }}
56
+ {{- "with its proper arguments that best answers the given prompt.\n\n" }}
57
+ {{- 'Respond in the format {"name": function name, "parameters": dictionary of argument name and its value}.' }}
58
+ {{- "Do not use variables.\n\n" }}
59
+ {%- for t in tools %}
60
+ {{- t | tojson(indent=4) }}
61
+ {{- "\n\n" }}
62
+ {%- endfor %}
63
+ {{- first_user_message + "<|eot_id|>"}}
64
+ {%- endif %}
65
+
66
+ {%- for message in messages %}
67
+ {%- if not (message.role == 'ipython' or message.role == 'tool' or 'tool_calls' in message) %}
68
+ {{- '<|start_header_id|>' + message['role'] + '<|end_header_id|>\n\n'+ message['content'] | trim + '<|eot_id|>' }}
69
+ {%- elif 'tool_calls' in message %}
70
+ {%- if not message.tool_calls|length == 1 %}
71
+ {{- raise_exception("This model only supports single tool-calls at once!") }}
72
+ {%- endif %}
73
+ {%- set tool_call = message.tool_calls[0].function %}
74
+ {%- if builtin_tools is defined and tool_call.name in builtin_tools %}
75
+ {{- '<|start_header_id|>assistant<|end_header_id|>\n\n' -}}
76
+ {{- "<|python_tag|>" + tool_call.name + ".call(" }}
77
+ {%- for arg_name, arg_val in tool_call.arguments | items %}
78
+ {{- arg_name + '="' + arg_val + '"' }}
79
+ {%- if not loop.last %}
80
+ {{- ", " }}
81
+ {%- endif %}
82
+ {%- endfor %}
83
+ {{- ")" }}
84
+ {%- else %}
85
+ {{- '<|start_header_id|>assistant<|end_header_id|>\n\n' -}}
86
+ {{- '{"name": "' + tool_call.name + '", ' }}
87
+ {{- '"parameters": ' }}
88
+ {{- tool_call.arguments | tojson }}
89
+ {{- "}" }}
90
+ {%- endif %}
91
+ {%- if builtin_tools is defined %}
92
+ {#- This means we're in ipython mode #}
93
+ {{- "<|eom_id|>" }}
94
+ {%- else %}
95
+ {{- "<|eot_id|>" }}
96
+ {%- endif %}
97
+ {%- elif message.role == "tool" or message.role == "ipython" %}
98
+ {{- "<|start_header_id|>ipython<|end_header_id|>\n\n" }}
99
+ {%- if message.content is mapping or message.content is iterable %}
100
+ {{- message.content | tojson }}
101
+ {%- else %}
102
+ {{- message.content }}
103
+ {%- endif %}
104
+ {{- "<|eot_id|>" }}
105
+ {%- endif %}
106
+ {%- endfor %}
107
+ {%- if add_generation_prompt %}
108
+ {{- '<|start_header_id|>assistant<|end_header_id|>\n\n' }}
109
+ {%- endif %}
newton/checkpoint-1000/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:44e023b856408604b2dac8f46a59a2c413f9c5171d8a8dd0bcb2e1266e8a17e0
3
+ size 54745547
newton/checkpoint-1000/rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:58a9efb6a8371c0aa0c7c1f1395d8817f98251d4ccd6b17cd77847cecdf56a0b
3
+ size 14645
newton/checkpoint-1000/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ede3d2a514005ed80690b07770eb75aab9fd0b335517babd631dfbc1716d09fd
3
+ size 1465
newton/checkpoint-1000/tokenizer.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6b9e4e7fb171f92fd137b777cc2714bf87d11576700a1dcd7a399e7bbe39537b
3
+ size 17209920
newton/checkpoint-1000/tokenizer_config.json ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "backend": "tokenizers",
3
+ "bos_token": "<|begin_of_text|>",
4
+ "clean_up_tokenization_spaces": true,
5
+ "eos_token": "<|eot_id|>",
6
+ "is_local": false,
7
+ "model_input_names": [
8
+ "input_ids",
9
+ "attention_mask"
10
+ ],
11
+ "model_max_length": 131072,
12
+ "pad_token": "<|eot_id|>",
13
+ "tokenizer_class": "TokenizersBackend"
14
+ }
newton/checkpoint-1000/trainer_state.json ADDED
@@ -0,0 +1,1034 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_global_step": null,
3
+ "best_metric": null,
4
+ "best_model_checkpoint": null,
5
+ "epoch": 2.6666666666666665,
6
+ "eval_steps": 500,
7
+ "global_step": 1000,
8
+ "is_hyper_param_search": false,
9
+ "is_local_process_zero": true,
10
+ "is_world_process_zero": true,
11
+ "log_history": [
12
+ {
13
+ "entropy": 2.6570239067077637,
14
+ "epoch": 0.02666666666666667,
15
+ "grad_norm": 0.287109375,
16
+ "learning_rate": 5.294117647058824e-05,
17
+ "loss": 2.800247573852539,
18
+ "mean_token_accuracy": 0.4749053567647934,
19
+ "num_tokens": 56906.0,
20
+ "step": 10
21
+ },
22
+ {
23
+ "entropy": 2.2495410323143004,
24
+ "epoch": 0.05333333333333334,
25
+ "grad_norm": 0.265625,
26
+ "learning_rate": 0.00011176470588235294,
27
+ "loss": 2.4327199935913084,
28
+ "mean_token_accuracy": 0.5111239477992058,
29
+ "num_tokens": 113827.0,
30
+ "step": 20
31
+ },
32
+ {
33
+ "entropy": 1.8682004392147065,
34
+ "epoch": 0.08,
35
+ "grad_norm": 0.306640625,
36
+ "learning_rate": 0.00017058823529411766,
37
+ "loss": 1.789840316772461,
38
+ "mean_token_accuracy": 0.599884121119976,
39
+ "num_tokens": 170403.0,
40
+ "step": 30
41
+ },
42
+ {
43
+ "entropy": 1.2546741724014283,
44
+ "epoch": 0.10666666666666667,
45
+ "grad_norm": 0.306640625,
46
+ "learning_rate": 0.00019908340971585702,
47
+ "loss": 1.2151795387268067,
48
+ "mean_token_accuracy": 0.7106126025319099,
49
+ "num_tokens": 227456.0,
50
+ "step": 40
51
+ },
52
+ {
53
+ "entropy": 0.8836664661765099,
54
+ "epoch": 0.13333333333333333,
55
+ "grad_norm": 0.28515625,
56
+ "learning_rate": 0.00019725022914757106,
57
+ "loss": 0.8311976432800293,
58
+ "mean_token_accuracy": 0.7977700293064117,
59
+ "num_tokens": 284368.0,
60
+ "step": 50
61
+ },
62
+ {
63
+ "entropy": 0.6855858579277992,
64
+ "epoch": 0.16,
65
+ "grad_norm": 0.314453125,
66
+ "learning_rate": 0.00019541704857928507,
67
+ "loss": 0.6242359638214111,
68
+ "mean_token_accuracy": 0.847702169418335,
69
+ "num_tokens": 341357.0,
70
+ "step": 60
71
+ },
72
+ {
73
+ "entropy": 0.4690785683691502,
74
+ "epoch": 0.18666666666666668,
75
+ "grad_norm": 0.248046875,
76
+ "learning_rate": 0.00019358386801099912,
77
+ "loss": 0.40251870155334474,
78
+ "mean_token_accuracy": 0.9024116918444633,
79
+ "num_tokens": 398280.0,
80
+ "step": 70
81
+ },
82
+ {
83
+ "entropy": 0.34345744624733926,
84
+ "epoch": 0.21333333333333335,
85
+ "grad_norm": 0.27734375,
86
+ "learning_rate": 0.0001917506874427131,
87
+ "loss": 0.28333656787872313,
88
+ "mean_token_accuracy": 0.9320006996393204,
89
+ "num_tokens": 455232.0,
90
+ "step": 80
91
+ },
92
+ {
93
+ "entropy": 0.25451925955712795,
94
+ "epoch": 0.24,
95
+ "grad_norm": 0.208984375,
96
+ "learning_rate": 0.00018991750687442712,
97
+ "loss": 0.21085577011108397,
98
+ "mean_token_accuracy": 0.949009683728218,
99
+ "num_tokens": 511782.0,
100
+ "step": 90
101
+ },
102
+ {
103
+ "entropy": 0.19814539551734925,
104
+ "epoch": 0.26666666666666666,
105
+ "grad_norm": 0.296875,
106
+ "learning_rate": 0.00018808432630614116,
107
+ "loss": 0.1717105984687805,
108
+ "mean_token_accuracy": 0.9577329605817795,
109
+ "num_tokens": 568641.0,
110
+ "step": 100
111
+ },
112
+ {
113
+ "entropy": 0.18550167009234428,
114
+ "epoch": 0.29333333333333333,
115
+ "grad_norm": 0.21875,
116
+ "learning_rate": 0.00018625114573785518,
117
+ "loss": 0.15982584953308104,
118
+ "mean_token_accuracy": 0.9591923207044601,
119
+ "num_tokens": 626038.0,
120
+ "step": 110
121
+ },
122
+ {
123
+ "entropy": 0.16009770445525645,
124
+ "epoch": 0.32,
125
+ "grad_norm": 0.2109375,
126
+ "learning_rate": 0.00018441796516956922,
127
+ "loss": 0.12815338373184204,
128
+ "mean_token_accuracy": 0.9657398357987403,
129
+ "num_tokens": 682880.0,
130
+ "step": 120
131
+ },
132
+ {
133
+ "entropy": 0.14740683771669866,
134
+ "epoch": 0.3466666666666667,
135
+ "grad_norm": 0.2431640625,
136
+ "learning_rate": 0.00018258478460128323,
137
+ "loss": 0.1188442587852478,
138
+ "mean_token_accuracy": 0.9664651393890381,
139
+ "num_tokens": 739719.0,
140
+ "step": 130
141
+ },
142
+ {
143
+ "entropy": 0.13307180535048246,
144
+ "epoch": 0.37333333333333335,
145
+ "grad_norm": 0.1474609375,
146
+ "learning_rate": 0.00018075160403299728,
147
+ "loss": 0.11054203510284424,
148
+ "mean_token_accuracy": 0.9669812738895416,
149
+ "num_tokens": 795894.0,
150
+ "step": 140
151
+ },
152
+ {
153
+ "entropy": 0.12216594349592924,
154
+ "epoch": 0.4,
155
+ "grad_norm": 0.1240234375,
156
+ "learning_rate": 0.0001789184234647113,
157
+ "loss": 0.10401068925857544,
158
+ "mean_token_accuracy": 0.9683825269341468,
159
+ "num_tokens": 852124.0,
160
+ "step": 150
161
+ },
162
+ {
163
+ "entropy": 0.11619068495929241,
164
+ "epoch": 0.4266666666666667,
165
+ "grad_norm": 0.12060546875,
166
+ "learning_rate": 0.0001770852428964253,
167
+ "loss": 0.0976063370704651,
168
+ "mean_token_accuracy": 0.9695558726787568,
169
+ "num_tokens": 909328.0,
170
+ "step": 160
171
+ },
172
+ {
173
+ "entropy": 0.10669020470231771,
174
+ "epoch": 0.4533333333333333,
175
+ "grad_norm": 0.1279296875,
176
+ "learning_rate": 0.00017525206232813932,
177
+ "loss": 0.09338906407356262,
178
+ "mean_token_accuracy": 0.970247569680214,
179
+ "num_tokens": 966577.0,
180
+ "step": 170
181
+ },
182
+ {
183
+ "entropy": 0.10276608634740114,
184
+ "epoch": 0.48,
185
+ "grad_norm": 0.115234375,
186
+ "learning_rate": 0.00017341888175985334,
187
+ "loss": 0.09135337471961975,
188
+ "mean_token_accuracy": 0.9711026951670647,
189
+ "num_tokens": 1022961.0,
190
+ "step": 180
191
+ },
192
+ {
193
+ "entropy": 0.10297673251479864,
194
+ "epoch": 0.5066666666666667,
195
+ "grad_norm": 0.11474609375,
196
+ "learning_rate": 0.00017158570119156738,
197
+ "loss": 0.08887208104133607,
198
+ "mean_token_accuracy": 0.9709939315915108,
199
+ "num_tokens": 1079479.0,
200
+ "step": 190
201
+ },
202
+ {
203
+ "entropy": 0.09722564350813627,
204
+ "epoch": 0.5333333333333333,
205
+ "grad_norm": 0.1044921875,
206
+ "learning_rate": 0.0001697525206232814,
207
+ "loss": 0.08848196864128113,
208
+ "mean_token_accuracy": 0.9712936446070671,
209
+ "num_tokens": 1135784.0,
210
+ "step": 200
211
+ },
212
+ {
213
+ "entropy": 0.09498227294534445,
214
+ "epoch": 0.56,
215
+ "grad_norm": 0.2236328125,
216
+ "learning_rate": 0.00016791934005499544,
217
+ "loss": 0.08531092405319214,
218
+ "mean_token_accuracy": 0.9717509031295777,
219
+ "num_tokens": 1192723.0,
220
+ "step": 210
221
+ },
222
+ {
223
+ "entropy": 0.09660841915756464,
224
+ "epoch": 0.5866666666666667,
225
+ "grad_norm": 0.154296875,
226
+ "learning_rate": 0.00016608615948670945,
227
+ "loss": 0.08432384729385375,
228
+ "mean_token_accuracy": 0.9723995119333267,
229
+ "num_tokens": 1248974.0,
230
+ "step": 220
231
+ },
232
+ {
233
+ "entropy": 0.09139632768929004,
234
+ "epoch": 0.6133333333333333,
235
+ "grad_norm": 0.08203125,
236
+ "learning_rate": 0.0001642529789184235,
237
+ "loss": 0.08340675234794617,
238
+ "mean_token_accuracy": 0.9725200146436691,
239
+ "num_tokens": 1306125.0,
240
+ "step": 230
241
+ },
242
+ {
243
+ "entropy": 0.09041857812553644,
244
+ "epoch": 0.64,
245
+ "grad_norm": 0.0751953125,
246
+ "learning_rate": 0.0001624197983501375,
247
+ "loss": 0.08240053057670593,
248
+ "mean_token_accuracy": 0.9727400034666062,
249
+ "num_tokens": 1362509.0,
250
+ "step": 240
251
+ },
252
+ {
253
+ "entropy": 0.08917351886630058,
254
+ "epoch": 0.6666666666666666,
255
+ "grad_norm": 0.11181640625,
256
+ "learning_rate": 0.00016058661778185152,
257
+ "loss": 0.08038315176963806,
258
+ "mean_token_accuracy": 0.9722966447472572,
259
+ "num_tokens": 1419155.0,
260
+ "step": 250
261
+ },
262
+ {
263
+ "entropy": 0.08846015091985464,
264
+ "epoch": 0.6933333333333334,
265
+ "grad_norm": 0.07421875,
266
+ "learning_rate": 0.00015875343721356554,
267
+ "loss": 0.08111950755119324,
268
+ "mean_token_accuracy": 0.9725704893469811,
269
+ "num_tokens": 1475233.0,
270
+ "step": 260
271
+ },
272
+ {
273
+ "entropy": 0.08615751322358847,
274
+ "epoch": 0.72,
275
+ "grad_norm": 0.103515625,
276
+ "learning_rate": 0.00015692025664527955,
277
+ "loss": 0.07856618165969849,
278
+ "mean_token_accuracy": 0.9734801158308983,
279
+ "num_tokens": 1531666.0,
280
+ "step": 270
281
+ },
282
+ {
283
+ "entropy": 0.08350808713585138,
284
+ "epoch": 0.7466666666666667,
285
+ "grad_norm": 0.0869140625,
286
+ "learning_rate": 0.0001550870760769936,
287
+ "loss": 0.07699183821678161,
288
+ "mean_token_accuracy": 0.9737285181879998,
289
+ "num_tokens": 1588686.0,
290
+ "step": 280
291
+ },
292
+ {
293
+ "entropy": 0.08553262427449226,
294
+ "epoch": 0.7733333333333333,
295
+ "grad_norm": 0.140625,
296
+ "learning_rate": 0.0001532538955087076,
297
+ "loss": 0.07849866151809692,
298
+ "mean_token_accuracy": 0.9727597609162331,
299
+ "num_tokens": 1645610.0,
300
+ "step": 290
301
+ },
302
+ {
303
+ "entropy": 0.08688175324350596,
304
+ "epoch": 0.8,
305
+ "grad_norm": 0.1318359375,
306
+ "learning_rate": 0.00015142071494042165,
307
+ "loss": 0.0791881263256073,
308
+ "mean_token_accuracy": 0.9728336438536644,
309
+ "num_tokens": 1702234.0,
310
+ "step": 300
311
+ },
312
+ {
313
+ "entropy": 0.08647099416702986,
314
+ "epoch": 0.8266666666666667,
315
+ "grad_norm": 0.076171875,
316
+ "learning_rate": 0.00014958753437213567,
317
+ "loss": 0.07916317582130432,
318
+ "mean_token_accuracy": 0.9720797210931778,
319
+ "num_tokens": 1758523.0,
320
+ "step": 310
321
+ },
322
+ {
323
+ "entropy": 0.08278416823595762,
324
+ "epoch": 0.8533333333333334,
325
+ "grad_norm": 0.076171875,
326
+ "learning_rate": 0.00014775435380384968,
327
+ "loss": 0.07689375281333924,
328
+ "mean_token_accuracy": 0.9735667318105697,
329
+ "num_tokens": 1815080.0,
330
+ "step": 320
331
+ },
332
+ {
333
+ "entropy": 0.08433555215597152,
334
+ "epoch": 0.88,
335
+ "grad_norm": 0.0888671875,
336
+ "learning_rate": 0.00014592117323556373,
337
+ "loss": 0.07733245491981507,
338
+ "mean_token_accuracy": 0.973043854534626,
339
+ "num_tokens": 1872283.0,
340
+ "step": 330
341
+ },
342
+ {
343
+ "entropy": 0.0831523710861802,
344
+ "epoch": 0.9066666666666666,
345
+ "grad_norm": 0.185546875,
346
+ "learning_rate": 0.00014408799266727771,
347
+ "loss": 0.07743646502494812,
348
+ "mean_token_accuracy": 0.9724773317575455,
349
+ "num_tokens": 1929120.0,
350
+ "step": 340
351
+ },
352
+ {
353
+ "entropy": 0.08173599634319544,
354
+ "epoch": 0.9333333333333333,
355
+ "grad_norm": 0.08447265625,
356
+ "learning_rate": 0.00014225481209899176,
357
+ "loss": 0.07464101910591125,
358
+ "mean_token_accuracy": 0.9732464775443077,
359
+ "num_tokens": 1986433.0,
360
+ "step": 350
361
+ },
362
+ {
363
+ "entropy": 0.08154450561851263,
364
+ "epoch": 0.96,
365
+ "grad_norm": 0.197265625,
366
+ "learning_rate": 0.00014042163153070577,
367
+ "loss": 0.07836683988571166,
368
+ "mean_token_accuracy": 0.9733009964227677,
369
+ "num_tokens": 2043465.0,
370
+ "step": 360
371
+ },
372
+ {
373
+ "entropy": 0.08830973766744137,
374
+ "epoch": 0.9866666666666667,
375
+ "grad_norm": 0.0634765625,
376
+ "learning_rate": 0.0001385884509624198,
377
+ "loss": 0.07805899381637574,
378
+ "mean_token_accuracy": 0.9734541475772858,
379
+ "num_tokens": 2100933.0,
380
+ "step": 370
381
+ },
382
+ {
383
+ "entropy": 0.08108338043093681,
384
+ "epoch": 1.0133333333333334,
385
+ "grad_norm": 0.05859375,
386
+ "learning_rate": 0.00013675527039413383,
387
+ "loss": 0.07582586407661437,
388
+ "mean_token_accuracy": 0.9734946370124817,
389
+ "num_tokens": 2157057.0,
390
+ "step": 380
391
+ },
392
+ {
393
+ "entropy": 0.0781314555555582,
394
+ "epoch": 1.04,
395
+ "grad_norm": 0.05078125,
396
+ "learning_rate": 0.00013492208982584784,
397
+ "loss": 0.0714304804801941,
398
+ "mean_token_accuracy": 0.975023752450943,
399
+ "num_tokens": 2214085.0,
400
+ "step": 390
401
+ },
402
+ {
403
+ "entropy": 0.07955040819942952,
404
+ "epoch": 1.0666666666666667,
405
+ "grad_norm": 0.08984375,
406
+ "learning_rate": 0.00013308890925756189,
407
+ "loss": 0.07331350445747375,
408
+ "mean_token_accuracy": 0.9737342849373818,
409
+ "num_tokens": 2270765.0,
410
+ "step": 400
411
+ },
412
+ {
413
+ "entropy": 0.07677881456911564,
414
+ "epoch": 1.0933333333333333,
415
+ "grad_norm": 0.07177734375,
416
+ "learning_rate": 0.0001312557286892759,
417
+ "loss": 0.07168130278587341,
418
+ "mean_token_accuracy": 0.9739445611834526,
419
+ "num_tokens": 2327512.0,
420
+ "step": 410
421
+ },
422
+ {
423
+ "entropy": 0.07667716387659311,
424
+ "epoch": 1.12,
425
+ "grad_norm": 0.0771484375,
426
+ "learning_rate": 0.00012942254812098992,
427
+ "loss": 0.07219807505607605,
428
+ "mean_token_accuracy": 0.9742562755942344,
429
+ "num_tokens": 2384423.0,
430
+ "step": 420
431
+ },
432
+ {
433
+ "entropy": 0.07681187009438872,
434
+ "epoch": 1.1466666666666667,
435
+ "grad_norm": 0.0615234375,
436
+ "learning_rate": 0.00012758936755270393,
437
+ "loss": 0.07280588746070862,
438
+ "mean_token_accuracy": 0.9735747814178467,
439
+ "num_tokens": 2441102.0,
440
+ "step": 430
441
+ },
442
+ {
443
+ "entropy": 0.07602620646357536,
444
+ "epoch": 1.1733333333333333,
445
+ "grad_norm": 0.06982421875,
446
+ "learning_rate": 0.00012575618698441797,
447
+ "loss": 0.07293958067893982,
448
+ "mean_token_accuracy": 0.9740705206990242,
449
+ "num_tokens": 2497642.0,
450
+ "step": 440
451
+ },
452
+ {
453
+ "entropy": 0.07798876240849495,
454
+ "epoch": 1.2,
455
+ "grad_norm": 0.07421875,
456
+ "learning_rate": 0.000123923006416132,
457
+ "loss": 0.07215467095375061,
458
+ "mean_token_accuracy": 0.9742186814546585,
459
+ "num_tokens": 2554273.0,
460
+ "step": 450
461
+ },
462
+ {
463
+ "entropy": 0.07671927772462368,
464
+ "epoch": 1.2266666666666666,
465
+ "grad_norm": 0.05029296875,
466
+ "learning_rate": 0.00012208982584784603,
467
+ "loss": 0.07254356741905213,
468
+ "mean_token_accuracy": 0.9733539551496506,
469
+ "num_tokens": 2610932.0,
470
+ "step": 460
471
+ },
472
+ {
473
+ "entropy": 0.07502734698355198,
474
+ "epoch": 1.2533333333333334,
475
+ "grad_norm": 0.05029296875,
476
+ "learning_rate": 0.00012025664527956005,
477
+ "loss": 0.07076438069343567,
478
+ "mean_token_accuracy": 0.9745794385671616,
479
+ "num_tokens": 2668226.0,
480
+ "step": 470
481
+ },
482
+ {
483
+ "entropy": 0.07516032289713621,
484
+ "epoch": 1.28,
485
+ "grad_norm": 0.045654296875,
486
+ "learning_rate": 0.00011842346471127406,
487
+ "loss": 0.0711740493774414,
488
+ "mean_token_accuracy": 0.9735412746667862,
489
+ "num_tokens": 2725180.0,
490
+ "step": 480
491
+ },
492
+ {
493
+ "entropy": 0.07623793687671424,
494
+ "epoch": 1.3066666666666666,
495
+ "grad_norm": 0.053955078125,
496
+ "learning_rate": 0.00011659028414298809,
497
+ "loss": 0.07199874520301819,
498
+ "mean_token_accuracy": 0.9739259093999862,
499
+ "num_tokens": 2782069.0,
500
+ "step": 490
501
+ },
502
+ {
503
+ "entropy": 0.07468608934432268,
504
+ "epoch": 1.3333333333333333,
505
+ "grad_norm": 0.046142578125,
506
+ "learning_rate": 0.0001147571035747021,
507
+ "loss": 0.07050397992134094,
508
+ "mean_token_accuracy": 0.9742979735136033,
509
+ "num_tokens": 2838772.0,
510
+ "step": 500
511
+ },
512
+ {
513
+ "entropy": 0.07314184289425611,
514
+ "epoch": 1.3599999999999999,
515
+ "grad_norm": 0.0732421875,
516
+ "learning_rate": 0.00011292392300641615,
517
+ "loss": 0.06992406845092773,
518
+ "mean_token_accuracy": 0.9748412847518921,
519
+ "num_tokens": 2896384.0,
520
+ "step": 510
521
+ },
522
+ {
523
+ "entropy": 0.07735273949801921,
524
+ "epoch": 1.3866666666666667,
525
+ "grad_norm": 0.042236328125,
526
+ "learning_rate": 0.00011109074243813016,
527
+ "loss": 0.07089330554008484,
528
+ "mean_token_accuracy": 0.973857656121254,
529
+ "num_tokens": 2953074.0,
530
+ "step": 520
531
+ },
532
+ {
533
+ "entropy": 0.07427110467106104,
534
+ "epoch": 1.4133333333333333,
535
+ "grad_norm": 0.05615234375,
536
+ "learning_rate": 0.00010925756186984419,
537
+ "loss": 0.07023302912712097,
538
+ "mean_token_accuracy": 0.9745061740279197,
539
+ "num_tokens": 3009599.0,
540
+ "step": 530
541
+ },
542
+ {
543
+ "entropy": 0.07496015410870313,
544
+ "epoch": 1.44,
545
+ "grad_norm": 0.04150390625,
546
+ "learning_rate": 0.0001074243813015582,
547
+ "loss": 0.07044907808303832,
548
+ "mean_token_accuracy": 0.97446711063385,
549
+ "num_tokens": 3065550.0,
550
+ "step": 540
551
+ },
552
+ {
553
+ "entropy": 0.07237969692796468,
554
+ "epoch": 1.4666666666666668,
555
+ "grad_norm": 0.0537109375,
556
+ "learning_rate": 0.00010559120073327222,
557
+ "loss": 0.06903309226036072,
558
+ "mean_token_accuracy": 0.9751396328210831,
559
+ "num_tokens": 3122339.0,
560
+ "step": 550
561
+ },
562
+ {
563
+ "entropy": 0.07292939173057675,
564
+ "epoch": 1.4933333333333334,
565
+ "grad_norm": 0.044921875,
566
+ "learning_rate": 0.00010375802016498626,
567
+ "loss": 0.06951733827590942,
568
+ "mean_token_accuracy": 0.9748973533511162,
569
+ "num_tokens": 3179284.0,
570
+ "step": 560
571
+ },
572
+ {
573
+ "entropy": 0.0735103216022253,
574
+ "epoch": 1.52,
575
+ "grad_norm": 0.0595703125,
576
+ "learning_rate": 0.00010192483959670028,
577
+ "loss": 0.06886410713195801,
578
+ "mean_token_accuracy": 0.9742336764931678,
579
+ "num_tokens": 3236634.0,
580
+ "step": 570
581
+ },
582
+ {
583
+ "entropy": 0.07244595270603896,
584
+ "epoch": 1.5466666666666666,
585
+ "grad_norm": 0.049072265625,
586
+ "learning_rate": 0.0001000916590284143,
587
+ "loss": 0.06925945878028869,
588
+ "mean_token_accuracy": 0.9746079474687577,
589
+ "num_tokens": 3293217.0,
590
+ "step": 580
591
+ },
592
+ {
593
+ "entropy": 0.0733188034966588,
594
+ "epoch": 1.5733333333333333,
595
+ "grad_norm": 0.04833984375,
596
+ "learning_rate": 9.825847846012832e-05,
597
+ "loss": 0.06935187578201293,
598
+ "mean_token_accuracy": 0.9748518764972687,
599
+ "num_tokens": 3349872.0,
600
+ "step": 590
601
+ },
602
+ {
603
+ "entropy": 0.07255212999880314,
604
+ "epoch": 1.6,
605
+ "grad_norm": 0.04736328125,
606
+ "learning_rate": 9.642529789184235e-05,
607
+ "loss": 0.07008358240127563,
608
+ "mean_token_accuracy": 0.9742572873830795,
609
+ "num_tokens": 3406930.0,
610
+ "step": 600
611
+ },
612
+ {
613
+ "entropy": 0.0732356732711196,
614
+ "epoch": 1.6266666666666667,
615
+ "grad_norm": 0.0498046875,
616
+ "learning_rate": 9.459211732355638e-05,
617
+ "loss": 0.06836349368095399,
618
+ "mean_token_accuracy": 0.9751275479793549,
619
+ "num_tokens": 3464439.0,
620
+ "step": 610
621
+ },
622
+ {
623
+ "entropy": 0.07225457970052958,
624
+ "epoch": 1.6533333333333333,
625
+ "grad_norm": 0.04443359375,
626
+ "learning_rate": 9.27589367552704e-05,
627
+ "loss": 0.06948843002319335,
628
+ "mean_token_accuracy": 0.9739401176571846,
629
+ "num_tokens": 3521325.0,
630
+ "step": 620
631
+ },
632
+ {
633
+ "entropy": 0.07250613961368799,
634
+ "epoch": 1.6800000000000002,
635
+ "grad_norm": 0.04931640625,
636
+ "learning_rate": 9.092575618698442e-05,
637
+ "loss": 0.06941892504692078,
638
+ "mean_token_accuracy": 0.9748956650495529,
639
+ "num_tokens": 3577996.0,
640
+ "step": 630
641
+ },
642
+ {
643
+ "entropy": 0.0732794025912881,
644
+ "epoch": 1.7066666666666666,
645
+ "grad_norm": 0.04736328125,
646
+ "learning_rate": 8.909257561869845e-05,
647
+ "loss": 0.06896185874938965,
648
+ "mean_token_accuracy": 0.9750035509467125,
649
+ "num_tokens": 3634811.0,
650
+ "step": 640
651
+ },
652
+ {
653
+ "entropy": 0.07183574195951223,
654
+ "epoch": 1.7333333333333334,
655
+ "grad_norm": 0.0498046875,
656
+ "learning_rate": 8.725939505041248e-05,
657
+ "loss": 0.0701564073562622,
658
+ "mean_token_accuracy": 0.9742208927869797,
659
+ "num_tokens": 3691017.0,
660
+ "step": 650
661
+ },
662
+ {
663
+ "entropy": 0.07327579502016306,
664
+ "epoch": 1.76,
665
+ "grad_norm": 0.07470703125,
666
+ "learning_rate": 8.54262144821265e-05,
667
+ "loss": 0.06881371140480042,
668
+ "mean_token_accuracy": 0.9741959020495414,
669
+ "num_tokens": 3747546.0,
670
+ "step": 660
671
+ },
672
+ {
673
+ "entropy": 0.07111402666196227,
674
+ "epoch": 1.7866666666666666,
675
+ "grad_norm": 0.05712890625,
676
+ "learning_rate": 8.359303391384051e-05,
677
+ "loss": 0.06966341137886048,
678
+ "mean_token_accuracy": 0.9747162073850631,
679
+ "num_tokens": 3804126.0,
680
+ "step": 670
681
+ },
682
+ {
683
+ "entropy": 0.07224018704146147,
684
+ "epoch": 1.8133333333333335,
685
+ "grad_norm": 0.04541015625,
686
+ "learning_rate": 8.175985334555454e-05,
687
+ "loss": 0.06840948462486267,
688
+ "mean_token_accuracy": 0.9747431293129921,
689
+ "num_tokens": 3861006.0,
690
+ "step": 680
691
+ },
692
+ {
693
+ "entropy": 0.07255861330777406,
694
+ "epoch": 1.8399999999999999,
695
+ "grad_norm": 0.045654296875,
696
+ "learning_rate": 7.992667277726857e-05,
697
+ "loss": 0.06987766623497009,
698
+ "mean_token_accuracy": 0.9739771053195,
699
+ "num_tokens": 3916797.0,
700
+ "step": 690
701
+ },
702
+ {
703
+ "entropy": 0.07260533329099417,
704
+ "epoch": 1.8666666666666667,
705
+ "grad_norm": 0.048583984375,
706
+ "learning_rate": 7.809349220898258e-05,
707
+ "loss": 0.06835905909538269,
708
+ "mean_token_accuracy": 0.9750322937965393,
709
+ "num_tokens": 3973197.0,
710
+ "step": 700
711
+ },
712
+ {
713
+ "entropy": 0.0710109818726778,
714
+ "epoch": 1.8933333333333333,
715
+ "grad_norm": 0.041748046875,
716
+ "learning_rate": 7.626031164069661e-05,
717
+ "loss": 0.0677144169807434,
718
+ "mean_token_accuracy": 0.9751162648200988,
719
+ "num_tokens": 4030212.0,
720
+ "step": 710
721
+ },
722
+ {
723
+ "entropy": 0.070679662656039,
724
+ "epoch": 1.92,
725
+ "grad_norm": 0.0458984375,
726
+ "learning_rate": 7.442713107241064e-05,
727
+ "loss": 0.0661697268486023,
728
+ "mean_token_accuracy": 0.9755514889955521,
729
+ "num_tokens": 4087699.0,
730
+ "step": 720
731
+ },
732
+ {
733
+ "entropy": 0.0694987777620554,
734
+ "epoch": 1.9466666666666668,
735
+ "grad_norm": 0.115234375,
736
+ "learning_rate": 7.259395050412467e-05,
737
+ "loss": 0.06822068691253662,
738
+ "mean_token_accuracy": 0.97522524446249,
739
+ "num_tokens": 4144740.0,
740
+ "step": 730
741
+ },
742
+ {
743
+ "entropy": 0.07208629371598363,
744
+ "epoch": 1.9733333333333334,
745
+ "grad_norm": 0.04443359375,
746
+ "learning_rate": 7.076076993583868e-05,
747
+ "loss": 0.06933082938194275,
748
+ "mean_token_accuracy": 0.9743774682283401,
749
+ "num_tokens": 4201289.0,
750
+ "step": 740
751
+ },
752
+ {
753
+ "entropy": 0.07209395840764046,
754
+ "epoch": 2.0,
755
+ "grad_norm": 0.04833984375,
756
+ "learning_rate": 6.89275893675527e-05,
757
+ "loss": 0.06815703511238098,
758
+ "mean_token_accuracy": 0.974660362303257,
759
+ "num_tokens": 4257958.0,
760
+ "step": 750
761
+ },
762
+ {
763
+ "entropy": 0.07068475261330605,
764
+ "epoch": 2.026666666666667,
765
+ "grad_norm": 0.042236328125,
766
+ "learning_rate": 6.709440879926673e-05,
767
+ "loss": 0.0669311225414276,
768
+ "mean_token_accuracy": 0.9747605755925178,
769
+ "num_tokens": 4314723.0,
770
+ "step": 760
771
+ },
772
+ {
773
+ "entropy": 0.06951902080327273,
774
+ "epoch": 2.0533333333333332,
775
+ "grad_norm": 0.0419921875,
776
+ "learning_rate": 6.526122823098076e-05,
777
+ "loss": 0.0668017327785492,
778
+ "mean_token_accuracy": 0.9751198858022689,
779
+ "num_tokens": 4371457.0,
780
+ "step": 770
781
+ },
782
+ {
783
+ "entropy": 0.07024376196786761,
784
+ "epoch": 2.08,
785
+ "grad_norm": 0.047607421875,
786
+ "learning_rate": 6.342804766269478e-05,
787
+ "loss": 0.06699610352516175,
788
+ "mean_token_accuracy": 0.9748657032847404,
789
+ "num_tokens": 4427543.0,
790
+ "step": 780
791
+ },
792
+ {
793
+ "entropy": 0.06954137068241835,
794
+ "epoch": 2.1066666666666665,
795
+ "grad_norm": 0.043212890625,
796
+ "learning_rate": 6.15948670944088e-05,
797
+ "loss": 0.06581668257713318,
798
+ "mean_token_accuracy": 0.9755794301629066,
799
+ "num_tokens": 4484853.0,
800
+ "step": 790
801
+ },
802
+ {
803
+ "entropy": 0.06969003304839134,
804
+ "epoch": 2.1333333333333333,
805
+ "grad_norm": 0.05859375,
806
+ "learning_rate": 5.976168652612283e-05,
807
+ "loss": 0.06605738401412964,
808
+ "mean_token_accuracy": 0.9751082003116608,
809
+ "num_tokens": 4540895.0,
810
+ "step": 800
811
+ },
812
+ {
813
+ "entropy": 0.07048749346286058,
814
+ "epoch": 2.16,
815
+ "grad_norm": 0.04931640625,
816
+ "learning_rate": 5.792850595783685e-05,
817
+ "loss": 0.06759686470031738,
818
+ "mean_token_accuracy": 0.9748542428016662,
819
+ "num_tokens": 4597531.0,
820
+ "step": 810
821
+ },
822
+ {
823
+ "entropy": 0.0699356870725751,
824
+ "epoch": 2.1866666666666665,
825
+ "grad_norm": 0.0498046875,
826
+ "learning_rate": 5.6095325389550866e-05,
827
+ "loss": 0.06627315282821655,
828
+ "mean_token_accuracy": 0.9759758025407791,
829
+ "num_tokens": 4654517.0,
830
+ "step": 820
831
+ },
832
+ {
833
+ "entropy": 0.06981293484568596,
834
+ "epoch": 2.2133333333333334,
835
+ "grad_norm": 0.04833984375,
836
+ "learning_rate": 5.4262144821264894e-05,
837
+ "loss": 0.06639997959136963,
838
+ "mean_token_accuracy": 0.9752195671200752,
839
+ "num_tokens": 4711508.0,
840
+ "step": 830
841
+ },
842
+ {
843
+ "entropy": 0.06960875494405627,
844
+ "epoch": 2.24,
845
+ "grad_norm": 0.04736328125,
846
+ "learning_rate": 5.2428964252978916e-05,
847
+ "loss": 0.06645302176475525,
848
+ "mean_token_accuracy": 0.9757942840456962,
849
+ "num_tokens": 4768589.0,
850
+ "step": 840
851
+ },
852
+ {
853
+ "entropy": 0.06928735189139842,
854
+ "epoch": 2.2666666666666666,
855
+ "grad_norm": 0.06005859375,
856
+ "learning_rate": 5.0595783684692945e-05,
857
+ "loss": 0.06615262627601623,
858
+ "mean_token_accuracy": 0.975421866774559,
859
+ "num_tokens": 4825447.0,
860
+ "step": 850
861
+ },
862
+ {
863
+ "entropy": 0.0701323315501213,
864
+ "epoch": 2.2933333333333334,
865
+ "grad_norm": 0.043701171875,
866
+ "learning_rate": 4.876260311640697e-05,
867
+ "loss": 0.06594157218933105,
868
+ "mean_token_accuracy": 0.9752340018749237,
869
+ "num_tokens": 4882324.0,
870
+ "step": 860
871
+ },
872
+ {
873
+ "entropy": 0.06790421595796943,
874
+ "epoch": 2.32,
875
+ "grad_norm": 0.0439453125,
876
+ "learning_rate": 4.6929422548120995e-05,
877
+ "loss": 0.06551963090896606,
878
+ "mean_token_accuracy": 0.9751909494400024,
879
+ "num_tokens": 4939254.0,
880
+ "step": 870
881
+ },
882
+ {
883
+ "entropy": 0.07054078914225101,
884
+ "epoch": 2.3466666666666667,
885
+ "grad_norm": 0.051025390625,
886
+ "learning_rate": 4.509624197983501e-05,
887
+ "loss": 0.06690743565559387,
888
+ "mean_token_accuracy": 0.9751562505960465,
889
+ "num_tokens": 4995524.0,
890
+ "step": 880
891
+ },
892
+ {
893
+ "entropy": 0.06957337409257888,
894
+ "epoch": 2.3733333333333335,
895
+ "grad_norm": 0.049560546875,
896
+ "learning_rate": 4.326306141154904e-05,
897
+ "loss": 0.06609007120132446,
898
+ "mean_token_accuracy": 0.9754323452711106,
899
+ "num_tokens": 5052578.0,
900
+ "step": 890
901
+ },
902
+ {
903
+ "entropy": 0.07044977657496929,
904
+ "epoch": 2.4,
905
+ "grad_norm": 0.0517578125,
906
+ "learning_rate": 4.142988084326306e-05,
907
+ "loss": 0.06621668338775635,
908
+ "mean_token_accuracy": 0.9750386416912079,
909
+ "num_tokens": 5108922.0,
910
+ "step": 900
911
+ },
912
+ {
913
+ "entropy": 0.06792065436020493,
914
+ "epoch": 2.4266666666666667,
915
+ "grad_norm": 0.046875,
916
+ "learning_rate": 3.959670027497709e-05,
917
+ "loss": 0.06501899361610412,
918
+ "mean_token_accuracy": 0.9760412231087685,
919
+ "num_tokens": 5166394.0,
920
+ "step": 910
921
+ },
922
+ {
923
+ "entropy": 0.06912549249827862,
924
+ "epoch": 2.453333333333333,
925
+ "grad_norm": 0.046142578125,
926
+ "learning_rate": 3.776351970669111e-05,
927
+ "loss": 0.06575977206230163,
928
+ "mean_token_accuracy": 0.975604172050953,
929
+ "num_tokens": 5223123.0,
930
+ "step": 920
931
+ },
932
+ {
933
+ "entropy": 0.06817780192941428,
934
+ "epoch": 2.48,
935
+ "grad_norm": 0.0439453125,
936
+ "learning_rate": 3.593033913840513e-05,
937
+ "loss": 0.06491979956626892,
938
+ "mean_token_accuracy": 0.9758375898003578,
939
+ "num_tokens": 5280867.0,
940
+ "step": 930
941
+ },
942
+ {
943
+ "entropy": 0.06880640015006065,
944
+ "epoch": 2.506666666666667,
945
+ "grad_norm": 0.050048828125,
946
+ "learning_rate": 3.409715857011916e-05,
947
+ "loss": 0.0658724844455719,
948
+ "mean_token_accuracy": 0.9759016156196594,
949
+ "num_tokens": 5337629.0,
950
+ "step": 940
951
+ },
952
+ {
953
+ "entropy": 0.06923360927030445,
954
+ "epoch": 2.533333333333333,
955
+ "grad_norm": 0.055908203125,
956
+ "learning_rate": 3.2263978001833184e-05,
957
+ "loss": 0.06607494950294494,
958
+ "mean_token_accuracy": 0.9753221690654754,
959
+ "num_tokens": 5394318.0,
960
+ "step": 950
961
+ },
962
+ {
963
+ "entropy": 0.06904373681172729,
964
+ "epoch": 2.56,
965
+ "grad_norm": 0.04541015625,
966
+ "learning_rate": 3.0430797433547202e-05,
967
+ "loss": 0.06557352542877197,
968
+ "mean_token_accuracy": 0.9759575456380845,
969
+ "num_tokens": 5450413.0,
970
+ "step": 960
971
+ },
972
+ {
973
+ "entropy": 0.06914114560931921,
974
+ "epoch": 2.586666666666667,
975
+ "grad_norm": 0.046875,
976
+ "learning_rate": 2.8597616865261228e-05,
977
+ "loss": 0.06594338417053222,
978
+ "mean_token_accuracy": 0.9751049831509591,
979
+ "num_tokens": 5507306.0,
980
+ "step": 970
981
+ },
982
+ {
983
+ "entropy": 0.0688713699579239,
984
+ "epoch": 2.6133333333333333,
985
+ "grad_norm": 0.052001953125,
986
+ "learning_rate": 2.6764436296975253e-05,
987
+ "loss": 0.06489255428314208,
988
+ "mean_token_accuracy": 0.9756928265094758,
989
+ "num_tokens": 5564241.0,
990
+ "step": 980
991
+ },
992
+ {
993
+ "entropy": 0.0688857214525342,
994
+ "epoch": 2.64,
995
+ "grad_norm": 0.053466796875,
996
+ "learning_rate": 2.4931255728689275e-05,
997
+ "loss": 0.06557077169418335,
998
+ "mean_token_accuracy": 0.9758043006062508,
999
+ "num_tokens": 5620870.0,
1000
+ "step": 990
1001
+ },
1002
+ {
1003
+ "entropy": 0.06913622673600912,
1004
+ "epoch": 2.6666666666666665,
1005
+ "grad_norm": 0.060302734375,
1006
+ "learning_rate": 2.30980751604033e-05,
1007
+ "loss": 0.06396430134773254,
1008
+ "mean_token_accuracy": 0.9762534514069557,
1009
+ "num_tokens": 5677975.0,
1010
+ "step": 1000
1011
+ }
1012
+ ],
1013
+ "logging_steps": 10,
1014
+ "max_steps": 1125,
1015
+ "num_input_tokens_seen": 0,
1016
+ "num_train_epochs": 3,
1017
+ "save_steps": 500,
1018
+ "stateful_callbacks": {
1019
+ "TrainerControl": {
1020
+ "args": {
1021
+ "should_epoch_stop": false,
1022
+ "should_evaluate": false,
1023
+ "should_log": false,
1024
+ "should_save": true,
1025
+ "should_training_stop": false
1026
+ },
1027
+ "attributes": {}
1028
+ }
1029
+ },
1030
+ "total_flos": 2.647683611123712e+17,
1031
+ "train_batch_size": 2,
1032
+ "trial_name": null,
1033
+ "trial_params": null
1034
+ }
newton/checkpoint-1000/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8755273dccefb3d7fa41448d64a8c28d76451700a997d4cbd5f7ac202a091f77
3
+ size 5585
newton/checkpoint-1125/README.md ADDED
@@ -0,0 +1,209 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: meta-llama/Llama-3.1-8B-Instruct
3
+ library_name: peft
4
+ pipeline_tag: text-generation
5
+ tags:
6
+ - base_model:adapter:meta-llama/Llama-3.1-8B-Instruct
7
+ - lora
8
+ - sft
9
+ - transformers
10
+ - trl
11
+ ---
12
+
13
+ # Model Card for Model ID
14
+
15
+ <!-- Provide a quick summary of what the model is/does. -->
16
+
17
+
18
+
19
+ ## Model Details
20
+
21
+ ### Model Description
22
+
23
+ <!-- Provide a longer summary of what this model is. -->
24
+
25
+
26
+
27
+ - **Developed by:** [More Information Needed]
28
+ - **Funded by [optional]:** [More Information Needed]
29
+ - **Shared by [optional]:** [More Information Needed]
30
+ - **Model type:** [More Information Needed]
31
+ - **Language(s) (NLP):** [More Information Needed]
32
+ - **License:** [More Information Needed]
33
+ - **Finetuned from model [optional]:** [More Information Needed]
34
+
35
+ ### Model Sources [optional]
36
+
37
+ <!-- Provide the basic links for the model. -->
38
+
39
+ - **Repository:** [More Information Needed]
40
+ - **Paper [optional]:** [More Information Needed]
41
+ - **Demo [optional]:** [More Information Needed]
42
+
43
+ ## Uses
44
+
45
+ <!-- Address questions around how the model is intended to be used, including the foreseeable users of the model and those affected by the model. -->
46
+
47
+ ### Direct Use
48
+
49
+ <!-- This section is for the model use without fine-tuning or plugging into a larger ecosystem/app. -->
50
+
51
+ [More Information Needed]
52
+
53
+ ### Downstream Use [optional]
54
+
55
+ <!-- This section is for the model use when fine-tuned for a task, or when plugged into a larger ecosystem/app -->
56
+
57
+ [More Information Needed]
58
+
59
+ ### Out-of-Scope Use
60
+
61
+ <!-- This section addresses misuse, malicious use, and uses that the model will not work well for. -->
62
+
63
+ [More Information Needed]
64
+
65
+ ## Bias, Risks, and Limitations
66
+
67
+ <!-- This section is meant to convey both technical and sociotechnical limitations. -->
68
+
69
+ [More Information Needed]
70
+
71
+ ### Recommendations
72
+
73
+ <!-- This section is meant to convey recommendations with respect to the bias, risk, and technical limitations. -->
74
+
75
+ Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. More information needed for further recommendations.
76
+
77
+ ## How to Get Started with the Model
78
+
79
+ Use the code below to get started with the model.
80
+
81
+ [More Information Needed]
82
+
83
+ ## Training Details
84
+
85
+ ### Training Data
86
+
87
+ <!-- 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. -->
88
+
89
+ [More Information Needed]
90
+
91
+ ### Training Procedure
92
+
93
+ <!-- This relates heavily to the Technical Specifications. Content here should link to that section when it is relevant to the training procedure. -->
94
+
95
+ #### Preprocessing [optional]
96
+
97
+ [More Information Needed]
98
+
99
+
100
+ #### Training Hyperparameters
101
+
102
+ - **Training regime:** [More Information Needed] <!--fp32, fp16 mixed precision, bf16 mixed precision, bf16 non-mixed precision, fp16 non-mixed precision, fp8 mixed precision -->
103
+
104
+ #### Speeds, Sizes, Times [optional]
105
+
106
+ <!-- This section provides information about throughput, start/end time, checkpoint size if relevant, etc. -->
107
+
108
+ [More Information Needed]
109
+
110
+ ## Evaluation
111
+
112
+ <!-- This section describes the evaluation protocols and provides the results. -->
113
+
114
+ ### Testing Data, Factors & Metrics
115
+
116
+ #### Testing Data
117
+
118
+ <!-- This should link to a Dataset Card if possible. -->
119
+
120
+ [More Information Needed]
121
+
122
+ #### Factors
123
+
124
+ <!-- These are the things the evaluation is disaggregating by, e.g., subpopulations or domains. -->
125
+
126
+ [More Information Needed]
127
+
128
+ #### Metrics
129
+
130
+ <!-- These are the evaluation metrics being used, ideally with a description of why. -->
131
+
132
+ [More Information Needed]
133
+
134
+ ### Results
135
+
136
+ [More Information Needed]
137
+
138
+ #### Summary
139
+
140
+
141
+
142
+ ## Model Examination [optional]
143
+
144
+ <!-- Relevant interpretability work for the model goes here -->
145
+
146
+ [More Information Needed]
147
+
148
+ ## Environmental Impact
149
+
150
+ <!-- Total emissions (in grams of CO2eq) and additional considerations, such as electricity usage, go here. Edit the suggested text below accordingly -->
151
+
152
+ 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).
153
+
154
+ - **Hardware Type:** [More Information Needed]
155
+ - **Hours used:** [More Information Needed]
156
+ - **Cloud Provider:** [More Information Needed]
157
+ - **Compute Region:** [More Information Needed]
158
+ - **Carbon Emitted:** [More Information Needed]
159
+
160
+ ## Technical Specifications [optional]
161
+
162
+ ### Model Architecture and Objective
163
+
164
+ [More Information Needed]
165
+
166
+ ### Compute Infrastructure
167
+
168
+ [More Information Needed]
169
+
170
+ #### Hardware
171
+
172
+ [More Information Needed]
173
+
174
+ #### Software
175
+
176
+ [More Information Needed]
177
+
178
+ ## Citation [optional]
179
+
180
+ <!-- If there is a paper or blog post introducing the model, the APA and Bibtex information for that should go in this section. -->
181
+
182
+ **BibTeX:**
183
+
184
+ [More Information Needed]
185
+
186
+ **APA:**
187
+
188
+ [More Information Needed]
189
+
190
+ ## Glossary [optional]
191
+
192
+ <!-- If relevant, include terms and calculations in this section that can help readers understand the model or model card. -->
193
+
194
+ [More Information Needed]
195
+
196
+ ## More Information [optional]
197
+
198
+ [More Information Needed]
199
+
200
+ ## Model Card Authors [optional]
201
+
202
+ [More Information Needed]
203
+
204
+ ## Model Card Contact
205
+
206
+ [More Information Needed]
207
+ ### Framework versions
208
+
209
+ - PEFT 0.18.1
newton/checkpoint-1125/adapter_config.json ADDED
@@ -0,0 +1,43 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "alora_invocation_tokens": null,
3
+ "alpha_pattern": {},
4
+ "arrow_config": null,
5
+ "auto_mapping": null,
6
+ "base_model_name_or_path": "meta-llama/Llama-3.1-8B-Instruct",
7
+ "bias": "none",
8
+ "corda_config": null,
9
+ "ensure_weight_tying": false,
10
+ "eva_config": null,
11
+ "exclude_modules": null,
12
+ "fan_in_fan_out": false,
13
+ "inference_mode": true,
14
+ "init_lora_weights": true,
15
+ "layer_replication": null,
16
+ "layers_pattern": null,
17
+ "layers_to_transform": null,
18
+ "loftq_config": {},
19
+ "lora_alpha": 32,
20
+ "lora_bias": false,
21
+ "lora_dropout": 0.05,
22
+ "megatron_config": null,
23
+ "megatron_core": "megatron.core",
24
+ "modules_to_save": null,
25
+ "peft_type": "LORA",
26
+ "peft_version": "0.18.1",
27
+ "qalora_group_size": 16,
28
+ "r": 16,
29
+ "rank_pattern": {},
30
+ "revision": null,
31
+ "target_modules": [
32
+ "q_proj",
33
+ "o_proj",
34
+ "k_proj",
35
+ "v_proj"
36
+ ],
37
+ "target_parameters": null,
38
+ "task_type": "CAUSAL_LM",
39
+ "trainable_token_indices": null,
40
+ "use_dora": false,
41
+ "use_qalora": false,
42
+ "use_rslora": false
43
+ }
newton/checkpoint-1125/adapter_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:323635297b5e0c773a26c4451697f85a4ff3020e8864a138ba799a14da2627a2
3
+ size 27297544
newton/checkpoint-1125/chat_template.jinja ADDED
@@ -0,0 +1,109 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {{- bos_token }}
2
+ {%- if custom_tools is defined %}
3
+ {%- set tools = custom_tools %}
4
+ {%- endif %}
5
+ {%- if not tools_in_user_message is defined %}
6
+ {%- set tools_in_user_message = true %}
7
+ {%- endif %}
8
+ {%- if not date_string is defined %}
9
+ {%- set date_string = "26 Jul 2024" %}
10
+ {%- endif %}
11
+ {%- if not tools is defined %}
12
+ {%- set tools = none %}
13
+ {%- endif %}
14
+
15
+ {#- This block extracts the system message, so we can slot it into the right place. #}
16
+ {%- if messages[0]['role'] == 'system' %}
17
+ {%- set system_message = messages[0]['content']|trim %}
18
+ {%- set messages = messages[1:] %}
19
+ {%- else %}
20
+ {%- set system_message = "" %}
21
+ {%- endif %}
22
+
23
+ {#- System message + builtin tools #}
24
+ {{- "<|start_header_id|>system<|end_header_id|>\n\n" }}
25
+ {%- if builtin_tools is defined or tools is not none %}
26
+ {{- "Environment: ipython\n" }}
27
+ {%- endif %}
28
+ {%- if builtin_tools is defined %}
29
+ {{- "Tools: " + builtin_tools | reject('equalto', 'code_interpreter') | join(", ") + "\n\n"}}
30
+ {%- endif %}
31
+ {{- "Cutting Knowledge Date: December 2023\n" }}
32
+ {{- "Today Date: " + date_string + "\n\n" }}
33
+ {%- if tools is not none and not tools_in_user_message %}
34
+ {{- "You have access to the following functions. To call a function, please respond with JSON for a function call." }}
35
+ {{- 'Respond in the format {"name": function name, "parameters": dictionary of argument name and its value}.' }}
36
+ {{- "Do not use variables.\n\n" }}
37
+ {%- for t in tools %}
38
+ {{- t | tojson(indent=4) }}
39
+ {{- "\n\n" }}
40
+ {%- endfor %}
41
+ {%- endif %}
42
+ {{- system_message }}
43
+ {{- "<|eot_id|>" }}
44
+
45
+ {#- Custom tools are passed in a user message with some extra guidance #}
46
+ {%- if tools_in_user_message and not tools is none %}
47
+ {#- Extract the first user message so we can plug it in here #}
48
+ {%- if messages | length != 0 %}
49
+ {%- set first_user_message = messages[0]['content']|trim %}
50
+ {%- set messages = messages[1:] %}
51
+ {%- else %}
52
+ {{- raise_exception("Cannot put tools in the first user message when there's no first user message!") }}
53
+ {%- endif %}
54
+ {{- '<|start_header_id|>user<|end_header_id|>\n\n' -}}
55
+ {{- "Given the following functions, please respond with a JSON for a function call " }}
56
+ {{- "with its proper arguments that best answers the given prompt.\n\n" }}
57
+ {{- 'Respond in the format {"name": function name, "parameters": dictionary of argument name and its value}.' }}
58
+ {{- "Do not use variables.\n\n" }}
59
+ {%- for t in tools %}
60
+ {{- t | tojson(indent=4) }}
61
+ {{- "\n\n" }}
62
+ {%- endfor %}
63
+ {{- first_user_message + "<|eot_id|>"}}
64
+ {%- endif %}
65
+
66
+ {%- for message in messages %}
67
+ {%- if not (message.role == 'ipython' or message.role == 'tool' or 'tool_calls' in message) %}
68
+ {{- '<|start_header_id|>' + message['role'] + '<|end_header_id|>\n\n'+ message['content'] | trim + '<|eot_id|>' }}
69
+ {%- elif 'tool_calls' in message %}
70
+ {%- if not message.tool_calls|length == 1 %}
71
+ {{- raise_exception("This model only supports single tool-calls at once!") }}
72
+ {%- endif %}
73
+ {%- set tool_call = message.tool_calls[0].function %}
74
+ {%- if builtin_tools is defined and tool_call.name in builtin_tools %}
75
+ {{- '<|start_header_id|>assistant<|end_header_id|>\n\n' -}}
76
+ {{- "<|python_tag|>" + tool_call.name + ".call(" }}
77
+ {%- for arg_name, arg_val in tool_call.arguments | items %}
78
+ {{- arg_name + '="' + arg_val + '"' }}
79
+ {%- if not loop.last %}
80
+ {{- ", " }}
81
+ {%- endif %}
82
+ {%- endfor %}
83
+ {{- ")" }}
84
+ {%- else %}
85
+ {{- '<|start_header_id|>assistant<|end_header_id|>\n\n' -}}
86
+ {{- '{"name": "' + tool_call.name + '", ' }}
87
+ {{- '"parameters": ' }}
88
+ {{- tool_call.arguments | tojson }}
89
+ {{- "}" }}
90
+ {%- endif %}
91
+ {%- if builtin_tools is defined %}
92
+ {#- This means we're in ipython mode #}
93
+ {{- "<|eom_id|>" }}
94
+ {%- else %}
95
+ {{- "<|eot_id|>" }}
96
+ {%- endif %}
97
+ {%- elif message.role == "tool" or message.role == "ipython" %}
98
+ {{- "<|start_header_id|>ipython<|end_header_id|>\n\n" }}
99
+ {%- if message.content is mapping or message.content is iterable %}
100
+ {{- message.content | tojson }}
101
+ {%- else %}
102
+ {{- message.content }}
103
+ {%- endif %}
104
+ {{- "<|eot_id|>" }}
105
+ {%- endif %}
106
+ {%- endfor %}
107
+ {%- if add_generation_prompt %}
108
+ {{- '<|start_header_id|>assistant<|end_header_id|>\n\n' }}
109
+ {%- endif %}
newton/checkpoint-1125/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0613cd7692608d4f46da8fb85a3e7b638bf5c9637f9cfc5d1454e781d35e5997
3
+ size 54745547
newton/checkpoint-1125/rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c207979b56e7df5b5e151c53b37e511fa7122539c6e7e5570ee51af2a0968967
3
+ size 14645
newton/checkpoint-1125/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cb2a37c55dd5d7928c5b2c15b7d4f650fade3ddb7af6dc8961ca05874b789488
3
+ size 1465
newton/checkpoint-1125/tokenizer.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6b9e4e7fb171f92fd137b777cc2714bf87d11576700a1dcd7a399e7bbe39537b
3
+ size 17209920
newton/checkpoint-1125/tokenizer_config.json ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "backend": "tokenizers",
3
+ "bos_token": "<|begin_of_text|>",
4
+ "clean_up_tokenization_spaces": true,
5
+ "eos_token": "<|eot_id|>",
6
+ "is_local": false,
7
+ "model_input_names": [
8
+ "input_ids",
9
+ "attention_mask"
10
+ ],
11
+ "model_max_length": 131072,
12
+ "pad_token": "<|eot_id|>",
13
+ "tokenizer_class": "TokenizersBackend"
14
+ }
newton/checkpoint-1125/trainer_state.json ADDED
@@ -0,0 +1,1154 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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": 1125,
8
+ "is_hyper_param_search": false,
9
+ "is_local_process_zero": true,
10
+ "is_world_process_zero": true,
11
+ "log_history": [
12
+ {
13
+ "entropy": 2.6570239067077637,
14
+ "epoch": 0.02666666666666667,
15
+ "grad_norm": 0.287109375,
16
+ "learning_rate": 5.294117647058824e-05,
17
+ "loss": 2.800247573852539,
18
+ "mean_token_accuracy": 0.4749053567647934,
19
+ "num_tokens": 56906.0,
20
+ "step": 10
21
+ },
22
+ {
23
+ "entropy": 2.2495410323143004,
24
+ "epoch": 0.05333333333333334,
25
+ "grad_norm": 0.265625,
26
+ "learning_rate": 0.00011176470588235294,
27
+ "loss": 2.4327199935913084,
28
+ "mean_token_accuracy": 0.5111239477992058,
29
+ "num_tokens": 113827.0,
30
+ "step": 20
31
+ },
32
+ {
33
+ "entropy": 1.8682004392147065,
34
+ "epoch": 0.08,
35
+ "grad_norm": 0.306640625,
36
+ "learning_rate": 0.00017058823529411766,
37
+ "loss": 1.789840316772461,
38
+ "mean_token_accuracy": 0.599884121119976,
39
+ "num_tokens": 170403.0,
40
+ "step": 30
41
+ },
42
+ {
43
+ "entropy": 1.2546741724014283,
44
+ "epoch": 0.10666666666666667,
45
+ "grad_norm": 0.306640625,
46
+ "learning_rate": 0.00019908340971585702,
47
+ "loss": 1.2151795387268067,
48
+ "mean_token_accuracy": 0.7106126025319099,
49
+ "num_tokens": 227456.0,
50
+ "step": 40
51
+ },
52
+ {
53
+ "entropy": 0.8836664661765099,
54
+ "epoch": 0.13333333333333333,
55
+ "grad_norm": 0.28515625,
56
+ "learning_rate": 0.00019725022914757106,
57
+ "loss": 0.8311976432800293,
58
+ "mean_token_accuracy": 0.7977700293064117,
59
+ "num_tokens": 284368.0,
60
+ "step": 50
61
+ },
62
+ {
63
+ "entropy": 0.6855858579277992,
64
+ "epoch": 0.16,
65
+ "grad_norm": 0.314453125,
66
+ "learning_rate": 0.00019541704857928507,
67
+ "loss": 0.6242359638214111,
68
+ "mean_token_accuracy": 0.847702169418335,
69
+ "num_tokens": 341357.0,
70
+ "step": 60
71
+ },
72
+ {
73
+ "entropy": 0.4690785683691502,
74
+ "epoch": 0.18666666666666668,
75
+ "grad_norm": 0.248046875,
76
+ "learning_rate": 0.00019358386801099912,
77
+ "loss": 0.40251870155334474,
78
+ "mean_token_accuracy": 0.9024116918444633,
79
+ "num_tokens": 398280.0,
80
+ "step": 70
81
+ },
82
+ {
83
+ "entropy": 0.34345744624733926,
84
+ "epoch": 0.21333333333333335,
85
+ "grad_norm": 0.27734375,
86
+ "learning_rate": 0.0001917506874427131,
87
+ "loss": 0.28333656787872313,
88
+ "mean_token_accuracy": 0.9320006996393204,
89
+ "num_tokens": 455232.0,
90
+ "step": 80
91
+ },
92
+ {
93
+ "entropy": 0.25451925955712795,
94
+ "epoch": 0.24,
95
+ "grad_norm": 0.208984375,
96
+ "learning_rate": 0.00018991750687442712,
97
+ "loss": 0.21085577011108397,
98
+ "mean_token_accuracy": 0.949009683728218,
99
+ "num_tokens": 511782.0,
100
+ "step": 90
101
+ },
102
+ {
103
+ "entropy": 0.19814539551734925,
104
+ "epoch": 0.26666666666666666,
105
+ "grad_norm": 0.296875,
106
+ "learning_rate": 0.00018808432630614116,
107
+ "loss": 0.1717105984687805,
108
+ "mean_token_accuracy": 0.9577329605817795,
109
+ "num_tokens": 568641.0,
110
+ "step": 100
111
+ },
112
+ {
113
+ "entropy": 0.18550167009234428,
114
+ "epoch": 0.29333333333333333,
115
+ "grad_norm": 0.21875,
116
+ "learning_rate": 0.00018625114573785518,
117
+ "loss": 0.15982584953308104,
118
+ "mean_token_accuracy": 0.9591923207044601,
119
+ "num_tokens": 626038.0,
120
+ "step": 110
121
+ },
122
+ {
123
+ "entropy": 0.16009770445525645,
124
+ "epoch": 0.32,
125
+ "grad_norm": 0.2109375,
126
+ "learning_rate": 0.00018441796516956922,
127
+ "loss": 0.12815338373184204,
128
+ "mean_token_accuracy": 0.9657398357987403,
129
+ "num_tokens": 682880.0,
130
+ "step": 120
131
+ },
132
+ {
133
+ "entropy": 0.14740683771669866,
134
+ "epoch": 0.3466666666666667,
135
+ "grad_norm": 0.2431640625,
136
+ "learning_rate": 0.00018258478460128323,
137
+ "loss": 0.1188442587852478,
138
+ "mean_token_accuracy": 0.9664651393890381,
139
+ "num_tokens": 739719.0,
140
+ "step": 130
141
+ },
142
+ {
143
+ "entropy": 0.13307180535048246,
144
+ "epoch": 0.37333333333333335,
145
+ "grad_norm": 0.1474609375,
146
+ "learning_rate": 0.00018075160403299728,
147
+ "loss": 0.11054203510284424,
148
+ "mean_token_accuracy": 0.9669812738895416,
149
+ "num_tokens": 795894.0,
150
+ "step": 140
151
+ },
152
+ {
153
+ "entropy": 0.12216594349592924,
154
+ "epoch": 0.4,
155
+ "grad_norm": 0.1240234375,
156
+ "learning_rate": 0.0001789184234647113,
157
+ "loss": 0.10401068925857544,
158
+ "mean_token_accuracy": 0.9683825269341468,
159
+ "num_tokens": 852124.0,
160
+ "step": 150
161
+ },
162
+ {
163
+ "entropy": 0.11619068495929241,
164
+ "epoch": 0.4266666666666667,
165
+ "grad_norm": 0.12060546875,
166
+ "learning_rate": 0.0001770852428964253,
167
+ "loss": 0.0976063370704651,
168
+ "mean_token_accuracy": 0.9695558726787568,
169
+ "num_tokens": 909328.0,
170
+ "step": 160
171
+ },
172
+ {
173
+ "entropy": 0.10669020470231771,
174
+ "epoch": 0.4533333333333333,
175
+ "grad_norm": 0.1279296875,
176
+ "learning_rate": 0.00017525206232813932,
177
+ "loss": 0.09338906407356262,
178
+ "mean_token_accuracy": 0.970247569680214,
179
+ "num_tokens": 966577.0,
180
+ "step": 170
181
+ },
182
+ {
183
+ "entropy": 0.10276608634740114,
184
+ "epoch": 0.48,
185
+ "grad_norm": 0.115234375,
186
+ "learning_rate": 0.00017341888175985334,
187
+ "loss": 0.09135337471961975,
188
+ "mean_token_accuracy": 0.9711026951670647,
189
+ "num_tokens": 1022961.0,
190
+ "step": 180
191
+ },
192
+ {
193
+ "entropy": 0.10297673251479864,
194
+ "epoch": 0.5066666666666667,
195
+ "grad_norm": 0.11474609375,
196
+ "learning_rate": 0.00017158570119156738,
197
+ "loss": 0.08887208104133607,
198
+ "mean_token_accuracy": 0.9709939315915108,
199
+ "num_tokens": 1079479.0,
200
+ "step": 190
201
+ },
202
+ {
203
+ "entropy": 0.09722564350813627,
204
+ "epoch": 0.5333333333333333,
205
+ "grad_norm": 0.1044921875,
206
+ "learning_rate": 0.0001697525206232814,
207
+ "loss": 0.08848196864128113,
208
+ "mean_token_accuracy": 0.9712936446070671,
209
+ "num_tokens": 1135784.0,
210
+ "step": 200
211
+ },
212
+ {
213
+ "entropy": 0.09498227294534445,
214
+ "epoch": 0.56,
215
+ "grad_norm": 0.2236328125,
216
+ "learning_rate": 0.00016791934005499544,
217
+ "loss": 0.08531092405319214,
218
+ "mean_token_accuracy": 0.9717509031295777,
219
+ "num_tokens": 1192723.0,
220
+ "step": 210
221
+ },
222
+ {
223
+ "entropy": 0.09660841915756464,
224
+ "epoch": 0.5866666666666667,
225
+ "grad_norm": 0.154296875,
226
+ "learning_rate": 0.00016608615948670945,
227
+ "loss": 0.08432384729385375,
228
+ "mean_token_accuracy": 0.9723995119333267,
229
+ "num_tokens": 1248974.0,
230
+ "step": 220
231
+ },
232
+ {
233
+ "entropy": 0.09139632768929004,
234
+ "epoch": 0.6133333333333333,
235
+ "grad_norm": 0.08203125,
236
+ "learning_rate": 0.0001642529789184235,
237
+ "loss": 0.08340675234794617,
238
+ "mean_token_accuracy": 0.9725200146436691,
239
+ "num_tokens": 1306125.0,
240
+ "step": 230
241
+ },
242
+ {
243
+ "entropy": 0.09041857812553644,
244
+ "epoch": 0.64,
245
+ "grad_norm": 0.0751953125,
246
+ "learning_rate": 0.0001624197983501375,
247
+ "loss": 0.08240053057670593,
248
+ "mean_token_accuracy": 0.9727400034666062,
249
+ "num_tokens": 1362509.0,
250
+ "step": 240
251
+ },
252
+ {
253
+ "entropy": 0.08917351886630058,
254
+ "epoch": 0.6666666666666666,
255
+ "grad_norm": 0.11181640625,
256
+ "learning_rate": 0.00016058661778185152,
257
+ "loss": 0.08038315176963806,
258
+ "mean_token_accuracy": 0.9722966447472572,
259
+ "num_tokens": 1419155.0,
260
+ "step": 250
261
+ },
262
+ {
263
+ "entropy": 0.08846015091985464,
264
+ "epoch": 0.6933333333333334,
265
+ "grad_norm": 0.07421875,
266
+ "learning_rate": 0.00015875343721356554,
267
+ "loss": 0.08111950755119324,
268
+ "mean_token_accuracy": 0.9725704893469811,
269
+ "num_tokens": 1475233.0,
270
+ "step": 260
271
+ },
272
+ {
273
+ "entropy": 0.08615751322358847,
274
+ "epoch": 0.72,
275
+ "grad_norm": 0.103515625,
276
+ "learning_rate": 0.00015692025664527955,
277
+ "loss": 0.07856618165969849,
278
+ "mean_token_accuracy": 0.9734801158308983,
279
+ "num_tokens": 1531666.0,
280
+ "step": 270
281
+ },
282
+ {
283
+ "entropy": 0.08350808713585138,
284
+ "epoch": 0.7466666666666667,
285
+ "grad_norm": 0.0869140625,
286
+ "learning_rate": 0.0001550870760769936,
287
+ "loss": 0.07699183821678161,
288
+ "mean_token_accuracy": 0.9737285181879998,
289
+ "num_tokens": 1588686.0,
290
+ "step": 280
291
+ },
292
+ {
293
+ "entropy": 0.08553262427449226,
294
+ "epoch": 0.7733333333333333,
295
+ "grad_norm": 0.140625,
296
+ "learning_rate": 0.0001532538955087076,
297
+ "loss": 0.07849866151809692,
298
+ "mean_token_accuracy": 0.9727597609162331,
299
+ "num_tokens": 1645610.0,
300
+ "step": 290
301
+ },
302
+ {
303
+ "entropy": 0.08688175324350596,
304
+ "epoch": 0.8,
305
+ "grad_norm": 0.1318359375,
306
+ "learning_rate": 0.00015142071494042165,
307
+ "loss": 0.0791881263256073,
308
+ "mean_token_accuracy": 0.9728336438536644,
309
+ "num_tokens": 1702234.0,
310
+ "step": 300
311
+ },
312
+ {
313
+ "entropy": 0.08647099416702986,
314
+ "epoch": 0.8266666666666667,
315
+ "grad_norm": 0.076171875,
316
+ "learning_rate": 0.00014958753437213567,
317
+ "loss": 0.07916317582130432,
318
+ "mean_token_accuracy": 0.9720797210931778,
319
+ "num_tokens": 1758523.0,
320
+ "step": 310
321
+ },
322
+ {
323
+ "entropy": 0.08278416823595762,
324
+ "epoch": 0.8533333333333334,
325
+ "grad_norm": 0.076171875,
326
+ "learning_rate": 0.00014775435380384968,
327
+ "loss": 0.07689375281333924,
328
+ "mean_token_accuracy": 0.9735667318105697,
329
+ "num_tokens": 1815080.0,
330
+ "step": 320
331
+ },
332
+ {
333
+ "entropy": 0.08433555215597152,
334
+ "epoch": 0.88,
335
+ "grad_norm": 0.0888671875,
336
+ "learning_rate": 0.00014592117323556373,
337
+ "loss": 0.07733245491981507,
338
+ "mean_token_accuracy": 0.973043854534626,
339
+ "num_tokens": 1872283.0,
340
+ "step": 330
341
+ },
342
+ {
343
+ "entropy": 0.0831523710861802,
344
+ "epoch": 0.9066666666666666,
345
+ "grad_norm": 0.185546875,
346
+ "learning_rate": 0.00014408799266727771,
347
+ "loss": 0.07743646502494812,
348
+ "mean_token_accuracy": 0.9724773317575455,
349
+ "num_tokens": 1929120.0,
350
+ "step": 340
351
+ },
352
+ {
353
+ "entropy": 0.08173599634319544,
354
+ "epoch": 0.9333333333333333,
355
+ "grad_norm": 0.08447265625,
356
+ "learning_rate": 0.00014225481209899176,
357
+ "loss": 0.07464101910591125,
358
+ "mean_token_accuracy": 0.9732464775443077,
359
+ "num_tokens": 1986433.0,
360
+ "step": 350
361
+ },
362
+ {
363
+ "entropy": 0.08154450561851263,
364
+ "epoch": 0.96,
365
+ "grad_norm": 0.197265625,
366
+ "learning_rate": 0.00014042163153070577,
367
+ "loss": 0.07836683988571166,
368
+ "mean_token_accuracy": 0.9733009964227677,
369
+ "num_tokens": 2043465.0,
370
+ "step": 360
371
+ },
372
+ {
373
+ "entropy": 0.08830973766744137,
374
+ "epoch": 0.9866666666666667,
375
+ "grad_norm": 0.0634765625,
376
+ "learning_rate": 0.0001385884509624198,
377
+ "loss": 0.07805899381637574,
378
+ "mean_token_accuracy": 0.9734541475772858,
379
+ "num_tokens": 2100933.0,
380
+ "step": 370
381
+ },
382
+ {
383
+ "entropy": 0.08108338043093681,
384
+ "epoch": 1.0133333333333334,
385
+ "grad_norm": 0.05859375,
386
+ "learning_rate": 0.00013675527039413383,
387
+ "loss": 0.07582586407661437,
388
+ "mean_token_accuracy": 0.9734946370124817,
389
+ "num_tokens": 2157057.0,
390
+ "step": 380
391
+ },
392
+ {
393
+ "entropy": 0.0781314555555582,
394
+ "epoch": 1.04,
395
+ "grad_norm": 0.05078125,
396
+ "learning_rate": 0.00013492208982584784,
397
+ "loss": 0.0714304804801941,
398
+ "mean_token_accuracy": 0.975023752450943,
399
+ "num_tokens": 2214085.0,
400
+ "step": 390
401
+ },
402
+ {
403
+ "entropy": 0.07955040819942952,
404
+ "epoch": 1.0666666666666667,
405
+ "grad_norm": 0.08984375,
406
+ "learning_rate": 0.00013308890925756189,
407
+ "loss": 0.07331350445747375,
408
+ "mean_token_accuracy": 0.9737342849373818,
409
+ "num_tokens": 2270765.0,
410
+ "step": 400
411
+ },
412
+ {
413
+ "entropy": 0.07677881456911564,
414
+ "epoch": 1.0933333333333333,
415
+ "grad_norm": 0.07177734375,
416
+ "learning_rate": 0.0001312557286892759,
417
+ "loss": 0.07168130278587341,
418
+ "mean_token_accuracy": 0.9739445611834526,
419
+ "num_tokens": 2327512.0,
420
+ "step": 410
421
+ },
422
+ {
423
+ "entropy": 0.07667716387659311,
424
+ "epoch": 1.12,
425
+ "grad_norm": 0.0771484375,
426
+ "learning_rate": 0.00012942254812098992,
427
+ "loss": 0.07219807505607605,
428
+ "mean_token_accuracy": 0.9742562755942344,
429
+ "num_tokens": 2384423.0,
430
+ "step": 420
431
+ },
432
+ {
433
+ "entropy": 0.07681187009438872,
434
+ "epoch": 1.1466666666666667,
435
+ "grad_norm": 0.0615234375,
436
+ "learning_rate": 0.00012758936755270393,
437
+ "loss": 0.07280588746070862,
438
+ "mean_token_accuracy": 0.9735747814178467,
439
+ "num_tokens": 2441102.0,
440
+ "step": 430
441
+ },
442
+ {
443
+ "entropy": 0.07602620646357536,
444
+ "epoch": 1.1733333333333333,
445
+ "grad_norm": 0.06982421875,
446
+ "learning_rate": 0.00012575618698441797,
447
+ "loss": 0.07293958067893982,
448
+ "mean_token_accuracy": 0.9740705206990242,
449
+ "num_tokens": 2497642.0,
450
+ "step": 440
451
+ },
452
+ {
453
+ "entropy": 0.07798876240849495,
454
+ "epoch": 1.2,
455
+ "grad_norm": 0.07421875,
456
+ "learning_rate": 0.000123923006416132,
457
+ "loss": 0.07215467095375061,
458
+ "mean_token_accuracy": 0.9742186814546585,
459
+ "num_tokens": 2554273.0,
460
+ "step": 450
461
+ },
462
+ {
463
+ "entropy": 0.07671927772462368,
464
+ "epoch": 1.2266666666666666,
465
+ "grad_norm": 0.05029296875,
466
+ "learning_rate": 0.00012208982584784603,
467
+ "loss": 0.07254356741905213,
468
+ "mean_token_accuracy": 0.9733539551496506,
469
+ "num_tokens": 2610932.0,
470
+ "step": 460
471
+ },
472
+ {
473
+ "entropy": 0.07502734698355198,
474
+ "epoch": 1.2533333333333334,
475
+ "grad_norm": 0.05029296875,
476
+ "learning_rate": 0.00012025664527956005,
477
+ "loss": 0.07076438069343567,
478
+ "mean_token_accuracy": 0.9745794385671616,
479
+ "num_tokens": 2668226.0,
480
+ "step": 470
481
+ },
482
+ {
483
+ "entropy": 0.07516032289713621,
484
+ "epoch": 1.28,
485
+ "grad_norm": 0.045654296875,
486
+ "learning_rate": 0.00011842346471127406,
487
+ "loss": 0.0711740493774414,
488
+ "mean_token_accuracy": 0.9735412746667862,
489
+ "num_tokens": 2725180.0,
490
+ "step": 480
491
+ },
492
+ {
493
+ "entropy": 0.07623793687671424,
494
+ "epoch": 1.3066666666666666,
495
+ "grad_norm": 0.053955078125,
496
+ "learning_rate": 0.00011659028414298809,
497
+ "loss": 0.07199874520301819,
498
+ "mean_token_accuracy": 0.9739259093999862,
499
+ "num_tokens": 2782069.0,
500
+ "step": 490
501
+ },
502
+ {
503
+ "entropy": 0.07468608934432268,
504
+ "epoch": 1.3333333333333333,
505
+ "grad_norm": 0.046142578125,
506
+ "learning_rate": 0.0001147571035747021,
507
+ "loss": 0.07050397992134094,
508
+ "mean_token_accuracy": 0.9742979735136033,
509
+ "num_tokens": 2838772.0,
510
+ "step": 500
511
+ },
512
+ {
513
+ "entropy": 0.07314184289425611,
514
+ "epoch": 1.3599999999999999,
515
+ "grad_norm": 0.0732421875,
516
+ "learning_rate": 0.00011292392300641615,
517
+ "loss": 0.06992406845092773,
518
+ "mean_token_accuracy": 0.9748412847518921,
519
+ "num_tokens": 2896384.0,
520
+ "step": 510
521
+ },
522
+ {
523
+ "entropy": 0.07735273949801921,
524
+ "epoch": 1.3866666666666667,
525
+ "grad_norm": 0.042236328125,
526
+ "learning_rate": 0.00011109074243813016,
527
+ "loss": 0.07089330554008484,
528
+ "mean_token_accuracy": 0.973857656121254,
529
+ "num_tokens": 2953074.0,
530
+ "step": 520
531
+ },
532
+ {
533
+ "entropy": 0.07427110467106104,
534
+ "epoch": 1.4133333333333333,
535
+ "grad_norm": 0.05615234375,
536
+ "learning_rate": 0.00010925756186984419,
537
+ "loss": 0.07023302912712097,
538
+ "mean_token_accuracy": 0.9745061740279197,
539
+ "num_tokens": 3009599.0,
540
+ "step": 530
541
+ },
542
+ {
543
+ "entropy": 0.07496015410870313,
544
+ "epoch": 1.44,
545
+ "grad_norm": 0.04150390625,
546
+ "learning_rate": 0.0001074243813015582,
547
+ "loss": 0.07044907808303832,
548
+ "mean_token_accuracy": 0.97446711063385,
549
+ "num_tokens": 3065550.0,
550
+ "step": 540
551
+ },
552
+ {
553
+ "entropy": 0.07237969692796468,
554
+ "epoch": 1.4666666666666668,
555
+ "grad_norm": 0.0537109375,
556
+ "learning_rate": 0.00010559120073327222,
557
+ "loss": 0.06903309226036072,
558
+ "mean_token_accuracy": 0.9751396328210831,
559
+ "num_tokens": 3122339.0,
560
+ "step": 550
561
+ },
562
+ {
563
+ "entropy": 0.07292939173057675,
564
+ "epoch": 1.4933333333333334,
565
+ "grad_norm": 0.044921875,
566
+ "learning_rate": 0.00010375802016498626,
567
+ "loss": 0.06951733827590942,
568
+ "mean_token_accuracy": 0.9748973533511162,
569
+ "num_tokens": 3179284.0,
570
+ "step": 560
571
+ },
572
+ {
573
+ "entropy": 0.0735103216022253,
574
+ "epoch": 1.52,
575
+ "grad_norm": 0.0595703125,
576
+ "learning_rate": 0.00010192483959670028,
577
+ "loss": 0.06886410713195801,
578
+ "mean_token_accuracy": 0.9742336764931678,
579
+ "num_tokens": 3236634.0,
580
+ "step": 570
581
+ },
582
+ {
583
+ "entropy": 0.07244595270603896,
584
+ "epoch": 1.5466666666666666,
585
+ "grad_norm": 0.049072265625,
586
+ "learning_rate": 0.0001000916590284143,
587
+ "loss": 0.06925945878028869,
588
+ "mean_token_accuracy": 0.9746079474687577,
589
+ "num_tokens": 3293217.0,
590
+ "step": 580
591
+ },
592
+ {
593
+ "entropy": 0.0733188034966588,
594
+ "epoch": 1.5733333333333333,
595
+ "grad_norm": 0.04833984375,
596
+ "learning_rate": 9.825847846012832e-05,
597
+ "loss": 0.06935187578201293,
598
+ "mean_token_accuracy": 0.9748518764972687,
599
+ "num_tokens": 3349872.0,
600
+ "step": 590
601
+ },
602
+ {
603
+ "entropy": 0.07255212999880314,
604
+ "epoch": 1.6,
605
+ "grad_norm": 0.04736328125,
606
+ "learning_rate": 9.642529789184235e-05,
607
+ "loss": 0.07008358240127563,
608
+ "mean_token_accuracy": 0.9742572873830795,
609
+ "num_tokens": 3406930.0,
610
+ "step": 600
611
+ },
612
+ {
613
+ "entropy": 0.0732356732711196,
614
+ "epoch": 1.6266666666666667,
615
+ "grad_norm": 0.0498046875,
616
+ "learning_rate": 9.459211732355638e-05,
617
+ "loss": 0.06836349368095399,
618
+ "mean_token_accuracy": 0.9751275479793549,
619
+ "num_tokens": 3464439.0,
620
+ "step": 610
621
+ },
622
+ {
623
+ "entropy": 0.07225457970052958,
624
+ "epoch": 1.6533333333333333,
625
+ "grad_norm": 0.04443359375,
626
+ "learning_rate": 9.27589367552704e-05,
627
+ "loss": 0.06948843002319335,
628
+ "mean_token_accuracy": 0.9739401176571846,
629
+ "num_tokens": 3521325.0,
630
+ "step": 620
631
+ },
632
+ {
633
+ "entropy": 0.07250613961368799,
634
+ "epoch": 1.6800000000000002,
635
+ "grad_norm": 0.04931640625,
636
+ "learning_rate": 9.092575618698442e-05,
637
+ "loss": 0.06941892504692078,
638
+ "mean_token_accuracy": 0.9748956650495529,
639
+ "num_tokens": 3577996.0,
640
+ "step": 630
641
+ },
642
+ {
643
+ "entropy": 0.0732794025912881,
644
+ "epoch": 1.7066666666666666,
645
+ "grad_norm": 0.04736328125,
646
+ "learning_rate": 8.909257561869845e-05,
647
+ "loss": 0.06896185874938965,
648
+ "mean_token_accuracy": 0.9750035509467125,
649
+ "num_tokens": 3634811.0,
650
+ "step": 640
651
+ },
652
+ {
653
+ "entropy": 0.07183574195951223,
654
+ "epoch": 1.7333333333333334,
655
+ "grad_norm": 0.0498046875,
656
+ "learning_rate": 8.725939505041248e-05,
657
+ "loss": 0.0701564073562622,
658
+ "mean_token_accuracy": 0.9742208927869797,
659
+ "num_tokens": 3691017.0,
660
+ "step": 650
661
+ },
662
+ {
663
+ "entropy": 0.07327579502016306,
664
+ "epoch": 1.76,
665
+ "grad_norm": 0.07470703125,
666
+ "learning_rate": 8.54262144821265e-05,
667
+ "loss": 0.06881371140480042,
668
+ "mean_token_accuracy": 0.9741959020495414,
669
+ "num_tokens": 3747546.0,
670
+ "step": 660
671
+ },
672
+ {
673
+ "entropy": 0.07111402666196227,
674
+ "epoch": 1.7866666666666666,
675
+ "grad_norm": 0.05712890625,
676
+ "learning_rate": 8.359303391384051e-05,
677
+ "loss": 0.06966341137886048,
678
+ "mean_token_accuracy": 0.9747162073850631,
679
+ "num_tokens": 3804126.0,
680
+ "step": 670
681
+ },
682
+ {
683
+ "entropy": 0.07224018704146147,
684
+ "epoch": 1.8133333333333335,
685
+ "grad_norm": 0.04541015625,
686
+ "learning_rate": 8.175985334555454e-05,
687
+ "loss": 0.06840948462486267,
688
+ "mean_token_accuracy": 0.9747431293129921,
689
+ "num_tokens": 3861006.0,
690
+ "step": 680
691
+ },
692
+ {
693
+ "entropy": 0.07255861330777406,
694
+ "epoch": 1.8399999999999999,
695
+ "grad_norm": 0.045654296875,
696
+ "learning_rate": 7.992667277726857e-05,
697
+ "loss": 0.06987766623497009,
698
+ "mean_token_accuracy": 0.9739771053195,
699
+ "num_tokens": 3916797.0,
700
+ "step": 690
701
+ },
702
+ {
703
+ "entropy": 0.07260533329099417,
704
+ "epoch": 1.8666666666666667,
705
+ "grad_norm": 0.048583984375,
706
+ "learning_rate": 7.809349220898258e-05,
707
+ "loss": 0.06835905909538269,
708
+ "mean_token_accuracy": 0.9750322937965393,
709
+ "num_tokens": 3973197.0,
710
+ "step": 700
711
+ },
712
+ {
713
+ "entropy": 0.0710109818726778,
714
+ "epoch": 1.8933333333333333,
715
+ "grad_norm": 0.041748046875,
716
+ "learning_rate": 7.626031164069661e-05,
717
+ "loss": 0.0677144169807434,
718
+ "mean_token_accuracy": 0.9751162648200988,
719
+ "num_tokens": 4030212.0,
720
+ "step": 710
721
+ },
722
+ {
723
+ "entropy": 0.070679662656039,
724
+ "epoch": 1.92,
725
+ "grad_norm": 0.0458984375,
726
+ "learning_rate": 7.442713107241064e-05,
727
+ "loss": 0.0661697268486023,
728
+ "mean_token_accuracy": 0.9755514889955521,
729
+ "num_tokens": 4087699.0,
730
+ "step": 720
731
+ },
732
+ {
733
+ "entropy": 0.0694987777620554,
734
+ "epoch": 1.9466666666666668,
735
+ "grad_norm": 0.115234375,
736
+ "learning_rate": 7.259395050412467e-05,
737
+ "loss": 0.06822068691253662,
738
+ "mean_token_accuracy": 0.97522524446249,
739
+ "num_tokens": 4144740.0,
740
+ "step": 730
741
+ },
742
+ {
743
+ "entropy": 0.07208629371598363,
744
+ "epoch": 1.9733333333333334,
745
+ "grad_norm": 0.04443359375,
746
+ "learning_rate": 7.076076993583868e-05,
747
+ "loss": 0.06933082938194275,
748
+ "mean_token_accuracy": 0.9743774682283401,
749
+ "num_tokens": 4201289.0,
750
+ "step": 740
751
+ },
752
+ {
753
+ "entropy": 0.07209395840764046,
754
+ "epoch": 2.0,
755
+ "grad_norm": 0.04833984375,
756
+ "learning_rate": 6.89275893675527e-05,
757
+ "loss": 0.06815703511238098,
758
+ "mean_token_accuracy": 0.974660362303257,
759
+ "num_tokens": 4257958.0,
760
+ "step": 750
761
+ },
762
+ {
763
+ "entropy": 0.07068475261330605,
764
+ "epoch": 2.026666666666667,
765
+ "grad_norm": 0.042236328125,
766
+ "learning_rate": 6.709440879926673e-05,
767
+ "loss": 0.0669311225414276,
768
+ "mean_token_accuracy": 0.9747605755925178,
769
+ "num_tokens": 4314723.0,
770
+ "step": 760
771
+ },
772
+ {
773
+ "entropy": 0.06951902080327273,
774
+ "epoch": 2.0533333333333332,
775
+ "grad_norm": 0.0419921875,
776
+ "learning_rate": 6.526122823098076e-05,
777
+ "loss": 0.0668017327785492,
778
+ "mean_token_accuracy": 0.9751198858022689,
779
+ "num_tokens": 4371457.0,
780
+ "step": 770
781
+ },
782
+ {
783
+ "entropy": 0.07024376196786761,
784
+ "epoch": 2.08,
785
+ "grad_norm": 0.047607421875,
786
+ "learning_rate": 6.342804766269478e-05,
787
+ "loss": 0.06699610352516175,
788
+ "mean_token_accuracy": 0.9748657032847404,
789
+ "num_tokens": 4427543.0,
790
+ "step": 780
791
+ },
792
+ {
793
+ "entropy": 0.06954137068241835,
794
+ "epoch": 2.1066666666666665,
795
+ "grad_norm": 0.043212890625,
796
+ "learning_rate": 6.15948670944088e-05,
797
+ "loss": 0.06581668257713318,
798
+ "mean_token_accuracy": 0.9755794301629066,
799
+ "num_tokens": 4484853.0,
800
+ "step": 790
801
+ },
802
+ {
803
+ "entropy": 0.06969003304839134,
804
+ "epoch": 2.1333333333333333,
805
+ "grad_norm": 0.05859375,
806
+ "learning_rate": 5.976168652612283e-05,
807
+ "loss": 0.06605738401412964,
808
+ "mean_token_accuracy": 0.9751082003116608,
809
+ "num_tokens": 4540895.0,
810
+ "step": 800
811
+ },
812
+ {
813
+ "entropy": 0.07048749346286058,
814
+ "epoch": 2.16,
815
+ "grad_norm": 0.04931640625,
816
+ "learning_rate": 5.792850595783685e-05,
817
+ "loss": 0.06759686470031738,
818
+ "mean_token_accuracy": 0.9748542428016662,
819
+ "num_tokens": 4597531.0,
820
+ "step": 810
821
+ },
822
+ {
823
+ "entropy": 0.0699356870725751,
824
+ "epoch": 2.1866666666666665,
825
+ "grad_norm": 0.0498046875,
826
+ "learning_rate": 5.6095325389550866e-05,
827
+ "loss": 0.06627315282821655,
828
+ "mean_token_accuracy": 0.9759758025407791,
829
+ "num_tokens": 4654517.0,
830
+ "step": 820
831
+ },
832
+ {
833
+ "entropy": 0.06981293484568596,
834
+ "epoch": 2.2133333333333334,
835
+ "grad_norm": 0.04833984375,
836
+ "learning_rate": 5.4262144821264894e-05,
837
+ "loss": 0.06639997959136963,
838
+ "mean_token_accuracy": 0.9752195671200752,
839
+ "num_tokens": 4711508.0,
840
+ "step": 830
841
+ },
842
+ {
843
+ "entropy": 0.06960875494405627,
844
+ "epoch": 2.24,
845
+ "grad_norm": 0.04736328125,
846
+ "learning_rate": 5.2428964252978916e-05,
847
+ "loss": 0.06645302176475525,
848
+ "mean_token_accuracy": 0.9757942840456962,
849
+ "num_tokens": 4768589.0,
850
+ "step": 840
851
+ },
852
+ {
853
+ "entropy": 0.06928735189139842,
854
+ "epoch": 2.2666666666666666,
855
+ "grad_norm": 0.06005859375,
856
+ "learning_rate": 5.0595783684692945e-05,
857
+ "loss": 0.06615262627601623,
858
+ "mean_token_accuracy": 0.975421866774559,
859
+ "num_tokens": 4825447.0,
860
+ "step": 850
861
+ },
862
+ {
863
+ "entropy": 0.0701323315501213,
864
+ "epoch": 2.2933333333333334,
865
+ "grad_norm": 0.043701171875,
866
+ "learning_rate": 4.876260311640697e-05,
867
+ "loss": 0.06594157218933105,
868
+ "mean_token_accuracy": 0.9752340018749237,
869
+ "num_tokens": 4882324.0,
870
+ "step": 860
871
+ },
872
+ {
873
+ "entropy": 0.06790421595796943,
874
+ "epoch": 2.32,
875
+ "grad_norm": 0.0439453125,
876
+ "learning_rate": 4.6929422548120995e-05,
877
+ "loss": 0.06551963090896606,
878
+ "mean_token_accuracy": 0.9751909494400024,
879
+ "num_tokens": 4939254.0,
880
+ "step": 870
881
+ },
882
+ {
883
+ "entropy": 0.07054078914225101,
884
+ "epoch": 2.3466666666666667,
885
+ "grad_norm": 0.051025390625,
886
+ "learning_rate": 4.509624197983501e-05,
887
+ "loss": 0.06690743565559387,
888
+ "mean_token_accuracy": 0.9751562505960465,
889
+ "num_tokens": 4995524.0,
890
+ "step": 880
891
+ },
892
+ {
893
+ "entropy": 0.06957337409257888,
894
+ "epoch": 2.3733333333333335,
895
+ "grad_norm": 0.049560546875,
896
+ "learning_rate": 4.326306141154904e-05,
897
+ "loss": 0.06609007120132446,
898
+ "mean_token_accuracy": 0.9754323452711106,
899
+ "num_tokens": 5052578.0,
900
+ "step": 890
901
+ },
902
+ {
903
+ "entropy": 0.07044977657496929,
904
+ "epoch": 2.4,
905
+ "grad_norm": 0.0517578125,
906
+ "learning_rate": 4.142988084326306e-05,
907
+ "loss": 0.06621668338775635,
908
+ "mean_token_accuracy": 0.9750386416912079,
909
+ "num_tokens": 5108922.0,
910
+ "step": 900
911
+ },
912
+ {
913
+ "entropy": 0.06792065436020493,
914
+ "epoch": 2.4266666666666667,
915
+ "grad_norm": 0.046875,
916
+ "learning_rate": 3.959670027497709e-05,
917
+ "loss": 0.06501899361610412,
918
+ "mean_token_accuracy": 0.9760412231087685,
919
+ "num_tokens": 5166394.0,
920
+ "step": 910
921
+ },
922
+ {
923
+ "entropy": 0.06912549249827862,
924
+ "epoch": 2.453333333333333,
925
+ "grad_norm": 0.046142578125,
926
+ "learning_rate": 3.776351970669111e-05,
927
+ "loss": 0.06575977206230163,
928
+ "mean_token_accuracy": 0.975604172050953,
929
+ "num_tokens": 5223123.0,
930
+ "step": 920
931
+ },
932
+ {
933
+ "entropy": 0.06817780192941428,
934
+ "epoch": 2.48,
935
+ "grad_norm": 0.0439453125,
936
+ "learning_rate": 3.593033913840513e-05,
937
+ "loss": 0.06491979956626892,
938
+ "mean_token_accuracy": 0.9758375898003578,
939
+ "num_tokens": 5280867.0,
940
+ "step": 930
941
+ },
942
+ {
943
+ "entropy": 0.06880640015006065,
944
+ "epoch": 2.506666666666667,
945
+ "grad_norm": 0.050048828125,
946
+ "learning_rate": 3.409715857011916e-05,
947
+ "loss": 0.0658724844455719,
948
+ "mean_token_accuracy": 0.9759016156196594,
949
+ "num_tokens": 5337629.0,
950
+ "step": 940
951
+ },
952
+ {
953
+ "entropy": 0.06923360927030445,
954
+ "epoch": 2.533333333333333,
955
+ "grad_norm": 0.055908203125,
956
+ "learning_rate": 3.2263978001833184e-05,
957
+ "loss": 0.06607494950294494,
958
+ "mean_token_accuracy": 0.9753221690654754,
959
+ "num_tokens": 5394318.0,
960
+ "step": 950
961
+ },
962
+ {
963
+ "entropy": 0.06904373681172729,
964
+ "epoch": 2.56,
965
+ "grad_norm": 0.04541015625,
966
+ "learning_rate": 3.0430797433547202e-05,
967
+ "loss": 0.06557352542877197,
968
+ "mean_token_accuracy": 0.9759575456380845,
969
+ "num_tokens": 5450413.0,
970
+ "step": 960
971
+ },
972
+ {
973
+ "entropy": 0.06914114560931921,
974
+ "epoch": 2.586666666666667,
975
+ "grad_norm": 0.046875,
976
+ "learning_rate": 2.8597616865261228e-05,
977
+ "loss": 0.06594338417053222,
978
+ "mean_token_accuracy": 0.9751049831509591,
979
+ "num_tokens": 5507306.0,
980
+ "step": 970
981
+ },
982
+ {
983
+ "entropy": 0.0688713699579239,
984
+ "epoch": 2.6133333333333333,
985
+ "grad_norm": 0.052001953125,
986
+ "learning_rate": 2.6764436296975253e-05,
987
+ "loss": 0.06489255428314208,
988
+ "mean_token_accuracy": 0.9756928265094758,
989
+ "num_tokens": 5564241.0,
990
+ "step": 980
991
+ },
992
+ {
993
+ "entropy": 0.0688857214525342,
994
+ "epoch": 2.64,
995
+ "grad_norm": 0.053466796875,
996
+ "learning_rate": 2.4931255728689275e-05,
997
+ "loss": 0.06557077169418335,
998
+ "mean_token_accuracy": 0.9758043006062508,
999
+ "num_tokens": 5620870.0,
1000
+ "step": 990
1001
+ },
1002
+ {
1003
+ "entropy": 0.06913622673600912,
1004
+ "epoch": 2.6666666666666665,
1005
+ "grad_norm": 0.060302734375,
1006
+ "learning_rate": 2.30980751604033e-05,
1007
+ "loss": 0.06396430134773254,
1008
+ "mean_token_accuracy": 0.9762534514069557,
1009
+ "num_tokens": 5677975.0,
1010
+ "step": 1000
1011
+ },
1012
+ {
1013
+ "entropy": 0.06967059737071395,
1014
+ "epoch": 2.6933333333333334,
1015
+ "grad_norm": 0.0556640625,
1016
+ "learning_rate": 2.1264894592117325e-05,
1017
+ "loss": 0.0658549726009369,
1018
+ "mean_token_accuracy": 0.9755063205957413,
1019
+ "num_tokens": 5734406.0,
1020
+ "step": 1010
1021
+ },
1022
+ {
1023
+ "entropy": 0.06996878925710917,
1024
+ "epoch": 2.7199999999999998,
1025
+ "grad_norm": 0.047607421875,
1026
+ "learning_rate": 1.943171402383135e-05,
1027
+ "loss": 0.06624419689178467,
1028
+ "mean_token_accuracy": 0.9752198234200478,
1029
+ "num_tokens": 5790588.0,
1030
+ "step": 1020
1031
+ },
1032
+ {
1033
+ "entropy": 0.06913588438183069,
1034
+ "epoch": 2.7466666666666666,
1035
+ "grad_norm": 0.051513671875,
1036
+ "learning_rate": 1.7598533455545372e-05,
1037
+ "loss": 0.06566822528839111,
1038
+ "mean_token_accuracy": 0.975077997148037,
1039
+ "num_tokens": 5846871.0,
1040
+ "step": 1030
1041
+ },
1042
+ {
1043
+ "entropy": 0.07049406385049224,
1044
+ "epoch": 2.7733333333333334,
1045
+ "grad_norm": 0.0498046875,
1046
+ "learning_rate": 1.5765352887259398e-05,
1047
+ "loss": 0.06581954956054688,
1048
+ "mean_token_accuracy": 0.9753255605697632,
1049
+ "num_tokens": 5902888.0,
1050
+ "step": 1040
1051
+ },
1052
+ {
1053
+ "entropy": 0.06881497353315354,
1054
+ "epoch": 2.8,
1055
+ "grad_norm": 0.04443359375,
1056
+ "learning_rate": 1.393217231897342e-05,
1057
+ "loss": 0.06458759903907776,
1058
+ "mean_token_accuracy": 0.9755938291549683,
1059
+ "num_tokens": 5960106.0,
1060
+ "step": 1050
1061
+ },
1062
+ {
1063
+ "entropy": 0.06842826995998622,
1064
+ "epoch": 2.8266666666666667,
1065
+ "grad_norm": 0.046630859375,
1066
+ "learning_rate": 1.2098991750687445e-05,
1067
+ "loss": 0.06443418264389038,
1068
+ "mean_token_accuracy": 0.9758713901042938,
1069
+ "num_tokens": 6016963.0,
1070
+ "step": 1060
1071
+ },
1072
+ {
1073
+ "entropy": 0.06925875274464488,
1074
+ "epoch": 2.8533333333333335,
1075
+ "grad_norm": 0.05078125,
1076
+ "learning_rate": 1.0265811182401468e-05,
1077
+ "loss": 0.06562719345092774,
1078
+ "mean_token_accuracy": 0.9754008457064629,
1079
+ "num_tokens": 6073215.0,
1080
+ "step": 1070
1081
+ },
1082
+ {
1083
+ "entropy": 0.06846961556002498,
1084
+ "epoch": 2.88,
1085
+ "grad_norm": 0.05224609375,
1086
+ "learning_rate": 8.43263061411549e-06,
1087
+ "loss": 0.06463822722434998,
1088
+ "mean_token_accuracy": 0.9759333416819572,
1089
+ "num_tokens": 6130427.0,
1090
+ "step": 1080
1091
+ },
1092
+ {
1093
+ "entropy": 0.06969590932130813,
1094
+ "epoch": 2.9066666666666667,
1095
+ "grad_norm": 0.055908203125,
1096
+ "learning_rate": 6.599450045829514e-06,
1097
+ "loss": 0.06606504321098328,
1098
+ "mean_token_accuracy": 0.9749638319015503,
1099
+ "num_tokens": 6186584.0,
1100
+ "step": 1090
1101
+ },
1102
+ {
1103
+ "entropy": 0.06768293902277947,
1104
+ "epoch": 2.9333333333333336,
1105
+ "grad_norm": 0.0478515625,
1106
+ "learning_rate": 4.766269477543538e-06,
1107
+ "loss": 0.06344886422157288,
1108
+ "mean_token_accuracy": 0.9760955572128296,
1109
+ "num_tokens": 6244713.0,
1110
+ "step": 1100
1111
+ },
1112
+ {
1113
+ "entropy": 0.06839841092005372,
1114
+ "epoch": 2.96,
1115
+ "grad_norm": 0.0546875,
1116
+ "learning_rate": 2.933088909257562e-06,
1117
+ "loss": 0.06508639454841614,
1118
+ "mean_token_accuracy": 0.9756930440664291,
1119
+ "num_tokens": 6301263.0,
1120
+ "step": 1110
1121
+ },
1122
+ {
1123
+ "entropy": 0.06823750771582127,
1124
+ "epoch": 2.986666666666667,
1125
+ "grad_norm": 0.04833984375,
1126
+ "learning_rate": 1.0999083409715858e-06,
1127
+ "loss": 0.06445437669754028,
1128
+ "mean_token_accuracy": 0.9759095475077629,
1129
+ "num_tokens": 6358358.0,
1130
+ "step": 1120
1131
+ }
1132
+ ],
1133
+ "logging_steps": 10,
1134
+ "max_steps": 1125,
1135
+ "num_input_tokens_seen": 0,
1136
+ "num_train_epochs": 3,
1137
+ "save_steps": 500,
1138
+ "stateful_callbacks": {
1139
+ "TrainerControl": {
1140
+ "args": {
1141
+ "should_epoch_stop": false,
1142
+ "should_evaluate": false,
1143
+ "should_log": false,
1144
+ "should_save": true,
1145
+ "should_training_stop": true
1146
+ },
1147
+ "attributes": {}
1148
+ }
1149
+ },
1150
+ "total_flos": 2.9781846035472384e+17,
1151
+ "train_batch_size": 2,
1152
+ "trial_name": null,
1153
+ "trial_params": null
1154
+ }
newton/checkpoint-1125/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8755273dccefb3d7fa41448d64a8c28d76451700a997d4cbd5f7ac202a091f77
3
+ size 5585
newton/checkpoint-500/README.md ADDED
@@ -0,0 +1,209 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: meta-llama/Llama-3.1-8B-Instruct
3
+ library_name: peft
4
+ pipeline_tag: text-generation
5
+ tags:
6
+ - base_model:adapter:meta-llama/Llama-3.1-8B-Instruct
7
+ - lora
8
+ - sft
9
+ - transformers
10
+ - trl
11
+ ---
12
+
13
+ # Model Card for Model ID
14
+
15
+ <!-- Provide a quick summary of what the model is/does. -->
16
+
17
+
18
+
19
+ ## Model Details
20
+
21
+ ### Model Description
22
+
23
+ <!-- Provide a longer summary of what this model is. -->
24
+
25
+
26
+
27
+ - **Developed by:** [More Information Needed]
28
+ - **Funded by [optional]:** [More Information Needed]
29
+ - **Shared by [optional]:** [More Information Needed]
30
+ - **Model type:** [More Information Needed]
31
+ - **Language(s) (NLP):** [More Information Needed]
32
+ - **License:** [More Information Needed]
33
+ - **Finetuned from model [optional]:** [More Information Needed]
34
+
35
+ ### Model Sources [optional]
36
+
37
+ <!-- Provide the basic links for the model. -->
38
+
39
+ - **Repository:** [More Information Needed]
40
+ - **Paper [optional]:** [More Information Needed]
41
+ - **Demo [optional]:** [More Information Needed]
42
+
43
+ ## Uses
44
+
45
+ <!-- Address questions around how the model is intended to be used, including the foreseeable users of the model and those affected by the model. -->
46
+
47
+ ### Direct Use
48
+
49
+ <!-- This section is for the model use without fine-tuning or plugging into a larger ecosystem/app. -->
50
+
51
+ [More Information Needed]
52
+
53
+ ### Downstream Use [optional]
54
+
55
+ <!-- This section is for the model use when fine-tuned for a task, or when plugged into a larger ecosystem/app -->
56
+
57
+ [More Information Needed]
58
+
59
+ ### Out-of-Scope Use
60
+
61
+ <!-- This section addresses misuse, malicious use, and uses that the model will not work well for. -->
62
+
63
+ [More Information Needed]
64
+
65
+ ## Bias, Risks, and Limitations
66
+
67
+ <!-- This section is meant to convey both technical and sociotechnical limitations. -->
68
+
69
+ [More Information Needed]
70
+
71
+ ### Recommendations
72
+
73
+ <!-- This section is meant to convey recommendations with respect to the bias, risk, and technical limitations. -->
74
+
75
+ Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. More information needed for further recommendations.
76
+
77
+ ## How to Get Started with the Model
78
+
79
+ Use the code below to get started with the model.
80
+
81
+ [More Information Needed]
82
+
83
+ ## Training Details
84
+
85
+ ### Training Data
86
+
87
+ <!-- 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. -->
88
+
89
+ [More Information Needed]
90
+
91
+ ### Training Procedure
92
+
93
+ <!-- This relates heavily to the Technical Specifications. Content here should link to that section when it is relevant to the training procedure. -->
94
+
95
+ #### Preprocessing [optional]
96
+
97
+ [More Information Needed]
98
+
99
+
100
+ #### Training Hyperparameters
101
+
102
+ - **Training regime:** [More Information Needed] <!--fp32, fp16 mixed precision, bf16 mixed precision, bf16 non-mixed precision, fp16 non-mixed precision, fp8 mixed precision -->
103
+
104
+ #### Speeds, Sizes, Times [optional]
105
+
106
+ <!-- This section provides information about throughput, start/end time, checkpoint size if relevant, etc. -->
107
+
108
+ [More Information Needed]
109
+
110
+ ## Evaluation
111
+
112
+ <!-- This section describes the evaluation protocols and provides the results. -->
113
+
114
+ ### Testing Data, Factors & Metrics
115
+
116
+ #### Testing Data
117
+
118
+ <!-- This should link to a Dataset Card if possible. -->
119
+
120
+ [More Information Needed]
121
+
122
+ #### Factors
123
+
124
+ <!-- These are the things the evaluation is disaggregating by, e.g., subpopulations or domains. -->
125
+
126
+ [More Information Needed]
127
+
128
+ #### Metrics
129
+
130
+ <!-- These are the evaluation metrics being used, ideally with a description of why. -->
131
+
132
+ [More Information Needed]
133
+
134
+ ### Results
135
+
136
+ [More Information Needed]
137
+
138
+ #### Summary
139
+
140
+
141
+
142
+ ## Model Examination [optional]
143
+
144
+ <!-- Relevant interpretability work for the model goes here -->
145
+
146
+ [More Information Needed]
147
+
148
+ ## Environmental Impact
149
+
150
+ <!-- Total emissions (in grams of CO2eq) and additional considerations, such as electricity usage, go here. Edit the suggested text below accordingly -->
151
+
152
+ 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).
153
+
154
+ - **Hardware Type:** [More Information Needed]
155
+ - **Hours used:** [More Information Needed]
156
+ - **Cloud Provider:** [More Information Needed]
157
+ - **Compute Region:** [More Information Needed]
158
+ - **Carbon Emitted:** [More Information Needed]
159
+
160
+ ## Technical Specifications [optional]
161
+
162
+ ### Model Architecture and Objective
163
+
164
+ [More Information Needed]
165
+
166
+ ### Compute Infrastructure
167
+
168
+ [More Information Needed]
169
+
170
+ #### Hardware
171
+
172
+ [More Information Needed]
173
+
174
+ #### Software
175
+
176
+ [More Information Needed]
177
+
178
+ ## Citation [optional]
179
+
180
+ <!-- If there is a paper or blog post introducing the model, the APA and Bibtex information for that should go in this section. -->
181
+
182
+ **BibTeX:**
183
+
184
+ [More Information Needed]
185
+
186
+ **APA:**
187
+
188
+ [More Information Needed]
189
+
190
+ ## Glossary [optional]
191
+
192
+ <!-- If relevant, include terms and calculations in this section that can help readers understand the model or model card. -->
193
+
194
+ [More Information Needed]
195
+
196
+ ## More Information [optional]
197
+
198
+ [More Information Needed]
199
+
200
+ ## Model Card Authors [optional]
201
+
202
+ [More Information Needed]
203
+
204
+ ## Model Card Contact
205
+
206
+ [More Information Needed]
207
+ ### Framework versions
208
+
209
+ - PEFT 0.18.1
newton/checkpoint-500/adapter_config.json ADDED
@@ -0,0 +1,43 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "alora_invocation_tokens": null,
3
+ "alpha_pattern": {},
4
+ "arrow_config": null,
5
+ "auto_mapping": null,
6
+ "base_model_name_or_path": "meta-llama/Llama-3.1-8B-Instruct",
7
+ "bias": "none",
8
+ "corda_config": null,
9
+ "ensure_weight_tying": false,
10
+ "eva_config": null,
11
+ "exclude_modules": null,
12
+ "fan_in_fan_out": false,
13
+ "inference_mode": true,
14
+ "init_lora_weights": true,
15
+ "layer_replication": null,
16
+ "layers_pattern": null,
17
+ "layers_to_transform": null,
18
+ "loftq_config": {},
19
+ "lora_alpha": 32,
20
+ "lora_bias": false,
21
+ "lora_dropout": 0.05,
22
+ "megatron_config": null,
23
+ "megatron_core": "megatron.core",
24
+ "modules_to_save": null,
25
+ "peft_type": "LORA",
26
+ "peft_version": "0.18.1",
27
+ "qalora_group_size": 16,
28
+ "r": 16,
29
+ "rank_pattern": {},
30
+ "revision": null,
31
+ "target_modules": [
32
+ "q_proj",
33
+ "o_proj",
34
+ "k_proj",
35
+ "v_proj"
36
+ ],
37
+ "target_parameters": null,
38
+ "task_type": "CAUSAL_LM",
39
+ "trainable_token_indices": null,
40
+ "use_dora": false,
41
+ "use_qalora": false,
42
+ "use_rslora": false
43
+ }
newton/checkpoint-500/adapter_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b2e3fa39229c6ec9a3ae3953299dd1633da0fe90c86d1cbd81f4670401ecc4d6
3
+ size 27297544
newton/checkpoint-500/chat_template.jinja ADDED
@@ -0,0 +1,109 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {{- bos_token }}
2
+ {%- if custom_tools is defined %}
3
+ {%- set tools = custom_tools %}
4
+ {%- endif %}
5
+ {%- if not tools_in_user_message is defined %}
6
+ {%- set tools_in_user_message = true %}
7
+ {%- endif %}
8
+ {%- if not date_string is defined %}
9
+ {%- set date_string = "26 Jul 2024" %}
10
+ {%- endif %}
11
+ {%- if not tools is defined %}
12
+ {%- set tools = none %}
13
+ {%- endif %}
14
+
15
+ {#- This block extracts the system message, so we can slot it into the right place. #}
16
+ {%- if messages[0]['role'] == 'system' %}
17
+ {%- set system_message = messages[0]['content']|trim %}
18
+ {%- set messages = messages[1:] %}
19
+ {%- else %}
20
+ {%- set system_message = "" %}
21
+ {%- endif %}
22
+
23
+ {#- System message + builtin tools #}
24
+ {{- "<|start_header_id|>system<|end_header_id|>\n\n" }}
25
+ {%- if builtin_tools is defined or tools is not none %}
26
+ {{- "Environment: ipython\n" }}
27
+ {%- endif %}
28
+ {%- if builtin_tools is defined %}
29
+ {{- "Tools: " + builtin_tools | reject('equalto', 'code_interpreter') | join(", ") + "\n\n"}}
30
+ {%- endif %}
31
+ {{- "Cutting Knowledge Date: December 2023\n" }}
32
+ {{- "Today Date: " + date_string + "\n\n" }}
33
+ {%- if tools is not none and not tools_in_user_message %}
34
+ {{- "You have access to the following functions. To call a function, please respond with JSON for a function call." }}
35
+ {{- 'Respond in the format {"name": function name, "parameters": dictionary of argument name and its value}.' }}
36
+ {{- "Do not use variables.\n\n" }}
37
+ {%- for t in tools %}
38
+ {{- t | tojson(indent=4) }}
39
+ {{- "\n\n" }}
40
+ {%- endfor %}
41
+ {%- endif %}
42
+ {{- system_message }}
43
+ {{- "<|eot_id|>" }}
44
+
45
+ {#- Custom tools are passed in a user message with some extra guidance #}
46
+ {%- if tools_in_user_message and not tools is none %}
47
+ {#- Extract the first user message so we can plug it in here #}
48
+ {%- if messages | length != 0 %}
49
+ {%- set first_user_message = messages[0]['content']|trim %}
50
+ {%- set messages = messages[1:] %}
51
+ {%- else %}
52
+ {{- raise_exception("Cannot put tools in the first user message when there's no first user message!") }}
53
+ {%- endif %}
54
+ {{- '<|start_header_id|>user<|end_header_id|>\n\n' -}}
55
+ {{- "Given the following functions, please respond with a JSON for a function call " }}
56
+ {{- "with its proper arguments that best answers the given prompt.\n\n" }}
57
+ {{- 'Respond in the format {"name": function name, "parameters": dictionary of argument name and its value}.' }}
58
+ {{- "Do not use variables.\n\n" }}
59
+ {%- for t in tools %}
60
+ {{- t | tojson(indent=4) }}
61
+ {{- "\n\n" }}
62
+ {%- endfor %}
63
+ {{- first_user_message + "<|eot_id|>"}}
64
+ {%- endif %}
65
+
66
+ {%- for message in messages %}
67
+ {%- if not (message.role == 'ipython' or message.role == 'tool' or 'tool_calls' in message) %}
68
+ {{- '<|start_header_id|>' + message['role'] + '<|end_header_id|>\n\n'+ message['content'] | trim + '<|eot_id|>' }}
69
+ {%- elif 'tool_calls' in message %}
70
+ {%- if not message.tool_calls|length == 1 %}
71
+ {{- raise_exception("This model only supports single tool-calls at once!") }}
72
+ {%- endif %}
73
+ {%- set tool_call = message.tool_calls[0].function %}
74
+ {%- if builtin_tools is defined and tool_call.name in builtin_tools %}
75
+ {{- '<|start_header_id|>assistant<|end_header_id|>\n\n' -}}
76
+ {{- "<|python_tag|>" + tool_call.name + ".call(" }}
77
+ {%- for arg_name, arg_val in tool_call.arguments | items %}
78
+ {{- arg_name + '="' + arg_val + '"' }}
79
+ {%- if not loop.last %}
80
+ {{- ", " }}
81
+ {%- endif %}
82
+ {%- endfor %}
83
+ {{- ")" }}
84
+ {%- else %}
85
+ {{- '<|start_header_id|>assistant<|end_header_id|>\n\n' -}}
86
+ {{- '{"name": "' + tool_call.name + '", ' }}
87
+ {{- '"parameters": ' }}
88
+ {{- tool_call.arguments | tojson }}
89
+ {{- "}" }}
90
+ {%- endif %}
91
+ {%- if builtin_tools is defined %}
92
+ {#- This means we're in ipython mode #}
93
+ {{- "<|eom_id|>" }}
94
+ {%- else %}
95
+ {{- "<|eot_id|>" }}
96
+ {%- endif %}
97
+ {%- elif message.role == "tool" or message.role == "ipython" %}
98
+ {{- "<|start_header_id|>ipython<|end_header_id|>\n\n" }}
99
+ {%- if message.content is mapping or message.content is iterable %}
100
+ {{- message.content | tojson }}
101
+ {%- else %}
102
+ {{- message.content }}
103
+ {%- endif %}
104
+ {{- "<|eot_id|>" }}
105
+ {%- endif %}
106
+ {%- endfor %}
107
+ {%- if add_generation_prompt %}
108
+ {{- '<|start_header_id|>assistant<|end_header_id|>\n\n' }}
109
+ {%- endif %}
newton/checkpoint-500/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e02efb59f2ff28dda0a4a4530d4c7f101cf666c78420719d9db581857205db1e
3
+ size 54745547
newton/checkpoint-500/rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e06ed9055f2879d20734525b54e3185ffbd4df450c6774c39d8caa49df8499ed
3
+ size 14645
newton/checkpoint-500/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c5f2b5fa48c7f09e4487186c3527dd0cb37a3de8892b16ebca696ce3df604cb5
3
+ size 1465
newton/checkpoint-500/tokenizer.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6b9e4e7fb171f92fd137b777cc2714bf87d11576700a1dcd7a399e7bbe39537b
3
+ size 17209920
newton/checkpoint-500/tokenizer_config.json ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "backend": "tokenizers",
3
+ "bos_token": "<|begin_of_text|>",
4
+ "clean_up_tokenization_spaces": true,
5
+ "eos_token": "<|eot_id|>",
6
+ "is_local": false,
7
+ "model_input_names": [
8
+ "input_ids",
9
+ "attention_mask"
10
+ ],
11
+ "model_max_length": 131072,
12
+ "pad_token": "<|eot_id|>",
13
+ "tokenizer_class": "TokenizersBackend"
14
+ }
newton/checkpoint-500/trainer_state.json ADDED
@@ -0,0 +1,534 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_global_step": null,
3
+ "best_metric": null,
4
+ "best_model_checkpoint": null,
5
+ "epoch": 1.3333333333333333,
6
+ "eval_steps": 500,
7
+ "global_step": 500,
8
+ "is_hyper_param_search": false,
9
+ "is_local_process_zero": true,
10
+ "is_world_process_zero": true,
11
+ "log_history": [
12
+ {
13
+ "entropy": 2.6570239067077637,
14
+ "epoch": 0.02666666666666667,
15
+ "grad_norm": 0.287109375,
16
+ "learning_rate": 5.294117647058824e-05,
17
+ "loss": 2.800247573852539,
18
+ "mean_token_accuracy": 0.4749053567647934,
19
+ "num_tokens": 56906.0,
20
+ "step": 10
21
+ },
22
+ {
23
+ "entropy": 2.2495410323143004,
24
+ "epoch": 0.05333333333333334,
25
+ "grad_norm": 0.265625,
26
+ "learning_rate": 0.00011176470588235294,
27
+ "loss": 2.4327199935913084,
28
+ "mean_token_accuracy": 0.5111239477992058,
29
+ "num_tokens": 113827.0,
30
+ "step": 20
31
+ },
32
+ {
33
+ "entropy": 1.8682004392147065,
34
+ "epoch": 0.08,
35
+ "grad_norm": 0.306640625,
36
+ "learning_rate": 0.00017058823529411766,
37
+ "loss": 1.789840316772461,
38
+ "mean_token_accuracy": 0.599884121119976,
39
+ "num_tokens": 170403.0,
40
+ "step": 30
41
+ },
42
+ {
43
+ "entropy": 1.2546741724014283,
44
+ "epoch": 0.10666666666666667,
45
+ "grad_norm": 0.306640625,
46
+ "learning_rate": 0.00019908340971585702,
47
+ "loss": 1.2151795387268067,
48
+ "mean_token_accuracy": 0.7106126025319099,
49
+ "num_tokens": 227456.0,
50
+ "step": 40
51
+ },
52
+ {
53
+ "entropy": 0.8836664661765099,
54
+ "epoch": 0.13333333333333333,
55
+ "grad_norm": 0.28515625,
56
+ "learning_rate": 0.00019725022914757106,
57
+ "loss": 0.8311976432800293,
58
+ "mean_token_accuracy": 0.7977700293064117,
59
+ "num_tokens": 284368.0,
60
+ "step": 50
61
+ },
62
+ {
63
+ "entropy": 0.6855858579277992,
64
+ "epoch": 0.16,
65
+ "grad_norm": 0.314453125,
66
+ "learning_rate": 0.00019541704857928507,
67
+ "loss": 0.6242359638214111,
68
+ "mean_token_accuracy": 0.847702169418335,
69
+ "num_tokens": 341357.0,
70
+ "step": 60
71
+ },
72
+ {
73
+ "entropy": 0.4690785683691502,
74
+ "epoch": 0.18666666666666668,
75
+ "grad_norm": 0.248046875,
76
+ "learning_rate": 0.00019358386801099912,
77
+ "loss": 0.40251870155334474,
78
+ "mean_token_accuracy": 0.9024116918444633,
79
+ "num_tokens": 398280.0,
80
+ "step": 70
81
+ },
82
+ {
83
+ "entropy": 0.34345744624733926,
84
+ "epoch": 0.21333333333333335,
85
+ "grad_norm": 0.27734375,
86
+ "learning_rate": 0.0001917506874427131,
87
+ "loss": 0.28333656787872313,
88
+ "mean_token_accuracy": 0.9320006996393204,
89
+ "num_tokens": 455232.0,
90
+ "step": 80
91
+ },
92
+ {
93
+ "entropy": 0.25451925955712795,
94
+ "epoch": 0.24,
95
+ "grad_norm": 0.208984375,
96
+ "learning_rate": 0.00018991750687442712,
97
+ "loss": 0.21085577011108397,
98
+ "mean_token_accuracy": 0.949009683728218,
99
+ "num_tokens": 511782.0,
100
+ "step": 90
101
+ },
102
+ {
103
+ "entropy": 0.19814539551734925,
104
+ "epoch": 0.26666666666666666,
105
+ "grad_norm": 0.296875,
106
+ "learning_rate": 0.00018808432630614116,
107
+ "loss": 0.1717105984687805,
108
+ "mean_token_accuracy": 0.9577329605817795,
109
+ "num_tokens": 568641.0,
110
+ "step": 100
111
+ },
112
+ {
113
+ "entropy": 0.18550167009234428,
114
+ "epoch": 0.29333333333333333,
115
+ "grad_norm": 0.21875,
116
+ "learning_rate": 0.00018625114573785518,
117
+ "loss": 0.15982584953308104,
118
+ "mean_token_accuracy": 0.9591923207044601,
119
+ "num_tokens": 626038.0,
120
+ "step": 110
121
+ },
122
+ {
123
+ "entropy": 0.16009770445525645,
124
+ "epoch": 0.32,
125
+ "grad_norm": 0.2109375,
126
+ "learning_rate": 0.00018441796516956922,
127
+ "loss": 0.12815338373184204,
128
+ "mean_token_accuracy": 0.9657398357987403,
129
+ "num_tokens": 682880.0,
130
+ "step": 120
131
+ },
132
+ {
133
+ "entropy": 0.14740683771669866,
134
+ "epoch": 0.3466666666666667,
135
+ "grad_norm": 0.2431640625,
136
+ "learning_rate": 0.00018258478460128323,
137
+ "loss": 0.1188442587852478,
138
+ "mean_token_accuracy": 0.9664651393890381,
139
+ "num_tokens": 739719.0,
140
+ "step": 130
141
+ },
142
+ {
143
+ "entropy": 0.13307180535048246,
144
+ "epoch": 0.37333333333333335,
145
+ "grad_norm": 0.1474609375,
146
+ "learning_rate": 0.00018075160403299728,
147
+ "loss": 0.11054203510284424,
148
+ "mean_token_accuracy": 0.9669812738895416,
149
+ "num_tokens": 795894.0,
150
+ "step": 140
151
+ },
152
+ {
153
+ "entropy": 0.12216594349592924,
154
+ "epoch": 0.4,
155
+ "grad_norm": 0.1240234375,
156
+ "learning_rate": 0.0001789184234647113,
157
+ "loss": 0.10401068925857544,
158
+ "mean_token_accuracy": 0.9683825269341468,
159
+ "num_tokens": 852124.0,
160
+ "step": 150
161
+ },
162
+ {
163
+ "entropy": 0.11619068495929241,
164
+ "epoch": 0.4266666666666667,
165
+ "grad_norm": 0.12060546875,
166
+ "learning_rate": 0.0001770852428964253,
167
+ "loss": 0.0976063370704651,
168
+ "mean_token_accuracy": 0.9695558726787568,
169
+ "num_tokens": 909328.0,
170
+ "step": 160
171
+ },
172
+ {
173
+ "entropy": 0.10669020470231771,
174
+ "epoch": 0.4533333333333333,
175
+ "grad_norm": 0.1279296875,
176
+ "learning_rate": 0.00017525206232813932,
177
+ "loss": 0.09338906407356262,
178
+ "mean_token_accuracy": 0.970247569680214,
179
+ "num_tokens": 966577.0,
180
+ "step": 170
181
+ },
182
+ {
183
+ "entropy": 0.10276608634740114,
184
+ "epoch": 0.48,
185
+ "grad_norm": 0.115234375,
186
+ "learning_rate": 0.00017341888175985334,
187
+ "loss": 0.09135337471961975,
188
+ "mean_token_accuracy": 0.9711026951670647,
189
+ "num_tokens": 1022961.0,
190
+ "step": 180
191
+ },
192
+ {
193
+ "entropy": 0.10297673251479864,
194
+ "epoch": 0.5066666666666667,
195
+ "grad_norm": 0.11474609375,
196
+ "learning_rate": 0.00017158570119156738,
197
+ "loss": 0.08887208104133607,
198
+ "mean_token_accuracy": 0.9709939315915108,
199
+ "num_tokens": 1079479.0,
200
+ "step": 190
201
+ },
202
+ {
203
+ "entropy": 0.09722564350813627,
204
+ "epoch": 0.5333333333333333,
205
+ "grad_norm": 0.1044921875,
206
+ "learning_rate": 0.0001697525206232814,
207
+ "loss": 0.08848196864128113,
208
+ "mean_token_accuracy": 0.9712936446070671,
209
+ "num_tokens": 1135784.0,
210
+ "step": 200
211
+ },
212
+ {
213
+ "entropy": 0.09498227294534445,
214
+ "epoch": 0.56,
215
+ "grad_norm": 0.2236328125,
216
+ "learning_rate": 0.00016791934005499544,
217
+ "loss": 0.08531092405319214,
218
+ "mean_token_accuracy": 0.9717509031295777,
219
+ "num_tokens": 1192723.0,
220
+ "step": 210
221
+ },
222
+ {
223
+ "entropy": 0.09660841915756464,
224
+ "epoch": 0.5866666666666667,
225
+ "grad_norm": 0.154296875,
226
+ "learning_rate": 0.00016608615948670945,
227
+ "loss": 0.08432384729385375,
228
+ "mean_token_accuracy": 0.9723995119333267,
229
+ "num_tokens": 1248974.0,
230
+ "step": 220
231
+ },
232
+ {
233
+ "entropy": 0.09139632768929004,
234
+ "epoch": 0.6133333333333333,
235
+ "grad_norm": 0.08203125,
236
+ "learning_rate": 0.0001642529789184235,
237
+ "loss": 0.08340675234794617,
238
+ "mean_token_accuracy": 0.9725200146436691,
239
+ "num_tokens": 1306125.0,
240
+ "step": 230
241
+ },
242
+ {
243
+ "entropy": 0.09041857812553644,
244
+ "epoch": 0.64,
245
+ "grad_norm": 0.0751953125,
246
+ "learning_rate": 0.0001624197983501375,
247
+ "loss": 0.08240053057670593,
248
+ "mean_token_accuracy": 0.9727400034666062,
249
+ "num_tokens": 1362509.0,
250
+ "step": 240
251
+ },
252
+ {
253
+ "entropy": 0.08917351886630058,
254
+ "epoch": 0.6666666666666666,
255
+ "grad_norm": 0.11181640625,
256
+ "learning_rate": 0.00016058661778185152,
257
+ "loss": 0.08038315176963806,
258
+ "mean_token_accuracy": 0.9722966447472572,
259
+ "num_tokens": 1419155.0,
260
+ "step": 250
261
+ },
262
+ {
263
+ "entropy": 0.08846015091985464,
264
+ "epoch": 0.6933333333333334,
265
+ "grad_norm": 0.07421875,
266
+ "learning_rate": 0.00015875343721356554,
267
+ "loss": 0.08111950755119324,
268
+ "mean_token_accuracy": 0.9725704893469811,
269
+ "num_tokens": 1475233.0,
270
+ "step": 260
271
+ },
272
+ {
273
+ "entropy": 0.08615751322358847,
274
+ "epoch": 0.72,
275
+ "grad_norm": 0.103515625,
276
+ "learning_rate": 0.00015692025664527955,
277
+ "loss": 0.07856618165969849,
278
+ "mean_token_accuracy": 0.9734801158308983,
279
+ "num_tokens": 1531666.0,
280
+ "step": 270
281
+ },
282
+ {
283
+ "entropy": 0.08350808713585138,
284
+ "epoch": 0.7466666666666667,
285
+ "grad_norm": 0.0869140625,
286
+ "learning_rate": 0.0001550870760769936,
287
+ "loss": 0.07699183821678161,
288
+ "mean_token_accuracy": 0.9737285181879998,
289
+ "num_tokens": 1588686.0,
290
+ "step": 280
291
+ },
292
+ {
293
+ "entropy": 0.08553262427449226,
294
+ "epoch": 0.7733333333333333,
295
+ "grad_norm": 0.140625,
296
+ "learning_rate": 0.0001532538955087076,
297
+ "loss": 0.07849866151809692,
298
+ "mean_token_accuracy": 0.9727597609162331,
299
+ "num_tokens": 1645610.0,
300
+ "step": 290
301
+ },
302
+ {
303
+ "entropy": 0.08688175324350596,
304
+ "epoch": 0.8,
305
+ "grad_norm": 0.1318359375,
306
+ "learning_rate": 0.00015142071494042165,
307
+ "loss": 0.0791881263256073,
308
+ "mean_token_accuracy": 0.9728336438536644,
309
+ "num_tokens": 1702234.0,
310
+ "step": 300
311
+ },
312
+ {
313
+ "entropy": 0.08647099416702986,
314
+ "epoch": 0.8266666666666667,
315
+ "grad_norm": 0.076171875,
316
+ "learning_rate": 0.00014958753437213567,
317
+ "loss": 0.07916317582130432,
318
+ "mean_token_accuracy": 0.9720797210931778,
319
+ "num_tokens": 1758523.0,
320
+ "step": 310
321
+ },
322
+ {
323
+ "entropy": 0.08278416823595762,
324
+ "epoch": 0.8533333333333334,
325
+ "grad_norm": 0.076171875,
326
+ "learning_rate": 0.00014775435380384968,
327
+ "loss": 0.07689375281333924,
328
+ "mean_token_accuracy": 0.9735667318105697,
329
+ "num_tokens": 1815080.0,
330
+ "step": 320
331
+ },
332
+ {
333
+ "entropy": 0.08433555215597152,
334
+ "epoch": 0.88,
335
+ "grad_norm": 0.0888671875,
336
+ "learning_rate": 0.00014592117323556373,
337
+ "loss": 0.07733245491981507,
338
+ "mean_token_accuracy": 0.973043854534626,
339
+ "num_tokens": 1872283.0,
340
+ "step": 330
341
+ },
342
+ {
343
+ "entropy": 0.0831523710861802,
344
+ "epoch": 0.9066666666666666,
345
+ "grad_norm": 0.185546875,
346
+ "learning_rate": 0.00014408799266727771,
347
+ "loss": 0.07743646502494812,
348
+ "mean_token_accuracy": 0.9724773317575455,
349
+ "num_tokens": 1929120.0,
350
+ "step": 340
351
+ },
352
+ {
353
+ "entropy": 0.08173599634319544,
354
+ "epoch": 0.9333333333333333,
355
+ "grad_norm": 0.08447265625,
356
+ "learning_rate": 0.00014225481209899176,
357
+ "loss": 0.07464101910591125,
358
+ "mean_token_accuracy": 0.9732464775443077,
359
+ "num_tokens": 1986433.0,
360
+ "step": 350
361
+ },
362
+ {
363
+ "entropy": 0.08154450561851263,
364
+ "epoch": 0.96,
365
+ "grad_norm": 0.197265625,
366
+ "learning_rate": 0.00014042163153070577,
367
+ "loss": 0.07836683988571166,
368
+ "mean_token_accuracy": 0.9733009964227677,
369
+ "num_tokens": 2043465.0,
370
+ "step": 360
371
+ },
372
+ {
373
+ "entropy": 0.08830973766744137,
374
+ "epoch": 0.9866666666666667,
375
+ "grad_norm": 0.0634765625,
376
+ "learning_rate": 0.0001385884509624198,
377
+ "loss": 0.07805899381637574,
378
+ "mean_token_accuracy": 0.9734541475772858,
379
+ "num_tokens": 2100933.0,
380
+ "step": 370
381
+ },
382
+ {
383
+ "entropy": 0.08108338043093681,
384
+ "epoch": 1.0133333333333334,
385
+ "grad_norm": 0.05859375,
386
+ "learning_rate": 0.00013675527039413383,
387
+ "loss": 0.07582586407661437,
388
+ "mean_token_accuracy": 0.9734946370124817,
389
+ "num_tokens": 2157057.0,
390
+ "step": 380
391
+ },
392
+ {
393
+ "entropy": 0.0781314555555582,
394
+ "epoch": 1.04,
395
+ "grad_norm": 0.05078125,
396
+ "learning_rate": 0.00013492208982584784,
397
+ "loss": 0.0714304804801941,
398
+ "mean_token_accuracy": 0.975023752450943,
399
+ "num_tokens": 2214085.0,
400
+ "step": 390
401
+ },
402
+ {
403
+ "entropy": 0.07955040819942952,
404
+ "epoch": 1.0666666666666667,
405
+ "grad_norm": 0.08984375,
406
+ "learning_rate": 0.00013308890925756189,
407
+ "loss": 0.07331350445747375,
408
+ "mean_token_accuracy": 0.9737342849373818,
409
+ "num_tokens": 2270765.0,
410
+ "step": 400
411
+ },
412
+ {
413
+ "entropy": 0.07677881456911564,
414
+ "epoch": 1.0933333333333333,
415
+ "grad_norm": 0.07177734375,
416
+ "learning_rate": 0.0001312557286892759,
417
+ "loss": 0.07168130278587341,
418
+ "mean_token_accuracy": 0.9739445611834526,
419
+ "num_tokens": 2327512.0,
420
+ "step": 410
421
+ },
422
+ {
423
+ "entropy": 0.07667716387659311,
424
+ "epoch": 1.12,
425
+ "grad_norm": 0.0771484375,
426
+ "learning_rate": 0.00012942254812098992,
427
+ "loss": 0.07219807505607605,
428
+ "mean_token_accuracy": 0.9742562755942344,
429
+ "num_tokens": 2384423.0,
430
+ "step": 420
431
+ },
432
+ {
433
+ "entropy": 0.07681187009438872,
434
+ "epoch": 1.1466666666666667,
435
+ "grad_norm": 0.0615234375,
436
+ "learning_rate": 0.00012758936755270393,
437
+ "loss": 0.07280588746070862,
438
+ "mean_token_accuracy": 0.9735747814178467,
439
+ "num_tokens": 2441102.0,
440
+ "step": 430
441
+ },
442
+ {
443
+ "entropy": 0.07602620646357536,
444
+ "epoch": 1.1733333333333333,
445
+ "grad_norm": 0.06982421875,
446
+ "learning_rate": 0.00012575618698441797,
447
+ "loss": 0.07293958067893982,
448
+ "mean_token_accuracy": 0.9740705206990242,
449
+ "num_tokens": 2497642.0,
450
+ "step": 440
451
+ },
452
+ {
453
+ "entropy": 0.07798876240849495,
454
+ "epoch": 1.2,
455
+ "grad_norm": 0.07421875,
456
+ "learning_rate": 0.000123923006416132,
457
+ "loss": 0.07215467095375061,
458
+ "mean_token_accuracy": 0.9742186814546585,
459
+ "num_tokens": 2554273.0,
460
+ "step": 450
461
+ },
462
+ {
463
+ "entropy": 0.07671927772462368,
464
+ "epoch": 1.2266666666666666,
465
+ "grad_norm": 0.05029296875,
466
+ "learning_rate": 0.00012208982584784603,
467
+ "loss": 0.07254356741905213,
468
+ "mean_token_accuracy": 0.9733539551496506,
469
+ "num_tokens": 2610932.0,
470
+ "step": 460
471
+ },
472
+ {
473
+ "entropy": 0.07502734698355198,
474
+ "epoch": 1.2533333333333334,
475
+ "grad_norm": 0.05029296875,
476
+ "learning_rate": 0.00012025664527956005,
477
+ "loss": 0.07076438069343567,
478
+ "mean_token_accuracy": 0.9745794385671616,
479
+ "num_tokens": 2668226.0,
480
+ "step": 470
481
+ },
482
+ {
483
+ "entropy": 0.07516032289713621,
484
+ "epoch": 1.28,
485
+ "grad_norm": 0.045654296875,
486
+ "learning_rate": 0.00011842346471127406,
487
+ "loss": 0.0711740493774414,
488
+ "mean_token_accuracy": 0.9735412746667862,
489
+ "num_tokens": 2725180.0,
490
+ "step": 480
491
+ },
492
+ {
493
+ "entropy": 0.07623793687671424,
494
+ "epoch": 1.3066666666666666,
495
+ "grad_norm": 0.053955078125,
496
+ "learning_rate": 0.00011659028414298809,
497
+ "loss": 0.07199874520301819,
498
+ "mean_token_accuracy": 0.9739259093999862,
499
+ "num_tokens": 2782069.0,
500
+ "step": 490
501
+ },
502
+ {
503
+ "entropy": 0.07468608934432268,
504
+ "epoch": 1.3333333333333333,
505
+ "grad_norm": 0.046142578125,
506
+ "learning_rate": 0.0001147571035747021,
507
+ "loss": 0.07050397992134094,
508
+ "mean_token_accuracy": 0.9742979735136033,
509
+ "num_tokens": 2838772.0,
510
+ "step": 500
511
+ }
512
+ ],
513
+ "logging_steps": 10,
514
+ "max_steps": 1125,
515
+ "num_input_tokens_seen": 0,
516
+ "num_train_epochs": 3,
517
+ "save_steps": 500,
518
+ "stateful_callbacks": {
519
+ "TrainerControl": {
520
+ "args": {
521
+ "should_epoch_stop": false,
522
+ "should_evaluate": false,
523
+ "should_log": false,
524
+ "should_save": true,
525
+ "should_training_stop": false
526
+ },
527
+ "attributes": {}
528
+ }
529
+ },
530
+ "total_flos": 1.3243190835068928e+17,
531
+ "train_batch_size": 2,
532
+ "trial_name": null,
533
+ "trial_params": null
534
+ }
newton/checkpoint-500/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8755273dccefb3d7fa41448d64a8c28d76451700a997d4cbd5f7ac202a091f77
3
+ size 5585
newton/tokenizer.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6b9e4e7fb171f92fd137b777cc2714bf87d11576700a1dcd7a399e7bbe39537b
3
+ size 17209920
newton/tokenizer_config.json ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "backend": "tokenizers",
3
+ "bos_token": "<|begin_of_text|>",
4
+ "clean_up_tokenization_spaces": true,
5
+ "eos_token": "<|eot_id|>",
6
+ "is_local": false,
7
+ "model_input_names": [
8
+ "input_ids",
9
+ "attention_mask"
10
+ ],
11
+ "model_max_length": 131072,
12
+ "pad_token": "<|eot_id|>",
13
+ "tokenizer_class": "TokenizersBackend"
14
+ }