Sentence Similarity
Safetensors
sentence-transformers
English
PyLate
modernbert
ColBERT
feature-extraction
text-embeddings-inference
🇪🇺 Region: EU
Instructions to use lightonai/LateOn-unsupervised with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use lightonai/LateOn-unsupervised 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="lightonai/LateOn-unsupervised") queries_emb = model.encode(queries, is_query=True) docs_emb = model.encode(documents, is_query=False) - Notebooks
- Google Colab
- Kaggle
File size: 422 Bytes
393f9e7 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 | [
{
"idx": 0,
"name": "0",
"path": "",
"type": "sentence_transformers.models.Transformer"
},
{
"idx": 1,
"name": "1",
"path": "1_Dense",
"type": "pylate.models.Dense.Dense"
},
{
"idx": 2,
"name": "2",
"path": "2_Dense",
"type": "pylate.models.Dense.Dense"
},
{
"idx": 3,
"name": "3",
"path": "3_Dense",
"type": "pylate.models.Dense.Dense"
}
] |