Sentence Similarity
Safetensors
sentence-transformers
PyLate
lfm2
liquid
edge
ColBERT
multi-vector
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 files874 unmodified lines875876877878879880874 unmodified lines# tensor([[30.3632, 30.4892, 30.4024, 30.3004]])```First, install the PyLate and transformers library:```bash874 unmodified lines875876877878879880881882874 unmodified lines# tensor([[30.3632, 30.4892, 30.4024, 30.3004]])```### PyLateFirst, install the PyLate and transformers library:```bash
README.md+2