Sonu313131 commited on
Commit
11016bc
·
verified ·
1 Parent(s): 508d08f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -63,7 +63,8 @@ async def run_and_submit_all(profile: gr.OAuthProfile | None):
63
  "FINAL ANSWER: [YOUR FINAL ANSWER]. YOUR FINAL ANSWER should be a number OR as few words as possible OR a comma separated list of numbers and/or strings. "
64
  "If you are asked for a number, don't use comma to write your number neither use units such as $ or percent sign unless specified otherwise. "
65
  "If you are asked for a string, don't use articles, neither abbreviations (e.g. for cities), and write the digits in plain text unless specified otherwise. "
66
- "If the question asks about a specific event or fact, and no such event occurred (e.g., no dinosaur article featured in a given month), state that clearly. Do not guess or make up names. Only answer if you are confident based on evidence."
 
67
  "If you are asked for a comma separated list, apply the above rules depending of whether the element to be put in the list is a number or a string.\n\n"
68
  )
69
  full_prompt = system_prompt + f"Question: {question_text.strip()}"
 
63
  "FINAL ANSWER: [YOUR FINAL ANSWER]. YOUR FINAL ANSWER should be a number OR as few words as possible OR a comma separated list of numbers and/or strings. "
64
  "If you are asked for a number, don't use comma to write your number neither use units such as $ or percent sign unless specified otherwise. "
65
  "If you are asked for a string, don't use articles, neither abbreviations (e.g. for cities), and write the digits in plain text unless specified otherwise. "
66
+ "If the answer is that no such event or person exists, respond with the single word 'none' or 'no one' as appropriate. Avoid long explanations."
67
+ "ALWAYS answer with the least amount of words (single word wherever possible). If the answer is 'right', say 'right, and not 'the answer is right'"
68
  "If you are asked for a comma separated list, apply the above rules depending of whether the element to be put in the list is a number or a string.\n\n"
69
  )
70
  full_prompt = system_prompt + f"Question: {question_text.strip()}"