





import logging

from transformers import PretrainedConfig


UpperCAmelCase_           =	logging.getLogger(__name__)


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




class 			__UpperCamelCase    (							A__    ):
     __A	:  Tuple							  =   """bertabs"""





     def __init__(     self				,							_UpperCamelCase=30522				,							_UpperCamelCase=512				,							_UpperCamelCase=6				,							_UpperCamelCase=512				,							_UpperCamelCase=8				,							_UpperCamelCase=512				,							_UpperCamelCase=0.2				,							_UpperCamelCase=6				,							_UpperCamelCase=768				,							_UpperCamelCase=8				,							_UpperCamelCase=2048				,							_UpperCamelCase=0.2				,							**_UpperCamelCase				,							):
        super().__init__(**_UpperCamelCase					)

        _UpperCAmelCase           =   vocab_size
        _UpperCAmelCase           =   max_pos

        _UpperCAmelCase           =   enc_layers
        _UpperCAmelCase           =   enc_hidden_size
        _UpperCAmelCase           =   enc_heads
        _UpperCAmelCase           =   enc_ff_size
        _UpperCAmelCase           =   enc_dropout

        _UpperCAmelCase           =   dec_layers
        _UpperCAmelCase           =   dec_hidden_size
        _UpperCAmelCase           =   dec_heads
        _UpperCAmelCase           =   dec_ff_size
        _UpperCAmelCase           =   dec_dropout
from abc import ABC, abstractmethod
from argparse import ArgumentParser





class     lowerCAmelCase__     (				SCREAMING_SNAKE_CASE_			):


		'''simple docstring'''






		@staticmethod
		@abstractmethod
		def   _snake_case       (       snake_case__     :     ArgumentParser		)      ->	Tuple:
				raise NotImplementedError()



		@abstractmethod
		def   _snake_case       (       self     :     Optional[Any]		)      ->	Optional[Any]:
				raise NotImplementedError()