Update model size filter intervals

#325
by BearSean - opened
Files changed (1) hide show
  1. app.py +7 -6
app.py CHANGED
@@ -254,12 +254,13 @@ def select_columns(df: pd.DataFrame, columns: list) -> pd.DataFrame:
254
 
255
  NUMERIC_INTERVALS = {
256
  "Unknown": pd.Interval(-1, 0, closed="right"),
257
- "< 1.5B": pd.Interval(0, 1.5, closed="right"),
258
- "~3B": pd.Interval(1.5, 5, closed="right"),
259
- "~7B": pd.Interval(6, 11, closed="right"),
260
- "~13B": pd.Interval(12, 15, closed="right"),
261
- "~35B": pd.Interval(16, 55, closed="right"),
262
- "60B+": pd.Interval(55, 10000, closed="right"),
 
263
  }
264
 
265
 
 
254
 
255
  NUMERIC_INTERVALS = {
256
  "Unknown": pd.Interval(-1, 0, closed="right"),
257
+ "0~1.5B": pd.Interval(0, 1.5, closed="right"),
258
+ "1.5~3B": pd.Interval(1.5, 3, closed="right"),
259
+ "3~7B": pd.Interval(3, 7, closed="right"),
260
+ "7~13B": pd.Interval(7, 13, closed="right"),
261
+ "13~35B": pd.Interval(13, 35, closed="right"),
262
+ "35~60B": pd.Interval(35, 60, closed="right"),
263
+ "60B+": pd.Interval(60, 10000, closed="right"),
264
  }
265
 
266