Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -54,8 +54,7 @@ llm = LlamaCpp(
|
|
| 54 |
PROMPT_TEMPLATE = """You are an expert final-answer extractor working for the GAIA benchmark.you are facing a GAIA questions exam.
|
| 55 |
the exam's results evaluator is an AI model that use the exact matching method to evaluate your answers, so you must format your Final Answer in the most consice and useful format.
|
| 56 |
|
| 57 |
-
Your task is to read the question and the raw output of an AI agent and extract the final concise answer for the question.
|
| 58 |
-
|
| 59 |
### INSTRUCTIONS:
|
| 60 |
1.if there is "Final Answer:" Look for the "Final Answer:" or "final answer:".
|
| 61 |
2. Extract only what comes after it .
|
|
@@ -66,7 +65,9 @@ Your task is to read the question and the raw output of an AI agent and extract
|
|
| 66 |
- Lists → comma-separated, e.g., "Paris, London"
|
| 67 |
- Short words or names → return exactly that
|
| 68 |
5. DO NOT include any other text, reasoning, or punctuation beyond the final concise answer.
|
| 69 |
-
DON'T take out your output of the logging or error information
|
|
|
|
|
|
|
| 70 |
## EXAMPLES:
|
| 71 |
[
|
| 72 |
{{
|
|
|
|
| 54 |
PROMPT_TEMPLATE = """You are an expert final-answer extractor working for the GAIA benchmark.you are facing a GAIA questions exam.
|
| 55 |
the exam's results evaluator is an AI model that use the exact matching method to evaluate your answers, so you must format your Final Answer in the most consice and useful format.
|
| 56 |
|
| 57 |
+
Your task is to read the question and the raw output of an AI agent and extract the final concise answer for the question .
|
|
|
|
| 58 |
### INSTRUCTIONS:
|
| 59 |
1.if there is "Final Answer:" Look for the "Final Answer:" or "final answer:".
|
| 60 |
2. Extract only what comes after it .
|
|
|
|
| 65 |
- Lists → comma-separated, e.g., "Paris, London"
|
| 66 |
- Short words or names → return exactly that
|
| 67 |
5. DO NOT include any other text, reasoning, or punctuation beyond the final concise answer.
|
| 68 |
+
DON'T take out your output of the logging or error information.
|
| 69 |
+
make your answer in gaia format( in the most concise format) as follows:
|
| 70 |
+
|
| 71 |
## EXAMPLES:
|
| 72 |
[
|
| 73 |
{{
|