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

oga5
/
multilingual-e5-small-pg-onnx

Sentence Similarity
ONNX
sentence-transformers
pgvector
pg_onnx
Model card Files Files and versions
xet
Community

Instructions to use oga5/multilingual-e5-small-pg-onnx with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • sentence-transformers

    How to use oga5/multilingual-e5-small-pg-onnx with sentence-transformers:

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("oga5/multilingual-e5-small-pg-onnx")
    
    sentences = [
        "That is a happy person",
        "That is a happy dog",
        "That is a very happy person",
        "Today is a sunny day"
    ]
    embeddings = model.encode(sentences)
    
    similarities = model.similarity(embeddings, embeddings)
    print(similarities.shape)
    # [4, 4]
  • Notebooks
  • Google Colab
  • Kaggle
multilingual-e5-small-pg-onnx
951 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 4 commits
oga5's picture
oga5
update README.md
21e5a6f 7 months ago
  • .gitattributes
    1.52 kB
    initial commit 7 months ago
  • LICENSE
    1.07 kB
    Add ONNX models, tokenizer, README (model card), and MIT license 7 months ago
  • README.md
    6.69 kB
    update README.md 7 months ago
  • encoder.onnx
    470 MB
    xet
    Add ONNX models, tokenizer, README (model card), and MIT license 7 months ago
  • text_to_embedding.onnx
    475 MB
    xet
    Add ONNX models, tokenizer, README (model card), and MIT license 7 months ago
  • tokenizer.onnx
    5.07 MB
    xet
    Add ONNX models, tokenizer, README (model card), and MIT license 7 months ago