Update README.md
Browse files
README.md
CHANGED
@@ -21,7 +21,8 @@ This model was trained on the [STS benchmark dataset](http://ixa2.si.ehu.eus/sts
|
|
21 |
## Usage and Performance
|
22 |
|
23 |
Pre-trained models can be used like this:
|
24 |
-
|
|
|
25 |
from sentence_transformers import CrossEncoder
|
26 |
model = CrossEncoder('model_name')
|
27 |
scores = model.predict([('Sentence 1', 'Sentence 2'), ('Sentence 3', 'Sentence 4')])
|
|
|
21 |
## Usage and Performance
|
22 |
|
23 |
Pre-trained models can be used like this:
|
24 |
+
|
25 |
+
```python
|
26 |
from sentence_transformers import CrossEncoder
|
27 |
model = CrossEncoder('model_name')
|
28 |
scores = model.predict([('Sentence 1', 'Sentence 2'), ('Sentence 3', 'Sentence 4')])
|