-
Notifications
You must be signed in to change notification settings - Fork 397
New issue
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
【疑问】你们这个项目有个token的参数,这个和模型之间的计算公式并未说明。 #62
Comments
Title: [Question] Your project has a token parameter, but the calculation formula between this and the model is not explained.
Describe the problem How to reproduce screenshot Some necessary information |
计算方式与openai一致,怎么计算要看你怎么配置倍率,1倍就1tonkens |
The calculation method is the same as openai. How to calculate it depends on how you configure the magnification. 1 times is 1 tonkens. |
描述问题
你们这个项目有个token的参数,这个和模型之间的计算公式没有说明。
比如:
promptTokens = 10 ; completionTokens = 20 ;倍率设置为1
这个tokens参数就直接扣 ( 20 + 10 ) * 1 吗?
因为 prompt 和 completion 之间本身就有 成本 倍率。
如何复现
如上
截图
无
一些必要的信息
无
The text was updated successfully, but these errors were encountered: