



"""simple docstring"""






snake_case   					=				[4, 1, 7, 4, 2, 6, 4, 1, 5, 3, 7, 5]
snake_case   					=				[3, 7, 7, 4, 2, 6, 4, 1, 5, 3, 7, 5]
snake_case   					=				{
    0: '''Sunday''',
    1: '''Monday''',
    2: '''Tuesday''',
    3: '''Wednesday''',
    4: '''Thursday''',
    5: '''Friday''',
    6: '''Saturday''',
}




def 			snake_case		(		lowerCAmelCase_  ,						lowerCAmelCase_  ,						lowerCAmelCase_	)						->				str:
  assert len(str(_lowercase	)	) > 2, "year should be in YYYY format"
  assert 1 <= month <= 12, "month should be between 1 to 12"
  assert 1 <= day <= 31, "day should be between 1 to 31"

  # Doomsday algorithm:
  _snake_case   	=      year // 100
  _snake_case   	=      (5 * (century % 4) + 2) % 7
  _snake_case   	=      year % 100
  _snake_case   	=      centurian % 12
  _snake_case   	=      (
      (centurian // 12) + centurian_m + (centurian_m // 4) + century_anchor
  ) % 7
  _snake_case   	=      (
      DOOMSDAY_NOT_LEAP[month - 1]
      if (year % 4 != 0) or (centurian == 0 and (year % 400) == 0)
      else DOOMSDAY_LEAP[month - 1]
  )
  _snake_case   	=      (dooms_day + day - day_anchor) % 7
  return WEEK_DAY_NAMES[week_day]


if __name__ == "__main__":
     import doctest

     doctest.testmod()







import logging

from transformers import PretrainedConfig


_snake_case      = logging.getLogger(__name__)


_snake_case      = {
    '''bertabs-finetuned-cnndm''': '''https://huggingface.co/remi/bertabs-finetuned-cnndm-extractive-abstractive-summarization/resolve/main/config.json''',
}
class       _lowerCAmelCase  (		__magic_name__							):

 """simple docstring"""
 SCREAMING_SNAKE_CASE_				:					int       						="bertabs"

 def __init__(						self			:			Optional[int]					, SCREAMING_SNAKE_CASE__			:			Union[str, Any]=3_05_22					, SCREAMING_SNAKE_CASE__			:			Union[str, Any]=5_12					, SCREAMING_SNAKE_CASE__			:			List[Any]=6					, SCREAMING_SNAKE_CASE__			:			List[str]=5_12					, SCREAMING_SNAKE_CASE__			:			Union[str, Any]=8					, SCREAMING_SNAKE_CASE__			:			List[str]=5_12					, SCREAMING_SNAKE_CASE__			:			List[Any]=0.2					, SCREAMING_SNAKE_CASE__			:			Tuple=6					, SCREAMING_SNAKE_CASE__			:			Any=7_68					, SCREAMING_SNAKE_CASE__			:			str=8					, SCREAMING_SNAKE_CASE__			:			Dict=20_48					, SCREAMING_SNAKE_CASE__			:			List[str]=0.2					, **SCREAMING_SNAKE_CASE__			:			List[str]					, ):






      """simple docstring"""



      super().__init__(**SCREAMING_SNAKE_CASE__   )

      UpperCamelCase						    =					vocab_size
      UpperCamelCase						    =					max_pos

      UpperCamelCase						    =					enc_layers
      UpperCamelCase						    =					enc_hidden_size
      UpperCamelCase						    =					enc_heads
      UpperCamelCase						    =					enc_ff_size
      UpperCamelCase						    =					enc_dropout

      UpperCamelCase						    =					dec_layers
      UpperCamelCase						    =					dec_hidden_size
      UpperCamelCase						    =					dec_heads
      UpperCamelCase						    =					dec_ff_size
      UpperCamelCase						    =					dec_dropout


