






import logging

from transformers import PretrainedConfig


__UpperCAmelCase							:   Union[str, Any]							=  logging.getLogger(__name__)


__UpperCAmelCase							:   List[str]							=  {
    "bertabs-finetuned-cnndm": "https://huggingface.co/remi/bertabs-finetuned-cnndm-extractive-abstractive-summarization/resolve/main/config.json",
}


class 					_snake_case						(			_A ):
	_A          =   'bertabs'






	def __init__(		self					,UpperCamelCase=30_522					,UpperCamelCase=512					,UpperCamelCase=6					,UpperCamelCase=512					,UpperCamelCase=8					,UpperCamelCase=512					,UpperCamelCase=0.2					,UpperCamelCase=6					,UpperCamelCase=768					,UpperCamelCase=8					,UpperCamelCase=2_048					,UpperCamelCase=0.2					,**UpperCamelCase					,)						->    Optional[int]:
					super().__init__(**UpperCamelCase       )

					snake_case__      :int         =   vocab_size
					snake_case__      :Optional[Any]         =   max_pos

					snake_case__      :List[Any]         =   enc_layers
					snake_case__      :List[str]         =   enc_hidden_size
					snake_case__      :str         =   enc_heads
					snake_case__      :Optional[Any]         =   enc_ff_size
					snake_case__      :Any         =   enc_dropout

					snake_case__      :int         =   dec_layers
					snake_case__      :List[str]         =   dec_hidden_size
					snake_case__      :Dict         =   dec_heads
					snake_case__      :Any         =   dec_ff_size
					snake_case__      :str         =   dec_dropout







def 					lowercase_ (    __snake_case     :							int      )     -> bool:





				'''simple docstring'''


				if p < 2:
								raise ValueError("p should not be less than 2!"      )
				elif p == 2:
								return True

				snake_case__      :List[str]         =   4
				snake_case__      :Optional[int]         =   (1 << p) - 1
				for _ in range(p - 2      ):
								snake_case__      :List[Any]         =   ((s * s) - 2) % m
				return s == 0


if __name__ == "__main__":
	print(lucas_lehmer_test(7))
	print(lucas_lehmer_test(1_1))