Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Aleph-Alpha-Research/magma
/ types & classes
Types & classes
12 in github.com/Aleph-Alpha-Research/magma
⨍
Functions
90
◇
Types & classes
12
↓ 1 callers
Class
Adapter
magma/adapters.py:6
↓ 1 callers
Class
AdapterWrapper
magma/adapters.py:95
↓ 1 callers
Class
ImageInput
Wrapper to handle image inputs both from local paths and urls Args: path_or_url (str): path or link to image.
magma/image_input.py:6
↓ 1 callers
Class
ImagePrefix
Takes in a batch of images and returns a batch of embeddings of the same dimensions as the LM's word embeddings. :param config: Multimod
magma/image_prefix.py:24
↓ 1 callers
Class
ImgCptDataset
Dataset which loads image caption data from our standard format and transforms them into tensors that can be input to the model. Images are e
magma/datasets/dataset.py:92
↓ 1 callers
Class
Lambda
magma/image_encoders.py:18
↓ 1 callers
Class
LazyLoader
magma/datasets/dataset.py:78
↓ 1 callers
Class
Magma
magma/magma.py:28
↓ 1 callers
Class
ParallelAdapter
magma/adapters.py:42
↓ 1 callers
Class
ParallelAdapterWrapper
magma/adapters.py:69
↓ 1 callers
Class
RandCropResize
Randomly crops, then randomly resizes, then randomly crops again, an image. Mirroring the augmentations from https://arxiv.org/abs/2102.12092
magma/transforms.py:42
Class
MultimodalConfig
magma/config.py:21