Update README.md
#8
by
dkoenig
- opened
Include binary MRL
@dkoenig Since Sentence Transformers v2.7.0 from an hour ago, you can do:
model = SentenceTransformer("mixedbread-ai/mxbai-embed-large-v1", truncate_dim=512)
instead. That is now recommended over [..., :512]
as post-processing if you're always truncating to 512 after loading (even though the results from both approaches are near identical, the former is easier to grasp)
- Tom Aarsen
dkoenig
changed pull request status to
closed