v0.3.2
版本发布时间: 2020-07-23 23:03:59
UKPLab/sentence-transformers最新发布版本:v3.0.1(2024-06-07 21:01:30)
This is a minor release. There should be no breaking changes.
- ParallelSentencesDataset: Datasets are tokenized on-the-fly, saving some start-up time
- util.pytorch_cos_sim - Method. New method to compute cosine similarity with pytorch. About 100 times faster than scipy cdist. semantic_search.py example has been updated accordingly.
- SentenceTransformer.encode: New parameter: convert_to_tensor. If set to true, encode returns one large pytorch tensor with your embeddings