






"""simple docstring"""







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


__a       :	Dict             = logging.get_logger(__name__)

__a       :	Union[str, Any]             = {'ctrl': 'https://huggingface.co/ctrl/resolve/main/config.json'}







class        _SCREAMING_SNAKE_CASE						(  __snake_case							):





							"""simple docstring"""





							_SCREAMING_SNAKE_CASE    ='ctrl'
							_SCREAMING_SNAKE_CASE    =['past_key_values']
							_SCREAMING_SNAKE_CASE    ={
							    'max_position_embeddings': 'n_positions',
							    'hidden_size': 'n_embd',
							    'num_attention_heads': 'n_head',
							    'num_hidden_layers': 'n_layer',
							}




							def __init__(   self:     Dict				,		__A:     int=246534				,		__A:     Union[str, Any]=256				,		__A:     Optional[Any]=1280				,		__A:     Dict=8192				,		__A:     str=48				,		__A:     List[str]=16				,		__A:     List[Any]=0.1				,		__A:     Any=0.1				,		__A:     Union[str, Any]=1e-6				,		__A:     int=0.0_2				,		__A:     Optional[int]=True				,		**__A:     Dict				,		):

												'''simple docstring'''

												a__          =  vocab_size
												a__          =  n_positions
												a__          =  n_embd
												a__          =  n_layer
												a__          =  n_head
												a__          =  dff
												a__          =  resid_pdrop
												a__          =  embd_pdrop
												a__          =  layer_norm_epsilon
												a__          =  initializer_range

												a__          =  use_cache

												super().__init__(**__A    )










"""simple docstring"""







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


__a       :	List[str]             = logging.get_logger(__name__)

__a       :	int             = {
    'facebook/vit-mae-base': 'https://huggingface.co/facebook/vit-mae-base/resolve/main/config.json',
    # See all ViT MAE models at https://huggingface.co/models?filter=vit-mae
}







class        _SCREAMING_SNAKE_CASE						(  __snake_case							):





							"""simple docstring"""





							_SCREAMING_SNAKE_CASE    ='vit_mae'




							def __init__(   self:     str				,		__A:     str=768				,		__A:     Union[str, Any]=12				,		__A:     str=12				,		__A:     List[Any]=3072				,		__A:     List[Any]="gelu"				,		__A:     Union[str, Any]=0.0				,		__A:     Tuple=0.0				,		__A:     str=0.0_2				,		__A:     Tuple=1e-12				,		__A:     Dict=224				,		__A:     List[Any]=16				,		__A:     Tuple=3				,		__A:     str=True				,		__A:     Optional[Any]=16				,		__A:     List[Any]=512				,		__A:     Optional[Any]=8				,		__A:     Dict=2048				,		__A:     str=0.7_5				,		__A:     str=False				,		**__A:     Tuple				,		):

												'''simple docstring'''

												super().__init__(**__A    )

												a__          =  hidden_size
												a__          =  num_hidden_layers
												a__          =  num_attention_heads
												a__          =  intermediate_size
												a__          =  hidden_act
												a__          =  hidden_dropout_prob
												a__          =  attention_probs_dropout_prob
												a__          =  initializer_range
												a__          =  layer_norm_eps
												a__          =  image_size
												a__          =  patch_size
												a__          =  num_channels
												a__          =  qkv_bias
												a__          =  decoder_num_attention_heads
												a__          =  decoder_hidden_size
												a__          =  decoder_num_hidden_layers
												a__          =  decoder_intermediate_size
												a__          =  mask_ratio
												a__          =  norm_pix_loss


