Fill-Mask
Transformers
PyTorch
English
bert
splade

Unable to load model in transformers pipeline

#4
by stanleyt18 - opened

Hello, I'd like to try and use your models to create sparse vectors. Although I'm getting issues running it through the transformers pipeline.

Here's the error:

OSError: We couldn't connect to 'https://huggingface.co' to load this file, couldn't find it in the cached files and it looks like naver/splade-v3 is not the path to a directory containing a file named config.json.
Checkout your internet connection or see how to run the library in offline mode at 'https://huggingface.co/docs/transformers/installation#offline-mode'.

Would there be a way for me to use this model? Thank you!

NAVER LABS Europe org

Hi @stanleyt18
SPLADE-v3 is a gated model, so you need to request access (see: https://huggingface.co/docs/hub/models-gated)
Hope it helps,
Thibault

Hi @tformal
I am getting the same error, even though I see "Gated model, You have been granted access to this model"
Thanks

Hi @tformal
I am getting the same error, even though I see "Gated model, You have been granted access to this model"
Thanks

Does the access token you created have the "Read access to contents of all public gated repos you can access" permission enabled?
I suggest creating a new one and making sure that option is checked β€” that solved the same issue for me. :)

Your need to confirm your account before you can post a new comment.

Sign up or log in to comment