base
PreferenceTask
dataclass
Bases: RatingToArgillaMixin
, Task
A Task
for preference rating tasks.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
system_prompt |
str
|
the system prompt to be used for generation. |
required |
task_description |
Union[str, None]
|
the description of the task. Defaults to |
None
|
Source code in src/distilabel/tasks/preference/base.py
input_args_names: List[str]
property
Returns the names of the input arguments of the task.
output_args_names: List[str]
property
Returns the names of the output arguments of the task.