GeneratorTask¶
This section contains the API reference for the distilabel
generator tasks.
For more information on how the GeneratorTask
works and see some examples, check the Tutorial - Task - GeneratorTask page.
GeneratorTask
¶
Bases: _Task
, GeneratorStep
GeneratorTask
is a class that implements the _Task
abstract class and adds the
GeneratorStep
interface to be used as a step in the pipeline.
Attributes:
Name | Type | Description |
---|---|---|
llm |
LLM
|
the |
group_generations |
bool
|
whether to group the |
num_generations |
RuntimeParameter[int]
|
The number of generations to be produced per input. |