紹介する内容 ■ Learn Prompting ● https://github.com/trigaten/Learn_Prompting にて公開されている入 門コース ● 今日はこれのBasic部分を紹介 ■ Large Language Models are Zero-Shot Reasoners, Kojima et al., NeurIPS 2022 ● プロンプトを工夫することで、より良い解答を得る手法を提案 3
プロンプトの形式は多種多様 ■ Few Shot形式 ● What is the capital of Spain? Madrid What is the capital of Italy? Rome What is the capital of France? ■ Few Shot Q&A形式 ● Q: What is the capital of Spain? A: Madrid Q: What is the capital of Italy? A: Rome Q: What is the capital of France? A: 10
ChatGPTはこの点において改善された ■ プロンプト:Roger has 5 tennis balls. He buys 2 more cans of tennis balls. Each can has 3 tennis balls. How many tennis balls does he have now? 20