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

34 add pooling functions with safeguard #35

Merged
merged 2 commits into from
May 3, 2023

Conversation

stephantul
Copy link
Owner

@stephantul stephantul commented May 3, 2023

This PR adds pooling functions, e.g., functions that create a single vector out of a list of tokens. We currently only support mean tokens. The main reason for adding this PR is that I see that people using reach are struggling with OOV tokens. Additionally, I keep having to write the same boiler plate code over and over again, in order to catch errors.

@stephantul stephantul self-assigned this May 3, 2023
@stephantul stephantul linked an issue May 3, 2023 that may be closed by this pull request
@stephantul stephantul merged commit c3dbd05 into master May 3, 2023
@stephantul stephantul deleted the 34-add-pooling-functions-with-safeguard branch October 11, 2024 18:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add pooling functions with safeguard
1 participant