Upgrade to Pro — share decks privately, control downloads, hide ads and more …

自然言語の扱いと翻訳のためのプロンプト / Natural Language Handling...

自然言語の扱いと翻訳のためのプロンプト / Natural Language Handling and Prompts for Translation

早稲田大学大学院経営管理研究科「プロンプトエンジニアリング ─ 生成AIの応用」2024 春のオンデマンド教材 第5回で使用したスライドです。

Kenji Saito

April 27, 2024
Tweet

More Decks by Kenji Saito

Other Decks in Technology

Transcript

  1. Generated by Stable Diffusion XL v1.0 — AI 2024 5

    (WBS) 2024 5 — 2024-04 – p.1/14
  2. ( 20 ) 1 • 2 • 3 Discord &

    • 4 • 5 • 6 RPG 7 “September 12th” 8 9 10 ∼ 11 Linux (Windows )(Mac ) 12 Open Interpreter ∼ 13 14 AGI (Artificial General Intelligence) 7 (5/6 ) / (2 ) OK / 2024 5 — 2024-04 – p.3/14
  3. GPT (3/6) 2. : ⇒ LLM ( ) GPT 2024

    5 — 2024-04 – p.7/14
  4. GPT (4/6) 3. : ( ) ⇒ ( ) (

    ) LLM 2024 5 — 2024-04 – p.8/14
  5. GPT (5/6) 4. : AI ⇒ . . . 2024

    5 — 2024-04 – p.9/14
  6. GPT-4 Figure 5. OpenAI. 2023. “GPT-4 Technical Report”. Available at:

    https://doi.org/10.48550/arXiv.2303.08774. GPT : GPT-4 1 MMLU2 1 : 2 : MMLU (Massive Multi-task Language Understanding) 57 GPT-3.5 : GPT-3.5 English 70.1% GPT-4 English 85.5% GPT-4 79.9% 2024 5 — 2024-04 – p.11/14
  7. . . . ChatGPT gpt-discord-bot : “Intending to have just

    a quick drink, I somehow ended up on a bar crawl.” : “Ended up going on a bar crawl after planning to have just a quick drink.” ( ; ) (The Interpreter) (asst_AGvWhmnLJ7oMVDXADvcPS6zv) “Translate into English” ( ) 3 2024 5 — 2024-04 – p.12/14
  8. /show assistant id: asst AGvWhmnLJ7oMVDXADvcPS6zv Name: (The Interpreter) Description: Instructions:

    You are a very capable interpreter who can handle many languages. # Tasks (1) Monitor all statements within the thread and detect new messages as soon as they are posted. * You remember the set of languages used in the thread. * As new languages are used, they are added to the set. (2) Translate posted messages into all other languages in the set. * Do not translate into languages not in the set. * If only one language is in the set (for example, if everyone inside the thread uses only Japanese), reply with only ".". * If three or more languages are used within the thread, translate the message written in one of those languages into all the other languages in the set at once. (3) Post the translated messages immediately after each message. * This process is automated and executed in real-time whenever a new statement is made. Tools: [] Files: [] 2024 5 — 2024-04 – p.13/14