Upload folder using huggingface_hub
Browse files- README.md +19 -19
- adapter_config.json +4 -4
- adapter_model.safetensors +1 -1
- all_results.json +13 -11
- chat_template.jinja +87 -0
- checkpoint-288/README.md +202 -0
- checkpoint-288/adapter_config.json +39 -0
- checkpoint-288/adapter_model.safetensors +3 -0
- checkpoint-288/chat_template.jinja +87 -0
- checkpoint-288/optimizer.pt +3 -0
- checkpoint-288/rng_state_0.pth +3 -0
- checkpoint-288/rng_state_1.pth +3 -0
- checkpoint-288/rng_state_2.pth +3 -0
- checkpoint-288/rng_state_3.pth +3 -0
- checkpoint-288/scheduler.pt +3 -0
- checkpoint-288/special_tokens_map.json +24 -0
- checkpoint-288/tokenizer.json +0 -0
- checkpoint-288/tokenizer.model +3 -0
- checkpoint-288/tokenizer_config.json +0 -0
- checkpoint-288/trainer_state.json +302 -0
- checkpoint-288/training_args.bin +3 -0
- eval_results.json +6 -6
- runs/Aug01_22-19-27_104-171-203-173/events.out.tfevents.1754086873.104-171-203-173.9305.0 +3 -0
- runs/Aug01_22-19-27_104-171-203-173/events.out.tfevents.1754088963.104-171-203-173.9305.1 +3 -0
- runs/Aug01_22-57-11_104-171-203-173/events.out.tfevents.1754089058.104-171-203-173.11873.0 +3 -0
- tokenizer_config.json +0 -1
- train_results.json +7 -6
- trainer_log.jsonl +48 -46
- trainer_state.json +202 -258
- training_args.bin +1 -1
- training_eval_accuracy.png +0 -0
- training_eval_loss.png +0 -0
- training_loss.png +0 -0
README.md
CHANGED
@@ -20,8 +20,8 @@ should probably proofread and complete it, then remove this comment. -->
|
|
20 |
|
21 |
This model is a fine-tuned version of [mistralai/Mistral-7B-Instruct-v0.3](https://huggingface.co/mistralai/Mistral-7B-Instruct-v0.3) on the train dataset.
|
22 |
It achieves the following results on the evaluation set:
|
23 |
-
- Loss: 0.
|
24 |
-
- Accuracy: 0.
|
25 |
|
26 |
## Model description
|
27 |
|
@@ -45,34 +45,34 @@ The following hyperparameters were used during training:
|
|
45 |
- eval_batch_size: 2
|
46 |
- seed: 42
|
47 |
- distributed_type: multi-GPU
|
48 |
-
- num_devices:
|
49 |
- gradient_accumulation_steps: 4
|
50 |
-
- total_train_batch_size:
|
51 |
-
- total_eval_batch_size:
|
52 |
-
- optimizer: Use
|
53 |
- lr_scheduler_type: cosine
|
54 |
- lr_scheduler_warmup_ratio: 0.03
|
55 |
- num_epochs: 9.0
|
56 |
|
57 |
### Training results
|
58 |
|
59 |
-
| Training Loss | Epoch
|
60 |
-
|
61 |
-
| 0.
|
62 |
-
| 0.
|
63 |
-
| 0.
|
64 |
-
| 0.
|
65 |
-
| 0.
|
66 |
-
| 0.
|
67 |
-
| 0.
|
68 |
-
| 0.
|
69 |
-
| 0.
|
70 |
|
71 |
|
72 |
### Framework versions
|
73 |
|
74 |
- PEFT 0.15.2
|
75 |
-
- Transformers 4.
|
76 |
-
- Pytorch 2.7.
|
77 |
- Datasets 3.6.0
|
78 |
- Tokenizers 0.21.1
|
|
|
20 |
|
21 |
This model is a fine-tuned version of [mistralai/Mistral-7B-Instruct-v0.3](https://huggingface.co/mistralai/Mistral-7B-Instruct-v0.3) on the train dataset.
|
22 |
It achieves the following results on the evaluation set:
|
23 |
+
- Loss: 0.2260
|
24 |
+
- Accuracy: 0.9587
|
25 |
|
26 |
## Model description
|
27 |
|
|
|
45 |
- eval_batch_size: 2
|
46 |
- seed: 42
|
47 |
- distributed_type: multi-GPU
|
48 |
+
- num_devices: 4
|
49 |
- gradient_accumulation_steps: 4
|
50 |
+
- total_train_batch_size: 32
|
51 |
+
- total_eval_batch_size: 8
|
52 |
+
- optimizer: Use adamw_torch with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
|
53 |
- lr_scheduler_type: cosine
|
54 |
- lr_scheduler_warmup_ratio: 0.03
|
55 |
- num_epochs: 9.0
|
56 |
|
57 |
### Training results
|
58 |
|
59 |
+
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|
60 |
+
|:-------------:|:-----:|:----:|:---------------:|:--------:|
|
61 |
+
| 0.3179 | 1.0 | 32 | 0.3321 | 0.9217 |
|
62 |
+
| 0.206 | 2.0 | 64 | 0.2425 | 0.9408 |
|
63 |
+
| 0.1447 | 3.0 | 96 | 0.2109 | 0.9489 |
|
64 |
+
| 0.1067 | 4.0 | 128 | 0.2062 | 0.9527 |
|
65 |
+
| 0.0612 | 5.0 | 160 | 0.2128 | 0.9539 |
|
66 |
+
| 0.0491 | 6.0 | 192 | 0.2169 | 0.9549 |
|
67 |
+
| 0.0378 | 7.0 | 224 | 0.2166 | 0.9584 |
|
68 |
+
| 0.0294 | 8.0 | 256 | 0.2224 | 0.9588 |
|
69 |
+
| 0.0215 | 9.0 | 288 | 0.2260 | 0.9587 |
|
70 |
|
71 |
|
72 |
### Framework versions
|
73 |
|
74 |
- PEFT 0.15.2
|
75 |
+
- Transformers 4.52.4
|
76 |
+
- Pytorch 2.7.0
|
77 |
- Datasets 3.6.0
|
78 |
- Tokenizers 0.21.1
|
adapter_config.json
CHANGED
@@ -24,13 +24,13 @@
|
|
24 |
"rank_pattern": {},
|
25 |
"revision": null,
|
26 |
"target_modules": [
|
27 |
-
"q_proj",
|
28 |
"down_proj",
|
|
|
|
|
|
|
29 |
"v_proj",
|
30 |
-
"gate_proj",
|
31 |
"o_proj",
|
32 |
-
"
|
33 |
-
"up_proj"
|
34 |
],
|
35 |
"task_type": "CAUSAL_LM",
|
36 |
"trainable_token_indices": null,
|
|
|
24 |
"rank_pattern": {},
|
25 |
"revision": null,
|
26 |
"target_modules": [
|
|
|
27 |
"down_proj",
|
28 |
+
"k_proj",
|
29 |
+
"q_proj",
|
30 |
+
"up_proj",
|
31 |
"v_proj",
|
|
|
32 |
"o_proj",
|
33 |
+
"gate_proj"
|
|
|
34 |
],
|
35 |
"task_type": "CAUSAL_LM",
|
36 |
"trainable_token_indices": null,
|
adapter_model.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 335604696
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:395c8edd8df9471f125ca70e8a35dfb39c0abfe28d9cd9e40c40ffae0462f6b3
|
3 |
size 335604696
|
all_results.json
CHANGED
@@ -1,13 +1,15 @@
|
|
1 |
{
|
2 |
-
"
|
3 |
-
"
|
4 |
-
"
|
5 |
-
"
|
6 |
-
"
|
7 |
-
"
|
8 |
-
"
|
9 |
-
"
|
10 |
-
"
|
11 |
-
"
|
12 |
-
"
|
|
|
|
|
13 |
}
|
|
|
1 |
{
|
2 |
+
"effective_tokens_per_sec": 883.9641081528283,
|
3 |
+
"epoch": 9.0,
|
4 |
+
"eval_accuracy": 0.7600996823134496,
|
5 |
+
"eval_loss": 1.411633849143982,
|
6 |
+
"eval_model_preparation_time": 0.0052,
|
7 |
+
"eval_runtime": 17.4477,
|
8 |
+
"eval_samples_per_second": 22.066,
|
9 |
+
"eval_steps_per_second": 2.808,
|
10 |
+
"total_flos": 3.408776235570954e+17,
|
11 |
+
"train_loss": 0.1565158217627969,
|
12 |
+
"train_runtime": 2068.3583,
|
13 |
+
"train_samples_per_second": 4.351,
|
14 |
+
"train_steps_per_second": 0.139
|
15 |
}
|
chat_template.jinja
ADDED
@@ -0,0 +1,87 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{%- if messages[0]["role"] == "system" %}
|
2 |
+
{%- set system_message = messages[0]["content"] %}
|
3 |
+
{%- set loop_messages = messages[1:] %}
|
4 |
+
{%- else %}
|
5 |
+
{%- set loop_messages = messages %}
|
6 |
+
{%- endif %}
|
7 |
+
{%- if not tools is defined %}
|
8 |
+
{%- set tools = none %}
|
9 |
+
{%- endif %}
|
10 |
+
{%- set user_messages = loop_messages | selectattr("role", "equalto", "user") | list %}
|
11 |
+
|
12 |
+
{#- This block checks for alternating user/assistant messages, skipping tool calling messages #}
|
13 |
+
{%- set ns = namespace() %}
|
14 |
+
{%- set ns.index = 0 %}
|
15 |
+
{%- for message in loop_messages %}
|
16 |
+
{%- if not (message.role == "tool" or message.role == "tool_results" or (message.tool_calls is defined and message.tool_calls is not none)) %}
|
17 |
+
{%- if (message["role"] == "user") != (ns.index % 2 == 0) %}
|
18 |
+
{{- raise_exception("After the optional system message, conversation roles must alternate user/assistant/user/assistant/...") }}
|
19 |
+
{%- endif %}
|
20 |
+
{%- set ns.index = ns.index + 1 %}
|
21 |
+
{%- endif %}
|
22 |
+
{%- endfor %}
|
23 |
+
|
24 |
+
{{- bos_token }}
|
25 |
+
{%- for message in loop_messages %}
|
26 |
+
{%- if message["role"] == "user" %}
|
27 |
+
{%- if tools is not none and (message == user_messages[-1]) %}
|
28 |
+
{{- "[AVAILABLE_TOOLS] [" }}
|
29 |
+
{%- for tool in tools %}
|
30 |
+
{%- set tool = tool.function %}
|
31 |
+
{{- '{"type": "function", "function": {' }}
|
32 |
+
{%- for key, val in tool.items() if key != "return" %}
|
33 |
+
{%- if val is string %}
|
34 |
+
{{- '"' + key + '": "' + val + '"' }}
|
35 |
+
{%- else %}
|
36 |
+
{{- '"' + key + '": ' + val|tojson }}
|
37 |
+
{%- endif %}
|
38 |
+
{%- if not loop.last %}
|
39 |
+
{{- ", " }}
|
40 |
+
{%- endif %}
|
41 |
+
{%- endfor %}
|
42 |
+
{{- "}}" }}
|
43 |
+
{%- if not loop.last %}
|
44 |
+
{{- ", " }}
|
45 |
+
{%- else %}
|
46 |
+
{{- "]" }}
|
47 |
+
{%- endif %}
|
48 |
+
{%- endfor %}
|
49 |
+
{{- "[/AVAILABLE_TOOLS]" }}
|
50 |
+
{%- endif %}
|
51 |
+
{%- if loop.last and system_message is defined %}
|
52 |
+
{{- "[INST] " + system_message + "\n\n" + message["content"] + "[/INST]" }}
|
53 |
+
{%- else %}
|
54 |
+
{{- "[INST] " + message["content"] + "[/INST]" }}
|
55 |
+
{%- endif %}
|
56 |
+
{%- elif message.tool_calls is defined and message.tool_calls is not none %}
|
57 |
+
{{- "[TOOL_CALLS] [" }}
|
58 |
+
{%- for tool_call in message.tool_calls %}
|
59 |
+
{%- set out = tool_call.function|tojson %}
|
60 |
+
{{- out[:-1] }}
|
61 |
+
{%- if not tool_call.id is defined or tool_call.id|length != 9 %}
|
62 |
+
{{- raise_exception("Tool call IDs should be alphanumeric strings with length 9!") }}
|
63 |
+
{%- endif %}
|
64 |
+
{{- ', "id": "' + tool_call.id + '"}' }}
|
65 |
+
{%- if not loop.last %}
|
66 |
+
{{- ", " }}
|
67 |
+
{%- else %}
|
68 |
+
{{- "]" + eos_token }}
|
69 |
+
{%- endif %}
|
70 |
+
{%- endfor %}
|
71 |
+
{%- elif message["role"] == "assistant" %}
|
72 |
+
{{- " " + message["content"]|trim + eos_token}}
|
73 |
+
{%- elif message["role"] == "tool_results" or message["role"] == "tool" %}
|
74 |
+
{%- if message.content is defined and message.content.content is defined %}
|
75 |
+
{%- set content = message.content.content %}
|
76 |
+
{%- else %}
|
77 |
+
{%- set content = message.content %}
|
78 |
+
{%- endif %}
|
79 |
+
{{- '[TOOL_RESULTS] {"content": ' + content|string + ", " }}
|
80 |
+
{%- if not message.tool_call_id is defined or message.tool_call_id|length != 9 %}
|
81 |
+
{{- raise_exception("Tool call IDs should be alphanumeric strings with length 9!") }}
|
82 |
+
{%- endif %}
|
83 |
+
{{- '"call_id": "' + message.tool_call_id + '"}[/TOOL_RESULTS]' }}
|
84 |
+
{%- else %}
|
85 |
+
{{- raise_exception("Only user and assistant roles are supported, with the exception of an initial optional system message!") }}
|
86 |
+
{%- endif %}
|
87 |
+
{%- endfor %}
|
checkpoint-288/README.md
ADDED
@@ -0,0 +1,202 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
base_model: mistralai/Mistral-7B-Instruct-v0.3
|
3 |
+
library_name: peft
|
4 |
+
---
|
5 |
+
|
6 |
+
# Model Card for Model ID
|
7 |
+
|
8 |
+
<!-- Provide a quick summary of what the model is/does. -->
|
9 |
+
|
10 |
+
|
11 |
+
|
12 |
+
## Model Details
|
13 |
+
|
14 |
+
### Model Description
|
15 |
+
|
16 |
+
<!-- Provide a longer summary of what this model is. -->
|
17 |
+
|
18 |
+
|
19 |
+
|
20 |
+
- **Developed by:** [More Information Needed]
|
21 |
+
- **Funded by [optional]:** [More Information Needed]
|
22 |
+
- **Shared by [optional]:** [More Information Needed]
|
23 |
+
- **Model type:** [More Information Needed]
|
24 |
+
- **Language(s) (NLP):** [More Information Needed]
|
25 |
+
- **License:** [More Information Needed]
|
26 |
+
- **Finetuned from model [optional]:** [More Information Needed]
|
27 |
+
|
28 |
+
### Model Sources [optional]
|
29 |
+
|
30 |
+
<!-- Provide the basic links for the model. -->
|
31 |
+
|
32 |
+
- **Repository:** [More Information Needed]
|
33 |
+
- **Paper [optional]:** [More Information Needed]
|
34 |
+
- **Demo [optional]:** [More Information Needed]
|
35 |
+
|
36 |
+
## Uses
|
37 |
+
|
38 |
+
<!-- Address questions around how the model is intended to be used, including the foreseeable users of the model and those affected by the model. -->
|
39 |
+
|
40 |
+
### Direct Use
|
41 |
+
|
42 |
+
<!-- This section is for the model use without fine-tuning or plugging into a larger ecosystem/app. -->
|
43 |
+
|
44 |
+
[More Information Needed]
|
45 |
+
|
46 |
+
### Downstream Use [optional]
|
47 |
+
|
48 |
+
<!-- This section is for the model use when fine-tuned for a task, or when plugged into a larger ecosystem/app -->
|
49 |
+
|
50 |
+
[More Information Needed]
|
51 |
+
|
52 |
+
### Out-of-Scope Use
|
53 |
+
|
54 |
+
<!-- This section addresses misuse, malicious use, and uses that the model will not work well for. -->
|
55 |
+
|
56 |
+
[More Information Needed]
|
57 |
+
|
58 |
+
## Bias, Risks, and Limitations
|
59 |
+
|
60 |
+
<!-- This section is meant to convey both technical and sociotechnical limitations. -->
|
61 |
+
|
62 |
+
[More Information Needed]
|
63 |
+
|
64 |
+
### Recommendations
|
65 |
+
|
66 |
+
<!-- This section is meant to convey recommendations with respect to the bias, risk, and technical limitations. -->
|
67 |
+
|
68 |
+
Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. More information needed for further recommendations.
|
69 |
+
|
70 |
+
## How to Get Started with the Model
|
71 |
+
|
72 |
+
Use the code below to get started with the model.
|
73 |
+
|
74 |
+
[More Information Needed]
|
75 |
+
|
76 |
+
## Training Details
|
77 |
+
|
78 |
+
### Training Data
|
79 |
+
|
80 |
+
<!-- This should link to a Dataset Card, perhaps with a short stub of information on what the training data is all about as well as documentation related to data pre-processing or additional filtering. -->
|
81 |
+
|
82 |
+
[More Information Needed]
|
83 |
+
|
84 |
+
### Training Procedure
|
85 |
+
|
86 |
+
<!-- This relates heavily to the Technical Specifications. Content here should link to that section when it is relevant to the training procedure. -->
|
87 |
+
|
88 |
+
#### Preprocessing [optional]
|
89 |
+
|
90 |
+
[More Information Needed]
|
91 |
+
|
92 |
+
|
93 |
+
#### Training Hyperparameters
|
94 |
+
|
95 |
+
- **Training regime:** [More Information Needed] <!--fp32, fp16 mixed precision, bf16 mixed precision, bf16 non-mixed precision, fp16 non-mixed precision, fp8 mixed precision -->
|
96 |
+
|
97 |
+
#### Speeds, Sizes, Times [optional]
|
98 |
+
|
99 |
+
<!-- This section provides information about throughput, start/end time, checkpoint size if relevant, etc. -->
|
100 |
+
|
101 |
+
[More Information Needed]
|
102 |
+
|
103 |
+
## Evaluation
|
104 |
+
|
105 |
+
<!-- This section describes the evaluation protocols and provides the results. -->
|
106 |
+
|
107 |
+
### Testing Data, Factors & Metrics
|
108 |
+
|
109 |
+
#### Testing Data
|
110 |
+
|
111 |
+
<!-- This should link to a Dataset Card if possible. -->
|
112 |
+
|
113 |
+
[More Information Needed]
|
114 |
+
|
115 |
+
#### Factors
|
116 |
+
|
117 |
+
<!-- These are the things the evaluation is disaggregating by, e.g., subpopulations or domains. -->
|
118 |
+
|
119 |
+
[More Information Needed]
|
120 |
+
|
121 |
+
#### Metrics
|
122 |
+
|
123 |
+
<!-- These are the evaluation metrics being used, ideally with a description of why. -->
|
124 |
+
|
125 |
+
[More Information Needed]
|
126 |
+
|
127 |
+
### Results
|
128 |
+
|
129 |
+
[More Information Needed]
|
130 |
+
|
131 |
+
#### Summary
|
132 |
+
|
133 |
+
|
134 |
+
|
135 |
+
## Model Examination [optional]
|
136 |
+
|
137 |
+
<!-- Relevant interpretability work for the model goes here -->
|
138 |
+
|
139 |
+
[More Information Needed]
|
140 |
+
|
141 |
+
## Environmental Impact
|
142 |
+
|
143 |
+
<!-- Total emissions (in grams of CO2eq) and additional considerations, such as electricity usage, go here. Edit the suggested text below accordingly -->
|
144 |
+
|
145 |
+
Carbon emissions can be estimated using the [Machine Learning Impact calculator](https://mlco2.github.io/impact#compute) presented in [Lacoste et al. (2019)](https://arxiv.org/abs/1910.09700).
|
146 |
+
|
147 |
+
- **Hardware Type:** [More Information Needed]
|
148 |
+
- **Hours used:** [More Information Needed]
|
149 |
+
- **Cloud Provider:** [More Information Needed]
|
150 |
+
- **Compute Region:** [More Information Needed]
|
151 |
+
- **Carbon Emitted:** [More Information Needed]
|
152 |
+
|
153 |
+
## Technical Specifications [optional]
|
154 |
+
|
155 |
+
### Model Architecture and Objective
|
156 |
+
|
157 |
+
[More Information Needed]
|
158 |
+
|
159 |
+
### Compute Infrastructure
|
160 |
+
|
161 |
+
[More Information Needed]
|
162 |
+
|
163 |
+
#### Hardware
|
164 |
+
|
165 |
+
[More Information Needed]
|
166 |
+
|
167 |
+
#### Software
|
168 |
+
|
169 |
+
[More Information Needed]
|
170 |
+
|
171 |
+
## Citation [optional]
|
172 |
+
|
173 |
+
<!-- If there is a paper or blog post introducing the model, the APA and Bibtex information for that should go in this section. -->
|
174 |
+
|
175 |
+
**BibTeX:**
|
176 |
+
|
177 |
+
[More Information Needed]
|
178 |
+
|
179 |
+
**APA:**
|
180 |
+
|
181 |
+
[More Information Needed]
|
182 |
+
|
183 |
+
## Glossary [optional]
|
184 |
+
|
185 |
+
<!-- If relevant, include terms and calculations in this section that can help readers understand the model or model card. -->
|
186 |
+
|
187 |
+
[More Information Needed]
|
188 |
+
|
189 |
+
## More Information [optional]
|
190 |
+
|
191 |
+
[More Information Needed]
|
192 |
+
|
193 |
+
## Model Card Authors [optional]
|
194 |
+
|
195 |
+
[More Information Needed]
|
196 |
+
|
197 |
+
## Model Card Contact
|
198 |
+
|
199 |
+
[More Information Needed]
|
200 |
+
### Framework versions
|
201 |
+
|
202 |
+
- PEFT 0.15.2
|
checkpoint-288/adapter_config.json
ADDED
@@ -0,0 +1,39 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"alpha_pattern": {},
|
3 |
+
"auto_mapping": null,
|
4 |
+
"base_model_name_or_path": "mistralai/Mistral-7B-Instruct-v0.3",
|
5 |
+
"bias": "none",
|
6 |
+
"corda_config": null,
|
7 |
+
"eva_config": null,
|
8 |
+
"exclude_modules": null,
|
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": 16,
|
17 |
+
"lora_bias": false,
|
18 |
+
"lora_dropout": 0.1,
|
19 |
+
"megatron_config": null,
|
20 |
+
"megatron_core": "megatron.core",
|
21 |
+
"modules_to_save": null,
|
22 |
+
"peft_type": "LORA",
|
23 |
+
"r": 32,
|
24 |
+
"rank_pattern": {},
|
25 |
+
"revision": null,
|
26 |
+
"target_modules": [
|
27 |
+
"down_proj",
|
28 |
+
"k_proj",
|
29 |
+
"q_proj",
|
30 |
+
"up_proj",
|
31 |
+
"v_proj",
|
32 |
+
"o_proj",
|
33 |
+
"gate_proj"
|
34 |
+
],
|
35 |
+
"task_type": "CAUSAL_LM",
|
36 |
+
"trainable_token_indices": null,
|
37 |
+
"use_dora": false,
|
38 |
+
"use_rslora": false
|
39 |
+
}
|
checkpoint-288/adapter_model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:395c8edd8df9471f125ca70e8a35dfb39c0abfe28d9cd9e40c40ffae0462f6b3
|
3 |
+
size 335604696
|
checkpoint-288/chat_template.jinja
ADDED
@@ -0,0 +1,87 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{%- if messages[0]["role"] == "system" %}
|
2 |
+
{%- set system_message = messages[0]["content"] %}
|
3 |
+
{%- set loop_messages = messages[1:] %}
|
4 |
+
{%- else %}
|
5 |
+
{%- set loop_messages = messages %}
|
6 |
+
{%- endif %}
|
7 |
+
{%- if not tools is defined %}
|
8 |
+
{%- set tools = none %}
|
9 |
+
{%- endif %}
|
10 |
+
{%- set user_messages = loop_messages | selectattr("role", "equalto", "user") | list %}
|
11 |
+
|
12 |
+
{#- This block checks for alternating user/assistant messages, skipping tool calling messages #}
|
13 |
+
{%- set ns = namespace() %}
|
14 |
+
{%- set ns.index = 0 %}
|
15 |
+
{%- for message in loop_messages %}
|
16 |
+
{%- if not (message.role == "tool" or message.role == "tool_results" or (message.tool_calls is defined and message.tool_calls is not none)) %}
|
17 |
+
{%- if (message["role"] == "user") != (ns.index % 2 == 0) %}
|
18 |
+
{{- raise_exception("After the optional system message, conversation roles must alternate user/assistant/user/assistant/...") }}
|
19 |
+
{%- endif %}
|
20 |
+
{%- set ns.index = ns.index + 1 %}
|
21 |
+
{%- endif %}
|
22 |
+
{%- endfor %}
|
23 |
+
|
24 |
+
{{- bos_token }}
|
25 |
+
{%- for message in loop_messages %}
|
26 |
+
{%- if message["role"] == "user" %}
|
27 |
+
{%- if tools is not none and (message == user_messages[-1]) %}
|
28 |
+
{{- "[AVAILABLE_TOOLS] [" }}
|
29 |
+
{%- for tool in tools %}
|
30 |
+
{%- set tool = tool.function %}
|
31 |
+
{{- '{"type": "function", "function": {' }}
|
32 |
+
{%- for key, val in tool.items() if key != "return" %}
|
33 |
+
{%- if val is string %}
|
34 |
+
{{- '"' + key + '": "' + val + '"' }}
|
35 |
+
{%- else %}
|
36 |
+
{{- '"' + key + '": ' + val|tojson }}
|
37 |
+
{%- endif %}
|
38 |
+
{%- if not loop.last %}
|
39 |
+
{{- ", " }}
|
40 |
+
{%- endif %}
|
41 |
+
{%- endfor %}
|
42 |
+
{{- "}}" }}
|
43 |
+
{%- if not loop.last %}
|
44 |
+
{{- ", " }}
|
45 |
+
{%- else %}
|
46 |
+
{{- "]" }}
|
47 |
+
{%- endif %}
|
48 |
+
{%- endfor %}
|
49 |
+
{{- "[/AVAILABLE_TOOLS]" }}
|
50 |
+
{%- endif %}
|
51 |
+
{%- if loop.last and system_message is defined %}
|
52 |
+
{{- "[INST] " + system_message + "\n\n" + message["content"] + "[/INST]" }}
|
53 |
+
{%- else %}
|
54 |
+
{{- "[INST] " + message["content"] + "[/INST]" }}
|
55 |
+
{%- endif %}
|
56 |
+
{%- elif message.tool_calls is defined and message.tool_calls is not none %}
|
57 |
+
{{- "[TOOL_CALLS] [" }}
|
58 |
+
{%- for tool_call in message.tool_calls %}
|
59 |
+
{%- set out = tool_call.function|tojson %}
|
60 |
+
{{- out[:-1] }}
|
61 |
+
{%- if not tool_call.id is defined or tool_call.id|length != 9 %}
|
62 |
+
{{- raise_exception("Tool call IDs should be alphanumeric strings with length 9!") }}
|
63 |
+
{%- endif %}
|
64 |
+
{{- ', "id": "' + tool_call.id + '"}' }}
|
65 |
+
{%- if not loop.last %}
|
66 |
+
{{- ", " }}
|
67 |
+
{%- else %}
|
68 |
+
{{- "]" + eos_token }}
|
69 |
+
{%- endif %}
|
70 |
+
{%- endfor %}
|
71 |
+
{%- elif message["role"] == "assistant" %}
|
72 |
+
{{- " " + message["content"]|trim + eos_token}}
|
73 |
+
{%- elif message["role"] == "tool_results" or message["role"] == "tool" %}
|
74 |
+
{%- if message.content is defined and message.content.content is defined %}
|
75 |
+
{%- set content = message.content.content %}
|
76 |
+
{%- else %}
|
77 |
+
{%- set content = message.content %}
|
78 |
+
{%- endif %}
|
79 |
+
{{- '[TOOL_RESULTS] {"content": ' + content|string + ", " }}
|
80 |
+
{%- if not message.tool_call_id is defined or message.tool_call_id|length != 9 %}
|
81 |
+
{{- raise_exception("Tool call IDs should be alphanumeric strings with length 9!") }}
|
82 |
+
{%- endif %}
|
83 |
+
{{- '"call_id": "' + message.tool_call_id + '"}[/TOOL_RESULTS]' }}
|
84 |
+
{%- else %}
|
85 |
+
{{- raise_exception("Only user and assistant roles are supported, with the exception of an initial optional system message!") }}
|
86 |
+
{%- endif %}
|
87 |
+
{%- endfor %}
|
checkpoint-288/optimizer.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:0749d4f3b1f8a5aff43180422c7c968722fc748d85a646b8b00383e8b6e670ef
|
3 |
+
size 671467171
|
checkpoint-288/rng_state_0.pth
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:9bad78c42be969d37fcfa593427e0d62ebe5956cd81ee9938449ef55f7466c58
|
3 |
+
size 15429
|
checkpoint-288/rng_state_1.pth
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:4c78ba88966e1fb3724ab1efb789c044f378689aa89fdd2d36b6735e7c888c89
|
3 |
+
size 15429
|
checkpoint-288/rng_state_2.pth
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:9724db26d57a50a36799bfa006e894baa012a624653ae63d77dd200d196d4fc0
|
3 |
+
size 15429
|
checkpoint-288/rng_state_3.pth
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:c063dbf222a7b1c49c3e2b6d1abd8d1be6be0c6fbf2fda0d4dd0753e21053934
|
3 |
+
size 15429
|
checkpoint-288/scheduler.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:40cb035c4fb1d54485a38b69adcd6e64c8cbd4a55a4cdd3b501c7bc5ef367b63
|
3 |
+
size 1465
|
checkpoint-288/special_tokens_map.json
ADDED
@@ -0,0 +1,24 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"bos_token": {
|
3 |
+
"content": "<s>",
|
4 |
+
"lstrip": false,
|
5 |
+
"normalized": false,
|
6 |
+
"rstrip": false,
|
7 |
+
"single_word": false
|
8 |
+
},
|
9 |
+
"eos_token": {
|
10 |
+
"content": "</s>",
|
11 |
+
"lstrip": false,
|
12 |
+
"normalized": false,
|
13 |
+
"rstrip": false,
|
14 |
+
"single_word": false
|
15 |
+
},
|
16 |
+
"pad_token": "</s>",
|
17 |
+
"unk_token": {
|
18 |
+
"content": "<unk>",
|
19 |
+
"lstrip": false,
|
20 |
+
"normalized": false,
|
21 |
+
"rstrip": false,
|
22 |
+
"single_word": false
|
23 |
+
}
|
24 |
+
}
|
checkpoint-288/tokenizer.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|
checkpoint-288/tokenizer.model
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:37f00374dea48658ee8f5d0f21895b9bc55cb0103939607c8185bfd1c6ca1f89
|
3 |
+
size 587404
|
checkpoint-288/tokenizer_config.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|
checkpoint-288/trainer_state.json
ADDED
@@ -0,0 +1,302 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"best_global_step": null,
|
3 |
+
"best_metric": null,
|
4 |
+
"best_model_checkpoint": null,
|
5 |
+
"epoch": 9.0,
|
6 |
+
"eval_steps": 500,
|
7 |
+
"global_step": 288,
|
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.32,
|
14 |
+
"grad_norm": 0.9092470407485962,
|
15 |
+
"learning_rate": 0.0001,
|
16 |
+
"loss": 1.0176,
|
17 |
+
"step": 10
|
18 |
+
},
|
19 |
+
{
|
20 |
+
"epoch": 0.64,
|
21 |
+
"grad_norm": 0.5211939811706543,
|
22 |
+
"learning_rate": 9.968335515358916e-05,
|
23 |
+
"loss": 0.5103,
|
24 |
+
"step": 20
|
25 |
+
},
|
26 |
+
{
|
27 |
+
"epoch": 0.96,
|
28 |
+
"grad_norm": 0.5675566792488098,
|
29 |
+
"learning_rate": 9.873743117270691e-05,
|
30 |
+
"loss": 0.3179,
|
31 |
+
"step": 30
|
32 |
+
},
|
33 |
+
{
|
34 |
+
"epoch": 1.0,
|
35 |
+
"eval_accuracy": 0.9217229190183123,
|
36 |
+
"eval_loss": 0.3320535123348236,
|
37 |
+
"eval_runtime": 22.1298,
|
38 |
+
"eval_samples_per_second": 17.397,
|
39 |
+
"eval_steps_per_second": 2.214,
|
40 |
+
"step": 32
|
41 |
+
},
|
42 |
+
{
|
43 |
+
"epoch": 1.256,
|
44 |
+
"grad_norm": 0.3762319087982178,
|
45 |
+
"learning_rate": 9.717420893549902e-05,
|
46 |
+
"loss": 0.3371,
|
47 |
+
"step": 40
|
48 |
+
},
|
49 |
+
{
|
50 |
+
"epoch": 1.576,
|
51 |
+
"grad_norm": 0.3366687595844269,
|
52 |
+
"learning_rate": 9.501348789257373e-05,
|
53 |
+
"loss": 0.2708,
|
54 |
+
"step": 50
|
55 |
+
},
|
56 |
+
{
|
57 |
+
"epoch": 1.896,
|
58 |
+
"grad_norm": 0.3178953528404236,
|
59 |
+
"learning_rate": 9.2282635291242e-05,
|
60 |
+
"loss": 0.206,
|
61 |
+
"step": 60
|
62 |
+
},
|
63 |
+
{
|
64 |
+
"epoch": 2.0,
|
65 |
+
"eval_accuracy": 0.9407841523692979,
|
66 |
+
"eval_loss": 0.24253705143928528,
|
67 |
+
"eval_runtime": 22.201,
|
68 |
+
"eval_samples_per_second": 17.342,
|
69 |
+
"eval_steps_per_second": 2.207,
|
70 |
+
"step": 64
|
71 |
+
},
|
72 |
+
{
|
73 |
+
"epoch": 2.192,
|
74 |
+
"grad_norm": 0.40763169527053833,
|
75 |
+
"learning_rate": 8.90162395476046e-05,
|
76 |
+
"loss": 0.2057,
|
77 |
+
"step": 70
|
78 |
+
},
|
79 |
+
{
|
80 |
+
"epoch": 2.512,
|
81 |
+
"grad_norm": 0.5000198483467102,
|
82 |
+
"learning_rate": 8.525567215680398e-05,
|
83 |
+
"loss": 0.2043,
|
84 |
+
"step": 80
|
85 |
+
},
|
86 |
+
{
|
87 |
+
"epoch": 2.832,
|
88 |
+
"grad_norm": 0.4025309681892395,
|
89 |
+
"learning_rate": 8.104856369019524e-05,
|
90 |
+
"loss": 0.1447,
|
91 |
+
"step": 90
|
92 |
+
},
|
93 |
+
{
|
94 |
+
"epoch": 3.0,
|
95 |
+
"eval_accuracy": 0.9488746080774451,
|
96 |
+
"eval_loss": 0.21092161536216736,
|
97 |
+
"eval_runtime": 22.1138,
|
98 |
+
"eval_samples_per_second": 17.41,
|
99 |
+
"eval_steps_per_second": 2.216,
|
100 |
+
"step": 96
|
101 |
+
},
|
102 |
+
{
|
103 |
+
"epoch": 3.128,
|
104 |
+
"grad_norm": 0.45369309186935425,
|
105 |
+
"learning_rate": 7.644820051634812e-05,
|
106 |
+
"loss": 0.1352,
|
107 |
+
"step": 100
|
108 |
+
},
|
109 |
+
{
|
110 |
+
"epoch": 3.448,
|
111 |
+
"grad_norm": 0.48971518874168396,
|
112 |
+
"learning_rate": 7.15128498868873e-05,
|
113 |
+
"loss": 0.1437,
|
114 |
+
"step": 110
|
115 |
+
},
|
116 |
+
{
|
117 |
+
"epoch": 3.768,
|
118 |
+
"grad_norm": 0.44901880621910095,
|
119 |
+
"learning_rate": 6.630502193549474e-05,
|
120 |
+
"loss": 0.1067,
|
121 |
+
"step": 120
|
122 |
+
},
|
123 |
+
{
|
124 |
+
"epoch": 4.0,
|
125 |
+
"eval_accuracy": 0.9527208148072254,
|
126 |
+
"eval_loss": 0.20618033409118652,
|
127 |
+
"eval_runtime": 22.1302,
|
128 |
+
"eval_samples_per_second": 17.397,
|
129 |
+
"eval_steps_per_second": 2.214,
|
130 |
+
"step": 128
|
131 |
+
},
|
132 |
+
{
|
133 |
+
"epoch": 4.064,
|
134 |
+
"grad_norm": 0.5145038962364197,
|
135 |
+
"learning_rate": 6.0890677937442574e-05,
|
136 |
+
"loss": 0.0916,
|
137 |
+
"step": 130
|
138 |
+
},
|
139 |
+
{
|
140 |
+
"epoch": 4.384,
|
141 |
+
"grad_norm": 0.47537460923194885,
|
142 |
+
"learning_rate": 5.5338394857677945e-05,
|
143 |
+
"loss": 0.1133,
|
144 |
+
"step": 140
|
145 |
+
},
|
146 |
+
{
|
147 |
+
"epoch": 4.704,
|
148 |
+
"grad_norm": 0.5391659736633301,
|
149 |
+
"learning_rate": 4.971849676912172e-05,
|
150 |
+
"loss": 0.0792,
|
151 |
+
"step": 150
|
152 |
+
},
|
153 |
+
{
|
154 |
+
"epoch": 5.0,
|
155 |
+
"grad_norm": 0.45107302069664,
|
156 |
+
"learning_rate": 4.410216414245771e-05,
|
157 |
+
"loss": 0.0612,
|
158 |
+
"step": 160
|
159 |
+
},
|
160 |
+
{
|
161 |
+
"epoch": 5.0,
|
162 |
+
"eval_accuracy": 0.9539307285858623,
|
163 |
+
"eval_loss": 0.2128402590751648,
|
164 |
+
"eval_runtime": 22.0764,
|
165 |
+
"eval_samples_per_second": 17.439,
|
166 |
+
"eval_steps_per_second": 2.22,
|
167 |
+
"step": 160
|
168 |
+
},
|
169 |
+
{
|
170 |
+
"epoch": 5.32,
|
171 |
+
"grad_norm": 0.42281967401504517,
|
172 |
+
"learning_rate": 3.856053228896442e-05,
|
173 |
+
"loss": 0.091,
|
174 |
+
"step": 170
|
175 |
+
},
|
176 |
+
{
|
177 |
+
"epoch": 5.64,
|
178 |
+
"grad_norm": 0.4220280945301056,
|
179 |
+
"learning_rate": 3.316379037532644e-05,
|
180 |
+
"loss": 0.0605,
|
181 |
+
"step": 180
|
182 |
+
},
|
183 |
+
{
|
184 |
+
"epoch": 5.96,
|
185 |
+
"grad_norm": 0.42120489478111267,
|
186 |
+
"learning_rate": 2.798029242211828e-05,
|
187 |
+
"loss": 0.0491,
|
188 |
+
"step": 190
|
189 |
+
},
|
190 |
+
{
|
191 |
+
"epoch": 6.0,
|
192 |
+
"eval_accuracy": 0.9549008431419458,
|
193 |
+
"eval_loss": 0.2168993204832077,
|
194 |
+
"eval_runtime": 22.0945,
|
195 |
+
"eval_samples_per_second": 17.425,
|
196 |
+
"eval_steps_per_second": 2.218,
|
197 |
+
"step": 192
|
198 |
+
},
|
199 |
+
{
|
200 |
+
"epoch": 6.256,
|
201 |
+
"grad_norm": 0.5049369931221008,
|
202 |
+
"learning_rate": 2.3075691545870558e-05,
|
203 |
+
"loss": 0.0648,
|
204 |
+
"step": 200
|
205 |
+
},
|
206 |
+
{
|
207 |
+
"epoch": 6.576,
|
208 |
+
"grad_norm": 0.30912792682647705,
|
209 |
+
"learning_rate": 1.8512108410229878e-05,
|
210 |
+
"loss": 0.0431,
|
211 |
+
"step": 210
|
212 |
+
},
|
213 |
+
{
|
214 |
+
"epoch": 6.896,
|
215 |
+
"grad_norm": 0.3820810616016388,
|
216 |
+
"learning_rate": 1.434734441843899e-05,
|
217 |
+
"loss": 0.0378,
|
218 |
+
"step": 220
|
219 |
+
},
|
220 |
+
{
|
221 |
+
"epoch": 7.0,
|
222 |
+
"eval_accuracy": 0.9584459654324948,
|
223 |
+
"eval_loss": 0.2166266143321991,
|
224 |
+
"eval_runtime": 22.0992,
|
225 |
+
"eval_samples_per_second": 17.421,
|
226 |
+
"eval_steps_per_second": 2.217,
|
227 |
+
"step": 224
|
228 |
+
},
|
229 |
+
{
|
230 |
+
"epoch": 7.192,
|
231 |
+
"grad_norm": 0.37598758935928345,
|
232 |
+
"learning_rate": 1.063414961267859e-05,
|
233 |
+
"loss": 0.0383,
|
234 |
+
"step": 230
|
235 |
+
},
|
236 |
+
{
|
237 |
+
"epoch": 7.5120000000000005,
|
238 |
+
"grad_norm": 0.4298418164253235,
|
239 |
+
"learning_rate": 7.41955455290726e-06,
|
240 |
+
"loss": 0.0415,
|
241 |
+
"step": 240
|
242 |
+
},
|
243 |
+
{
|
244 |
+
"epoch": 7.832,
|
245 |
+
"grad_norm": 0.2122349590063095,
|
246 |
+
"learning_rate": 4.744274637483936e-06,
|
247 |
+
"loss": 0.0294,
|
248 |
+
"step": 250
|
249 |
+
},
|
250 |
+
{
|
251 |
+
"epoch": 8.0,
|
252 |
+
"eval_accuracy": 0.958849415172974,
|
253 |
+
"eval_loss": 0.22243177890777588,
|
254 |
+
"eval_runtime": 22.0378,
|
255 |
+
"eval_samples_per_second": 17.47,
|
256 |
+
"eval_steps_per_second": 2.223,
|
257 |
+
"step": 256
|
258 |
+
},
|
259 |
+
{
|
260 |
+
"epoch": 8.128,
|
261 |
+
"grad_norm": 0.3120996654033661,
|
262 |
+
"learning_rate": 2.6421944103256657e-06,
|
263 |
+
"loss": 0.0265,
|
264 |
+
"step": 260
|
265 |
+
},
|
266 |
+
{
|
267 |
+
"epoch": 8.448,
|
268 |
+
"grad_norm": 0.21991710364818573,
|
269 |
+
"learning_rate": 1.1399383862592927e-06,
|
270 |
+
"loss": 0.0371,
|
271 |
+
"step": 270
|
272 |
+
},
|
273 |
+
{
|
274 |
+
"epoch": 8.768,
|
275 |
+
"grad_norm": 0.2127743661403656,
|
276 |
+
"learning_rate": 2.5653383040524227e-07,
|
277 |
+
"loss": 0.0215,
|
278 |
+
"step": 280
|
279 |
+
}
|
280 |
+
],
|
281 |
+
"logging_steps": 10,
|
282 |
+
"max_steps": 288,
|
283 |
+
"num_input_tokens_seen": 0,
|
284 |
+
"num_train_epochs": 9,
|
285 |
+
"save_steps": 500,
|
286 |
+
"stateful_callbacks": {
|
287 |
+
"TrainerControl": {
|
288 |
+
"args": {
|
289 |
+
"should_epoch_stop": false,
|
290 |
+
"should_evaluate": false,
|
291 |
+
"should_log": false,
|
292 |
+
"should_save": true,
|
293 |
+
"should_training_stop": true
|
294 |
+
},
|
295 |
+
"attributes": {}
|
296 |
+
}
|
297 |
+
},
|
298 |
+
"total_flos": 3.408776235570954e+17,
|
299 |
+
"train_batch_size": 2,
|
300 |
+
"trial_name": null,
|
301 |
+
"trial_params": null
|
302 |
+
}
|
checkpoint-288/training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:354801f367c7967ad9c20c19707170444d023f1315154f1bc295d4b4e5415688
|
3 |
+
size 6097
|
eval_results.json
CHANGED
@@ -1,8 +1,8 @@
|
|
1 |
{
|
2 |
-
"
|
3 |
-
"
|
4 |
-
"
|
5 |
-
"eval_runtime":
|
6 |
-
"eval_samples_per_second":
|
7 |
-
"eval_steps_per_second": 2.
|
8 |
}
|
|
|
1 |
{
|
2 |
+
"eval_accuracy": 0.7600996823134496,
|
3 |
+
"eval_loss": 1.411633849143982,
|
4 |
+
"eval_model_preparation_time": 0.0052,
|
5 |
+
"eval_runtime": 17.4477,
|
6 |
+
"eval_samples_per_second": 22.066,
|
7 |
+
"eval_steps_per_second": 2.808
|
8 |
}
|
runs/Aug01_22-19-27_104-171-203-173/events.out.tfevents.1754086873.104-171-203-173.9305.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:3ec94bcb3bab8431d7247abd8376e33a7be21d406bbadaabfce607f798507fd9
|
3 |
+
size 14409
|
runs/Aug01_22-19-27_104-171-203-173/events.out.tfevents.1754088963.104-171-203-173.9305.1
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:082cb3fd5a6df80c97aa5e6961f379e3f963e2b029fec31ff2412e1c792d3a51
|
3 |
+
size 411
|
runs/Aug01_22-57-11_104-171-203-173/events.out.tfevents.1754089058.104-171-203-173.11873.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:bb31d6e06079a66150b96a0bce6f42d102daafffc8d15d2e5e470c641ae8d952
|
3 |
+
size 409
|
tokenizer_config.json
CHANGED
@@ -6173,7 +6173,6 @@
|
|
6173 |
}
|
6174 |
},
|
6175 |
"bos_token": "<s>",
|
6176 |
-
"chat_template": "{%- if messages[0][\"role\"] == \"system\" %}\n {%- set system_message = messages[0][\"content\"] %}\n {%- set loop_messages = messages[1:] %}\n{%- else %}\n {%- set loop_messages = messages %}\n{%- endif %}\n{%- if not tools is defined %}\n {%- set tools = none %}\n{%- endif %}\n{%- set user_messages = loop_messages | selectattr(\"role\", \"equalto\", \"user\") | list %}\n\n{#- This block checks for alternating user/assistant messages, skipping tool calling messages #}\n{%- set ns = namespace() %}\n{%- set ns.index = 0 %}\n{%- for message in loop_messages %}\n {%- if not (message.role == \"tool\" or message.role == \"tool_results\" or (message.tool_calls is defined and message.tool_calls is not none)) %}\n {%- if (message[\"role\"] == \"user\") != (ns.index % 2 == 0) %}\n {{- raise_exception(\"After the optional system message, conversation roles must alternate user/assistant/user/assistant/...\") }}\n {%- endif %}\n {%- set ns.index = ns.index + 1 %}\n {%- endif %}\n{%- endfor %}\n\n{{- bos_token }}\n{%- for message in loop_messages %}\n {%- if message[\"role\"] == \"user\" %}\n {%- if tools is not none and (message == user_messages[-1]) %}\n {{- \"[AVAILABLE_TOOLS] [\" }}\n {%- for tool in tools %}\n {%- set tool = tool.function %}\n {{- '{\"type\": \"function\", \"function\": {' }}\n {%- for key, val in tool.items() if key != \"return\" %}\n {%- if val is string %}\n {{- '\"' + key + '\": \"' + val + '\"' }}\n {%- else %}\n {{- '\"' + key + '\": ' + val|tojson }}\n {%- endif %}\n {%- if not loop.last %}\n {{- \", \" }}\n {%- endif %}\n {%- endfor %}\n {{- \"}}\" }}\n {%- if not loop.last %}\n {{- \", \" }}\n {%- else %}\n {{- \"]\" }}\n {%- endif %}\n {%- endfor %}\n {{- \"[/AVAILABLE_TOOLS]\" }}\n {%- endif %}\n {%- if loop.last and system_message is defined %}\n {{- \"[INST] \" + system_message + \"\\n\\n\" + message[\"content\"] + \"[/INST]\" }}\n {%- else %}\n {{- \"[INST] \" + message[\"content\"] + \"[/INST]\" }}\n {%- endif %}\n {%- elif message.tool_calls is defined and message.tool_calls is not none %}\n {{- \"[TOOL_CALLS] [\" }}\n {%- for tool_call in message.tool_calls %}\n {%- set out = tool_call.function|tojson %}\n {{- out[:-1] }}\n {%- if not tool_call.id is defined or tool_call.id|length != 9 %}\n {{- raise_exception(\"Tool call IDs should be alphanumeric strings with length 9!\") }}\n {%- endif %}\n {{- ', \"id\": \"' + tool_call.id + '\"}' }}\n {%- if not loop.last %}\n {{- \", \" }}\n {%- else %}\n {{- \"]\" + eos_token }}\n {%- endif %}\n {%- endfor %}\n {%- elif message[\"role\"] == \"assistant\" %}\n {{- \" \" + message[\"content\"]|trim + eos_token}}\n {%- elif message[\"role\"] == \"tool_results\" or message[\"role\"] == \"tool\" %}\n {%- if message.content is defined and message.content.content is defined %}\n {%- set content = message.content.content %}\n {%- else %}\n {%- set content = message.content %}\n {%- endif %}\n {{- '[TOOL_RESULTS] {\"content\": ' + content|string + \", \" }}\n {%- if not message.tool_call_id is defined or message.tool_call_id|length != 9 %}\n {{- raise_exception(\"Tool call IDs should be alphanumeric strings with length 9!\") }}\n {%- endif %}\n {{- '\"call_id\": \"' + message.tool_call_id + '\"}[/TOOL_RESULTS]' }}\n {%- else %}\n {{- raise_exception(\"Only user and assistant roles are supported, with the exception of an initial optional system message!\") }}\n {%- endif %}\n{%- endfor %}\n",
|
6177 |
"clean_up_tokenization_spaces": false,
|
6178 |
"eos_token": "</s>",
|
6179 |
"extra_special_tokens": {},
|
|
|
6173 |
}
|
6174 |
},
|
6175 |
"bos_token": "<s>",
|
|
|
6176 |
"clean_up_tokenization_spaces": false,
|
6177 |
"eos_token": "</s>",
|
6178 |
"extra_special_tokens": {},
|
train_results.json
CHANGED
@@ -1,8 +1,9 @@
|
|
1 |
{
|
2 |
-
"
|
3 |
-
"
|
4 |
-
"
|
5 |
-
"
|
6 |
-
"
|
7 |
-
"
|
|
|
8 |
}
|
|
|
1 |
{
|
2 |
+
"effective_tokens_per_sec": 883.9641081528283,
|
3 |
+
"epoch": 9.0,
|
4 |
+
"total_flos": 3.408776235570954e+17,
|
5 |
+
"train_loss": 0.1565158217627969,
|
6 |
+
"train_runtime": 2068.3583,
|
7 |
+
"train_samples_per_second": 4.351,
|
8 |
+
"train_steps_per_second": 0.139
|
9 |
}
|
trainer_log.jsonl
CHANGED
@@ -1,46 +1,48 @@
|
|
1 |
-
{"current_steps": 10, "total_steps":
|
2 |
-
{"current_steps": 20, "total_steps":
|
3 |
-
{"current_steps": 30, "total_steps":
|
4 |
-
{"current_steps":
|
5 |
-
{"current_steps":
|
6 |
-
{"current_steps": 50, "total_steps":
|
7 |
-
{"current_steps": 60, "total_steps":
|
8 |
-
{"current_steps":
|
9 |
-
{"current_steps":
|
10 |
-
{"current_steps":
|
11 |
-
{"current_steps": 90, "total_steps":
|
12 |
-
{"current_steps":
|
13 |
-
{"current_steps":
|
14 |
-
{"current_steps":
|
15 |
-
{"current_steps":
|
16 |
-
{"current_steps":
|
17 |
-
{"current_steps":
|
18 |
-
{"current_steps":
|
19 |
-
{"current_steps":
|
20 |
-
{"current_steps":
|
21 |
-
{"current_steps":
|
22 |
-
{"current_steps":
|
23 |
-
{"current_steps":
|
24 |
-
{"current_steps":
|
25 |
-
{"current_steps":
|
26 |
-
{"current_steps":
|
27 |
-
{"current_steps":
|
28 |
-
{"current_steps":
|
29 |
-
{"current_steps":
|
30 |
-
{"current_steps":
|
31 |
-
{"current_steps":
|
32 |
-
{"current_steps":
|
33 |
-
{"current_steps":
|
34 |
-
{"current_steps":
|
35 |
-
{"current_steps":
|
36 |
-
{"current_steps":
|
37 |
-
{"current_steps":
|
38 |
-
{"current_steps":
|
39 |
-
{"current_steps":
|
40 |
-
{"current_steps":
|
41 |
-
{"current_steps":
|
42 |
-
{"current_steps":
|
43 |
-
{"current_steps":
|
44 |
-
{"current_steps":
|
45 |
-
{"current_steps":
|
46 |
-
{"current_steps":
|
|
|
|
|
|
1 |
+
{"current_steps": 10, "total_steps": 288, "loss": 1.0176, "lr": 0.0001, "epoch": 0.32, "percentage": 3.47, "elapsed_time": "0:01:07", "remaining_time": "0:31:04"}
|
2 |
+
{"current_steps": 20, "total_steps": 288, "loss": 0.5103, "lr": 9.968335515358916e-05, "epoch": 0.64, "percentage": 6.94, "elapsed_time": "0:02:12", "remaining_time": "0:29:38"}
|
3 |
+
{"current_steps": 30, "total_steps": 288, "loss": 0.3179, "lr": 9.873743117270691e-05, "epoch": 0.96, "percentage": 10.42, "elapsed_time": "0:03:18", "remaining_time": "0:28:24"}
|
4 |
+
{"current_steps": 32, "total_steps": 288, "eval_loss": 0.3320535123348236, "epoch": 1.0, "percentage": 11.11, "elapsed_time": "0:03:48", "remaining_time": "0:30:28"}
|
5 |
+
{"current_steps": 40, "total_steps": 288, "loss": 0.3371, "lr": 9.717420893549902e-05, "epoch": 1.256, "percentage": 13.89, "elapsed_time": "0:04:43", "remaining_time": "0:29:15"}
|
6 |
+
{"current_steps": 50, "total_steps": 288, "loss": 0.2708, "lr": 9.501348789257373e-05, "epoch": 1.576, "percentage": 17.36, "elapsed_time": "0:05:48", "remaining_time": "0:27:38"}
|
7 |
+
{"current_steps": 60, "total_steps": 288, "loss": 0.206, "lr": 9.2282635291242e-05, "epoch": 1.896, "percentage": 20.83, "elapsed_time": "0:06:54", "remaining_time": "0:26:15"}
|
8 |
+
{"current_steps": 64, "total_steps": 288, "eval_loss": 0.24253705143928528, "epoch": 2.0, "percentage": 22.22, "elapsed_time": "0:07:38", "remaining_time": "0:26:43"}
|
9 |
+
{"current_steps": 70, "total_steps": 288, "loss": 0.2057, "lr": 8.90162395476046e-05, "epoch": 2.192, "percentage": 24.31, "elapsed_time": "0:08:19", "remaining_time": "0:25:55"}
|
10 |
+
{"current_steps": 80, "total_steps": 288, "loss": 0.2043, "lr": 8.525567215680398e-05, "epoch": 2.512, "percentage": 27.78, "elapsed_time": "0:09:24", "remaining_time": "0:24:28"}
|
11 |
+
{"current_steps": 90, "total_steps": 288, "loss": 0.1447, "lr": 8.104856369019524e-05, "epoch": 2.832, "percentage": 31.25, "elapsed_time": "0:10:30", "remaining_time": "0:23:08"}
|
12 |
+
{"current_steps": 96, "total_steps": 288, "eval_loss": 0.21092161536216736, "epoch": 3.0, "percentage": 33.33, "elapsed_time": "0:11:27", "remaining_time": "0:22:55"}
|
13 |
+
{"current_steps": 100, "total_steps": 288, "loss": 0.1352, "lr": 7.644820051634812e-05, "epoch": 3.128, "percentage": 34.72, "elapsed_time": "0:11:54", "remaining_time": "0:22:23"}
|
14 |
+
{"current_steps": 110, "total_steps": 288, "loss": 0.1437, "lr": 7.15128498868873e-05, "epoch": 3.448, "percentage": 38.19, "elapsed_time": "0:13:00", "remaining_time": "0:21:03"}
|
15 |
+
{"current_steps": 120, "total_steps": 288, "loss": 0.1067, "lr": 6.630502193549474e-05, "epoch": 3.768, "percentage": 41.67, "elapsed_time": "0:14:07", "remaining_time": "0:19:46"}
|
16 |
+
{"current_steps": 128, "total_steps": 288, "eval_loss": 0.20618033409118652, "epoch": 4.0, "percentage": 44.44, "elapsed_time": "0:15:17", "remaining_time": "0:19:06"}
|
17 |
+
{"current_steps": 130, "total_steps": 288, "loss": 0.0916, "lr": 6.0890677937442574e-05, "epoch": 4.064, "percentage": 45.14, "elapsed_time": "0:15:31", "remaining_time": "0:18:52"}
|
18 |
+
{"current_steps": 140, "total_steps": 288, "loss": 0.1133, "lr": 5.5338394857677945e-05, "epoch": 4.384, "percentage": 48.61, "elapsed_time": "0:16:37", "remaining_time": "0:17:34"}
|
19 |
+
{"current_steps": 150, "total_steps": 288, "loss": 0.0792, "lr": 4.971849676912172e-05, "epoch": 4.704, "percentage": 52.08, "elapsed_time": "0:17:43", "remaining_time": "0:16:18"}
|
20 |
+
{"current_steps": 160, "total_steps": 288, "loss": 0.0612, "lr": 4.410216414245771e-05, "epoch": 5.0, "percentage": 55.56, "elapsed_time": "0:18:44", "remaining_time": "0:14:59"}
|
21 |
+
{"current_steps": 160, "total_steps": 288, "eval_loss": 0.2128402590751648, "epoch": 5.0, "percentage": 55.56, "elapsed_time": "0:19:06", "remaining_time": "0:15:17"}
|
22 |
+
{"current_steps": 170, "total_steps": 288, "loss": 0.091, "lr": 3.856053228896442e-05, "epoch": 5.32, "percentage": 59.03, "elapsed_time": "0:20:13", "remaining_time": "0:14:02"}
|
23 |
+
{"current_steps": 180, "total_steps": 288, "loss": 0.0605, "lr": 3.316379037532644e-05, "epoch": 5.64, "percentage": 62.5, "elapsed_time": "0:21:19", "remaining_time": "0:12:47"}
|
24 |
+
{"current_steps": 190, "total_steps": 288, "loss": 0.0491, "lr": 2.798029242211828e-05, "epoch": 5.96, "percentage": 65.97, "elapsed_time": "0:22:25", "remaining_time": "0:11:34"}
|
25 |
+
{"current_steps": 192, "total_steps": 288, "eval_loss": 0.2168993204832077, "epoch": 6.0, "percentage": 66.67, "elapsed_time": "0:22:55", "remaining_time": "0:11:27"}
|
26 |
+
{"current_steps": 200, "total_steps": 288, "loss": 0.0648, "lr": 2.3075691545870558e-05, "epoch": 6.256, "percentage": 69.44, "elapsed_time": "0:23:50", "remaining_time": "0:10:29"}
|
27 |
+
{"current_steps": 210, "total_steps": 288, "loss": 0.0431, "lr": 1.8512108410229878e-05, "epoch": 6.576, "percentage": 72.92, "elapsed_time": "0:24:55", "remaining_time": "0:09:15"}
|
28 |
+
{"current_steps": 220, "total_steps": 288, "loss": 0.0378, "lr": 1.434734441843899e-05, "epoch": 6.896, "percentage": 76.39, "elapsed_time": "0:26:01", "remaining_time": "0:08:02"}
|
29 |
+
{"current_steps": 224, "total_steps": 288, "eval_loss": 0.2166266143321991, "epoch": 7.0, "percentage": 77.78, "elapsed_time": "0:26:45", "remaining_time": "0:07:38"}
|
30 |
+
{"current_steps": 230, "total_steps": 288, "loss": 0.0383, "lr": 1.063414961267859e-05, "epoch": 7.192, "percentage": 79.86, "elapsed_time": "0:27:26", "remaining_time": "0:06:55"}
|
31 |
+
{"current_steps": 240, "total_steps": 288, "loss": 0.0415, "lr": 7.41955455290726e-06, "epoch": 7.5120000000000005, "percentage": 83.33, "elapsed_time": "0:28:31", "remaining_time": "0:05:42"}
|
32 |
+
{"current_steps": 250, "total_steps": 288, "loss": 0.0294, "lr": 4.744274637483936e-06, "epoch": 7.832, "percentage": 86.81, "elapsed_time": "0:29:37", "remaining_time": "0:04:30"}
|
33 |
+
{"current_steps": 256, "total_steps": 288, "eval_loss": 0.22243177890777588, "epoch": 8.0, "percentage": 88.89, "elapsed_time": "0:30:34", "remaining_time": "0:03:49"}
|
34 |
+
{"current_steps": 260, "total_steps": 288, "loss": 0.0265, "lr": 2.6421944103256657e-06, "epoch": 8.128, "percentage": 90.28, "elapsed_time": "0:31:01", "remaining_time": "0:03:20"}
|
35 |
+
{"current_steps": 270, "total_steps": 288, "loss": 0.0371, "lr": 1.1399383862592927e-06, "epoch": 8.448, "percentage": 93.75, "elapsed_time": "0:32:07", "remaining_time": "0:02:08"}
|
36 |
+
{"current_steps": 280, "total_steps": 288, "loss": 0.0215, "lr": 2.5653383040524227e-07, "epoch": 8.768, "percentage": 97.22, "elapsed_time": "0:33:13", "remaining_time": "0:00:56"}
|
37 |
+
{"current_steps": 288, "total_steps": 288, "eval_loss": 0.22601914405822754, "epoch": 9.0, "percentage": 100.0, "elapsed_time": "0:34:25", "remaining_time": "0:00:00"}
|
38 |
+
{"current_steps": 288, "total_steps": 288, "epoch": 9.0, "percentage": 100.0, "elapsed_time": "0:34:25", "remaining_time": "0:00:00"}
|
39 |
+
{"current_steps": 5, "total_steps": 49, "percentage": 10.2, "elapsed_time": "0:00:01", "remaining_time": "0:00:11"}
|
40 |
+
{"current_steps": 10, "total_steps": 49, "percentage": 20.41, "elapsed_time": "0:00:02", "remaining_time": "0:00:11"}
|
41 |
+
{"current_steps": 15, "total_steps": 49, "percentage": 30.61, "elapsed_time": "0:00:04", "remaining_time": "0:00:10"}
|
42 |
+
{"current_steps": 20, "total_steps": 49, "percentage": 40.82, "elapsed_time": "0:00:06", "remaining_time": "0:00:08"}
|
43 |
+
{"current_steps": 25, "total_steps": 49, "percentage": 51.02, "elapsed_time": "0:00:07", "remaining_time": "0:00:07"}
|
44 |
+
{"current_steps": 30, "total_steps": 49, "percentage": 61.22, "elapsed_time": "0:00:09", "remaining_time": "0:00:06"}
|
45 |
+
{"current_steps": 35, "total_steps": 49, "percentage": 71.43, "elapsed_time": "0:00:11", "remaining_time": "0:00:04"}
|
46 |
+
{"current_steps": 40, "total_steps": 49, "percentage": 81.63, "elapsed_time": "0:00:13", "remaining_time": "0:00:02"}
|
47 |
+
{"current_steps": 45, "total_steps": 49, "percentage": 91.84, "elapsed_time": "0:00:14", "remaining_time": "0:00:01"}
|
48 |
+
{"current_steps": 0, "total_steps": 49, "eval_loss": 1.411633849143982, "percentage": 0.0, "elapsed_time": "0:00:16", "remaining_time": "0:00:00"}
|
trainer_state.json
CHANGED
@@ -2,358 +2,302 @@
|
|
2 |
"best_global_step": null,
|
3 |
"best_metric": null,
|
4 |
"best_model_checkpoint": null,
|
5 |
-
"epoch":
|
6 |
"eval_steps": 500,
|
7 |
-
"global_step":
|
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.
|
14 |
-
"grad_norm":
|
15 |
-
"learning_rate":
|
16 |
-
"loss": 1.
|
17 |
"step": 10
|
18 |
},
|
19 |
{
|
20 |
-
"epoch": 0.
|
21 |
-
"grad_norm": 0.
|
22 |
-
"learning_rate": 9.
|
23 |
-
"loss": 0.
|
24 |
"step": 20
|
25 |
},
|
26 |
{
|
27 |
-
"epoch": 0.
|
28 |
-
"grad_norm": 0.
|
29 |
-
"learning_rate": 9.
|
30 |
-
"loss": 0.
|
31 |
"step": 30
|
32 |
},
|
33 |
-
{
|
34 |
-
"epoch": 0.9580838323353293,
|
35 |
-
"grad_norm": 0.4627484977245331,
|
36 |
-
"learning_rate": 9.859528969650738e-05,
|
37 |
-
"loss": 0.3408,
|
38 |
-
"step": 40
|
39 |
-
},
|
40 |
{
|
41 |
"epoch": 1.0,
|
42 |
-
"eval_accuracy": 0.
|
43 |
-
"eval_loss": 0.
|
44 |
-
"eval_runtime":
|
45 |
-
"eval_samples_per_second":
|
46 |
-
"eval_steps_per_second": 2.
|
47 |
-
"step":
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
48 |
},
|
49 |
{
|
50 |
-
"epoch": 1.
|
51 |
-
"grad_norm": 0.
|
52 |
-
"learning_rate": 9.
|
53 |
-
"loss": 0.
|
54 |
"step": 50
|
55 |
},
|
56 |
{
|
57 |
-
"epoch": 1.
|
58 |
-
"grad_norm": 0.
|
59 |
-
"learning_rate": 9.
|
60 |
-
"loss": 0.
|
61 |
"step": 60
|
62 |
},
|
63 |
{
|
64 |
-
"epoch":
|
65 |
-
"
|
66 |
-
"
|
67 |
-
"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
68 |
"step": 70
|
69 |
},
|
70 |
{
|
71 |
-
"epoch":
|
72 |
-
"grad_norm": 0.
|
73 |
-
"learning_rate":
|
74 |
-
"loss": 0.
|
75 |
"step": 80
|
76 |
},
|
77 |
{
|
78 |
-
"epoch": 2.
|
79 |
-
"
|
80 |
-
"
|
81 |
-
"
|
82 |
-
"eval_samples_per_second": 13.198,
|
83 |
-
"eval_steps_per_second": 2.228,
|
84 |
-
"step": 84
|
85 |
-
},
|
86 |
-
{
|
87 |
-
"epoch": 2.143712574850299,
|
88 |
-
"grad_norm": 0.3872606158256531,
|
89 |
-
"learning_rate": 8.895402872628352e-05,
|
90 |
-
"loss": 0.2022,
|
91 |
"step": 90
|
92 |
},
|
93 |
{
|
94 |
-
"epoch":
|
95 |
-
"
|
96 |
-
"
|
97 |
-
"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
98 |
"step": 100
|
99 |
},
|
100 |
{
|
101 |
-
"epoch":
|
102 |
-
"grad_norm": 0.
|
103 |
-
"learning_rate":
|
104 |
-
"loss": 0.
|
105 |
"step": 110
|
106 |
},
|
107 |
{
|
108 |
-
"epoch":
|
109 |
-
"grad_norm": 0.
|
110 |
-
"learning_rate":
|
111 |
-
"loss": 0.
|
112 |
"step": 120
|
113 |
},
|
114 |
{
|
115 |
-
"epoch":
|
116 |
-
"eval_accuracy": 0.
|
117 |
-
"eval_loss": 0.
|
118 |
-
"eval_runtime":
|
119 |
-
"eval_samples_per_second":
|
120 |
-
"eval_steps_per_second": 2.
|
121 |
-
"step":
|
122 |
-
},
|
123 |
-
{
|
124 |
-
"epoch":
|
125 |
-
"grad_norm": 0.
|
126 |
-
"learning_rate":
|
127 |
-
"loss": 0.
|
128 |
"step": 130
|
129 |
},
|
130 |
{
|
131 |
-
"epoch":
|
132 |
-
"grad_norm": 0.
|
133 |
-
"learning_rate":
|
134 |
-
"loss": 0.
|
135 |
"step": 140
|
136 |
},
|
137 |
{
|
138 |
-
"epoch":
|
139 |
-
"grad_norm": 0.
|
140 |
-
"learning_rate":
|
141 |
-
"loss": 0.
|
142 |
"step": 150
|
143 |
},
|
144 |
{
|
145 |
-
"epoch":
|
146 |
-
"grad_norm": 0.
|
147 |
-
"learning_rate":
|
148 |
-
"loss": 0.
|
149 |
"step": 160
|
150 |
},
|
151 |
{
|
152 |
-
"epoch":
|
153 |
-
"eval_accuracy": 0.
|
154 |
-
"eval_loss": 0.
|
155 |
-
"eval_runtime":
|
156 |
-
"eval_samples_per_second":
|
157 |
-
"eval_steps_per_second": 2.
|
158 |
-
"step":
|
159 |
-
},
|
160 |
-
{
|
161 |
-
"epoch":
|
162 |
-
"grad_norm": 0.
|
163 |
-
"learning_rate":
|
164 |
-
"loss": 0.
|
165 |
"step": 170
|
166 |
},
|
167 |
{
|
168 |
-
"epoch":
|
169 |
-
"grad_norm": 0.
|
170 |
-
"learning_rate":
|
171 |
-
"loss": 0.
|
172 |
"step": 180
|
173 |
},
|
174 |
{
|
175 |
-
"epoch":
|
176 |
-
"grad_norm": 0.
|
177 |
-
"learning_rate":
|
178 |
-
"loss": 0.
|
179 |
"step": 190
|
180 |
},
|
181 |
{
|
182 |
-
"epoch":
|
183 |
-
"
|
184 |
-
"
|
185 |
-
"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
186 |
"step": 200
|
187 |
},
|
188 |
{
|
189 |
-
"epoch":
|
190 |
-
"grad_norm": 0.
|
191 |
-
"learning_rate":
|
192 |
-
"loss": 0.
|
193 |
-
"step": 210
|
194 |
-
},
|
195 |
-
{
|
196 |
-
"epoch": 5.0,
|
197 |
-
"eval_accuracy": 0.9573371652464306,
|
198 |
-
"eval_loss": 0.19091445207595825,
|
199 |
-
"eval_runtime": 29.1306,
|
200 |
-
"eval_samples_per_second": 13.216,
|
201 |
-
"eval_steps_per_second": 2.231,
|
202 |
"step": 210
|
203 |
},
|
204 |
{
|
205 |
-
"epoch":
|
206 |
-
"grad_norm": 0.
|
207 |
-
"learning_rate":
|
208 |
-
"loss": 0.
|
209 |
"step": 220
|
210 |
},
|
211 |
{
|
212 |
-
"epoch":
|
213 |
-
"
|
214 |
-
"
|
215 |
-
"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
216 |
"step": 230
|
217 |
},
|
218 |
{
|
219 |
-
"epoch":
|
220 |
-
"grad_norm": 0.
|
221 |
-
"learning_rate":
|
222 |
-
"loss": 0.
|
223 |
"step": 240
|
224 |
},
|
225 |
{
|
226 |
-
"epoch":
|
227 |
-
"grad_norm": 0.
|
228 |
-
"learning_rate":
|
229 |
-
"loss": 0.
|
230 |
"step": 250
|
231 |
},
|
232 |
{
|
233 |
-
"epoch":
|
234 |
-
"eval_accuracy": 0.
|
235 |
-
"eval_loss": 0.
|
236 |
-
"eval_runtime":
|
237 |
-
"eval_samples_per_second":
|
238 |
-
"eval_steps_per_second": 2.
|
239 |
-
"step":
|
240 |
-
},
|
241 |
-
{
|
242 |
-
"epoch":
|
243 |
-
"grad_norm": 0.
|
244 |
-
"learning_rate": 2.
|
245 |
-
"loss": 0.
|
246 |
"step": 260
|
247 |
},
|
248 |
{
|
249 |
-
"epoch":
|
250 |
-
"grad_norm": 0.
|
251 |
-
"learning_rate": 1.
|
252 |
-
"loss": 0.
|
253 |
"step": 270
|
254 |
},
|
255 |
{
|
256 |
-
"epoch":
|
257 |
-
"grad_norm": 0.
|
258 |
-
"learning_rate":
|
259 |
-
"loss": 0.
|
260 |
"step": 280
|
261 |
},
|
262 |
{
|
263 |
-
"epoch":
|
264 |
-
"
|
265 |
-
"
|
266 |
-
"
|
267 |
-
"
|
268 |
-
|
269 |
-
|
270 |
-
"epoch": 7.0,
|
271 |
-
"eval_accuracy": 0.9601195563525197,
|
272 |
-
"eval_loss": 0.2196582704782486,
|
273 |
-
"eval_runtime": 29.0921,
|
274 |
-
"eval_samples_per_second": 13.234,
|
275 |
-
"eval_steps_per_second": 2.234,
|
276 |
-
"step": 294
|
277 |
-
},
|
278 |
-
{
|
279 |
-
"epoch": 7.1437125748503,
|
280 |
-
"grad_norm": 0.2443029135465622,
|
281 |
-
"learning_rate": 9.190154382188921e-06,
|
282 |
-
"loss": 0.0188,
|
283 |
-
"step": 300
|
284 |
-
},
|
285 |
-
{
|
286 |
-
"epoch": 7.383233532934132,
|
287 |
-
"grad_norm": 0.2125871330499649,
|
288 |
-
"learning_rate": 6.809148352279182e-06,
|
289 |
-
"loss": 0.0199,
|
290 |
-
"step": 310
|
291 |
},
|
292 |
{
|
293 |
-
"epoch":
|
294 |
-
"
|
295 |
-
"
|
296 |
-
"
|
297 |
-
"
|
298 |
-
|
299 |
-
|
300 |
-
"epoch": 7.862275449101796,
|
301 |
-
"grad_norm": 0.2146039605140686,
|
302 |
-
"learning_rate": 3.065733863053072e-06,
|
303 |
-
"loss": 0.0216,
|
304 |
-
"step": 330
|
305 |
-
},
|
306 |
-
{
|
307 |
-
"epoch": 8.0,
|
308 |
-
"eval_accuracy": 0.9601274555153836,
|
309 |
-
"eval_loss": 0.232394278049469,
|
310 |
-
"eval_runtime": 29.1106,
|
311 |
-
"eval_samples_per_second": 13.225,
|
312 |
-
"eval_steps_per_second": 2.233,
|
313 |
-
"step": 336
|
314 |
-
},
|
315 |
-
{
|
316 |
-
"epoch": 8.095808383233534,
|
317 |
-
"grad_norm": 0.20316274464130402,
|
318 |
-
"learning_rate": 1.7322955673980678e-06,
|
319 |
-
"loss": 0.0204,
|
320 |
-
"step": 340
|
321 |
-
},
|
322 |
-
{
|
323 |
-
"epoch": 8.335329341317365,
|
324 |
-
"grad_norm": 0.19030429422855377,
|
325 |
-
"learning_rate": 7.723994752570462e-07,
|
326 |
-
"loss": 0.0287,
|
327 |
-
"step": 350
|
328 |
-
},
|
329 |
-
{
|
330 |
-
"epoch": 8.574850299401197,
|
331 |
-
"grad_norm": 0.2464722841978073,
|
332 |
-
"learning_rate": 1.9347419144180035e-07,
|
333 |
-
"loss": 0.0131,
|
334 |
-
"step": 360
|
335 |
-
},
|
336 |
-
{
|
337 |
-
"epoch": 8.790419161676647,
|
338 |
-
"eval_accuracy": 0.9601709260426984,
|
339 |
-
"eval_loss": 0.23376664519309998,
|
340 |
-
"eval_runtime": 29.0302,
|
341 |
-
"eval_samples_per_second": 13.262,
|
342 |
-
"eval_steps_per_second": 2.239,
|
343 |
-
"step": 369
|
344 |
-
},
|
345 |
-
{
|
346 |
-
"epoch": 8.790419161676647,
|
347 |
-
"step": 369,
|
348 |
-
"total_flos": 3.347106394674299e+17,
|
349 |
-
"train_loss": 0.14184355957882838,
|
350 |
-
"train_runtime": 2687.5102,
|
351 |
-
"train_samples_per_second": 3.349,
|
352 |
-
"train_steps_per_second": 0.137
|
353 |
}
|
354 |
],
|
355 |
"logging_steps": 10,
|
356 |
-
"max_steps":
|
357 |
"num_input_tokens_seen": 0,
|
358 |
"num_train_epochs": 9,
|
359 |
"save_steps": 500,
|
@@ -369,7 +313,7 @@
|
|
369 |
"attributes": {}
|
370 |
}
|
371 |
},
|
372 |
-
"total_flos": 3.
|
373 |
"train_batch_size": 2,
|
374 |
"trial_name": null,
|
375 |
"trial_params": null
|
|
|
2 |
"best_global_step": null,
|
3 |
"best_metric": null,
|
4 |
"best_model_checkpoint": null,
|
5 |
+
"epoch": 9.0,
|
6 |
"eval_steps": 500,
|
7 |
+
"global_step": 288,
|
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.32,
|
14 |
+
"grad_norm": 0.9092470407485962,
|
15 |
+
"learning_rate": 0.0001,
|
16 |
+
"loss": 1.0176,
|
17 |
"step": 10
|
18 |
},
|
19 |
{
|
20 |
+
"epoch": 0.64,
|
21 |
+
"grad_norm": 0.5211939811706543,
|
22 |
+
"learning_rate": 9.968335515358916e-05,
|
23 |
+
"loss": 0.5103,
|
24 |
"step": 20
|
25 |
},
|
26 |
{
|
27 |
+
"epoch": 0.96,
|
28 |
+
"grad_norm": 0.5675566792488098,
|
29 |
+
"learning_rate": 9.873743117270691e-05,
|
30 |
+
"loss": 0.3179,
|
31 |
"step": 30
|
32 |
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
33 |
{
|
34 |
"epoch": 1.0,
|
35 |
+
"eval_accuracy": 0.9217229190183123,
|
36 |
+
"eval_loss": 0.3320535123348236,
|
37 |
+
"eval_runtime": 22.1298,
|
38 |
+
"eval_samples_per_second": 17.397,
|
39 |
+
"eval_steps_per_second": 2.214,
|
40 |
+
"step": 32
|
41 |
+
},
|
42 |
+
{
|
43 |
+
"epoch": 1.256,
|
44 |
+
"grad_norm": 0.3762319087982178,
|
45 |
+
"learning_rate": 9.717420893549902e-05,
|
46 |
+
"loss": 0.3371,
|
47 |
+
"step": 40
|
48 |
},
|
49 |
{
|
50 |
+
"epoch": 1.576,
|
51 |
+
"grad_norm": 0.3366687595844269,
|
52 |
+
"learning_rate": 9.501348789257373e-05,
|
53 |
+
"loss": 0.2708,
|
54 |
"step": 50
|
55 |
},
|
56 |
{
|
57 |
+
"epoch": 1.896,
|
58 |
+
"grad_norm": 0.3178953528404236,
|
59 |
+
"learning_rate": 9.2282635291242e-05,
|
60 |
+
"loss": 0.206,
|
61 |
"step": 60
|
62 |
},
|
63 |
{
|
64 |
+
"epoch": 2.0,
|
65 |
+
"eval_accuracy": 0.9407841523692979,
|
66 |
+
"eval_loss": 0.24253705143928528,
|
67 |
+
"eval_runtime": 22.201,
|
68 |
+
"eval_samples_per_second": 17.342,
|
69 |
+
"eval_steps_per_second": 2.207,
|
70 |
+
"step": 64
|
71 |
+
},
|
72 |
+
{
|
73 |
+
"epoch": 2.192,
|
74 |
+
"grad_norm": 0.40763169527053833,
|
75 |
+
"learning_rate": 8.90162395476046e-05,
|
76 |
+
"loss": 0.2057,
|
77 |
"step": 70
|
78 |
},
|
79 |
{
|
80 |
+
"epoch": 2.512,
|
81 |
+
"grad_norm": 0.5000198483467102,
|
82 |
+
"learning_rate": 8.525567215680398e-05,
|
83 |
+
"loss": 0.2043,
|
84 |
"step": 80
|
85 |
},
|
86 |
{
|
87 |
+
"epoch": 2.832,
|
88 |
+
"grad_norm": 0.4025309681892395,
|
89 |
+
"learning_rate": 8.104856369019524e-05,
|
90 |
+
"loss": 0.1447,
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
91 |
"step": 90
|
92 |
},
|
93 |
{
|
94 |
+
"epoch": 3.0,
|
95 |
+
"eval_accuracy": 0.9488746080774451,
|
96 |
+
"eval_loss": 0.21092161536216736,
|
97 |
+
"eval_runtime": 22.1138,
|
98 |
+
"eval_samples_per_second": 17.41,
|
99 |
+
"eval_steps_per_second": 2.216,
|
100 |
+
"step": 96
|
101 |
+
},
|
102 |
+
{
|
103 |
+
"epoch": 3.128,
|
104 |
+
"grad_norm": 0.45369309186935425,
|
105 |
+
"learning_rate": 7.644820051634812e-05,
|
106 |
+
"loss": 0.1352,
|
107 |
"step": 100
|
108 |
},
|
109 |
{
|
110 |
+
"epoch": 3.448,
|
111 |
+
"grad_norm": 0.48971518874168396,
|
112 |
+
"learning_rate": 7.15128498868873e-05,
|
113 |
+
"loss": 0.1437,
|
114 |
"step": 110
|
115 |
},
|
116 |
{
|
117 |
+
"epoch": 3.768,
|
118 |
+
"grad_norm": 0.44901880621910095,
|
119 |
+
"learning_rate": 6.630502193549474e-05,
|
120 |
+
"loss": 0.1067,
|
121 |
"step": 120
|
122 |
},
|
123 |
{
|
124 |
+
"epoch": 4.0,
|
125 |
+
"eval_accuracy": 0.9527208148072254,
|
126 |
+
"eval_loss": 0.20618033409118652,
|
127 |
+
"eval_runtime": 22.1302,
|
128 |
+
"eval_samples_per_second": 17.397,
|
129 |
+
"eval_steps_per_second": 2.214,
|
130 |
+
"step": 128
|
131 |
+
},
|
132 |
+
{
|
133 |
+
"epoch": 4.064,
|
134 |
+
"grad_norm": 0.5145038962364197,
|
135 |
+
"learning_rate": 6.0890677937442574e-05,
|
136 |
+
"loss": 0.0916,
|
137 |
"step": 130
|
138 |
},
|
139 |
{
|
140 |
+
"epoch": 4.384,
|
141 |
+
"grad_norm": 0.47537460923194885,
|
142 |
+
"learning_rate": 5.5338394857677945e-05,
|
143 |
+
"loss": 0.1133,
|
144 |
"step": 140
|
145 |
},
|
146 |
{
|
147 |
+
"epoch": 4.704,
|
148 |
+
"grad_norm": 0.5391659736633301,
|
149 |
+
"learning_rate": 4.971849676912172e-05,
|
150 |
+
"loss": 0.0792,
|
151 |
"step": 150
|
152 |
},
|
153 |
{
|
154 |
+
"epoch": 5.0,
|
155 |
+
"grad_norm": 0.45107302069664,
|
156 |
+
"learning_rate": 4.410216414245771e-05,
|
157 |
+
"loss": 0.0612,
|
158 |
"step": 160
|
159 |
},
|
160 |
{
|
161 |
+
"epoch": 5.0,
|
162 |
+
"eval_accuracy": 0.9539307285858623,
|
163 |
+
"eval_loss": 0.2128402590751648,
|
164 |
+
"eval_runtime": 22.0764,
|
165 |
+
"eval_samples_per_second": 17.439,
|
166 |
+
"eval_steps_per_second": 2.22,
|
167 |
+
"step": 160
|
168 |
+
},
|
169 |
+
{
|
170 |
+
"epoch": 5.32,
|
171 |
+
"grad_norm": 0.42281967401504517,
|
172 |
+
"learning_rate": 3.856053228896442e-05,
|
173 |
+
"loss": 0.091,
|
174 |
"step": 170
|
175 |
},
|
176 |
{
|
177 |
+
"epoch": 5.64,
|
178 |
+
"grad_norm": 0.4220280945301056,
|
179 |
+
"learning_rate": 3.316379037532644e-05,
|
180 |
+
"loss": 0.0605,
|
181 |
"step": 180
|
182 |
},
|
183 |
{
|
184 |
+
"epoch": 5.96,
|
185 |
+
"grad_norm": 0.42120489478111267,
|
186 |
+
"learning_rate": 2.798029242211828e-05,
|
187 |
+
"loss": 0.0491,
|
188 |
"step": 190
|
189 |
},
|
190 |
{
|
191 |
+
"epoch": 6.0,
|
192 |
+
"eval_accuracy": 0.9549008431419458,
|
193 |
+
"eval_loss": 0.2168993204832077,
|
194 |
+
"eval_runtime": 22.0945,
|
195 |
+
"eval_samples_per_second": 17.425,
|
196 |
+
"eval_steps_per_second": 2.218,
|
197 |
+
"step": 192
|
198 |
+
},
|
199 |
+
{
|
200 |
+
"epoch": 6.256,
|
201 |
+
"grad_norm": 0.5049369931221008,
|
202 |
+
"learning_rate": 2.3075691545870558e-05,
|
203 |
+
"loss": 0.0648,
|
204 |
"step": 200
|
205 |
},
|
206 |
{
|
207 |
+
"epoch": 6.576,
|
208 |
+
"grad_norm": 0.30912792682647705,
|
209 |
+
"learning_rate": 1.8512108410229878e-05,
|
210 |
+
"loss": 0.0431,
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
211 |
"step": 210
|
212 |
},
|
213 |
{
|
214 |
+
"epoch": 6.896,
|
215 |
+
"grad_norm": 0.3820810616016388,
|
216 |
+
"learning_rate": 1.434734441843899e-05,
|
217 |
+
"loss": 0.0378,
|
218 |
"step": 220
|
219 |
},
|
220 |
{
|
221 |
+
"epoch": 7.0,
|
222 |
+
"eval_accuracy": 0.9584459654324948,
|
223 |
+
"eval_loss": 0.2166266143321991,
|
224 |
+
"eval_runtime": 22.0992,
|
225 |
+
"eval_samples_per_second": 17.421,
|
226 |
+
"eval_steps_per_second": 2.217,
|
227 |
+
"step": 224
|
228 |
+
},
|
229 |
+
{
|
230 |
+
"epoch": 7.192,
|
231 |
+
"grad_norm": 0.37598758935928345,
|
232 |
+
"learning_rate": 1.063414961267859e-05,
|
233 |
+
"loss": 0.0383,
|
234 |
"step": 230
|
235 |
},
|
236 |
{
|
237 |
+
"epoch": 7.5120000000000005,
|
238 |
+
"grad_norm": 0.4298418164253235,
|
239 |
+
"learning_rate": 7.41955455290726e-06,
|
240 |
+
"loss": 0.0415,
|
241 |
"step": 240
|
242 |
},
|
243 |
{
|
244 |
+
"epoch": 7.832,
|
245 |
+
"grad_norm": 0.2122349590063095,
|
246 |
+
"learning_rate": 4.744274637483936e-06,
|
247 |
+
"loss": 0.0294,
|
248 |
"step": 250
|
249 |
},
|
250 |
{
|
251 |
+
"epoch": 8.0,
|
252 |
+
"eval_accuracy": 0.958849415172974,
|
253 |
+
"eval_loss": 0.22243177890777588,
|
254 |
+
"eval_runtime": 22.0378,
|
255 |
+
"eval_samples_per_second": 17.47,
|
256 |
+
"eval_steps_per_second": 2.223,
|
257 |
+
"step": 256
|
258 |
+
},
|
259 |
+
{
|
260 |
+
"epoch": 8.128,
|
261 |
+
"grad_norm": 0.3120996654033661,
|
262 |
+
"learning_rate": 2.6421944103256657e-06,
|
263 |
+
"loss": 0.0265,
|
264 |
"step": 260
|
265 |
},
|
266 |
{
|
267 |
+
"epoch": 8.448,
|
268 |
+
"grad_norm": 0.21991710364818573,
|
269 |
+
"learning_rate": 1.1399383862592927e-06,
|
270 |
+
"loss": 0.0371,
|
271 |
"step": 270
|
272 |
},
|
273 |
{
|
274 |
+
"epoch": 8.768,
|
275 |
+
"grad_norm": 0.2127743661403656,
|
276 |
+
"learning_rate": 2.5653383040524227e-07,
|
277 |
+
"loss": 0.0215,
|
278 |
"step": 280
|
279 |
},
|
280 |
{
|
281 |
+
"epoch": 9.0,
|
282 |
+
"eval_accuracy": 0.9587168946755322,
|
283 |
+
"eval_loss": 0.22601914405822754,
|
284 |
+
"eval_runtime": 22.0034,
|
285 |
+
"eval_samples_per_second": 17.497,
|
286 |
+
"eval_steps_per_second": 2.227,
|
287 |
+
"step": 288
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
288 |
},
|
289 |
{
|
290 |
+
"epoch": 9.0,
|
291 |
+
"step": 288,
|
292 |
+
"total_flos": 3.408776235570954e+17,
|
293 |
+
"train_loss": 0.1565158217627969,
|
294 |
+
"train_runtime": 2068.3583,
|
295 |
+
"train_samples_per_second": 4.351,
|
296 |
+
"train_steps_per_second": 0.139
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
297 |
}
|
298 |
],
|
299 |
"logging_steps": 10,
|
300 |
+
"max_steps": 288,
|
301 |
"num_input_tokens_seen": 0,
|
302 |
"num_train_epochs": 9,
|
303 |
"save_steps": 500,
|
|
|
313 |
"attributes": {}
|
314 |
}
|
315 |
},
|
316 |
+
"total_flos": 3.408776235570954e+17,
|
317 |
"train_batch_size": 2,
|
318 |
"trial_name": null,
|
319 |
"trial_params": null
|
training_args.bin
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 6097
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:354801f367c7967ad9c20c19707170444d023f1315154f1bc295d4b4e5415688
|
3 |
size 6097
|
training_eval_accuracy.png
CHANGED
![]() |
![]() |
training_eval_loss.png
CHANGED
![]() |
![]() |
training_loss.png
CHANGED
![]() |
![]() |