

'''simple docstring'''

from typing import TYPE_CHECKING

from ...file_utils import _LazyModule, is_torch_available
from ...utils import OptionalDependencyNotAvailable


SCREAMING_SNAKE_CASE							:				Union[str, Any]     	=			{
    "configuration_gpt_neox_japanese": ["GPT_NEOX_JAPANESE_PRETRAINED_CONFIG_ARCHIVE_MAP", "GPTNeoXJapaneseConfig"],
    "tokenization_gpt_neox_japanese": ["GPTNeoXJapaneseTokenizer"],
}

try:
							if not is_torch_available():
														raise OptionalDependencyNotAvailable()
except OptionalDependencyNotAvailable:
							pass
else:
							SCREAMING_SNAKE_CASE							:				str     	=			[
							    "GPT_NEOX_JAPANESE_PRETRAINED_MODEL_ARCHIVE_LIST",
							    "GPTNeoXJapaneseForCausalLM",
							    "GPTNeoXJapaneseLayer",
							    "GPTNeoXJapaneseModel",
							    "GPTNeoXJapanesePreTrainedModel",
							]


if TYPE_CHECKING:
							from .configuration_gpt_neox_japanese import GPT_NEOX_JAPANESE_PRETRAINED_CONFIG_ARCHIVE_MAP, GPTNeoXJapaneseConfig
							from .tokenization_gpt_neox_japanese import GPTNeoXJapaneseTokenizer

							try:
														if not is_torch_available():
																					raise OptionalDependencyNotAvailable()
							except OptionalDependencyNotAvailable:
														pass
							else:
														from .modeling_gpt_neox_japanese import (
														    GPT_NEOX_JAPANESE_PRETRAINED_MODEL_ARCHIVE_LIST,
														    GPTNeoXJapaneseForCausalLM,
														    GPTNeoXJapaneseLayer,
														    GPTNeoXJapaneseModel,
														    GPTNeoXJapanesePreTrainedModel,
														)


else:
							import sys

							SCREAMING_SNAKE_CASE							:				str     	=			_LazyModule(__name__, globals()["__file__"], _import_structure, module_spec=__spec__)








'''simple docstring'''

SCREAMING_SNAKE_CASE							:				int     	=			8.3_1_4_4_5_9_8




def 							_UpperCamelCase				(   lowerCAmelCase__:					float		,lowerCAmelCase__:					float   )      -> float:
							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
							SCREAMING_SNAKE_CASE							:				List[str]     	=			300
							SCREAMING_SNAKE_CASE							:				List[Any]     	=			28
							SCREAMING_SNAKE_CASE							:				Optional[Any]     	=			rms_speed_of_molecule(temperature, molar_mass)
							print(f"Vrms of Nitrogen gas at 300 K is {vrms} m/s")





