



'''simple docstring'''





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


_lowerCAmelCase										=     logging.get_logger(__name__)

_lowerCAmelCase										=     {
    '''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_(    SCREAMING_SNAKE_CASE_					):
  '''simple docstring'''




  __lowercase							:				List[Any]           =				'''luke'''




  def __init__(   self  ,__UpperCAmelCase=5_0267  ,__UpperCAmelCase=50_0000  ,__UpperCAmelCase=768  ,__UpperCAmelCase=256  ,__UpperCAmelCase=12  ,__UpperCAmelCase=12  ,__UpperCAmelCase=3072  ,__UpperCAmelCase="gelu"  ,__UpperCAmelCase=0.1  ,__UpperCAmelCase=0.1  ,__UpperCAmelCase=512  ,__UpperCAmelCase=2  ,__UpperCAmelCase=0.0_2  ,__UpperCAmelCase=1E-12  ,__UpperCAmelCase=True  ,__UpperCAmelCase=None  ,__UpperCAmelCase=1  ,__UpperCAmelCase=0  ,__UpperCAmelCase=2  ,**__UpperCAmelCase  ,)   ->		List[str]:
      super().__init__(pad_token_id=__UpperCAmelCase  ,bos_token_id=__UpperCAmelCase  ,eos_token_id=__UpperCAmelCase  ,**__UpperCAmelCase				)

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







'''simple docstring'''





import copy
from dataclasses import dataclass
from pathlib import Path
from typing import Dict, Optional, Union






@dataclass
class 	lowerCAmelCase_:
  '''simple docstring'''




  __lowercase							:				Optional[Union[str, Path]]           =				None
  __lowercase							:				bool           =				False
  __lowercase							:				bool           =				False
  __lowercase							:				bool           =				False
  __lowercase							:				Optional[Dict]           =				None
  __lowercase							:				Optional[str]           =				None
  __lowercase							:				bool           =				False
  __lowercase							:				bool           =				False
  __lowercase							:				bool           =				False
  __lowercase							:				bool           =				True
  __lowercase							:				Optional[int]           =				None
  __lowercase							:				int           =				1
  __lowercase							:				Optional[Union[str, bool]]           =				None
  __lowercase							:				bool           =				False
  __lowercase							:				Optional[Dict]           =				None
  __lowercase							:				Optional[str]           =				None




  def 							UpperCAmelCase_     (   self				)   ->		"DownloadConfig":
      return self.__class__(**{k: copy.deepcopy(__UpperCAmelCase				) for k, v in self.__dict__.items()}				)


