idolezal commited on
Commit
4f30785
1 Parent(s): da3a7d3
Files changed (1) hide show
  1. app.py +17 -6
app.py CHANGED
@@ -493,12 +493,23 @@ def gradio_app():
493
  with gr.Row():
494
  Leaderboard(
495
  value=leaderboard_dataframe,
496
- select_columns=["T", "Model", "Average ⬆️", "ARC",
497
- "HellaSwag", "MMLU", "TruthfulQA",
498
- "Winogrande", "GSM8K"],
499
- search_columns=["model_name_for_query", "Type"],
500
- hide_columns=["model_name_for_query", "Model Size"],
501
- filter_columns=["T", "Precision", "Model Size"],
 
 
 
 
 
 
 
 
 
 
 
502
  )
503
 
504
  with gr.Row():
 
493
  with gr.Row():
494
  Leaderboard(
495
  value=leaderboard_dataframe,
496
+ select_columns=SelectColumns(
497
+ default_selection=None,
498
+ cant_deselect=["Model"],
499
+ label="Select Columns to Display:",
500
+ ),
501
+ search_columns=["Model", "Type"],
502
+ hide_columns=[],
503
+ filter_columns=[
504
+ ColumnFilter("Type", type="checkboxgroup", label="Model types"),
505
+ ColumnFilter(
506
+ "# θ (B)",
507
+ type="slider",
508
+ min=0.01,
509
+ max=150, # TODO: Max in leaderboard_dataframe
510
+ label="Select the number of parameters (B)",
511
+ ),
512
+ ],
513
  )
514
 
515
  with gr.Row():