Feature Extraction
sentence-transformers
Safetensors
English
modernvbert
sparse-retrieval
splade
visual-document-retrieval
multimodal
information-retrieval
inference-free
sparse-encoder
custom_code
Instructions to use naver/v-splade-efficient with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use naver/v-splade-efficient with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("naver/v-splade-efficient", trust_remote_code=True) sentences = [ "The weather is lovely today.", "It's so sunny outside!", "He drove to the stadium." ] embeddings = model.encode(sentences) similarities = model.similarity(embeddings, embeddings) print(similarities.shape) # [3, 3] - Notebooks
- Google Colab
- Kaggle
| { | |
| "backend": "tokenizers", | |
| "clean_up_tokenization_spaces": true, | |
| "cls_token": "[CLS]", | |
| "is_local": true, | |
| "legacy": false, | |
| "local_files_only": false, | |
| "mask_token": "[MASK]", | |
| "model_input_names": [ | |
| "input_ids", | |
| "attention_mask", | |
| "pixel_values", | |
| "pixel_attention_mask" | |
| ], | |
| "model_max_length": 8192, | |
| "pad_token": "[PAD]", | |
| "sep_token": "[SEP]", | |
| "tokenizer_class": "TokenizersBackend", | |
| "unk_token": "[UNK]" | |
| } | |