Pretrained Weights
Pretrained weights are the numerical values learned by a machine learning model after it has already been trained on a large dataset, typically for a general-purpose task. Instead of building and training a model from scratch, practitioners can load these existing weights and reuse or adapt them, often fine-tuning them for a more specific task. In practice, obtaining pretrained weights commonly involves downloading them from a model library or repository.
Pretrained weights are the learned parameter values of a machine learning model produced by a prior training run on a large dataset, usually for a general-purpose objective, and made available for reuse. As commonly implemented in deep learning frameworks such as TorchVision, instantiating a pretrained model retrieves the associated weights (for example, from a local cache directory) and initializes the model architecture with them, providing a starting point that can be used as-is or customized and fine-tuned for a downstream task. The evidence describes the concept of pretrained weights within model libraries and general pretrained-model usage; it does not address governance, validation, or risk-management treatment of such weights, which are out of scope for this entry.
Why it matters
Pretrained weights let practitioners avoid the substantial cost of training a model from scratch by starting from parameters already learned on a large dataset. This lowers the barrier to building capable models and is a foundational practice in modern deep learning, where general-purpose weights are frequently adapted, or fine-tuned, for narrower downstream tasks.
Because pretrained weights are commonly obtained by downloading them from model libraries or repositories, the choice and provenance of those weights shape the resulting model's behavior. A team that loads pretrained weights inherits whatever characteristics were baked in during the original training run, including any limitations of the underlying dataset or objective. Understanding what a set of pretrained weights represents, and how it was produced, is therefore relevant to anyone reasoning about the model that ends up deployed.
The governance, validation, and risk-management treatment of pretrained weights is out of scope for this entry, and the evidence here does not address how such weights should be assessed or controlled. Readers evaluating pretrained weights in a regulated or high-stakes context should treat those questions separately and consult the appropriate model risk and AI governance guidance, rather than assuming that reuse of pretrained weights is inherently low-risk.
Who it's relevant to
Inside Pretrained Weights
Common questions
Answers to the questions practitioners most commonly ask about Pretrained Weights.