Closed zhangmozhi closed 2 years ago
Unfortunately, mutator args don't work when specified via the --task X:mutators=
format. We should update the mutator docs to reflect this.
They will still parse if you specify them as root items (--task X --mutators episode_shuffle
). You should also be able to force the opt in the task argument (--task X:mutators=episode_shuffle:preserve_context=True
)
Unfortunately, mutator args don't work when specified via the
--task X:mutators=
format. We should update the mutator docs to reflect this.They will still parse if you specify them as root items (
--task X --mutators episode_shuffle
). You should also be able to force the opt in the task argument (--task X:mutators=episode_shuffle:preserve_context=True
)
The last option works. Thanks for the help!
Would you be open to adding this info on the mutator docs?
Will do
Bug description When using task-specific mutator, mutator-specific arguments cannot be parsed.
Reproduction steps
parlai display_data --task dailydialog:mutators=episode_shuffle --preserve-context true
Expected behavior There should be no error.
Logs