fuvty commited on
Commit
54e9efe
·
1 Parent(s): d9a932f

update example

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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