Update README.md
Browse files
README.md
CHANGED
|
@@ -3693,6 +3693,10 @@ The `GME` models support three types of input: **text**, **image**, and **image-
|
|
| 3693 |
|
| 3694 |
## Usage
|
| 3695 |
**Use with sentence_transformers**
|
|
|
|
|
|
|
|
|
|
|
|
|
| 3696 |
```python
|
| 3697 |
from sentence_transformers import SentenceTransformer
|
| 3698 |
|
|
|
|
| 3693 |
|
| 3694 |
## Usage
|
| 3695 |
**Use with sentence_transformers**
|
| 3696 |
+
The `encode` function accept `str` or `dict` with key(s) in `{'text', 'image', 'prompt'}`.
|
| 3697 |
+
|
| 3698 |
+
**Do not pass `prompt` as the argument to `encode`**, pass as the input as a `dict` with a `prompt` key.
|
| 3699 |
+
|
| 3700 |
```python
|
| 3701 |
from sentence_transformers import SentenceTransformer
|
| 3702 |
|