Feature Extraction
sentence-transformers
Safetensors
English
distilbert
sparse-encoder
sparse
splade
Generated from Trainer
dataset_size:811257
loss:SpladeLoss
loss:SparseMultipleNegativesRankingLoss
loss:FlopsLoss
text-embeddings-inference
Instructions to use deter3/splade-distilbert-base-uncased-patentmatch-train-only with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use deter3/splade-distilbert-base-uncased-patentmatch-train-only with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("deter3/splade-distilbert-base-uncased-patentmatch-train-only") 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
Ctrl+K