Feature Extraction
sentence-transformers
PyTorch
Core ML
ONNX
Safetensors
English
bert
sentence-similarity
mteb
custom_code
Eval Results (legacy)
text-embeddings-inference
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
Deployment on Sagemaker endpoints without network connectivity
#22 opened over 1 year ago
by
CoolFish88
Using jinaai/jina-embeddings-v2-small-en crashes due to OOM whereas using BAAI/bge-small-en-v1.5 works on the same machine
#21 opened over 1 year ago
by
LakshyAAAgrawal
What is missing from my mental model about semantics and this embedding model?
4
#20 opened almost 2 years ago
by
xhrud
Trust remote code = True, even for fine-tuned local model?
4
#19 opened almost 2 years ago
by
eMbeddr
Update README.md
#18 opened over 2 years ago
by
bwang0911