Update README.md (#2)
Browse files- Update README.md (2f4e229832bf808a6efdfaaf6301e9be8de82ee8)
Co-authored-by: Max Cembalest <MaxNomic@users.noreply.huggingface.co>
README.md
CHANGED
@@ -24,6 +24,13 @@ tags:
|
|
24 |
|
25 |
Original model: [nomic-embed-text-v1](https://huggingface.co/nomic-ai/nomic-embed-text-v1)
|
26 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
27 |
|
28 |
## Description
|
29 |
|
|
|
24 |
|
25 |
Original model: [nomic-embed-text-v1](https://huggingface.co/nomic-ai/nomic-embed-text-v1)
|
26 |
|
27 |
+
## Usage
|
28 |
+
|
29 |
+
Embedding text with `nomic-embed-text` requires task instruction prefixes at the beginning of each string.
|
30 |
+
|
31 |
+
For example, the code below shows how to use the `search_query` prefix to embed user questions, e.g. in a RAG application.
|
32 |
+
|
33 |
+
To see the full set of task instructions available & how they are designed to be used, visit the model card for [nomic-embed-text-v1.5](https://huggingface.co/nomic-ai/nomic-embed-text-v1.5).
|
34 |
|
35 |
## Description
|
36 |
|