
"""simple docstring"""
from ...configuration_utils import PretrainedConfig
from ...utils import logging


lowercase		:    Dict			=       logging.get_logger(__name__)

lowercase		:    List[str]			=       {
    'dandelin/vilt-b32-mlm': 'https://huggingface.co/dandelin/vilt-b32-mlm/blob/main/config.json'
}




class  _snake_case	(    a_							):
							SCREAMING_SNAKE_CASE		  =    '''vilt'''






							def __init__(       self    :      str    ,			snake_case__    :      Optional[Any]=3_0_5_2_2    ,			snake_case__    :      Any=2    ,			snake_case__    :      Tuple=2    ,			snake_case__    :      Optional[Any]=4_0    ,			snake_case__    :      Any=7_6_8    ,			snake_case__    :      List[str]=1_2    ,			snake_case__    :      List[str]=1_2    ,			snake_case__    :      List[Any]=3_0_7_2    ,			snake_case__    :      str="gelu"    ,			snake_case__    :      str=0.0    ,			snake_case__    :      Any=0.0    ,			snake_case__    :      Optional[Any]=0.02    ,			snake_case__    :      Optional[int]=1e-12    ,			snake_case__    :      int=3_8_4    ,			snake_case__    :      List[str]=3_2    ,			snake_case__    :      Dict=3    ,			snake_case__    :      int=True    ,			snake_case__    :      Optional[Any]=-1    ,			snake_case__    :      Optional[int]=False    ,			snake_case__    :      List[Any]=-1    ,			**snake_case__    :      Tuple    ,			):






												"""simple docstring"""



												super().__init__(tie_word_embeddings=_a    ,			**_a     )

												__a:    Optional[Any]		     =       vocab_size
												__a:    Optional[Any]		     =       type_vocab_size
												__a:    List[str]		     =       modality_type_vocab_size
												__a:    Tuple		     =       max_position_embeddings

												__a:    List[Any]		     =       hidden_size
												__a:    Optional[int]		     =       num_hidden_layers
												__a:    Optional[int]		     =       num_attention_heads
												__a:    str		     =       intermediate_size
												__a:    Dict		     =       hidden_act
												__a:    str		     =       hidden_dropout_prob
												__a:    Union[str, Any]		     =       attention_probs_dropout_prob
												__a:    Any		     =       initializer_range
												__a:    List[Any]		     =       layer_norm_eps

												__a:    Dict		     =       image_size
												__a:    Dict		     =       patch_size
												__a:    List[str]		     =       num_channels
												__a:    str		     =       qkv_bias
												__a:    Any		     =       max_image_length
												__a:    List[str]		     =       num_images




from __future__ import annotations

import sys







def 	A (		A__		,		A__			):
     # base cases
     if abs(A__			) == 1:
          return a, 0
     elif abs(A__			) == 1:
          return 0, b

     UpperCAmelCase	,			UpperCAmelCase    :					Any			=      a, b
     UpperCAmelCase	,			UpperCAmelCase    :					List[Any]			=      1, 0
     UpperCAmelCase	,			UpperCAmelCase    :					Union[str, Any]			=      0, 1

     while remainder != 0:
          UpperCAmelCase    :					Union[str, Any]			=      old_remainder // remainder
          UpperCAmelCase	,			UpperCAmelCase    :					Dict			=      remainder, old_remainder - quotient * remainder
          UpperCAmelCase	,			UpperCAmelCase    :					int			=      coeff_a, old_coeff_a - quotient * coeff_a
          UpperCAmelCase	,			UpperCAmelCase    :					Optional[Any]			=      coeff_b, old_coeff_b - quotient * coeff_b

     # sign correction for negative numbers
     if a < 0:
          UpperCAmelCase    :					Union[str, Any]			=      -old_coeff_a
     if b < 0:
          UpperCAmelCase    :					int			=      -old_coeff_b

     return old_coeff_a, old_coeff_b







def 	A (		):
     if len(sys.argv			) < 3:
          print("2 integer arguments required"			)
          return 1
     UpperCAmelCase    :					Union[str, Any]			=      int(sys.argv[1]			)
     UpperCAmelCase    :					Any			=      int(sys.argv[2]			)
     print(extended_euclidean_algorithm(A__		,		A__			)			)
     return 0


if __name__ == "__main__":
      raise SystemExit(main())



