




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


_UpperCAmelCase		:  Dict	=   logging.get_logger(__name__)

_UpperCAmelCase		:  Tuple	=   {
    "bigcode/gpt_bigcode-santacoder": "https://huggingface.co/bigcode/gpt_bigcode-santacoder/resolve/main/config.json",
}




class       __lowerCAmelCase				(							lowerCAmelCase):
       _a           =  '''gpt_bigcode'''
       _a           =  ['''past_key_values''']
       _a           =  {
           '''hidden_size''': '''n_embd''',
           '''max_position_embeddings''': '''n_positions''',
           '''num_attention_heads''': '''n_head''',
           '''num_hidden_layers''': '''n_layer''',
       }






       def __init__(      self:    Any				,    _lowerCAmelCase:    Union[str, Any]=5_02_57				,    _lowerCAmelCase:    Any=10_24				,    _lowerCAmelCase:    Dict=7_68				,    _lowerCAmelCase:    Union[str, Any]=12				,    _lowerCAmelCase:    Optional[Any]=12				,    _lowerCAmelCase:    List[Any]=None				,    _lowerCAmelCase:    Optional[int]="gelu_pytorch_tanh"				,    _lowerCAmelCase:    List[Any]=0.1				,    _lowerCAmelCase:    Dict=0.1				,    _lowerCAmelCase:    int=0.1				,    _lowerCAmelCase:    List[Any]=1e-5				,    _lowerCAmelCase:    str=0.02				,    _lowerCAmelCase:    Union[str, Any]=True				,    _lowerCAmelCase:    Tuple=True				,    _lowerCAmelCase:    Dict=5_02_56				,    _lowerCAmelCase:    Optional[int]=5_02_56				,    _lowerCAmelCase:    List[str]=True				,    _lowerCAmelCase:    Any=True				,    _lowerCAmelCase:    Dict=True				,    **_lowerCAmelCase:    List[Any]				,    ):
         lowercase			:Union[str, Any]							=  vocab_size
         lowercase			:Union[str, Any]							=  n_positions
         lowercase			:Tuple							=  n_embd
         lowercase			:Any							=  n_layer
         lowercase			:Dict							=  n_head
         lowercase			:Tuple							=  n_inner
         lowercase			:Dict							=  activation_function
         lowercase			:Dict							=  resid_pdrop
         lowercase			:Tuple							=  embd_pdrop
         lowercase			:Dict							=  attn_pdrop
         lowercase			:Optional[Any]							=  layer_norm_epsilon
         lowercase			:str							=  initializer_range
         lowercase			:List[Any]							=  scale_attn_weights
         lowercase			:List[str]							=  use_cache
         lowercase			:Any							=  attention_softmax_in_fpaa
         lowercase			:Optional[Any]							=  scale_attention_softmax_in_fpaa
         lowercase			:Optional[Any]							=  multi_query

         lowercase			:Any							=  bos_token_id
         lowercase			:Dict							=  eos_token_id

         super().__init__(bos_token_id=_lowerCAmelCase				,    eos_token_id=_lowerCAmelCase				,    **_lowerCAmelCase )









_UpperCAmelCase		:  Tuple	=   {str(digit): digit**5 for digit in range(10)}



def 					UpperCAmelCase__     (   lowerCamelCase      ):
  return sum(DIGITS_FIFTH_POWER[digit] for digit in str(lowerCamelCase      )      )



def 					UpperCAmelCase__     (   ):
  return sum(
      number
      for number in range(1000,	1000000      )
      if number == digits_fifth_powers_sum(lowerCamelCase      )      )


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



