3 ms·
Cool. Would it be possible to eliminate that little vocab format conversion requirement for the vocab I see in the test against tiktoken? It would be nice to ha
by pama 1y ago
Cool. Would it be possible to eliminate that little vocab format conversion requirement for the vocab I see in the test against tiktoken? It would be nice to have a fully compatible drop in replacement without having to think about details. It also would be nice to have examples that work the other way around: initialize tiktoken as you normally would, including any specialized extension of standard tokenizers, and then use that initialized tokenizer to initialize a new tokendagger and test identity of results.
- matthewolfe 1y agoAh good catch. Updating this right now.
- matthewolfe 1y agoAlright, 0.1.1 should now be a true drop-in replacement. I'll write up some examples soon.