Charley890 commited on
Commit
fea5338
·
verified ·
1 Parent(s): 586342f

Add 11 files

Browse files
.gitattributes CHANGED
@@ -33,3 +33,4 @@ 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
+ tokenizer.json filter=lfs diff=lfs merge=lfs -text
README.md ADDED
@@ -0,0 +1,102 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: meta-llama/Llama-4-Scout-17B-16E-Instruct
3
+ library_name: peft
4
+ license: other
5
+ tags:
6
+ - lora
7
+ - peft
8
+ - adapter
9
+ - adaption
10
+ ---
11
+
12
+ # adaption_python_code_snippets
13
+
14
+ ## Model Training
15
+
16
+ A LORA adapter for `meta-llama/Llama-4-Scout-17B-16E-Instruct`. This model was trained with SFT using [Adaption](https://adaptionlabs.ai)'s AutoScientist on the CodingAdapt dataset.
17
+
18
+
19
+ ![Training metrics](training-metrics.png)
20
+
21
+ ### AutoScientist Config
22
+
23
+ ```json
24
+ {
25
+ "job_id": "da4497a8-ccc4-4355-afca-4cee7f590b3c",
26
+ "training_experiment_id": "e45b4570-5dcf-4bf4-8151-d988fe4bb18d",
27
+ "original_model_name": "meta-llama/Llama-4-Scout-17B-16E-Instruct",
28
+ "trained_model_name": "adaption_python_code_snippets",
29
+ "training_method": "sft",
30
+ "training_type": "lora",
31
+ "data_format": "chat",
32
+ "hyperparams": {
33
+ "lora": "true",
34
+ "lora_r": 64,
35
+ "n_evals": 5,
36
+ "n_epochs": 4,
37
+ "batch_size": "max",
38
+ "lora_alpha": 128,
39
+ "lora_dropout": 0,
40
+ "min_lr_ratio": 0.1,
41
+ "warmup_ratio": 0.05,
42
+ "weight_decay": 0.02,
43
+ "learning_rate": 0.0001,
44
+ "max_grad_norm": 1,
45
+ "base_model_size": "109B",
46
+ "train_on_inputs": "false",
47
+ "training_method": "sft",
48
+ "lr_scheduler_type": "cosine",
49
+ "scheduler_num_cycles": 0.5,
50
+ "lora_trainable_modules": "k_proj,o_proj,q_proj,v_proj,shared_expert.gate_proj,shared_expert.up_proj,shared_expert.down_proj,feed_forward.gate_proj,feed_forward.up_proj,feed_forward.down_proj"
51
+ }
52
+ }
53
+ ```
54
+
55
+ ## Training Data
56
+
57
+ The model was trained on 1,613 rows of adapted data with the following domain distribution: code (100%).
58
+
59
+ ## Model Evaluation
60
+
61
+ The model was evaluated on an in-distribution held-out test set as well as a broader domain-specific test set to measure generalization.
62
+
63
+
64
+ ![Win rates](win-rates.png)
65
+
66
+ | Domain | Win rate vs. base model |
67
+ | --- | --- |
68
+ | code | 67% |
69
+
70
+ ## How to use
71
+
72
+ ```bash
73
+ pip install torch transformers peft
74
+ ```
75
+
76
+ ```python
77
+ import torch
78
+ from transformers import AutoModelForCausalLM, AutoTokenizer
79
+ from peft import PeftModel
80
+
81
+ BASE = "meta-llama/Llama-4-Scout-17B-16E-Instruct"
82
+ ADAPTER = "<this-repo-id>"
83
+
84
+ device = "cuda" if torch.cuda.is_available() else "cpu"
85
+ dtype = torch.float32 if device == "cpu" else torch.bfloat16
86
+
87
+ base = AutoModelForCausalLM.from_pretrained(BASE, dtype=dtype).to(device)
88
+ model = PeftModel.from_pretrained(base, ADAPTER)
89
+ # Optional: merge the LoRA weights into the base for faster inference
90
+ model = model.merge_and_unload()
91
+ model.eval()
92
+
93
+ tokenizer = AutoTokenizer.from_pretrained(BASE)
94
+ messages = [{"role": "user", "content": "Hello!"}]
95
+ text = tokenizer.apply_chat_template(
96
+ messages, tokenize=False, add_generation_prompt=True)
97
+ inputs = tokenizer(text, return_tensors="pt").to(device)
98
+
99
+ with torch.inference_mode():
100
+ out = model.generate(**inputs, max_new_tokens=512)
101
+ print(tokenizer.decode(out[0][inputs["input_ids"].shape[1]:], skip_special_tokens=True))
102
+ ```
adapter_config.json ADDED
@@ -0,0 +1,42 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "alpha_pattern": {},
3
+ "auto_mapping": null,
4
+ "base_model_name_or_path": "togethercomputer/Llama-4-Scout-17B-16E-Instruct_bnb_4bit",
5
+ "bias": "none",
6
+ "corda_config": null,
7
+ "eva_config": null,
8
+ "exclude_modules": [],
9
+ "fan_in_fan_out": false,
10
+ "inference_mode": true,
11
+ "init_lora_weights": true,
12
+ "layer_replication": null,
13
+ "layers_pattern": null,
14
+ "layers_to_transform": null,
15
+ "loftq_config": {},
16
+ "lora_alpha": 128,
17
+ "lora_bias": false,
18
+ "lora_dropout": 0.0,
19
+ "megatron_config": null,
20
+ "megatron_core": "megatron.core",
21
+ "modules_to_save": null,
22
+ "peft_type": "LORA",
23
+ "r": 64,
24
+ "rank_pattern": {},
25
+ "revision": null,
26
+ "target_modules": [
27
+ "o_proj",
28
+ "v_proj",
29
+ "q_proj",
30
+ "feed_forward.gate_proj",
31
+ "shared_expert.down_proj",
32
+ "shared_expert.gate_proj",
33
+ "k_proj",
34
+ "feed_forward.up_proj",
35
+ "shared_expert.up_proj",
36
+ "feed_forward.down_proj"
37
+ ],
38
+ "task_type": "CAUSAL_LM",
39
+ "trainable_token_indices": null,
40
+ "use_dora": false,
41
+ "use_rslora": false
42
+ }
adapter_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:24a8d8aac3be78af13566f28f1fc1ef38335b24ec5e38a06649640fa8d788880
3
+ size 893484120
chat_template.jinja ADDED
@@ -0,0 +1,123 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ {%- if strftime_now is defined %}
10
+ {%- set date_string = strftime_now("%d %b %Y") %}
11
+ {%- else %}
12
+ {%- set date_string = "26 Jul 2024" %}
13
+ {%- endif %}
14
+ {%- endif %}
15
+ {%- if not tools is defined %}
16
+ {%- set tools = none %}
17
+ {%- endif %}
18
+
19
+ {#- This block extracts the system message, so we can slot it into the right place. #}
20
+ {%- if messages[0]['role'] == 'system' %}
21
+ {%- if messages[0]['content'] is string %}
22
+ {%- set system_message = messages[0]['content']|trim %}
23
+ {%- else %}
24
+ {#- FIXME: The processor requires an array, always. #}
25
+ {%- set system_message = messages[0]['content'][0]['text']|trim %}
26
+ {%- endif %}
27
+ {%- set messages = messages[1:] %}
28
+ {%- set user_supplied_system_message = true %}
29
+ {%- else %}
30
+ {%- set system_message = "" %}
31
+ {%- set user_supplied_system_message = false %}
32
+ {%- endif %}
33
+
34
+ {#- System message if the user supplied one #}
35
+ {%- if user_supplied_system_message %}
36
+ {{- "<|header_start|>system<|header_end|>\n\n" }}
37
+ {%- if tools is not none %}
38
+ {{- "Environment: ipython\n" }}
39
+ {%- endif %}
40
+ {%- if tools is not none and not tools_in_user_message %}
41
+ {{- "You have access to the following functions. To call a function, please respond with JSON for a function call." }}
42
+ {{- 'Respond in the format {"name": function name, "parameters": dictionary of argument name and its value}.' }}
43
+ {{- "Do not use variables.\n\n" }}
44
+ {%- for t in tools %}
45
+ {{- t | tojson(indent=4) }}
46
+ {{- "\n\n" }}
47
+ {%- endfor %}
48
+ {%- endif %}
49
+ {{- system_message }}
50
+ {{- "<|eot|>" }}
51
+ {%- endif %}
52
+
53
+ {#- Custom tools are passed in a user message with some extra guidance #}
54
+ {%- if tools_in_user_message and not tools is none %}
55
+ {#- Extract the first user message so we can plug it in here #}
56
+ {%- if messages | length != 0 %}
57
+ {%- set first_user_message = messages[0]['content']|trim %}
58
+ {%- set messages = messages[1:] %}
59
+ {%- else %}
60
+ {{- raise_exception("Cannot put tools in the first user message when there's no first user message!") }}
61
+ {%- endif %}
62
+ {{- '<|header_start|>user<|header_end|>\n\n' -}}
63
+ {{- "Given the following functions, please respond with a JSON for a function call " }}
64
+ {{- "with its proper arguments that best answers the given prompt.\n\n" }}
65
+ {{- 'Respond in the format {"name": function name, "parameters": dictionary of argument name and its value}.' }}
66
+ {{- "Do not use variables.\n\n" }}
67
+ {%- for t in tools %}
68
+ {{- t | tojson(indent=4) }}
69
+ {{- "\n\n" }}
70
+ {%- endfor %}
71
+ {{- first_user_message + "<|eot|>"}}
72
+ {%- endif %}
73
+
74
+ {%- for message in messages %}
75
+ {%- if not (message.role == 'ipython' or message.role == 'tool' or 'tool_calls' in message) %}
76
+ {{- '<|header_start|>' + message['role'] + '<|header_end|>\n\n' }}
77
+ {%- if message['content'] is string %}
78
+ {{- message['content'] }}
79
+ {%- else %}
80
+ {%- for content in message['content'] %}
81
+ {%- if content['type'] == 'image' %}
82
+ {{- '<|image|>' }}
83
+ {%- elif content['type'] == 'text' %}
84
+ {{- content['text'] }}
85
+ {%- endif %}
86
+ {%- endfor %}
87
+ {%- endif %}
88
+ {{- "<|eot|>" }}
89
+ {%- elif 'tool_calls' in message and message.tool_calls|length > 0 %}
90
+ {{- '<|header_start|>assistant<|header_end|>\n\n' -}}
91
+ {{- '<|python_start|>' }}
92
+ {%- if message['content'] is string %}
93
+ {{- message['content'] }}
94
+ {%- else %}
95
+ {%- for content in message['content'] %}
96
+ {%- if content['type'] == 'image' %}
97
+ {{- '<|image|>' }}
98
+ {%- elif content['type'] == 'text' %}
99
+ {{- content['text'] }}
100
+ {%- endif %}
101
+ {%- endfor %}
102
+ {%- endif %}
103
+ {{- '<|python_end|>' }}
104
+ {%- for tool_call in message.tool_calls %}
105
+ {{- '{"name": "' + tool_call.function.name + '", ' }}
106
+ {{- '"parameters": ' }}
107
+ {{- tool_call.function.arguments | tojson }}
108
+ {{- "}" }}
109
+ {%- endfor %}
110
+ {{- "<|eot|>" }}
111
+ {%- elif message.role == "tool" or message.role == "ipython" %}
112
+ {{- "<|header_start|>ipython<|header_end|>\n\n" }}
113
+ {%- if message.content is mapping or message.content is iterable %}
114
+ {{- message.content | tojson }}
115
+ {%- else %}
116
+ {{- message.content }}
117
+ {%- endif %}
118
+ {{- "<|eot|>" }}
119
+ {%- endif %}
120
+ {%- endfor %}
121
+ {%- if add_generation_prompt %}
122
+ {{- '<|header_start|>assistant<|header_end|>\n\n' }}
123
+ {%- endif %}
config.json ADDED
@@ -0,0 +1,215 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "Llama4ForCausalLM"
4
+ ],
5
+ "attention_bias": false,
6
+ "attention_chunk_size": 8192,
7
+ "attention_dropout": 0.0,
8
+ "attn_scale": 0.1,
9
+ "attn_temperature_tuning": true,
10
+ "bos_token_id": 200000,
11
+ "cache_implementation": "hybrid",
12
+ "dtype": "bfloat16",
13
+ "eos_token_id": 200008,
14
+ "floor_scale": 8192,
15
+ "for_llm_compressor": false,
16
+ "head_dim": 128,
17
+ "hidden_act": "silu",
18
+ "hidden_size": 5120,
19
+ "initializer_range": 0.02,
20
+ "interleave_moe_layer_step": 1,
21
+ "intermediate_size": 8192,
22
+ "intermediate_size_mlp": 16384,
23
+ "layer_types": [
24
+ "chunked_attention",
25
+ "chunked_attention",
26
+ "chunked_attention",
27
+ "full_attention",
28
+ "chunked_attention",
29
+ "chunked_attention",
30
+ "chunked_attention",
31
+ "full_attention",
32
+ "chunked_attention",
33
+ "chunked_attention",
34
+ "chunked_attention",
35
+ "full_attention",
36
+ "chunked_attention",
37
+ "chunked_attention",
38
+ "chunked_attention",
39
+ "full_attention",
40
+ "chunked_attention",
41
+ "chunked_attention",
42
+ "chunked_attention",
43
+ "full_attention",
44
+ "chunked_attention",
45
+ "chunked_attention",
46
+ "chunked_attention",
47
+ "full_attention",
48
+ "chunked_attention",
49
+ "chunked_attention",
50
+ "chunked_attention",
51
+ "full_attention",
52
+ "chunked_attention",
53
+ "chunked_attention",
54
+ "chunked_attention",
55
+ "full_attention",
56
+ "chunked_attention",
57
+ "chunked_attention",
58
+ "chunked_attention",
59
+ "full_attention",
60
+ "chunked_attention",
61
+ "chunked_attention",
62
+ "chunked_attention",
63
+ "full_attention",
64
+ "chunked_attention",
65
+ "chunked_attention",
66
+ "chunked_attention",
67
+ "full_attention",
68
+ "chunked_attention",
69
+ "chunked_attention",
70
+ "chunked_attention",
71
+ "full_attention"
72
+ ],
73
+ "max_position_embeddings": 10485760,
74
+ "model_type": "llama4_text",
75
+ "moe_layers": [
76
+ 0,
77
+ 1,
78
+ 2,
79
+ 3,
80
+ 4,
81
+ 5,
82
+ 6,
83
+ 7,
84
+ 8,
85
+ 9,
86
+ 10,
87
+ 11,
88
+ 12,
89
+ 13,
90
+ 14,
91
+ 15,
92
+ 16,
93
+ 17,
94
+ 18,
95
+ 19,
96
+ 20,
97
+ 21,
98
+ 22,
99
+ 23,
100
+ 24,
101
+ 25,
102
+ 26,
103
+ 27,
104
+ 28,
105
+ 29,
106
+ 30,
107
+ 31,
108
+ 32,
109
+ 33,
110
+ 34,
111
+ 35,
112
+ 36,
113
+ 37,
114
+ 38,
115
+ 39,
116
+ 40,
117
+ 41,
118
+ 42,
119
+ 43,
120
+ 44,
121
+ 45,
122
+ 46,
123
+ 47
124
+ ],
125
+ "no_rope_layer_interval": 4,
126
+ "no_rope_layers": [
127
+ 1,
128
+ 1,
129
+ 1,
130
+ 0,
131
+ 1,
132
+ 1,
133
+ 1,
134
+ 0,
135
+ 1,
136
+ 1,
137
+ 1,
138
+ 0,
139
+ 1,
140
+ 1,
141
+ 1,
142
+ 0,
143
+ 1,
144
+ 1,
145
+ 1,
146
+ 0,
147
+ 1,
148
+ 1,
149
+ 1,
150
+ 0,
151
+ 1,
152
+ 1,
153
+ 1,
154
+ 0,
155
+ 1,
156
+ 1,
157
+ 1,
158
+ 0,
159
+ 1,
160
+ 1,
161
+ 1,
162
+ 0,
163
+ 1,
164
+ 1,
165
+ 1,
166
+ 0,
167
+ 1,
168
+ 1,
169
+ 1,
170
+ 0,
171
+ 1,
172
+ 1,
173
+ 1,
174
+ 0
175
+ ],
176
+ "num_attention_heads": 40,
177
+ "num_experts_per_tok": 1,
178
+ "num_hidden_layers": 48,
179
+ "num_key_value_heads": 8,
180
+ "num_local_experts": 16,
181
+ "output_router_logits": false,
182
+ "pad_token_id": 200018,
183
+ "quantization_config": {
184
+ "_load_in_4bit": true,
185
+ "_load_in_8bit": false,
186
+ "bnb_4bit_compute_dtype": "bfloat16",
187
+ "bnb_4bit_quant_storage": "bfloat16",
188
+ "bnb_4bit_quant_type": "nf4",
189
+ "bnb_4bit_use_double_quant": false,
190
+ "llm_int8_enable_fp32_cpu_offload": false,
191
+ "llm_int8_has_fp16_weight": false,
192
+ "llm_int8_skip_modules": null,
193
+ "llm_int8_threshold": 6.0,
194
+ "load_in_4bit": true,
195
+ "load_in_8bit": false,
196
+ "quant_method": "bitsandbytes"
197
+ },
198
+ "rms_norm_eps": 1e-05,
199
+ "rope_parameters": {
200
+ "factor": 16.0,
201
+ "high_freq_factor": 1.0,
202
+ "low_freq_factor": 1.0,
203
+ "original_max_position_embeddings": 8192,
204
+ "rope_theta": 500000.0,
205
+ "rope_type": "llama3"
206
+ },
207
+ "router_aux_loss_coef": 0.001,
208
+ "router_jitter_noise": 0.0,
209
+ "tie_word_embeddings": false,
210
+ "transformers_version": "5.13.0",
211
+ "use_cache": false,
212
+ "use_qk_norm": true,
213
+ "vocab_size": 202048,
214
+ "torch_dtype": "bfloat16"
215
+ }
special_tokens_map.json ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
 
1
+ {
2
+ "bos_token": "<|begin_of_text|>",
3
+ "eos_token": "<|eot|>",
4
+ "pad_token": "<|finetune_right_pad|>"
5
+ }
tokenizer.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:172c9eb4beafc72601690da3ccfcede5c2e6806a8d5ec1fca33e22acea8023a4
3
+ size 27948578
tokenizer_config.json ADDED
@@ -0,0 +1,17 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "backend": "tokenizers",
3
+ "bos_token": "<|begin_of_text|>",
4
+ "clean_up_tokenization_spaces": false,
5
+ "eos_token": "<|eot|>",
6
+ "is_local": false,
7
+ "local_files_only": true,
8
+ "model_input_names": [
9
+ "input_ids",
10
+ "attention_mask"
11
+ ],
12
+ "model_max_length": 10485760,
13
+ "pad_token": "<|finetune_right_pad|>",
14
+ "padding_side": "right",
15
+ "processor_class": "Llama4Processor",
16
+ "tokenizer_class": "TokenizersBackend"
17
+ }
trainer_state.json ADDED
@@ -0,0 +1,662 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_global_step": null,
3
+ "best_metric": null,
4
+ "best_model_checkpoint": null,
5
+ "epoch": 4.0,
6
+ "eval_steps": 16,
7
+ "global_step": 84,
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.047619047619047616,
14
+ "grad_norm": 0.6781264543533325,
15
+ "learning_rate": 0.0,
16
+ "loss": 1.26171875,
17
+ "step": 1
18
+ },
19
+ {
20
+ "epoch": 0.09523809523809523,
21
+ "grad_norm": 0.6318029761314392,
22
+ "learning_rate": 2e-05,
23
+ "loss": 1.20166015625,
24
+ "step": 2
25
+ },
26
+ {
27
+ "epoch": 0.14285714285714285,
28
+ "grad_norm": 0.7097207903862,
29
+ "learning_rate": 4e-05,
30
+ "loss": 1.412139892578125,
31
+ "step": 3
32
+ },
33
+ {
34
+ "epoch": 0.19047619047619047,
35
+ "grad_norm": 0.622149646282196,
36
+ "learning_rate": 6e-05,
37
+ "loss": 1.25537109375,
38
+ "step": 4
39
+ },
40
+ {
41
+ "epoch": 0.23809523809523808,
42
+ "grad_norm": 2.2328977584838867,
43
+ "learning_rate": 8e-05,
44
+ "loss": 1.1912841796875,
45
+ "step": 5
46
+ },
47
+ {
48
+ "epoch": 0.2857142857142857,
49
+ "grad_norm": 0.3143213987350464,
50
+ "learning_rate": 0.0001,
51
+ "loss": 1.228759765625,
52
+ "step": 6
53
+ },
54
+ {
55
+ "epoch": 0.3333333333333333,
56
+ "grad_norm": 0.2846517860889435,
57
+ "learning_rate": 9.996442287522857e-05,
58
+ "loss": 1.09326171875,
59
+ "step": 7
60
+ },
61
+ {
62
+ "epoch": 0.38095238095238093,
63
+ "grad_norm": 0.3680817186832428,
64
+ "learning_rate": 9.985774775566131e-05,
65
+ "loss": 1.0126953125,
66
+ "step": 8
67
+ },
68
+ {
69
+ "epoch": 0.42857142857142855,
70
+ "grad_norm": 0.5873160362243652,
71
+ "learning_rate": 9.96801433165888e-05,
72
+ "loss": 1.241455078125,
73
+ "step": 9
74
+ },
75
+ {
76
+ "epoch": 0.47619047619047616,
77
+ "grad_norm": 0.3845677077770233,
78
+ "learning_rate": 9.943189038713501e-05,
79
+ "loss": 1.058349609375,
80
+ "step": 10
81
+ },
82
+ {
83
+ "epoch": 0.5238095238095238,
84
+ "grad_norm": 0.262990802526474,
85
+ "learning_rate": 9.911338150620863e-05,
86
+ "loss": 1.056396484375,
87
+ "step": 11
88
+ },
89
+ {
90
+ "epoch": 0.5714285714285714,
91
+ "grad_norm": 0.2172330915927887,
92
+ "learning_rate": 9.872512030181845e-05,
93
+ "loss": 1.0838623046875,
94
+ "step": 12
95
+ },
96
+ {
97
+ "epoch": 0.6190476190476191,
98
+ "grad_norm": 0.23545600473880768,
99
+ "learning_rate": 9.826772069473393e-05,
100
+ "loss": 1.056396484375,
101
+ "step": 13
102
+ },
103
+ {
104
+ "epoch": 0.6666666666666666,
105
+ "grad_norm": 0.18727780878543854,
106
+ "learning_rate": 9.774190592775023e-05,
107
+ "loss": 1.0078125,
108
+ "step": 14
109
+ },
110
+ {
111
+ "epoch": 0.7142857142857143,
112
+ "grad_norm": 0.24253623187541962,
113
+ "learning_rate": 9.714850742209276e-05,
114
+ "loss": 1.090576171875,
115
+ "step": 15
116
+ },
117
+ {
118
+ "epoch": 0.7619047619047619,
119
+ "grad_norm": 0.13259640336036682,
120
+ "learning_rate": 9.648846346276929e-05,
121
+ "loss": 0.7398681640625,
122
+ "step": 16
123
+ },
124
+ {
125
+ "epoch": 0.8095238095238095,
126
+ "grad_norm": 0.20533913373947144,
127
+ "learning_rate": 9.576281771494855e-05,
128
+ "loss": 1.141845703125,
129
+ "step": 17
130
+ },
131
+ {
132
+ "epoch": 0.8571428571428571,
133
+ "grad_norm": 0.18200747668743134,
134
+ "learning_rate": 9.497271757371094e-05,
135
+ "loss": 1.017333984375,
136
+ "step": 18
137
+ },
138
+ {
139
+ "epoch": 0.9047619047619048,
140
+ "grad_norm": 0.19662703573703766,
141
+ "learning_rate": 9.411941234978122e-05,
142
+ "loss": 1.0162353515625,
143
+ "step": 19
144
+ },
145
+ {
146
+ "epoch": 0.9523809523809523,
147
+ "grad_norm": 0.19710412621498108,
148
+ "learning_rate": 9.320425129411139e-05,
149
+ "loss": 1.0875244140625,
150
+ "step": 20
151
+ },
152
+ {
153
+ "epoch": 0.9523809523809523,
154
+ "eval_loss": 0.916015625,
155
+ "eval_runtime": 6.1898,
156
+ "eval_samples_per_second": 0.646,
157
+ "eval_steps_per_second": 0.162,
158
+ "step": 20
159
+ },
160
+ {
161
+ "epoch": 1.0,
162
+ "grad_norm": 0.13886402547359467,
163
+ "learning_rate": 9.222868146443759e-05,
164
+ "loss": 0.9620361328125,
165
+ "step": 21
166
+ },
167
+ {
168
+ "epoch": 1.0476190476190477,
169
+ "grad_norm": 0.1303921639919281,
170
+ "learning_rate": 9.119424543718442e-05,
171
+ "loss": 0.9793701171875,
172
+ "step": 22
173
+ },
174
+ {
175
+ "epoch": 1.0952380952380953,
176
+ "grad_norm": 0.14203043282032013,
177
+ "learning_rate": 9.010257886833456e-05,
178
+ "loss": 0.936279296875,
179
+ "step": 23
180
+ },
181
+ {
182
+ "epoch": 1.1428571428571428,
183
+ "grad_norm": 0.19456878304481506,
184
+ "learning_rate": 8.895540790712036e-05,
185
+ "loss": 1.0773696899414062,
186
+ "step": 24
187
+ },
188
+ {
189
+ "epoch": 1.1904761904761905,
190
+ "grad_norm": 0.19268886744976044,
191
+ "learning_rate": 8.775454646662724e-05,
192
+ "loss": 0.962890625,
193
+ "step": 25
194
+ },
195
+ {
196
+ "epoch": 1.2380952380952381,
197
+ "grad_norm": 1.1448683738708496,
198
+ "learning_rate": 8.650189335562414e-05,
199
+ "loss": 1.0135498046875,
200
+ "step": 26
201
+ },
202
+ {
203
+ "epoch": 1.2857142857142856,
204
+ "grad_norm": 0.17032912373542786,
205
+ "learning_rate": 8.519942927615666e-05,
206
+ "loss": 1.041259765625,
207
+ "step": 27
208
+ },
209
+ {
210
+ "epoch": 1.3333333333333333,
211
+ "grad_norm": 0.16223372519016266,
212
+ "learning_rate": 8.384921369164991e-05,
213
+ "loss": 0.947998046875,
214
+ "step": 28
215
+ },
216
+ {
217
+ "epoch": 1.380952380952381,
218
+ "grad_norm": 0.13596029579639435,
219
+ "learning_rate": 8.24533815704736e-05,
220
+ "loss": 0.8992919921875,
221
+ "step": 29
222
+ },
223
+ {
224
+ "epoch": 1.4285714285714286,
225
+ "grad_norm": 0.19097673892974854,
226
+ "learning_rate": 8.101414001011817e-05,
227
+ "loss": 1.0830078125,
228
+ "step": 30
229
+ },
230
+ {
231
+ "epoch": 1.4761904761904763,
232
+ "grad_norm": 0.1492234319448471,
233
+ "learning_rate": 7.953376474732003e-05,
234
+ "loss": 0.9466552734375,
235
+ "step": 31
236
+ },
237
+ {
238
+ "epoch": 1.5238095238095237,
239
+ "grad_norm": 0.14599502086639404,
240
+ "learning_rate": 7.801459655965401e-05,
241
+ "loss": 0.957763671875,
242
+ "step": 32
243
+ },
244
+ {
245
+ "epoch": 1.5714285714285714,
246
+ "grad_norm": 0.13878127932548523,
247
+ "learning_rate": 7.645903756428279e-05,
248
+ "loss": 0.9761962890625,
249
+ "step": 33
250
+ },
251
+ {
252
+ "epoch": 1.619047619047619,
253
+ "grad_norm": 0.15830132365226746,
254
+ "learning_rate": 7.486954741971603e-05,
255
+ "loss": 0.957275390625,
256
+ "step": 34
257
+ },
258
+ {
259
+ "epoch": 1.6666666666666665,
260
+ "grad_norm": 0.13619418442249298,
261
+ "learning_rate": 7.324863943658474e-05,
262
+ "loss": 0.92626953125,
263
+ "step": 35
264
+ },
265
+ {
266
+ "epoch": 1.7142857142857144,
267
+ "grad_norm": 0.20511189103126526,
268
+ "learning_rate": 7.159887660358036e-05,
269
+ "loss": 0.980224609375,
270
+ "step": 36
271
+ },
272
+ {
273
+ "epoch": 1.7142857142857144,
274
+ "eval_loss": 0.8896484375,
275
+ "eval_runtime": 5.9036,
276
+ "eval_samples_per_second": 0.678,
277
+ "eval_steps_per_second": 0.169,
278
+ "step": 36
279
+ },
280
+ {
281
+ "epoch": 1.7619047619047619,
282
+ "grad_norm": 0.11510299891233444,
283
+ "learning_rate": 6.992286753484306e-05,
284
+ "loss": 0.6959228515625,
285
+ "step": 37
286
+ },
287
+ {
288
+ "epoch": 1.8095238095238095,
289
+ "grad_norm": 0.17241714894771576,
290
+ "learning_rate": 6.822326234520645e-05,
291
+ "loss": 1.042236328125,
292
+ "step": 38
293
+ },
294
+ {
295
+ "epoch": 1.8571428571428572,
296
+ "grad_norm": 0.14825452864170074,
297
+ "learning_rate": 6.650274845982136e-05,
298
+ "loss": 0.93603515625,
299
+ "step": 39
300
+ },
301
+ {
302
+ "epoch": 1.9047619047619047,
303
+ "grad_norm": 0.1515885442495346,
304
+ "learning_rate": 6.476404636478432e-05,
305
+ "loss": 0.948974609375,
306
+ "step": 40
307
+ },
308
+ {
309
+ "epoch": 1.9523809523809523,
310
+ "grad_norm": 0.16863621771335602,
311
+ "learning_rate": 6.300990530548979e-05,
312
+ "loss": 0.9949951171875,
313
+ "step": 41
314
+ },
315
+ {
316
+ "epoch": 2.0,
317
+ "grad_norm": 0.4026670455932617,
318
+ "learning_rate": 6.124309893950809e-05,
319
+ "loss": 0.869873046875,
320
+ "step": 42
321
+ },
322
+ {
323
+ "epoch": 2.0476190476190474,
324
+ "grad_norm": 0.16099941730499268,
325
+ "learning_rate": 5.946642095086278e-05,
326
+ "loss": 0.8929443359375,
327
+ "step": 43
328
+ },
329
+ {
330
+ "epoch": 2.0952380952380953,
331
+ "grad_norm": 0.13304688036441803,
332
+ "learning_rate": 5.7682680632641896e-05,
333
+ "loss": 0.873046875,
334
+ "step": 44
335
+ },
336
+ {
337
+ "epoch": 2.142857142857143,
338
+ "grad_norm": 0.18484529852867126,
339
+ "learning_rate": 5.589469844492816e-05,
340
+ "loss": 0.9822769165039062,
341
+ "step": 45
342
+ },
343
+ {
344
+ "epoch": 2.1904761904761907,
345
+ "grad_norm": 0.17451068758964539,
346
+ "learning_rate": 5.410530155507184e-05,
347
+ "loss": 0.8817138671875,
348
+ "step": 46
349
+ },
350
+ {
351
+ "epoch": 2.238095238095238,
352
+ "grad_norm": 0.17454630136489868,
353
+ "learning_rate": 5.231731936735811e-05,
354
+ "loss": 0.9676513671875,
355
+ "step": 47
356
+ },
357
+ {
358
+ "epoch": 2.2857142857142856,
359
+ "grad_norm": 0.19139355421066284,
360
+ "learning_rate": 5.053357904913724e-05,
361
+ "loss": 0.9560546875,
362
+ "step": 48
363
+ },
364
+ {
365
+ "epoch": 2.3333333333333335,
366
+ "grad_norm": 0.18285448849201202,
367
+ "learning_rate": 4.875690106049193e-05,
368
+ "loss": 0.8807373046875,
369
+ "step": 49
370
+ },
371
+ {
372
+ "epoch": 2.380952380952381,
373
+ "grad_norm": 0.16837579011917114,
374
+ "learning_rate": 4.6990094694510245e-05,
375
+ "loss": 0.8505859375,
376
+ "step": 50
377
+ },
378
+ {
379
+ "epoch": 2.4285714285714284,
380
+ "grad_norm": 0.21485020220279694,
381
+ "learning_rate": 4.5235953635215686e-05,
382
+ "loss": 0.994140625,
383
+ "step": 51
384
+ },
385
+ {
386
+ "epoch": 2.4761904761904763,
387
+ "grad_norm": 0.1551942676305771,
388
+ "learning_rate": 4.349725154017864e-05,
389
+ "loss": 0.88671875,
390
+ "step": 52
391
+ },
392
+ {
393
+ "epoch": 2.4761904761904763,
394
+ "eval_loss": 0.876953125,
395
+ "eval_runtime": 5.9086,
396
+ "eval_samples_per_second": 0.677,
397
+ "eval_steps_per_second": 0.169,
398
+ "step": 52
399
+ },
400
+ {
401
+ "epoch": 2.5238095238095237,
402
+ "grad_norm": 0.16076764464378357,
403
+ "learning_rate": 4.177673765479357e-05,
404
+ "loss": 0.9061279296875,
405
+ "step": 53
406
+ },
407
+ {
408
+ "epoch": 2.571428571428571,
409
+ "grad_norm": 0.16922174394130707,
410
+ "learning_rate": 4.007713246515695e-05,
411
+ "loss": 0.9171142578125,
412
+ "step": 54
413
+ },
414
+ {
415
+ "epoch": 2.619047619047619,
416
+ "grad_norm": 0.18479417264461517,
417
+ "learning_rate": 3.8401123396419656e-05,
418
+ "loss": 0.896240234375,
419
+ "step": 55
420
+ },
421
+ {
422
+ "epoch": 2.6666666666666665,
423
+ "grad_norm": 0.15129074454307556,
424
+ "learning_rate": 3.675136056341528e-05,
425
+ "loss": 0.880126953125,
426
+ "step": 56
427
+ },
428
+ {
429
+ "epoch": 2.7142857142857144,
430
+ "grad_norm": 0.23219619691371918,
431
+ "learning_rate": 3.513045258028399e-05,
432
+ "loss": 0.900390625,
433
+ "step": 57
434
+ },
435
+ {
436
+ "epoch": 2.761904761904762,
437
+ "grad_norm": 0.11648663133382797,
438
+ "learning_rate": 3.354096243571724e-05,
439
+ "loss": 0.6685791015625,
440
+ "step": 58
441
+ },
442
+ {
443
+ "epoch": 2.8095238095238093,
444
+ "grad_norm": 0.20129463076591492,
445
+ "learning_rate": 3.1985403440346004e-05,
446
+ "loss": 0.97607421875,
447
+ "step": 59
448
+ },
449
+ {
450
+ "epoch": 2.857142857142857,
451
+ "grad_norm": 0.17487110197544098,
452
+ "learning_rate": 3.0466235252679976e-05,
453
+ "loss": 0.8857421875,
454
+ "step": 60
455
+ },
456
+ {
457
+ "epoch": 2.9047619047619047,
458
+ "grad_norm": 0.18634696304798126,
459
+ "learning_rate": 2.898585998988182e-05,
460
+ "loss": 0.904296875,
461
+ "step": 61
462
+ },
463
+ {
464
+ "epoch": 2.9523809523809526,
465
+ "grad_norm": 0.21948011219501495,
466
+ "learning_rate": 2.7546618429526404e-05,
467
+ "loss": 0.935302734375,
468
+ "step": 62
469
+ },
470
+ {
471
+ "epoch": 3.0,
472
+ "grad_norm": 0.17362090945243835,
473
+ "learning_rate": 2.6150786308350112e-05,
474
+ "loss": 0.8018798828125,
475
+ "step": 63
476
+ },
477
+ {
478
+ "epoch": 3.0476190476190474,
479
+ "grad_norm": 0.16069509088993073,
480
+ "learning_rate": 2.480057072384334e-05,
481
+ "loss": 0.8336181640625,
482
+ "step": 64
483
+ },
484
+ {
485
+ "epoch": 3.0952380952380953,
486
+ "grad_norm": 0.1560245156288147,
487
+ "learning_rate": 2.3498106644375867e-05,
488
+ "loss": 0.8359375,
489
+ "step": 65
490
+ },
491
+ {
492
+ "epoch": 3.142857142857143,
493
+ "grad_norm": 0.21654845774173737,
494
+ "learning_rate": 2.2245453533372768e-05,
495
+ "loss": 0.9223861694335938,
496
+ "step": 66
497
+ },
498
+ {
499
+ "epoch": 3.1904761904761907,
500
+ "grad_norm": 0.20104853808879852,
501
+ "learning_rate": 2.1044592092879643e-05,
502
+ "loss": 0.82958984375,
503
+ "step": 67
504
+ },
505
+ {
506
+ "epoch": 3.238095238095238,
507
+ "grad_norm": 0.19536712765693665,
508
+ "learning_rate": 1.9897421131665462e-05,
509
+ "loss": 0.943115234375,
510
+ "step": 68
511
+ },
512
+ {
513
+ "epoch": 3.238095238095238,
514
+ "eval_loss": 0.875,
515
+ "eval_runtime": 5.8891,
516
+ "eval_samples_per_second": 0.679,
517
+ "eval_steps_per_second": 0.17,
518
+ "step": 68
519
+ },
520
+ {
521
+ "epoch": 3.2857142857142856,
522
+ "grad_norm": 0.21967998147010803,
523
+ "learning_rate": 1.8805754562815585e-05,
524
+ "loss": 0.899658203125,
525
+ "step": 69
526
+ },
527
+ {
528
+ "epoch": 3.3333333333333335,
529
+ "grad_norm": 0.19596749544143677,
530
+ "learning_rate": 1.7771318535562435e-05,
531
+ "loss": 0.834228515625,
532
+ "step": 70
533
+ },
534
+ {
535
+ "epoch": 3.380952380952381,
536
+ "grad_norm": 0.16757430136203766,
537
+ "learning_rate": 1.679574870588862e-05,
538
+ "loss": 0.82275390625,
539
+ "step": 71
540
+ },
541
+ {
542
+ "epoch": 3.4285714285714284,
543
+ "grad_norm": 0.2443944215774536,
544
+ "learning_rate": 1.588058765021879e-05,
545
+ "loss": 0.936767578125,
546
+ "step": 72
547
+ },
548
+ {
549
+ "epoch": 3.4761904761904763,
550
+ "grad_norm": 0.18178075551986694,
551
+ "learning_rate": 1.5027282426289077e-05,
552
+ "loss": 0.85498046875,
553
+ "step": 73
554
+ },
555
+ {
556
+ "epoch": 3.5238095238095237,
557
+ "grad_norm": 0.1797463297843933,
558
+ "learning_rate": 1.4237182285051453e-05,
559
+ "loss": 0.8779296875,
560
+ "step": 74
561
+ },
562
+ {
563
+ "epoch": 3.571428571428571,
564
+ "grad_norm": 0.19107820093631744,
565
+ "learning_rate": 1.3511536537230707e-05,
566
+ "loss": 0.8829345703125,
567
+ "step": 75
568
+ },
569
+ {
570
+ "epoch": 3.619047619047619,
571
+ "grad_norm": 0.1874479353427887,
572
+ "learning_rate": 1.2851492577907251e-05,
573
+ "loss": 0.8621826171875,
574
+ "step": 76
575
+ },
576
+ {
577
+ "epoch": 3.6666666666666665,
578
+ "grad_norm": 0.16661852598190308,
579
+ "learning_rate": 1.225809407224978e-05,
580
+ "loss": 0.855712890625,
581
+ "step": 77
582
+ },
583
+ {
584
+ "epoch": 3.7142857142857144,
585
+ "grad_norm": 0.2627502381801605,
586
+ "learning_rate": 1.1732279305266082e-05,
587
+ "loss": 0.8544921875,
588
+ "step": 78
589
+ },
590
+ {
591
+ "epoch": 3.761904761904762,
592
+ "grad_norm": 0.12383028864860535,
593
+ "learning_rate": 1.1274879698181547e-05,
594
+ "loss": 0.6553955078125,
595
+ "step": 79
596
+ },
597
+ {
598
+ "epoch": 3.8095238095238093,
599
+ "grad_norm": 0.21695609390735626,
600
+ "learning_rate": 1.0886618493791376e-05,
601
+ "loss": 0.940673828125,
602
+ "step": 80
603
+ },
604
+ {
605
+ "epoch": 3.857142857142857,
606
+ "grad_norm": 0.18359997868537903,
607
+ "learning_rate": 1.0568109612865e-05,
608
+ "loss": 0.85888671875,
609
+ "step": 81
610
+ },
611
+ {
612
+ "epoch": 3.9047619047619047,
613
+ "grad_norm": 0.19658944010734558,
614
+ "learning_rate": 1.0319856683411197e-05,
615
+ "loss": 0.8824462890625,
616
+ "step": 82
617
+ },
618
+ {
619
+ "epoch": 3.9523809523809526,
620
+ "grad_norm": 0.24310623109340668,
621
+ "learning_rate": 1.0142252244338688e-05,
622
+ "loss": 0.905029296875,
623
+ "step": 83
624
+ },
625
+ {
626
+ "epoch": 4.0,
627
+ "grad_norm": 0.2020317167043686,
628
+ "learning_rate": 1.0035577124771419e-05,
629
+ "loss": 0.7667236328125,
630
+ "step": 84
631
+ },
632
+ {
633
+ "epoch": 4.0,
634
+ "eval_loss": 0.8740234375,
635
+ "eval_runtime": 5.901,
636
+ "eval_samples_per_second": 0.678,
637
+ "eval_steps_per_second": 0.169,
638
+ "step": 84
639
+ }
640
+ ],
641
+ "logging_steps": 1.0,
642
+ "max_steps": 84,
643
+ "num_input_tokens_seen": 0,
644
+ "num_train_epochs": 4,
645
+ "save_steps": 0,
646
+ "stateful_callbacks": {
647
+ "TrainerControl": {
648
+ "args": {
649
+ "should_epoch_stop": false,
650
+ "should_evaluate": false,
651
+ "should_log": false,
652
+ "should_save": true,
653
+ "should_training_stop": true
654
+ },
655
+ "attributes": {}
656
+ }
657
+ },
658
+ "total_flos": 1.3441704712428585e+18,
659
+ "train_batch_size": 1,
660
+ "trial_name": null,
661
+ "trial_params": null
662
+ }
training-metrics.png ADDED
win-rates.png ADDED