> For the complete documentation index, see [llms.txt](https://avalanche.continualai.org/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://avalanche.continualai.org/avalanche-v0.2.1/examples/models.md).

# Models

*Avalanche* offers basic support for defining your own models or adapt existing PyTorch models with a particular emphasis on model adaptation over time.&#x20;

You can find **examples** related to the models here:&#x20;

* [Using PyTorchCV pre-trained models](https://github.com/ContinualAI/avalanche/blob/master/examples/pytorchcv_models.py): *This example shows how to train models provided by pytorchcv with the rehearsal strategy.*
* [Use a Multi-Head model](https://github.com/ContinualAI/avalanche/blob/6dbabb2ab787a53b59b9cbcb245ad500e984f671/examples/multihead.py#L27): *This example trains a Multi-head model on Split MNIST with Elastich Weight Consolidation. Each experience has a different task label, which is used at test time to select the appropriate head.*&#x20;
