



"""simple docstring"""







def       _lowerCamelCase				(							UpperCAmelCase_ :       str = "The quick brown fox jumps over the lazy dog",	)	-> bool:






	"""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(UpperCAmelCase_     ) == 26

def       _lowerCamelCase				(							UpperCAmelCase_ :       str = "The quick brown fox jumps over the lazy dog",	)	-> bool:






	"""simple docstring"""





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

def       _lowerCamelCase				(							UpperCAmelCase_ :       str = "The quick brown fox jumps over the lazy dog",	)	-> bool:






	"""simple docstring"""





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

def       _lowerCamelCase				(							)	-> None:






	"""simple docstring"""





	from timeit import timeit

	A__											=					"from __main__ import is_pangram, is_pangram_faster, is_pangram_fastest"
	print(timeit("is_pangram()",	setup=UpperCAmelCase_     )     )
	print(timeit("is_pangram_faster()",	setup=UpperCAmelCase_     )     )
	print(timeit("is_pangram_fastest()",	setup=UpperCAmelCase_     )     )
	# 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


_SCREAMING_SNAKE_CASE			=						logging.get_logger(__name__)

_SCREAMING_SNAKE_CASE			=						{"openai-gpt": "https://huggingface.co/openai-gpt/resolve/main/config.json"}
class   __UpperCAmelCase				(     lowerCAmelCase				):



					'''simple docstring'''





					_UpperCamelCase							=		"""openai-gpt"""
					_UpperCamelCase							=		{
					    """max_position_embeddings""": """n_positions""",
					    """hidden_size""": """n_embd""",
					    """num_attention_heads""": """n_head""",
					    """num_hidden_layers""": """n_layer""",
					}



					def __init__(	self     :						Any      ,       _lowercase     :						List[Any]=40_478      ,       _lowercase     :						Tuple=512      ,       _lowercase     :						Dict=768      ,       _lowercase     :						List[str]=12      ,       _lowercase     :						Optional[int]=12      ,       _lowercase     :						Tuple="gelu"      ,       _lowercase     :						int=0.1      ,       _lowercase     :						Tuple=0.1      ,       _lowercase     :						Any=0.1      ,       _lowercase     :						List[str]=1E-5      ,       _lowercase     :						str=0.02      ,       _lowercase     :						Optional[Any]="cls_index"      ,       _lowercase     :						int=True      ,       _lowercase     :						str=None      ,       _lowercase     :						Tuple=True      ,       _lowercase     :						List[Any]=0.1      ,       **_lowercase     :						int      ,       )    ->							Optional[int]:
								A_									= vocab_size
								A_									= n_positions
								A_									= n_embd
								A_									= n_layer
								A_									= n_head
								A_									= afn
								A_									= resid_pdrop
								A_									= embd_pdrop
								A_									= attn_pdrop
								A_									= layer_norm_epsilon
								A_									= initializer_range
								A_									= summary_type
								A_									= summary_use_proj
								A_									= summary_activation
								A_									= summary_first_dropout
								A_									= summary_proj_to_labels
								super().__init__(**_lowercase)




