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

i1j
/
retriever-sparse-splade

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

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

  • Libraries
  • sentence-transformers

    How to use i1j/retriever-sparse-splade with sentence-transformers:

    from sentence_transformers import SparseEncoder
    
    model = SparseEncoder("i1j/retriever-sparse-splade")
    
    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
retriever-sparse-splade
672 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 2 commits
i1j's picture
i1j
Upload folder using huggingface_hub
00d0bfe verified about 1 month ago
  • 1_SpladePooling
    Upload folder using huggingface_hub about 1 month ago
  • .gitattributes
    1.52 kB
    initial commit about 1 month ago
  • README.md
    42.2 kB
    Upload folder using huggingface_hub about 1 month ago
  • config.json
    909 Bytes
    Upload folder using huggingface_hub about 1 month ago
  • config_sentence_transformers.json
    274 Bytes
    Upload folder using huggingface_hub about 1 month ago
  • model.safetensors
    670 MB
    xet
    Upload folder using huggingface_hub about 1 month ago
  • modules.json
    307 Bytes
    Upload folder using huggingface_hub about 1 month ago
  • sentence_bert_config.json
    221 Bytes
    Upload folder using huggingface_hub about 1 month ago
  • tokenizer.json
    2.56 MB
    Upload folder using huggingface_hub about 1 month ago
  • tokenizer_config.json
    552 Bytes
    Upload folder using huggingface_hub about 1 month ago