
"""simple docstring"""






from __future__ import annotations

from typing import Dict

from ...configuration_utils import PretrainedConfig


lowerCamelCase__ :       Dict						     =			{
    "susnato/ernie-m-base_pytorch": "https://huggingface.co/susnato/ernie-m-base_pytorch/blob/main/config.json",
    "susnato/ernie-m-large_pytorch": "https://huggingface.co/susnato/ernie-m-large_pytorch/blob/main/config.json",
}




class 				lowercase__(				_UpperCAmelCase   ):
	'''simple docstring'''

	UpperCamelCase				=  """ernie_m"""
	UpperCamelCase				=  {"dropout": "classifier_dropout", "num_classes": "num_labels"}





	def __init__(						self    :Dict		, lowerCamelCase_    :int = 25_00_02		, lowerCamelCase_    :int = 7_68		, lowerCamelCase_    :int = 12		, lowerCamelCase_    :int = 12		, lowerCamelCase_    :int = 30_72		, lowerCamelCase_    :str = "gelu"		, lowerCamelCase_    :float = 0.1		, lowerCamelCase_    :float = 0.1		, lowerCamelCase_    :int = 5_14		, lowerCamelCase_    :float = 0.0_2		, lowerCamelCase_    :int = 1		, lowerCamelCase_    :float = 1E-05		, lowerCamelCase_    :Any=None		, lowerCamelCase_    :Any=False		, lowerCamelCase_    :Dict=0.0		, **lowerCamelCase_    :List[str]		, )							->			int:







			'''simple docstring'''




			super().__init__(pad_token_id=lowerCamelCase_		, **lowerCamelCase_					)
			SCREAMING_SNAKE_CASE       :     Any				= vocab_size
			SCREAMING_SNAKE_CASE       :     Any				= hidden_size
			SCREAMING_SNAKE_CASE       :     Dict				= num_hidden_layers
			SCREAMING_SNAKE_CASE       :     int				= num_attention_heads
			SCREAMING_SNAKE_CASE       :     Tuple				= intermediate_size
			SCREAMING_SNAKE_CASE       :     Any				= hidden_act
			SCREAMING_SNAKE_CASE       :     Any				= hidden_dropout_prob
			SCREAMING_SNAKE_CASE       :     str				= attention_probs_dropout_prob
			SCREAMING_SNAKE_CASE       :     Tuple				= max_position_embeddings
			SCREAMING_SNAKE_CASE       :     Optional[int]				= initializer_range
			SCREAMING_SNAKE_CASE       :     List[Any]				= layer_norm_eps
			SCREAMING_SNAKE_CASE       :     Optional[Any]				= classifier_dropout
			SCREAMING_SNAKE_CASE       :     Dict				= is_decoder
			SCREAMING_SNAKE_CASE       :     Union[str, Any]				= act_dropout







"""simple docstring"""






def __A						(   a_ :							list		,		a_ :							int		,		a_ :							int = 0		,		a_ :							int = 0     )->							int:




		'''simple docstring'''






		SCREAMING_SNAKE_CASE       :     str				= right or len(a_     ) - 1
		if left > right:
				return -1
		elif list_data[left] == key:
				return left
		elif list_data[right] == key:
				return right
		else:
				return search(a_		,		a_		,		left + 1		,		right - 1     )


if __name__ == "__main__":
					import doctest

					doctest.testmod()





