url stringlengths 60 61 | repository_url stringclasses 1
value | labels_url stringlengths 74 75 | comments_url stringlengths 69 70 | events_url stringlengths 67 68 | html_url stringlengths 48 51 | id int64 748M 1.71B | node_id stringlengths 18 32 | number int64 876 5.87k | title stringlengths 1 290 | user stringlengths 870 1.16k | labels stringclasses 71
values | state stringclasses 2
values | locked bool 1
class | assignee stringclasses 55
values | assignees stringclasses 64
values | milestone stringclasses 8
values | comments listlengths 0 30 | created_at stringlengths 20 20 | updated_at stringlengths 20 20 | closed_at stringlengths 20 20 ⌀ | author_association stringclasses 3
values | active_lock_reason float64 | body stringlengths 1 228k ⌀ | reactions stringlengths 193 197 | timeline_url stringlengths 69 70 | performed_via_github_app float64 | state_reason stringclasses 3
values | draft bool 2
classes | pull_request stringlengths 293 315 ⌀ | is_pull_request bool 2
classes |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
https://api.github.com/repos/huggingface/datasets/issues/5150 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/5150/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/5150/comments | https://api.github.com/repos/huggingface/datasets/issues/5150/events | https://github.com/huggingface/datasets/issues/5150 | 1,420,684,999 | I_kwDODunzps5Ure7H | 5,150 | Problems after upgrading to 2.6.1 | {'login': 'pietrolesci', 'id': 61748653, 'node_id': 'MDQ6VXNlcjYxNzQ4NjUz', 'avatar_url': 'https://avatars.githubusercontent.com/u/61748653?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/pietrolesci', 'html_url': 'https://github.com/pietrolesci', 'followers_url': 'https://api.github.com/users/pietrolesci... | [] | open | false | null | [] | null | [
"Hi! I can't reproduce the error following these steps. Can you please provide a reproducible example?",
"I faced the same issue:\r\n\r\n### Repro\r\n```\r\n!pip install datasets==2.6.1\r\nimport datasets as Dataset\r\ndataset = Dataset.from_pandas(dataframe)\r\ndataset.save_to_disk(local)\r\n\r\n!pip install dat... | 2022-10-24T11:32:36Z | 2023-01-03T15:26:00Z | null | NONE | null | ### Describe the bug
Loading a dataset_dict from disk with `load_from_disk` is now creating a `KeyError "length"` that was not occurring in v2.5.2.
Context:
- Each individual dataset in the dict is created with `Dataset.from_pandas`
- The dataset_dict is create from a dict of `Dataset`s, e.g., `DatasetDict({"tr... | {'url': 'https://api.github.com/repos/huggingface/datasets/issues/5150/reactions', 'total_count': 0, '+1': 0, '-1': 0, 'laugh': 0, 'hooray': 0, 'confused': 0, 'heart': 0, 'rocket': 0, 'eyes': 0} | https://api.github.com/repos/huggingface/datasets/issues/5150/timeline | null | null | null | null | false |
https://api.github.com/repos/huggingface/datasets/issues/5149 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/5149/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/5149/comments | https://api.github.com/repos/huggingface/datasets/issues/5149/events | https://github.com/huggingface/datasets/pull/5149 | 1,420,415,639 | PR_kwDODunzps5BZJab | 5,149 | Make iter_files deterministic | {'login': 'albertvillanova', 'id': 8515462, 'node_id': 'MDQ6VXNlcjg1MTU0NjI=', 'avatar_url': 'https://avatars.githubusercontent.com/u/8515462?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/albertvillanova', 'html_url': 'https://github.com/albertvillanova', 'followers_url': 'https://api.github.com/users/a... | [] | closed | false | null | [] | null | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 2022-10-24T08:16:27Z | 2022-10-27T09:53:23Z | 2022-10-27T09:51:09Z | MEMBER | null | Fix #5145. | {'url': 'https://api.github.com/repos/huggingface/datasets/issues/5149/reactions', 'total_count': 1, '+1': 1, '-1': 0, 'laugh': 0, 'hooray': 0, 'confused': 0, 'heart': 0, 'rocket': 0, 'eyes': 0} | https://api.github.com/repos/huggingface/datasets/issues/5149/timeline | null | null | false | {'url': 'https://api.github.com/repos/huggingface/datasets/pulls/5149', 'html_url': 'https://github.com/huggingface/datasets/pull/5149', 'diff_url': 'https://github.com/huggingface/datasets/pull/5149.diff', 'patch_url': 'https://github.com/huggingface/datasets/pull/5149.patch', 'merged_at': '2022-10-27T09:51:09Z'} | true |
https://api.github.com/repos/huggingface/datasets/issues/5148 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/5148/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/5148/comments | https://api.github.com/repos/huggingface/datasets/issues/5148/events | https://github.com/huggingface/datasets/issues/5148 | 1,420,219,222 | I_kwDODunzps5UptNW | 5,148 | Cannot find the rvl_cdip dataset | {'login': 'santule', 'id': 20509836, 'node_id': 'MDQ6VXNlcjIwNTA5ODM2', 'avatar_url': 'https://avatars.githubusercontent.com/u/20509836?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/santule', 'html_url': 'https://github.com/santule', 'followers_url': 'https://api.github.com/users/santule/followers', 'fo... | [] | closed | false | {'login': 'albertvillanova', 'id': 8515462, 'node_id': 'MDQ6VXNlcjg1MTU0NjI=', 'avatar_url': 'https://avatars.githubusercontent.com/u/8515462?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/albertvillanova', 'html_url': 'https://github.com/albertvillanova', 'followers_url': 'https://api.github.com/users/a... | [{'login': 'albertvillanova', 'id': 8515462, 'node_id': 'MDQ6VXNlcjg1MTU0NjI=', 'avatar_url': 'https://avatars.githubusercontent.com/u/8515462?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/albertvillanova', 'html_url': 'https://github.com/albertvillanova', 'followers_url': 'https://api.github.com/users/... | null | [
"Hi, @santule.\r\n\r\nWe have transferred all dataset scripts from GitHub to the Hugging Face Hub: https://huggingface.co/datasets\r\n- Concretely, you have \"rvl_cdip\" here: https://huggingface.co/datasets/rvl_cdip\r\n\r\nTo be able to load them, you should update your `datasets` library:\r\n```\r\npip install -U... | 2022-10-24T04:57:42Z | 2022-10-24T12:23:47Z | 2022-10-24T06:25:28Z | NONE | null | Hi,
I am trying to use load_dataset to load the official "rvl_cdip" dataset but getting an error.
dataset = load_dataset("rvl_cdip")
Couldn't find 'rvl_cdip' on the Hugging Face Hub either: FileNotFoundError: Couldn't find the file at https://raw.githubusercontent.com/huggingface/datasets/master/datasets/rvl_cdi... | {'url': 'https://api.github.com/repos/huggingface/datasets/issues/5148/reactions', 'total_count': 0, '+1': 0, '-1': 0, 'laugh': 0, 'hooray': 0, 'confused': 0, 'heart': 0, 'rocket': 0, 'eyes': 0} | https://api.github.com/repos/huggingface/datasets/issues/5148/timeline | null | completed | null | null | false |
https://api.github.com/repos/huggingface/datasets/issues/5147 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/5147/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/5147/comments | https://api.github.com/repos/huggingface/datasets/issues/5147/events | https://github.com/huggingface/datasets/issues/5147 | 1,419,522,275 | I_kwDODunzps5UnDDj | 5,147 | Allow ignoring kwargs inside fn_kwargs during dataset.map's fingerprinting | {'login': 'falcaopetri', 'id': 8387736, 'node_id': 'MDQ6VXNlcjgzODc3MzY=', 'avatar_url': 'https://avatars.githubusercontent.com/u/8387736?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/falcaopetri', 'html_url': 'https://github.com/falcaopetri', 'followers_url': 'https://api.github.com/users/falcaopetri/f... | [{'id': 1935892871, 'node_id': 'MDU6TGFiZWwxOTM1ODkyODcx', 'url': 'https://api.github.com/repos/huggingface/datasets/labels/enhancement', 'name': 'enhancement', 'color': 'a2eeef', 'default': True, 'description': 'New feature or request'}] | open | false | null | [] | null | [
"Hi ! In the `transformers` issue the object to not hash is a `Pool` - I think you can instantiate it inside your function instead of passing it as a parameter. It's good practice that your function and all its fn_kwargs are picklable, in case you want to parallelize `map` using `num_proc>1`\r\n\r\nFor the other ca... | 2022-10-22T21:46:38Z | 2022-11-01T22:19:07Z | null | NONE | null | ### Feature request
`dataset.map` accepts a `fn_kwargs` that is passed to `fn`. Currently, the whole `fn_kwargs` is used by `fingerprint_transform` to calculate the new fingerprint.
I'd like to be able to inform `fingerprint_transform` which `fn_kwargs` shoud/shouldn't be taken into account during hashing.
Of co... | {'url': 'https://api.github.com/repos/huggingface/datasets/issues/5147/reactions', 'total_count': 0, '+1': 0, '-1': 0, 'laugh': 0, 'hooray': 0, 'confused': 0, 'heart': 0, 'rocket': 0, 'eyes': 0} | https://api.github.com/repos/huggingface/datasets/issues/5147/timeline | null | null | null | null | false |
https://api.github.com/repos/huggingface/datasets/issues/5146 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/5146/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/5146/comments | https://api.github.com/repos/huggingface/datasets/issues/5146/events | https://github.com/huggingface/datasets/pull/5146 | 1,418,331,282 | PR_kwDODunzps5BSUWW | 5,146 | Delete duplicate issue template file | {'login': 'albertvillanova', 'id': 8515462, 'node_id': 'MDQ6VXNlcjg1MTU0NjI=', 'avatar_url': 'https://avatars.githubusercontent.com/u/8515462?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/albertvillanova', 'html_url': 'https://github.com/albertvillanova', 'followers_url': 'https://api.github.com/users/a... | [] | closed | false | null | [] | null | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 2022-10-21T13:18:46Z | 2022-10-21T13:52:30Z | 2022-10-21T13:50:04Z | MEMBER | null | A conflict between two PRs:
- #5116
- #5136
was not properly resolved, resulting in a duplicate issue template.
This PR removes the duplicate template. | {'url': 'https://api.github.com/repos/huggingface/datasets/issues/5146/reactions', 'total_count': 0, '+1': 0, '-1': 0, 'laugh': 0, 'hooray': 0, 'confused': 0, 'heart': 0, 'rocket': 0, 'eyes': 0} | https://api.github.com/repos/huggingface/datasets/issues/5146/timeline | null | null | false | {'url': 'https://api.github.com/repos/huggingface/datasets/pulls/5146', 'html_url': 'https://github.com/huggingface/datasets/pull/5146', 'diff_url': 'https://github.com/huggingface/datasets/pull/5146.diff', 'patch_url': 'https://github.com/huggingface/datasets/pull/5146.patch', 'merged_at': '2022-10-21T13:50:04Z'} | true |
https://api.github.com/repos/huggingface/datasets/issues/5145 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/5145/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/5145/comments | https://api.github.com/repos/huggingface/datasets/issues/5145/events | https://github.com/huggingface/datasets/issues/5145 | 1,418,005,452 | I_kwDODunzps5UhQvM | 5,145 | Dataset order is not deterministic with ZIP archives and `iter_files` | {'login': 'fxmarty', 'id': 9808326, 'node_id': 'MDQ6VXNlcjk4MDgzMjY=', 'avatar_url': 'https://avatars.githubusercontent.com/u/9808326?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/fxmarty', 'html_url': 'https://github.com/fxmarty', 'followers_url': 'https://api.github.com/users/fxmarty/followers', 'foll... | [] | closed | false | {'login': 'albertvillanova', 'id': 8515462, 'node_id': 'MDQ6VXNlcjg1MTU0NjI=', 'avatar_url': 'https://avatars.githubusercontent.com/u/8515462?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/albertvillanova', 'html_url': 'https://github.com/albertvillanova', 'followers_url': 'https://api.github.com/users/a... | [{'login': 'albertvillanova', 'id': 8515462, 'node_id': 'MDQ6VXNlcjg1MTU0NjI=', 'avatar_url': 'https://avatars.githubusercontent.com/u/8515462?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/albertvillanova', 'html_url': 'https://github.com/albertvillanova', 'followers_url': 'https://api.github.com/users/... | null | [
"Thanks for reporting ! The issue doesn't come from shuffling, but from `beans` row order not being deterministic:\r\n\r\nhttps://huggingface.co/datasets/beans/blob/main/beans.py uses `dl_manager.iter_files` on ZIP archives and the file order doesn't seen to be deterministic and changes across machines",
"Thank y... | 2022-10-21T09:00:03Z | 2022-10-27T09:51:49Z | 2022-10-27T09:51:10Z | CONTRIBUTOR | null | ### Describe the bug
For the `beans` dataset (did not try on other), the order of samples is not the same on different machines. Tested on my local laptop, github actions machine, and ec2 instance. The three yield a different order.
### Steps to reproduce the bug
In a clean docker container or conda environmen... | {'url': 'https://api.github.com/repos/huggingface/datasets/issues/5145/reactions', 'total_count': 0, '+1': 0, '-1': 0, 'laugh': 0, 'hooray': 0, 'confused': 0, 'heart': 0, 'rocket': 0, 'eyes': 0} | https://api.github.com/repos/huggingface/datasets/issues/5145/timeline | null | completed | null | null | false |
https://api.github.com/repos/huggingface/datasets/issues/5144 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/5144/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/5144/comments | https://api.github.com/repos/huggingface/datasets/issues/5144/events | https://github.com/huggingface/datasets/issues/5144 | 1,417,974,731 | I_kwDODunzps5UhJPL | 5,144 | Inconsistent documentation on map remove_columns | {'login': 'zhaowei-wang-nlp', 'id': 22047467, 'node_id': 'MDQ6VXNlcjIyMDQ3NDY3', 'avatar_url': 'https://avatars.githubusercontent.com/u/22047467?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/zhaowei-wang-nlp', 'html_url': 'https://github.com/zhaowei-wang-nlp', 'followers_url': 'https://api.github.com/us... | [{'id': 1935892861, 'node_id': 'MDU6TGFiZWwxOTM1ODkyODYx', 'url': 'https://api.github.com/repos/huggingface/datasets/labels/documentation', 'name': 'documentation', 'color': '0075ca', 'default': True, 'description': 'Improvements or additions to documentation'}, {'id': 1935892865, 'node_id': 'MDU6TGFiZWwxOTM1ODkyODY1',... | closed | false | null | [] | null | [
"Thanks for reporting, @zhaowei-wang-nlp.\r\n\r\nYou are right, the documentation is confusing on the behavior of `remove_columns`. We should better explain it. ",
"This is a duplicate of https://github.com/huggingface/datasets/issues/2343.",
"I'm closing this issue because as @mariosasko pointed out, it is a d... | 2022-10-21T08:37:53Z | 2022-11-15T14:15:10Z | 2022-11-15T14:15:10Z | NONE | null | ### Describe the bug
The page [process](https://huggingface.co/docs/datasets/process) says this about the parameter `remove_columns` of the function `map`:
When you remove a column, it is only removed after the example has been provided to the mapped function.
So it seems that the `remove_columns` parameter remo... | {'url': 'https://api.github.com/repos/huggingface/datasets/issues/5144/reactions', 'total_count': 0, '+1': 0, '-1': 0, 'laugh': 0, 'hooray': 0, 'confused': 0, 'heart': 0, 'rocket': 0, 'eyes': 0} | https://api.github.com/repos/huggingface/datasets/issues/5144/timeline | null | completed | null | null | false |
https://api.github.com/repos/huggingface/datasets/issues/5143 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/5143/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/5143/comments | https://api.github.com/repos/huggingface/datasets/issues/5143/events | https://github.com/huggingface/datasets/issues/5143 | 1,416,837,186 | I_kwDODunzps5UczhC | 5,143 | DownloadManager Git LFS support | {'login': 'Muennighoff', 'id': 62820084, 'node_id': 'MDQ6VXNlcjYyODIwMDg0', 'avatar_url': 'https://avatars.githubusercontent.com/u/62820084?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/Muennighoff', 'html_url': 'https://github.com/Muennighoff', 'followers_url': 'https://api.github.com/users/Muennighoff... | [{'id': 1935892871, 'node_id': 'MDU6TGFiZWwxOTM1ODkyODcx', 'url': 'https://api.github.com/repos/huggingface/datasets/labels/enhancement', 'name': 'enhancement', 'color': 'a2eeef', 'default': True, 'description': 'New feature or request'}] | closed | false | null | [] | null | [
"Hey ! Actually it works, just pass the right URL ;)\r\nThe URL must be the one with “/resolve/”\r\n\r\ne.g. https://huggingface.co/datasets/imagenet-1k/resolve/main/data/test_images.tar.gz\r\n\r\nYou can even pass a relative path to the dl_manager instead, like `dl_manager.download(\"data/test_images.tar.gz\")`",
... | 2022-10-20T15:29:29Z | 2022-10-20T17:17:10Z | 2022-10-20T17:17:10Z | CONTRIBUTOR | null | ### Feature request
Maybe I'm mistaken but the `DownloadManager` does not support extracting git lfs files out of the box right?
Using `dl_manager.download()` or `dl_manager.download_and_extract()` still returns lfs files afaict.
Is there a good way to write a dataset loading script for a repo with lfs files?
##... | {'url': 'https://api.github.com/repos/huggingface/datasets/issues/5143/reactions', 'total_count': 0, '+1': 0, '-1': 0, 'laugh': 0, 'hooray': 0, 'confused': 0, 'heart': 0, 'rocket': 0, 'eyes': 0} | https://api.github.com/repos/huggingface/datasets/issues/5143/timeline | null | completed | null | null | false |
https://api.github.com/repos/huggingface/datasets/issues/5142 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/5142/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/5142/comments | https://api.github.com/repos/huggingface/datasets/issues/5142/events | https://github.com/huggingface/datasets/pull/5142 | 1,416,317,678 | PR_kwDODunzps5BLd90 | 5,142 | Deprecate num_proc parameter in DownloadManager.extract | {'login': 'ayushthe1', 'id': 114604338, 'node_id': 'U_kgDOBtS5Mg', 'avatar_url': 'https://avatars.githubusercontent.com/u/114604338?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/ayushthe1', 'html_url': 'https://github.com/ayushthe1', 'followers_url': 'https://api.github.com/users/ayushthe1/followers', '... | [] | closed | false | null | [] | null | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Hey @mariosasko . Can you please help me with why the tests keep failing. I have reviewed the code changes multiple times but can't spot any mistakes. ",
"You can fix this failure by formatting your code with the `make style` comm... | 2022-10-20T09:52:52Z | 2022-10-25T18:06:56Z | 2022-10-25T15:56:45Z | CONTRIBUTOR | null | fixes #5132 : Deprecated the `num_proc` parameter in `DownloadManager.extract` by passing `num_proc` parameter to `map_nested` . | {'url': 'https://api.github.com/repos/huggingface/datasets/issues/5142/reactions', 'total_count': 0, '+1': 0, '-1': 0, 'laugh': 0, 'hooray': 0, 'confused': 0, 'heart': 0, 'rocket': 0, 'eyes': 0} | https://api.github.com/repos/huggingface/datasets/issues/5142/timeline | null | null | false | {'url': 'https://api.github.com/repos/huggingface/datasets/pulls/5142', 'html_url': 'https://github.com/huggingface/datasets/pull/5142', 'diff_url': 'https://github.com/huggingface/datasets/pull/5142.diff', 'patch_url': 'https://github.com/huggingface/datasets/pull/5142.patch', 'merged_at': '2022-10-25T15:56:45Z'} | true |
https://api.github.com/repos/huggingface/datasets/issues/5141 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/5141/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/5141/comments | https://api.github.com/repos/huggingface/datasets/issues/5141/events | https://github.com/huggingface/datasets/pull/5141 | 1,415,479,438 | PR_kwDODunzps5BIp1l | 5,141 | Raise ImportError instead of OSError | {'login': 'ayushthe1', 'id': 114604338, 'node_id': 'U_kgDOBtS5Mg', 'avatar_url': 'https://avatars.githubusercontent.com/u/114604338?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/ayushthe1', 'html_url': 'https://github.com/ayushthe1', 'followers_url': 'https://api.github.com/users/ayushthe1/followers', '... | [] | closed | false | null | [] | null | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Thanks @mariosasko ,i commited the changes as you said.\r\n\r\n"
] | 2022-10-19T19:30:05Z | 2022-10-25T15:59:25Z | 2022-10-25T15:56:58Z | CONTRIBUTOR | null | fixes #5134 : Replaced OSError with ImportError if required extraction library is not installed. | {'url': 'https://api.github.com/repos/huggingface/datasets/issues/5141/reactions', 'total_count': 0, '+1': 0, '-1': 0, 'laugh': 0, 'hooray': 0, 'confused': 0, 'heart': 0, 'rocket': 0, 'eyes': 0} | https://api.github.com/repos/huggingface/datasets/issues/5141/timeline | null | null | false | {'url': 'https://api.github.com/repos/huggingface/datasets/pulls/5141', 'html_url': 'https://github.com/huggingface/datasets/pull/5141', 'diff_url': 'https://github.com/huggingface/datasets/pull/5141.diff', 'patch_url': 'https://github.com/huggingface/datasets/pull/5141.patch', 'merged_at': '2022-10-25T15:56:58Z'} | true |
https://api.github.com/repos/huggingface/datasets/issues/5140 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/5140/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/5140/comments | https://api.github.com/repos/huggingface/datasets/issues/5140/events | https://github.com/huggingface/datasets/pull/5140 | 1,415,075,530 | PR_kwDODunzps5BHTNq | 5,140 | Make the KeyHasher FIPS compliant | {'login': 'vvalouch', 'id': 22592860, 'node_id': 'MDQ6VXNlcjIyNTkyODYw', 'avatar_url': 'https://avatars.githubusercontent.com/u/22592860?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/vvalouch', 'html_url': 'https://github.com/vvalouch', 'followers_url': 'https://api.github.com/users/vvalouch/followers',... | [] | closed | false | null | [] | null | [] | 2022-10-19T14:25:52Z | 2022-11-07T16:20:43Z | 2022-11-07T16:20:43Z | NONE | null | MD5 is not FIPS compliant thus I am proposing this minimal change to make datasets package FIPS compliant | {'url': 'https://api.github.com/repos/huggingface/datasets/issues/5140/reactions', 'total_count': 0, '+1': 0, '-1': 0, 'laugh': 0, 'hooray': 0, 'confused': 0, 'heart': 0, 'rocket': 0, 'eyes': 0} | https://api.github.com/repos/huggingface/datasets/issues/5140/timeline | null | null | false | {'url': 'https://api.github.com/repos/huggingface/datasets/pulls/5140', 'html_url': 'https://github.com/huggingface/datasets/pull/5140', 'diff_url': 'https://github.com/huggingface/datasets/pull/5140.diff', 'patch_url': 'https://github.com/huggingface/datasets/pull/5140.patch', 'merged_at': None} | true |
https://api.github.com/repos/huggingface/datasets/issues/5137 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/5137/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/5137/comments | https://api.github.com/repos/huggingface/datasets/issues/5137/events | https://github.com/huggingface/datasets/issues/5137 | 1,414,642,723 | I_kwDODunzps5UUbwj | 5,137 | Align task tags in dataset metadata | {'login': 'albertvillanova', 'id': 8515462, 'node_id': 'MDQ6VXNlcjg1MTU0NjI=', 'avatar_url': 'https://avatars.githubusercontent.com/u/8515462?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/albertvillanova', 'html_url': 'https://github.com/albertvillanova', 'followers_url': 'https://api.github.com/users/a... | [{'id': 4564477500, 'node_id': 'LA_kwDODunzps8AAAABEBBmPA', 'url': 'https://api.github.com/repos/huggingface/datasets/labels/dataset%20contribution', 'name': 'dataset contribution', 'color': '0e8a16', 'default': False, 'description': 'Contribution to a dataset script'}] | closed | false | {'login': 'albertvillanova', 'id': 8515462, 'node_id': 'MDQ6VXNlcjg1MTU0NjI=', 'avatar_url': 'https://avatars.githubusercontent.com/u/8515462?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/albertvillanova', 'html_url': 'https://github.com/albertvillanova', 'followers_url': 'https://api.github.com/users/a... | [{'login': 'albertvillanova', 'id': 8515462, 'node_id': 'MDQ6VXNlcjg1MTU0NjI=', 'avatar_url': 'https://avatars.githubusercontent.com/u/8515462?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/albertvillanova', 'html_url': 'https://github.com/albertvillanova', 'followers_url': 'https://api.github.com/users/... | null | [
"I removed all the invalid task_ids in datasts without namespace, based on the <s>(internal)</s> types.ts",
"(Types.ts is not internal it's public)",
"I have opened PRs to fix the task_ids in all datasets within a namespace as well.\r\n\r\nWorking on task_categories...",
"For future reference: this fix had so... | 2022-10-19T09:41:42Z | 2022-11-10T05:25:58Z | 2022-10-25T06:17:00Z | MEMBER | null | ## Describe
Once we have agreed on a common naming for task tags for all open source projects, we should align on them.
## Steps
- [x] Align task tags in canonical datasets
- [x] task_categories: 4 datasets
- [x] task_ids (by @lhoestq)
- [x] Open PRs in community datasets
- [x] task_categories: 451 datas... | {'url': 'https://api.github.com/repos/huggingface/datasets/issues/5137/reactions', 'total_count': 0, '+1': 0, '-1': 0, 'laugh': 0, 'hooray': 0, 'confused': 0, 'heart': 0, 'rocket': 0, 'eyes': 0} | https://api.github.com/repos/huggingface/datasets/issues/5137/timeline | null | completed | null | null | false |
https://api.github.com/repos/huggingface/datasets/issues/5136 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/5136/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/5136/comments | https://api.github.com/repos/huggingface/datasets/issues/5136/events | https://github.com/huggingface/datasets/pull/5136 | 1,414,492,139 | PR_kwDODunzps5BFWMG | 5,136 | Update docs once dataset scripts transferred to the Hub | {'login': 'albertvillanova', 'id': 8515462, 'node_id': 'MDQ6VXNlcjg1MTU0NjI=', 'avatar_url': 'https://avatars.githubusercontent.com/u/8515462?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/albertvillanova', 'html_url': 'https://github.com/albertvillanova', 'followers_url': 'https://api.github.com/users/a... | [] | closed | false | null | [] | null | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 2022-10-19T07:58:27Z | 2022-10-20T08:12:21Z | 2022-10-20T08:10:00Z | MEMBER | null | Todo:
- [x] Update docs:
- [x] Datasets on GitHub (legacy)
- [x] Load: offline
- [x] About dataset load:
- [x] Maintaining integrity
- [x] Security
- [x] Update docstrings:
- [x] Inspect:
- [x] get_dataset_config_info
- [x] get_dataset_split_names
- [x] Load:
- [x] dataset_modu... | {'url': 'https://api.github.com/repos/huggingface/datasets/issues/5136/reactions', 'total_count': 0, '+1': 0, '-1': 0, 'laugh': 0, 'hooray': 0, 'confused': 0, 'heart': 0, 'rocket': 0, 'eyes': 0} | https://api.github.com/repos/huggingface/datasets/issues/5136/timeline | null | null | false | {'url': 'https://api.github.com/repos/huggingface/datasets/pulls/5136', 'html_url': 'https://github.com/huggingface/datasets/pull/5136', 'diff_url': 'https://github.com/huggingface/datasets/pull/5136.diff', 'patch_url': 'https://github.com/huggingface/datasets/pull/5136.patch', 'merged_at': '2022-10-20T08:10:00Z'} | true |
https://api.github.com/repos/huggingface/datasets/issues/5135 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/5135/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/5135/comments | https://api.github.com/repos/huggingface/datasets/issues/5135/events | https://github.com/huggingface/datasets/issues/5135 | 1,414,413,519 | I_kwDODunzps5UTjzP | 5,135 | Update docs once dataset scripts transferred to the Hub | {'login': 'albertvillanova', 'id': 8515462, 'node_id': 'MDQ6VXNlcjg1MTU0NjI=', 'avatar_url': 'https://avatars.githubusercontent.com/u/8515462?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/albertvillanova', 'html_url': 'https://github.com/albertvillanova', 'followers_url': 'https://api.github.com/users/a... | [{'id': 1935892861, 'node_id': 'MDU6TGFiZWwxOTM1ODkyODYx', 'url': 'https://api.github.com/repos/huggingface/datasets/labels/documentation', 'name': 'documentation', 'color': '0075ca', 'default': True, 'description': 'Improvements or additions to documentation'}] | closed | false | {'login': 'albertvillanova', 'id': 8515462, 'node_id': 'MDQ6VXNlcjg1MTU0NjI=', 'avatar_url': 'https://avatars.githubusercontent.com/u/8515462?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/albertvillanova', 'html_url': 'https://github.com/albertvillanova', 'followers_url': 'https://api.github.com/users/a... | [{'login': 'albertvillanova', 'id': 8515462, 'node_id': 'MDQ6VXNlcjg1MTU0NjI=', 'avatar_url': 'https://avatars.githubusercontent.com/u/8515462?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/albertvillanova', 'html_url': 'https://github.com/albertvillanova', 'followers_url': 'https://api.github.com/users/... | null | [] | 2022-10-19T06:58:19Z | 2022-10-20T08:10:01Z | 2022-10-20T08:10:01Z | MEMBER | null | ## Describe the bug
As discussed in:
- https://github.com/huggingface/hub-docs/pull/423#pullrequestreview-1146083701
we should update our docs once dataset scripts have been transferred to the Hub (and removed from GitHub):
- #4974
Concretely:
- [x] Datasets on GitHub (legacy): https://huggingface.co/docs/dat... | {'url': 'https://api.github.com/repos/huggingface/datasets/issues/5135/reactions', 'total_count': 0, '+1': 0, '-1': 0, 'laugh': 0, 'hooray': 0, 'confused': 0, 'heart': 0, 'rocket': 0, 'eyes': 0} | https://api.github.com/repos/huggingface/datasets/issues/5135/timeline | null | completed | null | null | false |
https://api.github.com/repos/huggingface/datasets/issues/5134 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/5134/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/5134/comments | https://api.github.com/repos/huggingface/datasets/issues/5134/events | https://github.com/huggingface/datasets/issues/5134 | 1,413,623,687 | I_kwDODunzps5UQi-H | 5,134 | Raise ImportError instead of OSError if required extraction library is not installed | {'login': 'mariosasko', 'id': 47462742, 'node_id': 'MDQ6VXNlcjQ3NDYyNzQy', 'avatar_url': 'https://avatars.githubusercontent.com/u/47462742?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/mariosasko', 'html_url': 'https://github.com/mariosasko', 'followers_url': 'https://api.github.com/users/mariosasko/fol... | [{'id': 1935892871, 'node_id': 'MDU6TGFiZWwxOTM1ODkyODcx', 'url': 'https://api.github.com/repos/huggingface/datasets/labels/enhancement', 'name': 'enhancement', 'color': 'a2eeef', 'default': True, 'description': 'New feature or request'}, {'id': 1935892877, 'node_id': 'MDU6TGFiZWwxOTM1ODkyODc3', 'url': 'https://api.git... | closed | false | {'login': 'ayushthe1', 'id': 114604338, 'node_id': 'U_kgDOBtS5Mg', 'avatar_url': 'https://avatars.githubusercontent.com/u/114604338?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/ayushthe1', 'html_url': 'https://github.com/ayushthe1', 'followers_url': 'https://api.github.com/users/ayushthe1/followers', '... | [{'login': 'ayushthe1', 'id': 114604338, 'node_id': 'U_kgDOBtS5Mg', 'avatar_url': 'https://avatars.githubusercontent.com/u/114604338?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/ayushthe1', 'html_url': 'https://github.com/ayushthe1', 'followers_url': 'https://api.github.com/users/ayushthe1/followers', ... | null | [
"hey ,i would like to work on this issue . Please assign it to me.",
"hey @mariosasko , i made a pr for this issue. Could you please review it.\r\nAlso i found multiple `OSError` in `extract.py` file which i thought could be replaced too but wasn't sure about them.\r\nPlease do tell if that also needs to be done.... | 2022-10-18T17:53:46Z | 2022-10-25T15:56:59Z | 2022-10-25T15:56:59Z | CONTRIBUTOR | null | According to the official Python docs, `OSError` should be thrown in the following situations:
> This exception is raised when a system function returns a system-related error, including I/O failures such as “file not found” or “disk full” (not for illegal argument types or other incidental errors).
Hence, it makes... | {'url': 'https://api.github.com/repos/huggingface/datasets/issues/5134/reactions', 'total_count': 0, '+1': 0, '-1': 0, 'laugh': 0, 'hooray': 0, 'confused': 0, 'heart': 0, 'rocket': 0, 'eyes': 0} | https://api.github.com/repos/huggingface/datasets/issues/5134/timeline | null | completed | null | null | false |
https://api.github.com/repos/huggingface/datasets/issues/5133 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/5133/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/5133/comments | https://api.github.com/repos/huggingface/datasets/issues/5133/events | https://github.com/huggingface/datasets/issues/5133 | 1,413,623,462 | I_kwDODunzps5UQi6m | 5,133 | Tensor operation not functioning in dataset mapping | {'login': 'xinghaow99', 'id': 50691954, 'node_id': 'MDQ6VXNlcjUwNjkxOTU0', 'avatar_url': 'https://avatars.githubusercontent.com/u/50691954?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/xinghaow99', 'html_url': 'https://github.com/xinghaow99', 'followers_url': 'https://api.github.com/users/xinghaow99/fol... | [{'id': 1935892857, 'node_id': 'MDU6TGFiZWwxOTM1ODkyODU3', 'url': 'https://api.github.com/repos/huggingface/datasets/labels/bug', 'name': 'bug', 'color': 'd73a4a', 'default': True, 'description': "Something isn't working"}] | closed | false | null | [] | null | [
"Hi! The Torch ops in your snippet are not equivalent to the NumPy ones, hence the difference. You can get the same behavior by replacing the line `feature = torch.mean(feature, dim=1)` with `feature = feature.squeeze().mean(1)` .",
"> Hi! The Torch ops in your snippet are not equivalent to the NumPy ones, hence ... | 2022-10-18T17:53:35Z | 2022-10-19T04:15:45Z | 2022-10-19T04:15:44Z | NONE | null | ## Describe the bug
I'm doing a torch.mean() operation in data preprocessing, and it's not working.
## Steps to reproduce the bug
```
from transformers import pipeline
import torch
import numpy as np
from datasets import load_dataset
device = 'cuda:0'
raw_dataset = load_dataset("glue", "sst2")
feature_extra... | {'url': 'https://api.github.com/repos/huggingface/datasets/issues/5133/reactions', 'total_count': 0, '+1': 0, '-1': 0, 'laugh': 0, 'hooray': 0, 'confused': 0, 'heart': 0, 'rocket': 0, 'eyes': 0} | https://api.github.com/repos/huggingface/datasets/issues/5133/timeline | null | completed | null | null | false |
https://api.github.com/repos/huggingface/datasets/issues/5132 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/5132/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/5132/comments | https://api.github.com/repos/huggingface/datasets/issues/5132/events | https://github.com/huggingface/datasets/issues/5132 | 1,413,607,306 | I_kwDODunzps5UQe-K | 5,132 | Depracate `num_proc` parameter in `DownloadManager.extract` | {'login': 'mariosasko', 'id': 47462742, 'node_id': 'MDQ6VXNlcjQ3NDYyNzQy', 'avatar_url': 'https://avatars.githubusercontent.com/u/47462742?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/mariosasko', 'html_url': 'https://github.com/mariosasko', 'followers_url': 'https://api.github.com/users/mariosasko/fol... | [{'id': 1935892871, 'node_id': 'MDU6TGFiZWwxOTM1ODkyODcx', 'url': 'https://api.github.com/repos/huggingface/datasets/labels/enhancement', 'name': 'enhancement', 'color': 'a2eeef', 'default': True, 'description': 'New feature or request'}, {'id': 1935892877, 'node_id': 'MDU6TGFiZWwxOTM1ODkyODc3', 'url': 'https://api.git... | closed | false | {'login': 'ayushthe1', 'id': 114604338, 'node_id': 'U_kgDOBtS5Mg', 'avatar_url': 'https://avatars.githubusercontent.com/u/114604338?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/ayushthe1', 'html_url': 'https://github.com/ayushthe1', 'followers_url': 'https://api.github.com/users/ayushthe1/followers', '... | [{'login': 'ayushthe1', 'id': 114604338, 'node_id': 'U_kgDOBtS5Mg', 'avatar_url': 'https://avatars.githubusercontent.com/u/114604338?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/ayushthe1', 'html_url': 'https://github.com/ayushthe1', 'followers_url': 'https://api.github.com/users/ayushthe1/followers', ... | null | [
"I can take this! #self-assign",
"#self-assign",
"@lazarust i'm already working on this issue :smile: ",
"#self-assign",
"hey @mariosasko , i made a pr for this issue. Could you please review it."
] | 2022-10-18T17:41:05Z | 2022-10-25T15:56:46Z | 2022-10-25T15:56:46Z | CONTRIBUTOR | null | The `num_proc` parameter is only present in `DownloadManager.extract` but not in `StreamingDownloadManager.extract`, making it impossible to support streaming in the dataset scripts that use it (`openwebtext` and `the_pile_stack_exchange`). We can avoid this situation by deprecating this parameter and passing `Download... | {'url': 'https://api.github.com/repos/huggingface/datasets/issues/5132/reactions', 'total_count': 0, '+1': 0, '-1': 0, 'laugh': 0, 'hooray': 0, 'confused': 0, 'heart': 0, 'rocket': 0, 'eyes': 0} | https://api.github.com/repos/huggingface/datasets/issues/5132/timeline | null | completed | null | null | false |
https://api.github.com/repos/huggingface/datasets/issues/5131 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/5131/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/5131/comments | https://api.github.com/repos/huggingface/datasets/issues/5131/events | https://github.com/huggingface/datasets/issues/5131 | 1,413,534,863 | I_kwDODunzps5UQNSP | 5,131 | WikiText 103 tokenizer hangs | {'login': 'TrentBrick', 'id': 12433427, 'node_id': 'MDQ6VXNlcjEyNDMzNDI3', 'avatar_url': 'https://avatars.githubusercontent.com/u/12433427?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/TrentBrick', 'html_url': 'https://github.com/TrentBrick', 'followers_url': 'https://api.github.com/users/TrentBrick/fol... | [{'id': 1935892857, 'node_id': 'MDU6TGFiZWwxOTM1ODkyODU3', 'url': 'https://api.github.com/repos/huggingface/datasets/labels/bug', 'name': 'bug', 'color': 'd73a4a', 'default': True, 'description': "Something isn't working"}] | open | false | null | [] | null | [] | 2022-10-18T16:44:00Z | 2022-10-18T16:44:00Z | null | NONE | null | See issue here: https://github.com/huggingface/transformers/issues/19702 | {'url': 'https://api.github.com/repos/huggingface/datasets/issues/5131/reactions', 'total_count': 0, '+1': 0, '-1': 0, 'laugh': 0, 'hooray': 0, 'confused': 0, 'heart': 0, 'rocket': 0, 'eyes': 0} | https://api.github.com/repos/huggingface/datasets/issues/5131/timeline | null | null | null | null | false |
https://api.github.com/repos/huggingface/datasets/issues/5130 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/5130/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/5130/comments | https://api.github.com/repos/huggingface/datasets/issues/5130/events | https://github.com/huggingface/datasets/pull/5130 | 1,413,435,000 | PR_kwDODunzps5BBxXX | 5,130 | Avoid extra cast in `class_encode_column` | {'login': 'mariosasko', 'id': 47462742, 'node_id': 'MDQ6VXNlcjQ3NDYyNzQy', 'avatar_url': 'https://avatars.githubusercontent.com/u/47462742?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/mariosasko', 'html_url': 'https://github.com/mariosasko', 'followers_url': 'https://api.github.com/users/mariosasko/fol... | [] | closed | false | null | [] | null | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 2022-10-18T15:31:24Z | 2022-10-19T11:53:02Z | 2022-10-19T11:50:46Z | CONTRIBUTOR | null | Pass the updated features to `map` to avoid the `cast` in `class_encode_column`. | {'url': 'https://api.github.com/repos/huggingface/datasets/issues/5130/reactions', 'total_count': 0, '+1': 0, '-1': 0, 'laugh': 0, 'hooray': 0, 'confused': 0, 'heart': 0, 'rocket': 0, 'eyes': 0} | https://api.github.com/repos/huggingface/datasets/issues/5130/timeline | null | null | false | {'url': 'https://api.github.com/repos/huggingface/datasets/pulls/5130', 'html_url': 'https://github.com/huggingface/datasets/pull/5130', 'diff_url': 'https://github.com/huggingface/datasets/pull/5130.diff', 'patch_url': 'https://github.com/huggingface/datasets/pull/5130.patch', 'merged_at': '2022-10-19T11:50:46Z'} | true |
https://api.github.com/repos/huggingface/datasets/issues/5129 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/5129/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/5129/comments | https://api.github.com/repos/huggingface/datasets/issues/5129/events | https://github.com/huggingface/datasets/issues/5129 | 1,413,031,664 | I_kwDODunzps5UOSbw | 5,129 | unexpected `cast` or `class_encode_column` result after `rename_column` | {'login': 'quaeast', 'id': 35144675, 'node_id': 'MDQ6VXNlcjM1MTQ0Njc1', 'avatar_url': 'https://avatars.githubusercontent.com/u/35144675?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/quaeast', 'html_url': 'https://github.com/quaeast', 'followers_url': 'https://api.github.com/users/quaeast/followers', 'fo... | [{'id': 1935892857, 'node_id': 'MDU6TGFiZWwxOTM1ODkyODU3', 'url': 'https://api.github.com/repos/huggingface/datasets/labels/bug', 'name': 'bug', 'color': 'd73a4a', 'default': True, 'description': "Something isn't working"}] | closed | false | null | [] | null | [
"Hi! Unfortunately, I can't reproduce this issue locally (in Python 3.7/3.10) or in Colab. I would assume this is due to a bug we fixed in the latest release, but your version is up-to-date, so I'm not sure if there is something we can do to help...",
"Hi, 方子东. I tried running the code with exact the same configu... | 2022-10-18T11:15:24Z | 2022-10-19T03:02:26Z | 2022-10-19T03:02:26Z | NONE | null | ## Describe the bug
When invoke `cast` or `class_encode_column` to a colunm renamed by `rename_column` , it will convert all the variables in this column into one variable. I also run this script in version 2.5.2, this bug does not appear. So I switched to the older version.
## Steps to reproduce the bug
```python... | {'url': 'https://api.github.com/repos/huggingface/datasets/issues/5129/reactions', 'total_count': 0, '+1': 0, '-1': 0, 'laugh': 0, 'hooray': 0, 'confused': 0, 'heart': 0, 'rocket': 0, 'eyes': 0} | https://api.github.com/repos/huggingface/datasets/issues/5129/timeline | null | completed | null | null | false |
https://api.github.com/repos/huggingface/datasets/issues/5128 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/5128/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/5128/comments | https://api.github.com/repos/huggingface/datasets/issues/5128/events | https://github.com/huggingface/datasets/pull/5128 | 1,412,783,855 | PR_kwDODunzps5A_k9s | 5,128 | Make filename matching more robust | {'login': 'riccardobucco', 'id': 9295277, 'node_id': 'MDQ6VXNlcjkyOTUyNzc=', 'avatar_url': 'https://avatars.githubusercontent.com/u/9295277?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/riccardobucco', 'html_url': 'https://github.com/riccardobucco', 'followers_url': 'https://api.github.com/users/riccard... | [] | closed | false | null | [] | null | [
"_The documentation is not available anymore as the PR was closed or merged._",
"> I think we should also modify one of the metadata files in the `folder_based_builder` tests to make sure \"./\" is ignored now in the `file_name`\r\n\r\n@mariosasko what do you mean here? I'm not sure which metadata file I should m... | 2022-10-18T08:22:48Z | 2022-10-28T13:07:38Z | 2022-10-28T13:05:06Z | CONTRIBUTOR | null | Fix #5046 | {'url': 'https://api.github.com/repos/huggingface/datasets/issues/5128/reactions', 'total_count': 0, '+1': 0, '-1': 0, 'laugh': 0, 'hooray': 0, 'confused': 0, 'heart': 0, 'rocket': 0, 'eyes': 0} | https://api.github.com/repos/huggingface/datasets/issues/5128/timeline | null | null | false | {'url': 'https://api.github.com/repos/huggingface/datasets/pulls/5128', 'html_url': 'https://github.com/huggingface/datasets/pull/5128', 'diff_url': 'https://github.com/huggingface/datasets/pull/5128.diff', 'patch_url': 'https://github.com/huggingface/datasets/pull/5128.patch', 'merged_at': '2022-10-28T13:05:06Z'} | true |
https://api.github.com/repos/huggingface/datasets/issues/5127 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/5127/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/5127/comments | https://api.github.com/repos/huggingface/datasets/issues/5127/events | https://github.com/huggingface/datasets/pull/5127 | 1,411,897,544 | PR_kwDODunzps5A8m-Q | 5,127 | [WIP] WebDataset export | {'login': 'lhoestq', 'id': 42851186, 'node_id': 'MDQ6VXNlcjQyODUxMTg2', 'avatar_url': 'https://avatars.githubusercontent.com/u/42851186?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/lhoestq', 'html_url': 'https://github.com/lhoestq', 'followers_url': 'https://api.github.com/users/lhoestq/followers', 'fo... | [] | open | false | null | [] | null | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_5127). All of your documentation changes will be reflected on that endpoint."
] | 2022-10-17T16:50:22Z | 2023-02-22T09:51:10Z | null | MEMBER | null | I added a first draft of the `IterableDataset.to_wds` method.
You can use it to savea dataset loaded in streamign mode as a webdataset locally.
The API can be further improved to allow to export to a cloud storage like the HF Hub.
I also included sharding with a default max shard size of 500MB (uncompressed), an... | {'url': 'https://api.github.com/repos/huggingface/datasets/issues/5127/reactions', 'total_count': 0, '+1': 0, '-1': 0, 'laugh': 0, 'hooray': 0, 'confused': 0, 'heart': 0, 'rocket': 0, 'eyes': 0} | https://api.github.com/repos/huggingface/datasets/issues/5127/timeline | null | null | true | {'url': 'https://api.github.com/repos/huggingface/datasets/pulls/5127', 'html_url': 'https://github.com/huggingface/datasets/pull/5127', 'diff_url': 'https://github.com/huggingface/datasets/pull/5127.diff', 'patch_url': 'https://github.com/huggingface/datasets/pull/5127.patch', 'merged_at': None} | true |
https://api.github.com/repos/huggingface/datasets/issues/5126 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/5126/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/5126/comments | https://api.github.com/repos/huggingface/datasets/issues/5126/events | https://github.com/huggingface/datasets/pull/5126 | 1,411,757,124 | PR_kwDODunzps5A8Iw3 | 5,126 | Fix class name of symbolic link | {'login': 'riccardobucco', 'id': 9295277, 'node_id': 'MDQ6VXNlcjkyOTUyNzc=', 'avatar_url': 'https://avatars.githubusercontent.com/u/9295277?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/riccardobucco', 'html_url': 'https://github.com/riccardobucco', 'followers_url': 'https://api.github.com/users/riccard... | [] | closed | false | null | [] | null | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_5126). All of your documentation changes will be reflected on that endpoint.",
"I have removed the reference to the Issue in the PR title, so that we avoid to have both references (to the issue and to the PR) in the merge commi... | 2022-10-17T15:11:02Z | 2022-11-14T14:40:18Z | 2022-11-14T14:40:18Z | CONTRIBUTOR | null | Fix #5098 | {'url': 'https://api.github.com/repos/huggingface/datasets/issues/5126/reactions', 'total_count': 0, '+1': 0, '-1': 0, 'laugh': 0, 'hooray': 0, 'confused': 0, 'heart': 0, 'rocket': 0, 'eyes': 0} | https://api.github.com/repos/huggingface/datasets/issues/5126/timeline | null | null | false | {'url': 'https://api.github.com/repos/huggingface/datasets/pulls/5126', 'html_url': 'https://github.com/huggingface/datasets/pull/5126', 'diff_url': 'https://github.com/huggingface/datasets/pull/5126.diff', 'patch_url': 'https://github.com/huggingface/datasets/pull/5126.patch', 'merged_at': '2022-11-14T14:40:18Z'} | true |
https://api.github.com/repos/huggingface/datasets/issues/5125 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/5125/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/5125/comments | https://api.github.com/repos/huggingface/datasets/issues/5125/events | https://github.com/huggingface/datasets/pull/5125 | 1,411,602,813 | PR_kwDODunzps5A7nr8 | 5,125 | Add `pyproject.toml` for `black` | {'login': 'mariosasko', 'id': 47462742, 'node_id': 'MDQ6VXNlcjQ3NDYyNzQy', 'avatar_url': 'https://avatars.githubusercontent.com/u/47462742?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/mariosasko', 'html_url': 'https://github.com/mariosasko', 'followers_url': 'https://api.github.com/users/mariosasko/fol... | [] | closed | false | null | [] | null | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 2022-10-17T13:38:47Z | 2022-10-17T14:23:27Z | 2022-10-17T14:21:09Z | CONTRIBUTOR | null | Add `pyproject.toml` as a config file for the `black` tool to support VS Code's auto-formatting on save (and to be more consistent with the other HF projects).
| {'url': 'https://api.github.com/repos/huggingface/datasets/issues/5125/reactions', 'total_count': 0, '+1': 0, '-1': 0, 'laugh': 0, 'hooray': 0, 'confused': 0, 'heart': 0, 'rocket': 0, 'eyes': 0} | https://api.github.com/repos/huggingface/datasets/issues/5125/timeline | null | null | false | {'url': 'https://api.github.com/repos/huggingface/datasets/pulls/5125', 'html_url': 'https://github.com/huggingface/datasets/pull/5125', 'diff_url': 'https://github.com/huggingface/datasets/pull/5125.diff', 'patch_url': 'https://github.com/huggingface/datasets/pull/5125.patch', 'merged_at': '2022-10-17T14:21:09Z'} | true |
https://api.github.com/repos/huggingface/datasets/issues/5124 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/5124/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/5124/comments | https://api.github.com/repos/huggingface/datasets/issues/5124/events | https://github.com/huggingface/datasets/pull/5124 | 1,411,159,725 | PR_kwDODunzps5A6HeL | 5,124 | Install tensorflow-macos dependency conditionally | {'login': 'albertvillanova', 'id': 8515462, 'node_id': 'MDQ6VXNlcjg1MTU0NjI=', 'avatar_url': 'https://avatars.githubusercontent.com/u/8515462?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/albertvillanova', 'html_url': 'https://github.com/albertvillanova', 'followers_url': 'https://api.github.com/users/a... | [] | closed | false | null | [] | null | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 2022-10-17T08:45:08Z | 2022-10-19T09:12:17Z | 2022-10-19T09:10:06Z | MEMBER | null | Fix #5118. | {'url': 'https://api.github.com/repos/huggingface/datasets/issues/5124/reactions', 'total_count': 0, '+1': 0, '-1': 0, 'laugh': 0, 'hooray': 0, 'confused': 0, 'heart': 0, 'rocket': 0, 'eyes': 0} | https://api.github.com/repos/huggingface/datasets/issues/5124/timeline | null | null | false | {'url': 'https://api.github.com/repos/huggingface/datasets/pulls/5124', 'html_url': 'https://github.com/huggingface/datasets/pull/5124', 'diff_url': 'https://github.com/huggingface/datasets/pull/5124.diff', 'patch_url': 'https://github.com/huggingface/datasets/pull/5124.patch', 'merged_at': '2022-10-19T09:10:06Z'} | true |
https://api.github.com/repos/huggingface/datasets/issues/5123 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/5123/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/5123/comments | https://api.github.com/repos/huggingface/datasets/issues/5123/events | https://github.com/huggingface/datasets/issues/5123 | 1,410,828,756 | I_kwDODunzps5UF4nU | 5,123 | datasets freezes with streaming mode in multiple-gpu | {'login': 'jackfeinmann5', 'id': 59409879, 'node_id': 'MDQ6VXNlcjU5NDA5ODc5', 'avatar_url': 'https://avatars.githubusercontent.com/u/59409879?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/jackfeinmann5', 'html_url': 'https://github.com/jackfeinmann5', 'followers_url': 'https://api.github.com/users/jackf... | [{'id': 1935892857, 'node_id': 'MDU6TGFiZWwxOTM1ODkyODU3', 'url': 'https://api.github.com/repos/huggingface/datasets/labels/bug', 'name': 'bug', 'color': 'd73a4a', 'default': True, 'description': "Something isn't working"}] | open | false | null | [] | null | [
"@lhoestq I tested the script without accelerator, and I confirm this is due to datasets part as this gets similar results without accelerator.",
"Hi ! You said it works on 1 GPU but doesn't wortk without accelerator - what's the difference between running on 1 GPU and running without accelerator in your case ?"... | 2022-10-17T03:28:16Z | 2023-05-14T06:55:20Z | null | NONE | null | ## Describe the bug
Hi. I am using this dataloader, which is for processing large datasets in streaming mode mentioned in one of examples of huggingface. I am using it to read c4: https://github.com/huggingface/transformers/blob/b48ac1a094e572d6076b46a9e4ed3e0ebe978afc/examples/research_projects/codeparrot/scripts/cod... | {'url': 'https://api.github.com/repos/huggingface/datasets/issues/5123/reactions', 'total_count': 0, '+1': 0, '-1': 0, 'laugh': 0, 'hooray': 0, 'confused': 0, 'heart': 0, 'rocket': 0, 'eyes': 0} | https://api.github.com/repos/huggingface/datasets/issues/5123/timeline | null | null | null | null | false |
https://api.github.com/repos/huggingface/datasets/issues/5122 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/5122/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/5122/comments | https://api.github.com/repos/huggingface/datasets/issues/5122/events | https://github.com/huggingface/datasets/pull/5122 | 1,410,732,403 | PR_kwDODunzps5A4rWn | 5,122 | Add warning | {'login': 'Salehbigdeli', 'id': 34204311, 'node_id': 'MDQ6VXNlcjM0MjA0MzEx', 'avatar_url': 'https://avatars.githubusercontent.com/u/34204311?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/Salehbigdeli', 'html_url': 'https://github.com/Salehbigdeli', 'followers_url': 'https://api.github.com/users/Salehbig... | [] | closed | false | null | [] | null | [
"As mentioned in https://github.com/huggingface/datasets/issues/5105 I think we just need to keep the existing files instead of deleting them.\r\nThe `dataset_info.json` file contains the split names anyway, so we know which files belong to the dataset, and which ones don't."
] | 2022-10-17T01:30:37Z | 2022-11-05T12:23:53Z | 2022-11-05T12:23:53Z | NONE | null | Fixes: #5105
I think removing the directory with warning is a better solution for this issue. Because if we decide to keep existing files in directory, then we should deal with the case providing same directory for several datasets! Which we know is not possible since `dataset_info.json` exists in that directory. | {'url': 'https://api.github.com/repos/huggingface/datasets/issues/5122/reactions', 'total_count': 0, '+1': 0, '-1': 0, 'laugh': 0, 'hooray': 0, 'confused': 0, 'heart': 0, 'rocket': 0, 'eyes': 0} | https://api.github.com/repos/huggingface/datasets/issues/5122/timeline | null | null | false | {'url': 'https://api.github.com/repos/huggingface/datasets/pulls/5122', 'html_url': 'https://github.com/huggingface/datasets/pull/5122', 'diff_url': 'https://github.com/huggingface/datasets/pull/5122.diff', 'patch_url': 'https://github.com/huggingface/datasets/pull/5122.patch', 'merged_at': None} | true |
https://api.github.com/repos/huggingface/datasets/issues/5121 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/5121/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/5121/comments | https://api.github.com/repos/huggingface/datasets/issues/5121/events | https://github.com/huggingface/datasets/pull/5121 | 1,410,681,067 | PR_kwDODunzps5A4gUB | 5,121 | Bugfix ignore function when creating new_fingerprint for caching | {'login': 'Salehbigdeli', 'id': 34204311, 'node_id': 'MDQ6VXNlcjM0MjA0MzEx', 'avatar_url': 'https://avatars.githubusercontent.com/u/34204311?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/Salehbigdeli', 'html_url': 'https://github.com/Salehbigdeli', 'followers_url': 'https://api.github.com/users/Salehbig... | [] | closed | false | null | [] | null | [
"Adding \"function\" to the kwargs to ignore when computing the fingerprint will break `map` caching. Indeed passing two different function would result in two different datasets that have the same fingerprint - and the cache wouldn't be able to distinguish them.\r\n\r\nE.g this code would reload ds1 from the cache... | 2022-10-17T00:03:43Z | 2022-10-17T12:39:36Z | 2022-10-17T12:39:36Z | NONE | null | maybe fixes: #5109 | {'url': 'https://api.github.com/repos/huggingface/datasets/issues/5121/reactions', 'total_count': 0, '+1': 0, '-1': 0, 'laugh': 0, 'hooray': 0, 'confused': 0, 'heart': 0, 'rocket': 0, 'eyes': 0} | https://api.github.com/repos/huggingface/datasets/issues/5121/timeline | null | null | false | {'url': 'https://api.github.com/repos/huggingface/datasets/pulls/5121', 'html_url': 'https://github.com/huggingface/datasets/pull/5121', 'diff_url': 'https://github.com/huggingface/datasets/pull/5121.diff', 'patch_url': 'https://github.com/huggingface/datasets/pull/5121.patch', 'merged_at': None} | true |
https://api.github.com/repos/huggingface/datasets/issues/5120 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/5120/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/5120/comments | https://api.github.com/repos/huggingface/datasets/issues/5120/events | https://github.com/huggingface/datasets/pull/5120 | 1,410,641,221 | PR_kwDODunzps5A4X10 | 5,120 | Fix `tqdm` zip bug | {'login': 'david1542', 'id': 9879252, 'node_id': 'MDQ6VXNlcjk4NzkyNTI=', 'avatar_url': 'https://avatars.githubusercontent.com/u/9879252?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/david1542', 'html_url': 'https://github.com/david1542', 'followers_url': 'https://api.github.com/users/david1542/followers... | [] | closed | false | null | [] | null | [
"@albertvillanova Thanks for your comment. What do you think about creating 2 `pbar` for each case? I see the `pbar_iterable` is initialized differently. Maybe `pbar` can also be initialized like that.",
"@albertvillanova Another solution I implemented is to change `pbar_iterable` and add the `zip` to it. I updat... | 2022-10-16T22:19:18Z | 2022-10-23T10:27:53Z | 2022-10-19T08:53:17Z | CONTRIBUTOR | null | This PR solves #5117, by wrapping the entire `zip` clause in tqdm.
For more information, please checkout this Stack Overflow thread:
https://stackoverflow.com/questions/41171191/tqdm-progressbar-and-zip-built-in-do-not-work-together | {'url': 'https://api.github.com/repos/huggingface/datasets/issues/5120/reactions', 'total_count': 0, '+1': 0, '-1': 0, 'laugh': 0, 'hooray': 0, 'confused': 0, 'heart': 0, 'rocket': 0, 'eyes': 0} | https://api.github.com/repos/huggingface/datasets/issues/5120/timeline | null | null | false | {'url': 'https://api.github.com/repos/huggingface/datasets/pulls/5120', 'html_url': 'https://github.com/huggingface/datasets/pull/5120', 'diff_url': 'https://github.com/huggingface/datasets/pull/5120.diff', 'patch_url': 'https://github.com/huggingface/datasets/pull/5120.patch', 'merged_at': '2022-10-19T08:53:17Z'} | true |
https://api.github.com/repos/huggingface/datasets/issues/5119 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/5119/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/5119/comments | https://api.github.com/repos/huggingface/datasets/issues/5119/events | https://github.com/huggingface/datasets/pull/5119 | 1,410,561,363 | PR_kwDODunzps5A4IQp | 5,119 | [TYPO] Update new_dataset_script.py | {'login': 'cakiki', 'id': 3664563, 'node_id': 'MDQ6VXNlcjM2NjQ1NjM=', 'avatar_url': 'https://avatars.githubusercontent.com/u/3664563?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/cakiki', 'html_url': 'https://github.com/cakiki', 'followers_url': 'https://api.github.com/users/cakiki/followers', 'followin... | [] | closed | false | null | [] | null | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 2022-10-16T17:36:49Z | 2022-10-19T09:48:19Z | 2022-10-19T09:45:59Z | CONTRIBUTOR | null | null | {'url': 'https://api.github.com/repos/huggingface/datasets/issues/5119/reactions', 'total_count': 0, '+1': 0, '-1': 0, 'laugh': 0, 'hooray': 0, 'confused': 0, 'heart': 0, 'rocket': 0, 'eyes': 0} | https://api.github.com/repos/huggingface/datasets/issues/5119/timeline | null | null | false | {'url': 'https://api.github.com/repos/huggingface/datasets/pulls/5119', 'html_url': 'https://github.com/huggingface/datasets/pull/5119', 'diff_url': 'https://github.com/huggingface/datasets/pull/5119.diff', 'patch_url': 'https://github.com/huggingface/datasets/pull/5119.patch', 'merged_at': '2022-10-19T09:45:59Z'} | true |
https://api.github.com/repos/huggingface/datasets/issues/5118 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/5118/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/5118/comments | https://api.github.com/repos/huggingface/datasets/issues/5118/events | https://github.com/huggingface/datasets/issues/5118 | 1,410,547,373 | I_kwDODunzps5UEz6t | 5,118 | Installing `datasets` on M1 computers | {'login': 'david1542', 'id': 9879252, 'node_id': 'MDQ6VXNlcjk4NzkyNTI=', 'avatar_url': 'https://avatars.githubusercontent.com/u/9879252?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/david1542', 'html_url': 'https://github.com/david1542', 'followers_url': 'https://api.github.com/users/david1542/followers... | [{'id': 1935892857, 'node_id': 'MDU6TGFiZWwxOTM1ODkyODU3', 'url': 'https://api.github.com/repos/huggingface/datasets/labels/bug', 'name': 'bug', 'color': 'd73a4a', 'default': True, 'description': "Something isn't working"}] | closed | false | {'login': 'albertvillanova', 'id': 8515462, 'node_id': 'MDQ6VXNlcjg1MTU0NjI=', 'avatar_url': 'https://avatars.githubusercontent.com/u/8515462?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/albertvillanova', 'html_url': 'https://github.com/albertvillanova', 'followers_url': 'https://api.github.com/users/a... | [{'login': 'albertvillanova', 'id': 8515462, 'node_id': 'MDQ6VXNlcjg1MTU0NjI=', 'avatar_url': 'https://avatars.githubusercontent.com/u/8515462?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/albertvillanova', 'html_url': 'https://github.com/albertvillanova', 'followers_url': 'https://api.github.com/users/... | null | [
"Thanks for reporting, @david1542."
] | 2022-10-16T16:50:08Z | 2022-10-19T09:10:08Z | 2022-10-19T09:10:08Z | CONTRIBUTOR | null | ## Describe the bug
I wanted to install `datasets` dependencies on my M1 (in order to start contributing to the project). However, I got an error regarding `tensorflow`.
On M1, `tensorflow-macos` needs to be installed instead. Can we add a conditional requirement, so that `tensorflow-macos` would be installed on M1... | {'url': 'https://api.github.com/repos/huggingface/datasets/issues/5118/reactions', 'total_count': 0, '+1': 0, '-1': 0, 'laugh': 0, 'hooray': 0, 'confused': 0, 'heart': 0, 'rocket': 0, 'eyes': 0} | https://api.github.com/repos/huggingface/datasets/issues/5118/timeline | null | completed | null | null | false |
https://api.github.com/repos/huggingface/datasets/issues/5117 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/5117/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/5117/comments | https://api.github.com/repos/huggingface/datasets/issues/5117/events | https://github.com/huggingface/datasets/issues/5117 | 1,409,571,346 | I_kwDODunzps5UBFoS | 5,117 | Progress bars have color red and never completed to 100% | {'login': 'echatzikyriakidis', 'id': 63857529, 'node_id': 'MDQ6VXNlcjYzODU3NTI5', 'avatar_url': 'https://avatars.githubusercontent.com/u/63857529?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/echatzikyriakidis', 'html_url': 'https://github.com/echatzikyriakidis', 'followers_url': 'https://api.github.com... | [{'id': 1935892857, 'node_id': 'MDU6TGFiZWwxOTM1ODkyODU3', 'url': 'https://api.github.com/repos/huggingface/datasets/labels/bug', 'name': 'bug', 'color': 'd73a4a', 'default': True, 'description': "Something isn't working"}] | closed | false | {'login': 'david1542', 'id': 9879252, 'node_id': 'MDQ6VXNlcjk4NzkyNTI=', 'avatar_url': 'https://avatars.githubusercontent.com/u/9879252?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/david1542', 'html_url': 'https://github.com/david1542', 'followers_url': 'https://api.github.com/users/david1542/followers... | [{'login': 'david1542', 'id': 9879252, 'node_id': 'MDQ6VXNlcjk4NzkyNTI=', 'avatar_url': 'https://avatars.githubusercontent.com/u/9879252?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/david1542', 'html_url': 'https://github.com/david1542', 'followers_url': 'https://api.github.com/users/david1542/follower... | null | [
"Hi @echatzikyriakidis, thanks for submitting the issue.\r\nWhich shell are you using exactly? I tried to run the command you sent, but I don't see colors at all 🧐\r\n\r\nI tried from bash and zsh as well.",
"Hi @david1542 ,\r\n\r\nI use Google Colab.\r\n",
"Got it. I [created a PR](https://github.com/huggingf... | 2022-10-14T16:12:30Z | 2022-10-23T12:58:41Z | 2022-10-23T12:58:41Z | NONE | null | ## Describe the bug
Progress bars after transformative operations turn in red and never be completed to 100%
## Steps to reproduce the bug
```python
from datasets import load_dataset
load_dataset('rotten_tomatoes', split='test').filter(lambda o: True)
```
## Expected results
Progress bar should be 100% an... | {'url': 'https://api.github.com/repos/huggingface/datasets/issues/5117/reactions', 'total_count': 0, '+1': 0, '-1': 0, 'laugh': 0, 'hooray': 0, 'confused': 0, 'heart': 0, 'rocket': 0, 'eyes': 0} | https://api.github.com/repos/huggingface/datasets/issues/5117/timeline | null | completed | null | null | false |
https://api.github.com/repos/huggingface/datasets/issues/5116 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/5116/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/5116/comments | https://api.github.com/repos/huggingface/datasets/issues/5116/events | https://github.com/huggingface/datasets/pull/5116 | 1,409,549,471 | PR_kwDODunzps5A09sk | 5,116 | Use yaml for issue templates + revamp | {'login': 'mariosasko', 'id': 47462742, 'node_id': 'MDQ6VXNlcjQ3NDYyNzQy', 'avatar_url': 'https://avatars.githubusercontent.com/u/47462742?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/mariosasko', 'html_url': 'https://github.com/mariosasko', 'followers_url': 'https://api.github.com/users/mariosasko/fol... | [] | closed | false | null | [] | null | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 2022-10-14T15:53:13Z | 2022-10-19T13:05:49Z | 2022-10-19T13:03:22Z | CONTRIBUTOR | null | Use YAML instead of markdown (more expressive) for the issue templates. In addition, update their structure/fields to be more aligned with Transformers.
PS: also removes the "add_dataset" PR template, as we no longer accept such PRs. | {'url': 'https://api.github.com/repos/huggingface/datasets/issues/5116/reactions', 'total_count': 0, '+1': 0, '-1': 0, 'laugh': 0, 'hooray': 0, 'confused': 0, 'heart': 0, 'rocket': 0, 'eyes': 0} | https://api.github.com/repos/huggingface/datasets/issues/5116/timeline | null | null | false | {'url': 'https://api.github.com/repos/huggingface/datasets/pulls/5116', 'html_url': 'https://github.com/huggingface/datasets/pull/5116', 'diff_url': 'https://github.com/huggingface/datasets/pull/5116.diff', 'patch_url': 'https://github.com/huggingface/datasets/pull/5116.patch', 'merged_at': '2022-10-19T13:03:22Z'} | true |
https://api.github.com/repos/huggingface/datasets/issues/5115 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/5115/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/5115/comments | https://api.github.com/repos/huggingface/datasets/issues/5115/events | https://github.com/huggingface/datasets/pull/5115 | 1,409,250,020 | PR_kwDODunzps5Az9Pm | 5,115 | Fix iter_batches | {'login': 'lhoestq', 'id': 42851186, 'node_id': 'MDQ6VXNlcjQyODUxMTg2', 'avatar_url': 'https://avatars.githubusercontent.com/u/42851186?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/lhoestq', 'html_url': 'https://github.com/lhoestq', 'followers_url': 'https://api.github.com/users/lhoestq/followers', 'fo... | [] | closed | false | null | [] | null | [
"_The documentation is not available anymore as the PR was closed or merged._",
"I also ran the code in https://github.com/huggingface/datasets/issues/5111 and it works fine now :)",
"This is ready for review :)"
] | 2022-10-14T12:06:14Z | 2022-10-14T15:02:15Z | 2022-10-14T14:59:58Z | MEMBER | null | The `pa.Table.to_reader()` method available in `pyarrow>=8.0.0` may return chunks of size < `max_chunksize`, therefore `iter_batches` can return batches smaller than the `batch_size` specified by the user
Therefore batched `map` couldn't always use batches of the right size, e.g. this fails because it runs only on o... | {'url': 'https://api.github.com/repos/huggingface/datasets/issues/5115/reactions', 'total_count': 0, '+1': 0, '-1': 0, 'laugh': 0, 'hooray': 0, 'confused': 0, 'heart': 0, 'rocket': 0, 'eyes': 0} | https://api.github.com/repos/huggingface/datasets/issues/5115/timeline | null | null | false | {'url': 'https://api.github.com/repos/huggingface/datasets/pulls/5115', 'html_url': 'https://github.com/huggingface/datasets/pull/5115', 'diff_url': 'https://github.com/huggingface/datasets/pull/5115.diff', 'patch_url': 'https://github.com/huggingface/datasets/pull/5115.patch', 'merged_at': '2022-10-14T14:59:58Z'} | true |
https://api.github.com/repos/huggingface/datasets/issues/5114 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/5114/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/5114/comments | https://api.github.com/repos/huggingface/datasets/issues/5114/events | https://github.com/huggingface/datasets/issues/5114 | 1,409,236,738 | I_kwDODunzps5T_z8C | 5,114 | load_from_disk with remote filesystem fails due to a wrong temporary local folder path | {'login': 'Hubert-Bonisseur', 'id': 48770768, 'node_id': 'MDQ6VXNlcjQ4NzcwNzY4', 'avatar_url': 'https://avatars.githubusercontent.com/u/48770768?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/Hubert-Bonisseur', 'html_url': 'https://github.com/Hubert-Bonisseur', 'followers_url': 'https://api.github.com/us... | [{'id': 1935892857, 'node_id': 'MDU6TGFiZWwxOTM1ODkyODU3', 'url': 'https://api.github.com/repos/huggingface/datasets/labels/bug', 'name': 'bug', 'color': 'd73a4a', 'default': True, 'description': "Something isn't working"}] | open | false | null | [] | null | [
"Hi Hubert! Could you please probably create a publicly available `gs://` dataset link? I think this would be easier for others to directly start to debug.",
"What seems to work is to change the line to:\r\n```\r\nfs.download(src_dataset_path, dataset_path.parent.as_posix(), recursive=True)\r\n```"
] | 2022-10-14T11:54:53Z | 2022-11-19T07:13:10Z | null | CONTRIBUTOR | null | ## Describe the bug
The function load_from_disk fails when using a remote filesystem because of a wrong temporary path generation in the load_from_disk method of arrow_dataset.py:
```python
if is_remote_filesystem(fs):
src_dataset_path = extract_path_from_uri(dataset_path)
dataset_path = Dataset._build... | {'url': 'https://api.github.com/repos/huggingface/datasets/issues/5114/reactions', 'total_count': 0, '+1': 0, '-1': 0, 'laugh': 0, 'hooray': 0, 'confused': 0, 'heart': 0, 'rocket': 0, 'eyes': 0} | https://api.github.com/repos/huggingface/datasets/issues/5114/timeline | null | null | null | null | false |
https://api.github.com/repos/huggingface/datasets/issues/5113 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/5113/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/5113/comments | https://api.github.com/repos/huggingface/datasets/issues/5113/events | https://github.com/huggingface/datasets/pull/5113 | 1,409,207,607 | PR_kwDODunzps5Az0Ei | 5,113 | Fix filter indices when batched | {'login': 'albertvillanova', 'id': 8515462, 'node_id': 'MDQ6VXNlcjg1MTU0NjI=', 'avatar_url': 'https://avatars.githubusercontent.com/u/8515462?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/albertvillanova', 'html_url': 'https://github.com/albertvillanova', 'followers_url': 'https://api.github.com/users/a... | [] | closed | false | null | [] | null | [
"_The documentation is not available anymore as the PR was closed or merged._",
"I think a patch release will be necessary.",
"I'm also fixing https://github.com/huggingface/datasets/issues/5111 which will lalso require a patch release"
] | 2022-10-14T11:30:03Z | 2022-10-24T06:21:09Z | 2022-10-14T12:11:44Z | MEMBER | null | This PR fixes a bug introduced by:
- #5030
Fix #5112. | {'url': 'https://api.github.com/repos/huggingface/datasets/issues/5113/reactions', 'total_count': 1, '+1': 0, '-1': 0, 'laugh': 0, 'hooray': 0, 'confused': 0, 'heart': 1, 'rocket': 0, 'eyes': 0} | https://api.github.com/repos/huggingface/datasets/issues/5113/timeline | null | null | false | {'url': 'https://api.github.com/repos/huggingface/datasets/pulls/5113', 'html_url': 'https://github.com/huggingface/datasets/pull/5113', 'diff_url': 'https://github.com/huggingface/datasets/pull/5113.diff', 'patch_url': 'https://github.com/huggingface/datasets/pull/5113.patch', 'merged_at': '2022-10-14T12:11:44Z'} | true |
https://api.github.com/repos/huggingface/datasets/issues/5112 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/5112/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/5112/comments | https://api.github.com/repos/huggingface/datasets/issues/5112/events | https://github.com/huggingface/datasets/issues/5112 | 1,409,143,409 | I_kwDODunzps5T_dJx | 5,112 | Bug with filtered indices | {'login': 'albertvillanova', 'id': 8515462, 'node_id': 'MDQ6VXNlcjg1MTU0NjI=', 'avatar_url': 'https://avatars.githubusercontent.com/u/8515462?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/albertvillanova', 'html_url': 'https://github.com/albertvillanova', 'followers_url': 'https://api.github.com/users/a... | [{'id': 1935892857, 'node_id': 'MDU6TGFiZWwxOTM1ODkyODU3', 'url': 'https://api.github.com/repos/huggingface/datasets/labels/bug', 'name': 'bug', 'color': 'd73a4a', 'default': True, 'description': "Something isn't working"}] | closed | false | {'login': 'albertvillanova', 'id': 8515462, 'node_id': 'MDQ6VXNlcjg1MTU0NjI=', 'avatar_url': 'https://avatars.githubusercontent.com/u/8515462?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/albertvillanova', 'html_url': 'https://github.com/albertvillanova', 'followers_url': 'https://api.github.com/users/a... | [{'login': 'albertvillanova', 'id': 8515462, 'node_id': 'MDQ6VXNlcjg1MTU0NjI=', 'avatar_url': 'https://avatars.githubusercontent.com/u/8515462?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/albertvillanova', 'html_url': 'https://github.com/albertvillanova', 'followers_url': 'https://api.github.com/users/... | null | [
"The issue is here:\r\nhttps://github.com/huggingface/datasets/blob/3ad9644b9a2e4558dd1d0f1e43c67658674e6228/src/datasets/arrow_dataset.py#L2964",
"@PartiallyTyped, @Muennighoff: the issue is fixed.\r\n\r\nWe are planning to make a patch release today.",
"Thanks a lot for the swift response! For a brief moment ... | 2022-10-14T10:35:47Z | 2022-10-14T13:55:03Z | 2022-10-14T12:11:45Z | MEMBER | null | ## Describe the bug
As reported by @PartiallyTyped (and by @Muennighoff):
- https://github.com/huggingface/datasets/issues/5111#issuecomment-1278652524
There is an issue with the indices of a filtered dataset.
## Steps to reproduce the bug
```python
ds = Dataset.from_dict({"num": [0, 1, 2, 3]})
ds = ds.filte... | {'url': 'https://api.github.com/repos/huggingface/datasets/issues/5112/reactions', 'total_count': 1, '+1': 1, '-1': 0, 'laugh': 0, 'hooray': 0, 'confused': 0, 'heart': 0, 'rocket': 0, 'eyes': 0} | https://api.github.com/repos/huggingface/datasets/issues/5112/timeline | null | completed | null | null | false |
https://api.github.com/repos/huggingface/datasets/issues/5111 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/5111/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/5111/comments | https://api.github.com/repos/huggingface/datasets/issues/5111/events | https://github.com/huggingface/datasets/issues/5111 | 1,408,143,170 | I_kwDODunzps5T7o9C | 5,111 | map and filter not working properly in multiprocessing with the new release 2.6.0 | {'login': 'loubnabnl', 'id': 44069155, 'node_id': 'MDQ6VXNlcjQ0MDY5MTU1', 'avatar_url': 'https://avatars.githubusercontent.com/u/44069155?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/loubnabnl', 'html_url': 'https://github.com/loubnabnl', 'followers_url': 'https://api.github.com/users/loubnabnl/followe... | [{'id': 1935892857, 'node_id': 'MDU6TGFiZWwxOTM1ODkyODU3', 'url': 'https://api.github.com/repos/huggingface/datasets/labels/bug', 'name': 'bug', 'color': 'd73a4a', 'default': True, 'description': "Something isn't working"}] | closed | false | {'login': 'lhoestq', 'id': 42851186, 'node_id': 'MDQ6VXNlcjQyODUxMTg2', 'avatar_url': 'https://avatars.githubusercontent.com/u/42851186?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/lhoestq', 'html_url': 'https://github.com/lhoestq', 'followers_url': 'https://api.github.com/users/lhoestq/followers', 'fo... | [{'login': 'lhoestq', 'id': 42851186, 'node_id': 'MDQ6VXNlcjQyODUxMTg2', 'avatar_url': 'https://avatars.githubusercontent.com/u/42851186?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/lhoestq', 'html_url': 'https://github.com/lhoestq', 'followers_url': 'https://api.github.com/users/lhoestq/followers', 'f... | null | [
"Same bug exists with `num_proc=1` on colab. `3.7.14 (default, Sep 8 2022, 00:06:44) [GCC 7.5.0]` ",
"Thanks for reporting, @loubnabnl and for the additional information, @PartiallyTyped.\r\n\r\nHowever, I'm not able to reproduce this issue, neither locally nor on Colab:\r\n```\r\nDataset({\r\n features: ['re... | 2022-10-13T17:00:55Z | 2022-10-17T08:26:59Z | 2022-10-14T14:59:59Z | NONE | null | ## Describe the bug
When mapping is used on a dataset with more than one process, there is a weird behavior when trying to use `filter` , it's like only the samples from one worker are retrieved, one needs to specify the same `num_proc` in filter for it to work properly. This doesn't happen with `datasets` version 2.5... | {'url': 'https://api.github.com/repos/huggingface/datasets/issues/5111/reactions', 'total_count': 1, '+1': 0, '-1': 0, 'laugh': 0, 'hooray': 0, 'confused': 0, 'heart': 1, 'rocket': 0, 'eyes': 0} | https://api.github.com/repos/huggingface/datasets/issues/5111/timeline | null | completed | null | null | false |
https://api.github.com/repos/huggingface/datasets/issues/5109 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/5109/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/5109/comments | https://api.github.com/repos/huggingface/datasets/issues/5109/events | https://github.com/huggingface/datasets/issues/5109 | 1,407,434,706 | I_kwDODunzps5T47_S | 5,109 | Map caching not working for some class methods | {'login': 'Mouhanedg56', 'id': 23029765, 'node_id': 'MDQ6VXNlcjIzMDI5NzY1', 'avatar_url': 'https://avatars.githubusercontent.com/u/23029765?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/Mouhanedg56', 'html_url': 'https://github.com/Mouhanedg56', 'followers_url': 'https://api.github.com/users/Mouhanedg56... | [{'id': 1935892857, 'node_id': 'MDU6TGFiZWwxOTM1ODkyODU3', 'url': 'https://api.github.com/repos/huggingface/datasets/labels/bug', 'name': 'bug', 'color': 'd73a4a', 'default': True, 'description': "Something isn't working"}] | closed | false | null | [] | null | [
"The hash used for caching is computed by pickling recursively the function passed to `map`. Maybe some objects don't have the same hash across sessions. In particular you can check the hash of your model using\r\n```python\r\nfrom datasets.fingerprint import Hasher\r\nobj = AutoModel.from_config(config=config, ad... | 2022-10-13T09:12:58Z | 2022-10-17T10:38:45Z | 2022-10-17T10:38:45Z | CONTRIBUTOR | null | ## Describe the bug
The cache loading is not working as expected for some class methods with a model stored in an attribute.
The new fingerprint for `_map_single` is not the same at each run. The hasher generate a different hash for the class method.
This comes from `dumps` function in `datasets.utils.py_utils` whic... | {'url': 'https://api.github.com/repos/huggingface/datasets/issues/5109/reactions', 'total_count': 0, '+1': 0, '-1': 0, 'laugh': 0, 'hooray': 0, 'confused': 0, 'heart': 0, 'rocket': 0, 'eyes': 0} | https://api.github.com/repos/huggingface/datasets/issues/5109/timeline | null | completed | null | null | false |
https://api.github.com/repos/huggingface/datasets/issues/5108 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/5108/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/5108/comments | https://api.github.com/repos/huggingface/datasets/issues/5108/events | https://github.com/huggingface/datasets/pull/5108 | 1,407,044,107 | PR_kwDODunzps5AskeK | 5,108 | Fix a typo in arrow_dataset.py | {'login': 'yangky11', 'id': 5431913, 'node_id': 'MDQ6VXNlcjU0MzE5MTM=', 'avatar_url': 'https://avatars.githubusercontent.com/u/5431913?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/yangky11', 'html_url': 'https://github.com/yangky11', 'followers_url': 'https://api.github.com/users/yangky11/followers', '... | [] | closed | false | null | [] | null | [] | 2022-10-13T02:33:55Z | 2022-10-14T09:47:28Z | 2022-10-14T09:47:27Z | CONTRIBUTOR | null | null | {'url': 'https://api.github.com/repos/huggingface/datasets/issues/5108/reactions', 'total_count': 0, '+1': 0, '-1': 0, 'laugh': 0, 'hooray': 0, 'confused': 0, 'heart': 0, 'rocket': 0, 'eyes': 0} | https://api.github.com/repos/huggingface/datasets/issues/5108/timeline | null | null | false | {'url': 'https://api.github.com/repos/huggingface/datasets/pulls/5108', 'html_url': 'https://github.com/huggingface/datasets/pull/5108', 'diff_url': 'https://github.com/huggingface/datasets/pull/5108.diff', 'patch_url': 'https://github.com/huggingface/datasets/pull/5108.patch', 'merged_at': '2022-10-14T09:47:27Z'} | true |
https://api.github.com/repos/huggingface/datasets/issues/5107 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/5107/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/5107/comments | https://api.github.com/repos/huggingface/datasets/issues/5107/events | https://github.com/huggingface/datasets/pull/5107 | 1,406,736,710 | PR_kwDODunzps5ArjCZ | 5,107 | Multiprocessed dataset builder | {'login': 'TevenLeScao', 'id': 26709476, 'node_id': 'MDQ6VXNlcjI2NzA5NDc2', 'avatar_url': 'https://avatars.githubusercontent.com/u/26709476?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/TevenLeScao', 'html_url': 'https://github.com/TevenLeScao', 'followers_url': 'https://api.github.com/users/TevenLeScao... | [] | closed | false | null | [] | null | [
"I would also like to add a test, but am not sure whether it should go into `test_builder` (more natural imo) or `test_load` (which already contains a lot of the things I have to import to run my current testing setup). For reference, what I run to test that it works looks like:\r\n\r\n```\r\nimport os\r\nfrom path... | 2022-10-12T19:59:17Z | 2022-12-01T15:37:09Z | 2022-11-09T17:11:43Z | MEMBER | null | This PR adds the multiprocessing part of #2650 (but not the caching of already-computed arrow files). On the other side, loading of sharded arrow files still needs to be implemented (sharded parquet files can already be loaded). | {'url': 'https://api.github.com/repos/huggingface/datasets/issues/5107/reactions', 'total_count': 0, '+1': 0, '-1': 0, 'laugh': 0, 'hooray': 0, 'confused': 0, 'heart': 0, 'rocket': 0, 'eyes': 0} | https://api.github.com/repos/huggingface/datasets/issues/5107/timeline | null | null | false | {'url': 'https://api.github.com/repos/huggingface/datasets/pulls/5107', 'html_url': 'https://github.com/huggingface/datasets/pull/5107', 'diff_url': 'https://github.com/huggingface/datasets/pull/5107.diff', 'patch_url': 'https://github.com/huggingface/datasets/pull/5107.patch', 'merged_at': '2022-11-09T17:11:43Z'} | true |
https://api.github.com/repos/huggingface/datasets/issues/5106 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/5106/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/5106/comments | https://api.github.com/repos/huggingface/datasets/issues/5106/events | https://github.com/huggingface/datasets/pull/5106 | 1,406,635,758 | PR_kwDODunzps5ArM6G | 5,106 | Fix task template reload from dict | {'login': 'lhoestq', 'id': 42851186, 'node_id': 'MDQ6VXNlcjQyODUxMTg2', 'avatar_url': 'https://avatars.githubusercontent.com/u/42851186?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/lhoestq', 'html_url': 'https://github.com/lhoestq', 'followers_url': 'https://api.github.com/users/lhoestq/followers', 'fo... | [] | closed | false | null | [] | null | [
"_The documentation is not available anymore as the PR was closed or merged._",
"> Just wondering if there might be other data classes default values missed that could cause an issue... Apart from feature-like classes and tasks, I don't see any others though...\r\n\r\nI think we're good ! `asdict` is used on the ... | 2022-10-12T18:33:49Z | 2022-10-13T09:59:07Z | 2022-10-13T09:56:51Z | MEMBER | null | Since #4926 the JSON dumps are simplified and it made task template dicts empty by default.
I fixed this by always including the task name which is needed to reload a task from a dict | {'url': 'https://api.github.com/repos/huggingface/datasets/issues/5106/reactions', 'total_count': 0, '+1': 0, '-1': 0, 'laugh': 0, 'hooray': 0, 'confused': 0, 'heart': 0, 'rocket': 0, 'eyes': 0} | https://api.github.com/repos/huggingface/datasets/issues/5106/timeline | null | null | false | {'url': 'https://api.github.com/repos/huggingface/datasets/pulls/5106', 'html_url': 'https://github.com/huggingface/datasets/pull/5106', 'diff_url': 'https://github.com/huggingface/datasets/pull/5106.diff', 'patch_url': 'https://github.com/huggingface/datasets/pull/5106.patch', 'merged_at': '2022-10-13T09:56:51Z'} | true |
https://api.github.com/repos/huggingface/datasets/issues/5105 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/5105/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/5105/comments | https://api.github.com/repos/huggingface/datasets/issues/5105/events | https://github.com/huggingface/datasets/issues/5105 | 1,406,078,357 | I_kwDODunzps5Tzw2V | 5,105 | Specifying an exisiting folder in download_and_prepare deletes everything in it | {'login': 'cakiki', 'id': 3664563, 'node_id': 'MDQ6VXNlcjM2NjQ1NjM=', 'avatar_url': 'https://avatars.githubusercontent.com/u/3664563?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/cakiki', 'html_url': 'https://github.com/cakiki', 'followers_url': 'https://api.github.com/users/cakiki/followers', 'followin... | [{'id': 1935892857, 'node_id': 'MDU6TGFiZWwxOTM1ODkyODU3', 'url': 'https://api.github.com/repos/huggingface/datasets/labels/bug', 'name': 'bug', 'color': 'd73a4a', 'default': True, 'description': "Something isn't working"}] | open | false | null | [] | null | [
"cc @lhoestq ",
"Thanks for reporting, @cakiki.\r\n\r\nI would say the deletion of the dir is an expected behavior though...",
"`dask.to_parquet` has an \"overwrite\" parameter and default is `False`, we could also have something similar",
"Thank you both for your feedback!\r\n\r\n@albertvillanova I think I m... | 2022-10-12T11:53:33Z | 2022-10-20T11:53:59Z | null | CONTRIBUTOR | null | ## Describe the bug
The builder correctly creates the `output_dir` folder if it doesn't exist, but if the folder exists everything within it is deleted. Specifying `"."` as the `output_dir` deletes everything in your current dir but also leads to **another bug** whose traceback is the following:
```
... | {'url': 'https://api.github.com/repos/huggingface/datasets/issues/5105/reactions', 'total_count': 0, '+1': 0, '-1': 0, 'laugh': 0, 'hooray': 0, 'confused': 0, 'heart': 0, 'rocket': 0, 'eyes': 0} | https://api.github.com/repos/huggingface/datasets/issues/5105/timeline | null | null | null | null | false |
https://api.github.com/repos/huggingface/datasets/issues/5104 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/5104/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/5104/comments | https://api.github.com/repos/huggingface/datasets/issues/5104/events | https://github.com/huggingface/datasets/pull/5104 | 1,405,973,102 | PR_kwDODunzps5Ao9Mq | 5,104 | Fix loading how to guide (#5102) | {'login': 'riccardobucco', 'id': 9295277, 'node_id': 'MDQ6VXNlcjkyOTUyNzc=', 'avatar_url': 'https://avatars.githubusercontent.com/u/9295277?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/riccardobucco', 'html_url': 'https://github.com/riccardobucco', 'followers_url': 'https://api.github.com/users/riccard... | [] | closed | false | null | [] | null | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 2022-10-12T10:34:42Z | 2022-10-12T11:34:07Z | 2022-10-12T11:31:55Z | CONTRIBUTOR | null | null | {'url': 'https://api.github.com/repos/huggingface/datasets/issues/5104/reactions', 'total_count': 0, '+1': 0, '-1': 0, 'laugh': 0, 'hooray': 0, 'confused': 0, 'heart': 0, 'rocket': 0, 'eyes': 0} | https://api.github.com/repos/huggingface/datasets/issues/5104/timeline | null | null | false | {'url': 'https://api.github.com/repos/huggingface/datasets/pulls/5104', 'html_url': 'https://github.com/huggingface/datasets/pull/5104', 'diff_url': 'https://github.com/huggingface/datasets/pull/5104.diff', 'patch_url': 'https://github.com/huggingface/datasets/pull/5104.patch', 'merged_at': '2022-10-12T11:31:55Z'} | true |
https://api.github.com/repos/huggingface/datasets/issues/5103 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/5103/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/5103/comments | https://api.github.com/repos/huggingface/datasets/issues/5103/events | https://github.com/huggingface/datasets/pull/5103 | 1,405,956,311 | PR_kwDODunzps5Ao5gI | 5,103 | url encode hub url (#5099) | {'login': 'riccardobucco', 'id': 9295277, 'node_id': 'MDQ6VXNlcjkyOTUyNzc=', 'avatar_url': 'https://avatars.githubusercontent.com/u/9295277?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/riccardobucco', 'html_url': 'https://github.com/riccardobucco', 'followers_url': 'https://api.github.com/users/riccard... | [] | closed | false | null | [] | null | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 2022-10-12T10:22:12Z | 2022-10-12T15:27:24Z | 2022-10-12T15:24:47Z | CONTRIBUTOR | null | null | {'url': 'https://api.github.com/repos/huggingface/datasets/issues/5103/reactions', 'total_count': 0, '+1': 0, '-1': 0, 'laugh': 0, 'hooray': 0, 'confused': 0, 'heart': 0, 'rocket': 0, 'eyes': 0} | https://api.github.com/repos/huggingface/datasets/issues/5103/timeline | null | null | false | {'url': 'https://api.github.com/repos/huggingface/datasets/pulls/5103', 'html_url': 'https://github.com/huggingface/datasets/pull/5103', 'diff_url': 'https://github.com/huggingface/datasets/pull/5103.diff', 'patch_url': 'https://github.com/huggingface/datasets/pull/5103.patch', 'merged_at': '2022-10-12T15:24:47Z'} | true |
https://api.github.com/repos/huggingface/datasets/issues/5102 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/5102/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/5102/comments | https://api.github.com/repos/huggingface/datasets/issues/5102/events | https://github.com/huggingface/datasets/issues/5102 | 1,404,746,554 | I_kwDODunzps5Turs6 | 5,102 | Error in create a dataset from a Python generator | {'login': 'yangxuhui', 'id': 9004682, 'node_id': 'MDQ6VXNlcjkwMDQ2ODI=', 'avatar_url': 'https://avatars.githubusercontent.com/u/9004682?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/yangxuhui', 'html_url': 'https://github.com/yangxuhui', 'followers_url': 'https://api.github.com/users/yangxuhui/followers... | [{'id': 1935892857, 'node_id': 'MDU6TGFiZWwxOTM1ODkyODU3', 'url': 'https://api.github.com/repos/huggingface/datasets/labels/bug', 'name': 'bug', 'color': 'd73a4a', 'default': True, 'description': "Something isn't working"}, {'id': 1935892877, 'node_id': 'MDU6TGFiZWwxOTM1ODkyODc3', 'url': 'https://api.github.com/repos/h... | closed | false | {'login': 'riccardobucco', 'id': 9295277, 'node_id': 'MDQ6VXNlcjkyOTUyNzc=', 'avatar_url': 'https://avatars.githubusercontent.com/u/9295277?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/riccardobucco', 'html_url': 'https://github.com/riccardobucco', 'followers_url': 'https://api.github.com/users/riccard... | [{'login': 'riccardobucco', 'id': 9295277, 'node_id': 'MDQ6VXNlcjkyOTUyNzc=', 'avatar_url': 'https://avatars.githubusercontent.com/u/9295277?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/riccardobucco', 'html_url': 'https://github.com/riccardobucco', 'followers_url': 'https://api.github.com/users/riccar... | null | [
"Hi, thanks for reporting! The last line should be `dataset = Dataset.from_generator(my_gen)`.",
"Can I work on this one?"
] | 2022-10-11T14:28:58Z | 2022-10-12T11:31:56Z | 2022-10-12T11:31:56Z | NONE | null | ## Describe the bug
In HOW-TO-GUIDES > Load > [Python generator](https://huggingface.co/docs/datasets/v2.5.2/en/loading#python-generator), the code example defines the `my_gen` function, but when creating the dataset, an undefined `my_dict` is passed in.
```Python
>>> from datasets import Dataset
>>> def my_gen... | {'url': 'https://api.github.com/repos/huggingface/datasets/issues/5102/reactions', 'total_count': 0, '+1': 0, '-1': 0, 'laugh': 0, 'hooray': 0, 'confused': 0, 'heart': 0, 'rocket': 0, 'eyes': 0} | https://api.github.com/repos/huggingface/datasets/issues/5102/timeline | null | completed | null | null | false |
https://api.github.com/repos/huggingface/datasets/issues/5101 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/5101/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/5101/comments | https://api.github.com/repos/huggingface/datasets/issues/5101/events | https://github.com/huggingface/datasets/pull/5101 | 1,404,513,085 | PR_kwDODunzps5AkHJc | 5,101 | Free the "hf" filesystem protocol for `hffs` | {'login': 'lhoestq', 'id': 42851186, 'node_id': 'MDQ6VXNlcjQyODUxMTg2', 'avatar_url': 'https://avatars.githubusercontent.com/u/42851186?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/lhoestq', 'html_url': 'https://github.com/lhoestq', 'followers_url': 'https://api.github.com/users/lhoestq/followers', 'fo... | [] | closed | false | null | [] | null | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 2022-10-11T11:57:21Z | 2022-10-12T15:32:59Z | 2022-10-12T15:30:38Z | MEMBER | null | null | {'url': 'https://api.github.com/repos/huggingface/datasets/issues/5101/reactions', 'total_count': 1, '+1': 1, '-1': 0, 'laugh': 0, 'hooray': 0, 'confused': 0, 'heart': 0, 'rocket': 0, 'eyes': 0} | https://api.github.com/repos/huggingface/datasets/issues/5101/timeline | null | null | false | {'url': 'https://api.github.com/repos/huggingface/datasets/pulls/5101', 'html_url': 'https://github.com/huggingface/datasets/pull/5101', 'diff_url': 'https://github.com/huggingface/datasets/pull/5101.diff', 'patch_url': 'https://github.com/huggingface/datasets/pull/5101.patch', 'merged_at': '2022-10-12T15:30:38Z'} | true |
https://api.github.com/repos/huggingface/datasets/issues/5100 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/5100/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/5100/comments | https://api.github.com/repos/huggingface/datasets/issues/5100/events | https://github.com/huggingface/datasets/issues/5100 | 1,404,458,586 | I_kwDODunzps5TtlZa | 5,100 | datasets[s3] sagemaker can't run a model - datasets issue with Value and ClassLabel and cast() method | {'login': 'jagochi', 'id': 115545475, 'node_id': 'U_kgDOBuMVgw', 'avatar_url': 'https://avatars.githubusercontent.com/u/115545475?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/jagochi', 'html_url': 'https://github.com/jagochi', 'followers_url': 'https://api.github.com/users/jagochi/followers', 'followin... | [] | closed | false | null | [] | null | [] | 2022-10-11T11:16:31Z | 2022-10-11T13:48:26Z | 2022-10-11T13:48:26Z | NONE | null | null | {'url': 'https://api.github.com/repos/huggingface/datasets/issues/5100/reactions', 'total_count': 0, '+1': 0, '-1': 0, 'laugh': 0, 'hooray': 0, 'confused': 0, 'heart': 0, 'rocket': 0, 'eyes': 0} | https://api.github.com/repos/huggingface/datasets/issues/5100/timeline | null | completed | null | null | false |
https://api.github.com/repos/huggingface/datasets/issues/5099 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/5099/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/5099/comments | https://api.github.com/repos/huggingface/datasets/issues/5099/events | https://github.com/huggingface/datasets/issues/5099 | 1,404,370,191 | I_kwDODunzps5TtP0P | 5,099 | datasets doesn't support # in data paths | {'login': 'loubnabnl', 'id': 44069155, 'node_id': 'MDQ6VXNlcjQ0MDY5MTU1', 'avatar_url': 'https://avatars.githubusercontent.com/u/44069155?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/loubnabnl', 'html_url': 'https://github.com/loubnabnl', 'followers_url': 'https://api.github.com/users/loubnabnl/followe... | [{'id': 1935892857, 'node_id': 'MDU6TGFiZWwxOTM1ODkyODU3', 'url': 'https://api.github.com/repos/huggingface/datasets/labels/bug', 'name': 'bug', 'color': 'd73a4a', 'default': True, 'description': "Something isn't working"}, {'id': 1935892877, 'node_id': 'MDU6TGFiZWwxOTM1ODkyODc3', 'url': 'https://api.github.com/repos/h... | closed | false | {'login': 'riccardobucco', 'id': 9295277, 'node_id': 'MDQ6VXNlcjkyOTUyNzc=', 'avatar_url': 'https://avatars.githubusercontent.com/u/9295277?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/riccardobucco', 'html_url': 'https://github.com/riccardobucco', 'followers_url': 'https://api.github.com/users/riccard... | [{'login': 'riccardobucco', 'id': 9295277, 'node_id': 'MDQ6VXNlcjkyOTUyNzc=', 'avatar_url': 'https://avatars.githubusercontent.com/u/9295277?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/riccardobucco', 'html_url': 'https://github.com/riccardobucco', 'followers_url': 'https://api.github.com/users/riccar... | null | [
"`datasets` doesn't seem to urlencode the directory names here\r\n\r\nhttps://github.com/huggingface/datasets/blob/7feeb5648a63b6135a8259dedc3b1e19185ee4c7/src/datasets/utils/file_utils.py#L109-L111\r\n\r\nfor example we should have\r\n```python\r\nfrom datasets.utils.file_utils import hf_hub_url\r\n\r\nurl = hf_hu... | 2022-10-11T10:05:32Z | 2022-10-13T13:14:20Z | 2022-10-13T13:14:20Z | NONE | null | ## Describe the bug
dataset files with `#` symbol their paths aren't read correctly.
## Steps to reproduce the bug
The data in folder `c#`of this [dataset](https://huggingface.co/datasets/loubnabnl/bigcode_csharp) can't be loaded. While the folder `c_sharp` with the same data is loaded properly
```python
ds = lo... | {'url': 'https://api.github.com/repos/huggingface/datasets/issues/5099/reactions', 'total_count': 0, '+1': 0, '-1': 0, 'laugh': 0, 'hooray': 0, 'confused': 0, 'heart': 0, 'rocket': 0, 'eyes': 0} | https://api.github.com/repos/huggingface/datasets/issues/5099/timeline | null | completed | null | null | false |
https://api.github.com/repos/huggingface/datasets/issues/5098 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/5098/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/5098/comments | https://api.github.com/repos/huggingface/datasets/issues/5098/events | https://github.com/huggingface/datasets/issues/5098 | 1,404,058,518 | I_kwDODunzps5TsDuW | 5,098 | Classes label error when loading symbolic links using imagefolder | {'login': 'horizon86', 'id': 49552732, 'node_id': 'MDQ6VXNlcjQ5NTUyNzMy', 'avatar_url': 'https://avatars.githubusercontent.com/u/49552732?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/horizon86', 'html_url': 'https://github.com/horizon86', 'followers_url': 'https://api.github.com/users/horizon86/followe... | [{'id': 1935892871, 'node_id': 'MDU6TGFiZWwxOTM1ODkyODcx', 'url': 'https://api.github.com/repos/huggingface/datasets/labels/enhancement', 'name': 'enhancement', 'color': 'a2eeef', 'default': True, 'description': 'New feature or request'}, {'id': 1935892877, 'node_id': 'MDU6TGFiZWwxOTM1ODkyODc3', 'url': 'https://api.git... | closed | false | {'login': 'riccardobucco', 'id': 9295277, 'node_id': 'MDQ6VXNlcjkyOTUyNzc=', 'avatar_url': 'https://avatars.githubusercontent.com/u/9295277?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/riccardobucco', 'html_url': 'https://github.com/riccardobucco', 'followers_url': 'https://api.github.com/users/riccard... | [{'login': 'riccardobucco', 'id': 9295277, 'node_id': 'MDQ6VXNlcjkyOTUyNzc=', 'avatar_url': 'https://avatars.githubusercontent.com/u/9295277?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/riccardobucco', 'html_url': 'https://github.com/riccardobucco', 'followers_url': 'https://api.github.com/users/riccar... | null | [
"It can be solved temporarily by remove `resolve` in \r\nhttps://github.com/huggingface/datasets/blob/bef23be3d9543b1ca2da87ab2f05070201044ddc/src/datasets/data_files.py#L278",
"Hi, thanks for reporting and suggesting a fix! We still need to account for `.`/`..` in the file path, so a more robust fix would be `P... | 2022-10-11T06:10:58Z | 2022-11-14T14:40:20Z | 2022-11-14T14:40:20Z | NONE | null | **Is your feature request related to a problem? Please describe.**
Like this: #4015
When there are **symbolic links** to pictures in the data folder, the parent folder name of the **real file** will be used as the class name instead of the parent folder of the symbolic link itself. Can you give an option to decide wh... | {'url': 'https://api.github.com/repos/huggingface/datasets/issues/5098/reactions', 'total_count': 0, '+1': 0, '-1': 0, 'laugh': 0, 'hooray': 0, 'confused': 0, 'heart': 0, 'rocket': 0, 'eyes': 0} | https://api.github.com/repos/huggingface/datasets/issues/5098/timeline | null | completed | null | null | false |
https://api.github.com/repos/huggingface/datasets/issues/5097 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/5097/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/5097/comments | https://api.github.com/repos/huggingface/datasets/issues/5097/events | https://github.com/huggingface/datasets/issues/5097 | 1,403,679,353 | I_kwDODunzps5TqnJ5 | 5,097 | Fatal error with pyarrow/libarrow.so | {'login': 'catalys1', 'id': 11340846, 'node_id': 'MDQ6VXNlcjExMzQwODQ2', 'avatar_url': 'https://avatars.githubusercontent.com/u/11340846?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/catalys1', 'html_url': 'https://github.com/catalys1', 'followers_url': 'https://api.github.com/users/catalys1/followers',... | [{'id': 1935892857, 'node_id': 'MDU6TGFiZWwxOTM1ODkyODU3', 'url': 'https://api.github.com/repos/huggingface/datasets/labels/bug', 'name': 'bug', 'color': 'd73a4a', 'default': True, 'description': "Something isn't working"}] | closed | false | null | [] | null | [
"Thanks for reporting, @catalys1.\r\n\r\nThis seems a duplicate of:\r\n- #3310 \r\n\r\nThe source of the problem is in PyArrow:\r\n- [ARROW-15141: [C++] Fatal error condition occurred in aws_thread_launch](https://issues.apache.org/jira/browse/ARROW-15141)\r\n- [ARROW-17501: [C++] Fatal error condition occurred in ... | 2022-10-10T20:29:04Z | 2022-10-11T06:56:01Z | 2022-10-11T06:56:00Z | NONE | null | ## Describe the bug
When using datasets, at the very end of my jobs the program crashes (see trace below).
It doesn't seem to affect anything, as it appears to happen as the program is closing down. Just importing `datasets` is enough to cause the error.
## Steps to reproduce the bug
This is sufficient to reprodu... | {'url': 'https://api.github.com/repos/huggingface/datasets/issues/5097/reactions', 'total_count': 0, '+1': 0, '-1': 0, 'laugh': 0, 'hooray': 0, 'confused': 0, 'heart': 0, 'rocket': 0, 'eyes': 0} | https://api.github.com/repos/huggingface/datasets/issues/5097/timeline | null | completed | null | null | false |
https://api.github.com/repos/huggingface/datasets/issues/5096 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/5096/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/5096/comments | https://api.github.com/repos/huggingface/datasets/issues/5096/events | https://github.com/huggingface/datasets/issues/5096 | 1,403,379,816 | I_kwDODunzps5TpeBo | 5,096 | Transfer some canonical datasets under an organization namespace | {'login': 'albertvillanova', 'id': 8515462, 'node_id': 'MDQ6VXNlcjg1MTU0NjI=', 'avatar_url': 'https://avatars.githubusercontent.com/u/8515462?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/albertvillanova', 'html_url': 'https://github.com/albertvillanova', 'followers_url': 'https://api.github.com/users/a... | [{'id': 4564477500, 'node_id': 'LA_kwDODunzps8AAAABEBBmPA', 'url': 'https://api.github.com/repos/huggingface/datasets/labels/dataset%20contribution', 'name': 'dataset contribution', 'color': '0e8a16', 'default': False, 'description': 'Contribution to a dataset script'}] | open | false | {'login': 'albertvillanova', 'id': 8515462, 'node_id': 'MDQ6VXNlcjg1MTU0NjI=', 'avatar_url': 'https://avatars.githubusercontent.com/u/8515462?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/albertvillanova', 'html_url': 'https://github.com/albertvillanova', 'followers_url': 'https://api.github.com/users/a... | [{'login': 'albertvillanova', 'id': 8515462, 'node_id': 'MDQ6VXNlcjg1MTU0NjI=', 'avatar_url': 'https://avatars.githubusercontent.com/u/8515462?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/albertvillanova', 'html_url': 'https://github.com/albertvillanova', 'followers_url': 'https://api.github.com/users/... | null | [
"The transfer of the dummy dataset to the dummy org works as expected:\r\n```python\r\nIn [1]: from datasets import load_dataset; ds = load_dataset(\"dummy_canonical_dataset\", download_mode=\"force_redownload\"); ds\r\nDownloading builder script: 100%|███████████████████████████████████████████████████████████████... | 2022-10-10T15:44:31Z | 2023-05-11T12:21:21Z | null | MEMBER | null | As discussed during our @huggingface/datasets meeting, we are planning to move some "canonical" dataset scripts under their corresponding organization namespace (if this does not exist).
On the contrary, if the dataset already exists under the organization namespace, we are deprecating the canonical one (and eventua... | {'url': 'https://api.github.com/repos/huggingface/datasets/issues/5096/reactions', 'total_count': 2, '+1': 0, '-1': 0, 'laugh': 0, 'hooray': 0, 'confused': 0, 'heart': 0, 'rocket': 2, 'eyes': 0} | https://api.github.com/repos/huggingface/datasets/issues/5096/timeline | null | null | null | null | false |
https://api.github.com/repos/huggingface/datasets/issues/5095 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/5095/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/5095/comments | https://api.github.com/repos/huggingface/datasets/issues/5095/events | https://github.com/huggingface/datasets/pull/5095 | 1,403,221,408 | PR_kwDODunzps5Afzsq | 5,095 | Fix tutorial (#5093) | {'login': 'riccardobucco', 'id': 9295277, 'node_id': 'MDQ6VXNlcjkyOTUyNzc=', 'avatar_url': 'https://avatars.githubusercontent.com/u/9295277?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/riccardobucco', 'html_url': 'https://github.com/riccardobucco', 'followers_url': 'https://api.github.com/users/riccard... | [] | closed | false | null | [] | null | [
"Oops I merged without linking to the hacktoberfest issue - not sure if it counts in this case\r\n\r\nsorry about that..\r\n\r\nNext time you can just mention \"Close #XXXX\" in your issue to link it",
"It should :) (the `hacktoberfest` repo topic is all that matters)"
] | 2022-10-10T13:55:15Z | 2022-10-10T17:50:52Z | 2022-10-10T15:32:20Z | CONTRIBUTOR | null | Close #5093 | {'url': 'https://api.github.com/repos/huggingface/datasets/issues/5095/reactions', 'total_count': 0, '+1': 0, '-1': 0, 'laugh': 0, 'hooray': 0, 'confused': 0, 'heart': 0, 'rocket': 0, 'eyes': 0} | https://api.github.com/repos/huggingface/datasets/issues/5095/timeline | null | null | false | {'url': 'https://api.github.com/repos/huggingface/datasets/pulls/5095', 'html_url': 'https://github.com/huggingface/datasets/pull/5095', 'diff_url': 'https://github.com/huggingface/datasets/pull/5095.diff', 'patch_url': 'https://github.com/huggingface/datasets/pull/5095.patch', 'merged_at': '2022-10-10T15:32:20Z'} | true |
https://api.github.com/repos/huggingface/datasets/issues/5094 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/5094/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/5094/comments | https://api.github.com/repos/huggingface/datasets/issues/5094/events | https://github.com/huggingface/datasets/issues/5094 | 1,403,214,950 | I_kwDODunzps5To1xm | 5,094 | Multiprocessing with `Dataset.map` and `PyTorch` results in deadlock | {'login': 'RR-28023', 'id': 36822895, 'node_id': 'MDQ6VXNlcjM2ODIyODk1', 'avatar_url': 'https://avatars.githubusercontent.com/u/36822895?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/RR-28023', 'html_url': 'https://github.com/RR-28023', 'followers_url': 'https://api.github.com/users/RR-28023/followers',... | [{'id': 1935892857, 'node_id': 'MDU6TGFiZWwxOTM1ODkyODU3', 'url': 'https://api.github.com/repos/huggingface/datasets/labels/bug', 'name': 'bug', 'color': 'd73a4a', 'default': True, 'description': "Something isn't working"}] | open | false | null | [] | null | [
"Hi ! Could it be an Out of Memory issue that could have killed one of the processes ? can you check your memory ?",
"Hi! I don't think it is a memory issue. I'm monitoring the main and spawn python processes and threads with `htop` and the memory does not peak. Besides, the example I've posted above should not b... | 2022-10-10T13:50:56Z | 2022-10-18T16:18:53Z | null | NONE | null | ## Describe the bug
There seems to be an issue with using multiprocessing with `datasets.Dataset.map` (i.e. setting `num_proc` to a value greater than one) combined with a function that uses `torch` under the hood. The subprocesses that `datasets.Dataset.map` spawns [a this step](https://github.com/huggingface/datase... | {'url': 'https://api.github.com/repos/huggingface/datasets/issues/5094/reactions', 'total_count': 0, '+1': 0, '-1': 0, 'laugh': 0, 'hooray': 0, 'confused': 0, 'heart': 0, 'rocket': 0, 'eyes': 0} | https://api.github.com/repos/huggingface/datasets/issues/5094/timeline | null | null | null | null | false |
https://api.github.com/repos/huggingface/datasets/issues/5093 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/5093/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/5093/comments | https://api.github.com/repos/huggingface/datasets/issues/5093/events | https://github.com/huggingface/datasets/issues/5093 | 1,402,939,660 | I_kwDODunzps5TnykM | 5,093 | Mismatch between tutoriel and doc | {'login': 'clefourrier', 'id': 22726840, 'node_id': 'MDQ6VXNlcjIyNzI2ODQw', 'avatar_url': 'https://avatars.githubusercontent.com/u/22726840?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/clefourrier', 'html_url': 'https://github.com/clefourrier', 'followers_url': 'https://api.github.com/users/clefourrier... | [{'id': 1935892857, 'node_id': 'MDU6TGFiZWwxOTM1ODkyODU3', 'url': 'https://api.github.com/repos/huggingface/datasets/labels/bug', 'name': 'bug', 'color': 'd73a4a', 'default': True, 'description': "Something isn't working"}, {'id': 1935892877, 'node_id': 'MDU6TGFiZWwxOTM1ODkyODc3', 'url': 'https://api.github.com/repos/h... | closed | false | {'login': 'riccardobucco', 'id': 9295277, 'node_id': 'MDQ6VXNlcjkyOTUyNzc=', 'avatar_url': 'https://avatars.githubusercontent.com/u/9295277?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/riccardobucco', 'html_url': 'https://github.com/riccardobucco', 'followers_url': 'https://api.github.com/users/riccard... | [{'login': 'riccardobucco', 'id': 9295277, 'node_id': 'MDQ6VXNlcjkyOTUyNzc=', 'avatar_url': 'https://avatars.githubusercontent.com/u/9295277?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/riccardobucco', 'html_url': 'https://github.com/riccardobucco', 'followers_url': 'https://api.github.com/users/riccar... | null | [
"Hi, thanks for reporting! This line should be replaced with \r\n```python\r\ndataset = dataset.map(lambda examples: tokenizer(examples[\"text\"], return_tensors=\"np\"), batched=True)\r\n```\r\nfor it to work (the `return_tensors` part inside the `tokenizer` call).",
"Can I work on this?",
"Fixed in https://gi... | 2022-10-10T10:23:53Z | 2022-10-10T17:51:15Z | 2022-10-10T17:51:14Z | CONTRIBUTOR | null | ## Describe the bug
In the "Process text data" tutorial, [`map` has `return_tensors` as kwarg](https://huggingface.co/docs/datasets/main/en/nlp_process#map). It does not seem to appear in the [function documentation](https://huggingface.co/docs/datasets/main/en/package_reference/main_classes#datasets.Dataset.map), nor... | {'url': 'https://api.github.com/repos/huggingface/datasets/issues/5093/reactions', 'total_count': 0, '+1': 0, '-1': 0, 'laugh': 0, 'hooray': 0, 'confused': 0, 'heart': 0, 'rocket': 0, 'eyes': 0} | https://api.github.com/repos/huggingface/datasets/issues/5093/timeline | null | completed | null | null | false |
https://api.github.com/repos/huggingface/datasets/issues/5092 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/5092/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/5092/comments | https://api.github.com/repos/huggingface/datasets/issues/5092/events | https://github.com/huggingface/datasets/pull/5092 | 1,402,713,517 | PR_kwDODunzps5AeIsS | 5,092 | Use HTML relative paths for tiles in the docs | {'login': 'lewtun', 'id': 26859204, 'node_id': 'MDQ6VXNlcjI2ODU5MjA0', 'avatar_url': 'https://avatars.githubusercontent.com/u/26859204?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/lewtun', 'html_url': 'https://github.com/lewtun', 'followers_url': 'https://api.github.com/users/lewtun/followers', 'follow... | [] | closed | false | null | [] | null | [
"_The documentation is not available anymore as the PR was closed or merged._",
"> Good catch, @lewtun. Thanks for the fix.\r\n> \r\n> Do you know if there are other absolute paths in the docs that should be fixed as well?\r\n\r\nI found a few more in [0d4796b](https://github.com/huggingface/datasets/pull/5092/co... | 2022-10-10T07:24:27Z | 2022-10-11T13:25:45Z | 2022-10-11T13:23:23Z | MEMBER | null | This PR replaces the absolute paths in the landing page tiles with relative ones so that one can test navigation both locally in and in future PRs (see [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_5084/en/index) for an example PR where the links don't work).
I encountered this while working on the `op... | {'url': 'https://api.github.com/repos/huggingface/datasets/issues/5092/reactions', 'total_count': 0, '+1': 0, '-1': 0, 'laugh': 0, 'hooray': 0, 'confused': 0, 'heart': 0, 'rocket': 0, 'eyes': 0} | https://api.github.com/repos/huggingface/datasets/issues/5092/timeline | null | null | false | {'url': 'https://api.github.com/repos/huggingface/datasets/pulls/5092', 'html_url': 'https://github.com/huggingface/datasets/pull/5092', 'diff_url': 'https://github.com/huggingface/datasets/pull/5092.diff', 'patch_url': 'https://github.com/huggingface/datasets/pull/5092.patch', 'merged_at': '2022-10-11T13:23:23Z'} | true |
https://api.github.com/repos/huggingface/datasets/issues/5091 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/5091/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/5091/comments | https://api.github.com/repos/huggingface/datasets/issues/5091/events | https://github.com/huggingface/datasets/pull/5091 | 1,401,112,552 | PR_kwDODunzps5AZCm9 | 5,091 | Allow connection objects in `from_sql` + small doc improvement | {'login': 'mariosasko', 'id': 47462742, 'node_id': 'MDQ6VXNlcjQ3NDYyNzQy', 'avatar_url': 'https://avatars.githubusercontent.com/u/47462742?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/mariosasko', 'html_url': 'https://github.com/mariosasko', 'followers_url': 'https://api.github.com/users/mariosasko/fol... | [] | closed | false | null | [] | null | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 2022-10-07T12:39:44Z | 2022-10-09T13:19:15Z | 2022-10-09T13:16:57Z | CONTRIBUTOR | null | Allow connection objects in `from_sql` (emit a warning that they are cachable) and add a tip that explains the format of the con parameter when provided as a URI string.
PS: ~~This PR contains a parameter link, so https://github.com/huggingface/doc-builder/pull/311 needs to be merged before it's "ready for review".~... | {'url': 'https://api.github.com/repos/huggingface/datasets/issues/5091/reactions', 'total_count': 0, '+1': 0, '-1': 0, 'laugh': 0, 'hooray': 0, 'confused': 0, 'heart': 0, 'rocket': 0, 'eyes': 0} | https://api.github.com/repos/huggingface/datasets/issues/5091/timeline | null | null | false | {'url': 'https://api.github.com/repos/huggingface/datasets/pulls/5091', 'html_url': 'https://github.com/huggingface/datasets/pull/5091', 'diff_url': 'https://github.com/huggingface/datasets/pull/5091.diff', 'patch_url': 'https://github.com/huggingface/datasets/pull/5091.patch', 'merged_at': '2022-10-09T13:16:57Z'} | true |
https://api.github.com/repos/huggingface/datasets/issues/5090 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/5090/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/5090/comments | https://api.github.com/repos/huggingface/datasets/issues/5090/events | https://github.com/huggingface/datasets/issues/5090 | 1,401,102,407 | I_kwDODunzps5TgyBH | 5,090 | Review sync issues from GitHub to Hub | {'login': 'albertvillanova', 'id': 8515462, 'node_id': 'MDQ6VXNlcjg1MTU0NjI=', 'avatar_url': 'https://avatars.githubusercontent.com/u/8515462?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/albertvillanova', 'html_url': 'https://github.com/albertvillanova', 'followers_url': 'https://api.github.com/users/a... | [{'id': 1935892857, 'node_id': 'MDU6TGFiZWwxOTM1ODkyODU3', 'url': 'https://api.github.com/repos/huggingface/datasets/labels/bug', 'name': 'bug', 'color': 'd73a4a', 'default': True, 'description': "Something isn't working"}] | closed | false | {'login': 'albertvillanova', 'id': 8515462, 'node_id': 'MDQ6VXNlcjg1MTU0NjI=', 'avatar_url': 'https://avatars.githubusercontent.com/u/8515462?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/albertvillanova', 'html_url': 'https://github.com/albertvillanova', 'followers_url': 'https://api.github.com/users/a... | [{'login': 'albertvillanova', 'id': 8515462, 'node_id': 'MDQ6VXNlcjg1MTU0NjI=', 'avatar_url': 'https://avatars.githubusercontent.com/u/8515462?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/albertvillanova', 'html_url': 'https://github.com/albertvillanova', 'followers_url': 'https://api.github.com/users/... | null | [
"Nice!!"
] | 2022-10-07T12:31:56Z | 2022-10-08T07:07:36Z | 2022-10-08T07:07:36Z | MEMBER | null | ## Describe the bug
We have discovered that sometimes there were sync issues between GitHub and Hub datasets, after a merge commit to main branch.
For example:
- this merge commit: https://github.com/huggingface/datasets/commit/d74a9e8e4bfff1fed03a4cab99180a841d7caf4b
- was not properly synced with the Hub: https... | {'url': 'https://api.github.com/repos/huggingface/datasets/issues/5090/reactions', 'total_count': 0, '+1': 0, '-1': 0, 'laugh': 0, 'hooray': 0, 'confused': 0, 'heart': 0, 'rocket': 0, 'eyes': 0} | https://api.github.com/repos/huggingface/datasets/issues/5090/timeline | null | completed | null | null | false |
https://api.github.com/repos/huggingface/datasets/issues/5089 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/5089/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/5089/comments | https://api.github.com/repos/huggingface/datasets/issues/5089/events | https://github.com/huggingface/datasets/issues/5089 | 1,400,788,486 | I_kwDODunzps5TflYG | 5,089 | Resume failed process | {'login': 'felix-schneider', 'id': 208336, 'node_id': 'MDQ6VXNlcjIwODMzNg==', 'avatar_url': 'https://avatars.githubusercontent.com/u/208336?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/felix-schneider', 'html_url': 'https://github.com/felix-schneider', 'followers_url': 'https://api.github.com/users/fel... | [{'id': 1935892871, 'node_id': 'MDU6TGFiZWwxOTM1ODkyODcx', 'url': 'https://api.github.com/repos/huggingface/datasets/labels/enhancement', 'name': 'enhancement', 'color': 'a2eeef', 'default': True, 'description': 'New feature or request'}] | open | false | null | [] | null | [] | 2022-10-07T08:07:03Z | 2022-10-07T08:07:03Z | null | NONE | null | **Is your feature request related to a problem? Please describe.**
When a process (`map`, `filter`, etc.) crashes part-way through, you lose all progress.
**Describe the solution you'd like**
It would be good if the cache reflected the partial progress, so that after we restart the script, the process can restart ... | {'url': 'https://api.github.com/repos/huggingface/datasets/issues/5089/reactions', 'total_count': 0, '+1': 0, '-1': 0, 'laugh': 0, 'hooray': 0, 'confused': 0, 'heart': 0, 'rocket': 0, 'eyes': 0} | https://api.github.com/repos/huggingface/datasets/issues/5089/timeline | null | null | null | null | false |
https://api.github.com/repos/huggingface/datasets/issues/5088 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/5088/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/5088/comments | https://api.github.com/repos/huggingface/datasets/issues/5088/events | https://github.com/huggingface/datasets/issues/5088 | 1,400,530,412 | I_kwDODunzps5TemXs | 5,088 | load_datasets("json", ...) don't read local .json.gz properly | {'login': 'junwang-wish', 'id': 112650299, 'node_id': 'U_kgDOBrboOw', 'avatar_url': 'https://avatars.githubusercontent.com/u/112650299?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/junwang-wish', 'html_url': 'https://github.com/junwang-wish', 'followers_url': 'https://api.github.com/users/junwang-wish/f... | [{'id': 1935892857, 'node_id': 'MDU6TGFiZWwxOTM1ODkyODU3', 'url': 'https://api.github.com/repos/huggingface/datasets/labels/bug', 'name': 'bug', 'color': 'd73a4a', 'default': True, 'description': "Something isn't working"}] | open | false | null | [] | null | [
"Hi @junwang-wish, thanks for reporting.\r\n\r\nUnfortunately, I'm not able to reproduce the bug. Which version of `datasets` are you using? Does the problem persist if you update `datasets`?\r\n```shell\r\npip install -U datasets\r\n``` ",
"Thanks @albertvillanova I updated `datasets` from `2.5.1` to `2.5.2` and... | 2022-10-07T02:16:58Z | 2022-10-07T14:43:16Z | null | NONE | null | ## Describe the bug
I have a local file `*.json.gz` and it can be read by `pandas.read_json(lines=True)`, but cannot be read by `load_datasets("json")` (resulting in 0 lines)
## Steps to reproduce the bug
```python
fpath = '/data/junwang/.cache/general/57b6f2314cbe0bc45dda5b78f0871df2/test.json.gz'
ds_panda = Da... | {'url': 'https://api.github.com/repos/huggingface/datasets/issues/5088/reactions', 'total_count': 0, '+1': 0, '-1': 0, 'laugh': 0, 'hooray': 0, 'confused': 0, 'heart': 0, 'rocket': 0, 'eyes': 0} | https://api.github.com/repos/huggingface/datasets/issues/5088/timeline | null | null | null | null | false |
https://api.github.com/repos/huggingface/datasets/issues/5087 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/5087/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/5087/comments | https://api.github.com/repos/huggingface/datasets/issues/5087/events | https://github.com/huggingface/datasets/pull/5087 | 1,400,487,967 | PR_kwDODunzps5AW-N9 | 5,087 | Fix filter with empty indices | {'login': 'Mouhanedg56', 'id': 23029765, 'node_id': 'MDQ6VXNlcjIzMDI5NzY1', 'avatar_url': 'https://avatars.githubusercontent.com/u/23029765?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/Mouhanedg56', 'html_url': 'https://github.com/Mouhanedg56', 'followers_url': 'https://api.github.com/users/Mouhanedg56... | [] | closed | false | null | [] | null | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 2022-10-07T01:07:00Z | 2022-10-07T18:43:03Z | 2022-10-07T18:40:26Z | CONTRIBUTOR | null | Fix #5085 | {'url': 'https://api.github.com/repos/huggingface/datasets/issues/5087/reactions', 'total_count': 0, '+1': 0, '-1': 0, 'laugh': 0, 'hooray': 0, 'confused': 0, 'heart': 0, 'rocket': 0, 'eyes': 0} | https://api.github.com/repos/huggingface/datasets/issues/5087/timeline | null | null | false | {'url': 'https://api.github.com/repos/huggingface/datasets/pulls/5087', 'html_url': 'https://github.com/huggingface/datasets/pull/5087', 'diff_url': 'https://github.com/huggingface/datasets/pull/5087.diff', 'patch_url': 'https://github.com/huggingface/datasets/pull/5087.patch', 'merged_at': '2022-10-07T18:40:26Z'} | true |
https://api.github.com/repos/huggingface/datasets/issues/5086 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/5086/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/5086/comments | https://api.github.com/repos/huggingface/datasets/issues/5086/events | https://github.com/huggingface/datasets/issues/5086 | 1,400,216,975 | I_kwDODunzps5TdZ2P | 5,086 | HTTPError: 404 Client Error: Not Found for url | {'login': 'km5ar', 'id': 54015474, 'node_id': 'MDQ6VXNlcjU0MDE1NDc0', 'avatar_url': 'https://avatars.githubusercontent.com/u/54015474?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/km5ar', 'html_url': 'https://github.com/km5ar', 'followers_url': 'https://api.github.com/users/km5ar/followers', 'following_... | [{'id': 1935892857, 'node_id': 'MDU6TGFiZWwxOTM1ODkyODU3', 'url': 'https://api.github.com/repos/huggingface/datasets/labels/bug', 'name': 'bug', 'color': 'd73a4a', 'default': True, 'description': "Something isn't working"}] | closed | false | null | [] | null | [
"FYI @lewtun ",
"Hi @km5ar, thanks for reporting.\r\n\r\nThis should be fixed in the notebook:\r\n- the filename `datasets-issues-with-hf-doc-builder.jsonl` no longer exists on the repo; instead, current filename is `datasets-issues-with-comments.jsonl`\r\n- see: https://huggingface.co/datasets/lewtun/github-issu... | 2022-10-06T19:48:58Z | 2022-10-07T15:12:01Z | 2022-10-07T15:12:01Z | NONE | null | ## Describe the bug
I was following chap 5 from huggingface course: https://huggingface.co/course/chapter5/6?fw=tf
However, I'm not able to download the datasets, with a 404 erros
<img width="1160" alt="iShot2022-10-06_15 54 50" src="https://user-images.githubusercontent.com/54015474/194406327-ae62c2f3-1da5-... | {'url': 'https://api.github.com/repos/huggingface/datasets/issues/5086/reactions', 'total_count': 0, '+1': 0, '-1': 0, 'laugh': 0, 'hooray': 0, 'confused': 0, 'heart': 0, 'rocket': 0, 'eyes': 0} | https://api.github.com/repos/huggingface/datasets/issues/5086/timeline | null | completed | null | null | false |
https://api.github.com/repos/huggingface/datasets/issues/5085 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/5085/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/5085/comments | https://api.github.com/repos/huggingface/datasets/issues/5085/events | https://github.com/huggingface/datasets/issues/5085 | 1,400,113,569 | I_kwDODunzps5TdAmh | 5,085 | Filtering on an empty dataset returns a corrupted dataset. | {'login': 'gabegma', 'id': 36087158, 'node_id': 'MDQ6VXNlcjM2MDg3MTU4', 'avatar_url': 'https://avatars.githubusercontent.com/u/36087158?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/gabegma', 'html_url': 'https://github.com/gabegma', 'followers_url': 'https://api.github.com/users/gabegma/followers', 'fo... | [{'id': 1935892857, 'node_id': 'MDU6TGFiZWwxOTM1ODkyODU3', 'url': 'https://api.github.com/repos/huggingface/datasets/labels/bug', 'name': 'bug', 'color': 'd73a4a', 'default': True, 'description': "Something isn't working"}, {'id': 4614514401, 'node_id': 'LA_kwDODunzps8AAAABEwvm4Q', 'url': 'https://api.github.com/repos/... | closed | false | {'login': 'Mouhanedg56', 'id': 23029765, 'node_id': 'MDQ6VXNlcjIzMDI5NzY1', 'avatar_url': 'https://avatars.githubusercontent.com/u/23029765?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/Mouhanedg56', 'html_url': 'https://github.com/Mouhanedg56', 'followers_url': 'https://api.github.com/users/Mouhanedg56... | [{'login': 'Mouhanedg56', 'id': 23029765, 'node_id': 'MDQ6VXNlcjIzMDI5NzY1', 'avatar_url': 'https://avatars.githubusercontent.com/u/23029765?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/Mouhanedg56', 'html_url': 'https://github.com/Mouhanedg56', 'followers_url': 'https://api.github.com/users/Mouhanedg5... | null | [
"~~It seems like #5043 fix (merged recently) is the root cause of such behaviour. When we empty indices mapping (because the dataset length equals to zero), we can no longer get column item like: `ds_filter_2['sentence']` which uses\r\n`ds_filter_1._indices.column(0)`~~\r\n\r\n**UPDATE:**\r\nEmpty datasets are retu... | 2022-10-06T18:18:49Z | 2022-10-07T19:06:02Z | 2022-10-07T18:40:26Z | NONE | null | ## Describe the bug
When filtering a dataset twice, where the first result is an empty dataset, the second dataset seems corrupted.
## Steps to reproduce the bug
```python
datasets = load_dataset("glue", "sst2")
dataset_split = datasets['validation']
ds_filter_1 = dataset_split.filter(lambda x: False) # ... | {'url': 'https://api.github.com/repos/huggingface/datasets/issues/5085/reactions', 'total_count': 3, '+1': 0, '-1': 0, 'laugh': 0, 'hooray': 0, 'confused': 0, 'heart': 3, 'rocket': 0, 'eyes': 0} | https://api.github.com/repos/huggingface/datasets/issues/5085/timeline | null | completed | null | null | false |
https://api.github.com/repos/huggingface/datasets/issues/5084 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/5084/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/5084/comments | https://api.github.com/repos/huggingface/datasets/issues/5084/events | https://github.com/huggingface/datasets/pull/5084 | 1,400,016,229 | PR_kwDODunzps5AVXwm | 5,084 | IterableDataset formatting in numpy/torch/tf/jax | {'login': 'lhoestq', 'id': 42851186, 'node_id': 'MDQ6VXNlcjQyODUxMTg2', 'avatar_url': 'https://avatars.githubusercontent.com/u/42851186?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/lhoestq', 'html_url': 'https://github.com/lhoestq', 'followers_url': 'https://api.github.com/users/lhoestq/followers', 'fo... | [] | closed | false | null | [] | null | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_5084). All of your documentation changes will be reflected on that endpoint.",
"Actually I'm not happy with this implementation. It always require the iterable dataset to have definite `features`, which removes a lot of flexibi... | 2022-10-06T16:53:38Z | 2022-12-20T17:19:52Z | 2022-12-20T17:19:52Z | MEMBER | null | This code now returns a numpy array:
```python
from datasets import load_dataset
ds = load_dataset("imagenet-1k", split="train", streaming=True).with_format("np")
print(next(iter(ds))["image"])
```
It also works with "arrow", "pandas", "torch", "tf" and "jax"
### Implementation details:
I'm using the ex... | {'url': 'https://api.github.com/repos/huggingface/datasets/issues/5084/reactions', 'total_count': 0, '+1': 0, '-1': 0, 'laugh': 0, 'hooray': 0, 'confused': 0, 'heart': 0, 'rocket': 0, 'eyes': 0} | https://api.github.com/repos/huggingface/datasets/issues/5084/timeline | null | null | true | {'url': 'https://api.github.com/repos/huggingface/datasets/pulls/5084', 'html_url': 'https://github.com/huggingface/datasets/pull/5084', 'diff_url': 'https://github.com/huggingface/datasets/pull/5084.diff', 'patch_url': 'https://github.com/huggingface/datasets/pull/5084.patch', 'merged_at': None} | true |
https://api.github.com/repos/huggingface/datasets/issues/5083 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/5083/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/5083/comments | https://api.github.com/repos/huggingface/datasets/issues/5083/events | https://github.com/huggingface/datasets/issues/5083 | 1,399,842,514 | I_kwDODunzps5Tb-bS | 5,083 | Support numpy/torch/tf/jax formatting for IterableDataset | {'login': 'lhoestq', 'id': 42851186, 'node_id': 'MDQ6VXNlcjQyODUxMTg2', 'avatar_url': 'https://avatars.githubusercontent.com/u/42851186?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/lhoestq', 'html_url': 'https://github.com/lhoestq', 'followers_url': 'https://api.github.com/users/lhoestq/followers', 'fo... | [{'id': 1935892871, 'node_id': 'MDU6TGFiZWwxOTM1ODkyODcx', 'url': 'https://api.github.com/repos/huggingface/datasets/labels/enhancement', 'name': 'enhancement', 'color': 'a2eeef', 'default': True, 'description': 'New feature or request'}, {'id': 3287858981, 'node_id': 'MDU6TGFiZWwzMjg3ODU4OTgx', 'url': 'https://api.git... | open | false | {'login': 'lhoestq', 'id': 42851186, 'node_id': 'MDQ6VXNlcjQyODUxMTg2', 'avatar_url': 'https://avatars.githubusercontent.com/u/42851186?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/lhoestq', 'html_url': 'https://github.com/lhoestq', 'followers_url': 'https://api.github.com/users/lhoestq/followers', 'fo... | [{'login': 'lhoestq', 'id': 42851186, 'node_id': 'MDQ6VXNlcjQyODUxMTg2', 'avatar_url': 'https://avatars.githubusercontent.com/u/42851186?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/lhoestq', 'html_url': 'https://github.com/lhoestq', 'followers_url': 'https://api.github.com/users/lhoestq/followers', 'f... | null | [] | 2022-10-06T15:14:58Z | 2023-02-17T14:10:01Z | null | MEMBER | null | Right now `IterableDataset` doesn't do any formatting.
In particular this code should return a numpy array:
```python
from datasets import load_dataset
ds = load_dataset("imagenet-1k", split="train", streaming=True).with_format("np")
print(next(iter(ds))["image"])
```
Right now it returns a PIL.Image.
S... | {'url': 'https://api.github.com/repos/huggingface/datasets/issues/5083/reactions', 'total_count': 0, '+1': 0, '-1': 0, 'laugh': 0, 'hooray': 0, 'confused': 0, 'heart': 0, 'rocket': 0, 'eyes': 0} | https://api.github.com/repos/huggingface/datasets/issues/5083/timeline | null | null | null | null | false |
https://api.github.com/repos/huggingface/datasets/issues/5082 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/5082/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/5082/comments | https://api.github.com/repos/huggingface/datasets/issues/5082/events | https://github.com/huggingface/datasets/pull/5082 | 1,399,379,777 | PR_kwDODunzps5ATJv- | 5,082 | adding keep in memory | {'login': 'Mustapha-AJEGHRIR', 'id': 66799406, 'node_id': 'MDQ6VXNlcjY2Nzk5NDA2', 'avatar_url': 'https://avatars.githubusercontent.com/u/66799406?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/Mustapha-AJEGHRIR', 'html_url': 'https://github.com/Mustapha-AJEGHRIR', 'followers_url': 'https://api.github.com... | [] | closed | false | null | [] | null | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Hi @mariosasko , I have added a test for the `keep_in_memory` version. I have also removed the `Compatible with temp_seed` part in the scope of `dset_shuffled`, please verify if that makes sense."
] | 2022-10-06T11:10:46Z | 2022-10-07T14:35:34Z | 2022-10-07T14:32:54Z | CONTRIBUTOR | null | Fixing #514 .
Hello @mariosasko 👋, I have implemented what you have recommanded to fix the keep in memory problem for shuffle on the issue #514 . | {'url': 'https://api.github.com/repos/huggingface/datasets/issues/5082/reactions', 'total_count': 0, '+1': 0, '-1': 0, 'laugh': 0, 'hooray': 0, 'confused': 0, 'heart': 0, 'rocket': 0, 'eyes': 0} | https://api.github.com/repos/huggingface/datasets/issues/5082/timeline | null | null | false | {'url': 'https://api.github.com/repos/huggingface/datasets/pulls/5082', 'html_url': 'https://github.com/huggingface/datasets/pull/5082', 'diff_url': 'https://github.com/huggingface/datasets/pull/5082.diff', 'patch_url': 'https://github.com/huggingface/datasets/pull/5082.patch', 'merged_at': '2022-10-07T14:32:54Z'} | true |
https://api.github.com/repos/huggingface/datasets/issues/5081 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/5081/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/5081/comments | https://api.github.com/repos/huggingface/datasets/issues/5081/events | https://github.com/huggingface/datasets/issues/5081 | 1,399,340,050 | I_kwDODunzps5TaDwS | 5,081 | Bug loading `sentence-transformers/parallel-sentences` | {'login': 'PhilipMay', 'id': 229382, 'node_id': 'MDQ6VXNlcjIyOTM4Mg==', 'avatar_url': 'https://avatars.githubusercontent.com/u/229382?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/PhilipMay', 'html_url': 'https://github.com/PhilipMay', 'followers_url': 'https://api.github.com/users/PhilipMay/followers',... | [{'id': 1935892857, 'node_id': 'MDU6TGFiZWwxOTM1ODkyODU3', 'url': 'https://api.github.com/repos/huggingface/datasets/labels/bug', 'name': 'bug', 'color': 'd73a4a', 'default': True, 'description': "Something isn't working"}] | open | false | null | [] | null | [
"tagging @nreimers ",
"The dataset is sadly not really compatible to be loaded with `load_dataset`. So far it is better to git clone it and to use the files directly.\r\n\r\nA data loading script would be needed to be added to this dataset. But this was too much overhead / not really intuitive how to create it.",... | 2022-10-06T10:47:51Z | 2022-10-11T10:00:48Z | null | CONTRIBUTOR | null | ## Steps to reproduce the bug
```python
from datasets import load_dataset
dataset = load_dataset("sentence-transformers/parallel-sentences")
```
raises this:
```
/home/phmay/miniconda3/envs/paraphrase-mining/lib/python3.9/site-packages/datasets/download/streaming_download_manager.py:697: FutureWarning: the '... | {'url': 'https://api.github.com/repos/huggingface/datasets/issues/5081/reactions', 'total_count': 0, '+1': 0, '-1': 0, 'laugh': 0, 'hooray': 0, 'confused': 0, 'heart': 0, 'rocket': 0, 'eyes': 0} | https://api.github.com/repos/huggingface/datasets/issues/5081/timeline | null | null | null | null | false |
https://api.github.com/repos/huggingface/datasets/issues/5080 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/5080/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/5080/comments | https://api.github.com/repos/huggingface/datasets/issues/5080/events | https://github.com/huggingface/datasets/issues/5080 | 1,398,849,565 | I_kwDODunzps5TYMAd | 5,080 | Use hfh for caching | {'login': 'albertvillanova', 'id': 8515462, 'node_id': 'MDQ6VXNlcjg1MTU0NjI=', 'avatar_url': 'https://avatars.githubusercontent.com/u/8515462?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/albertvillanova', 'html_url': 'https://github.com/albertvillanova', 'followers_url': 'https://api.github.com/users/a... | [{'id': 1935892871, 'node_id': 'MDU6TGFiZWwxOTM1ODkyODcx', 'url': 'https://api.github.com/repos/huggingface/datasets/labels/enhancement', 'name': 'enhancement', 'color': 'a2eeef', 'default': True, 'description': 'New feature or request'}] | open | false | {'login': 'albertvillanova', 'id': 8515462, 'node_id': 'MDQ6VXNlcjg1MTU0NjI=', 'avatar_url': 'https://avatars.githubusercontent.com/u/8515462?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/albertvillanova', 'html_url': 'https://github.com/albertvillanova', 'followers_url': 'https://api.github.com/users/a... | [{'login': 'albertvillanova', 'id': 8515462, 'node_id': 'MDQ6VXNlcjg1MTU0NjI=', 'avatar_url': 'https://avatars.githubusercontent.com/u/8515462?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/albertvillanova', 'html_url': 'https://github.com/albertvillanova', 'followers_url': 'https://api.github.com/users/... | null | [
"There is some discussion in https://github.com/huggingface/huggingface_hub/pull/1088 if it can help :)"
] | 2022-10-06T05:51:58Z | 2022-10-06T14:26:05Z | null | MEMBER | null | ## Is your feature request related to a problem?
As previously discussed in our meeting with @Wauplin and agreed on our last datasets team sync meeting, I'm investigating how `datasets` can use `hfh` for caching.
## Describe the solution you'd like
Due to the peculiarities of the `datasets` cache, I would prop... | {'url': 'https://api.github.com/repos/huggingface/datasets/issues/5080/reactions', 'total_count': 0, '+1': 0, '-1': 0, 'laugh': 0, 'hooray': 0, 'confused': 0, 'heart': 0, 'rocket': 0, 'eyes': 0} | https://api.github.com/repos/huggingface/datasets/issues/5080/timeline | null | null | null | null | false |
https://api.github.com/repos/huggingface/datasets/issues/5079 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/5079/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/5079/comments | https://api.github.com/repos/huggingface/datasets/issues/5079/events | https://github.com/huggingface/datasets/pull/5079 | 1,398,609,305 | PR_kwDODunzps5AQemi | 5,079 | refactor: replace AssertionError with more meaningful exceptions (#5074) | {'login': 'galbwe', 'id': 20004072, 'node_id': 'MDQ6VXNlcjIwMDA0MDcy', 'avatar_url': 'https://avatars.githubusercontent.com/u/20004072?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/galbwe', 'html_url': 'https://github.com/galbwe', 'followers_url': 'https://api.github.com/users/galbwe/followers', 'follow... | [] | closed | false | null | [] | null | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 2022-10-06T01:39:35Z | 2022-10-07T14:35:43Z | 2022-10-07T14:33:10Z | CONTRIBUTOR | null | Closes #5074
Replaces `AssertionError` in the following files with more descriptive exceptions:
- `src/datasets/arrow_reader.py`
- `src/datasets/builder.py`
- `src/datasets/utils/version.py`
The issue listed more files that needed to be fixed, but the rest of them were contained in the top-level `datasets` d... | {'url': 'https://api.github.com/repos/huggingface/datasets/issues/5079/reactions', 'total_count': 0, '+1': 0, '-1': 0, 'laugh': 0, 'hooray': 0, 'confused': 0, 'heart': 0, 'rocket': 0, 'eyes': 0} | https://api.github.com/repos/huggingface/datasets/issues/5079/timeline | null | null | false | {'url': 'https://api.github.com/repos/huggingface/datasets/pulls/5079', 'html_url': 'https://github.com/huggingface/datasets/pull/5079', 'diff_url': 'https://github.com/huggingface/datasets/pull/5079.diff', 'patch_url': 'https://github.com/huggingface/datasets/pull/5079.patch', 'merged_at': '2022-10-07T14:33:10Z'} | true |
https://api.github.com/repos/huggingface/datasets/issues/5078 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/5078/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/5078/comments | https://api.github.com/repos/huggingface/datasets/issues/5078/events | https://github.com/huggingface/datasets/pull/5078 | 1,398,335,148 | PR_kwDODunzps5APjkH | 5,078 | Fix header level in Audio docs | {'login': 'stevhliu', 'id': 59462357, 'node_id': 'MDQ6VXNlcjU5NDYyMzU3', 'avatar_url': 'https://avatars.githubusercontent.com/u/59462357?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/stevhliu', 'html_url': 'https://github.com/stevhliu', 'followers_url': 'https://api.github.com/users/stevhliu/followers',... | [] | closed | false | null | [] | null | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 2022-10-05T20:22:44Z | 2022-10-06T08:12:23Z | 2022-10-06T08:09:41Z | MEMBER | null | Fixes header level so `Dataset features` is the doc title instead of `The Audio type`:
 | {'url': 'https://api.github.com/repos/huggingface/datasets/issues/5078/reactions', 'total_count': 0, '+1': 0, '-1': 0, 'laugh': 0, 'hooray': 0, 'confused': 0, 'heart': 0, 'rocket': 0, 'eyes': 0} | https://api.github.com/repos/huggingface/datasets/issues/5078/timeline | null | null | false | {'url': 'https://api.github.com/repos/huggingface/datasets/pulls/5078', 'html_url': 'https://github.com/huggingface/datasets/pull/5078', 'diff_url': 'https://github.com/huggingface/datasets/pull/5078.diff', 'patch_url': 'https://github.com/huggingface/datasets/pull/5078.patch', 'merged_at': '2022-10-06T08:09:41Z'} | true |
https://api.github.com/repos/huggingface/datasets/issues/5077 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/5077/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/5077/comments | https://api.github.com/repos/huggingface/datasets/issues/5077/events | https://github.com/huggingface/datasets/pull/5077 | 1,398,080,859 | PR_kwDODunzps5AOs9L | 5,077 | Fix passed download_config in HubDatasetModuleFactoryWithoutScript | {'login': 'albertvillanova', 'id': 8515462, 'node_id': 'MDQ6VXNlcjg1MTU0NjI=', 'avatar_url': 'https://avatars.githubusercontent.com/u/8515462?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/albertvillanova', 'html_url': 'https://github.com/albertvillanova', 'followers_url': 'https://api.github.com/users/a... | [] | closed | false | null | [] | null | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 2022-10-05T16:42:36Z | 2022-10-06T05:31:22Z | 2022-10-06T05:29:06Z | MEMBER | null | Fix passed `download_config` in `HubDatasetModuleFactoryWithoutScript`. | {'url': 'https://api.github.com/repos/huggingface/datasets/issues/5077/reactions', 'total_count': 0, '+1': 0, '-1': 0, 'laugh': 0, 'hooray': 0, 'confused': 0, 'heart': 0, 'rocket': 0, 'eyes': 0} | https://api.github.com/repos/huggingface/datasets/issues/5077/timeline | null | null | false | {'url': 'https://api.github.com/repos/huggingface/datasets/pulls/5077', 'html_url': 'https://github.com/huggingface/datasets/pull/5077', 'diff_url': 'https://github.com/huggingface/datasets/pull/5077.diff', 'patch_url': 'https://github.com/huggingface/datasets/pull/5077.patch', 'merged_at': '2022-10-06T05:29:06Z'} | true |
https://api.github.com/repos/huggingface/datasets/issues/5076 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/5076/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/5076/comments | https://api.github.com/repos/huggingface/datasets/issues/5076/events | https://github.com/huggingface/datasets/pull/5076 | 1,397,918,092 | PR_kwDODunzps5AOJp7 | 5,076 | fix: update exception throw from OSError to EnvironmentError in `push… | {'login': 'rahulXs', 'id': 29496999, 'node_id': 'MDQ6VXNlcjI5NDk2OTk5', 'avatar_url': 'https://avatars.githubusercontent.com/u/29496999?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/rahulXs', 'html_url': 'https://github.com/rahulXs', 'followers_url': 'https://api.github.com/users/rahulXs/followers', 'fo... | [] | closed | false | null | [] | null | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 2022-10-05T14:46:29Z | 2022-10-07T14:35:57Z | 2022-10-07T14:33:27Z | CONTRIBUTOR | null | Status:
Ready for review
Description of Changes:
Fixes #5075
Changes proposed in this pull request:
- Throw EnvironmentError instead of OSError in `push_to_hub` when the Hub token is not present. | {'url': 'https://api.github.com/repos/huggingface/datasets/issues/5076/reactions', 'total_count': 0, '+1': 0, '-1': 0, 'laugh': 0, 'hooray': 0, 'confused': 0, 'heart': 0, 'rocket': 0, 'eyes': 0} | https://api.github.com/repos/huggingface/datasets/issues/5076/timeline | null | null | false | {'url': 'https://api.github.com/repos/huggingface/datasets/pulls/5076', 'html_url': 'https://github.com/huggingface/datasets/pull/5076', 'diff_url': 'https://github.com/huggingface/datasets/pull/5076.diff', 'patch_url': 'https://github.com/huggingface/datasets/pull/5076.patch', 'merged_at': '2022-10-07T14:33:27Z'} | true |
https://api.github.com/repos/huggingface/datasets/issues/5075 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/5075/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/5075/comments | https://api.github.com/repos/huggingface/datasets/issues/5075/events | https://github.com/huggingface/datasets/issues/5075 | 1,397,865,501 | I_kwDODunzps5TUbwd | 5,075 | Throw EnvironmentError when token is not present | {'login': 'mariosasko', 'id': 47462742, 'node_id': 'MDQ6VXNlcjQ3NDYyNzQy', 'avatar_url': 'https://avatars.githubusercontent.com/u/47462742?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/mariosasko', 'html_url': 'https://github.com/mariosasko', 'followers_url': 'https://api.github.com/users/mariosasko/fol... | [{'id': 1935892877, 'node_id': 'MDU6TGFiZWwxOTM1ODkyODc3', 'url': 'https://api.github.com/repos/huggingface/datasets/labels/good%20first%20issue', 'name': 'good first issue', 'color': '7057ff', 'default': True, 'description': 'Good for newcomers'}, {'id': 4614514401, 'node_id': 'LA_kwDODunzps8AAAABEwvm4Q', 'url': 'http... | closed | false | null | [] | null | [
"@mariosasko I've raised a PR #5076 against this issue. Please help to review. Thanks."
] | 2022-10-05T14:14:18Z | 2022-10-07T14:33:28Z | 2022-10-07T14:33:28Z | CONTRIBUTOR | null | Throw EnvironmentError instead of OSError ([link](https://github.com/huggingface/datasets/blob/6ad430ba0cdeeb601170f732d4bd977f5c04594d/src/datasets/arrow_dataset.py#L4306) to the line) in `push_to_hub` when the Hub token is not present. | {'url': 'https://api.github.com/repos/huggingface/datasets/issues/5075/reactions', 'total_count': 0, '+1': 0, '-1': 0, 'laugh': 0, 'hooray': 0, 'confused': 0, 'heart': 0, 'rocket': 0, 'eyes': 0} | https://api.github.com/repos/huggingface/datasets/issues/5075/timeline | null | completed | null | null | false |
https://api.github.com/repos/huggingface/datasets/issues/5074 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/5074/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/5074/comments | https://api.github.com/repos/huggingface/datasets/issues/5074/events | https://github.com/huggingface/datasets/issues/5074 | 1,397,850,352 | I_kwDODunzps5TUYDw | 5,074 | Replace AssertionErrors with more meaningful errors | {'login': 'mariosasko', 'id': 47462742, 'node_id': 'MDQ6VXNlcjQ3NDYyNzQy', 'avatar_url': 'https://avatars.githubusercontent.com/u/47462742?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/mariosasko', 'html_url': 'https://github.com/mariosasko', 'followers_url': 'https://api.github.com/users/mariosasko/fol... | [{'id': 1935892877, 'node_id': 'MDU6TGFiZWwxOTM1ODkyODc3', 'url': 'https://api.github.com/repos/huggingface/datasets/labels/good%20first%20issue', 'name': 'good first issue', 'color': '7057ff', 'default': True, 'description': 'Good for newcomers'}, {'id': 4614514401, 'node_id': 'LA_kwDODunzps8AAAABEwvm4Q', 'url': 'http... | closed | false | {'login': 'galbwe', 'id': 20004072, 'node_id': 'MDQ6VXNlcjIwMDA0MDcy', 'avatar_url': 'https://avatars.githubusercontent.com/u/20004072?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/galbwe', 'html_url': 'https://github.com/galbwe', 'followers_url': 'https://api.github.com/users/galbwe/followers', 'follow... | [{'login': 'galbwe', 'id': 20004072, 'node_id': 'MDQ6VXNlcjIwMDA0MDcy', 'avatar_url': 'https://avatars.githubusercontent.com/u/20004072?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/galbwe', 'html_url': 'https://github.com/galbwe', 'followers_url': 'https://api.github.com/users/galbwe/followers', 'follo... | null | [
"Hi, can I pick up this issue?",
"#self-assign",
"Looks like the top-level `datasource` directory was removed when https://github.com/huggingface/datasets/pull/4974 was merged, so there are 3 source files to fix."
] | 2022-10-05T14:03:55Z | 2022-10-07T14:33:11Z | 2022-10-07T14:33:11Z | CONTRIBUTOR | null | Replace the AssertionErrors with more meaningful errors such as ValueError, TypeError, etc.
The files with AssertionErrors that need to be replaced:
```
src/datasets/arrow_reader.py
src/datasets/builder.py
src/datasets/utils/version.py
``` | {'url': 'https://api.github.com/repos/huggingface/datasets/issues/5074/reactions', 'total_count': 0, '+1': 0, '-1': 0, 'laugh': 0, 'hooray': 0, 'confused': 0, 'heart': 0, 'rocket': 0, 'eyes': 0} | https://api.github.com/repos/huggingface/datasets/issues/5074/timeline | null | completed | null | null | false |
https://api.github.com/repos/huggingface/datasets/issues/5073 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/5073/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/5073/comments | https://api.github.com/repos/huggingface/datasets/issues/5073/events | https://github.com/huggingface/datasets/pull/5073 | 1,397,832,183 | PR_kwDODunzps5AN3Gn | 5,073 | Restore saved format state in `load_from_disk` | {'login': 'asofiaoliveira', 'id': 74454835, 'node_id': 'MDQ6VXNlcjc0NDU0ODM1', 'avatar_url': 'https://avatars.githubusercontent.com/u/74454835?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/asofiaoliveira', 'html_url': 'https://github.com/asofiaoliveira', 'followers_url': 'https://api.github.com/users/as... | [] | closed | false | null | [] | null | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 2022-10-05T13:51:47Z | 2022-10-11T16:55:07Z | 2022-10-11T16:49:23Z | CONTRIBUTOR | null | Hello! @mariosasko
This pull request relates to issue #5050 and intends to add the format to datasets loaded from disk.
All I did was add a set_format in the Dataset.load_from_disk, as DatasetDict.load_from_disk relies on the first.
I don't know if I should add a test and where, so let me know if I should and ... | {'url': 'https://api.github.com/repos/huggingface/datasets/issues/5073/reactions', 'total_count': 0, '+1': 0, '-1': 0, 'laugh': 0, 'hooray': 0, 'confused': 0, 'heart': 0, 'rocket': 0, 'eyes': 0} | https://api.github.com/repos/huggingface/datasets/issues/5073/timeline | null | null | false | {'url': 'https://api.github.com/repos/huggingface/datasets/pulls/5073', 'html_url': 'https://github.com/huggingface/datasets/pull/5073', 'diff_url': 'https://github.com/huggingface/datasets/pull/5073.diff', 'patch_url': 'https://github.com/huggingface/datasets/pull/5073.patch', 'merged_at': '2022-10-11T16:49:23Z'} | true |
https://api.github.com/repos/huggingface/datasets/issues/5072 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/5072/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/5072/comments | https://api.github.com/repos/huggingface/datasets/issues/5072/events | https://github.com/huggingface/datasets/pull/5072 | 1,397,765,531 | PR_kwDODunzps5ANoo5 | 5,072 | Image & Audio formatting for numpy/torch/tf/jax | {'login': 'lhoestq', 'id': 42851186, 'node_id': 'MDQ6VXNlcjQyODUxMTg2', 'avatar_url': 'https://avatars.githubusercontent.com/u/42851186?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/lhoestq', 'html_url': 'https://github.com/lhoestq', 'followers_url': 'https://api.github.com/users/lhoestq/followers', 'fo... | [] | closed | false | null | [] | null | [
"_The documentation is not available anymore as the PR was closed or merged._",
"I just added a consolidation step so that numpy arrays or tensors of images are stacked together if the shapes match, instead of having lists of tensors\r\n\r\nFeel free to review @mariosasko :)",
"I added a few lines in the docs a... | 2022-10-05T13:07:03Z | 2022-10-10T13:24:10Z | 2022-10-10T13:21:32Z | MEMBER | null | Added support for image and audio formatting for numpy, torch, tf and jax.
For images, the dtype used is the one of the image (the one returned by PIL.Image), e.g. uint8
I also added support for string, binary and None types. In particular for torch and jax, strings are kept unchanged (previously it was returning... | {'url': 'https://api.github.com/repos/huggingface/datasets/issues/5072/reactions', 'total_count': 0, '+1': 0, '-1': 0, 'laugh': 0, 'hooray': 0, 'confused': 0, 'heart': 0, 'rocket': 0, 'eyes': 0} | https://api.github.com/repos/huggingface/datasets/issues/5072/timeline | null | null | false | {'url': 'https://api.github.com/repos/huggingface/datasets/pulls/5072', 'html_url': 'https://github.com/huggingface/datasets/pull/5072', 'diff_url': 'https://github.com/huggingface/datasets/pull/5072.diff', 'patch_url': 'https://github.com/huggingface/datasets/pull/5072.patch', 'merged_at': '2022-10-10T13:21:32Z'} | true |
https://api.github.com/repos/huggingface/datasets/issues/5071 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/5071/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/5071/comments | https://api.github.com/repos/huggingface/datasets/issues/5071/events | https://github.com/huggingface/datasets/pull/5071 | 1,397,301,270 | PR_kwDODunzps5AMG3g | 5,071 | Support DEFAULT_CONFIG_NAME when no BUILDER_CONFIGS | {'login': 'albertvillanova', 'id': 8515462, 'node_id': 'MDQ6VXNlcjg1MTU0NjI=', 'avatar_url': 'https://avatars.githubusercontent.com/u/8515462?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/albertvillanova', 'html_url': 'https://github.com/albertvillanova', 'followers_url': 'https://api.github.com/users/a... | [] | closed | false | null | [] | null | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Super, thanks a lot for adding this support, Albert!"
] | 2022-10-05T06:28:39Z | 2022-10-06T14:43:12Z | 2022-10-06T14:40:26Z | MEMBER | null | This PR supports defining a default config name, even if no predefined allowed config names are set.
Fix #5070.
CC: @stas00 | {'url': 'https://api.github.com/repos/huggingface/datasets/issues/5071/reactions', 'total_count': 1, '+1': 0, '-1': 0, 'laugh': 0, 'hooray': 0, 'confused': 0, 'heart': 1, 'rocket': 0, 'eyes': 0} | https://api.github.com/repos/huggingface/datasets/issues/5071/timeline | null | null | false | {'url': 'https://api.github.com/repos/huggingface/datasets/pulls/5071', 'html_url': 'https://github.com/huggingface/datasets/pull/5071', 'diff_url': 'https://github.com/huggingface/datasets/pull/5071.diff', 'patch_url': 'https://github.com/huggingface/datasets/pull/5071.patch', 'merged_at': '2022-10-06T14:40:25Z'} | true |
https://api.github.com/repos/huggingface/datasets/issues/5070 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/5070/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/5070/comments | https://api.github.com/repos/huggingface/datasets/issues/5070/events | https://github.com/huggingface/datasets/issues/5070 | 1,396,765,647 | I_kwDODunzps5TQPPP | 5,070 | Support default config name when no builder configs | {'login': 'albertvillanova', 'id': 8515462, 'node_id': 'MDQ6VXNlcjg1MTU0NjI=', 'avatar_url': 'https://avatars.githubusercontent.com/u/8515462?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/albertvillanova', 'html_url': 'https://github.com/albertvillanova', 'followers_url': 'https://api.github.com/users/a... | [{'id': 1935892871, 'node_id': 'MDU6TGFiZWwxOTM1ODkyODcx', 'url': 'https://api.github.com/repos/huggingface/datasets/labels/enhancement', 'name': 'enhancement', 'color': 'a2eeef', 'default': True, 'description': 'New feature or request'}] | closed | false | {'login': 'albertvillanova', 'id': 8515462, 'node_id': 'MDQ6VXNlcjg1MTU0NjI=', 'avatar_url': 'https://avatars.githubusercontent.com/u/8515462?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/albertvillanova', 'html_url': 'https://github.com/albertvillanova', 'followers_url': 'https://api.github.com/users/a... | [{'login': 'albertvillanova', 'id': 8515462, 'node_id': 'MDQ6VXNlcjg1MTU0NjI=', 'avatar_url': 'https://avatars.githubusercontent.com/u/8515462?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/albertvillanova', 'html_url': 'https://github.com/albertvillanova', 'followers_url': 'https://api.github.com/users/... | null | [
"Thank you for creating this feature request, Albert.\r\n\r\nFor context this is the datatest where Albert has been helping me to switch to on-the-fly split config https://huggingface.co/datasets/HuggingFaceM4/cm4-synthetic-testing\r\n\r\nand the attempt to switch on-the-fly splits was here: https://huggingface.co/... | 2022-10-04T19:49:35Z | 2022-10-06T14:40:26Z | 2022-10-06T14:40:26Z | MEMBER | null | **Is your feature request related to a problem? Please describe.**
As discussed with @stas00, we could support defining a default config name, even if no predefined allowed config names are set. That is, support `DEFAULT_CONFIG_NAME`, even when `BUILDER_CONFIGS` is not defined.
**Additional context**
In order to ... | {'url': 'https://api.github.com/repos/huggingface/datasets/issues/5070/reactions', 'total_count': 1, '+1': 0, '-1': 0, 'laugh': 0, 'hooray': 0, 'confused': 0, 'heart': 1, 'rocket': 0, 'eyes': 0} | https://api.github.com/repos/huggingface/datasets/issues/5070/timeline | null | completed | null | null | false |
https://api.github.com/repos/huggingface/datasets/issues/5067 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/5067/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/5067/comments | https://api.github.com/repos/huggingface/datasets/issues/5067/events | https://github.com/huggingface/datasets/pull/5067 | 1,396,361,768 | PR_kwDODunzps5AI86d | 5,067 | Fix CONTRIBUTING once dataset scripts transferred to Hub | {'login': 'albertvillanova', 'id': 8515462, 'node_id': 'MDQ6VXNlcjg1MTU0NjI=', 'avatar_url': 'https://avatars.githubusercontent.com/u/8515462?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/albertvillanova', 'html_url': 'https://github.com/albertvillanova', 'followers_url': 'https://api.github.com/users/a... | [] | closed | false | null | [] | null | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 2022-10-04T14:16:05Z | 2022-10-06T06:14:43Z | 2022-10-06T06:12:12Z | MEMBER | null | This PR updates the `CONTRIBUTING.md` guide, once the all dataset scripts have been removed from the GitHub repo and transferred to the HF Hub:
- #4974
See diff here: https://github.com/huggingface/datasets/commit/e3291ecff9e54f09fcee3f313f051a03fdc3d94b
Additionally, this PR fixes the line separator that by som... | {'url': 'https://api.github.com/repos/huggingface/datasets/issues/5067/reactions', 'total_count': 0, '+1': 0, '-1': 0, 'laugh': 0, 'hooray': 0, 'confused': 0, 'heart': 0, 'rocket': 0, 'eyes': 0} | https://api.github.com/repos/huggingface/datasets/issues/5067/timeline | null | null | false | {'url': 'https://api.github.com/repos/huggingface/datasets/pulls/5067', 'html_url': 'https://github.com/huggingface/datasets/pull/5067', 'diff_url': 'https://github.com/huggingface/datasets/pull/5067.diff', 'patch_url': 'https://github.com/huggingface/datasets/pull/5067.patch', 'merged_at': '2022-10-06T06:12:12Z'} | true |
https://api.github.com/repos/huggingface/datasets/issues/5066 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/5066/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/5066/comments | https://api.github.com/repos/huggingface/datasets/issues/5066/events | https://github.com/huggingface/datasets/pull/5066 | 1,396,086,745 | PR_kwDODunzps5AIDWj | 5,066 | Support streaming gzip.open | {'login': 'albertvillanova', 'id': 8515462, 'node_id': 'MDQ6VXNlcjg1MTU0NjI=', 'avatar_url': 'https://avatars.githubusercontent.com/u/8515462?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/albertvillanova', 'html_url': 'https://github.com/albertvillanova', 'followers_url': 'https://api.github.com/users/a... | [] | closed | false | null | [] | null | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 2022-10-04T11:20:05Z | 2022-10-06T15:13:51Z | 2022-10-06T15:11:29Z | MEMBER | null | This PR implements support for streaming out-of-the-box dataset scripts containing `gzip.open`.
This has been a recurring issue. See, e.g.:
- #5060
- #3191 | {'url': 'https://api.github.com/repos/huggingface/datasets/issues/5066/reactions', 'total_count': 0, '+1': 0, '-1': 0, 'laugh': 0, 'hooray': 0, 'confused': 0, 'heart': 0, 'rocket': 0, 'eyes': 0} | https://api.github.com/repos/huggingface/datasets/issues/5066/timeline | null | null | false | {'url': 'https://api.github.com/repos/huggingface/datasets/pulls/5066', 'html_url': 'https://github.com/huggingface/datasets/pull/5066', 'diff_url': 'https://github.com/huggingface/datasets/pull/5066.diff', 'patch_url': 'https://github.com/huggingface/datasets/pull/5066.patch', 'merged_at': '2022-10-06T15:11:29Z'} | true |
https://api.github.com/repos/huggingface/datasets/issues/5065 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/5065/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/5065/comments | https://api.github.com/repos/huggingface/datasets/issues/5065/events | https://github.com/huggingface/datasets/pull/5065 | 1,396,003,362 | PR_kwDODunzps5AHxlQ | 5,065 | Ci py3.10 | {'login': 'lhoestq', 'id': 42851186, 'node_id': 'MDQ6VXNlcjQyODUxMTg2', 'avatar_url': 'https://avatars.githubusercontent.com/u/42851186?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/lhoestq', 'html_url': 'https://github.com/lhoestq', 'followers_url': 'https://api.github.com/users/lhoestq/followers', 'fo... | [] | closed | false | null | [] | null | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Does it sound good to you @albertvillanova ?"
] | 2022-10-04T10:13:51Z | 2022-11-29T15:28:05Z | 2022-11-29T15:25:26Z | MEMBER | null | Added a CI job for python 3.10
Some dependencies don't work on 3.10 like apache beam, so I remove them from the extras in this case.
I also removed some s3 fixtures that we don't use anymore (and that don't work on 3.10 anyway) | {'url': 'https://api.github.com/repos/huggingface/datasets/issues/5065/reactions', 'total_count': 0, '+1': 0, '-1': 0, 'laugh': 0, 'hooray': 0, 'confused': 0, 'heart': 0, 'rocket': 0, 'eyes': 0} | https://api.github.com/repos/huggingface/datasets/issues/5065/timeline | null | null | false | {'url': 'https://api.github.com/repos/huggingface/datasets/pulls/5065', 'html_url': 'https://github.com/huggingface/datasets/pull/5065', 'diff_url': 'https://github.com/huggingface/datasets/pull/5065.diff', 'patch_url': 'https://github.com/huggingface/datasets/pull/5065.patch', 'merged_at': '2022-11-29T15:25:26Z'} | true |
https://api.github.com/repos/huggingface/datasets/issues/5064 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/5064/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/5064/comments | https://api.github.com/repos/huggingface/datasets/issues/5064/events | https://github.com/huggingface/datasets/pull/5064 | 1,395,978,143 | PR_kwDODunzps5AHsP0 | 5,064 | Align signature of create/delete_repo with latest hfh | {'login': 'albertvillanova', 'id': 8515462, 'node_id': 'MDQ6VXNlcjg1MTU0NjI=', 'avatar_url': 'https://avatars.githubusercontent.com/u/8515462?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/albertvillanova', 'html_url': 'https://github.com/albertvillanova', 'followers_url': 'https://api.github.com/users/a... | [] | closed | false | null | [] | null | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 2022-10-04T09:54:53Z | 2022-10-07T17:02:11Z | 2022-10-07T16:59:30Z | MEMBER | null | This PR aligns the signature of `create_repo`/`delete_repo` with the current one in hfh, by removing deprecated `name` and `organization`, and using `repo_id` instead.
Related to:
- #5063
CC: @lhoestq | {'url': 'https://api.github.com/repos/huggingface/datasets/issues/5064/reactions', 'total_count': 0, '+1': 0, '-1': 0, 'laugh': 0, 'hooray': 0, 'confused': 0, 'heart': 0, 'rocket': 0, 'eyes': 0} | https://api.github.com/repos/huggingface/datasets/issues/5064/timeline | null | null | false | {'url': 'https://api.github.com/repos/huggingface/datasets/pulls/5064', 'html_url': 'https://github.com/huggingface/datasets/pull/5064', 'diff_url': 'https://github.com/huggingface/datasets/pull/5064.diff', 'patch_url': 'https://github.com/huggingface/datasets/pull/5064.patch', 'merged_at': '2022-10-07T16:59:30Z'} | true |
https://api.github.com/repos/huggingface/datasets/issues/5063 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/5063/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/5063/comments | https://api.github.com/repos/huggingface/datasets/issues/5063/events | https://github.com/huggingface/datasets/pull/5063 | 1,395,895,463 | PR_kwDODunzps5AHasG | 5,063 | Align signature of list_repo_files with latest hfh | {'login': 'albertvillanova', 'id': 8515462, 'node_id': 'MDQ6VXNlcjg1MTU0NjI=', 'avatar_url': 'https://avatars.githubusercontent.com/u/8515462?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/albertvillanova', 'html_url': 'https://github.com/albertvillanova', 'followers_url': 'https://api.github.com/users/a... | [] | closed | false | null | [] | null | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 2022-10-04T08:51:46Z | 2022-10-07T16:42:57Z | 2022-10-07T16:40:16Z | MEMBER | null | This PR aligns the signature of `list_repo_files` with the current one in `hfh`, by renaming deprecated `token` to `use_auth_token`.
This is already the case for `dataset_info`.
CC: @lhoestq | {'url': 'https://api.github.com/repos/huggingface/datasets/issues/5063/reactions', 'total_count': 0, '+1': 0, '-1': 0, 'laugh': 0, 'hooray': 0, 'confused': 0, 'heart': 0, 'rocket': 0, 'eyes': 0} | https://api.github.com/repos/huggingface/datasets/issues/5063/timeline | null | null | false | {'url': 'https://api.github.com/repos/huggingface/datasets/pulls/5063', 'html_url': 'https://github.com/huggingface/datasets/pull/5063', 'diff_url': 'https://github.com/huggingface/datasets/pull/5063.diff', 'patch_url': 'https://github.com/huggingface/datasets/pull/5063.patch', 'merged_at': '2022-10-07T16:40:16Z'} | true |
https://api.github.com/repos/huggingface/datasets/issues/5062 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/5062/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/5062/comments | https://api.github.com/repos/huggingface/datasets/issues/5062/events | https://github.com/huggingface/datasets/pull/5062 | 1,395,739,417 | PR_kwDODunzps5AG6SA | 5,062 | Fix CI hfh token warning | {'login': 'albertvillanova', 'id': 8515462, 'node_id': 'MDQ6VXNlcjg1MTU0NjI=', 'avatar_url': 'https://avatars.githubusercontent.com/u/8515462?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/albertvillanova', 'html_url': 'https://github.com/albertvillanova', 'followers_url': 'https://api.github.com/users/a... | [] | closed | false | null | [] | null | [
"_The documentation is not available anymore as the PR was closed or merged._",
"good catch !"
] | 2022-10-04T06:36:54Z | 2022-10-04T08:58:15Z | 2022-10-04T08:42:31Z | MEMBER | null | In our CI, we get warnings from `hfh` about using deprecated `token`: https://github.com/huggingface/datasets/actions/runs/3174626525/jobs/5171672431
```
tests/test_upstream_hub.py::TestPushToHub::test_push_dataset_dict_to_hub_private
tests/test_upstream_hub.py::TestPushToHub::test_push_dataset_dict_to_hub
tests/te... | {'url': 'https://api.github.com/repos/huggingface/datasets/issues/5062/reactions', 'total_count': 0, '+1': 0, '-1': 0, 'laugh': 0, 'hooray': 0, 'confused': 0, 'heart': 0, 'rocket': 0, 'eyes': 0} | https://api.github.com/repos/huggingface/datasets/issues/5062/timeline | null | null | false | {'url': 'https://api.github.com/repos/huggingface/datasets/pulls/5062', 'html_url': 'https://github.com/huggingface/datasets/pull/5062', 'diff_url': 'https://github.com/huggingface/datasets/pull/5062.diff', 'patch_url': 'https://github.com/huggingface/datasets/pull/5062.patch', 'merged_at': '2022-10-04T08:42:31Z'} | true |
https://api.github.com/repos/huggingface/datasets/issues/5061 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/5061/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/5061/comments | https://api.github.com/repos/huggingface/datasets/issues/5061/events | https://github.com/huggingface/datasets/issues/5061 | 1,395,476,770 | I_kwDODunzps5TLUki | 5,061 | `_pickle.PicklingError: logger cannot be pickled` in multiprocessing `map` | {'login': 'ZhaofengWu', 'id': 11954789, 'node_id': 'MDQ6VXNlcjExOTU0Nzg5', 'avatar_url': 'https://avatars.githubusercontent.com/u/11954789?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/ZhaofengWu', 'html_url': 'https://github.com/ZhaofengWu', 'followers_url': 'https://api.github.com/users/ZhaofengWu/fol... | [{'id': 1935892857, 'node_id': 'MDU6TGFiZWwxOTM1ODkyODU3', 'url': 'https://api.github.com/repos/huggingface/datasets/labels/bug', 'name': 'bug', 'color': 'd73a4a', 'default': True, 'description': "Something isn't working"}] | open | false | null | [] | null | [
"This is maybe related to python 3.10, do you think you could try on 3.8 ?\r\n\r\nIn the meantime we'll keep improving the support for 3.10. Let me add a dedicated CI",
"I did some binary search and seems like the root cause is either `multiprocess` or `dill`. python 3.10 is fine. Specifically:\r\n- `multiprocess... | 2022-10-03T23:51:38Z | 2022-10-14T16:44:54Z | null | NONE | null | ## Describe the bug
When I `map` with multiple processes, this error occurs. The `.name` of the `logger` that fails to pickle in the final line is `datasets.fingerprint`.
```
File "~/project/dataset.py", line 204, in <dictcomp>
split: dataset.map(
File ".../site-packages/datasets/arrow_dataset.py", line 24... | {'url': 'https://api.github.com/repos/huggingface/datasets/issues/5061/reactions', 'total_count': 0, '+1': 0, '-1': 0, 'laugh': 0, 'hooray': 0, 'confused': 0, 'heart': 0, 'rocket': 0, 'eyes': 0} | https://api.github.com/repos/huggingface/datasets/issues/5061/timeline | null | null | null | null | false |
https://api.github.com/repos/huggingface/datasets/issues/5060 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/5060/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/5060/comments | https://api.github.com/repos/huggingface/datasets/issues/5060/events | https://github.com/huggingface/datasets/issues/5060 | 1,395,382,940 | I_kwDODunzps5TK9qc | 5,060 | Unable to Use Custom Dataset Locally | {'login': 'zanussbaum', 'id': 33707069, 'node_id': 'MDQ6VXNlcjMzNzA3MDY5', 'avatar_url': 'https://avatars.githubusercontent.com/u/33707069?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/zanussbaum', 'html_url': 'https://github.com/zanussbaum', 'followers_url': 'https://api.github.com/users/zanussbaum/fol... | [{'id': 1935892857, 'node_id': 'MDU6TGFiZWwxOTM1ODkyODU3', 'url': 'https://api.github.com/repos/huggingface/datasets/labels/bug', 'name': 'bug', 'color': 'd73a4a', 'default': True, 'description': "Something isn't working"}] | closed | false | null | [] | null | [
"Hi ! I opened a PR in your repo to fix this :)\r\nhttps://huggingface.co/datasets/zpn/pubchem_selfies/discussions/7\r\n\r\nbasically you need to use `open` for streaming to work properly",
"Thank you so much for this! Naive question, is this a feature of `open` or have you all overloaded it to be able to read fr... | 2022-10-03T21:55:16Z | 2022-10-06T14:29:18Z | 2022-10-06T14:29:17Z | CONTRIBUTOR | null | ## Describe the bug
I have uploaded a [dataset](https://huggingface.co/datasets/zpn/pubchem_selfies) and followed the instructions from the [dataset_loader](https://huggingface.co/docs/datasets/dataset_script#download-data-files-and-organize-splits) tutorial. In that tutorial, it says
```
If the data files live in ... | {'url': 'https://api.github.com/repos/huggingface/datasets/issues/5060/reactions', 'total_count': 0, '+1': 0, '-1': 0, 'laugh': 0, 'hooray': 0, 'confused': 0, 'heart': 0, 'rocket': 0, 'eyes': 0} | https://api.github.com/repos/huggingface/datasets/issues/5060/timeline | null | completed | null | null | false |
https://api.github.com/repos/huggingface/datasets/issues/5059 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/5059/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/5059/comments | https://api.github.com/repos/huggingface/datasets/issues/5059/events | https://github.com/huggingface/datasets/pull/5059 | 1,395,050,876 | PR_kwDODunzps5AEoX7 | 5,059 | Fix typo | {'login': 'stevhliu', 'id': 59462357, 'node_id': 'MDQ6VXNlcjU5NDYyMzU3', 'avatar_url': 'https://avatars.githubusercontent.com/u/59462357?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/stevhliu', 'html_url': 'https://github.com/stevhliu', 'followers_url': 'https://api.github.com/users/stevhliu/followers',... | [] | closed | false | null | [] | null | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 2022-10-03T17:05:25Z | 2022-10-03T17:34:40Z | 2022-10-03T17:32:27Z | MEMBER | null | Fixes a small typo :) | {'url': 'https://api.github.com/repos/huggingface/datasets/issues/5059/reactions', 'total_count': 0, '+1': 0, '-1': 0, 'laugh': 0, 'hooray': 0, 'confused': 0, 'heart': 0, 'rocket': 0, 'eyes': 0} | https://api.github.com/repos/huggingface/datasets/issues/5059/timeline | null | null | false | {'url': 'https://api.github.com/repos/huggingface/datasets/pulls/5059', 'html_url': 'https://github.com/huggingface/datasets/pull/5059', 'diff_url': 'https://github.com/huggingface/datasets/pull/5059.diff', 'patch_url': 'https://github.com/huggingface/datasets/pull/5059.patch', 'merged_at': '2022-10-03T17:32:27Z'} | true |
https://api.github.com/repos/huggingface/datasets/issues/5058 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/5058/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/5058/comments | https://api.github.com/repos/huggingface/datasets/issues/5058/events | https://github.com/huggingface/datasets/pull/5058 | 1,394,962,424 | PR_kwDODunzps5AEVWn | 5,058 | Mark CI tests as xfail when 502 error | {'login': 'albertvillanova', 'id': 8515462, 'node_id': 'MDQ6VXNlcjg1MTU0NjI=', 'avatar_url': 'https://avatars.githubusercontent.com/u/8515462?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/albertvillanova', 'html_url': 'https://github.com/albertvillanova', 'followers_url': 'https://api.github.com/users/a... | [] | closed | false | null | [] | null | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 2022-10-03T15:53:55Z | 2022-10-04T10:03:23Z | 2022-10-04T10:01:23Z | MEMBER | null | To make CI more robust, we could mark as xfail when the Hub raises a 502 error (besides 500 error):
- FAILED tests/test_upstream_hub.py::TestPushToHub::test_push_dataset_to_hub_skip_identical_files
- https://github.com/huggingface/datasets/actions/runs/3174626525/jobs/5171672431
```
> raise HTTPEr... | {'url': 'https://api.github.com/repos/huggingface/datasets/issues/5058/reactions', 'total_count': 0, '+1': 0, '-1': 0, 'laugh': 0, 'hooray': 0, 'confused': 0, 'heart': 0, 'rocket': 0, 'eyes': 0} | https://api.github.com/repos/huggingface/datasets/issues/5058/timeline | null | null | false | {'url': 'https://api.github.com/repos/huggingface/datasets/pulls/5058', 'html_url': 'https://github.com/huggingface/datasets/pull/5058', 'diff_url': 'https://github.com/huggingface/datasets/pull/5058.diff', 'patch_url': 'https://github.com/huggingface/datasets/pull/5058.patch', 'merged_at': '2022-10-04T10:01:23Z'} | true |
https://api.github.com/repos/huggingface/datasets/issues/5057 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/5057/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/5057/comments | https://api.github.com/repos/huggingface/datasets/issues/5057/events | https://github.com/huggingface/datasets/pull/5057 | 1,394,827,216 | PR_kwDODunzps5AD4c6 | 5,057 | Support `converters` in `CsvBuilder` | {'login': 'mariosasko', 'id': 47462742, 'node_id': 'MDQ6VXNlcjQ3NDYyNzQy', 'avatar_url': 'https://avatars.githubusercontent.com/u/47462742?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/mariosasko', 'html_url': 'https://github.com/mariosasko', 'followers_url': 'https://api.github.com/users/mariosasko/fol... | [] | closed | false | null | [] | null | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 2022-10-03T14:23:21Z | 2022-10-04T11:19:28Z | 2022-10-04T11:17:32Z | CONTRIBUTOR | null | Add the `converters` param to `CsvBuilder`, to help in situations like [this one](https://discuss.huggingface.co/t/typeerror-in-load-dataset-related-to-a-sequence-of-strings/23545).
| {'url': 'https://api.github.com/repos/huggingface/datasets/issues/5057/reactions', 'total_count': 0, '+1': 0, '-1': 0, 'laugh': 0, 'hooray': 0, 'confused': 0, 'heart': 0, 'rocket': 0, 'eyes': 0} | https://api.github.com/repos/huggingface/datasets/issues/5057/timeline | null | null | false | {'url': 'https://api.github.com/repos/huggingface/datasets/pulls/5057', 'html_url': 'https://github.com/huggingface/datasets/pull/5057', 'diff_url': 'https://github.com/huggingface/datasets/pull/5057.diff', 'patch_url': 'https://github.com/huggingface/datasets/pull/5057.patch', 'merged_at': '2022-10-04T11:17:32Z'} | true |
https://api.github.com/repos/huggingface/datasets/issues/5056 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/5056/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/5056/comments | https://api.github.com/repos/huggingface/datasets/issues/5056/events | https://github.com/huggingface/datasets/pull/5056 | 1,394,713,173 | PR_kwDODunzps5ADfxN | 5,056 | Fix broken URL's (GEM) | {'login': 'manandey', 'id': 6687858, 'node_id': 'MDQ6VXNlcjY2ODc4NTg=', 'avatar_url': 'https://avatars.githubusercontent.com/u/6687858?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/manandey', 'html_url': 'https://github.com/manandey', 'followers_url': 'https://api.github.com/users/manandey/followers', '... | [] | closed | false | null | [] | null | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_5056). All of your documentation changes will be reflected on that endpoint.",
"Thanks, @manandey. We have removed all dataset scripts from this repo. Subsequent PRs should be opened directly on the Hugging Face Hub."
] | 2022-10-03T13:13:22Z | 2022-10-04T13:49:00Z | 2022-10-04T13:48:59Z | CONTRIBUTOR | null | This PR fixes the broken URL's in GEM. cc. @lhoestq, @albertvillanova | {'url': 'https://api.github.com/repos/huggingface/datasets/issues/5056/reactions', 'total_count': 0, '+1': 0, '-1': 0, 'laugh': 0, 'hooray': 0, 'confused': 0, 'heart': 0, 'rocket': 0, 'eyes': 0} | https://api.github.com/repos/huggingface/datasets/issues/5056/timeline | null | null | false | {'url': 'https://api.github.com/repos/huggingface/datasets/pulls/5056', 'html_url': 'https://github.com/huggingface/datasets/pull/5056', 'diff_url': 'https://github.com/huggingface/datasets/pull/5056.diff', 'patch_url': 'https://github.com/huggingface/datasets/pull/5056.patch', 'merged_at': None} | true |
https://api.github.com/repos/huggingface/datasets/issues/5055 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/5055/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/5055/comments | https://api.github.com/repos/huggingface/datasets/issues/5055/events | https://github.com/huggingface/datasets/pull/5055 | 1,394,503,844 | PR_kwDODunzps5ACyVU | 5,055 | Fix backward compatibility for dataset_infos.json | {'login': 'lhoestq', 'id': 42851186, 'node_id': 'MDQ6VXNlcjQyODUxMTg2', 'avatar_url': 'https://avatars.githubusercontent.com/u/42851186?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/lhoestq', 'html_url': 'https://github.com/lhoestq', 'followers_url': 'https://api.github.com/users/lhoestq/followers', 'fo... | [] | closed | false | null | [] | null | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 2022-10-03T10:30:14Z | 2022-10-03T13:43:55Z | 2022-10-03T13:41:32Z | MEMBER | null | While working on https://github.com/huggingface/datasets/pull/5018 I noticed a small bug introduced in #4926 regarding backward compatibility for dataset_infos.json
Indeed, when a dataset repo had both dataset_infos.json and README.md, the JSON file was ignored. This is unexpected: in practice it should be ignored o... | {'url': 'https://api.github.com/repos/huggingface/datasets/issues/5055/reactions', 'total_count': 0, '+1': 0, '-1': 0, 'laugh': 0, 'hooray': 0, 'confused': 0, 'heart': 0, 'rocket': 0, 'eyes': 0} | https://api.github.com/repos/huggingface/datasets/issues/5055/timeline | null | null | false | {'url': 'https://api.github.com/repos/huggingface/datasets/pulls/5055', 'html_url': 'https://github.com/huggingface/datasets/pull/5055', 'diff_url': 'https://github.com/huggingface/datasets/pull/5055.diff', 'patch_url': 'https://github.com/huggingface/datasets/pull/5055.patch', 'merged_at': '2022-10-03T13:41:32Z'} | true |
https://api.github.com/repos/huggingface/datasets/issues/5054 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/5054/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/5054/comments | https://api.github.com/repos/huggingface/datasets/issues/5054/events | https://github.com/huggingface/datasets/pull/5054 | 1,394,152,728 | PR_kwDODunzps5ABnd3 | 5,054 | Fix license/citation information of squadshifts dataset card | {'login': 'albertvillanova', 'id': 8515462, 'node_id': 'MDQ6VXNlcjg1MTU0NjI=', 'avatar_url': 'https://avatars.githubusercontent.com/u/8515462?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/albertvillanova', 'html_url': 'https://github.com/albertvillanova', 'followers_url': 'https://api.github.com/users/a... | [{'id': 4564477500, 'node_id': 'LA_kwDODunzps8AAAABEBBmPA', 'url': 'https://api.github.com/repos/huggingface/datasets/labels/dataset%20contribution', 'name': 'dataset contribution', 'color': '0e8a16', 'default': False, 'description': 'Contribution to a dataset script'}] | closed | false | null | [] | null | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 2022-10-03T05:19:13Z | 2022-10-03T09:26:49Z | 2022-10-03T09:24:30Z | MEMBER | null | This PR fixes the license/citation information of squadshifts dataset card, once the dataset owners have responded to our request for information:
- https://github.com/modestyachts/squadshifts-website/issues/1
Additionally, we have updated the mention in their website to our `datasets` library (they were referring ... | {'url': 'https://api.github.com/repos/huggingface/datasets/issues/5054/reactions', 'total_count': 0, '+1': 0, '-1': 0, 'laugh': 0, 'hooray': 0, 'confused': 0, 'heart': 0, 'rocket': 0, 'eyes': 0} | https://api.github.com/repos/huggingface/datasets/issues/5054/timeline | null | null | false | {'url': 'https://api.github.com/repos/huggingface/datasets/pulls/5054', 'html_url': 'https://github.com/huggingface/datasets/pull/5054', 'diff_url': 'https://github.com/huggingface/datasets/pull/5054.diff', 'patch_url': 'https://github.com/huggingface/datasets/pull/5054.patch', 'merged_at': '2022-10-03T09:24:30Z'} | true |
https://api.github.com/repos/huggingface/datasets/issues/5053 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/5053/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/5053/comments | https://api.github.com/repos/huggingface/datasets/issues/5053/events | https://github.com/huggingface/datasets/issues/5053 | 1,393,739,882 | I_kwDODunzps5TEshq | 5,053 | Intermittent JSON parse error when streaming the Pile | {'login': 'neelnanda-io', 'id': 77788841, 'node_id': 'MDQ6VXNlcjc3Nzg4ODQx', 'avatar_url': 'https://avatars.githubusercontent.com/u/77788841?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/neelnanda-io', 'html_url': 'https://github.com/neelnanda-io', 'followers_url': 'https://api.github.com/users/neelnand... | [{'id': 1935892857, 'node_id': 'MDU6TGFiZWwxOTM1ODkyODU3', 'url': 'https://api.github.com/repos/huggingface/datasets/labels/bug', 'name': 'bug', 'color': 'd73a4a', 'default': True, 'description': "Something isn't working"}] | open | false | null | [] | null | [
"Maybe #2838 can help. In this PR we allow to skip bad chunks of JSON data to not crash the training\r\n\r\nDid you have warning messages before the error ?\r\n\r\nsomething like this maybe ?\r\n```\r\n03/24/2022 02:19:46 - WARNING - datasets.utils.streaming_download_manager - Got disconnected from remote data host... | 2022-10-02T11:56:46Z | 2022-10-04T17:59:03Z | null | NONE | null | ## Describe the bug
I have an intermittent error when streaming the Pile, where I get a JSON parse error which causes my program to crash.
This is intermittent - when I rerun the program with the same random seed it does not crash in the same way. The exact point this happens also varied - it happened to me 11B tok... | {'url': 'https://api.github.com/repos/huggingface/datasets/issues/5053/reactions', 'total_count': 0, '+1': 0, '-1': 0, 'laugh': 0, 'hooray': 0, 'confused': 0, 'heart': 0, 'rocket': 0, 'eyes': 0} | https://api.github.com/repos/huggingface/datasets/issues/5053/timeline | null | null | null | null | false |
https://api.github.com/repos/huggingface/datasets/issues/5052 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/5052/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/5052/comments | https://api.github.com/repos/huggingface/datasets/issues/5052/events | https://github.com/huggingface/datasets/pull/5052 | 1,393,076,765 | PR_kwDODunzps4_-PZw | 5,052 | added from_generator method to IterableDataset class. | {'login': 'hamid-vakilzadeh', 'id': 56002455, 'node_id': 'MDQ6VXNlcjU2MDAyNDU1', 'avatar_url': 'https://avatars.githubusercontent.com/u/56002455?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/hamid-vakilzadeh', 'html_url': 'https://github.com/hamid-vakilzadeh', 'followers_url': 'https://api.github.com/us... | [] | closed | false | null | [] | null | [
"_The documentation is not available anymore as the PR was closed or merged._",
"I added a test and moved the `streaming` param from `read` to `__init_`. Then, I also decided to update the `read` method of the rest of the packaged modules to account for this param. \r\n\r\n@hamid-vakilzadeh Are you OK with these ... | 2022-09-30T22:14:05Z | 2022-10-05T12:51:48Z | 2022-10-05T12:10:48Z | CONTRIBUTOR | null | Hello,
This resolves issues #4988.
I added a method `from_generator` to class `IterableDataset`.
I modified the `read` method of input stream generator to also return Iterable_dataset.
| {'url': 'https://api.github.com/repos/huggingface/datasets/issues/5052/reactions', 'total_count': 0, '+1': 0, '-1': 0, 'laugh': 0, 'hooray': 0, 'confused': 0, 'heart': 0, 'rocket': 0, 'eyes': 0} | https://api.github.com/repos/huggingface/datasets/issues/5052/timeline | null | null | false | {'url': 'https://api.github.com/repos/huggingface/datasets/pulls/5052', 'html_url': 'https://github.com/huggingface/datasets/pull/5052', 'diff_url': 'https://github.com/huggingface/datasets/pull/5052.diff', 'patch_url': 'https://github.com/huggingface/datasets/pull/5052.patch', 'merged_at': '2022-10-05T12:10:48Z'} | true |
https://api.github.com/repos/huggingface/datasets/issues/5051 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/5051/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/5051/comments | https://api.github.com/repos/huggingface/datasets/issues/5051/events | https://github.com/huggingface/datasets/pull/5051 | 1,392,559,503 | PR_kwDODunzps4_8drw | 5,051 | Revert task removal in folder-based builders | {'login': 'mariosasko', 'id': 47462742, 'node_id': 'MDQ6VXNlcjQ3NDYyNzQy', 'avatar_url': 'https://avatars.githubusercontent.com/u/47462742?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/mariosasko', 'html_url': 'https://github.com/mariosasko', 'followers_url': 'https://api.github.com/users/mariosasko/fol... | [] | closed | false | null | [] | null | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 2022-09-30T14:50:03Z | 2022-10-03T12:23:35Z | 2022-10-03T12:21:31Z | CONTRIBUTOR | null | Reverts the removal of `task_templates` in the folder-based builders. I also added the `AudioClassifaction` task for consistency.
This is needed to fix https://github.com/huggingface/transformers/issues/19177.
I think we should soon deprecate and remove the current task API (and investigate if it's possible to in... | {'url': 'https://api.github.com/repos/huggingface/datasets/issues/5051/reactions', 'total_count': 0, '+1': 0, '-1': 0, 'laugh': 0, 'hooray': 0, 'confused': 0, 'heart': 0, 'rocket': 0, 'eyes': 0} | https://api.github.com/repos/huggingface/datasets/issues/5051/timeline | null | null | false | {'url': 'https://api.github.com/repos/huggingface/datasets/pulls/5051', 'html_url': 'https://github.com/huggingface/datasets/pull/5051', 'diff_url': 'https://github.com/huggingface/datasets/pull/5051.diff', 'patch_url': 'https://github.com/huggingface/datasets/pull/5051.patch', 'merged_at': '2022-10-03T12:21:31Z'} | true |
https://api.github.com/repos/huggingface/datasets/issues/5050 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/5050/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/5050/comments | https://api.github.com/repos/huggingface/datasets/issues/5050/events | https://github.com/huggingface/datasets/issues/5050 | 1,392,381,882 | I_kwDODunzps5S_g-6 | 5,050 | Restore saved format state in `load_from_disk` | {'login': 'mariosasko', 'id': 47462742, 'node_id': 'MDQ6VXNlcjQ3NDYyNzQy', 'avatar_url': 'https://avatars.githubusercontent.com/u/47462742?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/mariosasko', 'html_url': 'https://github.com/mariosasko', 'followers_url': 'https://api.github.com/users/mariosasko/fol... | [{'id': 1935892857, 'node_id': 'MDU6TGFiZWwxOTM1ODkyODU3', 'url': 'https://api.github.com/repos/huggingface/datasets/labels/bug', 'name': 'bug', 'color': 'd73a4a', 'default': True, 'description': "Something isn't working"}, {'id': 1935892877, 'node_id': 'MDU6TGFiZWwxOTM1ODkyODc3', 'url': 'https://api.github.com/repos/h... | closed | false | {'login': 'asofiaoliveira', 'id': 74454835, 'node_id': 'MDQ6VXNlcjc0NDU0ODM1', 'avatar_url': 'https://avatars.githubusercontent.com/u/74454835?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/asofiaoliveira', 'html_url': 'https://github.com/asofiaoliveira', 'followers_url': 'https://api.github.com/users/as... | [{'login': 'asofiaoliveira', 'id': 74454835, 'node_id': 'MDQ6VXNlcjc0NDU0ODM1', 'avatar_url': 'https://avatars.githubusercontent.com/u/74454835?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/asofiaoliveira', 'html_url': 'https://github.com/asofiaoliveira', 'followers_url': 'https://api.github.com/users/a... | null | [
"Hi, can I work on this?",
"Hi, sure! Let us know if you need some pointers/help."
] | 2022-09-30T12:40:07Z | 2022-10-11T16:49:24Z | 2022-10-11T16:49:24Z | CONTRIBUTOR | null | Even though we save the `format` state in `save_to_disk`, we don't restore it in `load_from_disk`. We should fix that.
Reported here: https://discuss.huggingface.co/t/save-to-disk-loses-formatting-information/23815 | {'url': 'https://api.github.com/repos/huggingface/datasets/issues/5050/reactions', 'total_count': 0, '+1': 0, '-1': 0, 'laugh': 0, 'hooray': 0, 'confused': 0, 'heart': 0, 'rocket': 0, 'eyes': 0} | https://api.github.com/repos/huggingface/datasets/issues/5050/timeline | null | completed | null | null | false |
https://api.github.com/repos/huggingface/datasets/issues/5049 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/5049/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/5049/comments | https://api.github.com/repos/huggingface/datasets/issues/5049/events | https://github.com/huggingface/datasets/pull/5049 | 1,392,361,381 | PR_kwDODunzps4_7zOY | 5,049 | Add `kwargs` to `Dataset.from_generator` | {'login': 'mariosasko', 'id': 47462742, 'node_id': 'MDQ6VXNlcjQ3NDYyNzQy', 'avatar_url': 'https://avatars.githubusercontent.com/u/47462742?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/mariosasko', 'html_url': 'https://github.com/mariosasko', 'followers_url': 'https://api.github.com/users/mariosasko/fol... | [] | closed | false | null | [] | null | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 2022-09-30T12:24:27Z | 2022-10-03T11:00:11Z | 2022-10-03T10:58:15Z | CONTRIBUTOR | null | Add the `kwargs` param to `from_generator` to align it with the rest of the `from_` methods (this param allows passing custom `writer_batch_size` for instance). | {'url': 'https://api.github.com/repos/huggingface/datasets/issues/5049/reactions', 'total_count': 0, '+1': 0, '-1': 0, 'laugh': 0, 'hooray': 0, 'confused': 0, 'heart': 0, 'rocket': 0, 'eyes': 0} | https://api.github.com/repos/huggingface/datasets/issues/5049/timeline | null | null | false | {'url': 'https://api.github.com/repos/huggingface/datasets/pulls/5049', 'html_url': 'https://github.com/huggingface/datasets/pull/5049', 'diff_url': 'https://github.com/huggingface/datasets/pull/5049.diff', 'patch_url': 'https://github.com/huggingface/datasets/pull/5049.patch', 'merged_at': '2022-10-03T10:58:15Z'} | true |
https://api.github.com/repos/huggingface/datasets/issues/5048 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/5048/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/5048/comments | https://api.github.com/repos/huggingface/datasets/issues/5048/events | https://github.com/huggingface/datasets/pull/5048 | 1,392,170,680 | PR_kwDODunzps4_7KI2 | 5,048 | Fix bug with labels of eurlex config of lex_glue dataset | {'login': 'iliaschalkidis', 'id': 1626984, 'node_id': 'MDQ6VXNlcjE2MjY5ODQ=', 'avatar_url': 'https://avatars.githubusercontent.com/u/1626984?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/iliaschalkidis', 'html_url': 'https://github.com/iliaschalkidis', 'followers_url': 'https://api.github.com/users/ilia... | [{'id': 4564477500, 'node_id': 'LA_kwDODunzps8AAAABEBBmPA', 'url': 'https://api.github.com/repos/huggingface/datasets/labels/dataset%20contribution', 'name': 'dataset contribution', 'color': '0e8a16', 'default': False, 'description': 'Contribution to a dataset script'}] | closed | false | null | [] | null | [
"_The documentation is not available anymore as the PR was closed or merged._",
"@JamesLYC88 here is the fix! Thanks again!",
"Thanks, @albertvillanova. When do you expect that this change will take effect when someone downloads the dataset?",
"The change is immediately available now, since this change we mad... | 2022-09-30T09:47:12Z | 2022-09-30T16:30:25Z | 2022-09-30T16:21:41Z | CONTRIBUTOR | null | Fix for a critical bug in the EURLEX dataset label list to make LexGLUE EURLEX results replicable.
In LexGLUE (Chalkidis et al., 2022), the following is mentioned w.r.t. EUR-LEX: _"It supports four different label granularities, comprising 21, 127, 567, 7390 EuroVoc concepts, respectively. We use the 100 most frequ... | {'url': 'https://api.github.com/repos/huggingface/datasets/issues/5048/reactions', 'total_count': 0, '+1': 0, '-1': 0, 'laugh': 0, 'hooray': 0, 'confused': 0, 'heart': 0, 'rocket': 0, 'eyes': 0} | https://api.github.com/repos/huggingface/datasets/issues/5048/timeline | null | null | false | {'url': 'https://api.github.com/repos/huggingface/datasets/pulls/5048', 'html_url': 'https://github.com/huggingface/datasets/pull/5048', 'diff_url': 'https://github.com/huggingface/datasets/pull/5048.diff', 'patch_url': 'https://github.com/huggingface/datasets/pull/5048.patch', 'merged_at': '2022-09-30T16:21:41Z'} | true |
https://api.github.com/repos/huggingface/datasets/issues/5047 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/5047/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/5047/comments | https://api.github.com/repos/huggingface/datasets/issues/5047/events | https://github.com/huggingface/datasets/pull/5047 | 1,392,088,398 | PR_kwDODunzps4_64bS | 5,047 | Fix cats_vs_dogs | {'login': 'lhoestq', 'id': 42851186, 'node_id': 'MDQ6VXNlcjQyODUxMTg2', 'avatar_url': 'https://avatars.githubusercontent.com/u/42851186?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/lhoestq', 'html_url': 'https://github.com/lhoestq', 'followers_url': 'https://api.github.com/users/lhoestq/followers', 'fo... | [{'id': 4564477500, 'node_id': 'LA_kwDODunzps8AAAABEBBmPA', 'url': 'https://api.github.com/repos/huggingface/datasets/labels/dataset%20contribution', 'name': 'dataset contribution', 'color': '0e8a16', 'default': False, 'description': 'Contribution to a dataset script'}] | closed | false | null | [] | null | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 2022-09-30T08:47:29Z | 2022-09-30T10:23:22Z | 2022-09-30T09:34:28Z | MEMBER | null | Reported in https://github.com/huggingface/datasets/pull/3878
I updated the number of examples | {'url': 'https://api.github.com/repos/huggingface/datasets/issues/5047/reactions', 'total_count': 0, '+1': 0, '-1': 0, 'laugh': 0, 'hooray': 0, 'confused': 0, 'heart': 0, 'rocket': 0, 'eyes': 0} | https://api.github.com/repos/huggingface/datasets/issues/5047/timeline | null | null | false | {'url': 'https://api.github.com/repos/huggingface/datasets/pulls/5047', 'html_url': 'https://github.com/huggingface/datasets/pull/5047', 'diff_url': 'https://github.com/huggingface/datasets/pull/5047.diff', 'patch_url': 'https://github.com/huggingface/datasets/pull/5047.patch', 'merged_at': '2022-09-30T09:34:28Z'} | true |
https://api.github.com/repos/huggingface/datasets/issues/5046 | https://api.github.com/repos/huggingface/datasets | https://api.github.com/repos/huggingface/datasets/issues/5046/labels{/name} | https://api.github.com/repos/huggingface/datasets/issues/5046/comments | https://api.github.com/repos/huggingface/datasets/issues/5046/events | https://github.com/huggingface/datasets/issues/5046 | 1,391,372,519 | I_kwDODunzps5S7qjn | 5,046 | Audiofolder creates empty Dataset if files same level as metadata | {'login': 'msis', 'id': 577139, 'node_id': 'MDQ6VXNlcjU3NzEzOQ==', 'avatar_url': 'https://avatars.githubusercontent.com/u/577139?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/msis', 'html_url': 'https://github.com/msis', 'followers_url': 'https://api.github.com/users/msis/followers', 'following_url': 'h... | [{'id': 1935892857, 'node_id': 'MDU6TGFiZWwxOTM1ODkyODU3', 'url': 'https://api.github.com/repos/huggingface/datasets/labels/bug', 'name': 'bug', 'color': 'd73a4a', 'default': True, 'description': "Something isn't working"}, {'id': 1935892877, 'node_id': 'MDU6TGFiZWwxOTM1ODkyODc3', 'url': 'https://api.github.com/repos/h... | closed | false | {'login': 'riccardobucco', 'id': 9295277, 'node_id': 'MDQ6VXNlcjkyOTUyNzc=', 'avatar_url': 'https://avatars.githubusercontent.com/u/9295277?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/riccardobucco', 'html_url': 'https://github.com/riccardobucco', 'followers_url': 'https://api.github.com/users/riccard... | [{'login': 'riccardobucco', 'id': 9295277, 'node_id': 'MDQ6VXNlcjkyOTUyNzc=', 'avatar_url': 'https://avatars.githubusercontent.com/u/9295277?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/riccardobucco', 'html_url': 'https://github.com/riccardobucco', 'followers_url': 'https://api.github.com/users/riccar... | null | [
"Hi! Unfortunately, I can't reproduce this behavior. Instead, I get `ValueError: audio at 2063_fe9936e7-62b2-4e62-a276-acbd344480ce_1.wav doesn't have metadata in /audio-data/metadata.csv`, which can be fixed by removing the `./` from the file name.\r\n\r\n(Link to a Colab that tries to reproduce this behavior: htt... | 2022-09-29T19:17:23Z | 2022-10-28T13:05:07Z | 2022-10-28T13:05:07Z | NONE | null | ## Describe the bug
When audio files are at the same level as the metadata (`metadata.csv` or `metadata.jsonl` ), the `load_dataset` returns a `DatasetDict` with no rows but the correct columns.
https://github.com/huggingface/datasets/blob/1ea4d091b7a4b83a85b2eeb8df65115d39af3766/docs/source/audio_dataset.mdx?plain... | {'url': 'https://api.github.com/repos/huggingface/datasets/issues/5046/reactions', 'total_count': 0, '+1': 0, '-1': 0, 'laugh': 0, 'hooray': 0, 'confused': 0, 'heart': 0, 'rocket': 0, 'eyes': 0} | https://api.github.com/repos/huggingface/datasets/issues/5046/timeline | null | completed | null | null | false |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.