Unverified Commit 285131bf authored by JejuWayfarer's avatar JejuWayfarer Committed by GitHub
Browse files

change metric_key_prefix in seq2seq_trainer.py (#15099)

It solves the problem that metric_key_prefix is different from trainer.
parent c4fa908f
......@@ -73,7 +73,7 @@ class Seq2SeqTrainer(Trainer):
self,
test_dataset: Dataset,
ignore_keys: Optional[List[str]] = None,
metric_key_prefix: str = "eval",
metric_key_prefix: str = "test",
max_length: Optional[int] = None,
num_beams: Optional[int] = None,
) -> PredictionOutput:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment