



"""simple docstring"""





import logging
from dataclasses import dataclass, field
from typing import Optional

from seqaseq_trainer import arg_to_scheduler

from transformers import TrainingArguments


lowerCamelCase  			=		logging.getLogger(__name__)
@dataclass
class  lowercase__  (       SCREAMING_SNAKE_CASE ):







       '''simple docstring'''


       UpperCamelCase		=	field(
           default=0.0							,   metadata={'''help''': '''The label smoothing epsilon to apply (if not zero).'''} )
       UpperCamelCase		=	field(default=SCREAMING_SNAKE_CASE							,   metadata={'''help''': '''Whether to SortishSamler or not.'''} )
       UpperCamelCase		=	field(
           default=SCREAMING_SNAKE_CASE							,   metadata={'''help''': '''Whether to use generate to calculate generative metrics (ROUGE, BLEU).'''} )
       UpperCamelCase		=	field(default=SCREAMING_SNAKE_CASE							,   metadata={'''help''': '''whether to use adafactor'''} )
       UpperCamelCase		=	field(
           default=SCREAMING_SNAKE_CASE							,   metadata={'''help''': '''Encoder layer dropout probability. Goes into model.config.'''} )
       UpperCamelCase		=	field(
           default=SCREAMING_SNAKE_CASE							,   metadata={'''help''': '''Decoder layer dropout probability. Goes into model.config.'''} )
       UpperCamelCase		=	field(default=SCREAMING_SNAKE_CASE							,   metadata={'''help''': '''Dropout probability. Goes into model.config.'''} )
       UpperCamelCase		=	field(
           default=SCREAMING_SNAKE_CASE							,   metadata={'''help''': '''Attention dropout probability. Goes into model.config.'''} )
       UpperCamelCase		=	field(
           default='''linear'''							,   metadata={'''help''': F"Which lr scheduler to use. Selected in {sorted(arg_to_scheduler.keys() )}"}							,   )











def 					SCREAMING_SNAKE_CASE__				(							UpperCamelCase__:				float       , UpperCamelCase__:				float     ):
		if mass < 0:
				raise ValueError("""The mass of a body cannot be negative"""     )
		return 0.5 * mass * abs(UpperCamelCase__     ) * abs(UpperCamelCase__     )


if __name__ == "__main__":
	import doctest

	doctest.testmod(verbose=True)