


'''simple docstring'''


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


_UpperCamelCase 							=  logging.get_logger(__name__)

_UpperCamelCase 							=  {
    """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 							__magic_name__	(       lowerCAmelCase ):

     """simple docstring"""






     lowerCamelCase__       						=				'visual_bert'


     def __init__(   self			,     lowerCamelCase=3_0522			,     lowerCamelCase=768			,     lowerCamelCase=512			,     lowerCamelCase=12			,     lowerCamelCase=12			,     lowerCamelCase=3072			,     lowerCamelCase="gelu"			,     lowerCamelCase=0.1			,     lowerCamelCase=0.1			,     lowerCamelCase=512			,     lowerCamelCase=2			,     lowerCamelCase=0.02			,     lowerCamelCase=1E-12			,     lowerCamelCase=False			,     lowerCamelCase=True			,     lowerCamelCase=1			,     lowerCamelCase=0			,     lowerCamelCase=2			,     **lowerCamelCase			,     ):


          '''simple docstring'''





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

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





'''simple docstring'''


# Function to print upper half of diamond (pyramid)


def 		_lowercase (SCREAMING_SNAKE_CASE							):




     '''simple docstring'''





     for i in range(0       ,					SCREAMING_SNAKE_CASE							):
          for _ in range(0       ,					n - i - 1							):  # printing spaces
               print(" "       ,					end=""							)
          for _ in range(0       ,					i + 1							):  # printing stars
               print("* "       ,					end=""							)
          print()


def 		_lowercase (SCREAMING_SNAKE_CASE							):




     '''simple docstring'''





     for i in range(SCREAMING_SNAKE_CASE       ,					0       ,					-1							):
          for _ in range(SCREAMING_SNAKE_CASE       ,					0       ,					-1							):  # printing stars
               print("* "       ,					end=""							)
          print()
          for _ in range(n - i + 1       ,					0       ,					-1							):  # printing spaces
               print(" "       ,					end=""							)


def 		_lowercase (SCREAMING_SNAKE_CASE							):




     '''simple docstring'''





     if n <= 0:
          print("       ...       ....        nothing printing :("							)
          return
     floyd(SCREAMING_SNAKE_CASE							)  # upper half
     reverse_floyd(SCREAMING_SNAKE_CASE							)  # lower half


if __name__ == "__main__":
      print(r"""| /\ | |- |  |-  |--| |\  /| |-""")
      print(r"""|/  \| |- |_ |_  |__| | \/ | |_""")
      _UpperCamelCase 							=  1
      while K:
            _UpperCamelCase 							=  int(input("""enter the number and , and see the magic : """))
            print()
            pretty_print(user_number)
            _UpperCamelCase 							=  int(input("""press 0 to exit... and 1 to continue..."""))

      print("""Good Bye...""")

