OpenAI 是否也计算答案中的标记?

huangapple go评论87阅读模式
英文:

Does OpenAi count tokens in the answer too?

问题

如果我向OpenAi发出请求,答案是否也计入令牌中,还是只有问题计入令牌中?

英文:

I started to read about OpenAi and the tokens, but I have one thing, that I didn't find.

If I make a request to OpenAi, does the answer count in the tokens too, or only the question?

答案1

得分: 1

当询问OpenAI GPT-3一个问题时,您可以悬停在文本框右下角的标记数量上,以查看您的查询使用了多少标记,以及预期响应使用了多少标记。它将这两者结合在一起,这就成为使用的标记数量。

OpenAI GPT-3标记示例

是的,它在标记计数中同时计算问题和答案。

英文:

When OpenAI GPT-3 is asked a question, you can hover over the token amount on the bottom right of the text box to see how many tokens your query has, and how many the expected response has. It combines these, and that becomes the amount of tokens used.

OpenAI GPT-3 Tokens Sample

So yes, it counts both the question and answer in the token count.

huangapple
  • 本文由 发表于 2023年3月9日 22:05:13
  • 转载请务必保留本文链接:https://go.coder-hub.com/75685682.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定