lhoestq HF staff commited on
Commit
2cc594f
·
1 Parent(s): 40d688b

global mmlu by default

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -121,7 +121,7 @@ with gr.Blocks(css=css) as demo:
121
 
122
  @demo.load(inputs=session_state, outputs=[dataset_dropdown, loading_codes_json, subset_dropdown, split_dropdown, dataframe, session_state, share_link_textbox, use_locally_markdown, prev_button, next_button, page_html])
123
  def _fetch_datasets(session: str | None, request: gr.Request):
124
- datasets = list(HfApi().list_datasets(limit=NUM_TRENDING_DATASETS, sort="trendingScore", direction=-1, filter=["format:parquet"]))
125
  session = request.query_params.get(SESSIONS_DIR) or session
126
  if session:
127
  namespace, dataset_name, subset, split, _ = session.split("--")
 
121
 
122
  @demo.load(inputs=session_state, outputs=[dataset_dropdown, loading_codes_json, subset_dropdown, split_dropdown, dataframe, session_state, share_link_textbox, use_locally_markdown, prev_button, next_button, page_html])
123
  def _fetch_datasets(session: str | None, request: gr.Request):
124
+ datasets = ["CohereForAI/Global-MMLU"] + list(HfApi().list_datasets(limit=NUM_TRENDING_DATASETS, sort="trendingScore", direction=-1, filter=["format:parquet"]))
125
  session = request.query_params.get(SESSIONS_DIR) or session
126
  if session:
127
  namespace, dataset_name, subset, split, _ = session.split("--")