SkywardAI / kimchima

Customise neural nets, knowledge distillation and transfer learning collection
https://pypi.org/project/kimchima/
Apache License 2.0
0 stars 2 forks source link

Bump datasets from 2.18.0 to 2.19.2 #98

Closed dependabot[bot] closed 5 months ago

dependabot[bot] commented 5 months ago

Bumps datasets from 2.18.0 to 2.19.2.

Release notes

Sourced from datasets's releases.

2.19.2

Bug fixes

Full Changelog: https://github.com/huggingface/datasets/compare/2.19.1...2.19.2

2.19.1

Bug fixes

Full Changelog: https://github.com/huggingface/datasets/compare/2.19.0...2.19.1

2.19.0

Dataset Features

  • Add Polars compatibility by @​psmyth94 in huggingface/datasets#6531
    • convert to a Polars dataframe using .to_polars();
      import polars as pl
      from datasets import load_dataset
      ds = load_dataset("DIBT/10k_prompts_ranked", split="train")
      ds.to_polars() \
          .groupby("topic") \
          .agg(pl.len(), pl.first()) \
          .sort("len", descending=True)
      
    • Use Polars formatting to return Polars objects when accessing a dataset:
      ds = ds.with_format("polars")
      ds[:10].group_by("kind").len()
      
  • Add fsspec support for to_json, to_csv, and to_parquet by @​alvarobartt in huggingface/datasets#6096
    • Save on HF in any file format:
      ds.to_json("hf://datasets/username/my_json_dataset/data.jsonl")
      ds.to_csv("hf://datasets/username/my_csv_dataset/data.csv")
      ds.to_parquet("hf://datasets/username/my_parquet_dataset/data.parquet")
      
  • Add mode parameter to Image feature by @​mariosasko in huggingface/datasets#6735
    • Set images to be read in a certain mode like "RGB"
      dataset = dataset.cast_column("image", Image(mode="RGB"))
      
  • Add CLI function to convert script-dataset to Parquet by @​albertvillanova in huggingface/datasets#6795
    • run command to open a PR in script-based dataset to convert it to Parquet:

... (truncated)

Commits
  • 7290bbd Release: 2.19.2
  • 67b6909 Fix NonMatchingSplitsSizesError/ExpectedMoreSplits in no-code Hub datasets wh...
  • 18cebaf Update requests >=2.32.1 to fix vulnerability (#6909)
  • 12ed73a Require Pillow >= 9.4.0 to avoid AttributeError when loading image dataset (#...
  • 18db6cb Make CLI convert_to_parquet not raise error if no rights to create script bra...
  • bb2664c Release 2.19.1 (#6872)
  • a5a76a4 Fix download for dict of dicts of URLs (#6871)
  • 0d3c746 Release: 2.19.0 (#6825)
  • 0bc709a Fix parquet export infos (#6822)
  • 2a14271 Make convert_to_parquet CLI command create script branch (#6809)
  • Additional commits viewable in compare view


Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
dependabot[bot] commented 5 months ago

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.