"max_seq_length": 512 in sentence_bert_config.json
Browse filesSentenceTransformer 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.
sentence_bert_config.json
CHANGED
@@ -1,4 +1,4 @@
|
|
1 |
{
|
2 |
-
"max_seq_length":
|
3 |
"do_lower_case": false
|
4 |
}
|
|
|
1 |
{
|
2 |
+
"max_seq_length": 512,
|
3 |
"do_lower_case": false
|
4 |
}
|