

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


__A			:					str						=			logging.get_logger(__name__)

__A			:					int						=			{'ctrl': 'https://huggingface.co/ctrl/resolve/main/config.json'}





class 			_SCREAMING_SNAKE_CASE (   __snake_case		):







   '''simple docstring'''




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





   def __init__(       self					:			Any     , __lowerCamelCase					:			int=246534     , __lowerCamelCase					:			str=256     , __lowerCamelCase					:			Optional[int]=1280     , __lowerCamelCase					:			int=8192     , __lowerCamelCase					:			Any=48     , __lowerCamelCase					:			List[Any]=16     , __lowerCamelCase					:			Tuple=0.1     , __lowerCamelCase					:			Optional[int]=0.1     , __lowerCamelCase					:			Union[str, Any]=1e-6     , __lowerCamelCase					:			Union[str, Any]=0.02     , __lowerCamelCase					:			Optional[Any]=True     , **__lowerCamelCase					:			List[str]     , ):
       SCREAMING_SNAKE_CASE										=   vocab_size
       SCREAMING_SNAKE_CASE										=   n_positions
       SCREAMING_SNAKE_CASE										=   n_embd
       SCREAMING_SNAKE_CASE										=   n_layer
       SCREAMING_SNAKE_CASE										=   n_head
       SCREAMING_SNAKE_CASE										=   dff
       SCREAMING_SNAKE_CASE										=   resid_pdrop
       SCREAMING_SNAKE_CASE										=   embd_pdrop
       SCREAMING_SNAKE_CASE										=   layer_norm_epsilon
       SCREAMING_SNAKE_CASE										=   initializer_range

       SCREAMING_SNAKE_CASE										=   use_cache

       super().__init__(**__lowerCamelCase			)


def 	__a     (      A__			:  float			,  A__			:  float       ):
    if mass < 0:
        raise ValueError("The mass of a body cannot be negative"       )
    return 0.5 * mass * abs(A__       ) * abs(A__       )


if __name__ == "__main__":
    import doctest

    doctest.testmod(verbose=True)