code: 
  
  
  
  
  
  
  """simple docstring"""
  
  
  
  
  
  
  from collections import OrderedDict
  from typing import Mapping
  
  from ...configuration_utils import PretrainedConfig
  from ...onnx import OnnxConfig
  from ...utils import logging
  
  
  A_			  =    logging.get_logger(__name__)
  
  A_			  =    {
      "squeezebert/squeezebert-uncased": (
          "https://huggingface.co/squeezebert/squeezebert-uncased/resolve/main/config.json"
      ),
      "squeezebert/squeezebert-mnli": "https://huggingface.co/squeezebert/squeezebert-mnli/resolve/main/config.json",
      "squeezebert/squeezebert-mnli-headless": (
          "https://huggingface.co/squeezebert/squeezebert-mnli-headless/resolve/main/config.json"
      ),
  }
  class 						__lowerCAmelCase   (			UpperCAmelCase       ):
  
  
  
  
  
  
  
    '''simple docstring'''
  
  
    __lowerCamelCase       :    Tuple     	=			SQUEEZEBERT_PRETRAINED_CONFIG_ARCHIVE_MAP
    __lowerCamelCase       :    Dict     	=			"squeezebert"
    def __init__(      self:		Union[str, Any]				,			UpperCamelCase_:		List[Any]=3_0522				,			UpperCamelCase_:		Optional[int]=768				,			UpperCamelCase_:		int=12				,			UpperCamelCase_:		Union[str, Any]=12				,			UpperCamelCase_:		List[Any]=3072				,			UpperCamelCase_:		Any="gelu"				,			UpperCamelCase_:		Tuple=0.1				,			UpperCamelCase_:		List[str]=0.1				,			UpperCamelCase_:		int=512				,			UpperCamelCase_:		List[str]=2				,			UpperCamelCase_:		List[str]=0.02				,			UpperCamelCase_:		List[str]=1e-1_2				,			UpperCamelCase_:		Tuple=0				,			UpperCamelCase_:		Any=768				,			UpperCamelCase_:		List[Any]=4				,			UpperCamelCase_:		Optional[Any]=4				,			UpperCamelCase_:		Any=4				,			UpperCamelCase_:		Any=1				,			UpperCamelCase_:		Any=4				,			UpperCamelCase_:		int=4				,			**UpperCamelCase_:		str				,			):
       super().__init__(pad_token_id=UpperCamelCase_				,			**UpperCamelCase_					)
  
       UpperCamelCase_     =vocab_size
       UpperCamelCase_     =hidden_size
       UpperCamelCase_     =num_hidden_layers
       UpperCamelCase_     =num_attention_heads
       UpperCamelCase_     =hidden_act
       UpperCamelCase_     =intermediate_size
       UpperCamelCase_     =hidden_dropout_prob
       UpperCamelCase_     =attention_probs_dropout_prob
       UpperCamelCase_     =max_position_embeddings
       UpperCamelCase_     =type_vocab_size
       UpperCamelCase_     =initializer_range
       UpperCamelCase_     =layer_norm_eps
       UpperCamelCase_     =embedding_size
       UpperCamelCase_     =q_groups
       UpperCamelCase_     =k_groups
       UpperCamelCase_     =v_groups
       UpperCamelCase_     =post_attention_groups
       UpperCamelCase_     =intermediate_groups
       UpperCamelCase_     =output_groups
  
  
  
  
  class 						__lowerCAmelCase   (			UpperCAmelCase       ):
  
  
  
  
  
  
  
    '''simple docstring'''
  
  
    @property
    def 					UpperCamelCase__   (      self:		List[Any]					):
       if self.task == "multiple-choice":
          UpperCamelCase_     ={0: "batch", 1: "choice", 2: "sequence"}
       else:
          UpperCamelCase_     ={0: "batch", 1: "sequence"}
       return OrderedDict(
           [
               ("input_ids", dynamic_axis),
               ("attention_mask", dynamic_axis),
               ("token_type_ids", dynamic_axis),
           ]					)
  
style_context: 
  
  
  
  
  
  
  """simple docstring"""
  
  
  
  
  
  
  from .hash_table import HashTable
  from .number_theory.prime_numbers import is_prime, next_prime
  class 						__lowerCAmelCase   (			UpperCAmelCase       ):
  
  
  
  
  
  
  
    '''simple docstring'''
  
  
    def __init__(      self:		List[Any]				,			*UpperCamelCase_:		Dict				,			**UpperCamelCase_:		Optional[int]					):
       super().__init__(*UpperCamelCase_				,			**UpperCamelCase_					)
    def 					UpperCamelCase__   (      self:		Any				,			UpperCamelCase_:		Optional[int]				,			UpperCamelCase_:		Optional[int]					):
       UpperCamelCase_     =(
           next_prime(value % self.size_table					)
           if not is_prime(value % self.size_table					)
           else value % self.size_table
       )  # gt = bigger than
       return next_prime_gt - (data % next_prime_gt)
    def 					UpperCamelCase__   (      self:		str				,			UpperCamelCase_:		List[str]				,			UpperCamelCase_:		str				,			UpperCamelCase_:		Tuple					):
       return (increment * self.__hash_function_a(UpperCamelCase_				,			UpperCamelCase_					)) % self.size_table
  
  
  
  
  
    def 					UpperCamelCase__   (      self:		str				,			UpperCamelCase_:		int				,			UpperCamelCase_:		str=None					):
       UpperCamelCase_     =1
       UpperCamelCase_     =self.hash_function(UpperCamelCase_					)
  
       while self.values[new_key] is not None and self.values[new_key] != key:
          UpperCamelCase_     =(
              self.__hash_double_function(UpperCamelCase_				,			UpperCamelCase_				,			UpperCamelCase_					)
              if self.balanced_factor() >= self.lim_charge
              else None
          )
          if new_key is None:
             break
          else:
             i += 1
  
       return new_key
  