



from ...configuration_utils import PretrainedConfig
class    lowercase__     (					UpperCamelCase_   ):







       '''simple docstring'''


       UpperCamelCase		=  """bert-generation"""



       def __init__(							self    :						str	,       _UpperCAmelCase    :						int=50358	,       _UpperCAmelCase    :						Union[str, Any]=1024	,       _UpperCAmelCase    :						Dict=24	,       _UpperCAmelCase    :						List[Any]=16	,       _UpperCAmelCase    :						List[Any]=4096	,       _UpperCAmelCase    :						Optional[int]="gelu"	,       _UpperCAmelCase    :						Tuple=0.1	,       _UpperCAmelCase    :						Tuple=0.1	,       _UpperCAmelCase    :						List[Any]=512	,       _UpperCAmelCase    :						List[str]=0.02	,       _UpperCAmelCase    :						Dict=1e-12	,       _UpperCAmelCase    :						Optional[int]=0	,       _UpperCAmelCase    :						Optional[int]=2	,       _UpperCAmelCase    :						List[str]=1	,       _UpperCAmelCase    :						str="absolute"	,       _UpperCAmelCase    :						int=True	,       **_UpperCAmelCase    :						str	,       )				->		List[str]:


             '''simple docstring'''




             super().__init__(pad_token_id=_a	,       bos_token_id=_a	,       eos_token_id=_a	,       **_a					)

             UpperCAmelCase_    				=							vocab_size
             UpperCAmelCase_    				=							hidden_size
             UpperCAmelCase_    				=							num_hidden_layers
             UpperCAmelCase_    				=							num_attention_heads
             UpperCAmelCase_    				=							hidden_act
             UpperCAmelCase_    				=							intermediate_size
             UpperCAmelCase_    				=							hidden_dropout_prob
             UpperCAmelCase_    				=							attention_probs_dropout_prob
             UpperCAmelCase_    				=							max_position_embeddings
             UpperCAmelCase_    				=							initializer_range
             UpperCAmelCase_    				=							layer_norm_eps
             UpperCAmelCase_    				=							position_embedding_type
             UpperCAmelCase_    				=							use_cache









"""simple docstring"""





import string
def      a__			(   lowerCAmelCase__   ):
      for key in range(len(string.ascii_uppercase   )   ):
            UpperCAmelCase_    				=							""
            for symbol in message:
                  if symbol in string.ascii_uppercase:
                        UpperCAmelCase_    				=							string.ascii_uppercase.find(lowerCAmelCase__   )
                        UpperCAmelCase_    				=							num - key
                        if num < 0:
                              UpperCAmelCase_    				=							num + len(string.ascii_uppercase   )
                        UpperCAmelCase_    				=							translated + string.ascii_uppercase[num]
                  else:
                        UpperCAmelCase_    				=							translated + symbol
            print(f"""Decryption using Key #{key}: {translated}"""   )
def      a__			(   ):
      UpperCAmelCase_    				=							input("Encrypted message: "   )
      UpperCAmelCase_    				=							message.upper()
      decrypt(lowerCAmelCase__   )


if __name__ == "__main__":
  import doctest

  doctest.testmod()
  main()




