Sentence Similarity
Transformers
PyTorch
Safetensors
sentence-transformers
English
Russian
xlm-roberta
feature-extraction
mteb
retrieval
retriever
pruned
e5
text-embeddings-inference
Instructions to use d0rj/e5-small-en-ru with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use d0rj/e5-small-en-ru with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModel tokenizer = AutoTokenizer.from_pretrained("d0rj/e5-small-en-ru") model = AutoModel.from_pretrained("d0rj/e5-small-en-ru", device_map="auto") - sentence-transformers
How to use d0rj/e5-small-en-ru with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("d0rj/e5-small-en-ru") 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
Download pytorch_model.bin from d0rj/e5-small-en-ru: direct link, hf CLI and curl.
- Browser
- Download file 179 MB
-
https://huggingface.co/d0rj/e5-small-en-ru/resolve/main/pytorch_model.bin
- Command line
-
hf download hf://d0rj/e5-small-en-ru/pytorch_model.bin
-
curl -L -o pytorch_model.bin https://huggingface.co/d0rj/e5-small-en-ru/resolve/main/pytorch_model.bin
179 MB
- Xet hash:
- 99818597a623a918aaaa90abfa3d7352719a7df00ab5a729241b5c2f0008588f
- Size of remote file:
- 179 MB
- SHA256:
- d894c064e416f73d1a373c2ef247969f74bed7d8510b3987612125c998fc6ea3
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.