Sentence Similarity
sentence-transformers
PyTorch
Safetensors
Transformers
Polish
xlm-roberta
feature-extraction
information-retrieval
text-embeddings-inference
Run this model with HF Jobs
Run sdadas/mmlw-retrieval-e5-large on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/sdadas/mmlw-retrieval-e5-large. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/sdadas/mmlw-retrieval-e5-large on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Instructions to use sdadas/mmlw-retrieval-e5-large with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use sdadas/mmlw-retrieval-e5-large with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("sdadas/mmlw-retrieval-e5-large") sentences = [ "query: Jak dożyć 100 lat?", "passage: Trzeba zdrowo się odżywiać i uprawiać sport.", "passage: Trzeba pić alkohol, imprezować i jeździć szybkimi autami.", "passage: Gdy trwała kampania politycy zapewniali, że rozprawią się z zakazem niedzielnego handlu." ] embeddings = model.encode(sentences) similarities = model.similarity(embeddings, embeddings) print(similarities.shape) # [4, 4] - Transformers
How to use sdadas/mmlw-retrieval-e5-large with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModel tokenizer = AutoTokenizer.from_pretrained("sdadas/mmlw-retrieval-e5-large") model = AutoModel.from_pretrained("sdadas/mmlw-retrieval-e5-large", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download pytorch_model.bin from sdadas/mmlw-retrieval-e5-large: direct link, hf CLI and curl.
- Browser
- Download file 1.12 GB
-
https://huggingface.co/sdadas/mmlw-retrieval-e5-large/resolve/main/pytorch_model.bin
- Command line
-
hf download hf://sdadas/mmlw-retrieval-e5-large/pytorch_model.bin
-
curl -L -o pytorch_model.bin https://huggingface.co/sdadas/mmlw-retrieval-e5-large/resolve/main/pytorch_model.bin
1.12 GB
- Xet hash:
- 39a51501135822f5d4246ce1f1dd1f88e1029d31d1ff6c9f8e8c03b8c59fbf92
- Size of remote file:
- 1.12 GB
- SHA256:
- a3c494c0ce92e153ce8895d313b7a0e95f2fc214763c7d4a6ea15988690aebe4
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.