

"""simple docstring"""




from math import pow, sqrt

def 						A							(  *snake_case__     ):




			'''simple docstring'''


			SCREAMING_SNAKE_CASE__										=   len(snake_case__     ) > 0 and all(value > 0.0 for value in values     )
			return result

def 						A							(  snake_case__		,					snake_case__     ):




			'''simple docstring'''


			return (
			    round(sqrt(molar_mass_a / molar_mass_a     )		,					6     )
			    if validate(snake_case__		,					snake_case__     )
			    else ValueError("""Input Error: Molar mass values must greater than 0."""     )
			)

def 						A							(  snake_case__		,					snake_case__		,					snake_case__     ):




			'''simple docstring'''


			return (
			    round(effusion_rate * sqrt(molar_mass_a / molar_mass_a     )		,					6     )
			    if validate(snake_case__		,					snake_case__		,					snake_case__     )
			    else ValueError(
			        """Input Error: Molar mass and effusion rate values must greater than 0."""     )
			)

def 						A							(  snake_case__		,					snake_case__		,					snake_case__     ):




			'''simple docstring'''


			return (
			    round(effusion_rate / sqrt(molar_mass_a / molar_mass_a     )		,					6     )
			    if validate(snake_case__		,					snake_case__		,					snake_case__     )
			    else ValueError(
			        """Input Error: Molar mass and effusion rate values must greater than 0."""     )
			)

def 						A							(  snake_case__		,					snake_case__		,					snake_case__     ):




			'''simple docstring'''


			return (
			    round(molar_mass / pow(effusion_rate_a / effusion_rate_a		,					2     )		,					6     )
			    if validate(snake_case__		,					snake_case__		,					snake_case__     )
			    else ValueError(
			        """Input Error: Molar mass and effusion rate values must greater than 0."""     )
			)




def 						A							(  snake_case__		,					snake_case__		,					snake_case__     ):




			'''simple docstring'''


			return (
			    round(pow(effusion_rate_a / effusion_rate_a		,					2     ) / molar_mass		,					6     )
			    if validate(snake_case__		,					snake_case__		,					snake_case__     )
			    else ValueError(
			        """Input Error: Molar mass and effusion rate values must greater than 0."""     )
			)





"""simple docstring"""




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


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

A_				:      Optional[int]           =			{
    "facebook/dpr-ctx_encoder-single-nq-base": (
        "https://huggingface.co/facebook/dpr-ctx_encoder-single-nq-base/resolve/main/config.json"
    ),
    "facebook/dpr-question_encoder-single-nq-base": (
        "https://huggingface.co/facebook/dpr-question_encoder-single-nq-base/resolve/main/config.json"
    ),
    "facebook/dpr-reader-single-nq-base": (
        "https://huggingface.co/facebook/dpr-reader-single-nq-base/resolve/main/config.json"
    ),
    "facebook/dpr-ctx_encoder-multiset-base": (
        "https://huggingface.co/facebook/dpr-ctx_encoder-multiset-base/resolve/main/config.json"
    ),
    "facebook/dpr-question_encoder-multiset-base": (
        "https://huggingface.co/facebook/dpr-question_encoder-multiset-base/resolve/main/config.json"
    ),
    "facebook/dpr-reader-multiset-base": (
        "https://huggingface.co/facebook/dpr-reader-multiset-base/resolve/main/config.json"
    ),
}





class  lowerCamelCase    (A__      ):
			lowerCamelCase__ :		Optional[int]       		=				'dpr'

			def __init__(       self					:    Optional[int]     ,					__UpperCAmelCase					:    List[str]=3_0_5_2_2     ,					__UpperCAmelCase					:    int=7_6_8     ,					__UpperCAmelCase					:    Optional[Any]=1_2     ,					__UpperCAmelCase					:    Dict=1_2     ,					__UpperCAmelCase					:    Any=3_0_7_2     ,					__UpperCAmelCase					:    int="gelu"     ,					__UpperCAmelCase					:    int=0.1     ,					__UpperCAmelCase					:    Optional[Any]=0.1     ,					__UpperCAmelCase					:    Any=5_1_2     ,					__UpperCAmelCase					:    Union[str, Any]=2     ,					__UpperCAmelCase					:    Any=0.02     ,					__UpperCAmelCase					:    Dict=1e-12     ,					__UpperCAmelCase					:    Optional[Any]=0     ,					__UpperCAmelCase					:    Union[str, Any]="absolute"     ,					__UpperCAmelCase					:    int = 0     ,					**__UpperCAmelCase					:    Dict     ,					) ->     Tuple:
						super().__init__(pad_token_id=__UpperCAmelCase     ,					**__UpperCAmelCase							)

						SCREAMING_SNAKE_CASE__										=   vocab_size
						SCREAMING_SNAKE_CASE__										=   hidden_size
						SCREAMING_SNAKE_CASE__										=   num_hidden_layers
						SCREAMING_SNAKE_CASE__										=   num_attention_heads
						SCREAMING_SNAKE_CASE__										=   hidden_act
						SCREAMING_SNAKE_CASE__										=   intermediate_size
						SCREAMING_SNAKE_CASE__										=   hidden_dropout_prob
						SCREAMING_SNAKE_CASE__										=   attention_probs_dropout_prob
						SCREAMING_SNAKE_CASE__										=   max_position_embeddings
						SCREAMING_SNAKE_CASE__										=   type_vocab_size
						SCREAMING_SNAKE_CASE__										=   initializer_range
						SCREAMING_SNAKE_CASE__										=   layer_norm_eps
						SCREAMING_SNAKE_CASE__										=   projection_dim
						SCREAMING_SNAKE_CASE__										=   position_embedding_type


