Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
gabrielmbmb committed Jun 4, 2024
1 parent 74064ff commit aac845c
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/distilabel/steps/tasks/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ class _Task(_Step, ABC):
default=True,
description=(
"Whether to include the raw output of the LLM in the key `raw_output_<TASK_NAME>`"
"of the `distilabel_metadata` dictionary output column"
" of the `distilabel_metadata` dictionary output column"
),
)
num_generations: RuntimeParameter[int] = Field(
Expand Down
2 changes: 1 addition & 1 deletion tests/unit/steps/tasks/evol_instruct/test_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ def test_serialization(self, dummy_llm: LLM) -> None:
],
},
{
"description": "Whether to include the raw output of the LLM in the output.",
"description": "Whether to include the raw output of the LLM in the key `raw_output_<TASK_NAME>` of the `distilabel_metadata` dictionary output column",
"name": "add_raw_output",
"optional": True,
},
Expand Down
2 changes: 1 addition & 1 deletion tests/unit/steps/tasks/evol_instruct/test_generator.py
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ def test_serialization(self, dummy_llm: LLM) -> None:
],
},
{
"description": "Whether to include the raw output of the LLM in the output.",
"description": "Whether to include the raw output of the LLM in the key `raw_output_<TASK_NAME>` of the `distilabel_metadata` dictionary output column",
"name": "add_raw_output",
"optional": True,
},
Expand Down
2 changes: 1 addition & 1 deletion tests/unit/steps/tasks/evol_quality/test_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ def test_serialization(self, dummy_llm: LLM) -> None:
],
},
{
"description": "Whether to include the raw output of the LLM in the output.",
"description": "Whether to include the raw output of the LLM in the key `raw_output_<TASK_NAME>` of the `distilabel_metadata` dictionary output column",
"name": "add_raw_output",
"optional": True,
},
Expand Down
2 changes: 1 addition & 1 deletion tests/unit/steps/tasks/test_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ def test_serialization(self) -> None:
],
},
{
"description": "Whether to include the raw output of the LLM in the output.",
"description": "Whether to include the raw output of the LLM in the key `raw_output_<TASK_NAME>` of the `distilabel_metadata` dictionary output column",
"name": "add_raw_output",
"optional": True,
},
Expand Down

0 comments on commit aac845c

Please sign in to comment.