nemo_automodel.components.models.step3p7.processing_step3
nemo_automodel.components.models.step3p7.processing_step3
Module Contents
Classes
Data
API
Bases: Module
Bases: typing.TypedDict
image_embeds
type
Bases: typing.TypedDict
num_patches
patch_pixel_values
pixel_values
type
Bases: ProcessorMixin
Processor that expands Step3.7 image inputs into image-token placeholders.
attributes
image_feature_placeholder
image_preprocessor
image_size
image_token
image_token_id
num_image_feature_size
num_patch_feature_size
patch_feature_placeholder
patch_size
patcher
tokenizer_class
This method forwards all its arguments to GemmaTokenizerFast’s [~PreTrainedTokenizer.batch_decode]. Please
refer to the docstring of this method for more information.
This method forwards all its arguments to GemmaTokenizerFast’s [~PreTrainedTokenizer.decode]. Please refer to
the docstring of this method for more information.
Bases: BaseImageProcessor
patch_transform
transform