sergeyzh commited on
Commit
8a3451f
1 Parent(s): e9ccfaa

"max_seq_length": 512 in sentence_bert_config.json

Browse files

SentenceTransformer truncates the sentence to 256 without displaying messages to the user.
Specifying the correct value of "max_seq_length": 512 in sentence_bert_config.json will allow the SentenceTransformer to use the entire length of the model context.

Files changed (1) hide show
  1. sentence_bert_config.json +1 -1
sentence_bert_config.json CHANGED
@@ -1,4 +1,4 @@
1
  {
2
- "max_seq_length": 256,
3
  "do_lower_case": false
4
  }
 
1
  {
2
+ "max_seq_length": 512,
3
  "do_lower_case": false
4
  }