TanmaySah commited on
Commit
8722663
·
1 Parent(s): 182065e

Upload folder using huggingface_hub

Browse files
Files changed (3) hide show
  1. README.md +39 -0
  2. adapter_config.json +14 -4
  3. adapter_model.bin +2 -2
README.md CHANGED
@@ -4,6 +4,42 @@ library_name: peft
4
  ## Training procedure
5
 
6
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
7
  The following `bitsandbytes` quantization config was used during training:
8
  - quant_method: bitsandbytes
9
  - load_in_8bit: True
@@ -41,6 +77,9 @@ The following `bitsandbytes` quantization config was used during training:
41
  - bnb_4bit_compute_dtype: float32
42
  ### Framework versions
43
 
 
 
 
44
  - PEFT 0.5.0
45
  - PEFT 0.5.0
46
 
 
4
  ## Training procedure
5
 
6
 
7
+ The following `bitsandbytes` quantization config was used during training:
8
+ - quant_method: bitsandbytes
9
+ - load_in_8bit: True
10
+ - load_in_4bit: False
11
+ - llm_int8_threshold: 6.0
12
+ - llm_int8_skip_modules: None
13
+ - llm_int8_enable_fp32_cpu_offload: False
14
+ - llm_int8_has_fp16_weight: False
15
+ - bnb_4bit_quant_type: fp4
16
+ - bnb_4bit_use_double_quant: False
17
+ - bnb_4bit_compute_dtype: float32
18
+
19
+ The following `bitsandbytes` quantization config was used during training:
20
+ - quant_method: bitsandbytes
21
+ - load_in_8bit: True
22
+ - load_in_4bit: False
23
+ - llm_int8_threshold: 6.0
24
+ - llm_int8_skip_modules: None
25
+ - llm_int8_enable_fp32_cpu_offload: False
26
+ - llm_int8_has_fp16_weight: False
27
+ - bnb_4bit_quant_type: fp4
28
+ - bnb_4bit_use_double_quant: False
29
+ - bnb_4bit_compute_dtype: float32
30
+
31
+ The following `bitsandbytes` quantization config was used during training:
32
+ - quant_method: bitsandbytes
33
+ - load_in_8bit: True
34
+ - load_in_4bit: False
35
+ - llm_int8_threshold: 6.0
36
+ - llm_int8_skip_modules: None
37
+ - llm_int8_enable_fp32_cpu_offload: False
38
+ - llm_int8_has_fp16_weight: False
39
+ - bnb_4bit_quant_type: fp4
40
+ - bnb_4bit_use_double_quant: False
41
+ - bnb_4bit_compute_dtype: float32
42
+
43
  The following `bitsandbytes` quantization config was used during training:
44
  - quant_method: bitsandbytes
45
  - load_in_8bit: True
 
77
  - bnb_4bit_compute_dtype: float32
78
  ### Framework versions
79
 
80
+ - PEFT 0.5.0
81
+ - PEFT 0.5.0
82
+ - PEFT 0.5.0
83
  - PEFT 0.5.0
84
  - PEFT 0.5.0
85
 
adapter_config.json CHANGED
@@ -1,11 +1,21 @@
1
  {
2
- "adapter_layers": 30,
3
- "adapter_len": 10,
4
  "auto_mapping": null,
5
  "base_model_name_or_path": "meta-llama/Llama-2-7b-hf",
 
 
6
  "inference_mode": true,
7
- "peft_type": "ADAPTION_PROMPT",
 
 
 
 
 
 
 
8
  "revision": null,
9
- "target_modules": "self_attn",
 
 
 
10
  "task_type": "CAUSAL_LM"
11
  }
 
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": 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 CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:64e1c98e33f457e60ec3b02178862d42e6d2c0b1956734414952a9b1f209efe2
3
- size 4936101
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:93e93866b1942997054c21682ee147fb1d9d126b1a06ba2bb827221b6668aad9
3
+ size 16822989