概念
Generative AI and LLMs
AI that creates new content, unlike classic ML that predicts a label or a number.
本课尚未翻译,暂以英文显示。
Output
- Classic ML
- A label or a number
- GenAI
- New text, images, code
Trained on
- Classic ML
- Your labeled data
- GenAI
- Huge general data
Tasks
- Classic ML
- One narrow task
- GenAI
- Many tasks by prompt
Example
- Classic ML
- Is this fraud?
- GenAI
- Write a reply to this email
| Compare | Classic ML | GenAI |
|---|---|---|
| Output | A label or a number | New text, images, code |
| Trained on | Your labeled data | Huge general data |
| Tasks | One narrow task | Many tasks by prompt |
| Example | Is this fraud? | Write a reply to this email |
是什么
Generative AI (GenAI) creates new content, such as text, images, audio, video and code, from a prompt. It runs on very large models trained on huge amounts of data. A large language model (LLM) is a GenAI model built for text. It predicts the next piece of text, over and over, to write answers.
Classic ML is trained for one narrow job. It predicts a label or a number, such as fraud or not fraud, or next month’s demand. A GenAI model can handle many tasks without new training, because you describe the task in the prompt.
GenAI can be wrong while sounding sure. Domain 2 covers how it works, its limits and the AWS services for it.
要记住
- GenAI creates new content. Classic ML predicts a label or a number.
- An LLM is a GenAI model for language.
- One GenAI model can do many tasks, steered by the prompt.
- Classic ML models are usually trained for one task.
- GenAI output can be wrong, so people should check important answers.
考试中
- “Write a product description from a short prompt” points to generative AI.
- “Predict whether a transaction is fraud” points to classic ML.
- “A model that understands and writes text” points to an LLM.
别和这些弄混
- Foundation modelsVery large models, pre-trained on broad data, that can be adapted to many different tasks.
- AI, ML and deep learningHow AI, machine learning, deep learning and generative AI fit inside each other.
- Traditional ML or foundation modelChoose by task, data, explainability, regulation and cost.