-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
support more attributes from the Encoding structure (#5)
* support more attributes from the Encoding structure MiniLM requires the attention mask to perform the mean pooling operation as can be seen at https://huggingface.co/sentence-transformers/all-MiniLM-L6-v2 * adapt the example and the readme * introduce EncodeWithOptions method for selecting the returned attributes * add missing options * fix the example and the readme * fix benchmarks --------- Co-authored-by: Clément Michaud <[email protected]>
- Loading branch information
1 parent
786da40
commit 38a9a14
Showing
5 changed files
with
31,085 additions
and
84 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.