Sentence Similarity
sentence-transformers
bert
feature-extraction
dense
Generated from Trainer
dataset_size:42
loss:MultipleNegativesRankingLoss
text-embeddings-inference
Instructions to use Marqjeev/aizen-vault-embeddings with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use Marqjeev/aizen-vault-embeddings with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("Marqjeev/aizen-vault-embeddings") sentences = [ "how do I take my coffee for office meetings", "syn-coffee-preference-note\nSYNTHETIC EXAMPLE — a standing personal preference about coffee orders for meetings hosted at the office\nStanding preference: black coffee, no sugar, for any meeting hosted at the office; guests get asked their own preference rather than assumed the same.\n\n**Why this matters**: a small, low-stakes personal-preference fact, the kind that's easy to forget and mildly annoying to re-ask every time.", "syn-coffee-preference-note\nSYNTHETIC EXAMPLE — a standing personal preference about coffee orders for meetings hosted at the office\nStanding preference: black coffee, no sugar, for any meeting hosted at the office; guests get asked their own preference rather than assumed the same.\n\n**Why this matters**: a small, low-stakes personal-preference fact, the kind that's easy to forget and mildly annoying to re-ask every time.", "syn-velmoria-charter-amendments\nSYNTHETIC — chronological list of amendments to Velmoria's Founding Charter, 1962-2024\nMajor amendments to Velmoria's Founding Charter: 1962 (judicial review powers expanded), 1979 (voting age lowered to 18), 1994 (provincial resource-revenue sharing formula rewritten), 2011 (Crown's emergency powers narrowed), 2024 (digital-privacy rights added).\n\n**Why this matters**: fictional analog to a real constitutional-amendments tracking note, same structure, different content." ] embeddings = model.encode(sentences) similarities = model.similarity(embeddings, embeddings) print(similarities.shape) # [4, 4] - Notebooks
- Google Colab
- Kaggle
Download 2_Normalize/config.json from Marqjeev/aizen-vault-embeddings: direct link, hf CLI and curl.
- Browser
- Download file 104 Bytes
-
https://huggingface.co/Marqjeev/aizen-vault-embeddings/resolve/main/2_Normalize/config.json
- Command line
-
hf download hf://Marqjeev/aizen-vault-embeddings/2_Normalize/config.json
-
curl -L -o config.json https://huggingface.co/Marqjeev/aizen-vault-embeddings/resolve/main/2_Normalize/config.json
104 Bytes
Invalid JSON:Unexpected non-whitespace character after JSONat line 6, column 1
| { | |
| "module_input_name": "sentence_embedding", | |
| "module_output_name": "sentence_embedding" | |
| } | |
| } |