



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


lowerCAmelCase_ 			=			logging.get_logger(__name__)

lowerCAmelCase_ 			=			{
    '''microsoft/mpnet-base''': '''https://huggingface.co/microsoft/mpnet-base/resolve/main/config.json''',
}





class 			snake_case_     (	__A      ):







			'''simple docstring'''

			SCREAMING_SNAKE_CASE  :     Optional[Any]		    =       "mpnet"







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

									snake_case_     =			vocab_size
									snake_case_     =			hidden_size
									snake_case_     =			num_hidden_layers
									snake_case_     =			num_attention_heads
									snake_case_     =			hidden_act
									snake_case_     =			intermediate_size
									snake_case_     =			hidden_dropout_prob
									snake_case_     =			attention_probs_dropout_prob
									snake_case_     =			max_position_embeddings
									snake_case_     =			initializer_range
									snake_case_     =			layer_norm_eps
									snake_case_     =			relative_attention_num_buckets


def 						__SCREAMING_SNAKE_CASE      (SCREAMING_SNAKE_CASE__						,	SCREAMING_SNAKE_CASE__ ):
						return (input_a, input_a).count(0 ) % 2


def 						__SCREAMING_SNAKE_CASE      ():
						assert xor_gate(0						,	0 ) == 0
						assert xor_gate(0						,	1 ) == 1
						assert xor_gate(1						,	0 ) == 1
						assert xor_gate(1						,	1 ) == 0


if __name__ == "__main__":
					print(xor_gate(0, 0))
					print(xor_gate(0, 1))