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

yjoonjang
/
reviewsearch-sparse

Feature Extraction
sentence-transformers
Safetensors
sparse-encoder
sparse
asymmetric
inference-free
splade
Generated from Trainer
dataset_size:46954
loss:CachedSpladeLoss
loss:SparseMultipleNegativesRankingLoss
loss:FlopsLoss
Eval Results (legacy)
Model card Files Files and versions
xet
Community

Instructions to use yjoonjang/reviewsearch-sparse with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • sentence-transformers

    How to use yjoonjang/reviewsearch-sparse with sentence-transformers:

    from sentence_transformers import SparseEncoder
    
    model = SparseEncoder("yjoonjang/reviewsearch-sparse")
    
    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
reviewsearch-sparse
645 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 2 commits
yjoonjang's picture
yjoonjang
learned-sparse retriever (SPLADE doc-v3-gte S1)
97c1846 verified 4 months ago
  • document_0_MLMTransformer
    learned-sparse retriever (SPLADE doc-v3-gte S1) 4 months ago
  • document_1_SpladePooling
    learned-sparse retriever (SPLADE doc-v3-gte S1) 4 months ago
  • query_0_SparseStaticEmbedding
    learned-sparse retriever (SPLADE doc-v3-gte S1) 4 months ago
  • .gitattributes
    1.52 kB
    initial commit 4 months ago
  • README.md
    54.5 kB
    learned-sparse retriever (SPLADE doc-v3-gte S1) 4 months ago
  • __init__.py
    0 Bytes
    learned-sparse retriever (SPLADE doc-v3-gte S1) 4 months ago
  • config_sentence_transformers.json
    274 Bytes
    learned-sparse retriever (SPLADE doc-v3-gte S1) 4 months ago
  • configuration.py
    7.13 kB
    learned-sparse retriever (SPLADE doc-v3-gte S1) 4 months ago
  • modeling.py
    59 kB
    learned-sparse retriever (SPLADE doc-v3-gte S1) 4 months ago
  • modules.json
    121 Bytes
    learned-sparse retriever (SPLADE doc-v3-gte S1) 4 months ago
  • router_config.json
    725 Bytes
    learned-sparse retriever (SPLADE doc-v3-gte S1) 4 months ago