Skip to content

Commit

Permalink
Add EvolQuality to tasks.__init__.py (#525)
Browse files Browse the repository at this point in the history
* Add `EvolQuality` to `tasks.__init__.py`

* Update docstring
  • Loading branch information
davidberenstein1957 committed Apr 15, 2024
1 parent 25d237b commit 5aeda69
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions src/distilabel/steps/tasks/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
EvolComplexityGenerator,
)
from distilabel.steps.tasks.evol_instruct.generator import EvolInstructGenerator
from distilabel.steps.tasks.evol_quality.base import EvolQuality
from distilabel.steps.tasks.generate_embeddings import GenerateEmbeddings
from distilabel.steps.tasks.instruction_backtranslation import (
InstructionBacktranslation,
Expand All @@ -41,6 +42,7 @@
"EvolComplexity",
"EvolComplexityGenerator",
"EvolInstructGenerator",
"EvolQuality",
"GenerateEmbeddings",
"InstructionBacktranslation",
"PairRM",
Expand Down
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 @@ -49,7 +49,7 @@ class EvolQuality(Task):
Input columns:
- instruction (`str`): The instruction that was used to generate the `responses`.
- responses (`List[str]`): The responses to be scored. Each response forms a pair with the instruction.
- response (`str`): The responses to be rewritten.
Output columns:
- evolved_response (`str`): The evolved response if `store_evolutions=False`.
Expand Down

0 comments on commit 5aeda69

Please sign in to comment.