Model save
Browse files- .gitattributes +1 -0
- README.md +72 -0
- adapter_config.json +31 -0
- adapter_model.safetensors +3 -0
- all_results.json +8 -0
- special_tokens_map.json +34 -0
- tokenizer.json +3 -0
- tokenizer_config.json +70 -0
- train_results.json +8 -0
- trainer_state.json +594 -0
- training_args.bin +3 -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,72 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: other
|
3 |
+
library_name: peft
|
4 |
+
tags:
|
5 |
+
- trl
|
6 |
+
- sft
|
7 |
+
- generated_from_trainer
|
8 |
+
base_model: google/gemma-7b
|
9 |
+
datasets:
|
10 |
+
- generator
|
11 |
+
model-index:
|
12 |
+
- name: gemma-sft-qlora
|
13 |
+
results: []
|
14 |
+
---
|
15 |
+
|
16 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
17 |
+
should probably proofread and complete it, then remove this comment. -->
|
18 |
+
|
19 |
+
# gemma-sft-qlora
|
20 |
+
|
21 |
+
This model is a fine-tuned version of [google/gemma-7b](https://huggingface.co/google/gemma-7b) on the generator dataset.
|
22 |
+
It achieves the following results on the evaluation set:
|
23 |
+
- Loss: 0.6385
|
24 |
+
|
25 |
+
## Model description
|
26 |
+
|
27 |
+
More information needed
|
28 |
+
|
29 |
+
## Intended uses & limitations
|
30 |
+
|
31 |
+
More information needed
|
32 |
+
|
33 |
+
## Training and evaluation data
|
34 |
+
|
35 |
+
More information needed
|
36 |
+
|
37 |
+
## Training procedure
|
38 |
+
|
39 |
+
### Training hyperparameters
|
40 |
+
|
41 |
+
The following hyperparameters were used during training:
|
42 |
+
- learning_rate: 0.0002
|
43 |
+
- train_batch_size: 1
|
44 |
+
- eval_batch_size: 1
|
45 |
+
- seed: 42
|
46 |
+
- distributed_type: multi-GPU
|
47 |
+
- num_devices: 8
|
48 |
+
- gradient_accumulation_steps: 8
|
49 |
+
- total_train_batch_size: 64
|
50 |
+
- total_eval_batch_size: 8
|
51 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
52 |
+
- lr_scheduler_type: cosine
|
53 |
+
- lr_scheduler_warmup_ratio: 0.1
|
54 |
+
- num_epochs: 4
|
55 |
+
|
56 |
+
### Training results
|
57 |
+
|
58 |
+
| Training Loss | Epoch | Step | Validation Loss |
|
59 |
+
|:-------------:|:-----:|:----:|:---------------:|
|
60 |
+
| 1.1537 | 0.99 | 94 | 1.0988 |
|
61 |
+
| 0.9028 | 1.99 | 189 | 0.8056 |
|
62 |
+
| 0.6553 | 2.99 | 284 | 0.6577 |
|
63 |
+
| 0.4936 | 3.96 | 376 | 0.6385 |
|
64 |
+
|
65 |
+
|
66 |
+
### Framework versions
|
67 |
+
|
68 |
+
- PEFT 0.7.1
|
69 |
+
- Transformers 4.38.2
|
70 |
+
- Pytorch 2.1.2+cu121
|
71 |
+
- Datasets 2.14.6
|
72 |
+
- Tokenizers 0.15.2
|
adapter_config.json
ADDED
@@ -0,0 +1,31 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"alpha_pattern": {},
|
3 |
+
"auto_mapping": null,
|
4 |
+
"base_model_name_or_path": "google/gemma-7b",
|
5 |
+
"bias": "none",
|
6 |
+
"fan_in_fan_out": false,
|
7 |
+
"inference_mode": true,
|
8 |
+
"init_lora_weights": true,
|
9 |
+
"layers_pattern": null,
|
10 |
+
"layers_to_transform": null,
|
11 |
+
"loftq_config": {},
|
12 |
+
"lora_alpha": 128,
|
13 |
+
"lora_dropout": 0.05,
|
14 |
+
"megatron_config": null,
|
15 |
+
"megatron_core": "megatron.core",
|
16 |
+
"modules_to_save": null,
|
17 |
+
"peft_type": "LORA",
|
18 |
+
"r": 64,
|
19 |
+
"rank_pattern": {},
|
20 |
+
"revision": null,
|
21 |
+
"target_modules": [
|
22 |
+
"k_proj",
|
23 |
+
"up_proj",
|
24 |
+
"down_proj",
|
25 |
+
"q_proj",
|
26 |
+
"o_proj",
|
27 |
+
"gate_proj",
|
28 |
+
"v_proj"
|
29 |
+
],
|
30 |
+
"task_type": "CAUSAL_LM"
|
31 |
+
}
|
adapter_model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:105d8a96cdc779ce2547c55667b173aff3eb1abeb3f0d0f542bda56e8a4fdf96
|
3 |
+
size 400085000
|
all_results.json
ADDED
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 3.96,
|
3 |
+
"train_loss": 1.1451922758938151,
|
4 |
+
"train_runtime": 4455.6354,
|
5 |
+
"train_samples": 19966,
|
6 |
+
"train_samples_per_second": 5.447,
|
7 |
+
"train_steps_per_second": 0.084
|
8 |
+
}
|
special_tokens_map.json
ADDED
@@ -0,0 +1,34 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"additional_special_tokens": [
|
3 |
+
"<|im_start|>",
|
4 |
+
"<|im_end|>"
|
5 |
+
],
|
6 |
+
"bos_token": {
|
7 |
+
"content": "<bos>",
|
8 |
+
"lstrip": false,
|
9 |
+
"normalized": false,
|
10 |
+
"rstrip": false,
|
11 |
+
"single_word": false
|
12 |
+
},
|
13 |
+
"eos_token": {
|
14 |
+
"content": "<eos>",
|
15 |
+
"lstrip": false,
|
16 |
+
"normalized": false,
|
17 |
+
"rstrip": false,
|
18 |
+
"single_word": false
|
19 |
+
},
|
20 |
+
"pad_token": {
|
21 |
+
"content": "<pad>",
|
22 |
+
"lstrip": false,
|
23 |
+
"normalized": false,
|
24 |
+
"rstrip": false,
|
25 |
+
"single_word": false
|
26 |
+
},
|
27 |
+
"unk_token": {
|
28 |
+
"content": "<unk>",
|
29 |
+
"lstrip": false,
|
30 |
+
"normalized": false,
|
31 |
+
"rstrip": false,
|
32 |
+
"single_word": false
|
33 |
+
}
|
34 |
+
}
|
tokenizer.json
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:22449cb9ef4bad0db7dd93b46ddff7ab7d6a654dd4f903e130ddb6361eac3af5
|
3 |
+
size 17477473
|
tokenizer_config.json
ADDED
@@ -0,0 +1,70 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"add_bos_token": false,
|
3 |
+
"add_eos_token": false,
|
4 |
+
"added_tokens_decoder": {
|
5 |
+
"0": {
|
6 |
+
"content": "<pad>",
|
7 |
+
"lstrip": false,
|
8 |
+
"normalized": false,
|
9 |
+
"rstrip": false,
|
10 |
+
"single_word": false,
|
11 |
+
"special": true
|
12 |
+
},
|
13 |
+
"1": {
|
14 |
+
"content": "<eos>",
|
15 |
+
"lstrip": false,
|
16 |
+
"normalized": false,
|
17 |
+
"rstrip": false,
|
18 |
+
"single_word": false,
|
19 |
+
"special": true
|
20 |
+
},
|
21 |
+
"2": {
|
22 |
+
"content": "<bos>",
|
23 |
+
"lstrip": false,
|
24 |
+
"normalized": false,
|
25 |
+
"rstrip": false,
|
26 |
+
"single_word": false,
|
27 |
+
"special": true
|
28 |
+
},
|
29 |
+
"3": {
|
30 |
+
"content": "<unk>",
|
31 |
+
"lstrip": false,
|
32 |
+
"normalized": false,
|
33 |
+
"rstrip": false,
|
34 |
+
"single_word": false,
|
35 |
+
"special": true
|
36 |
+
},
|
37 |
+
"106": {
|
38 |
+
"content": "<|im_start|>",
|
39 |
+
"lstrip": false,
|
40 |
+
"normalized": false,
|
41 |
+
"rstrip": false,
|
42 |
+
"single_word": false,
|
43 |
+
"special": true
|
44 |
+
},
|
45 |
+
"107": {
|
46 |
+
"content": "<|im_end|>",
|
47 |
+
"lstrip": false,
|
48 |
+
"normalized": false,
|
49 |
+
"rstrip": false,
|
50 |
+
"single_word": false,
|
51 |
+
"special": true
|
52 |
+
}
|
53 |
+
},
|
54 |
+
"additional_special_tokens": [
|
55 |
+
"<|im_start|>",
|
56 |
+
"<|im_end|>"
|
57 |
+
],
|
58 |
+
"bos_token": "<bos>",
|
59 |
+
"chat_template": "{% if messages[0]['role'] == 'user' or messages[0]['role'] == 'system' %}{{ bos_token }}{% endif %}{% for message in messages %}{{ '<|im_start|>' + message['role'] + '\n' + message['content'] + '<|im_end|>' + '\n' }}{% endfor %}{% if add_generation_prompt %}{{ '<|im_start|>assistant\n' }}{% elif messages[-1]['role'] == 'assistant' %}{{ eos_token }}{% endif %}",
|
60 |
+
"clean_up_tokenization_spaces": false,
|
61 |
+
"eos_token": "<eos>",
|
62 |
+
"legacy": null,
|
63 |
+
"model_max_length": 2048,
|
64 |
+
"pad_token": "<pad>",
|
65 |
+
"sp_model_kwargs": {},
|
66 |
+
"spaces_between_special_tokens": false,
|
67 |
+
"tokenizer_class": "GemmaTokenizer",
|
68 |
+
"unk_token": "<unk>",
|
69 |
+
"use_default_system_prompt": false
|
70 |
+
}
|
train_results.json
ADDED
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 3.96,
|
3 |
+
"train_loss": 1.1451922758938151,
|
4 |
+
"train_runtime": 4455.6354,
|
5 |
+
"train_samples": 19966,
|
6 |
+
"train_samples_per_second": 5.447,
|
7 |
+
"train_steps_per_second": 0.084
|
8 |
+
}
|
trainer_state.json
ADDED
@@ -0,0 +1,594 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"best_metric": null,
|
3 |
+
"best_model_checkpoint": null,
|
4 |
+
"epoch": 3.963109354413702,
|
5 |
+
"eval_steps": 500,
|
6 |
+
"global_step": 376,
|
7 |
+
"is_hyper_param_search": false,
|
8 |
+
"is_local_process_zero": true,
|
9 |
+
"is_world_process_zero": true,
|
10 |
+
"log_history": [
|
11 |
+
{
|
12 |
+
"epoch": 0.01,
|
13 |
+
"grad_norm": 476.0,
|
14 |
+
"learning_rate": 5.263157894736842e-06,
|
15 |
+
"loss": 13.5076,
|
16 |
+
"step": 1
|
17 |
+
},
|
18 |
+
{
|
19 |
+
"epoch": 0.05,
|
20 |
+
"grad_norm": 27.125,
|
21 |
+
"learning_rate": 2.6315789473684212e-05,
|
22 |
+
"loss": 10.3382,
|
23 |
+
"step": 5
|
24 |
+
},
|
25 |
+
{
|
26 |
+
"epoch": 0.11,
|
27 |
+
"grad_norm": 7.09375,
|
28 |
+
"learning_rate": 5.2631578947368424e-05,
|
29 |
+
"loss": 6.5621,
|
30 |
+
"step": 10
|
31 |
+
},
|
32 |
+
{
|
33 |
+
"epoch": 0.16,
|
34 |
+
"grad_norm": 5.09375,
|
35 |
+
"learning_rate": 7.894736842105263e-05,
|
36 |
+
"loss": 5.4048,
|
37 |
+
"step": 15
|
38 |
+
},
|
39 |
+
{
|
40 |
+
"epoch": 0.21,
|
41 |
+
"grad_norm": 13.625,
|
42 |
+
"learning_rate": 0.00010526315789473685,
|
43 |
+
"loss": 3.8714,
|
44 |
+
"step": 20
|
45 |
+
},
|
46 |
+
{
|
47 |
+
"epoch": 0.26,
|
48 |
+
"grad_norm": 4.3125,
|
49 |
+
"learning_rate": 0.00013157894736842108,
|
50 |
+
"loss": 1.907,
|
51 |
+
"step": 25
|
52 |
+
},
|
53 |
+
{
|
54 |
+
"epoch": 0.32,
|
55 |
+
"grad_norm": 2.484375,
|
56 |
+
"learning_rate": 0.00015789473684210527,
|
57 |
+
"loss": 1.7156,
|
58 |
+
"step": 30
|
59 |
+
},
|
60 |
+
{
|
61 |
+
"epoch": 0.37,
|
62 |
+
"grad_norm": 1.71875,
|
63 |
+
"learning_rate": 0.00018421052631578948,
|
64 |
+
"loss": 1.5905,
|
65 |
+
"step": 35
|
66 |
+
},
|
67 |
+
{
|
68 |
+
"epoch": 0.42,
|
69 |
+
"grad_norm": 1.4375,
|
70 |
+
"learning_rate": 0.00019998272238333606,
|
71 |
+
"loss": 1.4996,
|
72 |
+
"step": 40
|
73 |
+
},
|
74 |
+
{
|
75 |
+
"epoch": 0.47,
|
76 |
+
"grad_norm": 1.2109375,
|
77 |
+
"learning_rate": 0.00019978841775475367,
|
78 |
+
"loss": 1.424,
|
79 |
+
"step": 45
|
80 |
+
},
|
81 |
+
{
|
82 |
+
"epoch": 0.53,
|
83 |
+
"grad_norm": 2.515625,
|
84 |
+
"learning_rate": 0.00019937863245275304,
|
85 |
+
"loss": 1.3526,
|
86 |
+
"step": 50
|
87 |
+
},
|
88 |
+
{
|
89 |
+
"epoch": 0.58,
|
90 |
+
"grad_norm": 1.6953125,
|
91 |
+
"learning_rate": 0.0001987542513577122,
|
92 |
+
"loss": 1.3334,
|
93 |
+
"step": 55
|
94 |
+
},
|
95 |
+
{
|
96 |
+
"epoch": 0.63,
|
97 |
+
"grad_norm": 2.3125,
|
98 |
+
"learning_rate": 0.00019791662274292637,
|
99 |
+
"loss": 1.2863,
|
100 |
+
"step": 60
|
101 |
+
},
|
102 |
+
{
|
103 |
+
"epoch": 0.69,
|
104 |
+
"grad_norm": 0.91015625,
|
105 |
+
"learning_rate": 0.00019686755536317945,
|
106 |
+
"loss": 1.2384,
|
107 |
+
"step": 65
|
108 |
+
},
|
109 |
+
{
|
110 |
+
"epoch": 0.74,
|
111 |
+
"grad_norm": 0.99609375,
|
112 |
+
"learning_rate": 0.00019560931454896298,
|
113 |
+
"loss": 1.2248,
|
114 |
+
"step": 70
|
115 |
+
},
|
116 |
+
{
|
117 |
+
"epoch": 0.79,
|
118 |
+
"grad_norm": 0.73046875,
|
119 |
+
"learning_rate": 0.000194144617314777,
|
120 |
+
"loss": 1.1772,
|
121 |
+
"step": 75
|
122 |
+
},
|
123 |
+
{
|
124 |
+
"epoch": 0.84,
|
125 |
+
"grad_norm": 0.58203125,
|
126 |
+
"learning_rate": 0.0001924766264920751,
|
127 |
+
"loss": 1.1654,
|
128 |
+
"step": 80
|
129 |
+
},
|
130 |
+
{
|
131 |
+
"epoch": 0.9,
|
132 |
+
"grad_norm": 0.74609375,
|
133 |
+
"learning_rate": 0.00019060894389952328,
|
134 |
+
"loss": 1.1382,
|
135 |
+
"step": 85
|
136 |
+
},
|
137 |
+
{
|
138 |
+
"epoch": 0.95,
|
139 |
+
"grad_norm": 0.78515625,
|
140 |
+
"learning_rate": 0.000188545602565321,
|
141 |
+
"loss": 1.1537,
|
142 |
+
"step": 90
|
143 |
+
},
|
144 |
+
{
|
145 |
+
"epoch": 0.99,
|
146 |
+
"eval_loss": 1.0988351106643677,
|
147 |
+
"eval_runtime": 16.9422,
|
148 |
+
"eval_samples_per_second": 16.822,
|
149 |
+
"eval_steps_per_second": 2.125,
|
150 |
+
"step": 94
|
151 |
+
},
|
152 |
+
{
|
153 |
+
"epoch": 1.0,
|
154 |
+
"grad_norm": 0.65625,
|
155 |
+
"learning_rate": 0.00018629105801837818,
|
156 |
+
"loss": 1.1162,
|
157 |
+
"step": 95
|
158 |
+
},
|
159 |
+
{
|
160 |
+
"epoch": 1.05,
|
161 |
+
"grad_norm": 0.84375,
|
162 |
+
"learning_rate": 0.00018385017866715507,
|
163 |
+
"loss": 0.9838,
|
164 |
+
"step": 100
|
165 |
+
},
|
166 |
+
{
|
167 |
+
"epoch": 1.11,
|
168 |
+
"grad_norm": 0.61328125,
|
169 |
+
"learning_rate": 0.00018122823528693966,
|
170 |
+
"loss": 0.9895,
|
171 |
+
"step": 105
|
172 |
+
},
|
173 |
+
{
|
174 |
+
"epoch": 1.16,
|
175 |
+
"grad_norm": 0.8359375,
|
176 |
+
"learning_rate": 0.00017843088963826435,
|
177 |
+
"loss": 0.9588,
|
178 |
+
"step": 110
|
179 |
+
},
|
180 |
+
{
|
181 |
+
"epoch": 1.21,
|
182 |
+
"grad_norm": 0.74609375,
|
183 |
+
"learning_rate": 0.00017546418224103838,
|
184 |
+
"loss": 0.9304,
|
185 |
+
"step": 115
|
186 |
+
},
|
187 |
+
{
|
188 |
+
"epoch": 1.26,
|
189 |
+
"grad_norm": 0.63671875,
|
190 |
+
"learning_rate": 0.00017233451933079664,
|
191 |
+
"loss": 0.9315,
|
192 |
+
"step": 120
|
193 |
+
},
|
194 |
+
{
|
195 |
+
"epoch": 1.32,
|
196 |
+
"grad_norm": 0.53125,
|
197 |
+
"learning_rate": 0.00016904865902523096,
|
198 |
+
"loss": 0.9869,
|
199 |
+
"step": 125
|
200 |
+
},
|
201 |
+
{
|
202 |
+
"epoch": 1.37,
|
203 |
+
"grad_norm": 0.796875,
|
204 |
+
"learning_rate": 0.00016561369673087588,
|
205 |
+
"loss": 0.9399,
|
206 |
+
"step": 130
|
207 |
+
},
|
208 |
+
{
|
209 |
+
"epoch": 1.42,
|
210 |
+
"grad_norm": 0.75390625,
|
211 |
+
"learning_rate": 0.00016203704982146073,
|
212 |
+
"loss": 0.9061,
|
213 |
+
"step": 135
|
214 |
+
},
|
215 |
+
{
|
216 |
+
"epoch": 1.48,
|
217 |
+
"grad_norm": 2.296875,
|
218 |
+
"learning_rate": 0.00015832644162101417,
|
219 |
+
"loss": 0.9537,
|
220 |
+
"step": 140
|
221 |
+
},
|
222 |
+
{
|
223 |
+
"epoch": 1.53,
|
224 |
+
"grad_norm": 0.6875,
|
225 |
+
"learning_rate": 0.00015448988472630654,
|
226 |
+
"loss": 0.9107,
|
227 |
+
"step": 145
|
228 |
+
},
|
229 |
+
{
|
230 |
+
"epoch": 1.58,
|
231 |
+
"grad_norm": 0.61328125,
|
232 |
+
"learning_rate": 0.00015053566370464415,
|
233 |
+
"loss": 0.9483,
|
234 |
+
"step": 150
|
235 |
+
},
|
236 |
+
{
|
237 |
+
"epoch": 1.63,
|
238 |
+
"grad_norm": 0.7265625,
|
239 |
+
"learning_rate": 0.00014647231720437686,
|
240 |
+
"loss": 0.9075,
|
241 |
+
"step": 155
|
242 |
+
},
|
243 |
+
{
|
244 |
+
"epoch": 1.69,
|
245 |
+
"grad_norm": 0.53515625,
|
246 |
+
"learning_rate": 0.00014230861951674913,
|
247 |
+
"loss": 0.9148,
|
248 |
+
"step": 160
|
249 |
+
},
|
250 |
+
{
|
251 |
+
"epoch": 1.74,
|
252 |
+
"grad_norm": 0.51171875,
|
253 |
+
"learning_rate": 0.0001380535616289099,
|
254 |
+
"loss": 0.9142,
|
255 |
+
"step": 165
|
256 |
+
},
|
257 |
+
{
|
258 |
+
"epoch": 1.79,
|
259 |
+
"grad_norm": 0.5703125,
|
260 |
+
"learning_rate": 0.00013371633180899416,
|
261 |
+
"loss": 0.8966,
|
262 |
+
"step": 170
|
263 |
+
},
|
264 |
+
{
|
265 |
+
"epoch": 1.84,
|
266 |
+
"grad_norm": 0.53515625,
|
267 |
+
"learning_rate": 0.00012930629576520132,
|
268 |
+
"loss": 0.8795,
|
269 |
+
"step": 175
|
270 |
+
},
|
271 |
+
{
|
272 |
+
"epoch": 1.9,
|
273 |
+
"grad_norm": 0.609375,
|
274 |
+
"learning_rate": 0.00012483297642171333,
|
275 |
+
"loss": 0.8548,
|
276 |
+
"step": 180
|
277 |
+
},
|
278 |
+
{
|
279 |
+
"epoch": 1.95,
|
280 |
+
"grad_norm": 0.53515625,
|
281 |
+
"learning_rate": 0.00012030603335512468,
|
282 |
+
"loss": 0.9028,
|
283 |
+
"step": 185
|
284 |
+
},
|
285 |
+
{
|
286 |
+
"epoch": 1.99,
|
287 |
+
"eval_loss": 0.8055516481399536,
|
288 |
+
"eval_runtime": 16.4906,
|
289 |
+
"eval_samples_per_second": 17.283,
|
290 |
+
"eval_steps_per_second": 2.183,
|
291 |
+
"step": 189
|
292 |
+
},
|
293 |
+
{
|
294 |
+
"epoch": 2.0,
|
295 |
+
"grad_norm": 0.58203125,
|
296 |
+
"learning_rate": 0.00011573524193578863,
|
297 |
+
"loss": 0.8422,
|
298 |
+
"step": 190
|
299 |
+
},
|
300 |
+
{
|
301 |
+
"epoch": 2.06,
|
302 |
+
"grad_norm": 0.57421875,
|
303 |
+
"learning_rate": 0.00011113047221912096,
|
304 |
+
"loss": 0.7173,
|
305 |
+
"step": 195
|
306 |
+
},
|
307 |
+
{
|
308 |
+
"epoch": 2.11,
|
309 |
+
"grad_norm": 0.52734375,
|
310 |
+
"learning_rate": 0.0001065016676324433,
|
311 |
+
"loss": 0.6956,
|
312 |
+
"step": 200
|
313 |
+
},
|
314 |
+
{
|
315 |
+
"epoch": 2.16,
|
316 |
+
"grad_norm": 0.53125,
|
317 |
+
"learning_rate": 0.0001018588235033888,
|
318 |
+
"loss": 0.6894,
|
319 |
+
"step": 205
|
320 |
+
},
|
321 |
+
{
|
322 |
+
"epoch": 2.21,
|
323 |
+
"grad_norm": 0.54296875,
|
324 |
+
"learning_rate": 9.721196547623584e-05,
|
325 |
+
"loss": 0.6804,
|
326 |
+
"step": 210
|
327 |
+
},
|
328 |
+
{
|
329 |
+
"epoch": 2.27,
|
330 |
+
"grad_norm": 0.4765625,
|
331 |
+
"learning_rate": 9.257112786277631e-05,
|
332 |
+
"loss": 0.6327,
|
333 |
+
"step": 215
|
334 |
+
},
|
335 |
+
{
|
336 |
+
"epoch": 2.32,
|
337 |
+
"grad_norm": 0.51953125,
|
338 |
+
"learning_rate": 8.79463319744677e-05,
|
339 |
+
"loss": 0.637,
|
340 |
+
"step": 220
|
341 |
+
},
|
342 |
+
{
|
343 |
+
"epoch": 2.37,
|
344 |
+
"grad_norm": 0.53125,
|
345 |
+
"learning_rate": 8.334756448265781e-05,
|
346 |
+
"loss": 0.6765,
|
347 |
+
"step": 225
|
348 |
+
},
|
349 |
+
{
|
350 |
+
"epoch": 2.42,
|
351 |
+
"grad_norm": 0.51953125,
|
352 |
+
"learning_rate": 7.878475585361045e-05,
|
353 |
+
"loss": 0.6518,
|
354 |
+
"step": 230
|
355 |
+
},
|
356 |
+
{
|
357 |
+
"epoch": 2.48,
|
358 |
+
"grad_norm": 0.5390625,
|
359 |
+
"learning_rate": 7.42677589048989e-05,
|
360 |
+
"loss": 0.6535,
|
361 |
+
"step": 235
|
362 |
+
},
|
363 |
+
{
|
364 |
+
"epoch": 2.53,
|
365 |
+
"grad_norm": 0.5078125,
|
366 |
+
"learning_rate": 6.98063275294722e-05,
|
367 |
+
"loss": 0.6311,
|
368 |
+
"step": 240
|
369 |
+
},
|
370 |
+
{
|
371 |
+
"epoch": 2.58,
|
372 |
+
"grad_norm": 0.52734375,
|
373 |
+
"learning_rate": 6.54100956333369e-05,
|
374 |
+
"loss": 0.6438,
|
375 |
+
"step": 245
|
376 |
+
},
|
377 |
+
{
|
378 |
+
"epoch": 2.64,
|
379 |
+
"grad_norm": 0.55859375,
|
380 |
+
"learning_rate": 6.108855633233546e-05,
|
381 |
+
"loss": 0.6366,
|
382 |
+
"step": 250
|
383 |
+
},
|
384 |
+
{
|
385 |
+
"epoch": 2.69,
|
386 |
+
"grad_norm": 0.51171875,
|
387 |
+
"learning_rate": 5.6851041452943646e-05,
|
388 |
+
"loss": 0.627,
|
389 |
+
"step": 255
|
390 |
+
},
|
391 |
+
{
|
392 |
+
"epoch": 2.74,
|
393 |
+
"grad_norm": 0.498046875,
|
394 |
+
"learning_rate": 5.270670138135234e-05,
|
395 |
+
"loss": 0.6359,
|
396 |
+
"step": 260
|
397 |
+
},
|
398 |
+
{
|
399 |
+
"epoch": 2.79,
|
400 |
+
"grad_norm": 0.49609375,
|
401 |
+
"learning_rate": 4.866448530434692e-05,
|
402 |
+
"loss": 0.6727,
|
403 |
+
"step": 265
|
404 |
+
},
|
405 |
+
{
|
406 |
+
"epoch": 2.85,
|
407 |
+
"grad_norm": 0.49609375,
|
408 |
+
"learning_rate": 4.4733121884651664e-05,
|
409 |
+
"loss": 0.6406,
|
410 |
+
"step": 270
|
411 |
+
},
|
412 |
+
{
|
413 |
+
"epoch": 2.9,
|
414 |
+
"grad_norm": 0.54296875,
|
415 |
+
"learning_rate": 4.092110041246865e-05,
|
416 |
+
"loss": 0.6535,
|
417 |
+
"step": 275
|
418 |
+
},
|
419 |
+
{
|
420 |
+
"epoch": 2.95,
|
421 |
+
"grad_norm": 0.48046875,
|
422 |
+
"learning_rate": 3.7236652473911814e-05,
|
423 |
+
"loss": 0.6553,
|
424 |
+
"step": 280
|
425 |
+
},
|
426 |
+
{
|
427 |
+
"epoch": 2.99,
|
428 |
+
"eval_loss": 0.6577403545379639,
|
429 |
+
"eval_runtime": 16.6273,
|
430 |
+
"eval_samples_per_second": 17.141,
|
431 |
+
"eval_steps_per_second": 2.165,
|
432 |
+
"step": 284
|
433 |
+
},
|
434 |
+
{
|
435 |
+
"epoch": 3.0,
|
436 |
+
"grad_norm": 0.578125,
|
437 |
+
"learning_rate": 3.36877341759205e-05,
|
438 |
+
"loss": 0.6292,
|
439 |
+
"step": 285
|
440 |
+
},
|
441 |
+
{
|
442 |
+
"epoch": 3.06,
|
443 |
+
"grad_norm": 0.7421875,
|
444 |
+
"learning_rate": 3.0282008966036646e-05,
|
445 |
+
"loss": 0.4973,
|
446 |
+
"step": 290
|
447 |
+
},
|
448 |
+
{
|
449 |
+
"epoch": 3.11,
|
450 |
+
"grad_norm": 0.54296875,
|
451 |
+
"learning_rate": 2.7026831084143255e-05,
|
452 |
+
"loss": 0.4967,
|
453 |
+
"step": 295
|
454 |
+
},
|
455 |
+
{
|
456 |
+
"epoch": 3.16,
|
457 |
+
"grad_norm": 0.5234375,
|
458 |
+
"learning_rate": 2.3929229681898003e-05,
|
459 |
+
"loss": 0.5102,
|
460 |
+
"step": 300
|
461 |
+
},
|
462 |
+
{
|
463 |
+
"epoch": 3.21,
|
464 |
+
"grad_norm": 0.50390625,
|
465 |
+
"learning_rate": 2.0995893644155008e-05,
|
466 |
+
"loss": 0.4894,
|
467 |
+
"step": 305
|
468 |
+
},
|
469 |
+
{
|
470 |
+
"epoch": 3.27,
|
471 |
+
"grad_norm": 0.515625,
|
472 |
+
"learning_rate": 1.823315714515018e-05,
|
473 |
+
"loss": 0.5026,
|
474 |
+
"step": 310
|
475 |
+
},
|
476 |
+
{
|
477 |
+
"epoch": 3.32,
|
478 |
+
"grad_norm": 0.49609375,
|
479 |
+
"learning_rate": 1.5646985970639717e-05,
|
480 |
+
"loss": 0.4853,
|
481 |
+
"step": 315
|
482 |
+
},
|
483 |
+
{
|
484 |
+
"epoch": 3.37,
|
485 |
+
"grad_norm": 0.50390625,
|
486 |
+
"learning_rate": 1.324296463552821e-05,
|
487 |
+
"loss": 0.483,
|
488 |
+
"step": 320
|
489 |
+
},
|
490 |
+
{
|
491 |
+
"epoch": 3.43,
|
492 |
+
"grad_norm": 0.4921875,
|
493 |
+
"learning_rate": 1.1026284324803494e-05,
|
494 |
+
"loss": 0.5077,
|
495 |
+
"step": 325
|
496 |
+
},
|
497 |
+
{
|
498 |
+
"epoch": 3.48,
|
499 |
+
"grad_norm": 0.51953125,
|
500 |
+
"learning_rate": 9.001731683818337e-06,
|
501 |
+
"loss": 0.5099,
|
502 |
+
"step": 330
|
503 |
+
},
|
504 |
+
{
|
505 |
+
"epoch": 3.53,
|
506 |
+
"grad_norm": 0.50390625,
|
507 |
+
"learning_rate": 7.17367848212539e-06,
|
508 |
+
"loss": 0.4787,
|
509 |
+
"step": 335
|
510 |
+
},
|
511 |
+
{
|
512 |
+
"epoch": 3.58,
|
513 |
+
"grad_norm": 0.5078125,
|
514 |
+
"learning_rate": 5.546072173184791e-06,
|
515 |
+
"loss": 0.4859,
|
516 |
+
"step": 340
|
517 |
+
},
|
518 |
+
{
|
519 |
+
"epoch": 3.64,
|
520 |
+
"grad_norm": 0.5,
|
521 |
+
"learning_rate": 4.1224273703294514e-06,
|
522 |
+
"loss": 0.5011,
|
523 |
+
"step": 345
|
524 |
+
},
|
525 |
+
{
|
526 |
+
"epoch": 3.69,
|
527 |
+
"grad_norm": 0.5078125,
|
528 |
+
"learning_rate": 2.905818257394799e-06,
|
529 |
+
"loss": 0.5044,
|
530 |
+
"step": 350
|
531 |
+
},
|
532 |
+
{
|
533 |
+
"epoch": 3.74,
|
534 |
+
"grad_norm": 0.5078125,
|
535 |
+
"learning_rate": 1.8988719504013374e-06,
|
536 |
+
"loss": 0.4728,
|
537 |
+
"step": 355
|
538 |
+
},
|
539 |
+
{
|
540 |
+
"epoch": 3.79,
|
541 |
+
"grad_norm": 0.51171875,
|
542 |
+
"learning_rate": 1.103762824624377e-06,
|
543 |
+
"loss": 0.5035,
|
544 |
+
"step": 360
|
545 |
+
},
|
546 |
+
{
|
547 |
+
"epoch": 3.85,
|
548 |
+
"grad_norm": 0.498046875,
|
549 |
+
"learning_rate": 5.222078193011126e-07,
|
550 |
+
"loss": 0.4899,
|
551 |
+
"step": 365
|
552 |
+
},
|
553 |
+
{
|
554 |
+
"epoch": 3.9,
|
555 |
+
"grad_norm": 0.50390625,
|
556 |
+
"learning_rate": 1.554627301140199e-07,
|
557 |
+
"loss": 0.4906,
|
558 |
+
"step": 370
|
559 |
+
},
|
560 |
+
{
|
561 |
+
"epoch": 3.95,
|
562 |
+
"grad_norm": 0.4921875,
|
563 |
+
"learning_rate": 4.319497456273247e-09,
|
564 |
+
"loss": 0.4936,
|
565 |
+
"step": 375
|
566 |
+
},
|
567 |
+
{
|
568 |
+
"epoch": 3.96,
|
569 |
+
"eval_loss": 0.6385390162467957,
|
570 |
+
"eval_runtime": 16.4691,
|
571 |
+
"eval_samples_per_second": 17.305,
|
572 |
+
"eval_steps_per_second": 2.186,
|
573 |
+
"step": 376
|
574 |
+
},
|
575 |
+
{
|
576 |
+
"epoch": 3.96,
|
577 |
+
"step": 376,
|
578 |
+
"total_flos": 2.3511765822965023e+18,
|
579 |
+
"train_loss": 1.1451922758938151,
|
580 |
+
"train_runtime": 4455.6354,
|
581 |
+
"train_samples_per_second": 5.447,
|
582 |
+
"train_steps_per_second": 0.084
|
583 |
+
}
|
584 |
+
],
|
585 |
+
"logging_steps": 5,
|
586 |
+
"max_steps": 376,
|
587 |
+
"num_input_tokens_seen": 0,
|
588 |
+
"num_train_epochs": 4,
|
589 |
+
"save_steps": 500,
|
590 |
+
"total_flos": 2.3511765822965023e+18,
|
591 |
+
"train_batch_size": 1,
|
592 |
+
"trial_name": null,
|
593 |
+
"trial_params": null
|
594 |
+
}
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:56e7fb5099c7450d0550aba7d28cdae115731464c496fdcfe8530b4a5862f74b
|
3 |
+
size 5048
|