


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


__UpperCamelCase    :						Optional[int]     =							logging.get_logger(__name__)

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



class 							_UpperCamelCase (						__lowerCAmelCase						):

   '''simple docstring'''







   a_				:							Optional[Any]    = "roc_bert"

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






         '''simple docstring'''



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







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




      __lowerCamelCase     :      Optional[int]       						=						[31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31]

      __lowerCamelCase     :      str       						=						6
      __lowerCamelCase     :      Optional[int]       						=						1
      __lowerCamelCase     :      Optional[int]       						=						1_901

      __lowerCamelCase     :      Optional[Any]       						=						0

      while year < 2_001:
            day += 7

            if (year % 4 == 0 and year % 100 != 0) or (year % 400 == 0):
                  if day > days_per_month[month - 1] and month != 2:
                        month += 1
                        __lowerCamelCase     :      Tuple       						=						day - days_per_month[month - 2]
                  elif day > 29 and month == 2:
                        month += 1
                        __lowerCamelCase     :      str       						=						day - 29
            else:
                  if day > days_per_month[month - 1]:
                        month += 1
                        __lowerCamelCase     :      Any       						=						day - days_per_month[month - 2]

            if month > 12:
                  year += 1
                  __lowerCamelCase     :      Optional[Any]       						=						1

            if year < 2_001 and day == 1:
                  sundays += 1
      return sundays


if __name__ == "__main__":
    print(solution())



