Update util.py
Browse files
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 |
|