Is this model private?
While trying to use this model through sentence-transformers as well as huggingface. I am getting below errors respectively -
"Repository Not Found for url: https://huggingface.co/api/models/sentence-transformers/polish-roberta-large-v2-sts.
Please make sure you specified the correct repo_id
and repo_type
.
If you are trying to access a private or gated repo, make sure you are authenticated."
"OSError: polish-roberta-large-v2-sts is not a local folder and is not a valid model identifier listed on 'https://huggingface.co/models'
If this is a private repository, make sure to pass a token having permission to this repo with use_auth_token
or log in with huggingface-cli login
and pass use_auth_token=True
."
I have logged in with my token to HuggingFace using notebook_login() method. However, I am still facing the same issue. Thus, I want to know if this model is private and a normal user like me can not access it?
Hi,
No, this model isn't private, it's public. I made a mistake in the model example usage.
I just updated the model description, proper model path is:
tokenizer = AutoTokenizer.from_pretrained('radlab/polish-roberta-large-v2-sts')
model = AutoModel.from_pretrained('radlab/polish-roberta-large-v2-sts')
model = SentenceTransformer('radlab/polish-roberta-large-v2-sts')
Hi,
Thanks for your response.
It's working now.