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'm making an application which calls ChatGPT API in Go, and I need to estimate how many tokens I'm using. ChatGPT uses cl100k_base encoding, while go-gpt-3-encoder only supports (I think) p50k_base.
Is there any plan to support cl100k_base?
I don't really know how BPE works, but according to this, different encodings have different vocabulary, pat regex and special tokens.
The text was updated successfully, but these errors were encountered:
I'm making an application which calls ChatGPT API in Go, and I need to estimate how many tokens I'm using. ChatGPT uses
cl100k_base
encoding, whilego-gpt-3-encoder
only supports (I think)p50k_base
.Is there any plan to support
cl100k_base
?I don't really know how BPE works, but according to this, different encodings have different vocabulary, pat regex and special tokens.
The text was updated successfully, but these errors were encountered: