In the huggingface-hub Python client there are two methods that can be user for (git) tagging:
However, with the huggingface-cli
tagging is not possible, and I don’t see a way to create tags in Hugging Face Hub website either. Or am I missing something?
I think it would be possible to create tags with git, e.g. git tag v0.42.0
and then pushing them with git push --tags
. However, for this the whole repository should be present.
I’ve been working on integration of a software tool with Hugging Face Hub, but for simplicity it would be best to leave the tagging functionality out of the implementation if there just was some other way to tag the uploaded models.
Tagging models would be valuable to be able to reference a specific version of the models, because a repository most probably will contain multiple versions of the models.