ladderlore
Request a guide
  • Type a service name, like S3 or IAM.

Concept

Foundation models

Very large models, pre-trained on broad data, that can be adapted to many different tasks.

Broad data
Foundation model
Summarize
Translate
Write code
  1. 1The FM is pre-trained on broad data.
  2. 2Prompted, it summarizes text.
  3. 3Prompted, it translates.
  4. 4Prompted, it writes code. No new model is trained.
One FM, trained once on broad data, serves many tasks.

Step by step

  1. 1The FM is pre-trained on broad data.
  2. 2Prompted, it summarizes text.
  3. 3Prompted, it translates.
  4. 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
How a traditional model and an FM differ.

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

2 / 2

  • Output

    Traditional model
    A prediction or label
    Foundation model
    New content
How a traditional model and an FM differ.

What it is

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.

What it is

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.

Remember

  • 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.

Remember

  • Types: language models (LLMs), image generation models, multi-modal models.

On the exam

  • “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.