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

baa-ai
/
Merino-Mini-v2

Sentence Similarity
sentence-transformers
Safetensors
baa-embedding-reranker
retrieval
embeddings
reranker
cross-encoder
rag
Model card Files Files and versions
xet
Community

Instructions to use baa-ai/Merino-Mini-v2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • sentence-transformers

    How to use baa-ai/Merino-Mini-v2 with sentence-transformers:

    from sentence_transformers import CrossEncoder
    
    model = CrossEncoder("baa-ai/Merino-Mini-v2")
    
    query = "Which planet is known as the Red Planet?"
    passages = [
    	"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.",
    	"Saturn, famous for its rings, is sometimes mistaken for the Red Planet."
    ]
    
    scores = model.predict([(query, passage) for passage in passages])
    print(scores)
  • Notebooks
  • Google Colab
  • Kaggle
Merino-Mini-v2
179 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 4 commits
tomkay's picture
tomkay
Add certification & corpus-fit guidance (PB score, 4-bit distractor certificate, chunking prescription)
5941071 verified about 1 month ago
  • embedder
    Rebrand to baa.ai Merino-Mini-v2 (backbone-only attribution) about 1 month ago
  • reranker
    Add baa.ai Embedding-Reranker-MiniLM-L12-v1 (unified shared word-emb) about 1 month ago
  • .gitattributes
    1.52 kB
    initial commit about 1 month ago
  • LICENSE
    1.3 kB
    Rebrand to baa.ai Merino-Mini-v2 (backbone-only attribution) about 1 month ago
  • LICENSE-minilm.txt
    1.13 kB
    Rebrand to baa.ai Merino-Mini-v2 (backbone-only attribution) about 1 month ago
  • MODEL_CARD.md
    2.78 kB
    Rebrand to baa.ai Merino-Mini-v2 (backbone-only attribution) about 1 month ago
  • NOTICE
    206 Bytes
    Rebrand to baa.ai Merino-Mini-v2 (backbone-only attribution) about 1 month ago
  • README.md
    3.76 kB
    Add certification & corpus-fit guidance (PB score, 4-bit distractor certificate, chunking prescription) about 1 month ago
  • config.json
    584 Bytes
    Rebrand to baa.ai Merino-Mini-v2 (backbone-only attribution) about 1 month ago
  • modeling_baa.py
    5.06 kB
    Rebrand to baa.ai Merino-Mini-v2 (backbone-only attribution) about 1 month ago