composer.models#
Modules
The ComposerModel base interface. |
|
The BERT model family using Hugging Face Transformers. |
|
A simple example convolutional neural network which can be used to classify MNIST data. |
|
DeepLabV3 for image segmentation. |
|
The EfficientNet model family is a set of convolutional neural networks that can be used as the basis for a variety of vision tasks, but were initially designed for image classification. |
|
The GPT-2 model family is set of transformer-based networks for autoregressive language modeling at various scales. |
|
A collection of common torchmetrics and loss functions. |
|
General YAHP interface for ComposerModels. |
|
A collection of common torchmetrics for NLP tasks. |
|
The ResNet model family is a set of convolutional neural networks described in Deep Residual Learning for Image Recognition (He et al, 2015). |
|
A ResNet20 model for CIFAR10. |
|
A ResNet56 model for CIFAR10. |
|
A ResNet9 model for CIFAR10. |
|
The CIFAR ResNet torch module. |
|
SSD300 for object detection on MSCOCO. |
|
A wrapper around timm.create_model() used to create |
|
General YAHP interface for ComposerTransformers. |
|
The ComposerModel base interface for Transformers. |
|
The Unet architecture used in image segmentation. |
|
ViT Small Patch 16 for image classification. |
The models module contains the ComposerModel
base class along with reference
implementations of many common models. Additionally, it includes task-specific convenience
ComposerModel
s that wrap existing Pytorch models with standard forward passes
and logging to enable quick interaction with the Trainer
.
See Composer Model for more details.
Classes
BERT model based on ๐ค Transformers. |
|
A ResNet-20 model extending |
|
A ResNet-56 model extending |
|
A ResNet-9 model extending |
|
A convenience class that creates a |
|
DeepLabV3 model extending |
|
The interface needed to make a PyTorch model compatible with |
|
A |
|
The ComposerModel base interface for Transformers. |
|
A |
|
Implements |
|
Sets the initialization scheme for different layers of a PyTorch model. |
|
A simple convolutional neural network extending |
|
Single Shot Object detection Model with pretrained ResNet34 backbone extending |
|
A wrapper around timm.create_model() used to create |
|
A U-Net model extending |
|
Implements ViT-S/16 as a |
Hparams
These classes are used with yahp
for YAML
-based configuration.
YAHP interface for |
|
YAHP interface for |
|
YAHP interface for |
|
YAHP interface for |
|
YAHP interface for |
|
YAHP interface for |
|
General YAHP interface for ComposerModels. |
|
YAHP interface for |
|
YAHP interface for |