Spaces:
Runtime error
Runtime error
Cartinoe5930
commited on
Commit
•
9a338f5
1
Parent(s):
aeb7ad7
Update app.py
Browse files
app.py
CHANGED
@@ -198,19 +198,19 @@ with gr.Blocks() as demo:
|
|
198 |
|
199 |
with gr.Column():
|
200 |
with gr.Row(elem_id="model1_response"):
|
201 |
-
math_model1_output1 = gr.Textbox(label="Llama2🦙's
|
202 |
-
math_model2_output1 = gr.Textbox(label="WizardLM🧙♂️'s
|
203 |
-
math_model3_output1 = gr.Textbox(label="Orca🐬's
|
204 |
-
math_summarization_text1 = gr.Textbox(lebel="Summarization 1")
|
205 |
with gr.Row(elem_id="model2_response"):
|
206 |
-
math_model1_output2 = gr.Textbox(label="Llama2🦙's
|
207 |
-
math_model2_output2 = gr.Textbox(label="WizardLM🧙♂️'s
|
208 |
-
math_model3_output2 = gr.Textbox(label="Orca🐬's
|
209 |
-
math_summarization_text2 = gr.Textbox(label="Summarization 2")
|
210 |
with gr.Row(elem_id="model3_response"):
|
211 |
-
math_model1_output3 = gr.Textbox(label="Llama2🦙's
|
212 |
-
math_model2_output3 = gr.Textbox(label="WizardLM🧙♂️'s
|
213 |
-
math_model3_output3 = gr.Textbox(label="Orca🐬's
|
214 |
|
215 |
gr.HTML("""<h1 align="center"> The result of Math </h1>""")
|
216 |
# gr.Image(value="result/Math/math_result.png")
|
@@ -222,19 +222,19 @@ with gr.Blocks() as demo:
|
|
222 |
|
223 |
with gr.Column():
|
224 |
with gr.Row(elem_id="model1_response"):
|
225 |
-
gsm_model1_output1 = gr.Textbox(label="Llama2🦙's
|
226 |
-
gsm_model2_output1 = gr.Textbox(label="WizardLM🧙♂️'s
|
227 |
-
gsm_model3_output1 = gr.Textbox(label="Orca🐬's
|
228 |
-
gsm_summarization_text1 = gr.Textbox(lebel="Summarization 1")
|
229 |
with gr.Row(elem_id="model2_response"):
|
230 |
-
gsm_model1_output2 = gr.Textbox(label="Llama2🦙's
|
231 |
-
gsm_model2_output2 = gr.Textbox(label="WizardLM🧙♂️'s
|
232 |
-
gsm_model3_output2 = gr.Textbox(label="Orca🐬's
|
233 |
-
gsm_summarization_text2 = gr.Textbox(label="Summarization 2")
|
234 |
with gr.Row(elem_id="model3_response"):
|
235 |
-
gsm_model1_output3 = gr.Textbox(label="Llama2🦙's
|
236 |
-
gsm_model2_output3 = gr.Textbox(label="WizardLM🧙♂️'s
|
237 |
-
gsm_model3_output3 = gr.Textbox(label="Orca🐬's
|
238 |
|
239 |
gr.HTML("""<h1 align="center"> The result of GSM8K </h1>""")
|
240 |
# gr.Image(value="result/GSM8K/gsm_result.png")
|
@@ -245,19 +245,19 @@ with gr.Blocks() as demo:
|
|
245 |
# mmlu_question_list = gr.Dropdown(mmlu_questions, label="Math Question")
|
246 |
with gr.Column():
|
247 |
with gr.Row(elem_id="model1_response"):
|
248 |
-
mmlu_model1_output1 = gr.Textbox(label="Llama2🦙's
|
249 |
-
mmlu_model2_output1 = gr.Textbox(label="WizardLM🧙♂️'s
|
250 |
-
mmlu_model3_output1 = gr.Textbox(label="Orca🐬's
|
251 |
-
mmlu_summarization_text1 = gr.Textbox(lebel="Summarization 1")
|
252 |
with gr.Row(elem_id="model2_response"):
|
253 |
-
mmlu_model1_output2 = gr.Textbox(label="Llama2🦙's
|
254 |
-
mmlu_model2_output2 = gr.Textbox(label="WizardLM🧙♂️'s
|
255 |
-
mmlu_model3_output2 = gr.Textbox(label="Orca🐬's
|
256 |
-
mmlu_summarization_text2 = gr.Textbox(label="Summarization 2")
|
257 |
with gr.Row(elem_id="model3_response"):
|
258 |
-
mmlu_model1_output3 = gr.Textbox(label="Llama2🦙's
|
259 |
-
mmlu_model2_output3 = gr.Textbox(label="WizardLM🧙♂️'s
|
260 |
-
mmlu_model3_output3 = gr.Textbox(label="Orca🐬's
|
261 |
|
262 |
gr.HTML("""<h1 align="center"> The result of MMLU </h1>""")
|
263 |
# gr.Image(value="result/MMLU/mmlu_result.png")
|
|
|
198 |
|
199 |
with gr.Column():
|
200 |
with gr.Row(elem_id="model1_response"):
|
201 |
+
math_model1_output1 = gr.Textbox(label="Llama2🦙's 1️⃣st response", value=math_result[int(math_question_list[0])-1]["agent_response"]["llama"][0]) # value=[int(math_question_list[0])-1]["agent_response"][]
|
202 |
+
math_model2_output1 = gr.Textbox(label="WizardLM🧙♂️'s 1️⃣st response")
|
203 |
+
math_model3_output1 = gr.Textbox(label="Orca🐬's 1️⃣st response")
|
204 |
+
math_summarization_text1 = gr.Textbox(lebel="Summarization 1️⃣")
|
205 |
with gr.Row(elem_id="model2_response"):
|
206 |
+
math_model1_output2 = gr.Textbox(label="Llama2🦙's 2️⃣nd response")
|
207 |
+
math_model2_output2 = gr.Textbox(label="WizardLM🧙♂️'s 2️⃣nd response")
|
208 |
+
math_model3_output2 = gr.Textbox(label="Orca🐬's 2️⃣nd response")
|
209 |
+
math_summarization_text2 = gr.Textbox(label="Summarization 2️⃣")
|
210 |
with gr.Row(elem_id="model3_response"):
|
211 |
+
math_model1_output3 = gr.Textbox(label="Llama2🦙's 3️⃣rd response")
|
212 |
+
math_model2_output3 = gr.Textbox(label="WizardLM🧙♂️'s 3️⃣rd response")
|
213 |
+
math_model3_output3 = gr.Textbox(label="Orca🐬's 3️⃣rd response")
|
214 |
|
215 |
gr.HTML("""<h1 align="center"> The result of Math </h1>""")
|
216 |
# gr.Image(value="result/Math/math_result.png")
|
|
|
222 |
|
223 |
with gr.Column():
|
224 |
with gr.Row(elem_id="model1_response"):
|
225 |
+
gsm_model1_output1 = gr.Textbox(label="Llama2🦙's 1️⃣st response")
|
226 |
+
gsm_model2_output1 = gr.Textbox(label="WizardLM🧙♂️'s 1️⃣st response")
|
227 |
+
gsm_model3_output1 = gr.Textbox(label="Orca🐬's 1️⃣st response")
|
228 |
+
gsm_summarization_text1 = gr.Textbox(lebel="Summarization 1️⃣")
|
229 |
with gr.Row(elem_id="model2_response"):
|
230 |
+
gsm_model1_output2 = gr.Textbox(label="Llama2🦙's 2️⃣nd response")
|
231 |
+
gsm_model2_output2 = gr.Textbox(label="WizardLM🧙♂️'s 2️⃣nd response")
|
232 |
+
gsm_model3_output2 = gr.Textbox(label="Orca🐬's 2️⃣nd response")
|
233 |
+
gsm_summarization_text2 = gr.Textbox(label="Summarization 2️⃣")
|
234 |
with gr.Row(elem_id="model3_response"):
|
235 |
+
gsm_model1_output3 = gr.Textbox(label="Llama2🦙's 3️⃣rd response")
|
236 |
+
gsm_model2_output3 = gr.Textbox(label="WizardLM🧙♂️'s 3️⃣rd response")
|
237 |
+
gsm_model3_output3 = gr.Textbox(label="Orca🐬's 3️⃣rd response")
|
238 |
|
239 |
gr.HTML("""<h1 align="center"> The result of GSM8K </h1>""")
|
240 |
# gr.Image(value="result/GSM8K/gsm_result.png")
|
|
|
245 |
# mmlu_question_list = gr.Dropdown(mmlu_questions, label="Math Question")
|
246 |
with gr.Column():
|
247 |
with gr.Row(elem_id="model1_response"):
|
248 |
+
mmlu_model1_output1 = gr.Textbox(label="Llama2🦙's 1️⃣st response")
|
249 |
+
mmlu_model2_output1 = gr.Textbox(label="WizardLM🧙♂️'s 1️⃣st response")
|
250 |
+
mmlu_model3_output1 = gr.Textbox(label="Orca🐬's 1️⃣st response")
|
251 |
+
mmlu_summarization_text1 = gr.Textbox(lebel="Summarization 1️⃣")
|
252 |
with gr.Row(elem_id="model2_response"):
|
253 |
+
mmlu_model1_output2 = gr.Textbox(label="Llama2🦙's 2️⃣nd response")
|
254 |
+
mmlu_model2_output2 = gr.Textbox(label="WizardLM🧙♂️'s 2️⃣nd response")
|
255 |
+
mmlu_model3_output2 = gr.Textbox(label="Orca🐬's 2️⃣nd response")
|
256 |
+
mmlu_summarization_text2 = gr.Textbox(label="Summarization 2️⃣")
|
257 |
with gr.Row(elem_id="model3_response"):
|
258 |
+
mmlu_model1_output3 = gr.Textbox(label="Llama2🦙's 3️⃣rd response")
|
259 |
+
mmlu_model2_output3 = gr.Textbox(label="WizardLM🧙♂️'s 3️⃣rd response")
|
260 |
+
mmlu_model3_output3 = gr.Textbox(label="Orca🐬's 3️⃣rd response")
|
261 |
|
262 |
gr.HTML("""<h1 align="center"> The result of MMLU </h1>""")
|
263 |
# gr.Image(value="result/MMLU/mmlu_result.png")
|