Skip to content

Commit

Permalink
Add model vs dataset identifier in hfhub.
Browse files Browse the repository at this point in the history
  • Loading branch information
buhrmann authored Feb 26, 2024
1 parent a4b317f commit 7194699
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pyrennial/hfhub.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,9 @@ def datasets() -> DataFrame:
def models_datasets() -> DataFrame:
"""One long dataframe with models and datasets."""
ms = models()
ms["type"] = "model"
ds = datasets()
ds["type"] = "dataset"
return pd.concat([ms, ds], axis=0)


Expand Down

0 comments on commit 7194699

Please sign in to comment.