






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


UpperCamelCase    							=      logging.get_logger(__name__)

UpperCamelCase    							=      {
    'facebook/dpr-ctx_encoder-single-nq-base': (
        'https://huggingface.co/facebook/dpr-ctx_encoder-single-nq-base/resolve/main/config.json'
    ),
    'facebook/dpr-question_encoder-single-nq-base': (
        'https://huggingface.co/facebook/dpr-question_encoder-single-nq-base/resolve/main/config.json'
    ),
    'facebook/dpr-reader-single-nq-base': (
        'https://huggingface.co/facebook/dpr-reader-single-nq-base/resolve/main/config.json'
    ),
    'facebook/dpr-ctx_encoder-multiset-base': (
        'https://huggingface.co/facebook/dpr-ctx_encoder-multiset-base/resolve/main/config.json'
    ),
    'facebook/dpr-question_encoder-multiset-base': (
        'https://huggingface.co/facebook/dpr-question_encoder-multiset-base/resolve/main/config.json'
    ),
    'facebook/dpr-reader-multiset-base': (
        'https://huggingface.co/facebook/dpr-reader-multiset-base/resolve/main/config.json'
    ),
}







class 		_A						( UpperCAmelCase_ ):
  lowercase_						:			str						=					'''dpr'''

  def __init__(    self						:	int   ,				lowerCamelCase__						:	List[Any]=3_05_22   ,				lowerCamelCase__						:	str=7_68   ,				lowerCamelCase__						:	int=12   ,				lowerCamelCase__						:	List[str]=12   ,				lowerCamelCase__						:	Tuple=30_72   ,				lowerCamelCase__						:	str="gelu"   ,				lowerCamelCase__						:	Tuple=0.1   ,				lowerCamelCase__						:	List[Any]=0.1   ,				lowerCamelCase__						:	int=5_12   ,				lowerCamelCase__						:	str=2   ,				lowerCamelCase__						:	List[Any]=0.02   ,				lowerCamelCase__						:	List[Any]=1e-12   ,				lowerCamelCase__						:	List[Any]=0   ,				lowerCamelCase__						:	str="absolute"   ,				lowerCamelCase__						:	int = 0   ,				**lowerCamelCase__						:	Union[str, Any]   ,				):
     """simple docstring"""

     super().__init__(pad_token_id=lowerCamelCase__   ,				**lowerCamelCase__			)

     __UpperCamelCase	:			List[Any]					=					vocab_size
     __UpperCamelCase	:			Union[str, Any]					=					hidden_size
     __UpperCamelCase	:			Optional[int]					=					num_hidden_layers
     __UpperCamelCase	:			Dict					=					num_attention_heads
     __UpperCamelCase	:			Dict					=					hidden_act
     __UpperCamelCase	:			Optional[Any]					=					intermediate_size
     __UpperCamelCase	:			Any					=					hidden_dropout_prob
     __UpperCamelCase	:			int					=					attention_probs_dropout_prob
     __UpperCamelCase	:			Optional[Any]					=					max_position_embeddings
     __UpperCamelCase	:			List[str]					=					type_vocab_size
     __UpperCamelCase	:			List[Any]					=					initializer_range
     __UpperCamelCase	:			Union[str, Any]					=					layer_norm_eps
     __UpperCamelCase	:			Any					=					projection_dim
     __UpperCamelCase	:			Union[str, Any]					=					position_embedding_type











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.""")



