id
int64
1.9B
3.25B
title
stringlengths
2
244
state
stringclasses
2 values
body
stringlengths
3
58.6k
created_at
timestamp[s]date
2023-09-15 14:23:33
2025-07-22 09:33:54
updated_at
timestamp[s]date
2023-09-18 16:20:09
2025-07-22 10:44:03
closed_at
timestamp[s]date
2023-09-18 16:20:09
2025-07-19 22:45:08
html_url
stringlengths
49
51
pull_request
dict
number
int64
6.24k
7.7k
is_pull_request
bool
2 classes
comments
listlengths
0
24
2,424,613,104
Add `batch` method to `Dataset` class
closed
This PR introduces a new `batch` method to the `Dataset` class, aligning its functionality with the `IterableDataset.batch()` method (implemented in #7054). The implementation uses as well the existing `map` method for efficient batching of examples. Key changes: - Add `batch` method to `Dataset` class in `arrow_da...
2024-07-23T08:40:43
2024-07-25T13:51:25
2024-07-25T13:45:20
https://github.com/huggingface/datasets/pull/7064
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/7064", "html_url": "https://github.com/huggingface/datasets/pull/7064", "diff_url": "https://github.com/huggingface/datasets/pull/7064.diff", "patch_url": "https://github.com/huggingface/datasets/pull/7064.patch", "merged_at": "2024-07-25T13:45...
7,064
true
[ "Looks good to me ! :)\r\n\r\nyou might want to add the `map` num_proc argument as well, for people who want to make it run faster", "Thanks for the feedback @lhoestq! The last commits include:\r\n- Adding the `num_proc` parameter to `batch`\r\n- Adding tests similar to the one done for `IterableDataset.batch()`\...
2,424,488,648
Add `batch` method to `Dataset`
closed
### 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.
2024-07-23T07:36:59
2024-07-25T13:45:21
2024-07-25T13:45:21
https://github.com/huggingface/datasets/issues/7063
null
7,063
false
[]
2,424,467,484
Avoid calling http_head for non-HTTP URLs
closed
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.
2024-07-23T07:25:09
2024-07-23T14:28:27
2024-07-23T14:21:08
https://github.com/huggingface/datasets/pull/7062
{ "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...
7,062
true
[ "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>...
2,423,786,881
Custom Dataset | Still Raise Error while handling errors in _generate_examples
open
### 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. `...
2024-07-22T21:18:12
2024-09-09T14:48:07
null
https://github.com/huggingface/datasets/issues/7061
null
7,061
false
[]
2,423,188,419
WebDataset BuilderConfig
closed
This PR adds `WebDatasetConfig`. Closes #7055
2024-07-22T15:41:07
2024-07-23T13:28:44
2024-07-23T13:28:44
https://github.com/huggingface/datasets/pull/7060
{ "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 }
7,060
true
[ "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." ]
2,422,827,892
None values are skipped when reading jsonl in subobjects
open
### 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 ...
2024-07-22T13:02:42
2024-07-22T13:02:53
null
https://github.com/huggingface/datasets/issues/7059
null
7,059
false
[]
2,422,560,355
New feature type: Document
open
It would be useful for PDF. https://github.com/huggingface/dataset-viewer/issues/2991#issuecomment-2242656069
2024-07-22T10:49:20
2024-07-22T10:49:20
null
https://github.com/huggingface/datasets/issues/7058
null
7,058
false
[]
2,422,498,520
Update load_hub.mdx
closed
null
2024-07-22T10:17:46
2024-07-22T10:34:14
2024-07-22T10:28:10
https://github.com/huggingface/datasets/pull/7057
{ "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...
7,057
true
[ "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>...
2,422,192,257
Make `BufferShuffledExamplesIterable` resumable
closed
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...
2024-07-22T07:50:02
2025-01-31T05:34:20
2025-01-31T05:34:19
https://github.com/huggingface/datasets/pull/7056
{ "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 }
7,056
true
[ "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 ...
2,421,708,891
WebDataset with different prefixes are unsupported
closed
### 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...
2024-07-22T01:14:19
2024-07-24T13:26:30
2024-07-23T13:28:46
https://github.com/huggingface/datasets/issues/7055
null
7,055
false
[ "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...
2,418,548,995
Add batching to `IterableDataset`
closed
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...
2024-07-19T10:11:47
2024-07-23T13:25:13
2024-07-23T10:34:28
https://github.com/huggingface/datasets/pull/7054
{ "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...
7,054
true
[ "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...
2,416,423,791
Datasets.datafiles resolve_pattern `TypeError: can only concatenate tuple (not "str") to tuple`
closed
### 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 != ...
2024-07-18T13:42:35
2024-07-18T15:17:42
2024-07-18T15:16:18
https://github.com/huggingface/datasets/issues/7053
null
7,053
false
[ "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" ]
2,411,682,730
Adding `Music` feature for symbolic music modality (MIDI, abc)
closed
⚠️ (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...
2024-07-16T17:26:04
2024-07-29T06:47:55
2024-07-29T06:47:55
https://github.com/huggingface/datasets/pull/7052
{ "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 }
7,052
true
[]
2,409,353,929
How to set_epoch with interleave_datasets?
closed
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...
2024-07-15T18:24:52
2024-08-05T20:58:04
2024-08-05T20:58:04
https://github.com/huggingface/datasets/issues/7051
null
7,051
false
[ "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...
2,409,048,733
add checkpoint and resume title in docs
closed
(minor) just to make it more prominent in the docs page for the soon-to-be-released new torchdata
2024-07-15T15:38:04
2024-07-15T16:06:15
2024-07-15T15:59:56
https://github.com/huggingface/datasets/pull/7050
{ "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...
7,050
true
[ "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>...
2,408,514,366
Save nparray as list
closed
### 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, ...
2024-07-15T11:36:11
2024-07-18T11:33:34
2024-07-18T11:33:34
https://github.com/huggingface/datasets/issues/7049
null
7,049
false
[ "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", ">...
2,408,487,547
ImportError: numpy.core.multiarray when using `filter`
closed
### 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' ...
2024-07-15T11:21:04
2024-07-16T10:11:25
2024-07-16T10:11:25
https://github.com/huggingface/datasets/issues/7048
null
7,048
false
[ "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...
2,406,495,084
Save Dataset as Sharded Parquet
open
### 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_...
2024-07-12T23:47:51
2024-07-17T12:07:08
null
https://github.com/huggingface/datasets/issues/7047
null
7,047
false
[ "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...
2,405,485,582
Support librosa and numpy 2.0 for Python 3.10
closed
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
2024-07-12T12:42:47
2024-07-12T13:04:40
2024-07-12T12:58:17
https://github.com/huggingface/datasets/pull/7046
{ "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...
7,046
true
[ "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>...
2,405,447,858
Fix tensorflow min version depending on Python version
closed
Fix tensorflow min version depending on Python version. Related to: - #6991
2024-07-12T12:20:23
2024-07-12T12:38:53
2024-07-12T12:33:00
https://github.com/huggingface/datasets/pull/7045
{ "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...
7,045
true
[ "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>...
2,405,002,987
Mark tests that require librosa
closed
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`: -...
2024-07-12T08:06:59
2024-07-12T09:06:32
2024-07-12T09:00:09
https://github.com/huggingface/datasets/pull/7044
{ "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...
7,044
true
[ "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>...
2,404,951,714
Add decorator as explicit test dependency
closed
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...
2024-07-12T07:35:23
2024-07-12T08:12:55
2024-07-12T08:07:10
https://github.com/huggingface/datasets/pull/7043
{ "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...
7,043
true
[ "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>...
2,404,605,836
Improved the tutorial by adding a link for loading datasets
closed
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.
2024-07-12T03:49:54
2024-08-15T10:07:44
2024-08-15T10:01:59
https://github.com/huggingface/datasets/pull/7042
{ "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...
7,042
true
[ "<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...
2,404,576,038
`sort` after `filter` unreasonably slow
closed
### 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...
2024-07-12T03:29:27
2025-04-29T09:49:25
2025-04-29T09:49:25
https://github.com/huggingface/datasets/issues/7041
null
7,041
false
[ "`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.",...
2,402,918,335
load `streaming=True` dataset with downloaded cache
open
### 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...
2024-07-11T11:14:13
2024-07-11T14:11:56
null
https://github.com/huggingface/datasets/issues/7040
null
7,040
false
[ "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...
2,402,403,390
Fix export to JSON when dataset larger than batch size
open
Fix export to JSON (`lines=False`) when dataset larger than batch size. Fix #7037.
2024-07-11T06:52:22
2024-09-28T06:10:00
null
https://github.com/huggingface/datasets/pull/7039
{ "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 }
7,039
true
[ "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...
2,400,192,419
A bug of Dataset.to_json() function
open
### 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...
2024-07-10T09:11:22
2024-09-22T13:16:07
null
https://github.com/huggingface/datasets/issues/7037
null
7,037
false
[ "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!" ]
2,400,035,672
Fix doc generation when NamedSplit is used as parameter default value
closed
Fix doc generation when `NamedSplit` is used as parameter default value. Fix #7035.
2024-07-10T07:58:46
2024-07-26T07:58:00
2024-07-26T07:51:52
https://github.com/huggingface/datasets/pull/7036
{ "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...
7,036
true
[ "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>...
2,400,021,225
Docs are not generated when a parameter defaults to a NamedSplit value
closed
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...
2024-07-10T07:51:24
2024-07-26T07:51:53
2024-07-26T07:51:53
https://github.com/huggingface/datasets/issues/7035
null
7,035
false
[]
2,397,525,974
chore: fix typos in docs
closed
null
2024-07-09T08:35:05
2024-08-13T08:22:25
2024-08-13T08:16:22
https://github.com/huggingface/datasets/pull/7034
{ "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...
7,034
true
[ "<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...
2,397,419,768
`from_generator` does not allow to specify the split name
closed
### 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...
2024-07-09T07:47:58
2024-07-26T12:56:16
2024-07-26T09:31:56
https://github.com/huggingface/datasets/issues/7033
null
7,033
false
[ "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 :)" ]
2,395,531,699
Register `.zstd` extension for zstd-compressed files
closed
For example, https://huggingface.co/datasets/mlfoundations/dclm-baseline-1.0 dataset files have `.zstd` extension which is currently ignored (only `.zst` is registered).
2024-07-08T12:39:50
2024-07-12T15:07:03
2024-07-12T15:07:03
https://github.com/huggingface/datasets/pull/7032
{ "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 }
7,032
true
[ "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\...
2,395,401,692
CI quality is broken: use ruff check instead
closed
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. ```
2024-07-08T11:42:24
2024-07-08T11:47:29
2024-07-08T11:47:29
https://github.com/huggingface/datasets/issues/7031
null
7,031
false
[]
2,393,411,631
Add option to disable progress bar when reading a dataset ("Loading dataset from disk")
closed
### 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-...
2024-07-06T05:43:37
2024-07-13T14:35:59
2024-07-13T14:35:59
https://github.com/huggingface/datasets/issues/7030
null
7,030
false
[ "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...
2,391,366,696
load_dataset on AWS lambda throws OSError(30, 'Read-only file system') error
open
### 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 /...
2024-07-04T19:15:16
2024-07-17T12:44:03
null
https://github.com/huggingface/datasets/issues/7029
null
7,029
false
[ "hi ! can you share the full stack trace ? this should help locate what files is not written in the cache_dir" ]
2,391,077,531
Fix ci
closed
...after last pr errors
2024-07-04T15:11:08
2024-07-04T15:26:35
2024-07-04T15:19:16
https://github.com/huggingface/datasets/pull/7028
{ "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...
7,028
true
[ "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>...
2,391,013,330
Missing line from previous pr
closed
null
2024-07-04T14:34:29
2024-07-04T14:40:46
2024-07-04T14:34:36
https://github.com/huggingface/datasets/pull/7027
{ "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...
7,027
true
[ "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>...
2,390,983,889
Fix check_library_imports
closed
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
2024-07-04T14:18:38
2024-07-04T14:28:36
2024-07-04T14:20:02
https://github.com/huggingface/datasets/pull/7026
{ "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...
7,026
true
[ "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>...
2,390,488,546
feat: support non streamable arrow file binary format
closed
Support Arrow files (`.arrow`) that are in non streamable binary file formats.
2024-07-04T10:11:12
2024-07-31T06:15:50
2024-07-31T06:09:31
https://github.com/huggingface/datasets/pull/7025
{ "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...
7,025
true
[ "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...
2,390,141,626
Streaming dataset not returning data
open
### 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 ...
2024-07-04T07:21:47
2024-07-04T07:21:47
null
https://github.com/huggingface/datasets/issues/7024
null
7,024
false
[]
2,388,090,424
Remove dead code for pyarrow < 15.0.0
closed
Remove dead code for pyarrow < 15.0.0. Code is dead since the merge of: - #6892 Fix #7022.
2024-07-03T09:05:03
2024-07-03T09:24:46
2024-07-03T09:17:35
https://github.com/huggingface/datasets/pull/7023
{ "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...
7,023
true
[ "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>...
2,388,064,650
There is dead code after we require pyarrow >= 15.0.0
closed
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.
2024-07-03T08:52:57
2024-07-03T09:17:36
2024-07-03T09:17:36
https://github.com/huggingface/datasets/issues/7022
null
7,022
false
[]
2,387,948,935
Fix casting list array to fixed size list
closed
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.
2024-07-03T07:58:57
2024-07-03T08:47:49
2024-07-03T08:41:55
https://github.com/huggingface/datasets/pull/7021
{ "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...
7,021
true
[ "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>...
2,387,940,990
Casting list array to fixed size list raises error
closed
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...
2024-07-03T07:54:49
2024-07-03T08:41:56
2024-07-03T08:41:56
https://github.com/huggingface/datasets/issues/7020
null
7,020
false
[]
2,385,793,897
Support pyarrow large_list
closed
Allow Polars round trip by supporting pyarrow large list. Fix #6834, fix #6984. Supersede and close #4800, close #6835, close #6986.
2024-07-02T09:52:52
2024-08-12T14:49:45
2024-08-12T14:43:45
https://github.com/huggingface/datasets/pull/7019
{ "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...
7,019
true
[ "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...
2,383,700,286
`load_dataset` fails to load dataset saved by `save_to_disk`
open
### 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...
2024-07-01T12:19:19
2025-05-24T05:21:12
null
https://github.com/huggingface/datasets/issues/7018
null
7,018
false
[ "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...
2,383,647,419
Support fsspec 2024.6.1
closed
Support fsspec 2024.6.1.
2024-07-01T11:57:15
2024-07-01T12:12:32
2024-07-01T12:06:24
https://github.com/huggingface/datasets/pull/7017
{ "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...
7,017
true
[ "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>...
2,383,262,608
`drop_duplicates` method
open
### 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
2024-07-01T09:01:06
2024-07-20T06:51:58
null
https://github.com/huggingface/datasets/issues/7016
null
7,016
false
[ "There is an open issue #2514 about this which also proposes solutions." ]
2,383,151,220
add split argument to Generator
closed
## 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, ...
2024-07-01T08:09:25
2024-07-26T09:37:51
2024-07-26T09:31:56
https://github.com/huggingface/datasets/pull/7015
{ "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...
7,015
true
[ "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...
2,382,985,847
Skip faiss tests on Windows to avoid running CI for 360 minutes
closed
Skip faiss tests on Windows to avoid running CI for 360 minutes. Fix #7013. Revert once the underlying issue is fixed.
2024-07-01T06:45:35
2024-07-01T07:16:36
2024-07-01T07:10:27
https://github.com/huggingface/datasets/pull/7014
{ "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...
7,014
true
[ "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...
2,382,976,738
CI is broken for faiss tests on Windows: node down: Not properly terminated
closed
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...
2024-07-01T06:40:03
2024-07-01T07:10:28
2024-07-01T07:10:28
https://github.com/huggingface/datasets/issues/7013
null
7,013
false
[]
2,380,934,047
Raise an error when a nested object is expected to be a mapping that displays the object
closed
null
2024-06-28T18:10:59
2024-07-11T02:06:16
2024-07-11T02:06:16
https://github.com/huggingface/datasets/pull/7012
{ "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 }
7,012
true
[]
2,379,785,262
Re-enable raising error from huggingface-hub FutureWarning in CI
closed
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.
2024-06-28T07:28:32
2024-06-28T12:25:25
2024-06-28T12:19:28
https://github.com/huggingface/datasets/pull/7011
{ "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...
7,011
true
[ "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>...
2,379,777,480
Re-enable raising error from huggingface-hub FutureWarning in CI
closed
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
2024-06-28T07:23:40
2024-06-28T12:19:30
2024-06-28T12:19:29
https://github.com/huggingface/datasets/issues/7010
null
7,010
false
[]
2,379,619,132
Support ruff 0.5.0 in CI
closed
Support ruff 0.5.0 in CI and revert: - #7007 Fix #7008.
2024-06-28T05:37:36
2024-06-28T07:17:26
2024-06-28T07:11:17
https://github.com/huggingface/datasets/pull/7009
{ "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...
7,009
true
[ "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>...
2,379,591,141
Support ruff 0.5.0 in CI
closed
Support ruff 0.5.0 in CI. Also revert: - #7007
2024-06-28T05:11:26
2024-06-28T07:11:18
2024-06-28T07:11:18
https://github.com/huggingface/datasets/issues/7008
null
7,008
false
[]
2,379,588,676
Fix CI by temporarily pinning ruff < 0.5.0
closed
As a hotfix for CI, temporarily pin ruff upper version < 0.5.0. Fix #7006. Revert once root cause is fixed.
2024-06-28T05:09:17
2024-06-28T05:31:21
2024-06-28T05:25:17
https://github.com/huggingface/datasets/pull/7007
{ "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...
7,007
true
[ "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>...
2,379,581,543
CI is broken after ruff-0.5.0: E721
closed
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...
2024-06-28T05:03:28
2024-06-28T05:25:18
2024-06-28T05:25:18
https://github.com/huggingface/datasets/issues/7006
null
7,006
false
[]
2,378,424,349
EmptyDatasetError: The directory at /metadata.jsonl doesn't contain any data files
closed
### 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 ...
2024-06-27T15:08:26
2024-06-28T09:56:19
2024-06-28T09:56:19
https://github.com/huggingface/datasets/issues/7005
null
7,005
false
[ "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...
2,376,064,264
Fix WebDatasets KeyError for user-defined Features when a field is missing in an example
closed
Fixes: https://github.com/huggingface/datasets/issues/6900 Not sure if this needs any addition stuff before merging
2024-06-26T18:58:05
2024-06-29T00:15:49
2024-06-28T09:30:12
https://github.com/huggingface/datasets/pull/7004
{ "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...
7,004
true
[ "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>...
2,373,084,132
minor fix for bfloat16
closed
null
2024-06-25T16:10:04
2024-06-25T16:16:11
2024-06-25T16:10:10
https://github.com/huggingface/datasets/pull/7003
{ "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...
7,003
true
[ "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>...
2,373,010,351
Fix dump of bfloat16 torch tensor
closed
close https://github.com/huggingface/datasets/issues/7000
2024-06-25T15:38:09
2024-06-25T16:10:16
2024-06-25T15:51:52
https://github.com/huggingface/datasets/pull/7002
{ "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...
7,002
true
[ "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>...
2,372,930,879
Datasetbuilder Local Download FileNotFoundError
open
### 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...
2024-06-25T15:02:34
2024-06-25T15:21:19
null
https://github.com/huggingface/datasets/issues/7001
null
7,001
false
[ "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... " ]
2,372,887,585
IterableDataset: Unsupported ScalarType BFloat16
closed
### 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 ...
2024-06-25T14:43:26
2024-06-25T16:04:00
2024-06-25T15:51:53
https://github.com/huggingface/datasets/issues/7000
null
7,000
false
[ "@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:" ]
2,372,124,589
Remove tasks
closed
Remove tasks, as part of the 3.0 release.
2024-06-25T09:06:16
2024-08-21T09:07:07
2024-08-21T09:01:18
https://github.com/huggingface/datasets/pull/6999
{ "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...
6,999
true
[ "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>...
2,371,973,926
Fix tests using hf-internal-testing/librispeech_asr_dummy
closed
Fix tests using hf-internal-testing/librispeech_asr_dummy once that dataset has been converted to Parquet. Fix #6997.
2024-06-25T07:59:44
2024-06-25T08:22:38
2024-06-25T08:13:42
https://github.com/huggingface/datasets/pull/6998
{ "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...
6,998
true
[ "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>...
2,371,966,127
CI is broken for tests using hf-internal-testing/librispeech_asr_dummy
closed
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...
2024-06-25T07:55:44
2024-06-25T08:13:43
2024-06-25T08:13:43
https://github.com/huggingface/datasets/issues/6997
null
6,997
false
[]
2,371,841,671
Remove deprecated code
closed
Remove deprecated code, as part of the 3.0 release. First merge: - [x] #6983 - [x] #6987 - [x] #6999
2024-06-25T06:54:40
2024-08-21T09:42:52
2024-08-21T09:35:06
https://github.com/huggingface/datasets/pull/6996
{ "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...
6,996
true
[ "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>...
2,370,713,475
ImportError when importing datasets.load_dataset
closed
### 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...
2024-06-24T17:07:22
2024-11-14T01:42:09
2024-06-25T06:11:37
https://github.com/huggingface/datasets/issues/6995
null
6,995
false
[ "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...
2,370,491,689
Fix incorrect rank value in data splitting
closed
Fix #6990.
2024-06-24T15:07:47
2024-06-26T04:37:35
2024-06-25T16:19:17
https://github.com/huggingface/datasets/pull/6994
{ "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...
6,994
true
[ "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>...
2,370,444,104
less script docs
closed
+ mark as legacy in some parts of the docs since we'll not build new features for script datasets
2024-06-24T14:45:28
2024-07-08T13:10:53
2024-06-27T09:31:21
https://github.com/huggingface/datasets/pull/6993
{ "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...
6,993
true
[ "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>...
2,367,890,622
Dataset with streaming doesn't work with proxy
open
### 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...
2024-06-22T16:12:08
2024-06-25T15:43:05
null
https://github.com/huggingface/datasets/issues/6992
null
6,992
false
[ "Hi ! can you try updating `datasets` and `huggingface_hub` ?\r\n\r\n```\r\npip install -U datasets huggingface_hub\r\n```" ]
2,367,711,094
Unblock NumPy 2.0
closed
Fixes https://github.com/huggingface/datasets/issues/6980
2024-06-22T09:19:53
2024-12-25T17:57:34
2024-07-12T12:04:53
https://github.com/huggingface/datasets/pull/6991
{ "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...
6,991
true
[ "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...
2,366,660,785
Problematic rank after calling `split_dataset_by_node` twice
closed
### 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 >>...
2024-06-21T14:25:26
2024-06-25T16:19:19
2024-06-25T16:19:19
https://github.com/huggingface/datasets/issues/6990
null
6,990
false
[ "ah yes good catch ! feel free to open a PR with your suggested fix" ]
2,365,556,449
cache in nfs error
open
### 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...
2024-06-21T02:09:22
2025-01-29T11:44:04
null
https://github.com/huggingface/datasets/issues/6989
null
6,989
false
[ "Hey @simplew2011 I am curious if you know of a workaround, or possible implications of letting the code run?" ]
2,364,129,918
[`feat`] Move dataset card creation to method for easier overriding
open
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...
2024-06-20T10:47:57
2024-06-21T16:04:58
null
https://github.com/huggingface/datasets/pull/6988
{ "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 }
6,988
true
[ "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...
2,363,728,190
Remove beam
closed
Remove beam, as part of the 3.0 release.
2024-06-20T07:27:14
2024-06-26T19:41:55
2024-06-26T19:35:42
https://github.com/huggingface/datasets/pull/6987
{ "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...
6,987
true
[ "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>...
2,362,584,179
Add large_list type support in string_to_arrow
closed
add large_list type support in string_to_arrow() and _arrow_to_datasets_dtype() in features.py Fix #6984
2024-06-19T14:54:25
2024-08-12T14:43:48
2024-08-12T14:43:47
https://github.com/huggingface/datasets/pull/6986
{ "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 }
6,986
true
[ "@albertvillanova @KennethEnevoldsen" ]
2,362,378,276
AttributeError: module 'pyarrow.lib' has no attribute 'ListViewType'
closed
### 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...
2024-06-19T13:22:28
2025-03-14T18:47:53
2024-06-25T05:40:51
https://github.com/huggingface/datasets/issues/6985
null
6,985
false
[ "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...
2,362,143,554
Convert polars DataFrame back to datasets
closed
### 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...
2024-06-19T11:38:48
2024-08-12T14:43:46
2024-08-12T14:43:46
https://github.com/huggingface/datasets/issues/6984
null
6,984
false
[ "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` ?)" ]
2,361,806,201
Remove metrics
closed
Remove all metrics, as part of the 3.0 release. Note they are deprecated since 2.5.0 version.
2024-06-19T09:08:55
2024-06-28T06:57:38
2024-06-28T06:51:30
https://github.com/huggingface/datasets/pull/6983
{ "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...
6,983
true
[ "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>...
2,361,661,469
cannot split dataset when using load_dataset
closed
### 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...
2024-06-19T08:07:16
2024-07-08T06:20:16
2024-07-08T06:20:16
https://github.com/huggingface/datasets/issues/6982
null
6,982
false
[ "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...
2,361,520,022
Update docs on trust_remote_code defaults to False
closed
Update docs on trust_remote_code defaults to False. The docs needed to be updated due to this PR: - #6954
2024-06-19T07:12:21
2024-06-19T14:32:59
2024-06-19T14:26:37
https://github.com/huggingface/datasets/pull/6981
{ "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...
6,981
true
[ "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>...
2,360,909,930
Support NumPy 2.0
closed
### 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 ...
2024-06-18T23:30:22
2024-07-12T12:04:54
2024-07-12T12:04:53
https://github.com/huggingface/datasets/issues/6980
null
6,980
false
[]
2,360,175,363
How can I load partial parquet files only?
closed
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...
2024-06-18T15:44:16
2024-06-21T17:09:32
2024-06-21T13:32:50
https://github.com/huggingface/datasets/issues/6979
null
6,979
false
[ "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,...
2,359,511,469
Fix regression for pandas < 2.0.0 in JSON loader
closed
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 ...
2024-06-18T10:26:34
2024-06-19T06:23:24
2024-06-19T05:50:18
https://github.com/huggingface/datasets/pull/6978
{ "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...
6,978
true
[ "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>...
2,359,295,045
load json file error with v2.20.0
closed
### 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...
2024-06-18T08:41:01
2024-06-18T10:06:10
2024-06-18T10:06:09
https://github.com/huggingface/datasets/issues/6977
null
6,977
false
[ "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." ]
2,357,107,203
Ensure compatibility with numpy 2.0.0
closed
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...
2024-06-17T11:29:22
2024-06-19T14:30:32
2024-06-19T14:04:34
https://github.com/huggingface/datasets/pull/6976
{ "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...
6,976
true
[ "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>...
2,357,003,959
Set temporary numpy upper version < 2.0.0 to fix CI
closed
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....
2024-06-17T10:36:54
2024-06-17T12:49:53
2024-06-17T12:43:56
https://github.com/huggingface/datasets/pull/6975
{ "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...
6,975
true
[ "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>...
2,355,517,362
IndexError during training with Squad dataset and T5-small model
closed
### 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...
2024-06-16T07:53:54
2024-07-01T11:25:40
2024-07-01T11:25:40
https://github.com/huggingface/datasets/issues/6973
null
6,973
false
[ "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." ]
2,353,531,912
Fix webdataset pickling
closed
...by making tracked iterables picklable. This is important to make streaming datasets compatible with multiprocessing e.g. for parallel data loading
2024-06-14T14:43:02
2024-06-14T15:43:43
2024-06-14T15:37:35
https://github.com/huggingface/datasets/pull/6972
{ "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...
6,972
true
[ "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>...
2,351,830,856
packaging: Remove useless dependencies
closed
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`.
2024-06-13T18:43:43
2024-06-14T14:03:34
2024-06-14T13:57:24
https://github.com/huggingface/datasets/pull/6971
{ "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...
6,971
true
[ "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...
2,351,380,029
Set dev version
closed
null
2024-06-13T14:59:45
2024-06-13T15:06:18
2024-06-13T14:59:56
https://github.com/huggingface/datasets/pull/6970
{ "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...
6,970
true
[ "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>...
2,351,351,436
Release: 2.20.0
closed
null
2024-06-13T14:48:20
2024-06-13T15:04:39
2024-06-13T14:55:53
https://github.com/huggingface/datasets/pull/6969
{ "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...
6,969
true
[ "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>...
2,351,331,417
Use `HF_HUB_OFFLINE` instead of `HF_DATASETS_OFFLINE`
closed
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...
2024-06-13T14:39:40
2024-06-13T17:31:37
2024-06-13T17:25:37
https://github.com/huggingface/datasets/pull/6968
{ "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...
6,968
true
[ "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/...
2,349,146,398
Method to load Laion400m
open
### 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...
2024-06-12T16:04:04
2024-06-12T16:04:04
null
https://github.com/huggingface/datasets/issues/6967
null
6,967
false
[]
2,348,934,466
Remove underlines between badges
closed
## 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">
2024-06-12T14:32:11
2024-06-19T14:16:21
2024-06-19T14:10:11
https://github.com/huggingface/datasets/pull/6966
{ "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...
6,966
true
[ "<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...
2,348,653,895
Improve skip take shuffling and distributed
closed
set the right behavior of skip/take depending on whether it's called after or before shuffle/split_by_node
2024-06-12T12:30:27
2024-06-24T15:22:21
2024-06-24T15:16:16
https://github.com/huggingface/datasets/pull/6965
{ "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...
6,965
true
[ "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>...
2,344,973,229
Fix resuming arrow format
closed
following https://github.com/huggingface/datasets/pull/6658
2024-06-10T22:40:33
2024-06-14T15:04:49
2024-06-14T14:58:37
https://github.com/huggingface/datasets/pull/6964
{ "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...
6,964
true
[ "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>...
2,344,269,477
[Streaming] retry on requests errors
closed
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`) ...
2024-06-10T15:51:56
2024-06-28T09:53:11
2024-06-28T09:46:52
https://github.com/huggingface/datasets/pull/6963
{ "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...
6,963
true
[ "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...