


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


snake_case       :					List[Any]        =  logging.get_logger(__name__)

snake_case       :					str        =  {
    '''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 	_snake_case						(   _snake_case							):
 SCREAMING_SNAKE_CASE__   = 'cpmant'




 def __init__(	self      ,						_lowerCamelCase = 3_0720      ,						_lowerCamelCase = 4096      ,						_lowerCamelCase = 32      ,						_lowerCamelCase = 128      ,						_lowerCamelCase = 1_0240      ,						_lowerCamelCase = 48      ,						_lowerCamelCase = 0.0      ,						_lowerCamelCase = 512      ,						_lowerCamelCase = 2048      ,						_lowerCamelCase = 1e-6      ,						_lowerCamelCase = 1.0      ,						_lowerCamelCase = 32      ,						_lowerCamelCase = 32      ,						_lowerCamelCase = 32      ,						_lowerCamelCase = True      ,						**_lowerCamelCase      ,						):
       super().__init__(**_lowerCamelCase					)
       a		:Union[str, Any]											= prompt_types
       a		:Optional[Any]											= prompt_length
       a		:List[str]											= segment_types
       a		:Optional[int]											= hidden_size
       a		:Union[str, Any]											= num_attention_heads
       a		:Optional[Any]											= dim_head
       a		:Tuple											= dim_ff
       a		:Optional[int]											= num_hidden_layers
       a		:int											= position_bias_num_buckets
       a		:Optional[int]											= position_bias_max_distance
       a		:Tuple											= dropout_p
       a		:Optional[Any]											= eps
       a		:List[str]											= use_cache
       a		:str											= vocab_size
       a		:Tuple											= init_std









import warnings

from ...utils import logging
from .image_processing_convnext import ConvNextImageProcessor


snake_case       :					Tuple        =  logging.get_logger(__name__)







class 	_snake_case						(   _snake_case							):




 def __init__(	self      ,						*_lowerCamelCase      ,						**_lowerCamelCase					):
       warnings.warn(
           '''The class ConvNextFeatureExtractor is deprecated and will be removed in version 5 of Transformers.'''
           ''' Please use ConvNextImageProcessor instead.'''      ,						_lowerCamelCase      ,						)
       super().__init__(*_lowerCamelCase      ,						**_lowerCamelCase					)





