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-200 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use dpshade22/hf-e5-bible-200 with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("dpshade22/hf-e5-bible-200") sentences = [ "query: Sin in the Bible", "passage: but each person is tempted when they are dragged away by their own evil desire and enticed.", "passage: If they want to inquire about something, they should ask their own husbands at home; for it is disgraceful for a woman to speak in the church.", "passage: The crowds that went ahead of him and those that followed shouted,\n“Hosanna to the Son of David!”\n“Blessed is he who comes in the name of the Lord!”\n“Hosanna in the highest heaven!”" ] embeddings = model.encode(sentences) similarities = model.similarity(embeddings, embeddings) print(similarities.shape) # [4, 4] - Notebooks
- Google Colab
- Kaggle
Ctrl+K