



'''simple docstring'''

from collections import OrderedDict
from typing import Mapping

from ...configuration_utils import PretrainedConfig
from ...onnx import OnnxConfig
from ...utils import logging


_A					:     List[Any]      =logging.get_logger(__name__)

_A					:     Optional[Any]      ={
    '''nghuyong/ernie-1.0-base-zh''': '''https://huggingface.co/nghuyong/ernie-1.0-base-zh/resolve/main/config.json''',
    '''nghuyong/ernie-2.0-base-en''': '''https://huggingface.co/nghuyong/ernie-2.0-base-en/resolve/main/config.json''',
    '''nghuyong/ernie-2.0-large-en''': '''https://huggingface.co/nghuyong/ernie-2.0-large-en/resolve/main/config.json''',
    '''nghuyong/ernie-3.0-base-zh''': '''https://huggingface.co/nghuyong/ernie-3.0-base-zh/resolve/main/config.json''',
    '''nghuyong/ernie-3.0-medium-zh''': '''https://huggingface.co/nghuyong/ernie-3.0-medium-zh/resolve/main/config.json''',
    '''nghuyong/ernie-3.0-mini-zh''': '''https://huggingface.co/nghuyong/ernie-3.0-mini-zh/resolve/main/config.json''',
    '''nghuyong/ernie-3.0-micro-zh''': '''https://huggingface.co/nghuyong/ernie-3.0-micro-zh/resolve/main/config.json''',
    '''nghuyong/ernie-3.0-nano-zh''': '''https://huggingface.co/nghuyong/ernie-3.0-nano-zh/resolve/main/config.json''',
    '''nghuyong/ernie-gram-zh''': '''https://huggingface.co/nghuyong/ernie-gram-zh/resolve/main/config.json''',
    '''nghuyong/ernie-health-zh''': '''https://huggingface.co/nghuyong/ernie-health-zh/resolve/main/config.json''',
}



class 		lowerCamelCase__   (    A  ):




					'''simple docstring'''



					A_         =    """ernie"""




					def __init__(	self					:						Optional[Any]  ,	UpperCamelCase_					:						Dict=3_0522  ,	UpperCamelCase_					:						Tuple=768  ,	UpperCamelCase_					:						List[str]=12  ,	UpperCamelCase_					:						Optional[Any]=12  ,	UpperCamelCase_					:						List[str]=3072  ,	UpperCamelCase_					:						int="gelu"  ,	UpperCamelCase_					:						Dict=0.1  ,	UpperCamelCase_					:						Dict=0.1  ,	UpperCamelCase_					:						Optional[Any]=512  ,	UpperCamelCase_					:						Any=2  ,	UpperCamelCase_					:						Tuple=3  ,	UpperCamelCase_					:						Union[str, Any]=False  ,	UpperCamelCase_					:						List[str]=0.02  ,	UpperCamelCase_					:						str=1E-12  ,	UpperCamelCase_					:						str=0  ,	UpperCamelCase_					:						Dict="absolute"  ,	UpperCamelCase_					:						Any=True  ,	UpperCamelCase_					:						str=None  ,	**UpperCamelCase_					:						Union[str, Any]  ,	)	->							Any:



						'''simple docstring'''





						super().__init__(pad_token_id=UpperCamelCase_  ,	**UpperCamelCase_       )

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






class 		lowerCamelCase__   (    A  ):




					'''simple docstring'''



					@property
					def     __UpperCAmelCase  (	self					:						Union[str, Any]       )	->							Mapping[str, Mapping[int, str]]:



						'''simple docstring'''





						if self.task == "multiple-choice":
							_lowercase       :							str  	=		{0: 'batch', 1: 'choice', 2: 'sequence'}
						else:
							_lowercase       :							str  	=		{0: 'batch', 1: 'sequence'}
						return OrderedDict(
						    [
						        ('input_ids', dynamic_axis),
						        ('attention_mask', dynamic_axis),
						        ('token_type_ids', dynamic_axis),
						        ('task_type_ids', dynamic_axis),
						    ]       )





'''simple docstring'''

def     __UpperCamelCase					(				_lowercase = 1000       )			->      int:
	_lowercase       :							Dict  	=		0
	_lowercase       :							int  	=		0
	while 1:
		num += 3
		if num >= n:
			break
		total += num
		num += 2
		if num >= n:
			break
		total += num
		num += 1
		if num >= n:
			break
		total += num
		num += 3
		if num >= n:
			break
		total += num
		num += 1
		if num >= n:
			break
		total += num
		num += 2
		if num >= n:
			break
		total += num
		num += 3
		if num >= n:
			break
		total += num
	return total


if __name__ == "__main__":
		print(F'''{solution() = }''')
