Sentence Similarity
Safetensors
sentence-transformers
PyLate
lfm2
liquid
edge
ColBERT
feature-extraction
Eval Results (legacy)
Instructions to use LiquidAI/LFM2-ColBERT-350M with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use LiquidAI/LFM2-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-ColBERT-350M") queries_emb = model.encode(queries, is_query=True) docs_emb = model.encode(documents, is_query=False) - Notebooks
- Google Colab
- Kaggle
Add ### PyLate section heading after the ST snippet
Browse files
README.md
CHANGED
|
@@ -875,6 +875,8 @@ print(scores)
|
|
| 875 |
# tensor([[30.3632, 30.4892, 30.4024, 30.3004]])
|
| 876 |
```
|
| 877 |
|
|
|
|
|
|
|
| 878 |
First, install the PyLate and transformers library:
|
| 879 |
|
| 880 |
```bash
|
|
|
|
| 875 |
# tensor([[30.3632, 30.4892, 30.4024, 30.3004]])
|
| 876 |
```
|
| 877 |
|
| 878 |
+
### PyLate
|
| 879 |
+
|
| 880 |
First, install the PyLate and transformers library:
|
| 881 |
|
| 882 |
```bash
|