explosion/spacy-huggingface-hub

Versioning models

oroszgy opened this issue · 3 comments

It would be awesome, if this tool could be used to "git tag" models, so that they each new model release could be associated with a version number. Do you have plans for supporting this functionality?

Some background: the tool's 0.0.6 version created a temporary directory for the git repository and this behavior allowed us to tag each new HuSpaCy model release with its own version.

Screenshot_20230323_142841

Hey there! This could be relatively straightforward to implement, but not sure if there has been big demand from community for this. Let me tag @Wauplin in case wants to take this

I'm not sure this is something that should live directly in spacy-huggingface-hub but what you can do is to tag the model once it's uploaded using the create_tag method from huggingface_hub. Check out the docs for more details.

Thanks for the quick response. I'm going to check this out.