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
{{ message }}
This repository has been archived by the owner on Jul 11, 2023. It is now read-only.
I was looking through the OpenAI code and noticed that the wrong tokenizer is used for newer models like text-embedding-ada-002 that use cl100k, implemented by tiktoken.
There is a list of encodings here for their public models.
I'm currently looking at making a wasm build of tiktoken, though I think a pure js approach would also work fine.
The text was updated successfully, but these errors were encountered:
I was looking through the OpenAI code and noticed that the wrong tokenizer is used for newer models like
text-embedding-ada-002
that usecl100k
, implemented by tiktoken.There is a list of encodings here for their public models.
I'm currently looking at making a wasm build of tiktoken, though I think a pure js approach would also work fine.
The text was updated successfully, but these errors were encountered: