

'''simple docstring'''

from collections import OrderedDict
from typing import Mapping

from ...configuration_utils import PretrainedConfig
from ...onnx import OnnxConfig
from ...utils import logging


SCREAMING_SNAKE_CASE							:				str     	=			logging.get_logger(__name__)

SCREAMING_SNAKE_CASE							:				Optional[int]     	=			{
    "distilbert-base-uncased": "https://huggingface.co/distilbert-base-uncased/resolve/main/config.json",
    "distilbert-base-uncased-distilled-squad": (
        "https://huggingface.co/distilbert-base-uncased-distilled-squad/resolve/main/config.json"
    ),
    "distilbert-base-cased": "https://huggingface.co/distilbert-base-cased/resolve/main/config.json",
    "distilbert-base-cased-distilled-squad": (
        "https://huggingface.co/distilbert-base-cased-distilled-squad/resolve/main/config.json"
    ),
    "distilbert-base-german-cased": "https://huggingface.co/distilbert-base-german-cased/resolve/main/config.json",
    "distilbert-base-multilingual-cased": (
        "https://huggingface.co/distilbert-base-multilingual-cased/resolve/main/config.json"
    ),
    "distilbert-base-uncased-finetuned-sst-2-english": (
        "https://huggingface.co/distilbert-base-uncased-finetuned-sst-2-english/resolve/main/config.json"
    ),
}






class    snake_case     (      UpperCAmelCase_		):






				"""simple docstring"""
				_a    	=     '''distilbert'''
				_a    	=     {
				    '''hidden_size''': '''dim''',
				    '''num_attention_heads''': '''n_heads''',
				    '''num_hidden_layers''': '''n_layers''',
				}



				def __init__(    self,     _lowercase=30522,     _lowercase=512,     _lowercase=False,     _lowercase=6,     _lowercase=12,     _lowercase=768,     _lowercase=4 * 768,     _lowercase=0.1,     _lowercase=0.1,     _lowercase="gelu",     _lowercase=0.02,     _lowercase=0.1,     _lowercase=0.2,     _lowercase=0,     **_lowercase,     )     ->							List[str]:
											SCREAMING_SNAKE_CASE_				=				vocab_size
											SCREAMING_SNAKE_CASE_				=				max_position_embeddings
											SCREAMING_SNAKE_CASE_				=				sinusoidal_pos_embds
											SCREAMING_SNAKE_CASE_				=				n_layers
											SCREAMING_SNAKE_CASE_				=				n_heads
											SCREAMING_SNAKE_CASE_				=				dim
											SCREAMING_SNAKE_CASE_				=				hidden_dim
											SCREAMING_SNAKE_CASE_				=				dropout
											SCREAMING_SNAKE_CASE_				=				attention_dropout
											SCREAMING_SNAKE_CASE_				=				activation
											SCREAMING_SNAKE_CASE_				=				initializer_range
											SCREAMING_SNAKE_CASE_				=				qa_dropout
											SCREAMING_SNAKE_CASE_				=				seq_classif_dropout
											super().__init__(**lowerCamelCase__,     pad_token_id=lowerCamelCase__       )






class    snake_case     (      UpperCAmelCase_		):






				"""simple docstring"""



				@property
				def   a__					(    self       )     ->							Union[str, Any]:

											if self.task == "multiple-choice":
																		SCREAMING_SNAKE_CASE_				=				{0: """batch""", 1: """choice""", 2: """sequence"""}
											else:
																		SCREAMING_SNAKE_CASE_				=				{0: """batch""", 1: """sequence"""}
											return OrderedDict(
											    [
											        ('input_ids', dynamic_axis),
											        ('attention_mask', dynamic_axis),
											    ]       )













def 				__lowerCamelCase     (							__lowerCAmelCase							:					str							)     ->  bool:
   if not all(x.isalpha() for x in string							):
      raise ValueError("""String must only contain alphabetic characters."""							)

   __UpperCamelCase	:			List[str]					=					sorted(string.lower()							)
   return len(__lowerCAmelCase							) == len(set(__lowerCAmelCase							)							)


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

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



