jupyterjazz
commited on
Commit
•
d2adb21
1
Parent(s):
562d3a6
minor change
Browse filesSigned-off-by: jupyterjazz <[email protected]>
README.md
CHANGED
@@ -25179,7 +25179,7 @@ embeddings = model.encode(
|
|
25179 |
```
|
25180 |
|
25181 |
You can fine-tune `jina-embeddings-v3` using [SentenceTransformerTrainer](https://sbert.net/docs/package_reference/sentence_transformer/trainer.html).
|
25182 |
-
To fine-tune for a specific task, you
|
25183 |
```python
|
25184 |
model = SentenceTransformer("jinaai/jina-embeddings-v3", trust_remote_code=True, model_kwargs={'default_task': 'classification'})
|
25185 |
```
|
|
|
25179 |
```
|
25180 |
|
25181 |
You can fine-tune `jina-embeddings-v3` using [SentenceTransformerTrainer](https://sbert.net/docs/package_reference/sentence_transformer/trainer.html).
|
25182 |
+
To fine-tune for a specific task, you should set the task before passing the model to the ST Trainer, either during initialization:
|
25183 |
```python
|
25184 |
model = SentenceTransformer("jinaai/jina-embeddings-v3", trust_remote_code=True, model_kwargs={'default_task': 'classification'})
|
25185 |
```
|