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-100 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use dpshade22/hf-e5-bible-100 with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("dpshade22/hf-e5-bible-100") sentences = [ "query: Handkerchief: Only once in Authorized Version (Acts 19:12). The Greek word (sudarion) so rendered means properly “a sweat-cloth.” It is rendered “napkin” in John 11:44; 20:7; Luke 19:20.", "passage: as well as the cloth that had been wrapped around Jesus’ head. The cloth was still lying in its place, separate from the linen.", "passage: “On that day I will make the clans of Judah like a firepot in a woodpile, like a flaming torch among sheaves. They will consume all the surrounding peoples right and left, but Jerusalem will remain intact in her place.", "passage: and the borders of Canaan reached from Sidon toward Gerar as far as Gaza, and then toward Sodom, Gomorrah, Admah and Zeboyim, as far as Lasha." ] embeddings = model.encode(sentences) similarities = model.similarity(embeddings, embeddings) print(similarities.shape) # [4, 4] - Notebooks
- Google Colab
- Kaggle
Download modules.json from dpshade22/hf-e5-bible-100: direct link, hf CLI and curl.
- Browser
- Download file 349 Bytes
-
https://huggingface.co/dpshade22/hf-e5-bible-100/resolve/main/modules.json
- Command line
-
hf download hf://dpshade22/hf-e5-bible-100/modules.json
-
curl -L -o modules.json https://huggingface.co/dpshade22/hf-e5-bible-100/resolve/main/modules.json
349 Bytes
| [ | |
| { | |
| "idx": 0, | |
| "name": "0", | |
| "path": "", | |
| "type": "sentence_transformers.models.Transformer" | |
| }, | |
| { | |
| "idx": 1, | |
| "name": "1", | |
| "path": "1_Pooling", | |
| "type": "sentence_transformers.models.Pooling" | |
| }, | |
| { | |
| "idx": 2, | |
| "name": "2", | |
| "path": "2_Normalize", | |
| "type": "sentence_transformers.models.Normalize" | |
| } | |
| ] |