nateraw / modelcards

📝 Utility to create, edit, and publish model cards on the Hugging Face Hub. [**Now lives in huggingface_hub**]
MIT License
15 stars 4 forks source link

Update model name when pushing to hub #16

Closed nateraw closed 2 years ago

nateraw commented 2 years ago

This PR makes it so the CardData.model_name is updated to match the name of the repo you're pushing to (Resolves #12 )

Didn't add test because that involves adding all sorts of auth stuff. Can add that later, or just include them when moving to huggingface_hub.

adrinjalali commented 2 years ago

I think it would make sense for us to setup tests before moving this, I'd be uncomfortable moving untested code there.