bwang0911 commited on
Commit
baba427
1 Parent(s): 752c69e

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +2 -1
README.md CHANGED
@@ -257,7 +257,8 @@ model = SentenceTransformer(
257
  "jinaai/jina-embeddings-v3", trust_remote_code=True
258
  )
259
 
260
- embeddings = model.encode(['What is the weather like in Berlin today?'], task_type='retrieval.query')
 
261
  ```
262
 
263
 
 
257
  "jinaai/jina-embeddings-v3", trust_remote_code=True
258
  )
259
 
260
+ task='retrieval.query'
261
+ embeddings = model.encode(['What is the weather like in Berlin today?'], task_type=task_type, prompt_name=task)
262
  ```
263
 
264