Sentence Similarity
sentence-transformers
Safetensors
xlm-roberta
datadreamer
datadreamer-0.46.0
Synthetic
feature-extraction
text-embeddings-inference
Instructions to use fineinstructions/instruction_template_retrieval_embedding with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use fineinstructions/instruction_template_retrieval_embedding with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("fineinstructions/instruction_template_retrieval_embedding") 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] - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -13,7 +13,7 @@ pipeline_tag: sentence-similarity
|
|
| 13 |
|
| 14 |
# Model Card
|
| 15 |
|
| 16 |
-
Given a document, this embedding model helps retrieve instruction templates from [FineTemplates](https://huggingface.co/datasets/fineinstructions/finetemplates) relevant to various chunks / sections of the document.
|
| 17 |
|
| 18 |
## Example Usage
|
| 19 |
|
|
|
|
| 13 |
|
| 14 |
# Model Card
|
| 15 |
|
| 16 |
+
Given a document, this retrieval embedding model helps retrieve instruction templates from [FineTemplates](https://huggingface.co/datasets/fineinstructions/finetemplates) relevant to various chunks / sections of the document.
|
| 17 |
|
| 18 |
## Example Usage
|
| 19 |
|