Concept
Sources of foundation models
Use a provider’s model, an open source model or train your own.
Provider model
Open source model
Custom model
Your application
Call APIDownload, hostTrain itProvider model
- Who trains it
- The provider
- Your effort
- Low: call an API
- Control
- Least
Open source
- Who trains it
- A community or company
- Your effort
- Medium: host and adapt it
- Control
- More
Custom model
- Who trains it
- You
- Your effort
- High: data and compute
- Control
- Most
| Source | Who trains it | Your effort | Control |
|---|---|---|---|
| Provider model | The provider | Low: call an API | Least |
| Open source | A community or company | Medium: host and adapt it | More |
| Custom model | You | High: data and compute | Most |
What it is
You can get a foundation model in three ways. A provider model is run by someone else, such as through Amazon Bedrock, and you call it through an API. An open source pre-trained model is published for anyone to download, and you host it yourself. Training a custom model means you build it from scratch on your own data.
The more you do yourself, the more control you get and the more it costs. Training a large model from scratch needs huge data and computing power, so most teams start with an existing model.
An open source model can be changed to suit you, but you run it and you must check its license.
Remember
- Provider model: easiest, called through an API.
- Open source pre-trained model: download, host and adapt it.
- Custom model: highest control, highest cost and effort.
- Most teams start with an existing model.
- Check the license of an open source model.
On the exam
- “Fastest start, no infrastructure to run” points to a provider model through an API.
- “Download and adapt a published model” points to an open source pre-trained model.
- “Full control over data and design, large budget” points to training a custom model.