


import warnings

from ...utils import logging
from .image_processing_yolos import YolosImageProcessor


lowerCAmelCase	=							logging.get_logger(__name__)


class 	_a							(      UpperCamelCase__      ):

							def __init__(							self:     Dict   ,						*UpperCamelCase_:     int   ,						**UpperCamelCase_:     Tuple							)      ->       None:





									"""simple docstring"""







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






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							(      UpperCamelCase__      ):
							_lowercase     :      List[Any]  				=			'''bertabs'''

							def __init__(							self:     List[str]   ,						UpperCamelCase_:     Dict=30_522   ,						UpperCamelCase_:     Union[str, Any]=512   ,						UpperCamelCase_:     Optional[int]=6   ,						UpperCamelCase_:     int=512   ,						UpperCamelCase_:     Optional[int]=8   ,						UpperCamelCase_:     List[Any]=512   ,						UpperCamelCase_:     Tuple=0.2   ,						UpperCamelCase_:     List[Any]=6   ,						UpperCamelCase_:     Tuple=768   ,						UpperCamelCase_:     List[Any]=8   ,						UpperCamelCase_:     Union[str, Any]=2_048   ,						UpperCamelCase_:     str=0.2   ,						**UpperCamelCase_:     Any   ,						)      ->       List[str]:





									"""simple docstring"""







									super().__init__(**UpperCamelCase_							)

									lowercase__						=				vocab_size
									lowercase__						=				max_pos

									lowercase__						=				enc_layers
									lowercase__						=				enc_hidden_size
									lowercase__						=				enc_heads
									lowercase__						=				enc_ff_size
									lowercase__						=				enc_dropout

									lowercase__						=				dec_layers
									lowercase__						=				dec_hidden_size
									lowercase__						=				dec_heads
									lowercase__						=				dec_ff_size
									lowercase__						=				dec_dropout


