Spaces:
Running
Running
fix
Browse files
app.py
CHANGED
@@ -55,7 +55,7 @@ def update_dropdowns(setting, dataset, model, criteria):
|
|
55 |
elif model != "llama2-7b-chat_newsqa":
|
56 |
updates["setting"] = gr.update(value="rag", interactive=False)
|
57 |
|
58 |
-
return updates["
|
59 |
|
60 |
|
61 |
|
@@ -136,44 +136,44 @@ with demo:
|
|
136 |
|
137 |
setting_dropdown.change(
|
138 |
change_version,
|
139 |
-
inputs=[
|
140 |
outputs=leaderboard_table
|
141 |
)
|
142 |
|
143 |
dataset_dropdown.change(
|
144 |
change_version,
|
145 |
-
inputs=[
|
146 |
outputs=leaderboard_table
|
147 |
)
|
148 |
|
149 |
model_dropdown.change(
|
150 |
change_version,
|
151 |
-
inputs=[
|
152 |
outputs=leaderboard_table
|
153 |
)
|
154 |
|
155 |
criteria_dropdown.change(
|
156 |
change_version,
|
157 |
-
inputs=[
|
158 |
outputs=leaderboard_table
|
159 |
)
|
160 |
|
161 |
setting_dropdown.change(
|
162 |
update_dropdowns,
|
163 |
-
inputs=[
|
164 |
-
outputs=[
|
165 |
)
|
166 |
|
167 |
dataset_dropdown.change(
|
168 |
update_dropdowns,
|
169 |
-
inputs=[
|
170 |
-
outputs=[
|
171 |
)
|
172 |
|
173 |
model_dropdown.change(
|
174 |
update_dropdowns,
|
175 |
-
inputs=[
|
176 |
-
outputs=[
|
177 |
)
|
178 |
|
179 |
with gr.Accordion("Submit a new model for evaluation"):
|
|
|
55 |
elif model != "llama2-7b-chat_newsqa":
|
56 |
updates["setting"] = gr.update(value="rag", interactive=False)
|
57 |
|
58 |
+
return updates["model"], updates["dataset"], updates["setting"], updates["criteria"]
|
59 |
|
60 |
|
61 |
|
|
|
136 |
|
137 |
setting_dropdown.change(
|
138 |
change_version,
|
139 |
+
inputs=[model_dropdown, dataset_dropdown, setting_dropdown, criteria_dropdown],
|
140 |
outputs=leaderboard_table
|
141 |
)
|
142 |
|
143 |
dataset_dropdown.change(
|
144 |
change_version,
|
145 |
+
inputs=[model_dropdown, dataset_dropdown, setting_dropdown, criteria_dropdown],
|
146 |
outputs=leaderboard_table
|
147 |
)
|
148 |
|
149 |
model_dropdown.change(
|
150 |
change_version,
|
151 |
+
inputs=[model_dropdown, dataset_dropdown, setting_dropdown, criteria_dropdown],
|
152 |
outputs=leaderboard_table
|
153 |
)
|
154 |
|
155 |
criteria_dropdown.change(
|
156 |
change_version,
|
157 |
+
inputs=[model_dropdown, dataset_dropdown, setting_dropdown, criteria_dropdown],
|
158 |
outputs=leaderboard_table
|
159 |
)
|
160 |
|
161 |
setting_dropdown.change(
|
162 |
update_dropdowns,
|
163 |
+
inputs=[model_dropdown, dataset_dropdown, setting_dropdown, criteria_dropdown],
|
164 |
+
outputs=[model_dropdown, dataset_dropdown, setting_dropdown, criteria_dropdown]
|
165 |
)
|
166 |
|
167 |
dataset_dropdown.change(
|
168 |
update_dropdowns,
|
169 |
+
inputs=[model_dropdown, dataset_dropdown, setting_dropdown, criteria_dropdown],
|
170 |
+
outputs=[model_dropdown, dataset_dropdown, setting_dropdown, criteria_dropdown]
|
171 |
)
|
172 |
|
173 |
model_dropdown.change(
|
174 |
update_dropdowns,
|
175 |
+
inputs=[model_dropdown, dataset_dropdown, setting_dropdown, criteria_dropdown],
|
176 |
+
outputs=[model_dropdown, dataset_dropdown, setting_dropdown, criteria_dropdown]
|
177 |
)
|
178 |
|
179 |
with gr.Accordion("Submit a new model for evaluation"):
|
versions/{llama2-7b-chat-hf-newsqa_news_mem_max.csv β llama2-7b-chat-hf-newsqa_news_memorization_max.csv}
RENAMED
File without changes
|
versions/{llama2-7b-chat-hf-newsqa_news_mem_mean.csv β llama2-7b-chat-hf-newsqa_news_memorization_mean.csv}
RENAMED
File without changes
|