numb3r3 tomaarsen HF staff commited on
Commit
a7da899
1 Parent(s): 26b193b

Simplify code, fix "base sized" to "turbo sized" (#4)

Browse files

- Simplify code, fix "base sized" to "turbo sized" (bf1be552a5cf9d98c68a44f6a72382d9b9d5908c)


Co-authored-by: Tom Aarsen <tomaarsen@users.noreply.huggingface.co>

Files changed (1) hide show
  1. README.md +2 -3
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 base sized model
78
- model = CrossEncoder("jinaai/jina-reranker-v1-turbo-en", num_labels=1, trust_remote_code=True)
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 turbo sized model
78
+ model = CrossEncoder("jinaai/jina-reranker-v1-turbo-en", trust_remote_code=True)
 
79
 
80
  # Example query and documents
81
  query = "Organic skincare products for sensitive skin"