| Name | Modified | Size | Downloads / Week |
|---|---|---|---|
| Parent folder | |||
| 4.4.0 source code.tar.gz | 2025-11-04 | 2.2 MB | |
| 4.4.0 source code.zip | 2025-11-04 | 2.3 MB | |
| README.md | 2025-11-04 | 2.2 kB | |
| Totals: 3 Items | 4.5 MB | 0 | |
Dataset Features
- Add nifti support by @CloseChoice in https://github.com/huggingface/datasets/pull/7815
- Load medical imaging datasets from Hugging Face:
python
ds = load_dataset("username/my_nifti_dataset")
ds["train"][0] # {"nifti": <nibabel.nifti1.Nifti1Image>}
* Load medical imaging datasets from your disk:
python
files = ["/path/to/scan_001.nii.gz", "/path/to/scan_002.nii.gz"]
ds = Dataset.from_dict({"nifti": files}).cast_column("nifti", Nifti())
ds["train"][0] # {"nifti": <nibabel.nifti1.Nifti1Image>}
- Documentation: https://huggingface.co/docs/datasets/nifti_dataset
-
Add num channels to audio by @CloseChoice in https://github.com/huggingface/datasets/pull/7840
:::python
samples have shape (num_channels, num_samples)
ds = ds.cast_column("audio", Audio()) # default, use all channels ds = ds.cast_column("audio", Audio(num_channels=2)) # use stereo ds = ds.cast_column("audio", Audio(num_channels=1)) # use mono
-
Python 3.14 support by @lhoestq in https://github.com/huggingface/datasets/pull/7836
What's Changed
- Fix random seed on shuffle and interleave_datasets by @CloseChoice in https://github.com/huggingface/datasets/pull/7823
- fix ci compressionfs by @lhoestq in https://github.com/huggingface/datasets/pull/7830
- fix: better args passthrough for
_batch_setitems()by @sghng in https://github.com/huggingface/datasets/pull/7817 - Fix: Properly render [!TIP] block in stream.shuffle documentation by @art-test-stack in https://github.com/huggingface/datasets/pull/7833
- resolves the ValueError: Unable to avoid copy while creating an array by @ArjunJagdale in https://github.com/huggingface/datasets/pull/7831
- fix column with transform by @lhoestq in https://github.com/huggingface/datasets/pull/7843
- support fsspec 2025.10.0 by @lhoestq in https://github.com/huggingface/datasets/pull/7844
New Contributors
- @sghng made their first contribution in https://github.com/huggingface/datasets/pull/7817
- @art-test-stack made their first contribution in https://github.com/huggingface/datasets/pull/7833
Full Changelog: https://github.com/huggingface/datasets/compare/4.3.0...4.4.0