title
stringlengths
1
290
body
stringlengths
0
228k
html_url
stringlengths
46
51
comments
list
pull_request
dict
number
int64
1
5.59k
is_pull_request
bool
2 classes
Adding GLUECoS Hinglish and Spanglish code-switching bemchmark
## Adding a Dataset - **Name:** GLUECoS - **Description:** a Microsoft Benchmark to evaluate code-switching for only two language pairs but a variety of tasks - **Paper:** https://aclanthology.org/2020.acl-main.329/ - **Data:** https://github.com/microsoft/GLUECoS - **Motivation:** We currently only have [one othe...
https://github.com/huggingface/datasets/issues/2841
[ "Hi @yjernite I am interested in adding this dataset. \r\nIn the repo they have also added a code mixed MT task from English to Hinglish [here](https://github.com/microsoft/GLUECoS#code-mixed-machine-translation-task). I think this could be a good dataset addition in itself and then I can add the rest of the GLUECo...
null
2,841
false
How can I compute BLEU-4 score use `load_metric` ?
I have found the sacrebleu metric. But, I do not know the difference between it and BLEU-4. If I want to compute BLEU-4 score, what can i do?
https://github.com/huggingface/datasets/issues/2840
[]
null
2,840
false
OpenWebText: NonMatchingSplitsSizesError
## Describe the bug When downloading `openwebtext`, I'm getting: ``` datasets.utils.info_utils.NonMatchingSplitsSizesError: [{'expected': SplitInfo(name='train', num_bytes=39769494896, num_examples=8013769, dataset_name='openwebtext'), 'recorded': SplitInfo(name='train', num_bytes=39611023912, num_examples=7982430...
https://github.com/huggingface/datasets/issues/2839
[ "Thanks for reporting, I'm updating the verifications metadata", "I just regenerated the verifications metadata and noticed that nothing changed: the data file is fine (the checksum didn't change), and the number of examples is still 8013769. Not sure how you managed to get 7982430 examples.\r\n\r\nCan you try to...
null
2,839
false
Add error_bad_chunk to the JSON loader
Add the `error_bad_chunk` parameter to the JSON loader. Setting `error_bad_chunk=False` allows to skip an unparsable chunk of JSON data without raising an error. Additional note: In case of an unparsable JSON chunk, the JSON loader no longer tries to load the full JSON (which could take a lot of time in stream...
https://github.com/huggingface/datasets/pull/2838
[ "Somebody reported the following error message which I think this is related to the goal of this PR:\r\n```Python\r\n03/24/2022 02:19:45 - INFO - __main__ - Step 5637: {'lr': 0.00018773333333333333, 'samples': 360768, 'batch_offset': 5637, 'completed_steps': 704, 'loss/train': 4.473083972930908, 'tokens/s': 6692.61...
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/2838", "html_url": "https://github.com/huggingface/datasets/pull/2838", "diff_url": "https://github.com/huggingface/datasets/pull/2838.diff", "patch_url": "https://github.com/huggingface/datasets/pull/2838.patch", "merged_at": null }
2,838
true
prepare_module issue when loading from read-only fs
## Describe the bug When we use prepare_module from a readonly file system, we create a FileLock using the `local_path`. This path is not necessarily writable. `lock_path = local_path + ".lock"` ## Steps to reproduce the bug Run `load_dataset` on a readonly python loader file. ```python ds = load_datas...
https://github.com/huggingface/datasets/issues/2837
[ "Hello, I opened #2887 to fix this." ]
null
2,837
false
Optimize Dataset.filter to only compute the indices to keep
Optimize `Dataset.filter` to only compute the indices of the rows to keep, instead of creating a new Arrow table with the rows to keep. Creating a new table was an issue because it could take a lot of disk space. This will be useful to process audio datasets for example cc @patrickvonplaten
https://github.com/huggingface/datasets/pull/2836
[ "Maybe worth updating the docs here as well?", "Yup, will do !" ]
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/2836", "html_url": "https://github.com/huggingface/datasets/pull/2836", "diff_url": "https://github.com/huggingface/datasets/pull/2836.diff", "patch_url": "https://github.com/huggingface/datasets/pull/2836.patch", "merged_at": "2021-09-13T15:50...
2,836
true
Update: timit_asr - make the dataset streamable
The TIMIT ASR dataset had two issues that was preventing it from being streamable: 1. it was missing a call to `open` before `pd.read_csv` 2. it was using `os.path.dirname` which is not supported for streaming I made the dataset streamable by using `open` to load the CSV, and by adding the support for `os.path.d...
https://github.com/huggingface/datasets/pull/2835
[]
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/2835", "html_url": "https://github.com/huggingface/datasets/pull/2835", "diff_url": "https://github.com/huggingface/datasets/pull/2835.diff", "patch_url": "https://github.com/huggingface/datasets/pull/2835.patch", "merged_at": "2021-09-07T13:15...
2,835
true
Fix IndexError by ignoring empty RecordBatch
We need to ignore the empty record batches for the interpolation search to work correctly when querying arrow tables Close #2833 cc @SaulLu
https://github.com/huggingface/datasets/pull/2834
[]
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/2834", "html_url": "https://github.com/huggingface/datasets/pull/2834", "diff_url": "https://github.com/huggingface/datasets/pull/2834.diff", "patch_url": "https://github.com/huggingface/datasets/pull/2834.patch", "merged_at": "2021-08-24T17:21...
2,834
true
IndexError when accessing first element of a Dataset if first RecordBatch is empty
The computation of the offsets of the underlying Table of a Dataset has some issues if the first RecordBatch is empty. ```python from datasets import Dataset import pyarrow as pa pa_table = pa.Table.from_pydict({"a": [1]}) pa_table2 = pa.Table.from_pydict({"a": []}, schema=pa_table.schema) ds_table = pa.conca...
https://github.com/huggingface/datasets/issues/2833
[]
null
2,833
false
Logging levels not taken into account
## Describe the bug The `logging` module isn't working as intended relative to the levels to set. ## Steps to reproduce the bug ```python from datasets import logging logging.set_verbosity_debug() logger = logging.get_logger() logger.error("ERROR") logger.warning("WARNING") logger.info("INFO") logge...
https://github.com/huggingface/datasets/issues/2832
[ "I just take a look at all the outputs produced by `datasets` using the different log-levels.\r\nAs far as i can tell using `datasets==1.17.0` they overall issue seems to be fixed.\r\n\r\nHowever, I noticed that there is one tqdm based progress indicator appearing on STDERR that I can simply not suppress.\r\n```\r\...
null
2,832
false
ArrowInvalid when mapping dataset with missing values
## Describe the bug I encountered an `ArrowInvalid` when mapping dataset with missing values. Here are the files for a minimal example. The exception is only thrown when the first line in the csv has a missing value (if you move the last line to the top it isn't thrown). [data_small.csv](https://github.com/huggingf...
https://github.com/huggingface/datasets/issues/2831
[ "Hi ! It fails because of the feature type inference.\r\n\r\nBecause the first 1000 examples all have null values in the \"match\" field, then it infers that the type for this field is `null` type before writing the data on disk. But as soon as it tries to map an example with a non-null \"match\" field, then it fai...
null
2,831
false
Add imagefolder dataset
A generic imagefolder dataset inspired by `torchvision.datasets.ImageFolder`. Resolves #2508 --- Example Usage: [![Open In Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/gist/nateraw/954fa8cba4ff806f6147a782fa9efd1a/imagefolder-official-example.ipynb)
https://github.com/huggingface/datasets/pull/2830
[ "@lhoestq @albertvillanova it would be super cool if we could get the Image Classification task to work with this. I'm not sure how to have the dataset find the unique label names _after_ the dataset has been loaded. Is that even possible? \r\n\r\nMy hacky community version [here](https://huggingface.co/datasets/na...
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/2830", "html_url": "https://github.com/huggingface/datasets/pull/2830", "diff_url": "https://github.com/huggingface/datasets/pull/2830.diff", "patch_url": "https://github.com/huggingface/datasets/pull/2830.patch", "merged_at": "2022-03-01T16:29...
2,830
true
Optimize streaming from TAR archives
Hi ! As you know TAR has some constraints for data streaming. While it is optimized for buffering, the files in the TAR archive **need to be streamed in order**. It means that we can't choose which file to stream from, and this notation is to be avoided for TAR archives: ``` tar://books_large_p1.txt::https://storage....
https://github.com/huggingface/datasets/issues/2829
[ "Closed by: \r\n- #3066" ]
null
2,829
false
Add code-mixed Kannada Hope speech dataset
## Adding a Dataset - **Name:** *KanHope* - **Description:** *A code-mixed English-Kannada dataset for Hope speech detection* - **Paper:** *https://arxiv.org/abs/2108.04616* - **Data:** *https://github.com/adeepH/KanHope/tree/main/dataset* - **Motivation:** *The dataset is amongst the very few resources available...
https://github.com/huggingface/datasets/pull/2828
[]
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/2828", "html_url": "https://github.com/huggingface/datasets/pull/2828", "diff_url": "https://github.com/huggingface/datasets/pull/2828.diff", "patch_url": "https://github.com/huggingface/datasets/pull/2828.patch", "merged_at": null }
2,828
true
add a text classification dataset
null
https://github.com/huggingface/datasets/pull/2827
[]
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/2827", "html_url": "https://github.com/huggingface/datasets/pull/2827", "diff_url": "https://github.com/huggingface/datasets/pull/2827.diff", "patch_url": "https://github.com/huggingface/datasets/pull/2827.patch", "merged_at": null }
2,827
true
Add a Text Classification dataset: KanHope
## Adding a Dataset - **Name:** *KanHope* - **Description:** *A code-mixed English-Kannada dataset for Hope speech detection* - **Paper:** *https://arxiv.org/abs/2108.04616* (I am the author of the paper} - **Author:** *[AdeepH](https://github.com/adeepH)* - **Data:** *https://github.com/adeepH/KanHope/tree/main/d...
https://github.com/huggingface/datasets/issues/2826
[ "Hi ! In your script it looks like you're trying to load the dataset `bn_hate_speech,`, not KanHope.\r\n\r\nMoreover the error `KeyError: ' '` means that you have a feature of type ClassLabel, but for a certain example of the dataset, it looks like the label is empty (it's just a string with a space). Can you make ...
null
2,826
false
The datasets.map function does not load cached dataset after moving python script
## Describe the bug The datasets.map function caches the processed data to a certain directory. When the map function is called another time with totally the same parameters, the cached data are supposed to be reloaded instead of re-processing. However, it doesn't reuse cached data sometimes. I use the common data pro...
https://github.com/huggingface/datasets/issues/2825
[ "This also happened to me on COLAB.\r\nDetails:\r\nI ran the `run_mlm.py` in two different notebooks. \r\nIn the first notebook, I do tokenization since I can get 4 CPU cores without any GPUs, and save the cache into a folder which I copy to drive.\r\nIn the second notebook, I copy the cache folder from drive and r...
null
2,825
false
Fix defaults in cache_dir docstring in load.py
Fix defaults in the `cache_dir` docstring.
https://github.com/huggingface/datasets/pull/2824
[]
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/2824", "html_url": "https://github.com/huggingface/datasets/pull/2824", "diff_url": "https://github.com/huggingface/datasets/pull/2824.diff", "patch_url": "https://github.com/huggingface/datasets/pull/2824.patch", "merged_at": "2021-08-26T11:55...
2,824
true
HF_DATASETS_CACHE variable in Windows
I can't seem to use a custom Cache directory in Windows. I have tried: set HF_DATASETS_CACHE = "C:\Datasets" set HF_DATASETS_CACHE = "C:/Datasets" set HF_DATASETS_CACHE = "C:\\Datasets" set HF_DATASETS_CACHE = "r'C:\Datasets'" set HF_DATASETS_CACHE = "\Datasets" set HF_DATASETS_CACHE = "/Datasets" In each in...
https://github.com/huggingface/datasets/issues/2823
[ "Agh - I'm a muppet. No quote marks are needed.\r\nset HF_DATASETS_CACHE = C:\\Datasets\r\nworks as intended." ]
null
2,823
false
Add url prefix convention for many compression formats
## Intro When doing dataset streaming, the uncompression of compressed files is done on the fly using `fsspec`. In particular, the download manager method `download_and_extract` doesn't return a path to the local download and extracted file, but instead a chained URL so that the uncompression can be done when the...
https://github.com/huggingface/datasets/pull/2822
[ "Thanks for the feedback :) I will also complete the documentation to explain this convention", "I just added some documentation about how streaming works with chained URLs.\r\n\r\nI will also add some docs about how to use chained URLs directly in `load_dataset` in #2662, since #2662 does change the documentatio...
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/2822", "html_url": "https://github.com/huggingface/datasets/pull/2822", "diff_url": "https://github.com/huggingface/datasets/pull/2822.diff", "patch_url": "https://github.com/huggingface/datasets/pull/2822.patch", "merged_at": "2021-08-23T15:59...
2,822
true
Cannot load linnaeus dataset
## Describe the bug The [linnaeus](https://huggingface.co/datasets/linnaeus) dataset cannot be loaded. To reproduce: ``` from datasets import load_dataset datasets = load_dataset("linnaeus") ``` This results in: ``` Downloading and preparing dataset linnaeus/linnaeus (download: 17.36 MiB, generated: 8.74 MiB,...
https://github.com/huggingface/datasets/issues/2821
[ "Thanks for reporting ! #2852 fixed this error\r\n\r\nWe'll do a new release of `datasets` soon :)" ]
null
2,821
false
Downloading “reddit” dataset keeps timing out.
## Describe the bug A clear and concise description of what the bug is. Everytime I try and download the reddit dataset it times out before finishing and I have to try again. There is some timeout error that I will post once it happens again. ## Steps to reproduce the bug ```python from datasets import load_d...
https://github.com/huggingface/datasets/issues/2820
[ "```\r\nUsing custom data configuration default\r\nDownloading and preparing dataset reddit/default (download: 2.93 GiB, generated: 17.64 GiB, post-processed: Unknown size, total: 20.57 GiB) to /Volumes/My Passport for Mac/og-chat-data/reddit/default/1.0.0/98ba5abea674d3178f7588aa6518a5510dc0c6fa8176d9653a3546d5afc...
null
2,820
false
Added XL-Sum dataset
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.
https://github.com/huggingface/datasets/pull/2819
[ "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...
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/2819", "html_url": "https://github.com/huggingface/datasets/pull/2819", "diff_url": "https://github.com/huggingface/datasets/pull/2819.diff", "patch_url": "https://github.com/huggingface/datasets/pull/2819.patch", "merged_at": null }
2,819
true
cannot load data from my loacal path
## 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...
https://github.com/huggingface/datasets/issues/2818
[ "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)` ?" ]
null
2,818
false
Rename The Pile subsets
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...
https://github.com/huggingface/datasets/pull/2817
[ "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...
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/2817", "html_url": "https://github.com/huggingface/datasets/pull/2817", "diff_url": "https://github.com/huggingface/datasets/pull/2817.diff", "patch_url": "https://github.com/huggingface/datasets/pull/2817.patch", "merged_at": "2021-08-23T16:24...
2,817
true
Add Mostly Basic Python Problems Dataset
## 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...
https://github.com/huggingface/datasets/issues/2816
[ "I started working on that." ]
null
2,816
false
Tiny typo fixes of "fo" -> "of"
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! :)
https://github.com/huggingface/datasets/pull/2815
[]
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/2815", "html_url": "https://github.com/huggingface/datasets/pull/2815", "diff_url": "https://github.com/huggingface/datasets/pull/2815.diff", "patch_url": "https://github.com/huggingface/datasets/pull/2815.patch", "merged_at": "2021-08-19T08:03...
2,815
true
Bump tqdm version
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...
https://github.com/huggingface/datasets/pull/2814
[]
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/2814", "html_url": "https://github.com/huggingface/datasets/pull/2814", "diff_url": "https://github.com/huggingface/datasets/pull/2814.diff", "patch_url": "https://github.com/huggingface/datasets/pull/2814.patch", "merged_at": "2021-08-18T13:39...
2,814
true
Remove compression from xopen
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 ...
https://github.com/huggingface/datasets/issues/2813
[ "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...
null
2,813
false
arXiv Dataset verification problem
## 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.
https://github.com/huggingface/datasets/issues/2812
[]
null
2,812
false
Fix stream oscar
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...
https://github.com/huggingface/datasets/pull/2811
[ "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 ...
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/2811", "html_url": "https://github.com/huggingface/datasets/pull/2811", "diff_url": "https://github.com/huggingface/datasets/pull/2811.diff", "patch_url": "https://github.com/huggingface/datasets/pull/2811.patch", "merged_at": null }
2,811
true
Add WIT Dataset
Adds Google's [WIT](https://github.com/google-research-datasets/wit) dataset.
https://github.com/huggingface/datasets/pull/2810
[ "Google's version of WIT is now available here: https://huggingface.co/datasets/google/wit" ]
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/2810", "html_url": "https://github.com/huggingface/datasets/pull/2810", "diff_url": "https://github.com/huggingface/datasets/pull/2810.diff", "patch_url": "https://github.com/huggingface/datasets/pull/2810.patch", "merged_at": null }
2,810
true
Add Beans Dataset
Adds the [beans](https://github.com/AI-Lab-Makerere/ibean/) image classification dataset.
https://github.com/huggingface/datasets/pull/2809
[]
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/2809", "html_url": "https://github.com/huggingface/datasets/pull/2809", "diff_url": "https://github.com/huggingface/datasets/pull/2809.diff", "patch_url": "https://github.com/huggingface/datasets/pull/2809.patch", "merged_at": "2021-08-26T11:42...
2,809
true
Enable streaming for Wikipedia corpora
**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 ...
https://github.com/huggingface/datasets/issues/2808
[]
null
2,808
false
Add cats_vs_dogs dataset
Adds Microsoft's [Cats vs. Dogs](https://www.microsoft.com/en-us/download/details.aspx?id=54765) dataset.
https://github.com/huggingface/datasets/pull/2807
[]
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/2807", "html_url": "https://github.com/huggingface/datasets/pull/2807", "diff_url": "https://github.com/huggingface/datasets/pull/2807.diff", "patch_url": "https://github.com/huggingface/datasets/pull/2807.patch", "merged_at": "2021-08-30T16:35...
2,807
true
Fix streaming tar files from canonical datasets
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...
https://github.com/huggingface/datasets/pull/2806
[ "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...
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/2806", "html_url": "https://github.com/huggingface/datasets/pull/2806", "diff_url": "https://github.com/huggingface/datasets/pull/2806.diff", "patch_url": "https://github.com/huggingface/datasets/pull/2806.patch", "merged_at": null }
2,806
true
Fix streaming zip files from canonical datasets
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...
https://github.com/huggingface/datasets/pull/2805
[]
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/2805", "html_url": "https://github.com/huggingface/datasets/pull/2805", "diff_url": "https://github.com/huggingface/datasets/pull/2805.diff", "patch_url": "https://github.com/huggingface/datasets/pull/2805.patch", "merged_at": "2021-08-16T10:34...
2,805
true
Add Food-101
Adds image classification dataset [Food-101](https://data.vision.ee.ethz.ch/cvl/datasets_extra/food-101/).
https://github.com/huggingface/datasets/pull/2804
[]
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/2804", "html_url": "https://github.com/huggingface/datasets/pull/2804", "diff_url": "https://github.com/huggingface/datasets/pull/2804.diff", "patch_url": "https://github.com/huggingface/datasets/pull/2804.patch", "merged_at": "2021-08-19T12:48...
2,804
true
add stack exchange
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...
https://github.com/huggingface/datasets/pull/2803
[ "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...
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/2803", "html_url": "https://github.com/huggingface/datasets/pull/2803", "diff_url": "https://github.com/huggingface/datasets/pull/2803.diff", "patch_url": "https://github.com/huggingface/datasets/pull/2803.patch", "merged_at": "2021-08-19T08:07...
2,803
true
add openwebtext2
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...
https://github.com/huggingface/datasets/pull/2802
[ "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...
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/2802", "html_url": "https://github.com/huggingface/datasets/pull/2802", "diff_url": "https://github.com/huggingface/datasets/pull/2802.diff", "patch_url": "https://github.com/huggingface/datasets/pull/2802.patch", "merged_at": "2021-08-23T14:06...
2,802
true
add books3
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...
https://github.com/huggingface/datasets/pull/2801
[ "> 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...
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/2801", "html_url": "https://github.com/huggingface/datasets/pull/2801", "diff_url": "https://github.com/huggingface/datasets/pull/2801.diff", "patch_url": "https://github.com/huggingface/datasets/pull/2801.patch", "merged_at": "2021-08-18T15:36...
2,801
true
Support streaming tar files
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.
https://github.com/huggingface/datasets/pull/2800
[ "Hi ! Why do we need the custom `readline` for exactly ? feel free to add a comment to say why it's needed" ]
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/2800", "html_url": "https://github.com/huggingface/datasets/pull/2800", "diff_url": "https://github.com/huggingface/datasets/pull/2800.diff", "patch_url": "https://github.com/huggingface/datasets/pull/2800.patch", "merged_at": "2021-08-14T04:55...
2,800
true
Loading JSON throws ArrowNotImplementedError
## 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...
https://github.com/huggingface/datasets/issues/2799
[ "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...
null
2,799
false
Fix streaming zip files
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...
https://github.com/huggingface/datasets/pull/2798
[ "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 ...
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/2798", "html_url": "https://github.com/huggingface/datasets/pull/2798", "diff_url": "https://github.com/huggingface/datasets/pull/2798.diff", "patch_url": "https://github.com/huggingface/datasets/pull/2798.patch", "merged_at": "2021-08-13T15:38...
2,798
true
Make creating/editing dataset cards easier, by editing on site and dumping info from test command.
**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...
https://github.com/huggingface/datasets/issues/2797
[]
null
2,797
false
add cedr dataset
null
https://github.com/huggingface/datasets/pull/2796
[ "> 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." ]
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/2796", "html_url": "https://github.com/huggingface/datasets/pull/2796", "diff_url": "https://github.com/huggingface/datasets/pull/2796.diff", "patch_url": "https://github.com/huggingface/datasets/pull/2796.patch", "merged_at": "2021-08-27T16:01...
2,796
true
Warnings and documentation about pickling incorrect
## 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: ...
https://github.com/huggingface/datasets/issues/2794
[]
null
2,794
false
Fix type hint for data_files
Fix type hint for `data_files` in signatures and docstrings.
https://github.com/huggingface/datasets/pull/2793
[]
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/2793", "html_url": "https://github.com/huggingface/datasets/pull/2793", "diff_url": "https://github.com/huggingface/datasets/pull/2793.diff", "patch_url": "https://github.com/huggingface/datasets/pull/2793.patch", "merged_at": "2021-08-12T15:35...
2,793
true
Update: GooAQ - add train/val/test splits
[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.
https://github.com/huggingface/datasets/pull/2792
[ "@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...
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/2792", "html_url": "https://github.com/huggingface/datasets/pull/2792", "diff_url": "https://github.com/huggingface/datasets/pull/2792.diff", "patch_url": "https://github.com/huggingface/datasets/pull/2792.patch", "merged_at": "2021-08-27T15:58...
2,792
true
Fix typo in cnn_dailymail
null
https://github.com/huggingface/datasets/pull/2791
[]
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/2791", "html_url": "https://github.com/huggingface/datasets/pull/2791", "diff_url": "https://github.com/huggingface/datasets/pull/2791.diff", "patch_url": "https://github.com/huggingface/datasets/pull/2791.patch", "merged_at": "2021-08-12T11:17...
2,791
true
Fix typo in test_dataset_common
null
https://github.com/huggingface/datasets/pull/2790
[]
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/2790", "html_url": "https://github.com/huggingface/datasets/pull/2790", "diff_url": "https://github.com/huggingface/datasets/pull/2790.diff", "patch_url": "https://github.com/huggingface/datasets/pull/2790.patch", "merged_at": "2021-08-12T11:31...
2,790
true
Updated dataset description of DaNE
null
https://github.com/huggingface/datasets/pull/2789
[ "Thanks for finishing it @albertvillanova " ]
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/2789", "html_url": "https://github.com/huggingface/datasets/pull/2789", "diff_url": "https://github.com/huggingface/datasets/pull/2789.diff", "patch_url": "https://github.com/huggingface/datasets/pull/2789.patch", "merged_at": "2021-08-12T16:06...
2,789
true
How to sample every file in a list of files making up a split in a dataset when loading?
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=[...
https://github.com/huggingface/datasets/issues/2788
[ "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(\...
null
2,788
false
ConnectionError: Couldn't reach https://raw.githubusercontent.com
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/...
https://github.com/huggingface/datasets/issues/2787
[ "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...
null
2,787
false
Support streaming compressed files
Add support to stream compressed files (current options in fsspec): - bz2 - lz4 - xz - zstd cc: @lewtun
https://github.com/huggingface/datasets/pull/2786
[]
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/2786", "html_url": "https://github.com/huggingface/datasets/pull/2786", "diff_url": "https://github.com/huggingface/datasets/pull/2786.diff", "patch_url": "https://github.com/huggingface/datasets/pull/2786.patch", "merged_at": "2021-08-16T06:36...
2,786
true
Add KS task to SUPERB
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...
https://github.com/huggingface/datasets/pull/2783
[ "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...
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/2783", "html_url": "https://github.com/huggingface/datasets/pull/2783", "diff_url": "https://github.com/huggingface/datasets/pull/2783.diff", "patch_url": "https://github.com/huggingface/datasets/pull/2783.patch", "merged_at": "2021-08-11T20:19...
2,783
true
Fix renaming of corpus_bleu args
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...
https://github.com/huggingface/datasets/pull/2782
[]
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/2782", "html_url": "https://github.com/huggingface/datasets/pull/2782", "diff_url": "https://github.com/huggingface/datasets/pull/2782.diff", "patch_url": "https://github.com/huggingface/datasets/pull/2782.patch", "merged_at": "2021-08-10T11:16...
2,782
true
Latest v2.0.0 release of sacrebleu has broken some metrics
## 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...
https://github.com/huggingface/datasets/issues/2781
[]
null
2,781
false
VIVOS dataset for Vietnamese ASR
null
https://github.com/huggingface/datasets/pull/2780
[]
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/2780", "html_url": "https://github.com/huggingface/datasets/pull/2780", "diff_url": "https://github.com/huggingface/datasets/pull/2780.diff", "patch_url": "https://github.com/huggingface/datasets/pull/2780.patch", "merged_at": "2021-08-12T11:09...
2,780
true
Fix sacrebleu tokenizers
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()...
https://github.com/huggingface/datasets/pull/2779
[]
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/2779", "html_url": "https://github.com/huggingface/datasets/pull/2779", "diff_url": "https://github.com/huggingface/datasets/pull/2779.diff", "patch_url": "https://github.com/huggingface/datasets/pull/2779.patch", "merged_at": "2021-08-10T10:57...
2,779
true
Do not pass tokenize to sacrebleu
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 ...
https://github.com/huggingface/datasets/pull/2778
[]
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/2778", "html_url": "https://github.com/huggingface/datasets/pull/2778", "diff_url": "https://github.com/huggingface/datasets/pull/2778.diff", "patch_url": "https://github.com/huggingface/datasets/pull/2778.patch", "merged_at": "2021-08-10T10:03...
2,778
true
Use packaging to handle versions
Use packaging module to handle/validate/check versions of Python packages. Related to #2769.
https://github.com/huggingface/datasets/pull/2777
[]
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/2777", "html_url": "https://github.com/huggingface/datasets/pull/2777", "diff_url": "https://github.com/huggingface/datasets/pull/2777.diff", "patch_url": "https://github.com/huggingface/datasets/pull/2777.patch", "merged_at": "2021-08-18T13:56...
2,777
true
document `config.HF_DATASETS_OFFLINE` and precedence
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...
https://github.com/huggingface/datasets/issues/2776
[]
null
2,776
false
`generate_random_fingerprint()` deterministic with 🤗Transformers' `set_seed()`
## 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...
https://github.com/huggingface/datasets/issues/2775
[ "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...
null
2,775
false
Prevent .map from using multiprocessing when loading from cache
## 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...
https://github.com/huggingface/datasets/pull/2774
[ "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...
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/2774", "html_url": "https://github.com/huggingface/datasets/pull/2774", "diff_url": "https://github.com/huggingface/datasets/pull/2774.diff", "patch_url": "https://github.com/huggingface/datasets/pull/2774.patch", "merged_at": "2021-09-09T10:20...
2,774
true
Remove dataset_infos.json
**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...
https://github.com/huggingface/datasets/issues/2773
[]
null
2,773
false
Remove returned feature constrain
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...
https://github.com/huggingface/datasets/issues/2772
[]
null
2,772
false
[WIP][Common Voice 7] Add common voice 7.0
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...
https://github.com/huggingface/datasets/pull/2771
[ "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...
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/2771", "html_url": "https://github.com/huggingface/datasets/pull/2771", "diff_url": "https://github.com/huggingface/datasets/pull/2771.diff", "patch_url": "https://github.com/huggingface/datasets/pull/2771.patch", "merged_at": null }
2,771
true
Add support for fast tokenizer in BertScore
This PR adds support for a fast tokenizer in BertScore, which has been added recently to the lib. Fixes #2765
https://github.com/huggingface/datasets/pull/2770
[]
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/2770", "html_url": "https://github.com/huggingface/datasets/pull/2770", "diff_url": "https://github.com/huggingface/datasets/pull/2770.diff", "patch_url": "https://github.com/huggingface/datasets/pull/2770.patch", "merged_at": "2021-08-09T11:16...
2,770
true
Allow PyArrow from source
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.
https://github.com/huggingface/datasets/pull/2769
[]
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/2769", "html_url": "https://github.com/huggingface/datasets/pull/2769", "diff_url": "https://github.com/huggingface/datasets/pull/2769.diff", "patch_url": "https://github.com/huggingface/datasets/pull/2769.patch", "merged_at": "2021-08-09T15:38...
2,769
true
`ArrowInvalid: Added column's length must match table's length.` after using `select`
## 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...
https://github.com/huggingface/datasets/issues/2768
[ "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 =...
null
2,768
false
equal operation to perform unbatch for huggingface datasets
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...
https://github.com/huggingface/datasets/issues/2767
[ "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 ...
null
2,767
false
fix typo (ShuffingConfig -> ShufflingConfig)
pretty straightforward, it should be Shuffling instead of Shuffing
https://github.com/huggingface/datasets/pull/2766
[]
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/2766", "html_url": "https://github.com/huggingface/datasets/pull/2766", "diff_url": "https://github.com/huggingface/datasets/pull/2766.diff", "patch_url": "https://github.com/huggingface/datasets/pull/2766.patch", "merged_at": "2021-08-10T14:17...
2,766
true
BERTScore Error
## 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') ...
https://github.com/huggingface/datasets/issues/2765
[ "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\...
null
2,765
false
Add DER metric for SUPERB speaker diarization task
null
https://github.com/huggingface/datasets/pull/2764
[]
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/2764", "html_url": "https://github.com/huggingface/datasets/pull/2764", "diff_url": "https://github.com/huggingface/datasets/pull/2764.diff", "patch_url": "https://github.com/huggingface/datasets/pull/2764.patch", "merged_at": null }
2,764
true
English wikipedia datasets is not clean
## 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...
https://github.com/huggingface/datasets/issues/2763
[ "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" ]
null
2,763
false
Add RVL-CDIP dataset
## 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...
https://github.com/huggingface/datasets/issues/2762
[ "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...
null
2,762
false
Error loading C4 realnewslike dataset
## 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%|███████████████████████...
https://github.com/huggingface/datasets/issues/2761
[ "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 ...
null
2,761
false
Add Nuswide dataset
## 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...
https://github.com/huggingface/datasets/issues/2760
[]
null
2,760
false
Raise ManualDownloadError when loading a dataset that requires previous manual download
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
https://github.com/huggingface/datasets/pull/2758
[]
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/2758", "html_url": "https://github.com/huggingface/datasets/pull/2758", "diff_url": "https://github.com/huggingface/datasets/pull/2758.diff", "patch_url": "https://github.com/huggingface/datasets/pull/2758.patch", "merged_at": "2021-08-04T11:36...
2,758
true
Unexpected type after `concatenate_datasets`
## 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...
https://github.com/huggingface/datasets/issues/2757
[ "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...
null
2,757
false
Fix metadata JSON for ubuntu_dialogs_corpus dataset
Related to #2743.
https://github.com/huggingface/datasets/pull/2756
[]
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/2756", "html_url": "https://github.com/huggingface/datasets/pull/2756", "diff_url": "https://github.com/huggingface/datasets/pull/2756.diff", "patch_url": "https://github.com/huggingface/datasets/pull/2756.patch", "merged_at": "2021-08-04T09:43...
2,756
true
Fix metadata JSON for turkish_movie_sentiment dataset
Related to #2743.
https://github.com/huggingface/datasets/pull/2755
[]
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/2755", "html_url": "https://github.com/huggingface/datasets/pull/2755", "diff_url": "https://github.com/huggingface/datasets/pull/2755.diff", "patch_url": "https://github.com/huggingface/datasets/pull/2755.patch", "merged_at": "2021-08-04T09:06...
2,755
true
Generate metadata JSON for telugu_books dataset
Related to #2743.
https://github.com/huggingface/datasets/pull/2754
[]
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/2754", "html_url": "https://github.com/huggingface/datasets/pull/2754", "diff_url": "https://github.com/huggingface/datasets/pull/2754.diff", "patch_url": "https://github.com/huggingface/datasets/pull/2754.patch", "merged_at": "2021-08-04T08:49...
2,754
true
Generate metadata JSON for reclor dataset
Related to #2743.
https://github.com/huggingface/datasets/pull/2753
[]
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/2753", "html_url": "https://github.com/huggingface/datasets/pull/2753", "diff_url": "https://github.com/huggingface/datasets/pull/2753.diff", "patch_url": "https://github.com/huggingface/datasets/pull/2753.patch", "merged_at": "2021-08-04T08:07...
2,753
true
Generate metadata JSON for lm1b dataset
Related to #2743.
https://github.com/huggingface/datasets/pull/2752
[]
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/2752", "html_url": "https://github.com/huggingface/datasets/pull/2752", "diff_url": "https://github.com/huggingface/datasets/pull/2752.diff", "patch_url": "https://github.com/huggingface/datasets/pull/2752.patch", "merged_at": "2021-08-04T06:40...
2,752
true
Update metadata for wikihow dataset
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.
https://github.com/huggingface/datasets/pull/2751
[]
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/2751", "html_url": "https://github.com/huggingface/datasets/pull/2751", "diff_url": "https://github.com/huggingface/datasets/pull/2751.diff", "patch_url": "https://github.com/huggingface/datasets/pull/2751.patch", "merged_at": "2021-08-03T15:52...
2,751
true
Second concatenation of datasets produces errors
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...
https://github.com/huggingface/datasets/issues/2750
[ "@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, ...
null
2,750
false
Raise a proper exception when trying to stream a dataset that requires to manually download files
## 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 = ...
https://github.com/huggingface/datasets/issues/2749
[ "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...
null
2,749
false
Generate metadata JSON for wikihow dataset
Related to #2743.
https://github.com/huggingface/datasets/pull/2748
[]
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/2748", "html_url": "https://github.com/huggingface/datasets/pull/2748", "diff_url": "https://github.com/huggingface/datasets/pull/2748.diff", "patch_url": "https://github.com/huggingface/datasets/pull/2748.patch", "merged_at": "2021-08-03T10:17...
2,748
true
add multi-proc in `to_json`
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...
https://github.com/huggingface/datasets/pull/2747
[ "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...
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/2747", "html_url": "https://github.com/huggingface/datasets/pull/2747", "diff_url": "https://github.com/huggingface/datasets/pull/2747.diff", "patch_url": "https://github.com/huggingface/datasets/pull/2747.patch", "merged_at": "2021-09-13T13:56...
2,747
true
Cannot load `few-nerd` dataset
## 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...
https://github.com/huggingface/datasets/issues/2746
[ "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...
null
2,746
false
added semeval18_emotion_classification dataset
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 ...
https://github.com/huggingface/datasets/pull/2745
[ "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={...
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/2745", "html_url": "https://github.com/huggingface/datasets/pull/2745", "diff_url": "https://github.com/huggingface/datasets/pull/2745.diff", "patch_url": "https://github.com/huggingface/datasets/pull/2745.patch", "merged_at": "2021-09-21T09:48...
2,745
true
Fix key by recreating metadata JSON for journalists_questions dataset
Close #2743.
https://github.com/huggingface/datasets/pull/2744
[]
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/2744", "html_url": "https://github.com/huggingface/datasets/pull/2744", "diff_url": "https://github.com/huggingface/datasets/pull/2744.diff", "patch_url": "https://github.com/huggingface/datasets/pull/2744.patch", "merged_at": "2021-08-03T09:25...
2,744
true
Dataset JSON is incorrect
## 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...
https://github.com/huggingface/datasets/issues/2743
[ "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...
null
2,743
false
Improve detection of streamable file types
**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...
https://github.com/huggingface/datasets/issues/2742
[ "maybe we should rather attempt to download a `Range` from the server and see if it works?" ]
null
2,742
false
Add Hypersim dataset
## 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...
https://github.com/huggingface/datasets/issues/2741
[]
null
2,741
false
Update release instructions
Update release instructions.
https://github.com/huggingface/datasets/pull/2740
[]
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/2740", "html_url": "https://github.com/huggingface/datasets/pull/2740", "diff_url": "https://github.com/huggingface/datasets/pull/2740.diff", "patch_url": "https://github.com/huggingface/datasets/pull/2740.patch", "merged_at": "2021-08-02T14:39...
2,740
true
Pass tokenize to sacrebleu only if explicitly passed by user
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...
https://github.com/huggingface/datasets/pull/2739
[]
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/2739", "html_url": "https://github.com/huggingface/datasets/pull/2739", "diff_url": "https://github.com/huggingface/datasets/pull/2739.diff", "patch_url": "https://github.com/huggingface/datasets/pull/2739.patch", "merged_at": "2021-08-03T04:23...
2,739
true
Sunbird AI Ugandan low resource language dataset
Multi-way parallel text corpus of 5 key Ugandan languages for the task of machine translation.
https://github.com/huggingface/datasets/pull/2738
[ "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 ...
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/2738", "html_url": "https://github.com/huggingface/datasets/pull/2738", "diff_url": "https://github.com/huggingface/datasets/pull/2738.diff", "patch_url": "https://github.com/huggingface/datasets/pull/2738.patch", "merged_at": null }
2,738
true