skops
skops copied to clipboard
RFC make init create a minimal working README.md file
The inference and the widget would only work if the metadata section of the README file is present. Should we create an empty modelcard with the necessary sections for those backends to work by default when the user calls hub_utils.init
?
I think since init
already creates files, it would not hurt to create a minimal README.md. If users want to add a proper model card, it wouldn't prevent them from doing that.
Hi! I could try help with this issue. I am aware that hub_utils.init
initializes a local repository with the model file and a configuration file that is used to generate the model card. Then we can use the save()
method from the Card
class to genereate a README.md
file. Could you give me a few pointers on how to get started if you are still considering this issue?
Thanks!
That sounds about right @jucamohedano . One simply needs to generate an empty README file. You can start a PR and we can help you there.