From 60dbf78bc00ceffadf0c536aec3e21db238da95b Mon Sep 17 00:00:00 2001 From: Alvaro Bartolome Date: Tue, 19 Dec 2023 16:00:44 +0100 Subject: [PATCH] Remove `print` from `parse_output` --- src/distilabel/tasks/text_generation/self_instruct.py | 1 - 1 file changed, 1 deletion(-) diff --git a/src/distilabel/tasks/text_generation/self_instruct.py b/src/distilabel/tasks/text_generation/self_instruct.py index cc9e13bb7..f787d4672 100644 --- a/src/distilabel/tasks/text_generation/self_instruct.py +++ b/src/distilabel/tasks/text_generation/self_instruct.py @@ -97,7 +97,6 @@ def output_args_names(self) -> List[str]: def parse_output(self, output: str) -> Dict[str, List[str]]: """Parses the output of the model into the desired format.""" pattern = re.compile(r"\d+\.\s+(.*?)\n") - print(pattern.findall(output)) return {"instructions": pattern.findall(output)} def to_argilla_dataset(self, dataset_row: Dict[str, Any]) -> "FeedbackDataset":