






"""simple docstring"""
from typing import List, Union

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


A_			: Tuple				=			logging.get_logger(__name__)

A_			: Optional[int]				=			{
    "allenai/led-base-16384": "https://huggingface.co/allenai/led-base-16384/resolve/main/config.json",
    # See all LED models at https://huggingface.co/models?filter=led
}



class 		a_      (	snake_case_ ):







      '''simple docstring'''

      lowerCamelCase__       :				Dict =	'led'
      lowerCamelCase__       :				List[str] =	{
          'num_attention_heads': 'encoder_attention_heads',
          'hidden_size': 'd_model',
          'attention_probs_dropout_prob': 'attention_dropout',
          'initializer_range': 'init_std',
      }




      def __init__(self,     lowerCamelCase_=5_0_2_6_5,     lowerCamelCase_=1_6_3_8_4,     lowerCamelCase_=1_0_2_4,     lowerCamelCase_=1_2,     lowerCamelCase_=4_0_9_6,     lowerCamelCase_=1_6,     lowerCamelCase_=1_2,     lowerCamelCase_=4_0_9_6,     lowerCamelCase_=1_6,     lowerCamelCase_=0.0,     lowerCamelCase_=0.0,     lowerCamelCase_=True,     lowerCamelCase_=True,     lowerCamelCase_="gelu",     lowerCamelCase_=1_0_2_4,     lowerCamelCase_=0.1,     lowerCamelCase_=0.0,     lowerCamelCase_=0.0,     lowerCamelCase_=0.02,     lowerCamelCase_=2,     lowerCamelCase_=0.0,     lowerCamelCase_=1,     lowerCamelCase_=0,     lowerCamelCase_=2,     lowerCamelCase_ = 5_1_2,     **lowerCamelCase_,     ):

       '''simple docstring'''



       lowerCamelCase__     :			Optional[int]     				=						vocab_size
       lowerCamelCase__     :			Any     				=						max_encoder_position_embeddings
       lowerCamelCase__     :			List[str]     				=						max_decoder_position_embeddings
       lowerCamelCase__     :			List[Any]     				=						d_model
       lowerCamelCase__     :			str     				=						encoder_ffn_dim
       lowerCamelCase__     :			Dict     				=						encoder_layers
       lowerCamelCase__     :			Optional[int]     				=						encoder_attention_heads
       lowerCamelCase__     :			Dict     				=						decoder_ffn_dim
       lowerCamelCase__     :			Union[str, Any]     				=						decoder_layers
       lowerCamelCase__     :			Tuple     				=						decoder_attention_heads
       lowerCamelCase__     :			Union[str, Any]     				=						dropout
       lowerCamelCase__     :			List[str]     				=						attention_dropout
       lowerCamelCase__     :			Tuple     				=						activation_dropout
       lowerCamelCase__     :			List[Any]     				=						activation_function
       lowerCamelCase__     :			Tuple     				=						init_std
       lowerCamelCase__     :			List[str]     				=						encoder_layerdrop
       lowerCamelCase__     :			int     				=						decoder_layerdrop
       lowerCamelCase__     :			Union[str, Any]     				=						classifier_dropout
       lowerCamelCase__     :			str     				=						use_cache
       lowerCamelCase__     :			List[Any]     				=						encoder_layers
       lowerCamelCase__     :			int     				=						attention_window

       super().__init__(
           pad_token_id=lowerCamelCase_,     bos_token_id=lowerCamelCase_,     eos_token_id=lowerCamelCase_,     is_encoder_decoder=lowerCamelCase_,     decoder_start_token_id=lowerCamelCase_,     **lowerCamelCase_,     )









"""simple docstring"""
def        lowerCamelCase_  (						_lowerCamelCase				):
 return 1 if input_a == 0 else 0






def        lowerCamelCase_  (						):
 assert not_gate(0				) == 1
 assert not_gate(1				) == 0


if __name__ == "__main__":
      print(not_gate(0))
      print(not_gate(1))

