

'''simple docstring'''
from ...configuration_utils import PretrainedConfig
from ...utils import logging


lowerCamelCase :      Dict					 =     logging.get_logger(__name__)

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







class 							A__    (       A__  ):
  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      :	str							,					_a      :	List[str]=4_0478							,					_a      :	List[str]=512							,					_a      :	Union[str, Any]=768							,					_a      :	Union[str, Any]=12							,					_a      :	List[str]=12							,					_a      :	int="gelu"							,					_a      :	Tuple=0.1							,					_a      :	Optional[Any]=0.1							,					_a      :	str=0.1							,					_a      :	List[Any]=1e-5							,					_a      :	Optional[Any]=0.02							,					_a      :	str="cls_index"							,					_a      :	List[Any]=True							,					_a      :	Dict=None							,					_a      :	Union[str, Any]=True							,					_a      :	Any=0.1							,					**_a      :	Tuple							,					)	->    Union[str, Any]:





       '''simple docstring'''






       _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__(**_a )



def 	snake_case__			(    SCREAMING_SNAKE_CASE_		:    str			):



     '''simple docstring'''





     if not all(x.isalpha() for x in string			):
          raise ValueError('String must only contain alphabetic characters.'			)

     lowercase__    :   Optional[int]      =       sorted(string.lower()			)
     return len(SCREAMING_SNAKE_CASE_			) == len(set(SCREAMING_SNAKE_CASE_			)			)


if __name__ == "__main__":
       snake_case_			  = input('''Enter a string ''').strip()

       snake_case_			  = is_isogram(input_str)
       print(F'''{input_str} is {'an' if isogram else 'not an'} isogram.''')

