samscript18 commited on
Commit
2a7bac6
·
verified ·
1 Parent(s): b7868ca

Upload 8 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 CHANGED
@@ -1,3 +1,71 @@
1
  ---
2
- license: llama4
 
 
 
 
 
 
 
 
 
 
3
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
+ base_model: meta-llama/Llama-4-Scout-17B-16E-Instruct
3
+ library_name: peft
4
+ pipeline_tag: text-generation
5
+ tags:
6
+ - finance
7
+ - defi
8
+ - wallet-risk
9
+ - autoscientist
10
+ - lora
11
+ - peft
12
+ - foresight-ai
13
  ---
14
+
15
+ # Foresight AI DeFi Wallet Risk Classifier
16
+
17
+ This repository contains the AutoScientist-trained LoRA adapter for **Foresight AI**, a DeFi wallet risk review system built for the Adaption Labs AutoScientist Challenge in the finance category.
18
+
19
+ The adapter was trained to classify whether a DeFi wallet behavior sample indicates a higher-risk state within a 14-day horizon. The expected completion is a binary label:
20
+
21
+ - `0` means lower-risk outcome
22
+ - `1` means higher-risk outcome
23
+
24
+ ## Training Run
25
+
26
+ - Fine-tune job ID: `351792b9-5320-432e-ac12-889388d6b47a`
27
+ - Training experiment ID: `3d6e6540-6138-4890-b097-c29deb8e580f`
28
+ - Base model: `meta-llama/Llama-4-Scout-17B-16E-Instruct`
29
+ - Training method: SFT
30
+ - Adapter type: LoRA
31
+ - Data format: chat
32
+ - Epochs: 3
33
+ - LoRA rank: 64
34
+ - LoRA alpha: 128
35
+ - Learning rate: 0.0001
36
+ - Scheduler: cosine
37
+ - Final exported eval loss: 1.142578125
38
+
39
+ ## Dataset
40
+
41
+ The model was trained on the Foresight AI DeFi wallet risk instruction dataset. The hackathon dataset contains 1,000 instruction rows produced from retrospective wallet behavior samples.
42
+
43
+ Important: these labels are retrospective proxy labels used for hackathon model development. They should not be described as production-verified liquidation or drawdown outcomes.
44
+
45
+ ## Intended Use
46
+
47
+ This adapter is intended for research and demonstration of DeFi wallet risk classification. It can support a user-facing wallet review workflow where outputs are presented as decision-support signals rather than financial advice.
48
+
49
+ ## Limitations
50
+
51
+ - This is not a production financial risk model.
52
+ - The training labels are retrospective proxy labels, not independently verified future outcomes.
53
+ - The model should not be used to execute trades, move funds, or make automated liquidation or lending decisions.
54
+ - The model does not prove protocol exposure, health factor, leverage, or liquidation risk unless those facts are supported by external on-chain data.
55
+ - Outputs should be paired with Foresight AI's evidence-aware wallet detector, provider status, and data quality checks.
56
+
57
+ ## Adapter Files
58
+
59
+ This export contains PEFT/LoRA adapter weights and tokenizer/config files:
60
+
61
+ - `adapter_model.safetensors`
62
+ - `adapter_config.json`
63
+ - `tokenizer.json`
64
+ - `tokenizer_config.json`
65
+ - `special_tokens_map.json`
66
+ - `chat_template.jinja`
67
+ - `trainer_state.json`
68
+
69
+ ## License And Base Model Terms
70
+
71
+ Use of this adapter is subject to the license and acceptable-use terms of the base model and any Adaption Labs challenge requirements.
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
+ "shared_expert.down_proj",
28
+ "k_proj",
29
+ "shared_expert.up_proj",
30
+ "shared_expert.gate_proj",
31
+ "feed_forward.gate_proj",
32
+ "o_proj",
33
+ "feed_forward.up_proj",
34
+ "q_proj",
35
+ "feed_forward.down_proj",
36
+ "v_proj"
37
+ ],
38
+ "task_type": "CAUSAL_LM",
39
+ "trainable_token_indices": null,
40
+ "use_dora": false,
41
+ "use_rslora": false
42
+ }
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.10.1",
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,515 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_global_step": null,
3
+ "best_metric": null,
4
+ "best_model_checkpoint": null,
5
+ "epoch": 3.0,
6
+ "eval_steps": 12,
7
+ "global_step": 63,
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.39029014110565186,
15
+ "learning_rate": 0.0,
16
+ "loss": 1.74072265625,
17
+ "step": 1
18
+ },
19
+ {
20
+ "epoch": 0.09523809523809523,
21
+ "grad_norm": 0.3977895975112915,
22
+ "learning_rate": 2.5e-05,
23
+ "loss": 1.8193359375,
24
+ "step": 2
25
+ },
26
+ {
27
+ "epoch": 0.14285714285714285,
28
+ "grad_norm": 0.2535572648048401,
29
+ "learning_rate": 5e-05,
30
+ "loss": 1.408203125,
31
+ "step": 3
32
+ },
33
+ {
34
+ "epoch": 0.19047619047619047,
35
+ "grad_norm": 0.21865864098072052,
36
+ "learning_rate": 7.500000000000001e-05,
37
+ "loss": 1.54248046875,
38
+ "step": 4
39
+ },
40
+ {
41
+ "epoch": 0.23809523809523808,
42
+ "grad_norm": 0.14044301211833954,
43
+ "learning_rate": 0.0001,
44
+ "loss": 1.357666015625,
45
+ "step": 5
46
+ },
47
+ {
48
+ "epoch": 0.2857142857142857,
49
+ "grad_norm": 0.11468952149152756,
50
+ "learning_rate": 9.99362213054543e-05,
51
+ "loss": 1.414794921875,
52
+ "step": 6
53
+ },
54
+ {
55
+ "epoch": 0.3333333333333333,
56
+ "grad_norm": 0.15838299691677094,
57
+ "learning_rate": 9.974506600945618e-05,
58
+ "loss": 1.346435546875,
59
+ "step": 7
60
+ },
61
+ {
62
+ "epoch": 0.38095238095238093,
63
+ "grad_norm": 0.18158257007598877,
64
+ "learning_rate": 9.942707596246052e-05,
65
+ "loss": 1.345703125,
66
+ "step": 8
67
+ },
68
+ {
69
+ "epoch": 0.42857142857142855,
70
+ "grad_norm": 1.183410406112671,
71
+ "learning_rate": 9.8983152541804e-05,
72
+ "loss": 0.7744140625,
73
+ "step": 9
74
+ },
75
+ {
76
+ "epoch": 0.47619047619047616,
77
+ "grad_norm": 0.11678645759820938,
78
+ "learning_rate": 9.841455409665323e-05,
79
+ "loss": 1.285888671875,
80
+ "step": 10
81
+ },
82
+ {
83
+ "epoch": 0.5238095238095238,
84
+ "grad_norm": 0.08664851635694504,
85
+ "learning_rate": 9.772289238107715e-05,
86
+ "loss": 1.1910400390625,
87
+ "step": 11
88
+ },
89
+ {
90
+ "epoch": 0.5714285714285714,
91
+ "grad_norm": 0.07821615040302277,
92
+ "learning_rate": 9.691012798535524e-05,
93
+ "loss": 1.207763671875,
94
+ "step": 12
95
+ },
96
+ {
97
+ "epoch": 0.6190476190476191,
98
+ "grad_norm": 0.07503138482570648,
99
+ "learning_rate": 9.59785647784711e-05,
100
+ "loss": 1.2236328125,
101
+ "step": 13
102
+ },
103
+ {
104
+ "epoch": 0.6666666666666666,
105
+ "grad_norm": 0.0798412635922432,
106
+ "learning_rate": 9.493084337754573e-05,
107
+ "loss": 1.28759765625,
108
+ "step": 14
109
+ },
110
+ {
111
+ "epoch": 0.7142857142857143,
112
+ "grad_norm": 0.08004077523946762,
113
+ "learning_rate": 9.376993366272128e-05,
114
+ "loss": 1.1826171875,
115
+ "step": 15
116
+ },
117
+ {
118
+ "epoch": 0.7142857142857143,
119
+ "eval_loss": 1.216796875,
120
+ "eval_runtime": 5.4909,
121
+ "eval_samples_per_second": 0.364,
122
+ "eval_steps_per_second": 0.182,
123
+ "step": 15
124
+ },
125
+ {
126
+ "epoch": 0.7619047619047619,
127
+ "grad_norm": 0.06384038925170898,
128
+ "learning_rate": 9.249912635871318e-05,
129
+ "loss": 1.1982421875,
130
+ "step": 16
131
+ },
132
+ {
133
+ "epoch": 0.8095238095238095,
134
+ "grad_norm": 0.06806826591491699,
135
+ "learning_rate": 9.112202370689337e-05,
136
+ "loss": 1.1966552734375,
137
+ "step": 17
138
+ },
139
+ {
140
+ "epoch": 0.8571428571428571,
141
+ "grad_norm": 0.06299256533384323,
142
+ "learning_rate": 8.964252925434579e-05,
143
+ "loss": 1.2159423828125,
144
+ "step": 18
145
+ },
146
+ {
147
+ "epoch": 0.9047619047619048,
148
+ "grad_norm": 0.04804723337292671,
149
+ "learning_rate": 8.806483678883803e-05,
150
+ "loss": 1.00927734375,
151
+ "step": 19
152
+ },
153
+ {
154
+ "epoch": 0.9523809523809523,
155
+ "grad_norm": 0.060130614787340164,
156
+ "learning_rate": 8.639341845107433e-05,
157
+ "loss": 1.214599609375,
158
+ "step": 20
159
+ },
160
+ {
161
+ "epoch": 1.0,
162
+ "grad_norm": 0.086543969810009,
163
+ "learning_rate": 8.463301205792675e-05,
164
+ "loss": 1.171630859375,
165
+ "step": 21
166
+ },
167
+ {
168
+ "epoch": 1.0476190476190477,
169
+ "grad_norm": 0.0662260353565216,
170
+ "learning_rate": 8.278860767257865e-05,
171
+ "loss": 1.19677734375,
172
+ "step": 22
173
+ },
174
+ {
175
+ "epoch": 1.0952380952380953,
176
+ "grad_norm": 0.05612208694219589,
177
+ "learning_rate": 8.086543345964832e-05,
178
+ "loss": 1.294921875,
179
+ "step": 23
180
+ },
181
+ {
182
+ "epoch": 1.1428571428571428,
183
+ "grad_norm": 0.04827860742807388,
184
+ "learning_rate": 7.886894086538841e-05,
185
+ "loss": 1.03564453125,
186
+ "step": 24
187
+ },
188
+ {
189
+ "epoch": 1.1904761904761905,
190
+ "grad_norm": 0.0562213771045208,
191
+ "learning_rate": 7.680478916496926e-05,
192
+ "loss": 1.2347412109375,
193
+ "step": 25
194
+ },
195
+ {
196
+ "epoch": 1.2380952380952381,
197
+ "grad_norm": 0.05600786581635475,
198
+ "learning_rate": 7.46788294206485e-05,
199
+ "loss": 1.1312255859375,
200
+ "step": 26
201
+ },
202
+ {
203
+ "epoch": 1.2857142857142856,
204
+ "grad_norm": 0.05734400078654289,
205
+ "learning_rate": 7.249708789629944e-05,
206
+ "loss": 1.21484375,
207
+ "step": 27
208
+ },
209
+ {
210
+ "epoch": 1.2857142857142856,
211
+ "eval_loss": 1.169921875,
212
+ "eval_runtime": 5.4973,
213
+ "eval_samples_per_second": 0.364,
214
+ "eval_steps_per_second": 0.182,
215
+ "step": 27
216
+ },
217
+ {
218
+ "epoch": 1.3333333333333333,
219
+ "grad_norm": 0.04520232975482941,
220
+ "learning_rate": 7.026574897531137e-05,
221
+ "loss": 1.19384765625,
222
+ "step": 28
223
+ },
224
+ {
225
+ "epoch": 1.380952380952381,
226
+ "grad_norm": 0.0506543330848217,
227
+ "learning_rate": 6.799113763028295e-05,
228
+ "loss": 1.1943359375,
229
+ "step": 29
230
+ },
231
+ {
232
+ "epoch": 1.4285714285714286,
233
+ "grad_norm": 1.018054485321045,
234
+ "learning_rate": 6.567970149420018e-05,
235
+ "loss": 0.64453125,
236
+ "step": 30
237
+ },
238
+ {
239
+ "epoch": 1.4761904761904763,
240
+ "grad_norm": 0.06562633067369461,
241
+ "learning_rate": 6.333799258392015e-05,
242
+ "loss": 1.1578369140625,
243
+ "step": 31
244
+ },
245
+ {
246
+ "epoch": 1.5238095238095237,
247
+ "grad_norm": 0.04868047311902046,
248
+ "learning_rate": 6.097264872776749e-05,
249
+ "loss": 1.0946044921875,
250
+ "step": 32
251
+ },
252
+ {
253
+ "epoch": 1.5714285714285714,
254
+ "grad_norm": 0.055948544293642044,
255
+ "learning_rate": 5.859037474988874e-05,
256
+ "loss": 1.116943359375,
257
+ "step": 33
258
+ },
259
+ {
260
+ "epoch": 1.619047619047619,
261
+ "grad_norm": 0.050402332097291946,
262
+ "learning_rate": 5.6197923464699875e-05,
263
+ "loss": 1.1273193359375,
264
+ "step": 34
265
+ },
266
+ {
267
+ "epoch": 1.6666666666666665,
268
+ "grad_norm": 0.061322227120399475,
269
+ "learning_rate": 5.3802076535300135e-05,
270
+ "loss": 1.176513671875,
271
+ "step": 35
272
+ },
273
+ {
274
+ "epoch": 1.7142857142857144,
275
+ "grad_norm": 0.05519519001245499,
276
+ "learning_rate": 5.140962525011126e-05,
277
+ "loss": 1.0797119140625,
278
+ "step": 36
279
+ },
280
+ {
281
+ "epoch": 1.7619047619047619,
282
+ "grad_norm": 0.049536723643541336,
283
+ "learning_rate": 4.902735127223252e-05,
284
+ "loss": 1.12481689453125,
285
+ "step": 37
286
+ },
287
+ {
288
+ "epoch": 1.8095238095238095,
289
+ "grad_norm": 0.04784968122839928,
290
+ "learning_rate": 4.6662007416079864e-05,
291
+ "loss": 1.12640380859375,
292
+ "step": 38
293
+ },
294
+ {
295
+ "epoch": 1.8571428571428572,
296
+ "grad_norm": 0.052412062883377075,
297
+ "learning_rate": 4.432029850579983e-05,
298
+ "loss": 1.136962890625,
299
+ "step": 39
300
+ },
301
+ {
302
+ "epoch": 1.8571428571428572,
303
+ "eval_loss": 1.154296875,
304
+ "eval_runtime": 5.4651,
305
+ "eval_samples_per_second": 0.366,
306
+ "eval_steps_per_second": 0.183,
307
+ "step": 39
308
+ },
309
+ {
310
+ "epoch": 1.9047619047619047,
311
+ "grad_norm": 0.03997504711151123,
312
+ "learning_rate": 4.2008862369717074e-05,
313
+ "loss": 0.956787109375,
314
+ "step": 40
315
+ },
316
+ {
317
+ "epoch": 1.9523809523809523,
318
+ "grad_norm": 0.05004314333200455,
319
+ "learning_rate": 3.973425102468864e-05,
320
+ "loss": 1.141845703125,
321
+ "step": 41
322
+ },
323
+ {
324
+ "epoch": 2.0,
325
+ "grad_norm": 0.1028779074549675,
326
+ "learning_rate": 3.750291210370057e-05,
327
+ "loss": 1.067626953125,
328
+ "step": 42
329
+ },
330
+ {
331
+ "epoch": 2.0476190476190474,
332
+ "grad_norm": 0.05941079929471016,
333
+ "learning_rate": 3.5321170579351516e-05,
334
+ "loss": 1.1151123046875,
335
+ "step": 43
336
+ },
337
+ {
338
+ "epoch": 2.0952380952380953,
339
+ "grad_norm": 0.05426109582185745,
340
+ "learning_rate": 3.319521083503075e-05,
341
+ "loss": 1.222900390625,
342
+ "step": 44
343
+ },
344
+ {
345
+ "epoch": 2.142857142857143,
346
+ "grad_norm": 0.08989612013101578,
347
+ "learning_rate": 3.113105913461159e-05,
348
+ "loss": 0.981689453125,
349
+ "step": 45
350
+ },
351
+ {
352
+ "epoch": 2.1904761904761907,
353
+ "grad_norm": 0.048075128346681595,
354
+ "learning_rate": 2.9134566540351693e-05,
355
+ "loss": 1.1778564453125,
356
+ "step": 46
357
+ },
358
+ {
359
+ "epoch": 2.238095238095238,
360
+ "grad_norm": 0.04994767904281616,
361
+ "learning_rate": 2.721139232742137e-05,
362
+ "loss": 1.0787353515625,
363
+ "step": 47
364
+ },
365
+ {
366
+ "epoch": 2.2857142857142856,
367
+ "grad_norm": 0.05583450198173523,
368
+ "learning_rate": 2.5366987942073267e-05,
369
+ "loss": 1.1490478515625,
370
+ "step": 48
371
+ },
372
+ {
373
+ "epoch": 2.3333333333333335,
374
+ "grad_norm": 0.04764580726623535,
375
+ "learning_rate": 2.3606581548925695e-05,
376
+ "loss": 1.14404296875,
377
+ "step": 49
378
+ },
379
+ {
380
+ "epoch": 2.380952380952381,
381
+ "grad_norm": 0.04863216355443001,
382
+ "learning_rate": 2.1935163211161985e-05,
383
+ "loss": 1.1456298828125,
384
+ "step": 50
385
+ },
386
+ {
387
+ "epoch": 2.4285714285714284,
388
+ "grad_norm": 0.02937026508152485,
389
+ "learning_rate": 2.0357470745654214e-05,
390
+ "loss": 0.5966796875,
391
+ "step": 51
392
+ },
393
+ {
394
+ "epoch": 2.4285714285714284,
395
+ "eval_loss": 1.146484375,
396
+ "eval_runtime": 5.4773,
397
+ "eval_samples_per_second": 0.365,
398
+ "eval_steps_per_second": 0.183,
399
+ "step": 51
400
+ },
401
+ {
402
+ "epoch": 2.4761904761904763,
403
+ "grad_norm": 0.06333017349243164,
404
+ "learning_rate": 1.8877976293106646e-05,
405
+ "loss": 1.1070556640625,
406
+ "step": 52
407
+ },
408
+ {
409
+ "epoch": 2.5238095238095237,
410
+ "grad_norm": 0.04482894763350487,
411
+ "learning_rate": 1.7500873641286825e-05,
412
+ "loss": 1.0587158203125,
413
+ "step": 53
414
+ },
415
+ {
416
+ "epoch": 2.571428571428571,
417
+ "grad_norm": 0.040712468326091766,
418
+ "learning_rate": 1.6230066337278724e-05,
419
+ "loss": 1.081787109375,
420
+ "step": 54
421
+ },
422
+ {
423
+ "epoch": 2.619047619047619,
424
+ "grad_norm": 0.08906273543834686,
425
+ "learning_rate": 1.5069156622454287e-05,
426
+ "loss": 1.08984375,
427
+ "step": 55
428
+ },
429
+ {
430
+ "epoch": 2.6666666666666665,
431
+ "grad_norm": 0.061274148523807526,
432
+ "learning_rate": 1.4021435221528906e-05,
433
+ "loss": 1.130615234375,
434
+ "step": 56
435
+ },
436
+ {
437
+ "epoch": 2.7142857142857144,
438
+ "grad_norm": 0.054327286779880524,
439
+ "learning_rate": 1.3089872014644771e-05,
440
+ "loss": 1.0430908203125,
441
+ "step": 57
442
+ },
443
+ {
444
+ "epoch": 2.761904761904762,
445
+ "grad_norm": 0.04634387046098709,
446
+ "learning_rate": 1.2277107618922843e-05,
447
+ "loss": 1.09515380859375,
448
+ "step": 58
449
+ },
450
+ {
451
+ "epoch": 2.8095238095238093,
452
+ "grad_norm": 0.0436868742108345,
453
+ "learning_rate": 1.1585445903346783e-05,
454
+ "loss": 1.10205078125,
455
+ "step": 59
456
+ },
457
+ {
458
+ "epoch": 2.857142857142857,
459
+ "grad_norm": 0.05037835240364075,
460
+ "learning_rate": 1.1016847458196001e-05,
461
+ "loss": 1.1044921875,
462
+ "step": 60
463
+ },
464
+ {
465
+ "epoch": 2.9047619047619047,
466
+ "grad_norm": 0.03902503475546837,
467
+ "learning_rate": 1.0572924037539496e-05,
468
+ "loss": 0.937744140625,
469
+ "step": 61
470
+ },
471
+ {
472
+ "epoch": 2.9523809523809526,
473
+ "grad_norm": 0.050203897058963776,
474
+ "learning_rate": 1.0254933990543831e-05,
475
+ "loss": 1.1142578125,
476
+ "step": 62
477
+ },
478
+ {
479
+ "epoch": 3.0,
480
+ "grad_norm": 0.07041402906179428,
481
+ "learning_rate": 1.0063778694545714e-05,
482
+ "loss": 1.0267333984375,
483
+ "step": 63
484
+ },
485
+ {
486
+ "epoch": 3.0,
487
+ "eval_loss": 1.142578125,
488
+ "eval_runtime": 5.4813,
489
+ "eval_samples_per_second": 0.365,
490
+ "eval_steps_per_second": 0.182,
491
+ "step": 63
492
+ }
493
+ ],
494
+ "logging_steps": 1.0,
495
+ "max_steps": 63,
496
+ "num_input_tokens_seen": 0,
497
+ "num_train_epochs": 3,
498
+ "save_steps": 0,
499
+ "stateful_callbacks": {
500
+ "TrainerControl": {
501
+ "args": {
502
+ "should_epoch_stop": false,
503
+ "should_evaluate": false,
504
+ "should_log": false,
505
+ "should_save": true,
506
+ "should_training_stop": true
507
+ },
508
+ "attributes": {}
509
+ }
510
+ },
511
+ "total_flos": 1.3468496460722995e+18,
512
+ "train_batch_size": 1,
513
+ "trial_name": null,
514
+ "trial_params": null
515
+ }