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-v2-small-en

Feature Extraction
sentence-transformers
PyTorch
Core ML
ONNX
Safetensors
English
bert
sentence-similarity
mteb
custom_code
Eval Results (legacy)
text-embeddings-inference
Model card Files Files and versions
xet
Community
22

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

  • Libraries
  • sentence-transformers

    How to use jinaai/jina-embeddings-v2-small-en with sentence-transformers:

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("jinaai/jina-embeddings-v2-small-en", 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-v2-small-en
131 MB
Ctrl+K
Ctrl+K
  • 7 contributors
History: 38 commits
Jackmin108's picture
Jackmin108
Rename implementation repo to `jina-bert-implementation` (#3)
b63f8d3 almost 3 years ago
  • .gitattributes
    1.52 kB
    initial commit almost 3 years ago
  • README.md
    67.7 kB
    remove the legacy citation almost 3 years ago
  • config.json
    1.18 kB
    Rename implementation repo to `jina-bert-implementation` (#3) almost 3 years ago
  • generation_config.json
    90 Bytes
    Upload 9 files almost 3 years ago
  • model.safetensors
    65.4 MB
    xet
    Adding `safetensors` variant of this model (#4) almost 3 years ago
  • pytorch_model.bin
    65.4 MB
    xet
    Upload pytorch_model.bin almost 3 years ago
  • special_tokens_map.json
    125 Bytes
    Rename special_tokens_map (1).json to special_tokens_map.json almost 3 years ago
  • tokenizer_config.json
    367 Bytes
    Rename tokenizer_config (1).json to tokenizer_config.json almost 3 years ago
  • vocab.txt
    232 kB
    Upload 9 files almost 3 years ago