Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing
    • Website
      • Tasks
      • HuggingChat
      • Collections
      • Languages
      • Organizations
    • Community
      • Blog
      • Posts
      • Daily Papers
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

tomaarsen
/
splade-distilbert-base-uncased-nq

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

Instructions to use tomaarsen/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 tomaarsen/splade-distilbert-base-uncased-nq with sentence-transformers:

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("tomaarsen/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
splade-distilbert-base-uncased-nq
269 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 2 commits
tomaarsen's picture
tomaarsen HF Staff
Add new SparseEncoder model
01ab7d7 verified 11 months ago
  • 1_SpladePooling
    Add new SparseEncoder model 11 months ago
  • .gitattributes
    1.52 kB
    initial commit 11 months ago
  • README.md
    40.7 kB
    Add new SparseEncoder model 11 months ago
  • config.json
    529 Bytes
    Add new SparseEncoder model 11 months ago
  • config_sentence_transformers.json
    292 Bytes
    Add new SparseEncoder model 11 months ago
  • model.safetensors
    268 MB
    xet
    Add new SparseEncoder model 11 months ago
  • modules.json
    287 Bytes
    Add new SparseEncoder model 11 months ago
  • sentence_bert_config.json
    60 Bytes
    Add new SparseEncoder model 11 months ago
  • special_tokens_map.json
    132 Bytes
    Add new SparseEncoder model 11 months ago
  • tokenizer.json
    712 kB
    Add new SparseEncoder model 11 months ago
  • tokenizer_config.json
    1.28 kB
    Add new SparseEncoder model 11 months ago
  • vocab.txt
    232 kB
    Add new SparseEncoder model 11 months ago