






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


lowercase  							= logging.get_logger(__name__)

lowercase  							= {
    "bert-base-uncased": "https://huggingface.co/bert-base-uncased/resolve/main/config.json",
    # QDQBERT models can be loaded from any BERT checkpoint, available at https://huggingface.co/models?filter=bert
}




class 			UpperCamelCase_				(      snake_case_    ):



	'''simple docstring'''




	lowerCAmelCase													=			'''qdqbert'''




	def __init__(	self	,      a=3_05_22	,      a=7_68	,      a=12	,      a=12	,      a=30_72	,      a="gelu"	,      a=0.1	,      a=0.1	,      a=5_12	,      a=2	,      a=0.02	,      a=1E-12	,      a=True	,      a=1	,      a=0	,      a=2	,      **a	,      )	->   Tuple:
								super().__init__(pad_token_id=a	,      bos_token_id=a	,      eos_token_id=a	,      **a )

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













def 						__UpperCAmelCase      (					a_):
							return 1 if input_a == 0 else 0





def 						__UpperCAmelCase      (					):
							assert not_gate(0) == 1
							assert not_gate(1) == 0


if __name__ == "__main__":
	print(not_gate(0))
	print(not_gate(1))





