Open niieani opened 1 year ago
isWithinTokenLimit
bpeRanks
To test, see fork published as gpt-tokenizer.
gpt-tokenizer
isWithinTokenLimit
to count tokens without encoding the whole textbpeRanks
To test, see fork published as
gpt-tokenizer
.