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

nlpai-lab
/
KURE-Sparse-base

Feature Extraction
sentence-transformers
Safetensors
Korean
English
milco
sparse-encoder
sparse
splade
learned-sparse-retrieval
custom_code
Model card Files Files and versions
xet
Community

Instructions to use nlpai-lab/KURE-Sparse-base with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • sentence-transformers

    How to use nlpai-lab/KURE-Sparse-base with sentence-transformers:

    from sentence_transformers import SparseEncoder
    
    model = SparseEncoder("nlpai-lab/KURE-Sparse-base", trust_remote_code=True)
    
    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
KURE-Sparse-base
1.2 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 9 commits
yjoonjang's picture
yjoonjang
HTML result tables, KURE rows in crimson
b3e4c8b verified about 2 hours ago
  • assets
    Add LACONIC, OpenSearch doc-v3-gte and splade-v3 to BEIR-13, LACONIC RTEB without the dims cap about 3 hours ago
  • .gitattributes
    1.81 kB
    Model card: one English section with a BEIR-13 + RTEB figure 1 day ago
  • README.md
    40.6 kB
    HTML result tables, KURE rows in crimson about 2 hours ago
  • config.json
    5.35 kB
    KURE-Sparse-base 7 days ago
  • config_sentence_transformers.json
    274 Bytes
    KURE-Sparse-base 7 days ago
  • milco.py
    9.22 kB
    KURE-Sparse-base 7 days ago
  • milco_encoder.py
    7.25 kB
    KURE-Sparse-base 7 days ago
  • milco_encoder_config.json
    78 Bytes
    KURE-Sparse-base 7 days ago
  • model.safetensors
    1.19 GB
    xet
    KURE-Sparse-base 7 days ago
  • modules.json
    100 Bytes
    KURE-Sparse-base 7 days ago
  • tokenizer.json
    17.1 MB
    xet
    KURE-Sparse-base 7 days ago
  • tokenizer_config.json
    600 Bytes
    KURE-Sparse-base 7 days ago