





from ...configuration_utils import PretrainedConfig
from ...utils import logging


_A					:    Tuple   =  logging.get_logger(__name__)

_A					:    List[Any]   =  {
    'alibaba-damo/mgp-str-base': 'https://huggingface.co/alibaba-damo/mgp-str-base/resolve/main/config.json',
}


class    __SCREAMING_SNAKE_CASE			( lowerCAmelCase_					):
       _UpperCAmelCase      :  Dict     =    "mgp-str"







       def __init__(      self     :	List[Any]		,					A     :	Optional[int]=[3_2, 1_2_8]		,					A     :	Tuple=4		,					A     :	Optional[Any]=3		,					A     :	List[str]=2_7		,					A     :	Dict=3_8		,					A     :	Union[str, Any]=5_0_2_5_7		,					A     :	Any=3_0_5_2_2		,					A     :	Dict=7_6_8		,					A     :	Dict=1_2		,					A     :	int=1_2		,					A     :	int=4.0		,					A     :	str=True		,					A     :	Optional[int]=False		,					A     :	List[Any]=1e-5		,					A     :	int=0.0		,					A     :	Tuple=0.0		,					A     :	str=0.0		,					A     :	Optional[int]=False		,					A     :	Dict=0.02		,					**A     :	List[Any]		,					)   ->Optional[Any]:
          super().__init__(**A			)

          lowerCamelCase__   :						Any					   =							image_size
          lowerCamelCase__   :						str					   =							patch_size
          lowerCamelCase__   :						Any					   =							num_channels
          lowerCamelCase__   :						Any					   =							max_token_length
          lowerCamelCase__   :						Tuple					   =							num_character_labels
          lowerCamelCase__   :						Optional[int]					   =							num_bpe_labels
          lowerCamelCase__   :						str					   =							num_wordpiece_labels
          lowerCamelCase__   :						List[str]					   =							hidden_size
          lowerCamelCase__   :						Dict					   =							num_hidden_layers
          lowerCamelCase__   :						Any					   =							num_attention_heads
          lowerCamelCase__   :						List[str]					   =							mlp_ratio
          lowerCamelCase__   :						List[Any]					   =							distilled
          lowerCamelCase__   :						Dict					   =							layer_norm_eps
          lowerCamelCase__   :						Optional[int]					   =							drop_rate
          lowerCamelCase__   :						Optional[int]					   =							qkv_bias
          lowerCamelCase__   :						Dict					   =							attn_drop_rate
          lowerCamelCase__   :						Optional[Any]					   =							drop_path_rate
          lowerCamelCase__   :						Tuple					   =							output_aa_attentions
          lowerCamelCase__   :						Optional[int]					   =							initializer_range







# flake8: noqa
# Lint as: python3
UpperCAmelCase__   	=							[
    '''VerificationMode''',
    '''Version''',
    '''disable_progress_bar''',
    '''enable_progress_bar''',
    '''is_progress_bar_enabled''',
    '''experimental''',
]

from .info_utils import VerificationMode
from .logging import disable_progress_bar, enable_progress_bar, is_progress_bar_enabled
from .version import Version
from .experimental import experimental

