
'''simple docstring'''



from ..utils import DummyObject, requires_backends




class   UpperCAmelCase_					(		metaclass=_SCREAMING_SNAKE_CASE			):






						'''simple docstring'''






						_lowercase		:				Union[str, Any]									=       ['''flax''']




						def __init__( self   ,       *_lowercase   ,       **_lowercase				):

												"""simple docstring"""



												requires_backends(self   ,       ["""flax"""]				)




						@classmethod
						def  _lowercase     ( cls   ,       *_lowercase   ,       **_lowercase				):

												"""simple docstring"""



												requires_backends(cls   ,       ["""flax"""]				)




						@classmethod
						def  _lowercase     ( cls   ,       *_lowercase   ,       **_lowercase				):

												"""simple docstring"""



												requires_backends(cls   ,       ["""flax"""]				)






class   UpperCAmelCase_					(		metaclass=_SCREAMING_SNAKE_CASE			):






						'''simple docstring'''






						_lowercase		:				Tuple									=       ['''flax''']




						def __init__( self   ,       *_lowercase   ,       **_lowercase				):

												"""simple docstring"""



												requires_backends(self   ,       ["""flax"""]				)




						@classmethod
						def  _lowercase     ( cls   ,       *_lowercase   ,       **_lowercase				):

												"""simple docstring"""



												requires_backends(cls   ,       ["""flax"""]				)




						@classmethod
						def  _lowercase     ( cls   ,       *_lowercase   ,       **_lowercase				):

												"""simple docstring"""



												requires_backends(cls   ,       ["""flax"""]				)






class   UpperCAmelCase_					(		metaclass=_SCREAMING_SNAKE_CASE			):






						'''simple docstring'''






						_lowercase		:				Dict									=       ['''flax''']




						def __init__( self   ,       *_lowercase   ,       **_lowercase				):

												"""simple docstring"""



												requires_backends(self   ,       ["""flax"""]				)




						@classmethod
						def  _lowercase     ( cls   ,       *_lowercase   ,       **_lowercase				):

												"""simple docstring"""



												requires_backends(cls   ,       ["""flax"""]				)




						@classmethod
						def  _lowercase     ( cls   ,       *_lowercase   ,       **_lowercase				):

												"""simple docstring"""



												requires_backends(cls   ,       ["""flax"""]				)






class   UpperCAmelCase_					(		metaclass=_SCREAMING_SNAKE_CASE			):






						'''simple docstring'''






						_lowercase		:				Any									=       ['''flax''']




						def __init__( self   ,       *_lowercase   ,       **_lowercase				):

												"""simple docstring"""



												requires_backends(self   ,       ["""flax"""]				)




						@classmethod
						def  _lowercase     ( cls   ,       *_lowercase   ,       **_lowercase				):

												"""simple docstring"""



												requires_backends(cls   ,       ["""flax"""]				)




						@classmethod
						def  _lowercase     ( cls   ,       *_lowercase   ,       **_lowercase				):

												"""simple docstring"""



												requires_backends(cls   ,       ["""flax"""]				)






class   UpperCAmelCase_					(		metaclass=_SCREAMING_SNAKE_CASE			):






						'''simple docstring'''






						_lowercase		:				Optional[Any]									=       ['''flax''']




						def __init__( self   ,       *_lowercase   ,       **_lowercase				):

												"""simple docstring"""



												requires_backends(self   ,       ["""flax"""]				)




						@classmethod
						def  _lowercase     ( cls   ,       *_lowercase   ,       **_lowercase				):

												"""simple docstring"""



												requires_backends(cls   ,       ["""flax"""]				)




						@classmethod
						def  _lowercase     ( cls   ,       *_lowercase   ,       **_lowercase				):

												"""simple docstring"""



												requires_backends(cls   ,       ["""flax"""]				)






class   UpperCAmelCase_					(		metaclass=_SCREAMING_SNAKE_CASE			):






						'''simple docstring'''






						_lowercase		:				Tuple									=       ['''flax''']




						def __init__( self   ,       *_lowercase   ,       **_lowercase				):

												"""simple docstring"""



												requires_backends(self   ,       ["""flax"""]				)




						@classmethod
						def  _lowercase     ( cls   ,       *_lowercase   ,       **_lowercase				):

												"""simple docstring"""



												requires_backends(cls   ,       ["""flax"""]				)




						@classmethod
						def  _lowercase     ( cls   ,       *_lowercase   ,       **_lowercase				):

												"""simple docstring"""



												requires_backends(cls   ,       ["""flax"""]				)






class   UpperCAmelCase_					(		metaclass=_SCREAMING_SNAKE_CASE			):






						'''simple docstring'''






						_lowercase		:				List[str]									=       ['''flax''']




						def __init__( self   ,       *_lowercase   ,       **_lowercase				):

												"""simple docstring"""



												requires_backends(self   ,       ["""flax"""]				)




						@classmethod
						def  _lowercase     ( cls   ,       *_lowercase   ,       **_lowercase				):

												"""simple docstring"""



												requires_backends(cls   ,       ["""flax"""]				)




						@classmethod
						def  _lowercase     ( cls   ,       *_lowercase   ,       **_lowercase				):

												"""simple docstring"""



												requires_backends(cls   ,       ["""flax"""]				)






