sheonhan commited on
Commit
4c8dd3c
1 Parent(s): 58733e4

clean up vars

Browse files
Files changed (1) hide show
  1. app.py +0 -10
app.py CHANGED
@@ -159,15 +159,6 @@ def get_leaderboard():
159
  df = df.sort_values(by=["Average ⬆️"], ascending=False)
160
  df = df[COLS]
161
 
162
- # get incomplete models
163
- incomplete_models = df[has_nan_values(df, BENCHMARK_COLS)]["Model"].tolist()
164
- print(
165
- [
166
- model.split(" style")[0].split("https://huggingface.co/")[1]
167
- for model in incomplete_models
168
- ]
169
- )
170
-
171
  # filter out if any of the benchmarks have not been produced
172
  df = df[has_no_nan_values(df, BENCHMARK_COLS)]
173
  return df
@@ -284,7 +275,6 @@ def add_new_eval(
284
 
285
  with open(out_path, "w") as f:
286
  f.write(json.dumps(eval_entry))
287
- LMEH_REPO = "HuggingFaceH4/lmeh_evaluations"
288
 
289
  api.upload_file(
290
  path_or_fileobj=out_path,
 
159
  df = df.sort_values(by=["Average ⬆️"], ascending=False)
160
  df = df[COLS]
161
 
 
 
 
 
 
 
 
 
 
162
  # filter out if any of the benchmarks have not been produced
163
  df = df[has_no_nan_values(df, BENCHMARK_COLS)]
164
  return df
 
275
 
276
  with open(out_path, "w") as f:
277
  f.write(json.dumps(eval_entry))
 
278
 
279
  api.upload_file(
280
  path_or_fileobj=out_path,