Is this model private?

#1
by akshayklr057 - opened

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?

Research And Development Laboratory org
edited Jun 3, 2023

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.

pkedzia changed discussion status to closed

Sign up or log in to comment