shibing624 commited on
Commit
0976041
1 Parent(s): 458868a

适配新版chatglm6b的权重文件

Browse files

适配了以下变化:1. tokenizer 减少了2000个token
2. eos_token 变更了

Files changed (2) hide show
  1. adapter_config.json +3 -3
  2. adapter_model.bin +2 -2
adapter_config.json CHANGED
@@ -1,5 +1,5 @@
1
  {
2
- "base_model_name_or_path": "/home/flemingxu/disk/chatglm/chatglm_6b/",
3
  "bias": "none",
4
  "enable_lora": [
5
  true,
@@ -8,8 +8,8 @@
8
  ],
9
  "fan_in_fan_out": false,
10
  "inference_mode": true,
11
- "lora_alpha": 32,
12
- "lora_dropout": 0.1,
13
  "merge_weights": false,
14
  "modules_to_save": null,
15
  "peft_type": "LORA",
 
1
  {
2
+ "base_model_name_or_path": "THUDM/chatglm-6b",
3
  "bias": "none",
4
  "enable_lora": [
5
  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",
adapter_model.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:027d154431b7e8b4df578b8f03c575969b4dad43379f434444e07cecb514ab96
3
- size 14700185
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:91d2b4b653d723b007ee20ba41336c90f5ac66657e77d7a10106d0738617d128
3
+ size 14700953