Update config.json
Browse files- config.json +33 -21
config.json
CHANGED
@@ -1,6 +1,9 @@
|
|
1 |
{
|
2 |
"architectures": [
|
3 |
-
"JudgeModel"
|
|
|
|
|
|
|
4 |
],
|
5 |
"inference_mode": true,
|
6 |
"batch_size": 32,
|
@@ -41,29 +44,38 @@
|
|
41 |
"vocab_size": 50257,
|
42 |
"warmup_steps": 1000,
|
43 |
"weight_decay": 0.01,
|
44 |
-
|
45 |
-
"
|
46 |
-
|
47 |
-
|
48 |
-
|
49 |
-
|
50 |
-
|
51 |
-
|
52 |
-
|
53 |
-
|
54 |
-
|
55 |
-
|
56 |
-
|
57 |
-
|
58 |
-
"
|
59 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
60 |
"task_specific_params": {
|
61 |
"text-generation": {
|
62 |
"do_sample": true,
|
63 |
"max_length": 100
|
|
|
|
|
|
|
|
|
|
|
|
|
64 |
}
|
65 |
-
}
|
66 |
-
"task_type": "SEQ_CLS",
|
67 |
-
"use_dora": false,
|
68 |
-
"use_rslora": false
|
69 |
}
|
|
|
1 |
{
|
2 |
"architectures": [
|
3 |
+
"JudgeModel",
|
4 |
+
"JudgeCasualLMHead",
|
5 |
+
"JudgeWithQA",
|
6 |
+
"JudgeClassifier"
|
7 |
],
|
8 |
"inference_mode": true,
|
9 |
"batch_size": 32,
|
|
|
44 |
"vocab_size": 50257,
|
45 |
"warmup_steps": 1000,
|
46 |
"weight_decay": 0.01,
|
47 |
+
|
48 |
+
"task_heads": {
|
49 |
+
"lm_head": {
|
50 |
+
"type": "JudgeCasualLMHead",
|
51 |
+
"params": {
|
52 |
+
"vocab_size": 50257
|
53 |
+
}
|
54 |
+
},
|
55 |
+
"qa_head": {
|
56 |
+
"type": "JudgeWithQA",
|
57 |
+
"params": {
|
58 |
+
"num_labels": 2
|
59 |
+
}
|
60 |
+
},
|
61 |
+
"classifier_head": {
|
62 |
+
"type": "JudgeClassifier",
|
63 |
+
"params": {
|
64 |
+
"num_labels": 5
|
65 |
+
}
|
66 |
+
}
|
67 |
+
},
|
68 |
+
|
69 |
"task_specific_params": {
|
70 |
"text-generation": {
|
71 |
"do_sample": true,
|
72 |
"max_length": 100
|
73 |
+
},
|
74 |
+
"question-answering": {
|
75 |
+
"max_answer_length": 30
|
76 |
+
},
|
77 |
+
"sequence-classification": {
|
78 |
+
"eval_steps": 500
|
79 |
}
|
80 |
+
}
|
|
|
|
|
|
|
81 |
}
|