tomaarsen HF staff commited on
Commit
f9eba1e
·
verified ·
1 Parent(s): 11fb4c7

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +3 -2
README.md CHANGED
@@ -12,9 +12,10 @@ Note: The model is not suitable to estimate the similarity of questions, e.g. th
12
  ## Usage and Performance
13
 
14
  Pre-trained models can be used like this:
15
- ```
16
  from sentence_transformers import CrossEncoder
17
- model = CrossEncoder('model_name')
 
18
  scores = model.predict([('Question 1', 'Question 2'), ('Question 3', 'Question 4')])
19
  ```
20
 
 
12
  ## Usage and Performance
13
 
14
  Pre-trained models can be used like this:
15
+ ```python
16
  from sentence_transformers import CrossEncoder
17
+
18
+ model = CrossEncoder('cross-encoder/quora-roberta-base')
19
  scores = model.predict([('Question 1', 'Question 2'), ('Question 3', 'Question 4')])
20
  ```
21