tiktoken-go icon indicating copy to clipboard operation
tiktoken-go copied to clipboard

go version of tiktoken

Results 15 tiktoken-go issues
Sort by recently updated
recently updated
newest added

I found this helpful to implement caching the output of the encoder within my own code. Apply if useful, otherwise feel free to ignore 😄

I noticed our tests were much slower when switching from https://github.com/tiktoken-go/tokenizer to this library. It seems to be because `tiktoken.EncodingForModel` is very slow (0.3s on my machine). Our I see...