bstraehle commited on
Commit
c5a577b
·
verified ·
1 Parent(s): a65f5bc

Update util.py

Browse files
Files changed (1) hide show
  1. util.py +2 -1
util.py CHANGED
@@ -20,7 +20,8 @@ def get_final_answer(model, question, answer):
20
  If you are asked for a string, don't use articles, neither abbreviations, and write the digits in plain text unless specified otherwise.
21
  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.
22
  If the final answer is a single word, start with an uppercase character.
23
- If the final answer is a comma-separated list, use a space character after each comma.
 
24
 
25
  **Question:** """ + question + """
26
 
 
20
  If you are asked for a string, don't use articles, neither abbreviations, and write the digits in plain text unless specified otherwise.
21
  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.
22
  If the final answer is a single word, start with an uppercase character.
23
+ If the final answer is a comma-separated list of numbers, use a space character after each comma.
24
+ If the final answer is a comma-separated list of strings, start with a lowercase character.
25
 
26
  **Question:** """ + question + """
27