url
stringlengths
58
61
repository_url
stringclasses
1 value
labels_url
stringlengths
72
75
comments_url
stringlengths
67
70
events_url
stringlengths
65
68
html_url
stringlengths
46
51
id
int64
599M
1.64B
node_id
stringlengths
18
32
number
int64
1
5.67k
title
stringlengths
1
290
user
stringlengths
870
1.16k
labels
stringlengths
2
985
state
stringclasses
2 values
locked
stringclasses
1 value
assignee
stringlengths
0
1.04k
assignees
stringlengths
2
3.92k
milestone
stringclasses
9 values
comments
list
created_at
int64
1,587B
1,680B
updated_at
int64
1,588B
1,680B
closed_at
float64
1,587B
1,680B
author_association
stringclasses
3 values
active_lock_reason
stringclasses
1 value
body
stringlengths
0
228k
reactions
stringlengths
191
196
timeline_url
stringlengths
67
70
performed_via_github_app
stringclasses
1 value
state_reason
stringclasses
4 values
pull_request
stringlengths
0
315
is_pull_request
bool
1 class
https://api.github.com/repos/huggingface/datasets/issues/5565
https://api.github.com/repos/huggingface/datasets
https://api.github.com/repos/huggingface/datasets/issues/5565/labels{/name}
https://api.github.com/repos/huggingface/datasets/issues/5565/comments
https://api.github.com/repos/huggingface/datasets/issues/5565/events
https://github.com/huggingface/datasets/pull/5565
1,595,281,752
PR_kwDODunzps5KhfTH
5,565
Add writer_batch_size for ArrowBasedBuilder
{'login': 'lhoestq', 'id': 42851186, 'node_id': 'MDQ6VXNlcjQyODUxMTg2', 'avatar_url': 'https://avatars.githubusercontent.com/u/42851186?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/lhoestq', 'html_url': 'https://github.com/lhoestq', 'followers_url': 'https://api.github.com/users/lhoestq/followers', 'fo...
[]
closed
False
[]
[ "_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,677,078,570,000
1,678,456,383,000
1,678,455,943,000
MEMBER
This way we can control the size of the record_batches/row_groups of arrow/parquet files. This can be useful for `datasets-server` to keep control of the row groups size which can affect random access performance for audio/image/video datasets Right now having 1,000 examples per row group cause some image dataset...
{'url': 'https://api.github.com/repos/huggingface/datasets/issues/5565/reactions', 'total_count': 0, '+1': 0, '-1': 0, 'laugh': 0, 'hooray': 0, 'confused': 0, 'heart': 0, 'rocket': 0, 'eyes': 0}
https://api.github.com/repos/huggingface/datasets/issues/5565/timeline
{'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:43Z'}
true
https://api.github.com/repos/huggingface/datasets/issues/5564
https://api.github.com/repos/huggingface/datasets
https://api.github.com/repos/huggingface/datasets/issues/5564/labels{/name}
https://api.github.com/repos/huggingface/datasets/issues/5564/comments
https://api.github.com/repos/huggingface/datasets/issues/5564/events
https://github.com/huggingface/datasets/pull/5564
1,595,064,698
PR_kwDODunzps5KgwzU
5,564
Set dev version
{'login': 'lhoestq', 'id': 42851186, 'node_id': 'MDQ6VXNlcjQyODUxMTg2', 'avatar_url': 'https://avatars.githubusercontent.com/u/42851186?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/lhoestq', 'html_url': 'https://github.com/lhoestq', 'followers_url': 'https://api.github.com/users/lhoestq/followers', 'fo...
[]
closed
False
[]
[ "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,677,070,809,000
1,677,071,366,000
1,677,070,825,000
MEMBER
{'url': 'https://api.github.com/repos/huggingface/datasets/issues/5564/reactions', 'total_count': 0, '+1': 0, '-1': 0, 'laugh': 0, 'hooray': 0, 'confused': 0, 'heart': 0, 'rocket': 0, 'eyes': 0}
https://api.github.com/repos/huggingface/datasets/issues/5564/timeline
{'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:25Z'}
true
https://api.github.com/repos/huggingface/datasets/issues/5563
https://api.github.com/repos/huggingface/datasets
https://api.github.com/repos/huggingface/datasets/issues/5563/labels{/name}
https://api.github.com/repos/huggingface/datasets/issues/5563/comments
https://api.github.com/repos/huggingface/datasets/issues/5563/events
https://github.com/huggingface/datasets/pull/5563
1,595,049,025
PR_kwDODunzps5KgtbL
5,563
Release: 2.10.0
{'login': 'lhoestq', 'id': 42851186, 'node_id': 'MDQ6VXNlcjQyODUxMTg2', 'avatar_url': 'https://avatars.githubusercontent.com/u/42851186?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/lhoestq', 'html_url': 'https://github.com/lhoestq', 'followers_url': 'https://api.github.com/users/lhoestq/followers', 'fo...
[]
closed
False
[]
[ "_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,677,070,132,000
1,677,071,155,000
1,677,070,608,000
MEMBER
{'url': 'https://api.github.com/repos/huggingface/datasets/issues/5563/reactions', 'total_count': 0, '+1': 0, '-1': 0, 'laugh': 0, 'hooray': 0, 'confused': 0, 'heart': 0, 'rocket': 0, 'eyes': 0}
https://api.github.com/repos/huggingface/datasets/issues/5563/timeline
{'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:48Z'}
true
https://api.github.com/repos/huggingface/datasets/issues/5562
https://api.github.com/repos/huggingface/datasets
https://api.github.com/repos/huggingface/datasets/issues/5562/labels{/name}
https://api.github.com/repos/huggingface/datasets/issues/5562/comments
https://api.github.com/repos/huggingface/datasets/issues/5562/events
https://github.com/huggingface/datasets/pull/5562
1,594,625,539
PR_kwDODunzps5KfTUT
5,562
Update csv.py
{'login': 'XDoubleU', 'id': 54279069, 'node_id': 'MDQ6VXNlcjU0Mjc5MDY5', 'avatar_url': 'https://avatars.githubusercontent.com/u/54279069?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/XDoubleU', 'html_url': 'https://github.com/XDoubleU', 'followers_url': 'https://api.github.com/users/XDoubleU/followers',...
[]
closed
False
[]
[ "_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,677,052,570,000
1,677,150,469,000
1,677,150,058,000
CONTRIBUTOR
Removed mangle_dup_cols=True from BuilderConfig. It triggered following deprecation warning: /usr/local/lib/python3.8/dist-packages/datasets/download/streaming_download_manager.py:776: FutureWarning: the 'mangle_dupe_cols' keyword is deprecated and will be removed in a future version. Please take steps to stop the ...
{'url': 'https://api.github.com/repos/huggingface/datasets/issues/5562/reactions', 'total_count': 0, '+1': 0, '-1': 0, 'laugh': 0, 'hooray': 0, 'confused': 0, 'heart': 0, 'rocket': 0, 'eyes': 0}
https://api.github.com/repos/huggingface/datasets/issues/5562/timeline
{'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:58Z'}
true
https://api.github.com/repos/huggingface/datasets/issues/5561
https://api.github.com/repos/huggingface/datasets
https://api.github.com/repos/huggingface/datasets/issues/5561/labels{/name}
https://api.github.com/repos/huggingface/datasets/issues/5561/comments
https://api.github.com/repos/huggingface/datasets/issues/5561/events
https://github.com/huggingface/datasets/pull/5561
1,593,862,388
PR_kwDODunzps5Kcxw_
5,561
Add pre-commit config yaml file to enable automatic code formatting
{'login': 'polinaeterna', 'id': 16348744, 'node_id': 'MDQ6VXNlcjE2MzQ4NzQ0', 'avatar_url': 'https://avatars.githubusercontent.com/u/16348744?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/polinaeterna', 'html_url': 'https://github.com/polinaeterna', 'followers_url': 'https://api.github.com/users/polinaet...
[]
closed
False
[]
[ "_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,677,000,907,000
1,677,598,642,000
1,677,176,609,000
CONTRIBUTOR
@huggingface/datasets do you think it would be useful? Motivation - sometimes PRs are like 30% "fix: style" commits :) If so - I need to double check the config but for me locally it works as expected.
{'url': 'https://api.github.com/repos/huggingface/datasets/issues/5561/reactions', 'total_count': 0, '+1': 0, '-1': 0, 'laugh': 0, 'hooray': 0, 'confused': 0, 'heart': 0, 'rocket': 0, 'eyes': 0}
https://api.github.com/repos/huggingface/datasets/issues/5561/timeline
{'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:29Z'}
true
https://api.github.com/repos/huggingface/datasets/issues/5560
https://api.github.com/repos/huggingface/datasets
https://api.github.com/repos/huggingface/datasets/issues/5560/labels{/name}
https://api.github.com/repos/huggingface/datasets/issues/5560/comments
https://api.github.com/repos/huggingface/datasets/issues/5560/events
https://github.com/huggingface/datasets/pull/5560
1,593,809,978
PR_kwDODunzps5Kcml6
5,560
Ensure last tqdm update in `map`
{'login': 'mariosasko', 'id': 47462742, 'node_id': 'MDQ6VXNlcjQ3NDYyNzQy', 'avatar_url': 'https://avatars.githubusercontent.com/u/47462742?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/mariosasko', 'html_url': 'https://github.com/mariosasko', 'followers_url': 'https://api.github.com/users/mariosasko/fol...
[]
closed
False
[]
[ "<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,676,998,577,000
1,677,003,983,000
1,677,003,549,000
CONTRIBUTOR
This PR modifies `map` to: * ensure the TQDM bar gets the last progress update * when a map function fails, avoid throwing a chained exception in the single-proc mode
{'url': 'https://api.github.com/repos/huggingface/datasets/issues/5560/reactions', 'total_count': 0, '+1': 0, '-1': 0, 'laugh': 0, 'hooray': 0, 'confused': 0, 'heart': 0, 'rocket': 0, 'eyes': 0}
https://api.github.com/repos/huggingface/datasets/issues/5560/timeline
{'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:09Z'}
true
https://api.github.com/repos/huggingface/datasets/issues/5559
https://api.github.com/repos/huggingface/datasets
https://api.github.com/repos/huggingface/datasets/issues/5559/labels{/name}
https://api.github.com/repos/huggingface/datasets/issues/5559/comments
https://api.github.com/repos/huggingface/datasets/issues/5559/events
https://github.com/huggingface/datasets/pull/5559
1,593,676,489
PR_kwDODunzps5KcKSb
5,559
Fix map suffix_template
{'login': 'lhoestq', 'id': 42851186, 'node_id': 'MDQ6VXNlcjQyODUxMTg2', 'avatar_url': 'https://avatars.githubusercontent.com/u/42851186?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/lhoestq', 'html_url': 'https://github.com/lhoestq', 'followers_url': 'https://api.github.com/users/lhoestq/followers', 'fo...
[]
closed
False
[]
[ "_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,676,993,186,000
1,677,000,097,000
1,676,999,669,000
MEMBER
#5455 introduced a small bug that lead `map` to ignore the `suffix_template` argument and not put suffixes to cached files in multiprocessing. I fixed this and also improved a few things: - regarding logging: "Loading cached processed dataset" is now logged only once even in multiprocessing (it used to be logged ...
{'url': 'https://api.github.com/repos/huggingface/datasets/issues/5559/reactions', 'total_count': 2, '+1': 0, '-1': 0, 'laugh': 0, 'hooray': 0, 'confused': 0, 'heart': 2, 'rocket': 0, 'eyes': 0}
https://api.github.com/repos/huggingface/datasets/issues/5559/timeline
{'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:29Z'}
true
https://api.github.com/repos/huggingface/datasets/issues/5558
https://api.github.com/repos/huggingface/datasets
https://api.github.com/repos/huggingface/datasets/issues/5558/labels{/name}
https://api.github.com/repos/huggingface/datasets/issues/5558/comments
https://api.github.com/repos/huggingface/datasets/issues/5558/events
https://github.com/huggingface/datasets/pull/5558
1,593,655,815
PR_kwDODunzps5KcF5E
5,558
Remove instructions for `ffmpeg` system package installation on Colab
{'login': 'polinaeterna', 'id': 16348744, 'node_id': 'MDQ6VXNlcjE2MzQ4NzQ0', 'avatar_url': 'https://avatars.githubusercontent.com/u/16348744?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/polinaeterna', 'html_url': 'https://github.com/polinaeterna', 'followers_url': 'https://api.github.com/users/polinaet...
[]
closed
False
[]
[ "_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,676,992,416,000
1,677,678,364,000
1,677,160,227,000
CONTRIBUTOR
Colab now has Ubuntu 20.04 which already has `ffmpeg` of required (>4) version.
{'url': 'https://api.github.com/repos/huggingface/datasets/issues/5558/reactions', 'total_count': 0, '+1': 0, '-1': 0, 'laugh': 0, 'hooray': 0, 'confused': 0, 'heart': 0, 'rocket': 0, 'eyes': 0}
https://api.github.com/repos/huggingface/datasets/issues/5558/timeline
{'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:27Z'}
true
https://api.github.com/repos/huggingface/datasets/issues/5557
https://api.github.com/repos/huggingface/datasets
https://api.github.com/repos/huggingface/datasets/issues/5557/labels{/name}
https://api.github.com/repos/huggingface/datasets/issues/5557/comments
https://api.github.com/repos/huggingface/datasets/issues/5557/events
https://github.com/huggingface/datasets/pull/5557
1,593,545,324
PR_kwDODunzps5Kbube
5,557
Add filter desc
{'login': 'lhoestq', 'id': 42851186, 'node_id': 'MDQ6VXNlcjQyODUxMTg2', 'avatar_url': 'https://avatars.githubusercontent.com/u/42851186?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/lhoestq', 'html_url': 'https://github.com/lhoestq', 'followers_url': 'https://api.github.com/users/lhoestq/followers', 'fo...
[]
closed
False
[]
[ "_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,676,988,282,000
1,676,989,194,000
1,676,988,759,000
MEMBER
Otherwise it would show a `Map` progress bar, since it uses `map` under the hood
{'url': 'https://api.github.com/repos/huggingface/datasets/issues/5557/reactions', 'total_count': 0, '+1': 0, '-1': 0, 'laugh': 0, 'hooray': 0, 'confused': 0, 'heart': 0, 'rocket': 0, 'eyes': 0}
https://api.github.com/repos/huggingface/datasets/issues/5557/timeline
{'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:39Z'}
true
https://api.github.com/repos/huggingface/datasets/issues/5556
https://api.github.com/repos/huggingface/datasets
https://api.github.com/repos/huggingface/datasets/issues/5556/labels{/name}
https://api.github.com/repos/huggingface/datasets/issues/5556/comments
https://api.github.com/repos/huggingface/datasets/issues/5556/events
https://github.com/huggingface/datasets/pull/5556
1,593,246,936
PR_kwDODunzps5KauVL
5,556
Use default audio resampling type
{'login': 'lhoestq', 'id': 42851186, 'node_id': 'MDQ6VXNlcjQyODUxMTg2', 'avatar_url': 'https://avatars.githubusercontent.com/u/42851186?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/lhoestq', 'html_url': 'https://github.com/lhoestq', 'followers_url': 'https://api.github.com/users/lhoestq/followers', 'fo...
[]
closed
False
[]
[ "_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,676,976,350,000
1,676,983,790,000
1,676,983,372,000
MEMBER
...instead of relying on the optional librosa dependency `resampy`. It was only used for `_decode_non_mp3_file_like` anyway and not for the other ones - removing it fixes consistency between decoding methods (except torchaudio decoding) Therefore I think it is a better solution than adding `resampy` as a dependen...
{'url': 'https://api.github.com/repos/huggingface/datasets/issues/5556/reactions', 'total_count': 0, '+1': 0, '-1': 0, 'laugh': 0, 'hooray': 0, 'confused': 0, 'heart': 0, 'rocket': 0, 'eyes': 0}
https://api.github.com/repos/huggingface/datasets/issues/5556/timeline
{'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:52Z'}
true
https://api.github.com/repos/huggingface/datasets/issues/5555
https://api.github.com/repos/huggingface/datasets
https://api.github.com/repos/huggingface/datasets/issues/5555/labels{/name}
https://api.github.com/repos/huggingface/datasets/issues/5555/comments
https://api.github.com/repos/huggingface/datasets/issues/5555/events
https://github.com/huggingface/datasets/issues/5555
1,592,469,938
I_kwDODunzps5e6ymy
5,555
`.shuffle` throwing error `ValueError: Protocol not known: parent`
{'login': 'prabhakar267', 'id': 10768588, 'node_id': 'MDQ6VXNlcjEwNzY4NTg4', 'avatar_url': 'https://avatars.githubusercontent.com/u/10768588?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/prabhakar267', 'html_url': 'https://github.com/prabhakar267', 'followers_url': 'https://api.github.com/users/prabhaka...
[]
open
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,676,928,825,000
1,677,489,814,000
null
NONE
### Describe the bug ``` --------------------------------------------------------------------------- ValueError Traceback (most recent call last) Cell In [16], line 1 ----> 1 train_dataset = train_dataset.shuffle() File /opt/conda/envs/pytorch/lib/python3.9/site-packages/dataset...
{'url': 'https://api.github.com/repos/huggingface/datasets/issues/5555/reactions', 'total_count': 0, '+1': 0, '-1': 0, 'laugh': 0, 'hooray': 0, 'confused': 0, 'heart': 0, 'rocket': 0, 'eyes': 0}
https://api.github.com/repos/huggingface/datasets/issues/5555/timeline
true
https://api.github.com/repos/huggingface/datasets/issues/5554
https://api.github.com/repos/huggingface/datasets
https://api.github.com/repos/huggingface/datasets/issues/5554/labels{/name}
https://api.github.com/repos/huggingface/datasets/issues/5554/comments
https://api.github.com/repos/huggingface/datasets/issues/5554/events
https://github.com/huggingface/datasets/pull/5554
1,592,285,062
PR_kwDODunzps5KXhZh
5,554
Add resampy dep
{'login': 'lhoestq', 'id': 42851186, 'node_id': 'MDQ6VXNlcjQyODUxMTg2', 'avatar_url': 'https://avatars.githubusercontent.com/u/42851186?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/lhoestq', 'html_url': 'https://github.com/lhoestq', 'followers_url': 'https://api.github.com/users/lhoestq/followers', 'fo...
[]
closed
False
[]
[ "<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,676,916,943,000
1,676,983,570,000
1,676,983,418,000
MEMBER
In librosa 0.10 they removed the `resmpy` dependency and set it to optional. However it is necessary for resampling. I added it to the "audio" extra dependencies.
{'url': 'https://api.github.com/repos/huggingface/datasets/issues/5554/reactions', 'total_count': 1, '+1': 1, '-1': 0, 'laugh': 0, 'hooray': 0, 'confused': 0, 'heart': 0, 'rocket': 0, 'eyes': 0}
https://api.github.com/repos/huggingface/datasets/issues/5554/timeline
{'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': None}
true
https://api.github.com/repos/huggingface/datasets/issues/5553
https://api.github.com/repos/huggingface/datasets
https://api.github.com/repos/huggingface/datasets/issues/5553/labels{/name}
https://api.github.com/repos/huggingface/datasets/issues/5553/comments
https://api.github.com/repos/huggingface/datasets/issues/5553/events
https://github.com/huggingface/datasets/pull/5553
1,592,236,998
PR_kwDODunzps5KXXUq
5,553
improved message error row formatting
{'login': 'Plutone11011', 'id': 26489385, 'node_id': 'MDQ6VXNlcjI2NDg5Mzg1', 'avatar_url': 'https://avatars.githubusercontent.com/u/26489385?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/Plutone11011', 'html_url': 'https://github.com/Plutone11011', 'followers_url': 'https://api.github.com/users/Plutone1...
[]
closed
False
[]
[ "_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,676,914,154,000
1,676,984,905,000
1,676,984,292,000
CONTRIBUTOR
Solves #5539
{'url': 'https://api.github.com/repos/huggingface/datasets/issues/5553/reactions', 'total_count': 0, '+1': 0, '-1': 0, 'laugh': 0, 'hooray': 0, 'confused': 0, 'heart': 0, 'rocket': 0, 'eyes': 0}
https://api.github.com/repos/huggingface/datasets/issues/5553/timeline
{'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:12Z'}
true
https://api.github.com/repos/huggingface/datasets/issues/5552
https://api.github.com/repos/huggingface/datasets
https://api.github.com/repos/huggingface/datasets/issues/5552/labels{/name}
https://api.github.com/repos/huggingface/datasets/issues/5552/comments
https://api.github.com/repos/huggingface/datasets/issues/5552/events
https://github.com/huggingface/datasets/pull/5552
1,592,186,703
PR_kwDODunzps5KXMjA
5,552
Make tiktoken tokenizers hashable
{'login': 'mariosasko', 'id': 47462742, 'node_id': 'MDQ6VXNlcjQ3NDYyNzQy', 'avatar_url': 'https://avatars.githubusercontent.com/u/47462742?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/mariosasko', 'html_url': 'https://github.com/mariosasko', 'followers_url': 'https://api.github.com/users/mariosasko/fol...
[]
closed
False
[]
[ "_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,676,911,809,000
1,676,985,642,000
1,676,985,185,000
CONTRIBUTOR
Fix for https://discord.com/channels/879548962464493619/1075729627546406912/1075729627546406912
{'url': 'https://api.github.com/repos/huggingface/datasets/issues/5552/reactions', 'total_count': 0, '+1': 0, '-1': 0, 'laugh': 0, 'hooray': 0, 'confused': 0, 'heart': 0, 'rocket': 0, 'eyes': 0}
https://api.github.com/repos/huggingface/datasets/issues/5552/timeline
{'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:05Z'}
true
https://api.github.com/repos/huggingface/datasets/issues/5551
https://api.github.com/repos/huggingface/datasets
https://api.github.com/repos/huggingface/datasets/issues/5551/labels{/name}
https://api.github.com/repos/huggingface/datasets/issues/5551/comments
https://api.github.com/repos/huggingface/datasets/issues/5551/events
https://github.com/huggingface/datasets/pull/5551
1,592,140,836
PR_kwDODunzps5KXCof
5,551
Suggest scikit-learn instead of sklearn
{'login': 'osbm', 'id': 74963545, 'node_id': 'MDQ6VXNlcjc0OTYzNTQ1', 'avatar_url': 'https://avatars.githubusercontent.com/u/74963545?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/osbm', 'html_url': 'https://github.com/osbm', 'followers_url': 'https://api.github.com/users/osbm/followers', 'following_url'...
[]
closed
False
[]
[ "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,676,909,817,000
1,676,986,077,000
1,676,985,667,000
CONTRIBUTOR
This is kinda unimportant fix but, the suggested `pip install sklearn` does not work. The current error message if sklearn is not installed: ``` ImportError: To be able to use [dataset name], you need to install the following dependency: sklearn. Please install it using 'pip install sklearn' for instance. ``` ...
{'url': 'https://api.github.com/repos/huggingface/datasets/issues/5551/reactions', 'total_count': 1, '+1': 1, '-1': 0, 'laugh': 0, 'hooray': 0, 'confused': 0, 'heart': 0, 'rocket': 0, 'eyes': 0}
https://api.github.com/repos/huggingface/datasets/issues/5551/timeline
{'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:07Z'}
true
https://api.github.com/repos/huggingface/datasets/issues/5550
https://api.github.com/repos/huggingface/datasets
https://api.github.com/repos/huggingface/datasets/issues/5550/labels{/name}
https://api.github.com/repos/huggingface/datasets/issues/5550/comments
https://api.github.com/repos/huggingface/datasets/issues/5550/events
https://github.com/huggingface/datasets/pull/5550
1,591,409,475
PR_kwDODunzps5KUl5i
5,550
Resolve four broken refs in the docs
{'login': 'tomaarsen', 'id': 37621491, 'node_id': 'MDQ6VXNlcjM3NjIxNDkx', 'avatar_url': 'https://avatars.githubusercontent.com/u/37621491?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/tomaarsen', 'html_url': 'https://github.com/tomaarsen', 'followers_url': 'https://api.github.com/users/tomaarsen/followe...
[]
closed
False
[]
[ "_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,676,883,131,000
1,676,906,173,000
1,676,905,753,000
CONTRIBUTOR
Hello! ## Pull Request overview * Resolve 4 broken references in the docs ## The problems Two broken references [here](https://huggingface.co/docs/datasets/package_reference/main_classes#datasets.Dataset.class_encode_column): ![image](https://user-images.githubusercontent.com/37621491/220056232-366b64dc-33c9-...
{'url': 'https://api.github.com/repos/huggingface/datasets/issues/5550/reactions', 'total_count': 0, '+1': 0, '-1': 0, 'laugh': 0, 'hooray': 0, 'confused': 0, 'heart': 0, 'rocket': 0, 'eyes': 0}
https://api.github.com/repos/huggingface/datasets/issues/5550/timeline
{'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:13Z'}
true
https://api.github.com/repos/huggingface/datasets/issues/5549
https://api.github.com/repos/huggingface/datasets
https://api.github.com/repos/huggingface/datasets/issues/5549/labels{/name}
https://api.github.com/repos/huggingface/datasets/issues/5549/comments
https://api.github.com/repos/huggingface/datasets/issues/5549/events
https://github.com/huggingface/datasets/pull/5549
1,590,836,848
PR_kwDODunzps5KSsi3
5,549
Apply ruff flake8-comprehension checks
{'login': 'Skylion007', 'id': 2053727, 'node_id': 'MDQ6VXNlcjIwNTM3Mjc=', 'avatar_url': 'https://avatars.githubusercontent.com/u/2053727?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/Skylion007', 'html_url': 'https://github.com/Skylion007', 'followers_url': 'https://api.github.com/users/Skylion007/follo...
[]
closed
False
[]
[ "_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,676,837,368,000
1,677,161,199,000
1,677,160,779,000
CONTRIBUTOR
Fix #5548 Apply ruff's flake8-comprehension checks for better performance, and more readable code.
{'url': 'https://api.github.com/repos/huggingface/datasets/issues/5549/reactions', 'total_count': 0, '+1': 0, '-1': 0, 'laugh': 0, 'hooray': 0, 'confused': 0, 'heart': 0, 'rocket': 0, 'eyes': 0}
https://api.github.com/repos/huggingface/datasets/issues/5549/timeline
{'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:39Z'}
true
https://api.github.com/repos/huggingface/datasets/issues/5548
https://api.github.com/repos/huggingface/datasets
https://api.github.com/repos/huggingface/datasets/issues/5548/labels{/name}
https://api.github.com/repos/huggingface/datasets/issues/5548/comments
https://api.github.com/repos/huggingface/datasets/issues/5548/events
https://github.com/huggingface/datasets/issues/5548
1,590,835,479
I_kwDODunzps5e0jkX
5,548
Apply flake8-comprehensions to codebase
{'login': 'Skylion007', 'id': 2053727, 'node_id': 'MDQ6VXNlcjIwNTM3Mjc=', 'avatar_url': 'https://avatars.githubusercontent.com/u/2053727?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/Skylion007', 'html_url': 'https://github.com/Skylion007', 'followers_url': 'https://api.github.com/users/Skylion007/follo...
[{'id': 1935892871, 'node_id': 'MDU6TGFiZWwxOTM1ODkyODcx', 'url': 'https://api.github.com/repos/huggingface/datasets/labels/enhancement', 'name': 'enhancement', 'color': 'a2eeef', 'default': True, 'description': 'New feature or request'}]
closed
False
[]
[]
1,676,837,138,000
1,677,160,781,000
1,677,160,781,000
CONTRIBUTOR
### Feature request Apply ruff flake8 comprehension checks to codebase. ### Motivation This should strictly improve the performance / readability of the codebase by removing unnecessary iteration, function calls, etc. This should generate better Python bytecode which should strictly improve performance. I alread...
{'url': 'https://api.github.com/repos/huggingface/datasets/issues/5548/reactions', 'total_count': 0, '+1': 0, '-1': 0, 'laugh': 0, 'hooray': 0, 'confused': 0, 'heart': 0, 'rocket': 0, 'eyes': 0}
https://api.github.com/repos/huggingface/datasets/issues/5548/timeline
completed
true
https://api.github.com/repos/huggingface/datasets/issues/5547
https://api.github.com/repos/huggingface/datasets
https://api.github.com/repos/huggingface/datasets/issues/5547/labels{/name}
https://api.github.com/repos/huggingface/datasets/issues/5547/comments
https://api.github.com/repos/huggingface/datasets/issues/5547/events
https://github.com/huggingface/datasets/pull/5547
1,590,468,200
PR_kwDODunzps5KRmcf
5,547
Add JAX device selection when formatting
{'login': 'alvarobartt', 'id': 36760800, 'node_id': 'MDQ6VXNlcjM2NzYwODAw', 'avatar_url': 'https://avatars.githubusercontent.com/u/36760800?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/alvarobartt', 'html_url': 'https://github.com/alvarobartt', 'followers_url': 'https://api.github.com/users/alvarobartt...
[]
closed
False
[]
[ "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,676,753,860,000
1,676,995,855,000
1,676,995,443,000
CONTRIBUTOR
## What's in this PR? After exploring for a while the JAX integration in 🤗`datasets`, I found out that, even though JAX prioritizes the TPU and GPU as the default device when available, the `JaxFormatter` doesn't let you specify the device where you want to place the `jax.Array`s in case you don't want to rely on J...
{'url': 'https://api.github.com/repos/huggingface/datasets/issues/5547/reactions', 'total_count': 0, '+1': 0, '-1': 0, 'laugh': 0, 'hooray': 0, 'confused': 0, 'heart': 0, 'rocket': 0, 'eyes': 0}
https://api.github.com/repos/huggingface/datasets/issues/5547/timeline
{'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:03Z'}
true
https://api.github.com/repos/huggingface/datasets/issues/5546
https://api.github.com/repos/huggingface/datasets
https://api.github.com/repos/huggingface/datasets/issues/5546/labels{/name}
https://api.github.com/repos/huggingface/datasets/issues/5546/comments
https://api.github.com/repos/huggingface/datasets/issues/5546/events
https://github.com/huggingface/datasets/issues/5546
1,590,346,349
I_kwDODunzps5eysJt
5,546
Downloaded datasets do not cache at $HF_HOME
{'login': 'ErfanMoosaviMonazzah', 'id': 79091831, 'node_id': 'MDQ6VXNlcjc5MDkxODMx', 'avatar_url': 'https://avatars.githubusercontent.com/u/79091831?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/ErfanMoosaviMonazzah', 'html_url': 'https://github.com/ErfanMoosaviMonazzah', 'followers_url': 'https://api.g...
[]
open
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,676,727,035,000
1,676,985,484,000
null
NONE
### Describe the bug In the huggingface course (https://huggingface.co/course/chapter3/2?fw=pt) it said that if we set HF_HOME, downloaded datasets would be cached at specified address but it does not. downloaded models from checkpoint names are downloaded and cached at HF_HOME but this is not the case for datasets, t...
{'url': 'https://api.github.com/repos/huggingface/datasets/issues/5546/reactions', 'total_count': 0, '+1': 0, '-1': 0, 'laugh': 0, 'hooray': 0, 'confused': 0, 'heart': 0, 'rocket': 0, 'eyes': 0}
https://api.github.com/repos/huggingface/datasets/issues/5546/timeline
true
https://api.github.com/repos/huggingface/datasets/issues/5545
https://api.github.com/repos/huggingface/datasets
https://api.github.com/repos/huggingface/datasets/issues/5545/labels{/name}
https://api.github.com/repos/huggingface/datasets/issues/5545/comments
https://api.github.com/repos/huggingface/datasets/issues/5545/events
https://github.com/huggingface/datasets/pull/5545
1,590,315,972
PR_kwDODunzps5KRKct
5,545
Added return methods for URL-references to the pushed dataset
{'login': 'davidberenstein1957', 'id': 25269220, 'node_id': 'MDQ6VXNlcjI1MjY5MjIw', 'avatar_url': 'https://avatars.githubusercontent.com/u/25269220?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/davidberenstein1957', 'html_url': 'https://github.com/davidberenstein1957', 'followers_url': 'https://api.gith...
[]
open
False
[]
[ "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,676,719,585,000
1,676,989,048,000
null
NONE
Hi, I was missing the ability to easily open the pushed dataset and it seemed like a quick fix. Maybe we also want to log this info somewhere, but let me know if I need to add that too. Cheers, David
{'url': 'https://api.github.com/repos/huggingface/datasets/issues/5545/reactions', 'total_count': 0, '+1': 0, '-1': 0, 'laugh': 0, 'hooray': 0, 'confused': 0, 'heart': 0, 'rocket': 0, 'eyes': 0}
https://api.github.com/repos/huggingface/datasets/issues/5545/timeline
{'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': None}
true
https://api.github.com/repos/huggingface/datasets/issues/5543
https://api.github.com/repos/huggingface/datasets
https://api.github.com/repos/huggingface/datasets/issues/5543/labels{/name}
https://api.github.com/repos/huggingface/datasets/issues/5543/comments
https://api.github.com/repos/huggingface/datasets/issues/5543/events
https://github.com/huggingface/datasets/issues/5543
1,588,951,379
I_kwDODunzps5etXlT
5,543
the pile datasets url seems to change back
{'login': 'wjfwzzc', 'id': 5126316, 'node_id': 'MDQ6VXNlcjUxMjYzMTY=', 'avatar_url': 'https://avatars.githubusercontent.com/u/5126316?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/wjfwzzc', 'html_url': 'https://github.com/wjfwzzc', 'followers_url': 'https://api.github.com/users/wjfwzzc/followers', 'foll...
[]
closed
False
{'login': 'albertvillanova', 'id': 8515462, 'node_id': 'MDQ6VXNlcjg1MTU0NjI=', 'avatar_url': 'https://avatars.githubusercontent.com/u/8515462?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/albertvillanova', 'html_url': 'https://github.com/albertvillanova', 'followers_url': 'https://api.github.com/users/a...
[{'login': 'albertvillanova', 'id': 8515462, 'node_id': 'MDQ6VXNlcjg1MTU0NjI=', 'avatar_url': 'https://avatars.githubusercontent.com/u/8515462?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/albertvillanova', 'html_url': 'https://github.com/albertvillanova', 'followers_url': 'https://api.github.com/users/...
[ "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,676,623,211,000
1,676,961,420,000
1,676,882,493,000
NONE
### Describe the bug in #3627, the host url of the pile dataset became `https://mystic.the-eye.eu`. Now the new url is broken, but `https://the-eye.eu` seems to work again. ### Steps to reproduce the bug ```python3 from datasets import load_dataset dataset = load_dataset("bookcorpusopen") ``` shows ```python3 ...
{'url': 'https://api.github.com/repos/huggingface/datasets/issues/5543/reactions', 'total_count': 0, '+1': 0, '-1': 0, 'laugh': 0, 'hooray': 0, 'confused': 0, 'heart': 0, 'rocket': 0, 'eyes': 0}
https://api.github.com/repos/huggingface/datasets/issues/5543/timeline
completed
true
https://api.github.com/repos/huggingface/datasets/issues/5542
https://api.github.com/repos/huggingface/datasets
https://api.github.com/repos/huggingface/datasets/issues/5542/labels{/name}
https://api.github.com/repos/huggingface/datasets/issues/5542/comments
https://api.github.com/repos/huggingface/datasets/issues/5542/events
https://github.com/huggingface/datasets/pull/5542
1,588,633,724
PR_kwDODunzps5KLjMl
5,542
Avoid saving sparse ChunkedArrays in pyarrow tables
{'login': 'marioga', 'id': 6591505, 'node_id': 'MDQ6VXNlcjY1OTE1MDU=', 'avatar_url': 'https://avatars.githubusercontent.com/u/6591505?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/marioga', 'html_url': 'https://github.com/marioga', 'followers_url': 'https://api.github.com/users/marioga/followers', 'foll...
[]
closed
False
[]
[ "_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,676,598,758,000
1,676,661,649,000
1,676,632,352,000
CONTRIBUTOR
Fixes https://github.com/huggingface/datasets/issues/5541
{'url': 'https://api.github.com/repos/huggingface/datasets/issues/5542/reactions', 'total_count': 1, '+1': 0, '-1': 0, 'laugh': 0, 'hooray': 0, 'confused': 0, 'heart': 1, 'rocket': 0, 'eyes': 0}
https://api.github.com/repos/huggingface/datasets/issues/5542/timeline
{'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:32Z'}
true
https://api.github.com/repos/huggingface/datasets/issues/5541
https://api.github.com/repos/huggingface/datasets
https://api.github.com/repos/huggingface/datasets/issues/5541/labels{/name}
https://api.github.com/repos/huggingface/datasets/issues/5541/comments
https://api.github.com/repos/huggingface/datasets/issues/5541/events
https://github.com/huggingface/datasets/issues/5541
1,588,633,555
I_kwDODunzps5esJ_T
5,541
Flattening indices in selected datasets is extremely inefficient
{'login': 'marioga', 'id': 6591505, 'node_id': 'MDQ6VXNlcjY1OTE1MDU=', 'avatar_url': 'https://avatars.githubusercontent.com/u/6591505?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/marioga', 'html_url': 'https://github.com/marioga', 'followers_url': 'https://api.github.com/users/marioga/followers', 'foll...
[]
closed
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,676,598,744,000
1,677,071,720,000
1,676,632,353,000
CONTRIBUTOR
### Describe the bug If we perform a `select` (or `shuffle`, `train_test_split`, etc.) operation on a dataset , we end up with a dataset with an `indices_table`. Currently, flattening such dataset consumes a lot of memory and the resulting flat dataset contains ChunkedArrays with as many chunks as there are rows. Thi...
{'url': 'https://api.github.com/repos/huggingface/datasets/issues/5541/reactions', 'total_count': 0, '+1': 0, '-1': 0, 'laugh': 0, 'hooray': 0, 'confused': 0, 'heart': 0, 'rocket': 0, 'eyes': 0}
https://api.github.com/repos/huggingface/datasets/issues/5541/timeline
completed
true
https://api.github.com/repos/huggingface/datasets/issues/5540
https://api.github.com/repos/huggingface/datasets
https://api.github.com/repos/huggingface/datasets/issues/5540/labels{/name}
https://api.github.com/repos/huggingface/datasets/issues/5540/comments
https://api.github.com/repos/huggingface/datasets/issues/5540/events
https://github.com/huggingface/datasets/pull/5540
1,588,438,344
PR_kwDODunzps5KK5qz
5,540
Tutorial for creating a dataset
{'login': 'stevhliu', 'id': 59462357, 'node_id': 'MDQ6VXNlcjU5NDYyMzU3', 'avatar_url': 'https://avatars.githubusercontent.com/u/59462357?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/stevhliu', 'html_url': 'https://github.com/stevhliu', 'followers_url': 'https://api.github.com/users/stevhliu/followers',...
[]
closed
False
[]
[ "_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,676,585,375,000
1,676,659,846,000
1,676,659,288,000
MEMBER
A tutorial for creating datasets based on the folder-based builders and `from_dict` and `from_generator` methods. I've also mentioned loading scripts as a next step, but I think we should keep the tutorial focused on the low-code methods. Let me know what you think! 🙂
{'url': 'https://api.github.com/repos/huggingface/datasets/issues/5540/reactions', 'total_count': 0, '+1': 0, '-1': 0, 'laugh': 0, 'hooray': 0, 'confused': 0, 'heart': 0, 'rocket': 0, 'eyes': 0}
https://api.github.com/repos/huggingface/datasets/issues/5540/timeline
{'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:28Z'}
true
https://api.github.com/repos/huggingface/datasets/issues/5539
https://api.github.com/repos/huggingface/datasets
https://api.github.com/repos/huggingface/datasets/issues/5539/labels{/name}
https://api.github.com/repos/huggingface/datasets/issues/5539/comments
https://api.github.com/repos/huggingface/datasets/issues/5539/events
https://github.com/huggingface/datasets/issues/5539
1,587,970,083
I_kwDODunzps5epoAj
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
{'login': 'aalbersk', 'id': 41912135, 'node_id': 'MDQ6VXNlcjQxOTEyMTM1', 'avatar_url': 'https://avatars.githubusercontent.com/u/41912135?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/aalbersk', 'html_url': 'https://github.com/aalbersk', 'followers_url': 'https://api.github.com/users/aalbersk/followers',...
[{'id': 1935892877, 'node_id': 'MDU6TGFiZWwxOTM1ODkyODc3', 'url': 'https://api.github.com/repos/huggingface/datasets/labels/good%20first%20issue', 'name': 'good first issue', 'color': '7057ff', 'default': True, 'description': 'Good for newcomers'}]
closed
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,676,563,731,000
1,677,061,830,000
1,676,984,637,000
NONE
### Describe the bug When dataset contains a 0-dim tensor, formatting.py raises a following error and fails. ```bash Traceback (most recent call last): File "<path>/lib/python3.8/site-packages/datasets/formatting/formatting.py", line 501, in format_row return _unnest(formatted_batch) File "<path>/lib/py...
{'url': 'https://api.github.com/repos/huggingface/datasets/issues/5539/reactions', 'total_count': 0, '+1': 0, '-1': 0, 'laugh': 0, 'hooray': 0, 'confused': 0, 'heart': 0, 'rocket': 0, 'eyes': 0}
https://api.github.com/repos/huggingface/datasets/issues/5539/timeline
completed
true
https://api.github.com/repos/huggingface/datasets/issues/5538
https://api.github.com/repos/huggingface/datasets
https://api.github.com/repos/huggingface/datasets/issues/5538/labels{/name}
https://api.github.com/repos/huggingface/datasets/issues/5538/comments
https://api.github.com/repos/huggingface/datasets/issues/5538/events
https://github.com/huggingface/datasets/issues/5538
1,587,732,596
I_kwDODunzps5eouB0
5,538
load_dataset in seaborn is not working for me. getting this error.
{'login': 'reemaranibarik', 'id': 125575109, 'node_id': 'U_kgDOB3wfxQ', 'avatar_url': 'https://avatars.githubusercontent.com/u/125575109?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/reemaranibarik', 'html_url': 'https://github.com/reemaranibarik', 'followers_url': 'https://api.github.com/users/reemaran...
[]
closed
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,676,556,118,000
1,676,558,676,000
1,676,558,676,000
NONE
TimeoutError Traceback (most recent call last) ~\anaconda3\lib\urllib\request.py in do_open(self, http_class, req, **http_conn_args) 1345 try: -> 1346 h.request(req.get_method(), req.selector, req.data, headers, 1347 encode_chu...
{'url': 'https://api.github.com/repos/huggingface/datasets/issues/5538/reactions', 'total_count': 0, '+1': 0, '-1': 0, 'laugh': 0, 'hooray': 0, 'confused': 0, 'heart': 0, 'rocket': 0, 'eyes': 0}
https://api.github.com/repos/huggingface/datasets/issues/5538/timeline
completed
true
https://api.github.com/repos/huggingface/datasets/issues/5537
https://api.github.com/repos/huggingface/datasets
https://api.github.com/repos/huggingface/datasets/issues/5537/labels{/name}
https://api.github.com/repos/huggingface/datasets/issues/5537/comments
https://api.github.com/repos/huggingface/datasets/issues/5537/events
https://github.com/huggingface/datasets/issues/5537
1,587,567,464
I_kwDODunzps5eoFto
5,537
Increase speed of data files resolution
{'login': 'lhoestq', 'id': 42851186, 'node_id': 'MDQ6VXNlcjQyODUxMTg2', 'avatar_url': 'https://avatars.githubusercontent.com/u/42851186?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/lhoestq', 'html_url': 'https://github.com/lhoestq', 'followers_url': 'https://api.github.com/users/lhoestq/followers', 'fo...
[{'id': 1935892871, 'node_id': 'MDU6TGFiZWwxOTM1ODkyODcx', 'url': 'https://api.github.com/repos/huggingface/datasets/labels/enhancement', 'name': 'enhancement', 'color': 'a2eeef', 'default': True, 'description': 'New feature or request'}, {'id': 3761482852, 'node_id': 'LA_kwDODunzps7gM6xk', 'url': 'https://api.github.c...
open
False
[]
[]
1,676,549,505,000
1,676,549,505,000
null
MEMBER
Certain datasets like `bigcode/the-stack-dedup` have so many files that loading them takes forever right from the data files resolution step. `datasets` uses file patterns to check the structure of the repository but it takes too much time to iterate over and over again on all the data files. This come from `reso...
{'url': 'https://api.github.com/repos/huggingface/datasets/issues/5537/reactions', 'total_count': 0, '+1': 0, '-1': 0, 'laugh': 0, 'hooray': 0, 'confused': 0, 'heart': 0, 'rocket': 0, 'eyes': 0}
https://api.github.com/repos/huggingface/datasets/issues/5537/timeline
true
https://api.github.com/repos/huggingface/datasets/issues/5536
https://api.github.com/repos/huggingface/datasets
https://api.github.com/repos/huggingface/datasets/issues/5536/labels{/name}
https://api.github.com/repos/huggingface/datasets/issues/5536/comments
https://api.github.com/repos/huggingface/datasets/issues/5536/events
https://github.com/huggingface/datasets/issues/5536
1,586,930,643
I_kwDODunzps5elqPT
5,536
Failure to hash function when using .map()
{'login': 'venzen', 'id': 6916056, 'node_id': 'MDQ6VXNlcjY5MTYwNTY=', 'avatar_url': 'https://avatars.githubusercontent.com/u/6916056?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/venzen', 'html_url': 'https://github.com/venzen', 'followers_url': 'https://api.github.com/users/venzen/followers', 'followin...
[]
closed
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,676,517,127,000
1,677,579,688,000
1,676,559,401,000
NONE
### Describe the bug _Parameter 'function'=<function process at 0x7f1ec4388af0> of the transform datasets.arrow_dataset.Dataset.\_map_single couldn't be hashed properly, a random hash was used instead. Make sure your transforms and parameters are serializable with pickle or dill for the dataset fingerprinting and ca...
{'url': 'https://api.github.com/repos/huggingface/datasets/issues/5536/reactions', 'total_count': 0, '+1': 0, '-1': 0, 'laugh': 0, 'hooray': 0, 'confused': 0, 'heart': 0, 'rocket': 0, 'eyes': 0}
https://api.github.com/repos/huggingface/datasets/issues/5536/timeline
completed
true
https://api.github.com/repos/huggingface/datasets/issues/5535
https://api.github.com/repos/huggingface/datasets
https://api.github.com/repos/huggingface/datasets/issues/5535/labels{/name}
https://api.github.com/repos/huggingface/datasets/issues/5535/comments
https://api.github.com/repos/huggingface/datasets/issues/5535/events
https://github.com/huggingface/datasets/pull/5535
1,586,520,369
PR_kwDODunzps5KEb5L
5,535
Add JAX-formatting documentation
{'login': 'alvarobartt', 'id': 36760800, 'node_id': 'MDQ6VXNlcjM2NzYwODAw', 'avatar_url': 'https://avatars.githubusercontent.com/u/36760800?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/alvarobartt', 'html_url': 'https://github.com/alvarobartt', 'followers_url': 'https://api.github.com/users/alvarobartt...
[]
closed
False
[]
[ "_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,676,493,311,000
1,676,889,582,000
1,676,889,159,000
CONTRIBUTOR
## What's in this PR? As a follow-up of #5522, I've created this entry in the documentation to explain how to use `.with_format("jax")` and why is it useful. @lhoestq Feel free to drop any feedback and/or suggestion, as probably more useful features can be included there!
{'url': 'https://api.github.com/repos/huggingface/datasets/issues/5535/reactions', 'total_count': 1, '+1': 0, '-1': 0, 'laugh': 0, 'hooray': 0, 'confused': 0, 'heart': 1, 'rocket': 0, 'eyes': 0}
https://api.github.com/repos/huggingface/datasets/issues/5535/timeline
{'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:39Z'}
true
https://api.github.com/repos/huggingface/datasets/issues/5534
https://api.github.com/repos/huggingface/datasets
https://api.github.com/repos/huggingface/datasets/issues/5534/labels{/name}
https://api.github.com/repos/huggingface/datasets/issues/5534/comments
https://api.github.com/repos/huggingface/datasets/issues/5534/events
https://github.com/huggingface/datasets/issues/5534
1,586,177,862
I_kwDODunzps5eiydG
5,534
map() breaks at certain dataset size when using Array3D
{'login': 'ArneBinder', 'id': 3375489, 'node_id': 'MDQ6VXNlcjMzNzU0ODk=', 'avatar_url': 'https://avatars.githubusercontent.com/u/3375489?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/ArneBinder', 'html_url': 'https://github.com/ArneBinder', 'followers_url': 'https://api.github.com/users/ArneBinder/follo...
[]
open
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,676,478,865,000
1,677,861,093,000
null
NONE
### Describe the bug `map()` magically breaks when using a `Array3D` feature and mapping it. I created a very simple dummy dataset (see below). When filtering it down to 95 elements I can apply map, but it breaks when filtering it down to just 96 entries with the following exception: ``` Traceback (most recent cal...
{'url': 'https://api.github.com/repos/huggingface/datasets/issues/5534/reactions', 'total_count': 0, '+1': 0, '-1': 0, 'laugh': 0, 'hooray': 0, 'confused': 0, 'heart': 0, 'rocket': 0, 'eyes': 0}
https://api.github.com/repos/huggingface/datasets/issues/5534/timeline
true
https://api.github.com/repos/huggingface/datasets/issues/5533
https://api.github.com/repos/huggingface/datasets
https://api.github.com/repos/huggingface/datasets/issues/5533/labels{/name}
https://api.github.com/repos/huggingface/datasets/issues/5533/comments
https://api.github.com/repos/huggingface/datasets/issues/5533/events
https://github.com/huggingface/datasets/pull/5533
1,585,885,871
PR_kwDODunzps5KCR5I
5,533
Add reduce function
{'login': 'AJDERS', 'id': 38854604, 'node_id': 'MDQ6VXNlcjM4ODU0NjA0', 'avatar_url': 'https://avatars.githubusercontent.com/u/38854604?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/AJDERS', 'html_url': 'https://github.com/AJDERS', 'followers_url': 'https://api.github.com/users/AJDERS/followers', 'follow...
[]
closed
False
[]
[ "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,676,468,641,000
1,677,595,573,000
1,677,595,572,000
NONE
This PR closes #5496 . I tried to imitate the `reduce`-method from `functools`, i.e. the function input must be a binary operation. I assume that the input type has an empty element, i.e. `input_type()` is defined, as the acumulant is instantiated as this object - im not sure that is this a reasonable assumption? ...
{'url': 'https://api.github.com/repos/huggingface/datasets/issues/5533/reactions', 'total_count': 0, '+1': 0, '-1': 0, 'laugh': 0, 'hooray': 0, 'confused': 0, 'heart': 0, 'rocket': 0, 'eyes': 0}
https://api.github.com/repos/huggingface/datasets/issues/5533/timeline
{'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': None}
true
https://api.github.com/repos/huggingface/datasets/issues/5532
https://api.github.com/repos/huggingface/datasets
https://api.github.com/repos/huggingface/datasets/issues/5532/labels{/name}
https://api.github.com/repos/huggingface/datasets/issues/5532/comments
https://api.github.com/repos/huggingface/datasets/issues/5532/events
https://github.com/huggingface/datasets/issues/5532
1,584,505,128
I_kwDODunzps5ecaEo
5,532
train_test_split in arrow_dataset does not ensure to keep single classes in test set
{'login': 'Ulipenitz', 'id': 37191008, 'node_id': 'MDQ6VXNlcjM3MTkxMDA4', 'avatar_url': 'https://avatars.githubusercontent.com/u/37191008?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/Ulipenitz', 'html_url': 'https://github.com/Ulipenitz', 'followers_url': 'https://api.github.com/users/Ulipenitz/followe...
[]
closed
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,676,393,549,000
1,676,477,359,000
1,676,477,359,000
NONE
### Describe the bug When I have a dataset with very few (e.g. 1) examples per class and I call the train_test_split function on it, sometimes the single class will be in the test set. thus will never be considered for training. ### Steps to reproduce the bug ``` import numpy as np from datasets import Dataset ...
{'url': 'https://api.github.com/repos/huggingface/datasets/issues/5532/reactions', 'total_count': 0, '+1': 0, '-1': 0, 'laugh': 0, 'hooray': 0, 'confused': 0, 'heart': 0, 'rocket': 0, 'eyes': 0}
https://api.github.com/repos/huggingface/datasets/issues/5532/timeline
completed
true
https://api.github.com/repos/huggingface/datasets/issues/5531
https://api.github.com/repos/huggingface/datasets
https://api.github.com/repos/huggingface/datasets/issues/5531/labels{/name}
https://api.github.com/repos/huggingface/datasets/issues/5531/comments
https://api.github.com/repos/huggingface/datasets/issues/5531/events
https://github.com/huggingface/datasets/issues/5531
1,584,387,276
I_kwDODunzps5eb9TM
5,531
Invalid Arrow data from JSONL
{'login': 'lhoestq', 'id': 42851186, 'node_id': 'MDQ6VXNlcjQyODUxMTg2', 'avatar_url': 'https://avatars.githubusercontent.com/u/42851186?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/lhoestq', 'html_url': 'https://github.com/lhoestq', 'followers_url': 'https://api.github.com/users/lhoestq/followers', 'fo...
[{'id': 1935892857, 'node_id': 'MDU6TGFiZWwxOTM1ODkyODU3', 'url': 'https://api.github.com/repos/huggingface/datasets/labels/bug', 'name': 'bug', 'color': 'd73a4a', 'default': True, 'description': "Something isn't working"}]
open
False
[]
[]
1,676,389,189,000
1,676,389,569,000
null
MEMBER
This code fails: ```python from datasets import Dataset ds = Dataset.from_json(path_to_file) ds.data.validate() ``` raises ```python ArrowInvalid: Column 2: In chunk 1: Invalid: Struct child array #3 invalid: Invalid: Length spanned by list offsets (4064) larger than values array (length 4063) ``` This ...
{'url': 'https://api.github.com/repos/huggingface/datasets/issues/5531/reactions', 'total_count': 1, '+1': 0, '-1': 0, 'laugh': 0, 'hooray': 0, 'confused': 0, 'heart': 1, 'rocket': 0, 'eyes': 0}
https://api.github.com/repos/huggingface/datasets/issues/5531/timeline
true
https://api.github.com/repos/huggingface/datasets/issues/5530
https://api.github.com/repos/huggingface/datasets
https://api.github.com/repos/huggingface/datasets/issues/5530/labels{/name}
https://api.github.com/repos/huggingface/datasets/issues/5530/comments
https://api.github.com/repos/huggingface/datasets/issues/5530/events
https://github.com/huggingface/datasets/pull/5530
1,582,938,241
PR_kwDODunzps5J4W_4
5,530
Add missing license in `NumpyFormatter`
{'login': 'alvarobartt', 'id': 36760800, 'node_id': 'MDQ6VXNlcjM2NzYwODAw', 'avatar_url': 'https://avatars.githubusercontent.com/u/36760800?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/alvarobartt', 'html_url': 'https://github.com/alvarobartt', 'followers_url': 'https://api.github.com/users/alvarobartt...
[]
closed
False
[]
[ "_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,676,316,803,000
1,676,385,641,000
1,676,377,438,000
CONTRIBUTOR
## What's in this PR? As discussed with @lhoestq in https://github.com/huggingface/datasets/pull/5522, the license for `NumpyFormatter` at `datasets/formatting/np_formatter.py` was missing, but present on the rest of the `formatting/*.py` files. So this PR is basically to include it there.
{'url': 'https://api.github.com/repos/huggingface/datasets/issues/5530/reactions', 'total_count': 0, '+1': 0, '-1': 0, 'laugh': 0, 'hooray': 0, 'confused': 0, 'heart': 0, 'rocket': 0, 'eyes': 0}
https://api.github.com/repos/huggingface/datasets/issues/5530/timeline
{'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:58Z'}
true
https://api.github.com/repos/huggingface/datasets/issues/5529
https://api.github.com/repos/huggingface/datasets
https://api.github.com/repos/huggingface/datasets/issues/5529/labels{/name}
https://api.github.com/repos/huggingface/datasets/issues/5529/comments
https://api.github.com/repos/huggingface/datasets/issues/5529/events
https://github.com/huggingface/datasets/pull/5529
1,582,501,233
PR_kwDODunzps5J26Fq
5,529
Fix `datasets.load_from_disk`, `DatasetDict.load_from_disk` and `Dataset.load_from_disk`
{'login': 'alvarobartt', 'id': 36760800, 'node_id': 'MDQ6VXNlcjM2NzYwODAw', 'avatar_url': 'https://avatars.githubusercontent.com/u/36760800?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/alvarobartt', 'html_url': 'https://github.com/alvarobartt', 'followers_url': 'https://api.github.com/users/alvarobartt...
[]
closed
False
[]
[ "_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,676,300,095,000
1,677,176,072,000
1,677,175,526,000
CONTRIBUTOR
## What's in this PR? After playing around a little bit with 🤗`datasets` in Google Cloud Storage (GCS), I found out some things that should be fixed IMO in the code: * `datasets.load_from_disk` is not checking whether `state.json` is there too when trying to load a `Dataset`, just `dataset_info.json` is checked ...
{'url': 'https://api.github.com/repos/huggingface/datasets/issues/5529/reactions', 'total_count': 0, '+1': 0, '-1': 0, 'laugh': 0, 'hooray': 0, 'confused': 0, 'heart': 0, 'rocket': 0, 'eyes': 0}
https://api.github.com/repos/huggingface/datasets/issues/5529/timeline
{'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:26Z'}
true
https://api.github.com/repos/huggingface/datasets/issues/5528
https://api.github.com/repos/huggingface/datasets
https://api.github.com/repos/huggingface/datasets/issues/5528/labels{/name}
https://api.github.com/repos/huggingface/datasets/issues/5528/comments
https://api.github.com/repos/huggingface/datasets/issues/5528/events
https://github.com/huggingface/datasets/pull/5528
1,582,195,085
PR_kwDODunzps5J13wC
5,528
Push to hub in a pull request
{'login': 'AJDERS', 'id': 38854604, 'node_id': 'MDQ6VXNlcjM4ODU0NjA0', 'avatar_url': 'https://avatars.githubusercontent.com/u/38854604?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/AJDERS', 'html_url': 'https://github.com/AJDERS', 'followers_url': 'https://api.github.com/users/AJDERS/followers', 'follow...
[]
open
False
[]
[ "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,676,288,627,000
1,679,409,132,000
null
NONE
Fixes #5492. Introduce new kwarg `create_pr` in `push_to_hub`, which is passed to `HFapi.upload_file`.
{'url': 'https://api.github.com/repos/huggingface/datasets/issues/5528/reactions', 'total_count': 0, '+1': 0, '-1': 0, 'laugh': 0, 'hooray': 0, 'confused': 0, 'heart': 0, 'rocket': 0, 'eyes': 0}
https://api.github.com/repos/huggingface/datasets/issues/5528/timeline
{'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': None}
true
https://api.github.com/repos/huggingface/datasets/issues/5527
https://api.github.com/repos/huggingface/datasets
https://api.github.com/repos/huggingface/datasets/issues/5527/labels{/name}
https://api.github.com/repos/huggingface/datasets/issues/5527/comments
https://api.github.com/repos/huggingface/datasets/issues/5527/events
https://github.com/huggingface/datasets/pull/5527
1,581,228,531
PR_kwDODunzps5JysSM
5,527
Fix benchmarks CI - pin protobuf
{'login': 'lhoestq', 'id': 42851186, 'node_id': 'MDQ6VXNlcjQyODUxMTg2', 'avatar_url': 'https://avatars.githubusercontent.com/u/42851186?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/lhoestq', 'html_url': 'https://github.com/lhoestq', 'followers_url': 'https://api.github.com/users/lhoestq/followers', 'fo...
[]
closed
False
[]
[ "_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,676,202,685,000
1,676,284,143,000
1,676,280,256,000
MEMBER
fix https://github.com/huggingface/datasets/actions/runs/4156059127/jobs/7189576331
{'url': 'https://api.github.com/repos/huggingface/datasets/issues/5527/reactions', 'total_count': 0, '+1': 0, '-1': 0, 'laugh': 0, 'hooray': 0, 'confused': 0, 'heart': 0, 'rocket': 0, 'eyes': 0}
https://api.github.com/repos/huggingface/datasets/issues/5527/timeline
{'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:16Z'}
true
https://api.github.com/repos/huggingface/datasets/issues/5526
https://api.github.com/repos/huggingface/datasets
https://api.github.com/repos/huggingface/datasets/issues/5526/labels{/name}
https://api.github.com/repos/huggingface/datasets/issues/5526/comments
https://api.github.com/repos/huggingface/datasets/issues/5526/events
https://github.com/huggingface/datasets/pull/5526
1,580,488,133
PR_kwDODunzps5JwVol
5,526
Allow loading/saving of FAISS index using fsspec
{'login': 'Dref360', 'id': 8976546, 'node_id': 'MDQ6VXNlcjg5NzY1NDY=', 'avatar_url': 'https://avatars.githubusercontent.com/u/8976546?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/Dref360', 'html_url': 'https://github.com/Dref360', 'followers_url': 'https://api.github.com/users/Dref360/followers', 'foll...
[]
open
False
[]
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_5526). All of your documentation changes will be reflected on that endpoint.", "Thanks for the quick review! I updated the code with your suggestion", "Thanks for the quick review @albertvillanova! I updated the code with you...
1,676,072,234,000
1,679,501,872,000
null
CONTRIBUTOR
Fixes #5428 Allow loading/saving of FAISS index using fsspec: 1. Simply use BufferedIOWriter/Reader to Read/Write indices on fsspec stream. 2. Needed `mockfs` in the test, so I took it out of the `TestCase`. Let me know if that makes sense. I can work on the documentation once the code changes are approved.
{'url': 'https://api.github.com/repos/huggingface/datasets/issues/5526/reactions', 'total_count': 0, '+1': 0, '-1': 0, 'laugh': 0, 'hooray': 0, 'confused': 0, 'heart': 0, 'rocket': 0, 'eyes': 0}
https://api.github.com/repos/huggingface/datasets/issues/5526/timeline
{'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': None}
true
https://api.github.com/repos/huggingface/datasets/issues/5525
https://api.github.com/repos/huggingface/datasets
https://api.github.com/repos/huggingface/datasets/issues/5525/labels{/name}
https://api.github.com/repos/huggingface/datasets/issues/5525/comments
https://api.github.com/repos/huggingface/datasets/issues/5525/events
https://github.com/huggingface/datasets/issues/5525
1,580,342,729
I_kwDODunzps5eMh3J
5,525
TypeError: Couldn't cast array of type string to null
{'login': 'TJ-Solergibert', 'id': 74564958, 'node_id': 'MDQ6VXNlcjc0NTY0OTU4', 'avatar_url': 'https://avatars.githubusercontent.com/u/74564958?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/TJ-Solergibert', 'html_url': 'https://github.com/TJ-Solergibert', 'followers_url': 'https://api.github.com/users/TJ...
[]
closed
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,676,063,556,000
1,676,396,468,000
1,676,367,349,000
NONE
### Describe the bug Processing a dataset I alredy uploaded to the Hub (https://huggingface.co/datasets/tj-solergibert/Europarl-ST) I found that for some splits and some languages (test split, source_lang = "nl") after applying a map function I get the mentioned error. I alredy tried reseting the shorter strings...
{'url': 'https://api.github.com/repos/huggingface/datasets/issues/5525/reactions', 'total_count': 0, '+1': 0, '-1': 0, 'laugh': 0, 'hooray': 0, 'confused': 0, 'heart': 0, 'rocket': 0, 'eyes': 0}
https://api.github.com/repos/huggingface/datasets/issues/5525/timeline
completed
true
https://api.github.com/repos/huggingface/datasets/issues/5524
https://api.github.com/repos/huggingface/datasets
https://api.github.com/repos/huggingface/datasets/issues/5524/labels{/name}
https://api.github.com/repos/huggingface/datasets/issues/5524/comments
https://api.github.com/repos/huggingface/datasets/issues/5524/events
https://github.com/huggingface/datasets/pull/5524
1,580,219,454
PR_kwDODunzps5JvbMw
5,524
[INVALID PR]
{'login': 'alvarobartt', 'id': 36760800, 'node_id': 'MDQ6VXNlcjM2NzYwODAw', 'avatar_url': 'https://avatars.githubusercontent.com/u/36760800?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/alvarobartt', 'html_url': 'https://github.com/alvarobartt', 'followers_url': 'https://api.github.com/users/alvarobartt...
[]
closed
False
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,676,057,750,000
1,676,058,705,000
1,676,058,552,000
CONTRIBUTOR
Hi to whoever is reading this! 🤗 ## What's in this PR? ~~Basically, I've removed the 🤗`datasets` installation as `python -m pip install ".[quality]" in the `check_code_quality` job in `.github/workflows/ci.yaml`, as we don't need to install the whole package to run the CI, unless that's done on purpose e.g. to ...
{'url': 'https://api.github.com/repos/huggingface/datasets/issues/5524/reactions', 'total_count': 0, '+1': 0, '-1': 0, 'laugh': 0, 'hooray': 0, 'confused': 0, 'heart': 0, 'rocket': 0, 'eyes': 0}
https://api.github.com/repos/huggingface/datasets/issues/5524/timeline
{'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': None}
true
https://api.github.com/repos/huggingface/datasets/issues/5523
https://api.github.com/repos/huggingface/datasets
https://api.github.com/repos/huggingface/datasets/issues/5523/labels{/name}
https://api.github.com/repos/huggingface/datasets/issues/5523/comments
https://api.github.com/repos/huggingface/datasets/issues/5523/events
https://github.com/huggingface/datasets/issues/5523
1,580,193,015
I_kwDODunzps5eL9T3
5,523
Checking that split name is correct happens only after the data is downloaded
{'login': 'polinaeterna', 'id': 16348744, 'node_id': 'MDQ6VXNlcjE2MzQ4NzQ0', 'avatar_url': 'https://avatars.githubusercontent.com/u/16348744?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/polinaeterna', 'html_url': 'https://github.com/polinaeterna', 'followers_url': 'https://api.github.com/users/polinaet...
[{'id': 1935892857, 'node_id': 'MDU6TGFiZWwxOTM1ODkyODU3', 'url': 'https://api.github.com/repos/huggingface/datasets/labels/bug', 'name': 'bug', 'color': 'd73a4a', 'default': True, 'description': "Something isn't working"}]
open
False
{'login': 'polinaeterna', 'id': 16348744, 'node_id': 'MDQ6VXNlcjE2MzQ4NzQ0', 'avatar_url': 'https://avatars.githubusercontent.com/u/16348744?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/polinaeterna', 'html_url': 'https://github.com/polinaeterna', 'followers_url': 'https://api.github.com/users/polinaet...
[{'login': 'polinaeterna', 'id': 16348744, 'node_id': 'MDQ6VXNlcjE2MzQ4NzQ0', 'avatar_url': 'https://avatars.githubusercontent.com/u/16348744?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/polinaeterna', 'html_url': 'https://github.com/polinaeterna', 'followers_url': 'https://api.github.com/users/polinae...
[]
1,676,056,383,000
1,676,056,490,000
null
CONTRIBUTOR
### Describe the bug Verification of split names (=indexing data by split) happens after downloading the data. So when the split name is incorrect, users learn about that only after the data is fully downloaded, for large datasets it might take a lot of time. ### Steps to reproduce the bug Load any dataset with rand...
{'url': 'https://api.github.com/repos/huggingface/datasets/issues/5523/reactions', 'total_count': 0, '+1': 0, '-1': 0, 'laugh': 0, 'hooray': 0, 'confused': 0, 'heart': 0, 'rocket': 0, 'eyes': 0}
https://api.github.com/repos/huggingface/datasets/issues/5523/timeline
true
https://api.github.com/repos/huggingface/datasets/issues/5522
https://api.github.com/repos/huggingface/datasets
https://api.github.com/repos/huggingface/datasets/issues/5522/labels{/name}
https://api.github.com/repos/huggingface/datasets/issues/5522/comments
https://api.github.com/repos/huggingface/datasets/issues/5522/events
https://github.com/huggingface/datasets/pull/5522
1,580,183,124
PR_kwDODunzps5JvTVp
5,522
Minor changes in JAX-formatting docstrings & type-hints
{'login': 'alvarobartt', 'id': 36760800, 'node_id': 'MDQ6VXNlcjM2NzYwODAw', 'avatar_url': 'https://avatars.githubusercontent.com/u/36760800?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/alvarobartt', 'html_url': 'https://github.com/alvarobartt', 'followers_url': 'https://api.github.com/users/alvarobartt...
[]
closed
False
[]
[ "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,676,055,900,000
1,676,472,507,000
1,676,467,146,000
CONTRIBUTOR
Hi to whoever is reading this! 🤗 ## What's in this PR? I was exploring the code regarding the `JaxFormatter` implemented in 🤗`datasets`, and found some things that IMO could be changed. Those are mainly regarding the docstrings and the type-hints based on `jax`'s 0.4.1 release where `jax.Array` was introduced a...
{'url': 'https://api.github.com/repos/huggingface/datasets/issues/5522/reactions', 'total_count': 0, '+1': 0, '-1': 0, 'laugh': 0, 'hooray': 0, 'confused': 0, 'heart': 0, 'rocket': 0, 'eyes': 0}
https://api.github.com/repos/huggingface/datasets/issues/5522/timeline
{'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:06Z'}
true
https://api.github.com/repos/huggingface/datasets/issues/5521
https://api.github.com/repos/huggingface/datasets
https://api.github.com/repos/huggingface/datasets/issues/5521/labels{/name}
https://api.github.com/repos/huggingface/datasets/issues/5521/comments
https://api.github.com/repos/huggingface/datasets/issues/5521/events
https://github.com/huggingface/datasets/pull/5521
1,578,418,289
PR_kwDODunzps5JpWnp
5,521
Fix bug when casting empty array to class labels
{'login': 'marioga', 'id': 6591505, 'node_id': 'MDQ6VXNlcjY1OTE1MDU=', 'avatar_url': 'https://avatars.githubusercontent.com/u/6591505?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/marioga', 'html_url': 'https://github.com/marioga', 'followers_url': 'https://api.github.com/users/marioga/followers', 'foll...
[]
closed
False
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,675,968,479,000
1,676,320,848,000
1,676,200,637,000
CONTRIBUTOR
Fix https://github.com/huggingface/datasets/issues/5520.
{'url': 'https://api.github.com/repos/huggingface/datasets/issues/5521/reactions', 'total_count': 1, '+1': 1, '-1': 0, 'laugh': 0, 'hooray': 0, 'confused': 0, 'heart': 0, 'rocket': 0, 'eyes': 0}
https://api.github.com/repos/huggingface/datasets/issues/5521/timeline
{'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:17Z'}
true
https://api.github.com/repos/huggingface/datasets/issues/5520
https://api.github.com/repos/huggingface/datasets
https://api.github.com/repos/huggingface/datasets/issues/5520/labels{/name}
https://api.github.com/repos/huggingface/datasets/issues/5520/comments
https://api.github.com/repos/huggingface/datasets/issues/5520/events
https://github.com/huggingface/datasets/issues/5520
1,578,417,074
I_kwDODunzps5eFLuy
5,520
ClassLabel.cast_storage raises TypeError when called on an empty IntegerArray
{'login': 'marioga', 'id': 6591505, 'node_id': 'MDQ6VXNlcjY1OTE1MDU=', 'avatar_url': 'https://avatars.githubusercontent.com/u/6591505?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/marioga', 'html_url': 'https://github.com/marioga', 'followers_url': 'https://api.github.com/users/marioga/followers', 'foll...
[]
closed
False
[]
[]
1,675,968,412,000
1,676,200,638,000
1,676,200,638,000
CONTRIBUTOR
### Describe the bug `ClassLabel.cast_storage` raises `TypeError` when called on an empty `IntegerArray`. ### Steps to reproduce the bug Minimal steps: ```python import pyarrow as pa from datasets import ClassLabel ClassLabel(names=['foo', 'bar']).cast_storage(pa.array([], pa.int64())) ``` In practice, thi...
{'url': 'https://api.github.com/repos/huggingface/datasets/issues/5520/reactions', 'total_count': 0, '+1': 0, '-1': 0, 'laugh': 0, 'hooray': 0, 'confused': 0, 'heart': 0, 'rocket': 0, 'eyes': 0}
https://api.github.com/repos/huggingface/datasets/issues/5520/timeline
completed
true
https://api.github.com/repos/huggingface/datasets/issues/5519
https://api.github.com/repos/huggingface/datasets
https://api.github.com/repos/huggingface/datasets/issues/5519/labels{/name}
https://api.github.com/repos/huggingface/datasets/issues/5519/comments
https://api.github.com/repos/huggingface/datasets/issues/5519/events
https://github.com/huggingface/datasets/pull/5519
1,578,341,785
PR_kwDODunzps5JpGPl
5,519
Format code with `ruff`
{'login': 'mariosasko', 'id': 47462742, 'node_id': 'MDQ6VXNlcjQ3NDYyNzQy', 'avatar_url': 'https://avatars.githubusercontent.com/u/47462742?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/mariosasko', 'html_url': 'https://github.com/mariosasko', 'followers_url': 'https://api.github.com/users/mariosasko/fol...
[]
closed
False
[]
[ "_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,675,965,021,000
1,676,392,107,000
1,676,391,518,000
CONTRIBUTOR
Use `ruff` for formatting instead of `isort` and `black` to be consistent with [`transformers`](https://github.com/huggingface/transformers/pull/21480) and [`hfh`](https://github.com/huggingface/huggingface_hub/pull/1323). TODO: - [x] ~Merge the community contributors' PR to avoid having to run `make style` on thei...
{'url': 'https://api.github.com/repos/huggingface/datasets/issues/5519/reactions', 'total_count': 0, '+1': 0, '-1': 0, 'laugh': 0, 'hooray': 0, 'confused': 0, 'heart': 0, 'rocket': 0, 'eyes': 0}
https://api.github.com/repos/huggingface/datasets/issues/5519/timeline
{'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:38Z'}
true
https://api.github.com/repos/huggingface/datasets/issues/5518
https://api.github.com/repos/huggingface/datasets
https://api.github.com/repos/huggingface/datasets/issues/5518/labels{/name}
https://api.github.com/repos/huggingface/datasets/issues/5518/comments
https://api.github.com/repos/huggingface/datasets/issues/5518/events
https://github.com/huggingface/datasets/pull/5518
1,578,203,962
PR_kwDODunzps5Joom3
5,518
Remove py.typed
{'login': 'mariosasko', 'id': 47462742, 'node_id': 'MDQ6VXNlcjQ3NDYyNzQy', 'avatar_url': 'https://avatars.githubusercontent.com/u/47462742?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/mariosasko', 'html_url': 'https://github.com/mariosasko', 'followers_url': 'https://api.github.com/users/mariosasko/fol...
[]
closed
False
[]
[ "_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,675,959,749,000
1,676,296,549,000
1,676,296,120,000
CONTRIBUTOR
Fix https://github.com/huggingface/datasets/issues/3841
{'url': 'https://api.github.com/repos/huggingface/datasets/issues/5518/reactions', 'total_count': 0, '+1': 0, '-1': 0, 'laugh': 0, 'hooray': 0, 'confused': 0, 'heart': 0, 'rocket': 0, 'eyes': 0}
https://api.github.com/repos/huggingface/datasets/issues/5518/timeline
{'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:40Z'}
true
https://api.github.com/repos/huggingface/datasets/issues/5517
https://api.github.com/repos/huggingface/datasets
https://api.github.com/repos/huggingface/datasets/issues/5517/labels{/name}
https://api.github.com/repos/huggingface/datasets/issues/5517/comments
https://api.github.com/repos/huggingface/datasets/issues/5517/events
https://github.com/huggingface/datasets/issues/5517
1,577,976,608
I_kwDODunzps5eDgMg
5,517
`with_format("numpy")` silently downcasts float64 to float32 features
{'login': 'ernestum', 'id': 1250234, 'node_id': 'MDQ6VXNlcjEyNTAyMzQ=', 'avatar_url': 'https://avatars.githubusercontent.com/u/1250234?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/ernestum', 'html_url': 'https://github.com/ernestum', 'followers_url': 'https://api.github.com/users/ernestum/followers', '...
[]
open
False
[]
{'url': 'https://api.github.com/repos/huggingface/datasets/milestones/10', 'html_url': 'https://github.com/huggingface/datasets/milestone/10', 'labels_url': 'https://api.github.com/repos/huggingface/datasets/milestones/10/labels', 'id': 9038583, 'node_id': 'MI_kwDODunzps4Aier3', 'number': 10, 'title': '3.0', 'descripti...
[ "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,675,952,280,000
1,676,389,134,000
null
NONE
### Describe the bug When I create a dataset with a `float64` feature, then apply numpy formatting the returned numpy arrays are silently downcasted to `float32`. ### Steps to reproduce the bug ```python import datasets dataset = datasets.Dataset.from_dict({'a': [1.0, 2.0, 3.0]}).with_format("numpy") print(...
{'url': 'https://api.github.com/repos/huggingface/datasets/issues/5517/reactions', 'total_count': 0, '+1': 0, '-1': 0, 'laugh': 0, 'hooray': 0, 'confused': 0, 'heart': 0, 'rocket': 0, 'eyes': 0}
https://api.github.com/repos/huggingface/datasets/issues/5517/timeline
true
https://api.github.com/repos/huggingface/datasets/issues/5516
https://api.github.com/repos/huggingface/datasets
https://api.github.com/repos/huggingface/datasets/issues/5516/labels{/name}
https://api.github.com/repos/huggingface/datasets/issues/5516/comments
https://api.github.com/repos/huggingface/datasets/issues/5516/events
https://github.com/huggingface/datasets/pull/5516
1,577,661,640
PR_kwDODunzps5JmzPQ
5,516
Reload features from Parquet metadata
{'login': 'MFreidank', 'id': 6368040, 'node_id': 'MDQ6VXNlcjYzNjgwNDA=', 'avatar_url': 'https://avatars.githubusercontent.com/u/6368040?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/MFreidank', 'html_url': 'https://github.com/MFreidank', 'followers_url': 'https://api.github.com/users/MFreidank/followers...
[]
closed
False
[]
[ "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,675,939,935,000
1,676,217,600,000
1,676,217,421,000
CONTRIBUTOR
Resolves #5482. Attaches feature metadata to parquet files serialised using `Dataset.to_parquet`. This allows retrieving data with "rich" feature types (e.g., `datasets.features.image.Image` or `datasets.features.audio.Audio`) from parquet files without cumbersome casting (for an example, see #5482). @lhoest...
{'url': 'https://api.github.com/repos/huggingface/datasets/issues/5516/reactions', 'total_count': 0, '+1': 0, '-1': 0, 'laugh': 0, 'hooray': 0, 'confused': 0, 'heart': 0, 'rocket': 0, 'eyes': 0}
https://api.github.com/repos/huggingface/datasets/issues/5516/timeline
{'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:01Z'}
true
https://api.github.com/repos/huggingface/datasets/issues/5515
https://api.github.com/repos/huggingface/datasets
https://api.github.com/repos/huggingface/datasets/issues/5515/labels{/name}
https://api.github.com/repos/huggingface/datasets/issues/5515/comments
https://api.github.com/repos/huggingface/datasets/issues/5515/events
https://github.com/huggingface/datasets/pull/5515
1,577,590,611
PR_kwDODunzps5Jmj5X
5,515
Unify `load_from_cache_file` type and logic
{'login': 'HallerPatrick', 'id': 22773355, 'node_id': 'MDQ6VXNlcjIyNzczMzU1', 'avatar_url': 'https://avatars.githubusercontent.com/u/22773355?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/HallerPatrick', 'html_url': 'https://github.com/HallerPatrick', 'followers_url': 'https://api.github.com/users/Halle...
[]
closed
False
[]
[ "_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,675,937,086,000
1,676,389,093,000
1,676,384,802,000
CONTRIBUTOR
* Updating type annotations for #`load_from_cache_file` * Added logic for cache checking if needed * Updated documentation following the wording of `Dataset.map`
{'url': 'https://api.github.com/repos/huggingface/datasets/issues/5515/reactions', 'total_count': 0, '+1': 0, '-1': 0, 'laugh': 0, 'hooray': 0, 'confused': 0, 'heart': 0, 'rocket': 0, 'eyes': 0}
https://api.github.com/repos/huggingface/datasets/issues/5515/timeline
{'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:42Z'}
true
https://api.github.com/repos/huggingface/datasets/issues/5514
https://api.github.com/repos/huggingface/datasets
https://api.github.com/repos/huggingface/datasets/issues/5514/labels{/name}
https://api.github.com/repos/huggingface/datasets/issues/5514/comments
https://api.github.com/repos/huggingface/datasets/issues/5514/events
https://github.com/huggingface/datasets/issues/5514
1,576,453,837
I_kwDODunzps5d9sbN
5,514
Improve inconsistency of `Dataset.map` interface for `load_from_cache_file`
{'login': 'HallerPatrick', 'id': 22773355, 'node_id': 'MDQ6VXNlcjIyNzczMzU1', 'avatar_url': 'https://avatars.githubusercontent.com/u/22773355?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/HallerPatrick', 'html_url': 'https://github.com/HallerPatrick', 'followers_url': 'https://api.github.com/users/Halle...
[{'id': 1935892871, 'node_id': 'MDU6TGFiZWwxOTM1ODkyODcx', 'url': 'https://api.github.com/repos/huggingface/datasets/labels/enhancement', 'name': 'enhancement', 'color': 'a2eeef', 'default': True, 'description': 'New feature or request'}]
closed
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,675,874,444,000
1,676,384,804,000
1,676,384,804,000
CONTRIBUTOR
### Feature request 1. Replace the `load_from_cache_file` default value to `True`. 2. Remove or alter checks from `is_caching_enabled` logic. ### Motivation I stumbled over an inconsistency in the `Dataset.map` interface. The documentation (and source) states for the parameter `load_from_cache_file`: ``` load_...
{'url': 'https://api.github.com/repos/huggingface/datasets/issues/5514/reactions', 'total_count': 0, '+1': 0, '-1': 0, 'laugh': 0, 'hooray': 0, 'confused': 0, 'heart': 0, 'rocket': 0, 'eyes': 0}
https://api.github.com/repos/huggingface/datasets/issues/5514/timeline
completed
true
https://api.github.com/repos/huggingface/datasets/issues/5513
https://api.github.com/repos/huggingface/datasets
https://api.github.com/repos/huggingface/datasets/issues/5513/labels{/name}
https://api.github.com/repos/huggingface/datasets/issues/5513/comments
https://api.github.com/repos/huggingface/datasets/issues/5513/events
https://github.com/huggingface/datasets/issues/5513
1,576,300,803
I_kwDODunzps5d9HED
5,513
Some functions use a param named `type` shouldn't that be avoided since it's a Python reserved name?
{'login': 'alvarobartt', 'id': 36760800, 'node_id': 'MDQ6VXNlcjM2NzYwODAw', 'avatar_url': 'https://avatars.githubusercontent.com/u/36760800?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/alvarobartt', 'html_url': 'https://github.com/alvarobartt', 'followers_url': 'https://api.github.com/users/alvarobartt...
[]
open
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,675,869,226,000
1,675,872,067,000
null
CONTRIBUTOR
Hi @mariosasko, @lhoestq, or whoever reads this! :) After going through `ArrowDataset.set_format` I found out that the `type` param is actually named `type` which is a Python reserved name as you may already know, shouldn't that be renamed to `format_type` before the 3.0.0 is released? Just wanted to get your inp...
{'url': 'https://api.github.com/repos/huggingface/datasets/issues/5513/reactions', 'total_count': 0, '+1': 0, '-1': 0, 'laugh': 0, 'hooray': 0, 'confused': 0, 'heart': 0, 'rocket': 0, 'eyes': 0}
https://api.github.com/repos/huggingface/datasets/issues/5513/timeline
true
https://api.github.com/repos/huggingface/datasets/issues/5512
https://api.github.com/repos/huggingface/datasets
https://api.github.com/repos/huggingface/datasets/issues/5512/labels{/name}
https://api.github.com/repos/huggingface/datasets/issues/5512/comments
https://api.github.com/repos/huggingface/datasets/issues/5512/events
https://github.com/huggingface/datasets/pull/5512
1,576,142,432
PR_kwDODunzps5JhtQy
5,512
Speed up batched PyTorch DataLoader
{'login': 'lhoestq', 'id': 42851186, 'node_id': 'MDQ6VXNlcjQyODUxMTg2', 'avatar_url': 'https://avatars.githubusercontent.com/u/42851186?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/lhoestq', 'html_url': 'https://github.com/lhoestq', 'followers_url': 'https://api.github.com/users/lhoestq/followers', 'fo...
[]
closed
False
[]
[ "_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,675,863,539,000
1,676,831,709,000
1,676,831,249,000
MEMBER
I implemented `__getitems__` to speed up batched data loading in PyTorch close https://github.com/huggingface/datasets/issues/5505
{'url': 'https://api.github.com/repos/huggingface/datasets/issues/5512/reactions', 'total_count': 0, '+1': 0, '-1': 0, 'laugh': 0, 'hooray': 0, 'confused': 0, 'heart': 0, 'rocket': 0, 'eyes': 0}
https://api.github.com/repos/huggingface/datasets/issues/5512/timeline
{'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:29Z'}
true
https://api.github.com/repos/huggingface/datasets/issues/5511
https://api.github.com/repos/huggingface/datasets
https://api.github.com/repos/huggingface/datasets/issues/5511/labels{/name}
https://api.github.com/repos/huggingface/datasets/issues/5511/comments
https://api.github.com/repos/huggingface/datasets/issues/5511/events
https://github.com/huggingface/datasets/issues/5511
1,575,851,768
I_kwDODunzps5d7Zb4
5,511
Creating a dummy dataset from a bigger one
{'login': 'patrickvonplaten', 'id': 23423619, 'node_id': 'MDQ6VXNlcjIzNDIzNjE5', 'avatar_url': 'https://avatars.githubusercontent.com/u/23423619?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/patrickvonplaten', 'html_url': 'https://github.com/patrickvonplaten', 'followers_url': 'https://api.github.com/us...
[]
closed
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` :-) " ]
1,675,851,521,000
1,675,852,548,000
1,675,852,548,000
MEMBER
### Describe the bug I often want to create a dummy dataset from a bigger dataset for fast iteration when training. However, I'm having a hard time doing this especially when trying to upload the dataset to the Hub. ### Steps to reproduce the bug ```python from datasets import load_dataset dataset = load_dataset...
{'url': 'https://api.github.com/repos/huggingface/datasets/issues/5511/reactions', 'total_count': 0, '+1': 0, '-1': 0, 'laugh': 0, 'hooray': 0, 'confused': 0, 'heart': 0, 'rocket': 0, 'eyes': 0}
https://api.github.com/repos/huggingface/datasets/issues/5511/timeline
completed
true
https://api.github.com/repos/huggingface/datasets/issues/5510
https://api.github.com/repos/huggingface/datasets
https://api.github.com/repos/huggingface/datasets/issues/5510/labels{/name}
https://api.github.com/repos/huggingface/datasets/issues/5510/comments
https://api.github.com/repos/huggingface/datasets/issues/5510/events
https://github.com/huggingface/datasets/pull/5510
1,575,191,549
PR_kwDODunzps5JehbR
5,510
Milvus integration for search
{'login': 'filip-halt', 'id': 81822489, 'node_id': 'MDQ6VXNlcjgxODIyNDg5', 'avatar_url': 'https://avatars.githubusercontent.com/u/81822489?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/filip-halt', 'html_url': 'https://github.com/filip-halt', 'followers_url': 'https://api.github.com/users/filip-halt/fol...
[]
open
False
[]
[ "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,675,812,626,000
1,677,257,109,000
null
NONE
Signed-off-by: Filip Haltmayer <filip.haltmayer@zilliz.com>
{'url': 'https://api.github.com/repos/huggingface/datasets/issues/5510/reactions', 'total_count': 0, '+1': 0, '-1': 0, 'laugh': 0, 'hooray': 0, 'confused': 0, 'heart': 0, 'rocket': 0, 'eyes': 0}
https://api.github.com/repos/huggingface/datasets/issues/5510/timeline
{'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': None}
true
https://api.github.com/repos/huggingface/datasets/issues/5509
https://api.github.com/repos/huggingface/datasets
https://api.github.com/repos/huggingface/datasets/issues/5509/labels{/name}
https://api.github.com/repos/huggingface/datasets/issues/5509/comments
https://api.github.com/repos/huggingface/datasets/issues/5509/events
https://github.com/huggingface/datasets/pull/5509
1,574,177,320
PR_kwDODunzps5JbH-u
5,509
Add a static `__all__` to `__init__.py` for typecheckers
{'login': 'LoicGrobol', 'id': 14248012, 'node_id': 'MDQ6VXNlcjE0MjQ4MDEy', 'avatar_url': 'https://avatars.githubusercontent.com/u/14248012?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/LoicGrobol', 'html_url': 'https://github.com/LoicGrobol', 'followers_url': 'https://api.github.com/users/LoicGrobol/fol...
[]
open
False
[]
[ "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,675,770,160,000
1,675,878,504,000
null
NONE
This adds a static `__all__` field to `__init__.py`, allowing typecheckers to know which symbols are accessible from `datasets` at runtime. In particular [Pyright](https://github.com/microsoft/pylance-release/issues/2328#issuecomment-1029381258) seems to rely on this. At this point I have added all (modulo oversight) t...
{'url': 'https://api.github.com/repos/huggingface/datasets/issues/5509/reactions', 'total_count': 0, '+1': 0, '-1': 0, 'laugh': 0, 'hooray': 0, 'confused': 0, 'heart': 0, 'rocket': 0, 'eyes': 0}
https://api.github.com/repos/huggingface/datasets/issues/5509/timeline
{'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': None}
true
https://api.github.com/repos/huggingface/datasets/issues/5508
https://api.github.com/repos/huggingface/datasets
https://api.github.com/repos/huggingface/datasets/issues/5508/labels{/name}
https://api.github.com/repos/huggingface/datasets/issues/5508/comments
https://api.github.com/repos/huggingface/datasets/issues/5508/events
https://github.com/huggingface/datasets/issues/5508
1,573,290,359
I_kwDODunzps5dxoF3
5,508
Saving a dataset after setting format to torch doesn't work, but only if filtering
{'login': 'joebhakim', 'id': 13984157, 'node_id': 'MDQ6VXNlcjEzOTg0MTU3', 'avatar_url': 'https://avatars.githubusercontent.com/u/13984157?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/joebhakim', 'html_url': 'https://github.com/joebhakim', 'followers_url': 'https://api.github.com/users/joebhakim/followe...
[]
closed
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,675,717,738,000
1,675,954,526,000
1,675,954,526,000
NONE
### Describe the bug Saving a dataset after setting format to torch doesn't work, but only if filtering ### Steps to reproduce the bug ``` a = Dataset.from_dict({"b": [1, 2]}) a.set_format('torch') a.save_to_disk("test_save") # saves successfully a.filter(None).save_to_disk("test_save_filter") # does not >> [.....
{'url': 'https://api.github.com/repos/huggingface/datasets/issues/5508/reactions', 'total_count': 0, '+1': 0, '-1': 0, 'laugh': 0, 'hooray': 0, 'confused': 0, 'heart': 0, 'rocket': 0, 'eyes': 0}
https://api.github.com/repos/huggingface/datasets/issues/5508/timeline
completed
true
https://api.github.com/repos/huggingface/datasets/issues/5507
https://api.github.com/repos/huggingface/datasets
https://api.github.com/repos/huggingface/datasets/issues/5507/labels{/name}
https://api.github.com/repos/huggingface/datasets/issues/5507/comments
https://api.github.com/repos/huggingface/datasets/issues/5507/events
https://github.com/huggingface/datasets/issues/5507
1,572,667,036
I_kwDODunzps5dvP6c
5,507
Optimise behaviour in respect to indices mapping
{'login': 'mariosasko', 'id': 47462742, 'node_id': 'MDQ6VXNlcjQ3NDYyNzQy', 'avatar_url': 'https://avatars.githubusercontent.com/u/47462742?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/mariosasko', 'html_url': 'https://github.com/mariosasko', 'followers_url': 'https://api.github.com/users/mariosasko/fol...
[{'id': 1935892871, 'node_id': 'MDU6TGFiZWwxOTM1ODkyODcx', 'url': 'https://api.github.com/repos/huggingface/datasets/labels/enhancement', 'name': 'enhancement', 'color': 'a2eeef', 'default': True, 'description': 'New feature or request'}]
open
False
{'login': 'mariosasko', 'id': 47462742, 'node_id': 'MDQ6VXNlcjQ3NDYyNzQy', 'avatar_url': 'https://avatars.githubusercontent.com/u/47462742?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/mariosasko', 'html_url': 'https://github.com/mariosasko', 'followers_url': 'https://api.github.com/users/mariosasko/fol...
[{'login': 'mariosasko', 'id': 47462742, 'node_id': 'MDQ6VXNlcjQ3NDYyNzQy', 'avatar_url': 'https://avatars.githubusercontent.com/u/47462742?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/mariosasko', 'html_url': 'https://github.com/mariosasko', 'followers_url': 'https://api.github.com/users/mariosasko/fo...
[]
1,675,693,555,000
1,677,608,358,000
null
CONTRIBUTOR
_Originally [posted](https://huggingface.slack.com/archives/C02V51Q3800/p1675443873878489?thread_ts=1675418893.373479&cid=C02V51Q3800) on Slack_ Considering all this, perhaps for Datasets 3.0, we can do the following: * [ ] have `continuous=True` by default in `.shard` (requested in the survey and makes more sense...
{'url': 'https://api.github.com/repos/huggingface/datasets/issues/5507/reactions', 'total_count': 1, '+1': 0, '-1': 0, 'laugh': 0, 'hooray': 0, 'confused': 0, 'heart': 1, 'rocket': 0, 'eyes': 0}
https://api.github.com/repos/huggingface/datasets/issues/5507/timeline
true
https://api.github.com/repos/huggingface/datasets/issues/5506
https://api.github.com/repos/huggingface/datasets
https://api.github.com/repos/huggingface/datasets/issues/5506/labels{/name}
https://api.github.com/repos/huggingface/datasets/issues/5506/comments
https://api.github.com/repos/huggingface/datasets/issues/5506/events
https://github.com/huggingface/datasets/issues/5506
1,571,838,641
I_kwDODunzps5dsFqx
5,506
IterableDataset and Dataset return different batch sizes when using Trainer with multiple GPUs
{'login': 'kheyer', 'id': 38166299, 'node_id': 'MDQ6VXNlcjM4MTY2Mjk5', 'avatar_url': 'https://avatars.githubusercontent.com/u/38166299?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/kheyer', 'html_url': 'https://github.com/kheyer', 'followers_url': 'https://api.github.com/users/kheyer/followers', 'follow...
[]
closed
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,675,653,963,000
1,675,881,008,000
1,675,881,007,000
NONE
### Describe the bug I am training a Roberta model using 2 GPUs and the `Trainer` API with a batch size of 256. Initially I used a standard `Dataset`, but had issues with slow data loading. After reading [this issue](https://github.com/huggingface/datasets/issues/2252), I swapped to loading my dataset as contiguous...
{'url': 'https://api.github.com/repos/huggingface/datasets/issues/5506/reactions', 'total_count': 0, '+1': 0, '-1': 0, 'laugh': 0, 'hooray': 0, 'confused': 0, 'heart': 0, 'rocket': 0, 'eyes': 0}
https://api.github.com/repos/huggingface/datasets/issues/5506/timeline
completed
true
https://api.github.com/repos/huggingface/datasets/issues/5505
https://api.github.com/repos/huggingface/datasets
https://api.github.com/repos/huggingface/datasets/issues/5505/labels{/name}
https://api.github.com/repos/huggingface/datasets/issues/5505/comments
https://api.github.com/repos/huggingface/datasets/issues/5505/events
https://github.com/huggingface/datasets/issues/5505
1,571,720,814
I_kwDODunzps5dro5u
5,505
PyTorch BatchSampler still loads from Dataset one-by-one
{'login': 'davidgilbertson', 'id': 4443482, 'node_id': 'MDQ6VXNlcjQ0NDM0ODI=', 'avatar_url': 'https://avatars.githubusercontent.com/u/4443482?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/davidgilbertson', 'html_url': 'https://github.com/davidgilbertson', 'followers_url': 'https://api.github.com/users/d...
[]
closed
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,675,646,095,000
1,676,831,250,000
1,676,831,250,000
NONE
### Describe the bug In [the docs here](https://huggingface.co/docs/datasets/use_with_pytorch#use-a-batchsampler), it mentions the issue of the Dataset being read one-by-one, then states that using a BatchSampler resolves the issue. I'm not sure if this is a mistake in the docs or the code, but it seems that the on...
{'url': 'https://api.github.com/repos/huggingface/datasets/issues/5505/reactions', 'total_count': 0, '+1': 0, '-1': 0, 'laugh': 0, 'hooray': 0, 'confused': 0, 'heart': 0, 'rocket': 0, 'eyes': 0}
https://api.github.com/repos/huggingface/datasets/issues/5505/timeline
completed
true
https://api.github.com/repos/huggingface/datasets/issues/5504
https://api.github.com/repos/huggingface/datasets
https://api.github.com/repos/huggingface/datasets/issues/5504/labels{/name}
https://api.github.com/repos/huggingface/datasets/issues/5504/comments
https://api.github.com/repos/huggingface/datasets/issues/5504/events
https://github.com/huggingface/datasets/pull/5504
1,570,621,242
PR_kwDODunzps5JPoWy
5,504
don't zero copy timestamps
{'login': 'dwyatte', 'id': 2512762, 'node_id': 'MDQ6VXNlcjI1MTI3NjI=', 'avatar_url': 'https://avatars.githubusercontent.com/u/2512762?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/dwyatte', 'html_url': 'https://github.com/dwyatte', 'followers_url': 'https://api.github.com/users/dwyatte/followers', 'foll...
[]
closed
False
[]
[ "_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,675,467,544,000
1,675,877,330,000
1,675,866,797,000
CONTRIBUTOR
Fixes https://github.com/huggingface/datasets/issues/5495 I'm not sure whether we prefer a test here or if timestamps are known to be unsupported (like booleans). The current test at least covers the bug
{'url': 'https://api.github.com/repos/huggingface/datasets/issues/5504/reactions', 'total_count': 0, '+1': 0, '-1': 0, 'laugh': 0, 'hooray': 0, 'confused': 0, 'heart': 0, 'rocket': 0, 'eyes': 0}
https://api.github.com/repos/huggingface/datasets/issues/5504/timeline
{'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:17Z'}
true
https://api.github.com/repos/huggingface/datasets/issues/5502
https://api.github.com/repos/huggingface/datasets
https://api.github.com/repos/huggingface/datasets/issues/5502/labels{/name}
https://api.github.com/repos/huggingface/datasets/issues/5502/comments
https://api.github.com/repos/huggingface/datasets/issues/5502/events
https://github.com/huggingface/datasets/pull/5502
1,570,091,225
PR_kwDODunzps5JN0aX
5,502
Added functionality: sort datasets by multiple keys
{'login': 'MichlF', 'id': 7805682, 'node_id': 'MDQ6VXNlcjc4MDU2ODI=', 'avatar_url': 'https://avatars.githubusercontent.com/u/7805682?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/MichlF', 'html_url': 'https://github.com/MichlF', 'followers_url': 'https://api.github.com/users/MichlF/followers', 'followin...
[]
closed
False
[]
[ "_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,675,441,020,000
1,676,990,809,000
1,676,990,363,000
CONTRIBUTOR
Added functionality implementation: sort datasets by multiple keys/columns as discussed in https://github.com/huggingface/datasets/issues/5425.
{'url': 'https://api.github.com/repos/huggingface/datasets/issues/5502/reactions', 'total_count': 0, '+1': 0, '-1': 0, 'laugh': 0, 'hooray': 0, 'confused': 0, 'heart': 0, 'rocket': 0, 'eyes': 0}
https://api.github.com/repos/huggingface/datasets/issues/5502/timeline
{'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:23Z'}
true
https://api.github.com/repos/huggingface/datasets/issues/5501
https://api.github.com/repos/huggingface/datasets
https://api.github.com/repos/huggingface/datasets/issues/5501/labels{/name}
https://api.github.com/repos/huggingface/datasets/issues/5501/comments
https://api.github.com/repos/huggingface/datasets/issues/5501/events
https://github.com/huggingface/datasets/pull/5501
1,569,644,159
PR_kwDODunzps5JMTn8
5,501
Increase chunk size for speeding up file downloads
{'login': 'Narsil', 'id': 204321, 'node_id': 'MDQ6VXNlcjIwNDMyMQ==', 'avatar_url': 'https://avatars.githubusercontent.com/u/204321?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/Narsil', 'html_url': 'https://github.com/Narsil', 'followers_url': 'https://api.github.com/users/Narsil/followers', 'following_...
[]
open
False
[]
[ "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,675,421,410,000
1,675,940,651,000
null
CONTRIBUTOR
Original fix: https://github.com/huggingface/huggingface_hub/pull/1267 Not sure this function is actually still called though. I haven't done benches on this. Is there a dataset where files are hosted on the hub through cloudfront so we can have the same setup as in `hf_hub` ?
{'url': 'https://api.github.com/repos/huggingface/datasets/issues/5501/reactions', 'total_count': 0, '+1': 0, '-1': 0, 'laugh': 0, 'hooray': 0, 'confused': 0, 'heart': 0, 'rocket': 0, 'eyes': 0}
https://api.github.com/repos/huggingface/datasets/issues/5501/timeline
{'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': None}
true
https://api.github.com/repos/huggingface/datasets/issues/5500
https://api.github.com/repos/huggingface/datasets
https://api.github.com/repos/huggingface/datasets/issues/5500/labels{/name}
https://api.github.com/repos/huggingface/datasets/issues/5500/comments
https://api.github.com/repos/huggingface/datasets/issues/5500/events
https://github.com/huggingface/datasets/issues/5500
1,569,257,240
I_kwDODunzps5diPcY
5,500
WMT19 custom download checksum error
{'login': 'Hannibal046', 'id': 38466901, 'node_id': 'MDQ6VXNlcjM4NDY2OTAx', 'avatar_url': 'https://avatars.githubusercontent.com/u/38466901?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/Hannibal046', 'html_url': 'https://github.com/Hannibal046', 'followers_url': 'https://api.github.com/users/Hannibal046...
[]
closed
False
[]
[ "I update the `datatsets` version and it works." ]
1,675,403,137,000
1,675,403,576,000
1,675,403,576,000
NONE
### Describe the bug I use the following scripts to download data from WMT19: ```python import datasets from datasets import inspect_dataset, load_dataset_builder from wmt19.wmt_utils import _TRAIN_SUBSETS,_DEV_SUBSETS ## this is a must due to: https://discuss.huggingface.co/t/load-dataset-hangs-with-local-fi...
{'url': 'https://api.github.com/repos/huggingface/datasets/issues/5500/reactions', 'total_count': 0, '+1': 0, '-1': 0, 'laugh': 0, 'hooray': 0, 'confused': 0, 'heart': 0, 'rocket': 0, 'eyes': 0}
https://api.github.com/repos/huggingface/datasets/issues/5500/timeline
completed
true
https://api.github.com/repos/huggingface/datasets/issues/5499
https://api.github.com/repos/huggingface/datasets
https://api.github.com/repos/huggingface/datasets/issues/5499/labels{/name}
https://api.github.com/repos/huggingface/datasets/issues/5499/comments
https://api.github.com/repos/huggingface/datasets/issues/5499/events
https://github.com/huggingface/datasets/issues/5499
1,568,937,026
I_kwDODunzps5dhBRC
5,499
`load_dataset` has ~4 seconds of overhead for cached data
{'login': 'davidgilbertson', 'id': 4443482, 'node_id': 'MDQ6VXNlcjQ0NDM0ODI=', 'avatar_url': 'https://avatars.githubusercontent.com/u/4443482?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/davidgilbertson', 'html_url': 'https://github.com/davidgilbertson', 'followers_url': 'https://api.github.com/users/d...
[{'id': 1935892871, 'node_id': 'MDU6TGFiZWwxOTM1ODkyODcx', 'url': 'https://api.github.com/repos/huggingface/datasets/labels/enhancement', 'name': 'enhancement', 'color': 'a2eeef', 'default': True, 'description': 'New feature or request'}]
open
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,675,380,890,000
1,675,798,511,000
null
NONE
### Feature request When loading a dataset that has been cached locally, the `load_dataset` function takes a lot longer than it should take to fetch the dataset from disk (or memory). This is particularly noticeable for smaller datasets. For example, wikitext-2, comparing `load_data` (once cached) and `load_from_disk...
{'url': 'https://api.github.com/repos/huggingface/datasets/issues/5499/reactions', 'total_count': 0, '+1': 0, '-1': 0, 'laugh': 0, 'hooray': 0, 'confused': 0, 'heart': 0, 'rocket': 0, 'eyes': 0}
https://api.github.com/repos/huggingface/datasets/issues/5499/timeline
true
https://api.github.com/repos/huggingface/datasets/issues/5498
https://api.github.com/repos/huggingface/datasets
https://api.github.com/repos/huggingface/datasets/issues/5498/labels{/name}
https://api.github.com/repos/huggingface/datasets/issues/5498/comments
https://api.github.com/repos/huggingface/datasets/issues/5498/events
https://github.com/huggingface/datasets/issues/5498
1,568,190,529
I_kwDODunzps5deLBB
5,498
TypeError: 'bool' object is not iterable when filtering a datasets.arrow_dataset.Dataset
{'login': 'vmuel', 'id': 91255010, 'node_id': 'MDQ6VXNlcjkxMjU1MDEw', 'avatar_url': 'https://avatars.githubusercontent.com/u/91255010?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/vmuel', 'html_url': 'https://github.com/vmuel', 'followers_url': 'https://api.github.com/users/vmuel/followers', 'following_...
[]
closed
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,675,349,209,000
1,675,531,177,000
1,675,531,176,000
NONE
### Describe the bug Hi, Thanks for the amazing work on the library! **Describe the bug** I think I might have noticed a small bug in the filter method. Having loaded a dataset using `load_dataset`, when I try to filter out empty entries with `batched=True`, I get a TypeError. ### Steps to reproduce the ...
{'url': 'https://api.github.com/repos/huggingface/datasets/issues/5498/reactions', 'total_count': 0, '+1': 0, '-1': 0, 'laugh': 0, 'hooray': 0, 'confused': 0, 'heart': 0, 'rocket': 0, 'eyes': 0}
https://api.github.com/repos/huggingface/datasets/issues/5498/timeline
completed
true
https://api.github.com/repos/huggingface/datasets/issues/5497
https://api.github.com/repos/huggingface/datasets
https://api.github.com/repos/huggingface/datasets/issues/5497/labels{/name}
https://api.github.com/repos/huggingface/datasets/issues/5497/comments
https://api.github.com/repos/huggingface/datasets/issues/5497/events
https://github.com/huggingface/datasets/pull/5497
1,567,601,264
PR_kwDODunzps5JFhvc
5,497
Improved error message for gated/private repos
{'login': 'osanseviero', 'id': 7246357, 'node_id': 'MDQ6VXNlcjcyNDYzNTc=', 'avatar_url': 'https://avatars.githubusercontent.com/u/7246357?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/osanseviero', 'html_url': 'https://github.com/osanseviero', 'followers_url': 'https://api.github.com/users/osanseviero/f...
[]
closed
False
[]
[ "_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,675,328,175,000
1,675,337,168,000
1,675,336,635,000
MEMBER
Using `use_auth_token=True` is not needed anymore. If a user logged in, the token will be automatically retrieved. Also include a mention for gated repos See https://github.com/huggingface/huggingface_hub/pull/1064
{'url': 'https://api.github.com/repos/huggingface/datasets/issues/5497/reactions', 'total_count': 1, '+1': 1, '-1': 0, 'laugh': 0, 'hooray': 0, 'confused': 0, 'heart': 0, 'rocket': 0, 'eyes': 0}
https://api.github.com/repos/huggingface/datasets/issues/5497/timeline
{'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:14Z'}
true
https://api.github.com/repos/huggingface/datasets/issues/5496
https://api.github.com/repos/huggingface/datasets
https://api.github.com/repos/huggingface/datasets/issues/5496/labels{/name}
https://api.github.com/repos/huggingface/datasets/issues/5496/comments
https://api.github.com/repos/huggingface/datasets/issues/5496/events
https://github.com/huggingface/datasets/issues/5496
1,567,301,765
I_kwDODunzps5dayCF
5,496
Add a `reduce` method
{'login': 'zhangir-azerbayev', 'id': 59542043, 'node_id': 'MDQ6VXNlcjU5NTQyMDQz', 'avatar_url': 'https://avatars.githubusercontent.com/u/59542043?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/zhangir-azerbayev', 'html_url': 'https://github.com/zhangir-azerbayev', 'followers_url': 'https://api.github.com...
[{'id': 1935892871, 'node_id': 'MDU6TGFiZWwxOTM1ODkyODcx', 'url': 'https://api.github.com/repos/huggingface/datasets/labels/enhancement', 'name': 'enhancement', 'color': 'a2eeef', 'default': True, 'description': 'New feature or request'}]
open
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" ]
1,675,312,222,000
1,676,300,574,000
null
NONE
### Feature request Right now the `Dataset` class implements `map()` and `filter()`, but leaves out the third functional idiom popular among Python users: `reduce`. ### Motivation A `reduce` method is often useful when calculating dataset statistics, for example, the occurrence of a particular n-gram or the average...
{'url': 'https://api.github.com/repos/huggingface/datasets/issues/5496/reactions', 'total_count': 0, '+1': 0, '-1': 0, 'laugh': 0, 'hooray': 0, 'confused': 0, 'heart': 0, 'rocket': 0, 'eyes': 0}
https://api.github.com/repos/huggingface/datasets/issues/5496/timeline
true
https://api.github.com/repos/huggingface/datasets/issues/5495
https://api.github.com/repos/huggingface/datasets
https://api.github.com/repos/huggingface/datasets/issues/5495/labels{/name}
https://api.github.com/repos/huggingface/datasets/issues/5495/comments
https://api.github.com/repos/huggingface/datasets/issues/5495/events
https://github.com/huggingface/datasets/issues/5495
1,566,803,452
I_kwDODunzps5dY4X8
5,495
to_tf_dataset fails with datetime UTC columns even if not included in columns argument
{'login': 'dwyatte', 'id': 2512762, 'node_id': 'MDQ6VXNlcjI1MTI3NjI=', 'avatar_url': 'https://avatars.githubusercontent.com/u/2512762?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/dwyatte', 'html_url': 'https://github.com/dwyatte', 'followers_url': 'https://api.github.com/users/dwyatte/followers', 'foll...
[{'id': 1935892857, 'node_id': 'MDU6TGFiZWwxOTM1ODkyODU3', 'url': 'https://api.github.com/repos/huggingface/datasets/labels/bug', 'name': 'bug', 'color': 'd73a4a', 'default': True, 'description': "Something isn't working"}, {'id': 1935892877, 'node_id': 'MDU6TGFiZWwxOTM1ODkyODc3', 'url': 'https://api.github.com/repos/h...
closed
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,675,284,453,000
1,675,866,799,000
1,675,866,799,000
CONTRIBUTOR
### Describe the bug There appears to be some eager behavior in `to_tf_dataset` that runs against every column in a dataset even if they aren't included in the columns argument. This is problematic with datetime UTC columns due to them not working with zero copy. If I don't have UTC information in my datetime column...
{'url': 'https://api.github.com/repos/huggingface/datasets/issues/5495/reactions', 'total_count': 0, '+1': 0, '-1': 0, 'laugh': 0, 'hooray': 0, 'confused': 0, 'heart': 0, 'rocket': 0, 'eyes': 0}
https://api.github.com/repos/huggingface/datasets/issues/5495/timeline
completed
true
https://api.github.com/repos/huggingface/datasets/issues/5494
https://api.github.com/repos/huggingface/datasets
https://api.github.com/repos/huggingface/datasets/issues/5494/labels{/name}
https://api.github.com/repos/huggingface/datasets/issues/5494/comments
https://api.github.com/repos/huggingface/datasets/issues/5494/events
https://github.com/huggingface/datasets/issues/5494
1,566,655,348
I_kwDODunzps5dYUN0
5,494
Update audio installation doc page
{'login': 'polinaeterna', 'id': 16348744, 'node_id': 'MDQ6VXNlcjE2MzQ4NzQ0', 'avatar_url': 'https://avatars.githubusercontent.com/u/16348744?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/polinaeterna', 'html_url': 'https://github.com/polinaeterna', 'followers_url': 'https://api.github.com/users/polinaet...
[{'id': 1935892861, 'node_id': 'MDU6TGFiZWwxOTM1ODkyODYx', 'url': 'https://api.github.com/repos/huggingface/datasets/labels/documentation', 'name': 'documentation', 'color': '0075ca', 'default': True, 'description': 'Improvements or additions to documentation'}]
closed
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,675,278,470,000
1,677,773,297,000
1,677,773,297,000
CONTRIBUTOR
Our [installation documentation page](https://huggingface.co/docs/datasets/installation#audio) says that one can use Datasets for mp3 only with `torchaudio<0.12`. `torchaudio>0.12` is actually supported too but requires a specific version of ffmpeg which is not easily installed on all linux versions but there is a cust...
{'url': 'https://api.github.com/repos/huggingface/datasets/issues/5494/reactions', 'total_count': 3, '+1': 1, '-1': 0, 'laugh': 0, 'hooray': 0, 'confused': 0, 'heart': 1, 'rocket': 0, 'eyes': 1}
https://api.github.com/repos/huggingface/datasets/issues/5494/timeline
completed
true
https://api.github.com/repos/huggingface/datasets/issues/5493
https://api.github.com/repos/huggingface/datasets
https://api.github.com/repos/huggingface/datasets/issues/5493/labels{/name}
https://api.github.com/repos/huggingface/datasets/issues/5493/comments
https://api.github.com/repos/huggingface/datasets/issues/5493/events
https://github.com/huggingface/datasets/pull/5493
1,566,637,806
PR_kwDODunzps5JCSAZ
5,493
Remove unused `load_from_cache_file` arg from `Dataset.shard()` docstring
{'login': 'polinaeterna', 'id': 16348744, 'node_id': 'MDQ6VXNlcjE2MzQ4NzQ0', 'avatar_url': 'https://avatars.githubusercontent.com/u/16348744?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/polinaeterna', 'html_url': 'https://github.com/polinaeterna', 'followers_url': 'https://api.github.com/users/polinaet...
[]
closed
False
[]
[ "_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,675,277,868,000
1,675,869,046,000
1,675,868,630,000
CONTRIBUTOR
{'url': 'https://api.github.com/repos/huggingface/datasets/issues/5493/reactions', 'total_count': 0, '+1': 0, '-1': 0, 'laugh': 0, 'hooray': 0, 'confused': 0, 'heart': 0, 'rocket': 0, 'eyes': 0}
https://api.github.com/repos/huggingface/datasets/issues/5493/timeline
{'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:50Z'}
true
https://api.github.com/repos/huggingface/datasets/issues/5492
https://api.github.com/repos/huggingface/datasets
https://api.github.com/repos/huggingface/datasets/issues/5492/labels{/name}
https://api.github.com/repos/huggingface/datasets/issues/5492/comments
https://api.github.com/repos/huggingface/datasets/issues/5492/events
https://github.com/huggingface/datasets/issues/5492
1,566,604,216
I_kwDODunzps5dYHu4
5,492
Push_to_hub in a pull request
{'login': 'lhoestq', 'id': 42851186, 'node_id': 'MDQ6VXNlcjQyODUxMTg2', 'avatar_url': 'https://avatars.githubusercontent.com/u/42851186?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/lhoestq', 'html_url': 'https://github.com/lhoestq', 'followers_url': 'https://api.github.com/users/lhoestq/followers', 'fo...
[{'id': 1935892871, 'node_id': 'MDU6TGFiZWwxOTM1ODkyODcx', 'url': 'https://api.github.com/repos/huggingface/datasets/labels/enhancement', 'name': 'enhancement', 'color': 'a2eeef', 'default': True, 'description': 'New feature or request'}, {'id': 1935892877, 'node_id': 'MDU6TGFiZWwxOTM1ODkyODc3', 'url': 'https://api.git...
open
False
{'login': 'nateraw', 'id': 32437151, 'node_id': 'MDQ6VXNlcjMyNDM3MTUx', 'avatar_url': 'https://avatars.githubusercontent.com/u/32437151?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/nateraw', 'html_url': 'https://github.com/nateraw', 'followers_url': 'https://api.github.com/users/nateraw/followers', 'fo...
[{'login': 'nateraw', 'id': 32437151, 'node_id': 'MDQ6VXNlcjMyNDM3MTUx', 'avatar_url': 'https://avatars.githubusercontent.com/u/32437151?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/nateraw', 'html_url': 'https://github.com/nateraw', 'followers_url': 'https://api.github.com/users/nateraw/followers', 'f...
[ "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,675,276,334,000
1,676,413,000,000
null
MEMBER
Right now `ds.push_to_hub()` can push a dataset on `main` or on a new branch with `branch=`, but there is no way to open a pull request. Even passing `branch=refs/pr/x` doesn't seem to work: it tries to create a branch with that name cc @nateraw It should be possible to tweak the use of `huggingface_hub` in `pus...
{'url': 'https://api.github.com/repos/huggingface/datasets/issues/5492/reactions', 'total_count': 0, '+1': 0, '-1': 0, 'laugh': 0, 'hooray': 0, 'confused': 0, 'heart': 0, 'rocket': 0, 'eyes': 0}
https://api.github.com/repos/huggingface/datasets/issues/5492/timeline
true
https://api.github.com/repos/huggingface/datasets/issues/5491
https://api.github.com/repos/huggingface/datasets
https://api.github.com/repos/huggingface/datasets/issues/5491/labels{/name}
https://api.github.com/repos/huggingface/datasets/issues/5491/comments
https://api.github.com/repos/huggingface/datasets/issues/5491/events
https://github.com/huggingface/datasets/pull/5491
1,566,235,012
PR_kwDODunzps5JA9OD
5,491
[MINOR] Typo
{'login': 'cakiki', 'id': 3664563, 'node_id': 'MDQ6VXNlcjM2NjQ1NjM=', 'avatar_url': 'https://avatars.githubusercontent.com/u/3664563?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/cakiki', 'html_url': 'https://github.com/cakiki', 'followers_url': 'https://api.github.com/users/cakiki/followers', 'followin...
[]
closed
False
[]
[ "_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,675,262,379,000
1,675,323,748,000
1,675,323,314,000
CONTRIBUTOR
{'url': 'https://api.github.com/repos/huggingface/datasets/issues/5491/reactions', 'total_count': 0, '+1': 0, '-1': 0, 'laugh': 0, 'hooray': 0, 'confused': 0, 'heart': 0, 'rocket': 0, 'eyes': 0}
https://api.github.com/repos/huggingface/datasets/issues/5491/timeline
{'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:14Z'}
true
https://api.github.com/repos/huggingface/datasets/issues/5490
https://api.github.com/repos/huggingface/datasets
https://api.github.com/repos/huggingface/datasets/issues/5490/labels{/name}
https://api.github.com/repos/huggingface/datasets/issues/5490/comments
https://api.github.com/repos/huggingface/datasets/issues/5490/events
https://github.com/huggingface/datasets/pull/5490
1,565,842,327
PR_kwDODunzps5I_nz-
5,490
Do not add index column by default when exporting to CSV
{'login': 'albertvillanova', 'id': 8515462, 'node_id': 'MDQ6VXNlcjg1MTU0NjI=', 'avatar_url': 'https://avatars.githubusercontent.com/u/8515462?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/albertvillanova', 'html_url': 'https://github.com/albertvillanova', 'followers_url': 'https://api.github.com/users/a...
[]
closed
False
[]
[ "_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,675,246,855,000
1,675,934,948,000
1,675,934,543,000
MEMBER
As pointed out by @merveenoyan, default behavior of `Dataset.to_csv` adds the index as an additional column without name. This PR changes the default behavior, so that now the index column is not written. To add the index column, now you need to pass `index=True` and also `index_label=<name of the index colum>` t...
{'url': 'https://api.github.com/repos/huggingface/datasets/issues/5490/reactions', 'total_count': 1, '+1': 0, '-1': 0, 'laugh': 0, 'hooray': 0, 'confused': 0, 'heart': 1, 'rocket': 0, 'eyes': 0}
https://api.github.com/repos/huggingface/datasets/issues/5490/timeline
{'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:23Z'}
true
https://api.github.com/repos/huggingface/datasets/issues/5489
https://api.github.com/repos/huggingface/datasets
https://api.github.com/repos/huggingface/datasets/issues/5489/labels{/name}
https://api.github.com/repos/huggingface/datasets/issues/5489/comments
https://api.github.com/repos/huggingface/datasets/issues/5489/events
https://github.com/huggingface/datasets/pull/5489
1,565,761,705
PR_kwDODunzps5I_WPH
5,489
Pin dill lower version
{'login': 'albertvillanova', 'id': 8515462, 'node_id': 'MDQ6VXNlcjg1MTU0NjI=', 'avatar_url': 'https://avatars.githubusercontent.com/u/8515462?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/albertvillanova', 'html_url': 'https://github.com/albertvillanova', 'followers_url': 'https://api.github.com/users/a...
[]
closed
False
[]
[ "_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,675,244,022,000
1,675,324,089,000
1,675,323,643,000
MEMBER
Pin `dill` lower version compatible with `datasets`. Related to: - #5487 - #288 Note that the required `dill._dill` module was introduced in dill-2.8.0, however we have heuristically tested that datasets can only be installed with dill>=3.0.0 (otherwise pip hangs indefinitely while preparing metadata for multip...
{'url': 'https://api.github.com/repos/huggingface/datasets/issues/5489/reactions', 'total_count': 0, '+1': 0, '-1': 0, 'laugh': 0, 'hooray': 0, 'confused': 0, 'heart': 0, 'rocket': 0, 'eyes': 0}
https://api.github.com/repos/huggingface/datasets/issues/5489/timeline
{'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:43Z'}
true
https://api.github.com/repos/huggingface/datasets/issues/5488
https://api.github.com/repos/huggingface/datasets
https://api.github.com/repos/huggingface/datasets/issues/5488/labels{/name}
https://api.github.com/repos/huggingface/datasets/issues/5488/comments
https://api.github.com/repos/huggingface/datasets/issues/5488/events
https://github.com/huggingface/datasets/issues/5488
1,565,025,262
I_kwDODunzps5dSGPu
5,488
Error loading MP3 files from CommonVoice
{'login': 'kradonneoh', 'id': 110259722, 'node_id': 'U_kgDOBpJuCg', 'avatar_url': 'https://avatars.githubusercontent.com/u/110259722?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/kradonneoh', 'html_url': 'https://github.com/kradonneoh', 'followers_url': 'https://api.github.com/users/kradonneoh/followers...
[]
closed
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,675,200,333,000
1,677,774,314,000
1,677,774,313,000
NONE
### Describe the bug When loading a CommonVoice dataset with `datasets==2.9.0` and `torchaudio>=0.12.0`, I get an error reading the audio arrays: ```python --------------------------------------------------------------------------- LibsndfileError Traceback (most recent call last) ~/.l...
{'url': 'https://api.github.com/repos/huggingface/datasets/issues/5488/reactions', 'total_count': 0, '+1': 0, '-1': 0, 'laugh': 0, 'hooray': 0, 'confused': 0, 'heart': 0, 'rocket': 0, 'eyes': 0}
https://api.github.com/repos/huggingface/datasets/issues/5488/timeline
completed
true
https://api.github.com/repos/huggingface/datasets/issues/5487
https://api.github.com/repos/huggingface/datasets
https://api.github.com/repos/huggingface/datasets/issues/5487/labels{/name}
https://api.github.com/repos/huggingface/datasets/issues/5487/comments
https://api.github.com/repos/huggingface/datasets/issues/5487/events
https://github.com/huggingface/datasets/issues/5487
1,564,480,121
I_kwDODunzps5dQBJ5
5,487
Incorrect filepath for dill module
{'login': 'avivbrokman', 'id': 35349273, 'node_id': 'MDQ6VXNlcjM1MzQ5Mjcz', 'avatar_url': 'https://avatars.githubusercontent.com/u/35349273?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/avivbrokman', 'html_url': 'https://github.com/avivbrokman', 'followers_url': 'https://api.github.com/users/avivbrokman...
[]
closed
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,675,177,268,000
1,677,255,516,000
1,677,255,516,000
NONE
### Describe the bug I installed the `datasets` package and when I try to `import` it, I get the following error: ``` Traceback (most recent call last): File "/var/folders/jt/zw5g74ln6tqfdzsl8tx378j00000gn/T/ipykernel_3805/3458380017.py", line 1, in <module> import datasets File "/Users/avivbrokman/...
{'url': 'https://api.github.com/repos/huggingface/datasets/issues/5487/reactions', 'total_count': 0, '+1': 0, '-1': 0, 'laugh': 0, 'hooray': 0, 'confused': 0, 'heart': 0, 'rocket': 0, 'eyes': 0}
https://api.github.com/repos/huggingface/datasets/issues/5487/timeline
completed
true
https://api.github.com/repos/huggingface/datasets/issues/5486
https://api.github.com/repos/huggingface/datasets
https://api.github.com/repos/huggingface/datasets/issues/5486/labels{/name}
https://api.github.com/repos/huggingface/datasets/issues/5486/comments
https://api.github.com/repos/huggingface/datasets/issues/5486/events
https://github.com/huggingface/datasets/issues/5486
1,564,059,749
I_kwDODunzps5dOahl
5,486
Adding `sep` to TextConfig
{'login': 'omar-araboghli', 'id': 29576434, 'node_id': 'MDQ6VXNlcjI5NTc2NDM0', 'avatar_url': 'https://avatars.githubusercontent.com/u/29576434?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/omar-araboghli', 'html_url': 'https://github.com/omar-araboghli', 'followers_url': 'https://api.github.com/users/om...
[]
open
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,675,161,593,000
1,675,176,618,000
null
NONE
I have a local a `.txt` file that follows the `CONLL2003` format which I need to load using `load_script`. However, by using `sample_by='line'`, one can only split the dataset into lines without splitting each line into columns. Would it be reasonable to add a `sep` argument in combination with `sample_by='paragraph'` ...
{'url': 'https://api.github.com/repos/huggingface/datasets/issues/5486/reactions', 'total_count': 0, '+1': 0, '-1': 0, 'laugh': 0, 'hooray': 0, 'confused': 0, 'heart': 0, 'rocket': 0, 'eyes': 0}
https://api.github.com/repos/huggingface/datasets/issues/5486/timeline
true
https://api.github.com/repos/huggingface/datasets/issues/5485
https://api.github.com/repos/huggingface/datasets
https://api.github.com/repos/huggingface/datasets/issues/5485/labels{/name}
https://api.github.com/repos/huggingface/datasets/issues/5485/comments
https://api.github.com/repos/huggingface/datasets/issues/5485/events
https://github.com/huggingface/datasets/pull/5485
1,563,002,829
PR_kwDODunzps5I2ER2
5,485
Add section in tutorial for IterableDataset
{'login': 'stevhliu', 'id': 59462357, 'node_id': 'MDQ6VXNlcjU5NDYyMzU3', 'avatar_url': 'https://avatars.githubusercontent.com/u/59462357?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/stevhliu', 'html_url': 'https://github.com/stevhliu', 'followers_url': 'https://api.github.com/users/stevhliu/followers',...
[]
closed
False
[]
[ "_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,675,104,184,000
1,675,275,338,000
1,675,274,926,000
MEMBER
Introduces an `IterableDataset` and how to access it in the tutorial section. It also adds a brief next step section at the end to provide a path for users who want more explanation and a path for users who want something more practical and learn how to preprocess these dataset types. It'll complement the awesome new d...
{'url': 'https://api.github.com/repos/huggingface/datasets/issues/5485/reactions', 'total_count': 0, '+1': 0, '-1': 0, 'laugh': 0, 'hooray': 0, 'confused': 0, 'heart': 0, 'rocket': 0, 'eyes': 0}
https://api.github.com/repos/huggingface/datasets/issues/5485/timeline
{'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:46Z'}
true
https://api.github.com/repos/huggingface/datasets/issues/5484
https://api.github.com/repos/huggingface/datasets
https://api.github.com/repos/huggingface/datasets/issues/5484/labels{/name}
https://api.github.com/repos/huggingface/datasets/issues/5484/comments
https://api.github.com/repos/huggingface/datasets/issues/5484/events
https://github.com/huggingface/datasets/pull/5484
1,562,877,070
PR_kwDODunzps5I1oaq
5,484
Update docs for `nyu_depth_v2` dataset
{'login': 'awsaf49', 'id': 36858976, 'node_id': 'MDQ6VXNlcjM2ODU4OTc2', 'avatar_url': 'https://avatars.githubusercontent.com/u/36858976?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/awsaf49', 'html_url': 'https://github.com/awsaf49', 'followers_url': 'https://api.github.com/users/awsaf49/followers', 'fo...
[]
closed
False
[]
[ "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,675,100,228,000
1,679,568,072,000
1,675,606,504,000
CONTRIBUTOR
This PR will fix the issue mentioned in #5461. cc: @sayakpaul @lhoestq
{'url': 'https://api.github.com/repos/huggingface/datasets/issues/5484/reactions', 'total_count': 0, '+1': 0, '-1': 0, 'laugh': 0, 'hooray': 0, 'confused': 0, 'heart': 0, 'rocket': 0, 'eyes': 0}
https://api.github.com/repos/huggingface/datasets/issues/5484/timeline
{'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:04Z'}
true
https://api.github.com/repos/huggingface/datasets/issues/5483
https://api.github.com/repos/huggingface/datasets
https://api.github.com/repos/huggingface/datasets/issues/5483/labels{/name}
https://api.github.com/repos/huggingface/datasets/issues/5483/comments
https://api.github.com/repos/huggingface/datasets/issues/5483/events
https://github.com/huggingface/datasets/issues/5483
1,560,894,690
I_kwDODunzps5dCVzi
5,483
Unable to upload dataset
{'login': 'yuvalkirstain', 'id': 57996478, 'node_id': 'MDQ6VXNlcjU3OTk2NDc4', 'avatar_url': 'https://avatars.githubusercontent.com/u/57996478?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/yuvalkirstain', 'html_url': 'https://github.com/yuvalkirstain', 'followers_url': 'https://api.github.com/users/yuval...
[]
closed
False
[]
[ "Seems to work now, perhaps it was something internal with our university's network." ]
1,674,919,106,000
1,674,979,789,000
1,674,979,789,000
NONE
### Describe the bug Uploading a simple dataset ends with an exception ### Steps to reproduce the bug I created a new conda env with python 3.10, pip installed datasets and: ```python >>> from datasets import load_dataset, load_from_disk, Dataset >>> d = Dataset.from_dict({"text": ["hello"] * 2}) >>> d.pus...
{'url': 'https://api.github.com/repos/huggingface/datasets/issues/5483/reactions', 'total_count': 0, '+1': 0, '-1': 0, 'laugh': 0, 'hooray': 0, 'confused': 0, 'heart': 0, 'rocket': 0, 'eyes': 0}
https://api.github.com/repos/huggingface/datasets/issues/5483/timeline
completed
true
https://api.github.com/repos/huggingface/datasets/issues/5482
https://api.github.com/repos/huggingface/datasets
https://api.github.com/repos/huggingface/datasets/issues/5482/labels{/name}
https://api.github.com/repos/huggingface/datasets/issues/5482/comments
https://api.github.com/repos/huggingface/datasets/issues/5482/events
https://github.com/huggingface/datasets/issues/5482
1,560,853,137
I_kwDODunzps5dCLqR
5,482
Reload features from Parquet metadata
{'login': 'lhoestq', 'id': 42851186, 'node_id': 'MDQ6VXNlcjQyODUxMTg2', 'avatar_url': 'https://avatars.githubusercontent.com/u/42851186?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/lhoestq', 'html_url': 'https://github.com/lhoestq', 'followers_url': 'https://api.github.com/users/lhoestq/followers', 'fo...
[{'id': 1935892871, 'node_id': 'MDU6TGFiZWwxOTM1ODkyODcx', 'url': 'https://api.github.com/repos/huggingface/datasets/labels/enhancement', 'name': 'enhancement', 'color': 'a2eeef', 'default': True, 'description': 'New feature or request'}, {'id': 3761482852, 'node_id': 'LA_kwDODunzps7gM6xk', 'url': 'https://api.github.c...
closed
False
{'login': 'MFreidank', 'id': 6368040, 'node_id': 'MDQ6VXNlcjYzNjgwNDA=', 'avatar_url': 'https://avatars.githubusercontent.com/u/6368040?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/MFreidank', 'html_url': 'https://github.com/MFreidank', 'followers_url': 'https://api.github.com/users/MFreidank/followers...
[{'login': 'MFreidank', 'id': 6368040, 'node_id': 'MDQ6VXNlcjYzNjgwNDA=', 'avatar_url': 'https://avatars.githubusercontent.com/u/6368040?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/MFreidank', 'html_url': 'https://github.com/MFreidank', 'followers_url': 'https://api.github.com/users/MFreidank/follower...
[ "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,674,911,551,000
1,676,217,422,000
1,676,217,422,000
MEMBER
The idea would be to allow this : ```python ds.to_parquet("my_dataset/ds.parquet") reloaded = load_dataset("my_dataset") assert ds.features == reloaded.features ``` And it should also work with Image and Audio types (right now they're reloaded as a dict type) This can be implemented by storing and reading th...
{'url': 'https://api.github.com/repos/huggingface/datasets/issues/5482/reactions', 'total_count': 1, '+1': 1, '-1': 0, 'laugh': 0, 'hooray': 0, 'confused': 0, 'heart': 0, 'rocket': 0, 'eyes': 0}
https://api.github.com/repos/huggingface/datasets/issues/5482/timeline
completed
true
https://api.github.com/repos/huggingface/datasets/issues/5481
https://api.github.com/repos/huggingface/datasets
https://api.github.com/repos/huggingface/datasets/issues/5481/labels{/name}
https://api.github.com/repos/huggingface/datasets/issues/5481/comments
https://api.github.com/repos/huggingface/datasets/issues/5481/events
https://github.com/huggingface/datasets/issues/5481
1,560,468,195
I_kwDODunzps5dAtrj
5,481
Load a cached dataset as iterable
{'login': 'lhoestq', 'id': 42851186, 'node_id': 'MDQ6VXNlcjQyODUxMTg2', 'avatar_url': 'https://avatars.githubusercontent.com/u/42851186?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/lhoestq', 'html_url': 'https://github.com/lhoestq', 'followers_url': 'https://api.github.com/users/lhoestq/followers', 'fo...
[{'id': 1935892871, 'node_id': 'MDU6TGFiZWwxOTM1ODkyODcx', 'url': 'https://api.github.com/repos/huggingface/datasets/labels/enhancement', 'name': 'enhancement', 'color': 'a2eeef', 'default': True, 'description': 'New feature or request'}, {'id': 3761482852, 'node_id': 'LA_kwDODunzps7gM6xk', 'url': 'https://api.github.c...
open
False
{'login': 'hamid-vakilzadeh', 'id': 56002455, 'node_id': 'MDQ6VXNlcjU2MDAyNDU1', 'avatar_url': 'https://avatars.githubusercontent.com/u/56002455?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/hamid-vakilzadeh', 'html_url': 'https://github.com/hamid-vakilzadeh', 'followers_url': 'https://api.github.com/us...
[{'login': 'hamid-vakilzadeh', 'id': 56002455, 'node_id': 'MDQ6VXNlcjU2MDAyNDU1', 'avatar_url': 'https://avatars.githubusercontent.com/u/56002455?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/hamid-vakilzadeh', 'html_url': 'https://github.com/hamid-vakilzadeh', 'followers_url': 'https://api.github.com/u...
[ "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,674,855,831,000
1,675,785,495,000
null
MEMBER
The idea would be to allow something like ```python ds = load_dataset("c4", "en", as_iterable=True) ``` To be used to train models. It would load an IterableDataset from the cached Arrow files. Cc @stas00 Edit : from the discussions we may load from cache when streaming=True
{'url': 'https://api.github.com/repos/huggingface/datasets/issues/5481/reactions', 'total_count': 3, '+1': 0, '-1': 0, 'laugh': 0, 'hooray': 0, 'confused': 0, 'heart': 3, 'rocket': 0, 'eyes': 0}
https://api.github.com/repos/huggingface/datasets/issues/5481/timeline
true
https://api.github.com/repos/huggingface/datasets/issues/5480
https://api.github.com/repos/huggingface/datasets
https://api.github.com/repos/huggingface/datasets/issues/5480/labels{/name}
https://api.github.com/repos/huggingface/datasets/issues/5480/comments
https://api.github.com/repos/huggingface/datasets/issues/5480/events
https://github.com/huggingface/datasets/pull/5480
1,560,364,866
PR_kwDODunzps5ItY2y
5,480
Select columns of Dataset or DatasetDict
{'login': 'daskol', 'id': 9336514, 'node_id': 'MDQ6VXNlcjkzMzY1MTQ=', 'avatar_url': 'https://avatars.githubusercontent.com/u/9336514?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/daskol', 'html_url': 'https://github.com/daskol', 'followers_url': 'https://api.github.com/users/daskol/followers', 'followin...
[]
closed
False
[]
[ "_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,674,849,976,000
1,676,286,613,000
1,676,282,375,000
CONTRIBUTOR
Close #5474 and #5468.
{'url': 'https://api.github.com/repos/huggingface/datasets/issues/5480/reactions', 'total_count': 0, '+1': 0, '-1': 0, 'laugh': 0, 'hooray': 0, 'confused': 0, 'heart': 0, 'rocket': 0, 'eyes': 0}
https://api.github.com/repos/huggingface/datasets/issues/5480/timeline
{'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:35Z'}
true
https://api.github.com/repos/huggingface/datasets/issues/5479
https://api.github.com/repos/huggingface/datasets
https://api.github.com/repos/huggingface/datasets/issues/5479/labels{/name}
https://api.github.com/repos/huggingface/datasets/issues/5479/comments
https://api.github.com/repos/huggingface/datasets/issues/5479/events
https://github.com/huggingface/datasets/issues/5479
1,560,357,590
I_kwDODunzps5dASrW
5,479
audiofolder works on local env, but creates empty dataset in a remote one, what dependencies could I be missing/outdated
{'login': 'jcho19', 'id': 107211437, 'node_id': 'U_kgDOBmPqrQ', 'avatar_url': 'https://avatars.githubusercontent.com/u/107211437?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/jcho19', 'html_url': 'https://github.com/jcho19', 'followers_url': 'https://api.github.com/users/jcho19/followers', 'following_ur...
[]
closed
False
[]
[]
1,674,849,682,000
1,674,969,794,000
1,674,969,794,000
NONE
### Describe the bug I'm using a custom audio dataset (400+ audio files) in the correct format for audiofolder. Although loading the dataset with audiofolder works in one local setup, it doesn't in a remote one (it just creates an empty dataset). I have both ffmpeg and libndfile installed on both computers, what cou...
{'url': 'https://api.github.com/repos/huggingface/datasets/issues/5479/reactions', 'total_count': 0, '+1': 0, '-1': 0, 'laugh': 0, 'hooray': 0, 'confused': 0, 'heart': 0, 'rocket': 0, 'eyes': 0}
https://api.github.com/repos/huggingface/datasets/issues/5479/timeline
completed
true
https://api.github.com/repos/huggingface/datasets/issues/5478
https://api.github.com/repos/huggingface/datasets
https://api.github.com/repos/huggingface/datasets/issues/5478/labels{/name}
https://api.github.com/repos/huggingface/datasets/issues/5478/comments
https://api.github.com/repos/huggingface/datasets/issues/5478/events
https://github.com/huggingface/datasets/pull/5478
1,560,357,583
PR_kwDODunzps5ItXQG
5,478
Tip for recomputing metadata
{'login': 'stevhliu', 'id': 59462357, 'node_id': 'MDQ6VXNlcjU5NDYyMzU3', 'avatar_url': 'https://avatars.githubusercontent.com/u/59462357?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/stevhliu', 'html_url': 'https://github.com/stevhliu', 'followers_url': 'https://api.github.com/users/stevhliu/followers',...
[]
closed
False
[]
[ "_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,674,849,682,000
1,675,106,541,000
1,675,106,126,000
MEMBER
From this [feedback](https://discuss.huggingface.co/t/nonmatchingsplitssizeserror/30033) on the forum, thought I'd include a tip for recomputing the metadata numbers if it is your own dataset.
{'url': 'https://api.github.com/repos/huggingface/datasets/issues/5478/reactions', 'total_count': 1, '+1': 0, '-1': 0, 'laugh': 0, 'hooray': 0, 'confused': 0, 'heart': 1, 'rocket': 0, 'eyes': 0}
https://api.github.com/repos/huggingface/datasets/issues/5478/timeline
{'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:26Z'}
true
https://api.github.com/repos/huggingface/datasets/issues/5477
https://api.github.com/repos/huggingface/datasets
https://api.github.com/repos/huggingface/datasets/issues/5477/labels{/name}
https://api.github.com/repos/huggingface/datasets/issues/5477/comments
https://api.github.com/repos/huggingface/datasets/issues/5477/events
https://github.com/huggingface/datasets/issues/5477
1,559,909,892
I_kwDODunzps5c-lYE
5,477
Unpin sqlalchemy once issue is fixed
{'login': 'albertvillanova', 'id': 8515462, 'node_id': 'MDQ6VXNlcjg1MTU0NjI=', 'avatar_url': 'https://avatars.githubusercontent.com/u/8515462?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/albertvillanova', 'html_url': 'https://github.com/albertvillanova', 'followers_url': 'https://api.github.com/users/a...
[]
open
False
[]
[ "@albertvillanova It looks like that issue has been fixed so I made a PR to unpin sqlalchemy! " ]
1,674,831,715,000
1,677,634,496,000
null
MEMBER
Once the source issue is fixed: - pandas-dev/pandas#51015 we should revert the pin introduced in: - #5476
{'url': 'https://api.github.com/repos/huggingface/datasets/issues/5477/reactions', 'total_count': 0, '+1': 0, '-1': 0, 'laugh': 0, 'hooray': 0, 'confused': 0, 'heart': 0, 'rocket': 0, 'eyes': 0}
https://api.github.com/repos/huggingface/datasets/issues/5477/timeline
true
https://api.github.com/repos/huggingface/datasets/issues/5476
https://api.github.com/repos/huggingface/datasets
https://api.github.com/repos/huggingface/datasets/issues/5476/labels{/name}
https://api.github.com/repos/huggingface/datasets/issues/5476/comments
https://api.github.com/repos/huggingface/datasets/issues/5476/events
https://github.com/huggingface/datasets/pull/5476
1,559,594,684
PR_kwDODunzps5IqwC_
5,476
Pin sqlalchemy
{'login': 'lhoestq', 'id': 42851186, 'node_id': 'MDQ6VXNlcjQyODUxMTg2', 'avatar_url': 'https://avatars.githubusercontent.com/u/42851186?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/lhoestq', 'html_url': 'https://github.com/lhoestq', 'followers_url': 'https://api.github.com/users/lhoestq/followers', 'fo...
[]
closed
False
[]
[ "_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,674,818,798,000
1,674,821,211,000
1,674,820,668,000
MEMBER
since sqlalchemy update to 2.0.0 the CI started to fail: https://github.com/huggingface/datasets/actions/runs/4023742457/jobs/6914976514 the error comes from pandas: https://github.com/pandas-dev/pandas/issues/51015
{'url': 'https://api.github.com/repos/huggingface/datasets/issues/5476/reactions', 'total_count': 0, '+1': 0, '-1': 0, 'laugh': 0, 'hooray': 0, 'confused': 0, 'heart': 0, 'rocket': 0, 'eyes': 0}
https://api.github.com/repos/huggingface/datasets/issues/5476/timeline
{'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:48Z'}
true
https://api.github.com/repos/huggingface/datasets/issues/5475
https://api.github.com/repos/huggingface/datasets
https://api.github.com/repos/huggingface/datasets/issues/5475/labels{/name}
https://api.github.com/repos/huggingface/datasets/issues/5475/comments
https://api.github.com/repos/huggingface/datasets/issues/5475/events
https://github.com/huggingface/datasets/issues/5475
1,559,030,149
I_kwDODunzps5c7OmF
5,475
Dataset scan time is much slower than using native arrow
{'login': 'jonny-cyberhaven', 'id': 121845112, 'node_id': 'U_kgDOB0M1eA', 'avatar_url': 'https://avatars.githubusercontent.com/u/121845112?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/jonny-cyberhaven', 'html_url': 'https://github.com/jonny-cyberhaven', 'followers_url': 'https://api.github.com/users/jo...
[]
closed
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,674,783,145,000
1,675,095,431,000
1,675,095,431,000
CONTRIBUTOR
### Describe the bug I'm basically running the same scanning experiment from the tutorials https://huggingface.co/course/chapter5/4?fw=pt except now I'm comparing to a native pyarrow version. I'm finding that the native pyarrow approach is much faster (2 orders of magnitude). Is there something I'm missing that exp...
{'url': 'https://api.github.com/repos/huggingface/datasets/issues/5475/reactions', 'total_count': 0, '+1': 0, '-1': 0, 'laugh': 0, 'hooray': 0, 'confused': 0, 'heart': 0, 'rocket': 0, 'eyes': 0}
https://api.github.com/repos/huggingface/datasets/issues/5475/timeline
completed
true
https://api.github.com/repos/huggingface/datasets/issues/5474
https://api.github.com/repos/huggingface/datasets
https://api.github.com/repos/huggingface/datasets/issues/5474/labels{/name}
https://api.github.com/repos/huggingface/datasets/issues/5474/comments
https://api.github.com/repos/huggingface/datasets/issues/5474/events
https://github.com/huggingface/datasets/issues/5474
1,558,827,155
I_kwDODunzps5c6dCT
5,474
Column project operation on `datasets.Dataset`
{'login': 'daskol', 'id': 9336514, 'node_id': 'MDQ6VXNlcjkzMzY1MTQ=', 'avatar_url': 'https://avatars.githubusercontent.com/u/9336514?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/daskol', 'html_url': 'https://github.com/daskol', 'followers_url': 'https://api.github.com/users/daskol/followers', 'followin...
[{'id': 1935892865, 'node_id': 'MDU6TGFiZWwxOTM1ODkyODY1', 'url': 'https://api.github.com/repos/huggingface/datasets/labels/duplicate', 'name': 'duplicate', 'color': 'cfd3d7', 'default': True, 'description': 'This issue or pull request already exists'}, {'id': 1935892871, 'node_id': 'MDU6TGFiZWwxOTM1ODkyODcx', 'url': '...
closed
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,674,769,673,000
1,676,282,377,000
1,676,282,377,000
CONTRIBUTOR
### Feature request There is no operation to select a subset of columns of original dataset. Expected API follows. ```python a = Dataset.from_dict({ 'int': [0, 1, 2] 'char': ['a', 'b', 'c'], 'none': [None] * 3, }) b = a.project('int', 'char') # usually, .select() print(a.column_names) # std...
{'url': 'https://api.github.com/repos/huggingface/datasets/issues/5474/reactions', 'total_count': 0, '+1': 0, '-1': 0, 'laugh': 0, 'hooray': 0, 'confused': 0, 'heart': 0, 'rocket': 0, 'eyes': 0}
https://api.github.com/repos/huggingface/datasets/issues/5474/timeline
completed
true
https://api.github.com/repos/huggingface/datasets/issues/5473
https://api.github.com/repos/huggingface/datasets
https://api.github.com/repos/huggingface/datasets/issues/5473/labels{/name}
https://api.github.com/repos/huggingface/datasets/issues/5473/comments
https://api.github.com/repos/huggingface/datasets/issues/5473/events
https://github.com/huggingface/datasets/pull/5473
1,558,668,197
PR_kwDODunzps5Inm9h
5,473
Set dev version
{'login': 'lhoestq', 'id': 42851186, 'node_id': 'MDQ6VXNlcjQyODUxMTg2', 'avatar_url': 'https://avatars.githubusercontent.com/u/42851186?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/lhoestq', 'html_url': 'https://github.com/lhoestq', 'followers_url': 'https://api.github.com/users/lhoestq/followers', 'fo...
[]
closed
False
[]
[ "_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,674,761,684,000
1,674,762,454,000
1,674,761,910,000
MEMBER
{'url': 'https://api.github.com/repos/huggingface/datasets/issues/5473/reactions', 'total_count': 0, '+1': 0, '-1': 0, 'laugh': 0, 'hooray': 0, 'confused': 0, 'heart': 0, 'rocket': 0, 'eyes': 0}
https://api.github.com/repos/huggingface/datasets/issues/5473/timeline
{'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:30Z'}
true
https://api.github.com/repos/huggingface/datasets/issues/5472
https://api.github.com/repos/huggingface/datasets
https://api.github.com/repos/huggingface/datasets/issues/5472/labels{/name}
https://api.github.com/repos/huggingface/datasets/issues/5472/comments
https://api.github.com/repos/huggingface/datasets/issues/5472/events
https://github.com/huggingface/datasets/pull/5472
1,558,662,251
PR_kwDODunzps5Inlp8
5,472
Release: 2.9.0
{'login': 'lhoestq', 'id': 42851186, 'node_id': 'MDQ6VXNlcjQyODUxMTg2', 'avatar_url': 'https://avatars.githubusercontent.com/u/42851186?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/lhoestq', 'html_url': 'https://github.com/lhoestq', 'followers_url': 'https://api.github.com/users/lhoestq/followers', 'fo...
[]
closed
False
[]
[ "_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,674,761,382,000
1,674,762,044,000
1,674,761,580,000
MEMBER
{'url': 'https://api.github.com/repos/huggingface/datasets/issues/5472/reactions', 'total_count': 0, '+1': 0, '-1': 0, 'laugh': 0, 'hooray': 0, 'confused': 0, 'heart': 0, 'rocket': 0, 'eyes': 0}
https://api.github.com/repos/huggingface/datasets/issues/5472/timeline
{'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:00Z'}
true
https://api.github.com/repos/huggingface/datasets/issues/5471
https://api.github.com/repos/huggingface/datasets
https://api.github.com/repos/huggingface/datasets/issues/5471/labels{/name}
https://api.github.com/repos/huggingface/datasets/issues/5471/comments
https://api.github.com/repos/huggingface/datasets/issues/5471/events
https://github.com/huggingface/datasets/pull/5471
1,558,557,545
PR_kwDODunzps5InPA7
5,471
Add num_test_batches option
{'login': 'amyeroberts', 'id': 22614925, 'node_id': 'MDQ6VXNlcjIyNjE0OTI1', 'avatar_url': 'https://avatars.githubusercontent.com/u/22614925?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/amyeroberts', 'html_url': 'https://github.com/amyeroberts', 'followers_url': 'https://api.github.com/users/amyeroberts...
[]
closed
False
[]
[ "_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,674,756,580,000
1,674,843,405,000
1,674,842,916,000
CONTRIBUTOR
`to_tf_dataset` calls can be very costly because of the number of test batches drawn during `_get_output_signature`. The test batches are draw in order to estimate the shapes when creating the tensorflow dataset. This is necessary when the shapes can be irregular, but not in cases when the tensor shapes are the same ac...
{'url': 'https://api.github.com/repos/huggingface/datasets/issues/5471/reactions', 'total_count': 0, '+1': 0, '-1': 0, 'laugh': 0, 'hooray': 0, 'confused': 0, 'heart': 0, 'rocket': 0, 'eyes': 0}
https://api.github.com/repos/huggingface/datasets/issues/5471/timeline
{'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:36Z'}
true
https://api.github.com/repos/huggingface/datasets/issues/5470
https://api.github.com/repos/huggingface/datasets
https://api.github.com/repos/huggingface/datasets/issues/5470/labels{/name}
https://api.github.com/repos/huggingface/datasets/issues/5470/comments
https://api.github.com/repos/huggingface/datasets/issues/5470/events
https://github.com/huggingface/datasets/pull/5470
1,558,542,611
PR_kwDODunzps5InLw9
5,470
Update dataset card creation
{'login': 'stevhliu', 'id': 59462357, 'node_id': 'MDQ6VXNlcjU5NDYyMzU3', 'avatar_url': 'https://avatars.githubusercontent.com/u/59462357?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/stevhliu', 'html_url': 'https://github.com/stevhliu', 'followers_url': 'https://api.github.com/users/stevhliu/followers',...
[]
closed
False
[]
[ "_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,674,755,871,000
1,674,836,820,000
1,674,836,410,000
MEMBER
Encourages users to create a dataset card on the Hub directly with the new metadata ui + import dataset card template instead of telling users to manually create and upload one.
{'url': 'https://api.github.com/repos/huggingface/datasets/issues/5470/reactions', 'total_count': 0, '+1': 0, '-1': 0, 'laugh': 0, 'hooray': 0, 'confused': 0, 'heart': 0, 'rocket': 0, 'eyes': 0}
https://api.github.com/repos/huggingface/datasets/issues/5470/timeline
{'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:10Z'}
true
https://api.github.com/repos/huggingface/datasets/issues/5469
https://api.github.com/repos/huggingface/datasets
https://api.github.com/repos/huggingface/datasets/issues/5469/labels{/name}
https://api.github.com/repos/huggingface/datasets/issues/5469/comments
https://api.github.com/repos/huggingface/datasets/issues/5469/events
https://github.com/huggingface/datasets/pull/5469
1,558,346,906
PR_kwDODunzps5Imhk2
5,469
Remove deprecated `shard_size` arg from `.push_to_hub()`
{'login': 'polinaeterna', 'id': 16348744, 'node_id': 'MDQ6VXNlcjE2MzQ4NzQ0', 'avatar_url': 'https://avatars.githubusercontent.com/u/16348744?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/polinaeterna', 'html_url': 'https://github.com/polinaeterna', 'followers_url': 'https://api.github.com/users/polinaet...
[]
closed
False
[]
[ "_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,674,747,656,000
1,674,754,671,000
1,674,754,259,000
CONTRIBUTOR
The docstrings say that it was supposed to be deprecated since version 2.4.0, can we remove it?
{'url': 'https://api.github.com/repos/huggingface/datasets/issues/5469/reactions', 'total_count': 0, '+1': 0, '-1': 0, 'laugh': 0, 'hooray': 0, 'confused': 0, 'heart': 0, 'rocket': 0, 'eyes': 0}
https://api.github.com/repos/huggingface/datasets/issues/5469/timeline
{'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:59Z'}
true
https://api.github.com/repos/huggingface/datasets/issues/5468
https://api.github.com/repos/huggingface/datasets
https://api.github.com/repos/huggingface/datasets/issues/5468/labels{/name}
https://api.github.com/repos/huggingface/datasets/issues/5468/comments
https://api.github.com/repos/huggingface/datasets/issues/5468/events
https://github.com/huggingface/datasets/issues/5468
1,558,066,625
I_kwDODunzps5c3jXB
5,468
Allow opposite of remove_columns on Dataset and DatasetDict
{'login': 'hollance', 'id': 346853, 'node_id': 'MDQ6VXNlcjM0Njg1Mw==', 'avatar_url': 'https://avatars.githubusercontent.com/u/346853?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/hollance', 'html_url': 'https://github.com/hollance', 'followers_url': 'https://api.github.com/users/hollance/followers', 'fo...
[{'id': 1935892871, 'node_id': 'MDU6TGFiZWwxOTM1ODkyODcx', 'url': 'https://api.github.com/repos/huggingface/datasets/labels/enhancement', 'name': 'enhancement', 'color': 'a2eeef', 'default': True, 'description': 'New feature or request'}, {'id': 1935892877, 'node_id': 'MDU6TGFiZWwxOTM1ODkyODc3', 'url': 'https://api.git...
closed
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,674,736,089,000
1,676,282,378,000
1,676,282,378,000
NONE
### Feature request In this blog post https://huggingface.co/blog/audio-datasets, I noticed the following code: ```python COLUMNS_TO_KEEP = ["text", "audio"] all_columns = gigaspeech["train"].column_names columns_to_remove = set(all_columns) - set(COLUMNS_TO_KEEP) gigaspeech = gigaspeech.remove_columns(column...
{'url': 'https://api.github.com/repos/huggingface/datasets/issues/5468/reactions', 'total_count': 0, '+1': 0, '-1': 0, 'laugh': 0, 'hooray': 0, 'confused': 0, 'heart': 0, 'rocket': 0, 'eyes': 0}
https://api.github.com/repos/huggingface/datasets/issues/5468/timeline
completed
true
https://api.github.com/repos/huggingface/datasets/issues/5467
https://api.github.com/repos/huggingface/datasets
https://api.github.com/repos/huggingface/datasets/issues/5467/labels{/name}
https://api.github.com/repos/huggingface/datasets/issues/5467/comments
https://api.github.com/repos/huggingface/datasets/issues/5467/events
https://github.com/huggingface/datasets/pull/5467
1,557,898,273
PR_kwDODunzps5IlAlk
5,467
Fix conda command in readme
{'login': 'lhoestq', 'id': 42851186, 'node_id': 'MDQ6VXNlcjQyODUxMTg2', 'avatar_url': 'https://avatars.githubusercontent.com/u/42851186?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/lhoestq', 'html_url': 'https://github.com/lhoestq', 'followers_url': 'https://api.github.com/users/lhoestq/followers', 'fo...
[]
closed
False
[]
[ "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,674,727,381,000
1,674,757,936,000
1,674,757,777,000
MEMBER
The [conda forge channel](https://anaconda.org/conda-forge/datasets) is lagging behind (as of right now, only 2.7.1 is available), we should recommend using the [Hugging face channel](https://anaconda.org/HuggingFace/datasets) that we are maintaining ``` conda install -c huggingface datasets ```
{'url': 'https://api.github.com/repos/huggingface/datasets/issues/5467/reactions', 'total_count': 0, '+1': 0, '-1': 0, 'laugh': 0, 'hooray': 0, 'confused': 0, 'heart': 0, 'rocket': 0, 'eyes': 0}
https://api.github.com/repos/huggingface/datasets/issues/5467/timeline
{'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': None}
true
https://api.github.com/repos/huggingface/datasets/issues/5466
https://api.github.com/repos/huggingface/datasets
https://api.github.com/repos/huggingface/datasets/issues/5466/labels{/name}
https://api.github.com/repos/huggingface/datasets/issues/5466/comments
https://api.github.com/repos/huggingface/datasets/issues/5466/events
https://github.com/huggingface/datasets/pull/5466
1,557,584,845
PR_kwDODunzps5Ij-z1
5,466
remove pathlib.Path with URIs
{'login': 'jonny-cyberhaven', 'id': 121845112, 'node_id': 'U_kgDOB0M1eA', 'avatar_url': 'https://avatars.githubusercontent.com/u/121845112?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/jonny-cyberhaven', 'html_url': 'https://github.com/jonny-cyberhaven', 'followers_url': 'https://api.github.com/users/jo...
[]
closed
False
[]
[ "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...
1,674,703,545,000
1,674,752,937,000
1,674,752,351,000
CONTRIBUTOR
Pathlib will convert "//" to "/" which causes retry errors when downloading from cloud storage
{'url': 'https://api.github.com/repos/huggingface/datasets/issues/5466/reactions', 'total_count': 0, '+1': 0, '-1': 0, 'laugh': 0, 'hooray': 0, 'confused': 0, 'heart': 0, 'rocket': 0, 'eyes': 0}
https://api.github.com/repos/huggingface/datasets/issues/5466/timeline
{'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:11Z'}
true
https://api.github.com/repos/huggingface/datasets/issues/5465
https://api.github.com/repos/huggingface/datasets
https://api.github.com/repos/huggingface/datasets/issues/5465/labels{/name}
https://api.github.com/repos/huggingface/datasets/issues/5465/comments
https://api.github.com/repos/huggingface/datasets/issues/5465/events
https://github.com/huggingface/datasets/issues/5465
1,557,510,618
I_kwDODunzps5c1bna
5,465
audiofolder creates empty dataset even though the dataset passed in follows the correct structure
{'login': 'jcho19', 'id': 107211437, 'node_id': 'U_kgDOBmPqrQ', 'avatar_url': 'https://avatars.githubusercontent.com/u/107211437?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/jcho19', 'html_url': 'https://github.com/jcho19', 'followers_url': 'https://api.github.com/users/jcho19/followers', 'following_ur...
[]
closed
False
[]
[]
1,674,697,545,000
1,674,722,925,000
1,674,722,925,000
NONE
### 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...
{'url': 'https://api.github.com/repos/huggingface/datasets/issues/5465/reactions', 'total_count': 0, '+1': 0, '-1': 0, 'laugh': 0, 'hooray': 0, 'confused': 0, 'heart': 0, 'rocket': 0, 'eyes': 0}
https://api.github.com/repos/huggingface/datasets/issues/5465/timeline
completed
true
https://api.github.com/repos/huggingface/datasets/issues/5464
https://api.github.com/repos/huggingface/datasets
https://api.github.com/repos/huggingface/datasets/issues/5464/labels{/name}
https://api.github.com/repos/huggingface/datasets/issues/5464/comments
https://api.github.com/repos/huggingface/datasets/issues/5464/events
https://github.com/huggingface/datasets/issues/5464
1,557,462,104
I_kwDODunzps5c1PxY
5,464
NonMatchingChecksumError for hendrycks_test
{'login': 'sarahwie', 'id': 8027676, 'node_id': 'MDQ6VXNlcjgwMjc2NzY=', 'avatar_url': 'https://avatars.githubusercontent.com/u/8027676?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/sarahwie', 'html_url': 'https://github.com/sarahwie', 'followers_url': 'https://api.github.com/users/sarahwie/followers', '...
[]
closed
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,674,693,803,000
1,674,798,271,000
1,674,718,918,000
NONE
### 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...
{'url': 'https://api.github.com/repos/huggingface/datasets/issues/5464/reactions', 'total_count': 0, '+1': 0, '-1': 0, 'laugh': 0, 'hooray': 0, 'confused': 0, 'heart': 0, 'rocket': 0, 'eyes': 0}
https://api.github.com/repos/huggingface/datasets/issues/5464/timeline
completed
true