DiTy commited on
Commit
6698ac0
1 Parent(s): efe8268

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +1 -1
README.md CHANGED
@@ -43,7 +43,7 @@ Then you can use the model like this:
43
  ```python
44
  from sentence_transformers import CrossEncoder
45
 
46
- reranker_model = CrossEncoder('DiTy/cross-encoder-russian-msmarco', device='cuda')
47
 
48
  query = ["как часто нужно ходить к стоматологу?"]
49
  documents = [
 
43
  ```python
44
  from sentence_transformers import CrossEncoder
45
 
46
+ reranker_model = CrossEncoder('DiTy/cross-encoder-russian-msmarco', max_length=512, device='cuda')
47
 
48
  query = ["как часто нужно ходить к стоматологу?"]
49
  documents = [