Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

change metric_key_prefix in seq2seq_trainer.py #15099

Merged
merged 1 commit into from
Jan 11, 2022
Merged

change metric_key_prefix in seq2seq_trainer.py #15099

merged 1 commit into from
Jan 11, 2022

Conversation

JejuWayfarer
Copy link
Contributor

@JejuWayfarer JejuWayfarer commented Jan 11, 2022

What does this PR do?

In the trainer, the metric_key_prefix of the predict is set as "test", and in the seq2seq trainer, it is set as "eval", so the same result does not come out.
To solve this problem, the metric_key_prefix for the seq2seq trainer was modified to "test".

Who can review?

--> trainer: @sgugger

It solves the problem that metric_key_prefix is different from trainer.
Copy link
Collaborator

@sgugger sgugger left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for fixing!

@sgugger sgugger merged commit 285131b into huggingface:master Jan 11, 2022
@JejuWayfarer JejuWayfarer deleted the patch-1 branch January 11, 2022 13:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants