Spaces:
Sleeping
Sleeping
update example
Browse files
app.py
CHANGED
|
@@ -70,7 +70,7 @@ class ModelManager:
|
|
| 70 |
|
| 71 |
# T2T prompt configurations
|
| 72 |
self.t2t_background_prompt = "In one clear sentence, describe the most essential background knowledge needed to answer the question:\n\n{question}\n\nDo NOT directly solve or give answer to the question."
|
| 73 |
-
self.t2t_answer_prompt = "Based on the background, answer the question:\n\n{question}" # Format for second round question
|
| 74 |
self.t2t_context_max_tokens = 256
|
| 75 |
self.t2t_answer_max_tokens = 512
|
| 76 |
|
|
|
|
| 70 |
|
| 71 |
# T2T prompt configurations
|
| 72 |
self.t2t_background_prompt = "In one clear sentence, describe the most essential background knowledge needed to answer the question:\n\n{question}\n\nDo NOT directly solve or give answer to the question."
|
| 73 |
+
self.t2t_answer_prompt = "Based on the background, accurately answer the question:\n\n{question}" # Format for second round question
|
| 74 |
self.t2t_context_max_tokens = 256
|
| 75 |
self.t2t_answer_max_tokens = 512
|
| 76 |
|