How to upload a model card through the API?
I found examples for uploading model cards solely through the web interface.Is it possible to also upload them through the API?
2022-07-27T08:16:18Z
Hi,Model cards are just Markdown files (.md), which you can upload programmatically using thehuggingface_hubPython library.Check the guide here:Upload files to the Hub
2022-07-27T16:12:50Z
note that we also have helpers to just update the metadata part of the model card (i.e. the YAML part), if you want to