Update README.md
Browse files
README.md
CHANGED
@@ -60,16 +60,9 @@ Training code is released in the `contrastors` [repository](https://github.com/n
|
|
60 |
|
61 |
## Usage
|
62 |
|
63 |
-
|
64 |
-
|
65 |
|
66 |
-
For example, you are building a RAG application over the top of Wikipedia. You would embed all Wikipedia articles with the prefix `search_document`
|
67 |
-
and any questions you ask with `search_query`. For example:
|
68 |
-
```python
|
69 |
-
queries = ["search_query: who is the first president of the united states?", "search_query: when was babe ruth born?"]
|
70 |
-
documents = ["search_document: <article about US Presidents>", "search_document: <article about Babe Ruth>"]
|
71 |
-
```
|
72 |
-
You can
|
73 |
### Transformers
|
74 |
|
75 |
```python
|
|
|
60 |
|
61 |
## Usage
|
62 |
|
63 |
+
Remember `nomic-embed-text` *requires* prefixes and so, when using Nomic Embed in multimodal RAG scenarios (e.g. text to image retrieval),
|
64 |
+
you should use the `search_query: ` prefix.
|
65 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
66 |
### Transformers
|
67 |
|
68 |
```python
|