Skip to content
This repository has been archived by the owner on Nov 3, 2023. It is now read-only.

Warning on unrecommended ACUTE-Eval value #3536

Merged
merged 3 commits into from Mar 19, 2021
Merged

Conversation

EricMichaelSmith
Copy link
Contributor

Patch description
Print a big ugly warning message if the user tries to set mephisto.task.maximum_units_per_worker to anything other than the recommended value of 0

Testing steps
Screen Shot 2021-03-18 at 3 39 44 PM

Copy link
Contributor

@JackUrb JackUrb left a comment

Choose a reason for hiding this comment

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

Generally looks good to me. Suggestion on slight wording change.

warn_once(
'It is *strongly* recommended to use a '
'args.task.maximum_units_per_worker value of 1, as was done in the '
'ACUTE-Eval paper! Go to GitHub Discussions for more information.'
Copy link
Contributor

Choose a reason for hiding this comment

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

A slight change suggestion:

'It is *strongly* recommended to use a '
'args.task.maximum_units_per_worker value of 1, as was done in the '
'ACUTE-Eval paper! Anything else will not provide consistent results as '
'quoted there. Go to ParlAI's GitHub Discussion page '
'if you'd like to discuss further.

I think the current wording implies we already have a discussion on it there.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Good point, changed

Copy link
Contributor

@stephenroller stephenroller 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 doing! Dependabot fixed the cleaninstall test in master.

from omegaconf import MISSING, DictConfig

from parlai.crowdsourcing.tasks.acute_eval.acute_eval_agent_state import (
AcuteEvalAgentState,
)
from parlai.crowdsourcing.tasks.acute_eval.acute_eval_builder import AcuteEvalBuilder
from parlai.crowdsourcing.tasks.acute_eval.acute_eval_runner import AcuteEvalRunner
from parlai.utils.misc import warn_once

if TYPE_CHECKING:
Copy link
Contributor

Choose a reason for hiding this comment

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

this is super cool!

Copy link
Contributor

Choose a reason for hiding this comment

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

@EricMichaelSmith EricMichaelSmith merged commit 75d5d07 into master Mar 19, 2021
@EricMichaelSmith EricMichaelSmith deleted the acute-warning branch March 19, 2021 12:36
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants