id
int64
599M
3.18B
number
int64
1
7.65k
title
stringlengths
1
290
state
stringclasses
2 values
body
stringlengths
0
228k
is_pull_request
bool
1 class
created_at
stringdate
2020-04-14 10:18:02
2025-06-26 12:23:48
updated_at
stringdate
2020-04-27 16:04:17
2025-06-26 14:02:38
closed_at
stringlengths
20
20
⌀
user_login
stringlengths
3
26
author_association
stringclasses
4 values
pr_url
stringlengths
46
49
⌀
pr_merged_at
stringlengths
20
20
⌀
comments_count
int64
0
70
reactions_total
int64
0
61
reactions_plus1
int64
0
39
reactions_heart
int64
0
22
draft
bool
2 classes
locked
bool
1 class
labels
listlengths
0
4
html_url
stringlengths
46
51
is_pr_url
bool
2 classes
comments
listlengths
0
30
1,557,510,618
5,465
audiofolder creates empty dataset even though the dataset passed in follows the correct structure
closed
### Describe the bug The structure of my dataset folder called "my_dataset" is : data metadata.csv The data folder consists of all mp3 files and metadata.csv consist of file locations like 'data/...mp3 and transcriptions. There's 400+ mp3 files and corresponding transcriptions for my dataset. When I run the follo...
true
2023-01-26T01:45:45Z
2023-01-26T08:48:45Z
2023-01-26T08:48:45Z
jcho19
NONE
null
null
0
0
0
0
null
false
[]
https://github.com/huggingface/datasets/issues/5465
false
[]
1,557,462,104
5,464
NonMatchingChecksumError for hendrycks_test
closed
### Describe the bug The checksum of the file has likely changed on the remote host. ### Steps to reproduce the bug `dataset = nlp.load_dataset("hendrycks_test", "anatomy")` ### Expected behavior no error thrown ### Environment info - `datasets` version: 2.2.1 - Platform: macOS-13.1-arm64-arm-64bit - Pyt...
true
2023-01-26T00:43:23Z
2023-01-27T05:44:31Z
2023-01-26T07:41:58Z
sarahwie
NONE
null
null
2
0
0
0
null
false
[]
https://github.com/huggingface/datasets/issues/5464
false
[ "Thanks for reporting, @sarahwie.\r\n\r\nPlease note this issue was already fixed in `datasets` 2.6.0 version:\r\n- #5040\r\n\r\nIf you update your `datasets` version, you will be able to load the dataset:\r\n```\r\npip install -U datasets\r\n```", "Oops, missed that I needed to upgrade. Thanks!" ]
1,557,021,041
5,463
Imagefolder docs: mention support of CSV and ZIP
closed
true
2023-01-25T17:24:01Z
2023-01-25T18:33:35Z
2023-01-25T18:26:15Z
lhoestq
MEMBER
https://github.com/huggingface/datasets/pull/5463
2023-01-25T18:26:15Z
3
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/5463
true
[ "_The documentation is not available anymore as the PR was closed or merged._", "<details>\n<summary>Show benchmarks</summary>\n\nPyArrow==6.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 | rea...
1,556,572,144
5,462
Concatenate on axis=1 with misaligned blocks
closed
Allow to concatenate on axis 1 two tables made of misaligned blocks. For example if the first table has 2 row blocks of 3 rows each, and the second table has 3 row blocks or 2 rows each. To do that, I slice the row blocks to re-align the blocks. Fix https://github.com/huggingface/datasets/issues/5413
true
2023-01-25T12:33:22Z
2023-01-26T09:37:00Z
2023-01-26T09:27:19Z
lhoestq
MEMBER
https://github.com/huggingface/datasets/pull/5462
2023-01-26T09:27:19Z
4
1
1
0
false
false
[]
https://github.com/huggingface/datasets/pull/5462
true
[ "<details>\n<summary>Show benchmarks</summary>\n\nPyArrow==6.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...
1,555,532,719
5,461
Discrepancy in `nyu_depth_v2` dataset
open
### Describe the bug I think there is a discrepancy between depth map of `nyu_depth_v2` dataset [here](https://huggingface.co/docs/datasets/main/en/depth_estimation) and actual depth map. Depth values somehow got **discretized/clipped** resulting in depth maps that are different from actual ones. Here is a side-by-sid...
true
2023-01-24T19:15:46Z
2023-02-06T20:52:00Z
null
awsaf49
CONTRIBUTOR
null
null
37
0
0
0
null
false
[]
https://github.com/huggingface/datasets/issues/5461
false
[ "Ccing @dwofk (the author of `fast-depth`). \r\n\r\nThanks, @awsaf49 for reporting this. I believe this is because the NYU Depth V2 shipped from `fast-depth` is already preprocessed. \r\n\r\nIf you think it might be better to have the NYU Depth V2 dataset from BTS [here](https://huggingface.co/datasets/sayakpaul/ny...
1,555,387,532
5,460
Document that removing all the columns returns an empty document and the num_row is lost
closed
true
2023-01-24T17:33:38Z
2023-01-25T16:11:10Z
2023-01-25T16:04:03Z
thomasw21
CONTRIBUTOR
https://github.com/huggingface/datasets/pull/5460
2023-01-25T16:04:03Z
4
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/5460
true
[ "_The documentation is not available anymore as the PR was closed or merged._", "<details>\n<summary>Show benchmarks</summary>\n\nPyArrow==6.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 | rea...
1,555,367,504
5,459
Disable aiohttp requoting of redirection URL
closed
The library `aiohttp` performs a requoting of redirection URLs that unquotes the single quotation mark character: `%27` => `'` This is a problem for our Hugging Face Hub, which requires exact URL from location header. Specifically, in the query component of the URL (`https://netloc/path?query`), the value for `re...
true
2023-01-24T17:18:59Z
2024-09-01T18:08:31Z
2023-01-31T08:37:54Z
albertvillanova
MEMBER
https://github.com/huggingface/datasets/pull/5459
2023-01-31T08:37:54Z
7
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/5459
true
[ "_The documentation is not available anymore as the PR was closed or merged._", "Comment by @lhoestq:\r\n> Do you think we need this in `datasets` if it's fixed on the moon landing side ? In the aiohttp doc they consider those symbols as \"non-safe\" ", "The lib `requests` does not perform that requote on redir...
1,555,054,737
5,458
slice split while streaming
closed
### Describe the bug When using the `load_dataset` function with streaming set to True, slicing splits is apparently not supported. Did I miss this in the documentation? ### Steps to reproduce the bug `load_dataset("lhoestq/demo1",revision=None, streaming=True, split="train[:3]")` causes ValueError: Bad split:...
true
2023-01-24T14:08:17Z
2023-01-24T15:11:47Z
2023-01-24T15:11:47Z
SvenDS9
NONE
null
null
2
1
0
1
null
false
[]
https://github.com/huggingface/datasets/issues/5458
false
[ "Hi! Yes, that's correct. When `streaming` is `True`, only split names can be specified as `split`, and for slicing, you have to use `.skip`/`.take` instead.\r\n\r\nE.g. \r\n`load_dataset(\"lhoestq/demo1\",revision=None, streaming=True, split=\"train[:3]\")`\r\n\r\nrewritten with `.skip`/`.take`:\r\n`load_dataset(\...
1,554,171,264
5,457
prebuilt dataset relies on `downloads/extracted`
open
### Describe the bug I pre-built the dataset: ``` python -c 'import sys; from datasets import load_dataset; ds=load_dataset(sys.argv[1])' HuggingFaceM4/general-pmd-synthetic-testing ``` and it can be used just fine. now I wipe out `downloads/extracted` and it no longer works. ``` rm -r ~/.cache/huggingface...
true
2023-01-24T02:09:32Z
2024-11-18T07:43:51Z
null
stas00
CONTRIBUTOR
null
null
3
0
0
0
null
false
[]
https://github.com/huggingface/datasets/issues/5457
false
[ "Hi! \r\n\r\nThis issue is due to our audio/image datasets not being self-contained. This allows us to save disk space (files are written only once) but also leads to the issues like this one. We plan to make all our datasets self-contained in Datasets 3.0.\r\n\r\nIn the meantime, you can run the following map to e...
1,553,905,148
5,456
feat: tqdm for `to_parquet`
closed
As described in #5418 I noticed also that the `to_json` function supports multi-workers whereas `to_parquet`, is that not possible/not needed with Parquet or something that hasn't been implemented yet?
true
2023-01-23T22:05:38Z
2023-01-24T11:26:47Z
2023-01-24T11:17:12Z
zanussbaum
CONTRIBUTOR
https://github.com/huggingface/datasets/pull/5456
2023-01-24T11:17:12Z
2
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/5456
true
[ "_The documentation is not available anymore as the PR was closed or merged._", "<details>\n<summary>Show benchmarks</summary>\n\nPyArrow==6.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 | rea...
1,553,040,080
5,455
Single TQDM bar in multi-proc map
closed
Use the "shard generator approach with periodic progress updates" (used in `save_to_disk` and multi-proc `load_dataset`) in `Dataset.map` to enable having a single TQDM progress bar in the multi-proc mode. Closes https://github.com/huggingface/datasets/issues/771, closes https://github.com/huggingface/datasets/issue...
true
2023-01-23T12:49:40Z
2023-02-13T20:23:34Z
2023-02-13T20:16:38Z
mariosasko
COLLABORATOR
https://github.com/huggingface/datasets/pull/5455
2023-02-13T20:16:38Z
12
2
0
1
false
false
[]
https://github.com/huggingface/datasets/pull/5455
true
[ "_The documentation is not available anymore as the PR was closed or merged._", "<details>\n<summary>Show benchmarks</summary>\n\nPyArrow==6.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 | rea...
1,552,890,419
5,454
Save and resume the state of a DataLoader
open
It would be nice when using `datasets` with a PyTorch DataLoader to be able to resume a training from a DataLoader state (e.g. to resume a training that crashed) What I have in mind (but lmk if you have other ideas or comments): For map-style datasets, this requires to have a PyTorch Sampler state that can be sav...
true
2023-01-23T10:58:54Z
2024-11-27T01:19:21Z
null
lhoestq
MEMBER
null
null
21
10
3
7
null
false
[ "enhancement", "generic discussion" ]
https://github.com/huggingface/datasets/issues/5454
false
[ "Something that'd be nice to have is \"manual update of state\". One of the learning from training LLMs is the ability to skip some batches whenever we notice huge spike might be handy.", "Your outline spec is very sound and clear, @lhoestq - thank you!\r\n\r\n@thomasw21, indeed that would be a wonderful extra fe...
1,552,727,425
5,453
Fix base directory while extracting insecure TAR files
closed
This PR fixes the extraction of insecure TAR files by changing the base path against which TAR members are compared: - from: "." - to: `output_path` This PR also adds tests for extracting insecure TAR files. Related to: - #5441 - #5452 @stas00 please note this PR addresses just one of the issues you pointe...
true
2023-01-23T08:57:40Z
2023-01-24T01:34:20Z
2023-01-23T10:10:42Z
albertvillanova
MEMBER
https://github.com/huggingface/datasets/pull/5453
2023-01-23T10:10:42Z
3
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/5453
true
[ "_The documentation is not available anymore as the PR was closed or merged._", "<details>\n<summary>Show benchmarks</summary>\n\nPyArrow==6.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 | rea...
1,552,655,939
5,452
Swap log messages for symbolic/hard links in tar extractor
closed
The log messages do not match their if-condition. This PR swaps them. Found while investigating: - #5441 CC: @lhoestq
true
2023-01-23T07:53:38Z
2023-01-23T09:40:55Z
2023-01-23T08:31:17Z
albertvillanova
MEMBER
https://github.com/huggingface/datasets/pull/5452
2023-01-23T08:31:17Z
2
1
1
0
false
false
[]
https://github.com/huggingface/datasets/pull/5452
true
[ "_The documentation is not available anymore as the PR was closed or merged._", "<details>\n<summary>Show benchmarks</summary>\n\nPyArrow==6.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 | rea...
1,552,336,300
5,451
ImageFolder BadZipFile: Bad offset for central directory
closed
### Describe the bug I'm getting the following exception: ``` lib/python3.10/zipfile.py:1353 in _RealGetContents │ │ │ │ 1350 │ │ # self.start_dir: Position of start of central directory ...
true
2023-01-22T23:50:12Z
2023-05-23T10:35:48Z
2023-02-10T16:31:36Z
hmartiro
NONE
null
null
3
0
0
0
null
false
[]
https://github.com/huggingface/datasets/issues/5451
false
[ "Hi ! Could you share the full stack trace ? Which dataset did you try to load ?\r\n\r\nit may be related to https://github.com/huggingface/datasets/pull/5640", "The `BadZipFile` error means the ZIP file is corrupted, so I'm closing this issue as it's not directly related to `datasets`.", "For others that find ...
1,551,109,365
5,450
to_tf_dataset with a TF collator causes bizarrely persistent slowdown
closed
### Describe the bug This will make more sense if you take a look at [a Colab notebook that reproduces this issue.](https://colab.research.google.com/drive/1rxyeciQFWJTI0WrZ5aojp4Ls1ut18fNH?usp=sharing) Briefly, there are several datasets that, when you iterate over them with `to_tf_dataset` **and** a data colla...
true
2023-01-20T16:08:37Z
2023-02-13T14:13:34Z
2023-02-13T14:13:34Z
Rocketknight1
MEMBER
null
null
7
1
0
0
null
false
[]
https://github.com/huggingface/datasets/issues/5450
false
[ "wtf", "Couldn't find what's causing this, this will need more investigation", "A possible hint: The function it seems to be spending a lot of time in (when iterating over the original dataset) is `_get_mp` in the PIL JPEG decoder: \r\n![image](https://user-images.githubusercontent.com/12866554/214057267-c889f0...
1,550,801,453
5,449
Support fsspec 2023.1.0 in CI
closed
Support fsspec 2023.1.0 in CI. In the 2023.1.0 fsspec release, they replaced the type of `fsspec.registry`: - from `ReadOnlyRegistry`, with an attribute called `target` - to `MappingProxyType`, without that attribute Consequently, we need to change our `mock_fsspec` fixtures, that were using the `target` attrib...
true
2023-01-20T12:53:17Z
2023-01-20T13:32:50Z
2023-01-20T13:26:03Z
albertvillanova
MEMBER
https://github.com/huggingface/datasets/pull/5449
2023-01-20T13:26:03Z
2
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/5449
true
[ "_The documentation is not available anymore as the PR was closed or merged._", "<details>\n<summary>Show benchmarks</summary>\n\nPyArrow==6.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 | rea...
1,550,618,514
5,448
Support fsspec 2023.1.0 in CI
closed
Once we find out the root cause of: - #5445 we should revert the temporary pin on fsspec introduced by: - #5447
true
2023-01-20T10:26:31Z
2023-01-20T13:26:05Z
2023-01-20T13:26:05Z
albertvillanova
MEMBER
null
null
0
0
0
0
null
false
[ "enhancement" ]
https://github.com/huggingface/datasets/issues/5448
false
[]
1,550,599,193
5,447
Fix CI by temporarily pinning fsspec < 2023.1.0
closed
Temporarily pin fsspec < 2023.1.0 Fix #5445.
true
2023-01-20T10:11:02Z
2023-01-20T10:38:13Z
2023-01-20T10:28:43Z
albertvillanova
MEMBER
https://github.com/huggingface/datasets/pull/5447
2023-01-20T10:28:43Z
2
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/5447
true
[ "_The documentation is not available anymore as the PR was closed or merged._", "<details>\n<summary>Show benchmarks</summary>\n\nPyArrow==6.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 | rea...
1,550,591,588
5,446
test v0.12.0.rc0
closed
DO NOT MERGE. Only to test the CI. cc @lhoestq @albertvillanova
true
2023-01-20T10:05:19Z
2023-01-20T10:43:22Z
2023-01-20T10:13:48Z
Wauplin
CONTRIBUTOR
https://github.com/huggingface/datasets/pull/5446
null
5
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/5446
true
[ "_The documentation is not available anymore as the PR was closed or merged._", "@Wauplin I was testing it in a dedicated branch without opening a PR: https://github.com/huggingface/datasets/commits/test-hfh-0.12.0rc0", "Oops, sorry @albertvillanova. I thought for next time I'll start the CIs before pinging eve...
1,550,588,703
5,445
CI tests are broken: AttributeError: 'mappingproxy' object has no attribute 'target'
closed
CI tests are broken, raising `AttributeError: 'mappingproxy' object has no attribute 'target'`. See: https://github.com/huggingface/datasets/actions/runs/3966497597/jobs/6797384185 ``` ... ERROR tests/test_streaming_download_manager.py::TestxPath::test_xpath_rglob[mock://top_level-date=2019-10-0[1-4]/*-expected_path...
true
2023-01-20T10:03:10Z
2023-01-20T10:28:44Z
2023-01-20T10:28:44Z
albertvillanova
MEMBER
null
null
0
0
0
0
null
false
[ "bug" ]
https://github.com/huggingface/datasets/issues/5445
false
[]
1,550,185,071
5,444
info messages logged as warnings
closed
### Describe the bug Code in `datasets` is using `logger.warning` when it should be using `logger.info`. Some of these are probably a matter of opinion, but I think anything starting with `logger.warning(f"Loading chached` clearly falls into the info category. Definitions from the Python docs for reference: * I...
true
2023-01-20T01:19:18Z
2023-07-12T17:19:31Z
2023-07-12T17:19:31Z
davidgilbertson
NONE
null
null
7
0
0
0
null
false
[]
https://github.com/huggingface/datasets/issues/5444
false
[ "Looks like a duplicate of https://github.com/huggingface/datasets/issues/1948. \r\n\r\nI also think these should be logged as INFO messages, but let's see what @lhoestq thinks.", "It can be considered unexpected to see a `map` function return instantaneously. The warning is here to explain this case by mentionin...
1,550,178,914
5,443
Update share tutorial
closed
Based on feedback from discussion #5423, this PR updates the sharing tutorial with a mention of writing your own dataset loading script to support more advanced dataset creation options like multiple configs. I'll open a separate PR to update the *Create a Dataset card* with the new Hub metadata UI update 😄
true
2023-01-20T01:09:14Z
2023-01-20T15:44:45Z
2023-01-20T15:37:30Z
stevhliu
MEMBER
https://github.com/huggingface/datasets/pull/5443
2023-01-20T15:37:30Z
2
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/5443
true
[ "_The documentation is not available anymore as the PR was closed or merged._", "<details>\n<summary>Show benchmarks</summary>\n\nPyArrow==6.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 | rea...
1,550,084,450
5,442
OneDrive Integrations with HF Datasets
closed
### Feature request First of all , I would like to thank all community who are developed DataSet storage and make it free available How to integrate our Onedrive account or any other possible storage clouds (like google drive,...) with the **HF** datasets section. For example, if I have **50GB** on my **Onedrive*...
true
2023-01-19T23:12:08Z
2023-02-24T16:17:51Z
2023-02-24T16:17:51Z
Mohammed20201991
NONE
null
null
2
0
0
0
null
false
[ "enhancement" ]
https://github.com/huggingface/datasets/issues/5442
false
[ "Hi! \r\n\r\nWe use [`fsspec`](https://github.com/fsspec/filesystem_spec) to integrate with storage providers. You can find more info (and the usage examples) in [our docs](https://huggingface.co/docs/datasets/v2.8.0/filesystems#download-and-prepare-a-dataset-into-a-cloud-storage).\r\n\r\n[`gdrivefs`](https://githu...
1,548,417,594
5,441
resolving a weird tar extract issue
open
ok, every so often, I have been getting a strange failure on dataset install: ``` $ python -c 'import sys; from datasets import load_dataset; ds=load_dataset(sys.argv[1])' HuggingFaceM4/general-pmd-synthetic-testing No config specified, defaulting to: general-pmd-synthetic-testing/100.unique Downloading and prep...
true
2023-01-19T02:17:21Z
2023-01-20T16:49:22Z
null
stas00
CONTRIBUTOR
https://github.com/huggingface/datasets/pull/5441
null
4
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/5441
true
[ "<details>\n<summary>Show benchmarks</summary>\n\nPyArrow==6.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...
1,538,361,143
5,440
Fix documentation about batch samplers
closed
true
2023-01-18T17:04:27Z
2023-01-18T17:57:29Z
2023-01-18T17:50:04Z
thomasw21
CONTRIBUTOR
https://github.com/huggingface/datasets/pull/5440
2023-01-18T17:50:04Z
3
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/5440
true
[ "_The documentation is not available anymore as the PR was closed or merged._", "<details>\n<summary>Show benchmarks</summary>\n\nPyArrow==6.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 | rea...
1,537,973,564
5,439
[dataset request] Add Common Voice 12.0
closed
### Feature request Please add the common voice 12_0 datasets. Apart from English, a significant amount of audio-data has been added to the other minor-language datasets. ### Motivation The dataset link: https://commonvoice.mozilla.org/en/datasets
true
2023-01-18T13:07:05Z
2023-07-21T14:26:10Z
2023-07-21T14:26:09Z
MohammedRakib
NONE
null
null
2
2
2
0
null
false
[ "enhancement" ]
https://github.com/huggingface/datasets/issues/5439
false
[ "@polinaeterna any tentative date on when the Common Voice 12.0 dataset will be added ?", "This dataset is now hosted on the Hub here: https://huggingface.co/datasets/mozilla-foundation/common_voice_12_0" ]
1,537,489,730
5,438
Update actions/checkout in CD Conda release
closed
This PR updates the "checkout" GitHub Action to its latest version, as previous ones are deprecated: https://github.blog/changelog/2022-09-22-github-actions-all-actions-will-begin-running-on-node16-instead-of-node12/
true
2023-01-18T06:53:15Z
2023-01-18T13:49:51Z
2023-01-18T13:42:49Z
albertvillanova
MEMBER
https://github.com/huggingface/datasets/pull/5438
2023-01-18T13:42:48Z
2
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/5438
true
[ "_The documentation is not available anymore as the PR was closed or merged._", "<details>\n<summary>Show benchmarks</summary>\n\nPyArrow==6.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 | rea...
1,536,837,144
5,437
Can't load png dataset with 4 channel (RGBA)
closed
I try to create dataset which contains about 9000 png images 64x64 in size, and they are all 4-channel (RGBA). When trying to use load_dataset() then a dataset is created from only 2 images. What exactly interferes I can not understand.![Screenshot_20230117_212213.jpg](https://user-images.githubusercontent.com/41611046...
true
2023-01-17T18:22:27Z
2023-01-18T20:20:15Z
2023-01-18T20:20:15Z
WiNE-iNEFF
NONE
null
null
3
0
0
0
null
false
[]
https://github.com/huggingface/datasets/issues/5437
false
[ "Hi! Can you please share the directory structure of your image folder and the `load_dataset` call? We decode images with Pillow, and Pillow supports RGBA PNGs, so this shouldn't be a problem.\r\n\r\n", "> Hi! Can you please share the directory structure of your image folder and the `load_dataset` call? We decode...
1,536,633,173
5,436
Revert container image pin in CI benchmarks
closed
Closes #5433, reverts #5432, and also: * Uses [ghcr.io container images](https://cml.dev/doc/self-hosted-runners/#docker-images) for extra speed * Updates `actions/checkout` to `v3` (note that `v2` is [deprecated](https://github.blog/changelog/2022-09-22-github-actions-all-actions-will-begin-running-on-node16-instead...
true
2023-01-17T15:59:50Z
2023-01-18T09:05:49Z
2023-01-18T06:29:06Z
0x2b3bfa0
CONTRIBUTOR
https://github.com/huggingface/datasets/pull/5436
2023-01-18T06:29:06Z
2
3
3
0
false
false
[]
https://github.com/huggingface/datasets/pull/5436
true
[ "_The documentation is not available anymore as the PR was closed or merged._", "<details>\n<summary>Show benchmarks</summary>\n\nPyArrow==6.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 | rea...
1,536,099,300
5,435
Wrong statement in "Load a Dataset in Streaming mode" leads to data leakage
closed
### Describe the bug In the [Split your dataset with take and skip](https://huggingface.co/docs/datasets/v1.10.2/dataset_streaming.html#split-your-dataset-with-take-and-skip), it states: > Using take (or skip) prevents future calls to shuffle from shuffling the dataset shards order, otherwise the taken examples cou...
true
2023-01-17T10:04:16Z
2023-01-19T09:56:03Z
2023-01-19T09:56:03Z
DanielYang59
NONE
null
null
4
0
0
0
null
false
[]
https://github.com/huggingface/datasets/issues/5435
false
[ "Just for your information, Tensorflow confirmed this issue [here.](https://github.com/tensorflow/tensorflow/issues/59279)", "Thanks for reporting, @HaoyuYang59.\r\n\r\nPlease note that these are different \"dataset\" objects: our docs refer to Hugging Face `datasets.Dataset` and not to TensorFlow `tf.data.Datase...
1,536,090,042
5,434
sample_dataset module not found
closed
true
2023-01-17T09:57:54Z
2023-01-19T13:52:12Z
2023-01-19T07:55:11Z
nickums
NONE
null
null
3
0
0
0
null
false
[]
https://github.com/huggingface/datasets/issues/5434
false
[ "Hi! Can you describe what the actual error is?", "working on the setfit example script\r\n\r\n from setfit import SetFitModel, SetFitTrainer, sample_dataset\r\n\r\nImportError: cannot import name 'sample_dataset' from 'setfit' (C:\\Python\\Python38\\lib\\site-packages\\setfit\\__init__.py)\r\n\r\n apart from t...
1,536,017,901
5,433
Support latest Docker image in CI benchmarks
closed
Once we find out the root cause of: - #5431 we should revert the temporary pin on the Docker image version introduced by: - #5432
true
2023-01-17T09:06:08Z
2023-01-18T06:29:08Z
2023-01-18T06:29:08Z
albertvillanova
MEMBER
null
null
3
2
2
0
null
false
[ "enhancement" ]
https://github.com/huggingface/datasets/issues/5433
false
[ "Sorry, it was us:[^1] https://github.com/iterative/cml/pull/1317 & https://github.com/iterative/cml/issues/1319#issuecomment-1385599559; should be fixed with [v0.18.17](https://github.com/iterative/cml/releases/tag/v0.18.17).\r\n\r\n[^1]: More or less, see https://github.com/yargs/yargs/issues/873.", "Opened htt...
1,535,893,019
5,432
Fix CI benchmarks by temporarily pinning Docker image version
closed
This PR fixes CI benchmarks, by temporarily pinning Docker image version, instead of "latest" tag. It also updates deprecated `cml-send-comment` command and using `cml comment create` instead. Fix #5431.
true
2023-01-17T07:15:31Z
2023-01-17T08:58:22Z
2023-01-17T08:51:17Z
albertvillanova
MEMBER
https://github.com/huggingface/datasets/pull/5432
2023-01-17T08:51:17Z
2
1
1
0
false
false
[]
https://github.com/huggingface/datasets/pull/5432
true
[ "_The documentation is not available anymore as the PR was closed or merged._", "<details>\n<summary>Show benchmarks</summary>\n\nPyArrow==6.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 | rea...
1,535,862,621
5,431
CI benchmarks are broken: Unknown arguments: runnerPath, path
closed
Our CI benchmarks are broken, raising `Unknown arguments` error: https://github.com/huggingface/datasets/actions/runs/3932397079/jobs/6724905161 ``` Unknown arguments: runnerPath, path ``` Stack trace: ``` 100%|██████████| 500/500 [00:01<00:00, 338.98ba/s] Updating lock file 'dvc.lock' To track the changes ...
true
2023-01-17T06:49:57Z
2023-01-18T06:33:24Z
2023-01-17T08:51:18Z
albertvillanova
MEMBER
null
null
0
1
1
0
null
false
[ "maintenance" ]
https://github.com/huggingface/datasets/issues/5431
false
[]
1,535,856,503
5,430
Support Apache Beam >= 2.44.0
closed
Once we find out the root cause of: - #5426 we should revert the temporary pin on apache-beam introduced by: - #5429
true
2023-01-17T06:42:12Z
2024-02-06T19:24:21Z
2024-02-06T19:24:21Z
albertvillanova
MEMBER
null
null
1
0
0
0
null
false
[ "enhancement" ]
https://github.com/huggingface/datasets/issues/5430
false
[ "Some of the shard files now have 0 number of rows.\r\n\r\nWe have opened an issue in the Apache Beam repo:\r\n- https://github.com/apache/beam/issues/25041" ]
1,535,192,687
5,429
Fix CI by temporarily pinning apache-beam < 2.44.0
closed
Temporarily pin apache-beam < 2.44.0 Fix #5426.
true
2023-01-16T16:20:09Z
2023-01-16T16:51:42Z
2023-01-16T16:49:03Z
albertvillanova
MEMBER
https://github.com/huggingface/datasets/pull/5429
2023-01-16T16:49:03Z
1
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/5429
true
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,535,166,139
5,428
Load/Save FAISS index using fsspec
closed
### Feature request From what I understand `faiss` already support this [link](https://github.com/facebookresearch/faiss/wiki/Index-IO,-cloning-and-hyper-parameter-tuning#generic-io-support) I would like to use a stream as input to `Dataset.load_faiss_index` and `Dataset.save_faiss_index`. ### Motivation In...
true
2023-01-16T16:08:12Z
2023-03-27T15:18:22Z
2023-03-27T15:18:22Z
Dref360
CONTRIBUTOR
null
null
2
0
0
0
null
false
[ "enhancement" ]
https://github.com/huggingface/datasets/issues/5428
false
[ "Hi! Sure, feel free to submit a PR. Maybe if we want to be consistent with the existing API, it would be cleaner to directly add support for `fsspec` paths in `Dataset.load_faiss_index`/`Dataset.save_faiss_index` in the same manner as it was done in `Dataset.load_from_disk`/`Dataset.save_to_disk`.", "That's a gr...
1,535,162,889
5,427
Unable to download dataset id_clickbait
closed
### Describe the bug I tried to download dataset `id_clickbait`, but receive this error message. ``` FileNotFoundError: Couldn't find file at https://md-datasets-cache-zipfiles-prod.s3.eu-west-1.amazonaws.com/k42j7x2kpn-1.zip ``` When i open the link using browser, i got this XML data. ```xml <?xml versi...
true
2023-01-16T16:05:36Z
2023-01-18T09:51:28Z
2023-01-18T09:25:19Z
ilos-vigil
NONE
null
null
1
0
0
0
null
false
[]
https://github.com/huggingface/datasets/issues/5427
false
[ "Thanks for reporting, @ilos-vigil.\r\n\r\nWe have transferred this issue to the corresponding dataset on the Hugging Face Hub: https://huggingface.co/datasets/id_clickbait/discussions/1 " ]
1,535,158,555
5,426
CI tests are broken: SchemaInferenceError
closed
CI test (unit, ubuntu-latest, deps-minimum) is broken, raising a `SchemaInferenceError`: see https://github.com/huggingface/datasets/actions/runs/3930901593/jobs/6721492004 ``` FAILED tests/test_beam.py::BeamBuilderTest::test_download_and_prepare_sharded - datasets.arrow_writer.SchemaInferenceError: Please pass `feat...
true
2023-01-16T16:02:07Z
2023-06-02T06:40:32Z
2023-01-16T16:49:04Z
albertvillanova
MEMBER
null
null
0
0
0
0
null
false
[ "bug" ]
https://github.com/huggingface/datasets/issues/5426
false
[]
1,534,581,850
5,425
Sort on multiple keys with datasets.Dataset.sort()
closed
### Feature request From discussion on forum: https://discuss.huggingface.co/t/datasets-dataset-sort-does-not-preserve-ordering/29065/1 `sort()` does not preserve ordering, and it does not support sorting on multiple columns, nor a key function. The suggested solution: > ... having something similar to panda...
true
2023-01-16T09:22:26Z
2023-02-24T16:15:11Z
2023-02-24T16:15:11Z
rocco-fortuna
NONE
null
null
10
0
0
0
null
false
[ "enhancement", "good first issue" ]
https://github.com/huggingface/datasets/issues/5425
false
[ "Hi! \r\n\r\n`Dataset.sort` calls `df.sort_values` internally, and `df.sort_values` brings all the \"sort\" columns in memory, so sorting on multiple keys could be very expensive. This makes me think that maybe we can replace `df.sort_values` with `pyarrow.compute.sort_indices` - the latter can also sort on multipl...
1,534,394,756
5,424
When applying `ReadInstruction` to custom load it's not DatasetDict but list of Dataset?
closed
### Describe the bug I am loading datasets from custom `tsv` files stored locally and applying split instructions for each split. Although the ReadInstruction is being applied correctly and I was expecting it to be `DatasetDict` but instead it is a list of `Dataset`. ### Steps to reproduce the bug Steps to reproduc...
true
2023-01-16T06:54:28Z
2023-02-24T16:19:00Z
2023-02-24T16:19:00Z
macabdul9
NONE
null
null
1
0
0
0
null
false
[]
https://github.com/huggingface/datasets/issues/5424
false
[ "Hi! You can get a `DatasetDict` if you pass a dictionary with read instructions as follows:\r\n```python\r\ninstructions = [\r\n ReadInstruction(split_name=\"train\", from_=0, to=10, unit='%', rounding='closest'),\r\n ReadInstruction(split_name=\"dev\", from_=0, to=10, unit='%', rounding='closest'),\r\n R...
1,533,385,239
5,422
Datasets load error for saved github issues
open
### Describe the bug Loading a previously downloaded & saved dataset as described in the HuggingFace course: issues_dataset = load_dataset("json", data_files="issues/datasets-issues.jsonl", split="train") Gives this error: datasets.builder.DatasetGenerationError: An error occurred while generating the dataset...
true
2023-01-14T17:29:38Z
2023-09-14T11:39:57Z
null
folterj
NONE
null
null
7
0
0
0
null
false
[]
https://github.com/huggingface/datasets/issues/5422
false
[ "I can confirm that the error exists!\r\nI'm trying to read 3 parquet files locally:\r\n```python\r\nfrom datasets import load_dataset, Features, Value, ClassLabel\r\n\r\nreview_dataset = load_dataset(\r\n \"parquet\",\r\n data_files={\r\n \"train\": os.path.join(sentiment_analysis_data_path, \"train.p...
1,532,278,307
5,421
Support case-insensitive Hub dataset name in load_dataset
closed
### Feature request The dataset name on the Hub is case-insensitive (see https://github.com/huggingface/moon-landing/pull/2399, internal issue), i.e., https://huggingface.co/datasets/GLUE redirects to https://huggingface.co/datasets/glue. Ideally, we could load the glue dataset using the following: ``` from d...
true
2023-01-13T13:07:07Z
2023-01-13T20:12:32Z
2023-01-13T20:12:32Z
severo
COLLABORATOR
null
null
1
1
1
0
null
false
[ "enhancement" ]
https://github.com/huggingface/datasets/issues/5421
false
[ "Closing as case-insensitivity should be only for URL redirection on the Hub. In the APIs, we will only support the canonical name (https://github.com/huggingface/moon-landing/pull/2399#issuecomment-1382085611)" ]
1,532,265,742
5,420
ci: 🎡 remove two obsolete issue templates
closed
add-dataset is not needed anymore since the "canonical" datasets are on the Hub. And dataset-viewer is managed within the datasets-server project. See https://github.com/huggingface/datasets/issues/new/choose <img width="1245" alt="Capture d’écran 2023-01-13 à 13 59 58" src="https://user-images.githubuserconten...
true
2023-01-13T12:58:43Z
2023-01-13T13:36:00Z
2023-01-13T13:29:01Z
severo
COLLABORATOR
https://github.com/huggingface/datasets/pull/5420
2023-01-13T13:29:01Z
3
1
0
1
false
false
[]
https://github.com/huggingface/datasets/pull/5420
true
[ "_The documentation is not available anymore as the PR was closed or merged._", "<details>\n<summary>Show benchmarks</summary>\n\nPyArrow==6.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 | rea...
1,531,999,850
5,419
label_column='labels' in datasets.TextClassification and 'label' or 'label_ids' in transformers.DataColator
closed
### Describe the bug When preparing a dataset for a task using `datasets.TextClassification`, the output feature is named `labels`. When preparing the trainer using the `transformers.DataCollator` the default column name is `label` if binary or `label_ids` if multi-class problem. It is required to rename the column...
true
2023-01-13T09:40:07Z
2023-07-21T14:27:08Z
2023-07-21T14:27:08Z
CreatixEA
NONE
null
null
2
1
1
0
null
false
[]
https://github.com/huggingface/datasets/issues/5419
false
[ "Hi! Thanks for pointing out this inconsistency. Changing the default value at this point is probably not worth it, considering we've started discussing the state of the task API internally - we will most likely deprecate the current one and replace it with a more robust solution that relies on the `train_eval_inde...
1,530,111,184
5,418
Add ProgressBar for `to_parquet`
closed
### Feature request Add a progress bar for `Dataset.to_parquet`, similar to how `to_json` works. ### Motivation It's a bit frustrating to not know how long a dataset will take to write to file and if it's stuck or not without a progress bar ### Your contribution Sure I can help if needed
true
2023-01-12T05:06:20Z
2023-01-24T18:18:24Z
2023-01-24T18:18:24Z
zanussbaum
CONTRIBUTOR
null
null
4
0
0
0
null
false
[ "enhancement" ]
https://github.com/huggingface/datasets/issues/5418
false
[ "Thanks for your proposal, @zanussbaum. Yes, I agree that would definitely be a nice feature to have!", "@albertvillanova I’m happy to make a quick PR for the feature! let me know ", "That would be awesome ! You can comment `#self-assign` to assign you to this issue and open a PR :) Will be happy to review", ...
1,526,988,113
5,416
Fix RuntimeError: Sharding is ambiguous for this dataset
closed
This PR fixes the RuntimeError: Sharding is ambiguous for this dataset. The error for ambiguous sharding will be raised only if num_proc > 1. Fix #5415, fix #5414. Fix https://huggingface.co/datasets/ami/discussions/3.
true
2023-01-10T08:43:19Z
2023-01-18T17:12:17Z
2023-01-18T14:09:02Z
albertvillanova
MEMBER
https://github.com/huggingface/datasets/pull/5416
2023-01-18T14:09:02Z
4
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/5416
true
[ "_The documentation is not available anymore as the PR was closed or merged._", "By the way, do we know how many datasets are impacted by this issue?\r\n\r\nMaybe we should do a patch release with this fix.", "<details>\n<summary>Show benchmarks</summary>\n\nPyArrow==6.0.0\n\n<details>\n<summary>Show updated be...
1,526,904,861
5,415
RuntimeError: Sharding is ambiguous for this dataset
closed
### Describe the bug When loading some datasets, a RuntimeError is raised. For example, for "ami" dataset: https://huggingface.co/datasets/ami/discussions/3 ``` .../huggingface/datasets/src/datasets/builder.py in _prepare_split(self, split_generator, check_duplicate_keys, file_format, num_proc, max_shard_size) ...
true
2023-01-10T07:36:11Z
2023-01-18T14:09:04Z
2023-01-18T14:09:03Z
albertvillanova
MEMBER
null
null
0
1
1
0
null
false
[]
https://github.com/huggingface/datasets/issues/5415
false
[]
1,525,733,818
5,414
Sharding error with Multilingual LibriSpeech
closed
### Describe the bug Loading the German Multilingual LibriSpeech dataset results in a RuntimeError regarding sharding with the following stacktrace: ``` Downloading and preparing dataset multilingual_librispeech/german to /home/nithin/datadrive/cache/huggingface/datasets/facebook___multilingual_librispeech/german/...
true
2023-01-09T14:45:31Z
2023-01-18T14:09:04Z
2023-01-18T14:09:04Z
Nithin-Holla
NONE
null
null
4
1
1
0
null
false
[]
https://github.com/huggingface/datasets/issues/5414
false
[ "Thanks for reporting, @Nithin-Holla.\r\n\r\nThis is a known issue for multiple datasets and we are investigating it:\r\n- See e.g.: https://huggingface.co/datasets/ami/discussions/3", "Main issue:\r\n- #5415", "@albertvillanova Thanks! As a workaround for now, can I use the dataset in streaming mode?", "Yes,...
1,524,591,837
5,413
concatenate_datasets fails when two dataset with shards > 1 and unequal shard numbers
closed
### Describe the bug When using `concatenate_datasets([dataset1, dataset2], axis = 1)` to concatenate two datasets with shards > 1, it fails: ``` File "/home/xzg/anaconda3/envs/tri-transfer/lib/python3.9/site-packages/datasets/combine.py", line 182, in concatenate_datasets return _concatenate_map_style_data...
true
2023-01-08T17:01:52Z
2023-01-26T09:27:21Z
2023-01-26T09:27:21Z
ZeguanXiao
NONE
null
null
1
0
0
0
null
false
[]
https://github.com/huggingface/datasets/issues/5413
false
[ "Hi ! Thanks for reporting :)\r\n\r\nI managed to reproduce the hub using\r\n```python\r\n\r\nfrom datasets import concatenate_datasets, Dataset, load_from_disk\r\n\r\nDataset.from_dict({\"a\": range(9)}).save_to_disk(\"tmp/ds1\")\r\nds1 = load_from_disk(\"tmp/ds1\")\r\nds1 = concatenate_datasets([ds1, ds1])\r\n\r\...
1,524,250,269
5,412
load_dataset() cannot find dataset_info.json with multiple training runs in parallel
closed
### Describe the bug I have a custom local dataset in JSON form. I am trying to do multiple training runs in parallel. The first training run runs with no issue. However, when I start another run on another GPU, the following code throws this error. If there is a workaround to ignore the cache I think that would ...
true
2023-01-08T00:44:32Z
2023-01-19T20:28:43Z
2023-01-19T20:28:43Z
mtoles
NONE
null
null
4
0
0
0
null
false
[]
https://github.com/huggingface/datasets/issues/5412
false
[ "Hi ! It fails because the dataset is already being prepared by your first run. I'd encourage you to prepare your dataset before using it for multiple trainings.\r\n\r\nYou can also specify another cache directory by passing `cache_dir=` to `load_dataset()`.", "Thank you! What do you mean by prepare it beforehand...
1,523,297,786
5,411
Update docs of S3 filesystem with async aiobotocore
closed
[s3fs has migrated to all async calls](https://github.com/fsspec/s3fs/commit/0de2c6fb3d87c08ea694de96dca0d0834034f8bf). Updating documentation to use `AioSession` while using s3fs for download manager as well as working with datasets
true
2023-01-06T23:19:17Z
2023-01-18T11:18:59Z
2023-01-18T11:12:04Z
maheshpec
CONTRIBUTOR
https://github.com/huggingface/datasets/pull/5411
2023-01-18T11:12:04Z
2
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/5411
true
[ "_The documentation is not available anymore as the PR was closed or merged._", "<details>\n<summary>Show benchmarks</summary>\n\nPyArrow==6.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 | rea...
1,521,168,032
5,410
Map-style Dataset to IterableDataset
closed
Added `ds.to_iterable()` to get an iterable dataset from a map-style arrow dataset. It also has a `num_shards` argument to split the dataset before converting to an iterable dataset. Sharding is important to enable efficient shuffling and parallel loading of iterable datasets. TODO: - [x] tests - [x] docs Fi...
true
2023-01-05T18:12:17Z
2023-02-01T18:11:45Z
2023-02-01T16:36:01Z
lhoestq
MEMBER
https://github.com/huggingface/datasets/pull/5410
2023-02-01T16:36:01Z
22
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/5410
true
[ "<details>\n<summary>Show benchmarks</summary>\n\nPyArrow==6.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...
1,520,374,219
5,409
Fix deprecation warning when use_auth_token passed to download_and_prepare
closed
The `DatasetBuilder.download_and_prepare` argument `use_auth_token` was deprecated in: - #5302 However, `use_auth_token` is still passed to `download_and_prepare` in our built-in `io` readers (csv, json, parquet,...). This PR fixes it, so that no deprecation warning is raised. Fix #5407.
true
2023-01-05T09:10:58Z
2023-01-06T11:06:16Z
2023-01-06T10:59:13Z
albertvillanova
MEMBER
https://github.com/huggingface/datasets/pull/5409
2023-01-06T10:59:13Z
2
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/5409
true
[ "_The documentation is not available anymore as the PR was closed or merged._", "<details>\n<summary>Show benchmarks</summary>\n\nPyArrow==6.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 | rea...
1,519,890,752
5,408
dataset map function could not be hash properly
closed
### Describe the bug I follow the [blog post](https://huggingface.co/blog/fine-tune-whisper#building-a-demo) to finetune a Cantonese transcribe model. When using map function to prepare dataset, following warning pop out: `common_voice = common_voice.map(prepare_dataset, remove_...
true
2023-01-05T01:59:59Z
2023-01-06T13:22:19Z
2023-01-06T13:22:18Z
Tungway1990
NONE
null
null
2
0
0
0
null
false
[]
https://github.com/huggingface/datasets/issues/5408
false
[ "Hi ! On macos I tried with\r\n- py 3.9.11\r\n- datasets 2.8.0\r\n- transformers 4.25.1\r\n- dill 0.3.4\r\n\r\nand I was able to hash `prepare_dataset` correctly:\r\n```python\r\nfrom datasets.fingerprint import Hasher\r\nHasher.hash(prepare_dataset)\r\n```\r\n\r\nWhat version of transformers do you have ? Can you ...
1,519,797,345
5,407
Datasets.from_sql() generates deprecation warning
closed
### Describe the bug Calling `Datasets.from_sql()` generates a warning: `.../site-packages/datasets/builder.py:712: FutureWarning: 'use_auth_token' was deprecated in version 2.7.1 and will be removed in 3.0.0. Pass 'use_auth_token' to the initializer/'load_dataset_builder' instead.` ### Steps to reproduce the ...
true
2023-01-05T00:43:17Z
2023-01-06T10:59:14Z
2023-01-06T10:59:14Z
msummerfield
NONE
null
null
1
0
0
0
null
false
[]
https://github.com/huggingface/datasets/issues/5407
false
[ "Thanks for reporting @msummerfield. We are fixing it." ]
1,519,140,544
5,406
[2.6.1][2.7.0] Upgrade `datasets` to fix `TypeError: can only concatenate str (not "int") to str`
open
`datasets` 2.6.1 and 2.7.0 started to stop supporting datasets like IMDB, ConLL or MNIST datasets. When loading a dataset using 2.6.1 or 2.7.0, you may this error when loading certain datasets: ```python TypeError: can only concatenate str (not "int") to str ``` This is because we started to update the metadat...
true
2023-01-04T15:10:04Z
2023-06-21T18:45:38Z
null
lhoestq
MEMBER
null
null
11
11
11
0
null
false
[]
https://github.com/huggingface/datasets/issues/5406
false
[ "I still get this error on 2.9.0\r\n<img width=\"1925\" alt=\"image\" src=\"https://user-images.githubusercontent.com/7208470/215597359-2f253c76-c472-4612-8099-d3a74d16eb29.png\">\r\n", "Hi ! I just tested locally and or colab and it works fine for 2.9 on `sst2`.\r\n\r\nAlso the code that is shown in your stack t...
1,517,879,386
5,405
size_in_bytes the same for all splits
open
### Describe the bug Hi, it looks like whenever you pull a dataset and get size_in_bytes, it returns the same size for all splits (and that size is the combined size of all splits). It seems like this shouldn't be the intended behavior since it is misleading. Here's an example: ``` >>> from datasets import load_da...
true
2023-01-03T20:25:48Z
2023-01-04T09:22:59Z
null
Breakend
NONE
null
null
1
0
0
0
null
false
[]
https://github.com/huggingface/datasets/issues/5405
false
[ "Hi @Breakend,\r\n\r\nIndeed, the attribute `size_in_bytes` refers to the size of the entire dataset configuration, for all splits (size of downloaded files + Arrow files), not the specific split.\r\nThis is also the case for `download_size` (downloaded files) and `dataset_size` (Arrow files).\r\n\r\nThe size of th...
1,517,566,331
5,404
Better integration of BIG-bench
open
### Feature request Ideally, it would be nice to have a maintained PyPI package for `bigbench`. ### Motivation We'd like to allow anyone to access, explore and use any task. ### Your contribution @lhoestq has opened an issue in their repo: - https://github.com/google/BIG-bench/issues/906
true
2023-01-03T15:37:57Z
2023-02-09T20:30:26Z
null
albertvillanova
MEMBER
null
null
1
0
0
0
null
false
[ "enhancement" ]
https://github.com/huggingface/datasets/issues/5404
false
[ "Hi, I made my version : https://huggingface.co/datasets/tasksource/bigbench" ]
1,517,466,492
5,403
Replace one letter import in docs
closed
This PR updates a code example for consistency across the docs based on [feedback from this comment](https://github.com/huggingface/transformers/pull/20925/files/9fda31634d203a47d3212e4e8d43d3267faf9808#r1058769500): "In terms of style we usually stay away from one-letter imports like this (even if the community use...
true
2023-01-03T14:26:32Z
2023-01-03T15:06:18Z
2023-01-03T14:59:01Z
MKhalusova
CONTRIBUTOR
https://github.com/huggingface/datasets/pull/5403
2023-01-03T14:59:01Z
4
1
1
0
false
false
[]
https://github.com/huggingface/datasets/pull/5403
true
[ "_The documentation is not available anymore as the PR was closed or merged._", "> Thanks for the docs fix for consistency.\r\n> \r\n> Again for consistency, it would be nice to make the same fix across all the docs, e.g.\r\n> \r\n> https://github.com/huggingface/datasets/blob/310cdddd1c43f9658de172b85b6509d07d5e...
1,517,409,429
5,402
Missing state.json when creating a cloud dataset using a dataset_builder
open
### Describe the bug Using `load_dataset_builder` to create a builder, run `download_and_prepare` do upload it to S3. However when trying to load it, there are missing `state.json` files. Complete example: ```python from aiobotocore.session import AioSession as Session from datasets import load_from_disk, load_da...
true
2023-01-03T13:39:59Z
2023-01-04T17:23:57Z
null
danielfleischer
NONE
null
null
3
0
0
0
null
false
[]
https://github.com/huggingface/datasets/issues/5402
false
[ "`load_from_disk` must be used on datasets saved using `save_to_disk`: they correspond to fully serialized datasets including their state.\r\n\r\nOn the other hand, `download_and_prepare` just downloads the raw data and convert them to arrow (or parquet if you want). We are working on allowing you to reload a datas...
1,517,160,935
5,401
Support Dataset conversion from/to Spark
open
This PR implements Spark integration by supporting `Dataset` conversion from/to Spark `DataFrame`.
true
2023-01-03T09:57:40Z
2023-01-05T14:21:33Z
null
albertvillanova
MEMBER
https://github.com/huggingface/datasets/pull/5401
null
4
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/5401
true
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_5401). All of your documentation changes will be reflected on that endpoint.", "Cool thanks !\r\n\r\nSpark DataFrame are usually quite big, and I believe here `from_spark` would load everything in the driver node's RAM, which i...
1,517,032,972
5,400
Support streaming datasets with os.path.exists and Path.exists
closed
Support streaming datasets with `os.path.exists` and `pathlib.Path.exists`.
true
2023-01-03T07:42:37Z
2023-01-06T10:42:44Z
2023-01-06T10:35:44Z
albertvillanova
MEMBER
https://github.com/huggingface/datasets/pull/5400
2023-01-06T10:35:44Z
2
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/5400
true
[ "_The documentation is not available anymore as the PR was closed or merged._", "<details>\n<summary>Show benchmarks</summary>\n\nPyArrow==6.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 | rea...
1,515,548,427
5,399
Got disconnected from remote data host. Retrying in 5sec [2/20]
closed
### Describe the bug While trying to upload my image dataset of a CSV file type to huggingface by running the below code. The dataset consists of a little over 100k of image-caption pairs ### Steps to reproduce the bug ``` df = pd.read_csv('x.csv', encoding='utf-8-sig') features = Features({ 'link': Ima...
true
2023-01-01T13:00:11Z
2023-01-02T07:21:52Z
2023-01-02T07:21:52Z
alhuri
NONE
null
null
0
0
0
0
null
false
[]
https://github.com/huggingface/datasets/issues/5399
false
[]
1,514,425,231
5,398
Unpin pydantic
closed
Once `pydantic` fixes their issue in their 1.10.3 version, unpin it. See issue: - #5394 See temporary fix: - #5395
true
2022-12-30T10:37:31Z
2022-12-30T10:43:41Z
2022-12-30T10:43:41Z
albertvillanova
MEMBER
null
null
0
0
0
0
null
false
[]
https://github.com/huggingface/datasets/issues/5398
false
[]
1,514,412,246
5,397
Unpin pydantic test dependency
closed
Once pydantic-1.10.3 has been yanked, we can unpin it: https://pypi.org/project/pydantic/1.10.3/ See reply by pydantic team https://github.com/pydantic/pydantic/issues/4885#issuecomment-1367819807 ``` v1.10.3 has been yanked. ``` in response to spacy request: https://github.com/pydantic/pydantic/issues/4885#issu...
true
2022-12-30T10:22:09Z
2022-12-30T10:53:11Z
2022-12-30T10:43:40Z
albertvillanova
MEMBER
https://github.com/huggingface/datasets/pull/5397
2022-12-30T10:43:40Z
2
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/5397
true
[ "_The documentation is not available anymore as the PR was closed or merged._", "<details>\n<summary>Show benchmarks</summary>\n\nPyArrow==6.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 | rea...
1,514,002,934
5,396
Fix checksum verification
closed
Expected checksum was verified against checksum dict (not checksum).
true
2022-12-29T19:45:17Z
2023-02-13T11:11:22Z
2023-02-13T11:11:22Z
daskol
CONTRIBUTOR
https://github.com/huggingface/datasets/pull/5396
null
7
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/5396
true
[ "Hi ! If I'm not mistaken both `expected_checksums[url]` and `recorded_checksums[url]` are dictionaries with keys \"checksum\" and \"num_bytes\". So we need to check whether `expected_checksums[url] != recorded_checksums[url]` (or simply `expected_checksums[url][\"checksum\"] != recorded_checksums[url][\"checksum\"...
1,513,997,335
5,395
Temporarily pin pydantic test dependency
closed
Temporarily pin `pydantic` until a permanent solution is found. Fix #5394.
true
2022-12-29T19:34:19Z
2022-12-30T06:36:57Z
2022-12-29T21:00:26Z
albertvillanova
MEMBER
https://github.com/huggingface/datasets/pull/5395
2022-12-29T21:00:26Z
3
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/5395
true
[ "_The documentation is not available anymore as the PR was closed or merged._", "<details>\n<summary>Show benchmarks</summary>\n\nPyArrow==6.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 | rea...
1,513,976,229
5,394
CI error: TypeError: dataclass_transform() got an unexpected keyword argument 'field_specifiers'
closed
### Describe the bug While installing the dependencies, the CI raises a TypeError: ``` Traceback (most recent call last): File "/opt/hostedtoolcache/Python/3.7.15/x64/lib/python3.7/runpy.py", line 183, in _run_module_as_main mod_name, mod_spec, code = _get_module_details(mod_name, _Error) File "/opt/hoste...
true
2022-12-29T18:58:44Z
2022-12-30T10:40:51Z
2022-12-29T21:00:27Z
albertvillanova
MEMBER
null
null
2
0
0
0
null
false
[]
https://github.com/huggingface/datasets/issues/5394
false
[ "I still getting the same error :\r\n\r\n`python -m spacy download fr_core_news_lg\r\n`.\r\n`import spacy`", "@MFatnassi, this issue and the corresponding fix only affect our Continuous Integration testing environment.\r\n\r\nNote that `datasets` does not depend on `spacy`." ]
1,512,908,613
5,393
Finish deprecating the fs argument
closed
See #5385 for some discussion on this The `fs=` arg was depcrecated from `Dataset.save_to_disk` and `Dataset.load_from_disk` in `2.8.0` (to be removed in `3.0.0`). There are a few other places where the `fs=` arg was still used (functions/methods in `datasets.info` and `datasets.load`). This PR adds a similar beha...
true
2022-12-28T15:33:17Z
2023-01-18T12:42:33Z
2023-01-18T12:35:32Z
dconathan
CONTRIBUTOR
https://github.com/huggingface/datasets/pull/5393
2023-01-18T12:35:32Z
6
2
0
2
false
false
[]
https://github.com/huggingface/datasets/pull/5393
true
[ "_The documentation is not available anymore as the PR was closed or merged._", "> Thanks for the deprecation. Some minor suggested fixes below...\r\n> \r\n> Also note that the corresponding tests should be updated as well.\r\n\r\nThanks for the suggestions/typo fixes. I updated the failing test - passing locall...
1,512,712,529
5,392
Fix Colab notebook link
closed
Fix notebook link to open in Colab.
true
2022-12-28T11:44:53Z
2023-01-03T15:36:14Z
2023-01-03T15:27:31Z
albertvillanova
MEMBER
https://github.com/huggingface/datasets/pull/5392
2023-01-03T15:27:31Z
2
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/5392
true
[ "_The documentation is not available anymore as the PR was closed or merged._", "<details>\n<summary>Show benchmarks</summary>\n\nPyArrow==6.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 | rea...
1,510,350,400
5,391
Whisper Event - RuntimeError: The size of tensor a (504) must match the size of tensor b (448) at non-singleton dimension 1 100% 1000/1000 [2:52:21<00:00, 10.34s/it]
closed
Done in a VM with a GPU (Ubuntu) following the [Whisper Event - PYTHON](https://github.com/huggingface/community-events/tree/main/whisper-fine-tuning-event#python-script) instructions. Attempted using [RuntimeError: he size of tensor a (504) must match the size of tensor b (448) at non-singleton dimension 1 100% 1...
true
2022-12-25T15:17:14Z
2023-07-21T14:29:47Z
2023-07-21T14:29:47Z
catswithbats
NONE
null
null
2
0
0
0
null
false
[]
https://github.com/huggingface/datasets/issues/5391
false
[ "Hey @catswithbats! Super sorry for the late reply! This is happening because there is data with label length (504) that exceeds the model's max length (448). \r\n\r\nThere are two options here:\r\n1. Increase the model's `max_length` parameter: \r\n```python\r\nmodel.config.max_length = 512\r\n```\r\n2. Filter dat...
1,509,357,553
5,390
Error when pushing to the CI hub
closed
### Describe the bug Note that it's a special case where the Hub URL is "https://hub-ci.huggingface.co", which does not appear if we do the same on the Hub (https://huggingface.co). The call to `dataset.push_to_hub(` fails: ``` Pushing dataset shards to the dataset hub: 100%|██████████████████████████████████...
true
2022-12-23T13:36:37Z
2022-12-23T20:29:02Z
2022-12-23T20:29:02Z
severo
COLLABORATOR
null
null
5
0
0
0
null
false
[]
https://github.com/huggingface/datasets/issues/5390
false
[ "Hmmm, git bisect tells me that the behavior is the same since https://github.com/huggingface/datasets/commit/67e65c90e9490810b89ee140da11fdd13c356c9c (3 Oct), i.e. https://github.com/huggingface/datasets/pull/4926", "Maybe related to the discussions in https://github.com/huggingface/datasets/pull/5196", "Maybe...
1,509,348,626
5,389
Fix link in `load_dataset` docstring
closed
Fix https://github.com/huggingface/datasets/issues/5387, fix https://github.com/huggingface/datasets/issues/4566
true
2022-12-23T13:26:31Z
2023-01-25T19:00:43Z
2023-01-24T16:33:38Z
mariosasko
COLLABORATOR
https://github.com/huggingface/datasets/pull/5389
2023-01-24T16:33:38Z
6
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/5389
true
[ "_The documentation is not available anymore as the PR was closed or merged._", "<details>\n<summary>Show benchmarks</summary>\n\nPyArrow==6.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 | rea...
1,509,042,348
5,388
Getting Value Error while loading a dataset..
closed
### Describe the bug I am trying to load a dataset using Hugging Face Datasets load_dataset method. I am getting the value error as show below. Can someone help with this? I am using Windows laptop and Google Colab notebook. ``` WARNING:datasets.builder:Using custom data configuration default-a1d9e8eaedd958cd ---...
true
2022-12-23T08:16:43Z
2022-12-29T08:36:33Z
2022-12-27T17:59:09Z
valmetisrinivas
NONE
null
null
4
0
0
0
null
false
[]
https://github.com/huggingface/datasets/issues/5388
false
[ "Hi! I can't reproduce this error locally (Mac) or in Colab. What version of `datasets` are you using?", "Hi [mariosasko](https://github.com/mariosasko), the datasets version is '2.8.0'.", "@valmetisrinivas you get that error because you imported `datasets` (and thus `fsspec`) before installing `zstandard`.\r\n...
1,508,740,177
5,387
Missing documentation page : improve-performance
closed
### Describe the bug Trying to access https://huggingface.co/docs/datasets/v2.8.0/en/package_reference/cache#improve-performance, the page is missing. The link is in here : https://huggingface.co/docs/datasets/v2.8.0/en/package_reference/loading_methods#datasets.load_dataset.keep_in_memory ### Steps to reproduce t...
true
2022-12-23T01:12:57Z
2023-01-24T16:33:40Z
2023-01-24T16:33:40Z
astariul
NONE
null
null
1
0
0
0
null
false
[]
https://github.com/huggingface/datasets/issues/5387
false
[ "Hi! Our documentation builder does not support links to sections, hence the bug. This is the link it should point to https://huggingface.co/docs/datasets/v2.8.0/en/cache#improve-performance." ]
1,508,592,918
5,386
`max_shard_size` in `datasets.push_to_hub()` breaks with large files
closed
### Describe the bug `max_shard_size` parameter for `datasets.push_to_hub()` works unreliably with large files, generating shard files that are way past the specified limit. In my private dataset, which contains unprocessed images of all sizes (up to `~100MB` per file), I've encountered cases where `max_shard_siz...
true
2022-12-22T21:50:58Z
2022-12-26T23:45:51Z
2022-12-26T23:45:51Z
salieri
NONE
null
null
2
0
0
0
null
false
[]
https://github.com/huggingface/datasets/issues/5386
false
[ "Hi! \r\n\r\nThis behavior stems from the fact that we don't always embed image bytes in the underlying arrow table, which can lead to bad size estimation (we use the first 1000 table rows to [estimate](https://github.com/huggingface/datasets/blob/9a7272cd4222383a5b932b0083a4cc173fda44e8/src/datasets/arrow_dataset....
1,508,535,532
5,385
Is `fs=` deprecated in `load_from_disk()` as well?
closed
### Describe the bug The `fs=` argument was deprecated from `Dataset.save_to_disk` and `Dataset.load_from_disk` in favor of automagically figuring it out via fsspec: https://github.com/huggingface/datasets/blob/9a7272cd4222383a5b932b0083a4cc173fda44e8/src/datasets/arrow_dataset.py#L1339-L1340 Is there a reason the...
true
2022-12-22T21:00:45Z
2023-01-23T10:50:05Z
2023-01-23T10:50:04Z
dconathan
CONTRIBUTOR
null
null
3
0
0
0
null
false
[]
https://github.com/huggingface/datasets/issues/5385
false
[ "Hi! Yes, we should deprecate the `fs` param here. Would you be interested in submitting a PR? ", "> Hi! Yes, we should deprecate the `fs` param here. Would you be interested in submitting a PR?\r\n\r\nYeah I can do that sometime next week. Should the storage_options be a new arg here? I’ll look around for anywh...
1,508,152,598
5,384
Handle 0-dim tensors in `cast_to_python_objects`
closed
Fix #5229
true
2022-12-22T16:15:30Z
2023-01-13T16:10:15Z
2023-01-13T16:00:52Z
mariosasko
COLLABORATOR
https://github.com/huggingface/datasets/pull/5384
2023-01-13T16:00:52Z
2
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/5384
true
[ "_The documentation is not available anymore as the PR was closed or merged._", "<details>\n<summary>Show benchmarks</summary>\n\nPyArrow==6.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 | rea...
1,507,293,968
5,383
IterableDataset missing column_names, differs from Dataset interface
closed
### Describe the bug The documentation on [Stream](https://huggingface.co/docs/datasets/v1.18.2/stream.html) seems to imply that IterableDataset behaves just like a Dataset. However, examples like ``` dataset.map(augment_data, batched=True, remove_columns=dataset.column_names, ...) ``` will not work because `.colu...
true
2022-12-22T05:27:02Z
2023-03-13T19:03:33Z
2023-03-13T19:03:33Z
iceboundflame
NONE
null
null
6
0
0
0
null
false
[ "enhancement", "good first issue" ]
https://github.com/huggingface/datasets/issues/5383
false
[ "Another example is that `IterableDataset.map` does not have `fn_kwargs`, among other arguments. It makes it harder to convert code from Dataset to IterableDataset.", "Hi! `fn_kwargs` was added to `IterableDataset.map` in `datasets 2.5.0`, so please update your installation (`pip install -U datasets`) to use it.\...
1,504,788,691
5,382
Raise from disconnect error in xopen
closed
this way we can know the cause of the disconnect related to https://github.com/huggingface/datasets/issues/5374
true
2022-12-20T15:52:44Z
2023-01-26T09:51:13Z
2023-01-26T09:42:45Z
lhoestq
MEMBER
https://github.com/huggingface/datasets/pull/5382
2023-01-26T09:42:45Z
3
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/5382
true
[ "_The documentation is not available anymore as the PR was closed or merged._", "Could you review this small PR @albertvillanova ? :)", "<details>\n<summary>Show benchmarks</summary>\n\nPyArrow==6.0.0\n\n<details>\n<summary>Show updated benchmarks!</summary>\n\n### Benchmark: benchmark_array_xd.json\n\n| metric...
1,504,498,387
5,381
Wrong URL for the_pile dataset
closed
### Describe the bug When trying to load `the_pile` dataset from the library, I get a `FileNotFound` error. ### Steps to reproduce the bug Steps to reproduce: Run: ``` from datasets import load_dataset dataset = load_dataset("the_pile") ``` I get the output: "name": "FileNotFoundError", "message...
true
2022-12-20T12:40:14Z
2023-02-15T16:24:57Z
2023-02-15T16:24:57Z
LeoGrin
NONE
null
null
1
0
0
0
null
false
[]
https://github.com/huggingface/datasets/issues/5381
false
[ "Hi! This error can happen if there is a local file/folder with the same name as the requested dataset. And to avoid it, rename the local file/folder.\r\n\r\nSoon, it will be possible to explicitly request a Hub dataset as follows:https://github.com/huggingface/datasets/issues/5228#issuecomment-1313494020" ]
1,504,404,043
5,380
Improve dataset `.skip()` speed in streaming mode
open
### Feature request Add extra information to the `dataset_infos.json` file to include the number of samples/examples in each shard, for example in a new field `num_examples` alongside `num_bytes`. The `.skip()` function could use this information to ignore the download of a shard when in streaming mode, which AFAICT...
true
2022-12-20T11:25:23Z
2023-03-08T10:47:12Z
null
versae
CONTRIBUTOR
null
null
10
7
7
0
null
false
[ "enhancement", "good second issue" ]
https://github.com/huggingface/datasets/issues/5380
false
[ "Hi! I agree `skip` can be inefficient to use in the current state.\r\n\r\nTo make it fast, we could use \"statistics\" stored in Parquet metadata and read only the chunks needed to form a dataset. \r\n\r\nAnd thanks to the \"datasets-server\" project, which aims to store the Parquet versions of the Hub datasets (o...
1,504,010,639
5,379
feat: depth estimation dataset guide.
closed
This PR adds a guide for prepping datasets for depth estimation. PR to add documentation images is up here: https://huggingface.co/datasets/huggingface/documentation-images/discussions/22
true
2022-12-20T05:32:11Z
2023-01-13T12:30:31Z
2023-01-13T12:23:34Z
sayakpaul
MEMBER
https://github.com/huggingface/datasets/pull/5379
2023-01-13T12:23:34Z
8
1
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/5379
true
[ "_The documentation is not available anymore as the PR was closed or merged._", "Thanks for the changes, looks good to me!", "@stevhliu I have pushed some quality improvements both in terms of code and content. Would you be able to re-review? ", "<details>\n<summary>Show benchmarks</summary>\n\nPyArrow==6.0.0...
1,503,887,508
5,378
The dataset "the_pile", subset "enron_emails" , load_dataset() failure
closed
### Describe the bug When run "datasets.load_dataset("the_pile","enron_emails")" failure ![image](https://user-images.githubusercontent.com/52023469/208565302-cfab7b89-0b97-4fa6-a5ba-c11b0b629b1a.png) ### Steps to reproduce the bug Run below code in python cli: >>> import datasets >>> datasets.load_dataset(...
true
2022-12-20T02:19:13Z
2022-12-20T07:52:54Z
2022-12-20T07:52:54Z
shaoyuta
NONE
null
null
1
0
0
0
null
false
[]
https://github.com/huggingface/datasets/issues/5378
false
[ "Thanks for reporting @shaoyuta. We are investigating it.\r\n\r\nWe are transferring the issue to \"the_pile\" Community tab on the Hub: https://huggingface.co/datasets/the_pile/discussions/4" ]
1,503,477,833
5,377
Add a parallel implementation of to_tf_dataset()
closed
Hey all! Here's a first draft of the PR to add a multiprocessing implementation for `to_tf_dataset()`. It worked in some quick testing for me, but obviously I need to do some much more rigorous testing/benchmarking, and add some proper library tests. The core idea is that we do everything using `multiprocessing` and...
true
2022-12-19T19:40:27Z
2023-01-25T16:28:44Z
2023-01-25T16:21:40Z
Rocketknight1
MEMBER
https://github.com/huggingface/datasets/pull/5377
2023-01-25T16:21:40Z
32
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/5377
true
[ "_The documentation is not available anymore as the PR was closed or merged._", "Failing because the test server uses Py3.7 but the `SharedMemory` features require Py3.8! I forgot we still support 3.7 for another couple of months. I'm not sure exactly how to proceed, whether I should leave this PR until then, or ...
1,502,730,559
5,376
set dev version
closed
true
2022-12-19T10:56:56Z
2022-12-19T11:01:55Z
2022-12-19T10:57:16Z
lhoestq
MEMBER
https://github.com/huggingface/datasets/pull/5376
2022-12-19T10:57:16Z
1
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/5376
true
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_5376). All of your documentation changes will be reflected on that endpoint." ]
1,502,720,404
5,375
Release: 2.8.0
closed
true
2022-12-19T10:48:26Z
2022-12-19T10:55:43Z
2022-12-19T10:53:15Z
lhoestq
MEMBER
https://github.com/huggingface/datasets/pull/5375
2022-12-19T10:53:15Z
1
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/5375
true
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,501,872,945
5,374
Using too many threads results in: Got disconnected from remote data host. Retrying in 5sec
closed
### Describe the bug `streaming_download_manager` seems to disconnect if too many runs access the same underlying dataset 🧐 The code works fine for me if I have ~100 runs in parallel, but disconnects once scaling to 200. Possibly related: - https://github.com/huggingface/datasets/pull/3100 - https://github.com/...
true
2022-12-18T11:38:58Z
2023-07-24T15:23:07Z
2023-07-24T15:23:07Z
Muennighoff
CONTRIBUTOR
null
null
7
0
0
0
null
false
[]
https://github.com/huggingface/datasets/issues/5374
false
[ "The data files are hosted on HF at https://huggingface.co/datasets/allenai/c4/tree/main\r\n\r\nYou have 200 runs streaming the same files in parallel. So this is probably a Hub limitation. Maybe rate limiting ? cc @julien-c \r\n\r\nMaybe you can also try to reduce the number of HTTP requests by increasing the bloc...
1,501,484,197
5,373
Simplify skipping
closed
Was hoping to find a way to speed up the skipping as I'm running into bottlenecks skipping 100M examples on C4 (it takes 12 hours to skip), but didn't find anything better than this small change :( Maybe there's a way to directly skip whole shards to speed it up? 🧐
true
2022-12-17T17:23:52Z
2022-12-18T21:43:31Z
2022-12-18T21:40:21Z
Muennighoff
CONTRIBUTOR
https://github.com/huggingface/datasets/pull/5373
2022-12-18T21:40:21Z
1
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/5373
true
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,501,377,802
5,372
Fix streaming pandas.read_excel
closed
This PR fixes `xpandas_read_excel`: - Support passing a path string, besides a file-like object - Support passing `use_auth_token` - First assumes the host server supports HTTP range requests; only if a ValueError is thrown (Cannot seek streaming HTTP file), then it preserves previous behavior (see [#3355](https://g...
true
2022-12-17T12:58:52Z
2023-01-06T11:50:58Z
2023-01-06T11:43:37Z
albertvillanova
MEMBER
https://github.com/huggingface/datasets/pull/5372
2023-01-06T11:43:37Z
2
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/5372
true
[ "_The documentation is not available anymore as the PR was closed or merged._", "<details>\n<summary>Show benchmarks</summary>\n\nPyArrow==6.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 | rea...
1,501,369,036
5,371
Add a robustness benchmark dataset for vision
open
### Name ImageNet-C ### Paper Benchmarking Neural Network Robustness to Common Corruptions and Perturbations ### Data https://github.com/hendrycks/robustness ### Motivation It's a known fact that vision models are brittle when they meet with slightly corrupted and perturbed data. This is also corre...
true
2022-12-17T12:35:13Z
2022-12-20T06:21:41Z
null
sayakpaul
MEMBER
null
null
1
2
0
0
null
false
[ "dataset request" ]
https://github.com/huggingface/datasets/issues/5371
false
[ "Ccing @nazneenrajani @lvwerra @osanseviero " ]
1,500,622,276
5,369
Distributed support
closed
To split your dataset across your training nodes, you can use the new [`datasets.distributed.split_dataset_by_node`]: ```python import os from datasets.distributed import split_dataset_by_node ds = split_dataset_by_node(ds, rank=int(os.environ["RANK"]), world_size=int(os.environ["WORLD_SIZE"])) ``` This wor...
true
2022-12-16T17:43:47Z
2023-07-25T12:00:31Z
2023-01-16T13:33:32Z
lhoestq
MEMBER
https://github.com/huggingface/datasets/pull/5369
2023-01-16T13:33:32Z
11
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/5369
true
[ "_The documentation is not available anymore as the PR was closed or merged._", "Alright all the tests are passing - this is ready for review", "<details>\n<summary>Show benchmarks</summary>\n\nPyArrow==6.0.0\n\n<details>\n<summary>Show updated benchmarks!</summary>\n\n### Benchmark: benchmark_array_xd.json\n\n...
1,500,322,973
5,368
Align remove columns behavior and input dict mutation in `map` with previous behavior
closed
Align the `remove_columns` behavior and input dict mutation in `map` with the behavior before https://github.com/huggingface/datasets/pull/5252.
true
2022-12-16T14:28:47Z
2022-12-16T16:28:08Z
2022-12-16T16:25:12Z
mariosasko
COLLABORATOR
https://github.com/huggingface/datasets/pull/5368
2022-12-16T16:25:12Z
1
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/5368
true
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,499,174,749
5,367
Fix remove columns from lazy dict
closed
This was introduced in https://github.com/huggingface/datasets/pull/5252 and causing the transformers CI to break: https://app.circleci.com/pipelines/github/huggingface/transformers/53886/workflows/522faf2e-a053-454c-94f8-a617fde33393/jobs/648597 Basically this code should return a dataset with only one column: `...
true
2022-12-15T22:04:12Z
2022-12-15T22:27:53Z
2022-12-15T22:24:50Z
lhoestq
MEMBER
https://github.com/huggingface/datasets/pull/5367
2022-12-15T22:24:50Z
1
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/5367
true
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,498,530,851
5,366
ExamplesIterable fixes
closed
fix typing and ExamplesIterable.shard_data_sources
true
2022-12-15T14:23:05Z
2022-12-15T14:44:47Z
2022-12-15T14:41:45Z
lhoestq
MEMBER
https://github.com/huggingface/datasets/pull/5366
2022-12-15T14:41:45Z
1
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/5366
true
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,498,422,466
5,365
fix: image array should support other formats than uint8
closed
Currently images that are provided as ndarrays, but not in `uint8` format are going to loose data. Namely, for example in a depth image where the data is in float32 format, the type-casting to uint8 will basically make the whole image blank. `PIL.Image.fromarray` [does support mode `F`](https://pillow.readthedocs.io/e...
true
2022-12-15T13:17:50Z
2023-01-26T18:46:45Z
2023-01-26T18:39:36Z
vigsterkr
CONTRIBUTOR
https://github.com/huggingface/datasets/pull/5365
2023-01-26T18:39:36Z
4
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/5365
true
[ "_The documentation is not available anymore as the PR was closed or merged._", "Hi, thanks for working on this! \r\n\r\nI agree that the current type-casting (always cast to `np.uint8` as Tensorflow Datasets does) is a bit too harsh. However, not all dtypes are supported in `Image.fromarray` (e.g. np.int64), so ...
1,498,360,628
5,364
Support for writing arrow files directly with BeamWriter
closed
Make it possible to write Arrow files directly with `BeamWriter` rather than converting from Parquet to Arrow, which is sub-optimal, especially for big datasets for which Beam is primarily used.
true
2022-12-15T12:38:05Z
2024-01-11T14:52:33Z
2024-01-11T14:45:15Z
mariosasko
COLLABORATOR
https://github.com/huggingface/datasets/pull/5364
null
6
0
0
0
true
false
[]
https://github.com/huggingface/datasets/pull/5364
true
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_5364). All of your documentation changes will be reflected on that endpoint.", "Deleting `BeamPipeline` and `upload_local_to_remote` would break the existing Beam scripts, so I reverted this change.\r\n\r\nFrom what I understan...
1,498,171,317
5,363
Dataset.from_generator() crashes on simple example
closed
true
2022-12-15T10:21:28Z
2022-12-15T11:51:33Z
2022-12-15T11:51:33Z
villmow
NONE
null
null
0
0
0
0
null
false
[]
https://github.com/huggingface/datasets/issues/5363
false
[]