You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"""Prepare a dataset for the given task by casting the dataset's :class:`Features` to standardized column names and types as detailed in :obj:`datasets.tasks`.
1390
1390
1391
1391
Casts :attr:`datasets.DatasetInfo.features` according to a task-specific schema.
"""Prepare a dataset for the given task by casting the dataset's :class:`Features` to standardized column names and types as detailed in :obj:`datasets.tasks`.
797
797
798
798
Casts :attr:`datasets.DatasetInfo.features` according to a task-specific schema.
Copy file name to clipboardExpand all lines: src/datasets/load.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -696,7 +696,7 @@ def load_dataset(
696
696
You can specify a different version that the default "main" by using a commit sha or a git tag of the dataset repository.
697
697
use_auth_token (``str`` or ``bool``, optional): Optional string or boolean to use as Bearer token for remote files on the Datasets Hub.
698
698
If True, will get token from `"~/.huggingface"`.
699
-
task (``str``): The task to prepare the dataset for during training and evaluation. Casts the dataset's :class:`Features` according to one of the schemas in `~tasks`.
699
+
task (``str``): The task to prepare the dataset for during training and evaluation. Casts the dataset's :class:`Features` to standardized column names and types as detailed in :obj:`datasets.tasks`.
700
700
**config_kwargs: Keyword arguments to be passed to the :class:`BuilderConfig` and used in the :class:`DatasetBuilder`.
0 commit comments