




'''simple docstring'''

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


a       :						Tuple								=		logging.get_logger(__name__)

a       :						Tuple								=		{'''openai-gpt''': '''https://huggingface.co/openai-gpt/resolve/main/config.json'''}



class 		SCREAMING_SNAKE_CASE__  (			_UpperCamelCase	):
			__SCREAMING_SNAKE_CASE    =			"""openai-gpt"""
			__SCREAMING_SNAKE_CASE    =			{
			    """max_position_embeddings""": """n_positions""",
			    """hidden_size""": """n_embd""",
			    """num_attention_heads""": """n_head""",
			    """num_hidden_layers""": """n_layer""",
			}





			def __init__(      self						:    Optional[int]      ,		a_						:    int=40_478      ,		a_						:    List[str]=512      ,		a_						:    Any=768      ,		a_						:    Dict=12      ,		a_						:    Tuple=12      ,		a_						:    List[str]="gelu"      ,		a_						:    Optional[int]=0.1      ,		a_						:    Tuple=0.1      ,		a_						:    List[Any]=0.1      ,		a_						:    Optional[Any]=1e-5      ,		a_						:    int=0.02      ,		a_						:    str="cls_index"      ,		a_						:    Tuple=True      ,		a_						:    Dict=None      ,		a_						:    List[Any]=True      ,		a_						:    Optional[int]=0.1      ,		**a_						:    Tuple      ,		):



						"""simple docstring"""




						__snake_case			=		vocab_size
						__snake_case			=		n_positions
						__snake_case			=		n_embd
						__snake_case			=		n_layer
						__snake_case			=		n_head
						__snake_case			=		afn
						__snake_case			=		resid_pdrop
						__snake_case			=		embd_pdrop
						__snake_case			=		attn_pdrop
						__snake_case			=		layer_norm_epsilon
						__snake_case			=		initializer_range
						__snake_case			=		summary_type
						__snake_case			=		summary_use_proj
						__snake_case			=		summary_activation
						__snake_case			=		summary_first_dropout
						__snake_case			=		summary_proj_to_labels
						super().__init__(**a_							)













'''simple docstring'''



def  __UpperCAmelCase						(					SCREAMING_SNAKE_CASE__:						str     )	->      bool:

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

   __a					  =     sorted(string.lower()     )
   return len(SCREAMING_SNAKE_CASE__     ) == len(set(SCREAMING_SNAKE_CASE__     )     )


if __name__ == "__main__":
 __UpperCamelCase   :							int         =   input("""Enter a string """).strip()

 __UpperCamelCase   :							Tuple         =   is_isogram(input_str)
 print(f"""{input_str} is {"an" if isogram else "not an"} isogram.""")