Sentence Similarity
ONNX
Safetensors
sentence-transformers
English
code
PyLate
modernbert
ColBERT
multi-vector
feature-extraction
Generated from Trainer
dataset_size:2117771
loss:Contrastive
embeddings
retrieval
code search
Eval Results (legacy)
text-embeddings-inference
🇪🇺 Region: EU
Instructions to use lightonai/LateOn-Code with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use lightonai/LateOn-Code 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-Code") queries_emb = model.encode(queries, is_query=True) docs_emb = model.encode(documents, is_query=False) - Notebooks
- Google Colab
- Kaggle
Download 1_Dense/model.safetensors from lightonai/LateOn-Code: direct link, hf CLI and curl.
- Browser
- Download file 393 kB
-
https://huggingface.co/lightonai/LateOn-Code/resolve/main/1_Dense/model.safetensors
- Command line
-
hf download hf://lightonai/LateOn-Code/1_Dense/model.safetensors
-
curl -L -o model.safetensors https://huggingface.co/lightonai/LateOn-Code/resolve/main/1_Dense/model.safetensors
393 kB
- Xet hash:
- 3229cd1b90588b048f1394b801d11d9ee8ba08398fc35502e34be145b51d81f5
- Size of remote file:
- 393 kB
- SHA256:
- 22ea6a53cad3ed034934b5db7a214a0bcc28ff4cc440babea44029989e4bbcca
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.