id
int64
953M
3.35B
number
int64
2.72k
7.75k
title
stringlengths
1
290
state
stringclasses
2 values
created_at
timestamp[s]date
2021-07-26 12:21:17
2025-08-23 00:18:43
updated_at
timestamp[s]date
2021-07-26 13:27:59
2025-08-23 12:34:39
closed_at
timestamp[s]date
2021-07-26 13:27:59
2025-08-20 16:35:55
html_url
stringlengths
49
51
pull_request
dict
user_login
stringlengths
3
26
is_pull_request
bool
2 classes
comments
listlengths
0
30
1,596,900,532
5,568
dataset.to_iterable_dataset() loses useful info like dataset features
closed
2023-02-23T13:45:33
2023-02-24T13:22:36
2023-02-24T13:22:36
https://github.com/huggingface/datasets/issues/5568
null
bruno-hays
false
[ "Hi ! Oh good catch. I think the features should be passed to `IterableDataset.from_generator()` in `to_iterable_dataset()` indeed.\r\n\r\nSetting this as a good first issue if someone would like to contribute, otherwise we can take care of it :)", "#self-assign", "seems like the feature parameter is missing fr...
1,595,916,674
5,566
Directly reading parquet files in a s3 bucket from the load_dataset method
open
2023-02-22T22:13:40
2023-02-23T11:03:29
null
https://github.com/huggingface/datasets/issues/5566
null
shamanez
false
[ "Hi ! I think is in the scope of this other issue: to https://github.com/huggingface/datasets/issues/5281 " ]
1,595,281,752
5,565
Add writer_batch_size for ArrowBasedBuilder
closed
2023-02-22T15:09:30
2023-03-10T13:53:03
2023-03-10T13:45:43
https://github.com/huggingface/datasets/pull/5565
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/5565", "html_url": "https://github.com/huggingface/datasets/pull/5565", "diff_url": "https://github.com/huggingface/datasets/pull/5565.diff", "patch_url": "https://github.com/huggingface/datasets/pull/5565.patch", "merged_at": "2023-03-10T13:45:43" }
lhoestq
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,595,064,698
5,564
Set dev version
closed
2023-02-22T13:00:09
2023-02-22T13:09:26
2023-02-22T13:00:25
https://github.com/huggingface/datasets/pull/5564
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/5564", "html_url": "https://github.com/huggingface/datasets/pull/5564", "diff_url": "https://github.com/huggingface/datasets/pull/5564.diff", "patch_url": "https://github.com/huggingface/datasets/pull/5564.patch", "merged_at": "2023-02-22T13:00:25" }
lhoestq
true
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_5564). All of your documentation changes will be reflected on that endpoint.", "<details>\n<summary>Show benchmarks</summary>\n\nPyArrow==6.0.0\n\n<details>\n<summary>Show updated benchmarks!</summary>\n\n### Benchmark: benchma...
1,595,049,025
5,563
Release: 2.10.0
closed
2023-02-22T12:48:52
2023-02-22T13:05:55
2023-02-22T12:56:48
https://github.com/huggingface/datasets/pull/5563
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/5563", "html_url": "https://github.com/huggingface/datasets/pull/5563", "diff_url": "https://github.com/huggingface/datasets/pull/5563.diff", "patch_url": "https://github.com/huggingface/datasets/pull/5563.patch", "merged_at": "2023-02-22T12:56:48" }
lhoestq
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,594,625,539
5,562
Update csv.py
closed
2023-02-22T07:56:10
2023-02-23T11:07:49
2023-02-23T11:00:58
https://github.com/huggingface/datasets/pull/5562
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/5562", "html_url": "https://github.com/huggingface/datasets/pull/5562", "diff_url": "https://github.com/huggingface/datasets/pull/5562.diff", "patch_url": "https://github.com/huggingface/datasets/pull/5562.patch", "merged_at": "2023-02-23T11:00:58" }
xdoubleu
true
[ "_The documentation is not available anymore as the PR was closed or merged._", "Removed it :)", "Changed it :)", "<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_format...
1,593,862,388
5,561
Add pre-commit config yaml file to enable automatic code formatting
closed
2023-02-21T17:35:07
2023-02-28T15:37:22
2023-02-23T18:23:29
https://github.com/huggingface/datasets/pull/5561
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/5561", "html_url": "https://github.com/huggingface/datasets/pull/5561", "diff_url": "https://github.com/huggingface/datasets/pull/5561.diff", "patch_url": "https://github.com/huggingface/datasets/pull/5561.patch", "merged_at": "2023-02-23T18:23:29" }
polinaeterna
true
[ "_The documentation is not available anymore as the PR was closed or merged._", "Better yet have someone enable pre-commit CI https://pre-commit.ci/ and it will apply the pre-commit fixes to the PR automatically as an additional commit.", "@Skylion007 hi! I agree with @nateraw here, I'd better not force to use ...
1,593,809,978
5,560
Ensure last tqdm update in `map`
closed
2023-02-21T16:56:17
2023-02-21T18:26:23
2023-02-21T18:19:09
https://github.com/huggingface/datasets/pull/5560
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/5560", "html_url": "https://github.com/huggingface/datasets/pull/5560", "diff_url": "https://github.com/huggingface/datasets/pull/5560.diff", "patch_url": "https://github.com/huggingface/datasets/pull/5560.patch", "merged_at": "2023-02-21T18:19:09" }
mariosasko
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,593,676,489
5,559
Fix map suffix_template
closed
2023-02-21T15:26:26
2023-02-21T17:21:37
2023-02-21T17:14:29
https://github.com/huggingface/datasets/pull/5559
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/5559", "html_url": "https://github.com/huggingface/datasets/pull/5559", "diff_url": "https://github.com/huggingface/datasets/pull/5559.diff", "patch_url": "https://github.com/huggingface/datasets/pull/5559.patch", "merged_at": "2023-02-21T17:14:29" }
lhoestq
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,593,655,815
5,558
Remove instructions for `ffmpeg` system package installation on Colab
closed
2023-02-21T15:13:36
2023-03-01T13:46:04
2023-02-23T13:50:27
https://github.com/huggingface/datasets/pull/5558
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/5558", "html_url": "https://github.com/huggingface/datasets/pull/5558", "diff_url": "https://github.com/huggingface/datasets/pull/5558.diff", "patch_url": "https://github.com/huggingface/datasets/pull/5558.patch", "merged_at": "2023-02-23T13:50:27" }
polinaeterna
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,593,545,324
5,557
Add filter desc
closed
2023-02-21T14:04:42
2023-02-21T14:19:54
2023-02-21T14:12:39
https://github.com/huggingface/datasets/pull/5557
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/5557", "html_url": "https://github.com/huggingface/datasets/pull/5557", "diff_url": "https://github.com/huggingface/datasets/pull/5557.diff", "patch_url": "https://github.com/huggingface/datasets/pull/5557.patch", "merged_at": "2023-02-21T14:12:39" }
lhoestq
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,593,246,936
5,556
Use default audio resampling type
closed
2023-02-21T10:45:50
2023-02-21T12:49:50
2023-02-21T12:42:52
https://github.com/huggingface/datasets/pull/5556
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/5556", "html_url": "https://github.com/huggingface/datasets/pull/5556", "diff_url": "https://github.com/huggingface/datasets/pull/5556.diff", "patch_url": "https://github.com/huggingface/datasets/pull/5556.patch", "merged_at": "2023-02-21T12:42:52" }
lhoestq
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,592,469,938
5,555
`.shuffle` throwing error `ValueError: Protocol not known: parent`
open
2023-02-20T21:33:45
2023-02-27T09:23:34
null
https://github.com/huggingface/datasets/issues/5555
null
prabhakar267
false
[ "Hi ! The indices mapping is written in the same cachedirectory as your dataset.\r\n\r\nCan you run this to show your current cache directory ?\r\n```python\r\nprint(train_dataset.cache_files)\r\n```", "```\r\n[{'filename': '.../train/dataset.arrow'}, {'filename': '.../train/dataset.arrow'}]\r\n```\r\n\r\nThese a...
1,592,285,062
5,554
Add resampy dep
closed
2023-02-20T18:15:43
2023-09-24T10:07:29
2023-02-21T12:43:38
https://github.com/huggingface/datasets/pull/5554
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/5554", "html_url": "https://github.com/huggingface/datasets/pull/5554", "diff_url": "https://github.com/huggingface/datasets/pull/5554.diff", "patch_url": "https://github.com/huggingface/datasets/pull/5554.patch", "merged_at": null }
lhoestq
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,592,236,998
5,553
improved message error row formatting
closed
2023-02-20T17:29:14
2023-02-21T13:08:25
2023-02-21T12:58:12
https://github.com/huggingface/datasets/pull/5553
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/5553", "html_url": "https://github.com/huggingface/datasets/pull/5553", "diff_url": "https://github.com/huggingface/datasets/pull/5553.diff", "patch_url": "https://github.com/huggingface/datasets/pull/5553.patch", "merged_at": "2023-02-21T12:58:12" }
Plutone11011
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,592,186,703
5,552
Make tiktoken tokenizers hashable
closed
2023-02-20T16:50:09
2023-02-21T13:20:42
2023-02-21T13:13:05
https://github.com/huggingface/datasets/pull/5552
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/5552", "html_url": "https://github.com/huggingface/datasets/pull/5552", "diff_url": "https://github.com/huggingface/datasets/pull/5552.diff", "patch_url": "https://github.com/huggingface/datasets/pull/5552.patch", "merged_at": "2023-02-21T13:13:05" }
mariosasko
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,592,140,836
5,551
Suggest scikit-learn instead of sklearn
closed
2023-02-20T16:16:57
2023-02-21T13:27:57
2023-02-21T13:21:07
https://github.com/huggingface/datasets/pull/5551
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/5551", "html_url": "https://github.com/huggingface/datasets/pull/5551", "diff_url": "https://github.com/huggingface/datasets/pull/5551.diff", "patch_url": "https://github.com/huggingface/datasets/pull/5551.patch", "merged_at": "2023-02-21T13:21:07" }
osbm
true
[ "good catch!", "_The documentation is not available anymore as the PR was closed or merged._", "The test fail is unrelated to this PR and fixed on `main` - merging :)", "<details>\n<summary>Show benchmarks</summary>\n\nPyArrow==6.0.0\n\n<details>\n<summary>Show updated benchmarks!</summary>\n\n### Benchmark: ...
1,591,409,475
5,550
Resolve four broken refs in the docs
closed
2023-02-20T08:52:11
2023-02-20T15:16:13
2023-02-20T15:09:13
https://github.com/huggingface/datasets/pull/5550
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/5550", "html_url": "https://github.com/huggingface/datasets/pull/5550", "diff_url": "https://github.com/huggingface/datasets/pull/5550.diff", "patch_url": "https://github.com/huggingface/datasets/pull/5550.patch", "merged_at": "2023-02-20T15:09:13" }
tomaarsen
true
[ "_The documentation is not available anymore as the PR was closed or merged._", "See the resolved changes [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_5550/en/package_reference/main_classes#datasets.Dataset.class_encode_column), [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_5550/en/pa...
1,590,836,848
5,549
Apply ruff flake8-comprehension checks
closed
2023-02-19T20:09:28
2023-02-23T14:06:39
2023-02-23T13:59:39
https://github.com/huggingface/datasets/pull/5549
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/5549", "html_url": "https://github.com/huggingface/datasets/pull/5549", "diff_url": "https://github.com/huggingface/datasets/pull/5549.diff", "patch_url": "https://github.com/huggingface/datasets/pull/5549.patch", "merged_at": "2023-02-23T13:59:39" }
Skylion007
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,590,835,479
5,548
Apply flake8-comprehensions to codebase
closed
2023-02-19T20:05:38
2023-02-23T13:59:41
2023-02-23T13:59:41
https://github.com/huggingface/datasets/issues/5548
null
Skylion007
false
[]
1,590,468,200
5,547
Add JAX device selection when formatting
closed
2023-02-18T20:57:40
2023-02-21T16:10:55
2023-02-21T16:04:03
https://github.com/huggingface/datasets/pull/5547
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/5547", "html_url": "https://github.com/huggingface/datasets/pull/5547", "diff_url": "https://github.com/huggingface/datasets/pull/5547.diff", "patch_url": "https://github.com/huggingface/datasets/pull/5547.patch", "merged_at": "2023-02-21T16:04:03" }
alvarobartt
true
[ "The code below was throwing a warning:\r\n\r\n```python\r\nclass JaxFormatter(Formatter[Mapping, \"jax.Array\", Mapping]):\r\n def __init__(self, features=None, device=None, **jnp_array_kwargs):\r\n super().__init__(features=features)\r\n import jax\r\n from jaxlib.xla_extension import Devi...
1,590,346,349
5,546
Downloaded datasets do not cache at $HF_HOME
closed
2023-02-18T13:30:35
2023-07-24T14:22:43
2023-07-24T14:22:43
https://github.com/huggingface/datasets/issues/5546
null
ErfanMoosaviMonazzah
false
[ "Hi ! Can you make sure you set `HF_HOME` before importing `datasets` ?\r\n\r\nThen you can print\r\n```python\r\nprint(datasets.config.HF_CACHE_HOME)\r\nprint(datasets.config.HF_DATASETS_CACHE)\r\n```" ]
1,590,315,972
5,545
Added return methods for URL-references to the pushed dataset
open
2023-02-18T11:26:25
2023-12-18T16:57:56
null
https://github.com/huggingface/datasets/pull/5545
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/5545", "html_url": "https://github.com/huggingface/datasets/pull/5545", "diff_url": "https://github.com/huggingface/datasets/pull/5545.diff", "patch_url": "https://github.com/huggingface/datasets/pull/5545.patch", "merged_at": null }
davidberenstein1957
true
[ "Hi ! Maybe we'd need to align with `transformers` and other libraries that implement `push_to_hub` to agree on what it should return.\r\n\r\ne.g. in `transformers` the typing says it returns a string, but in practice it returns a `CommitInfo`.\r\n\r\nTherefore I'd not add an output to `push_to_hub` here unless we ...
1,588,951,379
5,543
the pile datasets url seems to change back
closed
2023-02-17T08:40:11
2023-02-21T06:37:00
2023-02-20T08:41:33
https://github.com/huggingface/datasets/issues/5543
null
wjfwzzc
false
[ "Thanks for reporting, @wjfwzzc.\r\n\r\nI am transferring this issue to the corresponding dataset on the Hub: https://huggingface.co/datasets/bookcorpusopen/discussions/1", "Thank you. All fixes are done:\r\n- [x] https://huggingface.co/datasets/bookcorpusopen/discussions/2\r\n- [x] https://huggingface.co/dataset...
1,588,633,724
5,542
Avoid saving sparse ChunkedArrays in pyarrow tables
closed
2023-02-17T01:52:38
2023-02-17T19:20:49
2023-02-17T11:12:32
https://github.com/huggingface/datasets/pull/5542
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/5542", "html_url": "https://github.com/huggingface/datasets/pull/5542", "diff_url": "https://github.com/huggingface/datasets/pull/5542.diff", "patch_url": "https://github.com/huggingface/datasets/pull/5542.patch", "merged_at": "2023-02-17T11:12:32" }
marioga
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,588,633,555
5,541
Flattening indices in selected datasets is extremely inefficient
closed
2023-02-17T01:52:24
2023-02-22T13:15:20
2023-02-17T11:12:33
https://github.com/huggingface/datasets/issues/5541
null
marioga
false
[ "Running the script above on the branch https://github.com/huggingface/datasets/pull/5542 results in the expected behaviour:\r\n```\r\nNum chunks for original ds: 1\r\nOriginal ds save/load\r\nsave_to_disk -- RAM memory used: 0.671875 MB -- Total time: 0.255265 s\r\nload_from_disk -- RAM memory used: 42.796875 MB -...
1,588,438,344
5,540
Tutorial for creating a dataset
closed
2023-02-16T22:09:35
2023-02-17T18:50:46
2023-02-17T18:41:28
https://github.com/huggingface/datasets/pull/5540
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/5540", "html_url": "https://github.com/huggingface/datasets/pull/5540", "diff_url": "https://github.com/huggingface/datasets/pull/5540.diff", "patch_url": "https://github.com/huggingface/datasets/pull/5540.patch", "merged_at": "2023-02-17T18:41:28" }
stevhliu
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,587,970,083
5,539
IndexError: invalid index of a 0-dim tensor. Use `tensor.item()` in Python or `tensor.item<T>()` in C++ to convert a 0-dim tensor to a number
closed
2023-02-16T16:08:51
2023-02-22T10:30:30
2023-02-21T13:03:57
https://github.com/huggingface/datasets/issues/5539
null
aalbersk
false
[ "Hi! The `set_transform` does not apply a custom formatting transform on a single example but the entire batch, so the fixed version of your transform would look as follows:\r\n```python\r\nfrom datasets import load_dataset\r\nimport torch\r\n\r\ndataset = load_dataset(\"lambdalabs/pokemon-blip-captions\", split='t...
1,587,732,596
5,538
load_dataset in seaborn is not working for me. getting this error.
closed
2023-02-16T14:01:58
2023-02-16T14:44:36
2023-02-16T14:44:36
https://github.com/huggingface/datasets/issues/5538
null
reemaranibarik
false
[ "Hi! `seaborn`'s `load_dataset` pulls datasets from [here](https://github.com/mwaskom/seaborn-data) and not from our Hub, so this issue is not related to our library in any way and should be reported in their repo instead." ]
1,587,567,464
5,537
Increase speed of data files resolution
closed
2023-02-16T12:11:45
2023-12-15T13:12:31
2023-12-15T13:12:31
https://github.com/huggingface/datasets/issues/5537
null
lhoestq
false
[ "#self-assign", "You were right, if `self.dir_cache` is not None in glob, it is exactly the same as what is returned by find, at least for all the tests we have, and some extended evaluation I did across a random sample of about 1000 datasets. \r\n\r\nThanks for the nice hints, and let me know if this is not exac...
1,586,930,643
5,536
Failure to hash function when using .map()
closed
2023-02-16T03:12:07
2023-09-08T21:06:01
2023-02-16T14:56:41
https://github.com/huggingface/datasets/issues/5536
null
venzen
false
[ "Hi ! `enc` is not hashable:\r\n```python\r\nimport tiktoken\r\nfrom datasets.fingerprint import Hasher\r\n\r\nenc = tiktoken.get_encoding(\"gpt2\")\r\nHasher.hash(enc)\r\n# raises TypeError: cannot pickle 'builtins.CoreBPE' object\r\n```\r\nIt happens because it's not picklable, and because of that it's not possib...
1,586,520,369
5,535
Add JAX-formatting documentation
closed
2023-02-15T20:35:11
2023-02-20T10:39:42
2023-02-20T10:32:39
https://github.com/huggingface/datasets/pull/5535
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/5535", "html_url": "https://github.com/huggingface/datasets/pull/5535", "diff_url": "https://github.com/huggingface/datasets/pull/5535.diff", "patch_url": "https://github.com/huggingface/datasets/pull/5535.patch", "merged_at": "2023-02-20T10:32:39" }
alvarobartt
true
[ "_The documentation is not available anymore as the PR was closed or merged._", "> Awesome thank you !\r\n> \r\n> Could you also explain how to use certain types like ClassLabel, Image or Audio with jax ? You can get a lot of inspiration from the \"Other feature types\" section in the [PyTorch page](https://huggi...
1,586,177,862
5,534
map() breaks at certain dataset size when using Array3D
open
2023-02-15T16:34:25
2023-03-03T16:31:33
null
https://github.com/huggingface/datasets/issues/5534
null
ArneBinder
false
[ "Hi! This code works for me locally or in Colab. What's the output of `python -c \"import pyarrow as pa; print(pa.__version__)\"` when you run it inside your environment?", "Thanks for looking into this!\r\nThe output of `python -c \"import pyarrow as pa; print(pa.__version__)\"` is:\r\n```\r\n11.0.0\r\n```\r\n\...
1,585,885,871
5,533
Add reduce function
closed
2023-02-15T13:44:01
2024-11-25T14:33:27
2023-02-28T14:46:12
https://github.com/huggingface/datasets/pull/5533
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/5533", "html_url": "https://github.com/huggingface/datasets/pull/5533", "diff_url": "https://github.com/huggingface/datasets/pull/5533.diff", "patch_url": "https://github.com/huggingface/datasets/pull/5533.patch", "merged_at": null }
AJDERS
true
[ "I agree that it would be a good idea to introduce a `combiner` argument in another PR.\r\n\r\nI did take quite a lot of inspiration from the implementation of `map`, but it did not seem obvious how to resuse `map` for the implementation. Do you have any suggestions, i could give a try?\r\n\r\nThose were exactly m...
1,584,505,128
5,532
train_test_split in arrow_dataset does not ensure to keep single classes in test set
closed
2023-02-14T16:52:29
2023-02-15T16:09:19
2023-02-15T16:09:19
https://github.com/huggingface/datasets/issues/5532
null
Ulipenitz
false
[ "Hi! You can get this behavior by specifying `stratify_by_column=\"label\"` in `train_test_split`.\r\n\r\nThis is the full example:\r\n```python\r\nimport numpy as np\r\nfrom datasets import Dataset, ClassLabel\r\n\r\ndata = [\r\n {'label': 0, 'text': \"example1\"},\r\n {'label': 1, 'text': \"example2\"},\r\n...
1,584,387,276
5,531
Invalid Arrow data from JSONL
open
2023-02-14T15:39:49
2023-02-14T15:46:09
null
https://github.com/huggingface/datasets/issues/5531
null
lhoestq
false
[]
1,582,938,241
5,530
Add missing license in `NumpyFormatter`
closed
2023-02-13T19:33:23
2023-02-14T14:40:41
2023-02-14T12:23:58
https://github.com/huggingface/datasets/pull/5530
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/5530", "html_url": "https://github.com/huggingface/datasets/pull/5530", "diff_url": "https://github.com/huggingface/datasets/pull/5530.diff", "patch_url": "https://github.com/huggingface/datasets/pull/5530.patch", "merged_at": "2023-02-14T12:23:58" }
alvarobartt
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,582,501,233
5,529
Fix `datasets.load_from_disk`, `DatasetDict.load_from_disk` and `Dataset.load_from_disk`
closed
2023-02-13T14:54:55
2023-02-23T18:14:32
2023-02-23T18:05:26
https://github.com/huggingface/datasets/pull/5529
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/5529", "html_url": "https://github.com/huggingface/datasets/pull/5529", "diff_url": "https://github.com/huggingface/datasets/pull/5529.diff", "patch_url": "https://github.com/huggingface/datasets/pull/5529.patch", "merged_at": "2023-02-23T18:05:26" }
alvarobartt
true
[ "_The documentation is not available anymore as the PR was closed or merged._", "Hmm, should this also be updated in `Dataset.load_from_disk` and `DatasetDict.load_from_disk`? https://github.com/huggingface/datasets/pull/5466 As there the paths are joined using `Path(..., ...)` and it won't work on Windows OS acc...
1,582,195,085
5,528
Push to hub in a pull request
open
2023-02-13T11:43:47
2023-10-06T21:58:02
null
https://github.com/huggingface/datasets/pull/5528
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/5528", "html_url": "https://github.com/huggingface/datasets/pull/5528", "diff_url": "https://github.com/huggingface/datasets/pull/5528.diff", "patch_url": "https://github.com/huggingface/datasets/pull/5528.patch", "merged_at": null }
AJDERS
true
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_5528). All of your documentation changes will be reflected on that endpoint.", "It seems that the parameter `create_pr` is available for [`0.8.0`](https://huggingface.co/docs/huggingface_hub/v0.8.1/en/package_reference/hf_api#h...
1,581,228,531
5,527
Fix benchmarks CI - pin protobuf
closed
2023-02-12T11:51:25
2023-02-13T10:29:03
2023-02-13T09:24:16
https://github.com/huggingface/datasets/pull/5527
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/5527", "html_url": "https://github.com/huggingface/datasets/pull/5527", "diff_url": "https://github.com/huggingface/datasets/pull/5527.diff", "patch_url": "https://github.com/huggingface/datasets/pull/5527.patch", "merged_at": "2023-02-13T09:24:16" }
lhoestq
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,580,488,133
5,526
Allow loading/saving of FAISS index using fsspec
closed
2023-02-10T23:37:14
2023-03-27T15:26:46
2023-03-27T15:18:20
https://github.com/huggingface/datasets/pull/5526
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/5526", "html_url": "https://github.com/huggingface/datasets/pull/5526", "diff_url": "https://github.com/huggingface/datasets/pull/5526.diff", "patch_url": "https://github.com/huggingface/datasets/pull/5526.patch", "merged_at": "2023-03-27T15:18:20" }
Dref360
true
[ "_The documentation is not available anymore as the PR was closed or merged._", "Thanks for the quick review! I updated the code with your suggestion", "Thanks for the quick review @albertvillanova! I updated the code with your suggestions", "<details>\n<summary>Show benchmarks</summary>\n\nPyArrow==8.0.0\n\n...
1,580,342,729
5,525
TypeError: Couldn't cast array of type string to null
closed
2023-02-10T21:12:36
2023-02-14T17:41:08
2023-02-14T09:35:49
https://github.com/huggingface/datasets/issues/5525
null
TJ-Solergibert
false
[ "Thanks for reporting, @TJ-Solergibert.\r\n\r\nWe cannot access your Colab notebook: `There was an error loading this notebook. Ensure that the file is accessible and try again.`\r\nCould you please make it publicly accessible?\r\n", "I swear it's public, I've checked the settings and I've been able to open it in...
1,580,219,454
5,524
[INVALID PR]
closed
2023-02-10T19:35:50
2023-02-10T19:51:45
2023-02-10T19:49:12
https://github.com/huggingface/datasets/pull/5524
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/5524", "html_url": "https://github.com/huggingface/datasets/pull/5524", "diff_url": "https://github.com/huggingface/datasets/pull/5524.diff", "patch_url": "https://github.com/huggingface/datasets/pull/5524.patch", "merged_at": null }
alvarobartt
true
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,580,193,015
5,523
Checking that split name is correct happens only after the data is downloaded
open
2023-02-10T19:13:03
2023-02-10T19:14:50
null
https://github.com/huggingface/datasets/issues/5523
null
polinaeterna
false
[]
1,580,183,124
5,522
Minor changes in JAX-formatting docstrings & type-hints
closed
2023-02-10T19:05:00
2023-02-15T14:48:27
2023-02-15T13:19:06
https://github.com/huggingface/datasets/pull/5522
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/5522", "html_url": "https://github.com/huggingface/datasets/pull/5522", "diff_url": "https://github.com/huggingface/datasets/pull/5522.diff", "patch_url": "https://github.com/huggingface/datasets/pull/5522.patch", "merged_at": "2023-02-15T13:19:06" }
alvarobartt
true
[ "P.S. For more context, I'm currently exploring the integration of 🤗`datasets` with JAX, so in case you need any help or want me to try something specific just let me know! (`jnp.asarray`/`jnp.array(..., copy=False)` still no zero-copy 😭)", "_The documentation is not available anymore as the PR was closed or me...
1,578,418,289
5,521
Fix bug when casting empty array to class labels
closed
2023-02-09T18:47:59
2023-02-13T20:40:48
2023-02-12T11:17:17
https://github.com/huggingface/datasets/pull/5521
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/5521", "html_url": "https://github.com/huggingface/datasets/pull/5521", "diff_url": "https://github.com/huggingface/datasets/pull/5521.diff", "patch_url": "https://github.com/huggingface/datasets/pull/5521.patch", "merged_at": "2023-02-12T11:17:17" }
marioga
true
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,578,417,074
5,520
ClassLabel.cast_storage raises TypeError when called on an empty IntegerArray
closed
2023-02-09T18:46:52
2023-02-12T11:17:18
2023-02-12T11:17:18
https://github.com/huggingface/datasets/issues/5520
null
marioga
false
[]
1,578,341,785
5,519
Lint code with `ruff`
closed
2023-02-09T17:50:21
2024-06-01T15:35:02
2023-02-14T16:18:38
https://github.com/huggingface/datasets/pull/5519
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/5519", "html_url": "https://github.com/huggingface/datasets/pull/5519", "diff_url": "https://github.com/huggingface/datasets/pull/5519.diff", "patch_url": "https://github.com/huggingface/datasets/pull/5519.patch", "merged_at": "2023-02-14T16:18:38" }
mariosasko
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,578,203,962
5,518
Remove py.typed
closed
2023-02-09T16:22:29
2023-02-13T13:55:49
2023-02-13T13:48:40
https://github.com/huggingface/datasets/pull/5518
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/5518", "html_url": "https://github.com/huggingface/datasets/pull/5518", "diff_url": "https://github.com/huggingface/datasets/pull/5518.diff", "patch_url": "https://github.com/huggingface/datasets/pull/5518.patch", "merged_at": "2023-02-13T13:48:40" }
mariosasko
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,577,976,608
5,517
`with_format("numpy")` silently downcasts float64 to float32 features
open
2023-02-09T14:18:00
2024-01-18T08:42:17
null
https://github.com/huggingface/datasets/issues/5517
null
ernestum
false
[ "Hi! This behavior stems from these lines:\r\n\r\nhttps://github.com/huggingface/datasets/blob/b065547654efa0ec633cf373ac1512884c68b2e1/src/datasets/formatting/np_formatter.py#L45-L46\r\n\r\nI agree we should preserve the original type whenever possible and downcast explicitly with a warning.\r\n\r\n@lhoestq Do you...
1,577,661,640
5,516
Reload features from Parquet metadata
closed
2023-02-09T10:52:15
2023-02-12T16:00:00
2023-02-12T15:57:01
https://github.com/huggingface/datasets/pull/5516
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/5516", "html_url": "https://github.com/huggingface/datasets/pull/5516", "diff_url": "https://github.com/huggingface/datasets/pull/5516.diff", "patch_url": "https://github.com/huggingface/datasets/pull/5516.patch", "merged_at": "2023-02-12T15:57:01" }
MFreidank
true
[ "Thanks a lot for your help @lhoestq. I've simplified what turned out to be a simple fix and added the unit test.\r\n\r\nDoes this look ready to be merged or is there anything I'm still missing?", "Cool ! I think you just need to remove the unused import in `io/parquet.py`\r\n```\r\nsrc/datasets/io/parquet.py:4:1...
1,577,590,611
5,515
Unify `load_from_cache_file` type and logic
closed
2023-02-09T10:04:46
2023-02-14T15:38:13
2023-02-14T14:26:42
https://github.com/huggingface/datasets/pull/5515
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/5515", "html_url": "https://github.com/huggingface/datasets/pull/5515", "diff_url": "https://github.com/huggingface/datasets/pull/5515.diff", "patch_url": "https://github.com/huggingface/datasets/pull/5515.patch", "merged_at": "2023-02-14T14:26:42" }
HallerPatrick
true
[ "_The documentation is not available anymore as the PR was closed or merged._", "The commit also includes the changes to the `DatasetDict` methods or am I missing something?", "Oh, indeed. Feel free to mark the PR as \"Ready for review\" then.", "<details>\n<summary>Show benchmarks</summary>\n\nPyArrow==6.0.0...
1,576,453,837
5,514
Improve inconsistency of `Dataset.map` interface for `load_from_cache_file`
closed
2023-02-08T16:40:44
2023-02-14T14:26:44
2023-02-14T14:26:44
https://github.com/huggingface/datasets/issues/5514
null
HallerPatrick
false
[ "Hi, thanks for noticing this! We can't just remove the cache control as this allows us to control where the arrow files generated by the ops are written (cached on disk if enabled or a temporary directory if disabled). The right way to address this inconsistency would be by having `load_from_cache_file=None` by de...
1,576,300,803
5,513
Some functions use a param named `type` shouldn't that be avoided since it's a Python reserved name?
closed
2023-02-08T15:13:46
2023-07-24T16:02:18
2023-07-24T14:27:59
https://github.com/huggingface/datasets/issues/5513
null
alvarobartt
false
[ "Hi! Let's not do this - renaming it would be a breaking change, and going through the deprecation cycle is only worth it if it improves user experience.", "Hi @mariosasko, ok it makes sense. Anyway, don't you think it's worth it at some point to start a deprecation cycle e.g. `fs` in `load_from_disk`? It doesn't...
1,576,142,432
5,512
Speed up batched PyTorch DataLoader
closed
2023-02-08T13:38:59
2023-02-19T18:35:09
2023-02-19T18:27:29
https://github.com/huggingface/datasets/pull/5512
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/5512", "html_url": "https://github.com/huggingface/datasets/pull/5512", "diff_url": "https://github.com/huggingface/datasets/pull/5512.diff", "patch_url": "https://github.com/huggingface/datasets/pull/5512.patch", "merged_at": "2023-02-19T18:27:29" }
lhoestq
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,575,851,768
5,511
Creating a dummy dataset from a bigger one
closed
2023-02-08T10:18:41
2023-12-28T18:21:01
2023-02-08T10:35:48
https://github.com/huggingface/datasets/issues/5511
null
patrickvonplaten
false
[ "Update `datasets` or downgrade `huggingface-hub` ;)\r\n\r\nThe `huggingface-hub` lib did a breaking change a few months ago, and you're using an old version of `datasets` that does't support it", "Awesome thanks a lot! Everything works just fine with `datasets==2.9.0` :-) ", "Getting same error with latest ver...
1,575,191,549
5,510
Milvus integration for search
open
2023-02-07T23:30:26
2023-02-24T16:45:09
null
https://github.com/huggingface/datasets/pull/5510
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/5510", "html_url": "https://github.com/huggingface/datasets/pull/5510", "diff_url": "https://github.com/huggingface/datasets/pull/5510.diff", "patch_url": "https://github.com/huggingface/datasets/pull/5510.patch", "merged_at": null }
filip-halt
true
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_5510). All of your documentation changes will be reflected on that endpoint.", "To the maintainer, sorry about the repeated run requests for formatting. Missed the `make style` outlined in contributing guidelines. ", "Anythin...
1,574,177,320
5,509
Add a static `__all__` to `__init__.py` for typecheckers
open
2023-02-07T11:42:40
2023-02-08T17:48:24
null
https://github.com/huggingface/datasets/pull/5509
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/5509", "html_url": "https://github.com/huggingface/datasets/pull/5509", "diff_url": "https://github.com/huggingface/datasets/pull/5509.diff", "patch_url": "https://github.com/huggingface/datasets/pull/5509.patch", "merged_at": null }
LoicGrobol
true
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_5509). All of your documentation changes will be reflected on that endpoint.", "Hi! I've commented on the original issue to provide some context. Feel free to share your opinion there." ]
1,573,290,359
5,508
Saving a dataset after setting format to torch doesn't work, but only if filtering
closed
2023-02-06T21:08:58
2023-02-09T14:55:26
2023-02-09T14:55:26
https://github.com/huggingface/datasets/issues/5508
null
joebhakim
false
[ "Hey, I'm a research engineer working on language modelling wanting to contribute to open source. I was wondering if I could give it a shot?", "Hi! This issue was fixed in https://github.com/huggingface/datasets/pull/4972, so please install `datasets>=2.5.0` to avoid it." ]
1,572,667,036
5,507
Optimise behaviour in respect to indices mapping
open
2023-02-06T14:25:55
2023-02-28T18:19:18
null
https://github.com/huggingface/datasets/issues/5507
null
mariosasko
false
[]
1,571,838,641
5,506
IterableDataset and Dataset return different batch sizes when using Trainer with multiple GPUs
closed
2023-02-06T03:26:03
2023-02-08T18:30:08
2023-02-08T18:30:07
https://github.com/huggingface/datasets/issues/5506
null
kheyer
false
[ "Hi ! `datasets` doesn't do batching - the PyTorch DataLoader does and is created by the `Trainer`. Do you pass other arguments to training_args with respect to data loading ?\r\n\r\nAlso we recently released `.to_iterable_dataset` that does pretty much what you implemented, but using contiguous shards to get a bet...
1,571,720,814
5,505
PyTorch BatchSampler still loads from Dataset one-by-one
closed
2023-02-06T01:14:55
2023-02-19T18:27:30
2023-02-19T18:27:30
https://github.com/huggingface/datasets/issues/5505
null
davidgilbertson
false
[ "This change seems to come from a few months ago in the PyTorch side. That's good news and it means we may not need to pass a batch_sampler as soon as we add `Dataset.__getitems__` to get the optimal speed :)\r\n\r\nThanks for reporting ! Would you like to open a PR to add `__getitems__` and remove this outdated do...
1,570,621,242
5,504
don't zero copy timestamps
closed
2023-02-03T23:39:04
2023-02-08T17:28:50
2023-02-08T14:33:17
https://github.com/huggingface/datasets/pull/5504
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/5504", "html_url": "https://github.com/huggingface/datasets/pull/5504", "diff_url": "https://github.com/huggingface/datasets/pull/5504.diff", "patch_url": "https://github.com/huggingface/datasets/pull/5504.patch", "merged_at": "2023-02-08T14:33:17" }
dwyatte
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,570,091,225
5,502
Added functionality: sort datasets by multiple keys
closed
2023-02-03T16:17:00
2023-02-21T14:46:49
2023-02-21T14:39:23
https://github.com/huggingface/datasets/pull/5502
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/5502", "html_url": "https://github.com/huggingface/datasets/pull/5502", "diff_url": "https://github.com/huggingface/datasets/pull/5502.diff", "patch_url": "https://github.com/huggingface/datasets/pull/5502.patch", "merged_at": "2023-02-21T14:39:23" }
MichlF
true
[ "_The documentation is not available anymore as the PR was closed or merged._", "> Thanks! I've left some comments.\r\n> \r\n> We should also add some tests, mainly to make sure `reverse` behaves as expected. Let me know if you need help with that.\r\n\r\nThanks for the offer! I couldn't find any guidelines on ho...
1,569,644,159
5,501
Increase chunk size for speeding up file downloads
open
2023-02-03T10:50:10
2023-02-09T11:04:11
null
https://github.com/huggingface/datasets/pull/5501
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/5501", "html_url": "https://github.com/huggingface/datasets/pull/5501", "diff_url": "https://github.com/huggingface/datasets/pull/5501.diff", "patch_url": "https://github.com/huggingface/datasets/pull/5501.patch", "merged_at": null }
Narsil
true
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_5501). All of your documentation changes will be reflected on that endpoint.", "<details>\n<summary>Show benchmarks</summary>\n\nPyArrow==6.0.0\n\n<details>\n<summary>Show updated benchmarks!</summary>\n\n### Benchmark: benchma...
1,569,257,240
5,500
WMT19 custom download checksum error
closed
2023-02-03T05:45:37
2023-02-03T05:52:56
2023-02-03T05:52:56
https://github.com/huggingface/datasets/issues/5500
null
Hannibal046
false
[ "I update the `datatsets` version and it works." ]
1,568,937,026
5,499
`load_dataset` has ~4 seconds of overhead for cached data
open
2023-02-02T23:34:50
2023-02-07T19:35:11
null
https://github.com/huggingface/datasets/issues/5499
null
davidgilbertson
false
[ "Hi ! To skip the verification step that checks if newer data exist, you can enable offline mode with `HF_DATASETS_OFFLINE=1`.\r\n\r\nAlthough I agree this step should be much faster for datasets hosted on the HF Hub - we could just compare the commit hash from the local data and the remote git repository. We're no...
1,568,190,529
5,498
TypeError: 'bool' object is not iterable when filtering a datasets.arrow_dataset.Dataset
closed
2023-02-02T14:46:49
2023-10-08T06:12:47
2023-02-04T17:19:36
https://github.com/huggingface/datasets/issues/5498
null
vmuel
false
[ "Hi! Instead of a single boolean, your filter function should return an iterable (of booleans) in the batched mode like so:\r\n```python\r\ntrain_dataset = train_dataset.filter(\r\n function=lambda batch: [image is not None for image in batch[\"image\"]], \r\n batched=True,\r\n batc...
1,567,601,264
5,497
Improved error message for gated/private repos
closed
2023-02-02T08:56:15
2023-02-02T11:26:08
2023-02-02T11:17:15
https://github.com/huggingface/datasets/pull/5497
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/5497", "html_url": "https://github.com/huggingface/datasets/pull/5497", "diff_url": "https://github.com/huggingface/datasets/pull/5497.diff", "patch_url": "https://github.com/huggingface/datasets/pull/5497.patch", "merged_at": "2023-02-02T11:17:14" }
osanseviero
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,567,301,765
5,496
Add a `reduce` method
closed
2023-02-02T04:30:22
2024-11-12T05:58:14
2023-07-21T14:24:32
https://github.com/huggingface/datasets/issues/5496
null
zhangir-azerbayev
false
[ "Hi! Sure, feel free to open a PR, so we can see the API you have in mind.", "I would like to give it a go! #self-assign", "Closing as `Dataset.map` can be used instead (see https://github.com/huggingface/datasets/pull/5533#issuecomment-1440571658 and https://github.com/huggingface/datasets/pull/5533#issuecomme...
1,566,803,452
5,495
to_tf_dataset fails with datetime UTC columns even if not included in columns argument
closed
2023-02-01T20:47:33
2023-02-08T14:33:19
2023-02-08T14:33:19
https://github.com/huggingface/datasets/issues/5495
null
dwyatte
false
[ "Hi! This is indeed a bug in our zero-copy logic.\r\n\r\nTo fix it, instead of the line:\r\nhttps://github.com/huggingface/datasets/blob/7cfac43b980ab9e4a69c2328f085770996323005/src/datasets/features/features.py#L702\r\n\r\nwe should have:\r\n```python\r\nreturn pa.types.is_primitive(pa_type) and not (pa.types.is_b...
1,566,655,348
5,494
Update audio installation doc page
closed
2023-02-01T19:07:50
2023-03-02T16:08:17
2023-03-02T16:08:17
https://github.com/huggingface/datasets/issues/5494
null
polinaeterna
false
[ "Totally agree, the docs should be in sync with our code.\r\n\r\nIndeed to avoid confusing users, I think we should have updated the docs at the same time as this PR:\r\n- #5167", "@albertvillanova yeah sure I should have, but I forgot back then, sorry for that 😶", "No, @polinaeterna, nothing to be sorry about...
1,566,637,806
5,493
Remove unused `load_from_cache_file` arg from `Dataset.shard()` docstring
closed
2023-02-01T18:57:48
2023-02-08T15:10:46
2023-02-08T15:03:50
https://github.com/huggingface/datasets/pull/5493
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/5493", "html_url": "https://github.com/huggingface/datasets/pull/5493", "diff_url": "https://github.com/huggingface/datasets/pull/5493.diff", "patch_url": "https://github.com/huggingface/datasets/pull/5493.patch", "merged_at": "2023-02-08T15:03:50" }
polinaeterna
true
[ "_The documentation is not available anymore as the PR was closed or merged._", "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_5493). All of your documentation changes will be reflected on that endpoint.", "<details>\n<summary>Show benchmarks</summary>\n\nPyArrow==6.0.0\n...
1,566,604,216
5,492
Push_to_hub in a pull request
closed
2023-02-01T18:32:14
2023-10-16T13:30:48
2023-10-16T13:30:48
https://github.com/huggingface/datasets/issues/5492
null
lhoestq
false
[ "Assigned to myself and will get to it in the next week, but if someone finds this issue annoying and wants to submit a PR before I do, just ping me here and I'll reassign :). ", "I would like to be assigned to this issue, @nateraw . #self-assign" ]
1,566,235,012
5,491
[MINOR] Typo
closed
2023-02-01T14:39:39
2023-02-02T07:42:28
2023-02-02T07:35:14
https://github.com/huggingface/datasets/pull/5491
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/5491", "html_url": "https://github.com/huggingface/datasets/pull/5491", "diff_url": "https://github.com/huggingface/datasets/pull/5491.diff", "patch_url": "https://github.com/huggingface/datasets/pull/5491.patch", "merged_at": "2023-02-02T07:35:14" }
cakiki
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,565,842,327
5,490
Do not add index column by default when exporting to CSV
closed
2023-02-01T10:20:55
2023-02-09T09:29:08
2023-02-09T09:22:23
https://github.com/huggingface/datasets/pull/5490
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/5490", "html_url": "https://github.com/huggingface/datasets/pull/5490", "diff_url": "https://github.com/huggingface/datasets/pull/5490.diff", "patch_url": "https://github.com/huggingface/datasets/pull/5490.patch", "merged_at": "2023-02-09T09:22:23" }
albertvillanova
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,565,761,705
5,489
Pin dill lower version
closed
2023-02-01T09:33:42
2023-02-02T07:48:09
2023-02-02T07:40:43
https://github.com/huggingface/datasets/pull/5489
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/5489", "html_url": "https://github.com/huggingface/datasets/pull/5489", "diff_url": "https://github.com/huggingface/datasets/pull/5489.diff", "patch_url": "https://github.com/huggingface/datasets/pull/5489.patch", "merged_at": "2023-02-02T07:40:43" }
albertvillanova
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,565,025,262
5,488
Error loading MP3 files from CommonVoice
closed
2023-01-31T21:25:33
2023-03-02T16:25:14
2023-03-02T16:25:13
https://github.com/huggingface/datasets/issues/5488
null
kradonneoh
false
[ "Hi @kradonneoh, thanks for reporting.\r\n\r\nPlease note that to work with audio datasets (and specifically with MP3 files) we have detailed installation instructions in our docs: https://huggingface.co/docs/datasets/installation#audio\r\n- one of the requirements is torchaudio<0.12.0\r\n\r\nLet us know if the pro...
1,564,480,121
5,487
Incorrect filepath for dill module
closed
2023-01-31T15:01:08
2023-02-24T16:18:36
2023-02-24T16:18:36
https://github.com/huggingface/datasets/issues/5487
null
avivbrokman
false
[ "Hi! The correct path is still `dill._dill.XXXX` in the latest release. What do you get when you run `python -c \"import dill; print(dill.__version__)\"` in your environment?", "`0.3.6` I feel like that's bad news, because it's probably not the issue.\r\n\r\nMy mistake, about the wrong path guess. I think I did...
1,564,059,749
5,486
Adding `sep` to TextConfig
open
2023-01-31T10:39:53
2023-01-31T14:50:18
null
https://github.com/huggingface/datasets/issues/5486
null
omar-araboghli
false
[ "Hi @omar-araboghli, thanks for your proposal.\r\n\r\nHave you tried to use \"csv\" loader instead of \"text\"? That already has a `sep` argument.", "Hi @albertvillanova, thanks for the quick response!\r\n\r\nIndeed, I have been trying to use `csv` instead of `text`. However I am still not able to define range of...
1,563,002,829
5,485
Add section in tutorial for IterableDataset
closed
2023-01-30T18:43:04
2023-02-01T18:15:38
2023-02-01T18:08:46
https://github.com/huggingface/datasets/pull/5485
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/5485", "html_url": "https://github.com/huggingface/datasets/pull/5485", "diff_url": "https://github.com/huggingface/datasets/pull/5485.diff", "patch_url": "https://github.com/huggingface/datasets/pull/5485.patch", "merged_at": "2023-02-01T18:08:46" }
stevhliu
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,562,877,070
5,484
Update docs for `nyu_depth_v2` dataset
closed
2023-01-30T17:37:08
2023-09-29T06:43:11
2023-02-05T14:15:04
https://github.com/huggingface/datasets/pull/5484
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/5484", "html_url": "https://github.com/huggingface/datasets/pull/5484", "diff_url": "https://github.com/huggingface/datasets/pull/5484.diff", "patch_url": "https://github.com/huggingface/datasets/pull/5484.patch", "merged_at": "2023-02-05T14:15:04" }
awsaf49
true
[ "I think I need to create another PR on https://huggingface.co/datasets/huggingface/documentation-images/tree/main/datasets for hosting the images there?", "_The documentation is not available anymore as the PR was closed or merged._", "Thanks for the update @awsaf49 !", "> Thanks a lot for the updates!\r\n> ...
1,560,894,690
5,483
Unable to upload dataset
closed
2023-01-28T15:18:26
2023-01-29T08:09:49
2023-01-29T08:09:49
https://github.com/huggingface/datasets/issues/5483
null
yuvalkirstain
false
[ "Seems to work now, perhaps it was something internal with our university's network." ]
1,560,853,137
5,482
Reload features from Parquet metadata
closed
2023-01-28T13:12:31
2023-02-12T15:57:02
2023-02-12T15:57:02
https://github.com/huggingface/datasets/issues/5482
null
lhoestq
false
[ "I'd be happy to have a look, if nobody else has started working on this yet @lhoestq. \r\n\r\nIt seems to me that for the `arrow` format features are currently attached as metadata [in `datasets.arrow_writer`](https://github.com/huggingface/datasets/blob/5f810b7011a8a4ab077a1847c024d2d9e267b065/src/datasets/arrow_...
1,560,468,195
5,481
Load a cached dataset as iterable
open
2023-01-27T21:43:51
2025-06-19T19:30:52
null
https://github.com/huggingface/datasets/issues/5481
null
lhoestq
false
[ "Can I work on this issue? I am pretty new to this.", "Hi ! Sure :) you can comment `#self-assign` to assign yourself to this issue.\r\n\r\nI can give you some pointers to get started:\r\n\r\n`load_dataset` works roughly this way:\r\n1. it instantiate a dataset builder using `load_dataset_builder()`\r\n2. the bui...
1,560,364,866
5,480
Select columns of Dataset or DatasetDict
closed
2023-01-27T20:06:16
2023-02-13T11:10:13
2023-02-13T09:59:35
https://github.com/huggingface/datasets/pull/5480
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/5480", "html_url": "https://github.com/huggingface/datasets/pull/5480", "diff_url": "https://github.com/huggingface/datasets/pull/5480.diff", "patch_url": "https://github.com/huggingface/datasets/pull/5480.patch", "merged_at": "2023-02-13T09:59:35" }
daskol
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,560,357,590
5,479
audiofolder works on local env, but creates empty dataset in a remote one, what dependencies could I be missing/outdated
closed
2023-01-27T20:01:22
2023-01-29T05:23:14
2023-01-29T05:23:14
https://github.com/huggingface/datasets/issues/5479
null
jcho19
false
[]
1,560,357,583
5,478
Tip for recomputing metadata
closed
2023-01-27T20:01:22
2023-01-30T19:22:21
2023-01-30T19:15:26
https://github.com/huggingface/datasets/pull/5478
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/5478", "html_url": "https://github.com/huggingface/datasets/pull/5478", "diff_url": "https://github.com/huggingface/datasets/pull/5478.diff", "patch_url": "https://github.com/huggingface/datasets/pull/5478.patch", "merged_at": "2023-01-30T19:15:26" }
stevhliu
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,559,909,892
5,477
Unpin sqlalchemy once issue is fixed
closed
2023-01-27T15:01:55
2024-01-26T14:50:45
2024-01-26T14:50:45
https://github.com/huggingface/datasets/issues/5477
null
albertvillanova
false
[ "@albertvillanova It looks like that issue has been fixed so I made a PR to unpin sqlalchemy! ", "The source issue:\r\n- https://github.com/pandas-dev/pandas/issues/40686\r\n\r\nhas been fixed:\r\n- https://github.com/pandas-dev/pandas/pull/48576\r\n\r\nThe fix was released yesterday (2023-04-03) only in `pandas-...
1,559,594,684
5,476
Pin sqlalchemy
closed
2023-01-27T11:26:38
2023-01-27T12:06:51
2023-01-27T11:57:48
https://github.com/huggingface/datasets/pull/5476
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/5476", "html_url": "https://github.com/huggingface/datasets/pull/5476", "diff_url": "https://github.com/huggingface/datasets/pull/5476.diff", "patch_url": "https://github.com/huggingface/datasets/pull/5476.patch", "merged_at": "2023-01-27T11:57:48" }
lhoestq
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,559,030,149
5,475
Dataset scan time is much slower than using native arrow
closed
2023-01-27T01:32:25
2023-01-30T16:17:11
2023-01-30T16:17:11
https://github.com/huggingface/datasets/issues/5475
null
jonny-cyberhaven
false
[ "Hi ! In your code you only iterate on the Arrow buffers - you don't actually load the data as python objects. For a fair comparison, you can modify your code using:\r\n```diff\r\n- for _ in range(0, len(table), bsz):\r\n- _ = {k:table[k][_ : _ + bsz] for k in cols}\r\n+ for _ in range(0, len(table)...
1,558,827,155
5,474
Column project operation on `datasets.Dataset`
closed
2023-01-26T21:47:53
2023-02-13T09:59:37
2023-02-13T09:59:37
https://github.com/huggingface/datasets/issues/5474
null
daskol
false
[ "Hi ! This would be a nice addition indeed :) This sounds like a duplicate of https://github.com/huggingface/datasets/issues/5468\r\n\r\n> Not sure. Some of my PRs are still open and some do not have any discussions.\r\n\r\nSorry to hear that, feel free to ping me on those PRs" ]
1,558,668,197
5,473
Set dev version
closed
2023-01-26T19:34:44
2023-01-26T19:47:34
2023-01-26T19:38:30
https://github.com/huggingface/datasets/pull/5473
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/5473", "html_url": "https://github.com/huggingface/datasets/pull/5473", "diff_url": "https://github.com/huggingface/datasets/pull/5473.diff", "patch_url": "https://github.com/huggingface/datasets/pull/5473.patch", "merged_at": "2023-01-26T19:38:30" }
lhoestq
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,558,662,251
5,472
Release: 2.9.0
closed
2023-01-26T19:29:42
2023-01-26T19:40:44
2023-01-26T19:33:00
https://github.com/huggingface/datasets/pull/5472
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/5472", "html_url": "https://github.com/huggingface/datasets/pull/5472", "diff_url": "https://github.com/huggingface/datasets/pull/5472.diff", "patch_url": "https://github.com/huggingface/datasets/pull/5472.patch", "merged_at": "2023-01-26T19:33:00" }
lhoestq
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,558,557,545
5,471
Add num_test_batches option
closed
2023-01-26T18:09:40
2023-01-27T18:16:45
2023-01-27T18:08:36
https://github.com/huggingface/datasets/pull/5471
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/5471", "html_url": "https://github.com/huggingface/datasets/pull/5471", "diff_url": "https://github.com/huggingface/datasets/pull/5471.diff", "patch_url": "https://github.com/huggingface/datasets/pull/5471.patch", "merged_at": "2023-01-27T18:08:36" }
amyeroberts
true
[ "_The documentation is not available anymore as the PR was closed or merged._", "I thought this issue was resolved in my parallel `to_tf_dataset` PR! I changed the default `num_test_batches` in `_get_output_signature` to 20 and used a test batch size of 1 to maximize variance to detect shorter samples. I think it...
1,558,542,611
5,470
Update dataset card creation
closed
2023-01-26T17:57:51
2023-01-27T16:27:00
2023-01-27T16:20:10
https://github.com/huggingface/datasets/pull/5470
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/5470", "html_url": "https://github.com/huggingface/datasets/pull/5470", "diff_url": "https://github.com/huggingface/datasets/pull/5470.diff", "patch_url": "https://github.com/huggingface/datasets/pull/5470.patch", "merged_at": "2023-01-27T16:20:10" }
stevhliu
true
[ "_The documentation is not available anymore as the PR was closed or merged._", "The CI failure is unrelated to your PR - feel free to merge :)", "Haha thanks, you read my mind :)", "<details>\n<summary>Show benchmarks</summary>\n\nPyArrow==6.0.0\n\n<details>\n<summary>Show updated benchmarks!</summary>\n\n##...
1,558,346,906
5,469
Remove deprecated `shard_size` arg from `.push_to_hub()`
closed
2023-01-26T15:40:56
2023-01-26T17:37:51
2023-01-26T17:30:59
https://github.com/huggingface/datasets/pull/5469
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/5469", "html_url": "https://github.com/huggingface/datasets/pull/5469", "diff_url": "https://github.com/huggingface/datasets/pull/5469.diff", "patch_url": "https://github.com/huggingface/datasets/pull/5469.patch", "merged_at": "2023-01-26T17:30:59" }
polinaeterna
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,558,066,625
5,468
Allow opposite of remove_columns on Dataset and DatasetDict
closed
2023-01-26T12:28:09
2023-02-13T09:59:38
2023-02-13T09:59:38
https://github.com/huggingface/datasets/issues/5468
null
hollance
false
[ "Hi! I agree it would be nice to have a method like that. Instead of `keep_columns`, we can name it `select_columns` to be more aligned with PyArrow's naming convention (`pa.Table.select`).", "Hi, I am a newbie to open source and would like to contribute. @mariosasko can I take up this issue ?", "Hey, I also wa...
1,557,898,273
5,467
Fix conda command in readme
closed
2023-01-26T10:03:01
2023-09-24T10:06:59
2023-01-26T18:29:37
https://github.com/huggingface/datasets/pull/5467
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/5467", "html_url": "https://github.com/huggingface/datasets/pull/5467", "diff_url": "https://github.com/huggingface/datasets/pull/5467.diff", "patch_url": "https://github.com/huggingface/datasets/pull/5467.patch", "merged_at": null }
lhoestq
true
[ "ah didn't read well - it's all good", "or maybe it isn't ? `-c huggingface -c conda-forge` installs from HF or from conda-forge ?", "<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,557,584,845
5,466
remove pathlib.Path with URIs
closed
2023-01-26T03:25:45
2023-01-26T17:08:57
2023-01-26T16:59:11
https://github.com/huggingface/datasets/pull/5466
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/5466", "html_url": "https://github.com/huggingface/datasets/pull/5466", "diff_url": "https://github.com/huggingface/datasets/pull/5466.diff", "patch_url": "https://github.com/huggingface/datasets/pull/5466.patch", "merged_at": "2023-01-26T16:59:11" }
jonny-cyberhaven
true
[ "Thanks !\r\n`os.path.join` will use a backslash `\\` on windows which will also fail. You can use this instead in `load_from_disk`:\r\n```python\r\nfrom .filesystems import is_remote_filesystem\r\n\r\nis_local = not is_remote_filesystem(fs)\r\npath_join = os.path.join if is_local else posixpath.join\r\n```", "Th...