Sentence Similarity
sentence-transformers
Safetensors
bert
feature-extraction
dense
Generated from Trainer
dataset_size:262023
loss:MultipleNegativesRankingLoss
text-embeddings-inference
Instructions to use dpshade22/hf-e5-bible-50 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use dpshade22/hf-e5-bible-50 with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("dpshade22/hf-e5-bible-50") sentences = [ "query: what happened at reign of hoshea", "passage: He did evil in the eyes of the Lord, but not like the kings of Israel who preceded him.", "passage: After David had finished talking with Saul, Jonathan became one in spirit with David, and he loved him as himself.", "passage: Those who trusted in Cush and boasted in Egypt will be dismayed and put to shame." ] embeddings = model.encode(sentences) similarities = model.similarity(embeddings, embeddings) print(similarities.shape) # [4, 4] - Notebooks
- Google Colab
- Kaggle