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

Making skiplist configurable #16

Merged
merged 1 commit into from
Jun 24, 2024
Merged

Making skiplist configurable #16

merged 1 commit into from
Jun 24, 2024

Conversation

NohTow
Copy link
Collaborator

@NohTow NohTow commented Jun 24, 2024

This PR makes the skiplist for documents encoding configurable.
It defaults to the original ColBERT list (ponctuations) but can be set by feeding a list of strings.
We store/load the list in the form of strings instead of storing the IDs because it's more easily readable and the tokenization operation is pretty lightweight and only done once.

@NohTow NohTow merged commit 740d0cf into main Jun 24, 2024
1 check passed
@raphaelsty raphaelsty deleted the tokenization_and_skiplist branch August 22, 2024 10:31
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.

1 participant