davanstrien HF Staff commited on
Commit
aa20113
·
1 Parent(s): d849643

filter out specific datasetId from the database setup

Browse files
Files changed (1) hide show
  1. main.py +7 -1
main.py CHANGED
@@ -111,7 +111,13 @@ def setup_database():
111
  df = df.filter(
112
  pl.col("datasetId").str.contains_any(["open-llm-leaderboard-old/"]).not_()
113
  )
114
-
 
 
 
 
 
 
115
  # Get the most recent last_modified date from the collection
116
  latest_update = None
117
  if dataset_collection.count() > 0:
 
111
  df = df.filter(
112
  pl.col("datasetId").str.contains_any(["open-llm-leaderboard-old/"]).not_()
113
  )
114
+ df = df.filter(
115
+ pl.col("datasetId")
116
+ .str.contains_any(
117
+ ["gemma-2-2B-it-thinking-function_calling-V0"]
118
+ ) # course model that's not useful for retrieving
119
+ .not_()
120
+ )
121
  # Get the most recent last_modified date from the collection
122
  latest_update = None
123
  if dataset_collection.count() > 0: