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


lowercase        =  logging.get_logger(__name__)

lowercase        =  {
    '''alibaba-damo/mgp-str-base''': '''https://huggingface.co/alibaba-damo/mgp-str-base/resolve/main/config.json''',
}





class       __A(				UpperCAmelCase       ):
					SCREAMING_SNAKE_CASE			    =    '''mgp-str'''

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

												lowerCamelCase_							  =					image_size
												lowerCamelCase_							  =					patch_size
												lowerCamelCase_							  =					num_channels
												lowerCamelCase_							  =					max_token_length
												lowerCamelCase_							  =					num_character_labels
												lowerCamelCase_							  =					num_bpe_labels
												lowerCamelCase_							  =					num_wordpiece_labels
												lowerCamelCase_							  =					hidden_size
												lowerCamelCase_							  =					num_hidden_layers
												lowerCamelCase_							  =					num_attention_heads
												lowerCamelCase_							  =					mlp_ratio
												lowerCamelCase_							  =					distilled
												lowerCamelCase_							  =					layer_norm_eps
												lowerCamelCase_							  =					drop_rate
												lowerCamelCase_							  =					qkv_bias
												lowerCamelCase_							  =					attn_drop_rate
												lowerCamelCase_							  =					drop_path_rate
												lowerCamelCase_							  =					output_aa_attentions
												lowerCamelCase_							  =					initializer_range







def      __lowerCAmelCase						(							UpperCAmelCase__				:      int = 4_0_0_0_0_0_0       )  ->    int:
							lowerCamelCase_							  =					[]
							lowerCamelCase_  ,   lowerCamelCase_							  =					0, 1
							while b <= n:
														if b % 2 == 0:
																					even_fibs.append(UpperCAmelCase__       )
														lowerCamelCase_  ,   lowerCamelCase_							  =					b, a + b
							return sum(UpperCAmelCase__       )


if __name__ == "__main__":
		print(F"""{solution() = }""")





