Large Language Models are Zero-Shot Reasoners

Kojima T., Gu S. S., Reid M., Matsuo Y. and Iwasawa Y. Large language models are zero-shot reasoners. NIPS, 2022.

Zero-shot CoT.

Let's think step by step

  • 如上图所示, 利用 "Let's think step by step" 来引导推理, 最后利用 "Therefore, the answer (arabic numerals) is" 来引出最后的答案.

  • Zero-shot 引导词还有如下的选择:

代码

[official]

posted @ 2023-07-23 10:35  馒头and花卷  阅读(160)  评论(0编辑  收藏  举报