Skip to content

PatchPreprocessingConfig

Module: fast_llm.data.document.config

Inherits from: LengthPreprocessingConfig, BatchPreprocessingConfig

Fields

causal
Type: bool    Default: True
distributed
Type: DistributedConfig    Default: (sub-fields optional)
namespace
Type: str    Default: "vision"
normalization
Type: ImageNormalizationConfig or None    Default: None
return_cumulative_sequence_lengths
Type: bool    Default: False
return_document_index
Type: bool    Default: False
return_max_sequence_lengths
Type: bool    Default: False
return_position_index
Type: bool    Default: False
shape
Type: tuple[int, Ellipsis]    Default: (3, 16, 16)

Used in