Update README.md (#6)
Browse files- Update README.md (f750a25aba2d24830d874eb4e1af468f37248a37)
Co-authored-by: Max Cembalest <[email protected]>
README.md
CHANGED
@@ -24,6 +24,13 @@ tags:
|
|
24 |
|
25 |
Original model: [nomic-embed-text-v1.5](https://huggingface.co/nomic-ai/nomic-embed-text-v1.5)
|
26 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
27 |
|
28 |
## Description
|
29 |
|
|
|
24 |
|
25 |
Original model: [nomic-embed-text-v1.5](https://huggingface.co/nomic-ai/nomic-embed-text-v1.5)
|
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 |
|