Tagging (with git tags) models for versioning
In the huggingface-hub Python client there are two methods that can be user for (git) tagging:huggingface_hub.Repository.add_tag()huggingface_hub.HfApi.create_tag ()However, with thehuggingface-clitagging 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 createtags with git, e.g.git tag v0.42.0and then pushing them withgit push --tags. However, for this the whole repository should be present.I’ve been working onintegration 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.
2024-03-22T06:07:45Z
Or is the practice at HF Hub that branches are used for versioning? At least inLumiOpen/Poro-34Bthis is the case: there are branches for checkpoints 100B-1000B.
2024-03-22T13:27:55Z
An issue for tagging with huggingface-cli was created:github.com/huggingface/huggingface_hub[CLI] Support tag management (create, list, delete)opened09:35AM - 22 Mar 24 UTCWauplingood first issueCLIRequested in https://github.com/huggingface/huggingface_hub/issues/960#issuecomm…ent-2013533386.

Similar to https://github.com/huggingface/huggingface_hub/issues/1655 (branch management from CLI)
2024-05-06T09:24:52Z
Git tagging was implemented in huggingface-CLI inPR #2172, released inv0.23.0.
2024-05-06T21:25:33Z
This topic was automatically closed 12 hours after the last reply. New replies are no longer allowed.