code: 
  
  
  
  from collections import OrderedDict
  from typing import Mapping
  
  from ...configuration_utils import PretrainedConfig
  from ...onnx import OnnxConfig
  from ...utils import logging
  
  
  __UpperCAmelCase      = logging.get_logger(__name__)
  
  __UpperCAmelCase      = {
      '''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_	(						a__							):
        UpperCAmelCase__       :      Dict       =						SQUEEZEBERT_PRETRAINED_CONFIG_ARCHIVE_MAP
        UpperCAmelCase__       :      Optional[Any]       =						"squeezebert"
        def __init__(    self,    SCREAMING_SNAKE_CASE_=3_0522,    SCREAMING_SNAKE_CASE_=768,    SCREAMING_SNAKE_CASE_=12,    SCREAMING_SNAKE_CASE_=12,    SCREAMING_SNAKE_CASE_=3072,    SCREAMING_SNAKE_CASE_="gelu",    SCREAMING_SNAKE_CASE_=0.1,    SCREAMING_SNAKE_CASE_=0.1,    SCREAMING_SNAKE_CASE_=512,    SCREAMING_SNAKE_CASE_=2,    SCREAMING_SNAKE_CASE_=0.02,    SCREAMING_SNAKE_CASE_=1e-12,    SCREAMING_SNAKE_CASE_=0,    SCREAMING_SNAKE_CASE_=768,    SCREAMING_SNAKE_CASE_=4,    SCREAMING_SNAKE_CASE_=4,    SCREAMING_SNAKE_CASE_=4,    SCREAMING_SNAKE_CASE_=1,    SCREAMING_SNAKE_CASE_=4,    SCREAMING_SNAKE_CASE_=4,    **SCREAMING_SNAKE_CASE_,    )  ->	Tuple:
           super().__init__(pad_token_id=SCREAMING_SNAKE_CASE_,    **SCREAMING_SNAKE_CASE_ )
  
           UpperCamelCase					:						Dict					=			vocab_size
           UpperCamelCase					:						Dict					=			hidden_size
           UpperCamelCase					:						Dict					=			num_hidden_layers
           UpperCamelCase					:						Union[str, Any]					=			num_attention_heads
           UpperCamelCase					:						List[str]					=			hidden_act
           UpperCamelCase					:						List[Any]					=			intermediate_size
           UpperCamelCase					:						int					=			hidden_dropout_prob
           UpperCamelCase					:						Tuple					=			attention_probs_dropout_prob
           UpperCamelCase					:						List[str]					=			max_position_embeddings
           UpperCamelCase					:						List[str]					=			type_vocab_size
           UpperCamelCase					:						Union[str, Any]					=			initializer_range
           UpperCamelCase					:						Any					=			layer_norm_eps
           UpperCamelCase					:						Union[str, Any]					=			embedding_size
           UpperCamelCase					:						int					=			q_groups
           UpperCamelCase					:						str					=			k_groups
           UpperCamelCase					:						Dict					=			v_groups
           UpperCamelCase					:						List[Any]					=			post_attention_groups
           UpperCamelCase					:						List[Any]					=			intermediate_groups
           UpperCamelCase					:						Optional[int]					=			output_groups
  
  
  
  
  
  
  class        lowerCAmelCase_	(						a__							):
        @property
        def       snake_case_ (    self )  ->	Mapping[str, Mapping[int, str]]:
           if self.task == "multiple-choice":
              UpperCamelCase					:						Union[str, Any]					=			{0: 'batch', 1: 'choice', 2: 'sequence'}
           else:
              UpperCamelCase					:						int					=			{0: 'batch', 1: 'sequence'}
           return OrderedDict(
               [
                   ('input_ids', dynamic_axis),
                   ('attention_mask', dynamic_axis),
                   ('token_type_ids', dynamic_axis),
               ] )
  
  
  
  
style_context: 
  
  
  
  from ...configuration_utils import PretrainedConfig
  from ...utils import logging
  
  
  __UpperCAmelCase      = logging.get_logger(__name__)
  
  __UpperCAmelCase      = {
      '''microsoft/mpnet-base''': '''https://huggingface.co/microsoft/mpnet-base/resolve/main/config.json''',
  }
  
  
  
  class        lowerCAmelCase_	(						a__							):
         UpperCAmelCase__       :      Union[str, Any]       =						"mpnet"
         def __init__(    self,    SCREAMING_SNAKE_CASE_=3_0527,    SCREAMING_SNAKE_CASE_=768,    SCREAMING_SNAKE_CASE_=12,    SCREAMING_SNAKE_CASE_=12,    SCREAMING_SNAKE_CASE_=3072,    SCREAMING_SNAKE_CASE_="gelu",    SCREAMING_SNAKE_CASE_=0.1,    SCREAMING_SNAKE_CASE_=0.1,    SCREAMING_SNAKE_CASE_=512,    SCREAMING_SNAKE_CASE_=0.02,    SCREAMING_SNAKE_CASE_=1e-12,    SCREAMING_SNAKE_CASE_=32,    SCREAMING_SNAKE_CASE_=1,    SCREAMING_SNAKE_CASE_=0,    SCREAMING_SNAKE_CASE_=2,    **SCREAMING_SNAKE_CASE_,    )  ->	Optional[int]:
            super().__init__(pad_token_id=SCREAMING_SNAKE_CASE_,    bos_token_id=SCREAMING_SNAKE_CASE_,    eos_token_id=SCREAMING_SNAKE_CASE_,    **SCREAMING_SNAKE_CASE_ )
  
            UpperCamelCase					:						Any					=			vocab_size
            UpperCamelCase					:						Optional[Any]					=			hidden_size
            UpperCamelCase					:						Union[str, Any]					=			num_hidden_layers
            UpperCamelCase					:						Optional[int]					=			num_attention_heads
            UpperCamelCase					:						Optional[Any]					=			hidden_act
            UpperCamelCase					:						str					=			intermediate_size
            UpperCamelCase					:						Optional[Any]					=			hidden_dropout_prob
            UpperCamelCase					:						Union[str, Any]					=			attention_probs_dropout_prob
            UpperCamelCase					:						List[Any]					=			max_position_embeddings
            UpperCamelCase					:						Union[str, Any]					=			initializer_range
            UpperCamelCase					:						List[str]					=			layer_norm_eps
            UpperCamelCase					:						str					=			relative_attention_num_buckets
  
  
  
  