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

Commit

Permalink
lint errors not captured by autoformat
Browse files Browse the repository at this point in the history
  • Loading branch information
Leonard Adolphs committed Aug 2, 2022
1 parent 8b0f318 commit fb59ad6
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions projects/director/tasks/safety.py
Original file line number Diff line number Diff line change
Expand Up @@ -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]]:
Expand Down Expand Up @@ -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]]:
Expand Down Expand Up @@ -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]]:
Expand Down

0 comments on commit fb59ad6

Please sign in to comment.