You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was happy to see you use it, but then I realized you are creating this on top of OpenAI's API. OpenAI uses different tokenization than LLaMA, so the token counts will not be the same. I think you need to use a different library, such as https://github.com/niieani/gpt-tokenizer
The text was updated successfully, but these errors were encountered:
Hey, I happened to notice you started using my tokenizer: https://github.com/belladoreai/llama-tokenizer-js
I was happy to see you use it, but then I realized you are creating this on top of OpenAI's API. OpenAI uses different tokenization than LLaMA, so the token counts will not be the same. I think you need to use a different library, such as https://github.com/niieani/gpt-tokenizer
The text was updated successfully, but these errors were encountered: