Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Commit
·
05f8ae5
1
Parent(s):
6fa0000
cleanup
Browse files
app.py
CHANGED
@@ -108,7 +108,7 @@ def build_plot(min_score, max_models_per_month, toggle_annotations, set_selector
|
|
108 |
hover_name="Model",
|
109 |
hover_data=["Organization", "License", "Link"],
|
110 |
trendline="ols",
|
111 |
-
title=f"
|
112 |
labels={"rating": "Arena ELO", "Release Date": "Release Date"},
|
113 |
height=800,
|
114 |
template="seaborn",
|
@@ -161,13 +161,17 @@ with gr.Blocks(
|
|
161 |
|
162 |
with gr.Row():
|
163 |
with gr.Column():
|
164 |
-
toggle_annotations = gr.Radio(
|
165 |
-
choices=[True, False], label="Overlay Best Model Name", value=True
|
166 |
-
)
|
167 |
set_selector = gr.Dropdown(
|
168 |
choices=list(CAT_NAME_TO_EXPLANATION.keys()),
|
169 |
-
label="Select
|
170 |
value="Overall",
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
171 |
)
|
172 |
with gr.Column():
|
173 |
min_score = gr.Slider(
|
@@ -176,6 +180,7 @@ with gr.Blocks(
|
|
176 |
value=(max_elo_score - min_elo_score) * 0.3 + min_elo_score,
|
177 |
step=50,
|
178 |
label="Minimum ELO Score",
|
|
|
179 |
)
|
180 |
max_models_per_month = gr.Slider(
|
181 |
value=upper_models_per_month - 2,
|
@@ -183,6 +188,7 @@ with gr.Blocks(
|
|
183 |
maximum=upper_models_per_month,
|
184 |
step=1,
|
185 |
label="Max Models per Month (per License)",
|
|
|
186 |
)
|
187 |
|
188 |
# Show plot
|
|
|
108 |
hover_name="Model",
|
109 |
hover_data=["Organization", "License", "Link"],
|
110 |
trendline="ols",
|
111 |
+
title=f"Open vs Proprietary LLMs by LMSYS Arena ELO Score (as of {date_updated})",
|
112 |
labels={"rating": "Arena ELO", "Release Date": "Release Date"},
|
113 |
height=800,
|
114 |
template="seaborn",
|
|
|
161 |
|
162 |
with gr.Row():
|
163 |
with gr.Column():
|
|
|
|
|
|
|
164 |
set_selector = gr.Dropdown(
|
165 |
choices=list(CAT_NAME_TO_EXPLANATION.keys()),
|
166 |
+
label="Select Category",
|
167 |
value="Overall",
|
168 |
+
info="Select the category to visualize",
|
169 |
+
)
|
170 |
+
toggle_annotations = gr.Radio(
|
171 |
+
choices=[True, False],
|
172 |
+
label="Overlay Best Model Name",
|
173 |
+
value=True,
|
174 |
+
info="Toggle to overlay the name of the best model per month per license",
|
175 |
)
|
176 |
with gr.Column():
|
177 |
min_score = gr.Slider(
|
|
|
180 |
value=(max_elo_score - min_elo_score) * 0.3 + min_elo_score,
|
181 |
step=50,
|
182 |
label="Minimum ELO Score",
|
183 |
+
info="Filter out low scoring models",
|
184 |
)
|
185 |
max_models_per_month = gr.Slider(
|
186 |
value=upper_models_per_month - 2,
|
|
|
188 |
maximum=upper_models_per_month,
|
189 |
step=1,
|
190 |
label="Max Models per Month (per License)",
|
191 |
+
info="Limit to N best models per month per license to reduce clutter",
|
192 |
)
|
193 |
|
194 |
# Show plot
|