Tokenizer
Hi, I have found a tokenizer library from OpenAI to calculate the number of tokens, which is written in pure JS. It seems a good estimation of the token you used. However, sometimes the value may not be accurate, like the example provided in the OpenAI playground.