Upload 12 files
Browse files- README.md +29 -6
- adapter_config.json +21 -0
- adapter_model.bin +3 -0
- optimizer.pt +3 -0
- rng_state.pth +3 -0
- scheduler.pt +3 -0
- special_tokens_map.json +24 -0
- tokenizer.json +0 -0
- tokenizer.model +3 -0
- tokenizer_config.json +34 -0
- trainer_state.json +232 -0
- training_args.bin +3 -0
README.md
CHANGED
@@ -1,9 +1,32 @@
|
|
1 |
---
|
2 |
-
|
3 |
-
language:
|
4 |
-
- en
|
5 |
-
pipeline_tag: text-generation
|
6 |
---
|
|
|
7 |
|
8 |
-
|
9 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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: False
|
16 |
+
- bnb_4bit_compute_dtype: float32
|
17 |
+
|
18 |
+
The following `bitsandbytes` quantization config was used during training:
|
19 |
+
- load_in_8bit: False
|
20 |
+
- load_in_4bit: True
|
21 |
+
- llm_int8_threshold: 6.0
|
22 |
+
- llm_int8_skip_modules: None
|
23 |
+
- llm_int8_enable_fp32_cpu_offload: False
|
24 |
+
- llm_int8_has_fp16_weight: False
|
25 |
+
- bnb_4bit_quant_type: nf4
|
26 |
+
- bnb_4bit_use_double_quant: False
|
27 |
+
- bnb_4bit_compute_dtype: float32
|
28 |
+
### Framework versions
|
29 |
+
|
30 |
+
- PEFT 0.5.0.dev0
|
31 |
+
|
32 |
+
- 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-13b-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,
|
11 |
+
"lora_dropout": 0.05,
|
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:cf217aa6259d21048dbeec089e8029dbaeb4b65b3bebf5873b6e8af5e1510535
|
3 |
+
size 26271757
|
optimizer.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:887210784005e9d18e8229514692ec845609f7b9d67620b0ebcbdae974a81dd8
|
3 |
+
size 52523077
|
rng_state.pth
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:91a88c6f72d67791b69f5ad837bed65ba9817a07e467ae03d7283e632dea7ce4
|
3 |
+
size 14575
|
scheduler.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:74299822a43d7884662d6c4d10a7d8967afbfdb4488cbf6c93d8420629548591
|
3 |
+
size 627
|
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 |
+
}
|
tokenizer.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|
tokenizer.model
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:9e556afd44213b6bd1be2b850ebbbd98f5481437a8021afaf58ee7fb1818d347
|
3 |
+
size 499723
|
tokenizer_config.json
ADDED
@@ -0,0 +1,34 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"bos_token": {
|
3 |
+
"__type": "AddedToken",
|
4 |
+
"content": "<s>",
|
5 |
+
"lstrip": false,
|
6 |
+
"normalized": false,
|
7 |
+
"rstrip": false,
|
8 |
+
"single_word": false
|
9 |
+
},
|
10 |
+
"clean_up_tokenization_spaces": false,
|
11 |
+
"eos_token": {
|
12 |
+
"__type": "AddedToken",
|
13 |
+
"content": "</s>",
|
14 |
+
"lstrip": false,
|
15 |
+
"normalized": false,
|
16 |
+
"rstrip": false,
|
17 |
+
"single_word": false
|
18 |
+
},
|
19 |
+
"legacy": false,
|
20 |
+
"max_seq_length": 256,
|
21 |
+
"model_max_length": 1000000000000000019884624838656,
|
22 |
+
"pad_token": null,
|
23 |
+
"padding_side": "right",
|
24 |
+
"sp_model_kwargs": {},
|
25 |
+
"tokenizer_class": "LlamaTokenizer",
|
26 |
+
"unk_token": {
|
27 |
+
"__type": "AddedToken",
|
28 |
+
"content": "<unk>",
|
29 |
+
"lstrip": false,
|
30 |
+
"normalized": false,
|
31 |
+
"rstrip": false,
|
32 |
+
"single_word": false
|
33 |
+
}
|
34 |
+
}
|
trainer_state.json
ADDED
@@ -0,0 +1,232 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"best_metric": null,
|
3 |
+
"best_model_checkpoint": null,
|
4 |
+
"epoch": 360.0,
|
5 |
+
"global_step": 360,
|
6 |
+
"is_hyper_param_search": false,
|
7 |
+
"is_local_process_zero": true,
|
8 |
+
"is_world_process_zero": true,
|
9 |
+
"log_history": [
|
10 |
+
{
|
11 |
+
"epoch": 10.0,
|
12 |
+
"learning_rate": 9.090909090909091e-06,
|
13 |
+
"loss": 1.9474,
|
14 |
+
"step": 10
|
15 |
+
},
|
16 |
+
{
|
17 |
+
"epoch": 20.0,
|
18 |
+
"learning_rate": 9.983600282541213e-06,
|
19 |
+
"loss": 1.9169,
|
20 |
+
"step": 20
|
21 |
+
},
|
22 |
+
{
|
23 |
+
"epoch": 30.0,
|
24 |
+
"learning_rate": 9.927048004251748e-06,
|
25 |
+
"loss": 1.8596,
|
26 |
+
"step": 30
|
27 |
+
},
|
28 |
+
{
|
29 |
+
"epoch": 40.0,
|
30 |
+
"learning_rate": 9.830598527058083e-06,
|
31 |
+
"loss": 1.7779,
|
32 |
+
"step": 40
|
33 |
+
},
|
34 |
+
{
|
35 |
+
"epoch": 50.0,
|
36 |
+
"learning_rate": 9.695032858974042e-06,
|
37 |
+
"loss": 1.6849,
|
38 |
+
"step": 50
|
39 |
+
},
|
40 |
+
{
|
41 |
+
"epoch": 60.0,
|
42 |
+
"learning_rate": 9.52144875476464e-06,
|
43 |
+
"loss": 1.5859,
|
44 |
+
"step": 60
|
45 |
+
},
|
46 |
+
{
|
47 |
+
"epoch": 70.0,
|
48 |
+
"learning_rate": 9.311251826781587e-06,
|
49 |
+
"loss": 1.4716,
|
50 |
+
"step": 70
|
51 |
+
},
|
52 |
+
{
|
53 |
+
"epoch": 80.0,
|
54 |
+
"learning_rate": 9.066144162895259e-06,
|
55 |
+
"loss": 1.3578,
|
56 |
+
"step": 80
|
57 |
+
},
|
58 |
+
{
|
59 |
+
"epoch": 90.0,
|
60 |
+
"learning_rate": 8.788110543690415e-06,
|
61 |
+
"loss": 1.2642,
|
62 |
+
"step": 90
|
63 |
+
},
|
64 |
+
{
|
65 |
+
"epoch": 100.0,
|
66 |
+
"learning_rate": 8.479402370533127e-06,
|
67 |
+
"loss": 1.1801,
|
68 |
+
"step": 100
|
69 |
+
},
|
70 |
+
{
|
71 |
+
"epoch": 110.0,
|
72 |
+
"learning_rate": 8.142519434652782e-06,
|
73 |
+
"loss": 1.1065,
|
74 |
+
"step": 110
|
75 |
+
},
|
76 |
+
{
|
77 |
+
"epoch": 120.0,
|
78 |
+
"learning_rate": 7.780189674865617e-06,
|
79 |
+
"loss": 1.0596,
|
80 |
+
"step": 120
|
81 |
+
},
|
82 |
+
{
|
83 |
+
"epoch": 130.0,
|
84 |
+
"learning_rate": 7.395347087853349e-06,
|
85 |
+
"loss": 1.0319,
|
86 |
+
"step": 130
|
87 |
+
},
|
88 |
+
{
|
89 |
+
"epoch": 140.0,
|
90 |
+
"learning_rate": 6.991107969870363e-06,
|
91 |
+
"loss": 1.0072,
|
92 |
+
"step": 140
|
93 |
+
},
|
94 |
+
{
|
95 |
+
"epoch": 150.0,
|
96 |
+
"learning_rate": 6.570745682264288e-06,
|
97 |
+
"loss": 0.9865,
|
98 |
+
"step": 150
|
99 |
+
},
|
100 |
+
{
|
101 |
+
"epoch": 160.0,
|
102 |
+
"learning_rate": 6.137664145148339e-06,
|
103 |
+
"loss": 0.9688,
|
104 |
+
"step": 160
|
105 |
+
},
|
106 |
+
{
|
107 |
+
"epoch": 170.0,
|
108 |
+
"learning_rate": 5.6953702738627215e-06,
|
109 |
+
"loss": 0.9521,
|
110 |
+
"step": 170
|
111 |
+
},
|
112 |
+
{
|
113 |
+
"epoch": 180.0,
|
114 |
+
"learning_rate": 5.247445581423257e-06,
|
115 |
+
"loss": 0.9354,
|
116 |
+
"step": 180
|
117 |
+
},
|
118 |
+
{
|
119 |
+
"epoch": 190.0,
|
120 |
+
"learning_rate": 4.7975171769088366e-06,
|
121 |
+
"loss": 0.9188,
|
122 |
+
"step": 190
|
123 |
+
},
|
124 |
+
{
|
125 |
+
"epoch": 200.0,
|
126 |
+
"learning_rate": 4.349228394630808e-06,
|
127 |
+
"loss": 0.9018,
|
128 |
+
"step": 200
|
129 |
+
},
|
130 |
+
{
|
131 |
+
"epoch": 210.0,
|
132 |
+
"learning_rate": 3.906209291917141e-06,
|
133 |
+
"loss": 0.8837,
|
134 |
+
"step": 210
|
135 |
+
},
|
136 |
+
{
|
137 |
+
"epoch": 220.0,
|
138 |
+
"learning_rate": 3.472047254408091e-06,
|
139 |
+
"loss": 0.8648,
|
140 |
+
"step": 220
|
141 |
+
},
|
142 |
+
{
|
143 |
+
"epoch": 230.0,
|
144 |
+
"learning_rate": 3.050257946889594e-06,
|
145 |
+
"loss": 0.8495,
|
146 |
+
"step": 230
|
147 |
+
},
|
148 |
+
{
|
149 |
+
"epoch": 240.0,
|
150 |
+
"learning_rate": 2.6442568448924754e-06,
|
151 |
+
"loss": 0.8387,
|
152 |
+
"step": 240
|
153 |
+
},
|
154 |
+
{
|
155 |
+
"epoch": 250.0,
|
156 |
+
"learning_rate": 2.2573315775828655e-06,
|
157 |
+
"loss": 0.8302,
|
158 |
+
"step": 250
|
159 |
+
},
|
160 |
+
{
|
161 |
+
"epoch": 260.0,
|
162 |
+
"learning_rate": 1.892615305899645e-06,
|
163 |
+
"loss": 0.823,
|
164 |
+
"step": 260
|
165 |
+
},
|
166 |
+
{
|
167 |
+
"epoch": 270.0,
|
168 |
+
"learning_rate": 1.5530613515117721e-06,
|
169 |
+
"loss": 0.8171,
|
170 |
+
"step": 270
|
171 |
+
},
|
172 |
+
{
|
173 |
+
"epoch": 280.0,
|
174 |
+
"learning_rate": 1.2414192820396987e-06,
|
175 |
+
"loss": 0.8121,
|
176 |
+
"step": 280
|
177 |
+
},
|
178 |
+
{
|
179 |
+
"epoch": 290.0,
|
180 |
+
"learning_rate": 9.602126461929002e-07,
|
181 |
+
"loss": 0.8081,
|
182 |
+
"step": 290
|
183 |
+
},
|
184 |
+
{
|
185 |
+
"epoch": 300.0,
|
186 |
+
"learning_rate": 7.117185391151371e-07,
|
187 |
+
"loss": 0.805,
|
188 |
+
"step": 300
|
189 |
+
},
|
190 |
+
{
|
191 |
+
"epoch": 310.0,
|
192 |
+
"learning_rate": 4.979491634088712e-07,
|
193 |
+
"loss": 0.8027,
|
194 |
+
"step": 310
|
195 |
+
},
|
196 |
+
{
|
197 |
+
"epoch": 320.0,
|
198 |
+
"learning_rate": 3.206355351500184e-07,
|
199 |
+
"loss": 0.8011,
|
200 |
+
"step": 320
|
201 |
+
},
|
202 |
+
{
|
203 |
+
"epoch": 330.0,
|
204 |
+
"learning_rate": 1.8121346683502183e-07,
|
205 |
+
"loss": 0.8,
|
206 |
+
"step": 330
|
207 |
+
},
|
208 |
+
{
|
209 |
+
"epoch": 340.0,
|
210 |
+
"learning_rate": 8.081194076451749e-08,
|
211 |
+
"loss": 0.7994,
|
212 |
+
"step": 340
|
213 |
+
},
|
214 |
+
{
|
215 |
+
"epoch": 350.0,
|
216 |
+
"learning_rate": 2.0243967011164267e-08,
|
217 |
+
"loss": 0.7991,
|
218 |
+
"step": 350
|
219 |
+
},
|
220 |
+
{
|
221 |
+
"epoch": 360.0,
|
222 |
+
"learning_rate": 0.0,
|
223 |
+
"loss": 0.799,
|
224 |
+
"step": 360
|
225 |
+
}
|
226 |
+
],
|
227 |
+
"max_steps": 360,
|
228 |
+
"num_train_epochs": 360,
|
229 |
+
"total_flos": 1.00894355288064e+17,
|
230 |
+
"trial_name": null,
|
231 |
+
"trial_params": null
|
232 |
+
}
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:a7eb9e2ac438ff59123793f4569e1d8080a838c2d34b6a05977d33556230f06c
|
3 |
+
size 4027
|