



'''simple docstring'''





from ... import PretrainedConfig


_UpperCamelCase											=		{
    'sijunhe/nezha-cn-base': 'https://huggingface.co/sijunhe/nezha-cn-base/resolve/main/config.json',
}






class    lowerCamelCase_       (							SCREAMING_SNAKE_CASE_	):
  """simple docstring"""




  a_				   =NEZHA_PRETRAINED_CONFIG_ARCHIVE_MAP
  a_				   ="""nezha"""




  def __init__(					self :      int     ,      _a :      int=2_1128     ,      _a :      int=768     ,      _a :      Any=12     ,      _a :      Any=12     ,      _a :      int=3072     ,      _a :      Union[str, Any]="gelu"     ,      _a :      Dict=0.1     ,      _a :      Optional[int]=0.1     ,      _a :      Optional[Any]=512     ,      _a :      List[Any]=64     ,      _a :      str=2     ,      _a :      Optional[int]=0.02     ,      _a :      Optional[int]=1e-12     ,      _a :      Optional[int]=0.1     ,      _a :      Tuple=0     ,      _a :      Union[str, Any]=2     ,      _a :      Tuple=3     ,      _a :      str=True     ,      **_a :      Tuple     ,      )   ->   str:
    super().__init__(pad_token_id=_a     ,      bos_token_id=_a     ,      eos_token_id=_a     ,      **_a  )

    __lowerCamelCase			:			Optional[Any]       			=					vocab_size
    __lowerCamelCase			:			str       			=					hidden_size
    __lowerCamelCase			:			List[Any]       			=					num_hidden_layers
    __lowerCamelCase			:			Dict       			=					num_attention_heads
    __lowerCamelCase			:			Union[str, Any]       			=					hidden_act
    __lowerCamelCase			:			int       			=					intermediate_size
    __lowerCamelCase			:			Union[str, Any]       			=					hidden_dropout_prob
    __lowerCamelCase			:			Any       			=					attention_probs_dropout_prob
    __lowerCamelCase			:			Optional[int]       			=					max_position_embeddings
    __lowerCamelCase			:			Union[str, Any]       			=					max_relative_position
    __lowerCamelCase			:			List[str]       			=					type_vocab_size
    __lowerCamelCase			:			List[str]       			=					initializer_range
    __lowerCamelCase			:			Optional[Any]       			=					layer_norm_eps
    __lowerCamelCase			:			Union[str, Any]       			=					classifier_dropout
    __lowerCamelCase			:			Union[str, Any]       			=					use_cache











'''simple docstring'''





def 			a_	(				_lowerCAmelCase			) -> int:

  if not isinstance(_lowerCAmelCase			,_lowerCAmelCase			):
    raise TypeError('only integers accepted as input'			)
  else:
    __lowerCamelCase			:			Any       			=					str(abs(_lowerCAmelCase			)			)
    __lowerCamelCase			:			Tuple       			=					[list(_lowerCAmelCase			) for char in range(len(_lowerCAmelCase			)			)]
    for index in range(len(_lowerCAmelCase			)			):
      num_transpositions[index].pop(_lowerCAmelCase			)
    return max(
        int(''.join(list(_lowerCAmelCase			)			)			) for transposition in num_transpositions			)


if __name__ == "__main__":
   __import__('doctest').testmod()






