129. Amber Teng - Building apps with a new generation of language models

129. Amber Teng - Building apps with a new generation of language models

Author: The TDS team October 5, 2022 Duration: 51:21

It’s no secret that a new generation of powerful and highly scaled language models is taking the world by storm. Companies like OpenAI, AI21Labs, and Cohere have built models so versatile that they’re powering hundreds of new applications, and unlocking entire new markets for AI-generated text.

In light of that, I thought it would be worth exploring the applied side of language modelling — to dive deep into one specific language model-powered tool, to understand what it means to build apps on top of scaled AI systems. How easily can these models be used in the wild? What bottlenecks and challenges do people run into when they try to build apps powered by large language models? That’s what I wanted to find out.

My guest today is Amber Teng, and she’s a data scientist who recently published a blog that got quite a bit of attention, about a resume cover letter generator that she created using GPT-3, OpenAI’s powerful and now-famous language model. I thought her project would be make for a great episode, because it exposes so many of the challenges and opportunities that come with the new era of powerful language models that we’ve just entered.

So today we’ll be exploring exactly that: looking at the applied side of language modelling and prompt engineering, understanding how large language models have made new apps not only possible but also much easier to build, and the likely future of AI-powered products.

***

Intro music:

- Artist: Ron Gelinas

- Track Title: Daybreak Chill Blend (original mix)

- Link to Track: https://youtu.be/d8Y2sKIgFWc

***

Chapters:

- 0:00 Intro

- 2:30 Amber’s background

- 5:30 Using GPT-3

- 14:45 Building prompts up

- 18:15 Prompting best practices

- 21:45 GPT-3 mistakes

- 25:30 Context windows

- 30:00 End-to-end time

- 34:45 The cost of one cover letter

- 37:00 The analytics

- 41:45 Dynamics around company-building

- 46:00 Commoditization of language modelling

- 51:00 Wrap-up


While the active production of Towards Data Science has concluded, its archive remains a vital resource. Created by The TDS team, this collection captures a specific moment in the rapid evolution of data science and artificial intelligence. Each conversation pulls you directly into the room with leading researchers and practitioners who were shaping the tools and theories of their time. The discussions are not abstract lectures; they are grounded explorations of real-world problems, ethical dilemmas, and technical challenges that defined the field's trajectory. You'll hear experts dissect the implications of their work, from algorithmic fairness to the practicalities of deploying models at scale. This podcast served as a forum for nuanced debate, where complex ideas were unpacked with clarity and depth. Listening now offers a unique historical perspective, a chance to understand the foundational conversations that continue to influence where technology is headed next. The archive of Towards Data Science stands as a substantive record of insight, preserving the voices and questions from the forefront of a digital revolution.
Author: Language: en-us Episodes: 50

Towards Data Science
Podcast Episodes
99. Margaret Mitchell - (Practical) AI ethics [not-audio_url] [/not-audio_url]

Duration: 45:43
Bias gets a bad rap in machine learning. And yet, the whole point of a machine learning model is that it biases certain inputs to certain outputs — a picture of a cat to a label that says “cat”, for example. Machine lear…
98. Mike Tung - Are knowledge graphs AI’s next big thing? [not-audio_url] [/not-audio_url]

Duration: 48:56
As impressive as they are, language models like GPT-3 and BERT all have the same problem: they’re trained on reams of internet data to imitate human writing. And human writing is often wrong, biased, or both, which means…
97. Anthony Habayeb - The present and future of AI regulation [not-audio_url] [/not-audio_url]

Duration: 49:31
Corporate governance of AI doesn’t sound like a sexy topic, but it’s rapidly becoming one of the most important challenges for big companies that rely on machine learning models to deliver value for their customers. More…
96. Jan Leike - AI alignment at OpenAI [not-audio_url] [/not-audio_url]

Duration: 1:05:17
The more powerful our AIs become, the more we’ll have to ensure that they’re doing exactly what we want. If we don’t, we risk building AIs that use dangerously creative solutions that have side-effects that could be unde…
95. Francesca Rossi - Thinking, fast and slow: AI edition [not-audio_url] [/not-audio_url]

Duration: 46:42
The recent success of large transformer models in AI raises new questions about the limits of current strategies: can we expect deep learning, reinforcement learning and other prosaic AI techniques to get us all the way…
94. Divya Siddarth - Are we thinking about AI wrong? [not-audio_url] [/not-audio_url]

Duration: 1:02:44
AI research is often framed as a kind of human-versus-machine rivalry that will inevitably lead to the defeat — and even wholesale replacement of — human beings by artificial superintelligences that have their own sense…
92. Daniel Filan - Peering into neural nets for AI safety [not-audio_url] [/not-audio_url]

Duration: 1:06:02
Many AI researchers think it’s going to be hard to design AI systems that continue to remain safe as AI capabilities increase. We’ve seen already on the podcast that the field of AI alignment has emerged to tackle this p…
91. Peter Gao - Self-driving cars: Past, present and future [not-audio_url] [/not-audio_url]

Duration: 1:01:21
Cruise is a self-driving car startup founded in 2013 — at a time when most people thought of self-driving cars as the stuff of science fiction. And yet, just three years later, the company was acquired by GM for over a b…
90. Jeffrey Ding - China’s AI ambitions and why they matter [not-audio_url] [/not-audio_url]

Duration: 49:07
There are a lot of reasons to pay attention to China’s AI initiatives. Some are purely technological: Chinese companies are producing increasingly high-quality AI research, and they’re poised to become even more importan…