Update util.py
Browse files
util.py
CHANGED
|
@@ -36,7 +36,7 @@ def get_final_answer(model, question, answer):
|
|
| 36 |
If the final answer is a number, use a number not a word.
|
| 37 |
If the final answer is a word, start with an uppercase character.
|
| 38 |
If the final answer is a comma-separated list of numbers, use a space character after each comma.
|
| 39 |
-
If the final answer is a comma-separated list of strings, start with a lowercase character.
|
| 40 |
Do not add any content to the final answer that is not in the initial answer.
|
| 41 |
|
| 42 |
**Question:** """ + question + """
|
|
|
|
| 36 |
If the final answer is a number, use a number not a word.
|
| 37 |
If the final answer is a word, start with an uppercase character.
|
| 38 |
If the final answer is a comma-separated list of numbers, use a space character after each comma.
|
| 39 |
+
If the final answer is a comma-separated list of strings, use a space character after each comma and start with a lowercase character.
|
| 40 |
Do not add any content to the final answer that is not in the initial answer.
|
| 41 |
|
| 42 |
**Question:** """ + question + """
|