





from ... import PretrainedConfig


__A				:    str       =   {
    "sijunhe/nezha-cn-base": "https://huggingface.co/sijunhe/nezha-cn-base/resolve/main/config.json",
}

class 	A_       (a_			):
	UpperCAmelCase__					=			NEZHA_PRETRAINED_CONFIG_ARCHIVE_MAP
	UpperCAmelCase__					=			'''nezha'''
	def __init__(    self							,					_A=2_1_1_2_8							,					_A=7_6_8							,					_A=1_2							,					_A=1_2							,					_A=3_0_7_2							,					_A="gelu"							,					_A=0.1							,					_A=0.1							,					_A=5_1_2							,					_A=6_4							,					_A=2							,					_A=0.02							,					_A=1E-12							,					_A=0.1							,					_A=0							,					_A=2							,					_A=3							,					_A=True							,					**_A							,					):






				'''simple docstring'''







				super().__init__(pad_token_id=_A							,					bos_token_id=_A							,					eos_token_id=_A							,					**_A		)

				UpperCAmelCase   		=				vocab_size
				UpperCAmelCase   		=				hidden_size
				UpperCAmelCase   		=				num_hidden_layers
				UpperCAmelCase   		=				num_attention_heads
				UpperCAmelCase   		=				hidden_act
				UpperCAmelCase   		=				intermediate_size
				UpperCAmelCase   		=				hidden_dropout_prob
				UpperCAmelCase   		=				attention_probs_dropout_prob
				UpperCAmelCase   		=				max_position_embeddings
				UpperCAmelCase   		=				max_relative_position
				UpperCAmelCase   		=				type_vocab_size
				UpperCAmelCase   		=				initializer_range
				UpperCAmelCase   		=				layer_norm_eps
				UpperCAmelCase   		=				classifier_dropout
				UpperCAmelCase   		=				use_cache










from __future__ import annotations

from collections import namedtuple





def 						__SCREAMING_SNAKE_CASE  (				UpperCamelCase__			,			UpperCamelCase__			,			UpperCamelCase__ )  ->				tuple:







			'''simple docstring'''

			UpperCAmelCase   		=				namedtuple('''result'''			,			'''name value''' )
			if (voltage, current, power).count(0 ) != 1:
						raise ValueError('''Only one argument must be 0''' )
			elif power < 0:
						raise ValueError(
						    '''Power cannot be negative in any electrical/electronics system''' )
			elif voltage == 0:
						return result('''voltage'''			,			power / current )
			elif current == 0:
						return result('''current'''			,			power / voltage )
			elif power == 0:
						return result('''power'''			,			float(round(abs(voltage * current )			,			2 ) ) )
			else:
						raise ValueError('''Exactly one argument must be 0''' )


if __name__ == "__main__":
				import doctest

				doctest.testmod()



