NunoMotaRicardo commited on
Commit
fd2e107
·
verified ·
1 Parent(s): 1e88fb3

Upload folder using huggingface_hub

Browse files
.gitattributes CHANGED
@@ -33,3 +33,6 @@ 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
+ checkpoint-7000/tokenizer.json filter=lfs diff=lfs merge=lfs -text
37
+ checkpoint-7143/tokenizer.json filter=lfs diff=lfs merge=lfs -text
38
+ tokenizer.json filter=lfs diff=lfs merge=lfs -text
README.md ADDED
@@ -0,0 +1,68 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ language: en
3
+ license: llama3.1
4
+ tags:
5
+ - sentiment-analysis
6
+ - financial-nlp
7
+ - llama
8
+ - peft
9
+ - lora
10
+ - qlora
11
+ datasets:
12
+ - TimKoornstra/financial-tweets-sentiment
13
+ - TimKoornstra/synthetic-financial-tweets-sentiment
14
+ metrics:
15
+ - accuracy
16
+ - f1
17
+ pipeline_tag: text-classification
18
+ base_model: meta-llama/Llama-3.1-8B-Instruct
19
+ ---
20
+
21
+ # LLaMA 3.1-8B Fine-tuned for Financial Tweet Sentiment
22
+
23
+ Fine-tuned version of `meta-llama/Llama-3.1-8B-Instruct` for financial tweet sentiment classification using QLoRA (4-bit quantization + LoRA).
24
+
25
+ Inspired by [StephanAkkerman/FinTwitBERT-sentiment](https://huggingface.co/StephanAkkerman/FinTwitBERT-sentiment).
26
+
27
+ ## Labels
28
+
29
+ | Label ID | Sentiment |
30
+ |----------|-----------|
31
+ | 0 | Neutral |
32
+ | 1 | Bullish |
33
+ | 2 | Bearish |
34
+
35
+ ## Training
36
+
37
+ - **Base model**: `meta-llama/Llama-3.1-8B-Instruct`
38
+ - **Method**: QLoRA (4-bit NF4 + LoRA r=16, alpha=32)
39
+ - **Training data**: 38,091 tweets (all available data)
40
+ - **Epochs**: 3
41
+ - **Effective batch size**: 16
42
+ - **Learning rate**: 0.0002
43
+ - **Max sequence length**: 128
44
+ - **Training time**: 9h 45m 47s
45
+ - **Final training loss**: 1.3580
46
+
47
+ ## Usage
48
+
49
+ ```python
50
+ from transformers import AutoTokenizer, AutoModelForSequenceClassification
51
+ import torch
52
+
53
+ tokenizer = AutoTokenizer.from_pretrained("NunoMotaRicardo/llama-3.1-8b-financial-sentiment")
54
+ model = AutoModelForSequenceClassification.from_pretrained("NunoMotaRicardo/llama-3.1-8b-financial-sentiment")
55
+
56
+ text = "$AAPL looking strong after earnings, buying more calls!"
57
+ inputs = tokenizer(text, return_tensors="pt", truncation=True, max_length=128)
58
+ with torch.no_grad():
59
+ logits = model(**inputs).logits
60
+ pred = logits.argmax(-1).item()
61
+ label_map = {0: "Neutral", 1: "Bullish", 2: "Bearish"}
62
+ print(f"Sentiment: {label_map[pred]})
63
+ ```
64
+
65
+ ## Datasets
66
+
67
+ - [TimKoornstra/financial-tweets-sentiment](https://huggingface.co/datasets/TimKoornstra/financial-tweets-sentiment)
68
+ - [TimKoornstra/synthetic-financial-tweets-sentiment](https://huggingface.co/datasets/TimKoornstra/synthetic-financial-tweets-sentiment)
adapter_config.json ADDED
@@ -0,0 +1,49 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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": [
25
+ "classifier",
26
+ "score"
27
+ ],
28
+ "peft_type": "LORA",
29
+ "peft_version": "0.18.1",
30
+ "qalora_group_size": 16,
31
+ "r": 16,
32
+ "rank_pattern": {},
33
+ "revision": null,
34
+ "target_modules": [
35
+ "gate_proj",
36
+ "k_proj",
37
+ "q_proj",
38
+ "up_proj",
39
+ "o_proj",
40
+ "down_proj",
41
+ "v_proj"
42
+ ],
43
+ "target_parameters": null,
44
+ "task_type": "SEQ_CLS",
45
+ "trainable_token_indices": null,
46
+ "use_dora": false,
47
+ "use_qalora": false,
48
+ "use_rslora": false
49
+ }
adapter_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:40140e3ec79feb4e156a7f0b24d6843fcb5e1d2d1dd480e808d38509a9ce1e9e
3
+ size 167881496
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 %}
checkpoint-7000/README.md ADDED
@@ -0,0 +1,206 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: meta-llama/Llama-3.1-8B-Instruct
3
+ library_name: peft
4
+ tags:
5
+ - base_model:adapter:meta-llama/Llama-3.1-8B-Instruct
6
+ - lora
7
+ - transformers
8
+ ---
9
+
10
+ # Model Card for Model ID
11
+
12
+ <!-- Provide a quick summary of what the model is/does. -->
13
+
14
+
15
+
16
+ ## Model Details
17
+
18
+ ### Model Description
19
+
20
+ <!-- Provide a longer summary of what this model is. -->
21
+
22
+
23
+
24
+ - **Developed by:** [More Information Needed]
25
+ - **Funded by [optional]:** [More Information Needed]
26
+ - **Shared by [optional]:** [More Information Needed]
27
+ - **Model type:** [More Information Needed]
28
+ - **Language(s) (NLP):** [More Information Needed]
29
+ - **License:** [More Information Needed]
30
+ - **Finetuned from model [optional]:** [More Information Needed]
31
+
32
+ ### Model Sources [optional]
33
+
34
+ <!-- Provide the basic links for the model. -->
35
+
36
+ - **Repository:** [More Information Needed]
37
+ - **Paper [optional]:** [More Information Needed]
38
+ - **Demo [optional]:** [More Information Needed]
39
+
40
+ ## Uses
41
+
42
+ <!-- Address questions around how the model is intended to be used, including the foreseeable users of the model and those affected by the model. -->
43
+
44
+ ### Direct Use
45
+
46
+ <!-- This section is for the model use without fine-tuning or plugging into a larger ecosystem/app. -->
47
+
48
+ [More Information Needed]
49
+
50
+ ### Downstream Use [optional]
51
+
52
+ <!-- This section is for the model use when fine-tuned for a task, or when plugged into a larger ecosystem/app -->
53
+
54
+ [More Information Needed]
55
+
56
+ ### Out-of-Scope Use
57
+
58
+ <!-- This section addresses misuse, malicious use, and uses that the model will not work well for. -->
59
+
60
+ [More Information Needed]
61
+
62
+ ## Bias, Risks, and Limitations
63
+
64
+ <!-- This section is meant to convey both technical and sociotechnical limitations. -->
65
+
66
+ [More Information Needed]
67
+
68
+ ### Recommendations
69
+
70
+ <!-- This section is meant to convey recommendations with respect to the bias, risk, and technical limitations. -->
71
+
72
+ Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. More information needed for further recommendations.
73
+
74
+ ## How to Get Started with the Model
75
+
76
+ Use the code below to get started with the model.
77
+
78
+ [More Information Needed]
79
+
80
+ ## Training Details
81
+
82
+ ### Training Data
83
+
84
+ <!-- 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. -->
85
+
86
+ [More Information Needed]
87
+
88
+ ### Training Procedure
89
+
90
+ <!-- This relates heavily to the Technical Specifications. Content here should link to that section when it is relevant to the training procedure. -->
91
+
92
+ #### Preprocessing [optional]
93
+
94
+ [More Information Needed]
95
+
96
+
97
+ #### Training Hyperparameters
98
+
99
+ - **Training regime:** [More Information Needed] <!--fp32, fp16 mixed precision, bf16 mixed precision, bf16 non-mixed precision, fp16 non-mixed precision, fp8 mixed precision -->
100
+
101
+ #### Speeds, Sizes, Times [optional]
102
+
103
+ <!-- This section provides information about throughput, start/end time, checkpoint size if relevant, etc. -->
104
+
105
+ [More Information Needed]
106
+
107
+ ## Evaluation
108
+
109
+ <!-- This section describes the evaluation protocols and provides the results. -->
110
+
111
+ ### Testing Data, Factors & Metrics
112
+
113
+ #### Testing Data
114
+
115
+ <!-- This should link to a Dataset Card if possible. -->
116
+
117
+ [More Information Needed]
118
+
119
+ #### Factors
120
+
121
+ <!-- These are the things the evaluation is disaggregating by, e.g., subpopulations or domains. -->
122
+
123
+ [More Information Needed]
124
+
125
+ #### Metrics
126
+
127
+ <!-- These are the evaluation metrics being used, ideally with a description of why. -->
128
+
129
+ [More Information Needed]
130
+
131
+ ### Results
132
+
133
+ [More Information Needed]
134
+
135
+ #### Summary
136
+
137
+
138
+
139
+ ## Model Examination [optional]
140
+
141
+ <!-- Relevant interpretability work for the model goes here -->
142
+
143
+ [More Information Needed]
144
+
145
+ ## Environmental Impact
146
+
147
+ <!-- Total emissions (in grams of CO2eq) and additional considerations, such as electricity usage, go here. Edit the suggested text below accordingly -->
148
+
149
+ 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).
150
+
151
+ - **Hardware Type:** [More Information Needed]
152
+ - **Hours used:** [More Information Needed]
153
+ - **Cloud Provider:** [More Information Needed]
154
+ - **Compute Region:** [More Information Needed]
155
+ - **Carbon Emitted:** [More Information Needed]
156
+
157
+ ## Technical Specifications [optional]
158
+
159
+ ### Model Architecture and Objective
160
+
161
+ [More Information Needed]
162
+
163
+ ### Compute Infrastructure
164
+
165
+ [More Information Needed]
166
+
167
+ #### Hardware
168
+
169
+ [More Information Needed]
170
+
171
+ #### Software
172
+
173
+ [More Information Needed]
174
+
175
+ ## Citation [optional]
176
+
177
+ <!-- If there is a paper or blog post introducing the model, the APA and Bibtex information for that should go in this section. -->
178
+
179
+ **BibTeX:**
180
+
181
+ [More Information Needed]
182
+
183
+ **APA:**
184
+
185
+ [More Information Needed]
186
+
187
+ ## Glossary [optional]
188
+
189
+ <!-- If relevant, include terms and calculations in this section that can help readers understand the model or model card. -->
190
+
191
+ [More Information Needed]
192
+
193
+ ## More Information [optional]
194
+
195
+ [More Information Needed]
196
+
197
+ ## Model Card Authors [optional]
198
+
199
+ [More Information Needed]
200
+
201
+ ## Model Card Contact
202
+
203
+ [More Information Needed]
204
+ ### Framework versions
205
+
206
+ - PEFT 0.18.1
checkpoint-7000/adapter_config.json ADDED
@@ -0,0 +1,49 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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": [
25
+ "classifier",
26
+ "score"
27
+ ],
28
+ "peft_type": "LORA",
29
+ "peft_version": "0.18.1",
30
+ "qalora_group_size": 16,
31
+ "r": 16,
32
+ "rank_pattern": {},
33
+ "revision": null,
34
+ "target_modules": [
35
+ "gate_proj",
36
+ "k_proj",
37
+ "q_proj",
38
+ "up_proj",
39
+ "o_proj",
40
+ "down_proj",
41
+ "v_proj"
42
+ ],
43
+ "target_parameters": null,
44
+ "task_type": "SEQ_CLS",
45
+ "trainable_token_indices": null,
46
+ "use_dora": false,
47
+ "use_qalora": false,
48
+ "use_rslora": false
49
+ }
checkpoint-7000/adapter_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f30359f2592eddccc56290258aad56ea4c1ca162c13a9c0c89b02484df4760b2
3
+ size 167881496
checkpoint-7000/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 %}
checkpoint-7000/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:dda377d203f02d017e71c69d626b7368197d660532afc6a4f37e44eee3394e22
3
+ size 85755561
checkpoint-7000/rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5ac14e73f8e5b9769e9f003c05a28363f548f3700779fe2deb19cd368d55e7c2
3
+ size 14645
checkpoint-7000/scaler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:17d2d3c94e7430c2d6d5e80d087bdbb14ab3c964dd9866b8e23f1f0a4fb3af4e
3
+ size 1383
checkpoint-7000/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:eb24dc5385c380809935eb341fb39c56e56ff89b961916be3780acd42a6c07f2
3
+ size 1465
checkpoint-7000/tokenizer.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fbe07b35a61be0ec850f12e9379be8ca47b4ef845b20f0d146a8a2bfdb0e7e3e
3
+ size 17210195
checkpoint-7000/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
+ }
checkpoint-7000/trainer_state.json ADDED
@@ -0,0 +1,1014 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_global_step": null,
3
+ "best_metric": null,
4
+ "best_model_checkpoint": null,
5
+ "epoch": 2.9400399033917886,
6
+ "eval_steps": 500,
7
+ "global_step": 7000,
8
+ "is_hyper_param_search": false,
9
+ "is_local_process_zero": true,
10
+ "is_world_process_zero": true,
11
+ "log_history": [
12
+ {
13
+ "epoch": 0.0210017851517379,
14
+ "grad_norm": 96.88743591308594,
15
+ "learning_rate": 2.0512820512820512e-05,
16
+ "loss": 8.165773315429687,
17
+ "step": 50
18
+ },
19
+ {
20
+ "epoch": 0.0420035703034758,
21
+ "grad_norm": 116.87528228759766,
22
+ "learning_rate": 4.382284382284382e-05,
23
+ "loss": 5.416732177734375,
24
+ "step": 100
25
+ },
26
+ {
27
+ "epoch": 0.0630053554552137,
28
+ "grad_norm": 61.64604187011719,
29
+ "learning_rate": 6.713286713286715e-05,
30
+ "loss": 4.055693664550781,
31
+ "step": 150
32
+ },
33
+ {
34
+ "epoch": 0.0840071406069516,
35
+ "grad_norm": 116.0433120727539,
36
+ "learning_rate": 9.044289044289046e-05,
37
+ "loss": 2.936495056152344,
38
+ "step": 200
39
+ },
40
+ {
41
+ "epoch": 0.10500892575868949,
42
+ "grad_norm": 151.53907775878906,
43
+ "learning_rate": 0.00011375291375291375,
44
+ "loss": 2.698266906738281,
45
+ "step": 250
46
+ },
47
+ {
48
+ "epoch": 0.1260107109104274,
49
+ "grad_norm": 113.19374084472656,
50
+ "learning_rate": 0.00013706293706293706,
51
+ "loss": 2.4747793579101565,
52
+ "step": 300
53
+ },
54
+ {
55
+ "epoch": 0.1470124960621653,
56
+ "grad_norm": 126.88410186767578,
57
+ "learning_rate": 0.0001603729603729604,
58
+ "loss": 2.5189743041992188,
59
+ "step": 350
60
+ },
61
+ {
62
+ "epoch": 0.1680142812139032,
63
+ "grad_norm": 59.926734924316406,
64
+ "learning_rate": 0.00018368298368298368,
65
+ "loss": 2.631827087402344,
66
+ "step": 400
67
+ },
68
+ {
69
+ "epoch": 0.18901606636564108,
70
+ "grad_norm": 64.80731201171875,
71
+ "learning_rate": 0.0001999975368672928,
72
+ "loss": 2.6951309204101563,
73
+ "step": 450
74
+ },
75
+ {
76
+ "epoch": 0.21001785151737898,
77
+ "grad_norm": 145.46435546875,
78
+ "learning_rate": 0.00019995375121686682,
79
+ "loss": 2.381460876464844,
80
+ "step": 500
81
+ },
82
+ {
83
+ "epoch": 0.23101963666911687,
84
+ "grad_norm": 229.77268981933594,
85
+ "learning_rate": 0.00019985525686985856,
86
+ "loss": 2.2023199462890624,
87
+ "step": 550
88
+ },
89
+ {
90
+ "epoch": 0.2520214218208548,
91
+ "grad_norm": 67.24784851074219,
92
+ "learning_rate": 0.00019970210773617416,
93
+ "loss": 2.550819091796875,
94
+ "step": 600
95
+ },
96
+ {
97
+ "epoch": 0.2730232069725927,
98
+ "grad_norm": 90.69214630126953,
99
+ "learning_rate": 0.00019949438764047637,
100
+ "loss": 2.440052032470703,
101
+ "step": 650
102
+ },
103
+ {
104
+ "epoch": 0.2940249921243306,
105
+ "grad_norm": 56.658851623535156,
106
+ "learning_rate": 0.00019923798662574877,
107
+ "loss": 2.2508380126953127,
108
+ "step": 700
109
+ },
110
+ {
111
+ "epoch": 0.3150267772760685,
112
+ "grad_norm": 24.49359130859375,
113
+ "learning_rate": 0.00019892258016992456,
114
+ "loss": 2.227517547607422,
115
+ "step": 750
116
+ },
117
+ {
118
+ "epoch": 0.3360285624278064,
119
+ "grad_norm": 24.36576271057129,
120
+ "learning_rate": 0.00019855302941878611,
121
+ "loss": 2.384382476806641,
122
+ "step": 800
123
+ },
124
+ {
125
+ "epoch": 0.35703034757954427,
126
+ "grad_norm": 59.77130889892578,
127
+ "learning_rate": 0.00019812953664228,
128
+ "loss": 2.337910614013672,
129
+ "step": 850
130
+ },
131
+ {
132
+ "epoch": 0.37803213273128217,
133
+ "grad_norm": 13.947885513305664,
134
+ "learning_rate": 0.00019765233363498648,
135
+ "loss": 2.007940673828125,
136
+ "step": 900
137
+ },
138
+ {
139
+ "epoch": 0.39903391788302006,
140
+ "grad_norm": 66.34615325927734,
141
+ "learning_rate": 0.00019712168158924926,
142
+ "loss": 2.213553924560547,
143
+ "step": 950
144
+ },
145
+ {
146
+ "epoch": 0.42003570303475796,
147
+ "grad_norm": 135.73300170898438,
148
+ "learning_rate": 0.00019653787095221418,
149
+ "loss": 2.4402421569824218,
150
+ "step": 1000
151
+ },
152
+ {
153
+ "epoch": 0.44103748818649585,
154
+ "grad_norm": 90.47286224365234,
155
+ "learning_rate": 0.00019590122126685597,
156
+ "loss": 1.987421417236328,
157
+ "step": 1050
158
+ },
159
+ {
160
+ "epoch": 0.46203927333823375,
161
+ "grad_norm": 27.09687614440918,
162
+ "learning_rate": 0.00019521208099707965,
163
+ "loss": 2.076619873046875,
164
+ "step": 1100
165
+ },
166
+ {
167
+ "epoch": 0.48304105848997164,
168
+ "grad_norm": 53.363224029541016,
169
+ "learning_rate": 0.00019447082733699213,
170
+ "loss": 2.1755889892578124,
171
+ "step": 1150
172
+ },
173
+ {
174
+ "epoch": 0.5040428436417096,
175
+ "grad_norm": 67.22119140625,
176
+ "learning_rate": 0.00019367786600444874,
177
+ "loss": 2.023298645019531,
178
+ "step": 1200
179
+ },
180
+ {
181
+ "epoch": 0.5250446287934475,
182
+ "grad_norm": 25.080530166625977,
183
+ "learning_rate": 0.0001928336310189877,
184
+ "loss": 2.353513031005859,
185
+ "step": 1250
186
+ },
187
+ {
188
+ "epoch": 0.5460464139451854,
189
+ "grad_norm": 65.75191497802734,
190
+ "learning_rate": 0.0001919385844642737,
191
+ "loss": 1.9453860473632814,
192
+ "step": 1300
193
+ },
194
+ {
195
+ "epoch": 0.5670481990969233,
196
+ "grad_norm": 100.38494873046875,
197
+ "learning_rate": 0.00019099321623518108,
198
+ "loss": 2.0582290649414063,
199
+ "step": 1350
200
+ },
201
+ {
202
+ "epoch": 0.5880499842486612,
203
+ "grad_norm": 30.531715393066406,
204
+ "learning_rate": 0.0001899980437696546,
205
+ "loss": 1.88087646484375,
206
+ "step": 1400
207
+ },
208
+ {
209
+ "epoch": 0.6090517694003991,
210
+ "grad_norm": 68.83368682861328,
211
+ "learning_rate": 0.000188953611765495,
212
+ "loss": 1.7309284973144532,
213
+ "step": 1450
214
+ },
215
+ {
216
+ "epoch": 0.630053554552137,
217
+ "grad_norm": 50.95656204223633,
218
+ "learning_rate": 0.00018786049188222403,
219
+ "loss": 1.8775811767578126,
220
+ "step": 1500
221
+ },
222
+ {
223
+ "epoch": 0.6510553397038749,
224
+ "grad_norm": 33.41248321533203,
225
+ "learning_rate": 0.00018671928242819226,
226
+ "loss": 1.945216522216797,
227
+ "step": 1550
228
+ },
229
+ {
230
+ "epoch": 0.6720571248556128,
231
+ "grad_norm": 44.737709045410156,
232
+ "learning_rate": 0.00018553060803310083,
233
+ "loss": 2.106058807373047,
234
+ "step": 1600
235
+ },
236
+ {
237
+ "epoch": 0.6930589100073506,
238
+ "grad_norm": 35.77622985839844,
239
+ "learning_rate": 0.0001842951193061168,
240
+ "loss": 1.7817611694335938,
241
+ "step": 1650
242
+ },
243
+ {
244
+ "epoch": 0.7140606951590885,
245
+ "grad_norm": 29.49221420288086,
246
+ "learning_rate": 0.0001830134924797684,
247
+ "loss": 1.8394444274902344,
248
+ "step": 1700
249
+ },
250
+ {
251
+ "epoch": 0.7350624803108264,
252
+ "grad_norm": 74.85762786865234,
253
+ "learning_rate": 0.00018168642903981607,
254
+ "loss": 1.8008517456054687,
255
+ "step": 1750
256
+ },
257
+ {
258
+ "epoch": 0.7560642654625643,
259
+ "grad_norm": 54.40049743652344,
260
+ "learning_rate": 0.0001803146553413009,
261
+ "loss": 1.8719265747070313,
262
+ "step": 1800
263
+ },
264
+ {
265
+ "epoch": 0.7770660506143022,
266
+ "grad_norm": 68.5858154296875,
267
+ "learning_rate": 0.00017889892221098163,
268
+ "loss": 1.93374267578125,
269
+ "step": 1850
270
+ },
271
+ {
272
+ "epoch": 0.7980678357660401,
273
+ "grad_norm": 43.123600006103516,
274
+ "learning_rate": 0.00017744000453637711,
275
+ "loss": 1.931842041015625,
276
+ "step": 1900
277
+ },
278
+ {
279
+ "epoch": 0.819069620917778,
280
+ "grad_norm": 42.68077087402344,
281
+ "learning_rate": 0.00017593870084163892,
282
+ "loss": 1.932684326171875,
283
+ "step": 1950
284
+ },
285
+ {
286
+ "epoch": 0.8400714060695159,
287
+ "grad_norm": 32.452735900878906,
288
+ "learning_rate": 0.00017439583285048748,
289
+ "loss": 2.020773468017578,
290
+ "step": 2000
291
+ },
292
+ {
293
+ "epoch": 0.8610731912212538,
294
+ "grad_norm": 23.90448760986328,
295
+ "learning_rate": 0.00017281224503644944,
296
+ "loss": 1.7309165954589845,
297
+ "step": 2050
298
+ },
299
+ {
300
+ "epoch": 0.8820749763729917,
301
+ "grad_norm": 122.4535140991211,
302
+ "learning_rate": 0.00017118880416064353,
303
+ "loss": 1.9589013671875,
304
+ "step": 2100
305
+ },
306
+ {
307
+ "epoch": 0.9030767615247296,
308
+ "grad_norm": 27.976648330688477,
309
+ "learning_rate": 0.00016952639879736755,
310
+ "loss": 1.9594146728515625,
311
+ "step": 2150
312
+ },
313
+ {
314
+ "epoch": 0.9240785466764675,
315
+ "grad_norm": 32.92108917236328,
316
+ "learning_rate": 0.00016782593884774586,
317
+ "loss": 1.8159463500976563,
318
+ "step": 2200
319
+ },
320
+ {
321
+ "epoch": 0.9450803318282054,
322
+ "grad_norm": 110.42147064208984,
323
+ "learning_rate": 0.00016608835504170396,
324
+ "loss": 1.8676722717285157,
325
+ "step": 2250
326
+ },
327
+ {
328
+ "epoch": 0.9660821169799433,
329
+ "grad_norm": 83.26129913330078,
330
+ "learning_rate": 0.00016431459842854303,
331
+ "loss": 1.955204620361328,
332
+ "step": 2300
333
+ },
334
+ {
335
+ "epoch": 0.9870839021316812,
336
+ "grad_norm": 41.638790130615234,
337
+ "learning_rate": 0.00016250563985639204,
338
+ "loss": 1.8278160095214844,
339
+ "step": 2350
340
+ },
341
+ {
342
+ "epoch": 1.0079806783576604,
343
+ "grad_norm": 11.446990013122559,
344
+ "learning_rate": 0.00016066246944082394,
345
+ "loss": 1.7912734985351562,
346
+ "step": 2400
347
+ },
348
+ {
349
+ "epoch": 1.0289824635093983,
350
+ "grad_norm": 5.880982398986816,
351
+ "learning_rate": 0.00015878609602292562,
352
+ "loss": 1.458508758544922,
353
+ "step": 2450
354
+ },
355
+ {
356
+ "epoch": 1.0499842486611362,
357
+ "grad_norm": 99.73579406738281,
358
+ "learning_rate": 0.00015687754661711866,
359
+ "loss": 1.5889370727539063,
360
+ "step": 2500
361
+ },
362
+ {
363
+ "epoch": 1.070986033812874,
364
+ "grad_norm": 30.614892959594727,
365
+ "learning_rate": 0.0001549378658490333,
366
+ "loss": 1.396112823486328,
367
+ "step": 2550
368
+ },
369
+ {
370
+ "epoch": 1.091987818964612,
371
+ "grad_norm": 42.81917953491211,
372
+ "learning_rate": 0.00015296811538374278,
373
+ "loss": 1.2478562927246093,
374
+ "step": 2600
375
+ },
376
+ {
377
+ "epoch": 1.1129896041163498,
378
+ "grad_norm": 89.29583740234375,
379
+ "learning_rate": 0.00015096937334467151,
380
+ "loss": 1.6881478881835938,
381
+ "step": 2650
382
+ },
383
+ {
384
+ "epoch": 1.1339913892680877,
385
+ "grad_norm": 45.66031265258789,
386
+ "learning_rate": 0.000148942733723495,
387
+ "loss": 1.3388128662109375,
388
+ "step": 2700
389
+ },
390
+ {
391
+ "epoch": 1.1549931744198256,
392
+ "grad_norm": 19.098651885986328,
393
+ "learning_rate": 0.00014688930578135416,
394
+ "loss": 1.4715719604492188,
395
+ "step": 2750
396
+ },
397
+ {
398
+ "epoch": 1.1759949595715635,
399
+ "grad_norm": 40.75487518310547,
400
+ "learning_rate": 0.0001448102134417123,
401
+ "loss": 1.3008560180664062,
402
+ "step": 2800
403
+ },
404
+ {
405
+ "epoch": 1.1969967447233014,
406
+ "grad_norm": NaN,
407
+ "learning_rate": 0.00014270659467518682,
408
+ "loss": 1.458815155029297,
409
+ "step": 2850
410
+ },
411
+ {
412
+ "epoch": 1.2179985298750393,
413
+ "grad_norm": 59.06400680541992,
414
+ "learning_rate": 0.00014062236231847836,
415
+ "loss": 1.4431008911132812,
416
+ "step": 2900
417
+ },
418
+ {
419
+ "epoch": 1.2390003150267772,
420
+ "grad_norm": 55.12430953979492,
421
+ "learning_rate": 0.00013847359040513967,
422
+ "loss": 1.2680451965332031,
423
+ "step": 2950
424
+ },
425
+ {
426
+ "epoch": 1.260002100178515,
427
+ "grad_norm": 18.353561401367188,
428
+ "learning_rate": 0.0001363037603528289,
429
+ "loss": 1.3490068054199218,
430
+ "step": 3000
431
+ },
432
+ {
433
+ "epoch": 1.281003885330253,
434
+ "grad_norm": 46.3448371887207,
435
+ "learning_rate": 0.00013411405979655243,
436
+ "loss": 1.31285400390625,
437
+ "step": 3050
438
+ },
439
+ {
440
+ "epoch": 1.302005670481991,
441
+ "grad_norm": 28.819128036499023,
442
+ "learning_rate": 0.0001319056872472404,
443
+ "loss": 1.2427201080322265,
444
+ "step": 3100
445
+ },
446
+ {
447
+ "epoch": 1.3230074556337288,
448
+ "grad_norm": 41.59355545043945,
449
+ "learning_rate": 0.00012967985143575356,
450
+ "loss": 1.488096923828125,
451
+ "step": 3150
452
+ },
453
+ {
454
+ "epoch": 1.3440092407854667,
455
+ "grad_norm": 21.26289939880371,
456
+ "learning_rate": 0.00012743777065129635,
457
+ "loss": 1.3544757080078125,
458
+ "step": 3200
459
+ },
460
+ {
461
+ "epoch": 1.3650110259372046,
462
+ "grad_norm": 42.516868591308594,
463
+ "learning_rate": 0.0001251806720745984,
464
+ "loss": 1.3172706604003905,
465
+ "step": 3250
466
+ },
467
+ {
468
+ "epoch": 1.3860128110889427,
469
+ "grad_norm": 51.99966812133789,
470
+ "learning_rate": 0.00012290979110622937,
471
+ "loss": 1.340508270263672,
472
+ "step": 3300
473
+ },
474
+ {
475
+ "epoch": 1.4070145962406806,
476
+ "grad_norm": 40.60024642944336,
477
+ "learning_rate": 0.00012062637069041456,
478
+ "loss": 1.2897941589355468,
479
+ "step": 3350
480
+ },
481
+ {
482
+ "epoch": 1.4280163813924185,
483
+ "grad_norm": 31.378459930419922,
484
+ "learning_rate": 0.0001183316606347217,
485
+ "loss": 1.5410649108886718,
486
+ "step": 3400
487
+ },
488
+ {
489
+ "epoch": 1.4490181665441564,
490
+ "grad_norm": 26.510839462280273,
491
+ "learning_rate": 0.00011602691692599127,
492
+ "loss": 1.2167890167236328,
493
+ "step": 3450
494
+ },
495
+ {
496
+ "epoch": 1.4700199516958943,
497
+ "grad_norm": 23.495378494262695,
498
+ "learning_rate": 0.00011371340104288442,
499
+ "loss": 1.42876708984375,
500
+ "step": 3500
501
+ },
502
+ {
503
+ "epoch": 1.4910217368476322,
504
+ "grad_norm": 28.301671981811523,
505
+ "learning_rate": 0.00011139237926542509,
506
+ "loss": 1.063271255493164,
507
+ "step": 3550
508
+ },
509
+ {
510
+ "epoch": 1.51202352199937,
511
+ "grad_norm": 21.21889877319336,
512
+ "learning_rate": 0.0001090651219819143,
513
+ "loss": 1.2190794372558593,
514
+ "step": 3600
515
+ },
516
+ {
517
+ "epoch": 1.533025307151108,
518
+ "grad_norm": 15.157039642333984,
519
+ "learning_rate": 0.00010673290299359551,
520
+ "loss": 1.2155840301513672,
521
+ "step": 3650
522
+ },
523
+ {
524
+ "epoch": 1.5540270923028459,
525
+ "grad_norm": 12.83481502532959,
526
+ "learning_rate": 0.00010439699881745222,
527
+ "loss": 1.2669831085205079,
528
+ "step": 3700
529
+ },
530
+ {
531
+ "epoch": 1.5750288774545838,
532
+ "grad_norm": 40.47445297241211,
533
+ "learning_rate": 0.00010205868798751908,
534
+ "loss": 1.189565658569336,
535
+ "step": 3750
536
+ },
537
+ {
538
+ "epoch": 1.5960306626063216,
539
+ "grad_norm": 47.97238540649414,
540
+ "learning_rate": 9.971925035508882e-05,
541
+ "loss": 1.3227517700195313,
542
+ "step": 3800
543
+ },
544
+ {
545
+ "epoch": 1.6170324477580595,
546
+ "grad_norm": 11.237785339355469,
547
+ "learning_rate": 9.737996638819842e-05,
548
+ "loss": 1.1511013793945313,
549
+ "step": 3850
550
+ },
551
+ {
552
+ "epoch": 1.6380342329097974,
553
+ "grad_norm": 27.457271575927734,
554
+ "learning_rate": 9.504211647077748e-05,
555
+ "loss": 1.1926652526855468,
556
+ "step": 3900
557
+ },
558
+ {
559
+ "epoch": 1.6590360180615353,
560
+ "grad_norm": 15.741539001464844,
561
+ "learning_rate": 9.270698020184285e-05,
562
+ "loss": 1.0482740020751953,
563
+ "step": 3950
564
+ },
565
+ {
566
+ "epoch": 1.6800378032132732,
567
+ "grad_norm": 7.643248558044434,
568
+ "learning_rate": 9.037583569512271e-05,
569
+ "loss": 1.2052240753173828,
570
+ "step": 4000
571
+ },
572
+ {
573
+ "epoch": 1.7010395883650111,
574
+ "grad_norm": 20.112401962280273,
575
+ "learning_rate": 8.804995887949373e-05,
576
+ "loss": 1.0017765808105468,
577
+ "step": 4050
578
+ },
579
+ {
580
+ "epoch": 1.722041373516749,
581
+ "grad_norm": 22.75946617126465,
582
+ "learning_rate": 8.573062280061399e-05,
583
+ "loss": 1.348891143798828,
584
+ "step": 4100
585
+ },
586
+ {
587
+ "epoch": 1.743043158668487,
588
+ "grad_norm": 47.762718200683594,
589
+ "learning_rate": 8.341909692413401e-05,
590
+ "loss": 1.1363021850585937,
591
+ "step": 4150
592
+ },
593
+ {
594
+ "epoch": 1.7640449438202248,
595
+ "grad_norm": 28.285919189453125,
596
+ "learning_rate": 8.111664644086733e-05,
597
+ "loss": 1.1882960510253906,
598
+ "step": 4200
599
+ },
600
+ {
601
+ "epoch": 1.7850467289719627,
602
+ "grad_norm": 6.3662214279174805,
603
+ "learning_rate": 7.882453157430086e-05,
604
+ "loss": 1.21821044921875,
605
+ "step": 4250
606
+ },
607
+ {
608
+ "epoch": 1.8060485141237006,
609
+ "grad_norm": 11.175128936767578,
610
+ "learning_rate": 7.654400689082387e-05,
611
+ "loss": 1.1443672180175781,
612
+ "step": 4300
613
+ },
614
+ {
615
+ "epoch": 1.8270502992754385,
616
+ "grad_norm": 7.028075218200684,
617
+ "learning_rate": 7.427632061305376e-05,
618
+ "loss": 1.1513980865478515,
619
+ "step": 4350
620
+ },
621
+ {
622
+ "epoch": 1.8480520844271764,
623
+ "grad_norm": 3.8552818298339844,
624
+ "learning_rate": 7.202271393663354e-05,
625
+ "loss": 1.1591477966308594,
626
+ "step": 4400
627
+ },
628
+ {
629
+ "epoch": 1.8690538695789143,
630
+ "grad_norm": 27.834590911865234,
631
+ "learning_rate": 6.978442035087579e-05,
632
+ "loss": 1.0166816711425781,
633
+ "step": 4450
634
+ },
635
+ {
636
+ "epoch": 1.8900556547306522,
637
+ "grad_norm": 34.69282913208008,
638
+ "learning_rate": 6.756266496362442e-05,
639
+ "loss": 1.1785438537597657,
640
+ "step": 4500
641
+ },
642
+ {
643
+ "epoch": 1.91105743988239,
644
+ "grad_norm": 34.50713348388672,
645
+ "learning_rate": 6.535866383070405e-05,
646
+ "loss": 0.9877433013916016,
647
+ "step": 4550
648
+ },
649
+ {
650
+ "epoch": 1.932059225034128,
651
+ "grad_norm": 28.763914108276367,
652
+ "learning_rate": 6.317362329032388e-05,
653
+ "loss": 0.9768619537353516,
654
+ "step": 4600
655
+ },
656
+ {
657
+ "epoch": 1.9530610101858659,
658
+ "grad_norm": 44.40330505371094,
659
+ "learning_rate": 6.1008739302800486e-05,
660
+ "loss": 1.2748094940185546,
661
+ "step": 4650
662
+ },
663
+ {
664
+ "epoch": 1.9740627953376038,
665
+ "grad_norm": 45.88819122314453,
666
+ "learning_rate": 5.886519679596063e-05,
667
+ "loss": 0.8840785980224609,
668
+ "step": 4700
669
+ },
670
+ {
671
+ "epoch": 1.9950645804893417,
672
+ "grad_norm": 26.39780044555664,
673
+ "learning_rate": 5.674416901658288e-05,
674
+ "loss": 1.1054458618164062,
675
+ "step": 4750
676
+ },
677
+ {
678
+ "epoch": 2.0159613567153207,
679
+ "grad_norm": 28.105772018432617,
680
+ "learning_rate": 5.464681688823246e-05,
681
+ "loss": 0.43650150299072266,
682
+ "step": 4800
683
+ },
684
+ {
685
+ "epoch": 2.0369631418670586,
686
+ "grad_norm": 0.8811307549476624,
687
+ "learning_rate": 5.257428837584142e-05,
688
+ "loss": 0.4781087112426758,
689
+ "step": 4850
690
+ },
691
+ {
692
+ "epoch": 2.0579649270187965,
693
+ "grad_norm": 29.04726791381836,
694
+ "learning_rate": 5.052771785738109e-05,
695
+ "loss": 0.538114242553711,
696
+ "step": 4900
697
+ },
698
+ {
699
+ "epoch": 2.0789667121705344,
700
+ "grad_norm": 2.272526741027832,
701
+ "learning_rate": 4.8548342809611756e-05,
702
+ "loss": 0.5318920516967773,
703
+ "step": 4950
704
+ },
705
+ {
706
+ "epoch": 2.0999684973222723,
707
+ "grad_norm": 35.368194580078125,
708
+ "learning_rate": 4.655645956450846e-05,
709
+ "loss": 0.48801342010498044,
710
+ "step": 5000
711
+ },
712
+ {
713
+ "epoch": 2.12097028247401,
714
+ "grad_norm": 0.03809299319982529,
715
+ "learning_rate": 4.4593828112383176e-05,
716
+ "loss": 0.4779471206665039,
717
+ "step": 5050
718
+ },
719
+ {
720
+ "epoch": 2.141972067625748,
721
+ "grad_norm": 8.704736709594727,
722
+ "learning_rate": 4.269986472510045e-05,
723
+ "loss": 0.6272232437133789,
724
+ "step": 5100
725
+ },
726
+ {
727
+ "epoch": 2.162973852777486,
728
+ "grad_norm": 2.0720932483673096,
729
+ "learning_rate": 4.0798305013432315e-05,
730
+ "loss": 0.43107017517089846,
731
+ "step": 5150
732
+ },
733
+ {
734
+ "epoch": 2.183975637929224,
735
+ "grad_norm": 8.66932201385498,
736
+ "learning_rate": 3.8929148763652736e-05,
737
+ "loss": 0.5629381561279296,
738
+ "step": 5200
739
+ },
740
+ {
741
+ "epoch": 2.204977423080962,
742
+ "grad_norm": 36.49018096923828,
743
+ "learning_rate": 3.7093419039937825e-05,
744
+ "loss": 0.6745287322998047,
745
+ "step": 5250
746
+ },
747
+ {
748
+ "epoch": 2.2259792082326997,
749
+ "grad_norm": 44.782039642333984,
750
+ "learning_rate": 3.529212061078543e-05,
751
+ "loss": 0.44454833984375,
752
+ "step": 5300
753
+ },
754
+ {
755
+ "epoch": 2.2469809933844376,
756
+ "grad_norm": 38.312313079833984,
757
+ "learning_rate": 3.352623939906491e-05,
758
+ "loss": 0.4252283477783203,
759
+ "step": 5350
760
+ },
761
+ {
762
+ "epoch": 2.2679827785361755,
763
+ "grad_norm": 48.045509338378906,
764
+ "learning_rate": 3.179674194238237e-05,
765
+ "loss": 0.6742375183105469,
766
+ "step": 5400
767
+ },
768
+ {
769
+ "epoch": 2.2889845636879134,
770
+ "grad_norm": 63.853843688964844,
771
+ "learning_rate": 3.010457486405549e-05,
772
+ "loss": 0.4491603851318359,
773
+ "step": 5450
774
+ },
775
+ {
776
+ "epoch": 2.3099863488396513,
777
+ "grad_norm": 1.4884780645370483,
778
+ "learning_rate": 2.84506643549889e-05,
779
+ "loss": 0.5363286972045899,
780
+ "step": 5500
781
+ },
782
+ {
783
+ "epoch": 2.330988133991389,
784
+ "grad_norm": 0.02728688158094883,
785
+ "learning_rate": 2.6835915666732548e-05,
786
+ "loss": 0.34341278076171877,
787
+ "step": 5550
788
+ },
789
+ {
790
+ "epoch": 2.351989919143127,
791
+ "grad_norm": 46.706119537353516,
792
+ "learning_rate": 2.5261212616001327e-05,
793
+ "loss": 0.6819667816162109,
794
+ "step": 5600
795
+ },
796
+ {
797
+ "epoch": 2.372991704294865,
798
+ "grad_norm": 2.9122889041900635,
799
+ "learning_rate": 2.372741710092674e-05,
800
+ "loss": 0.3454324722290039,
801
+ "step": 5650
802
+ },
803
+ {
804
+ "epoch": 2.393993489446603,
805
+ "grad_norm": 2.8348746299743652,
806
+ "learning_rate": 2.2235368629305418e-05,
807
+ "loss": 0.37347347259521485,
808
+ "step": 5700
809
+ },
810
+ {
811
+ "epoch": 2.4149952745983407,
812
+ "grad_norm": 2.396700859069824,
813
+ "learning_rate": 2.0785883859102994e-05,
814
+ "loss": 0.478424072265625,
815
+ "step": 5750
816
+ },
817
+ {
818
+ "epoch": 2.4359970597500786,
819
+ "grad_norm": 0.3374341130256653,
820
+ "learning_rate": 1.9379756151464236e-05,
821
+ "loss": 0.3879497528076172,
822
+ "step": 5800
823
+ },
824
+ {
825
+ "epoch": 2.4569988449018165,
826
+ "grad_norm": 0.07735343277454376,
827
+ "learning_rate": 1.801775513647487e-05,
828
+ "loss": 0.3089980697631836,
829
+ "step": 5850
830
+ },
831
+ {
832
+ "epoch": 2.4780006300535544,
833
+ "grad_norm": 45.71025848388672,
834
+ "learning_rate": 1.6700626291912004e-05,
835
+ "loss": 0.3591925048828125,
836
+ "step": 5900
837
+ },
838
+ {
839
+ "epoch": 2.4990024152052923,
840
+ "grad_norm": 86.34896850585938,
841
+ "learning_rate": 1.5429090535214353e-05,
842
+ "loss": 0.4602979278564453,
843
+ "step": 5950
844
+ },
845
+ {
846
+ "epoch": 2.52000420035703,
847
+ "grad_norm": 125.41795349121094,
848
+ "learning_rate": 1.420384382889518e-05,
849
+ "loss": 0.4123740005493164,
850
+ "step": 6000
851
+ },
852
+ {
853
+ "epoch": 2.541005985508768,
854
+ "grad_norm": 0.06989021599292755,
855
+ "learning_rate": 1.302555679961408e-05,
856
+ "loss": 0.5613171768188476,
857
+ "step": 6050
858
+ },
859
+ {
860
+ "epoch": 2.562007770660506,
861
+ "grad_norm": 50.419254302978516,
862
+ "learning_rate": 1.1894874371116182e-05,
863
+ "loss": 0.44726715087890623,
864
+ "step": 6100
865
+ },
866
+ {
867
+ "epoch": 2.583009555812244,
868
+ "grad_norm": 29.774009704589844,
869
+ "learning_rate": 1.081241541123944e-05,
870
+ "loss": 0.36859161376953126,
871
+ "step": 6150
872
+ },
873
+ {
874
+ "epoch": 2.604011340963982,
875
+ "grad_norm": 154.20655822753906,
876
+ "learning_rate": 9.778772393183467e-06,
877
+ "loss": 0.5629509735107422,
878
+ "step": 6200
879
+ },
880
+ {
881
+ "epoch": 2.6250131261157197,
882
+ "grad_norm": 0.09836237877607346,
883
+ "learning_rate": 8.794511071225275e-06,
884
+ "loss": 0.371593132019043,
885
+ "step": 6250
886
+ },
887
+ {
888
+ "epoch": 2.6460149112674576,
889
+ "grad_norm": 56.41450500488281,
890
+ "learning_rate": 7.860170171059067e-06,
891
+ "loss": 0.44127925872802737,
892
+ "step": 6300
893
+ },
894
+ {
895
+ "epoch": 2.6670166964191955,
896
+ "grad_norm": 30.18195152282715,
897
+ "learning_rate": 6.976261094930347e-06,
898
+ "loss": 0.5457481384277344,
899
+ "step": 6350
900
+ },
901
+ {
902
+ "epoch": 2.6880184815709334,
903
+ "grad_norm": 1.9519455432891846,
904
+ "learning_rate": 6.1432676417246925e-06,
905
+ "loss": 0.46905494689941407,
906
+ "step": 6400
907
+ },
908
+ {
909
+ "epoch": 2.7090202667226713,
910
+ "grad_norm": 0.3305146396160126,
911
+ "learning_rate": 5.3616457421654e-06,
912
+ "loss": 0.18893402099609374,
913
+ "step": 6450
914
+ },
915
+ {
916
+ "epoch": 2.730022051874409,
917
+ "grad_norm": 0.018915779888629913,
918
+ "learning_rate": 4.63182320926423e-06,
919
+ "loss": 0.5251737594604492,
920
+ "step": 6500
921
+ },
922
+ {
923
+ "epoch": 2.751023837026147,
924
+ "grad_norm": 2.023514986038208,
925
+ "learning_rate": 3.9541995041621925e-06,
926
+ "loss": 0.3400577163696289,
927
+ "step": 6550
928
+ },
929
+ {
930
+ "epoch": 2.7720256221778854,
931
+ "grad_norm": 27.531789779663086,
932
+ "learning_rate": 3.32914551748853e-06,
933
+ "loss": 0.4619370269775391,
934
+ "step": 6600
935
+ },
936
+ {
937
+ "epoch": 2.793027407329623,
938
+ "grad_norm": 23.563621520996094,
939
+ "learning_rate": 2.757003366357236e-06,
940
+ "loss": 0.3556163787841797,
941
+ "step": 6650
942
+ },
943
+ {
944
+ "epoch": 2.814029192481361,
945
+ "grad_norm": 0.1751919537782669,
946
+ "learning_rate": 2.2380862071128327e-06,
947
+ "loss": 0.43869766235351565,
948
+ "step": 6700
949
+ },
950
+ {
951
+ "epoch": 2.8350309776330986,
952
+ "grad_norm": 74.48571014404297,
953
+ "learning_rate": 1.77267806392718e-06,
954
+ "loss": 0.43838497161865236,
955
+ "step": 6750
956
+ },
957
+ {
958
+ "epoch": 2.856032762784837,
959
+ "grad_norm": 0.02355477400124073,
960
+ "learning_rate": 1.3610336733417605e-06,
961
+ "loss": 0.27370246887207034,
962
+ "step": 6800
963
+ },
964
+ {
965
+ "epoch": 2.8770345479365744,
966
+ "grad_norm": 79.37924194335938,
967
+ "learning_rate": 1.0033783448401112e-06,
968
+ "loss": 0.521487808227539,
969
+ "step": 6850
970
+ },
971
+ {
972
+ "epoch": 2.8980363330883128,
973
+ "grad_norm": 0.01911379024386406,
974
+ "learning_rate": 6.999078375269252e-07,
975
+ "loss": 0.424820671081543,
976
+ "step": 6900
977
+ },
978
+ {
979
+ "epoch": 2.91903811824005,
980
+ "grad_norm": 63.20115661621094,
981
+ "learning_rate": 4.5078825298122683e-07,
982
+ "loss": 0.48077041625976563,
983
+ "step": 6950
984
+ },
985
+ {
986
+ "epoch": 2.9400399033917886,
987
+ "grad_norm": 19.453731536865234,
988
+ "learning_rate": 2.5615594434229564e-07,
989
+ "loss": 0.4773090362548828,
990
+ "step": 7000
991
+ }
992
+ ],
993
+ "logging_steps": 50,
994
+ "max_steps": 7143,
995
+ "num_input_tokens_seen": 0,
996
+ "num_train_epochs": 3,
997
+ "save_steps": 500,
998
+ "stateful_callbacks": {
999
+ "TrainerControl": {
1000
+ "args": {
1001
+ "should_epoch_stop": false,
1002
+ "should_evaluate": false,
1003
+ "should_log": false,
1004
+ "should_save": true,
1005
+ "should_training_stop": false
1006
+ },
1007
+ "attributes": {}
1008
+ }
1009
+ },
1010
+ "total_flos": 6.039122105755238e+17,
1011
+ "train_batch_size": 4,
1012
+ "trial_name": null,
1013
+ "trial_params": null
1014
+ }
checkpoint-7000/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3dcfe9cb7f80cca256d11b427979266d513b9e02e5d47123e2e934069b9ff0d4
3
+ size 5265
checkpoint-7143/README.md ADDED
@@ -0,0 +1,206 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: meta-llama/Llama-3.1-8B-Instruct
3
+ library_name: peft
4
+ tags:
5
+ - base_model:adapter:meta-llama/Llama-3.1-8B-Instruct
6
+ - lora
7
+ - transformers
8
+ ---
9
+
10
+ # Model Card for Model ID
11
+
12
+ <!-- Provide a quick summary of what the model is/does. -->
13
+
14
+
15
+
16
+ ## Model Details
17
+
18
+ ### Model Description
19
+
20
+ <!-- Provide a longer summary of what this model is. -->
21
+
22
+
23
+
24
+ - **Developed by:** [More Information Needed]
25
+ - **Funded by [optional]:** [More Information Needed]
26
+ - **Shared by [optional]:** [More Information Needed]
27
+ - **Model type:** [More Information Needed]
28
+ - **Language(s) (NLP):** [More Information Needed]
29
+ - **License:** [More Information Needed]
30
+ - **Finetuned from model [optional]:** [More Information Needed]
31
+
32
+ ### Model Sources [optional]
33
+
34
+ <!-- Provide the basic links for the model. -->
35
+
36
+ - **Repository:** [More Information Needed]
37
+ - **Paper [optional]:** [More Information Needed]
38
+ - **Demo [optional]:** [More Information Needed]
39
+
40
+ ## Uses
41
+
42
+ <!-- Address questions around how the model is intended to be used, including the foreseeable users of the model and those affected by the model. -->
43
+
44
+ ### Direct Use
45
+
46
+ <!-- This section is for the model use without fine-tuning or plugging into a larger ecosystem/app. -->
47
+
48
+ [More Information Needed]
49
+
50
+ ### Downstream Use [optional]
51
+
52
+ <!-- This section is for the model use when fine-tuned for a task, or when plugged into a larger ecosystem/app -->
53
+
54
+ [More Information Needed]
55
+
56
+ ### Out-of-Scope Use
57
+
58
+ <!-- This section addresses misuse, malicious use, and uses that the model will not work well for. -->
59
+
60
+ [More Information Needed]
61
+
62
+ ## Bias, Risks, and Limitations
63
+
64
+ <!-- This section is meant to convey both technical and sociotechnical limitations. -->
65
+
66
+ [More Information Needed]
67
+
68
+ ### Recommendations
69
+
70
+ <!-- This section is meant to convey recommendations with respect to the bias, risk, and technical limitations. -->
71
+
72
+ Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. More information needed for further recommendations.
73
+
74
+ ## How to Get Started with the Model
75
+
76
+ Use the code below to get started with the model.
77
+
78
+ [More Information Needed]
79
+
80
+ ## Training Details
81
+
82
+ ### Training Data
83
+
84
+ <!-- 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. -->
85
+
86
+ [More Information Needed]
87
+
88
+ ### Training Procedure
89
+
90
+ <!-- This relates heavily to the Technical Specifications. Content here should link to that section when it is relevant to the training procedure. -->
91
+
92
+ #### Preprocessing [optional]
93
+
94
+ [More Information Needed]
95
+
96
+
97
+ #### Training Hyperparameters
98
+
99
+ - **Training regime:** [More Information Needed] <!--fp32, fp16 mixed precision, bf16 mixed precision, bf16 non-mixed precision, fp16 non-mixed precision, fp8 mixed precision -->
100
+
101
+ #### Speeds, Sizes, Times [optional]
102
+
103
+ <!-- This section provides information about throughput, start/end time, checkpoint size if relevant, etc. -->
104
+
105
+ [More Information Needed]
106
+
107
+ ## Evaluation
108
+
109
+ <!-- This section describes the evaluation protocols and provides the results. -->
110
+
111
+ ### Testing Data, Factors & Metrics
112
+
113
+ #### Testing Data
114
+
115
+ <!-- This should link to a Dataset Card if possible. -->
116
+
117
+ [More Information Needed]
118
+
119
+ #### Factors
120
+
121
+ <!-- These are the things the evaluation is disaggregating by, e.g., subpopulations or domains. -->
122
+
123
+ [More Information Needed]
124
+
125
+ #### Metrics
126
+
127
+ <!-- These are the evaluation metrics being used, ideally with a description of why. -->
128
+
129
+ [More Information Needed]
130
+
131
+ ### Results
132
+
133
+ [More Information Needed]
134
+
135
+ #### Summary
136
+
137
+
138
+
139
+ ## Model Examination [optional]
140
+
141
+ <!-- Relevant interpretability work for the model goes here -->
142
+
143
+ [More Information Needed]
144
+
145
+ ## Environmental Impact
146
+
147
+ <!-- Total emissions (in grams of CO2eq) and additional considerations, such as electricity usage, go here. Edit the suggested text below accordingly -->
148
+
149
+ 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).
150
+
151
+ - **Hardware Type:** [More Information Needed]
152
+ - **Hours used:** [More Information Needed]
153
+ - **Cloud Provider:** [More Information Needed]
154
+ - **Compute Region:** [More Information Needed]
155
+ - **Carbon Emitted:** [More Information Needed]
156
+
157
+ ## Technical Specifications [optional]
158
+
159
+ ### Model Architecture and Objective
160
+
161
+ [More Information Needed]
162
+
163
+ ### Compute Infrastructure
164
+
165
+ [More Information Needed]
166
+
167
+ #### Hardware
168
+
169
+ [More Information Needed]
170
+
171
+ #### Software
172
+
173
+ [More Information Needed]
174
+
175
+ ## Citation [optional]
176
+
177
+ <!-- If there is a paper or blog post introducing the model, the APA and Bibtex information for that should go in this section. -->
178
+
179
+ **BibTeX:**
180
+
181
+ [More Information Needed]
182
+
183
+ **APA:**
184
+
185
+ [More Information Needed]
186
+
187
+ ## Glossary [optional]
188
+
189
+ <!-- If relevant, include terms and calculations in this section that can help readers understand the model or model card. -->
190
+
191
+ [More Information Needed]
192
+
193
+ ## More Information [optional]
194
+
195
+ [More Information Needed]
196
+
197
+ ## Model Card Authors [optional]
198
+
199
+ [More Information Needed]
200
+
201
+ ## Model Card Contact
202
+
203
+ [More Information Needed]
204
+ ### Framework versions
205
+
206
+ - PEFT 0.18.1
checkpoint-7143/adapter_config.json ADDED
@@ -0,0 +1,49 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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": [
25
+ "classifier",
26
+ "score"
27
+ ],
28
+ "peft_type": "LORA",
29
+ "peft_version": "0.18.1",
30
+ "qalora_group_size": 16,
31
+ "r": 16,
32
+ "rank_pattern": {},
33
+ "revision": null,
34
+ "target_modules": [
35
+ "gate_proj",
36
+ "k_proj",
37
+ "q_proj",
38
+ "up_proj",
39
+ "o_proj",
40
+ "down_proj",
41
+ "v_proj"
42
+ ],
43
+ "target_parameters": null,
44
+ "task_type": "SEQ_CLS",
45
+ "trainable_token_indices": null,
46
+ "use_dora": false,
47
+ "use_qalora": false,
48
+ "use_rslora": false
49
+ }
checkpoint-7143/adapter_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:40140e3ec79feb4e156a7f0b24d6843fcb5e1d2d1dd480e808d38509a9ce1e9e
3
+ size 167881496
checkpoint-7143/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 %}
checkpoint-7143/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fc6afe84c0e9f82c581b2253a3a4a0878c148db870c6f230adb4a4ec6e79be3e
3
+ size 85755561
checkpoint-7143/rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c99f9105dc37c265a596c031fe7a6820494b607d84a3cde5e82fe07b105dae24
3
+ size 14645
checkpoint-7143/scaler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8850932d9acfacf0feb268963dc6684a46c50f514e0528a879fa32a2cb085c31
3
+ size 1383
checkpoint-7143/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f8904945884075cc1b1c5d7c94d4927320f40ce65ff08f5c590f2906a4d25f20
3
+ size 1465
checkpoint-7143/tokenizer.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fbe07b35a61be0ec850f12e9379be8ca47b4ef845b20f0d146a8a2bfdb0e7e3e
3
+ size 17210195
checkpoint-7143/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
+ }
checkpoint-7143/trainer_state.json ADDED
@@ -0,0 +1,1028 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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": 7143,
8
+ "is_hyper_param_search": false,
9
+ "is_local_process_zero": true,
10
+ "is_world_process_zero": true,
11
+ "log_history": [
12
+ {
13
+ "epoch": 0.0210017851517379,
14
+ "grad_norm": 96.88743591308594,
15
+ "learning_rate": 2.0512820512820512e-05,
16
+ "loss": 8.165773315429687,
17
+ "step": 50
18
+ },
19
+ {
20
+ "epoch": 0.0420035703034758,
21
+ "grad_norm": 116.87528228759766,
22
+ "learning_rate": 4.382284382284382e-05,
23
+ "loss": 5.416732177734375,
24
+ "step": 100
25
+ },
26
+ {
27
+ "epoch": 0.0630053554552137,
28
+ "grad_norm": 61.64604187011719,
29
+ "learning_rate": 6.713286713286715e-05,
30
+ "loss": 4.055693664550781,
31
+ "step": 150
32
+ },
33
+ {
34
+ "epoch": 0.0840071406069516,
35
+ "grad_norm": 116.0433120727539,
36
+ "learning_rate": 9.044289044289046e-05,
37
+ "loss": 2.936495056152344,
38
+ "step": 200
39
+ },
40
+ {
41
+ "epoch": 0.10500892575868949,
42
+ "grad_norm": 151.53907775878906,
43
+ "learning_rate": 0.00011375291375291375,
44
+ "loss": 2.698266906738281,
45
+ "step": 250
46
+ },
47
+ {
48
+ "epoch": 0.1260107109104274,
49
+ "grad_norm": 113.19374084472656,
50
+ "learning_rate": 0.00013706293706293706,
51
+ "loss": 2.4747793579101565,
52
+ "step": 300
53
+ },
54
+ {
55
+ "epoch": 0.1470124960621653,
56
+ "grad_norm": 126.88410186767578,
57
+ "learning_rate": 0.0001603729603729604,
58
+ "loss": 2.5189743041992188,
59
+ "step": 350
60
+ },
61
+ {
62
+ "epoch": 0.1680142812139032,
63
+ "grad_norm": 59.926734924316406,
64
+ "learning_rate": 0.00018368298368298368,
65
+ "loss": 2.631827087402344,
66
+ "step": 400
67
+ },
68
+ {
69
+ "epoch": 0.18901606636564108,
70
+ "grad_norm": 64.80731201171875,
71
+ "learning_rate": 0.0001999975368672928,
72
+ "loss": 2.6951309204101563,
73
+ "step": 450
74
+ },
75
+ {
76
+ "epoch": 0.21001785151737898,
77
+ "grad_norm": 145.46435546875,
78
+ "learning_rate": 0.00019995375121686682,
79
+ "loss": 2.381460876464844,
80
+ "step": 500
81
+ },
82
+ {
83
+ "epoch": 0.23101963666911687,
84
+ "grad_norm": 229.77268981933594,
85
+ "learning_rate": 0.00019985525686985856,
86
+ "loss": 2.2023199462890624,
87
+ "step": 550
88
+ },
89
+ {
90
+ "epoch": 0.2520214218208548,
91
+ "grad_norm": 67.24784851074219,
92
+ "learning_rate": 0.00019970210773617416,
93
+ "loss": 2.550819091796875,
94
+ "step": 600
95
+ },
96
+ {
97
+ "epoch": 0.2730232069725927,
98
+ "grad_norm": 90.69214630126953,
99
+ "learning_rate": 0.00019949438764047637,
100
+ "loss": 2.440052032470703,
101
+ "step": 650
102
+ },
103
+ {
104
+ "epoch": 0.2940249921243306,
105
+ "grad_norm": 56.658851623535156,
106
+ "learning_rate": 0.00019923798662574877,
107
+ "loss": 2.2508380126953127,
108
+ "step": 700
109
+ },
110
+ {
111
+ "epoch": 0.3150267772760685,
112
+ "grad_norm": 24.49359130859375,
113
+ "learning_rate": 0.00019892258016992456,
114
+ "loss": 2.227517547607422,
115
+ "step": 750
116
+ },
117
+ {
118
+ "epoch": 0.3360285624278064,
119
+ "grad_norm": 24.36576271057129,
120
+ "learning_rate": 0.00019855302941878611,
121
+ "loss": 2.384382476806641,
122
+ "step": 800
123
+ },
124
+ {
125
+ "epoch": 0.35703034757954427,
126
+ "grad_norm": 59.77130889892578,
127
+ "learning_rate": 0.00019812953664228,
128
+ "loss": 2.337910614013672,
129
+ "step": 850
130
+ },
131
+ {
132
+ "epoch": 0.37803213273128217,
133
+ "grad_norm": 13.947885513305664,
134
+ "learning_rate": 0.00019765233363498648,
135
+ "loss": 2.007940673828125,
136
+ "step": 900
137
+ },
138
+ {
139
+ "epoch": 0.39903391788302006,
140
+ "grad_norm": 66.34615325927734,
141
+ "learning_rate": 0.00019712168158924926,
142
+ "loss": 2.213553924560547,
143
+ "step": 950
144
+ },
145
+ {
146
+ "epoch": 0.42003570303475796,
147
+ "grad_norm": 135.73300170898438,
148
+ "learning_rate": 0.00019653787095221418,
149
+ "loss": 2.4402421569824218,
150
+ "step": 1000
151
+ },
152
+ {
153
+ "epoch": 0.44103748818649585,
154
+ "grad_norm": 90.47286224365234,
155
+ "learning_rate": 0.00019590122126685597,
156
+ "loss": 1.987421417236328,
157
+ "step": 1050
158
+ },
159
+ {
160
+ "epoch": 0.46203927333823375,
161
+ "grad_norm": 27.09687614440918,
162
+ "learning_rate": 0.00019521208099707965,
163
+ "loss": 2.076619873046875,
164
+ "step": 1100
165
+ },
166
+ {
167
+ "epoch": 0.48304105848997164,
168
+ "grad_norm": 53.363224029541016,
169
+ "learning_rate": 0.00019447082733699213,
170
+ "loss": 2.1755889892578124,
171
+ "step": 1150
172
+ },
173
+ {
174
+ "epoch": 0.5040428436417096,
175
+ "grad_norm": 67.22119140625,
176
+ "learning_rate": 0.00019367786600444874,
177
+ "loss": 2.023298645019531,
178
+ "step": 1200
179
+ },
180
+ {
181
+ "epoch": 0.5250446287934475,
182
+ "grad_norm": 25.080530166625977,
183
+ "learning_rate": 0.0001928336310189877,
184
+ "loss": 2.353513031005859,
185
+ "step": 1250
186
+ },
187
+ {
188
+ "epoch": 0.5460464139451854,
189
+ "grad_norm": 65.75191497802734,
190
+ "learning_rate": 0.0001919385844642737,
191
+ "loss": 1.9453860473632814,
192
+ "step": 1300
193
+ },
194
+ {
195
+ "epoch": 0.5670481990969233,
196
+ "grad_norm": 100.38494873046875,
197
+ "learning_rate": 0.00019099321623518108,
198
+ "loss": 2.0582290649414063,
199
+ "step": 1350
200
+ },
201
+ {
202
+ "epoch": 0.5880499842486612,
203
+ "grad_norm": 30.531715393066406,
204
+ "learning_rate": 0.0001899980437696546,
205
+ "loss": 1.88087646484375,
206
+ "step": 1400
207
+ },
208
+ {
209
+ "epoch": 0.6090517694003991,
210
+ "grad_norm": 68.83368682861328,
211
+ "learning_rate": 0.000188953611765495,
212
+ "loss": 1.7309284973144532,
213
+ "step": 1450
214
+ },
215
+ {
216
+ "epoch": 0.630053554552137,
217
+ "grad_norm": 50.95656204223633,
218
+ "learning_rate": 0.00018786049188222403,
219
+ "loss": 1.8775811767578126,
220
+ "step": 1500
221
+ },
222
+ {
223
+ "epoch": 0.6510553397038749,
224
+ "grad_norm": 33.41248321533203,
225
+ "learning_rate": 0.00018671928242819226,
226
+ "loss": 1.945216522216797,
227
+ "step": 1550
228
+ },
229
+ {
230
+ "epoch": 0.6720571248556128,
231
+ "grad_norm": 44.737709045410156,
232
+ "learning_rate": 0.00018553060803310083,
233
+ "loss": 2.106058807373047,
234
+ "step": 1600
235
+ },
236
+ {
237
+ "epoch": 0.6930589100073506,
238
+ "grad_norm": 35.77622985839844,
239
+ "learning_rate": 0.0001842951193061168,
240
+ "loss": 1.7817611694335938,
241
+ "step": 1650
242
+ },
243
+ {
244
+ "epoch": 0.7140606951590885,
245
+ "grad_norm": 29.49221420288086,
246
+ "learning_rate": 0.0001830134924797684,
247
+ "loss": 1.8394444274902344,
248
+ "step": 1700
249
+ },
250
+ {
251
+ "epoch": 0.7350624803108264,
252
+ "grad_norm": 74.85762786865234,
253
+ "learning_rate": 0.00018168642903981607,
254
+ "loss": 1.8008517456054687,
255
+ "step": 1750
256
+ },
257
+ {
258
+ "epoch": 0.7560642654625643,
259
+ "grad_norm": 54.40049743652344,
260
+ "learning_rate": 0.0001803146553413009,
261
+ "loss": 1.8719265747070313,
262
+ "step": 1800
263
+ },
264
+ {
265
+ "epoch": 0.7770660506143022,
266
+ "grad_norm": 68.5858154296875,
267
+ "learning_rate": 0.00017889892221098163,
268
+ "loss": 1.93374267578125,
269
+ "step": 1850
270
+ },
271
+ {
272
+ "epoch": 0.7980678357660401,
273
+ "grad_norm": 43.123600006103516,
274
+ "learning_rate": 0.00017744000453637711,
275
+ "loss": 1.931842041015625,
276
+ "step": 1900
277
+ },
278
+ {
279
+ "epoch": 0.819069620917778,
280
+ "grad_norm": 42.68077087402344,
281
+ "learning_rate": 0.00017593870084163892,
282
+ "loss": 1.932684326171875,
283
+ "step": 1950
284
+ },
285
+ {
286
+ "epoch": 0.8400714060695159,
287
+ "grad_norm": 32.452735900878906,
288
+ "learning_rate": 0.00017439583285048748,
289
+ "loss": 2.020773468017578,
290
+ "step": 2000
291
+ },
292
+ {
293
+ "epoch": 0.8610731912212538,
294
+ "grad_norm": 23.90448760986328,
295
+ "learning_rate": 0.00017281224503644944,
296
+ "loss": 1.7309165954589845,
297
+ "step": 2050
298
+ },
299
+ {
300
+ "epoch": 0.8820749763729917,
301
+ "grad_norm": 122.4535140991211,
302
+ "learning_rate": 0.00017118880416064353,
303
+ "loss": 1.9589013671875,
304
+ "step": 2100
305
+ },
306
+ {
307
+ "epoch": 0.9030767615247296,
308
+ "grad_norm": 27.976648330688477,
309
+ "learning_rate": 0.00016952639879736755,
310
+ "loss": 1.9594146728515625,
311
+ "step": 2150
312
+ },
313
+ {
314
+ "epoch": 0.9240785466764675,
315
+ "grad_norm": 32.92108917236328,
316
+ "learning_rate": 0.00016782593884774586,
317
+ "loss": 1.8159463500976563,
318
+ "step": 2200
319
+ },
320
+ {
321
+ "epoch": 0.9450803318282054,
322
+ "grad_norm": 110.42147064208984,
323
+ "learning_rate": 0.00016608835504170396,
324
+ "loss": 1.8676722717285157,
325
+ "step": 2250
326
+ },
327
+ {
328
+ "epoch": 0.9660821169799433,
329
+ "grad_norm": 83.26129913330078,
330
+ "learning_rate": 0.00016431459842854303,
331
+ "loss": 1.955204620361328,
332
+ "step": 2300
333
+ },
334
+ {
335
+ "epoch": 0.9870839021316812,
336
+ "grad_norm": 41.638790130615234,
337
+ "learning_rate": 0.00016250563985639204,
338
+ "loss": 1.8278160095214844,
339
+ "step": 2350
340
+ },
341
+ {
342
+ "epoch": 1.0079806783576604,
343
+ "grad_norm": 11.446990013122559,
344
+ "learning_rate": 0.00016066246944082394,
345
+ "loss": 1.7912734985351562,
346
+ "step": 2400
347
+ },
348
+ {
349
+ "epoch": 1.0289824635093983,
350
+ "grad_norm": 5.880982398986816,
351
+ "learning_rate": 0.00015878609602292562,
352
+ "loss": 1.458508758544922,
353
+ "step": 2450
354
+ },
355
+ {
356
+ "epoch": 1.0499842486611362,
357
+ "grad_norm": 99.73579406738281,
358
+ "learning_rate": 0.00015687754661711866,
359
+ "loss": 1.5889370727539063,
360
+ "step": 2500
361
+ },
362
+ {
363
+ "epoch": 1.070986033812874,
364
+ "grad_norm": 30.614892959594727,
365
+ "learning_rate": 0.0001549378658490333,
366
+ "loss": 1.396112823486328,
367
+ "step": 2550
368
+ },
369
+ {
370
+ "epoch": 1.091987818964612,
371
+ "grad_norm": 42.81917953491211,
372
+ "learning_rate": 0.00015296811538374278,
373
+ "loss": 1.2478562927246093,
374
+ "step": 2600
375
+ },
376
+ {
377
+ "epoch": 1.1129896041163498,
378
+ "grad_norm": 89.29583740234375,
379
+ "learning_rate": 0.00015096937334467151,
380
+ "loss": 1.6881478881835938,
381
+ "step": 2650
382
+ },
383
+ {
384
+ "epoch": 1.1339913892680877,
385
+ "grad_norm": 45.66031265258789,
386
+ "learning_rate": 0.000148942733723495,
387
+ "loss": 1.3388128662109375,
388
+ "step": 2700
389
+ },
390
+ {
391
+ "epoch": 1.1549931744198256,
392
+ "grad_norm": 19.098651885986328,
393
+ "learning_rate": 0.00014688930578135416,
394
+ "loss": 1.4715719604492188,
395
+ "step": 2750
396
+ },
397
+ {
398
+ "epoch": 1.1759949595715635,
399
+ "grad_norm": 40.75487518310547,
400
+ "learning_rate": 0.0001448102134417123,
401
+ "loss": 1.3008560180664062,
402
+ "step": 2800
403
+ },
404
+ {
405
+ "epoch": 1.1969967447233014,
406
+ "grad_norm": NaN,
407
+ "learning_rate": 0.00014270659467518682,
408
+ "loss": 1.458815155029297,
409
+ "step": 2850
410
+ },
411
+ {
412
+ "epoch": 1.2179985298750393,
413
+ "grad_norm": 59.06400680541992,
414
+ "learning_rate": 0.00014062236231847836,
415
+ "loss": 1.4431008911132812,
416
+ "step": 2900
417
+ },
418
+ {
419
+ "epoch": 1.2390003150267772,
420
+ "grad_norm": 55.12430953979492,
421
+ "learning_rate": 0.00013847359040513967,
422
+ "loss": 1.2680451965332031,
423
+ "step": 2950
424
+ },
425
+ {
426
+ "epoch": 1.260002100178515,
427
+ "grad_norm": 18.353561401367188,
428
+ "learning_rate": 0.0001363037603528289,
429
+ "loss": 1.3490068054199218,
430
+ "step": 3000
431
+ },
432
+ {
433
+ "epoch": 1.281003885330253,
434
+ "grad_norm": 46.3448371887207,
435
+ "learning_rate": 0.00013411405979655243,
436
+ "loss": 1.31285400390625,
437
+ "step": 3050
438
+ },
439
+ {
440
+ "epoch": 1.302005670481991,
441
+ "grad_norm": 28.819128036499023,
442
+ "learning_rate": 0.0001319056872472404,
443
+ "loss": 1.2427201080322265,
444
+ "step": 3100
445
+ },
446
+ {
447
+ "epoch": 1.3230074556337288,
448
+ "grad_norm": 41.59355545043945,
449
+ "learning_rate": 0.00012967985143575356,
450
+ "loss": 1.488096923828125,
451
+ "step": 3150
452
+ },
453
+ {
454
+ "epoch": 1.3440092407854667,
455
+ "grad_norm": 21.26289939880371,
456
+ "learning_rate": 0.00012743777065129635,
457
+ "loss": 1.3544757080078125,
458
+ "step": 3200
459
+ },
460
+ {
461
+ "epoch": 1.3650110259372046,
462
+ "grad_norm": 42.516868591308594,
463
+ "learning_rate": 0.0001251806720745984,
464
+ "loss": 1.3172706604003905,
465
+ "step": 3250
466
+ },
467
+ {
468
+ "epoch": 1.3860128110889427,
469
+ "grad_norm": 51.99966812133789,
470
+ "learning_rate": 0.00012290979110622937,
471
+ "loss": 1.340508270263672,
472
+ "step": 3300
473
+ },
474
+ {
475
+ "epoch": 1.4070145962406806,
476
+ "grad_norm": 40.60024642944336,
477
+ "learning_rate": 0.00012062637069041456,
478
+ "loss": 1.2897941589355468,
479
+ "step": 3350
480
+ },
481
+ {
482
+ "epoch": 1.4280163813924185,
483
+ "grad_norm": 31.378459930419922,
484
+ "learning_rate": 0.0001183316606347217,
485
+ "loss": 1.5410649108886718,
486
+ "step": 3400
487
+ },
488
+ {
489
+ "epoch": 1.4490181665441564,
490
+ "grad_norm": 26.510839462280273,
491
+ "learning_rate": 0.00011602691692599127,
492
+ "loss": 1.2167890167236328,
493
+ "step": 3450
494
+ },
495
+ {
496
+ "epoch": 1.4700199516958943,
497
+ "grad_norm": 23.495378494262695,
498
+ "learning_rate": 0.00011371340104288442,
499
+ "loss": 1.42876708984375,
500
+ "step": 3500
501
+ },
502
+ {
503
+ "epoch": 1.4910217368476322,
504
+ "grad_norm": 28.301671981811523,
505
+ "learning_rate": 0.00011139237926542509,
506
+ "loss": 1.063271255493164,
507
+ "step": 3550
508
+ },
509
+ {
510
+ "epoch": 1.51202352199937,
511
+ "grad_norm": 21.21889877319336,
512
+ "learning_rate": 0.0001090651219819143,
513
+ "loss": 1.2190794372558593,
514
+ "step": 3600
515
+ },
516
+ {
517
+ "epoch": 1.533025307151108,
518
+ "grad_norm": 15.157039642333984,
519
+ "learning_rate": 0.00010673290299359551,
520
+ "loss": 1.2155840301513672,
521
+ "step": 3650
522
+ },
523
+ {
524
+ "epoch": 1.5540270923028459,
525
+ "grad_norm": 12.83481502532959,
526
+ "learning_rate": 0.00010439699881745222,
527
+ "loss": 1.2669831085205079,
528
+ "step": 3700
529
+ },
530
+ {
531
+ "epoch": 1.5750288774545838,
532
+ "grad_norm": 40.47445297241211,
533
+ "learning_rate": 0.00010205868798751908,
534
+ "loss": 1.189565658569336,
535
+ "step": 3750
536
+ },
537
+ {
538
+ "epoch": 1.5960306626063216,
539
+ "grad_norm": 47.97238540649414,
540
+ "learning_rate": 9.971925035508882e-05,
541
+ "loss": 1.3227517700195313,
542
+ "step": 3800
543
+ },
544
+ {
545
+ "epoch": 1.6170324477580595,
546
+ "grad_norm": 11.237785339355469,
547
+ "learning_rate": 9.737996638819842e-05,
548
+ "loss": 1.1511013793945313,
549
+ "step": 3850
550
+ },
551
+ {
552
+ "epoch": 1.6380342329097974,
553
+ "grad_norm": 27.457271575927734,
554
+ "learning_rate": 9.504211647077748e-05,
555
+ "loss": 1.1926652526855468,
556
+ "step": 3900
557
+ },
558
+ {
559
+ "epoch": 1.6590360180615353,
560
+ "grad_norm": 15.741539001464844,
561
+ "learning_rate": 9.270698020184285e-05,
562
+ "loss": 1.0482740020751953,
563
+ "step": 3950
564
+ },
565
+ {
566
+ "epoch": 1.6800378032132732,
567
+ "grad_norm": 7.643248558044434,
568
+ "learning_rate": 9.037583569512271e-05,
569
+ "loss": 1.2052240753173828,
570
+ "step": 4000
571
+ },
572
+ {
573
+ "epoch": 1.7010395883650111,
574
+ "grad_norm": 20.112401962280273,
575
+ "learning_rate": 8.804995887949373e-05,
576
+ "loss": 1.0017765808105468,
577
+ "step": 4050
578
+ },
579
+ {
580
+ "epoch": 1.722041373516749,
581
+ "grad_norm": 22.75946617126465,
582
+ "learning_rate": 8.573062280061399e-05,
583
+ "loss": 1.348891143798828,
584
+ "step": 4100
585
+ },
586
+ {
587
+ "epoch": 1.743043158668487,
588
+ "grad_norm": 47.762718200683594,
589
+ "learning_rate": 8.341909692413401e-05,
590
+ "loss": 1.1363021850585937,
591
+ "step": 4150
592
+ },
593
+ {
594
+ "epoch": 1.7640449438202248,
595
+ "grad_norm": 28.285919189453125,
596
+ "learning_rate": 8.111664644086733e-05,
597
+ "loss": 1.1882960510253906,
598
+ "step": 4200
599
+ },
600
+ {
601
+ "epoch": 1.7850467289719627,
602
+ "grad_norm": 6.3662214279174805,
603
+ "learning_rate": 7.882453157430086e-05,
604
+ "loss": 1.21821044921875,
605
+ "step": 4250
606
+ },
607
+ {
608
+ "epoch": 1.8060485141237006,
609
+ "grad_norm": 11.175128936767578,
610
+ "learning_rate": 7.654400689082387e-05,
611
+ "loss": 1.1443672180175781,
612
+ "step": 4300
613
+ },
614
+ {
615
+ "epoch": 1.8270502992754385,
616
+ "grad_norm": 7.028075218200684,
617
+ "learning_rate": 7.427632061305376e-05,
618
+ "loss": 1.1513980865478515,
619
+ "step": 4350
620
+ },
621
+ {
622
+ "epoch": 1.8480520844271764,
623
+ "grad_norm": 3.8552818298339844,
624
+ "learning_rate": 7.202271393663354e-05,
625
+ "loss": 1.1591477966308594,
626
+ "step": 4400
627
+ },
628
+ {
629
+ "epoch": 1.8690538695789143,
630
+ "grad_norm": 27.834590911865234,
631
+ "learning_rate": 6.978442035087579e-05,
632
+ "loss": 1.0166816711425781,
633
+ "step": 4450
634
+ },
635
+ {
636
+ "epoch": 1.8900556547306522,
637
+ "grad_norm": 34.69282913208008,
638
+ "learning_rate": 6.756266496362442e-05,
639
+ "loss": 1.1785438537597657,
640
+ "step": 4500
641
+ },
642
+ {
643
+ "epoch": 1.91105743988239,
644
+ "grad_norm": 34.50713348388672,
645
+ "learning_rate": 6.535866383070405e-05,
646
+ "loss": 0.9877433013916016,
647
+ "step": 4550
648
+ },
649
+ {
650
+ "epoch": 1.932059225034128,
651
+ "grad_norm": 28.763914108276367,
652
+ "learning_rate": 6.317362329032388e-05,
653
+ "loss": 0.9768619537353516,
654
+ "step": 4600
655
+ },
656
+ {
657
+ "epoch": 1.9530610101858659,
658
+ "grad_norm": 44.40330505371094,
659
+ "learning_rate": 6.1008739302800486e-05,
660
+ "loss": 1.2748094940185546,
661
+ "step": 4650
662
+ },
663
+ {
664
+ "epoch": 1.9740627953376038,
665
+ "grad_norm": 45.88819122314453,
666
+ "learning_rate": 5.886519679596063e-05,
667
+ "loss": 0.8840785980224609,
668
+ "step": 4700
669
+ },
670
+ {
671
+ "epoch": 1.9950645804893417,
672
+ "grad_norm": 26.39780044555664,
673
+ "learning_rate": 5.674416901658288e-05,
674
+ "loss": 1.1054458618164062,
675
+ "step": 4750
676
+ },
677
+ {
678
+ "epoch": 2.0159613567153207,
679
+ "grad_norm": 28.105772018432617,
680
+ "learning_rate": 5.464681688823246e-05,
681
+ "loss": 0.43650150299072266,
682
+ "step": 4800
683
+ },
684
+ {
685
+ "epoch": 2.0369631418670586,
686
+ "grad_norm": 0.8811307549476624,
687
+ "learning_rate": 5.257428837584142e-05,
688
+ "loss": 0.4781087112426758,
689
+ "step": 4850
690
+ },
691
+ {
692
+ "epoch": 2.0579649270187965,
693
+ "grad_norm": 29.04726791381836,
694
+ "learning_rate": 5.052771785738109e-05,
695
+ "loss": 0.538114242553711,
696
+ "step": 4900
697
+ },
698
+ {
699
+ "epoch": 2.0789667121705344,
700
+ "grad_norm": 2.272526741027832,
701
+ "learning_rate": 4.8548342809611756e-05,
702
+ "loss": 0.5318920516967773,
703
+ "step": 4950
704
+ },
705
+ {
706
+ "epoch": 2.0999684973222723,
707
+ "grad_norm": 35.368194580078125,
708
+ "learning_rate": 4.655645956450846e-05,
709
+ "loss": 0.48801342010498044,
710
+ "step": 5000
711
+ },
712
+ {
713
+ "epoch": 2.12097028247401,
714
+ "grad_norm": 0.03809299319982529,
715
+ "learning_rate": 4.4593828112383176e-05,
716
+ "loss": 0.4779471206665039,
717
+ "step": 5050
718
+ },
719
+ {
720
+ "epoch": 2.141972067625748,
721
+ "grad_norm": 8.704736709594727,
722
+ "learning_rate": 4.269986472510045e-05,
723
+ "loss": 0.6272232437133789,
724
+ "step": 5100
725
+ },
726
+ {
727
+ "epoch": 2.162973852777486,
728
+ "grad_norm": 2.0720932483673096,
729
+ "learning_rate": 4.0798305013432315e-05,
730
+ "loss": 0.43107017517089846,
731
+ "step": 5150
732
+ },
733
+ {
734
+ "epoch": 2.183975637929224,
735
+ "grad_norm": 8.66932201385498,
736
+ "learning_rate": 3.8929148763652736e-05,
737
+ "loss": 0.5629381561279296,
738
+ "step": 5200
739
+ },
740
+ {
741
+ "epoch": 2.204977423080962,
742
+ "grad_norm": 36.49018096923828,
743
+ "learning_rate": 3.7093419039937825e-05,
744
+ "loss": 0.6745287322998047,
745
+ "step": 5250
746
+ },
747
+ {
748
+ "epoch": 2.2259792082326997,
749
+ "grad_norm": 44.782039642333984,
750
+ "learning_rate": 3.529212061078543e-05,
751
+ "loss": 0.44454833984375,
752
+ "step": 5300
753
+ },
754
+ {
755
+ "epoch": 2.2469809933844376,
756
+ "grad_norm": 38.312313079833984,
757
+ "learning_rate": 3.352623939906491e-05,
758
+ "loss": 0.4252283477783203,
759
+ "step": 5350
760
+ },
761
+ {
762
+ "epoch": 2.2679827785361755,
763
+ "grad_norm": 48.045509338378906,
764
+ "learning_rate": 3.179674194238237e-05,
765
+ "loss": 0.6742375183105469,
766
+ "step": 5400
767
+ },
768
+ {
769
+ "epoch": 2.2889845636879134,
770
+ "grad_norm": 63.853843688964844,
771
+ "learning_rate": 3.010457486405549e-05,
772
+ "loss": 0.4491603851318359,
773
+ "step": 5450
774
+ },
775
+ {
776
+ "epoch": 2.3099863488396513,
777
+ "grad_norm": 1.4884780645370483,
778
+ "learning_rate": 2.84506643549889e-05,
779
+ "loss": 0.5363286972045899,
780
+ "step": 5500
781
+ },
782
+ {
783
+ "epoch": 2.330988133991389,
784
+ "grad_norm": 0.02728688158094883,
785
+ "learning_rate": 2.6835915666732548e-05,
786
+ "loss": 0.34341278076171877,
787
+ "step": 5550
788
+ },
789
+ {
790
+ "epoch": 2.351989919143127,
791
+ "grad_norm": 46.706119537353516,
792
+ "learning_rate": 2.5261212616001327e-05,
793
+ "loss": 0.6819667816162109,
794
+ "step": 5600
795
+ },
796
+ {
797
+ "epoch": 2.372991704294865,
798
+ "grad_norm": 2.9122889041900635,
799
+ "learning_rate": 2.372741710092674e-05,
800
+ "loss": 0.3454324722290039,
801
+ "step": 5650
802
+ },
803
+ {
804
+ "epoch": 2.393993489446603,
805
+ "grad_norm": 2.8348746299743652,
806
+ "learning_rate": 2.2235368629305418e-05,
807
+ "loss": 0.37347347259521485,
808
+ "step": 5700
809
+ },
810
+ {
811
+ "epoch": 2.4149952745983407,
812
+ "grad_norm": 2.396700859069824,
813
+ "learning_rate": 2.0785883859102994e-05,
814
+ "loss": 0.478424072265625,
815
+ "step": 5750
816
+ },
817
+ {
818
+ "epoch": 2.4359970597500786,
819
+ "grad_norm": 0.3374341130256653,
820
+ "learning_rate": 1.9379756151464236e-05,
821
+ "loss": 0.3879497528076172,
822
+ "step": 5800
823
+ },
824
+ {
825
+ "epoch": 2.4569988449018165,
826
+ "grad_norm": 0.07735343277454376,
827
+ "learning_rate": 1.801775513647487e-05,
828
+ "loss": 0.3089980697631836,
829
+ "step": 5850
830
+ },
831
+ {
832
+ "epoch": 2.4780006300535544,
833
+ "grad_norm": 45.71025848388672,
834
+ "learning_rate": 1.6700626291912004e-05,
835
+ "loss": 0.3591925048828125,
836
+ "step": 5900
837
+ },
838
+ {
839
+ "epoch": 2.4990024152052923,
840
+ "grad_norm": 86.34896850585938,
841
+ "learning_rate": 1.5429090535214353e-05,
842
+ "loss": 0.4602979278564453,
843
+ "step": 5950
844
+ },
845
+ {
846
+ "epoch": 2.52000420035703,
847
+ "grad_norm": 125.41795349121094,
848
+ "learning_rate": 1.420384382889518e-05,
849
+ "loss": 0.4123740005493164,
850
+ "step": 6000
851
+ },
852
+ {
853
+ "epoch": 2.541005985508768,
854
+ "grad_norm": 0.06989021599292755,
855
+ "learning_rate": 1.302555679961408e-05,
856
+ "loss": 0.5613171768188476,
857
+ "step": 6050
858
+ },
859
+ {
860
+ "epoch": 2.562007770660506,
861
+ "grad_norm": 50.419254302978516,
862
+ "learning_rate": 1.1894874371116182e-05,
863
+ "loss": 0.44726715087890623,
864
+ "step": 6100
865
+ },
866
+ {
867
+ "epoch": 2.583009555812244,
868
+ "grad_norm": 29.774009704589844,
869
+ "learning_rate": 1.081241541123944e-05,
870
+ "loss": 0.36859161376953126,
871
+ "step": 6150
872
+ },
873
+ {
874
+ "epoch": 2.604011340963982,
875
+ "grad_norm": 154.20655822753906,
876
+ "learning_rate": 9.778772393183467e-06,
877
+ "loss": 0.5629509735107422,
878
+ "step": 6200
879
+ },
880
+ {
881
+ "epoch": 2.6250131261157197,
882
+ "grad_norm": 0.09836237877607346,
883
+ "learning_rate": 8.794511071225275e-06,
884
+ "loss": 0.371593132019043,
885
+ "step": 6250
886
+ },
887
+ {
888
+ "epoch": 2.6460149112674576,
889
+ "grad_norm": 56.41450500488281,
890
+ "learning_rate": 7.860170171059067e-06,
891
+ "loss": 0.44127925872802737,
892
+ "step": 6300
893
+ },
894
+ {
895
+ "epoch": 2.6670166964191955,
896
+ "grad_norm": 30.18195152282715,
897
+ "learning_rate": 6.976261094930347e-06,
898
+ "loss": 0.5457481384277344,
899
+ "step": 6350
900
+ },
901
+ {
902
+ "epoch": 2.6880184815709334,
903
+ "grad_norm": 1.9519455432891846,
904
+ "learning_rate": 6.1432676417246925e-06,
905
+ "loss": 0.46905494689941407,
906
+ "step": 6400
907
+ },
908
+ {
909
+ "epoch": 2.7090202667226713,
910
+ "grad_norm": 0.3305146396160126,
911
+ "learning_rate": 5.3616457421654e-06,
912
+ "loss": 0.18893402099609374,
913
+ "step": 6450
914
+ },
915
+ {
916
+ "epoch": 2.730022051874409,
917
+ "grad_norm": 0.018915779888629913,
918
+ "learning_rate": 4.63182320926423e-06,
919
+ "loss": 0.5251737594604492,
920
+ "step": 6500
921
+ },
922
+ {
923
+ "epoch": 2.751023837026147,
924
+ "grad_norm": 2.023514986038208,
925
+ "learning_rate": 3.9541995041621925e-06,
926
+ "loss": 0.3400577163696289,
927
+ "step": 6550
928
+ },
929
+ {
930
+ "epoch": 2.7720256221778854,
931
+ "grad_norm": 27.531789779663086,
932
+ "learning_rate": 3.32914551748853e-06,
933
+ "loss": 0.4619370269775391,
934
+ "step": 6600
935
+ },
936
+ {
937
+ "epoch": 2.793027407329623,
938
+ "grad_norm": 23.563621520996094,
939
+ "learning_rate": 2.757003366357236e-06,
940
+ "loss": 0.3556163787841797,
941
+ "step": 6650
942
+ },
943
+ {
944
+ "epoch": 2.814029192481361,
945
+ "grad_norm": 0.1751919537782669,
946
+ "learning_rate": 2.2380862071128327e-06,
947
+ "loss": 0.43869766235351565,
948
+ "step": 6700
949
+ },
950
+ {
951
+ "epoch": 2.8350309776330986,
952
+ "grad_norm": 74.48571014404297,
953
+ "learning_rate": 1.77267806392718e-06,
954
+ "loss": 0.43838497161865236,
955
+ "step": 6750
956
+ },
957
+ {
958
+ "epoch": 2.856032762784837,
959
+ "grad_norm": 0.02355477400124073,
960
+ "learning_rate": 1.3610336733417605e-06,
961
+ "loss": 0.27370246887207034,
962
+ "step": 6800
963
+ },
964
+ {
965
+ "epoch": 2.8770345479365744,
966
+ "grad_norm": 79.37924194335938,
967
+ "learning_rate": 1.0033783448401112e-06,
968
+ "loss": 0.521487808227539,
969
+ "step": 6850
970
+ },
971
+ {
972
+ "epoch": 2.8980363330883128,
973
+ "grad_norm": 0.01911379024386406,
974
+ "learning_rate": 6.999078375269252e-07,
975
+ "loss": 0.424820671081543,
976
+ "step": 6900
977
+ },
978
+ {
979
+ "epoch": 2.91903811824005,
980
+ "grad_norm": 63.20115661621094,
981
+ "learning_rate": 4.5078825298122683e-07,
982
+ "loss": 0.48077041625976563,
983
+ "step": 6950
984
+ },
985
+ {
986
+ "epoch": 2.9400399033917886,
987
+ "grad_norm": 19.453731536865234,
988
+ "learning_rate": 2.5615594434229564e-07,
989
+ "loss": 0.4773090362548828,
990
+ "step": 7000
991
+ },
992
+ {
993
+ "epoch": 2.961041688543526,
994
+ "grad_norm": 0.6832577586174011,
995
+ "learning_rate": 1.161174416781985e-07,
996
+ "loss": 0.4181100082397461,
997
+ "step": 7050
998
+ },
999
+ {
1000
+ "epoch": 2.9820434736952643,
1001
+ "grad_norm": 2.216742992401123,
1002
+ "learning_rate": 3.07493936775427e-08,
1003
+ "loss": 0.252137451171875,
1004
+ "step": 7100
1005
+ }
1006
+ ],
1007
+ "logging_steps": 50,
1008
+ "max_steps": 7143,
1009
+ "num_input_tokens_seen": 0,
1010
+ "num_train_epochs": 3,
1011
+ "save_steps": 500,
1012
+ "stateful_callbacks": {
1013
+ "TrainerControl": {
1014
+ "args": {
1015
+ "should_epoch_stop": false,
1016
+ "should_evaluate": false,
1017
+ "should_log": false,
1018
+ "should_save": true,
1019
+ "should_training_stop": true
1020
+ },
1021
+ "attributes": {}
1022
+ }
1023
+ },
1024
+ "total_flos": 6.162234131538248e+17,
1025
+ "train_batch_size": 4,
1026
+ "trial_name": null,
1027
+ "trial_params": null
1028
+ }
checkpoint-7143/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3dcfe9cb7f80cca256d11b427979266d513b9e02e5d47123e2e934069b9ff0d4
3
+ size 5265
tokenizer.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fbe07b35a61be0ec850f12e9379be8ca47b4ef845b20f0d146a8a2bfdb0e7e3e
3
+ size 17210195
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
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3dcfe9cb7f80cca256d11b427979266d513b9e02e5d47123e2e934069b9ff0d4
3
+ size 5265