



'''simple docstring'''





def lowerCAmelCase						(__A = "The quick brown fox jumps over the lazy dog"						,			):



					"""simple docstring"""



					_a											=						set()

					# Replace all the whitespace in our sentence
					_a											=						input_str.replace(''' '''						,			'''''')
					for alpha in input_str:
										if "a" <= alpha.lower() <= "z":
															frequency.add(alpha.lower())
					return len(__A) == 26




def lowerCAmelCase						(__A = "The quick brown fox jumps over the lazy dog"						,			):



					"""simple docstring"""



					_a											=						[False] * 26
					for char in input_str:
										if char.islower():
															_a											=						True
										elif char.isupper():
															_a											=						True
					return all(__A)




def lowerCAmelCase						(__A = "The quick brown fox jumps over the lazy dog"						,			):



					"""simple docstring"""



					return len({char for char in input_str.lower() if char.isalpha()}) == 26




def lowerCAmelCase						():



					"""simple docstring"""



					from timeit import timeit

					_a											=						'''from __main__ import is_pangram, is_pangram_faster, is_pangram_fastest'''
					print(timeit('''is_pangram()'''						,			setup=__A))
					print(timeit('''is_pangram_faster()'''						,			setup=__A))
					print(timeit('''is_pangram_fastest()'''						,			setup=__A))
					# 5.348480500048026, 2.6477354579837993, 1.8470395830227062
					# 5.036091582966037, 2.644472333951853,  1.8869528750656173


if __name__ == "__main__":
		import doctest

		doctest.testmod()
		benchmark()








'''simple docstring'''





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


lowercase_	 =						logging.get_logger(__name__)

lowercase_	 =						{
    "google/pegasus-large": "https://huggingface.co/google/pegasus-large/resolve/main/config.json",
    # See all PEGASUS models at https://huggingface.co/models?filter=pegasus
}






class __A    (						A		):



 '''simple docstring'''







 __lowerCamelCase					: Union[str, Any]    = 'pegasus'
 __lowerCamelCase					: Tuple    = ['past_key_values']
 __lowerCamelCase					: List[Any]    = {'num_attention_heads': 'encoder_attention_heads', 'hidden_size': 'd_model'}



 def __init__(self				,     A=50_265				,     A=1_024				,     A=12				,     A=4_096				,     A=16				,     A=12				,     A=4_096				,     A=16				,     A=0.0				,     A=0.0				,     A=True				,     A=True				,     A="gelu"				,     A=1_024				,     A=0.1				,     A=0.0				,     A=0.0				,     A=0.02				,     A=0				,     A=False				,     A=0				,     A=1				,     A=1				,     **A				,     )					->  str:


      """simple docstring"""



      _a											=						vocab_size
      _a											=						max_position_embeddings
      _a											=						d_model
      _a											=						encoder_ffn_dim
      _a											=						encoder_layers
      _a											=						encoder_attention_heads
      _a											=						decoder_ffn_dim
      _a											=						decoder_layers
      _a											=						decoder_attention_heads
      _a											=						dropout
      _a											=						attention_dropout
      _a											=						activation_dropout
      _a											=						activation_function
      _a											=						init_std
      _a											=						encoder_layerdrop
      _a											=						decoder_layerdrop
      _a											=						use_cache
      _a											=						encoder_layers
      _a											=						scale_embedding  # scale factor will be sqrt(d_model) if True
      super().__init__(
          pad_token_id=A				,     eos_token_id=A				,     is_encoder_decoder=A				,     decoder_start_token_id=A				,     forced_eos_token_id=A				,     **A				,     )



 @property
 def       a__						(self )					->  int:


      """simple docstring"""



      return self.encoder_attention_heads



 @property
 def       a__						(self )					->  int:


      """simple docstring"""



      return self.d_model



