





'''simple docstring'''






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


A__    :       Any              =logging.get_logger(__name__)

A__    :       Optional[Any]              ={
    '''google/pegasus-large''': '''https://huggingface.co/google/pegasus-large/resolve/main/config.json''',
    # See all PEGASUS models at https://huggingface.co/models?filter=pegasus
}




class 			UpperCAmelCase					(      snake_case_       ):
      _lowercase:      Tuple											=       '''pegasus'''
      _lowercase:      Optional[Any]											=       ['''past_key_values''']
      _lowercase:      Optional[int]											=       {'''num_attention_heads''': '''encoder_attention_heads''', '''hidden_size''': '''d_model'''}




      def __init__(      self      :			Any      ,      __snake_case      :			Dict=5_02_65      ,      __snake_case      :			Dict=10_24      ,      __snake_case      :			str=12      ,      __snake_case      :			Tuple=40_96      ,      __snake_case      :			str=16      ,      __snake_case      :			int=12      ,      __snake_case      :			Optional[int]=40_96      ,      __snake_case      :			Tuple=16      ,      __snake_case      :			str=0.0      ,      __snake_case      :			Tuple=0.0      ,      __snake_case      :			List[str]=True      ,      __snake_case      :			int=True      ,      __snake_case      :			Optional[int]="gelu"      ,      __snake_case      :			int=10_24      ,      __snake_case      :			str=0.1      ,      __snake_case      :			Union[str, Any]=0.0      ,      __snake_case      :			Optional[int]=0.0      ,      __snake_case      :			List[str]=0.02      ,      __snake_case      :			str=0      ,      __snake_case      :			int=False      ,      __snake_case      :			Optional[Any]=0      ,      __snake_case      :			Tuple=1      ,      __snake_case      :			str=1      ,      **__snake_case      :			List[str]      ,      )    ->				List[Any]:
            _lowerCAmelCase												=							vocab_size
            _lowerCAmelCase												=							max_position_embeddings
            _lowerCAmelCase												=							d_model
            _lowerCAmelCase												=							encoder_ffn_dim
            _lowerCAmelCase												=							encoder_layers
            _lowerCAmelCase												=							encoder_attention_heads
            _lowerCAmelCase												=							decoder_ffn_dim
            _lowerCAmelCase												=							decoder_layers
            _lowerCAmelCase												=							decoder_attention_heads
            _lowerCAmelCase												=							dropout
            _lowerCAmelCase												=							attention_dropout
            _lowerCAmelCase												=							activation_dropout
            _lowerCAmelCase												=							activation_function
            _lowerCAmelCase												=							init_std
            _lowerCAmelCase												=							encoder_layerdrop
            _lowerCAmelCase												=							decoder_layerdrop
            _lowerCAmelCase												=							use_cache
            _lowerCAmelCase												=							encoder_layers
            _lowerCAmelCase												=							scale_embedding  # scale factor will be sqrt(d_model) if True
            super().__init__(
                pad_token_id=__snake_case      ,      eos_token_id=__snake_case      ,      is_encoder_decoder=__snake_case      ,      decoder_start_token_id=__snake_case      ,      forced_eos_token_id=__snake_case      ,      **__snake_case      ,      )




      @property
      def     lowercase__   (      self      :			List[str]  )    ->				int:
            return self.encoder_attention_heads




      @property
      def     lowercase__   (      self      :			Dict  )    ->				int:
            return self.d_model









'''simple docstring'''






def        UpperCamelCase__				(		lowerCAmelCase = 4_00_00_00  ):





      """simple docstring"""


      _lowerCAmelCase												=							[]
      _lowerCAmelCase					,							_lowerCAmelCase												=							0, 1
      while b <= n:
            if b % 2 == 0:
                  even_fibs.append(lowerCAmelCase  )
            _lowerCAmelCase					,							_lowerCAmelCase												=							b, a + b
      return sum(lowerCAmelCase  )


if __name__ == "__main__":
      print(F"""{solution() = }""")






