Extra Credit

tiktoken

tiktoken is a fast BPE tokeniser for use with OpenAI's models

$pip install tiktoken

Official docs outline

Extra Credit builds an outline of tiktoken's docs the first time your work uses it. Until then, start at the official documentation.

All 9,553