Wonder-Griffin commited on
Commit
8853634
1 Parent(s): f4880ec

Update config.json

Browse files
Files changed (1) hide show
  1. config.json +33 -24
config.json CHANGED
@@ -1,34 +1,43 @@
1
  {
2
- "alpha_pattern": {},
3
- "auto_mapping": null,
4
- "base_model_name_or_path": "openai-community/gpt2",
5
- "bias": "none",
6
- "fan_in_fan_out": false,
7
- "inference_mode": true,
8
- "init_lora_weights": true,
9
- "layer_replication": null,
10
- "layers_pattern": null,
11
- "layers_to_transform": null,
12
- "loftq_config": {},
13
- "lora_alpha": 32,
14
- "lora_dropout": 0.05,
15
- "megatron_config": null,
16
- "megatron_core": "megatron.core",
17
- "modules_to_save": [
 
 
 
 
18
  "classifier",
19
  "score"
20
  ],
21
- "peft_type": "LORA",
22
- "r": 16,
23
- "rank_pattern": {},
24
- "revision": null,
25
- "target_modules": [
26
  "c_proj",
27
  "c_attn",
28
  "c_fc",
29
  "score"
30
  ],
31
- "task_type": "SEQ_CLS",
32
- "use_dora": false,
33
- "use_rslora": false
 
 
 
 
 
34
  }
 
1
  {
2
+ "activation_function": "gelu_new",
3
+ "architectures": [
4
+ "GPT2LMHeadModel"
5
+ ],
6
+ "alpha_pattern": {},
7
+ "auto_mapping": null,
8
+ "model_type": "gpt2",
9
+ "bias": "none",
10
+ "fan_in_fan_out": false,
11
+ "inference_mode": true,
12
+ "init_lora_weights": true,
13
+ "layer_replication": null,
14
+ "layers_pattern": null,
15
+ "layers_to_transform": null,
16
+ "loftq_config": {},
17
+ "lora_alpha": 32,
18
+ "lora_dropout": 0.05,
19
+ "megatron_config": null,
20
+ "megatron_core": "megatron.core",
21
+ "modules_to_save": [
22
  "classifier",
23
  "score"
24
  ],
25
+ "peft_type": "LORA",
26
+ "r": 16,
27
+ "rank_pattern": {},
28
+ "revision": null,
29
+ "target_modules": [
30
  "c_proj",
31
  "c_attn",
32
  "c_fc",
33
  "score"
34
  ],
35
+ "task_specific_params": {
36
+ "text-generation": {
37
+ "do_sample": true,
38
+ "max_length": 50
39
+ }
40
+ "task_type": "SEQ_CLS",
41
+ "use_dora": false,
42
+ "use_rslora": false
43
  }