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

aigentic
/
LateOn-Code-ONNX

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

Instructions to use aigentic/LateOn-Code-ONNX with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers.js

    How to use aigentic/LateOn-Code-ONNX with Transformers.js:

    // npm i @huggingface/transformers
    import { pipeline } from '@huggingface/transformers';
    
    // Allocate pipeline
    const pipe = await pipeline('sentence-similarity', 'aigentic/LateOn-Code-ONNX');
  • sentence-transformers

    How to use aigentic/LateOn-Code-ONNX 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="aigentic/LateOn-Code-ONNX")
    
    queries_emb = model.encode(queries, is_query=True)
    docs_emb = model.encode(documents, is_query=False)
  • Notebooks
  • Google Colab
  • Kaggle
LateOn-Code-ONNX
1.94 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 2 commits
aigentic's picture
aigentic
Upload folder using huggingface_hub
96f9ed1 verified 8 days ago
  • onnx
    Upload folder using huggingface_hub 8 days ago
  • .gitattributes
    1.52 kB
    initial commit 8 days ago
  • README.md
    176 kB
    Upload folder using huggingface_hub 8 days ago
  • config.json
    1.21 kB
    Upload folder using huggingface_hub 8 days ago
  • special_tokens_map.json
    694 Bytes
    Upload folder using huggingface_hub 8 days ago
  • tokenizer.json
    3.58 MB
    Upload folder using huggingface_hub 8 days ago
  • tokenizer_config.json
    21.4 kB
    Upload folder using huggingface_hub 8 days ago