mtp0326 commited on
Commit
9370351
·
verified ·
1 Parent(s): 0f0d61a

Update adapter_config.json

Browse files
Files changed (1) hide show
  1. adapter_config.json +8 -6
adapter_config.json CHANGED
@@ -1,7 +1,7 @@
1
  {
2
  "alpha_pattern": {},
3
  "auto_mapping": null,
4
- "base_model_name_or_path": "distilbert-base-uncased",
5
  "bias": "none",
6
  "eva_config": null,
7
  "exclude_modules": null,
@@ -18,16 +18,18 @@
18
  "megatron_config": null,
19
  "megatron_core": "megatron.core",
20
  "modules_to_save": [
21
- "id",
22
- "actual_text",
23
- "actual_tokenized"
24
  ],
25
  "peft_type": "LORA",
26
  "r": 6,
27
  "rank_pattern": {},
28
  "revision": null,
29
- "target_modules":["attention.q_lin", "attention.k_lin", "attention.v_lin"]
30
- "task_type": "QUESTION_ANS",
 
 
 
31
  "use_dora": false,
32
  "use_rslora": false
33
  }
 
1
  {
2
  "alpha_pattern": {},
3
  "auto_mapping": null,
4
+ "base_model_name_or_path": "FacebookAI/roberta-base",
5
  "bias": "none",
6
  "eva_config": null,
7
  "exclude_modules": null,
 
18
  "megatron_config": null,
19
  "megatron_core": "megatron.core",
20
  "modules_to_save": [
21
+ "classifier",
22
+ "score"
 
23
  ],
24
  "peft_type": "LORA",
25
  "r": 6,
26
  "rank_pattern": {},
27
  "revision": null,
28
+ "target_modules": [
29
+ "query",
30
+ "value"
31
+ ],
32
+ "task_type": "SEQ_CLS",
33
  "use_dora": false,
34
  "use_rslora": false
35
  }