Skip to content

Commit

Permalink
Update base.py
Browse files Browse the repository at this point in the history
  • Loading branch information
davidberenstein1957 authored Jun 5, 2024
1 parent f9057f0 commit 8aed221
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/distilabel/steps/tasks/evol_quality/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ def _apply_random_mutation(self, instruction: str, response: str) -> str:
return (
self.mutation_templates[mutation]
.replace("<PROMPT>", instruction)
.replace("<RESPONSE>", response[-1])
.replace("<RESPONSE>", response)
)

def _evolve_reponses(self, inputs: "StepInput") -> List[List[str]]:
Expand Down

0 comments on commit 8aed221

Please sign in to comment.