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

royokong
/
e5-v

Sentence Similarity
sentence-transformers
Safetensors
llava_next
Model card Files Files and versions
xet
Community
2

Instructions to use royokong/e5-v with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • sentence-transformers

    How to use royokong/e5-v with sentence-transformers:

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("royokong/e5-v")
    
    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
e5-v / assets
46 kB
Ctrl+K
Ctrl+K
  • 2 contributors
History: 1 commit
royokong's picture
royokong
Integrate with Sentence Transformers v5.4 (#2)
684c4c9 about 1 month ago
  • cat.jpg
    13.8 kB
    Integrate with Sentence Transformers v5.4 (#2) about 1 month ago
  • dog.jpg
    32.2 kB
    Integrate with Sentence Transformers v5.4 (#2) about 1 month ago