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

naver
/
splade-v3-distilbert

Feature Extraction
sentence-transformers
PyTorch
English
distilbert
splade
sparse-encoder
sparse
text-embeddings-inference
Model card Files Files and versions
xet
Community
3

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

  • Libraries
  • sentence-transformers

    How to use naver/splade-v3-distilbert with sentence-transformers:

    from sentence_transformers import SparseEncoder
    
    model = SparseEncoder("naver/splade-v3-distilbert")
    
    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)
  • Inference
  • Notebooks
  • Google Colab
  • Kaggle
splade-v3-distilbert
269 MB
Ctrl+K
Ctrl+K
  • 2 contributors
History: 2 commits
Herve's picture
Herve
add model
c397abe over 2 years ago
  • .gitattributes
    1.52 kB
    initial commit over 2 years ago
  • README.md
    33 Bytes
    initial commit over 2 years ago
  • config.json
    524 Bytes
    add model over 2 years ago
  • data_args.json
    418 Bytes
    add model over 2 years ago
  • model_args.json
    280 Bytes
    add model over 2 years ago
  • pytorch_model.bin

    Detected Pickle imports (3)

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

    What is a pickle import?

    268 MB
    xet
    add model over 2 years ago
  • special_tokens_map.json
    125 Bytes
    add model over 2 years ago
  • tokenizer.json
    712 kB
    add model over 2 years ago
  • tokenizer_config.json
    320 Bytes
    add model over 2 years ago
  • training_args.json
    3.52 kB
    add model over 2 years ago
  • vocab.txt
    232 kB
    add model over 2 years ago