Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add threshold alternative to the pooling method #33

Open
NohTow opened this issue Aug 9, 2024 · 0 comments
Open

Add threshold alternative to the pooling method #33

NohTow opened this issue Aug 9, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@NohTow
Copy link
Collaborator

NohTow commented Aug 9, 2024

Right now, the pooling method pools the embedding tokens to a fixed ratio.
We should allow users to set a threshold on the cosine similarity up to which the tokens can be merged.
This should allow us to adapt more to the data by compressing more sequences with a lot of redundant information and fewer the ones that do not.

@NohTow NohTow added the enhancement New feature or request label Aug 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant