


from ...configuration_utils import PretrainedConfig
from ...utils import logging


A :	Dict												=     logging.get_logger(__name__)

A :	Union[str, Any]												=     {
    'openbmb/cpm-ant-10b': 'https://huggingface.co/openbmb/cpm-ant-10b/blob/main/config.json'
    # See all CPMAnt models at https://huggingface.co/models?filter=cpmant
}



class 							A					( UpperCAmelCase__							):
					'''simple docstring'''






					A__    =				'''cpmant'''

					def __init__(self					:		Union[str, Any]   ,      _UpperCAmelCase					:		int = 3_0720   ,      _UpperCAmelCase					:		int = 4096   ,      _UpperCAmelCase					:		int = 32   ,      _UpperCAmelCase					:		int = 128   ,      _UpperCAmelCase					:		int = 1_0240   ,      _UpperCAmelCase					:		int = 48   ,      _UpperCAmelCase					:		int = 0.0   ,      _UpperCAmelCase					:		int = 512   ,      _UpperCAmelCase					:		int = 2048   ,      _UpperCAmelCase					:		int = 1E-6   ,      _UpperCAmelCase					:		float = 1.0   ,      _UpperCAmelCase					:		int = 32   ,      _UpperCAmelCase					:		int = 32   ,      _UpperCAmelCase					:		int = 32   ,      _UpperCAmelCase					:		bool = True   ,      **_UpperCAmelCase					:		List[str]   ,      )		->     int:




							"""simple docstring"""


							super().__init__(**_UpperCAmelCase	)
							lowercase__      =	prompt_types
							lowercase__      =	prompt_length
							lowercase__      =	segment_types
							lowercase__      =	hidden_size
							lowercase__      =	num_attention_heads
							lowercase__      =	dim_head
							lowercase__      =	dim_ff
							lowercase__      =	num_hidden_layers
							lowercase__      =	position_bias_num_buckets
							lowercase__      =	position_bias_max_distance
							lowercase__      =	dropout_p
							lowercase__      =	eps
							lowercase__      =	use_cache
							lowercase__      =	vocab_size
							lowercase__      =	init_std





import warnings

from ...utils import logging
from .image_processing_mobilenet_va import MobileNetVaImageProcessor


A :	Optional[Any]												=     logging.get_logger(__name__)



class 							A					( UpperCAmelCase__							):
					'''simple docstring'''






					def __init__(self					:		Optional[int]   ,      *_UpperCAmelCase					:		Union[str, Any]   ,      **_UpperCAmelCase					:		Any	)		->     None:




							"""simple docstring"""


							warnings.warn(
							    """The class MobileNetV1FeatureExtractor is deprecated and will be removed in version 5 of Transformers."""
							    """ Please use MobileNetV1ImageProcessor instead."""   ,      _UpperCAmelCase   ,      )
							super().__init__(*_UpperCAmelCase   ,      **_UpperCAmelCase	)

