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

Allow for arbitrary kwargs in CardData #18

Closed nateraw closed 2 years ago

nateraw commented 2 years ago

Resolves #17 . Does not perform check to see if arbitrary data is serializable, but I figure that can happen when we work on #2 .

nateraw commented 2 years ago

ahh to be noted - this currently screws with the repr. Can't see card data when you print it. Should probably address that here.

nateraw commented 2 years ago

Ok I updated the repr to just be the yaml dump. Going to merge and address other issues in separate PRs :)