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

  • Log In
  • Sign Up

sparse-encoder
/
example-splade-distilbert-base-uncased-gooaq

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 sparse-encoder/example-splade-distilbert-base-uncased-gooaq with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • sentence-transformers

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

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("sparse-encoder/example-splade-distilbert-base-uncased-gooaq")
    
    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-splade-distilbert-base-uncased-gooaq
Ctrl+K
Ctrl+K
  • 1 contributor
History: 2 commits
arthurbresnu's picture
arthurbresnu
Add new SparseEncoder model
ff6a38d verified 12 months ago
  • 1_SpladePooling
    Add new SparseEncoder model 12 months ago
  • .gitattributes
    1.52 kB
    initial commit 12 months ago
  • README.md
    74.2 kB
    Add new SparseEncoder model 12 months ago
  • config.json
    506 Bytes
    Add new SparseEncoder model 12 months ago
  • config_sentence_transformers.json
    240 Bytes
    Add new SparseEncoder model 12 months ago
  • model.safetensors
    268 MB
    xet
    Add new SparseEncoder model 12 months ago
  • modules.json
    274 Bytes
    Add new SparseEncoder model 12 months ago
  • sentence_bert_config.json
    57 Bytes
    Add new SparseEncoder model 12 months ago
  • special_tokens_map.json
    125 Bytes
    Add new SparseEncoder model 12 months ago
  • tokenizer.json
    712 kB
    Add new SparseEncoder model 12 months ago
  • tokenizer_config.json
    1.23 kB
    Add new SparseEncoder model 12 months ago
  • vocab.txt
    232 kB
    Add new SparseEncoder model 12 months ago