Spaces:
Running
Running
Download space/src/populate.py from ThinkcatLab/LiveHouse-TS: direct link, hf CLI and curl.
- Browser
- Download file 253 Bytes
-
https://huggingface.co/spaces/ThinkcatLab/LiveHouse-TS/resolve/main/space/src/populate.py
- Command line
-
hf download hf://spaces/ThinkcatLab/LiveHouse-TS/space/src/populate.py
-
curl -L -o populate.py https://huggingface.co/spaces/ThinkcatLab/LiveHouse-TS/resolve/main/space/src/populate.py
253 Bytes
| import pandas as pd | |
| from src.leaderboard.read_evals import get_model_info | |
| def get_model_info_df(results_path: str) -> pd.DataFrame: | |
| records = [info.to_dict() for info in get_model_info(results_path)] | |
| return pd.DataFrame.from_records(records) | |