Sentence Similarity
sentence-transformers
PyTorch
Safetensors
English
bert
mteb
Sentence Transformers
Eval Results (legacy)
text-embeddings-inference
Run this model with HF Jobs
Run intfloat/e5-base 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/intfloat/e5-base. 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/intfloat/e5-base 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 intfloat/e5-base with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use intfloat/e5-base with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("intfloat/e5-base") 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] - Inference
- Notebooks
- Google Colab
- Kaggle
Commit ·
e18e2eb
1
Parent(s): a421e2c
Fix SummEval scores (https://github.com/embeddings-benchmark/mteb/pull/990)
Browse files2301 unmodified lines23022303230423052306230723082309231023112312231323142301 unmodified linesrevision: cda12ad7615edc362dbf25a00fdd61d3b1eaf93cmetrics:- type: cos_sim_pearsonvalue: 22.23040797767245- type: cos_sim_spearmanvalue: 26.03794260145079- type: dot_pearsonvalue: 24.01892207887181- type: dot_spearmanvalue: 25.234879514149057- task:type: Retrievaldataset:2301 unmodified lines23022303230423052306230723082309231023112312231323142301 unmodified linesrevision: cda12ad7615edc362dbf25a00fdd61d3b1eaf93cmetrics:- type: cos_sim_pearsonvalue: 31.44030762047337- type: cos_sim_spearmanvalue: 31.00910300264562- type: dot_pearsonvalue: 26.88257194766013- type: dot_spearmanvalue: 27.646202679013576- task:type: Retrievaldataset:
README.md+4-4