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 interpret method and batching in collections #26

Merged
merged 5 commits into from
May 19, 2024
Merged

Conversation

mtbarta
Copy link
Contributor

@mtbarta mtbarta commented May 18, 2024

This PR adds a few things:

  1. We surface token scores in SearchResults.
  2. We add an interpret method on collections to use our internal tokenizer.
  3. We add an add_batch method to collections and handle padding internally.

There was a bugfix on the tokenizer to add special tokens.

@mtbarta mtbarta changed the title Add interpret method Add interpret method and batching in collections May 19, 2024
@mtbarta mtbarta merged commit 6bc71d3 into main May 19, 2024
1 check passed
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.

None yet

1 participant