生成式AI入门与AWS实战
上QQ阅读APP看书,第一时间看更新

2.5.1 零样本推理

这是一个上下文中没有任何样本的示例。

提示:

User: Who won the 2016 baseball World Series?

补全:

Assistant: The Chicago Cubs won the 2016 baseball World Series, defeating the 
Cleveland Indians in a thrilling seven-game series. It was the Cubs' first 
World Series title in 108 years, ending the longest championship drought in 
Major League Baseball history.

之所以零样本推理的补全中仍然包含额外的信息,是因为模型没有任何样本可供参考。