
'''simple docstring'''







import logging

from transformers import PretrainedConfig


_lowercase :  List[str]    							=       logging.getLogger(__name__)


_lowercase :  Tuple    							=       {
    "bertabs-finetuned-cnndm": "https://huggingface.co/remi/bertabs-finetuned-cnndm-extractive-abstractive-summarization/resolve/main/config.json",
}






class  lowerCAmelCase__   (  lowerCamelCase_     ):
					lowerCAmelCase_        =     '''bertabs'''






					def __init__(   self				,							__SCREAMING_SNAKE_CASE=3_05_22				,							__SCREAMING_SNAKE_CASE=5_12				,							__SCREAMING_SNAKE_CASE=6				,							__SCREAMING_SNAKE_CASE=5_12				,							__SCREAMING_SNAKE_CASE=8				,							__SCREAMING_SNAKE_CASE=5_12				,							__SCREAMING_SNAKE_CASE=0.2				,							__SCREAMING_SNAKE_CASE=6				,							__SCREAMING_SNAKE_CASE=7_68				,							__SCREAMING_SNAKE_CASE=8				,							__SCREAMING_SNAKE_CASE=20_48				,							__SCREAMING_SNAKE_CASE=0.2				,							**__SCREAMING_SNAKE_CASE				,							):


											"""simple docstring"""





											super().__init__(**__SCREAMING_SNAKE_CASE		)

											lowercase_	:     List[Any]													=       vocab_size
											lowercase_	:     List[Any]													=       max_pos

											lowercase_	:     Union[str, Any]													=       enc_layers
											lowercase_	:     Optional[Any]													=       enc_hidden_size
											lowercase_	:     str													=       enc_heads
											lowercase_	:     str													=       enc_ff_size
											lowercase_	:     List[str]													=       enc_dropout

											lowercase_	:     List[str]													=       dec_layers
											lowercase_	:     List[str]													=       dec_hidden_size
											lowercase_	:     List[str]													=       dec_heads
											lowercase_	:     Optional[int]													=       dec_ff_size
											lowercase_	:     Optional[Any]													=       dec_dropout





'''simple docstring'''







def 					snake_case_		(				__SCREAMING_SNAKE_CASE					: int							):



						"""simple docstring"""





						lowercase_	:     Optional[int]													=       int(__SCREAMING_SNAKE_CASE							)
						if decimal in (0, 1):  # Exit cases for the recursion
												return str(__SCREAMING_SNAKE_CASE							)
						lowercase_						, lowercase_	:     List[str]													=       divmod(__SCREAMING_SNAKE_CASE      ,      2							)
						return binary_recursive(__SCREAMING_SNAKE_CASE							) + str(__SCREAMING_SNAKE_CASE							)
def 					snake_case_		(				__SCREAMING_SNAKE_CASE					: str							):



						"""simple docstring"""





						lowercase_	:     str													=       str(__SCREAMING_SNAKE_CASE							).strip()
						if not number:
												raise ValueError('''No input value was provided'''							)
						lowercase_	:     Optional[int]													=       '''-''' if number.startswith('''-'''							) else ''''''
						lowercase_	:     Union[str, Any]													=       number.lstrip('''-'''							)
						if not number.isnumeric():
												raise ValueError('''Input value is not an integer'''							)
						return F'''{negative}0b{binary_recursive(int(__SCREAMING_SNAKE_CASE							)							)}'''


if __name__ == "__main__":
							from doctest import testmod

							testmod()



