




from collections import OrderedDict
from typing import Mapping

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


lowerCamelCase__				:     Any			       =							logging.get_logger(__name__)

lowerCamelCase__				:     Tuple			       =							{
    '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_							(   _SCREAMING_SNAKE_CASE      ):


 '''simple docstring'''







 lowercase_       					=					"ernie"



 def __init__(							self						:	Optional[Any]       ,       _lowerCAmelCase						:	Tuple=30_522       ,       _lowerCAmelCase						:	Any=768       ,       _lowerCAmelCase						:	Optional[int]=12       ,       _lowerCAmelCase						:	Dict=12       ,       _lowerCAmelCase						:	List[str]=3_072       ,       _lowerCAmelCase						:	Tuple="gelu"       ,       _lowerCAmelCase						:	List[str]=0.1       ,       _lowerCAmelCase						:	Tuple=0.1       ,       _lowerCAmelCase						:	Union[str, Any]=512       ,       _lowerCAmelCase						:	List[str]=2       ,       _lowerCAmelCase						:	List[Any]=3       ,       _lowerCAmelCase						:	List[Any]=False       ,       _lowerCAmelCase						:	Union[str, Any]=0.02       ,       _lowerCAmelCase						:	Union[str, Any]=1E-12       ,       _lowerCAmelCase						:	Any=0       ,       _lowerCAmelCase						:	List[Any]="absolute"       ,       _lowerCAmelCase						:	str=True       ,       _lowerCAmelCase						:	Tuple=None       ,       **_lowerCAmelCase						:	Dict       ,       ):
       super().__init__(pad_token_id=_lowerCAmelCase       ,       **_lowerCAmelCase		)

       SCREAMING_SNAKE_CASE_					=    vocab_size
       SCREAMING_SNAKE_CASE_					=    hidden_size
       SCREAMING_SNAKE_CASE_					=    num_hidden_layers
       SCREAMING_SNAKE_CASE_					=    num_attention_heads
       SCREAMING_SNAKE_CASE_					=    hidden_act
       SCREAMING_SNAKE_CASE_					=    intermediate_size
       SCREAMING_SNAKE_CASE_					=    hidden_dropout_prob
       SCREAMING_SNAKE_CASE_					=    attention_probs_dropout_prob
       SCREAMING_SNAKE_CASE_					=    max_position_embeddings
       SCREAMING_SNAKE_CASE_					=    type_vocab_size
       SCREAMING_SNAKE_CASE_					=    task_type_vocab_size
       SCREAMING_SNAKE_CASE_					=    use_task_id
       SCREAMING_SNAKE_CASE_					=    initializer_range
       SCREAMING_SNAKE_CASE_					=    layer_norm_eps
       SCREAMING_SNAKE_CASE_					=    position_embedding_type
       SCREAMING_SNAKE_CASE_					=    use_cache
       SCREAMING_SNAKE_CASE_					=    classifier_dropout





class  lowerCamelCase_							(   _SCREAMING_SNAKE_CASE      ):


 '''simple docstring'''







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





from collections import defaultdict

def       UpperCAmelCase_							(   __UpperCAmelCase		:			int = 5							)      ->				int:
      SCREAMING_SNAKE_CASE_					=    defaultdict(__UpperCAmelCase							)
      SCREAMING_SNAKE_CASE_					=    0

      while True:
            SCREAMING_SNAKE_CASE_					=    get_digits(__UpperCAmelCase							)
            freqs[digits].append(__UpperCAmelCase							)

            if len(freqs[digits]							) == max_base:
                  SCREAMING_SNAKE_CASE_					=    freqs[digits][0] ** 3
                  return base

            num += 1

def       UpperCAmelCase_							(   __UpperCAmelCase		:			int							)      ->				str:
      return "".join(sorted(str(num**3							)							)							)


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