
"""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 			snake_case  (				__lowercase ):
							UpperCAmelCase__      =   field(
							    default=0.0							,      metadata={'''help''': '''The label smoothing epsilon to apply (if not zero).'''} )
							UpperCAmelCase__      =   field(default=__lowercase							,      metadata={'''help''': '''Whether to SortishSamler or not.'''} )
							UpperCAmelCase__      =   field(
							    default=__lowercase							,      metadata={'''help''': '''Whether to use generate to calculate generative metrics (ROUGE, BLEU).'''} )
							UpperCAmelCase__      =   field(default=__lowercase							,      metadata={'''help''': '''whether to use adafactor'''} )
							UpperCAmelCase__      =   field(
							    default=__lowercase							,      metadata={'''help''': '''Encoder layer dropout probability. Goes into model.config.'''} )
							UpperCAmelCase__      =   field(
							    default=__lowercase							,      metadata={'''help''': '''Decoder layer dropout probability. Goes into model.config.'''} )
							UpperCAmelCase__      =   field(default=__lowercase							,      metadata={'''help''': '''Dropout probability. Goes into model.config.'''} )
							UpperCAmelCase__      =   field(
							    default=__lowercase							,      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() )}"""}							,      )

"""simple docstring"""




from ..utils import DummyObject, requires_backends





class 			snake_case  (				metaclass=__lowercase ):
							UpperCAmelCase__      =   ['''note_seq''']

							def __init__(self							,							*SCREAMING_SNAKE_CASE_							,							**SCREAMING_SNAKE_CASE_     ):

									"""simple docstring"""







									requires_backends(self							,							['''note_seq''']     )

							@classmethod
							def _lowercase       (cls							,							*SCREAMING_SNAKE_CASE_							,							**SCREAMING_SNAKE_CASE_     ):

									"""simple docstring"""







									requires_backends(cls							,							['''note_seq''']     )







							@classmethod
							def _lowercase       (cls							,							*SCREAMING_SNAKE_CASE_							,							**SCREAMING_SNAKE_CASE_     ):

									"""simple docstring"""







									requires_backends(cls							,							['''note_seq''']     )