




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


a_   		=     logging.get_logger(__name__)

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

      """simple docstring"""

      lowerCAmelCase__			: List[Any]    =					"luke"







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

          __UpperCamelCase  		=						vocab_size
          __UpperCamelCase  		=						entity_vocab_size
          __UpperCamelCase  		=						hidden_size
          __UpperCamelCase  		=						entity_emb_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  		=						use_entity_aware_attention
          __UpperCamelCase  		=						classifier_dropout












from abc import ABC, abstractmethod
from argparse import ArgumentParser

class  _lowerCamelCase						(			_SCREAMING_SNAKE_CASE   ):

      """simple docstring"""

      @staticmethod
      @abstractmethod
      def       snake_case	(     snake_case					: ArgumentParser				):
          raise NotImplementedError()







      @abstractmethod
      def       snake_case	(     self					: Optional[Any]				):
          raise NotImplementedError()






