jupyterjazz
commited on
Commit
•
bd2d9c1
1
Parent(s):
d2adb21
simplify setting a task
Browse filesSigned-off-by: jupyterjazz <saba.sturua@jina.ai>
README.md
CHANGED
@@ -25186,7 +25186,7 @@ model = SentenceTransformer("jinaai/jina-embeddings-v3", trust_remote_code=True,
|
|
25186 |
Or afterwards:
|
25187 |
```python
|
25188 |
model = SentenceTransformer("jinaai/jina-embeddings-v3", trust_remote_code=True)
|
25189 |
-
model
|
25190 |
```
|
25191 |
This way you can fine-tune the LoRA adapter for the chosen task.
|
25192 |
|
|
|
25186 |
Or afterwards:
|
25187 |
```python
|
25188 |
model = SentenceTransformer("jinaai/jina-embeddings-v3", trust_remote_code=True)
|
25189 |
+
model[0].default_task = 'classification'
|
25190 |
```
|
25191 |
This way you can fine-tune the LoRA adapter for the chosen task.
|
25192 |
|