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の可能性を最大限に引き出す
047
2-1:プロンプトとは
1
2
3
4
5
6
2
して、全く同じ回答を返してくることはほとんどない。たとえば、次
の結果も「桃太郎」の話ではあるが、前回の結果とは異なっている。
むかしむかし、あるところに、おじいさんとおばあさんが住んで
いました。このおじいさんとおばあさんは非常に優しく、互いに
深く愛していましたが、ひとつだけ悲しみがありました。それは、
二人には子どもがいなかったことです。
ある晴れた日のこと、おばあさんは川へ行って洗濯をしていまし
た。すると突然、大きな桃が川を流れてきました。おばあさんは
その桃を拾っておじいさんと一緒に家で開けてみることにしまし
た。大きな桃を包丁で切り開くと、中から元気な小さな男の子が
出てきました。(略)
このように、モデルは毎回全く同じ出力をするようには作られてい
ないことを知っておくことは大切だ。それは、モデルが膨大な量のデー
タを使って学習され、後続する単語の出力が確率的に生成されている
からだ。したがって、同じ冒頭部分を入力しても、結果的に生成され
る物語にはバリエーションが生まれる。
ここで、この確率をコントロールするためにモデルが持っている「温
度」という概念についても紹介しておこう。
モデルの温度を低く設定すると、モデルは次に出力する単語として
確率が最も高い単語のみを選択するようになる。逆に、温度を高く設
定すると、確率が低い単語にも選択される可能性が出てくる。すなわ
ち温度とは乱雑さを決めるパラメータで、温度を高くすることで、よ
り多様な出力を得ることができる。逆に、あるプロンプトのパフォー ...
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