Feature Extraction
sentence-transformers
PyTorch
English
bert
splade
sparse-encoder
sparse
text-embeddings-inference
Instructions to use naver/splade-v3 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use naver/splade-v3 with sentence-transformers:
from sentence_transformers import SparseEncoder model = SparseEncoder("naver/splade-v3") queries = ["Which planet is known as the Red Planet?"] documents = [ "Venus is often called Earth's twin because of its similar size and proximity.", "Mars, known for its reddish appearance, is often referred to as the Red Planet.", "Jupiter, the largest planet in our solar system, has a prominent red spot.", ] query_embeddings = model.encode_query(queries) document_embeddings = model.encode_document(documents) similarities = model.similarity(query_embeddings, document_embeddings) print(similarities) - Inference
- Notebooks
- Google Colab
- Kaggle
unable to download naver/splade-v3
#2
by petnov - opened
Hello,
When i try to use this model via the transformers class, it says I do not have the rights to the naver/splade-v3 repo.
Thanks for suggesting a fix.
Peter
I had the same issue but had to upgrade transformers to v.4.26.1 to fix it!
Hi @petnov splade-v3 is a Gated model, so you need to request access to it (see: https://huggingface.co/docs/hub/models-gated)
hope it helps!
tformal changed discussion status to closed