


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


__UpperCamelCase    :						Tuple     =							logging.get_logger(__name__)

__UpperCamelCase    :						str     =							{
    'weiweishi/roc-bert-base-zh': 'https://huggingface.co/weiweishi/roc-bert-base-zh/resolve/main/config.json',
}



class 							_UpperCamelCase (						A						):

   '''simple docstring'''







   a_				:							Union[str, Any]    = "roc_bert"

   def __init__(  self  : List[str]       ,  _lowerCamelCase  : Tuple=3_0_5_2_2       ,  _lowerCamelCase  : List[Any]=7_6_8       ,  _lowerCamelCase  : Optional[Any]=1_2       ,  _lowerCamelCase  : Tuple=1_2       ,  _lowerCamelCase  : Optional[Any]=3_0_7_2       ,  _lowerCamelCase  : Dict="gelu"       ,  _lowerCamelCase  : Optional[Any]=0.1       ,  _lowerCamelCase  : Any=0.1       ,  _lowerCamelCase  : List[Any]=5_1_2       ,  _lowerCamelCase  : Dict=2       ,  _lowerCamelCase  : Optional[int]=0.02       ,  _lowerCamelCase  : str=1E-12       ,  _lowerCamelCase  : List[str]=True       ,  _lowerCamelCase  : Dict=0       ,  _lowerCamelCase  : Optional[Any]="absolute"       ,  _lowerCamelCase  : List[Any]=None       ,  _lowerCamelCase  : Union[str, Any]=True       ,  _lowerCamelCase  : Optional[int]=True       ,  _lowerCamelCase  : int=7_6_8       ,  _lowerCamelCase  : Optional[int]=9_1_0       ,  _lowerCamelCase  : Optional[int]=5_1_2       ,  _lowerCamelCase  : List[Any]=2_4_8_5_8       ,  _lowerCamelCase  : Dict=True       ,  **_lowerCamelCase  : Dict       ,  ):






         '''simple docstring'''



         __lowerCamelCase     :      List[str]       						=						vocab_size
         __lowerCamelCase     :      Tuple       						=						max_position_embeddings
         __lowerCamelCase     :      Union[str, Any]       						=						hidden_size
         __lowerCamelCase     :      str       						=						num_hidden_layers
         __lowerCamelCase     :      Union[str, Any]       						=						num_attention_heads
         __lowerCamelCase     :      str       						=						intermediate_size
         __lowerCamelCase     :      List[str]       						=						hidden_act
         __lowerCamelCase     :      Optional[Any]       						=						hidden_dropout_prob
         __lowerCamelCase     :      Union[str, Any]       						=						attention_probs_dropout_prob
         __lowerCamelCase     :      Optional[Any]       						=						initializer_range
         __lowerCamelCase     :      str       						=						type_vocab_size
         __lowerCamelCase     :      Tuple       						=						layer_norm_eps
         __lowerCamelCase     :      Dict       						=						use_cache
         __lowerCamelCase     :      Optional[Any]       						=						enable_pronunciation
         __lowerCamelCase     :      List[str]       						=						enable_shape
         __lowerCamelCase     :      Any       						=						pronunciation_embed_dim
         __lowerCamelCase     :      Tuple       						=						pronunciation_vocab_size
         __lowerCamelCase     :      Tuple       						=						shape_embed_dim
         __lowerCamelCase     :      Dict       						=						shape_vocab_size
         __lowerCamelCase     :      Union[str, Any]       						=						concat_input
         __lowerCamelCase     :      int       						=						position_embedding_type
         __lowerCamelCase     :      Union[str, Any]       						=						classifier_dropout
         super().__init__(pad_token_id=_lowerCamelCase       ,  **_lowerCamelCase							)







def   _UpperCAmelCase       (     UpperCAmelCase      :			list      ):
      """simple docstring"""




      __lowerCamelCase     :      Optional[int]       						=						len(UpperCAmelCase      )
      for _ in range(UpperCAmelCase      ):
            for i in range(_ % 2						,	arr_size - 1						,	2      ):
                  if arr[i + 1] < arr[i]:
                        __lowerCamelCase						, __lowerCamelCase     :      List[str]       						=						arr[i + 1], arr[i]

      return arr


if __name__ == "__main__":
    __UpperCamelCase    :						str     =							list(range(10, 0, -1))
    print(F'''Original: {arr}. Sorted: {odd_even_transposition(arr)}''')



