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

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 / assets
811 kB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 8 commits
yjoonjang's picture
yjoonjang
Add kanana-2 embedding results to the MTEB(kor, v2) table and figure
1b5362c verified 28 days ago
  • beir_rteb_sparse.png
    255 kB
    xet
    RTEB: score CUREv1 on its English subset only, as RTEB(eng) defines it (its es/fr subsets are cross-lingual) 28 days ago
  • kure_ndcg.png
    447 kB
    xet
    Add kanana-2 embedding results to the MTEB(kor, v2) table and figure 28 days ago
  • ndcg_flops.png
    110 kB
    xet
    KURE-Sparse-base about 2 months ago