Sentence Similarity
Safetensors
sentence-transformers
PyLate
lfm2
liquid
lfm2.5
edge
ColBERT
feature-extraction
custom_code
Instructions to use LiquidAI/LFM2.5-ColBERT-350M with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use LiquidAI/LFM2.5-ColBERT-350M 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="LiquidAI/LFM2.5-ColBERT-350M") queries_emb = model.encode(queries, is_query=True) docs_emb = model.encode(documents, is_query=False) - Notebooks
- Google Colab
- Kaggle
readme: drop 'this model' qualifiers; move RAG use cases under Model details
Browse files
README.md
CHANGED
|
@@ -48,15 +48,22 @@ license_link: LICENSE
|
|
| 48 |
|
| 49 |
# LFM2.5-ColBERT-350M
|
| 50 |
|
| 51 |
-
Two new multilingual retrieval models built on the bidirectional LFM2.5 backbone: **LFM2.5-ColBERT-350M**
|
| 52 |
|
| 53 |
- **[LFM2.5-Embedding-350M](https://huggingface.co/LiquidAI/LFM2.5-Embedding-350M)** — one vector per document. Smallest, fastest index.
|
| 54 |
-
- **LFM2.5-ColBERT-350M**
|
| 55 |
|
| 56 |
For the full story on architecture (bidirectional patches over LFM2.5), training recipe, and benchmarks, see the [release blog post](https://www.liquid.ai/blog) *(link to be added)*.
|
| 57 |
|
| 58 |
## 📄 Model details
|
| 59 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 60 |
| Property | **LFM2.5-ColBERT-350M** | **[LFM2.5-Embedding-350M](https://huggingface.co/LiquidAI/LFM2.5-Embedding-350M)** |
|
| 61 |
| --------------------- | -------------------------------------- | ----------------------------------- |
|
| 62 |
| **Type** | Late interaction (per-token vectors) | Dense bi-encoder (single vector) |
|
|
|
|
| 48 |
|
| 49 |
# LFM2.5-ColBERT-350M
|
| 50 |
|
| 51 |
+
Two new multilingual retrieval models built on the bidirectional LFM2.5 backbone: **LFM2.5-ColBERT-350M**, a late-interaction retriever, and **[LFM2.5-Embedding-350M](https://huggingface.co/LiquidAI/LFM2.5-Embedding-350M)**, a dense bi-encoder. Both are 350M params and the first bidirectional members of the LFM family, targeting fast, cheap, and reliable multilingual / cross-lingual search across 11 languages.
|
| 52 |
|
| 53 |
- **[LFM2.5-Embedding-350M](https://huggingface.co/LiquidAI/LFM2.5-Embedding-350M)** — one vector per document. Smallest, fastest index.
|
| 54 |
+
- **LFM2.5-ColBERT-350M** — one vector per *token*, matched via MaxSim. Higher accuracy and better generalization at the cost of index size.
|
| 55 |
|
| 56 |
For the full story on architecture (bidirectional patches over LFM2.5), training recipe, and benchmarks, see the [release blog post](https://www.liquid.ai/blog) *(link to be added)*.
|
| 57 |
|
| 58 |
## 📄 Model details
|
| 59 |
|
| 60 |
+
We recommend LFM2.5-ColBERT-350M for short-context retrieval use cases, such as:
|
| 61 |
+
|
| 62 |
+
- **E-commerce**: find products across many languages with semantic search at scale.
|
| 63 |
+
- **FAQ and support knowledge bases**: retrieve the right answer reliably across customer-facing surfaces.
|
| 64 |
+
- **On-device semantic search**: search files, emails, and notes locally on consumer hardware.
|
| 65 |
+
- **Enterprise knowledge assistants**: retrieve internal legal, financial, and technical documents across languages.
|
| 66 |
+
|
| 67 |
| Property | **LFM2.5-ColBERT-350M** | **[LFM2.5-Embedding-350M](https://huggingface.co/LiquidAI/LFM2.5-Embedding-350M)** |
|
| 68 |
| --------------------- | -------------------------------------- | ----------------------------------- |
|
| 69 |
| **Type** | Late interaction (per-token vectors) | Dense bi-encoder (single vector) |
|