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.
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 |
the |
|
group_generations |
whether to group the |
|
num_generations |
The number of generations to be produced per input. |