[s2s] Adafactor support for builtin trainer (#7522)
This commit is contained in:
@@ -52,6 +52,7 @@ class Seq2SeqTrainingArguments(TrainingArguments):
|
||||
predict_with_generate: bool = field(
|
||||
default=False, metadata={"help": "Whether to use generate to calculate generative metrics (ROUGE, BLEU)."}
|
||||
)
|
||||
adafactor: bool = field(default=False, metadata={"help": "whether to use adafactor"})
|
||||
|
||||
|
||||
@dataclass
|
||||
|
||||
Reference in New Issue
Block a user