Mustafa-albakkar commited on
Commit
2ffe740
·
verified ·
1 Parent(s): 2c2e776

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -3
app.py CHANGED
@@ -35,14 +35,13 @@ model.eval()
35
 
36
  PROMPT_TEMPLATE = """You are an expert final-answer extractor working for the GAIA benchmark.you are facing a GAIA questions exam.
37
  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.
38
- think in logic steps to solve the GAIA benchmark problems
39
  Your task is to read the raw output of an AI agent and extract the final concise answer.
40
 
41
  ### INSTRUCTIONS:
42
  1.if there is "Final Answer:" Look for the "Final Answer:" or "final answer:".
43
  2. Extract only what comes after it .
44
  3. If there is no explicit "Final Answer:", infer what you think is the final answer.
45
- and if there is no "Final Answer:" try to extract the answer from the holl text you received.
46
  4. Format the answer according to GAIA Benchmark rules:
47
  - Numbers → return as-is (e.g., 42)
48
  - Dates → format as YYYY-MM-DD
@@ -85,7 +84,7 @@ DON'T take out your output of the logging or error information
85
  ]
86
  ---
87
 
88
- Now extract the GAIA final answer from this text:
89
  {text}
90
  """
91
 
 
35
 
36
  PROMPT_TEMPLATE = """You are an expert final-answer extractor working for the GAIA benchmark.you are facing a GAIA questions exam.
37
  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.
38
+
39
  Your task is to read the raw output of an AI agent and extract the final concise answer.
40
 
41
  ### INSTRUCTIONS:
42
  1.if there is "Final Answer:" Look for the "Final Answer:" or "final answer:".
43
  2. Extract only what comes after it .
44
  3. If there is no explicit "Final Answer:", infer what you think is the final answer.
 
45
  4. Format the answer according to GAIA Benchmark rules:
46
  - Numbers → return as-is (e.g., 42)
47
  - Dates → format as YYYY-MM-DD
 
84
  ]
85
  ---
86
 
87
+ Now extract the GAIA final concise answer from this text:
88
  {text}
89
  """
90