"max_seq_length": 512 in sentence_bert_config.json

#7

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.

tomaarsen changed pull request status to closed

Sign up or log in to comment