Spaces:
Sleeping
Sleeping
Commit
·
7fcd57a
1
Parent(s):
05b511a
Update app.py
Browse files
app.py
CHANGED
|
@@ -31,7 +31,7 @@ def math_display_question_answer(question, cot, request: gr.Request):
|
|
| 31 |
else:
|
| 32 |
q = math_question_selector_map[question]
|
| 33 |
|
| 34 |
-
return q["agent_response"]["llama"][0], q["agent_response"]["wizardlm"][0], q["agent_response"]["orca"][0], q["agent_response"]["llama"][1], q["agent_response"]["wizardlm"][1], q["agent_response"]["orca"][1], q["agent_response"]["llama"][2], q["agent_response"]["wizardlm"][2], q["agent_response"]["orca"][2]
|
| 35 |
|
| 36 |
def gsm_display_question_answer(question, cot, request: gr.Request):
|
| 37 |
if cot:
|
|
@@ -39,7 +39,7 @@ def gsm_display_question_answer(question, cot, request: gr.Request):
|
|
| 39 |
else:
|
| 40 |
q = gsm_question_selector_map[question]
|
| 41 |
|
| 42 |
-
return q["agent_response"]["llama"][0], q["agent_response"]["wizardlm"][0], q["agent_response"]["orca"][0], q["agent_response"]["llama"][1], q["agent_response"]["wizardlm"][1], q["agent_response"]["orca"][1], q["agent_response"]["llama"][2], q["agent_response"]["wizardlm"][2], q["agent_response"]["orca"][2]
|
| 43 |
|
| 44 |
def mmlu_display_question_answer(question, cot, request: gr.Request):
|
| 45 |
if cot:
|
|
|
|
| 31 |
else:
|
| 32 |
q = math_question_selector_map[question]
|
| 33 |
|
| 34 |
+
return q["agent_response"]["llama"][0], q["agent_response"]["wizardlm"][0], q["agent_response"]["orca"][0], q["summarization"][0], q["agent_response"]["llama"][1], q["agent_response"]["wizardlm"][1], q["agent_response"]["orca"][1], q["summarization"][1], q["agent_response"]["llama"][2], q["agent_response"]["wizardlm"][2], q["agent_response"]["orca"][2]
|
| 35 |
|
| 36 |
def gsm_display_question_answer(question, cot, request: gr.Request):
|
| 37 |
if cot:
|
|
|
|
| 39 |
else:
|
| 40 |
q = gsm_question_selector_map[question]
|
| 41 |
|
| 42 |
+
return q["agent_response"]["llama"][0], q["agent_response"]["wizardlm"][0], q["agent_response"]["orca"][0], q["summarization"][0], q["agent_response"]["llama"][1], q["agent_response"]["wizardlm"][1], q["agent_response"]["orca"][1], q["summarization"][1], q["agent_response"]["llama"][2], q["agent_response"]["wizardlm"][2], q["agent_response"]["orca"][2]
|
| 43 |
|
| 44 |
def mmlu_display_question_answer(question, cot, request: gr.Request):
|
| 45 |
if cot:
|