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

  • Log In
  • Sign Up

surus-ai
/
embeddinggemma-2-onnx

Feature Extraction
ONNX
sentence-transformers
onnxruntime
embeddings
Model card Files Files and versions
xet
Community

Instructions to use surus-ai/embeddinggemma-2-onnx with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • sentence-transformers

    How to use surus-ai/embeddinggemma-2-onnx with sentence-transformers:

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("surus-ai/embeddinggemma-2-onnx")
    
    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
embeddinggemma-2-onnx
306 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 4 commits
marianbasti's picture
marianbasti
Add model card
ebaf47a verified 19 days ago
  • .gitattributes
    1.57 kB
    Add tokenizer 19 days ago
  • README.md
    2.16 kB
    Add model card 19 days ago
  • model_q8.onnx
    274 MB
    xet
    Add INT8 quantized ONNX model 19 days ago
  • tokenizer.json
    32.2 MB
    xet
    Add tokenizer 19 days ago