Update README.md
Browse files
README.md
CHANGED
@@ -31,7 +31,7 @@ print(output)
|
|
31 |
```python
|
32 |
from sentence_transformers.cross_encoder import CrossEncoder
|
33 |
|
34 |
-
model = CrossEncoder("PitKoro/cross-encoder-ru-msmarco-passage")
|
35 |
text = [['привет', 'привет'],['привет', 'пока']]
|
36 |
|
37 |
output = model.predict(text)
|
|
|
31 |
```python
|
32 |
from sentence_transformers.cross_encoder import CrossEncoder
|
33 |
|
34 |
+
model = CrossEncoder("PitKoro/cross-encoder-ru-msmarco-passage", max_length=512)
|
35 |
text = [['привет', 'привет'],['привет', 'пока']]
|
36 |
|
37 |
output = model.predict(text)
|