We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
As discussed in huggingface/evaluate#6 we would like a function to update the meta data in the readme of a repo:
huggingface_hub.metadata_update( repo_id="lvwerra/my_model", update={"metrics": new_value} )
This would enable to programmatically update meta data such as metrics from the evaluate, datasets, or transformers libraries.
evaluate
datasets
transformers
There are two use-cases:
overwrite=True
What do you think @julien-c, @osanseviero? I can have a look at this if you want.
The text was updated successfully, but these errors were encountered:
sounds good to me!
this can use the existing metadata-related functions under the hood, and maybe rely on upload_file so it doesn't need a local install of git
git
Sorry, something went wrong.
Yes, I think using single file download + metadata_load/metadata_save (https://github.com/huggingface/huggingface_hub/blob/main/src/huggingface_hub/repocard.py) + upload_file would be very good idea
metadata_load
metadata_save
upload_file
Successfully merging a pull request may close this issue.
As discussed in huggingface/evaluate#6 we would like a function to update the meta data in the readme of a repo:
This would enable to programmatically update meta data such as metrics from the
evaluate
,datasets
, ortransformers
libraries.There are two use-cases:
overwrite=True
option as safety.What do you think @julien-c, @osanseviero? I can have a look at this if you want.
The text was updated successfully, but these errors were encountered: