Wonder-Griffin
commited on
Commit
•
8853634
1
Parent(s):
f4880ec
Update config.json
Browse files- config.json +33 -24
config.json
CHANGED
@@ -1,34 +1,43 @@
|
|
1 |
{
|
2 |
-
"
|
3 |
-
"
|
4 |
-
|
5 |
-
|
6 |
-
|
7 |
-
|
8 |
-
|
9 |
-
|
10 |
-
|
11 |
-
|
12 |
-
|
13 |
-
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
|
|
|
|
|
|
|
|
|
18 |
"classifier",
|
19 |
"score"
|
20 |
],
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
|
26 |
"c_proj",
|
27 |
"c_attn",
|
28 |
"c_fc",
|
29 |
"score"
|
30 |
],
|
31 |
-
|
32 |
-
|
33 |
-
|
|
|
|
|
|
|
|
|
|
|
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 |
}
|