-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Add explicit errors for BPE and unigram, return tokenizer withou…
…t cha… (#54) * Add explicit errors for BPE and unigram, return tokenizer without changes if tokens_to_remove is empty * Add helpful message * Clearer message * Add nice logging * Remove clunky sentence
- Loading branch information
1 parent
c7bcae8
commit c34d862
Showing
2 changed files
with
62 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters