Sentence Similarity
Safetensors
sentence-transformers
Korean
English
PyLate
modernbert
ColBERT
late-interaction
multi-vector
feature-extraction
text-embeddings-inference
Instructions to use nlpai-lab/KURE-v2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use nlpai-lab/KURE-v2 with sentence-transformers:
from pylate import models queries = [ "Which planet is known as the Red Planet?", "What is the largest planet in our solar system?", ] documents = [ ["Mars is the Red Planet.", "Venus is Earth's twin."], ["Jupiter is the largest planet.", "Saturn has rings."], ] model = models.ColBERT(model_name_or_path="nlpai-lab/KURE-v2") queries_emb = model.encode(queries, is_query=True) docs_emb = model.encode(documents, is_query=False) - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -221,7 +221,7 @@ Three things the figures show:
|
|
| 221 |
|
| 222 |
- Hierarchical token pooling (x2) halves the index for a 0.04 nDCG drop. Asymmetric binary quantization (1-bit document tokens, bf16 queries) shrinks it 9.4x for 1.05. Stacking the two (pooling x3 + binary), the entire 9-corpus index fits in **1.7 GB, smaller than every single-vector HNSW index (13.1-50.0 GB)**, while still outscoring the best single-vector model (79.57 vs 79.07).
|
| 223 |
- A live query arrives as text: 4B-8B single-vector models spend 38-40 ms encoding it, capping them at ~25 QPS no matter how fast HNSW is. KURE-v2 encodes in 13.8 ms (154M params), so every configuration except MUVERA serves **43-55 QPS, roughly 2x the 8B single-vector models, at higher quality**.
|
| 224 |
-
- Official fast-plaid at default settings: top quality
|
| 225 |
|
| 226 |
### Large corpora: tail latency
|
| 227 |
|
|
|
|
| 221 |
|
| 222 |
- Hierarchical token pooling (x2) halves the index for a 0.04 nDCG drop. Asymmetric binary quantization (1-bit document tokens, bf16 queries) shrinks it 9.4x for 1.05. Stacking the two (pooling x3 + binary), the entire 9-corpus index fits in **1.7 GB, smaller than every single-vector HNSW index (13.1-50.0 GB)**, while still outscoring the best single-vector model (79.57 vs 79.07).
|
| 223 |
- A live query arrives as text: 4B-8B single-vector models spend 38-40 ms encoding it, capping them at ~25 QPS no matter how fast HNSW is. KURE-v2 encodes in 13.8 ms (154M params), so every configuration except MUVERA serves **43-55 QPS, roughly 2x the 8B single-vector models, at higher quality**.
|
| 224 |
+
- Official fast-plaid at default settings: top quality, encode-bound throughput, and residual compression that scales cleanly to the 1.5M-doc corpora.
|
| 225 |
|
| 226 |
### Large corpora: tail latency
|
| 227 |
|