From fb59ad659e857bbfdf0405bc889ed65f371572ef Mon Sep 17 00:00:00 2001 From: Leonard Adolphs Date: Tue, 2 Aug 2022 10:28:09 -0700 Subject: [PATCH] lint errors not captured by autoformat --- projects/director/tasks/safety.py | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/projects/director/tasks/safety.py b/projects/director/tasks/safety.py index 0e5073dc8fe..93d4e0436d8 100644 --- a/projects/director/tasks/safety.py +++ b/projects/director/tasks/safety.py @@ -57,7 +57,8 @@ class EDCLeftToRightMutator(ManyEpisodeMutator): The final utterance is considered as a label for the decoder and the attribute/classifier labels are stored seperately marking the final utterance pos. or neg. - This mutator also adds a is_ltr flag to differentiate classifier exs from the generator exs which are used to finetune the generator model. + This mutator also adds a is_ltr flag to differentiate classifier exs from the generator + exs which are used to finetune the generator model. """ def many_episode_mutation(self, episode: List[Message]) -> List[List[Message]]: @@ -89,7 +90,8 @@ class EDCLeftToRightMutatorCopy(ManyEpisodeMutator): The final utterance is considered as a label for the decoder and the attribute/classifier labels are stored seperately marking the final utterance pos. or neg. - This mutator also adds a is_ltr flag to differentiate classifier exs from the generator exs which are used to finetune the generator model. + This mutator also adds a is_ltr flag to differentiate classifier exs from the generator + exs which are used to finetune the generator model. """ def many_episode_mutation(self, episode: List[Message]) -> List[List[Message]]: @@ -121,7 +123,8 @@ class EDCLeftToRightMutatorEmpty(ManyEpisodeMutator): The final utterance is considered as a label for the decoder and the attribute/classifier labels are stored seperately marking the final utterance pos. or neg. - This mutator also adds a is_ltr flag to differentiate classifier exs from the generator exs which are used to finetune the generator model. + This mutator also adds a is_ltr flag to differentiate classifier exs from the generator + exs which are used to finetune the generator model. """ def many_episode_mutation(self, episode: List[Message]) -> List[List[Message]]: