"""simple docstring"""







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


__SCREAMING_SNAKE_CASE    	=logging.get_logger(__name__)

__SCREAMING_SNAKE_CASE    	={
    'uclanlp/visualbert-vqa': 'https://huggingface.co/uclanlp/visualbert-vqa/resolve/main/config.json',
    'uclanlp/visualbert-vqa-pre': 'https://huggingface.co/uclanlp/visualbert-vqa-pre/resolve/main/config.json',
    'uclanlp/visualbert-vqa-coco-pre': (
        'https://huggingface.co/uclanlp/visualbert-vqa-coco-pre/resolve/main/config.json'
    ),
    'uclanlp/visualbert-vcr': 'https://huggingface.co/uclanlp/visualbert-vcr/resolve/main/config.json',
    'uclanlp/visualbert-vcr-pre': 'https://huggingface.co/uclanlp/visualbert-vcr-pre/resolve/main/config.json',
    'uclanlp/visualbert-vcr-coco-pre': (
        'https://huggingface.co/uclanlp/visualbert-vcr-coco-pre/resolve/main/config.json'
    ),
    'uclanlp/visualbert-nlvr2': 'https://huggingface.co/uclanlp/visualbert-nlvr2/resolve/main/config.json',
    'uclanlp/visualbert-nlvr2-pre': 'https://huggingface.co/uclanlp/visualbert-nlvr2-pre/resolve/main/config.json',
    'uclanlp/visualbert-nlvr2-coco-pre': (
        'https://huggingface.co/uclanlp/visualbert-nlvr2-coco-pre/resolve/main/config.json'
    )
    # See all VisualBERT models at https://huggingface.co/models?filter=visual_bert
}







class        UpperCamelCase		(			a__  ):
   lowercase							=  '''visual_bert'''
   def __init__(			self     ,__UpperCamelCase=3_0522     ,__UpperCamelCase=768     ,__UpperCamelCase=512     ,__UpperCamelCase=12     ,__UpperCamelCase=12     ,__UpperCamelCase=3072     ,__UpperCamelCase="gelu"     ,__UpperCamelCase=0.1     ,__UpperCamelCase=0.1     ,__UpperCamelCase=512     ,__UpperCamelCase=2     ,__UpperCamelCase=0.02     ,__UpperCamelCase=1e-12     ,__UpperCamelCase=False     ,__UpperCamelCase=True     ,__UpperCamelCase=1     ,__UpperCamelCase=0     ,__UpperCamelCase=2     ,**__UpperCamelCase     ,)	->      Tuple:


        '''simple docstring'''


        super().__init__(pad_token_id=SCREAMING_SNAKE_CASE__     ,bos_token_id=SCREAMING_SNAKE_CASE__     ,eos_token_id=SCREAMING_SNAKE_CASE__     ,**SCREAMING_SNAKE_CASE__			)

        lowercase_	:				List[Any]													=	vocab_size
        lowercase_	:				List[str]													=	max_position_embeddings
        lowercase_	:				str													=	hidden_size
        lowercase_	:				Optional[Any]													=	visual_embedding_dim
        lowercase_	:				str													=	num_hidden_layers
        lowercase_	:				Union[str, Any]													=	num_attention_heads
        lowercase_	:				Optional[Any]													=	intermediate_size
        lowercase_	:				Union[str, Any]													=	hidden_act
        lowercase_	:				Optional[int]													=	hidden_dropout_prob
        lowercase_	:				int													=	attention_probs_dropout_prob
        lowercase_	:				str													=	initializer_range
        lowercase_	:				Optional[int]													=	type_vocab_size
        lowercase_	:				List[Any]													=	layer_norm_eps
        lowercase_	:				Optional[Any]													=	bypass_transformer
        lowercase_	:				List[str]													=	special_visual_initialize



"""simple docstring"""




def lowercase_  (   _snake_case						):
							SCREAMING_SNAKE_CASE__						:       Optional[int]           =   [1]

							SCREAMING_SNAKE_CASE__      ,      SCREAMING_SNAKE_CASE__      ,      SCREAMING_SNAKE_CASE__						:       str           =   0, 0, 0
							SCREAMING_SNAKE_CASE__						:       List[str]           =   ugly_nums[ia] * 2
							SCREAMING_SNAKE_CASE__						:       int           =   ugly_nums[ia] * 3
							SCREAMING_SNAKE_CASE__						:       Any           =   ugly_nums[ia] * 5

							for _ in range(1   ,_snake_case						):
														SCREAMING_SNAKE_CASE__						:       Union[str, Any]           =   min(_snake_case   ,_snake_case   ,_snake_case						)
														ugly_nums.append(_snake_case						)
														if next_num == next_a:
																					ia += 1
																					SCREAMING_SNAKE_CASE__						:       Optional[int]           =   ugly_nums[ia] * 2
														if next_num == next_a:
																					ia += 1
																					SCREAMING_SNAKE_CASE__						:       List[str]           =   ugly_nums[ia] * 3
														if next_num == next_a:
																					ia += 1
																					SCREAMING_SNAKE_CASE__						:       Tuple           =   ugly_nums[ia] * 5
							return ugly_nums[-1]


if __name__ == "__main__":
					from doctest import testmod

					testmod(verbose=True)
					print(f"""{ugly_numbers(2_0_0) = }""")




