"""simple docstring"""






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


_A        =     logging.get_logger(__name__)

_A        =     {"""openai-gpt""": """https://huggingface.co/openai-gpt/resolve/main/config.json"""}

class lowerCamelCase		(__snake_case   ):






					'''simple docstring'''


					a 						=		"openai-gpt"
					a 						=		{
					    "max_position_embeddings": "n_positions",
					    "hidden_size": "n_embd",
					    "num_attention_heads": "n_head",
					    "num_hidden_layers": "n_layer",
					}



					def __init__(    self      :					Union[str, Any] ,			_snake_case      :					int=40478 ,			_snake_case      :					Optional[int]=512 ,			_snake_case      :					int=768 ,			_snake_case      :					Dict=12 ,			_snake_case      :					int=12 ,			_snake_case      :					Union[str, Any]="gelu" ,			_snake_case      :					Dict=0.1 ,			_snake_case      :					str=0.1 ,			_snake_case      :					str=0.1 ,			_snake_case      :					List[str]=1e-5 ,			_snake_case      :					Optional[Any]=0.02 ,			_snake_case      :					Dict="cls_index" ,			_snake_case      :					Tuple=True ,			_snake_case      :					Any=None ,			_snake_case      :					List[Any]=True ,			_snake_case      :					Optional[int]=0.1 ,			**_snake_case      :					Optional[int] ,			)				->							List[str]:
									SCREAMING_SNAKE_CASE__			=					vocab_size
									SCREAMING_SNAKE_CASE__			=					n_positions
									SCREAMING_SNAKE_CASE__			=					n_embd
									SCREAMING_SNAKE_CASE__			=					n_layer
									SCREAMING_SNAKE_CASE__			=					n_head
									SCREAMING_SNAKE_CASE__			=					afn
									SCREAMING_SNAKE_CASE__			=					resid_pdrop
									SCREAMING_SNAKE_CASE__			=					embd_pdrop
									SCREAMING_SNAKE_CASE__			=					attn_pdrop
									SCREAMING_SNAKE_CASE__			=					layer_norm_epsilon
									SCREAMING_SNAKE_CASE__			=					initializer_range
									SCREAMING_SNAKE_CASE__			=					summary_type
									SCREAMING_SNAKE_CASE__			=					summary_use_proj
									SCREAMING_SNAKE_CASE__			=					summary_activation
									SCREAMING_SNAKE_CASE__			=					summary_first_dropout
									SCREAMING_SNAKE_CASE__			=					summary_proj_to_labels
									super().__init__(**_snake_case		)






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




@dataclass
class   __lowercase						:
	_A       =   None
	_A       =   False
	_A       =   False
	_A       =   False
	_A       =   None
	_A       =   None
	_A       =   False
	_A       =   False
	_A       =   False
	_A       =   True
	_A       =   None
	_A       =   1
	_A       =   None
	_A       =   False
	_A       =   None
	_A       =   None






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




