Feature Extraction
sentence-transformers
PyTorch
English
distilbert
splade
query-expansion
document-expansion
bag-of-words
passage-retrieval
knowledge-distillation
sparse-encoder
sparse
Instructions to use naver/splade_v2_distil with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use naver/splade_v2_distil with sentence-transformers:
from sentence_transformers import SparseEncoder model = SparseEncoder("naver/splade_v2_distil") 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) - Notebooks
- Google Colab
- Kaggle
Download pytorch_model.bin from naver/splade_v2_distil: direct link, hf CLI and curl.
- Browser
- Download file 268 MB
-
https://huggingface.co/naver/splade_v2_distil/resolve/main/pytorch_model.bin
- Command line
-
hf download hf://naver/splade_v2_distil/pytorch_model.bin
-
curl -L -o pytorch_model.bin https://huggingface.co/naver/splade_v2_distil/resolve/main/pytorch_model.bin
268 MB
- Xet hash:
- 18830a6cc1660110c3df7f4362e78e2fcea70a7ef6e2ad543caec2af680e4bf5
- Size of remote file:
- 268 MB
- SHA256:
- 33a5b0a696d7b540065aedf6a86a056df3ac5f074d5be43923f0315f8b8bf7c4
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.