Clémentine commited on
Commit
a44ac97
1 Parent(s): dc0413f

added management of unknown param numbers

Browse files
Files changed (2) hide show
  1. app.py +7 -6
  2. model_info_cache.pkl +2 -2
app.py CHANGED
@@ -237,12 +237,13 @@ def select_columns(df: pd.DataFrame, columns: list) -> pd.DataFrame:
237
  return filtered_df
238
 
239
  NUMERIC_INTERVALS = {
240
- "< 1.5B": pd.Interval(0, 1.5, closed="both"),
241
- "~3B": pd.Interval(1.5, 5, closed="both"),
242
- "~7B": pd.Interval(6, 11, closed="both"),
243
- "~13B": pd.Interval(12, 15, closed="both"),
244
- "~35B": pd.Interval(16, 55, closed="both"),
245
- "60B+": pd.Interval(55, 10000, closed="both"),
 
246
  }
247
 
248
  def filter_models(
 
237
  return filtered_df
238
 
239
  NUMERIC_INTERVALS = {
240
+ "Unknown": pd.Interval(-1, 0, closed="right"),
241
+ "< 1.5B": pd.Interval(0, 1.5, closed="right"),
242
+ "~3B": pd.Interval(1.5, 5, closed="right"),
243
+ "~7B": pd.Interval(6, 11, closed="right"),
244
+ "~13B": pd.Interval(12, 15, closed="right"),
245
+ "~35B": pd.Interval(16, 55, closed="right"),
246
+ "60B+": pd.Interval(55, 10000, closed="right"),
247
  }
248
 
249
  def filter_models(
model_info_cache.pkl CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:0afe4b74916048b8a1d0379a0a0bff55acdc6cd3583cbcc5aa42cf194d019b7a
3
- size 2841512
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c307938f15bda18b6c38af3d02cc0407d9d8d5345bc31f475af2cbbb33a4f8b5
3
+ size 2895750