Update the splits for a dataset.
update_dataset_splits(
self,
*,
dataset_id: Optional[ID_TYPE] = None,
dataset_name: Optional[str] = None,
split_name: str,
example_ids: list[ID_TYPE],
remove: bool = False
) -> None| Name | Type | Description |
|---|---|---|
dataset_id | Optional[Union[UUID, str]] | Default: NoneThe ID of the dataset to update. |
dataset_name | Optional[str] | Default: NoneThe name of the dataset to update. |
split_name* | str | The name of the split to update. |
example_ids* | List[Union[UUID, str]] | The IDs of the examples to add to or remove from the split. |
remove | Optional[bool] | Default: FalseIf True, remove the examples from the split. If False, add the examples to the split. |