Closed nateraw closed 2 years ago
So right now, I have it so ModelCard.load works for both repo IDs and local files.
ModelCard.load
I'm thinking perhaps we could do:
ModelCard.open(filepath)
ModelCard.load_from_hub(repo_id)
WDYT?
.load() is fine IMO
.load()
Thank you for the feedback!! Its nice to not talk to yourself...
So right now, I have it so
ModelCard.load
works for both repo IDs and local files.I'm thinking perhaps we could do:
ModelCard.open(filepath)
to open a local fileModelCard.load_from_hub(repo_id)
to load a remote Hugging Face model repo model cardWDYT?