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

prithivida
/
Splade_PP_en_v2

Feature Extraction
sentence-transformers
PyTorch
ONNX
English
bert
splade++
document-expansion
sparse representation
bag-of-words
passage-retrieval
knowledge-distillation
document encoder
sparse-encoder
sparse
splade
text-embeddings-inference
Model card Files Files and versions
xet
Community
3

Instructions to use prithivida/Splade_PP_en_v2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • sentence-transformers

    How to use prithivida/Splade_PP_en_v2 with sentence-transformers:

    from sentence_transformers import SparseEncoder
    
    model = SparseEncoder("prithivida/Splade_PP_en_v2")
    
    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_PP_en_v2
1.41 GB
Ctrl+K
Ctrl+K
  • 2 contributors
History: 32 commits
SFconvertbot's picture
SFconvertbot
Adding `safetensors` variant of this model
ed75571 verified over 1 year ago
  • onnx
    Rename splade_v2_model.onnx to onnx/model.onnx about 2 years ago
  • .gitattributes
    1.57 kB
    Upload dost_logo.png over 1 year ago
  • ID.png
    470 kB
    updated metrics over 2 years ago
  • Metrics.png
    45.9 kB
    updated metrics over 2 years ago
  • README.md
    21.2 kB
    Update README.md over 1 year ago
  • config.json
    848 Bytes
    config from latest checkpoint over 2 years ago
  • dost_logo.png
    786 kB
    xet
    Upload dost_logo.png over 1 year ago
  • expansion.png
    123 kB
    Initial Commit over 2 years ago
  • generation_config.json
    90 Bytes
    Initial Commit over 2 years ago
  • model.safetensors
    438 MB
    xet
    Adding `safetensors` variant of this model over 1 year ago
  • pytorch_model.bin

    Detected Pickle imports (4)

    • "collections.OrderedDict",
    • "torch.FloatStorage",
    • "torch._utils._rebuild_tensor_v2",
    • "torch.LongStorage"

    What is a pickle import?

    438 MB
    xet
    Initial Commit over 2 years ago
  • special_tokens_map.json
    125 Bytes
    Initial Commit over 2 years ago
  • splade_v2.png
    264 kB
    OOD metrics over 2 years ago
  • tokenizer.json
    712 kB
    Initial Commit over 2 years ago
  • tokenizer_config.json
    497 Bytes
    Initial Commit over 2 years ago
  • vocab.txt
    232 kB
    Initial Commit over 2 years ago