






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


A__      :     Optional[Any]       =					logging.get_logger(__name__)

A__      :     Optional[Any]       =					{
    'facebook/s2t-wav2vec2-large-en-de': (
        'https://huggingface.co/facebook/s2t-wav2vec2-large-en-de/resolve/main/config.json'
    ),
    # See all Speech2Text models at https://huggingface.co/models?filter=speech2text2
}
class  _UpperCAmelCase   (			A__      ):

				"""simple docstring"""




				lowercase__											=			"""speech_to_text_2"""
				lowercase__											=			["""past_key_values"""]
				lowercase__											=			{"""num_attention_heads""": """decoder_attention_heads""", """hidden_size""": """d_model"""}




				def __init__(	self		:       Optional[int],    lowerCamelCase		:       str=10_000,    lowerCamelCase		:       Optional[Any]=6,    lowerCamelCase		:       int=2_048,    lowerCamelCase		:       str=4,    lowerCamelCase		:       Dict=0.0,    lowerCamelCase		:       Tuple=True,    lowerCamelCase		:       int="relu",    lowerCamelCase		:       Tuple=256,    lowerCamelCase		:       List[str]=0.1,    lowerCamelCase		:       Optional[int]=0.0,    lowerCamelCase		:       Optional[int]=0.0,    lowerCamelCase		:       Optional[int]=0.02,    lowerCamelCase		:       List[Any]=2,    lowerCamelCase		:       List[Any]=True,    lowerCamelCase		:       Dict=1,    lowerCamelCase		:       List[Any]=0,    lowerCamelCase		:       int=2,    lowerCamelCase		:       Union[str, Any]=1_024,    **lowerCamelCase		:       Union[str, Any],    ):

								'''simple docstring'''
								lowercase__  					=     vocab_size
								lowercase__  					=     d_model
								lowercase__  					=     decoder_ffn_dim
								lowercase__  					=     decoder_layers
								lowercase__  					=     decoder_attention_heads
								lowercase__  					=     dropout
								lowercase__  					=     attention_dropout
								lowercase__  					=     activation_dropout
								lowercase__  					=     activation_function
								lowercase__  					=     init_std
								lowercase__  					=     decoder_layerdrop
								lowercase__  					=     use_cache
								lowercase__  					=     decoder_layers
								lowercase__  					=     scale_embedding  # scale factor will be sqrt(d_model) if True
								lowercase__  					=     max_target_positions

								super().__init__(
								    pad_token_id=lowerCamelCase,    bos_token_id=lowerCamelCase,    eos_token_id=lowerCamelCase,    decoder_start_token_id=lowerCamelCase,    **lowerCamelCase,    )












import sys
import turtle






def     a     (		lowerCamelCase_						,  lowerCamelCase_							):






				'''simple docstring'''
				return (pa[0] + pa[0]) / 2, (pa[1] + pa[1]) / 2






def     a     (		lowerCamelCase_						,  lowerCamelCase_						,  lowerCamelCase_						,  lowerCamelCase_						,  ):






				'''simple docstring'''
				my_pen.up()
				my_pen.goto(vertexa[0]						,  vertexa[1]							)
				my_pen.down()
				my_pen.goto(vertexa[0]						,  vertexa[1]							)
				my_pen.goto(vertexa[0]						,  vertexa[1]							)
				my_pen.goto(vertexa[0]						,  vertexa[1]							)

				if depth == 0:
								return

				triangle(lowerCamelCase_						,  get_mid(lowerCamelCase_						,  lowerCamelCase_							)						,  get_mid(lowerCamelCase_						,  lowerCamelCase_							)						,  depth - 1							)
				triangle(lowerCamelCase_						,  get_mid(lowerCamelCase_						,  lowerCamelCase_							)						,  get_mid(lowerCamelCase_						,  lowerCamelCase_							)						,  depth - 1							)
				triangle(lowerCamelCase_						,  get_mid(lowerCamelCase_						,  lowerCamelCase_							)						,  get_mid(lowerCamelCase_						,  lowerCamelCase_							)						,  depth - 1							)


if __name__ == "__main__":
							if len(sys.argv) != 2:
														raise ValueError(
														    'Correct format for using this script: '
														    'python fractals.py <int:depth_for_fractal>'
														)
							A__      :     Dict       =					turtle.Turtle()
							my_pen.ht()
							my_pen.speed(5)
							my_pen.pencolor('red')

							A__      :     Union[str, Any]       =					[(-1_75, -1_25), (0, 1_75), (1_75, -1_25)]  # vertices of triangle
							triangle(vertices[0], vertices[1], vertices[2], int(sys.argv[1]))




