A_      =      8.3144598






def        __UpperCAmelCase    (       UpperCAmelCase,		UpperCAmelCase       )->       float:



			"""simple docstring"""







			if temperature < 0:
						raise Exception('''Temperature cannot be less than 0 K'''       )
			if molar_mass <= 0:
						raise Exception('''Molar mass cannot be less than or equal to 0 kg/mol'''       )
			else:
						return (3 * UNIVERSAL_GAS_CONSTANT * temperature / molar_mass) ** 0.5


if __name__ == "__main__":
						import doctest

						# run doctest
						doctest.testmod()

						# example
						A_      =      300
						A_      =      28
						A_      =      rms_speed_of_molecule(temperature, molar_mass)
						print(F"Vrms of Nitrogen gas at 300 K is {vrms} m/s")






import logging

from transformers import PretrainedConfig


A_      =      logging.getLogger(__name__)


A_      =      {
    "bertabs-finetuned-cnndm": "https://huggingface.co/remi/bertabs-finetuned-cnndm-extractive-abstractive-summarization/resolve/main/config.json",
}






class      __lowercase					(    _A    ):
						lowercase					 =     'bertabs'

						def __init__(	self				:      Dict							,							__lowerCamelCase				:      Tuple=3_05_22							,							__lowerCamelCase				:      Tuple=5_12							,							__lowerCamelCase				:      List[Any]=6							,							__lowerCamelCase				:      Any=5_12							,							__lowerCamelCase				:      Any=8							,							__lowerCamelCase				:      Union[str, Any]=5_12							,							__lowerCamelCase				:      Tuple=0.2							,							__lowerCamelCase				:      str=6							,							__lowerCamelCase				:      int=7_68							,							__lowerCamelCase				:      int=8							,							__lowerCamelCase				:      List[Any]=20_48							,							__lowerCamelCase				:      Union[str, Any]=0.2							,							**__lowerCamelCase				:      Dict							,							)							->		Dict:


									'''simple docstring'''

									super().__init__(**__lowerCamelCase   )

									lowercase							=		vocab_size
									lowercase							=		max_pos

									lowercase							=		enc_layers
									lowercase							=		enc_hidden_size
									lowercase							=		enc_heads
									lowercase							=		enc_ff_size
									lowercase							=		enc_dropout

									lowercase							=		dec_layers
									lowercase							=		dec_hidden_size
									lowercase							=		dec_heads
									lowercase							=		dec_ff_size
									lowercase							=		dec_dropout





