MaxNomic commited on
Commit
f750a25
1 Parent(s): 18d1044

Update README.md

Browse files

mention prefix usage

Files changed (1) hide show
  1. README.md +7 -0
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