
'''simple docstring'''






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 							_snake_case     (  snake_case__ ):
	"""simple docstring"""





	_UpperCamelCase							:  Dict								=		'''qdqbert'''




	def __init__(						self				: Tuple					,						UpperCamelCase_				: List[Any]=30522					,						UpperCamelCase_				: List[Any]=768					,						UpperCamelCase_				: Union[str, Any]=12					,						UpperCamelCase_				: Optional[Any]=12					,						UpperCamelCase_				: List[str]=3072					,						UpperCamelCase_				: Optional[int]="gelu"					,						UpperCamelCase_				: str=0.1					,						UpperCamelCase_				: Optional[Any]=0.1					,						UpperCamelCase_				: Optional[Any]=512					,						UpperCamelCase_				: str=2					,						UpperCamelCase_				: Dict=0.0_2					,						UpperCamelCase_				: Tuple=1E-12					,						UpperCamelCase_				: Optional[Any]=True					,						UpperCamelCase_				: Optional[int]=1					,						UpperCamelCase_				: int=0					,						UpperCamelCase_				: str=2					,						**UpperCamelCase_				: Any					,						):
			super().__init__(pad_token_id=_SCREAMING_SNAKE_CASE					,						bos_token_id=_SCREAMING_SNAKE_CASE					,						eos_token_id=_SCREAMING_SNAKE_CASE					,						**_SCREAMING_SNAKE_CASE      )

			lowerCAmelCase_   :       str    							=vocab_size
			lowerCAmelCase_   :       Union[str, Any]    							=max_position_embeddings
			lowerCAmelCase_   :       int    							=hidden_size
			lowerCAmelCase_   :       Optional[int]    							=num_hidden_layers
			lowerCAmelCase_   :       Tuple    							=num_attention_heads
			lowerCAmelCase_   :       Optional[Any]    							=intermediate_size
			lowerCAmelCase_   :       Dict    							=hidden_act
			lowerCAmelCase_   :       str    							=hidden_dropout_prob
			lowerCAmelCase_   :       Union[str, Any]    							=attention_probs_dropout_prob
			lowerCAmelCase_   :       Tuple    							=initializer_range
			lowerCAmelCase_   :       Union[str, Any]    							=type_vocab_size
			lowerCAmelCase_   :       List[Any]    							=layer_norm_eps
			lowerCAmelCase_   :       Dict    							=use_cache














def   snake_case		(				UpperCAmelCase						:							Optional[int],    UpperCAmelCase						:							str ):
				# "Simpson Rule"
				# int(f) = delta_x/2 * (b-a)/3*(f1 + 4f2 + 2f_3 + ... + fn)
				A									=   (boundary[1] - boundary[0]) / steps
				A									=   boundary[0]
				A									=   boundary[1]
				A									=   make_points(UpperCAmelCase,    UpperCAmelCase,    UpperCAmelCase )
				A									=   0.0
				y += (h / 3.0) * f(UpperCAmelCase )
				A									=   2
				for i in x_i:
								y += (h / 3) * (4 - 2 * (cnt % 2)) * f(UpperCAmelCase )
								cnt += 1
				y += (h / 3.0) * f(UpperCAmelCase )
				return y







def   snake_case		(				UpperCAmelCase						:							int,    UpperCAmelCase						:							int,    UpperCAmelCase						:							List[Any] ):
				A									=   a + h
				while x < (b - h):
								yield x
								A									=   x + h







def   snake_case		(				UpperCAmelCase						:							str ):  # enter your function here
				A									=   (x - 0) * (x - 0)
				return y







def   snake_case		(				):
				A									=   0.0  # Lower bound of integration
				A									=   1.0  # Upper bound of integration
				A									=   10.0  # define number of steps or resolution
				A									=   [a, b]  # define boundary of integration
				A									=   method_a(UpperCAmelCase,    UpperCAmelCase )
				print(f'y = {y}' )


if __name__ == "__main__":
					main()





