概念
Foundation models
Very large models, pre-trained on broad data, that can be adapted to many different tasks.
このレッスンはまだ翻訳されていないため、英語で表示しています。
- 1The FM is pre-trained on broad data.
- 2Prompted, it summarizes text.
- 3Prompted, it translates.
- 4Prompted, it writes code. No new model is trained.
流れ
- 1The FM is pre-trained on broad data.
- 2Prompted, it summarizes text.
- 3Prompted, it translates.
- 4Prompted, it writes code. No new model is trained.
Trained on
- Traditional model
- Data for one task
- Foundation model
- Huge, broad data
Tasks
- Traditional model
- One
- Foundation model
- Many
Labeled data you need
- Traditional model
- A lot, for every task
- Foundation model
- Little or none to start
Output
- Traditional model
- A prediction or label
- Foundation model
- New content
| Compare | Traditional model | Foundation model |
|---|---|---|
| Trained on | Data for one task | Huge, broad data |
| Tasks | One | Many |
| Labeled data you need | A lot, for every task | Little or none to start |
| Output | A prediction or label | New content |
1 / 2
Trained on
- Traditional model
- Data for one task
- Foundation model
- Huge, broad data
Tasks
- Traditional model
- One
- Foundation model
- Many
Labeled data you need
- Traditional model
- A lot, for every task
- Foundation model
- Little or none to start
| Compare | Traditional model | Foundation model |
|---|---|---|
| Trained on | Data for one task | Huge, broad data |
| Tasks | One | Many |
| Labeled data you need | A lot, for every task | Little or none to start |
2 / 2
Output
- Traditional model
- A prediction or label
- Foundation model
- New content
| Compare | Traditional model | Foundation model |
|---|---|---|
| Output | A prediction or label | New content |
概要
A foundation model (FM) is a very large model trained on a huge and varied set of data, such as text, images or code. Because it learned so widely, one FM can summarize, translate, answer questions and write code. You do not train a new model for each job. You prompt the same model, or adapt it a little.
A traditional machine learning model is built for one task with data labeled for that task, for example one model that predicts customer churn. An FM is general first. It is trained once at great cost, usually by a model provider, and then many companies use it.
概要
FMs come in types. Large language models (LLMs) work with text. Image models create pictures. Multi-modal models handle several kinds of data. On AWS you reach FMs from several providers through Amazon Bedrock.
覚えること
- An FM is pre-trained on broad data, then used or adapted for many tasks.
- Pre-training is costly, so most companies use an existing FM.
- A traditional model does one task. An FM is general purpose.
- You adapt an FM by prompting it, giving it data (RAG), or fine-tuning it.
覚えること
- Types: language models (LLMs), image generation models, multi-modal models.
試験では
- “One model that can do many tasks, trained on broad data” points to a foundation model.
- “A model trained for one specific prediction” points to a traditional ML model.
- “Use an existing large model instead of training from scratch” points to using an FM.
混同しやすいもの
- Large language models and transformersText models built on the transformer design that write by predicting the next token, again and again.
- Multi-modal and diffusion modelsModels that handle text, images, audio and video together, and models that make images by removing noise.
- Traditional ML or foundation modelChoose by task, data, explainability, regulation and cost.