3 ms·
Here's a way to do it in your own code: https://github.com/openai/openai-cookbook/blob/main/examples/How_to_count_tokens_with_tiktoken.ipynb https://github.com/
by Cyphase 4y ago
Here's a way to do it in your own code: https://github.com/openai/openai-cookbook/blob/main/examples/How_to_count_tokens_with_tiktoken.ipynb https://github.com/openai/openai-cookbook/blob/main/examples...
- bilater 4y agoyup - I use tiktoken under the hood. :)