


from collections import OrderedDict
from typing import Mapping

from ...configuration_utils import PretrainedConfig
from ...onnx import OnnxConfig
from ...utils import logging


_A		:				List[str]									=       logging.get_logger(__name__)

_A		:				List[Any]									=       {
    '''distilbert-base-uncased''': '''https://huggingface.co/distilbert-base-uncased/resolve/main/config.json''',
    '''distilbert-base-uncased-distilled-squad''': (
        '''https://huggingface.co/distilbert-base-uncased-distilled-squad/resolve/main/config.json'''
    ),
    '''distilbert-base-cased''': '''https://huggingface.co/distilbert-base-cased/resolve/main/config.json''',
    '''distilbert-base-cased-distilled-squad''': (
        '''https://huggingface.co/distilbert-base-cased-distilled-squad/resolve/main/config.json'''
    ),
    '''distilbert-base-german-cased''': '''https://huggingface.co/distilbert-base-german-cased/resolve/main/config.json''',
    '''distilbert-base-multilingual-cased''': (
        '''https://huggingface.co/distilbert-base-multilingual-cased/resolve/main/config.json'''
    ),
    '''distilbert-base-uncased-finetuned-sst-2-english''': (
        '''https://huggingface.co/distilbert-base-uncased-finetuned-sst-2-english/resolve/main/config.json'''
    ),
}



class        a					(			_UpperCAmelCase   ):
     UpperCAmelCase__ :  int						      =	"distilbert"
     UpperCAmelCase__ :  Union[str, Any]						      =	{
         "hidden_size": "dim",
         "num_attention_heads": "n_heads",
         "num_hidden_layers": "n_layers",
     }





     def __init__(    self					:				List[str]    ,	SCREAMING_SNAKE_CASE_					:				Any=30522    ,	SCREAMING_SNAKE_CASE_					:				Dict=512    ,	SCREAMING_SNAKE_CASE_					:				Optional[int]=False    ,	SCREAMING_SNAKE_CASE_					:				List[Any]=6    ,	SCREAMING_SNAKE_CASE_					:				Optional[Any]=12    ,	SCREAMING_SNAKE_CASE_					:				Optional[int]=768    ,	SCREAMING_SNAKE_CASE_					:				Union[str, Any]=4 * 768    ,	SCREAMING_SNAKE_CASE_					:				Union[str, Any]=0.1    ,	SCREAMING_SNAKE_CASE_					:				List[str]=0.1    ,	SCREAMING_SNAKE_CASE_					:				Tuple="gelu"    ,	SCREAMING_SNAKE_CASE_					:				Optional[Any]=0.02    ,	SCREAMING_SNAKE_CASE_					:				Optional[int]=0.1    ,	SCREAMING_SNAKE_CASE_					:				List[str]=0.2    ,	SCREAMING_SNAKE_CASE_					:				Dict=0    ,	**SCREAMING_SNAKE_CASE_					:				Optional[Any]    ,	):
        __lowerCamelCase:				int     =	vocab_size
        __lowerCamelCase:				Tuple     =	max_position_embeddings
        __lowerCamelCase:				Optional[Any]     =	sinusoidal_pos_embds
        __lowerCamelCase:				List[str]     =	n_layers
        __lowerCamelCase:				int     =	n_heads
        __lowerCamelCase:				Tuple     =	dim
        __lowerCamelCase:				Optional[Any]     =	hidden_dim
        __lowerCamelCase:				List[Any]     =	dropout
        __lowerCamelCase:				Dict     =	attention_dropout
        __lowerCamelCase:				List[Any]     =	activation
        __lowerCamelCase:				List[str]     =	initializer_range
        __lowerCamelCase:				List[Any]     =	qa_dropout
        __lowerCamelCase:				List[Any]     =	seq_classif_dropout
        super().__init__(**SCREAMING_SNAKE_CASE_    ,	pad_token_id=SCREAMING_SNAKE_CASE_							)



class        a					(			_UpperCAmelCase   ):





     @property
     def  SCREAMING_SNAKE_CASE__       (    self					:				Dict							):
        if self.task == "multiple-choice":
           __lowerCamelCase:				str     =	{0: """batch""", 1: """choice""", 2: """sequence"""}
        else:
           __lowerCamelCase:				Optional[int]     =	{0: """batch""", 1: """sequence"""}
        return OrderedDict(
            [
                ("""input_ids""", dynamic_axis),
                ("""attention_mask""", dynamic_axis),
            ]							)






def     __lowerCAmelCase						(							)       ->							Optional[Any]:
   __lowerCamelCase:				List[str]     =	[31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31]

   __lowerCamelCase:				List[str]     =	6
   __lowerCamelCase:				Optional[int]     =	1
   __lowerCamelCase:				int     =	1901

   __lowerCamelCase:				Tuple     =	0

   while year < 2001:
      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:				Union[str, Any]     =	day - days_per_month[month - 2]
         elif day > 29 and month == 2:
            month += 1
            __lowerCamelCase:				List[Any]     =	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:				Dict     =	1

      if year < 2001 and day == 1:
         sundays += 1
   return sundays


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


