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
      • Hardware
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

jinaai
/
jina-embeddings-v5-text-small

Feature Extraction
Transformers
Safetensors
sentence-transformers
multilingual
jina_embeddings_v5
mteb
custom_code
🇪🇺 Region: EU
Model card Files Files and versions
xet
Community
21

Instructions to use jinaai/jina-embeddings-v5-text-small with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use jinaai/jina-embeddings-v5-text-small with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("feature-extraction", model="jinaai/jina-embeddings-v5-text-small", trust_remote_code=True)
    # Load model directly
    from transformers import AutoModel
    model = AutoModel.from_pretrained("jinaai/jina-embeddings-v5-text-small", trust_remote_code=True, device_map="auto")
  • sentence-transformers

    How to use jinaai/jina-embeddings-v5-text-small with sentence-transformers:

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("jinaai/jina-embeddings-v5-text-small", 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
jina-embeddings-v5-text-small
Ctrl+K
Ctrl+K
  • 6 contributors
History: 3 commits
jupyterjazz's picture
jupyterjazz
chore: remove unused files
ce5dda2 6 months ago
  • adapters
    chore: remove unused files 6 months ago
  • .gitattributes
    1.57 kB
    feat: model implementation 6 months ago
  • README.md
    1.91 kB
    feat: model implementation 6 months ago
  • config.json
    898 Bytes
    feat: model implementation 6 months ago
  • configuration_jina_embeddings_v5.py
    120 Bytes
    feat: model implementation 6 months ago
  • generation_config.json
    239 Bytes
    feat: model implementation 6 months ago
  • merges.txt
    1.67 MB
    feat: model implementation 6 months ago
  • model.safetensors
    1.19 GB
    xet
    feat: model implementation 6 months ago
  • modeling_jina_embeddings_v5.py
    4.1 kB
    feat: model implementation 6 months ago
  • tokenizer.json
    11.4 MB
    xet
    feat: model implementation 6 months ago
  • tokenizer_config.json
    9.73 kB
    feat: model implementation 6 months ago
  • vocab.json
    2.78 MB
    feat: model implementation 6 months ago