Skip to content

Commit

Permalink
Add TODO for future self
Browse files Browse the repository at this point in the history
  • Loading branch information
alvarobartt committed Dec 19, 2023
1 parent b7df4b7 commit 6d0b7c3
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/distilabel/tasks/text_generation/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -212,6 +212,9 @@ def to_argilla_record(self, dataset_row: Dict[str, Any]) -> "FeedbackRecord":
arg_value = dataset_row[arg_name]
if isinstance(arg_value, list):
for idx, value in enumerate(arg_value, start=1):
# TODO: value formatting was included here due to some issues
# with `SelfInstructTask` but these list-parsing may not be needed
# anymore.
value = (
value.strip()
if isinstance(value, str)
Expand Down

0 comments on commit 6d0b7c3

Please sign in to comment.