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

Fix token-count logic in nvtext::tokenize_with_vocabulary #14393

Merged
merged 2 commits into from
Nov 14, 2023

Conversation

davidwendt
Copy link
Contributor

Description

Fixes a bug introduced in #14336 when trying to simplify the token-counting logic as per this discussion #14336 (comment)
The simplification caused an error which was found when running the nvtext benchmarks.
The appropriate gtest has been updated to cover this case now.

Checklist

  • I am familiar with the Contributing Guidelines.
  • New or existing tests cover these changes.
  • The documentation is up to date with these changes.

@davidwendt davidwendt added bug Something isn't working 3 - Ready for Review Ready for review by team libcudf Affects libcudf (C++/CUDA) code. strings strings issues (C++ and Python) non-breaking Non-breaking change labels Nov 10, 2023
@davidwendt davidwendt self-assigned this Nov 10, 2023
@davidwendt davidwendt requested a review from a team as a code owner November 10, 2023 00:29
@davidwendt
Copy link
Contributor Author

/merge

@rapids-bot rapids-bot bot merged commit b446a6f into rapidsai:branch-23.12 Nov 14, 2023
62 checks passed
@davidwendt davidwendt deleted the bug-vocab-tokenizer branch November 14, 2023 17:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3 - Ready for Review Ready for review by team bug Something isn't working libcudf Affects libcudf (C++/CUDA) code. non-breaking Non-breaking change strings strings issues (C++ and Python)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants