url
stringlengths
58
61
number
int64
1
8.23k
title
stringlengths
1
290
body
stringlengths
0
228k
state
stringclasses
2 values
created_at
timestamp[s]date
2020-04-14 10:18:02
2026-05-30 09:38:59
comments_url
stringlengths
67
70
pull_request
dict
is_pull_request
bool
2 classes
text
stringlengths
2
228k
comments
listlengths
0
30
https://api.github.com/repos/huggingface/datasets/issues/7063
7,063
Add `batch` method to `Dataset`
### Feature request Add a `batch` method to the Dataset class, similar to the one recently implemented for `IterableDataset` in PR #7054. ### Motivation A batched iteration speeds up data loading significantly (see e.g. #6279) ### Your contribution I plan to open a PR to implement this.
closed
2024-07-23T07:36:59
https://api.github.com/repos/huggingface/datasets/issues/7063/comments
null
false
Add `batch` method to `Dataset` ### Feature request Add a `batch` method to the Dataset class, similar to the one recently implemented for `IterableDataset` in PR #7054. ### Motivation A batched iteration speeds up data loading significantly (see e.g. #6279) ### Your contribution I plan to open a PR to implement t...
[]
https://api.github.com/repos/huggingface/datasets/issues/7062
7,062
Avoid calling http_head for non-HTTP URLs
Avoid calling `http_head` for non-HTTP URLs, by adding and `else` statement. Currently, it makes an unnecessary HTTP call (which adds latency) for non-HTTP protocols, like FTP, S3,... I discovered this while working in an unrelated issue.
closed
2024-07-23T07:25:09
https://api.github.com/repos/huggingface/datasets/issues/7062/comments
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/7062", "html_url": "https://github.com/huggingface/datasets/pull/7062", "diff_url": "https://github.com/huggingface/datasets/pull/7062.diff", "patch_url": "https://github.com/huggingface/datasets/pull/7062.patch", "merged_at": "2024-07-23T14:21...
true
Avoid calling http_head for non-HTTP URLs Avoid calling `http_head` for non-HTTP URLs, by adding and `else` statement. Currently, it makes an unnecessary HTTP call (which adds latency) for non-HTTP protocols, like FTP, S3,... I discovered this while working in an unrelated issue.
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_7062). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.", "<details>\n<summary>Show benchmarks</summary>\n\nPyArrow==8.0.0\n\n<details>\n<summary>...
https://api.github.com/repos/huggingface/datasets/issues/7061
7,061
Custom Dataset | Still Raise Error while handling errors in _generate_examples
### Describe the bug I follow this [example](https://discuss.huggingface.co/t/error-handling-in-iterabledataset/72827/3) to handle errors in custom dataset. I am writing a dataset script which read jsonl files and i need to handle errors and continue reading files without raising exception and exit the execution. `...
open
2024-07-22T21:18:12
https://api.github.com/repos/huggingface/datasets/issues/7061/comments
null
false
Custom Dataset | Still Raise Error while handling errors in _generate_examples ### Describe the bug I follow this [example](https://discuss.huggingface.co/t/error-handling-in-iterabledataset/72827/3) to handle errors in custom dataset. I am writing a dataset script which read jsonl files and i need to handle errors an...
[]
https://api.github.com/repos/huggingface/datasets/issues/7060
7,060
WebDataset BuilderConfig
This PR adds `WebDatasetConfig`. Closes #7055
closed
2024-07-22T15:41:07
https://api.github.com/repos/huggingface/datasets/issues/7060/comments
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/7060", "html_url": "https://github.com/huggingface/datasets/pull/7060", "diff_url": "https://github.com/huggingface/datasets/pull/7060.diff", "patch_url": "https://github.com/huggingface/datasets/pull/7060.patch", "merged_at": null }
true
WebDataset BuilderConfig This PR adds `WebDatasetConfig`. Closes #7055
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_7060). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update." ]
https://api.github.com/repos/huggingface/datasets/issues/7059
7,059
None values are skipped when reading jsonl in subobjects
### Describe the bug I have been fighting against my machine since this morning only to find out this is some kind of a bug. When loading a dataset composed of `metadata.jsonl`, if you have nullable values (Optional[str]), they can be ignored by the parser, shifting things around. E.g., let's take this example ...
open
2024-07-22T13:02:42
https://api.github.com/repos/huggingface/datasets/issues/7059/comments
null
false
None values are skipped when reading jsonl in subobjects ### Describe the bug I have been fighting against my machine since this morning only to find out this is some kind of a bug. When loading a dataset composed of `metadata.jsonl`, if you have nullable values (Optional[str]), they can be ignored by the parser, s...
[]
https://api.github.com/repos/huggingface/datasets/issues/7058
7,058
New feature type: Document
It would be useful for PDF. https://github.com/huggingface/dataset-viewer/issues/2991#issuecomment-2242656069
open
2024-07-22T10:49:20
https://api.github.com/repos/huggingface/datasets/issues/7058/comments
null
false
New feature type: Document It would be useful for PDF. https://github.com/huggingface/dataset-viewer/issues/2991#issuecomment-2242656069
[]
https://api.github.com/repos/huggingface/datasets/issues/7057
7,057
Update load_hub.mdx
null
closed
2024-07-22T10:17:46
https://api.github.com/repos/huggingface/datasets/issues/7057/comments
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/7057", "html_url": "https://github.com/huggingface/datasets/pull/7057", "diff_url": "https://github.com/huggingface/datasets/pull/7057.diff", "patch_url": "https://github.com/huggingface/datasets/pull/7057.patch", "merged_at": "2024-07-22T10:28...
true
Update load_hub.mdx
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_7057). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.", "<details>\n<summary>Show benchmarks</summary>\n\nPyArrow==8.0.0\n\n<details>\n<summary>...
https://api.github.com/repos/huggingface/datasets/issues/7056
7,056
Make `BufferShuffledExamplesIterable` resumable
This PR aims to implement a resumable `BufferShuffledExamplesIterable`. Instead of saving the entire buffer content, which is very memory-intensive, the newly implemented `BufferShuffledExamplesIterable` saves only the minimal state necessary for recovery, e.g., the random generator states and the state of the first e...
closed
2024-07-22T07:50:02
https://api.github.com/repos/huggingface/datasets/issues/7056/comments
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/7056", "html_url": "https://github.com/huggingface/datasets/pull/7056", "diff_url": "https://github.com/huggingface/datasets/pull/7056.diff", "patch_url": "https://github.com/huggingface/datasets/pull/7056.patch", "merged_at": null }
true
Make `BufferShuffledExamplesIterable` resumable This PR aims to implement a resumable `BufferShuffledExamplesIterable`. Instead of saving the entire buffer content, which is very memory-intensive, the newly implemented `BufferShuffledExamplesIterable` saves only the minimal state necessary for recovery, e.g., the rand...
[ "Oh cool !\r\n\r\nThe time it takes to resume depends on the expected maximum distance in this case right ? Do you know its relationship with $B$ ?\r\n\r\nIn your test it already as high as 15k for $B=1024$, which is ok for text datasets but is maybe not ideal for datasets with heavy samples like audio/image/video ...
https://api.github.com/repos/huggingface/datasets/issues/7055
7,055
WebDataset with different prefixes are unsupported
### Describe the bug Consider a WebDataset with multiple images for each item where the number of images may vary: [example](https://huggingface.co/datasets/bigdata-pw/fashion-150k) Due to this [code](https://github.com/huggingface/datasets/blob/87f4c2088854ff33e817e724e75179e9975c1b02/src/datasets/packaged_modules...
closed
2024-07-22T01:14:19
https://api.github.com/repos/huggingface/datasets/issues/7055/comments
null
false
WebDataset with different prefixes are unsupported ### Describe the bug Consider a WebDataset with multiple images for each item where the number of images may vary: [example](https://huggingface.co/datasets/bigdata-pw/fashion-150k) Due to this [code](https://github.com/huggingface/datasets/blob/87f4c2088854ff33e81...
[ "Since `datasets` uses is built on Arrow to store the data, it requires each sample to have the same columns.\r\n\r\nThis can be fixed by specifyign in advance the name of all the possible columns in the `dataset_info` in YAML, and missing values will be `None`", "Thanks. This currently doesn't work for WebDatase...
https://api.github.com/repos/huggingface/datasets/issues/7054
7,054
Add batching to `IterableDataset`
I've taken a try at implementing a batched `IterableDataset` as requested in issue #6279. This PR adds a new `BatchedExamplesIterable` class and a `.batch()` method to the `IterableDataset` class. The main changes are: 1. A new `BatchedExamplesIterable` that groups examples into batches. 2. A `.batch()` method for...
closed
2024-07-19T10:11:47
https://api.github.com/repos/huggingface/datasets/issues/7054/comments
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/7054", "html_url": "https://github.com/huggingface/datasets/pull/7054", "diff_url": "https://github.com/huggingface/datasets/pull/7054.diff", "patch_url": "https://github.com/huggingface/datasets/pull/7054.patch", "merged_at": "2024-07-23T10:34...
true
Add batching to `IterableDataset` I've taken a try at implementing a batched `IterableDataset` as requested in issue #6279. This PR adds a new `BatchedExamplesIterable` class and a `.batch()` method to the `IterableDataset` class. The main changes are: 1. A new `BatchedExamplesIterable` that groups examples into ba...
[ "Cool ! Thanks for diving into it :)\r\n\r\nYour implementation is great and indeed supports shuffling and batching, you just need to additionally account for state_dict (for dataset [checkpointing+resuming](https://huggingface.co/docs/datasets/main/en/use_with_pytorch#checkpoint-and-resume))\r\n\r\nThat being said...
https://api.github.com/repos/huggingface/datasets/issues/7053
7,053
Datasets.datafiles resolve_pattern `TypeError: can only concatenate tuple (not "str") to tuple`
### Describe the bug in data_files.py, line 332, `fs, _, _ = get_fs_token_paths(pattern, storage_options=storage_options)` If we run the code on AWS, as fs.protocol will be a tuple like: `('file', 'local')` So, `isinstance(fs.protocol, str) == False` and `protocol_prefix = fs.protocol + "://" if fs.protocol != ...
closed
2024-07-18T13:42:35
https://api.github.com/repos/huggingface/datasets/issues/7053/comments
null
false
Datasets.datafiles resolve_pattern `TypeError: can only concatenate tuple (not "str") to tuple` ### Describe the bug in data_files.py, line 332, `fs, _, _ = get_fs_token_paths(pattern, storage_options=storage_options)` If we run the code on AWS, as fs.protocol will be a tuple like: `('file', 'local')` So, `isins...
[ "Hi,\r\n\r\nThis issue was fixed in `datasets` 2.15.0:\r\n- #6105\r\n\r\nYou will need to update your `datasets`:\r\n```\r\npip install -U datasets\r\n```", "Duplicate of:\r\n- #6100" ]
https://api.github.com/repos/huggingface/datasets/issues/7052
7,052
Adding `Music` feature for symbolic music modality (MIDI, abc)
⚠️ (WIP) ⚠️ ### What this PR does This PR adds a `Music` feature for the symbolic music modality, in particular [MIDI](https://en.wikipedia.org/wiki/Musical_Instrument_Digital_Interface) and [abc](https://en.wikipedia.org/wiki/ABC_notation) files. ### Motivations These two file formats are widely used in th...
closed
2024-07-16T17:26:04
https://api.github.com/repos/huggingface/datasets/issues/7052/comments
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/7052", "html_url": "https://github.com/huggingface/datasets/pull/7052", "diff_url": "https://github.com/huggingface/datasets/pull/7052.diff", "patch_url": "https://github.com/huggingface/datasets/pull/7052.patch", "merged_at": null }
true
Adding `Music` feature for symbolic music modality (MIDI, abc) ⚠️ (WIP) ⚠️ ### What this PR does This PR adds a `Music` feature for the symbolic music modality, in particular [MIDI](https://en.wikipedia.org/wiki/Musical_Instrument_Digital_Interface) and [abc](https://en.wikipedia.org/wiki/ABC_notation) files. ...
[]
https://api.github.com/repos/huggingface/datasets/issues/7051
7,051
How to set_epoch with interleave_datasets?
Let's say I have dataset A which has 100k examples, and dataset B which has 100m examples. I want to train on an interleaved dataset of A+B, with stopping_strategy='all_exhausted' so dataset B doesn't repeat any examples. But every time A is exhausted I want it to be reshuffled (eg. calling set_epoch) Of course I...
closed
2024-07-15T18:24:52
https://api.github.com/repos/huggingface/datasets/issues/7051/comments
null
false
How to set_epoch with interleave_datasets? Let's say I have dataset A which has 100k examples, and dataset B which has 100m examples. I want to train on an interleaved dataset of A+B, with stopping_strategy='all_exhausted' so dataset B doesn't repeat any examples. But every time A is exhausted I want it to be reshuf...
[ "This is not possible right now afaik :/\r\n\r\nMaybe we could have something like this ? wdyt ?\r\n\r\n```python\r\nds = interleave_datasets(\r\n [shuffled_dataset_a, dataset_b],\r\n probabilities=probabilities,\r\n stopping_strategy='all_exhausted',\r\n reshuffle_each_iteration=True,\r\n)", "That wo...
https://api.github.com/repos/huggingface/datasets/issues/7050
7,050
add checkpoint and resume title in docs
(minor) just to make it more prominent in the docs page for the soon-to-be-released new torchdata
closed
2024-07-15T15:38:04
https://api.github.com/repos/huggingface/datasets/issues/7050/comments
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/7050", "html_url": "https://github.com/huggingface/datasets/pull/7050", "diff_url": "https://github.com/huggingface/datasets/pull/7050.diff", "patch_url": "https://github.com/huggingface/datasets/pull/7050.patch", "merged_at": "2024-07-15T15:59...
true
add checkpoint and resume title in docs (minor) just to make it more prominent in the docs page for the soon-to-be-released new torchdata
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_7050). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.", "<details>\n<summary>Show benchmarks</summary>\n\nPyArrow==8.0.0\n\n<details>\n<summary>...
https://api.github.com/repos/huggingface/datasets/issues/7049
7,049
Save nparray as list
### Describe the bug When I use the `map` function to convert images into features, datasets saves nparray as a list. Some people use the `set_format` function to convert the column back, but doesn't this lose precision? ### Steps to reproduce the bug the map function ```python def convert_image_to_features(inst, ...
closed
2024-07-15T11:36:11
https://api.github.com/repos/huggingface/datasets/issues/7049/comments
null
false
Save nparray as list ### Describe the bug When I use the `map` function to convert images into features, datasets saves nparray as a list. Some people use the `set_format` function to convert the column back, but doesn't this lose precision? ### Steps to reproduce the bug the map function ```python def convert_ima...
[ "In addition, when I use `set_format ` and index the ds, the following error occurs:\r\nthe code\r\n```python\r\nds.set_format(type=\"np\", colums=\"pixel_values\")\r\n```\r\nerror\r\n<img width=\"918\" alt=\"image\" src=\"https://github.com/user-attachments/assets/b28bbff2-20ea-4d28-ab62-b4ed2d944996\">\r\n", ">...
https://api.github.com/repos/huggingface/datasets/issues/7048
7,048
ImportError: numpy.core.multiarray when using `filter`
### Describe the bug I can't apply the filter method on my dataset. ### Steps to reproduce the bug The following snippet generates a bug: ```python from datasets import load_dataset ami = load_dataset('kamilakesbi/ami', 'ihm') ami['train'].filter( lambda example: example["file_name"] == 'EN2001a' ...
closed
2024-07-15T11:21:04
https://api.github.com/repos/huggingface/datasets/issues/7048/comments
null
false
ImportError: numpy.core.multiarray when using `filter` ### Describe the bug I can't apply the filter method on my dataset. ### Steps to reproduce the bug The following snippet generates a bug: ```python from datasets import load_dataset ami = load_dataset('kamilakesbi/ami', 'ihm') ami['train'].filter( ...
[ "Could you please check your `numpy` version?", "I got this issue while using numpy version 2.0. \r\n\r\nI solved it by switching back to numpy 1.26.0 :) ", "We recently added support for numpy 2.0, but it is not released yet.", "Ok I see, thanks! I think we can close this issue for now as switching back to v...
https://api.github.com/repos/huggingface/datasets/issues/7047
7,047
Save Dataset as Sharded Parquet
### Feature request `to_parquet` currently saves the dataset as one massive, monolithic parquet file, rather than as several small parquet files. It should shard large datasets automatically. ### Motivation This default behavior makes me very sad because a program I ran for 6 hours saved its results using `to_...
open
2024-07-12T23:47:51
https://api.github.com/repos/huggingface/datasets/issues/7047/comments
null
false
Save Dataset as Sharded Parquet ### Feature request `to_parquet` currently saves the dataset as one massive, monolithic parquet file, rather than as several small parquet files. It should shard large datasets automatically. ### Motivation This default behavior makes me very sad because a program I ran for 6 h...
[ "To anyone else who finds themselves in this predicament, it's possible to read the parquet file in the same way that datasets writes it, and then manually break it into pieces. Although, you need a couple of magic options (`thrift_*`) to deal with the huge metadata, otherwise pyarrow immediately crashes.\r\n```pyt...
https://api.github.com/repos/huggingface/datasets/issues/7046
7,046
Support librosa and numpy 2.0 for Python 3.10
Support librosa and numpy 2.0 for Python 3.10 by installing soxr 0.4.0b1 pre-release: - https://github.com/dofuuz/python-soxr/releases/tag/v0.4.0b1 - https://github.com/dofuuz/python-soxr/issues/28
closed
2024-07-12T12:42:47
https://api.github.com/repos/huggingface/datasets/issues/7046/comments
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/7046", "html_url": "https://github.com/huggingface/datasets/pull/7046", "diff_url": "https://github.com/huggingface/datasets/pull/7046.diff", "patch_url": "https://github.com/huggingface/datasets/pull/7046.patch", "merged_at": "2024-07-12T12:58...
true
Support librosa and numpy 2.0 for Python 3.10 Support librosa and numpy 2.0 for Python 3.10 by installing soxr 0.4.0b1 pre-release: - https://github.com/dofuuz/python-soxr/releases/tag/v0.4.0b1 - https://github.com/dofuuz/python-soxr/issues/28
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_7046). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.", "<details>\n<summary>Show benchmarks</summary>\n\nPyArrow==8.0.0\n\n<details>\n<summary>...
https://api.github.com/repos/huggingface/datasets/issues/7045
7,045
Fix tensorflow min version depending on Python version
Fix tensorflow min version depending on Python version. Related to: - #6991
closed
2024-07-12T12:20:23
https://api.github.com/repos/huggingface/datasets/issues/7045/comments
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/7045", "html_url": "https://github.com/huggingface/datasets/pull/7045", "diff_url": "https://github.com/huggingface/datasets/pull/7045.diff", "patch_url": "https://github.com/huggingface/datasets/pull/7045.patch", "merged_at": "2024-07-12T12:33...
true
Fix tensorflow min version depending on Python version Fix tensorflow min version depending on Python version. Related to: - #6991
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_7045). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.", "<details>\n<summary>Show benchmarks</summary>\n\nPyArrow==8.0.0\n\n<details>\n<summary>...
https://api.github.com/repos/huggingface/datasets/issues/7044
7,044
Mark tests that require librosa
Mark tests that require `librosa`. Note that `librosa` is an optional dependency (installed with `audio` option) and we should be able to test environments without that library installed. This is the case if we want to test Numpy 2.0, which is currently incompatible with `librosa` due to its dependency on `soxr`: -...
closed
2024-07-12T08:06:59
https://api.github.com/repos/huggingface/datasets/issues/7044/comments
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/7044", "html_url": "https://github.com/huggingface/datasets/pull/7044", "diff_url": "https://github.com/huggingface/datasets/pull/7044.diff", "patch_url": "https://github.com/huggingface/datasets/pull/7044.patch", "merged_at": "2024-07-12T09:00...
true
Mark tests that require librosa Mark tests that require `librosa`. Note that `librosa` is an optional dependency (installed with `audio` option) and we should be able to test environments without that library installed. This is the case if we want to test Numpy 2.0, which is currently incompatible with `librosa` due...
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_7044). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.", "<details>\n<summary>Show benchmarks</summary>\n\nPyArrow==8.0.0\n\n<details>\n<summary>...
https://api.github.com/repos/huggingface/datasets/issues/7043
7,043
Add decorator as explicit test dependency
Add decorator as explicit test dependency. We use `decorator` library in our CI test since PR: - #4845 However we did not add it as an explicit test requirement, and we depended on it indirectly through other libraries' dependencies. I discovered this while testing Numpy 2.0 and removing incompatible librarie...
closed
2024-07-12T07:35:23
https://api.github.com/repos/huggingface/datasets/issues/7043/comments
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/7043", "html_url": "https://github.com/huggingface/datasets/pull/7043", "diff_url": "https://github.com/huggingface/datasets/pull/7043.diff", "patch_url": "https://github.com/huggingface/datasets/pull/7043.patch", "merged_at": "2024-07-12T08:07...
true
Add decorator as explicit test dependency Add decorator as explicit test dependency. We use `decorator` library in our CI test since PR: - #4845 However we did not add it as an explicit test requirement, and we depended on it indirectly through other libraries' dependencies. I discovered this while testing Nu...
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_7043). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.", "<details>\n<summary>Show benchmarks</summary>\n\nPyArrow==8.0.0\n\n<details>\n<summary>...
https://api.github.com/repos/huggingface/datasets/issues/7042
7,042
Improved the tutorial by adding a link for loading datasets
Improved the tutorial by letting readers know about loading datasets with common files and including a link. I left the local files section alone because the methods were already listed with code snippets.
closed
2024-07-12T03:49:54
https://api.github.com/repos/huggingface/datasets/issues/7042/comments
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/7042", "html_url": "https://github.com/huggingface/datasets/pull/7042", "diff_url": "https://github.com/huggingface/datasets/pull/7042.diff", "patch_url": "https://github.com/huggingface/datasets/pull/7042.patch", "merged_at": "2024-08-15T10:01...
true
Improved the tutorial by adding a link for loading datasets Improved the tutorial by letting readers know about loading datasets with common files and including a link. I left the local files section alone because the methods were already listed with code snippets.
[ "<details>\n<summary>Show benchmarks</summary>\n\nPyArrow==8.0.0\n\n<details>\n<summary>Show updated benchmarks!</summary>\n\n### Benchmark: benchmark_array_xd.json\n\n| metric | read_batch_formatted_as_numpy after write_array2d | read_batch_formatted_as_numpy after write_flattened_sequence | read_batch_formatted_a...
https://api.github.com/repos/huggingface/datasets/issues/7041
7,041
`sort` after `filter` unreasonably slow
### Describe the bug as the tittle says ... ### Steps to reproduce the bug `sort` seems to be normal. ```python from datasets import Dataset import random nums = [{"k":random.choice(range(0,1000))} for _ in range(100000)] ds = Dataset.from_list(nums) print("start sort") ds = ds.sort("k") print("f...
closed
2024-07-12T03:29:27
https://api.github.com/repos/huggingface/datasets/issues/7041/comments
null
false
`sort` after `filter` unreasonably slow ### Describe the bug as the tittle says ... ### Steps to reproduce the bug `sort` seems to be normal. ```python from datasets import Dataset import random nums = [{"k":random.choice(range(0,1000))} for _ in range(100000)] ds = Dataset.from_list(nums) print("star...
[ "`filter` add an indices mapping on top of the dataset, so `sort` has to gather all the rows that are kept to form a new Arrow table and sort the table. Gathering all the rows can take some time, but is a necessary step. You can try calling `ds = ds.flatten_indices()` before sorting to remove the indices mapping.",...
https://api.github.com/repos/huggingface/datasets/issues/7040
7,040
load `streaming=True` dataset with downloaded cache
### Describe the bug We build a dataset which contains several hdf5 files and write a script using `h5py` to generate the dataset. The hdf5 files are large and the processed dataset cache takes more disk space. So we hope to try streaming iterable dataset. Unfortunately, `h5py` can't convert a remote URL into a hdf5 f...
open
2024-07-11T11:14:13
https://api.github.com/repos/huggingface/datasets/issues/7040/comments
null
false
load `streaming=True` dataset with downloaded cache ### Describe the bug We build a dataset which contains several hdf5 files and write a script using `h5py` to generate the dataset. The hdf5 files are large and the processed dataset cache takes more disk space. So we hope to try streaming iterable dataset. Unfortunat...
[ "When you pass `streaming=True`, the cache is ignored. The remote data URL is used instead and the data is streamed from the remote server.", "Thanks for your reply! So is there any solution to get my expected behavior besides clone the whole repo ? Or could I adjust my script to load the downloaded arrow files a...
https://api.github.com/repos/huggingface/datasets/issues/7039
7,039
Fix export to JSON when dataset larger than batch size
Fix export to JSON (`lines=False`) when dataset larger than batch size. Fix #7037.
open
2024-07-11T06:52:22
https://api.github.com/repos/huggingface/datasets/issues/7039/comments
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/7039", "html_url": "https://github.com/huggingface/datasets/pull/7039", "diff_url": "https://github.com/huggingface/datasets/pull/7039.diff", "patch_url": "https://github.com/huggingface/datasets/pull/7039.patch", "merged_at": null }
true
Fix export to JSON when dataset larger than batch size Fix export to JSON (`lines=False`) when dataset larger than batch size. Fix #7037.
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_7039). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.", "The test before confirms the bug.\r\n\r\nThere are different possible solutions to this...
https://api.github.com/repos/huggingface/datasets/issues/7037
7,037
A bug of Dataset.to_json() function
### Describe the bug When using the Dataset.to_json() function, an unexpected error occurs if the parameter is set to lines=False. The stored data should be in the form of a list, but it actually turns into multiple lists, which causes an error when reading the data again. The reason is that to_json() writes to the f...
open
2024-07-10T09:11:22
https://api.github.com/repos/huggingface/datasets/issues/7037/comments
null
false
A bug of Dataset.to_json() function ### Describe the bug When using the Dataset.to_json() function, an unexpected error occurs if the parameter is set to lines=False. The stored data should be in the form of a list, but it actually turns into multiple lists, which causes an error when reading the data again. The reas...
[ "Thanks for reporting, @LinglingGreat.\r\n\r\nI confirm this is a bug.", "@albertvillanova I would like to take a shot at this if you aren't working on it currently. Let me know!" ]
https://api.github.com/repos/huggingface/datasets/issues/7036
7,036
Fix doc generation when NamedSplit is used as parameter default value
Fix doc generation when `NamedSplit` is used as parameter default value. Fix #7035.
closed
2024-07-10T07:58:46
https://api.github.com/repos/huggingface/datasets/issues/7036/comments
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/7036", "html_url": "https://github.com/huggingface/datasets/pull/7036", "diff_url": "https://github.com/huggingface/datasets/pull/7036.diff", "patch_url": "https://github.com/huggingface/datasets/pull/7036.patch", "merged_at": "2024-07-26T07:51...
true
Fix doc generation when NamedSplit is used as parameter default value Fix doc generation when `NamedSplit` is used as parameter default value. Fix #7035.
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_7036). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.", "<details>\n<summary>Show benchmarks</summary>\n\nPyArrow==8.0.0\n\n<details>\n<summary>...
https://api.github.com/repos/huggingface/datasets/issues/7035
7,035
Docs are not generated when a parameter defaults to a NamedSplit value
While generating the docs, we get an error when some parameter defaults to a `NamedSplit` value, like: ```python def call_function(split=Split.TRAIN): ... ``` The error is: ValueError: Equality not supported between split train and <class 'inspect._empty'> See: https://github.com/huggingface/datasets/action...
closed
2024-07-10T07:51:24
https://api.github.com/repos/huggingface/datasets/issues/7035/comments
null
false
Docs are not generated when a parameter defaults to a NamedSplit value While generating the docs, we get an error when some parameter defaults to a `NamedSplit` value, like: ```python def call_function(split=Split.TRAIN): ... ``` The error is: ValueError: Equality not supported between split train and <class '...
[]
https://api.github.com/repos/huggingface/datasets/issues/7034
7,034
chore: fix typos in docs
null
closed
2024-07-09T08:35:05
https://api.github.com/repos/huggingface/datasets/issues/7034/comments
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/7034", "html_url": "https://github.com/huggingface/datasets/pull/7034", "diff_url": "https://github.com/huggingface/datasets/pull/7034.diff", "patch_url": "https://github.com/huggingface/datasets/pull/7034.patch", "merged_at": "2024-08-13T08:16...
true
chore: fix typos in docs
[ "<details>\n<summary>Show benchmarks</summary>\n\nPyArrow==8.0.0\n\n<details>\n<summary>Show updated benchmarks!</summary>\n\n### Benchmark: benchmark_array_xd.json\n\n| metric | read_batch_formatted_as_numpy after write_array2d | read_batch_formatted_as_numpy after write_flattened_sequence | read_batch_formatted_a...
https://api.github.com/repos/huggingface/datasets/issues/7033
7,033
`from_generator` does not allow to specify the split name
### Describe the bug I'm building train, dev, and test using `from_generator`; however, in all three cases, the logger prints `Generating train split:` It's not possible to change the split name since it seems to be hardcoded: https://github.com/huggingface/datasets/blob/main/src/datasets/packaged_modules/generator/g...
closed
2024-07-09T07:47:58
https://api.github.com/repos/huggingface/datasets/issues/7033/comments
null
false
`from_generator` does not allow to specify the split name ### Describe the bug I'm building train, dev, and test using `from_generator`; however, in all three cases, the logger prints `Generating train split:` It's not possible to change the split name since it seems to be hardcoded: https://github.com/huggingface/da...
[ "Thanks for reporting, @pminervini.\r\n\r\nI agree we should give the option to define the split name.\r\n\r\nIndeed, there is a PR that addresses precisely this issue:\r\n- #7015\r\n\r\nI am reviewing it.", "Booom! thank you guys :)" ]
https://api.github.com/repos/huggingface/datasets/issues/7032
7,032
Register `.zstd` extension for zstd-compressed files
For example, https://huggingface.co/datasets/mlfoundations/dclm-baseline-1.0 dataset files have `.zstd` extension which is currently ignored (only `.zst` is registered).
closed
2024-07-08T12:39:50
https://api.github.com/repos/huggingface/datasets/issues/7032/comments
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/7032", "html_url": "https://github.com/huggingface/datasets/pull/7032", "diff_url": "https://github.com/huggingface/datasets/pull/7032.diff", "patch_url": "https://github.com/huggingface/datasets/pull/7032.patch", "merged_at": null }
true
Register `.zstd` extension for zstd-compressed files For example, https://huggingface.co/datasets/mlfoundations/dclm-baseline-1.0 dataset files have `.zstd` extension which is currently ignored (only `.zst` is registered).
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_7032). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.", "@albertvillanova hm I don't know tbh, it's just that \"mlfoundations/dclm-baseline-1.0\...
https://api.github.com/repos/huggingface/datasets/issues/7031
7,031
CI quality is broken: use ruff check instead
CI quality is broken: https://github.com/huggingface/datasets/actions/runs/9838873879/job/27159697027 ``` error: `ruff <path>` has been removed. Use `ruff check <path>` instead. ```
closed
2024-07-08T11:42:24
https://api.github.com/repos/huggingface/datasets/issues/7031/comments
null
false
CI quality is broken: use ruff check instead CI quality is broken: https://github.com/huggingface/datasets/actions/runs/9838873879/job/27159697027 ``` error: `ruff <path>` has been removed. Use `ruff check <path>` instead. ```
[]
https://api.github.com/repos/huggingface/datasets/issues/7030
7,030
Add option to disable progress bar when reading a dataset ("Loading dataset from disk")
### Feature request Add an option in load_from_disk to disable the progress bar even if the number of files is larger than 16. ### Motivation I am reading a lot of datasets that it creates lots of logs. <img width="1432" alt="image" src="https://github.com/huggingface/datasets/assets/57996478/8d4bbf03-6b89-...
closed
2024-07-06T05:43:37
https://api.github.com/repos/huggingface/datasets/issues/7030/comments
null
false
Add option to disable progress bar when reading a dataset ("Loading dataset from disk") ### Feature request Add an option in load_from_disk to disable the progress bar even if the number of files is larger than 16. ### Motivation I am reading a lot of datasets that it creates lots of logs. <img width="1432"...
[ "You can disable progress bars for all of `datasets` with `disable_progress_bars`. [Link](https://huggingface.co/docs/datasets/en/package_reference/utilities#datasets.enable_progress_bars)\r\n\r\nSo you could do something like:\r\n\r\n```python\r\nfrom datasets import load_from_disk, enable_progress_bars, disable_p...
https://api.github.com/repos/huggingface/datasets/issues/7029
7,029
load_dataset on AWS lambda throws OSError(30, 'Read-only file system') error
### Describe the bug I'm using AWS lambda to run a python application. I run the `load_dataset` function with cache_dir="/tmp" and is still throws the OSError(30, 'Read-only file system') error. Is even updated all the HF envs to point to /tmp dir but the issue still persists. I can confirm that the I can write to /...
open
2024-07-04T19:15:16
https://api.github.com/repos/huggingface/datasets/issues/7029/comments
null
false
load_dataset on AWS lambda throws OSError(30, 'Read-only file system') error ### Describe the bug I'm using AWS lambda to run a python application. I run the `load_dataset` function with cache_dir="/tmp" and is still throws the OSError(30, 'Read-only file system') error. Is even updated all the HF envs to point to /...
[ "hi ! can you share the full stack trace ? this should help locate what files is not written in the cache_dir" ]
https://api.github.com/repos/huggingface/datasets/issues/7028
7,028
Fix ci
...after last pr errors
closed
2024-07-04T15:11:08
https://api.github.com/repos/huggingface/datasets/issues/7028/comments
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/7028", "html_url": "https://github.com/huggingface/datasets/pull/7028", "diff_url": "https://github.com/huggingface/datasets/pull/7028.diff", "patch_url": "https://github.com/huggingface/datasets/pull/7028.patch", "merged_at": "2024-07-04T15:19...
true
Fix ci ...after last pr errors
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_7028). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.", "<details>\n<summary>Show benchmarks</summary>\n\nPyArrow==8.0.0\n\n<details>\n<summary>...
https://api.github.com/repos/huggingface/datasets/issues/7027
7,027
Missing line from previous pr
null
closed
2024-07-04T14:34:29
https://api.github.com/repos/huggingface/datasets/issues/7027/comments
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/7027", "html_url": "https://github.com/huggingface/datasets/pull/7027", "diff_url": "https://github.com/huggingface/datasets/pull/7027.diff", "patch_url": "https://github.com/huggingface/datasets/pull/7027.patch", "merged_at": "2024-07-04T14:34...
true
Missing line from previous pr
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_7027). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.", "<details>\n<summary>Show benchmarks</summary>\n\nPyArrow==8.0.0\n\n<details>\n<summary>...
https://api.github.com/repos/huggingface/datasets/issues/7026
7,026
Fix check_library_imports
move it to after the `trust_remote_code` check Note that it only affects local datasets that already exist on disk, not datasets loaded from HF directly
closed
2024-07-04T14:18:38
https://api.github.com/repos/huggingface/datasets/issues/7026/comments
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/7026", "html_url": "https://github.com/huggingface/datasets/pull/7026", "diff_url": "https://github.com/huggingface/datasets/pull/7026.diff", "patch_url": "https://github.com/huggingface/datasets/pull/7026.patch", "merged_at": "2024-07-04T14:20...
true
Fix check_library_imports move it to after the `trust_remote_code` check Note that it only affects local datasets that already exist on disk, not datasets loaded from HF directly
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_7026). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.", "<details>\n<summary>Show benchmarks</summary>\n\nPyArrow==8.0.0\n\n<details>\n<summary>...
https://api.github.com/repos/huggingface/datasets/issues/7025
7,025
feat: support non streamable arrow file binary format
Support Arrow files (`.arrow`) that are in non streamable binary file formats.
closed
2024-07-04T10:11:12
https://api.github.com/repos/huggingface/datasets/issues/7025/comments
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/7025", "html_url": "https://github.com/huggingface/datasets/pull/7025", "diff_url": "https://github.com/huggingface/datasets/pull/7025.diff", "patch_url": "https://github.com/huggingface/datasets/pull/7025.patch", "merged_at": "2024-07-31T06:09...
true
feat: support non streamable arrow file binary format Support Arrow files (`.arrow`) that are in non streamable binary file formats.
[ "requesting review - @albertvillanova @lhoestq ", "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_7025). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.", "@lhoestq rebased the PR, It would b...
https://api.github.com/repos/huggingface/datasets/issues/7024
7,024
Streaming dataset not returning data
### Describe the bug I'm deciding to post here because I'm still not sure what the issue is, or if I am using IterableDatasets wrongly. I'm following the guide on here https://huggingface.co/learn/cookbook/en/fine_tuning_code_llm_on_single_gpu pretty much to a tee and have verified that it works when I'm fine-tuning ...
open
2024-07-04T07:21:47
https://api.github.com/repos/huggingface/datasets/issues/7024/comments
null
false
Streaming dataset not returning data ### Describe the bug I'm deciding to post here because I'm still not sure what the issue is, or if I am using IterableDatasets wrongly. I'm following the guide on here https://huggingface.co/learn/cookbook/en/fine_tuning_code_llm_on_single_gpu pretty much to a tee and have verifie...
[]
https://api.github.com/repos/huggingface/datasets/issues/7023
7,023
Remove dead code for pyarrow < 15.0.0
Remove dead code for pyarrow < 15.0.0. Code is dead since the merge of: - #6892 Fix #7022.
closed
2024-07-03T09:05:03
https://api.github.com/repos/huggingface/datasets/issues/7023/comments
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/7023", "html_url": "https://github.com/huggingface/datasets/pull/7023", "diff_url": "https://github.com/huggingface/datasets/pull/7023.diff", "patch_url": "https://github.com/huggingface/datasets/pull/7023.patch", "merged_at": "2024-07-03T09:17...
true
Remove dead code for pyarrow < 15.0.0 Remove dead code for pyarrow < 15.0.0. Code is dead since the merge of: - #6892 Fix #7022.
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_7023). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.", "<details>\n<summary>Show benchmarks</summary>\n\nPyArrow==8.0.0\n\n<details>\n<summary>...
https://api.github.com/repos/huggingface/datasets/issues/7022
7,022
There is dead code after we require pyarrow >= 15.0.0
There are code lines specific for pyarrow versions < 15.0.0. However, we require pyarrow >= 15.0.0 since the merge of PR: - #6892 Those code lines are now dead code and should be removed.
closed
2024-07-03T08:52:57
https://api.github.com/repos/huggingface/datasets/issues/7022/comments
null
false
There is dead code after we require pyarrow >= 15.0.0 There are code lines specific for pyarrow versions < 15.0.0. However, we require pyarrow >= 15.0.0 since the merge of PR: - #6892 Those code lines are now dead code and should be removed.
[]
https://api.github.com/repos/huggingface/datasets/issues/7021
7,021
Fix casting list array to fixed size list
Fix casting list array to fixed size list. This bug was introduced in [datasets-2.17.0](https://github.com/huggingface/datasets/releases/tag/2.17.0) by PR: https://github.com/huggingface/datasets/pull/6283/files#diff-1cb2b66aa9311d729cfd83013dad56cf5afcda35b39dfd0bfe9c3813a049eab0R1899 - #6283 Fix #7020.
closed
2024-07-03T07:58:57
https://api.github.com/repos/huggingface/datasets/issues/7021/comments
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/7021", "html_url": "https://github.com/huggingface/datasets/pull/7021", "diff_url": "https://github.com/huggingface/datasets/pull/7021.diff", "patch_url": "https://github.com/huggingface/datasets/pull/7021.patch", "merged_at": "2024-07-03T08:41...
true
Fix casting list array to fixed size list Fix casting list array to fixed size list. This bug was introduced in [datasets-2.17.0](https://github.com/huggingface/datasets/releases/tag/2.17.0) by PR: https://github.com/huggingface/datasets/pull/6283/files#diff-1cb2b66aa9311d729cfd83013dad56cf5afcda35b39dfd0bfe9c3813a0...
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_7021). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.", "<details>\n<summary>Show benchmarks</summary>\n\nPyArrow==8.0.0\n\n<details>\n<summary>...
https://api.github.com/repos/huggingface/datasets/issues/7020
7,020
Casting list array to fixed size list raises error
When trying to cast a list array to fixed size list, an AttributeError is raised: > AttributeError: 'pyarrow.lib.FixedSizeListType' object has no attribute 'length' Steps to reproduce the bug: ```python import pyarrow as pa from datasets.table import array_cast arr = pa.array([[0, 1]]) array_cast(arr, pa.lis...
closed
2024-07-03T07:54:49
https://api.github.com/repos/huggingface/datasets/issues/7020/comments
null
false
Casting list array to fixed size list raises error When trying to cast a list array to fixed size list, an AttributeError is raised: > AttributeError: 'pyarrow.lib.FixedSizeListType' object has no attribute 'length' Steps to reproduce the bug: ```python import pyarrow as pa from datasets.table import array_cast ...
[]
https://api.github.com/repos/huggingface/datasets/issues/7019
7,019
Support pyarrow large_list
Allow Polars round trip by supporting pyarrow large list. Fix #6834, fix #6984. Supersede and close #4800, close #6835, close #6986.
closed
2024-07-02T09:52:52
https://api.github.com/repos/huggingface/datasets/issues/7019/comments
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/7019", "html_url": "https://github.com/huggingface/datasets/pull/7019", "diff_url": "https://github.com/huggingface/datasets/pull/7019.diff", "patch_url": "https://github.com/huggingface/datasets/pull/7019.patch", "merged_at": "2024-08-12T14:43...
true
Support pyarrow large_list Allow Polars round trip by supporting pyarrow large list. Fix #6834, fix #6984. Supersede and close #4800, close #6835, close #6986.
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_7019). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.", "@albertvillanova really happy to see this fix.\r\n\r\nHave you attempted to save a data...
https://api.github.com/repos/huggingface/datasets/issues/7018
7,018
`load_dataset` fails to load dataset saved by `save_to_disk`
### Describe the bug This code fails to load the dataset it just saved: ```python from datasets import load_dataset from transformers import AutoTokenizer MODEL = "google-bert/bert-base-cased" tokenizer = AutoTokenizer.from_pretrained(MODEL) dataset = load_dataset("yelp_review_full") def tokenize_functi...
open
2024-07-01T12:19:19
https://api.github.com/repos/huggingface/datasets/issues/7018/comments
null
false
`load_dataset` fails to load dataset saved by `save_to_disk` ### Describe the bug This code fails to load the dataset it just saved: ```python from datasets import load_dataset from transformers import AutoTokenizer MODEL = "google-bert/bert-base-cased" tokenizer = AutoTokenizer.from_pretrained(MODEL) data...
[ "In my case the error was:\r\n```\r\nValueError: You are trying to load a dataset that was saved using `save_to_disk`. Please use `load_from_disk` instead.\r\n```\r\nDid you try `load_from_disk`?", "More generally, any reason there is no API consistency between save_to_disk and push_to_hub ? \r\n\r\nWould be nice...
https://api.github.com/repos/huggingface/datasets/issues/7017
7,017
Support fsspec 2024.6.1
Support fsspec 2024.6.1.
closed
2024-07-01T11:57:15
https://api.github.com/repos/huggingface/datasets/issues/7017/comments
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/7017", "html_url": "https://github.com/huggingface/datasets/pull/7017", "diff_url": "https://github.com/huggingface/datasets/pull/7017.diff", "patch_url": "https://github.com/huggingface/datasets/pull/7017.patch", "merged_at": "2024-07-01T12:06...
true
Support fsspec 2024.6.1 Support fsspec 2024.6.1.
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_7017). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.", "<details>\n<summary>Show benchmarks</summary>\n\nPyArrow==8.0.0\n\n<details>\n<summary>...
https://api.github.com/repos/huggingface/datasets/issues/7016
7,016
`drop_duplicates` method
### Feature request `drop_duplicates` method for huggingface datasets (similiar in simplicity to the `pandas` one) ### Motivation Ease of use ### Your contribution I don't think i am good enough to help
open
2024-07-01T09:01:06
https://api.github.com/repos/huggingface/datasets/issues/7016/comments
null
false
`drop_duplicates` method ### Feature request `drop_duplicates` method for huggingface datasets (similiar in simplicity to the `pandas` one) ### Motivation Ease of use ### Your contribution I don't think i am good enough to help
[ "There is an open issue #2514 about this which also proposes solutions." ]
https://api.github.com/repos/huggingface/datasets/issues/7015
7,015
add split argument to Generator
## Actual When creating a multi-split dataset using generators like ```python datasets.DatasetDict({ "val": datasets.Dataset.from_generator( generator=generator_val, features=features ), "test": datasets.Dataset.from_generator( generator=generator_test, features=features, ...
closed
2024-07-01T08:09:25
https://api.github.com/repos/huggingface/datasets/issues/7015/comments
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/7015", "html_url": "https://github.com/huggingface/datasets/pull/7015", "diff_url": "https://github.com/huggingface/datasets/pull/7015.diff", "patch_url": "https://github.com/huggingface/datasets/pull/7015.patch", "merged_at": "2024-07-26T09:31...
true
add split argument to Generator ## Actual When creating a multi-split dataset using generators like ```python datasets.DatasetDict({ "val": datasets.Dataset.from_generator( generator=generator_val, features=features ), "test": datasets.Dataset.from_generator( generator=generator_te...
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_7015). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.", "@albertvillanova thanks for the review, please take a look", "@albertvillanova please...
https://api.github.com/repos/huggingface/datasets/issues/7014
7,014
Skip faiss tests on Windows to avoid running CI for 360 minutes
Skip faiss tests on Windows to avoid running CI for 360 minutes. Fix #7013. Revert once the underlying issue is fixed.
closed
2024-07-01T06:45:35
https://api.github.com/repos/huggingface/datasets/issues/7014/comments
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/7014", "html_url": "https://github.com/huggingface/datasets/pull/7014", "diff_url": "https://github.com/huggingface/datasets/pull/7014.diff", "patch_url": "https://github.com/huggingface/datasets/pull/7014.patch", "merged_at": "2024-07-01T07:10...
true
Skip faiss tests on Windows to avoid running CI for 360 minutes Skip faiss tests on Windows to avoid running CI for 360 minutes. Fix #7013. Revert once the underlying issue is fixed.
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_7014). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.", "The failing CI tests are unrelated to this PR.\r\n\r\nWe can see that now the integrati...
https://api.github.com/repos/huggingface/datasets/issues/7013
7,013
CI is broken for faiss tests on Windows: node down: Not properly terminated
Faiss tests on Windows make the CI run indefinitely until maximum execution time (360 minutes) is reached. See: https://github.com/huggingface/datasets/actions/runs/9712659783 ``` test (integration, windows-latest, deps-minimum) The job running on runner GitHub Actions 60 has exceeded the maximum execution time o...
closed
2024-07-01T06:40:03
https://api.github.com/repos/huggingface/datasets/issues/7013/comments
null
false
CI is broken for faiss tests on Windows: node down: Not properly terminated Faiss tests on Windows make the CI run indefinitely until maximum execution time (360 minutes) is reached. See: https://github.com/huggingface/datasets/actions/runs/9712659783 ``` test (integration, windows-latest, deps-minimum) The job r...
[]
https://api.github.com/repos/huggingface/datasets/issues/7012
7,012
Raise an error when a nested object is expected to be a mapping that displays the object
null
closed
2024-06-28T18:10:59
https://api.github.com/repos/huggingface/datasets/issues/7012/comments
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/7012", "html_url": "https://github.com/huggingface/datasets/pull/7012", "diff_url": "https://github.com/huggingface/datasets/pull/7012.diff", "patch_url": "https://github.com/huggingface/datasets/pull/7012.patch", "merged_at": null }
true
Raise an error when a nested object is expected to be a mapping that displays the object
[]
https://api.github.com/repos/huggingface/datasets/issues/7011
7,011
Re-enable raising error from huggingface-hub FutureWarning in CI
Re-enable raising error from huggingface-hub FutureWarning in tests, once that the fix in transformers - https://github.com/huggingface/transformers/pull/31007 was just released yesterday in transformers-4.42.0: https://github.com/huggingface/transformers/releases/tag/v4.42.0 Fix #7010.
closed
2024-06-28T07:28:32
https://api.github.com/repos/huggingface/datasets/issues/7011/comments
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/7011", "html_url": "https://github.com/huggingface/datasets/pull/7011", "diff_url": "https://github.com/huggingface/datasets/pull/7011.diff", "patch_url": "https://github.com/huggingface/datasets/pull/7011.patch", "merged_at": "2024-06-28T12:19...
true
Re-enable raising error from huggingface-hub FutureWarning in CI Re-enable raising error from huggingface-hub FutureWarning in tests, once that the fix in transformers - https://github.com/huggingface/transformers/pull/31007 was just released yesterday in transformers-4.42.0: https://github.com/huggingface/transfor...
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_7011). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.", "<details>\n<summary>Show benchmarks</summary>\n\nPyArrow==8.0.0\n\n<details>\n<summary>...
https://api.github.com/repos/huggingface/datasets/issues/7010
7,010
Re-enable raising error from huggingface-hub FutureWarning in CI
Re-enable raising error from huggingface-hub FutureWarning in CI, which was disabled by PR: - #6876 Note that this can only be done once transformers releases the fix: - https://github.com/huggingface/transformers/pull/31007
closed
2024-06-28T07:23:40
https://api.github.com/repos/huggingface/datasets/issues/7010/comments
null
false
Re-enable raising error from huggingface-hub FutureWarning in CI Re-enable raising error from huggingface-hub FutureWarning in CI, which was disabled by PR: - #6876 Note that this can only be done once transformers releases the fix: - https://github.com/huggingface/transformers/pull/31007
[]
https://api.github.com/repos/huggingface/datasets/issues/7009
7,009
Support ruff 0.5.0 in CI
Support ruff 0.5.0 in CI and revert: - #7007 Fix #7008.
closed
2024-06-28T05:37:36
https://api.github.com/repos/huggingface/datasets/issues/7009/comments
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/7009", "html_url": "https://github.com/huggingface/datasets/pull/7009", "diff_url": "https://github.com/huggingface/datasets/pull/7009.diff", "patch_url": "https://github.com/huggingface/datasets/pull/7009.patch", "merged_at": "2024-06-28T07:11...
true
Support ruff 0.5.0 in CI Support ruff 0.5.0 in CI and revert: - #7007 Fix #7008.
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_7009). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.", "<details>\n<summary>Show benchmarks</summary>\n\nPyArrow==8.0.0\n\n<details>\n<summary>...
https://api.github.com/repos/huggingface/datasets/issues/7008
7,008
Support ruff 0.5.0 in CI
Support ruff 0.5.0 in CI. Also revert: - #7007
closed
2024-06-28T05:11:26
https://api.github.com/repos/huggingface/datasets/issues/7008/comments
null
false
Support ruff 0.5.0 in CI Support ruff 0.5.0 in CI. Also revert: - #7007
[]
https://api.github.com/repos/huggingface/datasets/issues/7007
7,007
Fix CI by temporarily pinning ruff < 0.5.0
As a hotfix for CI, temporarily pin ruff upper version < 0.5.0. Fix #7006. Revert once root cause is fixed.
closed
2024-06-28T05:09:17
https://api.github.com/repos/huggingface/datasets/issues/7007/comments
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/7007", "html_url": "https://github.com/huggingface/datasets/pull/7007", "diff_url": "https://github.com/huggingface/datasets/pull/7007.diff", "patch_url": "https://github.com/huggingface/datasets/pull/7007.patch", "merged_at": "2024-06-28T05:25...
true
Fix CI by temporarily pinning ruff < 0.5.0 As a hotfix for CI, temporarily pin ruff upper version < 0.5.0. Fix #7006. Revert once root cause is fixed.
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_7007). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.", "<details>\n<summary>Show benchmarks</summary>\n\nPyArrow==8.0.0\n\n<details>\n<summary>...
https://api.github.com/repos/huggingface/datasets/issues/7006
7,006
CI is broken after ruff-0.5.0: E721
After ruff-0.5.0 release (https://github.com/astral-sh/ruff/releases/tag/0.5.0), our CI is broken due to E721 rule. See: https://github.com/huggingface/datasets/actions/runs/9707641618/job/26793170961?pr=6983 > src/datasets/features/features.py:844:12: E721 Use `is` and `is not` for type comparisons, or `isinstanc...
closed
2024-06-28T05:03:28
https://api.github.com/repos/huggingface/datasets/issues/7006/comments
null
false
CI is broken after ruff-0.5.0: E721 After ruff-0.5.0 release (https://github.com/astral-sh/ruff/releases/tag/0.5.0), our CI is broken due to E721 rule. See: https://github.com/huggingface/datasets/actions/runs/9707641618/job/26793170961?pr=6983 > src/datasets/features/features.py:844:12: E721 Use `is` and `is not`...
[]
https://api.github.com/repos/huggingface/datasets/issues/7005
7,005
EmptyDatasetError: The directory at /metadata.jsonl doesn't contain any data files
### Describe the bug while trying to load custom dataset from jsonl file, I get the error: "metadata.jsonl doesn't contain any data files" ### Steps to reproduce the bug This is my [metadata_v2.jsonl](https://github.com/user-attachments/files/16016011/metadata_v2.json) file. I have this file in the folder with all ...
closed
2024-06-27T15:08:26
https://api.github.com/repos/huggingface/datasets/issues/7005/comments
null
false
EmptyDatasetError: The directory at /metadata.jsonl doesn't contain any data files ### Describe the bug while trying to load custom dataset from jsonl file, I get the error: "metadata.jsonl doesn't contain any data files" ### Steps to reproduce the bug This is my [metadata_v2.jsonl](https://github.com/user-attachmen...
[ "Hi ! `data_dir=` is for directories, can you try using `data_files=` instead ?", "If you are trying to load your image dataset from a local folder, you should replace \"data_dir=path/to/jsonl/metadata.jsonl\" with the real folder path in your computer.\r\n\r\nhttps://huggingface.co/docs/datasets/en/image_load#im...
https://api.github.com/repos/huggingface/datasets/issues/7004
7,004
Fix WebDatasets KeyError for user-defined Features when a field is missing in an example
Fixes: https://github.com/huggingface/datasets/issues/6900 Not sure if this needs any addition stuff before merging
closed
2024-06-26T18:58:05
https://api.github.com/repos/huggingface/datasets/issues/7004/comments
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/7004", "html_url": "https://github.com/huggingface/datasets/pull/7004", "diff_url": "https://github.com/huggingface/datasets/pull/7004.diff", "patch_url": "https://github.com/huggingface/datasets/pull/7004.patch", "merged_at": "2024-06-28T09:30...
true
Fix WebDatasets KeyError for user-defined Features when a field is missing in an example Fixes: https://github.com/huggingface/datasets/issues/6900 Not sure if this needs any addition stuff before merging
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_7004). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.", "<details>\n<summary>Show benchmarks</summary>\n\nPyArrow==8.0.0\n\n<details>\n<summary>...
https://api.github.com/repos/huggingface/datasets/issues/7003
7,003
minor fix for bfloat16
null
closed
2024-06-25T16:10:04
https://api.github.com/repos/huggingface/datasets/issues/7003/comments
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/7003", "html_url": "https://github.com/huggingface/datasets/pull/7003", "diff_url": "https://github.com/huggingface/datasets/pull/7003.diff", "patch_url": "https://github.com/huggingface/datasets/pull/7003.patch", "merged_at": "2024-06-25T16:10...
true
minor fix for bfloat16
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_7003). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.", "<details>\n<summary>Show benchmarks</summary>\n\nPyArrow==8.0.0\n\n<details>\n<summary>...
https://api.github.com/repos/huggingface/datasets/issues/7002
7,002
Fix dump of bfloat16 torch tensor
close https://github.com/huggingface/datasets/issues/7000
closed
2024-06-25T15:38:09
https://api.github.com/repos/huggingface/datasets/issues/7002/comments
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/7002", "html_url": "https://github.com/huggingface/datasets/pull/7002", "diff_url": "https://github.com/huggingface/datasets/pull/7002.diff", "patch_url": "https://github.com/huggingface/datasets/pull/7002.patch", "merged_at": "2024-06-25T15:51...
true
Fix dump of bfloat16 torch tensor close https://github.com/huggingface/datasets/issues/7000
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_7002). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.", "<details>\n<summary>Show benchmarks</summary>\n\nPyArrow==8.0.0\n\n<details>\n<summary>...
https://api.github.com/repos/huggingface/datasets/issues/7001
7,001
Datasetbuilder Local Download FileNotFoundError
### Describe the bug So I was trying to download a dataset and save it as parquet and I follow the [tutorial](https://huggingface.co/docs/datasets/filesystems#download-and-prepare-a-dataset-into-a-cloud-storage) of Huggingface. However, during the excution I face a FileNotFoundError. I debug the code and it seems...
open
2024-06-25T15:02:34
https://api.github.com/repos/huggingface/datasets/issues/7001/comments
null
false
Datasetbuilder Local Download FileNotFoundError ### Describe the bug So I was trying to download a dataset and save it as parquet and I follow the [tutorial](https://huggingface.co/docs/datasets/filesystems#download-and-prepare-a-dataset-into-a-cloud-storage) of Huggingface. However, during the excution I face a Fil...
[ "Ok it seems the solution is to use the directory string without the trailing \"/\" which in my case as: \r\n\r\n`parquet_dir = \"~/data/Parquet\" `\r\n\r\nStill i think this is a weird behavior... " ]
https://api.github.com/repos/huggingface/datasets/issues/7000
7,000
IterableDataset: Unsupported ScalarType BFloat16
### Describe the bug `IterableDataset.from_generator` crashes when using BFloat16: ``` File "/usr/local/lib/python3.11/site-packages/datasets/utils/_dill.py", line 169, in _save_torchTensor args = (obj.detach().cpu().numpy(),) ^^^^^^^^^^^^^^^^^^^^^^^^^^ TypeError: Got unsupported ScalarType ...
closed
2024-06-25T14:43:26
https://api.github.com/repos/huggingface/datasets/issues/7000/comments
null
false
IterableDataset: Unsupported ScalarType BFloat16 ### Describe the bug `IterableDataset.from_generator` crashes when using BFloat16: ``` File "/usr/local/lib/python3.11/site-packages/datasets/utils/_dill.py", line 169, in _save_torchTensor args = (obj.detach().cpu().numpy(),) ^^^^^^^^^^^^^^^^^^^...
[ "@lhoestq Thank you for merging #6607, but unfortunately the issue persists for `IterableDataset` :pensive: ", "Hi ! I opened https://github.com/huggingface/datasets/pull/7002 to fix this bug", "Amazing, thank you so much @lhoestq! :pray:" ]
https://api.github.com/repos/huggingface/datasets/issues/6999
6,999
Remove tasks
Remove tasks, as part of the 3.0 release.
closed
2024-06-25T09:06:16
https://api.github.com/repos/huggingface/datasets/issues/6999/comments
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/6999", "html_url": "https://github.com/huggingface/datasets/pull/6999", "diff_url": "https://github.com/huggingface/datasets/pull/6999.diff", "patch_url": "https://github.com/huggingface/datasets/pull/6999.patch", "merged_at": "2024-08-21T09:01...
true
Remove tasks Remove tasks, as part of the 3.0 release.
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_6999). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.", "<details>\n<summary>Show benchmarks</summary>\n\nPyArrow==8.0.0\n\n<details>\n<summary>...
https://api.github.com/repos/huggingface/datasets/issues/6998
6,998
Fix tests using hf-internal-testing/librispeech_asr_dummy
Fix tests using hf-internal-testing/librispeech_asr_dummy once that dataset has been converted to Parquet. Fix #6997.
closed
2024-06-25T07:59:44
https://api.github.com/repos/huggingface/datasets/issues/6998/comments
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/6998", "html_url": "https://github.com/huggingface/datasets/pull/6998", "diff_url": "https://github.com/huggingface/datasets/pull/6998.diff", "patch_url": "https://github.com/huggingface/datasets/pull/6998.patch", "merged_at": "2024-06-25T08:13...
true
Fix tests using hf-internal-testing/librispeech_asr_dummy Fix tests using hf-internal-testing/librispeech_asr_dummy once that dataset has been converted to Parquet. Fix #6997.
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_6998). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.", "<details>\n<summary>Show benchmarks</summary>\n\nPyArrow==8.0.0\n\n<details>\n<summary>...
https://api.github.com/repos/huggingface/datasets/issues/6997
6,997
CI is broken for tests using hf-internal-testing/librispeech_asr_dummy
CI is broken: https://github.com/huggingface/datasets/actions/runs/9657882317/job/26637998686?pr=6996 ``` FAILED tests/test_inspect.py::test_get_dataset_config_names[hf-internal-testing/librispeech_asr_dummy-expected4] - AssertionError: assert ['clean'] == ['clean', 'other'] Right contains one more item: 'othe...
closed
2024-06-25T07:55:44
https://api.github.com/repos/huggingface/datasets/issues/6997/comments
null
false
CI is broken for tests using hf-internal-testing/librispeech_asr_dummy CI is broken: https://github.com/huggingface/datasets/actions/runs/9657882317/job/26637998686?pr=6996 ``` FAILED tests/test_inspect.py::test_get_dataset_config_names[hf-internal-testing/librispeech_asr_dummy-expected4] - AssertionError: assert ['c...
[]
https://api.github.com/repos/huggingface/datasets/issues/6996
6,996
Remove deprecated code
Remove deprecated code, as part of the 3.0 release. First merge: - [x] #6983 - [x] #6987 - [x] #6999
closed
2024-06-25T06:54:40
https://api.github.com/repos/huggingface/datasets/issues/6996/comments
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/6996", "html_url": "https://github.com/huggingface/datasets/pull/6996", "diff_url": "https://github.com/huggingface/datasets/pull/6996.diff", "patch_url": "https://github.com/huggingface/datasets/pull/6996.patch", "merged_at": "2024-08-21T09:35...
true
Remove deprecated code Remove deprecated code, as part of the 3.0 release. First merge: - [x] #6983 - [x] #6987 - [x] #6999
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_6996). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.", "<details>\n<summary>Show benchmarks</summary>\n\nPyArrow==8.0.0\n\n<details>\n<summary>...
https://api.github.com/repos/huggingface/datasets/issues/6995
6,995
ImportError when importing datasets.load_dataset
### Describe the bug I encountered an ImportError while trying to import `load_dataset` from the `datasets` module in Hugging Face. The error message indicates a problem with importing 'CommitInfo' from 'huggingface_hub'. ### Steps to reproduce the bug 1. pip install git+https://github.com/huggingface/datasets 2. f...
closed
2024-06-24T17:07:22
https://api.github.com/repos/huggingface/datasets/issues/6995/comments
null
false
ImportError when importing datasets.load_dataset ### Describe the bug I encountered an ImportError while trying to import `load_dataset` from the `datasets` module in Hugging Face. The error message indicates a problem with importing 'CommitInfo' from 'huggingface_hub'. ### Steps to reproduce the bug 1. pip install ...
[ "What is the version of your installed `huggingface-hub`:\r\n```python\r\nimport huggingface_hub\r\nprint(huggingface_hub.__version__)\r\n```\r\n\r\nIt seems you have a very old version of `huggingface-hub`, where `CommitInfo` was not still implemented. You need to update it:\r\n```\r\npip install -U huggingface-hu...
https://api.github.com/repos/huggingface/datasets/issues/6994
6,994
Fix incorrect rank value in data splitting
Fix #6990.
closed
2024-06-24T15:07:47
https://api.github.com/repos/huggingface/datasets/issues/6994/comments
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/6994", "html_url": "https://github.com/huggingface/datasets/pull/6994", "diff_url": "https://github.com/huggingface/datasets/pull/6994.diff", "patch_url": "https://github.com/huggingface/datasets/pull/6994.patch", "merged_at": "2024-06-25T16:19...
true
Fix incorrect rank value in data splitting Fix #6990.
[ "Sure~", "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_6994). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.", "<details>\n<summary>Show benchmarks</summary>\n\nPyArrow==8.0.0\n\n<details>...
https://api.github.com/repos/huggingface/datasets/issues/6993
6,993
less script docs
+ mark as legacy in some parts of the docs since we'll not build new features for script datasets
closed
2024-06-24T14:45:28
https://api.github.com/repos/huggingface/datasets/issues/6993/comments
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/6993", "html_url": "https://github.com/huggingface/datasets/pull/6993", "diff_url": "https://github.com/huggingface/datasets/pull/6993.diff", "patch_url": "https://github.com/huggingface/datasets/pull/6993.patch", "merged_at": "2024-06-27T09:31...
true
less script docs + mark as legacy in some parts of the docs since we'll not build new features for script datasets
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_6993). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.", "<details>\n<summary>Show benchmarks</summary>\n\nPyArrow==8.0.0\n\n<details>\n<summary>...
https://api.github.com/repos/huggingface/datasets/issues/6992
6,992
Dataset with streaming doesn't work with proxy
### Describe the bug I'm currently trying to stream data using dataset since the dataset is too big but it hangs indefinitely without loading the first batch. I use AIMOS which is a supercomputer that uses proxy to connect to the internet. I assume it has to do with the network configurations. I've already set up both...
open
2024-06-22T16:12:08
https://api.github.com/repos/huggingface/datasets/issues/6992/comments
null
false
Dataset with streaming doesn't work with proxy ### Describe the bug I'm currently trying to stream data using dataset since the dataset is too big but it hangs indefinitely without loading the first batch. I use AIMOS which is a supercomputer that uses proxy to connect to the internet. I assume it has to do with the n...
[ "Hi ! can you try updating `datasets` and `huggingface_hub` ?\r\n\r\n```\r\npip install -U datasets huggingface_hub\r\n```" ]
https://api.github.com/repos/huggingface/datasets/issues/6991
6,991
Unblock NumPy 2.0
Fixes https://github.com/huggingface/datasets/issues/6980
closed
2024-06-22T09:19:53
https://api.github.com/repos/huggingface/datasets/issues/6991/comments
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/6991", "html_url": "https://github.com/huggingface/datasets/pull/6991", "diff_url": "https://github.com/huggingface/datasets/pull/6991.diff", "patch_url": "https://github.com/huggingface/datasets/pull/6991.patch", "merged_at": "2024-07-12T12:04...
true
Unblock NumPy 2.0 Fixes https://github.com/huggingface/datasets/issues/6980
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_6991). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.", "@albertvillanova Any chance we could get this in before the next release? Everything d...
https://api.github.com/repos/huggingface/datasets/issues/6990
6,990
Problematic rank after calling `split_dataset_by_node` twice
### Describe the bug I'm trying to split `IterableDataset` by `split_dataset_by_node`. But when doing split on a already split dataset, the resulting `rank` is greater than `world_size`. ### Steps to reproduce the bug Here is the minimal code for reproduction: ```py >>> from datasets import load_dataset >>...
closed
2024-06-21T14:25:26
https://api.github.com/repos/huggingface/datasets/issues/6990/comments
null
false
Problematic rank after calling `split_dataset_by_node` twice ### Describe the bug I'm trying to split `IterableDataset` by `split_dataset_by_node`. But when doing split on a already split dataset, the resulting `rank` is greater than `world_size`. ### Steps to reproduce the bug Here is the minimal code for re...
[ "ah yes good catch ! feel free to open a PR with your suggested fix" ]
https://api.github.com/repos/huggingface/datasets/issues/6989
6,989
cache in nfs error
### Describe the bug - When reading dataset, a cache will be generated to the ~/. cache/huggingface/datasets directory - When using .map and .filter operations, runtime cache will be generated to the /tmp/hf_datasets-* directory - The default is to use the path of tempfile.tempdir - If I modify this path to the N...
open
2024-06-21T02:09:22
https://api.github.com/repos/huggingface/datasets/issues/6989/comments
null
false
cache in nfs error ### Describe the bug - When reading dataset, a cache will be generated to the ~/. cache/huggingface/datasets directory - When using .map and .filter operations, runtime cache will be generated to the /tmp/hf_datasets-* directory - The default is to use the path of tempfile.tempdir - If I modify...
[ "Hey @simplew2011 I am curious if you know of a workaround, or possible implications of letting the code run?" ]
https://api.github.com/repos/huggingface/datasets/issues/6988
6,988
[`feat`] Move dataset card creation to method for easier overriding
Hello! ## Pull Request overview * Move dataset card creation to method for easier overriding ## Details It's common for me to fully automatically download, reformat, and upload a dataset (e.g. see https://huggingface.co/datasets?other=sentence-transformers), but one aspect that I cannot easily automate is the d...
open
2024-06-20T10:47:57
https://api.github.com/repos/huggingface/datasets/issues/6988/comments
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/6988", "html_url": "https://github.com/huggingface/datasets/pull/6988", "diff_url": "https://github.com/huggingface/datasets/pull/6988.diff", "patch_url": "https://github.com/huggingface/datasets/pull/6988.patch", "merged_at": null }
true
[`feat`] Move dataset card creation to method for easier overriding Hello! ## Pull Request overview * Move dataset card creation to method for easier overriding ## Details It's common for me to fully automatically download, reformat, and upload a dataset (e.g. see https://huggingface.co/datasets?other=sentence-...
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_6988). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.", "`Dataset` objects are not made to be subclassed, so I don't think going in that directi...
https://api.github.com/repos/huggingface/datasets/issues/6987
6,987
Remove beam
Remove beam, as part of the 3.0 release.
closed
2024-06-20T07:27:14
https://api.github.com/repos/huggingface/datasets/issues/6987/comments
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/6987", "html_url": "https://github.com/huggingface/datasets/pull/6987", "diff_url": "https://github.com/huggingface/datasets/pull/6987.diff", "patch_url": "https://github.com/huggingface/datasets/pull/6987.patch", "merged_at": "2024-06-26T19:35...
true
Remove beam Remove beam, as part of the 3.0 release.
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_6987). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.", "<details>\n<summary>Show benchmarks</summary>\n\nPyArrow==8.0.0\n\n<details>\n<summary>...
https://api.github.com/repos/huggingface/datasets/issues/6986
6,986
Add large_list type support in string_to_arrow
add large_list type support in string_to_arrow() and _arrow_to_datasets_dtype() in features.py Fix #6984
closed
2024-06-19T14:54:25
https://api.github.com/repos/huggingface/datasets/issues/6986/comments
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/6986", "html_url": "https://github.com/huggingface/datasets/pull/6986", "diff_url": "https://github.com/huggingface/datasets/pull/6986.diff", "patch_url": "https://github.com/huggingface/datasets/pull/6986.patch", "merged_at": null }
true
Add large_list type support in string_to_arrow add large_list type support in string_to_arrow() and _arrow_to_datasets_dtype() in features.py Fix #6984
[ "@albertvillanova @KennethEnevoldsen" ]
https://api.github.com/repos/huggingface/datasets/issues/6985
6,985
AttributeError: module 'pyarrow.lib' has no attribute 'ListViewType'
### Describe the bug I have been struggling with this for two days, any help would be appreciated. Python 3.10 ``` from setfit import SetFitModel from huggingface_hub import login access_token_read = "cccxxxccc" # Authenticate with the Hugging Face Hub login(token=access_token_read) # Load the models fr...
closed
2024-06-19T13:22:28
https://api.github.com/repos/huggingface/datasets/issues/6985/comments
null
false
AttributeError: module 'pyarrow.lib' has no attribute 'ListViewType' ### Describe the bug I have been struggling with this for two days, any help would be appreciated. Python 3.10 ``` from setfit import SetFitModel from huggingface_hub import login access_token_read = "cccxxxccc" # Authenticate with the Hug...
[ "Please note that the error is raised just at import:\r\n```python\r\nimport pyarrow.parquet as pq\r\n```\r\n\r\nTherefore it must be caused by some problem with your pyarrow installation. I would recommend you uninstall and install pyarrow again.\r\n\r\nI also see that it seems you use conda to install pyarrow. Pl...
https://api.github.com/repos/huggingface/datasets/issues/6984
6,984
Convert polars DataFrame back to datasets
### Feature request This returns error. ```python from datasets import Dataset dsdf = Dataset.from_dict({"x": [[1, 2], [3, 4, 5]], "y": ["a", "b"]}) Dataset.from_polars(dsdf.to_polars()) ``` ValueError: Arrow type large_list<item: int64> does not have a datasets dtype equivalent. ### Motivation When datasets...
closed
2024-06-19T11:38:48
https://api.github.com/repos/huggingface/datasets/issues/6984/comments
null
false
Convert polars DataFrame back to datasets ### Feature request This returns error. ```python from datasets import Dataset dsdf = Dataset.from_dict({"x": [[1, 2], [3, 4, 5]], "y": ["a", "b"]}) Dataset.from_polars(dsdf.to_polars()) ``` ValueError: Arrow type large_list<item: int64> does not have a datasets dtype ...
[ "Hi ! Thanks for reporting :)\r\n\r\nWe don't support `large_list` yet, though it should be added to `Sequence` IMO (maybe with a parameter `large=True` ?)" ]
https://api.github.com/repos/huggingface/datasets/issues/6983
6,983
Remove metrics
Remove all metrics, as part of the 3.0 release. Note they are deprecated since 2.5.0 version.
closed
2024-06-19T09:08:55
https://api.github.com/repos/huggingface/datasets/issues/6983/comments
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/6983", "html_url": "https://github.com/huggingface/datasets/pull/6983", "diff_url": "https://github.com/huggingface/datasets/pull/6983.diff", "patch_url": "https://github.com/huggingface/datasets/pull/6983.patch", "merged_at": "2024-06-28T06:51...
true
Remove metrics Remove all metrics, as part of the 3.0 release. Note they are deprecated since 2.5.0 version.
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_6983). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.", "<details>\n<summary>Show benchmarks</summary>\n\nPyArrow==8.0.0\n\n<details>\n<summary>...
https://api.github.com/repos/huggingface/datasets/issues/6982
6,982
cannot split dataset when using load_dataset
### Describe the bug when I use load_dataset methods to load mozilla-foundation/common_voice_7_0, it can successfully download and extracted the dataset but It cannot generating the arrow document, This bug happened in my server, my laptop, so as #6906 , but it won't happen in the google colab. I work for it for da...
closed
2024-06-19T08:07:16
https://api.github.com/repos/huggingface/datasets/issues/6982/comments
null
false
cannot split dataset when using load_dataset ### Describe the bug when I use load_dataset methods to load mozilla-foundation/common_voice_7_0, it can successfully download and extracted the dataset but It cannot generating the arrow document, This bug happened in my server, my laptop, so as #6906 , but it won't hap...
[ "it seems the bug will happened in all windows system, I tried it in windows8.1, 10, 11 and all of them failed. But it won't happened in the Linux(Ubuntu and Centos7) and Mac (both my virtual and physical machine). I still don't know what the problem is. May be related to the path? I cannot run the split file in m...
https://api.github.com/repos/huggingface/datasets/issues/6981
6,981
Update docs on trust_remote_code defaults to False
Update docs on trust_remote_code defaults to False. The docs needed to be updated due to this PR: - #6954
closed
2024-06-19T07:12:21
https://api.github.com/repos/huggingface/datasets/issues/6981/comments
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/6981", "html_url": "https://github.com/huggingface/datasets/pull/6981", "diff_url": "https://github.com/huggingface/datasets/pull/6981.diff", "patch_url": "https://github.com/huggingface/datasets/pull/6981.patch", "merged_at": "2024-06-19T14:26...
true
Update docs on trust_remote_code defaults to False Update docs on trust_remote_code defaults to False. The docs needed to be updated due to this PR: - #6954
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_6981). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.", "<details>\n<summary>Show benchmarks</summary>\n\nPyArrow==8.0.0\n\n<details>\n<summary>...
https://api.github.com/repos/huggingface/datasets/issues/6980
6,980
Support NumPy 2.0
### Feature request Support NumPy 2.0. ### Motivation NumPy introduces the Array API, which bridges the gap between machine learning libraries. Many clients of HuggingFace are eager to start using the Array API. Besides that, NumPy 2 provides a cleaner interface than NumPy 1. ### Tasks NumPy 2.0 was ...
closed
2024-06-18T23:30:22
https://api.github.com/repos/huggingface/datasets/issues/6980/comments
null
false
Support NumPy 2.0 ### Feature request Support NumPy 2.0. ### Motivation NumPy introduces the Array API, which bridges the gap between machine learning libraries. Many clients of HuggingFace are eager to start using the Array API. Besides that, NumPy 2 provides a cleaner interface than NumPy 1. ### Tasks...
[]
https://api.github.com/repos/huggingface/datasets/issues/6979
6,979
How can I load partial parquet files only?
I have a HUGE dataset about 14TB, I unable to download all parquet all. I just take about 100 from it. dataset = load_dataset("xx/", data_files="data/train-001*-of-00314.parquet") How can I just using 000 - 100 from a 00314 from all partially? I search whole net didn't found a solution, **this is stupid if the...
closed
2024-06-18T15:44:16
https://api.github.com/repos/huggingface/datasets/issues/6979/comments
null
false
How can I load partial parquet files only? I have a HUGE dataset about 14TB, I unable to download all parquet all. I just take about 100 from it. dataset = load_dataset("xx/", data_files="data/train-001*-of-00314.parquet") How can I just using 000 - 100 from a 00314 from all partially? I search whole net didn'...
[ "Hello,\r\n\r\nHave you tried loading the dataset in streaming mode? [Documentation](https://huggingface.co/docs/datasets/v2.20.0/stream)\r\n\r\nThis way you wouldn't have to load it all. Also, let's be nice to Parquet, it's a really nice technology and we don't need to be mean :)", "I have downloaded part of it,...
https://api.github.com/repos/huggingface/datasets/issues/6978
6,978
Fix regression for pandas < 2.0.0 in JSON loader
A regression was introduced for pandas < 2.0.0 in PR: - #6914 As described in pandas docs, the `dtype_backend` parameter was first added in pandas 2.0.0: https://pandas.pydata.org/docs/reference/api/pandas.read_json.html This PR fixes the regression by passing (or not) the `dtype_backend` parameter depending on ...
closed
2024-06-18T10:26:34
https://api.github.com/repos/huggingface/datasets/issues/6978/comments
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/6978", "html_url": "https://github.com/huggingface/datasets/pull/6978", "diff_url": "https://github.com/huggingface/datasets/pull/6978.diff", "patch_url": "https://github.com/huggingface/datasets/pull/6978.patch", "merged_at": "2024-06-19T05:50...
true
Fix regression for pandas < 2.0.0 in JSON loader A regression was introduced for pandas < 2.0.0 in PR: - #6914 As described in pandas docs, the `dtype_backend` parameter was first added in pandas 2.0.0: https://pandas.pydata.org/docs/reference/api/pandas.read_json.html This PR fixes the regression by passing (or...
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_6978). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.", "<details>\n<summary>Show benchmarks</summary>\n\nPyArrow==8.0.0\n\n<details>\n<summary>...
https://api.github.com/repos/huggingface/datasets/issues/6977
6,977
load json file error with v2.20.0
### Describe the bug ``` load_dataset(path="json", data_files="./test.json") ``` ``` Generating train split: 0 examples [00:00, ? examples/s] Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/datasets/packaged_modules/json/json.py", line 132, in _generate_tables pa_table = p...
closed
2024-06-18T08:41:01
https://api.github.com/repos/huggingface/datasets/issues/6977/comments
null
false
load json file error with v2.20.0 ### Describe the bug ``` load_dataset(path="json", data_files="./test.json") ``` ``` Generating train split: 0 examples [00:00, ? examples/s] Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/datasets/packaged_modules/json/json.py", line 132, in ...
[ "Thanks for reporting, @xiaoyaolangzhi.\r\n\r\nIndeed, we are currently requiring `pandas` >= 2.0.0.\r\n\r\nYou will need to update pandas in your local environment:\r\n```\r\npip install -U pandas\r\n``` ", "Thank you very much." ]
https://api.github.com/repos/huggingface/datasets/issues/6976
6,976
Ensure compatibility with numpy 2.0.0
Following the conversion guide, copy=False is no longer required and will result in an error: https://numpy.org/devdocs/numpy_2_0_migration_guide.html#adapting-to-changes-in-the-copy-keyword. The following fix should resolve the issue. error found during testing on the MTEB repository e.g. [here](https://github.c...
closed
2024-06-17T11:29:22
https://api.github.com/repos/huggingface/datasets/issues/6976/comments
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/6976", "html_url": "https://github.com/huggingface/datasets/pull/6976", "diff_url": "https://github.com/huggingface/datasets/pull/6976.diff", "patch_url": "https://github.com/huggingface/datasets/pull/6976.patch", "merged_at": "2024-06-19T14:04...
true
Ensure compatibility with numpy 2.0.0 Following the conversion guide, copy=False is no longer required and will result in an error: https://numpy.org/devdocs/numpy_2_0_migration_guide.html#adapting-to-changes-in-the-copy-keyword. The following fix should resolve the issue. error found during testing on the MTEB r...
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_6976). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.", "<details>\n<summary>Show benchmarks</summary>\n\nPyArrow==8.0.0\n\n<details>\n<summary>...
https://api.github.com/repos/huggingface/datasets/issues/6975
6,975
Set temporary numpy upper version < 2.0.0 to fix CI
Set temporary numpy upper version < 2.0.0 to fix CI. See: https://github.com/huggingface/datasets/actions/runs/9546031216/job/26308072017 ``` A module that was compiled using NumPy 1.x cannot be run in NumPy 2.0.0 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2....
closed
2024-06-17T10:36:54
https://api.github.com/repos/huggingface/datasets/issues/6975/comments
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/6975", "html_url": "https://github.com/huggingface/datasets/pull/6975", "diff_url": "https://github.com/huggingface/datasets/pull/6975.diff", "patch_url": "https://github.com/huggingface/datasets/pull/6975.patch", "merged_at": "2024-06-17T12:43...
true
Set temporary numpy upper version < 2.0.0 to fix CI Set temporary numpy upper version < 2.0.0 to fix CI. See: https://github.com/huggingface/datasets/actions/runs/9546031216/job/26308072017 ``` A module that was compiled using NumPy 1.x cannot be run in NumPy 2.0.0 as it may crash. To support both 1.x and 2.x versi...
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_6975). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.", "<details>\n<summary>Show benchmarks</summary>\n\nPyArrow==8.0.0\n\n<details>\n<summary>...
https://api.github.com/repos/huggingface/datasets/issues/6973
6,973
IndexError during training with Squad dataset and T5-small model
### Describe the bug I am encountering an IndexError while training a T5-small model on the Squad dataset using the transformers and datasets libraries. The error occurs even with a minimal reproducible example, suggesting a potential bug or incompatibility. ### Steps to reproduce the bug 1.Install the required libr...
closed
2024-06-16T07:53:54
https://api.github.com/repos/huggingface/datasets/issues/6973/comments
null
false
IndexError during training with Squad dataset and T5-small model ### Describe the bug I am encountering an IndexError while training a T5-small model on the Squad dataset using the transformers and datasets libraries. The error occurs even with a minimal reproducible example, suggesting a potential bug or incompatibil...
[ "add remove_unused_columns=False to training_args\r\nhttps://github.com/huggingface/datasets/issues/6535#issuecomment-1874024704", "Closing this issue because it was a reported and fixed in transformers." ]
https://api.github.com/repos/huggingface/datasets/issues/6972
6,972
Fix webdataset pickling
...by making tracked iterables picklable. This is important to make streaming datasets compatible with multiprocessing e.g. for parallel data loading
closed
2024-06-14T14:43:02
https://api.github.com/repos/huggingface/datasets/issues/6972/comments
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/6972", "html_url": "https://github.com/huggingface/datasets/pull/6972", "diff_url": "https://github.com/huggingface/datasets/pull/6972.diff", "patch_url": "https://github.com/huggingface/datasets/pull/6972.patch", "merged_at": "2024-06-14T15:37...
true
Fix webdataset pickling ...by making tracked iterables picklable. This is important to make streaming datasets compatible with multiprocessing e.g. for parallel data loading
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_6972). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.", "<details>\n<summary>Show benchmarks</summary>\n\nPyArrow==8.0.0\n\n<details>\n<summary>...
https://api.github.com/repos/huggingface/datasets/issues/6971
6,971
packaging: Remove useless dependencies
Revert changes in #6396 and #6404. CVE-2023-47248 has been fixed since PyArrow v14.0.1. Meanwhile Python requirements requires `pyarrow>=15.0.0`.
closed
2024-06-13T18:43:43
https://api.github.com/repos/huggingface/datasets/issues/6971/comments
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/6971", "html_url": "https://github.com/huggingface/datasets/pull/6971", "diff_url": "https://github.com/huggingface/datasets/pull/6971.diff", "patch_url": "https://github.com/huggingface/datasets/pull/6971.patch", "merged_at": "2024-06-14T13:57...
true
packaging: Remove useless dependencies Revert changes in #6396 and #6404. CVE-2023-47248 has been fixed since PyArrow v14.0.1. Meanwhile Python requirements requires `pyarrow>=15.0.0`.
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_6971). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.", "@HuggingFaceDocBuilderDev There is no doc for this change. Call a human.", "Haha it w...
https://api.github.com/repos/huggingface/datasets/issues/6970
6,970
Set dev version
null
closed
2024-06-13T14:59:45
https://api.github.com/repos/huggingface/datasets/issues/6970/comments
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/6970", "html_url": "https://github.com/huggingface/datasets/pull/6970", "diff_url": "https://github.com/huggingface/datasets/pull/6970.diff", "patch_url": "https://github.com/huggingface/datasets/pull/6970.patch", "merged_at": "2024-06-13T14:59...
true
Set dev version
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_6970). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.", "<details>\n<summary>Show benchmarks</summary>\n\nPyArrow==8.0.0\n\n<details>\n<summary>...
https://api.github.com/repos/huggingface/datasets/issues/6969
6,969
Release: 2.20.0
null
closed
2024-06-13T14:48:20
https://api.github.com/repos/huggingface/datasets/issues/6969/comments
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/6969", "html_url": "https://github.com/huggingface/datasets/pull/6969", "diff_url": "https://github.com/huggingface/datasets/pull/6969.diff", "patch_url": "https://github.com/huggingface/datasets/pull/6969.patch", "merged_at": "2024-06-13T14:55...
true
Release: 2.20.0
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_6969). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.", "<details>\n<summary>Show benchmarks</summary>\n\nPyArrow==8.0.0\n\n<details>\n<summary>...
https://api.github.com/repos/huggingface/datasets/issues/6968
6,968
Use `HF_HUB_OFFLINE` instead of `HF_DATASETS_OFFLINE`
To use `datasets` offline, one can use the `HF_DATASETS_OFFLINE` environment variable. This PR makes `HF_HUB_OFFLINE` the recommended environment variable for offline training. Goal is to be more consistent with the rest of HF ecosystem and have a single config value to set. The changes are backward-compatible meani...
closed
2024-06-13T14:39:40
https://api.github.com/repos/huggingface/datasets/issues/6968/comments
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/6968", "html_url": "https://github.com/huggingface/datasets/pull/6968", "diff_url": "https://github.com/huggingface/datasets/pull/6968.diff", "patch_url": "https://github.com/huggingface/datasets/pull/6968.patch", "merged_at": "2024-06-13T17:25...
true
Use `HF_HUB_OFFLINE` instead of `HF_DATASETS_OFFLINE` To use `datasets` offline, one can use the `HF_DATASETS_OFFLINE` environment variable. This PR makes `HF_HUB_OFFLINE` the recommended environment variable for offline training. Goal is to be more consistent with the rest of HF ecosystem and have a single config valu...
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_6968). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.", "Oops, sorry for the style issue. Fixed in https://github.com/huggingface/datasets/pull/...
https://api.github.com/repos/huggingface/datasets/issues/6967
6,967
Method to load Laion400m
### Feature request Large datasets like Laion400m are provided as embeddings. The provided methods in load_dataset are not straightforward for loading embedding files, i.e. img_emb_XX.npy ; XX = 0 to 99 ### Motivation The trial and experimentation is the key pivot of HF. It would be great if HF can load embeddings...
open
2024-06-12T16:04:04
https://api.github.com/repos/huggingface/datasets/issues/6967/comments
null
false
Method to load Laion400m ### Feature request Large datasets like Laion400m are provided as embeddings. The provided methods in load_dataset are not straightforward for loading embedding files, i.e. img_emb_XX.npy ; XX = 0 to 99 ### Motivation The trial and experimentation is the key pivot of HF. It would be great ...
[]
https://api.github.com/repos/huggingface/datasets/issues/6966
6,966
Remove underlines between badges
## Before: <img width="935" alt="image" src="https://github.com/huggingface/datasets/assets/35881688/93666e72-059b-4180-9e1d-ff176a3d9dac"> ## After: <img width="956" alt="image" src="https://github.com/huggingface/datasets/assets/35881688/75df7c3e-f473-44f0-a872-eeecf6a85fe2">
closed
2024-06-12T14:32:11
https://api.github.com/repos/huggingface/datasets/issues/6966/comments
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/6966", "html_url": "https://github.com/huggingface/datasets/pull/6966", "diff_url": "https://github.com/huggingface/datasets/pull/6966.diff", "patch_url": "https://github.com/huggingface/datasets/pull/6966.patch", "merged_at": "2024-06-19T14:10...
true
Remove underlines between badges ## Before: <img width="935" alt="image" src="https://github.com/huggingface/datasets/assets/35881688/93666e72-059b-4180-9e1d-ff176a3d9dac"> ## After: <img width="956" alt="image" src="https://github.com/huggingface/datasets/assets/35881688/75df7c3e-f473-44f0-a872-eeecf6a85fe2">
[ "<details>\n<summary>Show benchmarks</summary>\n\nPyArrow==8.0.0\n\n<details>\n<summary>Show updated benchmarks!</summary>\n\n### Benchmark: benchmark_array_xd.json\n\n| metric | read_batch_formatted_as_numpy after write_array2d | read_batch_formatted_as_numpy after write_flattened_sequence | read_batch_formatted_a...
https://api.github.com/repos/huggingface/datasets/issues/6965
6,965
Improve skip take shuffling and distributed
set the right behavior of skip/take depending on whether it's called after or before shuffle/split_by_node
closed
2024-06-12T12:30:27
https://api.github.com/repos/huggingface/datasets/issues/6965/comments
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/6965", "html_url": "https://github.com/huggingface/datasets/pull/6965", "diff_url": "https://github.com/huggingface/datasets/pull/6965.diff", "patch_url": "https://github.com/huggingface/datasets/pull/6965.patch", "merged_at": "2024-06-24T15:16...
true
Improve skip take shuffling and distributed set the right behavior of skip/take depending on whether it's called after or before shuffle/split_by_node
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_6965). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.", "<details>\n<summary>Show benchmarks</summary>\n\nPyArrow==8.0.0\n\n<details>\n<summary>...
https://api.github.com/repos/huggingface/datasets/issues/6964
6,964
Fix resuming arrow format
following https://github.com/huggingface/datasets/pull/6658
closed
2024-06-10T22:40:33
https://api.github.com/repos/huggingface/datasets/issues/6964/comments
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/6964", "html_url": "https://github.com/huggingface/datasets/pull/6964", "diff_url": "https://github.com/huggingface/datasets/pull/6964.diff", "patch_url": "https://github.com/huggingface/datasets/pull/6964.patch", "merged_at": "2024-06-14T14:58...
true
Fix resuming arrow format following https://github.com/huggingface/datasets/pull/6658
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_6964). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.", "<details>\n<summary>Show benchmarks</summary>\n\nPyArrow==8.0.0\n\n<details>\n<summary>...
https://api.github.com/repos/huggingface/datasets/issues/6963
6,963
[Streaming] retry on requests errors
reported in https://discuss.huggingface.co/t/speeding-up-streaming-of-large-datasets-fineweb/90714/6 when training using a streaming a dataloader cc @Wauplin it looks like the retries from `hfh` are not always enough. In this PR I let `datasets` do additional retries (that users can configure in `datasets.config`) ...
closed
2024-06-10T15:51:56
https://api.github.com/repos/huggingface/datasets/issues/6963/comments
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/6963", "html_url": "https://github.com/huggingface/datasets/pull/6963", "diff_url": "https://github.com/huggingface/datasets/pull/6963.diff", "patch_url": "https://github.com/huggingface/datasets/pull/6963.patch", "merged_at": "2024-06-28T09:46...
true
[Streaming] retry on requests errors reported in https://discuss.huggingface.co/t/speeding-up-streaming-of-large-datasets-fineweb/90714/6 when training using a streaming a dataloader cc @Wauplin it looks like the retries from `hfh` are not always enough. In this PR I let `datasets` do additional retries (that users...
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_6963). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.", "ci failures are r-unrelated to this PR, merging", "<details>\n<summary>Show benchmark...
https://api.github.com/repos/huggingface/datasets/issues/6962
6,962
fix(ci): remove unnecessary permissions
### What does this PR do? Remove unnecessary permissions granted to the actions workflow. Sorry for the mishap.
closed
2024-06-10T09:28:02
https://api.github.com/repos/huggingface/datasets/issues/6962/comments
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/6962", "html_url": "https://github.com/huggingface/datasets/pull/6962", "diff_url": "https://github.com/huggingface/datasets/pull/6962.diff", "patch_url": "https://github.com/huggingface/datasets/pull/6962.patch", "merged_at": "2024-06-11T08:25...
true
fix(ci): remove unnecessary permissions ### What does this PR do? Remove unnecessary permissions granted to the actions workflow. Sorry for the mishap.
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_6962). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.", "<details>\n<summary>Show benchmarks</summary>\n\nPyArrow==8.0.0\n\n<details>\n<summary>...