shibing624 commited on
Commit
864f3ab
1 Parent(s): 4591571

适配最新版peft

Browse files
Files changed (2) hide show
  1. adapter_config.json +2 -7
  2. adapter_model.bin +2 -2
adapter_config.json CHANGED
@@ -1,16 +1,11 @@
1
  {
2
  "base_model_name_or_path": "THUDM/chatglm-6b",
3
  "bias": "none",
4
- "enable_lora": [
5
- true,
6
- false,
7
- true
8
- ],
9
  "fan_in_fan_out": false,
10
  "inference_mode": true,
 
11
  "lora_alpha": 16,
12
  "lora_dropout": 0.05,
13
- "merge_weights": false,
14
  "modules_to_save": null,
15
  "peft_type": "LORA",
16
  "r": 8,
@@ -18,4 +13,4 @@
18
  "query_key_value"
19
  ],
20
  "task_type": "CAUSAL_LM"
21
- }
 
1
  {
2
  "base_model_name_or_path": "THUDM/chatglm-6b",
3
  "bias": "none",
 
 
 
 
 
4
  "fan_in_fan_out": false,
5
  "inference_mode": true,
6
+ "init_lora_weights": true,
7
  "lora_alpha": 16,
8
  "lora_dropout": 0.05,
 
9
  "modules_to_save": null,
10
  "peft_type": "LORA",
11
  "r": 8,
 
13
  "query_key_value"
14
  ],
15
  "task_type": "CAUSAL_LM"
16
+ }
adapter_model.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:1900587ce7c4c4d0a005e675e22a2c3ef343c39daf0213d95f3b8acf08a8aa97
3
- size 14700953
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1cfffc4c6a1ae7179751d5749e721d5b0dc626a2bb5bfdf594b8a153669bfdd8
3
+ size 14700825