Skip to Content
AI時代の質問力 プロンプトリテラシー 「問い」と「指示」が生成AIの可能性を最大限に引き出す
book

AI時代の質問力 プロンプトリテラシー 「問い」と「指示」が生成AIの可能性を最大限に引き出す

by 岡 瑞起, 橋本 康弘
July 2024
Intermediate to advanced
224 pages
3h 44m
Japanese
Shōeisha
Content preview from AI時代の質問力 プロンプトリテラシー 「問い」と「指示」が生成AIの可能性を最大限に引き出す
106
第3章:プロンプトパターン
できなくてもいたしかたない。
続いて少数ショットを試してみよう。
入力:Twitter ロゴ変更厳しい経営背景,
出力:テクノロジー
入力:スレッズが早くもユーザ離れに直面、DAUが数日で20%
減少,
出力:テクノロジー
入力:味の素が国内外のスタートアップと連携する「真の狙い」,
出力:ビジネス
入力:生成AI搭載 Office 「月30ドル課金」 は妥当なのか,
出力:
出力結果は「テクノロジー」となった。期待する出力は「ビジネス」
であったが、例として与えている内容だけでは、何がテクノロジーで
何がビジネスと分類されるべきかの判断になるような材料が提供され
ておらず、結果も曖昧になる。
このように少数ショットで与える例は、モデルがそのパターンを学
習するための重要な情報源となるため、適切な例を与えることは非常
に重要だ。
*:こうした複数の実例から背後にあるパターンを見出す「帰納」の能力は機械学習モデル
の真骨頂である。大規模言語モデルはそれをプロンプト上でさらりとやってのける。
一方で、前提が真であれば結論も必然的に真である「演繹」に対して、蓋然性に基づい
た「帰納」は論理的な飛躍を含む。これは機械学習モデルの特徴であると同時に、コン
ピュータが人間のように間違う一因でもある。
入力するプロンプト
空欄
107
3-6:少数ショットパターン
1
2
3
4
5
6
3
ブログのコンテンツからタイトルを生成
1-ショットや少数ショットパターンの使い方は、感情分析や記事の
分類のような分類タスクだけにとどまらない。ブログのコンテンツか ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

スタッフエンジニアの道 ―優れた技術専門職になるためのガイド

スタッフエンジニアの道 ―優れた技術専門職になるためのガイド

Tanya Reilly, 島田 浩二
行動を変えるデザイン ―心理学と行動経済学をプロダクトデザインに活用する

行動を変えるデザイン ―心理学と行動経済学をプロダクトデザインに活用する

Stephen Wendel, 武山 政直, 相島 雅樹, 反中 望, 松村 草也

Publisher Resources

ISBN: 9784798188102