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
      • Hardware
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

rasyosef
/
splade-small

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

Instructions to use rasyosef/splade-small with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • sentence-transformers

    How to use rasyosef/splade-small with sentence-transformers:

    from sentence_transformers import SparseEncoder
    
    model = SparseEncoder("rasyosef/splade-small")
    
    queries = ["Which planet is known as the Red Planet?"]
    documents = [
    	"Venus is often called Earth's twin because of its similar size and proximity.",
    	"Mars, known for its reddish appearance, is often referred to as the Red Planet.",
    	"Jupiter, the largest planet in our solar system, has a prominent red spot.",
    ]
    
    query_embeddings = model.encode_query(queries)
    document_embeddings = model.encode_document(documents)
    
    similarities = model.similarity(query_embeddings, document_embeddings)
    print(similarities)
  • Notebooks
  • Google Colab
  • Kaggle
splade-small
116 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 10 commits
rasyosef's picture
rasyosef
Update README.md
078b922 verified 5 months ago
  • 1_SpladePooling
    Add new SparseEncoder model about 1 year ago
  • .gitattributes
    1.52 kB
    initial commit about 1 year ago
  • README.md
    31.1 kB
    Update README.md 5 months ago
  • config.json
    587 Bytes
    Add new SparseEncoder model about 1 year ago
  • config_sentence_transformers.json
    274 Bytes
    Add new SparseEncoder model about 1 year ago
  • model.safetensors
    115 MB
    xet
    Add new SparseEncoder model about 1 year ago
  • modules.json
    274 Bytes
    Add new SparseEncoder model about 1 year ago
  • sentence_bert_config.json
    57 Bytes
    Add new SparseEncoder model about 1 year ago
  • special_tokens_map.json
    695 Bytes
    Add new SparseEncoder model about 1 year ago
  • tokenizer.json
    712 kB
    Add new SparseEncoder model about 1 year ago
  • tokenizer_config.json
    1.46 kB
    Add new SparseEncoder model about 1 year ago
  • vocab.txt
    232 kB
    Add new SparseEncoder model about 1 year ago