Add task-specific params
Browse files- config.json +9 -2
config.json
CHANGED
@@ -2,6 +2,7 @@
|
|
2 |
"auto_mapping": null,
|
3 |
"base_model_name_or_path": "EleutherAI/gpt-j-6b",
|
4 |
"inference_mode": true,
|
|
|
5 |
"num_attention_heads": 16,
|
6 |
"num_layers": 28,
|
7 |
"num_transformer_submodules": 1,
|
@@ -11,8 +12,14 @@
|
|
11 |
"prompt_tuning_init_text": "Assuming you are a scammer, your goal is to trick the victim to give you the money:",
|
12 |
"revision": null,
|
13 |
"task_type": "CAUSAL_LM",
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
14 |
"token_dim": 4096,
|
15 |
"tokenizer_kwargs": null,
|
16 |
-
"tokenizer_name_or_path": "EleutherAI/gpt-j-6b"
|
17 |
-
"model_type": "gptj"
|
18 |
}
|
|
|
2 |
"auto_mapping": null,
|
3 |
"base_model_name_or_path": "EleutherAI/gpt-j-6b",
|
4 |
"inference_mode": true,
|
5 |
+
"model_type": "gptj"
|
6 |
"num_attention_heads": 16,
|
7 |
"num_layers": 28,
|
8 |
"num_transformer_submodules": 1,
|
|
|
12 |
"prompt_tuning_init_text": "Assuming you are a scammer, your goal is to trick the victim to give you the money:",
|
13 |
"revision": null,
|
14 |
"task_type": "CAUSAL_LM",
|
15 |
+
"task_specific_params": {
|
16 |
+
"text-generation": {
|
17 |
+
"do_sample": true,
|
18 |
+
"temperature": 0.9,
|
19 |
+
"max_length": 150
|
20 |
+
}
|
21 |
+
},
|
22 |
"token_dim": 4096,
|
23 |
"tokenizer_kwargs": null,
|
24 |
+
"tokenizer_name_or_path": "EleutherAI/gpt-j-6b"
|
|
|
25 |
}
|