


'''simple docstring'''

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


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

lowerCamelCase							:   int  						=	{'ctrl': 'https://huggingface.co/ctrl/resolve/main/config.json'}
class   __lowerCAmelCase						(lowercase_     ):





      '''simple docstring'''






      lowerCAmelCase__					:     Dict  					=							"""ctrl"""
      lowerCAmelCase__					:     List[Any]  					=							["""past_key_values"""]
      lowerCAmelCase__					:     str  					=							{
          """max_position_embeddings""": """n_positions""",
          """hidden_size""": """n_embd""",
          """num_attention_heads""": """n_head""",
          """num_hidden_layers""": """n_layer""",
      }



      def __init__(self    :    Tuple   ,						UpperCamelCase    :    Optional[Any]=246534   ,						UpperCamelCase    :    Union[str, Any]=256   ,						UpperCamelCase    :    Optional[int]=1280   ,						UpperCamelCase    :    Any=8192   ,						UpperCamelCase    :    List[str]=48   ,						UpperCamelCase    :    List[Any]=16   ,						UpperCamelCase    :    Any=0.1   ,						UpperCamelCase    :    List[str]=0.1   ,						UpperCamelCase    :    str=1E-6   ,						UpperCamelCase    :    Optional[int]=0.02   ,						UpperCamelCase    :    Dict=True   ,						**UpperCamelCase    :    Dict   ,						):

             '''simple docstring'''







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

             lowercase__      			= use_cache

             super().__init__(**UpperCamelCase )





def       A	(    _lowercase		,  _lowercase		,  _lowercase						):
						return round(float(moles / volume						) * nfactor						)
def       A	(    _lowercase		,  _lowercase		,  _lowercase						):
						return round(float((moles * 0.0821 * temperature) / (volume)						)						)
def       A	(    _lowercase		,  _lowercase		,  _lowercase						):
						return round(float((moles * 0.0821 * temperature) / (pressure)						)						)
def       A	(    _lowercase		,  _lowercase		,  _lowercase						):
						return round(float((pressure * volume) / (0.0821 * moles)						)						)


if __name__ == "__main__":
					import doctest

					doctest.testmod()





