Upload model llama-2-7b
Browse files
Llama-2-7b-hf/final/README.md
ADDED
@@ -0,0 +1,92 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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: float16
|
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: float16
|
28 |
+
|
29 |
+
The following `bitsandbytes` quantization config was used during training:
|
30 |
+
- load_in_8bit: False
|
31 |
+
- load_in_4bit: True
|
32 |
+
- llm_int8_threshold: 6.0
|
33 |
+
- llm_int8_skip_modules: None
|
34 |
+
- llm_int8_enable_fp32_cpu_offload: False
|
35 |
+
- llm_int8_has_fp16_weight: False
|
36 |
+
- bnb_4bit_quant_type: nf4
|
37 |
+
- bnb_4bit_use_double_quant: False
|
38 |
+
- bnb_4bit_compute_dtype: float16
|
39 |
+
|
40 |
+
The following `bitsandbytes` quantization config was used during training:
|
41 |
+
- load_in_8bit: False
|
42 |
+
- load_in_4bit: True
|
43 |
+
- llm_int8_threshold: 6.0
|
44 |
+
- llm_int8_skip_modules: None
|
45 |
+
- llm_int8_enable_fp32_cpu_offload: False
|
46 |
+
- llm_int8_has_fp16_weight: False
|
47 |
+
- bnb_4bit_quant_type: nf4
|
48 |
+
- bnb_4bit_use_double_quant: False
|
49 |
+
- bnb_4bit_compute_dtype: float16
|
50 |
+
|
51 |
+
The following `bitsandbytes` quantization config was used during training:
|
52 |
+
- load_in_8bit: False
|
53 |
+
- load_in_4bit: True
|
54 |
+
- llm_int8_threshold: 6.0
|
55 |
+
- llm_int8_skip_modules: None
|
56 |
+
- llm_int8_enable_fp32_cpu_offload: False
|
57 |
+
- llm_int8_has_fp16_weight: False
|
58 |
+
- bnb_4bit_quant_type: nf4
|
59 |
+
- bnb_4bit_use_double_quant: False
|
60 |
+
- bnb_4bit_compute_dtype: float16
|
61 |
+
|
62 |
+
The following `bitsandbytes` quantization config was used during training:
|
63 |
+
- load_in_8bit: False
|
64 |
+
- load_in_4bit: True
|
65 |
+
- llm_int8_threshold: 6.0
|
66 |
+
- llm_int8_skip_modules: None
|
67 |
+
- llm_int8_enable_fp32_cpu_offload: False
|
68 |
+
- llm_int8_has_fp16_weight: False
|
69 |
+
- bnb_4bit_quant_type: nf4
|
70 |
+
- bnb_4bit_use_double_quant: False
|
71 |
+
- bnb_4bit_compute_dtype: float16
|
72 |
+
|
73 |
+
The following `bitsandbytes` quantization config was used during training:
|
74 |
+
- load_in_8bit: False
|
75 |
+
- load_in_4bit: True
|
76 |
+
- llm_int8_threshold: 6.0
|
77 |
+
- llm_int8_skip_modules: None
|
78 |
+
- llm_int8_enable_fp32_cpu_offload: False
|
79 |
+
- llm_int8_has_fp16_weight: False
|
80 |
+
- bnb_4bit_quant_type: nf4
|
81 |
+
- bnb_4bit_use_double_quant: False
|
82 |
+
- bnb_4bit_compute_dtype: float16
|
83 |
+
### Framework versions
|
84 |
+
|
85 |
+
- PEFT 0.4.0
|
86 |
+
- PEFT 0.4.0
|
87 |
+
- PEFT 0.4.0
|
88 |
+
- PEFT 0.4.0
|
89 |
+
- PEFT 0.4.0
|
90 |
+
- PEFT 0.4.0
|
91 |
+
|
92 |
+
- PEFT 0.4.0
|
Llama-2-7b-hf/final/adapter_config.json
ADDED
@@ -0,0 +1,21 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"auto_mapping": null,
|
3 |
+
"base_model_name_or_path": "meta-llama/Llama-2-7b-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": 8,
|
11 |
+
"lora_dropout": 0.1,
|
12 |
+
"modules_to_save": null,
|
13 |
+
"peft_type": "LORA",
|
14 |
+
"r": 32,
|
15 |
+
"revision": null,
|
16 |
+
"target_modules": [
|
17 |
+
"q_proj",
|
18 |
+
"v_proj"
|
19 |
+
],
|
20 |
+
"task_type": "CAUSAL_LM"
|
21 |
+
}
|
Llama-2-7b-hf/final/adapter_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:413688ae88443c75508ef2c7adfc161e6984d9f80ffcb43689c6503ccfbf5635
|
3 |
+
size 67155338
|