jupyterjazz commited on
Commit
c9ad371
1 Parent(s): baba427

Update README.md

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