Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
プロンプトエンジニアリング超入門
Search
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
tasogare_88
April 01, 2023
Technology
230
1
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
プロンプトエンジニアリング超入門
NKC-UGとIdeaxTechの合同LT会の時の登壇資料。
プロンプトエンジニアリングの基礎をまとめてみました。
tasogare_88
April 01, 2023
More Decks by tasogare_88
See All by tasogare_88
体系的に学ぶGit - 完全版
tasogare_88
0
230
自然言語処理の面白さ ~今だからこそ面白いNLPの話~
tasogare_88
1
130
体系的に学ぶGit
tasogare_88
1
180
26卒向けニックトレインLT登壇資料
tasogare_88
1
970
Other Decks in Technology
See All in Technology
LLMにもCAP定理があるという話
harukasakihara
0
170
protovalidate-es を導入してみた
bengo4com
0
160
[モダンアプリ勉強会]今更聞けないGit/GitHub入門
tsukuboshi
0
300
TypeScript Compiler APIとPHP-Parserを活用し、TypeScriptとPHPで型を共有する
shuta13
0
370
Chart.js が簡単に使えるようになっていたので OGP 画像生成に使った話
kamekyame
0
170
LLMと共に進化するプロセスを目指して
ymatsuwitter
12
3.6k
運用を見据えたAIエージェント設計実践
amacbee
1
3.2k
Diagnosing performance problems without the guesswork
elenatanasoiu
0
170
AIプラットフォームを運用し続けるための可観測性
tanimuyk
4
1.2k
MIERUNE JCT 発表資料「宇宙から伊能忠敬ごっこ」
syuchimu
0
190
ABEMA の Datadog × OTel 基盤、 中から見るか? 外から見るか?
tetsuya28
0
110
MCP Appsを作ってみよう
iwamot
PRO
3
110
Featured
See All Featured
Why You Should Never Use an ORM
jnunemaker
PRO
61
9.9k
Optimising Largest Contentful Paint
csswizardry
37
3.7k
SEO for Brand Visibility & Recognition
aleyda
0
4.6k
Claude Code のすすめ
schroneko
67
230k
Docker and Python
trallard
47
3.9k
jQuery: Nuts, Bolts and Bling
dougneiner
66
8.5k
Bioeconomy Workshop: Dr. Julius Ecuru, Opportunities for a Bioeconomy in West Africa
akademiya2063
PRO
1
140
SEO Brein meetup: CTRL+C is not how to scale international SEO
lindahogenes
1
2.7k
The untapped power of vector embeddings
frankvandijk
2
1.7k
Speed Design
sergeychernyshev
33
1.8k
From Legacy to Launchpad: Building Startup-Ready Communities
dugsong
0
230
How to Align SEO within the Product Triangle To Get Buy-In & Support - #RIMC
aleyda
2
1.5k
Transcript
吉岡 宏樹 IdeaxTech プロンプト エンジニアリング 入門
画像生成AI 文章生成AI Generative AI (コンテンツ生成AI )
ChatGPT 使ってますか?
プロンプトエンジニアリングとは? プロンプトエンジニアリング(Prompt Engineering )は、AI 言 語モデルを用いた自然言語処理の手法の一つで、 「プロンプト」と呼ばれる指示文の形式をうまく設計して、AI モ デルの回答精度を向上させる技術。 モデルの訓練方法やデータによって、最適なプロンプト形式は
異なる。
普通に聞いた場合 プロンプトを工夫した場合 同じ質問内容
Open AI 公式からプロンプトエンジニアリングのベスト プラクティス(最良の事例)が出ている。 実は、
プロンプトエンジニアリング攻略法 国語力 と 少しのテクニック
最新モデルを使う ### または""" で指示文と文脈を区切る 具体的に詳細に記述する 例文を示す ZeroShot, FewShot, ファインチューニング 曖昧な表現を減らす
禁止事項だけでなく、代わりに何をすべきかを伝える 類推はステップごとに 1. 2. 3. 4. 5. 6. 7. 8. 8 つのパターン ※ スライドの関係上、chatGPT の回答は省略します。
最新モデルを使おう https://platform.openai.com/docs/models/overview
### または""" で指示文と文脈を区切る 効果が低い例✖︎ 効果的な例◦
具体的に詳細に記述する 効果が低い例✖︎ 効果的な例◦
例文を示す 効果が低い例✖︎
例文を示す 効果的な例◦
ZeroShot :事前知識や例を提供せずに司令を出す
FewShot :いくつかの例をあらかじめ提供する
曖昧な表現を減らす 効果が低い例✖︎ 効果的な例◦
禁止事項だけでなく、代わりに何をすべきかを伝える 効果が低い例✖︎ ChatGPT に判断を一任している
禁止事項だけでなく、代わりに何をすべきかを伝える 効果的な例◦
類推はステップごとに 間違った回答✖︎
類推はステップごとに
プロンプトエンジニアリングの手法は様々! In-context Learning (ICL) Chain-of Thought (CoT) Zero-shot CoT ReAct
Self-Consistency Program-aided Language Model (PAL) などなど
Thank you IdeaxTech 吉岡 宏樹