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


snake_case    :				Union[str, Any]							     =	logging.get_logger(__name__)

snake_case    :				int							     =	{
    '''microsoft/biogpt''': '''https://huggingface.co/microsoft/biogpt/resolve/main/config.json''',
    # See all BioGPT models at https://huggingface.co/models?filter=biogpt
}







class __snake_case       (		lowerCamelCase_	):
   lowerCAmelCase_														=							"biogpt"




   def __init__(					self    :       List[Any] ,			_lowercase    :       List[Any]=4_23_84 ,			_lowercase    :       Dict=10_24 ,			_lowercase    :       Any=24 ,			_lowercase    :       List[Any]=16 ,			_lowercase    :       Union[str, Any]=40_96 ,			_lowercase    :       str="gelu" ,			_lowercase    :       Union[str, Any]=0.1 ,			_lowercase    :       List[Any]=0.1 ,			_lowercase    :       List[Any]=10_24 ,			_lowercase    :       Optional[int]=0.02 ,			_lowercase    :       Tuple=1E-12 ,			_lowercase    :       Optional[int]=True ,			_lowercase    :       Tuple=True ,			_lowercase    :       Optional[int]=0.0 ,			_lowercase    :       Optional[int]=0.0 ,			_lowercase    :       Union[str, Any]=1 ,			_lowercase    :       List[Any]=0 ,			_lowercase    :       Any=2 ,			**_lowercase    :       Dict ,			):



     """simple docstring"""






     SCREAMING_SNAKE_CASE__    							=   vocab_size
     SCREAMING_SNAKE_CASE__    							=   max_position_embeddings
     SCREAMING_SNAKE_CASE__    							=   hidden_size
     SCREAMING_SNAKE_CASE__    							=   num_hidden_layers
     SCREAMING_SNAKE_CASE__    							=   num_attention_heads
     SCREAMING_SNAKE_CASE__    							=   intermediate_size
     SCREAMING_SNAKE_CASE__    							=   hidden_act
     SCREAMING_SNAKE_CASE__    							=   hidden_dropout_prob
     SCREAMING_SNAKE_CASE__    							=   attention_probs_dropout_prob
     SCREAMING_SNAKE_CASE__    							=   initializer_range
     SCREAMING_SNAKE_CASE__    							=   layer_norm_eps
     SCREAMING_SNAKE_CASE__    							=   scale_embedding
     SCREAMING_SNAKE_CASE__    							=   use_cache
     SCREAMING_SNAKE_CASE__    							=   layerdrop
     SCREAMING_SNAKE_CASE__    							=   activation_dropout
     super().__init__(pad_token_id=_lowercase ,			bos_token_id=_lowercase ,			eos_token_id=_lowercase ,			**_lowercase   )

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


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

__lowerCamelCase    :				str							     =	{
    '''facebook/timesformer''': '''https://huggingface.co/facebook/timesformer/resolve/main/config.json''',
}







class __snake_case       (		lowerCamelCase_	):
   lowerCAmelCase_														=							"timesformer"




   def __init__(					self    :       Any ,			_lowercase    :       Tuple=2_24 ,			_lowercase    :       Tuple=16 ,			_lowercase    :       List[Any]=3 ,			_lowercase    :       str=8 ,			_lowercase    :       Optional[Any]=7_68 ,			_lowercase    :       List[str]=12 ,			_lowercase    :       List[str]=12 ,			_lowercase    :       Dict=30_72 ,			_lowercase    :       List[str]="gelu" ,			_lowercase    :       List[str]=0.0 ,			_lowercase    :       List[str]=0.0 ,			_lowercase    :       Tuple=0.02 ,			_lowercase    :       List[Any]=1E-6 ,			_lowercase    :       List[str]=True ,			_lowercase    :       Dict="divided_space_time" ,			_lowercase    :       Union[str, Any]=0 ,			**_lowercase    :       Union[str, Any] ,			):



     """simple docstring"""






     super().__init__(**_lowercase   )

     SCREAMING_SNAKE_CASE__    							=   image_size
     SCREAMING_SNAKE_CASE__    							=   patch_size
     SCREAMING_SNAKE_CASE__    							=   num_channels
     SCREAMING_SNAKE_CASE__    							=   num_frames

     SCREAMING_SNAKE_CASE__    							=   hidden_size
     SCREAMING_SNAKE_CASE__    							=   num_hidden_layers
     SCREAMING_SNAKE_CASE__    							=   num_attention_heads
     SCREAMING_SNAKE_CASE__    							=   intermediate_size
     SCREAMING_SNAKE_CASE__    							=   hidden_act
     SCREAMING_SNAKE_CASE__    							=   hidden_dropout_prob
     SCREAMING_SNAKE_CASE__    							=   attention_probs_dropout_prob
     SCREAMING_SNAKE_CASE__    							=   initializer_range
     SCREAMING_SNAKE_CASE__    							=   layer_norm_eps
     SCREAMING_SNAKE_CASE__    							=   qkv_bias

     SCREAMING_SNAKE_CASE__    							=   attention_type
     SCREAMING_SNAKE_CASE__    							=   drop_path_rate
