We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
tkm, err := tiktoken.EncodingForModel(Model) if err != nil { fmt.Println(fmt.Errorf("EncodingForModel: %v", err)) return }
我在执行这个model gpt-3.5-turbo-0301 报错找不到encoding ,我看了源码MODEL_TO_ENCODING没有这个模型
The text was updated successfully, but these errors were encountered:
衍生模型的支持之前没发tag支持,在终端执行 go get -d github.com/pkoukk/tiktoken-go或者go get -d github.com/pkoukk/tiktoken-go@v0.1.1 相关支持代码在MODEL_PREFIX_TO_ENCODING定义中
go get -d github.com/pkoukk/tiktoken-go
go get -d github.com/pkoukk/tiktoken-go@v0.1.1
MODEL_PREFIX_TO_ENCODING
Sorry, something went wrong.
No branches or pull requests
我在执行这个model gpt-3.5-turbo-0301 报错找不到encoding ,我看了源码MODEL_TO_ENCODING没有这个模型
The text was updated successfully, but these errors were encountered: