minbpe icon indicating copy to clipboard operation
minbpe copied to clipboard

Handle error when running out of pairs to merge

Open vinhdq842 opened this issue 3 months ago • 0 comments

Accidentally encountered a ValueError: max() arg is an empty sequence when attempting to test on a small piece of text with a (maybe) large vocab_size.

vinhdq842 avatar Mar 06 '24 15:03 vinhdq842