Upload folder using huggingface_hub
Browse files- README.md +200 -0
- adapter_config.json +28 -0
- adapter_model.bin +3 -0
- checkpoint-2825/README.md +219 -0
- checkpoint-2825/adapter_config.json +28 -0
- checkpoint-2825/adapter_model.bin +3 -0
- checkpoint-2825/optimizer.pt +3 -0
- checkpoint-2825/rng_state.pth +3 -0
- checkpoint-2825/scheduler.pt +3 -0
- checkpoint-2825/trainer_state.json +0 -0
- checkpoint-2825/training_args.bin +3 -0
- config.json +39 -0
- special_tokens_map.json +24 -0
- tokenizer.model +3 -0
- tokenizer_config.json +44 -0
README.md
ADDED
@@ -0,0 +1,200 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
base_model: meta-llama/Llama-2-13b-hf
|
3 |
+
tags:
|
4 |
+
- generated_from_trainer
|
5 |
+
model-index:
|
6 |
+
- name: qlora-out
|
7 |
+
results: []
|
8 |
+
---
|
9 |
+
|
10 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
11 |
+
should probably proofread and complete it, then remove this comment. -->
|
12 |
+
|
13 |
+
[<img src="https://raw.githubusercontent.com/OpenAccess-AI-Collective/axolotl/main/image/axolotl-badge-web.png" alt="Built with Axolotl" width="200" height="32"/>](https://github.com/OpenAccess-AI-Collective/axolotl)
|
14 |
+
# qlora-out
|
15 |
+
|
16 |
+
This model is a fine-tuned version of [meta-llama/Llama-2-13b-hf](https://huggingface.co/meta-llama/Llama-2-13b-hf) on the None dataset.
|
17 |
+
It achieves the following results on the evaluation set:
|
18 |
+
- Loss: 0.5302
|
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: 0.0004
|
38 |
+
- train_batch_size: 1
|
39 |
+
- eval_batch_size: 1
|
40 |
+
- seed: 42
|
41 |
+
- gradient_accumulation_steps: 2
|
42 |
+
- total_train_batch_size: 2
|
43 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
44 |
+
- lr_scheduler_type: cosine
|
45 |
+
- lr_scheduler_warmup_steps: 100
|
46 |
+
- num_epochs: 1
|
47 |
+
|
48 |
+
### Training results
|
49 |
+
|
50 |
+
| Training Loss | Epoch | Step | Validation Loss |
|
51 |
+
|:-------------:|:-----:|:----:|:---------------:|
|
52 |
+
| 0.7438 | 0.01 | 20 | 0.6827 |
|
53 |
+
| 0.8518 | 0.01 | 40 | 0.6707 |
|
54 |
+
| 0.6798 | 0.02 | 60 | 0.6511 |
|
55 |
+
| 0.7868 | 0.03 | 80 | 0.6231 |
|
56 |
+
| 0.8218 | 0.04 | 100 | 0.6232 |
|
57 |
+
| 0.6862 | 0.04 | 120 | 0.6324 |
|
58 |
+
| 0.4989 | 0.05 | 140 | 0.6007 |
|
59 |
+
| 0.6064 | 0.06 | 160 | 0.6127 |
|
60 |
+
| 0.5355 | 0.06 | 180 | 0.6297 |
|
61 |
+
| 0.6274 | 0.07 | 200 | 0.6211 |
|
62 |
+
| 0.5512 | 0.08 | 220 | 0.6290 |
|
63 |
+
| 0.727 | 0.08 | 240 | 0.6028 |
|
64 |
+
| 0.5253 | 0.09 | 260 | 0.5971 |
|
65 |
+
| 0.7679 | 0.1 | 280 | 0.5908 |
|
66 |
+
| 0.4804 | 0.11 | 300 | 0.6154 |
|
67 |
+
| 0.5801 | 0.11 | 320 | 0.5968 |
|
68 |
+
| 0.3603 | 0.12 | 340 | 0.7127 |
|
69 |
+
| 0.5948 | 0.13 | 360 | 0.5911 |
|
70 |
+
| 0.7988 | 0.13 | 380 | 0.6060 |
|
71 |
+
| 0.6002 | 0.14 | 400 | 0.6303 |
|
72 |
+
| 0.5522 | 0.15 | 420 | 0.6124 |
|
73 |
+
| 0.558 | 0.16 | 440 | 0.6061 |
|
74 |
+
| 0.393 | 0.16 | 460 | 0.6050 |
|
75 |
+
| 0.739 | 0.17 | 480 | 0.5977 |
|
76 |
+
| 0.6462 | 0.18 | 500 | 0.5904 |
|
77 |
+
| 0.5305 | 0.18 | 520 | 0.5852 |
|
78 |
+
| 0.4749 | 0.19 | 540 | 0.5974 |
|
79 |
+
| 0.832 | 0.2 | 560 | 0.5918 |
|
80 |
+
| 0.7155 | 0.21 | 580 | 0.5857 |
|
81 |
+
| 0.7374 | 0.21 | 600 | 0.6092 |
|
82 |
+
| 1.2165 | 0.22 | 620 | 0.6071 |
|
83 |
+
| 0.4901 | 0.23 | 640 | 0.5908 |
|
84 |
+
| 0.4585 | 0.23 | 660 | 0.6041 |
|
85 |
+
| 0.6474 | 0.24 | 680 | 0.5984 |
|
86 |
+
| 0.4136 | 0.25 | 700 | 0.5860 |
|
87 |
+
| 0.602 | 0.25 | 720 | 0.6251 |
|
88 |
+
| 0.405 | 0.26 | 740 | 0.6182 |
|
89 |
+
| 0.5059 | 0.27 | 760 | 0.5894 |
|
90 |
+
| 0.4249 | 0.28 | 780 | 0.5800 |
|
91 |
+
| 0.4847 | 0.28 | 800 | 0.5805 |
|
92 |
+
| 0.4709 | 0.29 | 820 | 0.6140 |
|
93 |
+
| 0.4279 | 0.3 | 840 | 0.5877 |
|
94 |
+
| 0.7142 | 0.3 | 860 | 0.5801 |
|
95 |
+
| 1.0536 | 0.31 | 880 | 0.6102 |
|
96 |
+
| 0.694 | 0.32 | 900 | 0.5812 |
|
97 |
+
| 0.5034 | 0.33 | 920 | 0.5833 |
|
98 |
+
| 0.4208 | 0.33 | 940 | 0.5803 |
|
99 |
+
| 0.5917 | 0.34 | 960 | 0.5756 |
|
100 |
+
| 0.4655 | 0.35 | 980 | 0.5706 |
|
101 |
+
| 0.4274 | 0.35 | 1000 | 0.5675 |
|
102 |
+
| 0.3711 | 0.36 | 1020 | 0.5791 |
|
103 |
+
| 0.6792 | 0.37 | 1040 | 0.5773 |
|
104 |
+
| 0.3607 | 0.38 | 1060 | 0.5838 |
|
105 |
+
| 0.5336 | 0.38 | 1080 | 0.5744 |
|
106 |
+
| 0.5509 | 0.39 | 1100 | 0.5854 |
|
107 |
+
| 0.2759 | 0.4 | 1120 | 0.5675 |
|
108 |
+
| 0.5058 | 0.4 | 1140 | 0.5790 |
|
109 |
+
| 0.4446 | 0.41 | 1160 | 0.5893 |
|
110 |
+
| 0.4757 | 0.42 | 1180 | 0.5764 |
|
111 |
+
| 0.4153 | 0.42 | 1200 | 0.5707 |
|
112 |
+
| 0.5369 | 0.43 | 1220 | 0.5729 |
|
113 |
+
| 0.4785 | 0.44 | 1240 | 0.5735 |
|
114 |
+
| 0.4335 | 0.45 | 1260 | 0.5821 |
|
115 |
+
| 0.5452 | 0.45 | 1280 | 0.5621 |
|
116 |
+
| 0.3461 | 0.46 | 1300 | 0.5615 |
|
117 |
+
| 0.5579 | 0.47 | 1320 | 0.5769 |
|
118 |
+
| 0.6048 | 0.47 | 1340 | 0.5855 |
|
119 |
+
| 0.6253 | 0.48 | 1360 | 0.5590 |
|
120 |
+
| 0.5084 | 0.49 | 1380 | 0.5822 |
|
121 |
+
| 0.3838 | 0.5 | 1400 | 0.5604 |
|
122 |
+
| 0.667 | 0.5 | 1420 | 0.5622 |
|
123 |
+
| 0.681 | 0.51 | 1440 | 0.5632 |
|
124 |
+
| 0.3593 | 0.52 | 1460 | 0.5578 |
|
125 |
+
| 0.4509 | 0.52 | 1480 | 0.5609 |
|
126 |
+
| 0.4752 | 0.53 | 1500 | 0.5494 |
|
127 |
+
| 0.3152 | 0.54 | 1520 | 0.5541 |
|
128 |
+
| 0.3699 | 0.55 | 1540 | 0.5449 |
|
129 |
+
| 0.3009 | 0.55 | 1560 | 0.5656 |
|
130 |
+
| 0.2867 | 0.56 | 1580 | 0.5499 |
|
131 |
+
| 0.7261 | 0.57 | 1600 | 0.5490 |
|
132 |
+
| 0.5149 | 0.57 | 1620 | 0.5565 |
|
133 |
+
| 0.473 | 0.58 | 1640 | 0.5445 |
|
134 |
+
| 0.9732 | 0.59 | 1660 | 0.5505 |
|
135 |
+
| 0.9606 | 0.59 | 1680 | 0.5471 |
|
136 |
+
| 0.2714 | 0.6 | 1700 | 0.5651 |
|
137 |
+
| 0.4927 | 0.61 | 1720 | 0.5527 |
|
138 |
+
| 0.6928 | 0.62 | 1740 | 0.5433 |
|
139 |
+
| 0.3776 | 0.62 | 1760 | 0.5507 |
|
140 |
+
| 0.4636 | 0.63 | 1780 | 0.5443 |
|
141 |
+
| 0.43 | 0.64 | 1800 | 0.5527 |
|
142 |
+
| 0.5656 | 0.64 | 1820 | 0.5478 |
|
143 |
+
| 0.729 | 0.65 | 1840 | 0.5542 |
|
144 |
+
| 0.4355 | 0.66 | 1860 | 0.5411 |
|
145 |
+
| 0.377 | 0.67 | 1880 | 0.5426 |
|
146 |
+
| 0.5345 | 0.67 | 1900 | 0.5434 |
|
147 |
+
| 0.4042 | 0.68 | 1920 | 0.5383 |
|
148 |
+
| 0.3676 | 0.69 | 1940 | 0.5372 |
|
149 |
+
| 0.4758 | 0.69 | 1960 | 0.5411 |
|
150 |
+
| 0.4919 | 0.7 | 1980 | 0.5353 |
|
151 |
+
| 0.2312 | 0.71 | 2000 | 0.5351 |
|
152 |
+
| 0.7224 | 0.71 | 2020 | 0.5364 |
|
153 |
+
| 0.3617 | 0.72 | 2040 | 0.5357 |
|
154 |
+
| 0.8601 | 0.73 | 2060 | 0.5402 |
|
155 |
+
| 0.3218 | 0.74 | 2080 | 0.5309 |
|
156 |
+
| 0.3611 | 0.74 | 2100 | 0.5412 |
|
157 |
+
| 0.4466 | 0.75 | 2120 | 0.5432 |
|
158 |
+
| 0.5551 | 0.76 | 2140 | 0.5345 |
|
159 |
+
| 0.4047 | 0.76 | 2160 | 0.5321 |
|
160 |
+
| 0.4624 | 0.77 | 2180 | 0.5357 |
|
161 |
+
| 0.5704 | 0.78 | 2200 | 0.5325 |
|
162 |
+
| 0.715 | 0.79 | 2220 | 0.5313 |
|
163 |
+
| 0.4913 | 0.79 | 2240 | 0.5300 |
|
164 |
+
| 0.3605 | 0.8 | 2260 | 0.5294 |
|
165 |
+
| 0.234 | 0.81 | 2280 | 0.5318 |
|
166 |
+
| 0.6128 | 0.81 | 2300 | 0.5365 |
|
167 |
+
| 0.236 | 0.82 | 2320 | 0.5342 |
|
168 |
+
| 0.3503 | 0.83 | 2340 | 0.5348 |
|
169 |
+
| 0.4874 | 0.84 | 2360 | 0.5313 |
|
170 |
+
| 0.5999 | 0.84 | 2380 | 0.5312 |
|
171 |
+
| 0.2757 | 0.85 | 2400 | 0.5292 |
|
172 |
+
| 0.322 | 0.86 | 2420 | 0.5299 |
|
173 |
+
| 0.4368 | 0.86 | 2440 | 0.5318 |
|
174 |
+
| 0.318 | 0.87 | 2460 | 0.5319 |
|
175 |
+
| 0.7192 | 0.88 | 2480 | 0.5307 |
|
176 |
+
| 0.3465 | 0.88 | 2500 | 0.5315 |
|
177 |
+
| 0.4098 | 0.89 | 2520 | 0.5312 |
|
178 |
+
| 0.682 | 0.9 | 2540 | 0.5308 |
|
179 |
+
| 1.4551 | 0.91 | 2560 | 0.5310 |
|
180 |
+
| 0.4396 | 0.91 | 2580 | 0.5301 |
|
181 |
+
| 0.5932 | 0.92 | 2600 | 0.5298 |
|
182 |
+
| 0.3978 | 0.93 | 2620 | 0.5292 |
|
183 |
+
| 0.2823 | 0.93 | 2640 | 0.5296 |
|
184 |
+
| 0.4293 | 0.94 | 2660 | 0.5294 |
|
185 |
+
| 0.4646 | 0.95 | 2680 | 0.5296 |
|
186 |
+
| 0.8203 | 0.96 | 2700 | 0.5295 |
|
187 |
+
| 0.351 | 0.96 | 2720 | 0.5299 |
|
188 |
+
| 0.328 | 0.97 | 2740 | 0.5292 |
|
189 |
+
| 0.3347 | 0.98 | 2760 | 0.5302 |
|
190 |
+
| 0.2608 | 0.98 | 2780 | 0.5296 |
|
191 |
+
| 0.4274 | 0.99 | 2800 | 0.5294 |
|
192 |
+
| 0.3349 | 1.0 | 2820 | 0.5302 |
|
193 |
+
|
194 |
+
|
195 |
+
### Framework versions
|
196 |
+
|
197 |
+
- Transformers 4.34.1
|
198 |
+
- Pytorch 2.0.1+cu118
|
199 |
+
- Datasets 2.14.6
|
200 |
+
- Tokenizers 0.14.1
|
adapter_config.json
ADDED
@@ -0,0 +1,28 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"alpha_pattern": {},
|
3 |
+
"auto_mapping": null,
|
4 |
+
"base_model_name_or_path": "meta-llama/Llama-2-13b-hf",
|
5 |
+
"bias": "none",
|
6 |
+
"fan_in_fan_out": null,
|
7 |
+
"inference_mode": true,
|
8 |
+
"init_lora_weights": true,
|
9 |
+
"layers_pattern": null,
|
10 |
+
"layers_to_transform": null,
|
11 |
+
"lora_alpha": 16,
|
12 |
+
"lora_dropout": 0.05,
|
13 |
+
"modules_to_save": null,
|
14 |
+
"peft_type": "LORA",
|
15 |
+
"r": 16,
|
16 |
+
"rank_pattern": {},
|
17 |
+
"revision": null,
|
18 |
+
"target_modules": [
|
19 |
+
"up_proj",
|
20 |
+
"down_proj",
|
21 |
+
"q_proj",
|
22 |
+
"v_proj",
|
23 |
+
"k_proj",
|
24 |
+
"gate_proj",
|
25 |
+
"o_proj"
|
26 |
+
],
|
27 |
+
"task_type": "CAUSAL_LM"
|
28 |
+
}
|
adapter_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:98acb83d328e6c47c3e44b8fe7504fc2aced6a4a7e466854420e280d93bd3a17
|
3 |
+
size 250549581
|
checkpoint-2825/README.md
ADDED
@@ -0,0 +1,219 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
library_name: peft
|
3 |
+
base_model: meta-llama/Llama-2-13b-hf
|
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 |
+
- **Shared by [optional]:** [More Information Needed]
|
22 |
+
- **Model type:** [More Information Needed]
|
23 |
+
- **Language(s) (NLP):** [More Information Needed]
|
24 |
+
- **License:** [More Information Needed]
|
25 |
+
- **Finetuned from model [optional]:** [More Information Needed]
|
26 |
+
|
27 |
+
### Model Sources [optional]
|
28 |
+
|
29 |
+
<!-- Provide the basic links for the model. -->
|
30 |
+
|
31 |
+
- **Repository:** [More Information Needed]
|
32 |
+
- **Paper [optional]:** [More Information Needed]
|
33 |
+
- **Demo [optional]:** [More Information Needed]
|
34 |
+
|
35 |
+
## Uses
|
36 |
+
|
37 |
+
<!-- Address questions around how the model is intended to be used, including the foreseeable users of the model and those affected by the model. -->
|
38 |
+
|
39 |
+
### Direct Use
|
40 |
+
|
41 |
+
<!-- This section is for the model use without fine-tuning or plugging into a larger ecosystem/app. -->
|
42 |
+
|
43 |
+
[More Information Needed]
|
44 |
+
|
45 |
+
### Downstream Use [optional]
|
46 |
+
|
47 |
+
<!-- This section is for the model use when fine-tuned for a task, or when plugged into a larger ecosystem/app -->
|
48 |
+
|
49 |
+
[More Information Needed]
|
50 |
+
|
51 |
+
### Out-of-Scope Use
|
52 |
+
|
53 |
+
<!-- This section addresses misuse, malicious use, and uses that the model will not work well for. -->
|
54 |
+
|
55 |
+
[More Information Needed]
|
56 |
+
|
57 |
+
## Bias, Risks, and Limitations
|
58 |
+
|
59 |
+
<!-- This section is meant to convey both technical and sociotechnical limitations. -->
|
60 |
+
|
61 |
+
[More Information Needed]
|
62 |
+
|
63 |
+
### Recommendations
|
64 |
+
|
65 |
+
<!-- This section is meant to convey recommendations with respect to the bias, risk, and technical limitations. -->
|
66 |
+
|
67 |
+
Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. More information needed for further recommendations.
|
68 |
+
|
69 |
+
## How to Get Started with the Model
|
70 |
+
|
71 |
+
Use the code below to get started with the model.
|
72 |
+
|
73 |
+
[More Information Needed]
|
74 |
+
|
75 |
+
## Training Details
|
76 |
+
|
77 |
+
### Training Data
|
78 |
+
|
79 |
+
<!-- This should link to a Data 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. -->
|
80 |
+
|
81 |
+
[More Information Needed]
|
82 |
+
|
83 |
+
### Training Procedure
|
84 |
+
|
85 |
+
<!-- This relates heavily to the Technical Specifications. Content here should link to that section when it is relevant to the training procedure. -->
|
86 |
+
|
87 |
+
#### Preprocessing [optional]
|
88 |
+
|
89 |
+
[More Information Needed]
|
90 |
+
|
91 |
+
|
92 |
+
#### Training Hyperparameters
|
93 |
+
|
94 |
+
- **Training regime:** [More Information Needed] <!--fp32, fp16 mixed precision, bf16 mixed precision, bf16 non-mixed precision, fp16 non-mixed precision, fp8 mixed precision -->
|
95 |
+
|
96 |
+
#### Speeds, Sizes, Times [optional]
|
97 |
+
|
98 |
+
<!-- This section provides information about throughput, start/end time, checkpoint size if relevant, etc. -->
|
99 |
+
|
100 |
+
[More Information Needed]
|
101 |
+
|
102 |
+
## Evaluation
|
103 |
+
|
104 |
+
<!-- This section describes the evaluation protocols and provides the results. -->
|
105 |
+
|
106 |
+
### Testing Data, Factors & Metrics
|
107 |
+
|
108 |
+
#### Testing Data
|
109 |
+
|
110 |
+
<!-- This should link to a Data Card if possible. -->
|
111 |
+
|
112 |
+
[More Information Needed]
|
113 |
+
|
114 |
+
#### Factors
|
115 |
+
|
116 |
+
<!-- These are the things the evaluation is disaggregating by, e.g., subpopulations or domains. -->
|
117 |
+
|
118 |
+
[More Information Needed]
|
119 |
+
|
120 |
+
#### Metrics
|
121 |
+
|
122 |
+
<!-- These are the evaluation metrics being used, ideally with a description of why. -->
|
123 |
+
|
124 |
+
[More Information Needed]
|
125 |
+
|
126 |
+
### Results
|
127 |
+
|
128 |
+
[More Information Needed]
|
129 |
+
|
130 |
+
#### Summary
|
131 |
+
|
132 |
+
|
133 |
+
|
134 |
+
## Model Examination [optional]
|
135 |
+
|
136 |
+
<!-- Relevant interpretability work for the model goes here -->
|
137 |
+
|
138 |
+
[More Information Needed]
|
139 |
+
|
140 |
+
## Environmental Impact
|
141 |
+
|
142 |
+
<!-- Total emissions (in grams of CO2eq) and additional considerations, such as electricity usage, go here. Edit the suggested text below accordingly -->
|
143 |
+
|
144 |
+
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).
|
145 |
+
|
146 |
+
- **Hardware Type:** [More Information Needed]
|
147 |
+
- **Hours used:** [More Information Needed]
|
148 |
+
- **Cloud Provider:** [More Information Needed]
|
149 |
+
- **Compute Region:** [More Information Needed]
|
150 |
+
- **Carbon Emitted:** [More Information Needed]
|
151 |
+
|
152 |
+
## Technical Specifications [optional]
|
153 |
+
|
154 |
+
### Model Architecture and Objective
|
155 |
+
|
156 |
+
[More Information Needed]
|
157 |
+
|
158 |
+
### Compute Infrastructure
|
159 |
+
|
160 |
+
[More Information Needed]
|
161 |
+
|
162 |
+
#### Hardware
|
163 |
+
|
164 |
+
[More Information Needed]
|
165 |
+
|
166 |
+
#### Software
|
167 |
+
|
168 |
+
[More Information Needed]
|
169 |
+
|
170 |
+
## Citation [optional]
|
171 |
+
|
172 |
+
<!-- If there is a paper or blog post introducing the model, the APA and Bibtex information for that should go in this section. -->
|
173 |
+
|
174 |
+
**BibTeX:**
|
175 |
+
|
176 |
+
[More Information Needed]
|
177 |
+
|
178 |
+
**APA:**
|
179 |
+
|
180 |
+
[More Information Needed]
|
181 |
+
|
182 |
+
## Glossary [optional]
|
183 |
+
|
184 |
+
<!-- If relevant, include terms and calculations in this section that can help readers understand the model or model card. -->
|
185 |
+
|
186 |
+
[More Information Needed]
|
187 |
+
|
188 |
+
## More Information [optional]
|
189 |
+
|
190 |
+
[More Information Needed]
|
191 |
+
|
192 |
+
## Model Card Authors [optional]
|
193 |
+
|
194 |
+
[More Information Needed]
|
195 |
+
|
196 |
+
## Model Card Contact
|
197 |
+
|
198 |
+
[More Information Needed]
|
199 |
+
|
200 |
+
|
201 |
+
## Training procedure
|
202 |
+
|
203 |
+
|
204 |
+
The following `bitsandbytes` quantization config was used during training:
|
205 |
+
- quant_method: bitsandbytes
|
206 |
+
- load_in_8bit: False
|
207 |
+
- load_in_4bit: True
|
208 |
+
- llm_int8_threshold: 6.0
|
209 |
+
- llm_int8_skip_modules: None
|
210 |
+
- llm_int8_enable_fp32_cpu_offload: False
|
211 |
+
- llm_int8_has_fp16_weight: False
|
212 |
+
- bnb_4bit_quant_type: nf4
|
213 |
+
- bnb_4bit_use_double_quant: True
|
214 |
+
- bnb_4bit_compute_dtype: bfloat16
|
215 |
+
|
216 |
+
### Framework versions
|
217 |
+
|
218 |
+
|
219 |
+
- PEFT 0.6.0.dev0
|
checkpoint-2825/adapter_config.json
ADDED
@@ -0,0 +1,28 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"alpha_pattern": {},
|
3 |
+
"auto_mapping": null,
|
4 |
+
"base_model_name_or_path": "meta-llama/Llama-2-13b-hf",
|
5 |
+
"bias": "none",
|
6 |
+
"fan_in_fan_out": null,
|
7 |
+
"inference_mode": true,
|
8 |
+
"init_lora_weights": true,
|
9 |
+
"layers_pattern": null,
|
10 |
+
"layers_to_transform": null,
|
11 |
+
"lora_alpha": 16,
|
12 |
+
"lora_dropout": 0.05,
|
13 |
+
"modules_to_save": null,
|
14 |
+
"peft_type": "LORA",
|
15 |
+
"r": 16,
|
16 |
+
"rank_pattern": {},
|
17 |
+
"revision": null,
|
18 |
+
"target_modules": [
|
19 |
+
"up_proj",
|
20 |
+
"down_proj",
|
21 |
+
"q_proj",
|
22 |
+
"v_proj",
|
23 |
+
"k_proj",
|
24 |
+
"gate_proj",
|
25 |
+
"o_proj"
|
26 |
+
],
|
27 |
+
"task_type": "CAUSAL_LM"
|
28 |
+
}
|
checkpoint-2825/adapter_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:98acb83d328e6c47c3e44b8fe7504fc2aced6a4a7e466854420e280d93bd3a17
|
3 |
+
size 250549581
|
checkpoint-2825/optimizer.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:7a4cd55c635ec6885df0e0001b122b7bbc32a1c0eabe4856b07fa732f5366cd5
|
3 |
+
size 501031421
|
checkpoint-2825/rng_state.pth
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:8467903f35780044ed8019a49536b3688df86da6f4bf2f7776da1d752c8be2f1
|
3 |
+
size 14575
|
checkpoint-2825/scheduler.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:3969006733e1a504cb51bc523adf75b09c949dbd9b94e70ba413bd1aa12d9923
|
3 |
+
size 627
|
checkpoint-2825/trainer_state.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|
checkpoint-2825/training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:85483b8b3996819c2086e17ee67ebdc7e6e3e231642e48fcc2c02e328cfd1464
|
3 |
+
size 4475
|
config.json
ADDED
@@ -0,0 +1,39 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "meta-llama/Llama-2-13b-hf",
|
3 |
+
"architectures": [
|
4 |
+
"LlamaForCausalLM"
|
5 |
+
],
|
6 |
+
"attention_bias": false,
|
7 |
+
"bos_token_id": 1,
|
8 |
+
"eos_token_id": 2,
|
9 |
+
"hidden_act": "silu",
|
10 |
+
"hidden_size": 5120,
|
11 |
+
"initializer_range": 0.02,
|
12 |
+
"intermediate_size": 13824,
|
13 |
+
"max_position_embeddings": 4096,
|
14 |
+
"model_type": "llama",
|
15 |
+
"num_attention_heads": 40,
|
16 |
+
"num_hidden_layers": 40,
|
17 |
+
"num_key_value_heads": 40,
|
18 |
+
"pretraining_tp": 1,
|
19 |
+
"quantization_config": {
|
20 |
+
"bnb_4bit_compute_dtype": "bfloat16",
|
21 |
+
"bnb_4bit_quant_type": "nf4",
|
22 |
+
"bnb_4bit_use_double_quant": true,
|
23 |
+
"llm_int8_enable_fp32_cpu_offload": false,
|
24 |
+
"llm_int8_has_fp16_weight": false,
|
25 |
+
"llm_int8_skip_modules": null,
|
26 |
+
"llm_int8_threshold": 6.0,
|
27 |
+
"load_in_4bit": true,
|
28 |
+
"load_in_8bit": false,
|
29 |
+
"quant_method": "bitsandbytes"
|
30 |
+
},
|
31 |
+
"rms_norm_eps": 1e-05,
|
32 |
+
"rope_scaling": null,
|
33 |
+
"rope_theta": 10000.0,
|
34 |
+
"tie_word_embeddings": false,
|
35 |
+
"torch_dtype": "float16",
|
36 |
+
"transformers_version": "4.34.1",
|
37 |
+
"use_cache": false,
|
38 |
+
"vocab_size": 32000
|
39 |
+
}
|
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.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,44 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"add_bos_token": true,
|
3 |
+
"add_eos_token": false,
|
4 |
+
"added_tokens_decoder": {
|
5 |
+
"0": {
|
6 |
+
"content": "<unk>",
|
7 |
+
"lstrip": false,
|
8 |
+
"normalized": false,
|
9 |
+
"rstrip": false,
|
10 |
+
"single_word": false,
|
11 |
+
"special": true
|
12 |
+
},
|
13 |
+
"1": {
|
14 |
+
"content": "<s>",
|
15 |
+
"lstrip": false,
|
16 |
+
"normalized": false,
|
17 |
+
"rstrip": false,
|
18 |
+
"single_word": false,
|
19 |
+
"special": true
|
20 |
+
},
|
21 |
+
"2": {
|
22 |
+
"content": "</s>",
|
23 |
+
"lstrip": false,
|
24 |
+
"normalized": false,
|
25 |
+
"rstrip": false,
|
26 |
+
"single_word": false,
|
27 |
+
"special": true
|
28 |
+
}
|
29 |
+
},
|
30 |
+
"bos_token": "<s>",
|
31 |
+
"clean_up_tokenization_spaces": false,
|
32 |
+
"eos_token": "</s>",
|
33 |
+
"legacy": false,
|
34 |
+
"model_max_length": 1000000000000000019884624838656,
|
35 |
+
"pad_token": "</s>",
|
36 |
+
"padding_side": "right",
|
37 |
+
"sp_model_kwargs": {},
|
38 |
+
"spaces_between_special_tokens": false,
|
39 |
+
"tokenizer_class": "LlamaTokenizer",
|
40 |
+
"trust_remote_code": false,
|
41 |
+
"unk_token": "<unk>",
|
42 |
+
"use_default_system_prompt": true,
|
43 |
+
"use_fast": true
|
44 |
+
}
|