Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing

  • Log In
  • Sign Up

sparse-encoder
/
example-inference-free-splade-distilbert-base-uncased-nq

Feature Extraction
sentence-transformers
Safetensors
English
sparse-encoder
sparse
asymmetric
inference-free
splade
Generated from Trainer
dataset_size:99000
loss:SpladeLoss
loss:SparseMultipleNegativesRankingLoss
loss:FlopsLoss
Eval Results (legacy)
Model card Files Files and versions
xet
Community

Instructions to use sparse-encoder/example-inference-free-splade-distilbert-base-uncased-nq with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • sentence-transformers

    How to use sparse-encoder/example-inference-free-splade-distilbert-base-uncased-nq with sentence-transformers:

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("sparse-encoder/example-inference-free-splade-distilbert-base-uncased-nq")
    
    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
example-inference-free-splade-distilbert-base-uncased-nq
Ctrl+K
Ctrl+K
  • 2 contributors
History: 5 commits
tomaarsen's picture
tomaarsen HF Staff
Update model name
7e89c01 verified 11 months ago
  • .vscode
    IDF -> SparseStaticEmbedding 11 months ago
  • document_0_MLMTransformer
    Add new SparseEncoder model 11 months ago
  • document_1_SpladePooling
    Add new SparseEncoder model 11 months ago
  • query_0_SparseStaticEmbedding
    IDF -> SparseStaticEmbedding 11 months ago
  • .gitattributes
    1.52 kB
    initial commit 11 months ago
  • README.md
    40.2 kB
    Update model name 11 months ago
  • config_sentence_transformers.json
    292 Bytes
    Add new SparseEncoder model 11 months ago
  • modules.json
    115 Bytes
    Add new SparseEncoder model 11 months ago
  • router_config.json
    707 Bytes
    IDF -> SparseStaticEmbedding 11 months ago