Simplify code, fix "base sized" to "tiny sized" (#4)
Browse files- Simplify code, fix "base sized" to "tiny sized" (12c73c9660fbd01ab6573bb1828ff17f86d2cc31)
Co-authored-by: Tom Aarsen <tomaarsen@users.noreply.huggingface.co>
README.md
CHANGED
@@ -74,9 +74,8 @@ Then, you can use the following code to interact with the model:
|
|
74 |
```python
|
75 |
from sentence_transformers import CrossEncoder
|
76 |
|
77 |
-
# Load the model, here we use our
|
78 |
-
model = CrossEncoder("jinaai/jina-reranker-v1-tiny-en",
|
79 |
-
|
80 |
|
81 |
# Example query and documents
|
82 |
query = "Organic skincare products for sensitive skin"
|
|
|
74 |
```python
|
75 |
from sentence_transformers import CrossEncoder
|
76 |
|
77 |
+
# Load the model, here we use our tiny sized model
|
78 |
+
model = CrossEncoder("jinaai/jina-reranker-v1-tiny-en", trust_remote_code=True)
|
|
|
79 |
|
80 |
# Example query and documents
|
81 |
query = "Organic skincare products for sensitive skin"
|