state stringclasses 2
values | created_at stringlengths 20 20 | active_lock_reason null | url stringlengths 61 61 | assignee dict | reactions dict | draft bool 2
classes | labels_url stringlengths 75 75 | user dict | html_url stringlengths 49 51 | assignees list | locked bool 1
class | updated_at stringlengths 20 20 | closed_at stringlengths 20 20 ⌀ | milestone dict | comments list | state_reason stringclasses 3
values | labels list | title stringlengths 1 290 | author_association stringclasses 3
values | timeline_url stringlengths 70 70 | body stringlengths 0 228k ⌀ | repository_url stringclasses 1
value | pull_request dict | id int64 773M 2.11B | comments_url stringlengths 70 70 | node_id stringlengths 18 32 | performed_via_github_app null | number int64 1.62k 6.64k | events_url stringlengths 68 68 | is_pull_request bool 2
classes |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
closed | 2023-04-30T13:23:01Z | null | https://api.github.com/repos/huggingface/datasets/issues/5810 | null | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/huggingface/datasets/issues/5810/reactions"
} | false | https://api.github.com/repos/huggingface/datasets/issues/5810/labels{/name} | {
"avatar_url": "https://avatars.githubusercontent.com/u/3927621?v=4",
"events_url": "https://api.github.com/users/yuukicammy/events{/privacy}",
"followers_url": "https://api.github.com/users/yuukicammy/followers",
"following_url": "https://api.github.com/users/yuukicammy/following{/other_user}",
"gists_url":... | https://github.com/huggingface/datasets/pull/5810 | [] | false | 2023-05-22T08:12:39Z | 2023-05-22T08:05:31Z | null | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Sorry, the local test passed because it was inadvertently testing the main branch. I am currently fixing where the test failed.",
"- I have fixed the bug and addressed the above two points.\r\n- I have tested locally and confirmed ... | null | [] | Add `fn_kwargs` to `map` and `filter` of `IterableDataset` and `IterableDatasetDict` | CONTRIBUTOR | https://api.github.com/repos/huggingface/datasets/issues/5810/timeline | # Overview
I've added an argument`fn_kwargs` for map and filter methods of `IterableDataset` and `IterableDatasetDict` classes.
# Details
Currently, the map and filter methods of some classes related to `IterableDataset` do not allow specifing the arguments passed to the function. This pull request adds `fn_kwargs... | https://api.github.com/repos/huggingface/datasets | {
"diff_url": "https://github.com/huggingface/datasets/pull/5810.diff",
"html_url": "https://github.com/huggingface/datasets/pull/5810",
"merged_at": "2023-05-22T08:05:31Z",
"patch_url": "https://github.com/huggingface/datasets/pull/5810.patch",
"url": "https://api.github.com/repos/huggingface/datasets/pulls/... | 1,689,917,822 | https://api.github.com/repos/huggingface/datasets/issues/5810/comments | PR_kwDODunzps5PdJHI | null | 5,810 | https://api.github.com/repos/huggingface/datasets/issues/5810/events | true |
closed | 2023-04-30T06:12:04Z | null | https://api.github.com/repos/huggingface/datasets/issues/5809 | null | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/huggingface/datasets/issues/5809/reactions"
} | null | https://api.github.com/repos/huggingface/datasets/issues/5809/labels{/name} | {
"avatar_url": "https://avatars.githubusercontent.com/u/64122846?v=4",
"events_url": "https://api.github.com/users/yulgok22/events{/privacy}",
"followers_url": "https://api.github.com/users/yulgok22/followers",
"following_url": "https://api.github.com/users/yulgok22/following{/other_user}",
"gists_url": "htt... | https://github.com/huggingface/datasets/issues/5809 | [] | false | 2023-07-21T14:11:00Z | 2023-07-21T14:11:00Z | null | [
"Hi ! I don't remember exactly how it was done, but maybe you have to embed `f\"{title}<sep>{text}\"` ?\r\n\r\nUsing a HF tokenizer it corresponds to doing\r\n```python\r\ntokenized = tokenizer(titles, texts)\r\n```"
] | completed | [] | wiki_dpr details for Open Domain Question Answering tasks | NONE | https://api.github.com/repos/huggingface/datasets/issues/5809/timeline | Hey guys!
Thanks for creating the wiki_dpr dataset!
I am currently trying to combine wiki_dpr and my own datasets. but I don't know how to make the embedding value the same way as wiki_dpr.
As an experiment, I embeds the text of id="7" of wiki_dpr, but this result was very different from wiki_dpr. | https://api.github.com/repos/huggingface/datasets | null | 1,689,797,293 | https://api.github.com/repos/huggingface/datasets/issues/5809/comments | I_kwDODunzps5kuEKt | null | 5,809 | https://api.github.com/repos/huggingface/datasets/issues/5809/events | false |
closed | 2023-04-28T18:34:32Z | null | https://api.github.com/repos/huggingface/datasets/issues/5807 | null | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/huggingface/datasets/issues/5807/reactions"
} | false | https://api.github.com/repos/huggingface/datasets/issues/5807/labels{/name} | {
"avatar_url": "https://avatars.githubusercontent.com/u/12763339?v=4",
"events_url": "https://api.github.com/users/es94129/events{/privacy}",
"followers_url": "https://api.github.com/users/es94129/followers",
"following_url": "https://api.github.com/users/es94129/following{/other_user}",
"gists_url": "https:... | https://github.com/huggingface/datasets/pull/5807 | [] | false | 2023-05-25T16:54:14Z | 2023-05-25T16:54:14Z | null | [
"Hi @lhoestq or other maintainers, this is ready for review, could you please take a look?",
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_5807). All of your documentation changes will be reflected on that endpoint.",
"Per the discussion in #5798, will implement with `jo... | null | [] | Support parallelized downloading in load_dataset with Spark | CONTRIBUTOR | https://api.github.com/repos/huggingface/datasets/issues/5807/timeline | As proposed in https://github.com/huggingface/datasets/issues/5798, this adds support to parallelized downloading in `load_dataset` with Spark, which can speed up the process by distributing the workload to worker nodes.
Parallelizing dataset processing is not supported in this PR. | https://api.github.com/repos/huggingface/datasets | {
"diff_url": "https://github.com/huggingface/datasets/pull/5807.diff",
"html_url": "https://github.com/huggingface/datasets/pull/5807",
"merged_at": null,
"patch_url": "https://github.com/huggingface/datasets/pull/5807.patch",
"url": "https://api.github.com/repos/huggingface/datasets/pulls/5807"
} | 1,688,977,237 | https://api.github.com/repos/huggingface/datasets/issues/5807/comments | PR_kwDODunzps5PaKRE | null | 5,807 | https://api.github.com/repos/huggingface/datasets/issues/5807/events | true |
open | 2023-04-28T13:50:15Z | null | https://api.github.com/repos/huggingface/datasets/issues/5806 | {
"avatar_url": "https://avatars.githubusercontent.com/u/49894149?v=4",
"events_url": "https://api.github.com/users/tsabbir96/events{/privacy}",
"followers_url": "https://api.github.com/users/tsabbir96/followers",
"following_url": "https://api.github.com/users/tsabbir96/following{/other_user}",
"gists_url": "... | {
"+1": 1,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 1,
"url": "https://api.github.com/repos/huggingface/datasets/issues/5806/reactions"
} | null | https://api.github.com/repos/huggingface/datasets/issues/5806/labels{/name} | {
"avatar_url": "https://avatars.githubusercontent.com/u/16948304?v=4",
"events_url": "https://api.github.com/users/s-JoL/events{/privacy}",
"followers_url": "https://api.github.com/users/s-JoL/followers",
"following_url": "https://api.github.com/users/s-JoL/following{/other_user}",
"gists_url": "https://api.... | https://github.com/huggingface/datasets/issues/5806 | [
{
"avatar_url": "https://avatars.githubusercontent.com/u/49894149?v=4",
"events_url": "https://api.github.com/users/tsabbir96/events{/privacy}",
"followers_url": "https://api.github.com/users/tsabbir96/followers",
"following_url": "https://api.github.com/users/tsabbir96/following{/other_user}",
... | false | 2024-01-21T16:38:29Z | null | null | [
"Implementing this makes sense (e.g., `tensorflow_datasets`' imagefolder returns image filenames). Also, in Datasets 3.0, we plan only to store the bytes of an image/audio, not its path, so this feature would be useful when the path info is still needed.",
"Hey @mariosasko, Can I work on this issue, this one seem... | null | [
{
"color": "a2eeef",
"default": true,
"description": "New feature or request",
"id": 1935892871,
"name": "enhancement",
"node_id": "MDU6TGFiZWwxOTM1ODkyODcx",
"url": "https://api.github.com/repos/huggingface/datasets/labels/enhancement"
},
{
"color": "7057ff",
"default": true... | Return the name of the currently loaded file in the load_dataset function. | NONE | https://api.github.com/repos/huggingface/datasets/issues/5806/timeline | ### Feature request
Add an optional parameter return_file_name in the load_dataset function. When it is set to True, the function will include the name of the file corresponding to the current line as a feature in the returned output.
### Motivation
When training large language models, machine problems may interrupt... | https://api.github.com/repos/huggingface/datasets | null | 1,688,598,095 | https://api.github.com/repos/huggingface/datasets/issues/5806/comments | I_kwDODunzps5kpfZP | null | 5,806 | https://api.github.com/repos/huggingface/datasets/issues/5806/events | false |
open | 2023-04-28T13:26:22Z | null | https://api.github.com/repos/huggingface/datasets/issues/5805 | null | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 1,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 1,
"url": "https://api.github.com/repos/huggingface/datasets/issues/5805/reactions"
} | null | https://api.github.com/repos/huggingface/datasets/issues/5805/labels{/name} | {
"avatar_url": "https://avatars.githubusercontent.com/u/16348744?v=4",
"events_url": "https://api.github.com/users/polinaeterna/events{/privacy}",
"followers_url": "https://api.github.com/users/polinaeterna/followers",
"following_url": "https://api.github.com/users/polinaeterna/following{/other_user}",
"gist... | https://github.com/huggingface/datasets/issues/5805 | [] | false | 2023-06-23T14:58:44Z | null | null | [
"I can work on this. The link to the tutorial seems to be broken though @polinaeterna. ",
"@isunitha98selvan would be great, thank you! which link are you talking about? I think it should work: https://huggingface.co/docs/datasets/create_dataset"
] | null | [
{
"color": "0075ca",
"default": true,
"description": "Improvements or additions to documentation",
"id": 1935892861,
"name": "documentation",
"node_id": "MDU6TGFiZWwxOTM1ODkyODYx",
"url": "https://api.github.com/repos/huggingface/datasets/labels/documentation"
}
] | Improve `Create a dataset` tutorial | CONTRIBUTOR | https://api.github.com/repos/huggingface/datasets/issues/5805/timeline | Our [tutorial on how to create a dataset](https://huggingface.co/docs/datasets/create_dataset) is a bit misleading.
1. In **Folder-based builders** section it says that we have two folder-based builders as standard builders, but we also have similar builders (that can be created from directory with data of required f... | https://api.github.com/repos/huggingface/datasets | null | 1,688,558,577 | https://api.github.com/repos/huggingface/datasets/issues/5805/comments | I_kwDODunzps5kpVvx | null | 5,805 | https://api.github.com/repos/huggingface/datasets/issues/5805/events | false |
closed | 2023-04-28T10:10:01Z | null | https://api.github.com/repos/huggingface/datasets/issues/5804 | null | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/huggingface/datasets/issues/5804/reactions"
} | false | https://api.github.com/repos/huggingface/datasets/issues/5804/labels{/name} | {
"avatar_url": "https://avatars.githubusercontent.com/u/42851186?v=4",
"events_url": "https://api.github.com/users/lhoestq/events{/privacy}",
"followers_url": "https://api.github.com/users/lhoestq/followers",
"following_url": "https://api.github.com/users/lhoestq/following{/other_user}",
"gists_url": "https:... | https://github.com/huggingface/datasets/pull/5804 | [] | false | 2023-04-28T10:18:51Z | 2023-04-28T10:10:29Z | null | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_5804). All of your documentation changes will be reflected on that endpoint.",
"<details>\n<summary>Show benchmarks</summary>\n\nPyArrow==8.0.0\n\n<details>\n<summary>Show updated benchmarks!</summary>\n\n### Benchmark: benchma... | null | [] | Set dev version | MEMBER | https://api.github.com/repos/huggingface/datasets/issues/5804/timeline | null | https://api.github.com/repos/huggingface/datasets | {
"diff_url": "https://github.com/huggingface/datasets/pull/5804.diff",
"html_url": "https://github.com/huggingface/datasets/pull/5804",
"merged_at": "2023-04-28T10:10:29Z",
"patch_url": "https://github.com/huggingface/datasets/pull/5804.patch",
"url": "https://api.github.com/repos/huggingface/datasets/pulls/... | 1,688,285,666 | https://api.github.com/repos/huggingface/datasets/issues/5804/comments | PR_kwDODunzps5PX0Dk | null | 5,804 | https://api.github.com/repos/huggingface/datasets/issues/5804/events | true |
closed | 2023-04-28T09:52:11Z | null | https://api.github.com/repos/huggingface/datasets/issues/5803 | null | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/huggingface/datasets/issues/5803/reactions"
} | false | https://api.github.com/repos/huggingface/datasets/issues/5803/labels{/name} | {
"avatar_url": "https://avatars.githubusercontent.com/u/42851186?v=4",
"events_url": "https://api.github.com/users/lhoestq/events{/privacy}",
"followers_url": "https://api.github.com/users/lhoestq/followers",
"following_url": "https://api.github.com/users/lhoestq/following{/other_user}",
"gists_url": "https:... | https://github.com/huggingface/datasets/pull/5803 | [] | false | 2023-04-28T10:18:56Z | 2023-04-28T09:54:43Z | null | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_5803). All of your documentation changes will be reflected on that endpoint.",
"<details>\n<summary>Show benchmarks</summary>\n\nPyArrow==8.0.0\n\n<details>\n<summary>Show updated benchmarks!</summary>\n\n### Benchmark: benchma... | null | [] | Release: 2.12.0 | MEMBER | https://api.github.com/repos/huggingface/datasets/issues/5803/timeline | null | https://api.github.com/repos/huggingface/datasets | {
"diff_url": "https://github.com/huggingface/datasets/pull/5803.diff",
"html_url": "https://github.com/huggingface/datasets/pull/5803",
"merged_at": "2023-04-28T09:54:43Z",
"patch_url": "https://github.com/huggingface/datasets/pull/5803.patch",
"url": "https://api.github.com/repos/huggingface/datasets/pulls/... | 1,688,256,290 | https://api.github.com/repos/huggingface/datasets/issues/5803/comments | PR_kwDODunzps5PXtte | null | 5,803 | https://api.github.com/repos/huggingface/datasets/issues/5803/events | true |
closed | 2023-04-27T09:51:36Z | null | https://api.github.com/repos/huggingface/datasets/issues/5802 | null | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/huggingface/datasets/issues/5802/reactions"
} | false | https://api.github.com/repos/huggingface/datasets/issues/5802/labels{/name} | {
"avatar_url": "https://avatars.githubusercontent.com/u/8515462?v=4",
"events_url": "https://api.github.com/users/albertvillanova/events{/privacy}",
"followers_url": "https://api.github.com/users/albertvillanova/followers",
"following_url": "https://api.github.com/users/albertvillanova/following{/other_user}",... | https://github.com/huggingface/datasets/pull/5802 | [] | false | 2023-04-27T14:59:47Z | 2023-04-27T14:51:40Z | null | [
"_The documentation is not available anymore as the PR was closed or merged._",
"<details>\n<summary>Show benchmarks</summary>\n\nPyArrow==8.0.0\n\n<details>\n<summary>Show updated benchmarks!</summary>\n\n### Benchmark: benchmark_array_xd.json\n\n| metric | read_batch_formatted_as_numpy after write_array2d | rea... | null | [] | Validate non-empty data_files | MEMBER | https://api.github.com/repos/huggingface/datasets/issues/5802/timeline | This PR adds validation of `data_files`, so that they are non-empty (str, list, or dict) or `None` (default).
See: https://github.com/huggingface/datasets/pull/5787#discussion_r1178862327 | https://api.github.com/repos/huggingface/datasets | {
"diff_url": "https://github.com/huggingface/datasets/pull/5802.diff",
"html_url": "https://github.com/huggingface/datasets/pull/5802",
"merged_at": "2023-04-27T14:51:40Z",
"patch_url": "https://github.com/huggingface/datasets/pull/5802.patch",
"url": "https://api.github.com/repos/huggingface/datasets/pulls/... | 1,686,509,799 | https://api.github.com/repos/huggingface/datasets/issues/5802/comments | PR_kwDODunzps5PR199 | null | 5,802 | https://api.github.com/repos/huggingface/datasets/issues/5802/events | true |
closed | 2023-04-27T08:13:30Z | null | https://api.github.com/repos/huggingface/datasets/issues/5800 | null | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/huggingface/datasets/issues/5800/reactions"
} | false | https://api.github.com/repos/huggingface/datasets/issues/5800/labels{/name} | {
"avatar_url": "https://avatars.githubusercontent.com/u/8515462?v=4",
"events_url": "https://api.github.com/users/albertvillanova/events{/privacy}",
"followers_url": "https://api.github.com/users/albertvillanova/followers",
"following_url": "https://api.github.com/users/albertvillanova/following{/other_user}",... | https://github.com/huggingface/datasets/pull/5800 | [] | false | 2023-04-27T09:33:05Z | 2023-04-27T09:30:16Z | null | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | null | [] | Change downloaded file permission based on umask | MEMBER | https://api.github.com/repos/huggingface/datasets/issues/5800/timeline | This PR changes the permission of downloaded files to cache, so that the umask is taken into account.
Related to:
- #2157
Fix #5799.
CC: @stas00 | https://api.github.com/repos/huggingface/datasets | {
"diff_url": "https://github.com/huggingface/datasets/pull/5800.diff",
"html_url": "https://github.com/huggingface/datasets/pull/5800",
"merged_at": "2023-04-27T09:30:16Z",
"patch_url": "https://github.com/huggingface/datasets/pull/5800.patch",
"url": "https://api.github.com/repos/huggingface/datasets/pulls/... | 1,686,348,096 | https://api.github.com/repos/huggingface/datasets/issues/5800/comments | PR_kwDODunzps5PRTRh | null | 5,800 | https://api.github.com/repos/huggingface/datasets/issues/5800/events | true |
closed | 2023-04-27T08:06:05Z | null | https://api.github.com/repos/huggingface/datasets/issues/5799 | {
"avatar_url": "https://avatars.githubusercontent.com/u/8515462?v=4",
"events_url": "https://api.github.com/users/albertvillanova/events{/privacy}",
"followers_url": "https://api.github.com/users/albertvillanova/followers",
"following_url": "https://api.github.com/users/albertvillanova/following{/other_user}",... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/huggingface/datasets/issues/5799/reactions"
} | null | https://api.github.com/repos/huggingface/datasets/issues/5799/labels{/name} | {
"avatar_url": "https://avatars.githubusercontent.com/u/8515462?v=4",
"events_url": "https://api.github.com/users/albertvillanova/events{/privacy}",
"followers_url": "https://api.github.com/users/albertvillanova/followers",
"following_url": "https://api.github.com/users/albertvillanova/following{/other_user}",... | https://github.com/huggingface/datasets/issues/5799 | [
{
"avatar_url": "https://avatars.githubusercontent.com/u/8515462?v=4",
"events_url": "https://api.github.com/users/albertvillanova/events{/privacy}",
"followers_url": "https://api.github.com/users/albertvillanova/followers",
"following_url": "https://api.github.com/users/albertvillanova/following{/o... | false | 2023-04-27T09:30:17Z | 2023-04-27T09:30:17Z | null | [] | completed | [
{
"color": "d73a4a",
"default": true,
"description": "Something isn't working",
"id": 1935892857,
"name": "bug",
"node_id": "MDU6TGFiZWwxOTM1ODkyODU3",
"url": "https://api.github.com/repos/huggingface/datasets/labels/bug"
}
] | Files downloaded to cache do not respect umask | MEMBER | https://api.github.com/repos/huggingface/datasets/issues/5799/timeline | As reported by @stas00, files downloaded to the cache do not respect umask:
```bash
$ ls -l /path/to/cache/datasets/downloads/
-rw------- 1 uername username 150M Apr 25 16:41 5e646c1d600f065adaeb134e536f6f2f296a6d804bd1f0e1fdcd20ee28c185c6
```
Related to:
- #2065 | https://api.github.com/repos/huggingface/datasets | null | 1,686,334,572 | https://api.github.com/repos/huggingface/datasets/issues/5799/comments | I_kwDODunzps5kg2xs | null | 5,799 | https://api.github.com/repos/huggingface/datasets/issues/5799/events | false |
open | 2023-04-27T00:16:11Z | null | https://api.github.com/repos/huggingface/datasets/issues/5798 | null | {
"+1": 1,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 1,
"url": "https://api.github.com/repos/huggingface/datasets/issues/5798/reactions"
} | null | https://api.github.com/repos/huggingface/datasets/issues/5798/labels{/name} | {
"avatar_url": "https://avatars.githubusercontent.com/u/12763339?v=4",
"events_url": "https://api.github.com/users/es94129/events{/privacy}",
"followers_url": "https://api.github.com/users/es94129/followers",
"following_url": "https://api.github.com/users/es94129/following{/other_user}",
"gists_url": "https:... | https://github.com/huggingface/datasets/issues/5798 | [] | false | 2023-05-25T14:11:41Z | null | null | [
"Hi ! We're using process pools for parallelism right now. I was wondering if there's a package that implements the same API as a process pool but runs with Spark under the hood ? That or something similar would be cool because users could use whatever distributed framework they want this way.\r\n\r\nFeel free to p... | null | [
{
"color": "a2eeef",
"default": true,
"description": "New feature or request",
"id": 1935892871,
"name": "enhancement",
"node_id": "MDU6TGFiZWwxOTM1ODkyODcx",
"url": "https://api.github.com/repos/huggingface/datasets/labels/enhancement"
}
] | Support parallelized downloading and processing in load_dataset with Spark | CONTRIBUTOR | https://api.github.com/repos/huggingface/datasets/issues/5798/timeline | ### Feature request
When calling `load_dataset` for datasets that have multiple files, support using Spark to distribute the downloading and processing job to worker nodes when `cache_dir` is a cloud file system shared among nodes.
```python
load_dataset(..., use_spark=True)
```
### Motivation
Further speed up ... | https://api.github.com/repos/huggingface/datasets | null | 1,685,904,526 | https://api.github.com/repos/huggingface/datasets/issues/5798/comments | I_kwDODunzps5kfNyO | null | 5,798 | https://api.github.com/repos/huggingface/datasets/issues/5798/events | false |
open | 2023-04-26T18:19:04Z | null | https://api.github.com/repos/huggingface/datasets/issues/5797 | null | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/huggingface/datasets/issues/5797/reactions"
} | null | https://api.github.com/repos/huggingface/datasets/issues/5797/labels{/name} | {
"avatar_url": "https://avatars.githubusercontent.com/u/34729065?v=4",
"events_url": "https://api.github.com/users/haonan-li/events{/privacy}",
"followers_url": "https://api.github.com/users/haonan-li/followers",
"following_url": "https://api.github.com/users/haonan-li/following{/other_user}",
"gists_url": "... | https://github.com/huggingface/datasets/issues/5797 | [] | false | 2023-04-27T11:56:58Z | null | null | [
"Hi @haonan-li , thank you for the report! It seems to be a bug on the [`huggingface_hub`](https://github.com/huggingface/huggingface_hub) site, there is even no such dataset as `mbzuai/bactrian-x` on the Hub. I opened and [issue](https://github.com/huggingface/huggingface_hub/issues/1453) there.",
"I think `loa... | null | [] | load_dataset is case sentitive? | NONE | https://api.github.com/repos/huggingface/datasets/issues/5797/timeline | ### Describe the bug
load_dataset() function is case sensitive?
### Steps to reproduce the bug
The following two code, get totally different behavior.
1. load_dataset('mbzuai/bactrian-x','en')
2. load_dataset('MBZUAI/Bactrian-X','en')
### Expected behavior
Compare 1 and 2.
1 will download all 52 subsets, sh... | https://api.github.com/repos/huggingface/datasets | null | 1,685,501,199 | https://api.github.com/repos/huggingface/datasets/issues/5797/comments | I_kwDODunzps5kdrUP | null | 5,797 | https://api.github.com/repos/huggingface/datasets/issues/5797/events | false |
closed | 2023-04-26T17:39:43Z | null | https://api.github.com/repos/huggingface/datasets/issues/5796 | null | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/huggingface/datasets/issues/5796/reactions"
} | false | https://api.github.com/repos/huggingface/datasets/issues/5796/labels{/name} | {
"avatar_url": "https://avatars.githubusercontent.com/u/42851186?v=4",
"events_url": "https://api.github.com/users/lhoestq/events{/privacy}",
"followers_url": "https://api.github.com/users/lhoestq/followers",
"following_url": "https://api.github.com/users/lhoestq/following{/other_user}",
"gists_url": "https:... | https://github.com/huggingface/datasets/pull/5796 | [] | false | 2023-04-27T16:41:50Z | 2023-04-27T16:34:45Z | null | [
"_The documentation is not available anymore as the PR was closed or merged._",
"<details>\n<summary>Show benchmarks</summary>\n\nPyArrow==8.0.0\n\n<details>\n<summary>Show updated benchmarks!</summary>\n\n### Benchmark: benchmark_array_xd.json\n\n| metric | read_batch_formatted_as_numpy after write_array2d | rea... | null | [] | Spark docs | MEMBER | https://api.github.com/repos/huggingface/datasets/issues/5796/timeline | Added a "Use with Spark" doc page to document `Dataset.from_spark` following https://github.com/huggingface/datasets/pull/5701
cc @maddiedawson | https://api.github.com/repos/huggingface/datasets | {
"diff_url": "https://github.com/huggingface/datasets/pull/5796.diff",
"html_url": "https://github.com/huggingface/datasets/pull/5796",
"merged_at": "2023-04-27T16:34:45Z",
"patch_url": "https://github.com/huggingface/datasets/pull/5796.patch",
"url": "https://api.github.com/repos/huggingface/datasets/pulls/... | 1,685,451,919 | https://api.github.com/repos/huggingface/datasets/issues/5796/comments | PR_kwDODunzps5PORm- | null | 5,796 | https://api.github.com/repos/huggingface/datasets/issues/5796/events | true |
closed | 2023-04-26T17:09:32Z | null | https://api.github.com/repos/huggingface/datasets/issues/5795 | null | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/huggingface/datasets/issues/5795/reactions"
} | false | https://api.github.com/repos/huggingface/datasets/issues/5795/labels{/name} | {
"avatar_url": "https://avatars.githubusercontent.com/u/42851186?v=4",
"events_url": "https://api.github.com/users/lhoestq/events{/privacy}",
"followers_url": "https://api.github.com/users/lhoestq/followers",
"following_url": "https://api.github.com/users/lhoestq/following{/other_user}",
"gists_url": "https:... | https://github.com/huggingface/datasets/pull/5795 | [] | false | 2023-04-26T17:49:03Z | 2023-04-26T17:39:12Z | null | [
"_The documentation is not available anymore as the PR was closed or merged._",
"<details>\n<summary>Show benchmarks</summary>\n\nPyArrow==8.0.0\n\n<details>\n<summary>Show updated benchmarks!</summary>\n\n### Benchmark: benchmark_array_xd.json\n\n| metric | read_batch_formatted_as_numpy after write_array2d | rea... | null | [] | Fix spark imports | MEMBER | https://api.github.com/repos/huggingface/datasets/issues/5795/timeline | null | https://api.github.com/repos/huggingface/datasets | {
"diff_url": "https://github.com/huggingface/datasets/pull/5795.diff",
"html_url": "https://github.com/huggingface/datasets/pull/5795",
"merged_at": "2023-04-26T17:39:12Z",
"patch_url": "https://github.com/huggingface/datasets/pull/5795.patch",
"url": "https://api.github.com/repos/huggingface/datasets/pulls/... | 1,685,414,505 | https://api.github.com/repos/huggingface/datasets/issues/5795/comments | PR_kwDODunzps5POJo8 | null | 5,795 | https://api.github.com/repos/huggingface/datasets/issues/5795/events | true |
open | 2023-04-26T14:55:23Z | null | https://api.github.com/repos/huggingface/datasets/issues/5794 | null | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/huggingface/datasets/issues/5794/reactions"
} | null | https://api.github.com/repos/huggingface/datasets/issues/5794/labels{/name} | {
"avatar_url": "https://avatars.githubusercontent.com/u/8515462?v=4",
"events_url": "https://api.github.com/users/albertvillanova/events{/privacy}",
"followers_url": "https://api.github.com/users/albertvillanova/followers",
"following_url": "https://api.github.com/users/albertvillanova/following{/other_user}",... | https://github.com/huggingface/datasets/issues/5794 | [] | false | 2023-04-26T14:55:23Z | null | null | [] | null | [
{
"color": "d73a4a",
"default": true,
"description": "Something isn't working",
"id": 1935892857,
"name": "bug",
"node_id": "MDU6TGFiZWwxOTM1ODkyODU3",
"url": "https://api.github.com/repos/huggingface/datasets/labels/bug"
}
] | CI ZeroDivisionError | MEMBER | https://api.github.com/repos/huggingface/datasets/issues/5794/timeline | Sometimes when running our CI on Windows, we get a ZeroDivisionError:
```
FAILED tests/test_metric_common.py::LocalMetricTest::test_load_metric_frugalscore - ZeroDivisionError: float division by zero
```
See for example:
- https://github.com/huggingface/datasets/actions/runs/4809358266/jobs/8560513110
- https:/... | https://api.github.com/repos/huggingface/datasets | null | 1,685,196,061 | https://api.github.com/repos/huggingface/datasets/issues/5794/comments | I_kwDODunzps5kcg0d | null | 5,794 | https://api.github.com/repos/huggingface/datasets/issues/5794/events | false |
closed | 2023-04-26T10:50:23Z | null | https://api.github.com/repos/huggingface/datasets/issues/5793 | {
"avatar_url": "https://avatars.githubusercontent.com/u/42851186?v=4",
"events_url": "https://api.github.com/users/lhoestq/events{/privacy}",
"followers_url": "https://api.github.com/users/lhoestq/followers",
"following_url": "https://api.github.com/users/lhoestq/following{/other_user}",
"gists_url": "https:... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/huggingface/datasets/issues/5793/reactions"
} | null | https://api.github.com/repos/huggingface/datasets/issues/5793/labels{/name} | {
"avatar_url": "https://avatars.githubusercontent.com/u/39762734?v=4",
"events_url": "https://api.github.com/users/jiangwangyi/events{/privacy}",
"followers_url": "https://api.github.com/users/jiangwangyi/followers",
"following_url": "https://api.github.com/users/jiangwangyi/following{/other_user}",
"gists_u... | https://github.com/huggingface/datasets/issues/5793 | [
{
"avatar_url": "https://avatars.githubusercontent.com/u/42851186?v=4",
"events_url": "https://api.github.com/users/lhoestq/events{/privacy}",
"followers_url": "https://api.github.com/users/lhoestq/followers",
"following_url": "https://api.github.com/users/lhoestq/following{/other_user}",
"gists... | false | 2023-06-13T15:57:06Z | 2023-06-13T15:57:06Z | null | [
"Hi ! Thanks for reporting, I'm working on it ;)"
] | completed | [
{
"color": "d73a4a",
"default": true,
"description": "Something isn't working",
"id": 1935892857,
"name": "bug",
"node_id": "MDU6TGFiZWwxOTM1ODkyODU3",
"url": "https://api.github.com/repos/huggingface/datasets/labels/bug"
},
{
"color": "a2eeef",
"default": true,
"descript... | IterableDataset.with_format("torch") not working | NONE | https://api.github.com/repos/huggingface/datasets/issues/5793/timeline | ### Describe the bug
After calling the with_format("torch") method on an IterableDataset instance, the data format is unchanged.
### Steps to reproduce the bug
```python
from datasets import IterableDataset
def gen():
for i in range(4):
yield {"a": [i] * 4}
dataset = IterableDataset.from_generator(g... | https://api.github.com/repos/huggingface/datasets | null | 1,684,777,320 | https://api.github.com/repos/huggingface/datasets/issues/5793/comments | I_kwDODunzps5ka6lo | null | 5,793 | https://api.github.com/repos/huggingface/datasets/issues/5793/events | false |
closed | 2023-04-25T16:14:18Z | null | https://api.github.com/repos/huggingface/datasets/issues/5791 | null | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/huggingface/datasets/issues/5791/reactions"
} | null | https://api.github.com/repos/huggingface/datasets/issues/5791/labels{/name} | {
"avatar_url": "https://avatars.githubusercontent.com/u/31293221?v=4",
"events_url": "https://api.github.com/users/sebasmos/events{/privacy}",
"followers_url": "https://api.github.com/users/sebasmos/followers",
"following_url": "https://api.github.com/users/sebasmos/following{/other_user}",
"gists_url": "htt... | https://github.com/huggingface/datasets/issues/5791 | [] | false | 2024-01-15T16:40:33Z | 2024-01-15T16:40:16Z | null | [
"The issue with multichannel TIFF images has already been reported in Pillow (https://github.com/python-pillow/Pillow/issues/1888). We can't do much about it on our side.\r\n\r\nStill, to avoid the error, you can bypass the default Pillow decoding and define a custom one as follows:\r\n```python\r\nimport tifffile ... | completed | [
{
"color": "a2eeef",
"default": true,
"description": "New feature or request",
"id": 1935892871,
"name": "enhancement",
"node_id": "MDU6TGFiZWwxOTM1ODkyODcx",
"url": "https://api.github.com/repos/huggingface/datasets/labels/enhancement"
}
] | TIFF/TIF support | NONE | https://api.github.com/repos/huggingface/datasets/issues/5791/timeline | ### Feature request
I currently have a dataset (with tiff and json files) where I have to do this:
`wget path_to_data/images.zip && unzip images.zip`
`wget path_to_data/annotations.zip && unzip annotations.zip`
Would it make sense a contribution that supports these type of files?
### Motivation
instead o... | https://api.github.com/repos/huggingface/datasets | null | 1,683,473,943 | https://api.github.com/repos/huggingface/datasets/issues/5791/comments | I_kwDODunzps5kV8YX | null | 5,791 | https://api.github.com/repos/huggingface/datasets/issues/5791/events | false |
closed | 2023-04-25T13:57:26Z | null | https://api.github.com/repos/huggingface/datasets/issues/5790 | null | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/huggingface/datasets/issues/5790/reactions"
} | false | https://api.github.com/repos/huggingface/datasets/issues/5790/labels{/name} | {
"avatar_url": "https://avatars.githubusercontent.com/u/8515462?v=4",
"events_url": "https://api.github.com/users/albertvillanova/events{/privacy}",
"followers_url": "https://api.github.com/users/albertvillanova/followers",
"following_url": "https://api.github.com/users/albertvillanova/following{/other_user}",... | https://github.com/huggingface/datasets/pull/5790 | [] | false | 2023-04-26T13:43:08Z | 2023-04-26T13:35:47Z | null | [
"_The documentation is not available anymore as the PR was closed or merged._",
"<details>\n<summary>Show benchmarks</summary>\n\nPyArrow==8.0.0\n\n<details>\n<summary>Show updated benchmarks!</summary>\n\n### Benchmark: benchmark_array_xd.json\n\n| metric | read_batch_formatted_as_numpy after write_array2d | rea... | null | [] | Allow to run CI on push to ci-branch | MEMBER | https://api.github.com/repos/huggingface/datasets/issues/5790/timeline | This PR allows to run the CI on push to a branch named "ci-*", without needing to open a PR.
- This will allow to make CI tests without opening a PR, e.g., for future `huggingface-hub` releases, future dependency releases (like `fsspec`, `pandas`,...)
Note that to build the documentation, we already allow it on pus... | https://api.github.com/repos/huggingface/datasets | {
"diff_url": "https://github.com/huggingface/datasets/pull/5790.diff",
"html_url": "https://github.com/huggingface/datasets/pull/5790",
"merged_at": "2023-04-26T13:35:47Z",
"patch_url": "https://github.com/huggingface/datasets/pull/5790.patch",
"url": "https://api.github.com/repos/huggingface/datasets/pulls/... | 1,683,229,126 | https://api.github.com/repos/huggingface/datasets/issues/5790/comments | PR_kwDODunzps5PG0mJ | null | 5,790 | https://api.github.com/repos/huggingface/datasets/issues/5790/events | true |
open | 2023-04-25T07:40:02Z | null | https://api.github.com/repos/huggingface/datasets/issues/5789 | {
"avatar_url": "https://avatars.githubusercontent.com/u/8515462?v=4",
"events_url": "https://api.github.com/users/albertvillanova/events{/privacy}",
"followers_url": "https://api.github.com/users/albertvillanova/followers",
"following_url": "https://api.github.com/users/albertvillanova/following{/other_user}",... | {
"+1": 1,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 1,
"url": "https://api.github.com/repos/huggingface/datasets/issues/5789/reactions"
} | null | https://api.github.com/repos/huggingface/datasets/issues/5789/labels{/name} | {
"avatar_url": "https://avatars.githubusercontent.com/u/8515462?v=4",
"events_url": "https://api.github.com/users/albertvillanova/events{/privacy}",
"followers_url": "https://api.github.com/users/albertvillanova/followers",
"following_url": "https://api.github.com/users/albertvillanova/following{/other_user}",... | https://github.com/huggingface/datasets/issues/5789 | [
{
"avatar_url": "https://avatars.githubusercontent.com/u/8515462?v=4",
"events_url": "https://api.github.com/users/albertvillanova/events{/privacy}",
"followers_url": "https://api.github.com/users/albertvillanova/followers",
"following_url": "https://api.github.com/users/albertvillanova/following{/o... | false | 2023-04-25T07:40:03Z | null | null | [] | null | [
{
"color": "a2eeef",
"default": true,
"description": "New feature or request",
"id": 1935892871,
"name": "enhancement",
"node_id": "MDU6TGFiZWwxOTM1ODkyODcx",
"url": "https://api.github.com/repos/huggingface/datasets/labels/enhancement"
}
] | Support streaming datasets that use jsonlines | MEMBER | https://api.github.com/repos/huggingface/datasets/issues/5789/timeline | Extend support for streaming datasets that use `jsonlines.open`.
Currently, if `jsonlines` is installed, `datasets` raises a `FileNotFoundError`:
```
FileNotFoundError: [Errno 2] No such file or directory: 'https://...'
```
See:
- https://huggingface.co/datasets/masakhane/afriqa/discussions/1 | https://api.github.com/repos/huggingface/datasets | null | 1,682,611,179 | https://api.github.com/repos/huggingface/datasets/issues/5789/comments | I_kwDODunzps5kSpvr | null | 5,789 | https://api.github.com/repos/huggingface/datasets/issues/5789/events | false |
closed | 2023-04-24T12:13:03Z | null | https://api.github.com/repos/huggingface/datasets/issues/5788 | null | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/huggingface/datasets/issues/5788/reactions"
} | false | https://api.github.com/repos/huggingface/datasets/issues/5788/labels{/name} | {
"avatar_url": "https://avatars.githubusercontent.com/u/11801849?v=4",
"events_url": "https://api.github.com/users/Wauplin/events{/privacy}",
"followers_url": "https://api.github.com/users/Wauplin/followers",
"following_url": "https://api.github.com/users/Wauplin/following{/other_user}",
"gists_url": "https:... | https://github.com/huggingface/datasets/pull/5788 | [] | false | 2023-04-25T14:32:56Z | 2023-04-25T14:25:30Z | null | [
"_The documentation is not available anymore as the PR was closed or merged._",
"<details>\n<summary>Show benchmarks</summary>\n\nPyArrow==8.0.0\n\n<details>\n<summary>Show updated benchmarks!</summary>\n\n### Benchmark: benchmark_array_xd.json\n\n| metric | read_batch_formatted_as_numpy after write_array2d | rea... | null | [] | Prepare tests for hfh 0.14 | CONTRIBUTOR | https://api.github.com/repos/huggingface/datasets/issues/5788/timeline | Related to the coming release of `huggingface_hub==0.14.0`. It will break some internal tests. The PR fixes these tests. Let's double-check the CI but I expect the fixed tests to be running fine with both `hfh<=0.13.4` and `hfh==0.14`. Worth case scenario, existing PRs will have to be rebased once this fix is merged.
... | https://api.github.com/repos/huggingface/datasets | {
"diff_url": "https://github.com/huggingface/datasets/pull/5788.diff",
"html_url": "https://github.com/huggingface/datasets/pull/5788",
"merged_at": "2023-04-25T14:25:30Z",
"patch_url": "https://github.com/huggingface/datasets/pull/5788.patch",
"url": "https://api.github.com/repos/huggingface/datasets/pulls/... | 1,681,136,256 | https://api.github.com/repos/huggingface/datasets/issues/5788/comments | PR_kwDODunzps5O_v4B | null | 5,788 | https://api.github.com/repos/huggingface/datasets/issues/5788/events | true |
closed | 2023-04-24T10:44:50Z | null | https://api.github.com/repos/huggingface/datasets/issues/5787 | null | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/huggingface/datasets/issues/5787/reactions"
} | false | https://api.github.com/repos/huggingface/datasets/issues/5787/labels{/name} | {
"avatar_url": "https://avatars.githubusercontent.com/u/8515462?v=4",
"events_url": "https://api.github.com/users/albertvillanova/events{/privacy}",
"followers_url": "https://api.github.com/users/albertvillanova/followers",
"following_url": "https://api.github.com/users/albertvillanova/following{/other_user}",... | https://github.com/huggingface/datasets/pull/5787 | [] | false | 2023-04-27T13:06:01Z | 2023-04-27T12:57:28Z | null | [
"_The documentation is not available anymore as the PR was closed or merged._",
"I think you can revert the last commit - it should fail if data_files={} IMO",
"The validation of non-empty data_files is addressed in this PR:\r\n- #5802",
"<details>\n<summary>Show benchmarks</summary>\n\nPyArrow==8.0.0\n\n<det... | null | [] | Fix inferring module for unsupported data files | MEMBER | https://api.github.com/repos/huggingface/datasets/issues/5787/timeline | This PR raises a FileNotFoundError instead:
```
FileNotFoundError: No (supported) data files or dataset script found in <dataset_name>
```
Fix #5785. | https://api.github.com/repos/huggingface/datasets | {
"diff_url": "https://github.com/huggingface/datasets/pull/5787.diff",
"html_url": "https://github.com/huggingface/datasets/pull/5787",
"merged_at": "2023-04-27T12:57:28Z",
"patch_url": "https://github.com/huggingface/datasets/pull/5787.patch",
"url": "https://api.github.com/repos/huggingface/datasets/pulls/... | 1,680,965,959 | https://api.github.com/repos/huggingface/datasets/issues/5787/comments | PR_kwDODunzps5O_KNU | null | 5,787 | https://api.github.com/repos/huggingface/datasets/issues/5787/events | true |
closed | 2023-04-24T10:38:07Z | null | https://api.github.com/repos/huggingface/datasets/issues/5786 | null | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/huggingface/datasets/issues/5786/reactions"
} | null | https://api.github.com/repos/huggingface/datasets/issues/5786/labels{/name} | {
"avatar_url": "https://avatars.githubusercontent.com/u/44556846?v=4",
"events_url": "https://api.github.com/users/HugoLaurencon/events{/privacy}",
"followers_url": "https://api.github.com/users/HugoLaurencon/followers",
"following_url": "https://api.github.com/users/HugoLaurencon/following{/other_user}",
"g... | https://github.com/huggingface/datasets/issues/5786 | [] | false | 2023-05-30T09:56:30Z | 2023-04-24T10:43:58Z | null | [
"Hi ! PyTorch may hang when calling `load_state_dict()` in a subprocess. To fix that, set the multiprocessing start method to \"spawn\". Since `datasets` uses `multiprocess`, you should do:\r\n\r\n```python\r\n# Required to avoid issues with pytorch (otherwise hangs during load_state_dict in multiprocessing)\r\nimp... | completed | [] | Multiprocessing in a `filter` or `map` function with a Pytorch model | MEMBER | https://api.github.com/repos/huggingface/datasets/issues/5786/timeline | ### Describe the bug
I am trying to use a Pytorch model loaded on CPUs with multiple processes with a `.map` or a `.filter` method.
Usually, when dealing with models that are non-pickable, creating a class such that the `map` function is the method `__call__`, and adding `reduce` helps to solve the problem.
Howe... | https://api.github.com/repos/huggingface/datasets | null | 1,680,957,070 | https://api.github.com/repos/huggingface/datasets/issues/5786/comments | I_kwDODunzps5kMV6O | null | 5,786 | https://api.github.com/repos/huggingface/datasets/issues/5786/events | false |
closed | 2023-04-24T10:38:03Z | null | https://api.github.com/repos/huggingface/datasets/issues/5785 | {
"avatar_url": "https://avatars.githubusercontent.com/u/8515462?v=4",
"events_url": "https://api.github.com/users/albertvillanova/events{/privacy}",
"followers_url": "https://api.github.com/users/albertvillanova/followers",
"following_url": "https://api.github.com/users/albertvillanova/following{/other_user}",... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/huggingface/datasets/issues/5785/reactions"
} | null | https://api.github.com/repos/huggingface/datasets/issues/5785/labels{/name} | {
"avatar_url": "https://avatars.githubusercontent.com/u/8515462?v=4",
"events_url": "https://api.github.com/users/albertvillanova/events{/privacy}",
"followers_url": "https://api.github.com/users/albertvillanova/followers",
"following_url": "https://api.github.com/users/albertvillanova/following{/other_user}",... | https://github.com/huggingface/datasets/issues/5785 | [
{
"avatar_url": "https://avatars.githubusercontent.com/u/8515462?v=4",
"events_url": "https://api.github.com/users/albertvillanova/events{/privacy}",
"followers_url": "https://api.github.com/users/albertvillanova/followers",
"following_url": "https://api.github.com/users/albertvillanova/following{/o... | false | 2023-04-27T12:57:30Z | 2023-04-27T12:57:30Z | null | [] | completed | [
{
"color": "d73a4a",
"default": true,
"description": "Something isn't working",
"id": 1935892857,
"name": "bug",
"node_id": "MDU6TGFiZWwxOTM1ODkyODU3",
"url": "https://api.github.com/repos/huggingface/datasets/labels/bug"
}
] | Unsupported data files raise TypeError: 'NoneType' object is not iterable | MEMBER | https://api.github.com/repos/huggingface/datasets/issues/5785/timeline | Currently, we raise a TypeError for unsupported data files:
```
TypeError: 'NoneType' object is not iterable
```
See:
- https://github.com/huggingface/datasets-server/issues/1073
We should give a more informative error message. | https://api.github.com/repos/huggingface/datasets | null | 1,680,956,964 | https://api.github.com/repos/huggingface/datasets/issues/5785/comments | I_kwDODunzps5kMV4k | null | 5,785 | https://api.github.com/repos/huggingface/datasets/issues/5785/events | false |
closed | 2023-04-24T10:34:03Z | null | https://api.github.com/repos/huggingface/datasets/issues/5784 | null | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/huggingface/datasets/issues/5784/reactions"
} | false | https://api.github.com/repos/huggingface/datasets/issues/5784/labels{/name} | {
"avatar_url": "https://avatars.githubusercontent.com/u/42851186?v=4",
"events_url": "https://api.github.com/users/lhoestq/events{/privacy}",
"followers_url": "https://api.github.com/users/lhoestq/followers",
"following_url": "https://api.github.com/users/lhoestq/following{/other_user}",
"gists_url": "https:... | https://github.com/huggingface/datasets/pull/5784 | [] | false | 2023-04-26T16:04:42Z | 2023-04-26T15:54:44Z | null | [
"_The documentation is not available anymore as the PR was closed or merged._",
"<details>\n<summary>Show benchmarks</summary>\n\nPyArrow==8.0.0\n\n<details>\n<summary>Show updated benchmarks!</summary>\n\n### Benchmark: benchmark_array_xd.json\n\n| metric | read_batch_formatted_as_numpy after write_array2d | rea... | null | [] | Raise subprocesses traceback when interrupting | MEMBER | https://api.github.com/repos/huggingface/datasets/issues/5784/timeline | When a subprocess hangs in `filter` or `map`, one should be able to get the subprocess' traceback when interrupting the main process. Right now it shows nothing.
To do so I `.get()` the subprocesses async results even the main process is stopped with e.g. `KeyboardInterrupt`. I added a timeout in case the subprocess... | https://api.github.com/repos/huggingface/datasets | {
"diff_url": "https://github.com/huggingface/datasets/pull/5784.diff",
"html_url": "https://github.com/huggingface/datasets/pull/5784",
"merged_at": "2023-04-26T15:54:44Z",
"patch_url": "https://github.com/huggingface/datasets/pull/5784.patch",
"url": "https://api.github.com/repos/huggingface/datasets/pulls/... | 1,680,950,726 | https://api.github.com/repos/huggingface/datasets/issues/5784/comments | PR_kwDODunzps5O_G9S | null | 5,784 | https://api.github.com/repos/huggingface/datasets/issues/5784/events | true |
open | 2023-04-22T19:12:03Z | null | https://api.github.com/repos/huggingface/datasets/issues/5783 | null | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/huggingface/datasets/issues/5783/reactions"
} | null | https://api.github.com/repos/huggingface/datasets/issues/5783/labels{/name} | {
"avatar_url": "https://avatars.githubusercontent.com/u/5066268?v=4",
"events_url": "https://api.github.com/users/nishanthcgit/events{/privacy}",
"followers_url": "https://api.github.com/users/nishanthcgit/followers",
"following_url": "https://api.github.com/users/nishanthcgit/following{/other_user}",
"gists... | https://github.com/huggingface/datasets/issues/5783 | [] | false | 2023-09-22T06:44:07Z | null | null | [
"Hi! This looks like an Arrow bug, but it can be avoided by reducing the `writer_batch_size`.\r\n\r\n(`ds = ds.map(get_text_caption, writer_batch_size=100)` in Colab runs without issues)\r\n",
"@mariosasko I ran into this problem with load_dataset. What should I do",
"@AisingioroHao0 You can also pass the `wri... | null | [] | Offset overflow while doing regex on a text column | NONE | https://api.github.com/repos/huggingface/datasets/issues/5783/timeline | ### Describe the bug
`ArrowInvalid: offset overflow while concatenating arrays`
Same error as [here](https://github.com/huggingface/datasets/issues/615)
### Steps to reproduce the bug
Steps to reproduce: (dataset is a few GB big so try in colab maybe)
```
import datasets
import re
ds = datasets.lo... | https://api.github.com/repos/huggingface/datasets | null | 1,679,664,393 | https://api.github.com/repos/huggingface/datasets/issues/5783/comments | I_kwDODunzps5kHaUJ | null | 5,783 | https://api.github.com/repos/huggingface/datasets/issues/5783/events | false |
closed | 2023-04-22T17:09:25Z | null | https://api.github.com/repos/huggingface/datasets/issues/5782 | null | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 1,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 1,
"url": "https://api.github.com/repos/huggingface/datasets/issues/5782/reactions"
} | null | https://api.github.com/repos/huggingface/datasets/issues/5782/labels{/name} | {
"avatar_url": "https://avatars.githubusercontent.com/u/129098876?v=4",
"events_url": "https://api.github.com/users/BoringDonut/events{/privacy}",
"followers_url": "https://api.github.com/users/BoringDonut/followers",
"following_url": "https://api.github.com/users/BoringDonut/following{/other_user}",
"gists_... | https://github.com/huggingface/datasets/issues/5782 | [] | false | 2023-05-10T20:23:04Z | 2023-05-10T20:23:04Z | null | [
"Hi! \r\n\r\nYou can use `set_transform`/`with_transform` to define a custom decoding for audio formats not supported by `soundfile`:\r\n```python\r\naudio_dataset_amr = Dataset.from_dict({\"audio\": [\"audio_samples/audio.amr\"]})\r\n\r\ndef decode_audio(batch):\r\n batch[\"audio\"] = [read_ffmpeg(audio_path) f... | completed | [
{
"color": "a2eeef",
"default": true,
"description": "New feature or request",
"id": 1935892871,
"name": "enhancement",
"node_id": "MDU6TGFiZWwxOTM1ODkyODcx",
"url": "https://api.github.com/repos/huggingface/datasets/labels/enhancement"
}
] | Support for various audio-loading backends instead of always relying on SoundFile | NONE | https://api.github.com/repos/huggingface/datasets/issues/5782/timeline | ### Feature request
Introduce an option to select from a variety of audio-loading backends rather than solely relying on the SoundFile library. For instance, if the ffmpeg library is installed, it can serve as a fallback loading option.
### Motivation
- The SoundFile library, used in [features/audio.py](https://gith... | https://api.github.com/repos/huggingface/datasets | null | 1,679,622,367 | https://api.github.com/repos/huggingface/datasets/issues/5782/comments | I_kwDODunzps5kHQDf | null | 5,782 | https://api.github.com/repos/huggingface/datasets/issues/5782/events | false |
closed | 2023-04-22T15:10:44Z | null | https://api.github.com/repos/huggingface/datasets/issues/5781 | null | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/huggingface/datasets/issues/5781/reactions"
} | null | https://api.github.com/repos/huggingface/datasets/issues/5781/labels{/name} | {
"avatar_url": "https://avatars.githubusercontent.com/u/61463108?v=4",
"events_url": "https://api.github.com/users/gjyoungjr/events{/privacy}",
"followers_url": "https://api.github.com/users/gjyoungjr/followers",
"following_url": "https://api.github.com/users/gjyoungjr/following{/other_user}",
"gists_url": "... | https://github.com/huggingface/datasets/issues/5781 | [] | false | 2023-05-02T23:41:25Z | 2023-05-02T23:41:25Z | null | [
"It looks like an issue with your installation of scipy, can you try reinstalling it ?",
"Sorry for the late reply, but that worked @lhoestq . Thanks for the assist."
] | completed | [] | Error using `load_datasets` | NONE | https://api.github.com/repos/huggingface/datasets/issues/5781/timeline | ### Describe the bug
I tried to load a dataset using the `datasets` library in a conda jupyter notebook and got the below error.
```
ImportError: dlopen(/Users/gilbertyoung/miniforge3/envs/review_sense/lib/python3.8/site-packages/scipy/sparse/linalg/_isolve/_iterative.cpython-38-darwin.so, 0x0002): Library not ... | https://api.github.com/repos/huggingface/datasets | null | 1,679,580,460 | https://api.github.com/repos/huggingface/datasets/issues/5781/comments | I_kwDODunzps5kHF0s | null | 5,781 | https://api.github.com/repos/huggingface/datasets/issues/5781/events | false |
closed | 2023-04-22T06:22:43Z | null | https://api.github.com/repos/huggingface/datasets/issues/5780 | null | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/huggingface/datasets/issues/5780/reactions"
} | null | https://api.github.com/repos/huggingface/datasets/issues/5780/labels{/name} | {
"avatar_url": "https://avatars.githubusercontent.com/u/38179632?v=4",
"events_url": "https://api.github.com/users/v-yunbin/events{/privacy}",
"followers_url": "https://api.github.com/users/v-yunbin/followers",
"following_url": "https://api.github.com/users/v-yunbin/following{/other_user}",
"gists_url": "htt... | https://github.com/huggingface/datasets/issues/5780 | [] | false | 2023-04-23T08:49:18Z | 2023-04-23T08:49:18Z | null | [] | completed | [] | TypeError: 'NoneType' object does not support item assignment | NONE | https://api.github.com/repos/huggingface/datasets/issues/5780/timeline | command:
```
def load_datasets(formats, data_dir=datadir, data_files=datafile):
dataset = load_dataset(formats, data_dir=datadir, data_files=datafile, split=split, streaming=True, **kwargs)
return dataset
raw_datasets = DatasetDict()
raw_datasets["train"] = load_datasets(“csv”, args.datadir, "train.csv", s... | https://api.github.com/repos/huggingface/datasets | null | 1,679,367,149 | https://api.github.com/repos/huggingface/datasets/issues/5780/comments | I_kwDODunzps5kGRvt | null | 5,780 | https://api.github.com/repos/huggingface/datasets/issues/5780/events | false |
closed | 2023-04-21T15:04:28Z | null | https://api.github.com/repos/huggingface/datasets/issues/5779 | null | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/huggingface/datasets/issues/5779/reactions"
} | false | https://api.github.com/repos/huggingface/datasets/issues/5779/labels{/name} | {
"avatar_url": "https://avatars.githubusercontent.com/u/42851186?v=4",
"events_url": "https://api.github.com/users/lhoestq/events{/privacy}",
"followers_url": "https://api.github.com/users/lhoestq/followers",
"following_url": "https://api.github.com/users/lhoestq/following{/other_user}",
"gists_url": "https:... | https://github.com/huggingface/datasets/pull/5779 | [] | false | 2023-04-26T12:20:01Z | 2023-04-26T12:11:15Z | null | [
"_The documentation is not available anymore as the PR was closed or merged._",
"<details>\n<summary>Show benchmarks</summary>\n\nPyArrow==8.0.0\n\n<details>\n<summary>Show updated benchmarks!</summary>\n\n### Benchmark: benchmark_array_xd.json\n\n| metric | read_batch_formatted_as_numpy after write_array2d | rea... | null | [] | Call fs.makedirs in save_to_disk | MEMBER | https://api.github.com/repos/huggingface/datasets/issues/5779/timeline | We need to call `fs.makedirs` when saving a dataset using `save_to_disk`, because some fs implementations have actual directories (S3 and others don't)
Close https://github.com/huggingface/datasets/issues/5775 | https://api.github.com/repos/huggingface/datasets | {
"diff_url": "https://github.com/huggingface/datasets/pull/5779.diff",
"html_url": "https://github.com/huggingface/datasets/pull/5779",
"merged_at": "2023-04-26T12:11:15Z",
"patch_url": "https://github.com/huggingface/datasets/pull/5779.patch",
"url": "https://api.github.com/repos/huggingface/datasets/pulls/... | 1,678,669,865 | https://api.github.com/repos/huggingface/datasets/issues/5779/comments | PR_kwDODunzps5O3sHp | null | 5,779 | https://api.github.com/repos/huggingface/datasets/issues/5779/events | true |
closed | 2023-04-21T08:38:12Z | null | https://api.github.com/repos/huggingface/datasets/issues/5778 | null | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/huggingface/datasets/issues/5778/reactions"
} | null | https://api.github.com/repos/huggingface/datasets/issues/5778/labels{/name} | {
"avatar_url": "https://avatars.githubusercontent.com/u/902005?v=4",
"events_url": "https://api.github.com/users/liujuncn/events{/privacy}",
"followers_url": "https://api.github.com/users/liujuncn/followers",
"following_url": "https://api.github.com/users/liujuncn/following{/other_user}",
"gists_url": "https... | https://github.com/huggingface/datasets/issues/5778 | [] | false | 2023-07-24T15:15:14Z | 2023-07-24T15:15:14Z | null | [
"Hi ! Passing `data_files=\"path/test.json\"` is equivalent to `data_files={\"train\": [\"path/test.json\"]}`, that's why you end up with a train split. If you don't pass `data_files=`, then split names are inferred from the data files names"
] | completed | [] | Schrödinger's dataset_dict | NONE | https://api.github.com/repos/huggingface/datasets/issues/5778/timeline | ### Describe the bug
If you use load_dataset('json', data_files="path/test.json"), it will return DatasetDict({train:...}).
And if you use load_dataset("path"), it will return DatasetDict({test:...}).
Why can't the output behavior be unified?
### Steps to reproduce the bug
as description above.
### Expected b... | https://api.github.com/repos/huggingface/datasets | null | 1,678,125,951 | https://api.github.com/repos/huggingface/datasets/issues/5778/comments | I_kwDODunzps5kBit_ | null | 5,778 | https://api.github.com/repos/huggingface/datasets/issues/5778/events | false |
closed | 2023-04-21T02:08:07Z | null | https://api.github.com/repos/huggingface/datasets/issues/5777 | {
"avatar_url": "https://avatars.githubusercontent.com/u/8515462?v=4",
"events_url": "https://api.github.com/users/albertvillanova/events{/privacy}",
"followers_url": "https://api.github.com/users/albertvillanova/followers",
"following_url": "https://api.github.com/users/albertvillanova/following{/other_user}",... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/huggingface/datasets/issues/5777/reactions"
} | null | https://api.github.com/repos/huggingface/datasets/issues/5777/labels{/name} | {
"avatar_url": "https://avatars.githubusercontent.com/u/34688597?v=4",
"events_url": "https://api.github.com/users/jason-brian-anderson/events{/privacy}",
"followers_url": "https://api.github.com/users/jason-brian-anderson/followers",
"following_url": "https://api.github.com/users/jason-brian-anderson/followin... | https://github.com/huggingface/datasets/issues/5777 | [
{
"avatar_url": "https://avatars.githubusercontent.com/u/8515462?v=4",
"events_url": "https://api.github.com/users/albertvillanova/events{/privacy}",
"followers_url": "https://api.github.com/users/albertvillanova/followers",
"following_url": "https://api.github.com/users/albertvillanova/following{/o... | false | 2023-06-05T05:49:52Z | 2023-05-11T11:51:56Z | null | [
"Note:\r\nI listed the datasets and grepped around to find what appears to be an alternative source for this:\r\n\r\nraw_datasets = load_dataset(\"espejelomar/code_search_net_python_10000_examples\", \"python\")",
"Thanks for reporting, @jason-brian-anderson.\r\n\r\nYes, this is a known issue: the [CodeSearchNet]... | completed | [] | datasets.load_dataset("code_search_net", "python") : NotADirectoryError: [Errno 20] Not a directory | NONE | https://api.github.com/repos/huggingface/datasets/issues/5777/timeline | ### Describe the bug
While checking out the [tokenizer tutorial](https://huggingface.co/course/chapter6/2?fw=pt), i noticed getting an error while initially downloading the python dataset used in the examples.
The [collab with the error is here](https://colab.research.google.com/github/huggingface/notebooks/blob/ma... | https://api.github.com/repos/huggingface/datasets | null | 1,677,655,969 | https://api.github.com/repos/huggingface/datasets/issues/5777/comments | I_kwDODunzps5j_v-h | null | 5,777 | https://api.github.com/repos/huggingface/datasets/issues/5777/events | false |
open | 2023-04-20T17:15:49Z | null | https://api.github.com/repos/huggingface/datasets/issues/5776 | {
"avatar_url": "https://avatars.githubusercontent.com/u/47462742?v=4",
"events_url": "https://api.github.com/users/mariosasko/events{/privacy}",
"followers_url": "https://api.github.com/users/mariosasko/followers",
"following_url": "https://api.github.com/users/mariosasko/following{/other_user}",
"gists_url"... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/huggingface/datasets/issues/5776/reactions"
} | null | https://api.github.com/repos/huggingface/datasets/issues/5776/labels{/name} | {
"avatar_url": "https://avatars.githubusercontent.com/u/47462742?v=4",
"events_url": "https://api.github.com/users/mariosasko/events{/privacy}",
"followers_url": "https://api.github.com/users/mariosasko/followers",
"following_url": "https://api.github.com/users/mariosasko/following{/other_user}",
"gists_url"... | https://github.com/huggingface/datasets/issues/5776 | [
{
"avatar_url": "https://avatars.githubusercontent.com/u/47462742?v=4",
"events_url": "https://api.github.com/users/mariosasko/events{/privacy}",
"followers_url": "https://api.github.com/users/mariosasko/followers",
"following_url": "https://api.github.com/users/mariosasko/following{/other_user}",
... | false | 2023-04-20T17:15:49Z | null | null | [] | null | [
{
"color": "a2eeef",
"default": true,
"description": "New feature or request",
"id": 1935892871,
"name": "enhancement",
"node_id": "MDU6TGFiZWwxOTM1ODkyODcx",
"url": "https://api.github.com/repos/huggingface/datasets/labels/enhancement"
}
] | Use Pandas' `read_json` in the JSON builder | CONTRIBUTOR | https://api.github.com/repos/huggingface/datasets/issues/5776/timeline | Instead of PyArrow's `read_json`, we should use `pd.read_json` in the JSON builder for consistency with the CSV and SQL builders (e.g., to address https://github.com/huggingface/datasets/issues/5725).
In Pandas2.0, to get the same performance, we can set the `engine` to "pyarrow". The issue is that Colab still doesn... | https://api.github.com/repos/huggingface/datasets | null | 1,677,116,100 | https://api.github.com/repos/huggingface/datasets/issues/5776/comments | I_kwDODunzps5j9sLE | null | 5,776 | https://api.github.com/repos/huggingface/datasets/issues/5776/events | false |
closed | 2023-04-20T16:58:01Z | null | https://api.github.com/repos/huggingface/datasets/issues/5775 | {
"avatar_url": "https://avatars.githubusercontent.com/u/42851186?v=4",
"events_url": "https://api.github.com/users/lhoestq/events{/privacy}",
"followers_url": "https://api.github.com/users/lhoestq/followers",
"following_url": "https://api.github.com/users/lhoestq/following{/other_user}",
"gists_url": "https:... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/huggingface/datasets/issues/5775/reactions"
} | null | https://api.github.com/repos/huggingface/datasets/issues/5775/labels{/name} | {
"avatar_url": "https://avatars.githubusercontent.com/u/29817738?v=4",
"events_url": "https://api.github.com/users/Zoupers/events{/privacy}",
"followers_url": "https://api.github.com/users/Zoupers/followers",
"following_url": "https://api.github.com/users/Zoupers/following{/other_user}",
"gists_url": "https:... | https://github.com/huggingface/datasets/issues/5775 | [
{
"avatar_url": "https://avatars.githubusercontent.com/u/42851186?v=4",
"events_url": "https://api.github.com/users/lhoestq/events{/privacy}",
"followers_url": "https://api.github.com/users/lhoestq/followers",
"following_url": "https://api.github.com/users/lhoestq/following{/other_user}",
"gists... | false | 2023-04-26T12:11:36Z | 2023-04-26T12:11:17Z | null | [
"We just fixed this on `main` and will do a new release soon :)"
] | completed | [] | ArrowDataset.save_to_disk lost some logic of remote | NONE | https://api.github.com/repos/huggingface/datasets/issues/5775/timeline | ### Describe the bug
https://github.com/huggingface/datasets/blob/e7ce0ac60c7efc10886471932854903a7c19f172/src/datasets/arrow_dataset.py#L1371
Here is the bug point, when I want to save from a `DatasetDict` class and the items of the instance is like `[('train', Dataset({features: ..., num_rows: ...}))]` , there ... | https://api.github.com/repos/huggingface/datasets | null | 1,677,089,901 | https://api.github.com/repos/huggingface/datasets/issues/5775/comments | I_kwDODunzps5j9lxt | null | 5,775 | https://api.github.com/repos/huggingface/datasets/issues/5775/events | false |
closed | 2023-04-20T13:21:32Z | null | https://api.github.com/repos/huggingface/datasets/issues/5774 | null | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/huggingface/datasets/issues/5774/reactions"
} | false | https://api.github.com/repos/huggingface/datasets/issues/5774/labels{/name} | {
"avatar_url": "https://avatars.githubusercontent.com/u/42851186?v=4",
"events_url": "https://api.github.com/users/lhoestq/events{/privacy}",
"followers_url": "https://api.github.com/users/lhoestq/followers",
"following_url": "https://api.github.com/users/lhoestq/following{/other_user}",
"gists_url": "https:... | https://github.com/huggingface/datasets/pull/5774 | [] | false | 2023-04-20T13:34:26Z | 2023-04-20T13:24:28Z | null | [
"_The documentation is not available anymore as the PR was closed or merged._",
"<details>\n<summary>Show benchmarks</summary>\n\nPyArrow==8.0.0\n\n<details>\n<summary>Show updated benchmarks!</summary>\n\n### Benchmark: benchmark_array_xd.json\n\n| metric | read_batch_formatted_as_numpy after write_array2d | rea... | null | [] | Fix style | MEMBER | https://api.github.com/repos/huggingface/datasets/issues/5774/timeline | Fix C419 issues | https://api.github.com/repos/huggingface/datasets | {
"diff_url": "https://github.com/huggingface/datasets/pull/5774.diff",
"html_url": "https://github.com/huggingface/datasets/pull/5774",
"merged_at": "2023-04-20T13:24:28Z",
"patch_url": "https://github.com/huggingface/datasets/pull/5774.patch",
"url": "https://api.github.com/repos/huggingface/datasets/pulls/... | 1,676,716,662 | https://api.github.com/repos/huggingface/datasets/issues/5774/comments | PR_kwDODunzps5OxIMe | null | 5,774 | https://api.github.com/repos/huggingface/datasets/issues/5774/events | true |
open | 2023-04-20T04:37:05Z | null | https://api.github.com/repos/huggingface/datasets/issues/5773 | null | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/huggingface/datasets/issues/5773/reactions"
} | null | https://api.github.com/repos/huggingface/datasets/issues/5773/labels{/name} | {
"avatar_url": "https://avatars.githubusercontent.com/u/38179632?v=4",
"events_url": "https://api.github.com/users/v-yunbin/events{/privacy}",
"followers_url": "https://api.github.com/users/v-yunbin/followers",
"following_url": "https://api.github.com/users/v-yunbin/following{/other_user}",
"gists_url": "htt... | https://github.com/huggingface/datasets/issues/5773 | [] | false | 2023-07-19T20:33:13Z | null | null | [
"Thanks for reporting, @v-yunbin.\r\n\r\nCould you please give more details, the steps to reproduce the bug, the complete error back trace and the environment information (`datasets-cli env`)?",
"this is a detail error info from transformers:\r\n```\r\nTraceback (most recent call last):\r\n File \"finetune.py\",... | null | [] | train_dataset does not implement __len__ | NONE | https://api.github.com/repos/huggingface/datasets/issues/5773/timeline | when train using data precessored by the datasets, I get follow warning and it leads to that I can not set epoch numbers:
`ValueError: The train_dataset does not implement __len__, max_steps has to be specified. The number of steps needs to be known in advance for the learning rate scheduler.` | https://api.github.com/repos/huggingface/datasets | null | 1,675,984,633 | https://api.github.com/repos/huggingface/datasets/issues/5773/comments | I_kwDODunzps5j5X75 | null | 5,773 | https://api.github.com/repos/huggingface/datasets/issues/5773/events | false |
closed | 2023-04-19T14:32:57Z | null | https://api.github.com/repos/huggingface/datasets/issues/5772 | null | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/huggingface/datasets/issues/5772/reactions"
} | false | https://api.github.com/repos/huggingface/datasets/issues/5772/labels{/name} | {
"avatar_url": "https://avatars.githubusercontent.com/u/8515462?v=4",
"events_url": "https://api.github.com/users/albertvillanova/events{/privacy}",
"followers_url": "https://api.github.com/users/albertvillanova/followers",
"following_url": "https://api.github.com/users/albertvillanova/following{/other_user}",... | https://github.com/huggingface/datasets/pull/5772 | [] | false | 2023-04-21T06:45:13Z | 2023-04-21T06:35:27Z | null | [
"_The documentation is not available anymore as the PR was closed or merged._",
"<details>\n<summary>Show benchmarks</summary>\n\nPyArrow==8.0.0\n\n<details>\n<summary>Show updated benchmarks!</summary>\n\n### Benchmark: benchmark_array_xd.json\n\n| metric | read_batch_formatted_as_numpy after write_array2d | rea... | null | [] | Fix JSON builder when missing keys in first row | MEMBER | https://api.github.com/repos/huggingface/datasets/issues/5772/timeline | Until now, the JSON builder only considered the keys present in the first element of the list:
- Either explicitly: by passing index 0 in `dataset[0].keys()`
- Or implicitly: `pa.Table.from_pylist(dataset)`, where "schema (default None): If not passed, will be inferred from the first row of the mapping values"
Thi... | https://api.github.com/repos/huggingface/datasets | {
"diff_url": "https://github.com/huggingface/datasets/pull/5772.diff",
"html_url": "https://github.com/huggingface/datasets/pull/5772",
"merged_at": "2023-04-21T06:35:27Z",
"patch_url": "https://github.com/huggingface/datasets/pull/5772.patch",
"url": "https://api.github.com/repos/huggingface/datasets/pulls/... | 1,675,033,510 | https://api.github.com/repos/huggingface/datasets/issues/5772/comments | PR_kwDODunzps5OreXV | null | 5,772 | https://api.github.com/repos/huggingface/datasets/issues/5772/events | true |
closed | 2023-04-19T12:43:53Z | null | https://api.github.com/repos/huggingface/datasets/issues/5771 | null | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/huggingface/datasets/issues/5771/reactions"
} | null | https://api.github.com/repos/huggingface/datasets/issues/5771/labels{/name} | {
"avatar_url": "https://avatars.githubusercontent.com/u/2437102?v=4",
"events_url": "https://api.github.com/users/eli-osherovich/events{/privacy}",
"followers_url": "https://api.github.com/users/eli-osherovich/followers",
"following_url": "https://api.github.com/users/eli-osherovich/following{/other_user}",
... | https://github.com/huggingface/datasets/issues/5771 | [] | false | 2023-05-07T17:47:41Z | 2023-05-07T17:47:41Z | null | [
"A duplicate of https://github.com/huggingface/datasets/issues/5281"
] | completed | [
{
"color": "cfd3d7",
"default": true,
"description": "This issue or pull request already exists",
"id": 1935892865,
"name": "duplicate",
"node_id": "MDU6TGFiZWwxOTM1ODkyODY1",
"url": "https://api.github.com/repos/huggingface/datasets/labels/duplicate"
},
{
"color": "a2eeef",
... | Support cloud storage for loading datasets | CONTRIBUTOR | https://api.github.com/repos/huggingface/datasets/issues/5771/timeline | ### Feature request
It seems that the the current implementation supports cloud storage only for `load_from_disk`. It would be nice if a similar functionality existed in `load_dataset`.
### Motivation
Motivation is pretty clear -- let users work with datasets located in the cloud.
### Your contribution
... | https://api.github.com/repos/huggingface/datasets | null | 1,674,828,380 | https://api.github.com/repos/huggingface/datasets/issues/5771/comments | I_kwDODunzps5j09pc | null | 5,771 | https://api.github.com/repos/huggingface/datasets/issues/5771/events | false |
closed | 2023-04-18T17:47:53Z | null | https://api.github.com/repos/huggingface/datasets/issues/5770 | null | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/huggingface/datasets/issues/5770/reactions"
} | false | https://api.github.com/repos/huggingface/datasets/issues/5770/labels{/name} | {
"avatar_url": "https://avatars.githubusercontent.com/u/106995444?v=4",
"events_url": "https://api.github.com/users/maddiedawson/events{/privacy}",
"followers_url": "https://api.github.com/users/maddiedawson/followers",
"following_url": "https://api.github.com/users/maddiedawson/following{/other_user}",
"gis... | https://github.com/huggingface/datasets/pull/5770 | [] | false | 2023-05-17T14:07:32Z | 2023-05-17T14:00:38Z | null | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Hi again @lhoestq this is ready for review! Not sure I have permission to add people to the reviewers list...",
"Cool ! I think you can define `IterableDataset.from_spark` instead of adding `streaming=` in `Dataset.from_spark`, it ... | null | [] | Add IterableDataset.from_spark | CONTRIBUTOR | https://api.github.com/repos/huggingface/datasets/issues/5770/timeline | Follow-up from https://github.com/huggingface/datasets/pull/5701
Related issue: https://github.com/huggingface/datasets/issues/5678 | https://api.github.com/repos/huggingface/datasets | {
"diff_url": "https://github.com/huggingface/datasets/pull/5770.diff",
"html_url": "https://github.com/huggingface/datasets/pull/5770",
"merged_at": "2023-05-17T14:00:38Z",
"patch_url": "https://github.com/huggingface/datasets/pull/5770.patch",
"url": "https://api.github.com/repos/huggingface/datasets/pulls/... | 1,673,581,555 | https://api.github.com/repos/huggingface/datasets/issues/5770/comments | PR_kwDODunzps5OmntV | null | 5,770 | https://api.github.com/repos/huggingface/datasets/issues/5770/events | true |
closed | 2023-04-18T16:07:40Z | null | https://api.github.com/repos/huggingface/datasets/issues/5769 | null | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/huggingface/datasets/issues/5769/reactions"
} | null | https://api.github.com/repos/huggingface/datasets/issues/5769/labels{/name} | {
"avatar_url": "https://avatars.githubusercontent.com/u/22663468?v=4",
"events_url": "https://api.github.com/users/markovalexander/events{/privacy}",
"followers_url": "https://api.github.com/users/markovalexander/followers",
"following_url": "https://api.github.com/users/markovalexander/following{/other_user}"... | https://github.com/huggingface/datasets/issues/5769 | [] | false | 2023-05-04T18:55:57Z | 2023-05-04T18:55:57Z | null | [
"Thanks for reporting, @markovalexander.\r\n\r\nUnfortunately, I'm not able to reproduce the issue: the `tiktoken` tokenizer can be used within `Dataset.map`, both in my local machine and in a Colab notebook: https://colab.research.google.com/drive/1DhJroZgk0sNFJ2Mrz-jYgrmh9jblXaCG?usp=sharing\r\n\r\nAre you sure y... | completed | [] | Tiktoken tokenizers are not pickable | NONE | https://api.github.com/repos/huggingface/datasets/issues/5769/timeline | ### Describe the bug
Since tiktoken tokenizer is not pickable, it is not possible to use it inside `dataset.map()` with multiprocessing enabled. However, you [made](https://github.com/huggingface/datasets/issues/5536) tiktoken's tokenizers pickable in `datasets==2.10.0` for caching. For some reason, this logic does no... | https://api.github.com/repos/huggingface/datasets | null | 1,673,441,182 | https://api.github.com/repos/huggingface/datasets/issues/5769/comments | I_kwDODunzps5jvq-e | null | 5,769 | https://api.github.com/repos/huggingface/datasets/issues/5769/events | false |
closed | 2023-04-18T07:10:56Z | null | https://api.github.com/repos/huggingface/datasets/issues/5768 | {
"avatar_url": "https://avatars.githubusercontent.com/u/8515462?v=4",
"events_url": "https://api.github.com/users/albertvillanova/events{/privacy}",
"followers_url": "https://api.github.com/users/albertvillanova/followers",
"following_url": "https://api.github.com/users/albertvillanova/following{/other_user}",... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/huggingface/datasets/issues/5768/reactions"
} | null | https://api.github.com/repos/huggingface/datasets/issues/5768/labels{/name} | {
"avatar_url": "https://avatars.githubusercontent.com/u/57412770?v=4",
"events_url": "https://api.github.com/users/yaseen157/events{/privacy}",
"followers_url": "https://api.github.com/users/yaseen157/followers",
"following_url": "https://api.github.com/users/yaseen157/following{/other_user}",
"gists_url": "... | https://github.com/huggingface/datasets/issues/5768 | [
{
"avatar_url": "https://avatars.githubusercontent.com/u/8515462?v=4",
"events_url": "https://api.github.com/users/albertvillanova/events{/privacy}",
"followers_url": "https://api.github.com/users/albertvillanova/followers",
"following_url": "https://api.github.com/users/albertvillanova/following{/o... | false | 2023-04-20T10:27:23Z | 2023-04-20T10:27:22Z | null | [
"Thanks for reporting, @yaseen157.\r\n\r\nCould you please give the complete error stack trace?",
"I am not able to reproduce your issue: the dataset loads perfectly on my local machine and on a Colab notebook: https://colab.research.google.com/drive/1Fbdoa1JdNz8DOdX6gmIsOK1nCT8Abj4O?usp=sharing\r\n```python\r\nI... | completed | [] | load_dataset("squad") doesn't work in 2.7.1 and 2.10.1 | NONE | https://api.github.com/repos/huggingface/datasets/issues/5768/timeline | ### Describe the bug
There is an issue that seems to be unique to the "squad" dataset, in which it cannot be loaded using standard methods. This issue is most quickly reproduced from the command line, using the HF examples to verify a dataset is loaded properly.
This is not a problem with "squad_v2" dataset for e... | https://api.github.com/repos/huggingface/datasets | null | 1,672,494,561 | https://api.github.com/repos/huggingface/datasets/issues/5768/comments | I_kwDODunzps5jsD3h | null | 5,768 | https://api.github.com/repos/huggingface/datasets/issues/5768/events | false |
closed | 2023-04-18T06:25:12Z | null | https://api.github.com/repos/huggingface/datasets/issues/5767 | null | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/huggingface/datasets/issues/5767/reactions"
} | null | https://api.github.com/repos/huggingface/datasets/issues/5767/labels{/name} | {
"avatar_url": "https://avatars.githubusercontent.com/u/109907638?v=4",
"events_url": "https://api.github.com/users/sauravtii/events{/privacy}",
"followers_url": "https://api.github.com/users/sauravtii/followers",
"following_url": "https://api.github.com/users/sauravtii/following{/other_user}",
"gists_url": ... | https://github.com/huggingface/datasets/issues/5767 | [] | false | 2023-04-20T16:52:05Z | 2023-04-20T16:52:05Z | null | [
"Closing this one in favor of the same issue opened in the `transformers` repo."
] | completed | [] | How to use Distill-BERT with different datasets? | NONE | https://api.github.com/repos/huggingface/datasets/issues/5767/timeline | ### Describe the bug
- `transformers` version: 4.11.3
- Platform: Linux-5.4.0-58-generic-x86_64-with-glibc2.29
- Python version: 3.8.10
- PyTorch version (GPU?): 1.12.0+cu102 (True)
- Tensorflow version (GPU?): 2.10.0 (True)
- Flax version (CPU?/GPU?/TPU?): not installed (NA)
- Jax version: not installed
- JaxL... | https://api.github.com/repos/huggingface/datasets | null | 1,672,433,979 | https://api.github.com/repos/huggingface/datasets/issues/5767/comments | I_kwDODunzps5jr1E7 | null | 5,767 | https://api.github.com/repos/huggingface/datasets/issues/5767/events | false |
open | 2023-04-17T15:46:41Z | null | https://api.github.com/repos/huggingface/datasets/issues/5766 | null | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/huggingface/datasets/issues/5766/reactions"
} | null | https://api.github.com/repos/huggingface/datasets/issues/5766/labels{/name} | {
"avatar_url": "https://avatars.githubusercontent.com/u/37540982?v=4",
"events_url": "https://api.github.com/users/jmontalt/events{/privacy}",
"followers_url": "https://api.github.com/users/jmontalt/followers",
"following_url": "https://api.github.com/users/jmontalt/following{/other_user}",
"gists_url": "htt... | https://github.com/huggingface/datasets/issues/5766 | [] | false | 2023-05-03T21:58:43Z | null | null | [
"Hi ! Interesting :) What kind of new types would you like to use ?\r\n\r\nNote that you can already implement your own decoding by using `set_transform` that can decode data on-the-fly when rows are accessed",
"An interesting proposal indeed. \r\n\r\nPandas and Polars have the \"extension API\", so doing somethi... | null | [
{
"color": "a2eeef",
"default": true,
"description": "New feature or request",
"id": 1935892871,
"name": "enhancement",
"node_id": "MDU6TGFiZWwxOTM1ODkyODcx",
"url": "https://api.github.com/repos/huggingface/datasets/labels/enhancement"
}
] | Support custom feature types | NONE | https://api.github.com/repos/huggingface/datasets/issues/5766/timeline | ### Feature request
I think it would be nice to allow registering custom feature types with the 🤗 Datasets library. For example, allow to do something along the following lines:
```
from datasets.features import register_feature_type # this would be a new function
@register_feature_type
class CustomFeature... | https://api.github.com/repos/huggingface/datasets | null | 1,671,485,882 | https://api.github.com/repos/huggingface/datasets/issues/5766/comments | I_kwDODunzps5joNm6 | null | 5,766 | https://api.github.com/repos/huggingface/datasets/issues/5766/events | false |
open | 2023-04-17T15:00:50Z | null | https://api.github.com/repos/huggingface/datasets/issues/5765 | null | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/huggingface/datasets/issues/5765/reactions"
} | null | https://api.github.com/repos/huggingface/datasets/issues/5765/labels{/name} | {
"avatar_url": "https://avatars.githubusercontent.com/u/109907638?v=4",
"events_url": "https://api.github.com/users/sauravtii/events{/privacy}",
"followers_url": "https://api.github.com/users/sauravtii/followers",
"following_url": "https://api.github.com/users/sauravtii/following{/other_user}",
"gists_url": ... | https://github.com/huggingface/datasets/issues/5765 | [] | false | 2023-04-25T13:50:45Z | null | null | [
"You need to remove the `text` and `text_en` columns before passing the dataset to the `DataLoader` to avoid this error:\r\n```python\r\ntokenized_datasets = tokenized_datasets.remove_columns([\"text\", \"text_en\"])\r\n```\r\n",
"Thanks @mariosasko. Now I am getting this error:\r\n\r\n```\r\nTraceback (most rece... | null | [] | ValueError: You should supply an encoding or a list of encodings to this method that includes input_ids, but you provided ['text'] | NONE | https://api.github.com/repos/huggingface/datasets/issues/5765/timeline | ### Describe the bug
Following is my code that I am trying to run, but facing an error (have attached the whole error below):
My code:
```
from collections import OrderedDict
import warnings
import flwr as fl
import torch
import numpy as np
import random
from torch.utils.data import DataLoader
from... | https://api.github.com/repos/huggingface/datasets | null | 1,671,388,824 | https://api.github.com/repos/huggingface/datasets/issues/5765/comments | I_kwDODunzps5jn16Y | null | 5,765 | https://api.github.com/repos/huggingface/datasets/issues/5765/events | false |
closed | 2023-04-17T09:08:18Z | null | https://api.github.com/repos/huggingface/datasets/issues/5764 | {
"avatar_url": "https://avatars.githubusercontent.com/u/8515462?v=4",
"events_url": "https://api.github.com/users/albertvillanova/events{/privacy}",
"followers_url": "https://api.github.com/users/albertvillanova/followers",
"following_url": "https://api.github.com/users/albertvillanova/following{/other_user}",... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/huggingface/datasets/issues/5764/reactions"
} | null | https://api.github.com/repos/huggingface/datasets/issues/5764/labels{/name} | {
"avatar_url": "https://avatars.githubusercontent.com/u/109907638?v=4",
"events_url": "https://api.github.com/users/sauravtii/events{/privacy}",
"followers_url": "https://api.github.com/users/sauravtii/followers",
"following_url": "https://api.github.com/users/sauravtii/following{/other_user}",
"gists_url": ... | https://github.com/huggingface/datasets/issues/5764 | [
{
"avatar_url": "https://avatars.githubusercontent.com/u/8515462?v=4",
"events_url": "https://api.github.com/users/albertvillanova/events{/privacy}",
"followers_url": "https://api.github.com/users/albertvillanova/followers",
"following_url": "https://api.github.com/users/albertvillanova/following{/o... | false | 2023-04-18T07:18:20Z | 2023-04-18T07:18:20Z | null | [
"Thanks for reporting, @sauravtii.\r\n\r\nUnfortunately, I'm not able to reproduce the issue:\r\n```python\r\nIn [1]: from datasets import load_dataset\r\n\r\nIn [2]: ds = load_dataset(\"josianem/imdb\")\r\n\r\nIn [2]: ds\r\nOut[2]: \r\nDatasetDict({\r\n train: Dataset({\r\n features: ['text', 'label'],\r... | completed | [] | ConnectionError: Couldn't reach https://www.dropbox.com/s/zts98j4vkqtsns6/aclImdb_v2.tar?dl=1 | NONE | https://api.github.com/repos/huggingface/datasets/issues/5764/timeline | ### Describe the bug
I want to use this (https://huggingface.co/datasets/josianem/imdb) dataset therefore I am trying to load it using the following code:
```
dataset = load_dataset("josianem/imdb")
```
The dataset is not getting loaded and gives the error message as the following:
```
Traceback (most rece... | https://api.github.com/repos/huggingface/datasets | null | 1,670,740,198 | https://api.github.com/repos/huggingface/datasets/issues/5764/comments | I_kwDODunzps5jlXjm | null | 5,764 | https://api.github.com/repos/huggingface/datasets/issues/5764/events | false |
closed | 2023-04-17T06:03:44Z | null | https://api.github.com/repos/huggingface/datasets/issues/5763 | null | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/huggingface/datasets/issues/5763/reactions"
} | false | https://api.github.com/repos/huggingface/datasets/issues/5763/labels{/name} | {
"avatar_url": "https://avatars.githubusercontent.com/u/1967608?v=4",
"events_url": "https://api.github.com/users/csris/events{/privacy}",
"followers_url": "https://api.github.com/users/csris/followers",
"following_url": "https://api.github.com/users/csris/following{/other_user}",
"gists_url": "https://api.g... | https://github.com/huggingface/datasets/pull/5763 | [] | false | 2023-04-17T15:01:53Z | 2023-04-17T14:54:46Z | null | [
"_The documentation is not available anymore as the PR was closed or merged._",
"<details>\n<summary>Show benchmarks</summary>\n\nPyArrow==8.0.0\n\n<details>\n<summary>Show updated benchmarks!</summary>\n\n### Benchmark: benchmark_array_xd.json\n\n| metric | read_batch_formatted_as_numpy after write_array2d | rea... | null | [] | fix typo: "mow" -> "now" | CONTRIBUTOR | https://api.github.com/repos/huggingface/datasets/issues/5763/timeline | I noticed a typo as I was reading the datasets documentation. This PR contains a trivial fix changing "mow" to "now." | https://api.github.com/repos/huggingface/datasets | {
"diff_url": "https://github.com/huggingface/datasets/pull/5763.diff",
"html_url": "https://github.com/huggingface/datasets/pull/5763",
"merged_at": "2023-04-17T14:54:46Z",
"patch_url": "https://github.com/huggingface/datasets/pull/5763.patch",
"url": "https://api.github.com/repos/huggingface/datasets/pulls/... | 1,670,476,302 | https://api.github.com/repos/huggingface/datasets/issues/5763/comments | PR_kwDODunzps5OcMI7 | null | 5,763 | https://api.github.com/repos/huggingface/datasets/issues/5763/events | true |
closed | 2023-04-17T03:09:10Z | null | https://api.github.com/repos/huggingface/datasets/issues/5762 | {
"avatar_url": "https://avatars.githubusercontent.com/u/8515462?v=4",
"events_url": "https://api.github.com/users/albertvillanova/events{/privacy}",
"followers_url": "https://api.github.com/users/albertvillanova/followers",
"following_url": "https://api.github.com/users/albertvillanova/following{/other_user}",... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/huggingface/datasets/issues/5762/reactions"
} | null | https://api.github.com/repos/huggingface/datasets/issues/5762/labels{/name} | {
"avatar_url": "https://avatars.githubusercontent.com/u/17240858?v=4",
"events_url": "https://api.github.com/users/surya-narayanan/events{/privacy}",
"followers_url": "https://api.github.com/users/surya-narayanan/followers",
"following_url": "https://api.github.com/users/surya-narayanan/following{/other_user}"... | https://github.com/huggingface/datasets/issues/5762 | [
{
"avatar_url": "https://avatars.githubusercontent.com/u/8515462?v=4",
"events_url": "https://api.github.com/users/albertvillanova/events{/privacy}",
"followers_url": "https://api.github.com/users/albertvillanova/followers",
"following_url": "https://api.github.com/users/albertvillanova/following{/o... | false | 2023-04-17T09:37:27Z | 2023-04-17T09:37:27Z | null | [
"Thanks for reporting, @surya-narayanan.\r\n\r\nI see you already started a discussion about this on the Community tab of the corresponding dataset: https://huggingface.co/datasets/EleutherAI/the_pile/discussions/10\r\nLet's continue the discussion there!"
] | completed | [] | Not able to load the pile | NONE | https://api.github.com/repos/huggingface/datasets/issues/5762/timeline | ### Describe the bug
Got this error when I am trying to load the pile dataset
```
TypeError: Couldn't cast array of type
struct<file: string, id: string>
to
{'id': Value(dtype='string', id=None)}
```
### Steps to reproduce the bug
Please visit the following sample notebook
https://colab.research.goo... | https://api.github.com/repos/huggingface/datasets | null | 1,670,326,470 | https://api.github.com/repos/huggingface/datasets/issues/5762/comments | I_kwDODunzps5jjyjG | null | 5,762 | https://api.github.com/repos/huggingface/datasets/issues/5762/events | false |
open | 2023-04-16T16:21:55Z | null | https://api.github.com/repos/huggingface/datasets/issues/5761 | {
"avatar_url": "https://avatars.githubusercontent.com/u/8515462?v=4",
"events_url": "https://api.github.com/users/albertvillanova/events{/privacy}",
"followers_url": "https://api.github.com/users/albertvillanova/followers",
"following_url": "https://api.github.com/users/albertvillanova/following{/other_user}",... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/huggingface/datasets/issues/5761/reactions"
} | null | https://api.github.com/repos/huggingface/datasets/issues/5761/labels{/name} | {
"avatar_url": "https://avatars.githubusercontent.com/u/69686152?v=4",
"events_url": "https://api.github.com/users/blghtr/events{/privacy}",
"followers_url": "https://api.github.com/users/blghtr/followers",
"following_url": "https://api.github.com/users/blghtr/following{/other_user}",
"gists_url": "https://a... | https://github.com/huggingface/datasets/issues/5761 | [
{
"avatar_url": "https://avatars.githubusercontent.com/u/8515462?v=4",
"events_url": "https://api.github.com/users/albertvillanova/events{/privacy}",
"followers_url": "https://api.github.com/users/albertvillanova/followers",
"following_url": "https://api.github.com/users/albertvillanova/following{/o... | false | 2023-04-19T11:53:24Z | null | null | [
"Also, when generated from a zip archive, the dataset contains only a few images. In my case, 20 versus 2000+ contained in the archive. The generation from folders works as expected.",
"Thanks for reporting, @blghtr.\r\n\r\nYou should include the `metadata.jsonl` in your ZIP archives, at the root level directory.... | null | [] | One or several metadata.jsonl were found, but not in the same directory or in a parent directory | NONE | https://api.github.com/repos/huggingface/datasets/issues/5761/timeline | ### Describe the bug
An attempt to generate a dataset from a zip archive using imagefolder and metadata.jsonl does not lead to the expected result. Tried all possible locations of the json file: the file in the archive is ignored (generated dataset contains only images), the file next to the archive like [here](http... | https://api.github.com/repos/huggingface/datasets | null | 1,670,034,582 | https://api.github.com/repos/huggingface/datasets/issues/5761/comments | I_kwDODunzps5jirSW | null | 5,761 | https://api.github.com/repos/huggingface/datasets/issues/5761/events | false |
open | 2023-04-16T16:01:05Z | null | https://api.github.com/repos/huggingface/datasets/issues/5760 | {
"avatar_url": "https://avatars.githubusercontent.com/u/47462742?v=4",
"events_url": "https://api.github.com/users/mariosasko/events{/privacy}",
"followers_url": "https://api.github.com/users/mariosasko/followers",
"following_url": "https://api.github.com/users/mariosasko/following{/other_user}",
"gists_url"... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/huggingface/datasets/issues/5760/reactions"
} | null | https://api.github.com/repos/huggingface/datasets/issues/5760/labels{/name} | {
"avatar_url": "https://avatars.githubusercontent.com/u/44398246?v=4",
"events_url": "https://api.github.com/users/vvvm23/events{/privacy}",
"followers_url": "https://api.github.com/users/vvvm23/followers",
"following_url": "https://api.github.com/users/vvvm23/following{/other_user}",
"gists_url": "https://a... | https://github.com/huggingface/datasets/issues/5760 | [
{
"avatar_url": "https://avatars.githubusercontent.com/u/47462742?v=4",
"events_url": "https://api.github.com/users/mariosasko/events{/privacy}",
"followers_url": "https://api.github.com/users/mariosasko/followers",
"following_url": "https://api.github.com/users/mariosasko/following{/other_user}",
... | false | 2023-11-30T12:06:20Z | null | null | [
"Supporting this could be useful (I remember a use-case for this on the Hub). Do you agree @polinaeterna? \r\n\r\nImplementing this should be possible if we iterate over metadata files and build image/audio file paths instead of iterating over image/audio files and looking for the corresponding entries in metadata ... | null | [
{
"color": "a2eeef",
"default": true,
"description": "New feature or request",
"id": 1935892871,
"name": "enhancement",
"node_id": "MDU6TGFiZWwxOTM1ODkyODcx",
"url": "https://api.github.com/repos/huggingface/datasets/labels/enhancement"
}
] | Multi-image loading in Imagefolder dataset | NONE | https://api.github.com/repos/huggingface/datasets/issues/5760/timeline | ### Feature request
Extend the `imagefolder` dataloading script to support loading multiple images per dataset entry.
This only really makes sense if a metadata file is present.
Currently you can use the following format (example `metadata.jsonl`:
```
{'file_name': 'path_to_image.png', 'metadata': ...}
...
`... | https://api.github.com/repos/huggingface/datasets | null | 1,670,028,072 | https://api.github.com/repos/huggingface/datasets/issues/5760/comments | I_kwDODunzps5jipso | null | 5,760 | https://api.github.com/repos/huggingface/datasets/issues/5760/events | false |
open | 2023-04-16T13:50:14Z | null | https://api.github.com/repos/huggingface/datasets/issues/5759 | {
"avatar_url": "https://avatars.githubusercontent.com/u/8515462?v=4",
"events_url": "https://api.github.com/users/albertvillanova/events{/privacy}",
"followers_url": "https://api.github.com/users/albertvillanova/followers",
"following_url": "https://api.github.com/users/albertvillanova/following{/other_user}",... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/huggingface/datasets/issues/5759/reactions"
} | null | https://api.github.com/repos/huggingface/datasets/issues/5759/labels{/name} | {
"avatar_url": "https://avatars.githubusercontent.com/u/72137647?v=4",
"events_url": "https://api.github.com/users/LZY-the-boys/events{/privacy}",
"followers_url": "https://api.github.com/users/LZY-the-boys/followers",
"following_url": "https://api.github.com/users/LZY-the-boys/following{/other_user}",
"gist... | https://github.com/huggingface/datasets/issues/5759 | [
{
"avatar_url": "https://avatars.githubusercontent.com/u/8515462?v=4",
"events_url": "https://api.github.com/users/albertvillanova/events{/privacy}",
"followers_url": "https://api.github.com/users/albertvillanova/followers",
"following_url": "https://api.github.com/users/albertvillanova/following{/o... | false | 2023-04-19T12:04:36Z | null | null | [
"Thanks for reporting, @LZY-the-boys.\r\n\r\nCould you please give more details about what is your intended dataset structure? What are the names of the columns and the value of each row?\r\n\r\nCurrently, the JSON-Lines format is supported:\r\n- Each line correspond to one row of the dataset\r\n- Each line is comp... | null | [
{
"color": "a2eeef",
"default": true,
"description": "New feature or request",
"id": 1935892871,
"name": "enhancement",
"node_id": "MDU6TGFiZWwxOTM1ODkyODcx",
"url": "https://api.github.com/repos/huggingface/datasets/labels/enhancement"
}
] | Can I load in list of list of dict format? | NONE | https://api.github.com/repos/huggingface/datasets/issues/5759/timeline | ### Feature request
my jsonl dataset has following format:
```
[{'input':xxx, 'output':xxx},{'input:xxx,'output':xxx},...]
[{'input':xxx, 'output':xxx},{'input:xxx,'output':xxx},...]
```
I try to use `datasets.load_dataset('json', data_files=path)` or `datasets.Dataset.from_json`, it raises
```
File "site-p... | https://api.github.com/repos/huggingface/datasets | null | 1,669,977,848 | https://api.github.com/repos/huggingface/datasets/issues/5759/comments | I_kwDODunzps5jidb4 | null | 5,759 | https://api.github.com/repos/huggingface/datasets/issues/5759/events | false |
closed | 2023-04-16T11:56:01Z | null | https://api.github.com/repos/huggingface/datasets/issues/5758 | null | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/huggingface/datasets/issues/5758/reactions"
} | false | https://api.github.com/repos/huggingface/datasets/issues/5758/labels{/name} | {
"avatar_url": "https://avatars.githubusercontent.com/u/2437102?v=4",
"events_url": "https://api.github.com/users/eli-osherovich/events{/privacy}",
"followers_url": "https://api.github.com/users/eli-osherovich/followers",
"following_url": "https://api.github.com/users/eli-osherovich/following{/other_user}",
... | https://github.com/huggingface/datasets/pull/5758 | [] | false | 2023-04-20T15:37:49Z | 2023-04-20T15:30:48Z | null | [
"The CI can be fixed by merging `main` into your branch. Can you do that before we merge ?",
"_The documentation is not available anymore as the PR was closed or merged._",
"Done.\n\nOn Thu, Apr 20, 2023 at 6:01 PM Quentin Lhoest ***@***.***>\nwrote:\n\n> The CI can be fixed by merging main into your branch. Ca... | null | [] | Fixes #5757 | CONTRIBUTOR | https://api.github.com/repos/huggingface/datasets/issues/5758/timeline | Fixes the bug #5757 | https://api.github.com/repos/huggingface/datasets | {
"diff_url": "https://github.com/huggingface/datasets/pull/5758.diff",
"html_url": "https://github.com/huggingface/datasets/pull/5758",
"merged_at": "2023-04-20T15:30:48Z",
"patch_url": "https://github.com/huggingface/datasets/pull/5758.patch",
"url": "https://api.github.com/repos/huggingface/datasets/pulls/... | 1,669,920,923 | https://api.github.com/repos/huggingface/datasets/issues/5758/comments | PR_kwDODunzps5OaY9S | null | 5,758 | https://api.github.com/repos/huggingface/datasets/issues/5758/events | true |
closed | 2023-04-16T11:48:10Z | null | https://api.github.com/repos/huggingface/datasets/issues/5757 | null | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/huggingface/datasets/issues/5757/reactions"
} | null | https://api.github.com/repos/huggingface/datasets/issues/5757/labels{/name} | {
"avatar_url": "https://avatars.githubusercontent.com/u/2437102?v=4",
"events_url": "https://api.github.com/users/eli-osherovich/events{/privacy}",
"followers_url": "https://api.github.com/users/eli-osherovich/followers",
"following_url": "https://api.github.com/users/eli-osherovich/following{/other_user}",
... | https://github.com/huggingface/datasets/issues/5757 | [] | false | 2023-04-20T15:30:51Z | 2023-04-20T15:30:51Z | null | [] | completed | [] | Tilde (~) is not supported | CONTRIBUTOR | https://api.github.com/repos/huggingface/datasets/issues/5757/timeline | ### Describe the bug
It seems that `~` is not recognized correctly in local paths. Whenever I try to use it I get an exception
### Steps to reproduce the bug
```python
load_dataset("imagefolder", data_dir="~/data/my_dataset")
```
Will generate the following error:
```
EmptyDatasetError: The directory at ... | https://api.github.com/repos/huggingface/datasets | null | 1,669,910,503 | https://api.github.com/repos/huggingface/datasets/issues/5757/comments | I_kwDODunzps5jiM_n | null | 5,757 | https://api.github.com/repos/huggingface/datasets/issues/5757/events | false |
closed | 2023-04-16T04:59:47Z | null | https://api.github.com/repos/huggingface/datasets/issues/5756 | null | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/huggingface/datasets/issues/5756/reactions"
} | null | https://api.github.com/repos/huggingface/datasets/issues/5756/labels{/name} | {
"avatar_url": "https://avatars.githubusercontent.com/u/21077341?v=4",
"events_url": "https://api.github.com/users/rohfle/events{/privacy}",
"followers_url": "https://api.github.com/users/rohfle/followers",
"following_url": "https://api.github.com/users/rohfle/following{/other_user}",
"gists_url": "https://a... | https://github.com/huggingface/datasets/issues/5756 | [] | false | 2023-04-18T03:40:56Z | 2023-04-18T03:40:56Z | null | [
"Hi! I've merged a PR on the Hub with a fix: https://huggingface.co/datasets/fashion_mnist/discussions/3",
"Thanks, this appears to have fixed the issue.\r\n\r\nI've created a PR for the same change in the mnist dataset: https://huggingface.co/datasets/mnist/discussions/3/files"
] | completed | [] | Calling shuffle on a IterableDataset with streaming=True, gives "ValueError: cannot reshape array" | NONE | https://api.github.com/repos/huggingface/datasets/issues/5756/timeline | ### Describe the bug
When calling shuffle on a IterableDataset with streaming=True, I get the following error:
```
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/home/administrator/Documents/Projects/huggingface/jax-diffusers-sprint-consistency-models/virtualenv/lib/python3.1... | https://api.github.com/repos/huggingface/datasets | null | 1,669,678,080 | https://api.github.com/repos/huggingface/datasets/issues/5756/comments | I_kwDODunzps5jhUQA | null | 5,756 | https://api.github.com/repos/huggingface/datasets/issues/5756/events | false |
closed | 2023-04-14T23:28:54Z | null | https://api.github.com/repos/huggingface/datasets/issues/5755 | null | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/huggingface/datasets/issues/5755/reactions"
} | null | https://api.github.com/repos/huggingface/datasets/issues/5755/labels{/name} | {
"avatar_url": "https://avatars.githubusercontent.com/u/1405491?v=4",
"events_url": "https://api.github.com/users/fivejjs/events{/privacy}",
"followers_url": "https://api.github.com/users/fivejjs/followers",
"following_url": "https://api.github.com/users/fivejjs/following{/other_user}",
"gists_url": "https:/... | https://github.com/huggingface/datasets/issues/5755 | [] | false | 2023-04-14T23:36:19Z | 2023-04-14T23:36:19Z | null | [
"update the version. fix"
] | completed | [] | ImportError: cannot import name 'DeprecatedEnum' from 'datasets.utils.deprecation_utils' | NONE | https://api.github.com/repos/huggingface/datasets/issues/5755/timeline | ### Describe the bug
The module moved to new place?
### Steps to reproduce the bug
in the import step,
```python
from datasets.utils.deprecation_utils import DeprecatedEnum
```
error:
```
ImportError: cannot import name 'DeprecatedEnum' from 'datasets.utils.deprecation_utils'
```
### Expected behavior... | https://api.github.com/repos/huggingface/datasets | null | 1,669,048,438 | https://api.github.com/repos/huggingface/datasets/issues/5755/comments | I_kwDODunzps5je6h2 | null | 5,755 | https://api.github.com/repos/huggingface/datasets/issues/5755/events | false |
closed | 2023-04-14T18:15:14Z | null | https://api.github.com/repos/huggingface/datasets/issues/5754 | null | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/huggingface/datasets/issues/5754/reactions"
} | false | https://api.github.com/repos/huggingface/datasets/issues/5754/labels{/name} | {
"avatar_url": "https://avatars.githubusercontent.com/u/47462742?v=4",
"events_url": "https://api.github.com/users/mariosasko/events{/privacy}",
"followers_url": "https://api.github.com/users/mariosasko/followers",
"following_url": "https://api.github.com/users/mariosasko/following{/other_user}",
"gists_url"... | https://github.com/huggingface/datasets/pull/5754 | [] | false | 2023-04-20T15:27:58Z | 2023-04-20T15:21:00Z | null | [
"_The documentation is not available anymore as the PR was closed or merged._",
"<details>\n<summary>Show benchmarks</summary>\n\nPyArrow==8.0.0\n\n<details>\n<summary>Show updated benchmarks!</summary>\n\n### Benchmark: benchmark_array_xd.json\n\n| metric | read_batch_formatted_as_numpy after write_array2d | rea... | null | [] | Minor tqdm fixes | CONTRIBUTOR | https://api.github.com/repos/huggingface/datasets/issues/5754/timeline | `GeneratorBasedBuilder`'s TQDM bars were not used as context managers. This PR fixes that (missed these bars in https://github.com/huggingface/datasets/pull/5560).
Also, this PR modifies the single-proc `save_to_disk` to fix the issue with the TQDM bar not accumulating the progress in the multi-shard setting (again... | https://api.github.com/repos/huggingface/datasets | {
"diff_url": "https://github.com/huggingface/datasets/pull/5754.diff",
"html_url": "https://github.com/huggingface/datasets/pull/5754",
"merged_at": "2023-04-20T15:21:00Z",
"patch_url": "https://github.com/huggingface/datasets/pull/5754.patch",
"url": "https://api.github.com/repos/huggingface/datasets/pulls/... | 1,668,755,035 | https://api.github.com/repos/huggingface/datasets/issues/5754/comments | PR_kwDODunzps5OWozh | null | 5,754 | https://api.github.com/repos/huggingface/datasets/issues/5754/events | true |
closed | 2023-04-14T17:32:31Z | null | https://api.github.com/repos/huggingface/datasets/issues/5753 | null | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/huggingface/datasets/issues/5753/reactions"
} | null | https://api.github.com/repos/huggingface/datasets/issues/5753/labels{/name} | {
"avatar_url": "https://avatars.githubusercontent.com/u/93869735?v=4",
"events_url": "https://api.github.com/users/sanchit-gandhi/events{/privacy}",
"followers_url": "https://api.github.com/users/sanchit-gandhi/followers",
"following_url": "https://api.github.com/users/sanchit-gandhi/following{/other_user}",
... | https://github.com/huggingface/datasets/issues/5753 | [] | false | 2023-04-14T17:45:52Z | 2023-04-14T17:36:37Z | null | [
"Problem with the code snippet! Using global vars and functions was not a good idea with iterable datasets!\r\n\r\nIf we update to:\r\n```python\r\nfrom datasets import load_dataset\r\n\r\noriginal_dataset = load_dataset(\"librispeech_asr\", \"clean\", split=\"validation\", streaming=True)\r\n\r\n# now add a new co... | completed | [] | [IterableDatasets] Add column followed by interleave datasets gives bogus outputs | CONTRIBUTOR | https://api.github.com/repos/huggingface/datasets/issues/5753/timeline | ### Describe the bug
If we add a new column to our iterable dataset using the hack described in #5752, when we then interleave datasets the new column is pinned to one value.
### Steps to reproduce the bug
What we're going to do here is:
1. Load an iterable dataset in streaming mode (`original_dataset`)
2. A... | https://api.github.com/repos/huggingface/datasets | null | 1,668,659,536 | https://api.github.com/repos/huggingface/datasets/issues/5753/comments | I_kwDODunzps5jdblQ | null | 5,753 | https://api.github.com/repos/huggingface/datasets/issues/5753/events | false |
open | 2023-04-14T16:39:50Z | null | https://api.github.com/repos/huggingface/datasets/issues/5752 | null | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/huggingface/datasets/issues/5752/reactions"
} | null | https://api.github.com/repos/huggingface/datasets/issues/5752/labels{/name} | {
"avatar_url": "https://avatars.githubusercontent.com/u/93869735?v=4",
"events_url": "https://api.github.com/users/sanchit-gandhi/events{/privacy}",
"followers_url": "https://api.github.com/users/sanchit-gandhi/followers",
"following_url": "https://api.github.com/users/sanchit-gandhi/following{/other_user}",
... | https://github.com/huggingface/datasets/issues/5752 | [] | false | 2024-01-18T10:15:20Z | null | null | [
"I believe the issue resides in this line:\r\nhttps://github.com/huggingface/datasets/blob/7c3a9b057c476c40d157bd7a5d57f49066239df0/src/datasets/iterable_dataset.py#L1415\r\n\r\nIf we pass the **new** features of the dataset to the `.map` method we can return the features after adding a column, e.g.:\r\n```python\r... | null | [
{
"color": "d73a4a",
"default": true,
"description": "Something isn't working",
"id": 1935892857,
"name": "bug",
"node_id": "MDU6TGFiZWwxOTM1ODkyODU3",
"url": "https://api.github.com/repos/huggingface/datasets/labels/bug"
}
] | Streaming dataset looses `.feature` method after `.add_column` | CONTRIBUTOR | https://api.github.com/repos/huggingface/datasets/issues/5752/timeline | ### Describe the bug
After appending a new column to a streaming dataset using `.add_column`, we can no longer access the list of dataset features using the `.feature` method.
### Steps to reproduce the bug
```python
from datasets import load_dataset
original_dataset = load_dataset("librispeech_asr", "clean", sp... | https://api.github.com/repos/huggingface/datasets | null | 1,668,574,209 | https://api.github.com/repos/huggingface/datasets/issues/5752/comments | I_kwDODunzps5jdGwB | null | 5,752 | https://api.github.com/repos/huggingface/datasets/issues/5752/events | false |
closed | 2023-04-14T14:13:59Z | null | https://api.github.com/repos/huggingface/datasets/issues/5751 | null | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/huggingface/datasets/issues/5751/reactions"
} | false | https://api.github.com/repos/huggingface/datasets/issues/5751/labels{/name} | {
"avatar_url": "https://avatars.githubusercontent.com/u/47462742?v=4",
"events_url": "https://api.github.com/users/mariosasko/events{/privacy}",
"followers_url": "https://api.github.com/users/mariosasko/followers",
"following_url": "https://api.github.com/users/mariosasko/following{/other_user}",
"gists_url"... | https://github.com/huggingface/datasets/pull/5751 | [] | false | 2023-04-20T14:43:20Z | 2023-04-20T14:40:34Z | null | [
"_The documentation is not available anymore as the PR was closed or merged._",
"<details>\n<summary>Show benchmarks</summary>\n\nPyArrow==8.0.0\n\n<details>\n<summary>Show updated benchmarks!</summary>\n\n### Benchmark: benchmark_array_xd.json\n\n| metric | read_batch_formatted_as_numpy after write_array2d | rea... | null | [] | Consistent ArrayXD Python formatting + better NumPy/Pandas formatting | CONTRIBUTOR | https://api.github.com/repos/huggingface/datasets/issues/5751/timeline | Return a list of lists instead of a list of NumPy arrays when converting the variable-shaped `ArrayXD` to Python. Additionally, improve the NumPy conversion by returning a numeric NumPy array when the offsets are equal or a NumPy object array when they aren't, and allow converting the variable-shaped `ArrayXD` to Panda... | https://api.github.com/repos/huggingface/datasets | {
"diff_url": "https://github.com/huggingface/datasets/pull/5751.diff",
"html_url": "https://github.com/huggingface/datasets/pull/5751",
"merged_at": "2023-04-20T14:40:34Z",
"patch_url": "https://github.com/huggingface/datasets/pull/5751.patch",
"url": "https://api.github.com/repos/huggingface/datasets/pulls/... | 1,668,333,316 | https://api.github.com/repos/huggingface/datasets/issues/5751/comments | PR_kwDODunzps5OVMuT | null | 5,751 | https://api.github.com/repos/huggingface/datasets/issues/5751/events | true |
closed | 2023-04-14T13:50:59Z | null | https://api.github.com/repos/huggingface/datasets/issues/5750 | null | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/huggingface/datasets/issues/5750/reactions"
} | null | https://api.github.com/repos/huggingface/datasets/issues/5750/labels{/name} | {
"avatar_url": "https://avatars.githubusercontent.com/u/895720?v=4",
"events_url": "https://api.github.com/users/ivanprado/events{/privacy}",
"followers_url": "https://api.github.com/users/ivanprado/followers",
"following_url": "https://api.github.com/users/ivanprado/following{/other_user}",
"gists_url": "ht... | https://github.com/huggingface/datasets/issues/5750 | [] | false | 2023-04-17T12:20:43Z | 2023-04-17T12:20:43Z | null | [
"`from_generator` expects a generator function, not a generator object, so this should work:\r\n```python\r\nfrom datasets import Dataset\r\nfrom google.cloud import bigquery\r\n\r\nclient = bigquery.Client()\r\n\r\ndef gen()\r\n # Perform a query.\r\n QUERY = (\r\n 'SELECT name FROM `bigquery-public-d... | completed | [] | Fail to create datasets from a generator when using Google Big Query | NONE | https://api.github.com/repos/huggingface/datasets/issues/5750/timeline | ### Describe the bug
Creating a dataset from a generator using `Dataset.from_generator()` fails if the generator is the [Google Big Query Python client](https://cloud.google.com/python/docs/reference/bigquery/latest). The problem is that the Big Query client is not pickable. And the function `create_config_id` tries t... | https://api.github.com/repos/huggingface/datasets | null | 1,668,289,067 | https://api.github.com/repos/huggingface/datasets/issues/5750/comments | I_kwDODunzps5jcBIr | null | 5,750 | https://api.github.com/repos/huggingface/datasets/issues/5750/events | false |
closed | 2023-04-14T10:48:06Z | null | https://api.github.com/repos/huggingface/datasets/issues/5749 | {
"avatar_url": "https://avatars.githubusercontent.com/u/8515462?v=4",
"events_url": "https://api.github.com/users/albertvillanova/events{/privacy}",
"followers_url": "https://api.github.com/users/albertvillanova/followers",
"following_url": "https://api.github.com/users/albertvillanova/following{/other_user}",... | {
"+1": 3,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 3,
"url": "https://api.github.com/repos/huggingface/datasets/issues/5749/reactions"
} | null | https://api.github.com/repos/huggingface/datasets/issues/5749/labels{/name} | {
"avatar_url": "https://avatars.githubusercontent.com/u/54584290?v=4",
"events_url": "https://api.github.com/users/gulnaz-zh/events{/privacy}",
"followers_url": "https://api.github.com/users/gulnaz-zh/followers",
"following_url": "https://api.github.com/users/gulnaz-zh/following{/other_user}",
"gists_url": "... | https://github.com/huggingface/datasets/issues/5749 | [
{
"avatar_url": "https://avatars.githubusercontent.com/u/8515462?v=4",
"events_url": "https://api.github.com/users/albertvillanova/events{/privacy}",
"followers_url": "https://api.github.com/users/albertvillanova/followers",
"following_url": "https://api.github.com/users/albertvillanova/following{/o... | false | 2023-06-30T11:31:17Z | 2023-04-18T12:57:08Z | null | [
"I got the same error, and the official website for visual genome is down. Did you solve this problem? ",
"I am in the same situation now :( ",
"Thanks for reporting, @gulnaz-zh.\r\n\r\nI am investigating it.",
"The host server is down: https://visualgenome.org/\r\n\r\nWe are contacting the dataset authors.",... | completed | [] | AttributeError: 'Version' object has no attribute 'match' | NONE | https://api.github.com/repos/huggingface/datasets/issues/5749/timeline | ### Describe the bug
When I run
from datasets import load_dataset
data = load_dataset("visual_genome", 'region_descriptions_v1.2.0')
AttributeError: 'Version' object has no attribute 'match'
### Steps to reproduce the bug
from datasets import load_dataset
data = load_dataset("visual_genome", 'region_descripti... | https://api.github.com/repos/huggingface/datasets | null | 1,668,016,321 | https://api.github.com/repos/huggingface/datasets/issues/5749/comments | I_kwDODunzps5ja-jB | null | 5,749 | https://api.github.com/repos/huggingface/datasets/issues/5749/events | false |
open | 2023-04-14T05:07:31Z | null | https://api.github.com/repos/huggingface/datasets/issues/5748 | null | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/huggingface/datasets/issues/5748/reactions"
} | false | https://api.github.com/repos/huggingface/datasets/issues/5748/labels{/name} | {
"avatar_url": "https://avatars.githubusercontent.com/u/1772912?v=4",
"events_url": "https://api.github.com/users/ericxsun/events{/privacy}",
"followers_url": "https://api.github.com/users/ericxsun/followers",
"following_url": "https://api.github.com/users/ericxsun/following{/other_user}",
"gists_url": "http... | https://github.com/huggingface/datasets/pull/5748 | [] | false | 2023-04-14T05:07:31Z | null | null | [] | null | [] | [BUG FIX] Issue 5739 | NONE | https://api.github.com/repos/huggingface/datasets/issues/5748/timeline | A fix for https://github.com/huggingface/datasets/issues/5739 | https://api.github.com/repos/huggingface/datasets | {
"diff_url": "https://github.com/huggingface/datasets/pull/5748.diff",
"html_url": "https://github.com/huggingface/datasets/pull/5748",
"merged_at": null,
"patch_url": "https://github.com/huggingface/datasets/pull/5748.patch",
"url": "https://api.github.com/repos/huggingface/datasets/pulls/5748"
} | 1,667,517,024 | https://api.github.com/repos/huggingface/datasets/issues/5748/comments | PR_kwDODunzps5OSgNH | null | 5,748 | https://api.github.com/repos/huggingface/datasets/issues/5748/events | true |
closed | 2023-04-13T23:20:03Z | null | https://api.github.com/repos/huggingface/datasets/issues/5747 | null | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/huggingface/datasets/issues/5747/reactions"
} | false | https://api.github.com/repos/huggingface/datasets/issues/5747/labels{/name} | {
"avatar_url": "https://avatars.githubusercontent.com/u/106995444?v=4",
"events_url": "https://api.github.com/users/maddiedawson/events{/privacy}",
"followers_url": "https://api.github.com/users/maddiedawson/followers",
"following_url": "https://api.github.com/users/maddiedawson/following{/other_user}",
"gis... | https://github.com/huggingface/datasets/pull/5747 | [] | false | 2024-01-08T18:31:50Z | 2024-01-08T18:31:50Z | null | [] | null | [] | [WIP] Add Dataset.to_spark | CONTRIBUTOR | https://api.github.com/repos/huggingface/datasets/issues/5747/timeline | null | https://api.github.com/repos/huggingface/datasets | {
"diff_url": "https://github.com/huggingface/datasets/pull/5747.diff",
"html_url": "https://github.com/huggingface/datasets/pull/5747",
"merged_at": null,
"patch_url": "https://github.com/huggingface/datasets/pull/5747.patch",
"url": "https://api.github.com/repos/huggingface/datasets/pulls/5747"
} | 1,667,270,412 | https://api.github.com/repos/huggingface/datasets/issues/5747/comments | PR_kwDODunzps5ORtBF | null | 5,747 | https://api.github.com/repos/huggingface/datasets/issues/5747/events | true |
closed | 2023-04-13T20:45:19Z | null | https://api.github.com/repos/huggingface/datasets/issues/5746 | null | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/huggingface/datasets/issues/5746/reactions"
} | false | https://api.github.com/repos/huggingface/datasets/issues/5746/labels{/name} | {
"avatar_url": "https://avatars.githubusercontent.com/u/7485661?v=4",
"events_url": "https://api.github.com/users/bbbxyz/events{/privacy}",
"followers_url": "https://api.github.com/users/bbbxyz/followers",
"following_url": "https://api.github.com/users/bbbxyz/following{/other_user}",
"gists_url": "https://ap... | https://github.com/huggingface/datasets/pull/5746 | [] | false | 2023-04-14T13:15:38Z | 2023-04-14T13:08:42Z | null | [
"_The documentation is not available anymore as the PR was closed or merged._",
"<details>\n<summary>Show benchmarks</summary>\n\nPyArrow==8.0.0\n\n<details>\n<summary>Show updated benchmarks!</summary>\n\n### Benchmark: benchmark_array_xd.json\n\n| metric | read_batch_formatted_as_numpy after write_array2d | rea... | null | [] | Fix link in docs | CONTRIBUTOR | https://api.github.com/repos/huggingface/datasets/issues/5746/timeline | Fixes a broken link in the use_with_pytorch docs | https://api.github.com/repos/huggingface/datasets | {
"diff_url": "https://github.com/huggingface/datasets/pull/5746.diff",
"html_url": "https://github.com/huggingface/datasets/pull/5746",
"merged_at": "2023-04-14T13:08:42Z",
"patch_url": "https://github.com/huggingface/datasets/pull/5746.patch",
"url": "https://api.github.com/repos/huggingface/datasets/pulls/... | 1,667,102,459 | https://api.github.com/repos/huggingface/datasets/issues/5746/comments | PR_kwDODunzps5ORIUU | null | 5,746 | https://api.github.com/repos/huggingface/datasets/issues/5746/events | true |
open | 2023-04-13T20:29:55Z | null | https://api.github.com/repos/huggingface/datasets/issues/5745 | null | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/huggingface/datasets/issues/5745/reactions"
} | false | https://api.github.com/repos/huggingface/datasets/issues/5745/labels{/name} | {
"avatar_url": "https://avatars.githubusercontent.com/u/15572698?v=4",
"events_url": "https://api.github.com/users/keyboardAnt/events{/privacy}",
"followers_url": "https://api.github.com/users/keyboardAnt/followers",
"following_url": "https://api.github.com/users/keyboardAnt/following{/other_user}",
"gists_u... | https://github.com/huggingface/datasets/pull/5745 | [] | false | 2023-04-21T15:22:43Z | null | null | [
"Have met the same problem with datasets==2.8.0, pandas==2.0.0. It could be solved by installing the latest version of datasets or using datasets==2.8.0, pandas==1.5.3.",
"Pandas 2.0.0 has removed support to passing `mangle_dupe_cols`.\r\n\r\nHowever, our `datasets` library does not use this parameter: it only pa... | null | [] | [BUG FIX] Issue 5744 | NONE | https://api.github.com/repos/huggingface/datasets/issues/5745/timeline | A temporal fix for https://github.com/huggingface/datasets/issues/5744. | https://api.github.com/repos/huggingface/datasets | {
"diff_url": "https://github.com/huggingface/datasets/pull/5745.diff",
"html_url": "https://github.com/huggingface/datasets/pull/5745",
"merged_at": null,
"patch_url": "https://github.com/huggingface/datasets/pull/5745.patch",
"url": "https://api.github.com/repos/huggingface/datasets/pulls/5745"
} | 1,667,086,143 | https://api.github.com/repos/huggingface/datasets/issues/5745/comments | PR_kwDODunzps5ORE2n | null | 5,745 | https://api.github.com/repos/huggingface/datasets/issues/5745/events | true |
closed | 2023-04-13T20:21:28Z | null | https://api.github.com/repos/huggingface/datasets/issues/5744 | {
"avatar_url": "https://avatars.githubusercontent.com/u/8515462?v=4",
"events_url": "https://api.github.com/users/albertvillanova/events{/privacy}",
"followers_url": "https://api.github.com/users/albertvillanova/followers",
"following_url": "https://api.github.com/users/albertvillanova/following{/other_user}",... | {
"+1": 3,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 3,
"url": "https://api.github.com/repos/huggingface/datasets/issues/5744/reactions"
} | null | https://api.github.com/repos/huggingface/datasets/issues/5744/labels{/name} | {
"avatar_url": "https://avatars.githubusercontent.com/u/15572698?v=4",
"events_url": "https://api.github.com/users/keyboardAnt/events{/privacy}",
"followers_url": "https://api.github.com/users/keyboardAnt/followers",
"following_url": "https://api.github.com/users/keyboardAnt/following{/other_user}",
"gists_u... | https://github.com/huggingface/datasets/issues/5744 | [
{
"avatar_url": "https://avatars.githubusercontent.com/u/8515462?v=4",
"events_url": "https://api.github.com/users/albertvillanova/events{/privacy}",
"followers_url": "https://api.github.com/users/albertvillanova/followers",
"following_url": "https://api.github.com/users/albertvillanova/following{/o... | false | 2023-07-06T17:01:59Z | 2023-07-06T17:01:59Z | null | [
"Thanks for reporting, @keyboardAnt.\r\n\r\nWe haven't noticed any crash in our CI tests. Could you please indicate specifically the `load_dataset` command that crashes in your side, so that we can reproduce it?",
"This has been fixed in `datasets` 2.11"
] | completed | [] | [BUG] With Pandas 2.0.0, `load_dataset` raises `TypeError: read_csv() got an unexpected keyword argument 'mangle_dupe_cols'` | NONE | https://api.github.com/repos/huggingface/datasets/issues/5744/timeline | The `load_dataset` function with Pandas `1.5.3` has no issue (just a FutureWarning) but crashes with Pandas `2.0.0`.
For your convenience, I opened a draft Pull Request to fix it quickly: https://github.com/huggingface/datasets/pull/5745
---
* The FutureWarning mentioned above:
```
FutureWarning: the 'mangle_... | https://api.github.com/repos/huggingface/datasets | null | 1,667,076,620 | https://api.github.com/repos/huggingface/datasets/issues/5744/comments | I_kwDODunzps5jXZIM | null | 5,744 | https://api.github.com/repos/huggingface/datasets/issues/5744/events | false |
closed | 2023-04-13T17:28:33Z | null | https://api.github.com/repos/huggingface/datasets/issues/5743 | null | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/huggingface/datasets/issues/5743/reactions"
} | null | https://api.github.com/repos/huggingface/datasets/issues/5743/labels{/name} | {
"avatar_url": "https://avatars.githubusercontent.com/u/71216295?v=4",
"events_url": "https://api.github.com/users/syedabdullahhassan/events{/privacy}",
"followers_url": "https://api.github.com/users/syedabdullahhassan/followers",
"following_url": "https://api.github.com/users/syedabdullahhassan/following{/oth... | https://github.com/huggingface/datasets/issues/5743 | [] | false | 2023-04-17T12:23:18Z | 2023-04-17T12:23:18Z | null | [
"We no longer depend on `dataclasses` (for almost a year), so I don't think our package is the problematic one. \r\n\r\nI think it makes more sense to raise this issue in the `dataclasses` repo: https://github.com/ericvsmith/dataclasses."
] | completed | [] | dataclass.py in virtual environment is overriding the stdlib module "dataclasses" | NONE | https://api.github.com/repos/huggingface/datasets/issues/5743/timeline | ### Describe the bug
"e:\Krish_naik\FSDSRegression\venv\Lib\dataclasses.py" is overriding the stdlib module "dataclasses"
### Steps to reproduce the bug
module issue
### Expected behavior
overriding the stdlib module "dataclasses"
### Environment info
VS code | https://api.github.com/repos/huggingface/datasets | null | 1,666,843,832 | https://api.github.com/repos/huggingface/datasets/issues/5743/comments | I_kwDODunzps5jWgS4 | null | 5,743 | https://api.github.com/repos/huggingface/datasets/issues/5743/events | false |
closed | 2023-04-13T11:10:00Z | null | https://api.github.com/repos/huggingface/datasets/issues/5742 | null | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/huggingface/datasets/issues/5742/reactions"
} | false | https://api.github.com/repos/huggingface/datasets/issues/5742/labels{/name} | {
"avatar_url": "https://avatars.githubusercontent.com/u/22614925?v=4",
"events_url": "https://api.github.com/users/amyeroberts/events{/privacy}",
"followers_url": "https://api.github.com/users/amyeroberts/followers",
"following_url": "https://api.github.com/users/amyeroberts/following{/other_user}",
"gists_u... | https://github.com/huggingface/datasets/pull/5742 | [] | false | 2023-04-21T13:18:14Z | 2023-04-21T13:11:09Z | null | [
"_The documentation is not available anymore as the PR was closed or merged._",
"<details>\n<summary>Show benchmarks</summary>\n\nPyArrow==8.0.0\n\n<details>\n<summary>Show updated benchmarks!</summary>\n\n### Benchmark: benchmark_array_xd.json\n\n| metric | read_batch_formatted_as_numpy after write_array2d | rea... | null | [] | Warning specifying future change in to_tf_dataset behaviour | CONTRIBUTOR | https://api.github.com/repos/huggingface/datasets/issues/5742/timeline | Warning specifying future changes happening to `to_tf_dataset` behaviour when #5602 is merged in | https://api.github.com/repos/huggingface/datasets | {
"diff_url": "https://github.com/huggingface/datasets/pull/5742.diff",
"html_url": "https://github.com/huggingface/datasets/pull/5742",
"merged_at": "2023-04-21T13:11:09Z",
"patch_url": "https://github.com/huggingface/datasets/pull/5742.patch",
"url": "https://api.github.com/repos/huggingface/datasets/pulls/... | 1,666,209,738 | https://api.github.com/repos/huggingface/datasets/issues/5742/comments | PR_kwDODunzps5OOH-W | null | 5,742 | https://api.github.com/repos/huggingface/datasets/issues/5742/events | true |
closed | 2023-04-13T07:17:02Z | null | https://api.github.com/repos/huggingface/datasets/issues/5741 | null | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/huggingface/datasets/issues/5741/reactions"
} | false | https://api.github.com/repos/huggingface/datasets/issues/5741/labels{/name} | {
"avatar_url": "https://avatars.githubusercontent.com/u/8515462?v=4",
"events_url": "https://api.github.com/users/albertvillanova/events{/privacy}",
"followers_url": "https://api.github.com/users/albertvillanova/followers",
"following_url": "https://api.github.com/users/albertvillanova/following{/other_user}",... | https://github.com/huggingface/datasets/pull/5741 | [] | false | 2023-04-13T09:48:10Z | 2023-04-13T09:40:50Z | null | [
"_The documentation is not available anymore as the PR was closed or merged._",
"<details>\n<summary>Show benchmarks</summary>\n\nPyArrow==8.0.0\n\n<details>\n<summary>Show updated benchmarks!</summary>\n\n### Benchmark: benchmark_array_xd.json\n\n| metric | read_batch_formatted_as_numpy after write_array2d | rea... | null | [] | Fix CI warnings | MEMBER | https://api.github.com/repos/huggingface/datasets/issues/5741/timeline | Fix warnings in our CI tests. | https://api.github.com/repos/huggingface/datasets | {
"diff_url": "https://github.com/huggingface/datasets/pull/5741.diff",
"html_url": "https://github.com/huggingface/datasets/pull/5741",
"merged_at": "2023-04-13T09:40:50Z",
"patch_url": "https://github.com/huggingface/datasets/pull/5741.patch",
"url": "https://api.github.com/repos/huggingface/datasets/pulls/... | 1,665,860,919 | https://api.github.com/repos/huggingface/datasets/issues/5741/comments | PR_kwDODunzps5OM9nZ | null | 5,741 | https://api.github.com/repos/huggingface/datasets/issues/5741/events | true |
closed | 2023-04-12T08:52:35Z | null | https://api.github.com/repos/huggingface/datasets/issues/5740 | null | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/huggingface/datasets/issues/5740/reactions"
} | false | https://api.github.com/repos/huggingface/datasets/issues/5740/labels{/name} | {
"avatar_url": "https://avatars.githubusercontent.com/u/8515462?v=4",
"events_url": "https://api.github.com/users/albertvillanova/events{/privacy}",
"followers_url": "https://api.github.com/users/albertvillanova/followers",
"following_url": "https://api.github.com/users/albertvillanova/following{/other_user}",... | https://github.com/huggingface/datasets/pull/5740 | [] | false | 2023-04-13T11:01:24Z | 2023-04-13T10:54:13Z | null | [
"<details>\n<summary>Show benchmarks</summary>\n\nPyArrow==8.0.0\n\n<details>\n<summary>Show updated benchmarks!</summary>\n\n### Benchmark: benchmark_array_xd.json\n\n| metric | read_batch_formatted_as_numpy after write_array2d | read_batch_formatted_as_numpy after write_flattened_sequence | read_batch_formatted_a... | null | [] | Fix CI mock filesystem fixtures | MEMBER | https://api.github.com/repos/huggingface/datasets/issues/5740/timeline | This PR fixes the fixtures of our CI mock filesystems.
Before, we had to pass `clobber=True` to `fsspec.register_implementation` to overwrite the still present previously added "mock" filesystem. That meant that the mock filesystem fixture was not working properly, because the previously added "mock" filesystem, sho... | https://api.github.com/repos/huggingface/datasets | {
"diff_url": "https://github.com/huggingface/datasets/pull/5740.diff",
"html_url": "https://github.com/huggingface/datasets/pull/5740",
"merged_at": "2023-04-13T10:54:13Z",
"patch_url": "https://github.com/huggingface/datasets/pull/5740.patch",
"url": "https://api.github.com/repos/huggingface/datasets/pulls/... | 1,664,132,130 | https://api.github.com/repos/huggingface/datasets/issues/5740/comments | PR_kwDODunzps5OHI08 | null | 5,740 | https://api.github.com/repos/huggingface/datasets/issues/5740/events | true |
open | 2023-04-12T04:51:35Z | null | https://api.github.com/repos/huggingface/datasets/issues/5739 | null | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/huggingface/datasets/issues/5739/reactions"
} | null | https://api.github.com/repos/huggingface/datasets/issues/5739/labels{/name} | {
"avatar_url": "https://avatars.githubusercontent.com/u/1772912?v=4",
"events_url": "https://api.github.com/users/ericxsun/events{/privacy}",
"followers_url": "https://api.github.com/users/ericxsun/followers",
"following_url": "https://api.github.com/users/ericxsun/following{/other_user}",
"gists_url": "http... | https://github.com/huggingface/datasets/issues/5739 | [] | false | 2023-04-21T14:20:59Z | null | null | [
"Same problem.",
"hi! \r\nI think you can run python from `/data/train/raw/` directory and load dataset as `load_dataset(\"code_contests\")` to mitigate this issue as a workaround. \r\n@ericxsun Do you want to open a PR to fix the regex? As you already found the solution :) ",
"> hi! I think you can run python ... | null | [] | weird result during dataset split when data path starts with `/data` | NONE | https://api.github.com/repos/huggingface/datasets/issues/5739/timeline | ### Describe the bug
The regex defined here https://github.com/huggingface/datasets/blob/f2607935c4e45c70c44fcb698db0363ca7ba83d4/src/datasets/utils/py_utils.py#L158
will cause a weird result during dataset split when data path starts with `/data`
### Steps to reproduce the bug
1. clone dataset into local path
... | https://api.github.com/repos/huggingface/datasets | null | 1,663,762,901 | https://api.github.com/repos/huggingface/datasets/issues/5739/comments | I_kwDODunzps5jKwHV | null | 5,739 | https://api.github.com/repos/huggingface/datasets/issues/5739/events | false |
closed | 2023-04-12T01:07:46Z | null | https://api.github.com/repos/huggingface/datasets/issues/5738 | null | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/huggingface/datasets/issues/5738/reactions"
} | null | https://api.github.com/repos/huggingface/datasets/issues/5738/labels{/name} | {
"avatar_url": "https://avatars.githubusercontent.com/u/41713505?v=4",
"events_url": "https://api.github.com/users/Tylersuard/events{/privacy}",
"followers_url": "https://api.github.com/users/Tylersuard/followers",
"following_url": "https://api.github.com/users/Tylersuard/following{/other_user}",
"gists_url"... | https://github.com/huggingface/datasets/issues/5738 | [] | false | 2023-04-19T12:08:27Z | 2023-04-19T12:08:27Z | null | [
"You need to provide a text file as `data_files`, not as a configuration:\r\n\r\n```python\r\nmy_dataset = load_dataset(\"text\", data_files=\"TextFile.txt\")\r\n```\r\n\r\nOtherwise, since `data_files` is `None`, it picks up Colab's sample datasets from the `content` dir."
] | completed | [] | load_dataset("text","dataset.txt") loads the wrong dataset! | NONE | https://api.github.com/repos/huggingface/datasets/issues/5738/timeline | ### Describe the bug
I am trying to load my own custom text dataset using the load_dataset function. My dataset is a bunch of ordered text, think along the lines of shakespeare plays. However, after I load the dataset and I inspect it, the dataset is a table with a bunch of latitude and longitude values! What in th... | https://api.github.com/repos/huggingface/datasets | null | 1,663,477,690 | https://api.github.com/repos/huggingface/datasets/issues/5738/comments | I_kwDODunzps5jJqe6 | null | 5,738 | https://api.github.com/repos/huggingface/datasets/issues/5738/events | false |
closed | 2023-04-11T17:14:13Z | null | https://api.github.com/repos/huggingface/datasets/issues/5737 | null | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/huggingface/datasets/issues/5737/reactions"
} | null | https://api.github.com/repos/huggingface/datasets/issues/5737/labels{/name} | {
"avatar_url": "https://avatars.githubusercontent.com/u/10896776?v=4",
"events_url": "https://api.github.com/users/mrcaelumn/events{/privacy}",
"followers_url": "https://api.github.com/users/mrcaelumn/followers",
"following_url": "https://api.github.com/users/mrcaelumn/following{/other_user}",
"gists_url": "... | https://github.com/huggingface/datasets/issues/5737 | [] | false | 2023-04-13T16:49:57Z | 2023-04-13T16:49:57Z | null | [
"Hi, you can use the `cast_column` function to change the feature type from a `Value(int64)` to `ClassLabel`:\r\n\r\n```py\r\ndataset = dataset.cast_column(\"label\", ClassLabel(names=[\"label_1\", \"label_2\", \"label_3\"]))\r\nprint(dataset.features)\r\n{'text': Value(dtype='string', id=None),\r\n 'label': ClassL... | completed | [] | ClassLabel Error | NONE | https://api.github.com/repos/huggingface/datasets/issues/5737/timeline | ### Describe the bug
I still getting the error "call() takes 1 positional argument but 2 were given" even after ensuring that the value being passed to the label object is a single value and that the ClassLabel object has been created with the correct number of label classes
### Steps to reproduce the bug
from... | https://api.github.com/repos/huggingface/datasets | null | 1,662,919,811 | https://api.github.com/repos/huggingface/datasets/issues/5737/comments | I_kwDODunzps5jHiSD | null | 5,737 | https://api.github.com/repos/huggingface/datasets/issues/5737/events | false |
open | 2023-04-11T11:29:15Z | null | https://api.github.com/repos/huggingface/datasets/issues/5736 | null | {
"+1": 3,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 3,
"url": "https://api.github.com/repos/huggingface/datasets/issues/5736/reactions"
} | null | https://api.github.com/repos/huggingface/datasets/issues/5736/labels{/name} | {
"avatar_url": "https://avatars.githubusercontent.com/u/1219084?v=4",
"events_url": "https://api.github.com/users/rcasero/events{/privacy}",
"followers_url": "https://api.github.com/users/rcasero/followers",
"following_url": "https://api.github.com/users/rcasero/following{/other_user}",
"gists_url": "https:/... | https://github.com/huggingface/datasets/issues/5736 | [] | false | 2023-11-30T07:16:58Z | null | null | [
"Hi ! I couldn't reproduce your issue :/\r\n\r\nIt seems that `shutil.rmtree` failed. It is supposed to work even if the directory is not empty, but you still end up with `OSError: [Errno 39] Directory not empty:`. Can you make sure another process is not using this directory at the same time ?",
"I have the same... | null | [] | FORCE_REDOWNLOAD raises "Directory not empty" exception on second run | NONE | https://api.github.com/repos/huggingface/datasets/issues/5736/timeline | ### Describe the bug
Running `load_dataset(..., download_mode=datasets.DownloadMode.FORCE_REDOWNLOAD)` twice raises a `Directory not empty` exception on the second run.
### Steps to reproduce the bug
I cannot test this on datasets v2.11.0 due to #5711, but this happens in v2.10.1.
1. Set up a script `my_dataset.p... | https://api.github.com/repos/huggingface/datasets | null | 1,662,286,061 | https://api.github.com/repos/huggingface/datasets/issues/5736/comments | I_kwDODunzps5jFHjt | null | 5,736 | https://api.github.com/repos/huggingface/datasets/issues/5736/events | false |
closed | 2023-04-11T10:02:25Z | null | https://api.github.com/repos/huggingface/datasets/issues/5735 | null | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/huggingface/datasets/issues/5735/reactions"
} | false | https://api.github.com/repos/huggingface/datasets/issues/5735/labels{/name} | {
"avatar_url": "https://avatars.githubusercontent.com/u/48770768?v=4",
"events_url": "https://api.github.com/users/Hubert-Bonisseur/events{/privacy}",
"followers_url": "https://api.github.com/users/Hubert-Bonisseur/followers",
"following_url": "https://api.github.com/users/Hubert-Bonisseur/following{/other_use... | https://github.com/huggingface/datasets/pull/5735 | [] | false | 2023-04-27T16:39:04Z | 2023-04-27T16:32:09Z | null | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Hi ! What if one of the sub-iterables only has one shard ? In that case I don't think we'd end up with a correctly interleaved dataset, since only rank 0 would yield examples from this sub-iterable",
"Hi ! \r\nI just tested this ou... | null | [] | Implement sharding on merged iterable datasets | CONTRIBUTOR | https://api.github.com/repos/huggingface/datasets/issues/5735/timeline | This PR allows sharding of merged iterable datasets.
Merged iterable datasets with for instance the `interleave_datasets` command are comprised of multiple sub-iterable, one for each dataset that has been merged.
With this PR, sharding a merged iterable will result in multiple merged datasets each comprised of sh... | https://api.github.com/repos/huggingface/datasets | {
"diff_url": "https://github.com/huggingface/datasets/pull/5735.diff",
"html_url": "https://github.com/huggingface/datasets/pull/5735",
"merged_at": "2023-04-27T16:32:09Z",
"patch_url": "https://github.com/huggingface/datasets/pull/5735.patch",
"url": "https://api.github.com/repos/huggingface/datasets/pulls/... | 1,662,150,903 | https://api.github.com/repos/huggingface/datasets/issues/5735/comments | PR_kwDODunzps5OAY3A | null | 5,735 | https://api.github.com/repos/huggingface/datasets/issues/5735/events | true |
closed | 2023-04-11T09:04:17Z | null | https://api.github.com/repos/huggingface/datasets/issues/5734 | {
"avatar_url": "https://avatars.githubusercontent.com/u/8515462?v=4",
"events_url": "https://api.github.com/users/albertvillanova/events{/privacy}",
"followers_url": "https://api.github.com/users/albertvillanova/followers",
"following_url": "https://api.github.com/users/albertvillanova/following{/other_user}",... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/huggingface/datasets/issues/5734/reactions"
} | null | https://api.github.com/repos/huggingface/datasets/issues/5734/labels{/name} | {
"avatar_url": "https://avatars.githubusercontent.com/u/8515462?v=4",
"events_url": "https://api.github.com/users/albertvillanova/events{/privacy}",
"followers_url": "https://api.github.com/users/albertvillanova/followers",
"following_url": "https://api.github.com/users/albertvillanova/following{/other_user}",... | https://github.com/huggingface/datasets/issues/5734 | [
{
"avatar_url": "https://avatars.githubusercontent.com/u/8515462?v=4",
"events_url": "https://api.github.com/users/albertvillanova/events{/privacy}",
"followers_url": "https://api.github.com/users/albertvillanova/followers",
"following_url": "https://api.github.com/users/albertvillanova/following{/o... | false | 2023-04-11T11:04:52Z | 2023-04-11T11:04:52Z | null | [] | completed | [
{
"color": "d73a4a",
"default": true,
"description": "Something isn't working",
"id": 1935892857,
"name": "bug",
"node_id": "MDU6TGFiZWwxOTM1ODkyODU3",
"url": "https://api.github.com/repos/huggingface/datasets/labels/bug"
}
] | Remove temporary pin of fsspec | MEMBER | https://api.github.com/repos/huggingface/datasets/issues/5734/timeline | Once root cause is found and fixed, remove the temporary pin introduced by:
- #5731 | https://api.github.com/repos/huggingface/datasets | null | 1,662,058,028 | https://api.github.com/repos/huggingface/datasets/issues/5734/comments | I_kwDODunzps5jEP4s | null | 5,734 | https://api.github.com/repos/huggingface/datasets/issues/5734/events | false |
closed | 2023-04-11T08:52:12Z | null | https://api.github.com/repos/huggingface/datasets/issues/5733 | null | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/huggingface/datasets/issues/5733/reactions"
} | false | https://api.github.com/repos/huggingface/datasets/issues/5733/labels{/name} | {
"avatar_url": "https://avatars.githubusercontent.com/u/8515462?v=4",
"events_url": "https://api.github.com/users/albertvillanova/events{/privacy}",
"followers_url": "https://api.github.com/users/albertvillanova/followers",
"following_url": "https://api.github.com/users/albertvillanova/following{/other_user}",... | https://github.com/huggingface/datasets/pull/5733 | [] | false | 2023-04-11T11:11:45Z | 2023-04-11T11:04:51Z | null | [
"_The documentation is not available anymore as the PR was closed or merged._",
"<details>\n<summary>Show benchmarks</summary>\n\nPyArrow==8.0.0\n\n<details>\n<summary>Show updated benchmarks!</summary>\n\n### Benchmark: benchmark_array_xd.json\n\n| metric | read_batch_formatted_as_numpy after write_array2d | rea... | null | [] | Unpin fsspec | MEMBER | https://api.github.com/repos/huggingface/datasets/issues/5733/timeline | In `fsspec--2023.4.0` default value for clobber when registering an implementation was changed from True to False. See:
- https://github.com/fsspec/filesystem_spec/pull/1237
This PR recovers previous behavior by passing clobber True when registering mock implementations.
This PR also removes the temporary pin in... | https://api.github.com/repos/huggingface/datasets | {
"diff_url": "https://github.com/huggingface/datasets/pull/5733.diff",
"html_url": "https://github.com/huggingface/datasets/pull/5733",
"merged_at": "2023-04-11T11:04:51Z",
"patch_url": "https://github.com/huggingface/datasets/pull/5733.patch",
"url": "https://api.github.com/repos/huggingface/datasets/pulls/... | 1,662,039,191 | https://api.github.com/repos/huggingface/datasets/issues/5733/comments | PR_kwDODunzps5OAA04 | null | 5,733 | https://api.github.com/repos/huggingface/datasets/issues/5733/events | true |
closed | 2023-04-11T08:38:53Z | null | https://api.github.com/repos/huggingface/datasets/issues/5732 | {
"avatar_url": "https://avatars.githubusercontent.com/u/10287371?v=4",
"events_url": "https://api.github.com/users/lucaslingle/events{/privacy}",
"followers_url": "https://api.github.com/users/lucaslingle/followers",
"following_url": "https://api.github.com/users/lucaslingle/following{/other_user}",
"gists_u... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/huggingface/datasets/issues/5732/reactions"
} | null | https://api.github.com/repos/huggingface/datasets/issues/5732/labels{/name} | {
"avatar_url": "https://avatars.githubusercontent.com/u/10287371?v=4",
"events_url": "https://api.github.com/users/lucaslingle/events{/privacy}",
"followers_url": "https://api.github.com/users/lucaslingle/followers",
"following_url": "https://api.github.com/users/lucaslingle/following{/other_user}",
"gists_u... | https://github.com/huggingface/datasets/issues/5732 | [
{
"avatar_url": "https://avatars.githubusercontent.com/u/10287371?v=4",
"events_url": "https://api.github.com/users/lucaslingle/events{/privacy}",
"followers_url": "https://api.github.com/users/lucaslingle/followers",
"following_url": "https://api.github.com/users/lucaslingle/following{/other_user}"... | false | 2023-04-11T09:28:17Z | 2023-04-11T09:28:16Z | null | [
"#self-assign",
"The Enwik8 pipeline is not present in this codebase, and is hosted elsewhere. I have opened a PR [there](https://huggingface.co/datasets/enwik8/discussions/4) instead. "
] | completed | [
{
"color": "a2eeef",
"default": true,
"description": "New feature or request",
"id": 1935892871,
"name": "enhancement",
"node_id": "MDU6TGFiZWwxOTM1ODkyODcx",
"url": "https://api.github.com/repos/huggingface/datasets/labels/enhancement"
}
] | Enwik8 should support the standard split | NONE | https://api.github.com/repos/huggingface/datasets/issues/5732/timeline | ### Feature request
The HuggingFace Datasets library currently supports two BuilderConfigs for Enwik8. One config yields individual lines as examples, while the other config yields the entire dataset as a single example. Both support only a monolithic split: it is all grouped as "train".
The HuggingFace Datasets l... | https://api.github.com/repos/huggingface/datasets | null | 1,662,020,571 | https://api.github.com/repos/huggingface/datasets/issues/5732/comments | I_kwDODunzps5jEGvb | null | 5,732 | https://api.github.com/repos/huggingface/datasets/issues/5732/events | false |
closed | 2023-04-11T08:33:15Z | null | https://api.github.com/repos/huggingface/datasets/issues/5731 | null | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/huggingface/datasets/issues/5731/reactions"
} | false | https://api.github.com/repos/huggingface/datasets/issues/5731/labels{/name} | {
"avatar_url": "https://avatars.githubusercontent.com/u/8515462?v=4",
"events_url": "https://api.github.com/users/albertvillanova/events{/privacy}",
"followers_url": "https://api.github.com/users/albertvillanova/followers",
"following_url": "https://api.github.com/users/albertvillanova/following{/other_user}",... | https://github.com/huggingface/datasets/pull/5731 | [] | false | 2023-04-11T08:57:45Z | 2023-04-11T08:47:55Z | null | [
"_The documentation is not available anymore as the PR was closed or merged._",
"<details>\n<summary>Show benchmarks</summary>\n\nPyArrow==8.0.0\n\n<details>\n<summary>Show updated benchmarks!</summary>\n\n### Benchmark: benchmark_array_xd.json\n\n| metric | read_batch_formatted_as_numpy after write_array2d | rea... | null | [] | Temporarily pin fsspec | MEMBER | https://api.github.com/repos/huggingface/datasets/issues/5731/timeline | Fix #5730. | https://api.github.com/repos/huggingface/datasets | {
"diff_url": "https://github.com/huggingface/datasets/pull/5731.diff",
"html_url": "https://github.com/huggingface/datasets/pull/5731",
"merged_at": "2023-04-11T08:47:55Z",
"patch_url": "https://github.com/huggingface/datasets/pull/5731.patch",
"url": "https://api.github.com/repos/huggingface/datasets/pulls/... | 1,662,012,913 | https://api.github.com/repos/huggingface/datasets/issues/5731/comments | PR_kwDODunzps5N_7Un | null | 5,731 | https://api.github.com/repos/huggingface/datasets/issues/5731/events | true |
closed | 2023-04-11T08:29:46Z | null | https://api.github.com/repos/huggingface/datasets/issues/5730 | {
"avatar_url": "https://avatars.githubusercontent.com/u/8515462?v=4",
"events_url": "https://api.github.com/users/albertvillanova/events{/privacy}",
"followers_url": "https://api.github.com/users/albertvillanova/followers",
"following_url": "https://api.github.com/users/albertvillanova/following{/other_user}",... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/huggingface/datasets/issues/5730/reactions"
} | null | https://api.github.com/repos/huggingface/datasets/issues/5730/labels{/name} | {
"avatar_url": "https://avatars.githubusercontent.com/u/8515462?v=4",
"events_url": "https://api.github.com/users/albertvillanova/events{/privacy}",
"followers_url": "https://api.github.com/users/albertvillanova/followers",
"following_url": "https://api.github.com/users/albertvillanova/following{/other_user}",... | https://github.com/huggingface/datasets/issues/5730 | [
{
"avatar_url": "https://avatars.githubusercontent.com/u/8515462?v=4",
"events_url": "https://api.github.com/users/albertvillanova/events{/privacy}",
"followers_url": "https://api.github.com/users/albertvillanova/followers",
"following_url": "https://api.github.com/users/albertvillanova/following{/o... | false | 2023-04-11T08:47:56Z | 2023-04-11T08:47:56Z | null | [] | completed | [
{
"color": "d73a4a",
"default": true,
"description": "Something isn't working",
"id": 1935892857,
"name": "bug",
"node_id": "MDU6TGFiZWwxOTM1ODkyODU3",
"url": "https://api.github.com/repos/huggingface/datasets/labels/bug"
}
] | CI is broken: ValueError: Name (mock) already in the registry and clobber is False | MEMBER | https://api.github.com/repos/huggingface/datasets/issues/5730/timeline | CI is broken for `test_py310`.
See: https://github.com/huggingface/datasets/actions/runs/4665326892/jobs/8258580948
```
=========================== short test summary info ============================
ERROR tests/test_builder.py::test_builder_with_filesystem_download_and_prepare - ValueError: Name (mock) already ... | https://api.github.com/repos/huggingface/datasets | null | 1,662,007,926 | https://api.github.com/repos/huggingface/datasets/issues/5730/comments | I_kwDODunzps5jEDp2 | null | 5,730 | https://api.github.com/repos/huggingface/datasets/issues/5730/events | false |
closed | 2023-04-11T07:34:20Z | null | https://api.github.com/repos/huggingface/datasets/issues/5729 | null | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/huggingface/datasets/issues/5729/reactions"
} | false | https://api.github.com/repos/huggingface/datasets/issues/5729/labels{/name} | {
"avatar_url": "https://avatars.githubusercontent.com/u/8515462?v=4",
"events_url": "https://api.github.com/users/albertvillanova/events{/privacy}",
"followers_url": "https://api.github.com/users/albertvillanova/followers",
"following_url": "https://api.github.com/users/albertvillanova/following{/other_user}",... | https://github.com/huggingface/datasets/pull/5729 | [] | false | 2023-04-26T15:12:25Z | 2023-04-26T15:05:12Z | null | [
"_The documentation is not available anymore as the PR was closed or merged._",
"The error in the CI was unrelated to this PR. I have merged main branch once that has been fixed.",
"<details>\n<summary>Show benchmarks</summary>\n\nPyArrow==8.0.0\n\n<details>\n<summary>Show updated benchmarks!</summary>\n\n### B... | null | [] | Fix nondeterministic sharded data split order | MEMBER | https://api.github.com/repos/huggingface/datasets/issues/5729/timeline | This PR makes the order of the split names deterministic. Before it was nondeterministic because we were iterating over `set` elements.
Fix #5728. | https://api.github.com/repos/huggingface/datasets | {
"diff_url": "https://github.com/huggingface/datasets/pull/5729.diff",
"html_url": "https://github.com/huggingface/datasets/pull/5729",
"merged_at": "2023-04-26T15:05:12Z",
"patch_url": "https://github.com/huggingface/datasets/pull/5729.patch",
"url": "https://api.github.com/repos/huggingface/datasets/pulls/... | 1,661,929,923 | https://api.github.com/repos/huggingface/datasets/issues/5729/comments | PR_kwDODunzps5N_pvI | null | 5,729 | https://api.github.com/repos/huggingface/datasets/issues/5729/events | true |
closed | 2023-04-11T07:31:25Z | null | https://api.github.com/repos/huggingface/datasets/issues/5728 | {
"avatar_url": "https://avatars.githubusercontent.com/u/8515462?v=4",
"events_url": "https://api.github.com/users/albertvillanova/events{/privacy}",
"followers_url": "https://api.github.com/users/albertvillanova/followers",
"following_url": "https://api.github.com/users/albertvillanova/following{/other_user}",... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/huggingface/datasets/issues/5728/reactions"
} | null | https://api.github.com/repos/huggingface/datasets/issues/5728/labels{/name} | {
"avatar_url": "https://avatars.githubusercontent.com/u/8515462?v=4",
"events_url": "https://api.github.com/users/albertvillanova/events{/privacy}",
"followers_url": "https://api.github.com/users/albertvillanova/followers",
"following_url": "https://api.github.com/users/albertvillanova/following{/other_user}",... | https://github.com/huggingface/datasets/issues/5728 | [
{
"avatar_url": "https://avatars.githubusercontent.com/u/8515462?v=4",
"events_url": "https://api.github.com/users/albertvillanova/events{/privacy}",
"followers_url": "https://api.github.com/users/albertvillanova/followers",
"following_url": "https://api.github.com/users/albertvillanova/following{/o... | false | 2023-04-26T15:05:13Z | 2023-04-26T15:05:13Z | null | [] | completed | [
{
"color": "d73a4a",
"default": true,
"description": "Something isn't working",
"id": 1935892857,
"name": "bug",
"node_id": "MDU6TGFiZWwxOTM1ODkyODU3",
"url": "https://api.github.com/repos/huggingface/datasets/labels/bug"
}
] | The order of data split names is nondeterministic | MEMBER | https://api.github.com/repos/huggingface/datasets/issues/5728/timeline | After this CI error: https://github.com/huggingface/datasets/actions/runs/4639528358/jobs/8210492953?pr=5718
```
FAILED tests/test_data_files.py::test_get_data_files_patterns[data_file_per_split4] - AssertionError: assert ['random', 'train'] == ['train', 'random']
At index 0 diff: 'random' != 'train'
Full diff:... | https://api.github.com/repos/huggingface/datasets | null | 1,661,925,932 | https://api.github.com/repos/huggingface/datasets/issues/5728/comments | I_kwDODunzps5jDvos | null | 5,728 | https://api.github.com/repos/huggingface/datasets/issues/5728/events | false |
closed | 2023-04-10T23:21:12Z | null | https://api.github.com/repos/huggingface/datasets/issues/5727 | null | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/huggingface/datasets/issues/5727/reactions"
} | null | https://api.github.com/repos/huggingface/datasets/issues/5727/labels{/name} | {
"avatar_url": "https://avatars.githubusercontent.com/u/122648572?v=4",
"events_url": "https://api.github.com/users/joelkowalewski/events{/privacy}",
"followers_url": "https://api.github.com/users/joelkowalewski/followers",
"following_url": "https://api.github.com/users/joelkowalewski/following{/other_user}",
... | https://github.com/huggingface/datasets/issues/5727 | [] | false | 2023-07-21T14:08:20Z | 2023-07-21T14:08:19Z | null | [
"Hi! Can you please paste the entire error stack trace, not only the last few lines?",
"`----> 1 dataset = datasets.load_dataset(\"glue\", \"ax\")\r\n\r\nFile ~\\anaconda3\\envs\\huggingface\\Lib\\site-packages\\datasets\\load.py:1767, in load_dataset(path, name, data_dir, data_files, split, cache_dir, features, ... | completed | [] | load_dataset fails with FileNotFound error on Windows | NONE | https://api.github.com/repos/huggingface/datasets/issues/5727/timeline | ### Describe the bug
Although I can import and run the datasets library in a Colab environment, I cannot successfully load any data on my own machine (Windows 10) despite following the install steps:
(1) create conda environment
(2) activate environment
(3) install with: ``conda` install -c huggingface -c conda-... | https://api.github.com/repos/huggingface/datasets | null | 1,661,536,363 | https://api.github.com/repos/huggingface/datasets/issues/5727/comments | I_kwDODunzps5jCQhr | null | 5,727 | https://api.github.com/repos/huggingface/datasets/issues/5727/events | false |
closed | 2023-04-10T15:22:14Z | null | https://api.github.com/repos/huggingface/datasets/issues/5726 | {
"avatar_url": "https://avatars.githubusercontent.com/u/8515462?v=4",
"events_url": "https://api.github.com/users/albertvillanova/events{/privacy}",
"followers_url": "https://api.github.com/users/albertvillanova/followers",
"following_url": "https://api.github.com/users/albertvillanova/following{/other_user}",... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/huggingface/datasets/issues/5726/reactions"
} | null | https://api.github.com/repos/huggingface/datasets/issues/5726/labels{/name} | {
"avatar_url": "https://avatars.githubusercontent.com/u/3610788?v=4",
"events_url": "https://api.github.com/users/myluki2000/events{/privacy}",
"followers_url": "https://api.github.com/users/myluki2000/followers",
"following_url": "https://api.github.com/users/myluki2000/following{/other_user}",
"gists_url":... | https://github.com/huggingface/datasets/issues/5726 | [
{
"avatar_url": "https://avatars.githubusercontent.com/u/8515462?v=4",
"events_url": "https://api.github.com/users/albertvillanova/events{/privacy}",
"followers_url": "https://api.github.com/users/albertvillanova/followers",
"following_url": "https://api.github.com/users/albertvillanova/following{/o... | false | 2023-04-21T06:35:28Z | 2023-04-21T06:35:28Z | null | [
"Thanks for reporting, @myluki2000.\r\n\r\nI am working on a fix."
] | completed | [] | Fallback JSON Dataset loading does not load all values when features specified manually | NONE | https://api.github.com/repos/huggingface/datasets/issues/5726/timeline | ### Describe the bug
The fallback JSON dataset loader located here:
https://github.com/huggingface/datasets/blob/1c4ec00511868bd881e84a6f7e0333648d833b8e/src/datasets/packaged_modules/json/json.py#L130-L153
does not load the values of features correctly when features are specified manually and not all features... | https://api.github.com/repos/huggingface/datasets | null | 1,660,944,807 | https://api.github.com/repos/huggingface/datasets/issues/5726/comments | I_kwDODunzps5jAAGn | null | 5,726 | https://api.github.com/repos/huggingface/datasets/issues/5726/events | false |
closed | 2023-04-10T08:41:43Z | null | https://api.github.com/repos/huggingface/datasets/issues/5725 | null | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/huggingface/datasets/issues/5725/reactions"
} | null | https://api.github.com/repos/huggingface/datasets/issues/5725/labels{/name} | {
"avatar_url": "https://avatars.githubusercontent.com/u/845175?v=4",
"events_url": "https://api.github.com/users/ndvbd/events{/privacy}",
"followers_url": "https://api.github.com/users/ndvbd/followers",
"following_url": "https://api.github.com/users/ndvbd/following{/other_user}",
"gists_url": "https://api.gi... | https://github.com/huggingface/datasets/issues/5725 | [] | false | 2023-04-21T06:16:24Z | 2023-04-21T06:16:24Z | null | [
"Hi! You can use the `nrows` parameter for this:\r\n```python\r\ndata = load_dataset(\"json\", data_files=data_path, nrows=10)\r\n```",
"@mariosasko I get:\r\n\r\n`TypeError: __init__() got an unexpected keyword argument 'nrows'`",
"I misread the format in which the dataset is stored - the `nrows` parameter wo... | completed | [] | How to limit the number of examples in dataset, for testing? | NONE | https://api.github.com/repos/huggingface/datasets/issues/5725/timeline | ### Describe the bug
I am using this command:
`data = load_dataset("json", data_files=data_path)`
However, I want to add a parameter, to limit the number of loaded examples to be 10, for development purposes, but can't find this simple parameter.
### Steps to reproduce the bug
In the description.
### Expected beh... | https://api.github.com/repos/huggingface/datasets | null | 1,660,455,202 | https://api.github.com/repos/huggingface/datasets/issues/5725/comments | I_kwDODunzps5i-Iki | null | 5,725 | https://api.github.com/repos/huggingface/datasets/issues/5725/events | false |
closed | 2023-04-09T16:58:44Z | null | https://api.github.com/repos/huggingface/datasets/issues/5724 | null | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/huggingface/datasets/issues/5724/reactions"
} | null | https://api.github.com/repos/huggingface/datasets/issues/5724/labels{/name} | {
"avatar_url": "https://avatars.githubusercontent.com/u/41177966?v=4",
"events_url": "https://api.github.com/users/szxiangjn/events{/privacy}",
"followers_url": "https://api.github.com/users/szxiangjn/followers",
"following_url": "https://api.github.com/users/szxiangjn/following{/other_user}",
"gists_url": "... | https://github.com/huggingface/datasets/issues/5724 | [] | false | 2023-04-20T20:37:30Z | 2023-04-20T20:37:30Z | null | [
"Moving `\"en\"` to the end of the path instead of passing it as a config name should fix the error:\r\n```python\r\nimport datasets\r\ndataset = datasets.load_dataset('/path/to/your/data/dir/en', streaming=True, split='train')\r\ndataset = dataset.shuffle(buffer_size=10_000, seed=42)\r\nnext(iter(dataset))\r\n```\... | completed | [] | Error after shuffling streaming IterableDatasets with downloaded dataset | NONE | https://api.github.com/repos/huggingface/datasets/issues/5724/timeline | ### Describe the bug
I downloaded the C4 dataset, and used streaming IterableDatasets to read it. Everything went normal until I used `dataset = dataset.shuffle(seed=42, buffer_size=10_000)` to shuffle the dataset. Shuffled dataset will throw the following error when it is used by `next(iter(dataset))`:
```
File "/d... | https://api.github.com/repos/huggingface/datasets | null | 1,659,938,135 | https://api.github.com/repos/huggingface/datasets/issues/5724/comments | I_kwDODunzps5i8KVX | null | 5,724 | https://api.github.com/repos/huggingface/datasets/issues/5724/events | false |
closed | 2023-04-09T11:04:59Z | null | https://api.github.com/repos/huggingface/datasets/issues/5722 | null | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/huggingface/datasets/issues/5722/reactions"
} | null | https://api.github.com/repos/huggingface/datasets/issues/5722/labels{/name} | {
"avatar_url": "https://avatars.githubusercontent.com/u/16603773?v=4",
"events_url": "https://api.github.com/users/wlhgtc/events{/privacy}",
"followers_url": "https://api.github.com/users/wlhgtc/followers",
"following_url": "https://api.github.com/users/wlhgtc/following{/other_user}",
"gists_url": "https://a... | https://github.com/huggingface/datasets/issues/5722 | [] | false | 2023-07-24T14:50:46Z | 2023-07-24T14:50:46Z | null | [
"Hmm the error doesn't seem related to data loading.\r\n\r\nRegarding `split_dataset_by_node`: it's generally used to split an iterable dataset (e.g. when streaming) in pytorch DDP. It's not needed if you use a regular dataset since the pytorch DataLoader already assigns a subset of the dataset indices to each node... | completed | [] | Distributed Training Error on Customized Dataset | NONE | https://api.github.com/repos/huggingface/datasets/issues/5722/timeline | Hi guys, recently I tried to use `datasets` to train a dual encoder.
I finish my own datasets according to the nice [tutorial](https://huggingface.co/docs/datasets/v2.11.0/en/dataset_script)
Here are my code:
```python
class RetrivalDataset(datasets.GeneratorBasedBuilder):
"""CrossEncoder dataset."""
B... | https://api.github.com/repos/huggingface/datasets | null | 1,659,837,510 | https://api.github.com/repos/huggingface/datasets/issues/5722/comments | I_kwDODunzps5i7xxG | null | 5,722 | https://api.github.com/repos/huggingface/datasets/issues/5722/events | false |
open | 2023-04-08T23:55:12Z | null | https://api.github.com/repos/huggingface/datasets/issues/5721 | null | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/huggingface/datasets/issues/5721/reactions"
} | null | https://api.github.com/repos/huggingface/datasets/issues/5721/labels{/name} | {
"avatar_url": "https://avatars.githubusercontent.com/u/1841186?v=4",
"events_url": "https://api.github.com/users/cyrilzakka/events{/privacy}",
"followers_url": "https://api.github.com/users/cyrilzakka/followers",
"following_url": "https://api.github.com/users/cyrilzakka/following{/other_user}",
"gists_url":... | https://github.com/huggingface/datasets/issues/5721 | [] | false | 2023-04-08T23:55:12Z | null | null | [] | null | [] | Calling datasets.load_dataset("text" ...) results in a wrong split. | NONE | https://api.github.com/repos/huggingface/datasets/issues/5721/timeline | ### Describe the bug
When creating a text dataset, the training split should have the bulk of the examples by default. Currently, testing does.
### Steps to reproduce the bug
I have a folder with 18K text files in it. Each text file essentially consists in a document or article scraped from online. Calling the follo... | https://api.github.com/repos/huggingface/datasets | null | 1,659,680,682 | https://api.github.com/repos/huggingface/datasets/issues/5721/comments | I_kwDODunzps5i7Leq | null | 5,721 | https://api.github.com/repos/huggingface/datasets/issues/5721/events | false |
open | 2023-04-08T18:45:48Z | null | https://api.github.com/repos/huggingface/datasets/issues/5720 | null | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/huggingface/datasets/issues/5720/reactions"
} | null | https://api.github.com/repos/huggingface/datasets/issues/5720/labels{/name} | {
"avatar_url": "https://avatars.githubusercontent.com/u/29244648?v=4",
"events_url": "https://api.github.com/users/jlehrer1/events{/privacy}",
"followers_url": "https://api.github.com/users/jlehrer1/followers",
"following_url": "https://api.github.com/users/jlehrer1/following{/other_user}",
"gists_url": "htt... | https://github.com/huggingface/datasets/issues/5720 | [] | false | 2023-05-27T12:57:08Z | null | null | [
"Edit: This behavior is true even without `.take/.set`",
"I'm experiencing the same problem that @jlehrer1. I was able to reproduce it with a very small example:\r\n\r\n```py\r\nfrom datasets import Dataset, load_dataset, load_dataset_builder\r\nfrom torch.utils.data import DataLoader\r\n\r\n\r\ndef my_gen():\r\n... | null | [] | Streaming IterableDatasets do not work with torch DataLoaders | NONE | https://api.github.com/repos/huggingface/datasets/issues/5720/timeline | ### Describe the bug
When using streaming datasets set up with train/val split using `.skip()` and `.take()`, the following error occurs when iterating over a torch dataloader:
```
File "/Users/julian/miniconda3/envs/sims/lib/python3.9/site-packages/torch/utils/data/dataloader.py", line 363, in __iter__
self.... | https://api.github.com/repos/huggingface/datasets | null | 1,659,610,705 | https://api.github.com/repos/huggingface/datasets/issues/5720/comments | I_kwDODunzps5i66ZR | null | 5,720 | https://api.github.com/repos/huggingface/datasets/issues/5720/events | false |
closed | 2023-04-07T21:04:08Z | null | https://api.github.com/repos/huggingface/datasets/issues/5719 | null | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/huggingface/datasets/issues/5719/reactions"
} | null | https://api.github.com/repos/huggingface/datasets/issues/5719/labels{/name} | {
"avatar_url": "https://avatars.githubusercontent.com/u/15215732?v=4",
"events_url": "https://api.github.com/users/off99555/events{/privacy}",
"followers_url": "https://api.github.com/users/off99555/followers",
"following_url": "https://api.github.com/users/off99555/following{/other_user}",
"gists_url": "htt... | https://github.com/huggingface/datasets/issues/5719 | [] | false | 2023-04-20T15:34:41Z | 2023-04-20T15:34:41Z | null | [
"Hi! \r\n\r\nYou need to set the format to `np` before indexing the dataset to get NumPy arrays:\r\n```python\r\nfeatures = Features(dict(seq=Array2D((2,2), 'float32'))) \r\nds = Dataset.from_dict(dict(seq=[np.random.rand(2,2)]), features=features)\r\nds.set_format(\"np\")\r\na = ds[0]['seq']\r\n```\r\n\r\n> I th... | completed | [] | Array2D feature creates a list of list instead of a numpy array | NONE | https://api.github.com/repos/huggingface/datasets/issues/5719/timeline | ### Describe the bug
I'm not sure if this is expected behavior or not. When I create a 2D array using `Array2D`, the data has list type instead of numpy array. I think it should not be the expected behavior especially when I feed a numpy array as input to the data creation function. Why is it converting my array int... | https://api.github.com/repos/huggingface/datasets | null | 1,659,203,222 | https://api.github.com/repos/huggingface/datasets/issues/5719/comments | I_kwDODunzps5i5W6W | null | 5,719 | https://api.github.com/repos/huggingface/datasets/issues/5719/events | false |
closed | 2023-04-07T16:01:26Z | null | https://api.github.com/repos/huggingface/datasets/issues/5718 | null | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/huggingface/datasets/issues/5718/reactions"
} | false | https://api.github.com/repos/huggingface/datasets/issues/5718/labels{/name} | {
"avatar_url": "https://avatars.githubusercontent.com/u/8515462?v=4",
"events_url": "https://api.github.com/users/albertvillanova/events{/privacy}",
"followers_url": "https://api.github.com/users/albertvillanova/followers",
"following_url": "https://api.github.com/users/albertvillanova/following{/other_user}",... | https://github.com/huggingface/datasets/pull/5718 | [] | false | 2023-04-27T14:43:13Z | 2023-04-27T14:35:52Z | null | [
"_The documentation is not available anymore as the PR was closed or merged._",
"After this CI error: https://github.com/huggingface/datasets/actions/runs/4639528358/jobs/8210492953?pr=5718\r\n```\r\nFAILED tests/test_data_files.py::test_get_data_files_patterns[data_file_per_split4] - AssertionError: assert ['ran... | null | [] | Reorder default data splits to have validation before test | MEMBER | https://api.github.com/repos/huggingface/datasets/issues/5718/timeline | This PR reorders data splits, so that by default validation appears before test.
The default order becomes: [train, validation, test] instead of [train, test, validation]. | https://api.github.com/repos/huggingface/datasets | {
"diff_url": "https://github.com/huggingface/datasets/pull/5718.diff",
"html_url": "https://github.com/huggingface/datasets/pull/5718",
"merged_at": "2023-04-27T14:35:52Z",
"patch_url": "https://github.com/huggingface/datasets/pull/5718.patch",
"url": "https://api.github.com/repos/huggingface/datasets/pulls/... | 1,658,958,406 | https://api.github.com/repos/huggingface/datasets/issues/5718/comments | PR_kwDODunzps5N2IZC | null | 5,718 | https://api.github.com/repos/huggingface/datasets/issues/5718/events | true |
open | 2023-04-07T11:59:17Z | null | https://api.github.com/repos/huggingface/datasets/issues/5717 | {
"avatar_url": "https://avatars.githubusercontent.com/u/47462742?v=4",
"events_url": "https://api.github.com/users/mariosasko/events{/privacy}",
"followers_url": "https://api.github.com/users/mariosasko/followers",
"following_url": "https://api.github.com/users/mariosasko/following{/other_user}",
"gists_url"... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/huggingface/datasets/issues/5717/reactions"
} | null | https://api.github.com/repos/huggingface/datasets/issues/5717/labels{/name} | {
"avatar_url": "https://avatars.githubusercontent.com/u/959590?v=4",
"events_url": "https://api.github.com/users/jplu/events{/privacy}",
"followers_url": "https://api.github.com/users/jplu/followers",
"following_url": "https://api.github.com/users/jplu/following{/other_user}",
"gists_url": "https://api.githu... | https://github.com/huggingface/datasets/issues/5717 | [
{
"avatar_url": "https://avatars.githubusercontent.com/u/47462742?v=4",
"events_url": "https://api.github.com/users/mariosasko/events{/privacy}",
"followers_url": "https://api.github.com/users/mariosasko/followers",
"following_url": "https://api.github.com/users/mariosasko/following{/other_user}",
... | false | 2023-11-08T11:08:18Z | null | null | [
"Looks like as long as the number of shards makes a batch lower than 1000 images it works. In my training set I have 40K images. If I use `num_shards=40` (batch of 1000 images) I get the error, but if I update it to `num_shards=50` (batch of 800 images) it works.\r\n\r\nI will be happy to share my dataset privately... | null | [] | Errror when saving to disk a dataset of images | CONTRIBUTOR | https://api.github.com/repos/huggingface/datasets/issues/5717/timeline | ### Describe the bug
Hello!
I have an issue when I try to save on disk my dataset of images. The error I get is:
```
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/home/jplu/miniconda3/envs/image-xp/lib/python3.10/site-packages/datasets/arrow_dataset.py", line 1442, in save_... | https://api.github.com/repos/huggingface/datasets | null | 1,658,729,866 | https://api.github.com/repos/huggingface/datasets/issues/5717/comments | I_kwDODunzps5i3jWK | null | 5,717 | https://api.github.com/repos/huggingface/datasets/issues/5717/events | false |
closed | 2023-04-07T09:51:40Z | null | https://api.github.com/repos/huggingface/datasets/issues/5716 | null | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/huggingface/datasets/issues/5716/reactions"
} | null | https://api.github.com/repos/huggingface/datasets/issues/5716/labels{/name} | {
"avatar_url": "https://avatars.githubusercontent.com/u/38179632?v=4",
"events_url": "https://api.github.com/users/v-yunbin/events{/privacy}",
"followers_url": "https://api.github.com/users/v-yunbin/followers",
"following_url": "https://api.github.com/users/v-yunbin/following{/other_user}",
"gists_url": "htt... | https://github.com/huggingface/datasets/issues/5716 | [] | false | 2023-09-27T17:47:08Z | 2023-09-27T17:47:08Z | null | [
"Hi! Can you share one of the problematic audio files with us?\r\n\r\nI tried to reproduce the error with the following code: \r\n```python\r\nimport soundfile as sf\r\nimport numpy as np\r\nfrom datasets import Audio\r\n\r\nsf.write(\"empty.wav\", np.array([]), 16000)\r\nAudio(sampling_rate=24000).decode_example(... | completed | [] | Handle empty audio | NONE | https://api.github.com/repos/huggingface/datasets/issues/5716/timeline | Some audio paths exist, but they are empty, and an error will be reported when reading the audio path.How to use the filter function to avoid the empty audio path?
when a audio is empty, when do resample , it will break:
`array, sampling_rate = sf.read(f) array = librosa.resample(array, orig_sr=sampling_rate, target_... | https://api.github.com/repos/huggingface/datasets | null | 1,658,613,092 | https://api.github.com/repos/huggingface/datasets/issues/5716/comments | I_kwDODunzps5i3G1k | null | 5,716 | https://api.github.com/repos/huggingface/datasets/issues/5716/events | false |
closed | 2023-04-06T13:57:48Z | null | https://api.github.com/repos/huggingface/datasets/issues/5715 | null | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/huggingface/datasets/issues/5715/reactions"
} | null | https://api.github.com/repos/huggingface/datasets/issues/5715/labels{/name} | {
"avatar_url": "https://avatars.githubusercontent.com/u/34066771?v=4",
"events_url": "https://api.github.com/users/jungbaepark/events{/privacy}",
"followers_url": "https://api.github.com/users/jungbaepark/followers",
"following_url": "https://api.github.com/users/jungbaepark/following{/other_user}",
"gists_u... | https://github.com/huggingface/datasets/issues/5715 | [] | false | 2023-04-20T17:16:26Z | 2023-04-20T17:16:26Z | null | [
"Hi! \r\n\r\nYou can use [`.set_format(\"np\")`](https://huggingface.co/docs/datasets/process#format) to get NumPy arrays (or Pytorch tensors with `.set_format(\"torch\")`) in `__getitem__`.\r\n\r\nAlso, have you been able to reproduce the linked PyTorch issue with a HF dataset?\r\n "
] | completed | [
{
"color": "a2eeef",
"default": true,
"description": "New feature or request",
"id": 1935892871,
"name": "enhancement",
"node_id": "MDU6TGFiZWwxOTM1ODkyODcx",
"url": "https://api.github.com/repos/huggingface/datasets/labels/enhancement"
}
] | Return Numpy Array (fixed length) Mode, in __get_item__, Instead of List | NONE | https://api.github.com/repos/huggingface/datasets/issues/5715/timeline | ### Feature request
There are old known issues, but they can be easily forgettable problems in multiprocessing with pytorch-dataloader:
Too high usage of RAM or shared-memory in pytorch when we set num workers > 1 and returning type of dataset or dataloader is "List" or "Dict".
https://github.com/pytorch/pytorch... | https://api.github.com/repos/huggingface/datasets | null | 1,657,479,788 | https://api.github.com/repos/huggingface/datasets/issues/5715/comments | I_kwDODunzps5iyyJs | null | 5,715 | https://api.github.com/repos/huggingface/datasets/issues/5715/events | false |
closed | 2023-04-06T13:01:45Z | null | https://api.github.com/repos/huggingface/datasets/issues/5714 | null | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/huggingface/datasets/issues/5714/reactions"
} | false | https://api.github.com/repos/huggingface/datasets/issues/5714/labels{/name} | {
"avatar_url": "https://avatars.githubusercontent.com/u/8515462?v=4",
"events_url": "https://api.github.com/users/albertvillanova/events{/privacy}",
"followers_url": "https://api.github.com/users/albertvillanova/followers",
"following_url": "https://api.github.com/users/albertvillanova/following{/other_user}",... | https://github.com/huggingface/datasets/pull/5714 | [] | false | 2023-04-07T09:23:54Z | 2023-04-07T09:16:57Z | null | [
"_The documentation is not available anymore as the PR was closed or merged._",
"<details>\n<summary>Show benchmarks</summary>\n\nPyArrow==8.0.0\n\n<details>\n<summary>Show updated benchmarks!</summary>\n\n### Benchmark: benchmark_array_xd.json\n\n| metric | read_batch_formatted_as_numpy after write_array2d | rea... | null | [] | Fix xnumpy_load for .npz files | MEMBER | https://api.github.com/repos/huggingface/datasets/issues/5714/timeline | PR:
- #5626
implemented support for streaming `.npy` files by using `numpy.load`.
However, it introduced a bug when used with `.npz` files, within a context manager:
```
ValueError: seek of closed file
```
or in streaming mode:
```
ValueError: I/O operation on closed file.
```
This PR fixes the bug an... | https://api.github.com/repos/huggingface/datasets | {
"diff_url": "https://github.com/huggingface/datasets/pull/5714.diff",
"html_url": "https://github.com/huggingface/datasets/pull/5714",
"merged_at": "2023-04-07T09:16:57Z",
"patch_url": "https://github.com/huggingface/datasets/pull/5714.patch",
"url": "https://api.github.com/repos/huggingface/datasets/pulls/... | 1,657,388,033 | https://api.github.com/repos/huggingface/datasets/issues/5714/comments | PR_kwDODunzps5NxIOc | null | 5,714 | https://api.github.com/repos/huggingface/datasets/issues/5714/events | true |
closed | 2023-04-06T10:27:22Z | null | https://api.github.com/repos/huggingface/datasets/issues/5713 | null | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/huggingface/datasets/issues/5713/reactions"
} | null | https://api.github.com/repos/huggingface/datasets/issues/5713/labels{/name} | {
"avatar_url": "https://avatars.githubusercontent.com/u/959590?v=4",
"events_url": "https://api.github.com/users/jplu/events{/privacy}",
"followers_url": "https://api.github.com/users/jplu/followers",
"following_url": "https://api.github.com/users/jplu/following{/other_user}",
"gists_url": "https://api.githu... | https://github.com/huggingface/datasets/issues/5713 | [] | false | 2023-04-06T13:06:22Z | 2023-04-06T13:06:21Z | null | [
"Hi Julien ! This sounds related to https://github.com/huggingface/datasets/issues/5695 - TL;DR: you need to have shards smaller than 2GB to avoid this issue\r\n\r\nThe number of rows per shard is computed using an estimated size of the full dataset, which can sometimes lead to shards bigger than `max_shard_size`. ... | completed | [] | ArrowNotImplementedError when loading dataset from the hub | CONTRIBUTOR | https://api.github.com/repos/huggingface/datasets/issues/5713/timeline | ### Describe the bug
Hello,
I have created a dataset by using the image loader. Once the dataset is created I try to download it and I get the error:
```
Traceback (most recent call last):
File "/home/jplu/miniconda3/envs/image-xp/lib/python3.10/site-packages/datasets/builder.py", line 1860, in _prepare_split_... | https://api.github.com/repos/huggingface/datasets | null | 1,657,141,251 | https://api.github.com/repos/huggingface/datasets/issues/5713/comments | I_kwDODunzps5ixfgD | null | 5,713 | https://api.github.com/repos/huggingface/datasets/issues/5713/events | false |
closed | 2023-04-05T16:47:10Z | null | https://api.github.com/repos/huggingface/datasets/issues/5712 | null | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/huggingface/datasets/issues/5712/reactions"
} | null | https://api.github.com/repos/huggingface/datasets/issues/5712/labels{/name} | {
"avatar_url": "https://avatars.githubusercontent.com/u/1219084?v=4",
"events_url": "https://api.github.com/users/rcasero/events{/privacy}",
"followers_url": "https://api.github.com/users/rcasero/followers",
"following_url": "https://api.github.com/users/rcasero/following{/other_user}",
"gists_url": "https:/... | https://github.com/huggingface/datasets/issues/5712 | [] | false | 2023-04-06T08:32:37Z | 2023-04-05T17:17:44Z | null | [
"Closing since this is a duplicate of #5711",
"> Closing since this is a duplicate of #5711\r\n\r\nSorry @mariosasko , my internet went down went submitting the issue, and somehow it ended up creating a duplicate"
] | completed | [] | load_dataset in v2.11.0 raises "ValueError: seek of closed file" in np.load() | NONE | https://api.github.com/repos/huggingface/datasets/issues/5712/timeline | ### Describe the bug
Hi,
I have some `dataset_load()` code of a custom offline dataset that works with datasets v2.10.1.
```python
ds = datasets.load_dataset(path=dataset_dir,
name=configuration,
data_dir=dataset_dir,
... | https://api.github.com/repos/huggingface/datasets | null | 1,655,972,106 | https://api.github.com/repos/huggingface/datasets/issues/5712/comments | I_kwDODunzps5itCEK | null | 5,712 | https://api.github.com/repos/huggingface/datasets/issues/5712/events | false |
closed | 2023-04-05T16:46:49Z | null | https://api.github.com/repos/huggingface/datasets/issues/5711 | {
"avatar_url": "https://avatars.githubusercontent.com/u/8515462?v=4",
"events_url": "https://api.github.com/users/albertvillanova/events{/privacy}",
"followers_url": "https://api.github.com/users/albertvillanova/followers",
"following_url": "https://api.github.com/users/albertvillanova/following{/other_user}",... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/huggingface/datasets/issues/5711/reactions"
} | null | https://api.github.com/repos/huggingface/datasets/issues/5711/labels{/name} | {
"avatar_url": "https://avatars.githubusercontent.com/u/1219084?v=4",
"events_url": "https://api.github.com/users/rcasero/events{/privacy}",
"followers_url": "https://api.github.com/users/rcasero/followers",
"following_url": "https://api.github.com/users/rcasero/following{/other_user}",
"gists_url": "https:/... | https://github.com/huggingface/datasets/issues/5711 | [
{
"avatar_url": "https://avatars.githubusercontent.com/u/8515462?v=4",
"events_url": "https://api.github.com/users/albertvillanova/events{/privacy}",
"followers_url": "https://api.github.com/users/albertvillanova/followers",
"following_url": "https://api.github.com/users/albertvillanova/following{/o... | false | 2023-04-07T09:16:59Z | 2023-04-07T09:16:59Z | null | [
"It seems like https://github.com/huggingface/datasets/pull/5626 has introduced this error. \r\n\r\ncc @albertvillanova \r\n\r\nI think replacing:\r\nhttps://github.com/huggingface/datasets/blob/0803a006db1c395ac715662cc6079651f77c11ea/src/datasets/download/streaming_download_manager.py#L777-L778\r\nwith:\r\n```pyt... | completed | [] | load_dataset in v2.11.0 raises "ValueError: seek of closed file" in np.load() | NONE | https://api.github.com/repos/huggingface/datasets/issues/5711/timeline | ### Describe the bug
Hi,
I have some `dataset_load()` code of a custom offline dataset that works with datasets v2.10.1.
```python
ds = datasets.load_dataset(path=dataset_dir,
name=configuration,
data_dir=dataset_dir,
... | https://api.github.com/repos/huggingface/datasets | null | 1,655,971,647 | https://api.github.com/repos/huggingface/datasets/issues/5711/comments | I_kwDODunzps5itB8_ | null | 5,711 | https://api.github.com/repos/huggingface/datasets/issues/5711/events | false |
closed | 2023-04-05T14:11:26Z | null | https://api.github.com/repos/huggingface/datasets/issues/5710 | null | {
"+1": 1,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 1,
"url": "https://api.github.com/repos/huggingface/datasets/issues/5710/reactions"
} | null | https://api.github.com/repos/huggingface/datasets/issues/5710/labels{/name} | {
"avatar_url": "https://avatars.githubusercontent.com/u/53392976?v=4",
"events_url": "https://api.github.com/users/Saibo-creator/events{/privacy}",
"followers_url": "https://api.github.com/users/Saibo-creator/followers",
"following_url": "https://api.github.com/users/Saibo-creator/following{/other_user}",
"g... | https://github.com/huggingface/datasets/issues/5710 | [] | false | 2023-04-20T17:16:40Z | 2023-04-20T17:16:40Z | null | [
"Hi! This error means that PyArrow's internal [`mmap`](https://man7.org/linux/man-pages/man2/mmap.2.html) call failed to allocate memory, which can be tricky to debug. Since this error is more related to PyArrow than us, I think it's best to report this issue in their [repo](https://github.com/apache/arrow) (they a... | completed | [] | OSError: Memory mapping file failed: Cannot allocate memory | NONE | https://api.github.com/repos/huggingface/datasets/issues/5710/timeline | ### Describe the bug
Hello, I have a series of datasets each of 5 GB, 600 datasets in total. So together this makes 3TB.
When I trying to load all the 600 datasets into memory, I get the above error message.
Is this normal because I'm hitting the max size of memory mapping of the OS?
Thank you
```te... | https://api.github.com/repos/huggingface/datasets | null | 1,655,703,534 | https://api.github.com/repos/huggingface/datasets/issues/5710/comments | I_kwDODunzps5isAfu | null | 5,710 | https://api.github.com/repos/huggingface/datasets/issues/5710/events | false |
closed | 2023-04-05T11:15:17Z | null | https://api.github.com/repos/huggingface/datasets/issues/5709 | null | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/huggingface/datasets/issues/5709/reactions"
} | null | https://api.github.com/repos/huggingface/datasets/issues/5709/labels{/name} | {
"avatar_url": "https://avatars.githubusercontent.com/u/959590?v=4",
"events_url": "https://api.github.com/users/jplu/events{/privacy}",
"followers_url": "https://api.github.com/users/jplu/followers",
"following_url": "https://api.github.com/users/jplu/following{/other_user}",
"gists_url": "https://api.githu... | https://github.com/huggingface/datasets/issues/5709 | [] | false | 2023-04-06T08:52:20Z | 2023-04-06T08:52:19Z | null | [
"hi @jplu ! Did I understand you correctly that you create the dataset, push it to the Hub with `.push_to_hub` and you see a `dataset_infos.json` file there, then you edit this file, load the dataset with `load_dataset` and you don't see any changes in `.info` attribute of a dataset object? \r\n\r\nThis is actually... | completed | [] | Manually dataset info made not taken into account | CONTRIBUTOR | https://api.github.com/repos/huggingface/datasets/issues/5709/timeline | ### Describe the bug
Hello,
I'm manually building an image dataset with the `from_dict` approach. I also build the features with the `cast_features` methods. Once the dataset is created I push it on the hub, and a default `dataset_infos.json` file seems to have been automatically added to the repo in same time. Hen... | https://api.github.com/repos/huggingface/datasets | null | 1,655,423,503 | https://api.github.com/repos/huggingface/datasets/issues/5709/comments | I_kwDODunzps5iq8IP | null | 5,709 | https://api.github.com/repos/huggingface/datasets/issues/5709/events | false |
closed | 2023-04-05T06:36:03Z | null | https://api.github.com/repos/huggingface/datasets/issues/5708 | {
"avatar_url": "https://avatars.githubusercontent.com/u/8515462?v=4",
"events_url": "https://api.github.com/users/albertvillanova/events{/privacy}",
"followers_url": "https://api.github.com/users/albertvillanova/followers",
"following_url": "https://api.github.com/users/albertvillanova/following{/other_user}",... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/huggingface/datasets/issues/5708/reactions"
} | null | https://api.github.com/repos/huggingface/datasets/issues/5708/labels{/name} | {
"avatar_url": "https://avatars.githubusercontent.com/u/8515462?v=4",
"events_url": "https://api.github.com/users/albertvillanova/events{/privacy}",
"followers_url": "https://api.github.com/users/albertvillanova/followers",
"following_url": "https://api.github.com/users/albertvillanova/following{/other_user}",... | https://github.com/huggingface/datasets/issues/5708 | [
{
"avatar_url": "https://avatars.githubusercontent.com/u/8515462?v=4",
"events_url": "https://api.github.com/users/albertvillanova/events{/privacy}",
"followers_url": "https://api.github.com/users/albertvillanova/followers",
"following_url": "https://api.github.com/users/albertvillanova/following{/o... | false | 2023-12-21T10:20:28Z | 2023-12-21T10:20:27Z | null | [
"Example of bulk edit: https://huggingface.co/datasets/aeslc/discussions/5",
"looks great! \r\n\r\nDo you encode the fact that you've already converted a dataset? (to not convert it twice) or do you base yourself on the info contained in `dataset_info`",
"I am only looping trough the dataset cards, assuming tha... | completed | [
{
"color": "d73a4a",
"default": true,
"description": "Something isn't working",
"id": 1935892857,
"name": "bug",
"node_id": "MDU6TGFiZWwxOTM1ODkyODU3",
"url": "https://api.github.com/repos/huggingface/datasets/labels/bug"
},
{
"color": "E5583E",
"default": false,
"descrip... | Dataset sizes are in MiB instead of MB in dataset cards | MEMBER | https://api.github.com/repos/huggingface/datasets/issues/5708/timeline | As @severo reported in an internal discussion (https://github.com/huggingface/moon-landing/issues/5929):
Now we show the dataset size:
- from the dataset card (in the side column)
- from the datasets-server (in the viewer)
But, even if the size is the same, we see a mismatch because the viewer shows MB, while t... | https://api.github.com/repos/huggingface/datasets | null | 1,655,023,642 | https://api.github.com/repos/huggingface/datasets/issues/5708/comments | I_kwDODunzps5ipaga | null | 5,708 | https://api.github.com/repos/huggingface/datasets/issues/5708/events | false |
open | 2023-04-04T09:45:35Z | null | https://api.github.com/repos/huggingface/datasets/issues/5706 | {
"avatar_url": "https://avatars.githubusercontent.com/u/22622299?v=4",
"events_url": "https://api.github.com/users/mhattingpete/events{/privacy}",
"followers_url": "https://api.github.com/users/mhattingpete/followers",
"following_url": "https://api.github.com/users/mhattingpete/following{/other_user}",
"gist... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/huggingface/datasets/issues/5706/reactions"
} | null | https://api.github.com/repos/huggingface/datasets/issues/5706/labels{/name} | {
"avatar_url": "https://avatars.githubusercontent.com/u/1430243?v=4",
"events_url": "https://api.github.com/users/kklemon/events{/privacy}",
"followers_url": "https://api.github.com/users/kklemon/followers",
"following_url": "https://api.github.com/users/kklemon/following{/other_user}",
"gists_url": "https:/... | https://github.com/huggingface/datasets/issues/5706 | [
{
"avatar_url": "https://avatars.githubusercontent.com/u/22622299?v=4",
"events_url": "https://api.github.com/users/mhattingpete/events{/privacy}",
"followers_url": "https://api.github.com/users/mhattingpete/followers",
"following_url": "https://api.github.com/users/mhattingpete/following{/other_use... | false | 2023-09-22T16:53:37Z | null | null | [
"Hi ! We could definitely a type that holds the categories and uses a DictionaryType storage. There's a ClassLabel type that is similar with a 'names' parameter (similar to a id2label in deep learning frameworks) that uses an integer array as storage.\r\n\r\nIt can be added in `features.py`. Here are some pointers:... | null | [
{
"color": "a2eeef",
"default": true,
"description": "New feature or request",
"id": 1935892871,
"name": "enhancement",
"node_id": "MDU6TGFiZWwxOTM1ODkyODcx",
"url": "https://api.github.com/repos/huggingface/datasets/labels/enhancement"
}
] | Support categorical data types for Parquet | NONE | https://api.github.com/repos/huggingface/datasets/issues/5706/timeline | ### Feature request
Huggingface datasets does not seem to support categorical / dictionary data types for Parquet as of now. There seems to be a `TODO` in the code for this feature but no implementation yet. Below you can find sample code to reproduce the error that is currently thrown when attempting to read a Parq... | https://api.github.com/repos/huggingface/datasets | null | 1,653,545,835 | https://api.github.com/repos/huggingface/datasets/issues/5706/comments | I_kwDODunzps5ijxtr | null | 5,706 | https://api.github.com/repos/huggingface/datasets/issues/5706/events | false |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.