End of training
Browse files- README.md +59 -0
- adapter_model.safetensors +1 -1
- all_results.json +8 -0
- runs/Mar30_23-17-37_ae9751f0a8f7/events.out.tfevents.1711840657.ae9751f0a8f7.1547.1 +2 -2
- runs/Mar30_23-17-37_ae9751f0a8f7/events.out.tfevents.1711847454.ae9751f0a8f7.1547.2 +3 -0
- train_results.json +8 -0
- trainer_state.json +226 -0
README.md
ADDED
@@ -0,0 +1,59 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
library_name: peft
|
3 |
+
tags:
|
4 |
+
- generated_from_trainer
|
5 |
+
base_model: meta-llama/Llama-2-7b-chat-hf
|
6 |
+
model-index:
|
7 |
+
- name: fine_tuned_llama2_7b
|
8 |
+
results: []
|
9 |
+
---
|
10 |
+
|
11 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
12 |
+
should probably proofread and complete it, then remove this comment. -->
|
13 |
+
|
14 |
+
# fine_tuned_llama2_7b
|
15 |
+
|
16 |
+
This model is a fine-tuned version of [meta-llama/Llama-2-7b-chat-hf](https://huggingface.co/meta-llama/Llama-2-7b-chat-hf) on an unknown dataset.
|
17 |
+
It achieves the following results on the evaluation set:
|
18 |
+
- Loss: 2.3496
|
19 |
+
|
20 |
+
## Model description
|
21 |
+
|
22 |
+
More information needed
|
23 |
+
|
24 |
+
## Intended uses & limitations
|
25 |
+
|
26 |
+
More information needed
|
27 |
+
|
28 |
+
## Training and evaluation data
|
29 |
+
|
30 |
+
More information needed
|
31 |
+
|
32 |
+
## Training procedure
|
33 |
+
|
34 |
+
### Training hyperparameters
|
35 |
+
|
36 |
+
The following hyperparameters were used during training:
|
37 |
+
- learning_rate: 2e-05
|
38 |
+
- train_batch_size: 1
|
39 |
+
- eval_batch_size: 8
|
40 |
+
- seed: 42
|
41 |
+
- gradient_accumulation_steps: 4
|
42 |
+
- total_train_batch_size: 4
|
43 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
44 |
+
- lr_scheduler_type: cosine
|
45 |
+
- lr_scheduler_warmup_ratio: 0.1
|
46 |
+
- num_epochs: 1
|
47 |
+
- mixed_precision_training: Native AMP
|
48 |
+
|
49 |
+
### Training results
|
50 |
+
|
51 |
+
|
52 |
+
|
53 |
+
### Framework versions
|
54 |
+
|
55 |
+
- PEFT 0.10.0
|
56 |
+
- Transformers 4.38.2
|
57 |
+
- Pytorch 2.2.1+cu121
|
58 |
+
- Datasets 2.18.0
|
59 |
+
- Tokenizers 0.15.2
|
adapter_model.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 1279323952
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:a46347461bae1c3fbf43643670e8c95fe56bbfb17586a9cc2f3acaa76b05e0f4
|
3 |
size 1279323952
|
all_results.json
ADDED
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 1.0,
|
3 |
+
"total_flos": 1.1131515504795648e+16,
|
4 |
+
"train_loss": 2.3624265621191913,
|
5 |
+
"train_runtime": 6766.2575,
|
6 |
+
"train_samples_per_second": 1.706,
|
7 |
+
"train_steps_per_second": 0.426
|
8 |
+
}
|
runs/Mar30_23-17-37_ae9751f0a8f7/events.out.tfevents.1711840657.ae9751f0a8f7.1547.1
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:13c5f3497a00be5f3c0eda5194b4cecc7708f3ea890be734a0c173c64a9d66b9
|
3 |
+
size 11317
|
runs/Mar30_23-17-37_ae9751f0a8f7/events.out.tfevents.1711847454.ae9751f0a8f7.1547.2
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:06431d4495e3d730f284d84b7e79ba36e022c244928527eda05b3070b5be38cf
|
3 |
+
size 359
|
train_results.json
ADDED
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 1.0,
|
3 |
+
"total_flos": 1.1131515504795648e+16,
|
4 |
+
"train_loss": 2.3624265621191913,
|
5 |
+
"train_runtime": 6766.2575,
|
6 |
+
"train_samples_per_second": 1.706,
|
7 |
+
"train_steps_per_second": 0.426
|
8 |
+
}
|
trainer_state.json
ADDED
@@ -0,0 +1,226 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"best_metric": null,
|
3 |
+
"best_model_checkpoint": null,
|
4 |
+
"epoch": 0.9997401022264576,
|
5 |
+
"eval_steps": 500,
|
6 |
+
"global_step": 2885,
|
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.03,
|
13 |
+
"grad_norm": 22.53300666809082,
|
14 |
+
"learning_rate": 6.71280276816609e-06,
|
15 |
+
"loss": 3.1491,
|
16 |
+
"step": 100
|
17 |
+
},
|
18 |
+
{
|
19 |
+
"epoch": 0.07,
|
20 |
+
"grad_norm": 36.242984771728516,
|
21 |
+
"learning_rate": 1.356401384083045e-05,
|
22 |
+
"loss": 2.6131,
|
23 |
+
"step": 200
|
24 |
+
},
|
25 |
+
{
|
26 |
+
"epoch": 0.1,
|
27 |
+
"grad_norm": 25.216327667236328,
|
28 |
+
"learning_rate": 1.999973639055537e-05,
|
29 |
+
"loss": 2.5726,
|
30 |
+
"step": 300
|
31 |
+
},
|
32 |
+
{
|
33 |
+
"epoch": 0.14,
|
34 |
+
"grad_norm": 14.273802757263184,
|
35 |
+
"learning_rate": 1.9917836961775225e-05,
|
36 |
+
"loss": 2.4989,
|
37 |
+
"step": 400
|
38 |
+
},
|
39 |
+
{
|
40 |
+
"epoch": 0.17,
|
41 |
+
"grad_norm": 27.216812133789062,
|
42 |
+
"learning_rate": 1.969086765436979e-05,
|
43 |
+
"loss": 2.5906,
|
44 |
+
"step": 500
|
45 |
+
},
|
46 |
+
{
|
47 |
+
"epoch": 0.21,
|
48 |
+
"grad_norm": 18.74100112915039,
|
49 |
+
"learning_rate": 1.9322148386785378e-05,
|
50 |
+
"loss": 2.4275,
|
51 |
+
"step": 600
|
52 |
+
},
|
53 |
+
{
|
54 |
+
"epoch": 0.24,
|
55 |
+
"grad_norm": 20.627084732055664,
|
56 |
+
"learning_rate": 1.8817072478109763e-05,
|
57 |
+
"loss": 2.5103,
|
58 |
+
"step": 700
|
59 |
+
},
|
60 |
+
{
|
61 |
+
"epoch": 0.28,
|
62 |
+
"grad_norm": 15.611855506896973,
|
63 |
+
"learning_rate": 1.818302775908169e-05,
|
64 |
+
"loss": 2.3706,
|
65 |
+
"step": 800
|
66 |
+
},
|
67 |
+
{
|
68 |
+
"epoch": 0.31,
|
69 |
+
"grad_norm": 25.303524017333984,
|
70 |
+
"learning_rate": 1.7429288509041197e-05,
|
71 |
+
"loss": 2.3601,
|
72 |
+
"step": 900
|
73 |
+
},
|
74 |
+
{
|
75 |
+
"epoch": 0.35,
|
76 |
+
"grad_norm": 20.18657875061035,
|
77 |
+
"learning_rate": 1.6566879799477148e-05,
|
78 |
+
"loss": 2.5054,
|
79 |
+
"step": 1000
|
80 |
+
},
|
81 |
+
{
|
82 |
+
"epoch": 0.38,
|
83 |
+
"grad_norm": 17.65004539489746,
|
84 |
+
"learning_rate": 1.560841622844192e-05,
|
85 |
+
"loss": 2.3717,
|
86 |
+
"step": 1100
|
87 |
+
},
|
88 |
+
{
|
89 |
+
"epoch": 0.42,
|
90 |
+
"grad_norm": 19.5482177734375,
|
91 |
+
"learning_rate": 1.4578679381126853e-05,
|
92 |
+
"loss": 2.3772,
|
93 |
+
"step": 1200
|
94 |
+
},
|
95 |
+
{
|
96 |
+
"epoch": 0.45,
|
97 |
+
"grad_norm": 14.92688274383545,
|
98 |
+
"learning_rate": 1.3471954275891059e-05,
|
99 |
+
"loss": 2.2991,
|
100 |
+
"step": 1300
|
101 |
+
},
|
102 |
+
{
|
103 |
+
"epoch": 0.49,
|
104 |
+
"grad_norm": 10.425432205200195,
|
105 |
+
"learning_rate": 1.2314444308256605e-05,
|
106 |
+
"loss": 2.2865,
|
107 |
+
"step": 1400
|
108 |
+
},
|
109 |
+
{
|
110 |
+
"epoch": 0.52,
|
111 |
+
"grad_norm": 16.403301239013672,
|
112 |
+
"learning_rate": 1.1123080572287608e-05,
|
113 |
+
"loss": 2.2595,
|
114 |
+
"step": 1500
|
115 |
+
},
|
116 |
+
{
|
117 |
+
"epoch": 0.55,
|
118 |
+
"grad_norm": 11.935959815979004,
|
119 |
+
"learning_rate": 9.915289346843219e-06,
|
120 |
+
"loss": 2.3662,
|
121 |
+
"step": 1600
|
122 |
+
},
|
123 |
+
{
|
124 |
+
"epoch": 0.59,
|
125 |
+
"grad_norm": 18.410987854003906,
|
126 |
+
"learning_rate": 8.708737198449509e-06,
|
127 |
+
"loss": 2.2021,
|
128 |
+
"step": 1700
|
129 |
+
},
|
130 |
+
{
|
131 |
+
"epoch": 0.62,
|
132 |
+
"grad_norm": 15.293601036071777,
|
133 |
+
"learning_rate": 7.521072569442963e-06,
|
134 |
+
"loss": 2.2545,
|
135 |
+
"step": 1800
|
136 |
+
},
|
137 |
+
{
|
138 |
+
"epoch": 0.66,
|
139 |
+
"grad_norm": 16.34610939025879,
|
140 |
+
"learning_rate": 6.369667631219584e-06,
|
141 |
+
"loss": 2.3199,
|
142 |
+
"step": 1900
|
143 |
+
},
|
144 |
+
{
|
145 |
+
"epoch": 0.69,
|
146 |
+
"grad_norm": 15.948208808898926,
|
147 |
+
"learning_rate": 5.2713641785457504e-06,
|
148 |
+
"loss": 2.2029,
|
149 |
+
"step": 2000
|
150 |
+
},
|
151 |
+
{
|
152 |
+
"epoch": 0.73,
|
153 |
+
"grad_norm": 27.17706298828125,
|
154 |
+
"learning_rate": 4.242227281777747e-06,
|
155 |
+
"loss": 2.2861,
|
156 |
+
"step": 2100
|
157 |
+
},
|
158 |
+
{
|
159 |
+
"epoch": 0.76,
|
160 |
+
"grad_norm": 19.407489776611328,
|
161 |
+
"learning_rate": 3.297310300360622e-06,
|
162 |
+
"loss": 2.2157,
|
163 |
+
"step": 2200
|
164 |
+
},
|
165 |
+
{
|
166 |
+
"epoch": 0.8,
|
167 |
+
"grad_norm": 11.622710227966309,
|
168 |
+
"learning_rate": 2.450434694793621e-06,
|
169 |
+
"loss": 2.2724,
|
170 |
+
"step": 2300
|
171 |
+
},
|
172 |
+
{
|
173 |
+
"epoch": 0.83,
|
174 |
+
"grad_norm": 16.701732635498047,
|
175 |
+
"learning_rate": 1.7139878577898772e-06,
|
176 |
+
"loss": 2.1622,
|
177 |
+
"step": 2400
|
178 |
+
},
|
179 |
+
{
|
180 |
+
"epoch": 0.87,
|
181 |
+
"grad_norm": 10.720149040222168,
|
182 |
+
"learning_rate": 1.0987419217881333e-06,
|
183 |
+
"loss": 2.2026,
|
184 |
+
"step": 2500
|
185 |
+
},
|
186 |
+
{
|
187 |
+
"epoch": 0.9,
|
188 |
+
"grad_norm": 14.398381233215332,
|
189 |
+
"learning_rate": 6.136961931496943e-07,
|
190 |
+
"loss": 2.2619,
|
191 |
+
"step": 2600
|
192 |
+
},
|
193 |
+
{
|
194 |
+
"epoch": 0.94,
|
195 |
+
"grad_norm": 16.95086669921875,
|
196 |
+
"learning_rate": 2.6594551778223896e-07,
|
197 |
+
"loss": 2.2626,
|
198 |
+
"step": 2700
|
199 |
+
},
|
200 |
+
{
|
201 |
+
"epoch": 0.97,
|
202 |
+
"grad_norm": 12.132495880126953,
|
203 |
+
"learning_rate": 6.057650362879753e-08,
|
204 |
+
"loss": 2.1139,
|
205 |
+
"step": 2800
|
206 |
+
},
|
207 |
+
{
|
208 |
+
"epoch": 1.0,
|
209 |
+
"step": 2885,
|
210 |
+
"total_flos": 1.1131515504795648e+16,
|
211 |
+
"train_loss": 2.3624265621191913,
|
212 |
+
"train_runtime": 6766.2575,
|
213 |
+
"train_samples_per_second": 1.706,
|
214 |
+
"train_steps_per_second": 0.426
|
215 |
+
}
|
216 |
+
],
|
217 |
+
"logging_steps": 100,
|
218 |
+
"max_steps": 2885,
|
219 |
+
"num_input_tokens_seen": 0,
|
220 |
+
"num_train_epochs": 1,
|
221 |
+
"save_steps": 500,
|
222 |
+
"total_flos": 1.1131515504795648e+16,
|
223 |
+
"train_batch_size": 1,
|
224 |
+
"trial_name": null,
|
225 |
+
"trial_params": null
|
226 |
+
}
|