Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets
  • 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

NorskHelsenett
/
SPLADE-v1

Feature Extraction
sentence-transformers
Safetensors
Norwegian
Norwegian Bokmål
bert
sparse-encoder
splade
sparse
retrieval
information-retrieval
norwegian
health
text-embeddings-inference
Model card Files Files and versions
xet
Community

Instructions to use NorskHelsenett/SPLADE-v1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • sentence-transformers

    How to use NorskHelsenett/SPLADE-v1 with sentence-transformers:

    from sentence_transformers import SparseEncoder
    
    model = SparseEncoder("NorskHelsenett/SPLADE-v1")
    
    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-v1
677 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 4 commits
thivy's picture
thivy
Add inference-free query artifact (SparseStaticEmbedding) from v14
1482148 verified 3 months ago
  • query_0_SparseStaticEmbedding
    Add inference-free query artifact (SparseStaticEmbedding) from v14 3 months ago
  • .gitattributes
    1.52 kB
    initial commit 3 months ago
  • README.md
    4.37 kB
    Add model card 3 months ago
  • config.json
    775 Bytes
    SPLADE-v1: inference-free asymmetric SPLADE doc encoder (TEI export of splade-norwegian-health-v14-tei-doc) 3 months ago
  • model.safetensors
    670 MB
    xet
    SPLADE-v1: inference-free asymmetric SPLADE doc encoder (TEI export of splade-norwegian-health-v14-tei-doc) 3 months ago
  • sentence_bert_config.json
    54 Bytes
    SPLADE-v1: inference-free asymmetric SPLADE doc encoder (TEI export of splade-norwegian-health-v14-tei-doc) 3 months ago
  • special_tokens_map.json
    695 Bytes
    SPLADE-v1: inference-free asymmetric SPLADE doc encoder (TEI export of splade-norwegian-health-v14-tei-doc) 3 months ago
  • tokenizer.json
    2.56 MB
    SPLADE-v1: inference-free asymmetric SPLADE doc encoder (TEI export of splade-norwegian-health-v14-tei-doc) 3 months ago
  • tokenizer_config.json
    1.41 kB
    SPLADE-v1: inference-free asymmetric SPLADE doc encoder (TEI export of splade-norwegian-health-v14-tei-doc) 3 months ago
  • vocab.txt
    872 kB
    SPLADE-v1: inference-free asymmetric SPLADE doc encoder (TEI export of splade-norwegian-health-v14-tei-doc) 3 months ago