dataset
load_task_from_disk(path)
Loads a task from disk.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
path |
Path
|
The path to the task. |
required |
Returns:
Name | Type | Description |
---|---|---|
Task |
Task
|
The task. |
Source code in src/distilabel/utils/dataset.py
save_task_to_disk(path, task)
Saves a task to disk.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
path |
Path
|
The path to the task. |
required |
task |
Task
|
The task. |
required |