-
Notifications
You must be signed in to change notification settings - Fork 718
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
SPARKNLP-938 E5 and MPNet embeddings crash on a sentence basis - miss…
…ing pool average (#14051) * [SPARKNLP-938] Padding with zeros to make sure all sequences have same length * [SPARKNLP-938] Removing unused tests * [SPARKNLP-939] Fix embeddings dimension size in ONNX models * [SPARKNLP-939] Removing unnecessary tests * [SPARKNLP-939] Adding average pooling and normalizing E5 and MPNeT embeddings * [SPARKNLP-939] Reformatting code
- Loading branch information
Showing
5 changed files
with
232 additions
and
50 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
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
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
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.