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

KingLLM
/
nomic-codesearch-onnx

Feature Extraction
sentence-transformers
ONNX
nomic_bert
sentence-similarity
code-search
on-device
custom_code
text-embeddings-inference
Model card Files Files and versions
xet
Community
1

Instructions to use KingLLM/nomic-codesearch-onnx with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • sentence-transformers

    How to use KingLLM/nomic-codesearch-onnx with sentence-transformers:

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("KingLLM/nomic-codesearch-onnx", trust_remote_code=True)
    
    sentences = [
        "The weather is lovely today.",
        "It's so sunny outside!",
        "He drove to the stadium."
    ]
    embeddings = model.encode(sentences)
    
    similarities = model.similarity(embeddings, embeddings)
    print(similarities.shape)
    # [3, 3]
  • Notebooks
  • Google Colab
  • Kaggle
nomic-codesearch-onnx
687 MB
Ctrl+K
Ctrl+K
  • 2 contributors
History: 5 commits
KingLLM's picture
KingLLM
Create README.md
1ab2659 verified 19 days ago
  • .gitattributes
    1.52 kB
    initial commit 19 days ago
  • README.md
    4.1 kB
    Create README.md 19 days ago
  • config.json
    2.57 kB
    Upload folder using huggingface_hub (#1) 19 days ago
  • model.onnx
    548 MB
    xet
    Upload folder using huggingface_hub (#1) 19 days ago
  • model_int8.onnx
    138 MB
    xet
    Upload folder using huggingface_hub (#1) 19 days ago
  • special_tokens_map.json
    732 Bytes
    Upload folder using huggingface_hub (#1) 19 days ago
  • tokenizer.json
    712 kB
    Upload folder using huggingface_hub (#1) 19 days ago
  • tokenizer_config.json
    1.44 kB
    Upload folder using huggingface_hub (#1) 19 days ago
  • vocab.txt
    232 kB
    Upload folder using huggingface_hub (#1) 19 days ago