-
Notifications
You must be signed in to change notification settings - Fork 525
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixing hf_generate bug to account for pre-tokenization (#387)
* adding fix to trim gen correctly before printing * adding warning if total_output_tokens=0 * modifying debug statement to include special tokens * formatting fixes from pre-commit * updates from code review
- Loading branch information
1 parent
73783b9
commit 8746a73
Showing
1 changed file
with
24 additions
and
3 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