Spaces:
Runtime error
Runtime error
Clémentine commited on
Commit ·
c7335af
1
Parent(s): 74855d7
req test
Browse filesFiles changed (2)
59 unmodified lines6061626364656659 unmodified linesstarlette==0.26.1toolz==0.12.0tqdm==4.65.0transformers==4.34.0typing_extensions==4.5.0tzdata==2023.3tzlocal==4.359 unmodified lines6061626364656659 unmodified linesstarlette==0.26.1toolz==0.12.0tqdm==4.65.0transformerstyping_extensions==4.5.0tzdata==2023.3tzlocal==4.3
15 unmodified lines1617181920212216 unmodified lines3940414243445 unmodified lines5051525354555615 unmodified lines"7B": pd.Interval(6, 8, closed="neither"),"13B": pd.Interval(10, 14, closed="neither"),"30B":pd.Interval(25, 35, closed="neither"),"60B": pd.Interval(55, 65, closed="neither"),}def update_collections(df: DataFrame):16 unmodified linesfiltered_df = filtered_df.loc[mask]best_models = list(filtered_df.sort_values(AutoEvalColumn.average.name, ascending=False)[AutoEvalColumn.dummy.name])# We add them one by one to the leaderboardfor model in best_models:5 unmodified linesitem_id=model,item_type="model",exists_ok=True,note=f"Best {type.to_str(' ')} model of {size} on the leaderboard today!",token=H4_TOKEN)cur_best_models.append(model)15 unmodified lines1617181920212216 unmodified lines394041424344455 unmodified lines5152535455565715 unmodified lines"7B": pd.Interval(6, 8, closed="neither"),"13B": pd.Interval(10, 14, closed="neither"),"30B":pd.Interval(25, 35, closed="neither"),"65B": pd.Interval(60, 70, closed="neither"),}def update_collections(df: DataFrame):16 unmodified linesfiltered_df = filtered_df.loc[mask]best_models = list(filtered_df.sort_values(AutoEvalColumn.average.name, ascending=False)[AutoEvalColumn.dummy.name])print(type.value.symbol, size, best_models[:10])# We add them one by one to the leaderboardfor model in best_models:5 unmodified linesitem_id=model,item_type="model",exists_ok=True,note=f"Best {type.to_str(' ')} model of around {size} on the leaderboard today!",token=H4_TOKEN)cur_best_models.append(model)
requirements.txt+1-1
src/manage_collections.py+3-2