




from ...configuration_utils import PretrainedConfig
from ...utils import logging


a_ 		=  logging.get_logger(__name__)

a_ 		=  {
    "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 			_lowerCamelCase    (      _SCREAMING_SNAKE_CASE ):

      """simple docstring"""

      lowerCAmelCase__      :			Any     =       "qdqbert"







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

          __UpperCamelCase			=    vocab_size
          __UpperCamelCase			=    max_position_embeddings
          __UpperCamelCase			=    hidden_size
          __UpperCamelCase			=    num_hidden_layers
          __UpperCamelCase			=    num_attention_heads
          __UpperCamelCase			=    intermediate_size
          __UpperCamelCase			=    hidden_act
          __UpperCamelCase			=    hidden_dropout_prob
          __UpperCamelCase			=    attention_probs_dropout_prob
          __UpperCamelCase			=    initializer_range
          __UpperCamelCase			=    type_vocab_size
          __UpperCamelCase			=    layer_norm_eps
          __UpperCamelCase			=    use_cache












def       lowerCAmelCase_      (	lowerCamelCase:							str    )       ->      int:


      '''simple docstring'''




      lowerCamelCase__   	=					53_81
      for x in s:
            lowerCamelCase__   	=					((hash_value << 5) + hash_value) + ord(lowerCamelCase    )
      return hash_value & 0Xffff_ffff