As of datasets >= 4.5.0, dataset scripts are no longer supported.
Attempting to fetch data with:
datasets.load_dataset(
"MahmoodLab/Patho-Bench",
cache_dir=".",
dataset_to_download="cptac_ccrcc",
task_in_dataset="BAP1_mutation",
trust_remote_code=True,
)
Raises the warning:
`trust_remote_code` is not supported anymore.
Please check that the Hugging Face dataset 'MahmoodLab/Patho-Bench' isn't based on a loading script and remove `trust_remote_code`.
If the dataset is based on a loading script, please ask the dataset author to remove it and convert it to a standard format like Parquet.
and the RuntimeError(f"Dataset scripts are no longer supported, but found {filename}")
As of
datasets >= 4.5.0, dataset scripts are no longer supported.Attempting to fetch data with:
Raises the warning:
and the
RuntimeError(f"Dataset scripts are no longer supported, but found {filename}")