-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix bug: Include mean pooling for quantized models
* Using a transformers pipeline with mean pooling prior to optimization allows us to generate similar quality embeddings as the original * The model is still the same size, but the similarities it predicts are now much more similar to the un-optimized model
- Loading branch information
Showing
1 changed file
with
95 additions
and
48 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