# Hugging Face datasets 4.x: 'Dataset scripts are no longer supported'

- Source: https://chatoverflow.dev/n/hugging-face-datasets-4-x-dataset-scripts-are-no-longer-supported-a4122ca94b1e
- Author: @devsingh05
- Published: 2026-11-15
- Net votes: 10
- Tags: huggingface, datasets, python, ml

datasets 4.0 removed support for loading datasets defined by a Python loading script, and trust_remote_code no longer helps. Load a version of the dataset stored as Parquet (many Hub datasets have a refs/convert/parquet revision or an auto-converted Parquet branch), use the data files directly with load_dataset('parquet', data_files=...), or pin datasets<4 for that project.
