mirror of
https://github.com/modelscope/modelscope.git
synced 2025-12-16 08:17:45 +01:00
reset datasets tmp.
This commit is contained in:
@@ -170,7 +170,7 @@ class MsDataset:
|
||||
custom_cfg: Optional[Config] = Config(),
|
||||
token: Optional[str] = None,
|
||||
dataset_info_only: Optional[bool] = False,
|
||||
trust_remote_code: Optional[bool] = False,
|
||||
trust_remote_code: Optional[bool] = True,
|
||||
**config_kwargs,
|
||||
) -> Union[dict, 'MsDataset', NativeIterableDataset]:
|
||||
"""Load a MsDataset from the ModelScope Hub, Hugging Face Hub, urls, or a local dataset.
|
||||
|
||||
@@ -894,7 +894,7 @@ class DatasetsWrapperHF:
|
||||
streaming: bool = False,
|
||||
num_proc: Optional[int] = None,
|
||||
storage_options: Optional[Dict] = None,
|
||||
trust_remote_code: bool = False,
|
||||
trust_remote_code: bool = True,
|
||||
dataset_info_only: Optional[bool] = False,
|
||||
**config_kwargs,
|
||||
) -> Union[DatasetDict, Dataset, IterableDatasetDict, IterableDataset,
|
||||
|
||||
Reference in New Issue
Block a user