id
int64
599M
3.18B
number
int64
1
7.65k
title
stringlengths
1
290
state
stringclasses
2 values
body
stringlengths
0
228k
is_pull_request
bool
1 class
created_at
stringdate
2020-04-14 10:18:02
2025-06-26 12:23:48
updated_at
stringdate
2020-04-27 16:04:17
2025-06-26 14:02:38
closed_at
stringlengths
20
20
⌀
user_login
stringlengths
3
26
author_association
stringclasses
4 values
pr_url
stringlengths
46
49
⌀
pr_merged_at
stringlengths
20
20
⌀
comments_count
int64
0
70
reactions_total
int64
0
61
reactions_plus1
int64
0
39
reactions_heart
int64
0
22
draft
bool
2 classes
locked
bool
1 class
labels
listlengths
0
4
html_url
stringlengths
46
51
is_pr_url
bool
2 classes
comments
listlengths
0
30
974,683,155
2,819
Added XL-Sum dataset
closed
Added XL-Sum dataset published in ACL-IJCNLP 2021. (https://aclanthology.org/2021.findings-acl.413/). The default timeout values in `src/datasets/utils/file_utls.py` were increased to enable downloading from the original google drive links.
true
2021-08-19T13:47:45Z
2021-09-29T08:13:44Z
2021-09-23T17:49:05Z
abhik1505040
NONE
https://github.com/huggingface/datasets/pull/2819
null
10
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/2819
true
[ "Thanks for adding this one ! I just did some minor changes and set the timeout back to 100sec instead of 1000", "The CI failure is unrelated to this PR - let me take a look", "> Thanks for adding this one! I just did some minor changes and set the timeout back to 100sec instead of 1000\r\n\r\nThank you for upd...
974,552,009
2,818
cannot load data from my loacal path
closed
## Describe the bug I just want to directly load data from my local path,but find a bug.And I compare it with pandas to provide my local path is real. here is my code ```python3 # print my local path print(config.train_path) # read data and print data length tarin=pd.read_csv(config.train_path) print(len(tari...
true
2021-08-19T11:13:30Z
2023-07-25T17:42:15Z
2023-07-25T17:42:15Z
yang-collect
NONE
null
null
1
0
0
0
null
false
[ "bug" ]
https://github.com/huggingface/datasets/issues/2818
false
[ "Hi ! The `data_files` parameter must be a string, a list/tuple or a python dict.\r\n\r\nCan you check the type of your `config.train_path` please ? Or use `data_files=str(config.train_path)` ?" ]
974,486,051
2,817
Rename The Pile subsets
closed
After discussing with @yjernite we think it's better to have the subsets of The Pile explicitly have "the_pile" in their names. I'm doing the changes for the subsets that @richarddwang added: - [x] books3 -> the_pile_books3 https://github.com/huggingface/datasets/pull/2801 - [x] stack_exchange -> the_pile_stack_ex...
true
2021-08-19T09:56:22Z
2021-08-23T16:24:10Z
2021-08-23T16:24:09Z
lhoestq
MEMBER
https://github.com/huggingface/datasets/pull/2817
2021-08-23T16:24:09Z
2
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/2817
true
[ "Sounds good. Should we also have a “the_pile” dataset with the subsets as configuration?", "I think the main `the_pile` datasets will be the one that is the mix of all the subsets: https://the-eye.eu/public/AI/pile/\r\n\r\nWe can also add configurations for each subset, and even allow users to specify the subset...
974,031,404
2,816
Add Mostly Basic Python Problems Dataset
open
## Adding a Dataset - **Name:** Mostly Basic Python Problems Dataset - **Description:** The benchmark consists of around 1,000 crowd-sourced Python programming problems, designed to be solvable by entry level programmers, covering programming fundamentals, standard library functionality, and so on. Each problem consi...
true
2021-08-18T20:28:39Z
2021-09-10T08:04:20Z
null
osanseviero
CONTRIBUTOR
null
null
1
3
1
2
null
false
[ "dataset request" ]
https://github.com/huggingface/datasets/issues/2816
false
[ "I started working on that." ]
973,862,024
2,815
Tiny typo fixes of "fo" -> "of"
closed
Noticed a few of these when reading docs- feel free to ignore the PR and just fix on some main contributor branch if more helpful. Thanks for the great library! :)
true
2021-08-18T16:36:11Z
2021-08-19T08:03:02Z
2021-08-19T08:03:02Z
aronszanto
CONTRIBUTOR
https://github.com/huggingface/datasets/pull/2815
2021-08-19T08:03:02Z
0
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/2815
true
[]
973,632,645
2,814
Bump tqdm version
closed
The recently released tqdm 4.62.1 includes a fix for PermissionError on Windows (submitted by me in https://github.com/tqdm/tqdm/pull/1207), which means we can remove expensive `gc.collect` calls by bumping tqdm to that version. This PR does exactly that and, additionally, fixes a `disable_tqdm` definition that would p...
true
2021-08-18T12:51:29Z
2021-08-18T13:44:11Z
2021-08-18T13:39:50Z
mariosasko
COLLABORATOR
https://github.com/huggingface/datasets/pull/2814
2021-08-18T13:39:49Z
0
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/2814
true
[]
973,470,580
2,813
Remove compression from xopen
closed
We implemented support for streaming with 2 requirements: - transparent use for the end user: just needs to pass the parameter `streaming=True` - no additional work for the contributors: previous loading scripts should also work in streaming mode with no (or minor) changes; and new loading scripts should not involve ...
true
2021-08-18T09:35:59Z
2021-08-23T15:59:14Z
2021-08-23T15:59:14Z
albertvillanova
MEMBER
null
null
1
0
0
0
null
false
[ "generic discussion" ]
https://github.com/huggingface/datasets/issues/2813
false
[ "After discussing with @lhoestq, a reasonable alternative:\r\n- `download_manager.extract(urlpath)` adds prefixes to `urlpath` in the same way as `fsspec` does for protocols, but we implement custom prefixes for all compression formats: \r\n `bz2::http://domain.org/filename.bz2`\r\n- `xopen` parses the `urlpath` a...
972,936,889
2,812
arXiv Dataset verification problem
open
## Describe the bug `dataset_infos.json` for `arxiv_dataset` contains a fixed number of training examples, however the data (downloaded from an external source) is updated every week with additional examples. Therefore, loading the dataset without `ignore_verifications=True` results in a verification error.
true
2021-08-17T18:01:48Z
2022-01-19T14:15:35Z
null
eladsegal
CONTRIBUTOR
null
null
0
2
2
0
null
false
[ "bug", "dataset bug" ]
https://github.com/huggingface/datasets/issues/2812
false
[]
972,522,480
2,811
Fix stream oscar
closed
Previously, an additional `open` was added to oscar to make it stream-compatible: 587bbb94e891b22863b312b99696e32708c379f4. This was argued that might be problematic: https://github.com/huggingface/datasets/pull/2786#discussion_r690045921 This PR: - removes that additional `open` - patches `gzip.open` with `xop...
true
2021-08-17T10:10:59Z
2021-08-26T10:26:15Z
2021-08-26T10:26:14Z
albertvillanova
MEMBER
https://github.com/huggingface/datasets/pull/2811
null
3
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/2811
true
[ "One additional note: if we can try to not change the code of oscar.py too often, I'm sure users that have it in their cache directory will be happy to not have to redownload it every time they update the library ;)\r\n\r\n(since changing the code changes the cache directory of the dataset)", "I don't think this ...
972,040,022
2,810
Add WIT Dataset
closed
Adds Google's [WIT](https://github.com/google-research-datasets/wit) dataset.
true
2021-08-16T19:34:09Z
2022-05-06T12:27:29Z
2022-05-06T12:26:16Z
hassiahk
NONE
https://github.com/huggingface/datasets/pull/2810
null
1
0
0
0
true
false
[]
https://github.com/huggingface/datasets/pull/2810
true
[ "Google's version of WIT is now available here: https://huggingface.co/datasets/google/wit" ]
971,902,613
2,809
Add Beans Dataset
closed
Adds the [beans](https://github.com/AI-Lab-Makerere/ibean/) image classification dataset.
true
2021-08-16T16:22:33Z
2021-08-26T11:42:27Z
2021-08-26T11:42:27Z
nateraw
CONTRIBUTOR
https://github.com/huggingface/datasets/pull/2809
2021-08-26T11:42:27Z
0
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/2809
true
[]
971,882,320
2,808
Enable streaming for Wikipedia corpora
closed
**Is your feature request related to a problem? Please describe.** Several of the [Wikipedia corpora](https://huggingface.co/datasets?search=wiki) on the Hub involve quite large files that would be a good candidate for streaming. Currently it is not possible to stream these corpora: ```python from datasets import ...
true
2021-08-16T15:59:12Z
2023-07-20T13:45:30Z
2023-07-20T13:45:30Z
lewtun
MEMBER
null
null
1
5
5
0
null
false
[ "enhancement" ]
https://github.com/huggingface/datasets/issues/2808
false
[ "Closing as this has been addressed in https://github.com/huggingface/datasets/pull/5689." ]
971,849,863
2,807
Add cats_vs_dogs dataset
closed
Adds Microsoft's [Cats vs. Dogs](https://www.microsoft.com/en-us/download/details.aspx?id=54765) dataset.
true
2021-08-16T15:21:11Z
2021-08-30T16:35:25Z
2021-08-30T16:35:24Z
nateraw
CONTRIBUTOR
https://github.com/huggingface/datasets/pull/2807
2021-08-30T16:35:24Z
0
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/2807
true
[]
971,625,449
2,806
Fix streaming tar files from canonical datasets
closed
Previous PR #2800 implemented support to stream remote tar files when passing the parameter `data_files`: they required a glob string `"*"`. However, this glob string creates an error when streaming canonical datasets (with a `join` after the `open`). This PR fixes this issue and allows streaming tar files both f...
true
2021-08-16T11:10:28Z
2021-10-13T09:04:03Z
2021-10-13T09:04:02Z
albertvillanova
MEMBER
https://github.com/huggingface/datasets/pull/2806
null
5
1
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/2806
true
[ "In case it's relevant for this PR, I'm finding that I cannot stream the `bookcorpus` dataset (using the `master` branch of `datasets`), which is a `.tar.bz2` file:\r\n\r\n```python\r\nfrom datasets import load_dataset\r\n\r\nbooks_dataset_streamed = load_dataset(\"bookcorpus\", split=\"train\", streaming=True)\r\n...
971,436,456
2,805
Fix streaming zip files from canonical datasets
closed
Previous PR #2798 fixed streaming remote zip files when passing the parameter `data_files`. However, that broke streaming zip files used in canonical `datasets` scripts, which normally have a subsequent `join()` (patched with `xjoin()`) after the `StreamingDownloadManager.download_and_extract()` is called. This P...
true
2021-08-16T07:11:40Z
2021-08-16T10:34:00Z
2021-08-16T10:34:00Z
albertvillanova
MEMBER
https://github.com/huggingface/datasets/pull/2805
2021-08-16T10:34:00Z
0
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/2805
true
[]
971,353,437
2,804
Add Food-101
closed
Adds image classification dataset [Food-101](https://data.vision.ee.ethz.ch/cvl/datasets_extra/food-101/).
true
2021-08-16T04:26:15Z
2021-08-20T14:31:33Z
2021-08-19T12:48:06Z
nateraw
CONTRIBUTOR
https://github.com/huggingface/datasets/pull/2804
2021-08-19T12:48:06Z
0
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/2804
true
[]
970,858,928
2,803
add stack exchange
closed
stack exchange is part of EleutherAI/The Pile, but AFAIK, The Pile dataset blend all sub datasets together thus we are not able to use just one of its sub dataset from The Pile data. So I create an independent dataset using The Pile preliminary components. I also change default `timeout` to 100 seconds instead of 10...
true
2021-08-14T08:11:02Z
2021-08-19T10:07:33Z
2021-08-19T08:07:38Z
richarddwang
CONTRIBUTOR
https://github.com/huggingface/datasets/pull/2803
2021-08-19T08:07:38Z
2
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/2803
true
[ "Hi ! Merging this one since it's all good :)\r\n\r\nHowever I think it would also be better to actually rename it `the_pile_stack_exchange` to make things clearer and to avoid name collisions in the future. I would like to do the same for `books3` as well.\r\n\r\nIf you don't mind I'll open a PR to do the renaming...
970,848,302
2,802
add openwebtext2
closed
openwebtext2 is part of EleutherAI/The Pile, but AFAIK, The Pile dataset blend all sub datasets together thus we are not able to use just one of its sub dataset from The Pile data. So I create an independent dataset using The Pile preliminary components. When I was creating dataset card. I found there is room for cr...
true
2021-08-14T07:09:03Z
2021-08-23T14:06:14Z
2021-08-23T14:06:14Z
richarddwang
CONTRIBUTOR
https://github.com/huggingface/datasets/pull/2802
2021-08-23T14:06:14Z
3
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/2802
true
[ "It seems we need to `pip install jsonlines` to pass the checks ?", "Hi ! Do you really need `jsonlines` ? I think it simply uses `json.loads` under the hood.\r\n\r\nCurrently the test are failing because `jsonlines` is not part of the extra requirements `TESTS_REQUIRE` in setup.py\r\n\r\nSo either you can replac...
970,844,617
2,801
add books3
closed
books3 is part of EleutherAI/The Pile, but AFAIK, The Pile dataset blend all sub datasets together thus we are not able to use just one of its sub dataset from The Pile data. So I create an independent dataset using The Pile preliminary components. When I was creating dataset card. I found there is room for creating...
true
2021-08-14T07:04:25Z
2021-08-19T16:43:09Z
2021-08-18T15:36:59Z
richarddwang
CONTRIBUTOR
https://github.com/huggingface/datasets/pull/2801
2021-08-18T15:36:59Z
4
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/2801
true
[ "> When I was creating dataset card. I found there is room for creating / editing dataset card. I've made it an issue. #2797\r\n\r\nThanks for the message, we'll definitely improve this\r\n\r\n> Also I am wondering whether the import of The Pile dataset is actively undertaken (because I may need it recently)? #1675...
970,819,988
2,800
Support streaming tar files
closed
This PR adds support to stream tar files by using the `fsspec` tar protocol. It also uses the custom `readline` implemented in PR #2786. The corresponding test is implemented in PR #2786.
true
2021-08-14T04:40:17Z
2021-08-26T10:02:30Z
2021-08-14T04:55:57Z
albertvillanova
MEMBER
https://github.com/huggingface/datasets/pull/2800
2021-08-14T04:55:57Z
1
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/2800
true
[ "Hi ! Why do we need the custom `readline` for exactly ? feel free to add a comment to say why it's needed" ]
970,507,351
2,799
Loading JSON throws ArrowNotImplementedError
closed
## Describe the bug I have created a [dataset](https://huggingface.co/datasets/lewtun/github-issues-test) of GitHub issues in line-separated JSON format and am finding that I cannot load it with the `json` loading script (see stack trace below). Curiously, there is no problem loading the dataset with `pandas` which...
true
2021-08-13T15:31:48Z
2022-01-10T18:59:32Z
2022-01-10T18:59:32Z
lewtun
MEMBER
null
null
11
0
0
0
null
false
[ "bug" ]
https://github.com/huggingface/datasets/issues/2799
false
[ "Hi @lewtun, thanks for reporting.\r\n\r\nApparently, `pyarrow.json` tries to cast timestamp-like fields in your JSON file to pyarrow timestamp type, and it fails with `ArrowNotImplementedError`.\r\n\r\nI will investigate if there is a way to tell pyarrow not to try that timestamp casting.", "I think the issue is...
970,493,126
2,798
Fix streaming zip files
closed
Currently, streaming remote zip data files gives `FileNotFoundError` message: ```python data_files = f"https://huggingface.co/datasets/albertvillanova/datasets-tests-compression/resolve/main/sample.zip" ds = load_dataset("json", split="train", data_files=data_files, streaming=True) next(iter(ds)) ``` This PR fi...
true
2021-08-13T15:17:01Z
2021-08-16T14:16:50Z
2021-08-13T15:38:28Z
albertvillanova
MEMBER
https://github.com/huggingface/datasets/pull/2798
2021-08-13T15:38:28Z
2
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/2798
true
[ "Hi ! I don't fully understand this change @albertvillanova \r\nThe `_extract` method used to return the compound URL that points to the root of the inside of the archive.\r\nThis way users can use the usual os.path.join or other functions to point to the relevant files. I don't see why you're using a glob pattern ...
970,331,634
2,797
Make creating/editing dataset cards easier, by editing on site and dumping info from test command.
open
**Is your feature request related to a problem? Please describe.** Creating and editing dataset cards should be but not that easy - If other else know Some information I don't know (bias of dataset, dataset curation, supported dataset, ...), he/she should know the description on hf.co comes from README.md under git...
true
2021-08-13T11:54:49Z
2021-08-14T08:42:09Z
null
richarddwang
CONTRIBUTOR
null
null
0
1
1
0
null
false
[ "enhancement" ]
https://github.com/huggingface/datasets/issues/2797
false
[]
970,235,846
2,796
add cedr dataset
closed
true
2021-08-13T09:37:35Z
2021-08-27T16:01:36Z
2021-08-27T16:01:36Z
naumov-al
CONTRIBUTOR
https://github.com/huggingface/datasets/pull/2796
2021-08-27T16:01:35Z
1
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/2796
true
[ "> Hi ! Thanks a lot for adding this one :)\r\n> \r\n> Good job with the dataset card and the dataset script !\r\n> \r\n> I left a few suggestions\r\n\r\nThank you very much for your helpful suggestions. I have tried to carry them all out." ]
969,728,545
2,794
Warnings and documentation about pickling incorrect
open
## Describe the bug I have a docs bug and a closely related docs enhancement suggestion! ### Bug The warning and documentation say "either `dill` or `pickle`" for fingerprinting. But it seems that `dill`, which is installed by `datasets` by default, _must_ work, or else the fingerprinting fails. Warning: ...
true
2021-08-12T23:09:13Z
2021-08-12T23:09:31Z
null
mbforbes
NONE
null
null
0
0
0
0
null
false
[ "bug" ]
https://github.com/huggingface/datasets/issues/2794
false
[]
968,967,773
2,793
Fix type hint for data_files
closed
Fix type hint for `data_files` in signatures and docstrings.
true
2021-08-12T14:42:37Z
2021-08-12T15:35:29Z
2021-08-12T15:35:29Z
albertvillanova
MEMBER
https://github.com/huggingface/datasets/pull/2793
2021-08-12T15:35:29Z
0
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/2793
true
[]
968,650,274
2,792
Update: GooAQ - add train/val/test splits
closed
[GooAQ](https://github.com/allenai/gooaq) dataset was recently updated after splits were added for the same. This PR contains new updated GooAQ with train/val/test splits and updated README as well.
true
2021-08-12T11:40:18Z
2021-08-27T15:58:45Z
2021-08-27T15:58:14Z
bhavitvyamalik
CONTRIBUTOR
https://github.com/huggingface/datasets/pull/2792
2021-08-27T15:58:14Z
2
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/2792
true
[ "@albertvillanova my tests are failing here:\r\n```\r\ndataset_name = 'gooaq'\r\n\r\n def test_load_dataset(self, dataset_name):\r\n configs = self.dataset_tester.load_all_configs(dataset_name, is_local=True)[:1]\r\n> self.dataset_tester.check_load_dataset(dataset_name, configs, is_local=True, use_l...
968,360,314
2,791
Fix typo in cnn_dailymail
closed
true
2021-08-12T08:38:42Z
2021-08-12T11:17:59Z
2021-08-12T11:17:59Z
omaralsayed
CONTRIBUTOR
https://github.com/huggingface/datasets/pull/2791
2021-08-12T11:17:59Z
0
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/2791
true
[]
967,772,181
2,790
Fix typo in test_dataset_common
closed
true
2021-08-12T01:10:29Z
2021-08-12T11:31:29Z
2021-08-12T11:31:29Z
nateraw
CONTRIBUTOR
https://github.com/huggingface/datasets/pull/2790
2021-08-12T11:31:29Z
0
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/2790
true
[]
967,361,934
2,789
Updated dataset description of DaNE
closed
true
2021-08-11T19:58:48Z
2021-08-12T16:10:59Z
2021-08-12T16:06:01Z
KennethEnevoldsen
CONTRIBUTOR
https://github.com/huggingface/datasets/pull/2789
2021-08-12T16:06:01Z
1
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/2789
true
[ "Thanks for finishing it @albertvillanova " ]
967,149,389
2,788
How to sample every file in a list of files making up a split in a dataset when loading?
closed
I am loading a dataset with multiple train, test, and validation files like this: ``` data_files_dict = { "train": [train_file1, train_file2], "test": [test_file1, test_file2], "val": [val_file1, val_file2] } dataset = datasets.load_dataset( "csv", data_files=data_files_dict, split=[...
true
2021-08-11T17:43:21Z
2023-07-25T17:40:50Z
2023-07-25T17:40:50Z
brijow
NONE
null
null
1
0
0
0
null
false
[]
https://github.com/huggingface/datasets/issues/2788
false
[ "Hi ! This is not possible just with `load_dataset`.\r\n\r\nYou can do something like this instead:\r\n```python\r\nseed=42\r\ndata_files_dict = {\r\n \"train\": [train_file1, train_file2],\r\n \"test\": [test_file1, test_file2],\r\n \"val\": [val_file1, val_file2]\r\n}\r\ndataset = datasets.load_dataset(\...
967,018,406
2,787
ConnectionError: Couldn't reach https://raw.githubusercontent.com
closed
Hello, I am trying to run run_glue.py and it gives me this error - Traceback (most recent call last): File "E:/BERT/pytorch_hugging/transformers/examples/pytorch/text-classification/run_glue.py", line 546, in <module> main() File "E:/BERT/pytorch_hugging/transformers/examples/pytorch/text-classification/...
true
2021-08-11T16:19:01Z
2023-10-03T12:39:25Z
2021-08-18T15:09:18Z
jinec
NONE
null
null
9
0
0
0
null
false
[ "bug" ]
https://github.com/huggingface/datasets/issues/2787
false
[ "the bug code locate in :\r\n if data_args.task_name is not None:\r\n # Downloading and loading a dataset from the hub.\r\n datasets = load_dataset(\"glue\", data_args.task_name, cache_dir=model_args.cache_dir)", "Hi @jinec,\r\n\r\nFrom time to time we get this kind of `ConnectionError` coming fr...
966,282,934
2,786
Support streaming compressed files
closed
Add support to stream compressed files (current options in fsspec): - bz2 - lz4 - xz - zstd cc: @lewtun
true
2021-08-11T09:02:06Z
2021-08-17T05:28:39Z
2021-08-16T06:36:19Z
albertvillanova
MEMBER
https://github.com/huggingface/datasets/pull/2786
2021-08-16T06:36:19Z
0
2
0
2
false
false
[]
https://github.com/huggingface/datasets/pull/2786
true
[]
965,461,382
2,783
Add KS task to SUPERB
closed
Add the KS (keyword spotting) task as described in the [SUPERB paper](https://arxiv.org/abs/2105.01051). - [s3prl instructions](https://github.com/s3prl/s3prl/blob/master/s3prl/downstream/README.md#ks-keyword-spotting) - [s3prl implementation](https://github.com/s3prl/s3prl/blob/master/s3prl/downstream/speech_comma...
true
2021-08-10T22:14:07Z
2021-08-12T16:45:01Z
2021-08-11T20:19:17Z
anton-l
MEMBER
https://github.com/huggingface/datasets/pull/2783
2021-08-11T20:19:17Z
5
3
0
3
false
false
[]
https://github.com/huggingface/datasets/pull/2783
true
[ "thanks a lot for implementing this @anton-l !!\r\n\r\ni won't have time to review this while i'm away, so happy for @albertvillanova and @patrickvonplaten to decide when to merge :)", "@albertvillanova thanks! Everything should be ready now :)", "> The _background_noise_/_silence_ audio files are much longer t...
964,858,439
2,782
Fix renaming of corpus_bleu args
closed
Last `sacrebleu` release (v2.0.0) has renamed `sacrebleu.corpus_bleu` args from `(sys_stream, ref_streams)` to `(hipotheses, references)`: https://github.com/mjpost/sacrebleu/pull/152/files#diff-2553a315bb1f7e68c9c1b00d56eaeb74f5205aeb3a189bc3e527b122c6078795L17-R15 This PR passes the args without parameter names, s...
true
2021-08-10T11:02:34Z
2021-08-10T11:16:07Z
2021-08-10T11:16:07Z
albertvillanova
MEMBER
https://github.com/huggingface/datasets/pull/2782
2021-08-10T11:16:07Z
0
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/2782
true
[]
964,805,351
2,781
Latest v2.0.0 release of sacrebleu has broken some metrics
closed
## Describe the bug After `sacrebleu` v2.0.0 release (see changes here: https://github.com/mjpost/sacrebleu/pull/152/files#diff-2553a315bb1f7e68c9c1b00d56eaeb74f5205aeb3a189bc3e527b122c6078795L17-R15), some of `datasets` metrics are broken: - Default tokenizer `sacrebleu.DEFAULT_TOKENIZER` no longer exists: - #273...
true
2021-08-10T09:59:41Z
2021-08-10T11:16:07Z
2021-08-10T11:16:07Z
albertvillanova
MEMBER
null
null
0
0
0
0
null
false
[ "bug" ]
https://github.com/huggingface/datasets/issues/2781
false
[]
964,794,764
2,780
VIVOS dataset for Vietnamese ASR
closed
true
2021-08-10T09:47:36Z
2021-08-12T11:09:30Z
2021-08-12T11:09:30Z
binh234
CONTRIBUTOR
https://github.com/huggingface/datasets/pull/2780
2021-08-12T11:09:30Z
0
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/2780
true
[]
964,775,085
2,779
Fix sacrebleu tokenizers
closed
Last `sacrebleu` release (v2.0.0) has removed `sacrebleu.TOKENIZERS`: https://github.com/mjpost/sacrebleu/pull/152/files#diff-2553a315bb1f7e68c9c1b00d56eaeb74f5205aeb3a189bc3e527b122c6078795L17-R15 This PR makes a hot fix of the bug by using a private function in `sacrebleu`: `sacrebleu.metrics.bleu._get_tokenizer()...
true
2021-08-10T09:24:27Z
2021-08-10T11:03:08Z
2021-08-10T10:57:54Z
albertvillanova
MEMBER
https://github.com/huggingface/datasets/pull/2779
2021-08-10T10:57:54Z
0
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/2779
true
[]
964,737,422
2,778
Do not pass tokenize to sacrebleu
closed
Last `sacrebleu` release (v2.0.0) has removed `sacrebleu.DEFAULT_TOKENIZER`: https://github.com/mjpost/sacrebleu/pull/152/files#diff-2553a315bb1f7e68c9c1b00d56eaeb74f5205aeb3a189bc3e527b122c6078795L17-R15 This PR does not pass `tokenize` to `sacrebleu` (note that the user cannot pass it anyway) and `sacrebleu` will ...
true
2021-08-10T08:40:37Z
2021-08-10T10:03:37Z
2021-08-10T10:03:37Z
albertvillanova
MEMBER
https://github.com/huggingface/datasets/pull/2778
2021-08-10T10:03:37Z
0
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/2778
true
[]
964,696,380
2,777
Use packaging to handle versions
closed
Use packaging module to handle/validate/check versions of Python packages. Related to #2769.
true
2021-08-10T07:51:39Z
2021-08-18T13:56:27Z
2021-08-18T13:56:27Z
albertvillanova
MEMBER
https://github.com/huggingface/datasets/pull/2777
2021-08-18T13:56:27Z
0
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/2777
true
[]
964,400,596
2,776
document `config.HF_DATASETS_OFFLINE` and precedence
open
https://github.com/huggingface/datasets/pull/1976 implemented `HF_DATASETS_OFFLINE`, but: 1. `config.HF_DATASETS_OFFLINE` is not documented 2. the precedence is not documented (env, config) I'm thinking it probably should be similar to what it says https://huggingface.co/docs/datasets/loading_datasets.html#from-th...
true
2021-08-09T21:23:17Z
2021-08-09T21:23:17Z
null
stas00
CONTRIBUTOR
null
null
0
0
0
0
null
false
[ "enhancement" ]
https://github.com/huggingface/datasets/issues/2776
false
[]
964,303,626
2,775
`generate_random_fingerprint()` deterministic with 🤗Transformers' `set_seed()`
closed
## Describe the bug **Update:** I dug into this to try to reproduce the underlying issue, and I believe it's that `set_seed()` from the `transformers` library makes the "random" fingerprint identical each time. I believe this is still a bug, because `datasets` is used exactly this way in `transformers` after `set_se...
true
2021-08-09T19:28:51Z
2024-01-26T15:05:36Z
2024-01-26T15:05:35Z
mbforbes
NONE
null
null
3
0
0
0
null
false
[ "bug" ]
https://github.com/huggingface/datasets/issues/2775
false
[ "I dug into what I believe is the root of this issue and added a repro in my comment. If this is better addressed as a cross-team issue, let me know and I can open an issue in the Transformers repo", "Hi !\r\n\r\nIMO we shouldn't try to modify `set_seed` from transformers but maybe make `datasets` have its own RN...
963,932,199
2,774
Prevent .map from using multiprocessing when loading from cache
closed
## Context On our setup, we use different setup to train vs proprocessing datasets. Usually we are able to obtain a high number of cpus to preprocess, which allows us to use `num_proc` however we can't use as many during training phase. Currently if we use `num_proc={whatever the preprocessing value was}` we load fr...
true
2021-08-09T12:11:38Z
2021-09-09T10:20:28Z
2021-09-09T10:20:28Z
thomasw21
CONTRIBUTOR
https://github.com/huggingface/datasets/pull/2774
2021-09-09T10:20:28Z
6
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/2774
true
[ "I'm guessing tests are failling, because this was pushed before https://github.com/huggingface/datasets/pull/2779 was merged? cc @albertvillanova ", "Hi @thomasw21, yes you are right: those failing tests were fixed with #2779.\r\n\r\nWould you mind to merge current upstream master branch and push again?\r\n```\r...
963,730,497
2,773
Remove dataset_infos.json
closed
**Is your feature request related to a problem? Please describe.** As discussed, there are infos in the `dataset_infos.json` which are redundant and we could have them only in the README file. Others could be migrated to the README, like: "dataset_size", "size_in_bytes", "download_size", "splits.split_name.[num_byt...
true
2021-08-09T07:43:19Z
2024-05-04T14:52:10Z
2024-05-04T14:52:10Z
albertvillanova
MEMBER
null
null
1
0
0
0
null
false
[ "enhancement", "generic discussion" ]
https://github.com/huggingface/datasets/issues/2773
false
[ "This was closed by:\r\n- #4926" ]
963,348,834
2,772
Remove returned feature constrain
open
In the current version, the returned value of the map function has to be list or ndarray. However, this makes it unsuitable for many tasks. In NLP, many features are sparse like verb words, noun chunks, if we want to assign different values to different words, which will result in a large sparse matrix if we only score...
true
2021-08-08T04:01:30Z
2021-08-08T08:48:01Z
null
PosoSAgapo
NONE
null
null
0
1
1
0
null
false
[ "enhancement" ]
https://github.com/huggingface/datasets/issues/2772
false
[]
963,257,036
2,771
[WIP][Common Voice 7] Add common voice 7.0
closed
This PR allows to load the new common voice dataset manually as explained when doing: ```python from datasets import load_dataset ds = load_dataset("./datasets/datasets/common_voice_7", "ab") ``` => ``` Please follow the manual download instructions: You need t...
true
2021-08-07T16:01:10Z
2021-12-06T23:24:02Z
2021-12-06T23:24:02Z
patrickvonplaten
CONTRIBUTOR
https://github.com/huggingface/datasets/pull/2771
null
2
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/2771
true
[ "Hi ! I think the name `common_voice_7` is fine :)\r\nMoreover if the dataset_infos.json is missing I'm pretty sure you don't need to specify `ignore_verifications=True`", "Hi, how about to add a new parameter \"version\" in the function load_dataset, something like: \r\n`load_dataset(\"common_voice\", \"lg\", ve...
963,246,512
2,770
Add support for fast tokenizer in BertScore
closed
This PR adds support for a fast tokenizer in BertScore, which has been added recently to the lib. Fixes #2765
true
2021-08-07T15:00:03Z
2021-08-09T12:34:43Z
2021-08-09T11:16:25Z
mariosasko
COLLABORATOR
https://github.com/huggingface/datasets/pull/2770
2021-08-09T11:16:25Z
0
1
0
1
false
false
[]
https://github.com/huggingface/datasets/pull/2770
true
[]
963,240,802
2,769
Allow PyArrow from source
closed
When installing pyarrow from source the version is: ```python >>> import pyarrow; pyarrow.__version__ '2.1.0.dev612' ``` -> however this breaks the install check at init of `datasets`. This PR makes sure that everything coming after the last `'.'` is removed.
true
2021-08-07T14:26:44Z
2021-08-09T15:38:39Z
2021-08-09T15:38:39Z
patrickvonplaten
CONTRIBUTOR
https://github.com/huggingface/datasets/pull/2769
2021-08-09T15:38:39Z
0
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/2769
true
[]
963,229,173
2,768
`ArrowInvalid: Added column's length must match table's length.` after using `select`
closed
## Describe the bug I would like to add a column to a downsampled dataset. However I get an error message saying the length don't match with the length of the unsampled dataset indicated. I suspect that the dataset size is not updated when calling `select`. ## Steps to reproduce the bug ```python from datasets im...
true
2021-08-07T13:17:29Z
2021-08-09T11:26:43Z
2021-08-09T11:26:43Z
lvwerra
MEMBER
null
null
2
0
0
0
null
false
[ "bug" ]
https://github.com/huggingface/datasets/issues/2768
false
[ "Hi,\r\n\r\nthe `select` method creates an indices mapping and doesn't modify the underlying PyArrow table by default for better performance. To modify the underlying table after the `select` call, call `flatten_indices` on the dataset object as follows:\r\n```python\r\nfrom datasets import load_dataset\r\n\r\nds =...
963,002,120
2,767
equal operation to perform unbatch for huggingface datasets
closed
Hi I need to use "unbatch" operation in tensorflow on a huggingface dataset, I could not find this operation, could you kindly direct me how I can do it, here is the problem I am trying to solve: I am considering "record" dataset in SuperGlue and I need to replicate each entery of the dataset for each answer, to ma...
true
2021-08-06T19:45:52Z
2022-03-07T13:58:00Z
2022-03-07T13:58:00Z
dorooddorood606
NONE
null
null
5
0
0
0
null
false
[ "bug" ]
https://github.com/huggingface/datasets/issues/2767
false
[ "Hi @lhoestq \r\nMaybe this is clearer to explain like this, currently map function, map one example to \"one\" modified one, lets assume we want to map one example to \"multiple\" examples, in which we do not know in advance how many examples they would be per each entry. I greatly appreciate telling me how I can ...
962,994,198
2,766
fix typo (ShuffingConfig -> ShufflingConfig)
closed
pretty straightforward, it should be Shuffling instead of Shuffing
true
2021-08-06T19:31:40Z
2021-08-10T14:17:03Z
2021-08-10T14:17:02Z
daleevans
CONTRIBUTOR
https://github.com/huggingface/datasets/pull/2766
2021-08-10T14:17:02Z
0
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/2766
true
[]
962,861,395
2,765
BERTScore Error
closed
## Describe the bug A clear and concise description of what the bug is. ## Steps to reproduce the bug ```python predictions = ["hello there", "general kenobi"] references = ["hello there", "general kenobi"] bert = load_metric('bertscore') bert.compute(predictions=predictions, references=references,lang='en') ...
true
2021-08-06T15:58:57Z
2021-08-09T11:16:25Z
2021-08-09T11:16:25Z
gagan3012
NONE
null
null
1
0
0
0
null
false
[ "bug" ]
https://github.com/huggingface/datasets/issues/2765
false
[ "Hi,\r\n\r\nThe `use_fast_tokenizer` argument has been recently added to the bert-score lib. I've opened a PR with the fix. In the meantime, you can try to downgrade the version of bert-score with the following command to make the code work:\r\n```\r\npip uninstall bert-score\r\npip install \"bert-score<0.3.10\"\r\...
962,554,799
2,764
Add DER metric for SUPERB speaker diarization task
closed
true
2021-08-06T09:12:36Z
2023-07-11T09:35:23Z
2023-07-11T09:35:23Z
albertvillanova
MEMBER
https://github.com/huggingface/datasets/pull/2764
null
1
0
0
0
true
false
[ "transfer-to-evaluate" ]
https://github.com/huggingface/datasets/pull/2764
true
[ "Metrics are deprecated in `datasets` and `evaluate` should be used instead: https://github.com/huggingface/evaluate" ]
961,895,523
2,763
English wikipedia datasets is not clean
closed
## Describe the bug Wikipedia english dumps contain many wikipedia paragraphs like "References", "Category:" and "See Also" that should not be used for training. ## Steps to reproduce the bug ```python # Sample code to reproduce the bug from datasets import load_dataset w = load_dataset('wikipedia', '20200501.e...
true
2021-08-05T14:37:24Z
2023-07-25T17:43:04Z
2023-07-25T17:43:04Z
lucadiliello
CONTRIBUTOR
null
null
1
0
0
0
null
false
[ "bug" ]
https://github.com/huggingface/datasets/issues/2763
false
[ "Hi ! Certain users might need these data (for training or simply to explore/index the dataset).\r\n\r\nFeel free to implement a map function that gets rid of these paragraphs and process the wikipedia dataset with it before training" ]
961,652,046
2,762
Add RVL-CDIP dataset
closed
## Adding a Dataset - **Name:** RVL-CDIP - **Description:** The RVL-CDIP (Ryerson Vision Lab Complex Document Information Processing) dataset consists of 400,000 grayscale images in 16 classes, with 25,000 images per class. There are 320,000 training images, 40,000 validation images, and 40,000 test images. The image...
true
2021-08-05T09:57:05Z
2022-04-21T17:15:41Z
2022-04-21T17:15:41Z
NielsRogge
CONTRIBUTOR
null
null
3
0
0
0
null
false
[ "dataset request", "vision" ]
https://github.com/huggingface/datasets/issues/2762
false
[ "cc @nateraw ", "#self-assign", "[labels_only.tar.gz](https://docs.google.com/uc?authuser=0&id=0B0NKIRwUL9KYcXo3bV9LU0t3SGs&export=download) on the RVL-CDIP website does not work for me.\r\n\r\n> 404. That’s an error. The requested URL was not found on this server.\r\n\r\nI contacted the author ( Adam Harley) r...
961,568,287
2,761
Error loading C4 realnewslike dataset
closed
## Describe the bug Error loading C4 realnewslike dataset. Validation part mismatch ## Steps to reproduce the bug ```python raw_datasets = load_dataset('c4', 'realnewslike', cache_dir=model_args.cache_dir) ## Expected results success on data loading ## Actual results Downloading: 100%|███████████████████████...
true
2021-08-05T08:16:58Z
2021-08-08T19:44:34Z
2021-08-08T19:44:34Z
danshirron
NONE
null
null
4
0
0
0
null
false
[ "bug" ]
https://github.com/huggingface/datasets/issues/2761
false
[ "Hi @danshirron, \r\n`c4` was updated few days back by @lhoestq. The new configs are `['en', 'en.noclean', 'en.realnewslike', 'en.webtextlike'].` You'll need to remove any older version of this dataset you previously downloaded and then run `load_dataset` again with new configuration.", "@bhavitvyamalik @lhoestq ...
961,372,667
2,760
Add Nuswide dataset
open
## Adding a Dataset - **Name:** *NUSWIDE* - **Description:** *[A Real-World Web Image Dataset from National University of Singapore](https://lms.comp.nus.edu.sg/wp-content/uploads/2019/research/nuswide/NUS-WIDE.html)* - **Paper:** *[here](https://lms.comp.nus.edu.sg/wp-content/uploads/2019/research/nuswide/nuswide-c...
true
2021-08-05T03:00:41Z
2021-12-08T12:06:23Z
null
shivangibithel
NONE
null
null
0
0
0
0
null
false
[ "dataset request", "vision" ]
https://github.com/huggingface/datasets/issues/2760
false
[]
960,206,575
2,758
Raise ManualDownloadError when loading a dataset that requires previous manual download
closed
This PR implements the raising of a `ManualDownloadError` when loading a dataset that requires previous manual download, and this is missing. The `ManualDownloadError` is raised whether the dataset is loaded in normal or streaming mode. Close #2749. cc: @severo
true
2021-08-04T10:19:55Z
2021-08-04T11:36:30Z
2021-08-04T11:36:30Z
albertvillanova
MEMBER
https://github.com/huggingface/datasets/pull/2758
2021-08-04T11:36:30Z
0
1
1
0
false
false
[]
https://github.com/huggingface/datasets/pull/2758
true
[]
959,984,081
2,757
Unexpected type after `concatenate_datasets`
closed
## Describe the bug I am trying to concatenate two `Dataset` using `concatenate_datasets` but it turns out that after concatenation the features are casted from `torch.Tensor` to `list`. It then leads to a weird tensors when trying to convert it to a `DataLoader`. However, if I use each `Dataset` separately everythi...
true
2021-08-04T07:10:39Z
2021-08-04T16:01:24Z
2021-08-04T16:01:23Z
JulesBelveze
NONE
null
null
2
0
0
0
null
false
[ "bug" ]
https://github.com/huggingface/datasets/issues/2757
false
[ "Hi @JulesBelveze, thanks for your question.\r\n\r\nNote that 🤗 `datasets` internally store their data in Apache Arrow format.\r\n\r\nHowever, when accessing dataset columns, by default they are returned as native Python objects (lists in this case).\r\n\r\nIf you would like their columns to be returned in a more...
959,255,646
2,756
Fix metadata JSON for ubuntu_dialogs_corpus dataset
closed
Related to #2743.
true
2021-08-03T15:48:59Z
2021-08-04T09:43:25Z
2021-08-04T09:43:25Z
albertvillanova
MEMBER
https://github.com/huggingface/datasets/pull/2756
2021-08-04T09:43:25Z
0
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/2756
true
[]
959,115,888
2,755
Fix metadata JSON for turkish_movie_sentiment dataset
closed
Related to #2743.
true
2021-08-03T13:25:44Z
2021-08-04T09:06:54Z
2021-08-04T09:06:53Z
albertvillanova
MEMBER
https://github.com/huggingface/datasets/pull/2755
2021-08-04T09:06:53Z
0
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/2755
true
[]
959,105,577
2,754
Generate metadata JSON for telugu_books dataset
closed
Related to #2743.
true
2021-08-03T13:14:52Z
2021-08-04T08:49:02Z
2021-08-04T08:49:02Z
albertvillanova
MEMBER
https://github.com/huggingface/datasets/pull/2754
2021-08-04T08:49:01Z
0
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/2754
true
[]
959,036,995
2,753
Generate metadata JSON for reclor dataset
closed
Related to #2743.
true
2021-08-03T11:52:29Z
2021-08-04T08:07:15Z
2021-08-04T08:07:15Z
albertvillanova
MEMBER
https://github.com/huggingface/datasets/pull/2753
2021-08-04T08:07:15Z
0
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/2753
true
[]
959,023,608
2,752
Generate metadata JSON for lm1b dataset
closed
Related to #2743.
true
2021-08-03T11:34:56Z
2021-08-04T06:40:40Z
2021-08-04T06:40:39Z
albertvillanova
MEMBER
https://github.com/huggingface/datasets/pull/2752
2021-08-04T06:40:39Z
0
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/2752
true
[]
959,021,262
2,751
Update metadata for wikihow dataset
closed
Update metadata for wikihow dataset: - Remove leading new line character in description and citation - Update metadata JSON - Remove no longer necessary `urls_checksums/checksums.txt` file Related to #2748.
true
2021-08-03T11:31:57Z
2021-08-03T15:52:09Z
2021-08-03T15:52:09Z
albertvillanova
MEMBER
https://github.com/huggingface/datasets/pull/2751
2021-08-03T15:52:09Z
0
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/2751
true
[]
958,984,730
2,750
Second concatenation of datasets produces errors
closed
Hi, I am need to concatenate my dataset with others several times, and after I concatenate it for the second time, the features of features (e.g. tags names) are collapsed. This hinders, for instance, the usage of tokenize function with `data.map`. ``` from datasets import load_dataset, concatenate_datasets d...
true
2021-08-03T10:47:04Z
2022-01-19T14:23:43Z
2022-01-19T14:19:05Z
Aktsvigun
NONE
null
null
5
0
0
0
null
false
[ "bug" ]
https://github.com/huggingface/datasets/issues/2750
false
[ "@albertvillanova ", "Hi @Aktsvigun, thanks for reporting.\r\n\r\nI'm investigating this.", "Hi @albertvillanova ,\r\nany update on this? Can I probably help in some way?", "Hi @Aktsvigun! We are planning to address this issue before our next release, in a couple of weeks at most. 😅 \r\n\r\nIn the meantime, ...
958,968,748
2,749
Raise a proper exception when trying to stream a dataset that requires to manually download files
closed
## Describe the bug At least for 'reclor', 'telugu_books', 'turkish_movie_sentiment', 'ubuntu_dialogs_corpus', 'wikihow', trying to `load_dataset` in streaming mode raises a `TypeError` without any detail about why it fails. ## Steps to reproduce the bug ```python from datasets import load_dataset dataset = ...
true
2021-08-03T10:26:27Z
2021-08-09T08:53:35Z
2021-08-04T11:36:30Z
severo
COLLABORATOR
null
null
2
0
0
0
null
false
[ "bug" ]
https://github.com/huggingface/datasets/issues/2749
false
[ "Hi @severo, thanks for reporting.\r\n\r\nAs discussed, datasets requiring manual download should be:\r\n- programmatically identifiable\r\n- properly handled with more clear error message when trying to load them with streaming\r\n\r\nIn relation with programmatically identifiability, note that for datasets requir...
958,889,041
2,748
Generate metadata JSON for wikihow dataset
closed
Related to #2743.
true
2021-08-03T08:55:40Z
2021-08-03T10:17:51Z
2021-08-03T10:17:51Z
albertvillanova
MEMBER
https://github.com/huggingface/datasets/pull/2748
2021-08-03T10:17:51Z
0
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/2748
true
[]
958,867,627
2,747
add multi-proc in `to_json`
closed
Closes #2663. I've tried adding multiprocessing in `to_json`. Here's some benchmarking I did to compare the timings of current version (say v1) and multi-proc version (say v2). I did this with `cpu_count` 4 (2015 Macbook Air) 1. Dataset name: `ascent_kb` - 8.9M samples (all samples were used, reporting this for a si...
true
2021-08-03T08:30:13Z
2021-10-19T18:24:21Z
2021-09-13T13:56:37Z
bhavitvyamalik
CONTRIBUTOR
https://github.com/huggingface/datasets/pull/2747
2021-09-13T13:56:37Z
17
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/2747
true
[ "Thank you for working on this, @bhavitvyamalik \r\n\r\n10% is not solving the issue, we want 5-10x faster on a machine that has lots of resources, but limited processing time.\r\n\r\nSo let's benchmark it on an instance with many more cores, I can test with 12 on my dev box and 40 on JZ. \r\n\r\nCould you please s...
958,551,619
2,746
Cannot load `few-nerd` dataset
closed
## Describe the bug Cannot load `few-nerd` dataset. ## Steps to reproduce the bug ```python from datasets import load_dataset load_dataset('few-nerd', 'supervised') ``` ## Actual results Executing above code will give the following error: ``` Using the latest cached version of the module from /Users...
true
2021-08-02T22:18:57Z
2021-11-16T08:51:34Z
2021-08-03T19:45:43Z
Mehrad0711
NONE
null
null
6
0
0
0
null
false
[ "bug" ]
https://github.com/huggingface/datasets/issues/2746
false
[ "Hi @Mehrad0711,\r\n\r\nI'm afraid there is no \"canonical\" Hugging Face dataset named \"few-nerd\".\r\n\r\nThere are 2 kinds of datasets hosted at the Hugging Face Hub:\r\n- canonical datasets (their identifier contains no slash \"/\"): we, the Hugging Face team, supervise their implementation and we make sure th...
958,269,579
2,745
added semeval18_emotion_classification dataset
closed
I added the data set of SemEval 2018 Task 1 (Subtask 5) for emotion detection in three languages. ``` datasets-cli test datasets/semeval18_emotion_classification/ --save_infos --all_configs RUN_SLOW=1 pytest tests/test_dataset_common.py::LocalDatasetTest::test_load_real_dataset_semeval18_emotion_classification ...
true
2021-08-02T15:39:55Z
2021-10-29T09:22:05Z
2021-09-21T09:48:35Z
maxpel
CONTRIBUTOR
https://github.com/huggingface/datasets/pull/2745
2021-09-21T09:48:35Z
7
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/2745
true
[ "For training the multilabel classifier, I would combine the labels into a list, for example for the English dataset:\r\n\r\n```\r\ndfpre=pd.read_csv(path+\"2018-E-c-En-train.txt\",sep=\"\\t\")\r\ndfpre['list'] = dfpre[dfpre.columns[2:]].values.tolist()\r\ndf = dfpre[['Tweet', 'list']].copy()\r\ndf.rename(columns={...
958,146,637
2,744
Fix key by recreating metadata JSON for journalists_questions dataset
closed
Close #2743.
true
2021-08-02T13:27:53Z
2021-08-03T09:25:34Z
2021-08-03T09:25:33Z
albertvillanova
MEMBER
https://github.com/huggingface/datasets/pull/2744
2021-08-03T09:25:33Z
0
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/2744
true
[]
958,119,251
2,743
Dataset JSON is incorrect
closed
## Describe the bug The JSON file generated for https://github.com/huggingface/datasets/blob/573f3d35081cee239d1b962878206e9abe6cde91/datasets/journalists_questions/journalists_questions.py is https://github.com/huggingface/datasets/blob/573f3d35081cee239d1b962878206e9abe6cde91/datasets/journalists_questions/dataset...
true
2021-08-02T13:01:26Z
2021-08-03T10:06:57Z
2021-08-03T09:25:33Z
severo
COLLABORATOR
null
null
2
0
0
0
null
false
[ "bug" ]
https://github.com/huggingface/datasets/issues/2743
false
[ "As discussed, the metadata JSON files must be regenerated because the keys were nor properly generated and they will not be read by the builder:\r\n> Indeed there is some problem/bug while reading the datasets_info.json file: there is a mismatch with the config.name keys in the file...\r\nIn the meanwhile, in orde...
958,114,064
2,742
Improve detection of streamable file types
closed
**Is your feature request related to a problem? Please describe.** ```python from datasets import load_dataset_builder from datasets.utils.streaming_download_manager import StreamingDownloadManager builder = load_dataset_builder("journalists_questions", name="plain_text") builder._split_generators(StreamingDownl...
true
2021-08-02T12:55:09Z
2021-11-12T17:18:10Z
2021-11-12T17:18:10Z
severo
COLLABORATOR
null
null
1
0
0
0
null
false
[ "enhancement", "dataset-viewer" ]
https://github.com/huggingface/datasets/issues/2742
false
[ "maybe we should rather attempt to download a `Range` from the server and see if it works?" ]
957,979,559
2,741
Add Hypersim dataset
open
## Adding a Dataset - **Name:** Hypersim - **Description:** photorealistic synthetic dataset for holistic indoor scene understanding - **Paper:** *link to the dataset paper if available* - **Data:** https://github.com/apple/ml-hypersim Instructions to add a new dataset can be found [here](https://github.com/hugg...
true
2021-08-02T10:06:50Z
2021-12-08T12:06:51Z
null
osanseviero
CONTRIBUTOR
null
null
0
0
0
0
null
false
[ "dataset request", "vision" ]
https://github.com/huggingface/datasets/issues/2741
false
[]
957,911,035
2,740
Update release instructions
closed
Update release instructions.
true
2021-08-02T08:46:00Z
2021-08-02T14:39:56Z
2021-08-02T14:39:56Z
albertvillanova
MEMBER
https://github.com/huggingface/datasets/pull/2740
2021-08-02T14:39:56Z
0
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/2740
true
[]
957,751,260
2,739
Pass tokenize to sacrebleu only if explicitly passed by user
closed
Next `sacrebleu` release (v2.0.0) will remove `sacrebleu.DEFAULT_TOKENIZER`: https://github.com/mjpost/sacrebleu/pull/152/files#diff-2553a315bb1f7e68c9c1b00d56eaeb74f5205aeb3a189bc3e527b122c6078795L17-R15 This PR passes `tokenize` to `sacrebleu` only if explicitly passed by the user, otherwise it will not pass it (a...
true
2021-08-02T05:09:05Z
2021-08-03T04:23:37Z
2021-08-03T04:23:37Z
albertvillanova
MEMBER
https://github.com/huggingface/datasets/pull/2739
2021-08-03T04:23:37Z
0
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/2739
true
[]
957,517,746
2,738
Sunbird AI Ugandan low resource language dataset
closed
Multi-way parallel text corpus of 5 key Ugandan languages for the task of machine translation.
true
2021-08-01T15:18:00Z
2022-10-03T09:37:30Z
2022-10-03T09:37:30Z
ak3ra
NONE
https://github.com/huggingface/datasets/pull/2738
null
4
1
1
0
false
false
[ "dataset contribution" ]
https://github.com/huggingface/datasets/pull/2738
true
[ "Hi @ak3ra , have you had a chance to take my comments into account ?\r\n\r\nLet me know if you have questions or if I can help :)", "@lhoestq Working on this, thanks for the detailed review :) ", "Hi ! Cool thanks :)\r\nFeel free to merge master into your branch to fix the CI issues\r\n\r\nLet me know if you ...
957,124,881
2,737
SacreBLEU update
closed
With the latest release of [sacrebleu](https://github.com/mjpost/sacrebleu), `datasets.metrics.sacrebleu` is broken, and getting error. AttributeError: module 'sacrebleu' has no attribute 'DEFAULT_TOKENIZER' this happens since in new version of sacrebleu there is no `DEFAULT_TOKENIZER`, but sacrebleu.py tries...
true
2021-07-30T23:53:08Z
2021-09-22T10:47:41Z
2021-08-03T04:23:37Z
devrimcavusoglu
NONE
null
null
5
0
0
0
null
false
[ "bug" ]
https://github.com/huggingface/datasets/issues/2737
false
[ "Hi @devrimcavusoglu, \r\nI tried your code with latest version of `datasets`and `sacrebleu==1.5.1` and it's running fine after changing one small thing:\r\n```\r\nsacrebleu = datasets.load_metric('sacrebleu')\r\npredictions = [\"It is a guide to action which ensures that the military always obeys the commands of t...
956,895,199
2,736
Add Microsoft Building Footprints dataset
open
## Adding a Dataset - **Name:** Microsoft Building Footprints - **Description:** With the goal to increase the coverage of building footprint data available as open data for OpenStreetMap and humanitarian efforts, we have released millions of building footprints as open data available to download free of charge. - *...
true
2021-07-30T16:17:08Z
2021-12-08T12:09:03Z
null
albertvillanova
MEMBER
null
null
1
0
0
0
null
false
[ "dataset request", "vision" ]
https://github.com/huggingface/datasets/issues/2736
false
[ "Motivation: this can be a useful dataset for researchers working on climate change adaptation, urban studies, geography, etc. I'll see if I can figure out how to add it!" ]
956,889,365
2,735
Add Open Buildings dataset
open
## Adding a Dataset - **Name:** Open Buildings - **Description:** A dataset of building footprints to support social good applications. Building footprints are useful for a range of important applications, from population estimation, urban planning and humanitarian response, to environmental and climate science....
true
2021-07-30T16:08:39Z
2021-07-31T05:01:25Z
null
albertvillanova
MEMBER
null
null
0
1
1
0
null
false
[ "dataset request" ]
https://github.com/huggingface/datasets/issues/2735
false
[]
956,844,874
2,734
Update BibTeX entry
closed
Update BibTeX entry.
true
2021-07-30T15:22:51Z
2021-07-30T15:47:58Z
2021-07-30T15:47:58Z
albertvillanova
MEMBER
https://github.com/huggingface/datasets/pull/2734
2021-07-30T15:47:58Z
0
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/2734
true
[]
956,725,476
2,733
Add missing parquet known extension
closed
This code was failing because the parquet extension wasn't recognized: ```python from datasets import load_dataset base_url = "https://storage.googleapis.com/huggingface-nlp/cache/datasets/wikipedia/20200501.en/1.0.0/" data_files = {"train": base_url + "wikipedia-train.parquet"} wiki = load_dataset("parquet", da...
true
2021-07-30T13:01:20Z
2021-07-30T13:24:31Z
2021-07-30T13:24:30Z
lhoestq
MEMBER
https://github.com/huggingface/datasets/pull/2733
2021-07-30T13:24:30Z
0
1
1
0
false
false
[]
https://github.com/huggingface/datasets/pull/2733
true
[]
956,676,360
2,732
Updated TTC4900 Dataset
closed
- The source address of the TTC4900 dataset of [@savasy](https://github.com/savasy) has been updated for direct download. - Updated readme.
true
2021-07-30T11:52:14Z
2021-07-30T16:00:51Z
2021-07-30T15:58:14Z
yavuzKomecoglu
CONTRIBUTOR
https://github.com/huggingface/datasets/pull/2732
2021-07-30T15:58:14Z
2
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/2732
true
[ "@lhoestq, lütfen bu PR'ı gözden geçirebilir misiniz?", "> Thanks ! This looks all good now :)\r\n\r\nThanks" ]
956,087,452
2,731
Adding to_tf_dataset method
closed
Oh my **god** do not merge this yet, it's just a draft. I've added a method (via a mixin) to the `arrow_dataset.Dataset` class that automatically converts our Dataset classes to TF Dataset classes ready for training. It hopefully has most of the features we want, including streaming from disk (no need to load the wh...
true
2021-07-29T18:10:25Z
2021-09-16T13:50:54Z
2021-09-16T13:50:54Z
Rocketknight1
MEMBER
https://github.com/huggingface/datasets/pull/2731
2021-09-16T13:50:53Z
7
2
0
2
false
false
[]
https://github.com/huggingface/datasets/pull/2731
true
[ "This seems to be working reasonably well in testing, and performance is way better. `tf.py_function` has been dropped for an input generator, but I moved as much of the code as possible outside the generator to allow TF to compile it correctly. I also avoid `tf.RaggedTensor` at all costs, and do the shuffle in the...
955,987,834
2,730
Update CommonVoice with new release
open
## Adding a Dataset - **Name:** CommonVoice mid-2021 release - **Description:** more data in CommonVoice: Languages that have increased the most by percentage are Thai (almost 20x growth, from 12 hours to 250 hours), Luganda (almost 9x growth, from 8 to 80), Esperanto (7x growth, from 100 to 840), and Tamil (almost 8...
true
2021-07-29T15:59:59Z
2021-08-07T16:19:19Z
null
yjernite
MEMBER
null
null
3
2
0
2
null
false
[ "dataset request" ]
https://github.com/huggingface/datasets/issues/2730
false
[ "cc @patrickvonplaten?", "Does anybody know if there is a bundled link, which would allow direct data download instead of manual? \r\nSomething similar to: `https://voice-prod-bundler-ee1969a6ce8178826482b88e843c335139bd3fb4.s3.amazonaws.com/cv-corpus-6.1-2020-12-11/ab.tar.gz` ? cc @patil-suraj \r\n", "Also see...
955,920,489
2,729
Fix IndexError while loading Arabic Billion Words dataset
closed
Catch `IndexError` and ignore that record. Close #2727.
true
2021-07-29T14:47:02Z
2021-07-30T13:03:55Z
2021-07-30T13:03:55Z
albertvillanova
MEMBER
https://github.com/huggingface/datasets/pull/2729
2021-07-30T13:03:55Z
0
0
0
0
false
false
[ "bug" ]
https://github.com/huggingface/datasets/pull/2729
true
[]
955,892,970
2,728
Concurrent use of same dataset (already downloaded)
open
## Describe the bug When launching several jobs at the same time loading the same dataset trigger some errors see (last comments). ## Steps to reproduce the bug export HF_DATASETS_CACHE=/gpfswork/rech/toto/datasets for MODEL in "bert-base-uncased" "roberta-base" "distilbert-base-cased"; do # "bert-base-uncased" ...
true
2021-07-29T14:18:38Z
2021-08-02T07:25:57Z
null
PierreColombo
CONTRIBUTOR
null
null
4
0
0
0
null
false
[ "bug" ]
https://github.com/huggingface/datasets/issues/2728
false
[ "Launching simultaneous job relying on the same datasets try some writing issue. I guess it is unexpected since I only need to load some already downloaded file.", "If i have two jobs that use the same dataset. I got :\r\n\r\n\r\n File \"compute_measures.py\", line 181, in <module>\r\n train_loader, val_loade...
955,812,149
2,727
Error in loading the Arabic Billion Words Corpus
closed
## Describe the bug I get `IndexError: list index out of range` when trying to load the `Techreen` and `Almustaqbal` configs of the dataset. ## Steps to reproduce the bug ```python load_dataset("arabic_billion_words", "Techreen") load_dataset("arabic_billion_words", "Almustaqbal") ``` ## Expected results Th...
true
2021-07-29T12:53:09Z
2021-07-30T13:03:55Z
2021-07-30T13:03:55Z
M-Salti
CONTRIBUTOR
null
null
2
0
0
0
null
false
[ "bug" ]
https://github.com/huggingface/datasets/issues/2727
false
[ "I modified the dataset loading script to catch the `IndexError` and inspect the records at which the error is happening, and I found this:\r\nFor the `Techreen` config, the error happens in 36 records when trying to find the `Text` or `Dateline` tags. All these 36 records look something like:\r\n```\r\n<Techreen>\...
955,674,388
2,726
Typo fix `tokenize_exemple`
closed
There is a small typo in the main README.md
true
2021-07-29T10:03:37Z
2021-07-29T12:00:25Z
2021-07-29T12:00:25Z
shabie
CONTRIBUTOR
https://github.com/huggingface/datasets/pull/2726
2021-07-29T12:00:25Z
0
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/2726
true
[]
955,020,776
2,725
Pass use_auth_token to request_etags
closed
Fix #2724.
true
2021-07-28T16:13:29Z
2021-07-28T16:38:02Z
2021-07-28T16:38:02Z
albertvillanova
MEMBER
https://github.com/huggingface/datasets/pull/2725
2021-07-28T16:38:01Z
0
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/2725
true
[]
954,919,607
2,724
404 Error when loading remote data files from private repo
closed
## Describe the bug When loading remote data files from a private repo, a 404 error is raised. ## Steps to reproduce the bug ```python url = hf_hub_url("lewtun/asr-preds-test", "preds.jsonl", repo_type="dataset") dset = load_dataset("json", data_files=url, use_auth_token=True) # HTTPError: 404 Client Error: Not...
true
2021-07-28T14:24:23Z
2021-07-29T04:58:49Z
2021-07-28T16:38:01Z
albertvillanova
MEMBER
null
null
3
0
0
0
null
false
[ "bug" ]
https://github.com/huggingface/datasets/issues/2724
false
[ "I guess the issue is when computing the ETags of the remote files. Indeed `use_auth_token` must be passed to `request_etags` here:\r\n\r\nhttps://github.com/huggingface/datasets/blob/35b5e4bc0cb2ed896e40f3eb2a4aa3de1cb1a6c5/src/datasets/builder.py#L160-L160", "Yes, I remember having properly implemented that: \r...
954,864,104
2,723
Fix en subset by modifying dataset_info with correct validation infos
closed
- Related to: #2682 We correct the values of `en` subset concerning the expected validation values (both `num_bytes` and `num_examples`. Instead of having: `{"name": "validation", "num_bytes": 828589180707, "num_examples": 364868892, "dataset_name": "c4"}` We replace with correct values: `{"name": "vali...
true
2021-07-28T13:36:19Z
2021-07-28T15:22:23Z
2021-07-28T15:22:23Z
thomasw21
CONTRIBUTOR
https://github.com/huggingface/datasets/pull/2723
2021-07-28T15:22:23Z
0
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/2723
true
[]
954,446,053
2,722
Missing cache file
closed
Strangely missing cache file after I restart my program again. `glue_dataset = datasets.load_dataset('glue', 'sst2')` `FileNotFoundError: [Errno 2] No such file or directory: /Users/chris/.cache/huggingface/datasets/glue/sst2/1.0.0/dacbe3125aa31d7f70367a07a8a9e72a5a0bfeb5fc42e75c9db75b96d6053ad/dataset_info.json...
true
2021-07-28T03:52:07Z
2022-03-21T08:27:51Z
2022-03-21T08:27:51Z
PosoSAgapo
NONE
null
null
2
0
0
0
null
false
[ "bug" ]
https://github.com/huggingface/datasets/issues/2722
false
[ "This could be solved by going to the glue/ directory and delete sst2 directory, then load the dataset again will help you redownload the dataset.", "Hi ! Not sure why this file was missing, but yes the way to fix this is to delete the sst2 directory and to reload the dataset" ]
954,238,230
2,721
Deal with the bad check in test_load.py
closed
This PR removes a check that's been added in #2684. My intention with this check was to capture an URL in the error message, but instead, it captures a substring of the previous regex match in the test function. Another option would be to replace this check with: ```python m_paths = re.findall(r"\S*_dummy/_dummy.py\b...
true
2021-07-27T20:23:23Z
2021-07-28T09:58:34Z
2021-07-28T08:53:18Z
mariosasko
COLLABORATOR
https://github.com/huggingface/datasets/pull/2721
2021-07-28T08:53:18Z
1
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/2721
true
[ "Hi ! I did a change for this test already in #2662 :\r\n\r\nhttps://github.com/huggingface/datasets/blob/00686c46b7aaf6bfcd4102cec300a3c031284a5a/tests/test_load.py#L312-L316\r\n\r\n(though I have to change the variable name `m_combined_path` to `m_url` or something)\r\n\r\nI guess it's ok to remove this check for...
954,024,426
2,720
fix: 🐛 fix two typos
closed
true
2021-07-27T15:50:17Z
2021-07-27T18:38:17Z
2021-07-27T18:38:16Z
severo
COLLABORATOR
https://github.com/huggingface/datasets/pull/2720
2021-07-27T18:38:16Z
0
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/2720
true
[]
953,932,416
2,719
Use ETag in streaming mode to detect resource updates
open
**Is your feature request related to a problem? Please describe.** I want to cache data I generate from processing a dataset I've loaded in streaming mode, but I've currently no way to know if the remote data has been updated or not, thus I don't know when to invalidate my cache. **Describe the solution you'd lik...
true
2021-07-27T14:17:09Z
2021-10-22T09:36:08Z
null
severo
COLLABORATOR
null
null
0
0
0
0
null
false
[ "enhancement", "dataset-viewer" ]
https://github.com/huggingface/datasets/issues/2719
false
[]
953,360,663
2,718
New documentation structure
closed
Organize Datasets documentation into four documentation types to improve clarity and discoverability of content. **Content to add in the very short term (feel free to add anything I'm missing):** - A discussion on why Datasets uses Arrow that includes some context and background about why we use Arrow. Would also b...
true
2021-07-26T23:15:13Z
2021-09-13T17:20:53Z
2021-09-13T17:20:52Z
stevhliu
MEMBER
https://github.com/huggingface/datasets/pull/2718
2021-09-13T17:20:52Z
5
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/2718
true
[ "I just did some minor changes + added some content in these sections: share, about arrow, about cache\r\n\r\nFeel free to mark this PR as ready for review ! :)", "I just separated the `Share` How-to page into three pages: share, dataset_script and dataset_card.\r\n\r\nThis way in the share page we can explain in...
952,979,976
2,717
Fix shuffle on IterableDataset that disables batching in case any functions were mapped
closed
Made a very minor change to fix the issue#2716. Added the missing argument in the constructor call. As discussed in the bug report, the change is made to prevent the `shuffle` method call from resetting the value of `batched` attribute in `MappedExamplesIterable` Fix #2716.
true
2021-07-26T14:42:22Z
2021-07-26T18:04:14Z
2021-07-26T16:30:06Z
amankhandelia
CONTRIBUTOR
https://github.com/huggingface/datasets/pull/2717
2021-07-26T16:30:05Z
0
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/2717
true
[]
952,902,778
2,716
Calling shuffle on IterableDataset will disable batching in case any functions were mapped
closed
When using dataset in streaming mode, if one applies `shuffle` method on the dataset and `map` method for which `batched=True` than the batching operation will not happen, instead `batched` will be set to `False` I did RCA on the dataset codebase, the problem is emerging from [this line of code](https://github.com/h...
true
2021-07-26T13:24:59Z
2021-07-26T18:04:43Z
2021-07-26T18:04:43Z
amankhandelia
CONTRIBUTOR
null
null
3
0
0
0
null
false
[ "bug" ]
https://github.com/huggingface/datasets/issues/2716
false
[ "Hi :) Good catch ! Feel free to open a PR if you want to contribute, this would be very welcome ;)", "Have raised the PR [here](https://github.com/huggingface/datasets/pull/2717)", "Fixed by #2717." ]