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,6 +13,10 @@ pipeline_tag: sentence-similarity
|
|
| 13 |
|
| 14 |
[](https://huggingface.co/fineinstructions)
|
| 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 a document or an entire document.
|
| 17 |
|
| 18 |
**Note:** This retrieval embedding is symmetric, so it can also be used to retrieve relevant documents to a [`compatible_document_description` of an instruction template](https://huggingface.co/datasets/fineinstructions/finetemplates).
|
|
|
|
| 13 |
|
| 14 |
[](https://huggingface.co/fineinstructions)
|
| 15 |
|
| 16 |
+
**✨ Note:** For all FineInstructions resources please visit: https://huggingface.co/fineinstructions
|
| 17 |
+
|
| 18 |
+
----
|
| 19 |
+
|
| 20 |
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 a document or an entire document.
|
| 21 |
|
| 22 |
**Note:** This retrieval embedding is symmetric, so it can also be used to retrieve relevant documents to a [`compatible_document_description` of an instruction template](https://huggingface.co/datasets/fineinstructions/finetemplates).
|