"""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  _snake_case     (					a__		):
						snake_case__			  =			"openai-gpt"
						snake_case__			  =			{
						    "max_position_embeddings": "n_positions",
						    "hidden_size": "n_embd",
						    "num_attention_heads": "n_head",
						    "num_hidden_layers": "n_layer",
						}






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





from typing import TYPE_CHECKING

from ...utils import _LazyModule


__A  =				{'''processing_wav2vec2_with_lm''': ['''Wav2Vec2ProcessorWithLM''']}


if TYPE_CHECKING:
				from .processing_wavaveca_with_lm import WavaVecaProcessorWithLM
else:
				import sys

				__A  =				_LazyModule(__name__, globals()['''__file__'''], _import_structure, module_spec=__spec__)