abbasgolestani
commited on
Commit
•
ad1f595
1
Parent(s):
0f96742
Update README.md
Browse files
README.md
CHANGED
@@ -44,7 +44,7 @@ for i in range(len(sentences1)):
|
|
44 |
## Usage #2
|
45 |
|
46 |
Pre-trained models can be used like this:
|
47 |
-
```
|
48 |
from sentence_transformers import CrossEncoder
|
49 |
model = CrossEncoder('model_name')
|
50 |
scores = model.predict([('Sentence 1', 'Sentence 2'), ('Sentence 3', 'Sentence 4')])
|
|
|
44 |
## Usage #2
|
45 |
|
46 |
Pre-trained models can be used like this:
|
47 |
+
```python
|
48 |
from sentence_transformers import CrossEncoder
|
49 |
model = CrossEncoder('model_name')
|
50 |
scores = model.predict([('Sentence 1', 'Sentence 2'), ('Sentence 3', 'Sentence 4')])
|