



'''simple docstring'''





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


A__    :   Optional[Any]           =					logging.get_logger(__name__)

A__    :   Union[str, Any]           =					{
    '''studio-ousia/luke-base''': '''https://huggingface.co/studio-ousia/luke-base/resolve/main/config.json''',
    '''studio-ousia/luke-large''': '''https://huggingface.co/studio-ousia/luke-large/resolve/main/config.json''',
}



class  snake_case__						(    SCREAMING_SNAKE_CASE_				):
 A__				= '''luke'''
 def __init__(   self						:							Optional[Any]      ,     __a						:							int=50267      ,     __a						:							Dict=500000      ,     __a						:							List[str]=768      ,     __a						:							Any=256      ,     __a						:							Dict=12      ,     __a						:							List[Any]=12      ,     __a						:							Optional[Any]=3072      ,     __a						:							List[str]="gelu"      ,     __a						:							Any=0.1      ,     __a						:							Any=0.1      ,     __a						:							Optional[Any]=512      ,     __a						:							Tuple=2      ,     __a						:							Tuple=0.0_2      ,     __a						:							Tuple=1e-12      ,     __a						:							Dict=True      ,     __a						:							Dict=None      ,     __a						:							Union[str, Any]=1      ,     __a						:							Optional[int]=0      ,     __a						:							Tuple=2      ,     **__a						:							Union[str, Any]      ,     )      ->   Any:







       '''simple docstring'''
       super().__init__(pad_token_id=__a      ,     bos_token_id=__a      ,     eos_token_id=__a      ,     **__a  )

       __snake_case :   List[Any]													=    vocab_size
       __snake_case :   str													=    entity_vocab_size
       __snake_case :   Tuple													=    hidden_size
       __snake_case :   Optional[Any]													=    entity_emb_size
       __snake_case :   Union[str, Any]													=    num_hidden_layers
       __snake_case :   Any													=    num_attention_heads
       __snake_case :   List[str]													=    hidden_act
       __snake_case :   int													=    intermediate_size
       __snake_case :   Dict													=    hidden_dropout_prob
       __snake_case :   str													=    attention_probs_dropout_prob
       __snake_case :   Optional[Any]													=    max_position_embeddings
       __snake_case :   List[str]													=    type_vocab_size
       __snake_case :   Dict													=    initializer_range
       __snake_case :   Optional[int]													=    layer_norm_eps
       __snake_case :   Optional[Any]													=    use_entity_aware_attention
       __snake_case :   str													=    classifier_dropout








'''simple docstring'''





from ..utils import DummyObject, requires_backends



class  snake_case__						(    metaclass=SCREAMING_SNAKE_CASE_				):
 A__				= ['''note_seq''']
 def __init__(   self						:							Tuple      ,     *__a						:							int      ,     **__a						:							List[str]  )      ->   Any:







       '''simple docstring'''
       requires_backends(self      ,     ['note_seq']  )
 @classmethod
 def A_   (   cls						:							Optional[Any]      ,     *__a						:							Optional[Any]      ,     **__a						:							List[str]  )      ->   Union[str, Any]:







       '''simple docstring'''
       requires_backends(cls      ,     ['note_seq']  )





 @classmethod
 def A_   (   cls						:							List[Any]      ,     *__a						:							Union[str, Any]      ,     **__a						:							List[str]  )      ->   Any:







       '''simple docstring'''
       requires_backends(cls      ,     ['note_seq']  )



