Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing
    • Website
      • Tasks
      • HuggingChat
      • Collections
      • Languages
      • Organizations
    • Community
      • Blog
      • Posts
      • Daily Papers
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

lightonai
/
LateOn-Code

Sentence Similarity
ONNX
Safetensors
sentence-transformers
English
code
PyLate
modernbert
ColBERT
feature-extraction
Generated from Trainer
dataset_size:2117771
loss:Contrastive
embeddings
retrieval
code search
Eval Results (legacy)
text-embeddings-inference
🇪🇺 Region: EU
Model card Files Files and versions
xet
Community

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)
  • Inference
  • Notebooks
  • Google Colab
  • Kaggle
LateOn-Code / 1_Dense
393 kB
Ctrl+K
Ctrl+K
  • 2 contributors
History: 1 commit
NohTow's picture
NohTow
Add new ColBERT model
8b7ab06 verified 3 months ago
  • config.json
    160 Bytes
    Add new ColBERT model 3 months ago
  • model.safetensors
    393 kB
    xet
    Add new ColBERT model 3 months ago