Sentence Similarity
ONNX
Safetensors
sentence-transformers
English
code
PyLate
modernbert
ColBERT
feature-extraction
Generated from Trainer
dataset_size:21502474
loss:CachedContrastive
embeddings
retrieval
code search
Eval Results (legacy)
text-embeddings-inference
🇪🇺 Region: EU
Instructions to use lightonai/LateOn-Code-edge-pretrain with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use lightonai/LateOn-Code-edge-pretrain 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-edge-pretrain") queries_emb = model.encode(queries, is_query=True) docs_emb = model.encode(documents, is_query=False) - Notebooks
- Google Colab
- Kaggle
Fix ONNX export: add final projection layer (512->48 dim)
Browse files- model.onnx +2 -2
model.onnx
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:7c9bbebfa528d12fea2de57e9c404f60ae62c5130bd6baeae70f78e627d5e3d3
|
| 3 |
+
size 67970609
|