Add 11 files
Browse files- .gitattributes +1 -0
- README.md +102 -0
- adapter_config.json +42 -0
- adapter_model.safetensors +3 -0
- chat_template.jinja +123 -0
- config.json +215 -0
- special_tokens_map.json +5 -0
- tokenizer.json +3 -0
- tokenizer_config.json +17 -0
- trainer_state.json +809 -0
- training-metrics.png +0 -0
- win-rates.png +0 -0
.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_adaptive_math_2
|
| 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 Adaptive Math 2 dataset.
|
| 17 |
+
|
| 18 |
+
|
| 19 |
+

|
| 20 |
+
|
| 21 |
+
### AutoScientist Config
|
| 22 |
+
|
| 23 |
+
```json
|
| 24 |
+
{
|
| 25 |
+
"job_id": "8db3bddd-326c-44ba-8440-2456d10d33f2",
|
| 26 |
+
"training_experiment_id": "78a0fd31-7d13-40cf-bc55-fb2d2bf9e92c",
|
| 27 |
+
"original_model_name": "meta-llama/Llama-4-Scout-17B-16E-Instruct",
|
| 28 |
+
"trained_model_name": "adaption_adaptive_math_2",
|
| 29 |
+
"training_method": "sft",
|
| 30 |
+
"training_type": "lora",
|
| 31 |
+
"data_format": "chat",
|
| 32 |
+
"hyperparams": {
|
| 33 |
+
"lora": "true",
|
| 34 |
+
"lora_r": 16,
|
| 35 |
+
"n_evals": 5,
|
| 36 |
+
"n_epochs": 5,
|
| 37 |
+
"batch_size": "max",
|
| 38 |
+
"lora_alpha": 32,
|
| 39 |
+
"lora_dropout": 0,
|
| 40 |
+
"min_lr_ratio": 0.1,
|
| 41 |
+
"warmup_ratio": 0.03,
|
| 42 |
+
"weight_decay": 0,
|
| 43 |
+
"learning_rate": 0.00005,
|
| 44 |
+
"max_grad_norm": 2,
|
| 45 |
+
"base_model_size": "109B",
|
| 46 |
+
"train_on_inputs": "false",
|
| 47 |
+
"training_method": "sft",
|
| 48 |
+
"lr_scheduler_type": "linear",
|
| 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,306 rows of adapted data with the following domain distribution: math (77%), code (8%), science (8%), academic-education (8%).
|
| 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 |
+

|
| 65 |
+
|
| 66 |
+
| Domain | Win rate vs. base model |
|
| 67 |
+
| --- | --- |
|
| 68 |
+
| math | 66% |
|
| 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": 32,
|
| 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": 16,
|
| 24 |
+
"rank_pattern": {},
|
| 25 |
+
"revision": null,
|
| 26 |
+
"target_modules": [
|
| 27 |
+
"v_proj",
|
| 28 |
+
"shared_expert.gate_proj",
|
| 29 |
+
"feed_forward.gate_proj",
|
| 30 |
+
"shared_expert.up_proj",
|
| 31 |
+
"q_proj",
|
| 32 |
+
"feed_forward.down_proj",
|
| 33 |
+
"shared_expert.down_proj",
|
| 34 |
+
"feed_forward.up_proj",
|
| 35 |
+
"o_proj",
|
| 36 |
+
"k_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:8437531c7480d921cca4c3f3fc04709d886d6b98c0bfaf8af5d79e19f699bd6e
|
| 3 |
+
size 223443552
|
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 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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
+
"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,809 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"best_global_step": null,
|
| 3 |
+
"best_metric": null,
|
| 4 |
+
"best_model_checkpoint": null,
|
| 5 |
+
"epoch": 5.0,
|
| 6 |
+
"eval_steps": 21,
|
| 7 |
+
"global_step": 105,
|
| 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.2336401790380478,
|
| 15 |
+
"learning_rate": 0.0,
|
| 16 |
+
"loss": 1.597024917602539,
|
| 17 |
+
"step": 1
|
| 18 |
+
},
|
| 19 |
+
{
|
| 20 |
+
"epoch": 0.09523809523809523,
|
| 21 |
+
"grad_norm": 0.139324352145195,
|
| 22 |
+
"learning_rate": 1.25e-05,
|
| 23 |
+
"loss": 1.0992431640625,
|
| 24 |
+
"step": 2
|
| 25 |
+
},
|
| 26 |
+
{
|
| 27 |
+
"epoch": 0.14285714285714285,
|
| 28 |
+
"grad_norm": 0.18670302629470825,
|
| 29 |
+
"learning_rate": 2.5e-05,
|
| 30 |
+
"loss": 1.25390625,
|
| 31 |
+
"step": 3
|
| 32 |
+
},
|
| 33 |
+
{
|
| 34 |
+
"epoch": 0.19047619047619047,
|
| 35 |
+
"grad_norm": 0.1872895509004593,
|
| 36 |
+
"learning_rate": 3.7500000000000003e-05,
|
| 37 |
+
"loss": 1.28125,
|
| 38 |
+
"step": 4
|
| 39 |
+
},
|
| 40 |
+
{
|
| 41 |
+
"epoch": 0.23809523809523808,
|
| 42 |
+
"grad_norm": 0.27610132098197937,
|
| 43 |
+
"learning_rate": 5e-05,
|
| 44 |
+
"loss": 1.421875,
|
| 45 |
+
"step": 5
|
| 46 |
+
},
|
| 47 |
+
{
|
| 48 |
+
"epoch": 0.2857142857142857,
|
| 49 |
+
"grad_norm": 0.18864712119102478,
|
| 50 |
+
"learning_rate": 4.955445544554456e-05,
|
| 51 |
+
"loss": 1.202880859375,
|
| 52 |
+
"step": 6
|
| 53 |
+
},
|
| 54 |
+
{
|
| 55 |
+
"epoch": 0.3333333333333333,
|
| 56 |
+
"grad_norm": 0.195709228515625,
|
| 57 |
+
"learning_rate": 4.910891089108911e-05,
|
| 58 |
+
"loss": 1.349365234375,
|
| 59 |
+
"step": 7
|
| 60 |
+
},
|
| 61 |
+
{
|
| 62 |
+
"epoch": 0.38095238095238093,
|
| 63 |
+
"grad_norm": 0.19647514820098877,
|
| 64 |
+
"learning_rate": 4.866336633663367e-05,
|
| 65 |
+
"loss": 1.292724609375,
|
| 66 |
+
"step": 8
|
| 67 |
+
},
|
| 68 |
+
{
|
| 69 |
+
"epoch": 0.42857142857142855,
|
| 70 |
+
"grad_norm": 0.13170799612998962,
|
| 71 |
+
"learning_rate": 4.821782178217822e-05,
|
| 72 |
+
"loss": 1.17919921875,
|
| 73 |
+
"step": 9
|
| 74 |
+
},
|
| 75 |
+
{
|
| 76 |
+
"epoch": 0.47619047619047616,
|
| 77 |
+
"grad_norm": 0.11354876309633255,
|
| 78 |
+
"learning_rate": 4.7772277227722775e-05,
|
| 79 |
+
"loss": 1.047119140625,
|
| 80 |
+
"step": 10
|
| 81 |
+
},
|
| 82 |
+
{
|
| 83 |
+
"epoch": 0.5238095238095238,
|
| 84 |
+
"grad_norm": 0.10402568429708481,
|
| 85 |
+
"learning_rate": 4.7326732673267326e-05,
|
| 86 |
+
"loss": 1.0447998046875,
|
| 87 |
+
"step": 11
|
| 88 |
+
},
|
| 89 |
+
{
|
| 90 |
+
"epoch": 0.5714285714285714,
|
| 91 |
+
"grad_norm": 0.11599553376436234,
|
| 92 |
+
"learning_rate": 4.688118811881188e-05,
|
| 93 |
+
"loss": 1.234375,
|
| 94 |
+
"step": 12
|
| 95 |
+
},
|
| 96 |
+
{
|
| 97 |
+
"epoch": 0.6190476190476191,
|
| 98 |
+
"grad_norm": 0.10330411046743393,
|
| 99 |
+
"learning_rate": 4.643564356435644e-05,
|
| 100 |
+
"loss": 1.03271484375,
|
| 101 |
+
"step": 13
|
| 102 |
+
},
|
| 103 |
+
{
|
| 104 |
+
"epoch": 0.6666666666666666,
|
| 105 |
+
"grad_norm": 0.09363178163766861,
|
| 106 |
+
"learning_rate": 4.599009900990099e-05,
|
| 107 |
+
"loss": 1.108642578125,
|
| 108 |
+
"step": 14
|
| 109 |
+
},
|
| 110 |
+
{
|
| 111 |
+
"epoch": 0.7142857142857143,
|
| 112 |
+
"grad_norm": 0.07801345735788345,
|
| 113 |
+
"learning_rate": 4.554455445544555e-05,
|
| 114 |
+
"loss": 1.20751953125,
|
| 115 |
+
"step": 15
|
| 116 |
+
},
|
| 117 |
+
{
|
| 118 |
+
"epoch": 0.7619047619047619,
|
| 119 |
+
"grad_norm": 0.08759468048810959,
|
| 120 |
+
"learning_rate": 4.5099009900990106e-05,
|
| 121 |
+
"loss": 1.11328125,
|
| 122 |
+
"step": 16
|
| 123 |
+
},
|
| 124 |
+
{
|
| 125 |
+
"epoch": 0.8095238095238095,
|
| 126 |
+
"grad_norm": 0.0739271342754364,
|
| 127 |
+
"learning_rate": 4.4653465346534656e-05,
|
| 128 |
+
"loss": 0.991943359375,
|
| 129 |
+
"step": 17
|
| 130 |
+
},
|
| 131 |
+
{
|
| 132 |
+
"epoch": 0.8571428571428571,
|
| 133 |
+
"grad_norm": 0.07324020564556122,
|
| 134 |
+
"learning_rate": 4.4207920792079214e-05,
|
| 135 |
+
"loss": 1.015625,
|
| 136 |
+
"step": 18
|
| 137 |
+
},
|
| 138 |
+
{
|
| 139 |
+
"epoch": 0.9047619047619048,
|
| 140 |
+
"grad_norm": 0.0887310728430748,
|
| 141 |
+
"learning_rate": 4.3762376237623764e-05,
|
| 142 |
+
"loss": 1.12646484375,
|
| 143 |
+
"step": 19
|
| 144 |
+
},
|
| 145 |
+
{
|
| 146 |
+
"epoch": 0.9523809523809523,
|
| 147 |
+
"grad_norm": 0.09081307798624039,
|
| 148 |
+
"learning_rate": 4.331683168316832e-05,
|
| 149 |
+
"loss": 1.125732421875,
|
| 150 |
+
"step": 20
|
| 151 |
+
},
|
| 152 |
+
{
|
| 153 |
+
"epoch": 1.0,
|
| 154 |
+
"grad_norm": 0.09143728017807007,
|
| 155 |
+
"learning_rate": 4.287128712871287e-05,
|
| 156 |
+
"loss": 1.086482048034668,
|
| 157 |
+
"step": 21
|
| 158 |
+
},
|
| 159 |
+
{
|
| 160 |
+
"epoch": 1.0,
|
| 161 |
+
"eval_loss": 0.89794921875,
|
| 162 |
+
"eval_runtime": 6.2074,
|
| 163 |
+
"eval_samples_per_second": 0.483,
|
| 164 |
+
"eval_steps_per_second": 0.161,
|
| 165 |
+
"step": 21
|
| 166 |
+
},
|
| 167 |
+
{
|
| 168 |
+
"epoch": 1.0476190476190477,
|
| 169 |
+
"grad_norm": 0.11578790843486786,
|
| 170 |
+
"learning_rate": 4.242574257425743e-05,
|
| 171 |
+
"loss": 1.1945695877075195,
|
| 172 |
+
"step": 22
|
| 173 |
+
},
|
| 174 |
+
{
|
| 175 |
+
"epoch": 1.0952380952380953,
|
| 176 |
+
"grad_norm": 0.07215438783168793,
|
| 177 |
+
"learning_rate": 4.198019801980198e-05,
|
| 178 |
+
"loss": 0.892822265625,
|
| 179 |
+
"step": 23
|
| 180 |
+
},
|
| 181 |
+
{
|
| 182 |
+
"epoch": 1.1428571428571428,
|
| 183 |
+
"grad_norm": 0.06692706048488617,
|
| 184 |
+
"learning_rate": 4.153465346534654e-05,
|
| 185 |
+
"loss": 0.9228515625,
|
| 186 |
+
"step": 24
|
| 187 |
+
},
|
| 188 |
+
{
|
| 189 |
+
"epoch": 1.1904761904761905,
|
| 190 |
+
"grad_norm": 0.06746720522642136,
|
| 191 |
+
"learning_rate": 4.1089108910891094e-05,
|
| 192 |
+
"loss": 0.95361328125,
|
| 193 |
+
"step": 25
|
| 194 |
+
},
|
| 195 |
+
{
|
| 196 |
+
"epoch": 1.2380952380952381,
|
| 197 |
+
"grad_norm": 0.08407702296972275,
|
| 198 |
+
"learning_rate": 4.0643564356435645e-05,
|
| 199 |
+
"loss": 0.990966796875,
|
| 200 |
+
"step": 26
|
| 201 |
+
},
|
| 202 |
+
{
|
| 203 |
+
"epoch": 1.2857142857142856,
|
| 204 |
+
"grad_norm": 0.05947112664580345,
|
| 205 |
+
"learning_rate": 4.01980198019802e-05,
|
| 206 |
+
"loss": 0.9287109375,
|
| 207 |
+
"step": 27
|
| 208 |
+
},
|
| 209 |
+
{
|
| 210 |
+
"epoch": 1.3333333333333333,
|
| 211 |
+
"grad_norm": 0.0628310814499855,
|
| 212 |
+
"learning_rate": 3.975247524752476e-05,
|
| 213 |
+
"loss": 1.0950927734375,
|
| 214 |
+
"step": 28
|
| 215 |
+
},
|
| 216 |
+
{
|
| 217 |
+
"epoch": 1.380952380952381,
|
| 218 |
+
"grad_norm": 0.07003499567508698,
|
| 219 |
+
"learning_rate": 3.930693069306931e-05,
|
| 220 |
+
"loss": 1.0634765625,
|
| 221 |
+
"step": 29
|
| 222 |
+
},
|
| 223 |
+
{
|
| 224 |
+
"epoch": 1.4285714285714286,
|
| 225 |
+
"grad_norm": 0.05565551668405533,
|
| 226 |
+
"learning_rate": 3.886138613861387e-05,
|
| 227 |
+
"loss": 1.027587890625,
|
| 228 |
+
"step": 30
|
| 229 |
+
},
|
| 230 |
+
{
|
| 231 |
+
"epoch": 1.4761904761904763,
|
| 232 |
+
"grad_norm": 0.058880023658275604,
|
| 233 |
+
"learning_rate": 3.841584158415842e-05,
|
| 234 |
+
"loss": 0.938232421875,
|
| 235 |
+
"step": 31
|
| 236 |
+
},
|
| 237 |
+
{
|
| 238 |
+
"epoch": 1.5238095238095237,
|
| 239 |
+
"grad_norm": 0.05786323547363281,
|
| 240 |
+
"learning_rate": 3.7970297029702975e-05,
|
| 241 |
+
"loss": 0.9415283203125,
|
| 242 |
+
"step": 32
|
| 243 |
+
},
|
| 244 |
+
{
|
| 245 |
+
"epoch": 1.5714285714285714,
|
| 246 |
+
"grad_norm": 0.0752716138958931,
|
| 247 |
+
"learning_rate": 3.7524752475247526e-05,
|
| 248 |
+
"loss": 1.10986328125,
|
| 249 |
+
"step": 33
|
| 250 |
+
},
|
| 251 |
+
{
|
| 252 |
+
"epoch": 1.619047619047619,
|
| 253 |
+
"grad_norm": 0.06447714567184448,
|
| 254 |
+
"learning_rate": 3.707920792079208e-05,
|
| 255 |
+
"loss": 0.9547119140625,
|
| 256 |
+
"step": 34
|
| 257 |
+
},
|
| 258 |
+
{
|
| 259 |
+
"epoch": 1.6666666666666665,
|
| 260 |
+
"grad_norm": 0.057373639196157455,
|
| 261 |
+
"learning_rate": 3.6633663366336634e-05,
|
| 262 |
+
"loss": 1.0313720703125,
|
| 263 |
+
"step": 35
|
| 264 |
+
},
|
| 265 |
+
{
|
| 266 |
+
"epoch": 1.7142857142857144,
|
| 267 |
+
"grad_norm": 0.06472651660442352,
|
| 268 |
+
"learning_rate": 3.618811881188119e-05,
|
| 269 |
+
"loss": 1.12939453125,
|
| 270 |
+
"step": 36
|
| 271 |
+
},
|
| 272 |
+
{
|
| 273 |
+
"epoch": 1.7619047619047619,
|
| 274 |
+
"grad_norm": 0.06590702384710312,
|
| 275 |
+
"learning_rate": 3.574257425742575e-05,
|
| 276 |
+
"loss": 1.0234375,
|
| 277 |
+
"step": 37
|
| 278 |
+
},
|
| 279 |
+
{
|
| 280 |
+
"epoch": 1.8095238095238095,
|
| 281 |
+
"grad_norm": 0.05247596651315689,
|
| 282 |
+
"learning_rate": 3.5297029702970306e-05,
|
| 283 |
+
"loss": 0.9293212890625,
|
| 284 |
+
"step": 38
|
| 285 |
+
},
|
| 286 |
+
{
|
| 287 |
+
"epoch": 1.8571428571428572,
|
| 288 |
+
"grad_norm": 0.054419517517089844,
|
| 289 |
+
"learning_rate": 3.4851485148514856e-05,
|
| 290 |
+
"loss": 0.956298828125,
|
| 291 |
+
"step": 39
|
| 292 |
+
},
|
| 293 |
+
{
|
| 294 |
+
"epoch": 1.9047619047619047,
|
| 295 |
+
"grad_norm": 0.06416720896959305,
|
| 296 |
+
"learning_rate": 3.4405940594059413e-05,
|
| 297 |
+
"loss": 1.055419921875,
|
| 298 |
+
"step": 40
|
| 299 |
+
},
|
| 300 |
+
{
|
| 301 |
+
"epoch": 1.9523809523809523,
|
| 302 |
+
"grad_norm": 0.06087876111268997,
|
| 303 |
+
"learning_rate": 3.3960396039603964e-05,
|
| 304 |
+
"loss": 1.0548095703125,
|
| 305 |
+
"step": 41
|
| 306 |
+
},
|
| 307 |
+
{
|
| 308 |
+
"epoch": 2.0,
|
| 309 |
+
"grad_norm": 0.06107616424560547,
|
| 310 |
+
"learning_rate": 3.351485148514852e-05,
|
| 311 |
+
"loss": 1.0191421508789062,
|
| 312 |
+
"step": 42
|
| 313 |
+
},
|
| 314 |
+
{
|
| 315 |
+
"epoch": 2.0,
|
| 316 |
+
"eval_loss": 0.85693359375,
|
| 317 |
+
"eval_runtime": 5.8934,
|
| 318 |
+
"eval_samples_per_second": 0.509,
|
| 319 |
+
"eval_steps_per_second": 0.17,
|
| 320 |
+
"step": 42
|
| 321 |
+
},
|
| 322 |
+
{
|
| 323 |
+
"epoch": 2.0476190476190474,
|
| 324 |
+
"grad_norm": 0.07328856736421585,
|
| 325 |
+
"learning_rate": 3.306930693069307e-05,
|
| 326 |
+
"loss": 1.1238336563110352,
|
| 327 |
+
"step": 43
|
| 328 |
+
},
|
| 329 |
+
{
|
| 330 |
+
"epoch": 2.0952380952380953,
|
| 331 |
+
"grad_norm": 0.06458962708711624,
|
| 332 |
+
"learning_rate": 3.262376237623763e-05,
|
| 333 |
+
"loss": 0.8521728515625,
|
| 334 |
+
"step": 44
|
| 335 |
+
},
|
| 336 |
+
{
|
| 337 |
+
"epoch": 2.142857142857143,
|
| 338 |
+
"grad_norm": 0.05227170139551163,
|
| 339 |
+
"learning_rate": 3.217821782178218e-05,
|
| 340 |
+
"loss": 0.875732421875,
|
| 341 |
+
"step": 45
|
| 342 |
+
},
|
| 343 |
+
{
|
| 344 |
+
"epoch": 2.1904761904761907,
|
| 345 |
+
"grad_norm": 0.05606422200798988,
|
| 346 |
+
"learning_rate": 3.173267326732674e-05,
|
| 347 |
+
"loss": 0.908447265625,
|
| 348 |
+
"step": 46
|
| 349 |
+
},
|
| 350 |
+
{
|
| 351 |
+
"epoch": 2.238095238095238,
|
| 352 |
+
"grad_norm": 0.06455234438180923,
|
| 353 |
+
"learning_rate": 3.128712871287129e-05,
|
| 354 |
+
"loss": 0.9385986328125,
|
| 355 |
+
"step": 47
|
| 356 |
+
},
|
| 357 |
+
{
|
| 358 |
+
"epoch": 2.2857142857142856,
|
| 359 |
+
"grad_norm": 0.05182703956961632,
|
| 360 |
+
"learning_rate": 3.0841584158415845e-05,
|
| 361 |
+
"loss": 0.8916015625,
|
| 362 |
+
"step": 48
|
| 363 |
+
},
|
| 364 |
+
{
|
| 365 |
+
"epoch": 2.3333333333333335,
|
| 366 |
+
"grad_norm": 0.056314852088689804,
|
| 367 |
+
"learning_rate": 3.0396039603960395e-05,
|
| 368 |
+
"loss": 1.0513916015625,
|
| 369 |
+
"step": 49
|
| 370 |
+
},
|
| 371 |
+
{
|
| 372 |
+
"epoch": 2.380952380952381,
|
| 373 |
+
"grad_norm": 0.06813926994800568,
|
| 374 |
+
"learning_rate": 2.9950495049504956e-05,
|
| 375 |
+
"loss": 1.01904296875,
|
| 376 |
+
"step": 50
|
| 377 |
+
},
|
| 378 |
+
{
|
| 379 |
+
"epoch": 2.4285714285714284,
|
| 380 |
+
"grad_norm": 0.05330316722393036,
|
| 381 |
+
"learning_rate": 2.950495049504951e-05,
|
| 382 |
+
"loss": 0.9931640625,
|
| 383 |
+
"step": 51
|
| 384 |
+
},
|
| 385 |
+
{
|
| 386 |
+
"epoch": 2.4761904761904763,
|
| 387 |
+
"grad_norm": 0.047916412353515625,
|
| 388 |
+
"learning_rate": 2.9059405940594064e-05,
|
| 389 |
+
"loss": 0.9019775390625,
|
| 390 |
+
"step": 52
|
| 391 |
+
},
|
| 392 |
+
{
|
| 393 |
+
"epoch": 2.5238095238095237,
|
| 394 |
+
"grad_norm": 0.052138037979602814,
|
| 395 |
+
"learning_rate": 2.8613861386138618e-05,
|
| 396 |
+
"loss": 0.9117431640625,
|
| 397 |
+
"step": 53
|
| 398 |
+
},
|
| 399 |
+
{
|
| 400 |
+
"epoch": 2.571428571428571,
|
| 401 |
+
"grad_norm": 0.06863577663898468,
|
| 402 |
+
"learning_rate": 2.8168316831683172e-05,
|
| 403 |
+
"loss": 1.06787109375,
|
| 404 |
+
"step": 54
|
| 405 |
+
},
|
| 406 |
+
{
|
| 407 |
+
"epoch": 2.619047619047619,
|
| 408 |
+
"grad_norm": 0.053087200969457626,
|
| 409 |
+
"learning_rate": 2.7722772277227726e-05,
|
| 410 |
+
"loss": 0.9228515625,
|
| 411 |
+
"step": 55
|
| 412 |
+
},
|
| 413 |
+
{
|
| 414 |
+
"epoch": 2.6666666666666665,
|
| 415 |
+
"grad_norm": 0.053308919072151184,
|
| 416 |
+
"learning_rate": 2.727722772277228e-05,
|
| 417 |
+
"loss": 0.9986572265625,
|
| 418 |
+
"step": 56
|
| 419 |
+
},
|
| 420 |
+
{
|
| 421 |
+
"epoch": 2.7142857142857144,
|
| 422 |
+
"grad_norm": 0.06101275607943535,
|
| 423 |
+
"learning_rate": 2.6831683168316834e-05,
|
| 424 |
+
"loss": 1.0927734375,
|
| 425 |
+
"step": 57
|
| 426 |
+
},
|
| 427 |
+
{
|
| 428 |
+
"epoch": 2.761904761904762,
|
| 429 |
+
"grad_norm": 0.06312154233455658,
|
| 430 |
+
"learning_rate": 2.6386138613861387e-05,
|
| 431 |
+
"loss": 0.991943359375,
|
| 432 |
+
"step": 58
|
| 433 |
+
},
|
| 434 |
+
{
|
| 435 |
+
"epoch": 2.8095238095238093,
|
| 436 |
+
"grad_norm": 0.04727683961391449,
|
| 437 |
+
"learning_rate": 2.594059405940594e-05,
|
| 438 |
+
"loss": 0.90283203125,
|
| 439 |
+
"step": 59
|
| 440 |
+
},
|
| 441 |
+
{
|
| 442 |
+
"epoch": 2.857142857142857,
|
| 443 |
+
"grad_norm": 0.050816185772418976,
|
| 444 |
+
"learning_rate": 2.5495049504950495e-05,
|
| 445 |
+
"loss": 0.928955078125,
|
| 446 |
+
"step": 60
|
| 447 |
+
},
|
| 448 |
+
{
|
| 449 |
+
"epoch": 2.9047619047619047,
|
| 450 |
+
"grad_norm": 0.06634709984064102,
|
| 451 |
+
"learning_rate": 2.504950495049505e-05,
|
| 452 |
+
"loss": 1.029541015625,
|
| 453 |
+
"step": 61
|
| 454 |
+
},
|
| 455 |
+
{
|
| 456 |
+
"epoch": 2.9523809523809526,
|
| 457 |
+
"grad_norm": 0.05809742957353592,
|
| 458 |
+
"learning_rate": 2.4603960396039603e-05,
|
| 459 |
+
"loss": 1.0267333984375,
|
| 460 |
+
"step": 62
|
| 461 |
+
},
|
| 462 |
+
{
|
| 463 |
+
"epoch": 3.0,
|
| 464 |
+
"grad_norm": 0.060985397547483444,
|
| 465 |
+
"learning_rate": 2.415841584158416e-05,
|
| 466 |
+
"loss": 0.987398624420166,
|
| 467 |
+
"step": 63
|
| 468 |
+
},
|
| 469 |
+
{
|
| 470 |
+
"epoch": 3.0,
|
| 471 |
+
"eval_loss": 0.84130859375,
|
| 472 |
+
"eval_runtime": 5.8936,
|
| 473 |
+
"eval_samples_per_second": 0.509,
|
| 474 |
+
"eval_steps_per_second": 0.17,
|
| 475 |
+
"step": 63
|
| 476 |
+
},
|
| 477 |
+
{
|
| 478 |
+
"epoch": 3.0476190476190474,
|
| 479 |
+
"grad_norm": 0.07713712006807327,
|
| 480 |
+
"learning_rate": 2.3712871287128714e-05,
|
| 481 |
+
"loss": 1.0920753479003906,
|
| 482 |
+
"step": 64
|
| 483 |
+
},
|
| 484 |
+
{
|
| 485 |
+
"epoch": 3.0952380952380953,
|
| 486 |
+
"grad_norm": 0.05062828212976456,
|
| 487 |
+
"learning_rate": 2.3267326732673272e-05,
|
| 488 |
+
"loss": 0.8311767578125,
|
| 489 |
+
"step": 65
|
| 490 |
+
},
|
| 491 |
+
{
|
| 492 |
+
"epoch": 3.142857142857143,
|
| 493 |
+
"grad_norm": 0.05484438315033913,
|
| 494 |
+
"learning_rate": 2.2821782178217826e-05,
|
| 495 |
+
"loss": 0.852294921875,
|
| 496 |
+
"step": 66
|
| 497 |
+
},
|
| 498 |
+
{
|
| 499 |
+
"epoch": 3.1904761904761907,
|
| 500 |
+
"grad_norm": 0.05483638867735863,
|
| 501 |
+
"learning_rate": 2.237623762376238e-05,
|
| 502 |
+
"loss": 0.885986328125,
|
| 503 |
+
"step": 67
|
| 504 |
+
},
|
| 505 |
+
{
|
| 506 |
+
"epoch": 3.238095238095238,
|
| 507 |
+
"grad_norm": 0.06613826751708984,
|
| 508 |
+
"learning_rate": 2.1930693069306934e-05,
|
| 509 |
+
"loss": 0.91259765625,
|
| 510 |
+
"step": 68
|
| 511 |
+
},
|
| 512 |
+
{
|
| 513 |
+
"epoch": 3.2857142857142856,
|
| 514 |
+
"grad_norm": 0.05269517004489899,
|
| 515 |
+
"learning_rate": 2.1485148514851487e-05,
|
| 516 |
+
"loss": 0.8701171875,
|
| 517 |
+
"step": 69
|
| 518 |
+
},
|
| 519 |
+
{
|
| 520 |
+
"epoch": 3.3333333333333335,
|
| 521 |
+
"grad_norm": 0.05947788804769516,
|
| 522 |
+
"learning_rate": 2.103960396039604e-05,
|
| 523 |
+
"loss": 1.0263671875,
|
| 524 |
+
"step": 70
|
| 525 |
+
},
|
| 526 |
+
{
|
| 527 |
+
"epoch": 3.380952380952381,
|
| 528 |
+
"grad_norm": 0.06955339759588242,
|
| 529 |
+
"learning_rate": 2.0594059405940595e-05,
|
| 530 |
+
"loss": 0.994140625,
|
| 531 |
+
"step": 71
|
| 532 |
+
},
|
| 533 |
+
{
|
| 534 |
+
"epoch": 3.4285714285714284,
|
| 535 |
+
"grad_norm": 0.05246608331799507,
|
| 536 |
+
"learning_rate": 2.014851485148515e-05,
|
| 537 |
+
"loss": 0.9725341796875,
|
| 538 |
+
"step": 72
|
| 539 |
+
},
|
| 540 |
+
{
|
| 541 |
+
"epoch": 3.4761904761904763,
|
| 542 |
+
"grad_norm": 0.04798204451799393,
|
| 543 |
+
"learning_rate": 1.9702970297029703e-05,
|
| 544 |
+
"loss": 0.8829345703125,
|
| 545 |
+
"step": 73
|
| 546 |
+
},
|
| 547 |
+
{
|
| 548 |
+
"epoch": 3.5238095238095237,
|
| 549 |
+
"grad_norm": 0.05153437331318855,
|
| 550 |
+
"learning_rate": 1.925742574257426e-05,
|
| 551 |
+
"loss": 0.8934326171875,
|
| 552 |
+
"step": 74
|
| 553 |
+
},
|
| 554 |
+
{
|
| 555 |
+
"epoch": 3.571428571428571,
|
| 556 |
+
"grad_norm": 0.07233956456184387,
|
| 557 |
+
"learning_rate": 1.8811881188118814e-05,
|
| 558 |
+
"loss": 1.041259765625,
|
| 559 |
+
"step": 75
|
| 560 |
+
},
|
| 561 |
+
{
|
| 562 |
+
"epoch": 3.619047619047619,
|
| 563 |
+
"grad_norm": 0.05623261630535126,
|
| 564 |
+
"learning_rate": 1.8366336633663368e-05,
|
| 565 |
+
"loss": 0.9068603515625,
|
| 566 |
+
"step": 76
|
| 567 |
+
},
|
| 568 |
+
{
|
| 569 |
+
"epoch": 3.6666666666666665,
|
| 570 |
+
"grad_norm": 0.0568804107606411,
|
| 571 |
+
"learning_rate": 1.7920792079207922e-05,
|
| 572 |
+
"loss": 0.9783935546875,
|
| 573 |
+
"step": 77
|
| 574 |
+
},
|
| 575 |
+
{
|
| 576 |
+
"epoch": 3.7142857142857144,
|
| 577 |
+
"grad_norm": 0.0646575391292572,
|
| 578 |
+
"learning_rate": 1.7475247524752476e-05,
|
| 579 |
+
"loss": 1.0751953125,
|
| 580 |
+
"step": 78
|
| 581 |
+
},
|
| 582 |
+
{
|
| 583 |
+
"epoch": 3.761904761904762,
|
| 584 |
+
"grad_norm": 0.06511656194925308,
|
| 585 |
+
"learning_rate": 1.7029702970297033e-05,
|
| 586 |
+
"loss": 0.97216796875,
|
| 587 |
+
"step": 79
|
| 588 |
+
},
|
| 589 |
+
{
|
| 590 |
+
"epoch": 3.8095238095238093,
|
| 591 |
+
"grad_norm": 0.04965182766318321,
|
| 592 |
+
"learning_rate": 1.6584158415841587e-05,
|
| 593 |
+
"loss": 0.8896484375,
|
| 594 |
+
"step": 80
|
| 595 |
+
},
|
| 596 |
+
{
|
| 597 |
+
"epoch": 3.857142857142857,
|
| 598 |
+
"grad_norm": 0.050047993659973145,
|
| 599 |
+
"learning_rate": 1.613861386138614e-05,
|
| 600 |
+
"loss": 0.9139404296875,
|
| 601 |
+
"step": 81
|
| 602 |
+
},
|
| 603 |
+
{
|
| 604 |
+
"epoch": 3.9047619047619047,
|
| 605 |
+
"grad_norm": 0.06543626636266708,
|
| 606 |
+
"learning_rate": 1.5693069306930695e-05,
|
| 607 |
+
"loss": 1.013427734375,
|
| 608 |
+
"step": 82
|
| 609 |
+
},
|
| 610 |
+
{
|
| 611 |
+
"epoch": 3.9523809523809526,
|
| 612 |
+
"grad_norm": 0.059756673872470856,
|
| 613 |
+
"learning_rate": 1.524752475247525e-05,
|
| 614 |
+
"loss": 1.0125732421875,
|
| 615 |
+
"step": 83
|
| 616 |
+
},
|
| 617 |
+
{
|
| 618 |
+
"epoch": 4.0,
|
| 619 |
+
"grad_norm": 0.06354590505361557,
|
| 620 |
+
"learning_rate": 1.4801980198019805e-05,
|
| 621 |
+
"loss": 0.9644265174865723,
|
| 622 |
+
"step": 84
|
| 623 |
+
},
|
| 624 |
+
{
|
| 625 |
+
"epoch": 4.0,
|
| 626 |
+
"eval_loss": 0.83056640625,
|
| 627 |
+
"eval_runtime": 5.8955,
|
| 628 |
+
"eval_samples_per_second": 0.509,
|
| 629 |
+
"eval_steps_per_second": 0.17,
|
| 630 |
+
"step": 84
|
| 631 |
+
},
|
| 632 |
+
{
|
| 633 |
+
"epoch": 4.0476190476190474,
|
| 634 |
+
"grad_norm": 0.07922310382127762,
|
| 635 |
+
"learning_rate": 1.4356435643564359e-05,
|
| 636 |
+
"loss": 1.0685958862304688,
|
| 637 |
+
"step": 85
|
| 638 |
+
},
|
| 639 |
+
{
|
| 640 |
+
"epoch": 4.095238095238095,
|
| 641 |
+
"grad_norm": 0.050637226551771164,
|
| 642 |
+
"learning_rate": 1.3910891089108913e-05,
|
| 643 |
+
"loss": 0.818603515625,
|
| 644 |
+
"step": 86
|
| 645 |
+
},
|
| 646 |
+
{
|
| 647 |
+
"epoch": 4.142857142857143,
|
| 648 |
+
"grad_norm": 0.05398539826273918,
|
| 649 |
+
"learning_rate": 1.3465346534653467e-05,
|
| 650 |
+
"loss": 0.83544921875,
|
| 651 |
+
"step": 87
|
| 652 |
+
},
|
| 653 |
+
{
|
| 654 |
+
"epoch": 4.190476190476191,
|
| 655 |
+
"grad_norm": 0.05893166363239288,
|
| 656 |
+
"learning_rate": 1.301980198019802e-05,
|
| 657 |
+
"loss": 0.868896484375,
|
| 658 |
+
"step": 88
|
| 659 |
+
},
|
| 660 |
+
{
|
| 661 |
+
"epoch": 4.238095238095238,
|
| 662 |
+
"grad_norm": 0.06877650320529938,
|
| 663 |
+
"learning_rate": 1.2574257425742574e-05,
|
| 664 |
+
"loss": 0.8961181640625,
|
| 665 |
+
"step": 89
|
| 666 |
+
},
|
| 667 |
+
{
|
| 668 |
+
"epoch": 4.285714285714286,
|
| 669 |
+
"grad_norm": 0.05526193976402283,
|
| 670 |
+
"learning_rate": 1.212871287128713e-05,
|
| 671 |
+
"loss": 0.855712890625,
|
| 672 |
+
"step": 90
|
| 673 |
+
},
|
| 674 |
+
{
|
| 675 |
+
"epoch": 4.333333333333333,
|
| 676 |
+
"grad_norm": 0.06256742030382156,
|
| 677 |
+
"learning_rate": 1.1683168316831684e-05,
|
| 678 |
+
"loss": 1.0123291015625,
|
| 679 |
+
"step": 91
|
| 680 |
+
},
|
| 681 |
+
{
|
| 682 |
+
"epoch": 4.380952380952381,
|
| 683 |
+
"grad_norm": 0.07355812937021255,
|
| 684 |
+
"learning_rate": 1.123762376237624e-05,
|
| 685 |
+
"loss": 0.978515625,
|
| 686 |
+
"step": 92
|
| 687 |
+
},
|
| 688 |
+
{
|
| 689 |
+
"epoch": 4.428571428571429,
|
| 690 |
+
"grad_norm": 0.05362411215901375,
|
| 691 |
+
"learning_rate": 1.0792079207920793e-05,
|
| 692 |
+
"loss": 0.9608154296875,
|
| 693 |
+
"step": 93
|
| 694 |
+
},
|
| 695 |
+
{
|
| 696 |
+
"epoch": 4.476190476190476,
|
| 697 |
+
"grad_norm": 0.04871255159378052,
|
| 698 |
+
"learning_rate": 1.0346534653465347e-05,
|
| 699 |
+
"loss": 0.871337890625,
|
| 700 |
+
"step": 94
|
| 701 |
+
},
|
| 702 |
+
{
|
| 703 |
+
"epoch": 4.523809523809524,
|
| 704 |
+
"grad_norm": 0.05343654006719589,
|
| 705 |
+
"learning_rate": 9.900990099009901e-06,
|
| 706 |
+
"loss": 0.8802490234375,
|
| 707 |
+
"step": 95
|
| 708 |
+
},
|
| 709 |
+
{
|
| 710 |
+
"epoch": 4.571428571428571,
|
| 711 |
+
"grad_norm": 0.08328408747911453,
|
| 712 |
+
"learning_rate": 9.455445544554455e-06,
|
| 713 |
+
"loss": 1.024658203125,
|
| 714 |
+
"step": 96
|
| 715 |
+
},
|
| 716 |
+
{
|
| 717 |
+
"epoch": 4.619047619047619,
|
| 718 |
+
"grad_norm": 0.056153565645217896,
|
| 719 |
+
"learning_rate": 9.00990099009901e-06,
|
| 720 |
+
"loss": 0.8939208984375,
|
| 721 |
+
"step": 97
|
| 722 |
+
},
|
| 723 |
+
{
|
| 724 |
+
"epoch": 4.666666666666667,
|
| 725 |
+
"grad_norm": 0.058305393904447556,
|
| 726 |
+
"learning_rate": 8.564356435643565e-06,
|
| 727 |
+
"loss": 0.96630859375,
|
| 728 |
+
"step": 98
|
| 729 |
+
},
|
| 730 |
+
{
|
| 731 |
+
"epoch": 4.714285714285714,
|
| 732 |
+
"grad_norm": 0.06576362997293472,
|
| 733 |
+
"learning_rate": 8.118811881188119e-06,
|
| 734 |
+
"loss": 1.060791015625,
|
| 735 |
+
"step": 99
|
| 736 |
+
},
|
| 737 |
+
{
|
| 738 |
+
"epoch": 4.761904761904762,
|
| 739 |
+
"grad_norm": 0.06733548641204834,
|
| 740 |
+
"learning_rate": 7.673267326732674e-06,
|
| 741 |
+
"loss": 0.959716796875,
|
| 742 |
+
"step": 100
|
| 743 |
+
},
|
| 744 |
+
{
|
| 745 |
+
"epoch": 4.809523809523809,
|
| 746 |
+
"grad_norm": 0.0538371279835701,
|
| 747 |
+
"learning_rate": 7.227722772277229e-06,
|
| 748 |
+
"loss": 0.8809814453125,
|
| 749 |
+
"step": 101
|
| 750 |
+
},
|
| 751 |
+
{
|
| 752 |
+
"epoch": 4.857142857142857,
|
| 753 |
+
"grad_norm": 0.051455527544021606,
|
| 754 |
+
"learning_rate": 6.782178217821783e-06,
|
| 755 |
+
"loss": 0.908447265625,
|
| 756 |
+
"step": 102
|
| 757 |
+
},
|
| 758 |
+
{
|
| 759 |
+
"epoch": 4.904761904761905,
|
| 760 |
+
"grad_norm": 0.06762618571519852,
|
| 761 |
+
"learning_rate": 6.336633663366337e-06,
|
| 762 |
+
"loss": 1.001220703125,
|
| 763 |
+
"step": 103
|
| 764 |
+
},
|
| 765 |
+
{
|
| 766 |
+
"epoch": 4.9523809523809526,
|
| 767 |
+
"grad_norm": 0.06271763890981674,
|
| 768 |
+
"learning_rate": 5.891089108910892e-06,
|
| 769 |
+
"loss": 1.003173828125,
|
| 770 |
+
"step": 104
|
| 771 |
+
},
|
| 772 |
+
{
|
| 773 |
+
"epoch": 5.0,
|
| 774 |
+
"grad_norm": 0.0635267123579979,
|
| 775 |
+
"learning_rate": 5.4455445544554465e-06,
|
| 776 |
+
"loss": 0.9531912803649902,
|
| 777 |
+
"step": 105
|
| 778 |
+
},
|
| 779 |
+
{
|
| 780 |
+
"epoch": 5.0,
|
| 781 |
+
"eval_loss": 0.83056640625,
|
| 782 |
+
"eval_runtime": 5.907,
|
| 783 |
+
"eval_samples_per_second": 0.508,
|
| 784 |
+
"eval_steps_per_second": 0.169,
|
| 785 |
+
"step": 105
|
| 786 |
+
}
|
| 787 |
+
],
|
| 788 |
+
"logging_steps": 1.0,
|
| 789 |
+
"max_steps": 105,
|
| 790 |
+
"num_input_tokens_seen": 0,
|
| 791 |
+
"num_train_epochs": 5,
|
| 792 |
+
"save_steps": 0,
|
| 793 |
+
"stateful_callbacks": {
|
| 794 |
+
"TrainerControl": {
|
| 795 |
+
"args": {
|
| 796 |
+
"should_epoch_stop": false,
|
| 797 |
+
"should_evaluate": false,
|
| 798 |
+
"should_log": false,
|
| 799 |
+
"should_save": true,
|
| 800 |
+
"should_training_stop": true
|
| 801 |
+
},
|
| 802 |
+
"attributes": {}
|
| 803 |
+
}
|
| 804 |
+
},
|
| 805 |
+
"total_flos": 1.510693293439058e+18,
|
| 806 |
+
"train_batch_size": 1,
|
| 807 |
+
"trial_name": null,
|
| 808 |
+
"trial_params": null
|
| 809 |
+
}
|
training-metrics.png
ADDED
|
win-rates.png
ADDED
|