





'''simple docstring'''
from collections import OrderedDict
from typing import Mapping

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


lowerCamelCase			:				str 			=					logging.get_logger(__name__)

lowerCamelCase			:				Optional[Any] 			=					{
    '''camembert-base''': '''https://huggingface.co/camembert-base/resolve/main/config.json''',
    '''umberto-commoncrawl-cased-v1''': (
        '''https://huggingface.co/Musixmatch/umberto-commoncrawl-cased-v1/resolve/main/config.json'''
    ),
    '''umberto-wikipedia-uncased-v1''': (
        '''https://huggingface.co/Musixmatch/umberto-wikipedia-uncased-v1/resolve/main/config.json'''
    ),
}







class 							A__   (	SCREAMING_SNAKE_CASE__  ):
  A__					=    'camembert'





  def __init__(		self				:     List[str]							, _a				:     int=3_0522							, _a				:     str=768							, _a				:     Tuple=12							, _a				:     Union[str, Any]=12							, _a				:     str=3072							, _a				:     List[Any]="gelu"							, _a				:     int=0.1							, _a				:     Tuple=0.1							, _a				:     Any=512							, _a				:     str=2							, _a				:     Tuple=0.02							, _a				:     int=1e-12							, _a				:     Tuple=1							, _a				:     Any=0							, _a				:     Any=2							, _a				:     Dict="absolute"							, _a				:     Any=True							, _a				:     Union[str, Any]=None							, **_a				:     Any							, )     ->   Tuple:





       '''simple docstring'''






       super().__init__(pad_token_id=_SCREAMING_SNAKE_CASE							, bos_token_id=_SCREAMING_SNAKE_CASE							, eos_token_id=_SCREAMING_SNAKE_CASE							, **_SCREAMING_SNAKE_CASE			)

       _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							   =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 							A__   (	SCREAMING_SNAKE_CASE__  ):





  @property
  def 						A  (		self				:     Optional[Any]			)     ->   Mapping[str, Mapping[int, str]]:





       '''simple docstring'''






       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),
           ]			)



'''simple docstring'''
from ..utils import DummyObject, requires_backends







class 							A__   (	metaclass=A__  ):
  A__					=    ['note_seq']





  def __init__(		self				:     List[str]							, *_a				:     Any							, **_a				:     Dict			)     ->   Optional[Any]:





       '''simple docstring'''






       requires_backends(self							, ['note_seq']			)





  @classmethod
  def 						A  (		cls				:     Any							, *_a				:     str							, **_a				:     List[Any]			)     ->   List[str]:





       '''simple docstring'''






       requires_backends(cls							, ['note_seq']			)





  @classmethod
  def 						A  (		cls				:     int							, *_a				:     Optional[Any]							, **_a				:     Optional[int]			)     ->   Tuple:





       '''simple docstring'''






       requires_backends(cls							, ['note_seq']			)
