





'''simple docstring'''

from collections import OrderedDict
from typing import Mapping

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


UpperCAmelCase       :		Dict		=				logging.get_logger(__name__)

UpperCAmelCase       :		List[str]		=				{
    '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__       ):
  _lowercase	:						Optional[Any]							       =					"""ernie"""







  def __init__(		self  ,  lowercase__=30_522  ,  lowercase__=768  ,  lowercase__=12  ,  lowercase__=12  ,  lowercase__=3_072  ,  lowercase__="gelu"  ,  lowercase__=0.1  ,  lowercase__=0.1  ,  lowercase__=512  ,  lowercase__=2  ,  lowercase__=3  ,  lowercase__=False  ,  lowercase__=0.02  ,  lowercase__=1E-1_2  ,  lowercase__=0  ,  lowercase__="absolute"  ,  lowercase__=True  ,  lowercase__=None  ,  **lowercase__  ,  )		->    Optional[int]:






        """simple docstring"""





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

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





class lowerCamelCase    (a__       ):







  @property
  def 					UpperCAmelCase_					(		self		)		->    Mapping[str, Mapping[int, str]]:






        """simple docstring"""





        if self.task == "multiple-choice":
              _snake_case		:						Optional[int]         =  {0: '''batch''', 1: '''choice''', 2: '''sequence'''}
        else:
              _snake_case		:						Tuple         =  {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'''

import math




def  _a     (				lowerCAmelCase_						):





      """simple docstring"""



      if 1 < number < 4:
            # 2 and 3 are primes
            return True
      elif number < 2 or number % 2 == 0 or number % 3 == 0:
            # Negatives, 0, 1, all even numbers, all multiples of 3 are not primes
            return False

      # All primes number are in format of 6k +/- 1
      for i in range(5      ,   int(math.sqrt(lowerCAmelCase_						) + 1						)      ,   6						):
            if number % i == 0 or number % (i + 2) == 0:
                  return False
      return True




def  _a     (				lowerCAmelCase_ = 2_000_000						):





      """simple docstring"""



      return sum(num for num in range(3      ,   lowerCAmelCase_      ,   2						) if is_prime(lowerCAmelCase_						)						) + 2 if n > 2 else 0


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


