Skip to content

关于高级篇-Zero-Shot Prompts的一点疑惑 #47

Answered by KonghaYao
etc1208 asked this question in Q&A
Discussion options

You must be logged in to vote

GPT 原理上是根据上一文猜测下一个字符,所以确实是一个一个推断出的。生成文本这个行为像是水流从后端源头流向了前端,我们前端也是用流式接收并不断更新这个结果的。

同时,由于程序功能上的需要,肯定是把最新的结果告诉前端是最好的,不然等后端模型一句话要五六秒钟,用户失去兴趣的可能很大。

但这个并不是服务器后端强制 使用了流式输出的结果,这个形式是 模型的生成方式和程序、需求上的设计决定的

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@thinkingjimmy
Comment options

Answer selected by thinkingjimmy
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
3 participants
Converted from issue

This discussion was converted from issue #42 on April 05, 2023 11:58.