Spaces:
Running
Running
root
commited on
Commit
·
ea8a0be
1
Parent(s):
ad6389f
fix
Browse files
app.py
CHANGED
|
@@ -385,35 +385,35 @@ with gr.Blocks(css=custom_css) as app:
|
|
| 385 |
# elem_id="rewardbench_dataframe_length",
|
| 386 |
# height=1000,
|
| 387 |
# )
|
| 388 |
-
with gr.TabItem("Prior Test Sets"):
|
| 389 |
-
|
| 390 |
-
|
| 391 |
-
|
| 392 |
-
|
| 393 |
-
|
| 394 |
-
|
| 395 |
-
|
| 396 |
-
|
| 397 |
-
|
| 398 |
-
|
| 399 |
-
|
| 400 |
-
|
| 401 |
-
|
| 402 |
-
|
| 403 |
-
|
| 404 |
-
|
| 405 |
-
|
| 406 |
-
|
| 407 |
-
|
| 408 |
-
|
| 409 |
-
|
| 410 |
-
|
| 411 |
-
|
| 412 |
-
|
| 413 |
-
|
| 414 |
-
|
| 415 |
-
|
| 416 |
-
|
| 417 |
|
| 418 |
|
| 419 |
with gr.TabItem("About"):
|
|
|
|
| 385 |
# elem_id="rewardbench_dataframe_length",
|
| 386 |
# height=1000,
|
| 387 |
# )
|
| 388 |
+
# with gr.TabItem("Prior Test Sets"):
|
| 389 |
+
# with gr.Row():
|
| 390 |
+
# search_3 = gr.Textbox(label="Model Search (delimit with , )", show_label=False, placeholder="Model Search (delimit with , )")
|
| 391 |
+
# model_types_3 = gr.CheckboxGroup(["Seq. Classifiers", "DPO", "Custom Classifiers", "Generative"],
|
| 392 |
+
# value=["Seq. Classifiers", "DPO", "Custom Classifiers"],
|
| 393 |
+
# label="Model Types",
|
| 394 |
+
# show_label=False,
|
| 395 |
+
# # info="Which model types to include.",
|
| 396 |
+
# )
|
| 397 |
+
# with gr.Row():
|
| 398 |
+
# PREF_SET_TEXT = """
|
| 399 |
+
# For more information, see the [dataset](https://huggingface.co/datasets/allenai/pref-test-sets). Only the subsets Anthropic Helpful, Anthropic HHH, Stanford SHP, and OpenAI's Summarize data are used in the leaderboard ranking.
|
| 400 |
+
# """
|
| 401 |
+
# gr.Markdown(PREF_SET_TEXT)
|
| 402 |
+
# with gr.Row():
|
| 403 |
+
# # backup
|
| 404 |
+
# pref_sets_table_hidden = gr.Dataframe(
|
| 405 |
+
# prefs_data.values,
|
| 406 |
+
# datatype=col_types_prefs,
|
| 407 |
+
# headers=prefs_data.columns.tolist(),
|
| 408 |
+
# visible=False,
|
| 409 |
+
# )
|
| 410 |
+
# pref_sets_table = gr.Dataframe(
|
| 411 |
+
# regex_table(prefs_data.copy(), "", ["Seq. Classifiers", "DPO", "Custom Classifiers"]),
|
| 412 |
+
# datatype=col_types_prefs,
|
| 413 |
+
# headers=prefs_data.columns.tolist(),
|
| 414 |
+
# elem_id="prefs_dataframe",
|
| 415 |
+
# # height=1000,
|
| 416 |
+
# )
|
| 417 |
|
| 418 |
|
| 419 |
with gr.TabItem("About"):
|