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