Spaces:
Running
Running
Clémentine
commited on
Commit
•
a44ac97
1
Parent(s):
dc0413f
added management of unknown param numbers
Browse files- app.py +7 -6
- 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 |
-
"
|
241 |
-
"
|
242 |
-
"~
|
243 |
-
"~
|
244 |
-
"~
|
245 |
-
"
|
|
|
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:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:c307938f15bda18b6c38af3d02cc0407d9d8d5345bc31f475af2cbbb33a4f8b5
|
3 |
+
size 2895750
|