Releases: JuliaGenAI/HuggingFaceDatasets.jl
Releases · JuliaGenAI/HuggingFaceDatasets.jl
Release list
v0.4.2
HuggingFaceDatasets v0.4.2
Merged pull requests:
- Process-parallel DataLoader (num_workers) support for Dataset (#64) (@CarloLucibello)
- Drop DLPack dependency; reorganize examples as perf benchmarks (#67) (@CarloLucibello)
v0.4.1
HuggingFaceDatasets v0.4.1
Merged pull requests:
- Add
Features/ClassLabelschema views (#65) (@CarloLucibello) - Use MLCore 1.1 extension for
getobs(::Py), drop type piracy (#66) (@CarloLucibello)
v0.4.0
Breaking changes
This is a breaking release (0.3.x → 0.4.0). Datasets are now returned in the "julia" format by default, so observations come back as native Julia values instead of raw Python objects.
"julia"is now the default format.load_dataset,DatasetDict, and the newDataset(::AbstractDict/::NamedTuple)constructors return datasets in the"julia"format, so indexing an observation (ds[i]), a column (ds["label"]), and iteration all convert to native Julia types instead of rawPyobjects. Wrapping a rawdatasets.Datasetdirectly (Dataset(pyds)) stays format-neutral. Opt out withset_format!(ds, nothing)(orwith_format(ds, nothing)).- The
"julia"format is now numpy-backed. Numeric array columns decode to real N-D Julia arrays and a range index stacks rows into a(dims…, N)tensor (observation axis last, the MLUtils convention). Consequently image columns now decode to raw numeric arrays rather thanGray/RGBcolorviews — update downstream code expectingColorantelement types. - Bumped the
datasetsPython dependency to>=4.0, <5(previously<4). Environments pinned todatasets3.x are no longer supported. reset_format!now restores the default"julia"format instead of stripping all formatting; useset_format!(ds, nothing)to strip to raw Python observations.py2jlon adatasets.Column(and hence string indexing of a julia-formattedDataset) now returns a lazyColumnview instead of eagerly materializing the whole column. It still behaves like a vector; callcollectfor a plainVector.- Invalid arguments now raise
ArgumentError, and out-of-range indices raiseBoundsError, instead ofAssertionError— update any code catchingAssertionError.
See the changelog for the full list of additions (Serialization support, streaming IterableDataset/IterableDatasetDict, Tables.jl construction, etc.).
v0.3.4
HuggingFaceDatasets v0.3.4
Merged pull requests:
- relax version requirements for
datasetspython package (#30) (@CarloLucibello)
v0.3.3
HuggingFaceDatasets v0.3.3
Merged pull requests:
- fix links (#22) (@CarloLucibello)
- misc updates (#23) (@CarloLucibello)
Closed issues:
v0.3.2
v0.3.1
HuggingFaceDatasets v0.3.1
Closed issues:
- Can't load Amazon Reviews in Julia (#16)
- Python: AttributeError: module 'PIL' has no attribute 'PngImagePlugin' (#17)
Merged pull requests:
- fix for PIL imports + fix DatasetDict julia format (#18) (@CarloLucibello)
v0.3.0
HuggingFaceDatasets v0.3.0
Merged pull requests:
- remove numpy format when
with_format("julia")(#15) (@CarloLucibello)
v0.2.1
HuggingFaceDatasets v0.2.1
Merged pull requests:
- CompatHelper: bump compat for MLUtils to 0.4, (keep existing compat) (#13) (@github-actions[bot])