Raiff1982 commited on
Commit
f9a314f
·
verified ·
1 Parent(s): 3de5569

Upload folder using huggingface_hub

Browse files
Files changed (29) hide show
  1. .gitattributes +3 -0
  2. systems_architecture/README.md +62 -0
  3. systems_architecture/adapter_config.json +43 -0
  4. systems_architecture/adapter_model.safetensors +3 -0
  5. systems_architecture/chat_template.jinja +109 -0
  6. systems_architecture/checkpoint-500/README.md +209 -0
  7. systems_architecture/checkpoint-500/adapter_config.json +43 -0
  8. systems_architecture/checkpoint-500/adapter_model.safetensors +3 -0
  9. systems_architecture/checkpoint-500/chat_template.jinja +109 -0
  10. systems_architecture/checkpoint-500/optimizer.pt +3 -0
  11. systems_architecture/checkpoint-500/rng_state.pth +3 -0
  12. systems_architecture/checkpoint-500/scheduler.pt +3 -0
  13. systems_architecture/checkpoint-500/tokenizer.json +3 -0
  14. systems_architecture/checkpoint-500/tokenizer_config.json +14 -0
  15. systems_architecture/checkpoint-500/trainer_state.json +534 -0
  16. systems_architecture/checkpoint-500/training_args.bin +3 -0
  17. systems_architecture/checkpoint-750/README.md +209 -0
  18. systems_architecture/checkpoint-750/adapter_config.json +43 -0
  19. systems_architecture/checkpoint-750/adapter_model.safetensors +3 -0
  20. systems_architecture/checkpoint-750/chat_template.jinja +109 -0
  21. systems_architecture/checkpoint-750/optimizer.pt +3 -0
  22. systems_architecture/checkpoint-750/rng_state.pth +3 -0
  23. systems_architecture/checkpoint-750/scheduler.pt +3 -0
  24. systems_architecture/checkpoint-750/tokenizer.json +3 -0
  25. systems_architecture/checkpoint-750/tokenizer_config.json +14 -0
  26. systems_architecture/checkpoint-750/trainer_state.json +784 -0
  27. systems_architecture/checkpoint-750/training_args.bin +3 -0
  28. systems_architecture/tokenizer.json +3 -0
  29. systems_architecture/tokenizer_config.json +14 -0
.gitattributes CHANGED
@@ -56,3 +56,6 @@ consciousness/tokenizer.json filter=lfs diff=lfs merge=lfs -text
56
  multi_perspective/checkpoint-500/tokenizer.json filter=lfs diff=lfs merge=lfs -text
57
  multi_perspective/checkpoint-939/tokenizer.json filter=lfs diff=lfs merge=lfs -text
58
  multi_perspective/tokenizer.json filter=lfs diff=lfs merge=lfs -text
 
 
 
 
56
  multi_perspective/checkpoint-500/tokenizer.json filter=lfs diff=lfs merge=lfs -text
57
  multi_perspective/checkpoint-939/tokenizer.json filter=lfs diff=lfs merge=lfs -text
58
  multi_perspective/tokenizer.json filter=lfs diff=lfs merge=lfs -text