class   UpperCAmelCase_					(		metaclass=_SCREAMING_SNAKE_CASE			):






						'''simple docstring'''






						_lowercase		:				Dict									=       ['''flax''']




						def __init__( self   ,       *_lowercase   ,       **_lowercase				):

												"""simple docstring"""



												requires_backends(self   ,       ["""flax"""]				)




						@classmethod
						def  _lowercase     ( cls   ,       *_lowercase   ,       **_lowercase				):

												"""simple docstring"""



												requires_backends(cls   ,       ["""flax"""]				)




						@classmethod
						def  _lowercase     ( cls   ,       *_lowercase   ,       **_lowercase				):

												"""simple docstring"""



												requires_backends(cls   ,       ["""flax"""]				)






class   UpperCAmelCase_					(		metaclass=_SCREAMING_SNAKE_CASE			):






						'''simple docstring'''






						_lowercase		:				Optional[Any]									=       ['''flax''']




						def __init__( self   ,       *_lowercase   ,       **_lowercase				):

												"""simple docstring"""



												requires_backends(self   ,       ["""flax"""]				)




						@classmethod
						def  _lowercase     ( cls   ,       *_lowercase   ,       **_lowercase				):

												"""simple docstring"""



												requires_backends(cls   ,       ["""flax"""]				)




						@classmethod
						def  _lowercase     ( cls   ,       *_lowercase   ,       **_lowercase				):

												"""simple docstring"""



												requires_backends(cls   ,       ["""flax"""]				)






class   UpperCAmelCase_					(		metaclass=_SCREAMING_SNAKE_CASE			):






						'''simple docstring'''






						_lowercase		:				Dict									=       ['''flax''']




						def __init__( self   ,       *_lowercase   ,       **_lowercase				):

												"""simple docstring"""



												requires_backends(self   ,       ["""flax"""]				)




						@classmethod
						def  _lowercase     ( cls   ,       *_lowercase   ,       **_lowercase				):

												"""simple docstring"""



												requires_backends(cls   ,       ["""flax"""]				)




						@classmethod
						def  _lowercase     ( cls   ,       *_lowercase   ,       **_lowercase				):

												"""simple docstring"""



												requires_backends(cls   ,       ["""flax"""]				)






class   UpperCAmelCase_					(		metaclass=_SCREAMING_SNAKE_CASE			):






						'''simple docstring'''






						_lowercase		:				Dict									=       ['''flax''']




						def __init__( self   ,       *_lowercase   ,       **_lowercase				):

												"""simple docstring"""



												requires_backends(self   ,       ["""flax"""]				)




						@classmethod
						def  _lowercase     ( cls   ,       *_lowercase   ,       **_lowercase				):

												"""simple docstring"""



												requires_backends(cls   ,       ["""flax"""]				)




						@classmethod
						def  _lowercase     ( cls   ,       *_lowercase   ,       **_lowercase				):

												"""simple docstring"""



												requires_backends(cls   ,       ["""flax"""]				)






class   UpperCAmelCase_					(		metaclass=_SCREAMING_SNAKE_CASE			):






						'''simple docstring'''






						_lowercase		:				Tuple									=       ['''flax''']




						def __init__( self   ,       *_lowercase   ,       **_lowercase				):

												"""simple docstring"""



												requires_backends(self   ,       ["""flax"""]				)




						@classmethod
						def  _lowercase     ( cls   ,       *_lowercase   ,       **_lowercase				):

												"""simple docstring"""



												requires_backends(cls   ,       ["""flax"""]				)




						@classmethod
						def  _lowercase     ( cls   ,       *_lowercase   ,       **_lowercase				):

												"""simple docstring"""



												requires_backends(cls   ,       ["""flax"""]				)






class   UpperCAmelCase_					(		metaclass=_SCREAMING_SNAKE_CASE			):






						'''simple docstring'''






						_lowercase		:				Dict									=       ['''flax''']




						def __init__( self   ,       *_lowercase   ,       **_lowercase				):

												"""simple docstring"""



												requires_backends(self   ,       ["""flax"""]				)




						@classmethod
						def  _lowercase     ( cls   ,       *_lowercase   ,       **_lowercase				):

												"""simple docstring"""



												requires_backends(cls   ,       ["""flax"""]				)




						@classmethod
						def  _lowercase     ( cls   ,       *_lowercase   ,       **_lowercase				):

												"""simple docstring"""



												requires_backends(cls   ,       ["""flax"""]				)


'''simple docstring'''



import logging

from transformers import PretrainedConfig


_lowercase    =		logging.getLogger(__name__)


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




class   UpperCAmelCase_					(		_SCREAMING_SNAKE_CASE			):






						'''simple docstring'''






						_lowercase		:				Optional[Any]									=       '''bertabs'''




						def __init__( self   ,       _lowercase=30_522   ,       _lowercase=512   ,       _lowercase=6   ,       _lowercase=512   ,       _lowercase=8   ,       _lowercase=512   ,       _lowercase=0.2   ,       _lowercase=6   ,       _lowercase=768   ,       _lowercase=8   ,       _lowercase=2_048   ,       _lowercase=0.2   ,       **_lowercase   ,       ):

												"""simple docstring"""



												super().__init__(**_lowercase				)

												_lowerCAmelCase  						=			vocab_size
												_lowerCAmelCase  						=			max_pos

												_lowerCAmelCase  						=			enc_layers
												_lowerCAmelCase  						=			enc_hidden_size
												_lowerCAmelCase  						=			enc_heads
												_lowerCAmelCase  						=			enc_ff_size
												_lowerCAmelCase  						=			enc_dropout

												_lowerCAmelCase  						=			dec_layers
												_lowerCAmelCase  						=			dec_hidden_size
												_lowerCAmelCase  						=			dec_heads
												_lowerCAmelCase  						=			dec_ff_size
												_lowerCAmelCase  						=			dec_dropout
