





import logging

from transformers import PretrainedConfig


_lowerCamelCase      							=   logging.getLogger(__name__)


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







class       __A							(   lowerCamelCase__	):




      """simple docstring"""







      UpperCAmelCase__							=   """bertabs"""


      def __init__(		self   ,				a__=3_0522   ,				a__=512   ,				a__=6   ,				a__=512   ,				a__=8   ,				a__=512   ,				a__=0.2   ,				a__=6   ,				a__=768   ,				a__=8   ,				a__=2048   ,				a__=0.2   ,				**a__   ,				):



             """simple docstring"""





             super().__init__(**a__)

             _lowerCamelCase				:  Any						=		vocab_size
             _lowerCamelCase				:  Optional[Any]						=		max_pos

             _lowerCamelCase				:  List[str]						=		enc_layers
             _lowerCamelCase				:  Dict						=		enc_hidden_size
             _lowerCamelCase				:  Dict						=		enc_heads
             _lowerCamelCase				:  List[Any]						=		enc_ff_size
             _lowerCamelCase				:  Dict						=		enc_dropout

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








import warnings

from ...utils import logging
from .image_processing_deit import DeiTImageProcessor


_lowerCamelCase      							=   logging.get_logger(__name__)







class       __A							(   lowerCamelCase__	):




      """simple docstring"""







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



             """simple docstring"""





             warnings.warn(
                 '''The class DeiTFeatureExtractor is deprecated and will be removed in version 5 of Transformers. Please'''
                 ''' use DeiTImageProcessor instead.'''   ,				a__   ,				)
             super().__init__(*a__   ,				**a__)

