Update config.json
Browse files- config.json +8 -0
config.json
CHANGED
@@ -30,6 +30,14 @@
|
|
30 |
"text-generation": {
|
31 |
"do_sample": true,
|
32 |
"max_length": 50
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
33 |
}
|
34 |
},
|
35 |
"torch_dtype": "float32",
|
|
|
30 |
"text-generation": {
|
31 |
"do_sample": true,
|
32 |
"max_length": 50
|
33 |
+
},
|
34 |
+
"c2gen": {
|
35 |
+
"prompt_template" : "You are a context generator that generates 'CONTEXT' based on the given 'KEYWORDS'.\n\nKEYWORDS: \n{keywords}\n\nCONTEXT: \n{context}\n\n:END".format(keywords="{keywords}", context="{context}"),
|
36 |
+
"do_sample": true,
|
37 |
+
"max_length": 256,
|
38 |
+
"temperature": 0.7,
|
39 |
+
"top_k": 32,
|
40 |
+
"top_p": 0.88,
|
41 |
}
|
42 |
},
|
43 |
"torch_dtype": "float32",
|