izhx commited on
Commit
5b4def3
·
verified ·
1 Parent(s): 27b4e41

Update README.md

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