59
+ systems_architecture/checkpoint-500/tokenizer.json filter=lfs diff=lfs merge=lfs -text
60
+ systems_architecture/checkpoint-750/tokenizer.json filter=lfs diff=lfs merge=lfs -text
61
+ systems_architecture/tokenizer.json filter=lfs diff=lfs merge=lfs -text
systems_architecture/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: systems_architecture
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 systems_architecture
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
+ ```
systems_architecture/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
+ "v_proj",
34
+ "k_proj",
35
+ "o_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
+ }
systems_architecture/adapter_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:efee471763195d927b69b997ce0241b1da6d5364ba980cdc28a2d3ef1306bc07
3
+ size 27297544
systems_architecture/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 %}
systems_architecture/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
systems_architecture/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
+ "v_proj",
34
+ "k_proj",
35
+ "o_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
+ }
systems_architecture/checkpoint-500/adapter_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:790cf1d5d10eeb8c609f21740f188a775ddf9b7dd50773aa5dedd8eee630b863
3
+ size 27297544
systems_architecture/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 %}
systems_architecture/checkpoint-500/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:84cc596700f0ce2bdd6d6b1e2edbfc0218f24ed91cc6134ae3b90c3b85d286c0
3
+ size 54745547
systems_architecture/checkpoint-500/rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cc411f86a3dedb5fdc85a9a94cd387697fc55fb9fb76f8092d3d8026f166300d
3
+ size 14645
systems_architecture/checkpoint-500/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9112a0b881e5deafd2aa5f4f7fa0120abe4d3a263a4a28ed2d9bd5be41f60e5f
3
+ size 1465
systems_architecture/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
systems_architecture/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
+ }
systems_architecture/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": 2.0,
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.831631177663803,
14
+ "epoch": 0.04,
15
+ "grad_norm": 0.244140625,
16
+ "learning_rate": 7.82608695652174e-05,
17
+ "loss": 2.974593925476074,
18
+ "mean_token_accuracy": 0.44837735742330553,
19
+ "num_tokens": 56835.0,
20
+ "step": 10
21
+ },
22
+ {
23
+ "entropy": 2.363163340091705,
24
+ "epoch": 0.08,
25
+ "grad_norm": 0.279296875,
26
+ "learning_rate": 0.00016521739130434784,
27
+ "loss": 2.495269012451172,
28
+ "mean_token_accuracy": 0.5002785444259643,
29
+ "num_tokens": 114107.0,
30
+ "step": 20
31
+ },
32
+ {
33
+ "entropy": 1.813251292705536,
34
+ "epoch": 0.12,
35
+ "grad_norm": 0.27734375,
36
+ "learning_rate": 0.00019834938101788172,
37
+ "loss": 1.7533149719238281,
38
+ "mean_token_accuracy": 0.6120855540037156,
39
+ "num_tokens": 172181.0,
40
+ "step": 30
41
+ },
42
+ {
43
+ "entropy": 1.2087143391370774,
44
+ "epoch": 0.16,
45
+ "grad_norm": 0.29296875,
46
+ "learning_rate": 0.00019559834938101788,
47
+ "loss": 1.1551313400268555,
48
+ "mean_token_accuracy": 0.7320682689547539,
49
+ "num_tokens": 228966.0,
50
+ "step": 40
51
+ },
52
+ {
53
+ "entropy": 0.8898476287722588,
54
+ "epoch": 0.2,
55
+ "grad_norm": 0.3515625,
56
+ "learning_rate": 0.00019284731774415407,
57
+ "loss": 0.8202892303466797,
58
+ "mean_token_accuracy": 0.8077110454440117,
59
+ "num_tokens": 286049.0,
60
+ "step": 50
61
+ },
62
+ {
63
+ "entropy": 0.5979004308581353,
64
+ "epoch": 0.24,
65
+ "grad_norm": 0.318359375,
66
+ "learning_rate": 0.00019009628610729023,
67
+ "loss": 0.5147843360900879,
68
+ "mean_token_accuracy": 0.8805812850594521,
69
+ "num_tokens": 343217.0,
70
+ "step": 60
71
+ },
72
+ {
73
+ "entropy": 0.44493348374962804,
74
+ "epoch": 0.28,
75
+ "grad_norm": 0.3203125,
76
+ "learning_rate": 0.00018734525447042642,
77
+ "loss": 0.36962141990661623,
78
+ "mean_token_accuracy": 0.9162168890237808,
79
+ "num_tokens": 400428.0,
80
+ "step": 70
81
+ },
82
+ {
83
+ "entropy": 0.3151983067393303,
84
+ "epoch": 0.32,
85
+ "grad_norm": 0.240234375,
86
+ "learning_rate": 0.0001845942228335626,
87
+ "loss": 0.24745488166809082,
88
+ "mean_token_accuracy": 0.9429477244615555,
89
+ "num_tokens": 457978.0,
90
+ "step": 80
91
+ },
92
+ {
93
+ "entropy": 0.22207282930612565,
94
+ "epoch": 0.36,
95
+ "grad_norm": 0.1943359375,
96
+ "learning_rate": 0.00018184319119669877,
97
+ "loss": 0.17560914754867554,
98
+ "mean_token_accuracy": 0.9576984807848931,
99
+ "num_tokens": 515250.0,
100
+ "step": 90
101
+ },
102
+ {
103
+ "entropy": 0.16862639784812927,
104
+ "epoch": 0.4,
105
+ "grad_norm": 0.18359375,
106
+ "learning_rate": 0.00017909215955983493,
107
+ "loss": 0.1419994592666626,
108
+ "mean_token_accuracy": 0.9643084019422531,
109
+ "num_tokens": 572864.0,
110
+ "step": 100
111
+ },
112
+ {
113
+ "entropy": 0.1560344982892275,
114
+ "epoch": 0.44,
115
+ "grad_norm": 0.2099609375,
116
+ "learning_rate": 0.00017634112792297112,
117
+ "loss": 0.1297089695930481,
118
+ "mean_token_accuracy": 0.9668274000287056,
119
+ "num_tokens": 630685.0,
120
+ "step": 110
121
+ },
122
+ {
123
+ "entropy": 0.14314286448061467,
124
+ "epoch": 0.48,
125
+ "grad_norm": 0.1875,
126
+ "learning_rate": 0.00017359009628610728,
127
+ "loss": 0.12052817344665527,
128
+ "mean_token_accuracy": 0.9677162140607833,
129
+ "num_tokens": 688481.0,
130
+ "step": 120
131
+ },
132
+ {
133
+ "entropy": 0.13037493284791707,
134
+ "epoch": 0.52,
135
+ "grad_norm": 0.138671875,
136
+ "learning_rate": 0.00017083906464924347,
137
+ "loss": 0.10464142560958863,
138
+ "mean_token_accuracy": 0.9696650385856629,
139
+ "num_tokens": 745002.0,
140
+ "step": 130
141
+ },
142
+ {
143
+ "entropy": 0.11944256238639354,
144
+ "epoch": 0.56,
145
+ "grad_norm": 0.1494140625,
146
+ "learning_rate": 0.00016808803301237966,
147
+ "loss": 0.09904866218566895,
148
+ "mean_token_accuracy": 0.9698482543230057,
149
+ "num_tokens": 802861.0,
150
+ "step": 140
151
+ },
152
+ {
153
+ "entropy": 0.11798511017113925,
154
+ "epoch": 0.6,
155
+ "grad_norm": 0.138671875,
156
+ "learning_rate": 0.00016533700137551582,
157
+ "loss": 0.09443984627723694,
158
+ "mean_token_accuracy": 0.9703530088067055,
159
+ "num_tokens": 860119.0,
160
+ "step": 150
161
+ },
162
+ {
163
+ "entropy": 0.10734185334295035,
164
+ "epoch": 0.64,
165
+ "grad_norm": 0.1513671875,
166
+ "learning_rate": 0.000162585969738652,
167
+ "loss": 0.08887989521026611,
168
+ "mean_token_accuracy": 0.9717760428786277,
169
+ "num_tokens": 918066.0,
170
+ "step": 160
171
+ },
172
+ {
173
+ "entropy": 0.1028976334258914,
174
+ "epoch": 0.68,
175
+ "grad_norm": 0.10546875,
176
+ "learning_rate": 0.00015983493810178817,
177
+ "loss": 0.08855553865432739,
178
+ "mean_token_accuracy": 0.9718023672699928,
179
+ "num_tokens": 974986.0,
180
+ "step": 170
181
+ },
182
+ {
183
+ "entropy": 0.10259243175387382,
184
+ "epoch": 0.72,
185
+ "grad_norm": 0.0859375,
186
+ "learning_rate": 0.00015708390646492434,
187
+ "loss": 0.08764291405677796,
188
+ "mean_token_accuracy": 0.9717732563614845,
189
+ "num_tokens": 1032102.0,
190
+ "step": 180
191
+ },
192
+ {
193
+ "entropy": 0.098638572730124,
194
+ "epoch": 0.76,
195
+ "grad_norm": 0.09228515625,
196
+ "learning_rate": 0.00015433287482806052,
197
+ "loss": 0.08485565185546876,
198
+ "mean_token_accuracy": 0.972298750281334,
199
+ "num_tokens": 1089632.0,
200
+ "step": 190
201
+ },
202
+ {
203
+ "entropy": 0.09566142242401839,
204
+ "epoch": 0.8,
205
+ "grad_norm": 0.06640625,
206
+ "learning_rate": 0.0001515818431911967,
207
+ "loss": 0.08404896259307862,
208
+ "mean_token_accuracy": 0.9714387357234955,
209
+ "num_tokens": 1146664.0,
210
+ "step": 200
211
+ },
212
+ {
213
+ "entropy": 0.09407949522137642,
214
+ "epoch": 0.84,
215
+ "grad_norm": 0.0849609375,
216
+ "learning_rate": 0.00014883081155433287,
217
+ "loss": 0.08326147198677063,
218
+ "mean_token_accuracy": 0.9716551378369331,
219
+ "num_tokens": 1204222.0,
220
+ "step": 210
221
+ },
222
+ {
223
+ "entropy": 0.09110816903412342,
224
+ "epoch": 0.88,
225
+ "grad_norm": 0.1416015625,
226
+ "learning_rate": 0.00014607977991746906,
227
+ "loss": 0.08163387179374695,
228
+ "mean_token_accuracy": 0.9735932037234306,
229
+ "num_tokens": 1262373.0,
230
+ "step": 220
231
+ },
232
+ {
233
+ "entropy": 0.09319519232958555,
234
+ "epoch": 0.92,
235
+ "grad_norm": 0.11279296875,
236
+ "learning_rate": 0.00014332874828060522,
237
+ "loss": 0.08169084191322326,
238
+ "mean_token_accuracy": 0.9729587063193321,
239
+ "num_tokens": 1320008.0,
240
+ "step": 230
241
+ },
242
+ {
243
+ "entropy": 0.08894558791071176,
244
+ "epoch": 0.96,
245
+ "grad_norm": 0.0966796875,
246
+ "learning_rate": 0.0001405777166437414,
247
+ "loss": 0.07934710383415222,
248
+ "mean_token_accuracy": 0.9734271585941314,
249
+ "num_tokens": 1377843.0,
250
+ "step": 240
251
+ },
252
+ {
253
+ "entropy": 0.08823800217360259,
254
+ "epoch": 1.0,
255
+ "grad_norm": 0.07080078125,
256
+ "learning_rate": 0.00013782668500687757,
257
+ "loss": 0.07893869876861573,
258
+ "mean_token_accuracy": 0.9728106811642647,
259
+ "num_tokens": 1434866.0,
260
+ "step": 250
261
+ },
262
+ {
263
+ "entropy": 0.08686934374272823,
264
+ "epoch": 1.04,
265
+ "grad_norm": 0.11376953125,
266
+ "learning_rate": 0.00013507565337001376,
267
+ "loss": 0.07582277655601502,
268
+ "mean_token_accuracy": 0.9733568549156189,
269
+ "num_tokens": 1492071.0,
270
+ "step": 260
271
+ },
272
+ {
273
+ "entropy": 0.08373330421745777,
274
+ "epoch": 1.08,
275
+ "grad_norm": 0.07080078125,
276
+ "learning_rate": 0.00013232462173314995,
277
+ "loss": 0.07718510627746582,
278
+ "mean_token_accuracy": 0.9731106236577034,
279
+ "num_tokens": 1549552.0,
280
+ "step": 270
281
+ },
282
+ {
283
+ "entropy": 0.084004813618958,
284
+ "epoch": 1.12,
285
+ "grad_norm": 0.11279296875,
286
+ "learning_rate": 0.0001295735900962861,
287
+ "loss": 0.07427827119827271,
288
+ "mean_token_accuracy": 0.9736398577690124,
289
+ "num_tokens": 1607494.0,
290
+ "step": 280
291
+ },
292
+ {
293
+ "entropy": 0.08272411786019802,
294
+ "epoch": 1.16,
295
+ "grad_norm": 0.07421875,
296
+ "learning_rate": 0.00012682255845942227,
297
+ "loss": 0.07551226019859314,
298
+ "mean_token_accuracy": 0.9743342638015747,
299
+ "num_tokens": 1665378.0,
300
+ "step": 290
301
+ },
302
+ {
303
+ "entropy": 0.08240072410553693,
304
+ "epoch": 1.2,
305
+ "grad_norm": 0.0654296875,
306
+ "learning_rate": 0.00012407152682255846,
307
+ "loss": 0.0754347562789917,
308
+ "mean_token_accuracy": 0.9737643241882324,
309
+ "num_tokens": 1722959.0,
310
+ "step": 300
311
+ },
312
+ {
313
+ "entropy": 0.08303774800151587,
314
+ "epoch": 1.24,
315
+ "grad_norm": 0.0634765625,
316
+ "learning_rate": 0.00012132049518569464,
317
+ "loss": 0.07487321496009827,
318
+ "mean_token_accuracy": 0.9743058025836945,
319
+ "num_tokens": 1780218.0,
320
+ "step": 310
321
+ },
322
+ {
323
+ "entropy": 0.08092765398323536,
324
+ "epoch": 1.28,
325
+ "grad_norm": 0.07177734375,
326
+ "learning_rate": 0.00011856946354883083,
327
+ "loss": 0.07463005781173707,
328
+ "mean_token_accuracy": 0.9733867138624192,
329
+ "num_tokens": 1837466.0,
330
+ "step": 320
331
+ },
332
+ {
333
+ "entropy": 0.08208855874836445,
334
+ "epoch": 1.32,
335
+ "grad_norm": 0.068359375,
336
+ "learning_rate": 0.000115818431911967,
337
+ "loss": 0.07474936842918396,
338
+ "mean_token_accuracy": 0.9732388690114021,
339
+ "num_tokens": 1895209.0,
340
+ "step": 330
341
+ },
342
+ {
343
+ "entropy": 0.08203857447952032,
344
+ "epoch": 1.3599999999999999,
345
+ "grad_norm": 0.061279296875,
346
+ "learning_rate": 0.00011306740027510316,
347
+ "loss": 0.07499618530273437,
348
+ "mean_token_accuracy": 0.973552992939949,
349
+ "num_tokens": 1952043.0,
350
+ "step": 340
351
+ },
352
+ {
353
+ "entropy": 0.08154047783464194,
354
+ "epoch": 1.4,
355
+ "grad_norm": 0.125,
356
+ "learning_rate": 0.00011031636863823935,
357
+ "loss": 0.07443073987960816,
358
+ "mean_token_accuracy": 0.9735435858368874,
359
+ "num_tokens": 2009457.0,
360
+ "step": 350
361
+ },
362
+ {
363
+ "entropy": 0.07947523649781943,
364
+ "epoch": 1.44,
365
+ "grad_norm": 0.138671875,
366
+ "learning_rate": 0.00010756533700137553,
367
+ "loss": 0.07478668689727783,
368
+ "mean_token_accuracy": 0.9733760103583335,
369
+ "num_tokens": 2066800.0,
370
+ "step": 360
371
+ },
372
+ {
373
+ "entropy": 0.08380658496171237,
374
+ "epoch": 1.48,
375
+ "grad_norm": 0.06591796875,
376
+ "learning_rate": 0.00010481430536451169,
377
+ "loss": 0.07588631510734559,
378
+ "mean_token_accuracy": 0.9726371243596077,
379
+ "num_tokens": 2123615.0,
380
+ "step": 370
381
+ },
382
+ {
383
+ "entropy": 0.07868825942277909,
384
+ "epoch": 1.52,
385
+ "grad_norm": 0.0625,
386
+ "learning_rate": 0.00010206327372764788,
387
+ "loss": 0.07382480502128601,
388
+ "mean_token_accuracy": 0.9734554082155228,
389
+ "num_tokens": 2180761.0,
390
+ "step": 380
391
+ },
392
+ {
393
+ "entropy": 0.08045392464846372,
394
+ "epoch": 1.56,
395
+ "grad_norm": 0.0712890625,
396
+ "learning_rate": 9.931224209078405e-05,
397
+ "loss": 0.07296133041381836,
398
+ "mean_token_accuracy": 0.9743401378393173,
399
+ "num_tokens": 2238118.0,
400
+ "step": 390
401
+ },
402
+ {
403
+ "entropy": 0.07877862453460693,
404
+ "epoch": 1.6,
405
+ "grad_norm": 0.06591796875,
406
+ "learning_rate": 9.656121045392023e-05,
407
+ "loss": 0.07205032110214234,
408
+ "mean_token_accuracy": 0.9738936349749565,
409
+ "num_tokens": 2295648.0,
410
+ "step": 400
411
+ },
412
+ {
413
+ "entropy": 0.0785924194380641,
414
+ "epoch": 1.6400000000000001,
415
+ "grad_norm": 0.06494140625,
416
+ "learning_rate": 9.38101788170564e-05,
417
+ "loss": 0.0710708737373352,
418
+ "mean_token_accuracy": 0.9743639975786209,
419
+ "num_tokens": 2353524.0,
420
+ "step": 410
421
+ },
422
+ {
423
+ "entropy": 0.07772396560758352,
424
+ "epoch": 1.6800000000000002,
425
+ "grad_norm": 0.0625,
426
+ "learning_rate": 9.105914718019258e-05,
427
+ "loss": 0.07093532085418701,
428
+ "mean_token_accuracy": 0.9741286411881447,
429
+ "num_tokens": 2411420.0,
430
+ "step": 420
431
+ },
432
+ {
433
+ "entropy": 0.0761548737064004,
434
+ "epoch": 1.72,
435
+ "grad_norm": 0.0556640625,
436
+ "learning_rate": 8.830811554332875e-05,
437
+ "loss": 0.0710742712020874,
438
+ "mean_token_accuracy": 0.9740030631422997,
439
+ "num_tokens": 2468241.0,
440
+ "step": 430
441
+ },
442
+ {
443
+ "entropy": 0.076459695212543,
444
+ "epoch": 1.76,
445
+ "grad_norm": 0.053955078125,
446
+ "learning_rate": 8.555708390646493e-05,
447
+ "loss": 0.07021233439445496,
448
+ "mean_token_accuracy": 0.9747533485293388,
449
+ "num_tokens": 2525165.0,
450
+ "step": 440
451
+ },
452
+ {
453
+ "entropy": 0.07564340028911828,
454
+ "epoch": 1.8,
455
+ "grad_norm": 0.0546875,
456
+ "learning_rate": 8.28060522696011e-05,
457
+ "loss": 0.07023961544036865,
458
+ "mean_token_accuracy": 0.9742003872990608,
459
+ "num_tokens": 2582555.0,
460
+ "step": 450
461
+ },
462
+ {
463
+ "entropy": 0.07555819675326347,
464
+ "epoch": 1.8399999999999999,
465
+ "grad_norm": 0.057373046875,
466
+ "learning_rate": 8.005502063273728e-05,
467
+ "loss": 0.06979646682739257,
468
+ "mean_token_accuracy": 0.9746812865138054,
469
+ "num_tokens": 2640287.0,
470
+ "step": 460
471
+ },
472
+ {
473
+ "entropy": 0.07584331352263689,
474
+ "epoch": 1.88,
475
+ "grad_norm": 0.058837890625,
476
+ "learning_rate": 7.730398899587345e-05,
477
+ "loss": 0.06978915929794312,
478
+ "mean_token_accuracy": 0.9738707944750786,
479
+ "num_tokens": 2698113.0,
480
+ "step": 470
481
+ },
482
+ {
483
+ "entropy": 0.07574248854070902,
484
+ "epoch": 1.92,
485
+ "grad_norm": 0.0546875,
486
+ "learning_rate": 7.455295735900963e-05,
487
+ "loss": 0.07078564167022705,
488
+ "mean_token_accuracy": 0.9744302809238434,
489
+ "num_tokens": 2755001.0,
490
+ "step": 480
491
+ },
492
+ {
493
+ "entropy": 0.07420812174677849,
494
+ "epoch": 1.96,
495
+ "grad_norm": 0.060791015625,
496
+ "learning_rate": 7.180192572214582e-05,
497
+ "loss": 0.0690510630607605,
498
+ "mean_token_accuracy": 0.9741028293967247,
499
+ "num_tokens": 2812409.0,
500
+ "step": 490
501
+ },
502
+ {
503
+ "entropy": 0.0766633976250887,
504
+ "epoch": 2.0,
505
+ "grad_norm": 0.0615234375,
506
+ "learning_rate": 6.905089408528198e-05,
507
+ "loss": 0.07052810788154602,
508
+ "mean_token_accuracy": 0.9740585401654244,
509
+ "num_tokens": 2869732.0,
510
+ "step": 500
511
+ }
512
+ ],
513
+ "logging_steps": 10,
514
+ "max_steps": 750,
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.3420090431823872e+17,
531
+ "train_batch_size": 2,
532
+ "trial_name": null,
533
+ "trial_params": null
534
+ }
systems_architecture/checkpoint-500/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b7adf5366e1f3a3d177f0801d84e2b0efb8b20382389e4d5d492b16ad5565e16
3
+ size 5649
systems_architecture/checkpoint-750/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
systems_architecture/checkpoint-750/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
+ "v_proj",
34
+ "k_proj",
35
+ "o_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
+ }
systems_architecture/checkpoint-750/adapter_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:efee471763195d927b69b997ce0241b1da6d5364ba980cdc28a2d3ef1306bc07
3
+ size 27297544
systems_architecture/checkpoint-750/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 %}
systems_architecture/checkpoint-750/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c7305f02dc019b42880fb8ceabffc506f7ea2bd904e3037a980d8bd11aa410d0
3
+ size 54745547
systems_architecture/checkpoint-750/rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:37aea098b187fa7071b30c492185de1ee988ec63977567c3edfd49caf4b3bf75
3
+ size 14645
systems_architecture/checkpoint-750/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:da6cffd29d107485fd65a3291d66df7b87424f25de973bb529c2fbe605d9c752
3
+ size 1465
systems_architecture/checkpoint-750/tokenizer.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6b9e4e7fb171f92fd137b777cc2714bf87d11576700a1dcd7a399e7bbe39537b
3
+ size 17209920
systems_architecture/checkpoint-750/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
+ }
systems_architecture/checkpoint-750/trainer_state.json ADDED
@@ -0,0 +1,784 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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": 750,
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.831631177663803,
14
+ "epoch": 0.04,
15
+ "grad_norm": 0.244140625,
16
+ "learning_rate": 7.82608695652174e-05,
17
+ "loss": 2.974593925476074,
18
+ "mean_token_accuracy": 0.44837735742330553,
19
+ "num_tokens": 56835.0,
20
+ "step": 10
21
+ },
22
+ {
23
+ "entropy": 2.363163340091705,
24
+ "epoch": 0.08,
25
+ "grad_norm": 0.279296875,
26
+ "learning_rate": 0.00016521739130434784,
27
+ "loss": 2.495269012451172,
28
+ "mean_token_accuracy": 0.5002785444259643,
29
+ "num_tokens": 114107.0,
30
+ "step": 20
31
+ },
32
+ {
33
+ "entropy": 1.813251292705536,
34
+ "epoch": 0.12,
35
+ "grad_norm": 0.27734375,
36
+ "learning_rate": 0.00019834938101788172,
37
+ "loss": 1.7533149719238281,
38
+ "mean_token_accuracy": 0.6120855540037156,
39
+ "num_tokens": 172181.0,
40
+ "step": 30
41
+ },
42
+ {
43
+ "entropy": 1.2087143391370774,
44
+ "epoch": 0.16,
45
+ "grad_norm": 0.29296875,
46
+ "learning_rate": 0.00019559834938101788,
47
+ "loss": 1.1551313400268555,
48
+ "mean_token_accuracy": 0.7320682689547539,
49
+ "num_tokens": 228966.0,
50
+ "step": 40
51
+ },
52
+ {
53
+ "entropy": 0.8898476287722588,
54
+ "epoch": 0.2,
55
+ "grad_norm": 0.3515625,
56
+ "learning_rate": 0.00019284731774415407,
57
+ "loss": 0.8202892303466797,
58
+ "mean_token_accuracy": 0.8077110454440117,
59
+ "num_tokens": 286049.0,
60
+ "step": 50
61
+ },
62
+ {
63
+ "entropy": 0.5979004308581353,
64
+ "epoch": 0.24,
65
+ "grad_norm": 0.318359375,
66
+ "learning_rate": 0.00019009628610729023,
67
+ "loss": 0.5147843360900879,
68
+ "mean_token_accuracy": 0.8805812850594521,
69
+ "num_tokens": 343217.0,
70
+ "step": 60
71
+ },
72
+ {
73
+ "entropy": 0.44493348374962804,
74
+ "epoch": 0.28,
75
+ "grad_norm": 0.3203125,
76
+ "learning_rate": 0.00018734525447042642,
77
+ "loss": 0.36962141990661623,
78
+ "mean_token_accuracy": 0.9162168890237808,
79
+ "num_tokens": 400428.0,
80
+ "step": 70
81
+ },
82
+ {
83
+ "entropy": 0.3151983067393303,
84
+ "epoch": 0.32,
85
+ "grad_norm": 0.240234375,
86
+ "learning_rate": 0.0001845942228335626,
87
+ "loss": 0.24745488166809082,
88
+ "mean_token_accuracy": 0.9429477244615555,
89
+ "num_tokens": 457978.0,
90
+ "step": 80
91
+ },
92
+ {
93
+ "entropy": 0.22207282930612565,
94
+ "epoch": 0.36,
95
+ "grad_norm": 0.1943359375,
96
+ "learning_rate": 0.00018184319119669877,
97
+ "loss": 0.17560914754867554,
98
+ "mean_token_accuracy": 0.9576984807848931,
99
+ "num_tokens": 515250.0,
100
+ "step": 90
101
+ },
102
+ {
103
+ "entropy": 0.16862639784812927,
104
+ "epoch": 0.4,
105
+ "grad_norm": 0.18359375,
106
+ "learning_rate": 0.00017909215955983493,
107
+ "loss": 0.1419994592666626,
108
+ "mean_token_accuracy": 0.9643084019422531,
109
+ "num_tokens": 572864.0,
110
+ "step": 100
111
+ },
112
+ {
113
+ "entropy": 0.1560344982892275,
114
+ "epoch": 0.44,
115
+ "grad_norm": 0.2099609375,
116
+ "learning_rate": 0.00017634112792297112,
117
+ "loss": 0.1297089695930481,
118
+ "mean_token_accuracy": 0.9668274000287056,
119
+ "num_tokens": 630685.0,
120
+ "step": 110
121
+ },
122
+ {
123
+ "entropy": 0.14314286448061467,
124
+ "epoch": 0.48,
125
+ "grad_norm": 0.1875,
126
+ "learning_rate": 0.00017359009628610728,
127
+ "loss": 0.12052817344665527,
128
+ "mean_token_accuracy": 0.9677162140607833,
129
+ "num_tokens": 688481.0,
130
+ "step": 120
131
+ },
132
+ {
133
+ "entropy": 0.13037493284791707,
134
+ "epoch": 0.52,
135
+ "grad_norm": 0.138671875,
136
+ "learning_rate": 0.00017083906464924347,
137
+ "loss": 0.10464142560958863,
138
+ "mean_token_accuracy": 0.9696650385856629,
139
+ "num_tokens": 745002.0,
140
+ "step": 130
141
+ },
142
+ {
143
+ "entropy": 0.11944256238639354,
144
+ "epoch": 0.56,
145
+ "grad_norm": 0.1494140625,
146
+ "learning_rate": 0.00016808803301237966,
147
+ "loss": 0.09904866218566895,
148
+ "mean_token_accuracy": 0.9698482543230057,
149
+ "num_tokens": 802861.0,
150
+ "step": 140
151
+ },
152
+ {
153
+ "entropy": 0.11798511017113925,
154
+ "epoch": 0.6,
155
+ "grad_norm": 0.138671875,
156
+ "learning_rate": 0.00016533700137551582,
157
+ "loss": 0.09443984627723694,
158
+ "mean_token_accuracy": 0.9703530088067055,
159
+ "num_tokens": 860119.0,
160
+ "step": 150
161
+ },
162
+ {
163
+ "entropy": 0.10734185334295035,
164
+ "epoch": 0.64,
165
+ "grad_norm": 0.1513671875,
166
+ "learning_rate": 0.000162585969738652,
167
+ "loss": 0.08887989521026611,
168
+ "mean_token_accuracy": 0.9717760428786277,
169
+ "num_tokens": 918066.0,
170
+ "step": 160
171
+ },
172
+ {
173
+ "entropy": 0.1028976334258914,
174
+ "epoch": 0.68,
175
+ "grad_norm": 0.10546875,
176
+ "learning_rate": 0.00015983493810178817,
177
+ "loss": 0.08855553865432739,
178
+ "mean_token_accuracy": 0.9718023672699928,
179
+ "num_tokens": 974986.0,
180
+ "step": 170
181
+ },
182
+ {
183
+ "entropy": 0.10259243175387382,
184
+ "epoch": 0.72,
185
+ "grad_norm": 0.0859375,
186
+ "learning_rate": 0.00015708390646492434,
187
+ "loss": 0.08764291405677796,
188
+ "mean_token_accuracy": 0.9717732563614845,
189
+ "num_tokens": 1032102.0,
190
+ "step": 180
191
+ },
192
+ {
193
+ "entropy": 0.098638572730124,
194
+ "epoch": 0.76,
195
+ "grad_norm": 0.09228515625,
196
+ "learning_rate": 0.00015433287482806052,
197
+ "loss": 0.08485565185546876,
198
+ "mean_token_accuracy": 0.972298750281334,
199
+ "num_tokens": 1089632.0,
200
+ "step": 190
201
+ },
202
+ {
203
+ "entropy": 0.09566142242401839,
204
+ "epoch": 0.8,
205
+ "grad_norm": 0.06640625,
206
+ "learning_rate": 0.0001515818431911967,
207
+ "loss": 0.08404896259307862,
208
+ "mean_token_accuracy": 0.9714387357234955,
209
+ "num_tokens": 1146664.0,
210
+ "step": 200
211
+ },
212
+ {
213
+ "entropy": 0.09407949522137642,
214
+ "epoch": 0.84,
215
+ "grad_norm": 0.0849609375,
216
+ "learning_rate": 0.00014883081155433287,
217
+ "loss": 0.08326147198677063,
218
+ "mean_token_accuracy": 0.9716551378369331,
219
+ "num_tokens": 1204222.0,
220
+ "step": 210
221
+ },
222
+ {
223
+ "entropy": 0.09110816903412342,
224
+ "epoch": 0.88,
225
+ "grad_norm": 0.1416015625,
226
+ "learning_rate": 0.00014607977991746906,
227
+ "loss": 0.08163387179374695,
228
+ "mean_token_accuracy": 0.9735932037234306,
229
+ "num_tokens": 1262373.0,
230
+ "step": 220
231
+ },
232
+ {
233
+ "entropy": 0.09319519232958555,
234
+ "epoch": 0.92,
235
+ "grad_norm": 0.11279296875,
236
+ "learning_rate": 0.00014332874828060522,
237
+ "loss": 0.08169084191322326,
238
+ "mean_token_accuracy": 0.9729587063193321,
239
+ "num_tokens": 1320008.0,
240
+ "step": 230
241
+ },
242
+ {
243
+ "entropy": 0.08894558791071176,
244
+ "epoch": 0.96,
245
+ "grad_norm": 0.0966796875,
246
+ "learning_rate": 0.0001405777166437414,
247
+ "loss": 0.07934710383415222,
248
+ "mean_token_accuracy": 0.9734271585941314,
249
+ "num_tokens": 1377843.0,
250
+ "step": 240
251
+ },
252
+ {
253
+ "entropy": 0.08823800217360259,
254
+ "epoch": 1.0,
255
+ "grad_norm": 0.07080078125,
256
+ "learning_rate": 0.00013782668500687757,
257
+ "loss": 0.07893869876861573,
258
+ "mean_token_accuracy": 0.9728106811642647,
259
+ "num_tokens": 1434866.0,
260
+ "step": 250
261
+ },
262
+ {
263
+ "entropy": 0.08686934374272823,
264
+ "epoch": 1.04,
265
+ "grad_norm": 0.11376953125,
266
+ "learning_rate": 0.00013507565337001376,
267
+ "loss": 0.07582277655601502,
268
+ "mean_token_accuracy": 0.9733568549156189,
269
+ "num_tokens": 1492071.0,
270
+ "step": 260
271
+ },
272
+ {
273
+ "entropy": 0.08373330421745777,
274
+ "epoch": 1.08,
275
+ "grad_norm": 0.07080078125,
276
+ "learning_rate": 0.00013232462173314995,
277
+ "loss": 0.07718510627746582,
278
+ "mean_token_accuracy": 0.9731106236577034,
279
+ "num_tokens": 1549552.0,
280
+ "step": 270
281
+ },
282
+ {
283
+ "entropy": 0.084004813618958,
284
+ "epoch": 1.12,
285
+ "grad_norm": 0.11279296875,
286
+ "learning_rate": 0.0001295735900962861,
287
+ "loss": 0.07427827119827271,
288
+ "mean_token_accuracy": 0.9736398577690124,
289
+ "num_tokens": 1607494.0,
290
+ "step": 280
291
+ },
292
+ {
293
+ "entropy": 0.08272411786019802,
294
+ "epoch": 1.16,
295
+ "grad_norm": 0.07421875,
296
+ "learning_rate": 0.00012682255845942227,
297
+ "loss": 0.07551226019859314,
298
+ "mean_token_accuracy": 0.9743342638015747,
299
+ "num_tokens": 1665378.0,
300
+ "step": 290
301
+ },
302
+ {
303
+ "entropy": 0.08240072410553693,
304
+ "epoch": 1.2,
305
+ "grad_norm": 0.0654296875,
306
+ "learning_rate": 0.00012407152682255846,
307
+ "loss": 0.0754347562789917,
308
+ "mean_token_accuracy": 0.9737643241882324,
309
+ "num_tokens": 1722959.0,
310
+ "step": 300
311
+ },
312
+ {
313
+ "entropy": 0.08303774800151587,
314
+ "epoch": 1.24,
315
+ "grad_norm": 0.0634765625,
316
+ "learning_rate": 0.00012132049518569464,
317
+ "loss": 0.07487321496009827,
318
+ "mean_token_accuracy": 0.9743058025836945,
319
+ "num_tokens": 1780218.0,
320
+ "step": 310
321
+ },
322
+ {
323
+ "entropy": 0.08092765398323536,
324
+ "epoch": 1.28,
325
+ "grad_norm": 0.07177734375,
326
+ "learning_rate": 0.00011856946354883083,
327
+ "loss": 0.07463005781173707,
328
+ "mean_token_accuracy": 0.9733867138624192,
329
+ "num_tokens": 1837466.0,
330
+ "step": 320
331
+ },
332
+ {
333
+ "entropy": 0.08208855874836445,
334
+ "epoch": 1.32,
335
+ "grad_norm": 0.068359375,
336
+ "learning_rate": 0.000115818431911967,
337
+ "loss": 0.07474936842918396,
338
+ "mean_token_accuracy": 0.9732388690114021,
339
+ "num_tokens": 1895209.0,
340
+ "step": 330
341
+ },
342
+ {
343
+ "entropy": 0.08203857447952032,
344
+ "epoch": 1.3599999999999999,
345
+ "grad_norm": 0.061279296875,
346
+ "learning_rate": 0.00011306740027510316,
347
+ "loss": 0.07499618530273437,
348
+ "mean_token_accuracy": 0.973552992939949,
349
+ "num_tokens": 1952043.0,
350
+ "step": 340
351
+ },
352
+ {
353
+ "entropy": 0.08154047783464194,
354
+ "epoch": 1.4,
355
+ "grad_norm": 0.125,
356
+ "learning_rate": 0.00011031636863823935,
357
+ "loss": 0.07443073987960816,
358
+ "mean_token_accuracy": 0.9735435858368874,
359
+ "num_tokens": 2009457.0,
360
+ "step": 350
361
+ },
362
+ {
363
+ "entropy": 0.07947523649781943,
364
+ "epoch": 1.44,
365
+ "grad_norm": 0.138671875,
366
+ "learning_rate": 0.00010756533700137553,
367
+ "loss": 0.07478668689727783,
368
+ "mean_token_accuracy": 0.9733760103583335,
369
+ "num_tokens": 2066800.0,
370
+ "step": 360
371
+ },
372
+ {
373
+ "entropy": 0.08380658496171237,
374
+ "epoch": 1.48,
375
+ "grad_norm": 0.06591796875,
376
+ "learning_rate": 0.00010481430536451169,
377
+ "loss": 0.07588631510734559,
378
+ "mean_token_accuracy": 0.9726371243596077,
379
+ "num_tokens": 2123615.0,
380
+ "step": 370
381
+ },
382
+ {
383
+ "entropy": 0.07868825942277909,
384
+ "epoch": 1.52,
385
+ "grad_norm": 0.0625,
386
+ "learning_rate": 0.00010206327372764788,
387
+ "loss": 0.07382480502128601,
388
+ "mean_token_accuracy": 0.9734554082155228,
389
+ "num_tokens": 2180761.0,
390
+ "step": 380
391
+ },
392
+ {
393
+ "entropy": 0.08045392464846372,
394
+ "epoch": 1.56,
395
+ "grad_norm": 0.0712890625,
396
+ "learning_rate": 9.931224209078405e-05,
397
+ "loss": 0.07296133041381836,
398
+ "mean_token_accuracy": 0.9743401378393173,
399
+ "num_tokens": 2238118.0,
400
+ "step": 390
401
+ },
402
+ {
403
+ "entropy": 0.07877862453460693,
404
+ "epoch": 1.6,
405
+ "grad_norm": 0.06591796875,
406
+ "learning_rate": 9.656121045392023e-05,
407
+ "loss": 0.07205032110214234,
408
+ "mean_token_accuracy": 0.9738936349749565,
409
+ "num_tokens": 2295648.0,
410
+ "step": 400
411
+ },
412
+ {
413
+ "entropy": 0.0785924194380641,
414
+ "epoch": 1.6400000000000001,
415
+ "grad_norm": 0.06494140625,
416
+ "learning_rate": 9.38101788170564e-05,
417
+ "loss": 0.0710708737373352,
418
+ "mean_token_accuracy": 0.9743639975786209,
419
+ "num_tokens": 2353524.0,
420
+ "step": 410
421
+ },
422
+ {
423
+ "entropy": 0.07772396560758352,
424
+ "epoch": 1.6800000000000002,
425
+ "grad_norm": 0.0625,
426
+ "learning_rate": 9.105914718019258e-05,
427
+ "loss": 0.07093532085418701,
428
+ "mean_token_accuracy": 0.9741286411881447,
429
+ "num_tokens": 2411420.0,
430
+ "step": 420
431
+ },
432
+ {
433
+ "entropy": 0.0761548737064004,
434
+ "epoch": 1.72,
435
+ "grad_norm": 0.0556640625,
436
+ "learning_rate": 8.830811554332875e-05,
437
+ "loss": 0.0710742712020874,
438
+ "mean_token_accuracy": 0.9740030631422997,
439
+ "num_tokens": 2468241.0,
440
+ "step": 430
441
+ },
442
+ {
443
+ "entropy": 0.076459695212543,
444
+ "epoch": 1.76,
445
+ "grad_norm": 0.053955078125,
446
+ "learning_rate": 8.555708390646493e-05,
447
+ "loss": 0.07021233439445496,
448
+ "mean_token_accuracy": 0.9747533485293388,
449
+ "num_tokens": 2525165.0,
450
+ "step": 440
451
+ },
452
+ {
453
+ "entropy": 0.07564340028911828,
454
+ "epoch": 1.8,
455
+ "grad_norm": 0.0546875,
456
+ "learning_rate": 8.28060522696011e-05,
457
+ "loss": 0.07023961544036865,
458
+ "mean_token_accuracy": 0.9742003872990608,
459
+ "num_tokens": 2582555.0,
460
+ "step": 450
461
+ },
462
+ {
463
+ "entropy": 0.07555819675326347,
464
+ "epoch": 1.8399999999999999,
465
+ "grad_norm": 0.057373046875,
466
+ "learning_rate": 8.005502063273728e-05,
467
+ "loss": 0.06979646682739257,
468
+ "mean_token_accuracy": 0.9746812865138054,
469
+ "num_tokens": 2640287.0,
470
+ "step": 460
471
+ },
472
+ {
473
+ "entropy": 0.07584331352263689,
474
+ "epoch": 1.88,
475
+ "grad_norm": 0.058837890625,
476
+ "learning_rate": 7.730398899587345e-05,
477
+ "loss": 0.06978915929794312,
478
+ "mean_token_accuracy": 0.9738707944750786,
479
+ "num_tokens": 2698113.0,
480
+ "step": 470
481
+ },
482
+ {
483
+ "entropy": 0.07574248854070902,
484
+ "epoch": 1.92,
485
+ "grad_norm": 0.0546875,
486
+ "learning_rate": 7.455295735900963e-05,
487
+ "loss": 0.07078564167022705,
488
+ "mean_token_accuracy": 0.9744302809238434,
489
+ "num_tokens": 2755001.0,
490
+ "step": 480
491
+ },
492
+ {
493
+ "entropy": 0.07420812174677849,
494
+ "epoch": 1.96,
495
+ "grad_norm": 0.060791015625,
496
+ "learning_rate": 7.180192572214582e-05,
497
+ "loss": 0.0690510630607605,
498
+ "mean_token_accuracy": 0.9741028293967247,
499
+ "num_tokens": 2812409.0,
500
+ "step": 490
501
+ },
502
+ {
503
+ "entropy": 0.0766633976250887,
504
+ "epoch": 2.0,
505
+ "grad_norm": 0.0615234375,
506
+ "learning_rate": 6.905089408528198e-05,
507
+ "loss": 0.07052810788154602,
508
+ "mean_token_accuracy": 0.9740585401654244,
509
+ "num_tokens": 2869732.0,
510
+ "step": 500
511
+ },
512
+ {
513
+ "entropy": 0.07450702395290136,
514
+ "epoch": 2.04,
515
+ "grad_norm": 0.058837890625,
516
+ "learning_rate": 6.629986244841817e-05,
517
+ "loss": 0.0680592954158783,
518
+ "mean_token_accuracy": 0.9747214958071708,
519
+ "num_tokens": 2926598.0,
520
+ "step": 510
521
+ },
522
+ {
523
+ "entropy": 0.07242667190730571,
524
+ "epoch": 2.08,
525
+ "grad_norm": 0.06201171875,
526
+ "learning_rate": 6.354883081155434e-05,
527
+ "loss": 0.06810096502304078,
528
+ "mean_token_accuracy": 0.9751271739602089,
529
+ "num_tokens": 2984207.0,
530
+ "step": 520
531
+ },
532
+ {
533
+ "entropy": 0.07396577894687653,
534
+ "epoch": 2.12,
535
+ "grad_norm": 0.0537109375,
536
+ "learning_rate": 6.0797799174690516e-05,
537
+ "loss": 0.06827588081359863,
538
+ "mean_token_accuracy": 0.9745573714375496,
539
+ "num_tokens": 3041178.0,
540
+ "step": 530
541
+ },
542
+ {
543
+ "entropy": 0.07338637132197619,
544
+ "epoch": 2.16,
545
+ "grad_norm": 0.06103515625,
546
+ "learning_rate": 5.8046767537826685e-05,
547
+ "loss": 0.06724760532379151,
548
+ "mean_token_accuracy": 0.9751546740531921,
549
+ "num_tokens": 3098429.0,
550
+ "step": 540
551
+ },
552
+ {
553
+ "entropy": 0.0728572215884924,
554
+ "epoch": 2.2,
555
+ "grad_norm": 0.061279296875,
556
+ "learning_rate": 5.5295735900962866e-05,
557
+ "loss": 0.06751451492309571,
558
+ "mean_token_accuracy": 0.9743426248431206,
559
+ "num_tokens": 3155695.0,
560
+ "step": 550
561
+ },
562
+ {
563
+ "entropy": 0.07223080229014159,
564
+ "epoch": 2.24,
565
+ "grad_norm": 0.06005859375,
566
+ "learning_rate": 5.254470426409904e-05,
567
+ "loss": 0.06734704971313477,
568
+ "mean_token_accuracy": 0.9748689144849777,
569
+ "num_tokens": 3212945.0,
570
+ "step": 560
571
+ },
572
+ {
573
+ "entropy": 0.0727613227441907,
574
+ "epoch": 2.2800000000000002,
575
+ "grad_norm": 0.064453125,
576
+ "learning_rate": 4.9793672627235217e-05,
577
+ "loss": 0.06752183437347412,
578
+ "mean_token_accuracy": 0.9749530717730522,
579
+ "num_tokens": 3269547.0,
580
+ "step": 570
581
+ },
582
+ {
583
+ "entropy": 0.0726665297523141,
584
+ "epoch": 2.32,
585
+ "grad_norm": 0.056640625,
586
+ "learning_rate": 4.704264099037139e-05,
587
+ "loss": 0.06731468439102173,
588
+ "mean_token_accuracy": 0.9752691075205803,
589
+ "num_tokens": 3327333.0,
590
+ "step": 580
591
+ },
592
+ {
593
+ "entropy": 0.07088248450309038,
594
+ "epoch": 2.36,
595
+ "grad_norm": 0.0556640625,
596
+ "learning_rate": 4.429160935350757e-05,
597
+ "loss": 0.06581720113754272,
598
+ "mean_token_accuracy": 0.9750799834728241,
599
+ "num_tokens": 3385099.0,
600
+ "step": 590
601
+ },
602
+ {
603
+ "entropy": 0.07266113720834255,
604
+ "epoch": 2.4,
605
+ "grad_norm": 0.06298828125,
606
+ "learning_rate": 4.154057771664374e-05,
607
+ "loss": 0.06773699522018432,
608
+ "mean_token_accuracy": 0.974339234828949,
609
+ "num_tokens": 3442003.0,
610
+ "step": 600
611
+ },
612
+ {
613
+ "entropy": 0.0721389839425683,
614
+ "epoch": 2.44,
615
+ "grad_norm": 0.058837890625,
616
+ "learning_rate": 3.8789546079779924e-05,
617
+ "loss": 0.06621909141540527,
618
+ "mean_token_accuracy": 0.975532740354538,
619
+ "num_tokens": 3499455.0,
620
+ "step": 610
621
+ },
622
+ {
623
+ "entropy": 0.07212078776210547,
624
+ "epoch": 2.48,
625
+ "grad_norm": 0.060302734375,
626
+ "learning_rate": 3.603851444291609e-05,
627
+ "loss": 0.06667599678039551,
628
+ "mean_token_accuracy": 0.9750859200954437,
629
+ "num_tokens": 3556902.0,
630
+ "step": 620
631
+ },
632
+ {
633
+ "entropy": 0.0720415148884058,
634
+ "epoch": 2.52,
635
+ "grad_norm": 0.060546875,
636
+ "learning_rate": 3.3287482806052274e-05,
637
+ "loss": 0.06692397594451904,
638
+ "mean_token_accuracy": 0.9753661140799522,
639
+ "num_tokens": 3614243.0,
640
+ "step": 630
641
+ },
642
+ {
643
+ "entropy": 0.07080347090959549,
644
+ "epoch": 2.56,
645
+ "grad_norm": 0.059326171875,
646
+ "learning_rate": 3.053645116918845e-05,
647
+ "loss": 0.06725397109985351,
648
+ "mean_token_accuracy": 0.9745387002825737,
649
+ "num_tokens": 3671803.0,
650
+ "step": 640
651
+ },
652
+ {
653
+ "entropy": 0.07181016691029071,
654
+ "epoch": 2.6,
655
+ "grad_norm": 0.059326171875,
656
+ "learning_rate": 2.7785419532324624e-05,
657
+ "loss": 0.06644925475120544,
658
+ "mean_token_accuracy": 0.9751061618328094,
659
+ "num_tokens": 3729718.0,
660
+ "step": 650
661
+ },
662
+ {
663
+ "entropy": 0.07128412388265133,
664
+ "epoch": 2.64,
665
+ "grad_norm": 0.0595703125,
666
+ "learning_rate": 2.50343878954608e-05,
667
+ "loss": 0.06654979586601258,
668
+ "mean_token_accuracy": 0.9753627389669418,
669
+ "num_tokens": 3786756.0,
670
+ "step": 660
671
+ },
672
+ {
673
+ "entropy": 0.07056732047349215,
674
+ "epoch": 2.68,
675
+ "grad_norm": 0.06201171875,
676
+ "learning_rate": 2.2283356258596974e-05,
677
+ "loss": 0.06498302817344666,
678
+ "mean_token_accuracy": 0.976555335521698,
679
+ "num_tokens": 3845033.0,
680
+ "step": 670
681
+ },
682
+ {
683
+ "entropy": 0.07100245365872979,
684
+ "epoch": 2.7199999999999998,
685
+ "grad_norm": 0.0634765625,
686
+ "learning_rate": 1.953232462173315e-05,
687
+ "loss": 0.06608260869979858,
688
+ "mean_token_accuracy": 0.9753880456089974,
689
+ "num_tokens": 3902241.0,
690
+ "step": 680
691
+ },
692
+ {
693
+ "entropy": 0.07052098214626312,
694
+ "epoch": 2.76,
695
+ "grad_norm": 0.06591796875,
696
+ "learning_rate": 1.6781292984869327e-05,
697
+ "loss": 0.06640899777412415,
698
+ "mean_token_accuracy": 0.9750278577208519,
699
+ "num_tokens": 3959526.0,
700
+ "step": 690
701
+ },
702
+ {
703
+ "entropy": 0.07053298288956285,
704
+ "epoch": 2.8,
705
+ "grad_norm": 0.057373046875,
706
+ "learning_rate": 1.4030261348005502e-05,
707
+ "loss": 0.06567392945289612,
708
+ "mean_token_accuracy": 0.9752330139279366,
709
+ "num_tokens": 4017650.0,
710
+ "step": 700
711
+ },
712
+ {
713
+ "entropy": 0.07086923979222774,
714
+ "epoch": 2.84,
715
+ "grad_norm": 0.057373046875,
716
+ "learning_rate": 1.127922971114168e-05,
717
+ "loss": 0.06543118357658387,
718
+ "mean_token_accuracy": 0.9756953164935112,
719
+ "num_tokens": 4075108.0,
720
+ "step": 710
721
+ },
722
+ {
723
+ "entropy": 0.07187412437051535,
724
+ "epoch": 2.88,
725
+ "grad_norm": 0.06494140625,
726
+ "learning_rate": 8.528198074277854e-06,
727
+ "loss": 0.06571472883224487,
728
+ "mean_token_accuracy": 0.9748134031891823,
729
+ "num_tokens": 4132283.0,
730
+ "step": 720
731
+ },
732
+ {
733
+ "entropy": 0.07145321611315011,
734
+ "epoch": 2.92,
735
+ "grad_norm": 0.057861328125,
736
+ "learning_rate": 5.77716643741403e-06,
737
+ "loss": 0.06540715098381042,
738
+ "mean_token_accuracy": 0.9750686690211297,
739
+ "num_tokens": 4189666.0,
740
+ "step": 730
741
+ },
742
+ {
743
+ "entropy": 0.07056575370952486,
744
+ "epoch": 2.96,
745
+ "grad_norm": 0.05615234375,
746
+ "learning_rate": 3.0261348005502065e-06,
747
+ "loss": 0.06452890634536743,
748
+ "mean_token_accuracy": 0.9756821110844612,
749
+ "num_tokens": 4247514.0,
750
+ "step": 740
751
+ },
752
+ {
753
+ "entropy": 0.07146510854363441,
754
+ "epoch": 3.0,
755
+ "grad_norm": 0.052490234375,
756
+ "learning_rate": 2.751031636863824e-07,
757
+ "loss": 0.06620222926139832,
758
+ "mean_token_accuracy": 0.9752808511257172,
759
+ "num_tokens": 4304598.0,
760
+ "step": 750
761
+ }
762
+ ],
763
+ "logging_steps": 10,
764
+ "max_steps": 750,
765
+ "num_input_tokens_seen": 0,
766
+ "num_train_epochs": 3,
767
+ "save_steps": 500,
768
+ "stateful_callbacks": {
769
+ "TrainerControl": {
770
+ "args": {
771
+ "should_epoch_stop": false,
772
+ "should_evaluate": false,
773
+ "should_log": false,
774
+ "should_save": true,
775
+ "should_training_stop": true
776
+ },
777
+ "attributes": {}
778
+ }
779
+ },
780
+ "total_flos": 2.0118203699109888e+17,
781
+ "train_batch_size": 2,
782
+ "trial_name": null,
783
+ "trial_params": null
784
+ }
systems_architecture/checkpoint-750/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b7adf5366e1f3a3d177f0801d84e2b0efb8b20382389e4d5d492b16ad5565e16
3
+ size 5649
systems_architecture/tokenizer.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6b9e4e7fb171f92fd137b777cc2714bf87d11576700a1dcd7a399e7bbe39537b
3
+ size 17209920
systems_architecture/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
+ }