-
Notifications
You must be signed in to change notification settings - Fork 28.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Tagged versions of model in new model hub don't work #8521
Comments
Looking into it right now (cc @Pierrci) |
looks like we were supporting lightweight tags but not annotated ones. |
Should be fixed: https://huggingface.co/deepset/roberta-base-squad2/tree/v2.0 |
That fixed the problem! Thanks very much |
Thanks, and please keep the feedback coming! <3 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Our model, deepset/roberta-base-squad2 was originally uploaded under the old style model hub.
I have committed a new version of the deepset/roberta-base-squad2 model onto the model hub using the new git based system introduced in transformers 3.5.0. I have 2 tags (v1.0 and v2.0) that I have also pushed to the repo. The tags show up in the model hub drop down but when I click on either of the tags, it says "Not Found: Error: Invalid rev id".
It seems I cannot load the models when I specify
revision=v1.0
orrevision=v2.0
. If I don't specify a revision, it seems to load a model though I'm not sure which. This is the code I used:What steps can I take so that I can access both versions through the model hub website, and by specifying name and revision?
Thanks,
Branden
@julien-c
The text was updated successfully, but these errors were encountered: