saumyamalik commited on
Commit
5883014
·
1 Parent(s): 64bb23a

rename split to 'test'

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -194,7 +194,7 @@ col_types_rewardbench_avg = ["number"] + ["markdown"]+ ["str"] + ["number"] * (l
194
  ## col_types_prefs_sub = ["markdown"] + ["number"] * (len(prefs_data_sub.columns) - 1)
195
 
196
  # for showing random samples
197
- eval_set = load_dataset(eval_set_repo, use_auth_token=COLLAB_TOKEN, split="train")
198
  def random_sample(r: gr.Request, subset):
199
  if subset is None or subset == []:
200
  sample_index = np.random.randint(0, len(eval_set) - 1)
 
194
  ## col_types_prefs_sub = ["markdown"] + ["number"] * (len(prefs_data_sub.columns) - 1)
195
 
196
  # for showing random samples
197
+ eval_set = load_dataset(eval_set_repo, use_auth_token=COLLAB_TOKEN, split="test")
198
  def random_sample(r: gr.Request, subset):
199
  if subset is None or subset == []:
200
  sample_index = np.random.randint(0, len(eval_set) - 1)