truehealthapp
commited on
Commit
•
db0e878
1
Parent(s):
6720cd3
Upload 9 files
Browse files- README.md +20 -0
- adapter_config.json +21 -0
- adapter_model.bin +3 -0
- finetuning_args.json +13 -0
- optimizer.pt +3 -0
- rng_state.pth +3 -0
- scheduler.pt +3 -0
- trainer_state.json +256 -0
- training_args.bin +3 -0
README.md
ADDED
@@ -0,0 +1,20 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
library_name: peft
|
3 |
+
---
|
4 |
+
## Training procedure
|
5 |
+
|
6 |
+
|
7 |
+
The following `bitsandbytes` quantization config was used during training:
|
8 |
+
- load_in_8bit: False
|
9 |
+
- load_in_4bit: True
|
10 |
+
- llm_int8_threshold: 6.0
|
11 |
+
- llm_int8_skip_modules: None
|
12 |
+
- llm_int8_enable_fp32_cpu_offload: False
|
13 |
+
- llm_int8_has_fp16_weight: False
|
14 |
+
- bnb_4bit_quant_type: nf4
|
15 |
+
- bnb_4bit_use_double_quant: True
|
16 |
+
- bnb_4bit_compute_dtype: float16
|
17 |
+
### Framework versions
|
18 |
+
|
19 |
+
|
20 |
+
- PEFT 0.5.0.dev0
|
adapter_config.json
ADDED
@@ -0,0 +1,21 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"auto_mapping": null,
|
3 |
+
"base_model_name_or_path": "meta-llama/Llama-2-70b-hf",
|
4 |
+
"bias": "none",
|
5 |
+
"fan_in_fan_out": false,
|
6 |
+
"inference_mode": true,
|
7 |
+
"init_lora_weights": true,
|
8 |
+
"layers_pattern": null,
|
9 |
+
"layers_to_transform": null,
|
10 |
+
"lora_alpha": 32.0,
|
11 |
+
"lora_dropout": 0.1,
|
12 |
+
"modules_to_save": null,
|
13 |
+
"peft_type": "LORA",
|
14 |
+
"r": 8,
|
15 |
+
"revision": null,
|
16 |
+
"target_modules": [
|
17 |
+
"q_proj",
|
18 |
+
"v_proj"
|
19 |
+
],
|
20 |
+
"task_type": "CAUSAL_LM"
|
21 |
+
}
|
adapter_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:a21a47c806a5e59317d5316b22a0250ab1514dd3f467a036f95ce59d8ae7649d
|
3 |
+
size 65647181
|
finetuning_args.json
ADDED
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"finetuning_type": "lora",
|
3 |
+
"lora_alpha": 32.0,
|
4 |
+
"lora_dropout": 0.1,
|
5 |
+
"lora_rank": 8,
|
6 |
+
"lora_target": [
|
7 |
+
"q_proj",
|
8 |
+
"v_proj"
|
9 |
+
],
|
10 |
+
"name_module_trainable": "mlp",
|
11 |
+
"num_hidden_layers": 32,
|
12 |
+
"num_layer_trainable": 3
|
13 |
+
}
|
optimizer.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:cd286119fa35085fa93123fc6743d2c6b8b45583bb37d6649a76652e9bb6c816
|
3 |
+
size 131340997
|
rng_state.pth
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:16436b34e2e943961d662fe5f41ee38a949228ddeecdccc439f8407957afbbae
|
3 |
+
size 14575
|
scheduler.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:dee0a7f1c9c6824d665f8a684fe0e47a5df7d028b20a5d44eda98f73275eaf9f
|
3 |
+
size 627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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"best_metric": null,
|
3 |
+
"best_model_checkpoint": null,
|
4 |
+
"epoch": 4.53257790368272,
|
5 |
+
"global_step": 400,
|
6 |
+
"is_hyper_param_search": false,
|
7 |
+
"is_local_process_zero": true,
|
8 |
+
"is_world_process_zero": true,
|
9 |
+
"log_history": [
|
10 |
+
{
|
11 |
+
"epoch": 0.11,
|
12 |
+
"learning_rate": 1.9974521146102535e-05,
|
13 |
+
"loss": 1.0269,
|
14 |
+
"step": 10
|
15 |
+
},
|
16 |
+
{
|
17 |
+
"epoch": 0.23,
|
18 |
+
"learning_rate": 1.989821441880933e-05,
|
19 |
+
"loss": 0.9778,
|
20 |
+
"step": 20
|
21 |
+
},
|
22 |
+
{
|
23 |
+
"epoch": 0.34,
|
24 |
+
"learning_rate": 1.9771468659711595e-05,
|
25 |
+
"loss": 0.9404,
|
26 |
+
"step": 30
|
27 |
+
},
|
28 |
+
{
|
29 |
+
"epoch": 0.45,
|
30 |
+
"learning_rate": 1.9594929736144978e-05,
|
31 |
+
"loss": 0.8988,
|
32 |
+
"step": 40
|
33 |
+
},
|
34 |
+
{
|
35 |
+
"epoch": 0.57,
|
36 |
+
"learning_rate": 1.936949724999762e-05,
|
37 |
+
"loss": 0.8994,
|
38 |
+
"step": 50
|
39 |
+
},
|
40 |
+
{
|
41 |
+
"epoch": 0.68,
|
42 |
+
"learning_rate": 1.9096319953545186e-05,
|
43 |
+
"loss": 0.8785,
|
44 |
+
"step": 60
|
45 |
+
},
|
46 |
+
{
|
47 |
+
"epoch": 0.79,
|
48 |
+
"learning_rate": 1.8776789895672557e-05,
|
49 |
+
"loss": 0.8423,
|
50 |
+
"step": 70
|
51 |
+
},
|
52 |
+
{
|
53 |
+
"epoch": 0.91,
|
54 |
+
"learning_rate": 1.8412535328311813e-05,
|
55 |
+
"loss": 0.8139,
|
56 |
+
"step": 80
|
57 |
+
},
|
58 |
+
{
|
59 |
+
"epoch": 1.02,
|
60 |
+
"learning_rate": 1.8005412409243604e-05,
|
61 |
+
"loss": 0.8333,
|
62 |
+
"step": 90
|
63 |
+
},
|
64 |
+
{
|
65 |
+
"epoch": 1.13,
|
66 |
+
"learning_rate": 1.7557495743542586e-05,
|
67 |
+
"loss": 0.8056,
|
68 |
+
"step": 100
|
69 |
+
},
|
70 |
+
{
|
71 |
+
"epoch": 1.25,
|
72 |
+
"learning_rate": 1.7071067811865477e-05,
|
73 |
+
"loss": 0.8051,
|
74 |
+
"step": 110
|
75 |
+
},
|
76 |
+
{
|
77 |
+
"epoch": 1.36,
|
78 |
+
"learning_rate": 1.6548607339452853e-05,
|
79 |
+
"loss": 0.7923,
|
80 |
+
"step": 120
|
81 |
+
},
|
82 |
+
{
|
83 |
+
"epoch": 1.47,
|
84 |
+
"learning_rate": 1.599277666511347e-05,
|
85 |
+
"loss": 0.8327,
|
86 |
+
"step": 130
|
87 |
+
},
|
88 |
+
{
|
89 |
+
"epoch": 1.59,
|
90 |
+
"learning_rate": 1.5406408174555978e-05,
|
91 |
+
"loss": 0.7954,
|
92 |
+
"step": 140
|
93 |
+
},
|
94 |
+
{
|
95 |
+
"epoch": 1.7,
|
96 |
+
"learning_rate": 1.479248986720057e-05,
|
97 |
+
"loss": 0.797,
|
98 |
+
"step": 150
|
99 |
+
},
|
100 |
+
{
|
101 |
+
"epoch": 1.81,
|
102 |
+
"learning_rate": 1.4154150130018867e-05,
|
103 |
+
"loss": 0.7754,
|
104 |
+
"step": 160
|
105 |
+
},
|
106 |
+
{
|
107 |
+
"epoch": 1.93,
|
108 |
+
"learning_rate": 1.3494641795990986e-05,
|
109 |
+
"loss": 0.7847,
|
110 |
+
"step": 170
|
111 |
+
},
|
112 |
+
{
|
113 |
+
"epoch": 2.04,
|
114 |
+
"learning_rate": 1.2817325568414299e-05,
|
115 |
+
"loss": 0.7779,
|
116 |
+
"step": 180
|
117 |
+
},
|
118 |
+
{
|
119 |
+
"epoch": 2.15,
|
120 |
+
"learning_rate": 1.2125652895529766e-05,
|
121 |
+
"loss": 0.7569,
|
122 |
+
"step": 190
|
123 |
+
},
|
124 |
+
{
|
125 |
+
"epoch": 2.27,
|
126 |
+
"learning_rate": 1.1423148382732854e-05,
|
127 |
+
"loss": 0.7688,
|
128 |
+
"step": 200
|
129 |
+
},
|
130 |
+
{
|
131 |
+
"epoch": 2.38,
|
132 |
+
"learning_rate": 1.0713391831992324e-05,
|
133 |
+
"loss": 0.7734,
|
134 |
+
"step": 210
|
135 |
+
},
|
136 |
+
{
|
137 |
+
"epoch": 2.49,
|
138 |
+
"learning_rate": 1e-05,
|
139 |
+
"loss": 0.7668,
|
140 |
+
"step": 220
|
141 |
+
},
|
142 |
+
{
|
143 |
+
"epoch": 2.61,
|
144 |
+
"learning_rate": 9.286608168007678e-06,
|
145 |
+
"loss": 0.7951,
|
146 |
+
"step": 230
|
147 |
+
},
|
148 |
+
{
|
149 |
+
"epoch": 2.72,
|
150 |
+
"learning_rate": 8.576851617267151e-06,
|
151 |
+
"loss": 0.7616,
|
152 |
+
"step": 240
|
153 |
+
},
|
154 |
+
{
|
155 |
+
"epoch": 2.83,
|
156 |
+
"learning_rate": 7.874347104470234e-06,
|
157 |
+
"loss": 0.7619,
|
158 |
+
"step": 250
|
159 |
+
},
|
160 |
+
{
|
161 |
+
"epoch": 2.95,
|
162 |
+
"learning_rate": 7.182674431585703e-06,
|
163 |
+
"loss": 0.7701,
|
164 |
+
"step": 260
|
165 |
+
},
|
166 |
+
{
|
167 |
+
"epoch": 3.06,
|
168 |
+
"learning_rate": 6.505358204009018e-06,
|
169 |
+
"loss": 0.7985,
|
170 |
+
"step": 270
|
171 |
+
},
|
172 |
+
{
|
173 |
+
"epoch": 3.17,
|
174 |
+
"learning_rate": 5.845849869981137e-06,
|
175 |
+
"loss": 0.75,
|
176 |
+
"step": 280
|
177 |
+
},
|
178 |
+
{
|
179 |
+
"epoch": 3.29,
|
180 |
+
"learning_rate": 5.207510132799436e-06,
|
181 |
+
"loss": 0.7508,
|
182 |
+
"step": 290
|
183 |
+
},
|
184 |
+
{
|
185 |
+
"epoch": 3.4,
|
186 |
+
"learning_rate": 4.593591825444028e-06,
|
187 |
+
"loss": 0.7655,
|
188 |
+
"step": 300
|
189 |
+
},
|
190 |
+
{
|
191 |
+
"epoch": 3.51,
|
192 |
+
"learning_rate": 4.007223334886531e-06,
|
193 |
+
"loss": 0.7686,
|
194 |
+
"step": 310
|
195 |
+
},
|
196 |
+
{
|
197 |
+
"epoch": 3.63,
|
198 |
+
"learning_rate": 3.4513926605471504e-06,
|
199 |
+
"loss": 0.7551,
|
200 |
+
"step": 320
|
201 |
+
},
|
202 |
+
{
|
203 |
+
"epoch": 3.74,
|
204 |
+
"learning_rate": 2.9289321881345257e-06,
|
205 |
+
"loss": 0.7524,
|
206 |
+
"step": 330
|
207 |
+
},
|
208 |
+
{
|
209 |
+
"epoch": 3.85,
|
210 |
+
"learning_rate": 2.4425042564574186e-06,
|
211 |
+
"loss": 0.7722,
|
212 |
+
"step": 340
|
213 |
+
},
|
214 |
+
{
|
215 |
+
"epoch": 3.97,
|
216 |
+
"learning_rate": 1.994587590756397e-06,
|
217 |
+
"loss": 0.7471,
|
218 |
+
"step": 350
|
219 |
+
},
|
220 |
+
{
|
221 |
+
"epoch": 4.08,
|
222 |
+
"learning_rate": 1.587464671688187e-06,
|
223 |
+
"loss": 0.754,
|
224 |
+
"step": 360
|
225 |
+
},
|
226 |
+
{
|
227 |
+
"epoch": 4.19,
|
228 |
+
"learning_rate": 1.2232101043274437e-06,
|
229 |
+
"loss": 0.7549,
|
230 |
+
"step": 370
|
231 |
+
},
|
232 |
+
{
|
233 |
+
"epoch": 4.31,
|
234 |
+
"learning_rate": 9.036800464548157e-07,
|
235 |
+
"loss": 0.7678,
|
236 |
+
"step": 380
|
237 |
+
},
|
238 |
+
{
|
239 |
+
"epoch": 4.42,
|
240 |
+
"learning_rate": 6.305027500023841e-07,
|
241 |
+
"loss": 0.7584,
|
242 |
+
"step": 390
|
243 |
+
},
|
244 |
+
{
|
245 |
+
"epoch": 4.53,
|
246 |
+
"learning_rate": 4.0507026385502747e-07,
|
247 |
+
"loss": 0.7613,
|
248 |
+
"step": 400
|
249 |
+
}
|
250 |
+
],
|
251 |
+
"max_steps": 440,
|
252 |
+
"num_train_epochs": 5,
|
253 |
+
"total_flos": 3.127602400495534e+17,
|
254 |
+
"trial_name": null,
|
255 |
+
"trial_params": null
|
256 |
+
}
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:9cb4761b65b1cd1c85acd0c2888b7c43a162706693216e4d49824cc2094ac219
|
3 |
+
size 3380
|