jupyterjazz
commited on
Commit
•
c9ad371
1
Parent(s):
baba427
Update README.md
Browse files
README.md
CHANGED
@@ -257,8 +257,8 @@ model = SentenceTransformer(
|
|
257 |
"jinaai/jina-embeddings-v3", trust_remote_code=True
|
258 |
)
|
259 |
|
260 |
-
|
261 |
-
embeddings = model.encode(['What is the weather like in Berlin today?'], task_type=task_type, prompt_name=
|
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 |
|