Sentence Similarity
sentence-transformers
Safetensors
baa-embedding-reranker
retrieval
embeddings
reranker
cross-encoder
rag
Instructions to use baa-ai/Merino-Nano with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use baa-ai/Merino-Nano with sentence-transformers:
from sentence_transformers import CrossEncoder model = CrossEncoder("baa-ai/Merino-Nano") 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-Nano — Proprietary License | |
| Copyright (c) 2026 BAA AI (Black Sheep AI). All rights reserved. | |
| 1. SCOPE. This license governs the "BAA Contributions" in this package: the | |
| shared word-embedding architecture and configuration, the router / loader | |
| code (modeling_baa.py), the model packaging, BAA AI's weight contributions, | |
| the model card, and associated documentation. | |
| 2. GRANT. No right to use, reproduce, modify, distribute, sublicense, or create | |
| derivative works of the BAA Contributions is granted except under a separate | |
| written agreement with BAA AI (Black Sheep AI). | |
| 3. THIRD-PARTY COMPONENT. This package incorporates the MiniLM-L6-H384-uncased backbone, | |
| provided under the MIT License — see LICENSE-minilm.txt. The MIT terms govern that | |
| backbone component only; nothing in this license limits any rights you have | |
| under the MIT License with respect to it. | |
| 4. NO WARRANTY. THE PACKAGE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, | |
| EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO MERCHANTABILITY, FITNESS FOR | |
| A PARTICULAR PURPOSE, AND NONINFRINGEMENT. IN NO EVENT SHALL BAA AI BE LIABLE | |
| FOR ANY CLAIM, DAMAGES, OR OTHER LIABILITY ARISING FROM OR IN CONNECTION WITH | |
| THE PACKAGE OR ITS USE. | |
| Contact: BAA AI (Black Sheep AI) — baa.ai | |