Skip to content

Releases: JuliaGenAI/HuggingFaceDatasets.jl

v0.4.2

Choose a tag to compare

@github-actions github-actions released this 07 Jul 10:43
0275957

HuggingFaceDatasets v0.4.2

Diff since v0.4.1

Merged pull requests:

v0.4.1

Choose a tag to compare

@github-actions github-actions released this 06 Jul 06:14
1d59183

HuggingFaceDatasets v0.4.1

Diff since v0.4.0

Merged pull requests:

v0.4.0

Choose a tag to compare

@CarloLucibello CarloLucibello released this 04 Jul 05:09

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 new Dataset(::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 raw Py objects. Wrapping a raw datasets.Dataset directly (Dataset(pyds)) stays format-neutral. Opt out with set_format!(ds, nothing) (or with_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 than Gray/RGB colorviews — update downstream code expecting Colorant element types.
  • Bumped the datasets Python dependency to >=4.0, <5 (previously <4). Environments pinned to datasets 3.x are no longer supported.
  • reset_format! now restores the default "julia" format instead of stripping all formatting; use set_format!(ds, nothing) to strip to raw Python observations.
  • py2jl on a datasets.Column (and hence string indexing of a julia-formatted Dataset) now returns a lazy Column view instead of eagerly materializing the whole column. It still behaves like a vector; call collect for a plain Vector.
  • Invalid arguments now raise ArgumentError, and out-of-range indices raise BoundsError, instead of AssertionError — update any code catching AssertionError.

See the changelog for the full list of additions (Serialization support, streaming IterableDataset/IterableDatasetDict, Tables.jl construction, etc.).

v0.3.4

Choose a tag to compare

@github-actions github-actions released this 19 Dec 18:10
d61e4de

HuggingFaceDatasets v0.3.4

Diff since v0.3.3

Merged pull requests:

v0.3.3

Choose a tag to compare

@github-actions github-actions released this 19 Dec 15:49
dcec033

HuggingFaceDatasets v0.3.3

Diff since v0.3.2

Merged pull requests:

Closed issues:

  • move to JuliaML org (#3)
  • pin datasets to specific version (#19)
  • check links in README and documentation (#21)

v0.3.2

Choose a tag to compare

@github-actions github-actions released this 21 Jul 04:38
bd78bcf

HuggingFaceDatasets v0.3.2

Diff since v0.3.1

Closed issues:

  • natively load datasets with Arrow.jl (#12)

Merged pull requests:

  • CompatHelper: bump compat for ImageCore to 0.10, (keep existing compat) (#20) (@github-actions[bot])

v0.3.1

Choose a tag to compare

@github-actions github-actions released this 23 May 06:02
9088490

HuggingFaceDatasets v0.3.1

Diff since v0.3.0

Closed issues:

  • Can't load Amazon Reviews in Julia (#16)
  • Python: AttributeError: module 'PIL' has no attribute 'PngImagePlugin' (#17)

Merged pull requests:

v0.3.0

Choose a tag to compare

@github-actions github-actions released this 12 Feb 17:32
2b189f9

HuggingFaceDatasets v0.3.0

Diff since v0.2.1

Merged pull requests:

v0.2.1

Choose a tag to compare

@github-actions github-actions released this 11 Feb 12:16
6fecb5c

HuggingFaceDatasets v0.2.1

Diff since v0.2.0

Merged pull requests:

  • CompatHelper: bump compat for MLUtils to 0.4, (keep existing compat) (#13) (@github-actions[bot])

v0.2.0

Choose a tag to compare

@github-actions github-actions released this 29 Dec 08:02
08b34d9

HuggingFaceDatasets v0.2.0

Diff since v0.1.0