Text Generation
PEFT
Safetensors
llama
lora
math
reasoning
adaption
word-problems
sft
conversational
Instructions to use Minutor/adaption_math_word_problem_sub_2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use Minutor/adaption_math_word_problem_sub_2 with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("togethercomputer/Meta-Llama-3.2-3B-Instruct-Reference__TOG__FT") model = PeftModel.from_pretrained(base_model, "Minutor/adaption_math_word_problem_sub_2") - Notebooks
- Google Colab
- Kaggle
Add 11 files
Browse files- .gitattributes +1 -0
- README.md +102 -0
- adapter_config.json +39 -0
- adapter_model.safetensors +3 -0
- chat_template.jinja +93 -0
- config.json +37 -0
- special_tokens_map.json +5 -0
- tokenizer.json +3 -0
- tokenizer_config.json +16 -0
- trainer_state.json +557 -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-3.2-3B-Instruct
|
| 3 |
+
library_name: peft
|
| 4 |
+
license: other
|
| 5 |
+
tags:
|
| 6 |
+
- lora
|
| 7 |
+
- peft
|
| 8 |
+
- adapter
|
| 9 |
+
- adaption
|
| 10 |
+
---
|
| 11 |
+
|
| 12 |
+
# adaption_math_word_problem_sub_2
|
| 13 |
+
|
| 14 |
+
## Model Training
|
| 15 |
+
|
| 16 |
+
A LORA adapter for `meta-llama/Llama-3.2-3B-Instruct`. This model was trained with SFT using [Adaption](https://adaptionlabs.ai)'s AutoScientist on the math_word_problem_sub_2 dataset.
|
| 17 |
+
|
| 18 |
+
|
| 19 |
+

|
| 20 |
+
|
| 21 |
+
### AutoScientist Config
|
| 22 |
+
|
| 23 |
+
```json
|
| 24 |
+
{
|
| 25 |
+
"job_id": "dfdd2990-1ef7-41e4-829d-2924d668ab65",
|
| 26 |
+
"training_experiment_id": "19aa2607-d5ad-43b7-90b2-5e7d3745b627",
|
| 27 |
+
"original_model_name": "meta-llama/Llama-3.2-3B-Instruct",
|
| 28 |
+
"trained_model_name": "adaption_math_word_problem_sub_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": 3,
|
| 37 |
+
"batch_size": "max",
|
| 38 |
+
"lora_alpha": 32,
|
| 39 |
+
"lora_dropout": 0,
|
| 40 |
+
"min_lr_ratio": 0.1,
|
| 41 |
+
"warmup_ratio": 0.1,
|
| 42 |
+
"weight_decay": 0,
|
| 43 |
+
"learning_rate": 0.00001,
|
| 44 |
+
"max_grad_norm": 2,
|
| 45 |
+
"base_model_size": "3B",
|
| 46 |
+
"train_on_inputs": "false",
|
| 47 |
+
"training_method": "sft",
|
| 48 |
+
"lr_scheduler_type": "cosine",
|
| 49 |
+
"scheduler_num_cycles": 0.5,
|
| 50 |
+
"lora_trainable_modules": "all-linear"
|
| 51 |
+
}
|
| 52 |
+
}
|
| 53 |
+
```
|
| 54 |
+
|
| 55 |
+
## Training Data
|
| 56 |
+
|
| 57 |
+
The model was trained on 19,573 rows of adapted data with the following domain distribution: math (99%), language (0%), science (0%), personal-finance (0%), fitness-sports (0%), animal-nature (0%), agriculture (0%), how-to (0%), sports (0%), travel (0%), data-analysis-visualization (0%).
|
| 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 | 50% |
|
| 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-3.2-3B-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,39 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"alpha_pattern": {},
|
| 3 |
+
"auto_mapping": null,
|
| 4 |
+
"base_model_name_or_path": "togethercomputer/Meta-Llama-3.2-3B-Instruct-Reference__TOG__FT",
|
| 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 |
+
"up_proj",
|
| 28 |
+
"v_proj",
|
| 29 |
+
"q_proj",
|
| 30 |
+
"gate_proj",
|
| 31 |
+
"o_proj",
|
| 32 |
+
"down_proj",
|
| 33 |
+
"k_proj"
|
| 34 |
+
],
|
| 35 |
+
"task_type": "CAUSAL_LM",
|
| 36 |
+
"trainable_token_indices": null,
|
| 37 |
+
"use_dora": false,
|
| 38 |
+
"use_rslora": false
|
| 39 |
+
}
|
adapter_model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:2f491a63460ca8c73736d44ecc27a256ce6242ef0f567ca6fe6a92a5238e1efa
|
| 3 |
+
size 97307544
|
chat_template.jinja
ADDED
|
@@ -0,0 +1,93 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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 |
+
{%- set system_message = messages[0]['content']|trim %}
|
| 22 |
+
{%- set messages = messages[1:] %}
|
| 23 |
+
{%- else %}
|
| 24 |
+
{%- set system_message = "" %}
|
| 25 |
+
{%- endif %}
|
| 26 |
+
|
| 27 |
+
{#- System message #}
|
| 28 |
+
{{- "<|start_header_id|>system<|end_header_id|>\n\n" }}
|
| 29 |
+
{%- if tools is not none %}
|
| 30 |
+
{{- "Environment: ipython\n" }}
|
| 31 |
+
{%- endif %}
|
| 32 |
+
{{- "Cutting Knowledge Date: December 2023\n" }}
|
| 33 |
+
{{- "Today Date: " + date_string + "\n\n" }}
|
| 34 |
+
{%- if tools is not none and not tools_in_user_message %}
|
| 35 |
+
{{- "You have access to the following functions. To call a function, please respond with JSON for a function call." }}
|
| 36 |
+
{{- 'Respond in the format {"name": function name, "parameters": dictionary of argument name and its value}.' }}
|
| 37 |
+
{{- "Do not use variables.\n\n" }}
|
| 38 |
+
{%- for t in tools %}
|
| 39 |
+
{{- t | tojson(indent=4) }}
|
| 40 |
+
{{- "\n\n" }}
|
| 41 |
+
{%- endfor %}
|
| 42 |
+
{%- endif %}
|
| 43 |
+
{{- system_message }}
|
| 44 |
+
{{- "<|eot_id|>" }}
|
| 45 |
+
|
| 46 |
+
{#- Custom tools are passed in a user message with some extra guidance #}
|
| 47 |
+
{%- if tools_in_user_message and not tools is none %}
|
| 48 |
+
{#- Extract the first user message so we can plug it in here #}
|
| 49 |
+
{%- if messages | length != 0 %}
|
| 50 |
+
{%- set first_user_message = messages[0]['content']|trim %}
|
| 51 |
+
{%- set messages = messages[1:] %}
|
| 52 |
+
{%- else %}
|
| 53 |
+
{{- raise_exception("Cannot put tools in the first user message when there's no first user message!") }}
|
| 54 |
+
{%- endif %}
|
| 55 |
+
{{- '<|start_header_id|>user<|end_header_id|>\n\n' -}}
|
| 56 |
+
{{- "Given the following functions, please respond with a JSON for a function call " }}
|
| 57 |
+
{{- "with its proper arguments that best answers the given prompt.\n\n" }}
|
| 58 |
+
{{- 'Respond in the format {"name": function name, "parameters": dictionary of argument name and its value}.' }}
|
| 59 |
+
{{- "Do not use variables.\n\n" }}
|
| 60 |
+
{%- for t in tools %}
|
| 61 |
+
{{- t | tojson(indent=4) }}
|
| 62 |
+
{{- "\n\n" }}
|
| 63 |
+
{%- endfor %}
|
| 64 |
+
{{- first_user_message + "<|eot_id|>"}}
|
| 65 |
+
{%- endif %}
|
| 66 |
+
|
| 67 |
+
{%- for message in messages %}
|
| 68 |
+
{%- if not (message.role == 'ipython' or message.role == 'tool' or 'tool_calls' in message) %}
|
| 69 |
+
{{- '<|start_header_id|>' + message['role'] + '<|end_header_id|>\n\n'+ message['content'] | trim + '<|eot_id|>' }}
|
| 70 |
+
{%- elif 'tool_calls' in message %}
|
| 71 |
+
{%- if not message.tool_calls|length == 1 %}
|
| 72 |
+
{{- raise_exception("This model only supports single tool-calls at once!") }}
|
| 73 |
+
{%- endif %}
|
| 74 |
+
{%- set tool_call = message.tool_calls[0].function %}
|
| 75 |
+
{{- '<|start_header_id|>assistant<|end_header_id|>\n\n' -}}
|
| 76 |
+
{{- '{"name": "' + tool_call.name + '", ' }}
|
| 77 |
+
{{- '"parameters": ' }}
|
| 78 |
+
{{- tool_call.arguments | tojson }}
|
| 79 |
+
{{- "}" }}
|
| 80 |
+
{{- "<|eot_id|>" }}
|
| 81 |
+
{%- elif message.role == "tool" or message.role == "ipython" %}
|
| 82 |
+
{{- "<|start_header_id|>ipython<|end_header_id|>\n\n" }}
|
| 83 |
+
{%- if message.content is mapping or message.content is iterable %}
|
| 84 |
+
{{- message.content | tojson }}
|
| 85 |
+
{%- else %}
|
| 86 |
+
{{- message.content }}
|
| 87 |
+
{%- endif %}
|
| 88 |
+
{{- "<|eot_id|>" }}
|
| 89 |
+
{%- endif %}
|
| 90 |
+
{%- endfor %}
|
| 91 |
+
{%- if add_generation_prompt %}
|
| 92 |
+
{{- '<|start_header_id|>assistant<|end_header_id|>\n\n' }}
|
| 93 |
+
{%- endif %}
|
config.json
ADDED
|
@@ -0,0 +1,37 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"architectures": [
|
| 3 |
+
"LlamaForCausalLM"
|
| 4 |
+
],
|
| 5 |
+
"attention_bias": false,
|
| 6 |
+
"attention_dropout": 0.0,
|
| 7 |
+
"bos_token_id": 128000,
|
| 8 |
+
"dtype": "bfloat16",
|
| 9 |
+
"eos_token_id": 128009,
|
| 10 |
+
"head_dim": 128,
|
| 11 |
+
"hidden_act": "silu",
|
| 12 |
+
"hidden_size": 3072,
|
| 13 |
+
"initializer_range": 0.02,
|
| 14 |
+
"intermediate_size": 8192,
|
| 15 |
+
"max_position_embeddings": 131072,
|
| 16 |
+
"mlp_bias": false,
|
| 17 |
+
"model_type": "llama",
|
| 18 |
+
"num_attention_heads": 24,
|
| 19 |
+
"num_hidden_layers": 28,
|
| 20 |
+
"num_key_value_heads": 8,
|
| 21 |
+
"pad_token_id": 128009,
|
| 22 |
+
"pretraining_tp": 1,
|
| 23 |
+
"rms_norm_eps": 1e-05,
|
| 24 |
+
"rope_parameters": {
|
| 25 |
+
"factor": 32.0,
|
| 26 |
+
"high_freq_factor": 4.0,
|
| 27 |
+
"low_freq_factor": 1.0,
|
| 28 |
+
"original_max_position_embeddings": 8192,
|
| 29 |
+
"rope_theta": 500000.0,
|
| 30 |
+
"rope_type": "llama3"
|
| 31 |
+
},
|
| 32 |
+
"tie_word_embeddings": true,
|
| 33 |
+
"transformers_version": "5.10.1",
|
| 34 |
+
"use_cache": false,
|
| 35 |
+
"vocab_size": 128256,
|
| 36 |
+
"torch_dtype": "bfloat16"
|
| 37 |
+
}
|
special_tokens_map.json
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"bos_token": "<|begin_of_text|>",
|
| 3 |
+
"eos_token": "<|eot_id|>",
|
| 4 |
+
"pad_token": "<|eot_id|>"
|
| 5 |
+
}
|
tokenizer.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6b9e4e7fb171f92fd137b777cc2714bf87d11576700a1dcd7a399e7bbe39537b
|
| 3 |
+
size 17209920
|
tokenizer_config.json
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"backend": "tokenizers",
|
| 3 |
+
"bos_token": "<|begin_of_text|>",
|
| 4 |
+
"clean_up_tokenization_spaces": true,
|
| 5 |
+
"eos_token": "<|eot_id|>",
|
| 6 |
+
"is_local": false,
|
| 7 |
+
"local_files_only": true,
|
| 8 |
+
"model_input_names": [
|
| 9 |
+
"input_ids",
|
| 10 |
+
"attention_mask"
|
| 11 |
+
],
|
| 12 |
+
"model_max_length": 131072,
|
| 13 |
+
"pad_token": "<|eot_id|>",
|
| 14 |
+
"padding_side": "right",
|
| 15 |
+
"tokenizer_class": "TokenizersBackend"
|
| 16 |
+
}
|
trainer_state.json
ADDED
|
@@ -0,0 +1,557 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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 1 |
+
{
|
| 2 |
+
"best_global_step": null,
|
| 3 |
+
"best_metric": null,
|
| 4 |
+
"best_model_checkpoint": null,
|
| 5 |
+
"epoch": 3.0,
|
| 6 |
+
"eval_steps": 13,
|
| 7 |
+
"global_step": 69,
|
| 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.043478260869565216,
|
| 14 |
+
"grad_norm": 0.06574621796607971,
|
| 15 |
+
"learning_rate": 0.0,
|
| 16 |
+
"loss": 0.683349609375,
|
| 17 |
+
"step": 1
|
| 18 |
+
},
|
| 19 |
+
{
|
| 20 |
+
"epoch": 0.08695652173913043,
|
| 21 |
+
"grad_norm": 0.05150672793388367,
|
| 22 |
+
"learning_rate": 1.4285714285714286e-06,
|
| 23 |
+
"loss": 0.66162109375,
|
| 24 |
+
"step": 2
|
| 25 |
+
},
|
| 26 |
+
{
|
| 27 |
+
"epoch": 0.13043478260869565,
|
| 28 |
+
"grad_norm": 0.05505973473191261,
|
| 29 |
+
"learning_rate": 2.8571428571428573e-06,
|
| 30 |
+
"loss": 0.66796875,
|
| 31 |
+
"step": 3
|
| 32 |
+
},
|
| 33 |
+
{
|
| 34 |
+
"epoch": 0.17391304347826086,
|
| 35 |
+
"grad_norm": 0.0745709016919136,
|
| 36 |
+
"learning_rate": 4.2857142857142855e-06,
|
| 37 |
+
"loss": 0.677734375,
|
| 38 |
+
"step": 4
|
| 39 |
+
},
|
| 40 |
+
{
|
| 41 |
+
"epoch": 0.21739130434782608,
|
| 42 |
+
"grad_norm": 0.08272148668766022,
|
| 43 |
+
"learning_rate": 5.7142857142857145e-06,
|
| 44 |
+
"loss": 0.6865234375,
|
| 45 |
+
"step": 5
|
| 46 |
+
},
|
| 47 |
+
{
|
| 48 |
+
"epoch": 0.2608695652173913,
|
| 49 |
+
"grad_norm": 0.07590784132480621,
|
| 50 |
+
"learning_rate": 7.1428571428571436e-06,
|
| 51 |
+
"loss": 0.6802978515625,
|
| 52 |
+
"step": 6
|
| 53 |
+
},
|
| 54 |
+
{
|
| 55 |
+
"epoch": 0.30434782608695654,
|
| 56 |
+
"grad_norm": 0.07782676070928574,
|
| 57 |
+
"learning_rate": 8.571428571428571e-06,
|
| 58 |
+
"loss": 0.69140625,
|
| 59 |
+
"step": 7
|
| 60 |
+
},
|
| 61 |
+
{
|
| 62 |
+
"epoch": 0.34782608695652173,
|
| 63 |
+
"grad_norm": 0.06320719420909882,
|
| 64 |
+
"learning_rate": 1e-05,
|
| 65 |
+
"loss": 0.691650390625,
|
| 66 |
+
"step": 8
|
| 67 |
+
},
|
| 68 |
+
{
|
| 69 |
+
"epoch": 0.391304347826087,
|
| 70 |
+
"grad_norm": 0.06206236779689789,
|
| 71 |
+
"learning_rate": 9.994224282269737e-06,
|
| 72 |
+
"loss": 0.685302734375,
|
| 73 |
+
"step": 9
|
| 74 |
+
},
|
| 75 |
+
{
|
| 76 |
+
"epoch": 0.43478260869565216,
|
| 77 |
+
"grad_norm": 0.0787166878581047,
|
| 78 |
+
"learning_rate": 9.976911955263528e-06,
|
| 79 |
+
"loss": 0.66796875,
|
| 80 |
+
"step": 10
|
| 81 |
+
},
|
| 82 |
+
{
|
| 83 |
+
"epoch": 0.4782608695652174,
|
| 84 |
+
"grad_norm": 0.0858655646443367,
|
| 85 |
+
"learning_rate": 9.948107459476502e-06,
|
| 86 |
+
"loss": 0.68408203125,
|
| 87 |
+
"step": 11
|
| 88 |
+
},
|
| 89 |
+
{
|
| 90 |
+
"epoch": 0.5217391304347826,
|
| 91 |
+
"grad_norm": 0.05600776895880699,
|
| 92 |
+
"learning_rate": 9.907884735636226e-06,
|
| 93 |
+
"loss": 0.650146484375,
|
| 94 |
+
"step": 12
|
| 95 |
+
},
|
| 96 |
+
{
|
| 97 |
+
"epoch": 0.5652173913043478,
|
| 98 |
+
"grad_norm": 0.09197074174880981,
|
| 99 |
+
"learning_rate": 9.85634703489792e-06,
|
| 100 |
+
"loss": 0.640380859375,
|
| 101 |
+
"step": 13
|
| 102 |
+
},
|
| 103 |
+
{
|
| 104 |
+
"epoch": 0.6086956521739131,
|
| 105 |
+
"grad_norm": 0.051537591964006424,
|
| 106 |
+
"learning_rate": 9.79362665380022e-06,
|
| 107 |
+
"loss": 0.61328125,
|
| 108 |
+
"step": 14
|
| 109 |
+
},
|
| 110 |
+
{
|
| 111 |
+
"epoch": 0.6521739130434783,
|
| 112 |
+
"grad_norm": 0.05343881994485855,
|
| 113 |
+
"learning_rate": 9.719884594661864e-06,
|
| 114 |
+
"loss": 0.65966796875,
|
| 115 |
+
"step": 15
|
| 116 |
+
},
|
| 117 |
+
{
|
| 118 |
+
"epoch": 0.6956521739130435,
|
| 119 |
+
"grad_norm": 0.06316563487052917,
|
| 120 |
+
"learning_rate": 9.635310152291038e-06,
|
| 121 |
+
"loss": 0.634765625,
|
| 122 |
+
"step": 16
|
| 123 |
+
},
|
| 124 |
+
{
|
| 125 |
+
"epoch": 0.7391304347826086,
|
| 126 |
+
"grad_norm": 0.04639754444360733,
|
| 127 |
+
"learning_rate": 9.540120428068337e-06,
|
| 128 |
+
"loss": 0.65234375,
|
| 129 |
+
"step": 17
|
| 130 |
+
},
|
| 131 |
+
{
|
| 132 |
+
"epoch": 0.7391304347826086,
|
| 133 |
+
"eval_loss": 0.65130615234375,
|
| 134 |
+
"eval_runtime": 2.0495,
|
| 135 |
+
"eval_samples_per_second": 1.464,
|
| 136 |
+
"eval_steps_per_second": 0.488,
|
| 137 |
+
"step": 17
|
| 138 |
+
},
|
| 139 |
+
{
|
| 140 |
+
"epoch": 0.782608695652174,
|
| 141 |
+
"grad_norm": 0.08494574576616287,
|
| 142 |
+
"learning_rate": 9.43455977265062e-06,
|
| 143 |
+
"loss": 0.680419921875,
|
| 144 |
+
"step": 18
|
| 145 |
+
},
|
| 146 |
+
{
|
| 147 |
+
"epoch": 0.8260869565217391,
|
| 148 |
+
"grad_norm": 0.0556136891245842,
|
| 149 |
+
"learning_rate": 9.31889915872638e-06,
|
| 150 |
+
"loss": 0.654052734375,
|
| 151 |
+
"step": 19
|
| 152 |
+
},
|
| 153 |
+
{
|
| 154 |
+
"epoch": 0.8695652173913043,
|
| 155 |
+
"grad_norm": 0.050713956356048584,
|
| 156 |
+
"learning_rate": 9.193435485432744e-06,
|
| 157 |
+
"loss": 0.66650390625,
|
| 158 |
+
"step": 20
|
| 159 |
+
},
|
| 160 |
+
{
|
| 161 |
+
"epoch": 0.9130434782608695,
|
| 162 |
+
"grad_norm": 0.0457201823592186,
|
| 163 |
+
"learning_rate": 9.058490816219644e-06,
|
| 164 |
+
"loss": 0.643310546875,
|
| 165 |
+
"step": 21
|
| 166 |
+
},
|
| 167 |
+
{
|
| 168 |
+
"epoch": 0.9565217391304348,
|
| 169 |
+
"grad_norm": 0.0635598674416542,
|
| 170 |
+
"learning_rate": 8.91441155211756e-06,
|
| 171 |
+
"loss": 0.654052734375,
|
| 172 |
+
"step": 22
|
| 173 |
+
},
|
| 174 |
+
{
|
| 175 |
+
"epoch": 1.0,
|
| 176 |
+
"grad_norm": 0.04849772900342941,
|
| 177 |
+
"learning_rate": 8.76156754253104e-06,
|
| 178 |
+
"loss": 0.65966796875,
|
| 179 |
+
"step": 23
|
| 180 |
+
},
|
| 181 |
+
{
|
| 182 |
+
"epoch": 1.0434782608695652,
|
| 183 |
+
"grad_norm": 0.04802418127655983,
|
| 184 |
+
"learning_rate": 8.60035113584059e-06,
|
| 185 |
+
"loss": 0.65966796875,
|
| 186 |
+
"step": 24
|
| 187 |
+
},
|
| 188 |
+
{
|
| 189 |
+
"epoch": 1.0869565217391304,
|
| 190 |
+
"grad_norm": 0.03913020342588425,
|
| 191 |
+
"learning_rate": 8.431176172250002e-06,
|
| 192 |
+
"loss": 0.643798828125,
|
| 193 |
+
"step": 25
|
| 194 |
+
},
|
| 195 |
+
{
|
| 196 |
+
"epoch": 1.1304347826086956,
|
| 197 |
+
"grad_norm": 0.04047388955950737,
|
| 198 |
+
"learning_rate": 8.254476921464483e-06,
|
| 199 |
+
"loss": 0.64501953125,
|
| 200 |
+
"step": 26
|
| 201 |
+
},
|
| 202 |
+
{
|
| 203 |
+
"epoch": 1.1739130434782608,
|
| 204 |
+
"grad_norm": 0.04983432590961456,
|
| 205 |
+
"learning_rate": 8.070706967926565e-06,
|
| 206 |
+
"loss": 0.64453125,
|
| 207 |
+
"step": 27
|
| 208 |
+
},
|
| 209 |
+
{
|
| 210 |
+
"epoch": 1.2173913043478262,
|
| 211 |
+
"grad_norm": 0.053629934787750244,
|
| 212 |
+
"learning_rate": 7.880338046471331e-06,
|
| 213 |
+
"loss": 0.646484375,
|
| 214 |
+
"step": 28
|
| 215 |
+
},
|
| 216 |
+
{
|
| 217 |
+
"epoch": 1.2608695652173914,
|
| 218 |
+
"grad_norm": 0.048355311155319214,
|
| 219 |
+
"learning_rate": 7.683858831389866e-06,
|
| 220 |
+
"loss": 0.64288330078125,
|
| 221 |
+
"step": 29
|
| 222 |
+
},
|
| 223 |
+
{
|
| 224 |
+
"epoch": 1.3043478260869565,
|
| 225 |
+
"grad_norm": 0.04861477389931679,
|
| 226 |
+
"learning_rate": 7.481773682009356e-06,
|
| 227 |
+
"loss": 0.650146484375,
|
| 228 |
+
"step": 30
|
| 229 |
+
},
|
| 230 |
+
{
|
| 231 |
+
"epoch": 1.3043478260869565,
|
| 232 |
+
"eval_loss": 0.6319580078125,
|
| 233 |
+
"eval_runtime": 2.0542,
|
| 234 |
+
"eval_samples_per_second": 1.46,
|
| 235 |
+
"eval_steps_per_second": 0.487,
|
| 236 |
+
"step": 30
|
| 237 |
+
},
|
| 238 |
+
{
|
| 239 |
+
"epoch": 1.3478260869565217,
|
| 240 |
+
"grad_norm": 0.04120055213570595,
|
| 241 |
+
"learning_rate": 7.274601348009934e-06,
|
| 242 |
+
"loss": 0.65966796875,
|
| 243 |
+
"step": 31
|
| 244 |
+
},
|
| 245 |
+
{
|
| 246 |
+
"epoch": 1.391304347826087,
|
| 247 |
+
"grad_norm": 0.04094763100147247,
|
| 248 |
+
"learning_rate": 7.062873637801692e-06,
|
| 249 |
+
"loss": 0.6552734375,
|
| 250 |
+
"step": 32
|
| 251 |
+
},
|
| 252 |
+
{
|
| 253 |
+
"epoch": 1.434782608695652,
|
| 254 |
+
"grad_norm": 0.045276131480932236,
|
| 255 |
+
"learning_rate": 6.847134053380113e-06,
|
| 256 |
+
"loss": 0.6279296875,
|
| 257 |
+
"step": 33
|
| 258 |
+
},
|
| 259 |
+
{
|
| 260 |
+
"epoch": 1.4782608695652173,
|
| 261 |
+
"grad_norm": 0.047124769538640976,
|
| 262 |
+
"learning_rate": 6.627936395164243e-06,
|
| 263 |
+
"loss": 0.640625,
|
| 264 |
+
"step": 34
|
| 265 |
+
},
|
| 266 |
+
{
|
| 267 |
+
"epoch": 1.5217391304347827,
|
| 268 |
+
"grad_norm": 0.03720078617334366,
|
| 269 |
+
"learning_rate": 6.405843340398971e-06,
|
| 270 |
+
"loss": 0.623291015625,
|
| 271 |
+
"step": 35
|
| 272 |
+
},
|
| 273 |
+
{
|
| 274 |
+
"epoch": 1.5652173913043477,
|
| 275 |
+
"grad_norm": 0.04636256396770477,
|
| 276 |
+
"learning_rate": 6.181424998770595e-06,
|
| 277 |
+
"loss": 0.59619140625,
|
| 278 |
+
"step": 36
|
| 279 |
+
},
|
| 280 |
+
{
|
| 281 |
+
"epoch": 1.608695652173913,
|
| 282 |
+
"grad_norm": 0.03454005345702171,
|
| 283 |
+
"learning_rate": 5.955257448943446e-06,
|
| 284 |
+
"loss": 0.588623046875,
|
| 285 |
+
"step": 37
|
| 286 |
+
},
|
| 287 |
+
{
|
| 288 |
+
"epoch": 1.6521739130434783,
|
| 289 |
+
"grad_norm": 0.03595034033060074,
|
| 290 |
+
"learning_rate": 5.727921259774208e-06,
|
| 291 |
+
"loss": 0.6328125,
|
| 292 |
+
"step": 38
|
| 293 |
+
},
|
| 294 |
+
{
|
| 295 |
+
"epoch": 1.6956521739130435,
|
| 296 |
+
"grad_norm": 0.03682588040828705,
|
| 297 |
+
"learning_rate": 5.500000000000001e-06,
|
| 298 |
+
"loss": 0.60498046875,
|
| 299 |
+
"step": 39
|
| 300 |
+
},
|
| 301 |
+
{
|
| 302 |
+
"epoch": 1.7391304347826086,
|
| 303 |
+
"grad_norm": 0.03514236584305763,
|
| 304 |
+
"learning_rate": 5.272078740225793e-06,
|
| 305 |
+
"loss": 0.629638671875,
|
| 306 |
+
"step": 40
|
| 307 |
+
},
|
| 308 |
+
{
|
| 309 |
+
"epoch": 1.7826086956521738,
|
| 310 |
+
"grad_norm": 0.04472735896706581,
|
| 311 |
+
"learning_rate": 5.0447425510565564e-06,
|
| 312 |
+
"loss": 0.641357421875,
|
| 313 |
+
"step": 41
|
| 314 |
+
},
|
| 315 |
+
{
|
| 316 |
+
"epoch": 1.8260869565217392,
|
| 317 |
+
"grad_norm": 0.03495565056800842,
|
| 318 |
+
"learning_rate": 4.818575001229406e-06,
|
| 319 |
+
"loss": 0.626708984375,
|
| 320 |
+
"step": 42
|
| 321 |
+
},
|
| 322 |
+
{
|
| 323 |
+
"epoch": 1.8695652173913042,
|
| 324 |
+
"grad_norm": 0.035717420279979706,
|
| 325 |
+
"learning_rate": 4.594156659601029e-06,
|
| 326 |
+
"loss": 0.643310546875,
|
| 327 |
+
"step": 43
|
| 328 |
+
},
|
| 329 |
+
{
|
| 330 |
+
"epoch": 1.8695652173913042,
|
| 331 |
+
"eval_loss": 0.6201171875,
|
| 332 |
+
"eval_runtime": 2.0449,
|
| 333 |
+
"eval_samples_per_second": 1.467,
|
| 334 |
+
"eval_steps_per_second": 0.489,
|
| 335 |
+
"step": 43
|
| 336 |
+
},
|
| 337 |
+
{
|
| 338 |
+
"epoch": 1.9130434782608696,
|
| 339 |
+
"grad_norm": 0.03499886021018028,
|
| 340 |
+
"learning_rate": 4.372063604835758e-06,
|
| 341 |
+
"loss": 0.623046875,
|
| 342 |
+
"step": 44
|
| 343 |
+
},
|
| 344 |
+
{
|
| 345 |
+
"epoch": 1.9565217391304348,
|
| 346 |
+
"grad_norm": 0.04084884747862816,
|
| 347 |
+
"learning_rate": 4.15286594661989e-06,
|
| 348 |
+
"loss": 0.62548828125,
|
| 349 |
+
"step": 45
|
| 350 |
+
},
|
| 351 |
+
{
|
| 352 |
+
"epoch": 2.0,
|
| 353 |
+
"grad_norm": 0.036120329052209854,
|
| 354 |
+
"learning_rate": 3.93712636219831e-06,
|
| 355 |
+
"loss": 0.6376953125,
|
| 356 |
+
"step": 46
|
| 357 |
+
},
|
| 358 |
+
{
|
| 359 |
+
"epoch": 2.0434782608695654,
|
| 360 |
+
"grad_norm": 0.03603987395763397,
|
| 361 |
+
"learning_rate": 3.7253986519900674e-06,
|
| 362 |
+
"loss": 0.6376953125,
|
| 363 |
+
"step": 47
|
| 364 |
+
},
|
| 365 |
+
{
|
| 366 |
+
"epoch": 2.0869565217391304,
|
| 367 |
+
"grad_norm": 0.03318258747458458,
|
| 368 |
+
"learning_rate": 3.5182263179906462e-06,
|
| 369 |
+
"loss": 0.62841796875,
|
| 370 |
+
"step": 48
|
| 371 |
+
},
|
| 372 |
+
{
|
| 373 |
+
"epoch": 2.130434782608696,
|
| 374 |
+
"grad_norm": 0.03247852995991707,
|
| 375 |
+
"learning_rate": 3.316141168610136e-06,
|
| 376 |
+
"loss": 0.629638671875,
|
| 377 |
+
"step": 49
|
| 378 |
+
},
|
| 379 |
+
{
|
| 380 |
+
"epoch": 2.1739130434782608,
|
| 381 |
+
"grad_norm": 0.03627059981226921,
|
| 382 |
+
"learning_rate": 3.119661953528671e-06,
|
| 383 |
+
"loss": 0.62451171875,
|
| 384 |
+
"step": 50
|
| 385 |
+
},
|
| 386 |
+
{
|
| 387 |
+
"epoch": 2.217391304347826,
|
| 388 |
+
"grad_norm": 0.03881670534610748,
|
| 389 |
+
"learning_rate": 2.9292930320734337e-06,
|
| 390 |
+
"loss": 0.62548828125,
|
| 391 |
+
"step": 51
|
| 392 |
+
},
|
| 393 |
+
{
|
| 394 |
+
"epoch": 2.260869565217391,
|
| 395 |
+
"grad_norm": 0.03561678156256676,
|
| 396 |
+
"learning_rate": 2.745523078535517e-06,
|
| 397 |
+
"loss": 0.62567138671875,
|
| 398 |
+
"step": 52
|
| 399 |
+
},
|
| 400 |
+
{
|
| 401 |
+
"epoch": 2.3043478260869565,
|
| 402 |
+
"grad_norm": 0.036425329744815826,
|
| 403 |
+
"learning_rate": 2.568823827750001e-06,
|
| 404 |
+
"loss": 0.633056640625,
|
| 405 |
+
"step": 53
|
| 406 |
+
},
|
| 407 |
+
{
|
| 408 |
+
"epoch": 2.3478260869565215,
|
| 409 |
+
"grad_norm": 0.033790528774261475,
|
| 410 |
+
"learning_rate": 2.3996488641594104e-06,
|
| 411 |
+
"loss": 0.6455078125,
|
| 412 |
+
"step": 54
|
| 413 |
+
},
|
| 414 |
+
{
|
| 415 |
+
"epoch": 2.391304347826087,
|
| 416 |
+
"grad_norm": 0.03458794951438904,
|
| 417 |
+
"learning_rate": 2.2384324574689614e-06,
|
| 418 |
+
"loss": 0.64013671875,
|
| 419 |
+
"step": 55
|
| 420 |
+
},
|
| 421 |
+
{
|
| 422 |
+
"epoch": 2.4347826086956523,
|
| 423 |
+
"grad_norm": 0.03604791685938835,
|
| 424 |
+
"learning_rate": 2.085588447882441e-06,
|
| 425 |
+
"loss": 0.612548828125,
|
| 426 |
+
"step": 56
|
| 427 |
+
},
|
| 428 |
+
{
|
| 429 |
+
"epoch": 2.4347826086956523,
|
| 430 |
+
"eval_loss": 0.617156982421875,
|
| 431 |
+
"eval_runtime": 2.0468,
|
| 432 |
+
"eval_samples_per_second": 1.466,
|
| 433 |
+
"eval_steps_per_second": 0.489,
|
| 434 |
+
"step": 56
|
| 435 |
+
},
|
| 436 |
+
{
|
| 437 |
+
"epoch": 2.4782608695652173,
|
| 438 |
+
"grad_norm": 0.037638068199157715,
|
| 439 |
+
"learning_rate": 1.9415091837803574e-06,
|
| 440 |
+
"loss": 0.6259765625,
|
| 441 |
+
"step": 57
|
| 442 |
+
},
|
| 443 |
+
{
|
| 444 |
+
"epoch": 2.5217391304347827,
|
| 445 |
+
"grad_norm": 0.032444193959236145,
|
| 446 |
+
"learning_rate": 1.8065645145672578e-06,
|
| 447 |
+
"loss": 0.61279296875,
|
| 448 |
+
"step": 58
|
| 449 |
+
},
|
| 450 |
+
{
|
| 451 |
+
"epoch": 2.5652173913043477,
|
| 452 |
+
"grad_norm": 0.03685029596090317,
|
| 453 |
+
"learning_rate": 1.6811008412736207e-06,
|
| 454 |
+
"loss": 0.582763671875,
|
| 455 |
+
"step": 59
|
| 456 |
+
},
|
| 457 |
+
{
|
| 458 |
+
"epoch": 2.608695652173913,
|
| 459 |
+
"grad_norm": 0.030133027583360672,
|
| 460 |
+
"learning_rate": 1.5654402273493808e-06,
|
| 461 |
+
"loss": 0.57958984375,
|
| 462 |
+
"step": 60
|
| 463 |
+
},
|
| 464 |
+
{
|
| 465 |
+
"epoch": 2.6521739130434785,
|
| 466 |
+
"grad_norm": 0.031628984957933426,
|
| 467 |
+
"learning_rate": 1.459879571931663e-06,
|
| 468 |
+
"loss": 0.6240234375,
|
| 469 |
+
"step": 61
|
| 470 |
+
},
|
| 471 |
+
{
|
| 472 |
+
"epoch": 2.6956521739130435,
|
| 473 |
+
"grad_norm": 0.03223630040884018,
|
| 474 |
+
"learning_rate": 1.3646898477089627e-06,
|
| 475 |
+
"loss": 0.594970703125,
|
| 476 |
+
"step": 62
|
| 477 |
+
},
|
| 478 |
+
{
|
| 479 |
+
"epoch": 2.7391304347826084,
|
| 480 |
+
"grad_norm": 0.03134209290146828,
|
| 481 |
+
"learning_rate": 1.2801154053381386e-06,
|
| 482 |
+
"loss": 0.621337890625,
|
| 483 |
+
"step": 63
|
| 484 |
+
},
|
| 485 |
+
{
|
| 486 |
+
"epoch": 2.782608695652174,
|
| 487 |
+
"grad_norm": 0.038812585175037384,
|
| 488 |
+
"learning_rate": 1.2063733461997804e-06,
|
| 489 |
+
"loss": 0.631103515625,
|
| 490 |
+
"step": 64
|
| 491 |
+
},
|
| 492 |
+
{
|
| 493 |
+
"epoch": 2.8260869565217392,
|
| 494 |
+
"grad_norm": 0.031380850821733475,
|
| 495 |
+
"learning_rate": 1.1436529651020813e-06,
|
| 496 |
+
"loss": 0.619384765625,
|
| 497 |
+
"step": 65
|
| 498 |
+
},
|
| 499 |
+
{
|
| 500 |
+
"epoch": 2.869565217391304,
|
| 501 |
+
"grad_norm": 0.0320647768676281,
|
| 502 |
+
"learning_rate": 1.092115264363775e-06,
|
| 503 |
+
"loss": 0.636474609375,
|
| 504 |
+
"step": 66
|
| 505 |
+
},
|
| 506 |
+
{
|
| 507 |
+
"epoch": 2.9130434782608696,
|
| 508 |
+
"grad_norm": 0.031743913888931274,
|
| 509 |
+
"learning_rate": 1.0518925405234988e-06,
|
| 510 |
+
"loss": 0.61572265625,
|
| 511 |
+
"step": 67
|
| 512 |
+
},
|
| 513 |
+
{
|
| 514 |
+
"epoch": 2.9565217391304346,
|
| 515 |
+
"grad_norm": 0.037360724061727524,
|
| 516 |
+
"learning_rate": 1.0230880447364719e-06,
|
| 517 |
+
"loss": 0.619140625,
|
| 518 |
+
"step": 68
|
| 519 |
+
},
|
| 520 |
+
{
|
| 521 |
+
"epoch": 3.0,
|
| 522 |
+
"grad_norm": 0.03293885663151741,
|
| 523 |
+
"learning_rate": 1.0057757177302628e-06,
|
| 524 |
+
"loss": 0.631103515625,
|
| 525 |
+
"step": 69
|
| 526 |
+
},
|
| 527 |
+
{
|
| 528 |
+
"epoch": 3.0,
|
| 529 |
+
"eval_loss": 0.6156768798828125,
|
| 530 |
+
"eval_runtime": 2.0475,
|
| 531 |
+
"eval_samples_per_second": 1.465,
|
| 532 |
+
"eval_steps_per_second": 0.488,
|
| 533 |
+
"step": 69
|
| 534 |
+
}
|
| 535 |
+
],
|
| 536 |
+
"logging_steps": 1.0,
|
| 537 |
+
"max_steps": 69,
|
| 538 |
+
"num_input_tokens_seen": 0,
|
| 539 |
+
"num_train_epochs": 3,
|
| 540 |
+
"save_steps": 0,
|
| 541 |
+
"stateful_callbacks": {
|
| 542 |
+
"TrainerControl": {
|
| 543 |
+
"args": {
|
| 544 |
+
"should_epoch_stop": false,
|
| 545 |
+
"should_evaluate": false,
|
| 546 |
+
"should_log": false,
|
| 547 |
+
"should_save": true,
|
| 548 |
+
"should_training_stop": true
|
| 549 |
+
},
|
| 550 |
+
"attributes": {}
|
| 551 |
+
}
|
| 552 |
+
},
|
| 553 |
+
"total_flos": 1.2309274178963374e+18,
|
| 554 |
+
"train_batch_size": 1,
|
| 555 |
+
"trial_name": null,
|
| 556 |
+
"trial_params": null
|
| 557 |
+
}
|
training-metrics.png
ADDED
|
win-rates.png
ADDED
|