Riley Goodside: The Art and Craft of Prompt Engineering

Riley Goodside: The Art and Craft of Prompt Engineering

Author: Daniel Bashir June 1, 2023 Duration: 59:42

In episode 75 of The Gradient Podcast, Daniel Bashir speaks to Riley Goodside.

Riley is a Staff Prompt Engineer at Scale AI. Riley began posting GPT-3 prompt examples and screenshot demonstrations in 2022. He previously worked as a data scientist at OkCupid, Grindr, and CopyAI.

Have suggestions for future podcast guests (or other feedback)? Let us know here or reach us at editor@thegradient.pub

Subscribe to The Gradient Podcast:  Apple Podcasts  | Spotify | Pocket Casts | RSSFollow The Gradient on Twitter

Outline:

* (00:00) Intro

* (01:37) Riley’s journey to becoming the first Staff Prompt Enginer

* (02:00) data science background in online dating industry

* (02:15) Sabbatical + catching up on LLM progress

* (04:00) AI Dungeon and first taste of GPT-3

* (05:10) Developing on codex, ideas about integrating codex with Jupyter Notebooks, start of posting on Twitter

* (08:30) “LLM ethnography”

* (09:12) The history of prompt engineering: in-context learning, Reinforcement Learning from Human Feedback (RLHF)

* (10:20) Models used to be harder to talk to

* (10:45) The three eras

* (10:45) 1 - Pre-trained LM era—simple next-word predictors

* (12:54) 2 - Instruction tuning

* (16:13) 3 - RLHF and overcoming instruction tuning’s limitations

* (19:24) Prompting as subtractive sculpting, prompting and AI safety

* (21:17) Riley on RLHF and safety

* (24:55) Riley’s most interesting experiments and observations

* (25:50) Mode collapse in RLHF models

* (29:24) Prompting models with very long instructions

* (33:13) Explorations with regular expressions, chain-of-thought prompting styles

* (36:32) Theories of in-context learning and prompting, why certain prompts work well

* (42:20) Riley’s advice for writing better prompts

* (49:02) Debates over prompt engineering as a career, relevance of prompt engineers

* (58:55) Outro

Links:

* Riley’s Twitter and LinkedIn

* Talk: LLM Prompt Engineering and RLHF: History and Techniques



Get full access to The Gradient at thegradientpub.substack.com/subscribe

Hosted by Daniel Bashir, The Gradient: Perspectives on AI moves beyond surface-level headlines to explore the intricate machinery and human ideas shaping artificial intelligence. Each episode is built on a foundation of deep research, leading to conversations that are both technically substantive and broadly accessible. You'll hear from researchers, engineers, and philosophers who are actively building and critiquing our technological future, discussing not just how AI systems work, but the larger implications of their integration into society. This isn't about speculative hype; it's a grounded examination of real progress, persistent challenges, and ethical considerations from those on the front lines. The discussions peel back layers on topics like model architecture, policy, and the fundamental science behind the algorithms becoming part of our daily lives. For anyone curious about the substance behind the buzz-whether you have a technical background or are simply keen to understand a defining technology of our age-this podcast offers a crucial and thoughtful resource. Tune in for a consistently detailed and nuanced take that treats artificial intelligence with the complexity it deserves.
Author: Language: English Episodes: 100

The Gradient: Perspectives on AI
Podcast Episodes
Laurence Liew: AI Singapore [not-audio_url] [/not-audio_url]

Duration: 50:28
In episode 98 of The Gradient Podcast, Daniel Bashir speaks to Laurence Liew.Laurence is the Director for AI Innovation at AI Singapore. He is driving the adoption of AI by the Singapore ecosystem through the 100 Experim…
Michael Levin & Adam Goldstein: Intelligence and its Many Scales [not-audio_url] [/not-audio_url]

Duration: 57:21
In episode 97 of The Gradient Podcast, Daniel Bashir speaks to Professor Michael Levin and Adam Goldstein. Professor Levin is a Distinguished Professor and Vannevar Bush Chair in the Biology Department at Tufts Universit…
Jonathan Frankle: From Lottery Tickets to LLMs [not-audio_url] [/not-audio_url]

Duration: 1:08:22
In episode 96 of The Gradient Podcast, Daniel Bashir speaks to Jonathan Frankle.Jonathan is the Chief Scientist at MosaicML and (as of release). Jonathan completed his PhD at MIT, where he investigated the properties of…
Nao Tokui: "Surfing" Musical Creativity with AI [not-audio_url] [/not-audio_url]

Duration: 1:02:19
In episode 95 of The Gradient Podcast, Daniel Bashir speaks to Nao Tokui.Nao Tokui is an artist/DJ and researcher based in Tokyo. While pursuing his Ph.D. at The University of Tokyo, he produced his first music album and…
Divyansh Kaushik: The Realities of AI Policy [not-audio_url] [/not-audio_url]

Duration: 1:17:44
In episode 94 of The Gradient Podcast, Daniel Bashir speaks to Divyansh Kaushik.Divyansh is the Associate Director for Emerging Technologies and National Security at the Federation of American Scientists where his focus…
Tal Linzen: Psycholinguistics and Language Modeling [not-audio_url] [/not-audio_url]

Duration: 1:14:50
In episode 93 of The Gradient Podcast, Daniel Bashir speaks to Professor Tal Linzen.Professor Linzen is an Associate Professor of Linguistics and Data Science at New York University and a Research Scientist at Google. He…
Kevin K. Yang: Engineering Proteins with ML [not-audio_url] [/not-audio_url]

Duration: 1:00:00
In episode 92 of The Gradient Podcast, Daniel Bashir speaks to Kevin K. Yang.Kevin is a senior researcher at Microsoft Research (MSR) who works on problems at the intersection of machine learning and biology, with an emp…
Miles Grimshaw: Benchmark, LangChain, and Investing in AI [not-audio_url] [/not-audio_url]

Duration: 1:00:47
In episode 90 of The Gradient Podcast, Daniel Bashir speaks to Miles Grimshaw.Miles is General Partner at Benchmark. He was previously a General Partner at Thrive Capital, where he helped the firm raise its fourth and fi…
Shreya Shankar: Machine Learning in the Real World [not-audio_url] [/not-audio_url]

Duration: 1:16:36
In episode 89 of The Gradient Podcast, Daniel Bashir speaks to Shreya Shankar.Shreya is a computer scientist pursuing her PhD in databases at UC Berkeley. Her research interest is in building end-to-end systems for peopl…