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
1,015,406,105
3,020
Add a metric for the MATH dataset (competition_math).
closed
This metric computes accuracy for the MATH dataset (https://arxiv.org/abs/2103.03874) after canonicalizing the prediction and the reference (e.g., converting "1/2" to "\\\\frac{1}{2}").
true
2021-10-04T16:52:16Z
2021-10-22T10:29:31Z
2021-10-22T10:29:31Z
hacobe
CONTRIBUTOR
https://github.com/huggingface/datasets/pull/3020
2021-10-22T10:29:31Z
4
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/3020
true
[ "I believe the only failed test related to this PR is tests/test_metric_common.py::LocalMetricTest::test_load_metric_competition_math. It gives the following error:\r\n\r\nImportError: To be able to use this dataset, you need to install the following dependencies['math_equivalence'] using 'pip install git+https://g...
1,015,339,983
3,019
Fix filter leaking
closed
If filter is called after using a first transform `shuffle`, `select`, `shard`, `train_test_split`, or `filter`, then it could not work as expected and return examples from before the first transform. This is because the indices mapping was not taken into account when saving the indices to keep when doing the filtering...
true
2021-10-04T15:42:58Z
2022-06-03T08:28:14Z
2021-10-05T08:33:07Z
lhoestq
MEMBER
https://github.com/huggingface/datasets/pull/3019
2021-10-05T08:33:07Z
0
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/3019
true
[]
1,015,311,877
3,018
Support multiple zipped CSV data files
open
As requested by @lewtun, support loading multiple zipped CSV data files. ```python from datasets import load_dataset url = "https://domain.org/filename.zip" data_files = {"train": "train_filename.csv", "test": "test_filename.csv"} dataset = load_dataset("csv", data_dir=url, data_files=data_files) ```
true
2021-10-04T15:16:59Z
2021-10-05T14:32:57Z
null
albertvillanova
MEMBER
null
null
3
1
0
1
null
false
[ "enhancement" ]
https://github.com/huggingface/datasets/issues/3018
false
[ "@lhoestq I would like to draw your attention to the proposed API by @lewtun, using `data_dir` to pass the ZIP URL.\r\n\r\nI'm not totally convinced with this... What do you think?\r\n\r\nMaybe we could discuss other approaches...\r\n\r\nOne brainstorming idea: what about using URL chaining with the hop operator in...
1,015,215,528
3,017
Remove unused parameter in xdirname
closed
Minor fix to remove unused args `*p` in `xdirname`.
true
2021-10-04T13:55:53Z
2021-10-05T11:37:01Z
2021-10-05T11:37:00Z
albertvillanova
MEMBER
https://github.com/huggingface/datasets/pull/3017
2021-10-05T11:37:00Z
0
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/3017
true
[]
1,015,208,654
3,016
Fix Windows paths in LJ Speech dataset
closed
Minor fix in LJ Speech dataset for Windows pathname component separator. Related to #1878.
true
2021-10-04T13:49:37Z
2021-10-04T15:23:05Z
2021-10-04T15:23:04Z
albertvillanova
MEMBER
https://github.com/huggingface/datasets/pull/3016
2021-10-04T15:23:04Z
0
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/3016
true
[]
1,015,130,845
3,015
Extend support for streaming datasets that use glob.glob
closed
This PR extends the support in streaming mode for datasets that use `glob`, by patching the function `glob.glob`. Related to #2880, #2876, #2874
true
2021-10-04T12:42:37Z
2021-10-05T13:46:39Z
2021-10-05T13:46:38Z
albertvillanova
MEMBER
https://github.com/huggingface/datasets/pull/3015
2021-10-05T13:46:38Z
0
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/3015
true
[]
1,015,070,751
3,014
Fix Windows path in MATH dataset
closed
Minor fix in MATH dataset for Windows pathname component separator. Related to #2982.
true
2021-10-04T11:41:07Z
2021-10-04T12:46:44Z
2021-10-04T12:46:44Z
albertvillanova
MEMBER
https://github.com/huggingface/datasets/pull/3014
2021-10-04T12:46:44Z
0
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/3014
true
[]
1,014,960,419
3,013
Improve `get_dataset_infos`?
closed
Using the dedicated function `get_dataset_infos` on a dataset that has no dataset-info.json file returns an empty info: ``` >>> from datasets import get_dataset_infos >>> get_dataset_infos('wit') {} ``` While it's totally possible to get it (regenerate it) with: ``` >>> from datasets import load_dataset_b...
true
2021-10-04T09:47:04Z
2022-02-21T15:57:10Z
2022-02-21T15:57:10Z
severo
COLLABORATOR
null
null
1
0
0
0
null
false
[ "question", "dataset-viewer" ]
https://github.com/huggingface/datasets/issues/3013
false
[ "To keeps things simple maybe we should use `load_dataset_builder` in `get_dataset_infos`.\r\n`load_dataset_builder` instantiates a builder and runs the _infos() method in order to give you the most up-to-date infos, even if the dataset_infos.json is outdated or missing." ]
1,014,958,931
3,012
Replace item with float in metrics
closed
As pointed out by @mariosasko in #3001, calling `float()` instad of `.item()` is faster. Moreover, it might avoid potential issues if any of the third-party functions eventually returns a `float` instead of an `np.float64`. Related to #3001.
true
2021-10-04T09:45:28Z
2021-10-04T11:30:34Z
2021-10-04T11:30:33Z
albertvillanova
MEMBER
https://github.com/huggingface/datasets/pull/3012
2021-10-04T11:30:33Z
0
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/3012
true
[]
1,014,935,713
3,011
load_dataset_builder should error if "name" does not exist?
open
``` import datasets as ds builder = ds.load_dataset_builder('sent_comp', name="doesnotexist") builder.info.config_name ``` returns ``` 'doesnotexist' ``` Shouldn't it raise an error instead? For this dataset, the only valid values for `name` should be: `"default"` or `None` (ie. argument not passed)
true
2021-10-04T09:20:46Z
2022-09-20T13:05:07Z
null
severo
COLLABORATOR
null
null
1
0
0
0
null
false
[ "bug", "dataset-viewer" ]
https://github.com/huggingface/datasets/issues/3011
false
[ "Yes I think it should raise an error. Currently it looks like it instantiates a custom configuration with the name given by the user:\r\nhttps://github.com/huggingface/datasets/blob/ba27ce33bf568374cf23a07669fdd875b5718bc2/src/datasets/builder.py#L391-L397" ]
1,014,918,470
3,010
Chain filtering is leaking
closed
## Describe the bug As there's no support for lists within dataset fields, I convert my lists to json-string format. However, the bug described is occurring even when the data format is 'string'. These samples show that filtering behavior diverges from what's expected when chaining filterings. On sample 2 the second...
true
2021-10-04T09:04:55Z
2022-06-01T17:36:44Z
2022-06-01T17:36:44Z
DrMatters
NONE
null
null
4
0
0
0
null
false
[ "bug" ]
https://github.com/huggingface/datasets/issues/3010
false
[ "### Update:\r\nI wrote a bit cleaner code snippet (without transforming to json) that can expose leaking.\r\n```python\r\nimport datasets\r\nimport json\r\n\r\nitems = ['ab', 'c', 'df']\r\n\r\nds = datasets.Dataset.from_dict({'col': items})\r\nprint(list(ds))\r\n# > Prints: [{'col': 'ab'}, {'col': 'c'}, {'col': 'd...
1,014,868,235
3,009
Fix Windows paths in SUPERB benchmark datasets
closed
Minor fix in SUPERB benchmark datasets for Windows pathname component separator. Related to #2884, #2783 and #2619.
true
2021-10-04T08:13:49Z
2021-10-04T13:43:25Z
2021-10-04T13:43:25Z
albertvillanova
MEMBER
https://github.com/huggingface/datasets/pull/3009
2021-10-04T13:43:24Z
0
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/3009
true
[]
1,014,849,163
3,008
Fix precision/recall metrics with None average
closed
Related to issue #2979 and PR #2992.
true
2021-10-04T07:54:15Z
2021-10-04T09:29:37Z
2021-10-04T09:29:36Z
albertvillanova
MEMBER
https://github.com/huggingface/datasets/pull/3008
2021-10-04T09:29:36Z
0
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/3008
true
[]
1,014,775,450
3,007
Correct a typo
closed
true
2021-10-04T06:15:47Z
2021-10-04T09:27:57Z
2021-10-04T09:27:57Z
Yann21
CONTRIBUTOR
https://github.com/huggingface/datasets/pull/3007
2021-10-04T09:27:57Z
0
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/3007
true
[]
1,014,770,821
3,006
Fix Windows paths in CommonLanguage dataset
closed
Minor fix in CommonLanguage dataset for Windows pathname component separator. Related to #2989.
true
2021-10-04T06:08:58Z
2021-10-04T09:07:58Z
2021-10-04T09:07:58Z
albertvillanova
MEMBER
https://github.com/huggingface/datasets/pull/3006
2021-10-04T09:07:58Z
0
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/3006
true
[]
1,014,615,420
3,005
DatasetDict.filter and Dataset.filter crashes with any "fn_kwargs" argument
closed
## Describe the bug The ".filter" method of DatasetDict or Dataset objects fails when passing any "fn_kwargs" argument ## Steps to reproduce the bug ```python import datasets example_dataset = datasets.Dataset.from_dict({"a": {1, 2, 3, 4}}) def filter_value(example, value): return example['a'] == value...
true
2021-10-04T00:49:29Z
2021-10-11T10:18:01Z
2021-10-04T08:46:13Z
DrMatters
NONE
null
null
2
0
0
0
null
false
[ "bug" ]
https://github.com/huggingface/datasets/issues/3005
false
[ "Hi @DrMatters, thanks for reporting.\r\n\r\nThis issue was fixed 14 days ago: #2950.\r\n\r\nCurrently, the fix is only in the master branch and will be made available in our next library release.\r\n\r\nIn the meantime, you can incorporate the fix by installing datasets from the master branch:\r\n```shell\r\npip i...
1,014,336,617
3,004
LexGLUE: A Benchmark Dataset for Legal Language Understanding in English.
closed
Inspired by the recent widespread use of the GLUE multi-task benchmark NLP dataset (Wang et al., 2018), the subsequent more difficult SuperGLUE (Wang et al., 2019), other previous multi-task NLP benchmarks (Conneau and Kiela, 2018; McCann et al., 2018), and similar initiatives in other domains (Peng et al., 2019), we i...
true
2021-10-03T10:03:25Z
2021-10-13T13:37:02Z
2021-10-13T13:37:01Z
iliaschalkidis
CONTRIBUTOR
https://github.com/huggingface/datasets/pull/3004
2021-10-13T13:37:01Z
4
1
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/3004
true
[ "Please wait until Tuesday. Arxiv pre-print is pending. 🤗 ", "Hi @lhoestq, I updated the README with the Arxiv publication info and now the tests are not passing.\r\n\r\nIt seems that the error is completely irrelevant to my code:\r\n\r\n```\r\n Attempting uninstall: ruamel.yaml\r\n Found existing installatio...
1,014,137,933
3,003
common_language: Fix license in README.md
closed
...it's correct elsewhere
true
2021-10-02T18:47:37Z
2021-10-04T09:27:01Z
2021-10-04T09:27:01Z
jimregan
CONTRIBUTOR
https://github.com/huggingface/datasets/pull/3003
2021-10-04T09:27:01Z
0
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/3003
true
[]
1,014,120,524
3,002
Remove a reference to the open Arrow file when deleting a TF dataset created with to_tf_dataset
closed
This [comment](https://github.com/huggingface/datasets/issues/2934#issuecomment-922970919) explains the issue. This PR fixes that with a `weakref` callback, and additionally: * renames `TensorflowDatasetMixIn` to `TensorflowDatasetMixin` for consistency * correctly indents `TensorflowDatasetMixin`'s docstring * repl...
true
2021-10-02T17:44:09Z
2021-10-13T11:48:00Z
2021-10-13T09:03:23Z
mariosasko
COLLABORATOR
https://github.com/huggingface/datasets/pull/3002
2021-10-13T09:03:23Z
2
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/3002
true
[ "@lhoestq The test passes even without the try/except block!", "Hey, I'm a little late because I was caught up in the course work, but I double-checked this and it looks great. Thanks for fixing!" ]
1,014,024,982
3,001
Fix cast to Python scalar in Matthews Correlation metric
closed
This PR is motivated by issue #2964. The Matthews Correlation metric relies on sklearn's `matthews_corrcoef` function to compute the result. This function returns either `float` or `np.float64` (see the [source](https://github.com/scikit-learn/scikit-learn/blob/844b4be24d20fc42cc13b957374c718956a0db39/sklearn/metric...
true
2021-10-02T11:44:59Z
2021-10-04T09:54:04Z
2021-10-04T09:26:12Z
mariosasko
COLLABORATOR
https://github.com/huggingface/datasets/pull/3001
2021-10-04T09:26:12Z
0
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/3001
true
[]
1,013,613,219
3,000
Fix json loader when conversion not implemented
closed
Sometimes the arrow json parser fails if the `block_size` is too small and returns an `ArrowNotImplementedError: JSON conversion to struct...` error. By increasing the block size it makes it work again. Hopefully it should help with https://github.com/huggingface/datasets/issues/2799 I tried with the file ment...
true
2021-10-01T17:47:22Z
2021-10-01T18:05:00Z
2021-10-01T17:54:23Z
lhoestq
MEMBER
https://github.com/huggingface/datasets/pull/3000
2021-10-01T17:54:23Z
2
1
0
1
false
false
[]
https://github.com/huggingface/datasets/pull/3000
true
[ "And we're already at PR number 3,000 ! ^^", "Thank you so much for fixing this @lhoestq 😍 ! I just tested the branch out and it works like a charm!" ]
1,013,536,933
2,999
Set trivia_qa writer batch size
closed
Save some RAM when generating trivia_qa
true
2021-10-01T16:23:26Z
2021-10-01T16:34:55Z
2021-10-01T16:34:55Z
lhoestq
MEMBER
https://github.com/huggingface/datasets/pull/2999
2021-10-01T16:34:55Z
0
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/2999
true
[]
1,013,372,871
2,998
cannot shuffle dataset loaded from disk
open
## Describe the bug dataset loaded from disk cannot be shuffled. ## Steps to reproduce the bug ``` my_dataset = load_from_disk('s3://my_file/validate', fs=s3) sample = my_dataset.select(range(100)).shuffle(seed=1234) ``` ## Actual results ``` sample = my_dataset .select(range(100)).shuffle(seed=1234) ...
true
2021-10-01T13:49:52Z
2021-10-01T13:49:52Z
null
pya25
NONE
null
null
0
0
0
0
null
false
[ "bug" ]
https://github.com/huggingface/datasets/issues/2998
false
[]
1,013,270,069
2,997
Dataset has incorrect labels
closed
The dataset https://huggingface.co/datasets/turkish_product_reviews has incorrect labels - all reviews are labelled with "1" (positive sentiment). None of the reviews is labelled with "0". See screenshot attached: ![Capture](https://user-images.githubusercontent.com/63367770/135617428-14ce0b27-5208-4e66-a3ee-71542e3...
true
2021-10-01T12:09:06Z
2021-10-01T15:32:00Z
2021-10-01T13:54:34Z
heiko-hotz
NONE
null
null
3
0
0
0
null
false
[]
https://github.com/huggingface/datasets/issues/2997
false
[ "Hi @marshmellow77, thanks for reporting.\r\n\r\nThat issue is fixed since `datasets` version 1.9.0 (see 16bc665f2753677c765011ef79c84e55486d4347).\r\n\r\nPlease, update `datasets` with: `pip install -U datasets`", "Thanks. Please note that the dataset explorer (https://huggingface.co/datasets/viewer/?dataset=tur...
1,013,266,373
2,996
Remove all query parameters when extracting protocol
closed
Fix `_get_extraction_protocol` to remove all query parameters, like `?raw=true`, `?dl=1`,...
true
2021-10-01T12:05:34Z
2021-10-04T08:48:13Z
2021-10-04T08:48:13Z
albertvillanova
MEMBER
https://github.com/huggingface/datasets/pull/2996
2021-10-04T08:48:13Z
4
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/2996
true
[ "Beware of cases like: `http://ufal.ms.mff.cuni.cz/umc/005-en-ur/download.php?f=umc005-corpus.zip` or `gzip://bg-cs.xml::https://opus.nlpl.eu/download.php?f=Europarl/v8/xml/bg-cs.xml.gz`. I see these URLs in the errors (https://observablehq.com/@huggingface/quality-assessment-of-datasets-loading?collection=@hugging...
1,013,143,868
2,995
Fix trivia_qa unfiltered
closed
Fix https://github.com/huggingface/datasets/issues/2993
true
2021-10-01T09:53:43Z
2021-10-01T10:04:11Z
2021-10-01T10:04:10Z
lhoestq
MEMBER
https://github.com/huggingface/datasets/pull/2995
2021-10-01T10:04:10Z
1
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/2995
true
[ "CI fails due to missing tags, but they will be added in https://github.com/huggingface/datasets/pull/2949" ]
1,013,000,475
2,994
Fix loading compressed CSV without streaming
closed
When implementing support to stream CSV files (https://github.com/huggingface/datasets/commit/ad489d4597381fc2d12c77841642cbeaecf7a2e0#diff-6f60f8d0552b75be8b3bfd09994480fd60dcd4e7eb08d02f721218c3acdd2782), a regression was introduced preventing loading compressed CSV files in non-streaming mode. This PR fixes it, a...
true
2021-10-01T07:28:59Z
2021-10-01T15:53:16Z
2021-10-01T15:53:16Z
albertvillanova
MEMBER
https://github.com/huggingface/datasets/pull/2994
2021-10-01T15:53:15Z
0
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/2994
true
[]
1,012,702,665
2,993
Can't download `trivia_qa/unfiltered`
closed
## Describe the bug For some reason, I can't download `trivia_qa/unfilted`. A file seems to be missing... I am able to see it fine though the viewer tough... ## Steps to reproduce the bug ```python >>> from datasets import load_dataset >>> load_dataset("trivia_qa", "unfiltered") Downloading and preparing data...
true
2021-09-30T23:00:18Z
2021-10-01T19:07:23Z
2021-10-01T19:07:22Z
VictorSanh
CONTRIBUTOR
null
null
3
0
0
0
null
false
[ "bug" ]
https://github.com/huggingface/datasets/issues/2993
false
[ "wooo that was fast! thank you @lhoestq !\r\nit is able to process now, though it's ignoring all files and ending up with 0 examples now haha :/\r\n\r\nFor subset \"unfiltered\":\r\n```python\r\n>>> load_dataset(\"trivia_qa\", \"unfiltered\")\r\nDownloading and preparing dataset trivia_qa/unfiltered (download: 3.07...
1,012,325,594
2,992
Fix f1 metric with None average
closed
Fix #2979.
true
2021-09-30T15:31:57Z
2021-10-01T14:17:39Z
2021-10-01T14:17:38Z
albertvillanova
MEMBER
https://github.com/huggingface/datasets/pull/2992
2021-10-01T14:17:38Z
0
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/2992
true
[]
1,012,174,823
2,991
add docmentation for the `Unix style pattern` matching feature that can be leverage for `data_files` into `load_dataset`
open
Unless I'm mistaken, it seems that in the new documentation it is no longer mentioned that you can use Unix style pattern matching in the `data_files` argument of the `load_dataset` method. This feature was mentioned [here](https://huggingface.co/docs/datasets/loading_datasets.html#from-a-community-dataset-on-the-h...
true
2021-09-30T13:22:01Z
2021-09-30T13:22:01Z
null
SaulLu
CONTRIBUTOR
null
null
0
2
2
0
null
false
[ "enhancement" ]
https://github.com/huggingface/datasets/issues/2991
false
[]
1,012,097,418
2,990
Make Dataset.map accept list of np.array
closed
Fix #2987.
true
2021-09-30T12:08:54Z
2021-10-01T13:57:46Z
2021-10-01T13:57:46Z
albertvillanova
MEMBER
https://github.com/huggingface/datasets/pull/2990
2021-10-01T13:57:45Z
0
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/2990
true
[]
1,011,220,375
2,989
Add CommonLanguage
closed
This PR adds the Common Language dataset (https://zenodo.org/record/5036977) The dataset is intended for language-identification speech classifiers and is already used by models on the Hub: * https://huggingface.co/speechbrain/lang-id-commonlanguage_ecapa * https://huggingface.co/anton-l/wav2vec2-base-langid cc @...
true
2021-09-29T17:21:30Z
2021-10-01T17:36:39Z
2021-10-01T17:00:03Z
anton-l
MEMBER
https://github.com/huggingface/datasets/pull/2989
2021-10-01T17:00:03Z
0
1
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/2989
true
[]
1,011,148,017
2,988
IndexError: Invalid key: 14 is out of bounds for size 0
closed
## Describe the bug A clear and concise description of what the bug is. Hi. I am trying to implement stochastic weighted averaging optimizer with transformer library as described here https://pytorch.org/blog/pytorch-1.6-now-includes-stochastic-weight-averaging/ , for this I am using a run_clm.py codes which is wor...
true
2021-09-29T16:04:24Z
2022-04-10T14:49:49Z
2022-04-10T14:49:49Z
dorost1234
NONE
null
null
13
0
0
0
null
false
[ "bug" ]
https://github.com/huggingface/datasets/issues/2988
false
[ "Hi ! Could you check the length of the `self.dataset` object (i.e. the Dataset object passed to the data loader) ? It looks like the dataset is empty.\r\nNot sure why the SWA optimizer would cause this though.", "Any updates on this? \r\nThe same error occurred to me too when running `cardiffnlp/twitter-roberta-...
1,011,026,141
2,987
ArrowInvalid: Can only convert 1-dimensional array values
closed
## Describe the bug For the ViT and LayoutLMv2 demo notebooks in my [Transformers-Tutorials repo](https://github.com/NielsRogge/Transformers-Tutorials), people reported an ArrowInvalid issue after applying the following function to a Dataset: ``` def preprocess_data(examples): images = [Image.open(path).conve...
true
2021-09-29T14:18:52Z
2021-10-01T13:57:45Z
2021-10-01T13:57:45Z
NielsRogge
CONTRIBUTOR
null
null
1
0
0
0
null
false
[ "bug" ]
https://github.com/huggingface/datasets/issues/2987
false
[ "Hi @NielsRogge, thanks for reporting!\r\n\r\nIn `datasets`, we were handling N-dimensional arrays only when passed as an instance of `np.array`, not when passed as a list of `np.array`s.\r\n\r\nI'm fixing it." ]
1,010,792,783
2,986
Refac module factory + avoid etag requests for hub datasets
closed
## Refactor the module factory When trying to extend the `data_files` logic to avoid doing unnecessary ETag requests, I noticed that the module preparation mechanism needed a refactor: - the function was 600 lines long - it was not readable - it contained many different cases that made it complex to maintain - i...
true
2021-09-29T10:42:00Z
2021-10-11T11:05:53Z
2021-10-11T11:05:52Z
lhoestq
MEMBER
https://github.com/huggingface/datasets/pull/2986
2021-10-11T11:05:51Z
6
3
0
1
false
false
[]
https://github.com/huggingface/datasets/pull/2986
true
[ "> One thing is that I still don't know at what extent we want to keep backward compatibility for prepare_module. For now I just kept it (except I removed two parameters) just in case, but it's not used anywhere anymore.\r\n\r\nFYI, various other projects currently use it, thus clearly a major version would be requ...
1,010,500,433
2,985
add new dataset kan_hope
closed
## Adding a Dataset - **Name:** *KanHope* - **Description:** *A code-mixed English-Kannada dataset for Hope speech detection* - **Task:** *Binary Text Classification* - **Paper:** *https://arxiv.org/abs/2108.04616* - **Data:** *https://github.com/adeepH/kan_hope/tree/main/dataset* - **Motivation:** *The dataset ...
true
2021-09-29T05:20:28Z
2021-10-01T16:55:19Z
2021-10-01T16:55:19Z
adeepH
CONTRIBUTOR
https://github.com/huggingface/datasets/pull/2985
2021-10-01T16:55:19Z
0
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/2985
true
[]
1,010,484,326
2,984
Exceeded maximum rows when reading large files
closed
## Describe the bug A clear and concise description of what the bug is. When using `load_dataset` with json files, if the files are too large, there will be "Exceeded maximum rows" error. ## Steps to reproduce the bug ```python dataset = load_dataset('json', data_files=data_files) # data files have 3M rows in a ...
true
2021-09-29T04:49:22Z
2021-10-12T06:05:42Z
2021-10-12T06:05:42Z
zijwang
NONE
null
null
1
0
0
0
null
false
[ "bug" ]
https://github.com/huggingface/datasets/issues/2984
false
[ "Hi @zijwang, thanks for reporting this issue.\r\n\r\nYou did not mention which `datasets` version you are using, but looking at the code in the stack trace, it seems you are using an old version.\r\n\r\nCould you please update `datasets` (`pip install -U datasets`) and check if the problem persists?" ]
1,010,263,058
2,983
added SwissJudgmentPrediction dataset
closed
true
2021-09-28T22:17:56Z
2021-10-01T16:03:05Z
2021-10-01T16:03:05Z
JoelNiklaus
CONTRIBUTOR
https://github.com/huggingface/datasets/pull/2983
2021-10-01T16:03:05Z
0
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/2983
true
[]
1,010,118,418
2,982
Add the Math Aptitude Test of Heuristics dataset.
closed
true
2021-09-28T19:18:37Z
2021-10-01T19:51:23Z
2021-10-01T12:21:00Z
hacobe
CONTRIBUTOR
https://github.com/huggingface/datasets/pull/2982
2021-10-01T12:21:00Z
0
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/2982
true
[]
1,009,969,310
2,981
add wit dataset
closed
Resolves #2902 based on conversation there - would also close #2810. Open to suggestions/help 😀 CC @hassiahk @lhoestq @yjernite
true
2021-09-28T16:34:49Z
2022-05-05T14:26:41Z
2022-05-05T14:26:41Z
nateraw
CONTRIBUTOR
https://github.com/huggingface/datasets/pull/2981
null
5
2
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/2981
true
[ "Opening this up - Here's whats left to make it really shine:\r\n- [ ] Update dataset card (this is being worked on by the author)\r\n- [ ] Add `dataset_info.json`. Requires downloading the entire dataset. I believe @lhoestq mentioned he may have a machine he's using for this sort of thing.\r\n\r\nI think both of t...
1,009,873,482
2,980
OpenSLR 25: ASR data for Amharic, Swahili and Wolof
open
## Adding a Dataset - **Name:** *SLR25* - **Description:** *Subset 25 from OpenSLR. Other subsets have been added to https://huggingface.co/datasets/openslr, 25 covers Amharic, Swahili and Wolof data* - **Paper:** *https://www.openslr.org/25/ has citations for each of the three subsubsets. * - **Data:** *Currently ...
true
2021-09-28T15:04:36Z
2021-09-29T17:25:14Z
null
cdleong
CONTRIBUTOR
null
null
3
0
0
0
null
false
[ "dataset request" ]
https://github.com/huggingface/datasets/issues/2980
false
[ "Whoever handles this just needs to: \r\n\r\n- [ ] fork the HuggingFace Datasets repo\r\n- [ ] update the [existing dataset script](https://github.com/huggingface/datasets/blob/master/datasets/openslr/openslr.py) to add SLR25. Lots of copypasting from other sections of the script should make that easy. \r\nAmharic ...
1,009,634,147
2,979
ValueError when computing f1 metric with average None
closed
## Describe the bug When I try to compute the f1 score for each class in a multiclass classification problem, I get a ValueError. The same happens with recall and precision. I traced the error to the `.item()` in these scripts, which is probably there for the other averages. E.g. from f1.py: ```python return { ...
true
2021-09-28T11:34:53Z
2021-10-01T14:17:38Z
2021-10-01T14:17:38Z
asofiaoliveira
CONTRIBUTOR
null
null
1
0
0
0
null
false
[ "bug" ]
https://github.com/huggingface/datasets/issues/2979
false
[ "Hi @asofiaoliveira, thanks for reporting.\r\n\r\nI'm fixing it." ]
1,009,521,419
2,978
Run CI tests against non-production server
open
Currently, the CI test suite performs requests to the HF production server. As discussed with @elishowk, we should refactor our tests to use the HF staging server instead, like `huggingface_hub` and `transformers`.
true
2021-09-28T09:41:26Z
2021-09-28T15:23:50Z
null
albertvillanova
MEMBER
null
null
2
0
0
0
null
false
[]
https://github.com/huggingface/datasets/issues/2978
false
[ "Hey @albertvillanova could you provide more context, including extracts from the discussion we had ?\r\n\r\nLet's ping @Pierrci @julien-c and @n1t0 for their opinion about that", "@julien-c increased the huggingface.co production workers in order to see if it solve [the 502 you had this morning](https://app.circ...
1,009,378,692
2,977
Impossible to load compressed csv
closed
## Describe the bug It is not possible to load from a compressed csv anymore. ## Steps to reproduce the bug ```python load_dataset('csv', data_files=['/path/to/csv.bz2']) ``` ## Problem and possible solution This used to work, but the commit that broke it is [this one](https://github.com/huggingface/datasets...
true
2021-09-28T07:18:54Z
2021-10-01T15:53:16Z
2021-10-01T15:53:15Z
Valahaar
CONTRIBUTOR
null
null
1
0
0
0
null
false
[ "bug" ]
https://github.com/huggingface/datasets/issues/2977
false
[ "Hi @Valahaar, thanks for reporting and for your investigation about the source cause.\r\n\r\nYou are right and that commit prevents `pandas` from inferring the compression. On the other hand, @lhoestq did that change to support loading that dataset in streaming mode. \r\n\r\nI'm fixing it." ]
1,008,647,889
2,976
Can't load dataset
closed
I'm trying to load a wikitext dataset ``` from datasets import load_dataset raw_datasets = load_dataset("wikitext") ``` ValueError: Config name is missing. Please pick one among the available configs: ['wikitext-103-raw-v1', 'wikitext-2-raw-v1', 'wikitext-103-v1', 'wikitext-2-v1'] Example of usage: `load_d...
true
2021-09-27T21:38:14Z
2024-04-08T03:27:29Z
2021-09-28T06:53:01Z
mskovalova
NONE
null
null
4
0
0
0
null
false
[ "bug" ]
https://github.com/huggingface/datasets/issues/2976
false
[ "Hi @mskovalova, \r\n\r\nSome datasets have multiple configurations. Therefore, in order to load them, you have to specify both the *dataset name* and the *configuration name*.\r\n\r\nIn the error message you got, you have a usage example:\r\n- To load the 'wikitext-103-raw-v1' configuration of the 'wikitext' datas...
1,008,444,654
2,975
ignore dummy folder and dataset_infos.json
closed
Fixes #2877 Added the `dataset_infos.json` to the ignored files list and also added check to ignore files which have parent directory as `dummy`. Let me know if it is correct. Thanks :)
true
2021-09-27T18:09:03Z
2021-09-29T09:45:38Z
2021-09-29T09:05:38Z
Ishan-Kumar2
CONTRIBUTOR
https://github.com/huggingface/datasets/pull/2975
2021-09-29T09:05:38Z
0
1
0
1
false
false
[]
https://github.com/huggingface/datasets/pull/2975
true
[]
1,008,247,787
2,974
Actually disable dummy labels by default
closed
So I might have just changed the docstring instead of the actual default argument value and not realized. @lhoestq I'm sorry >.>
true
2021-09-27T14:50:20Z
2021-09-29T09:04:42Z
2021-09-29T09:04:41Z
Rocketknight1
MEMBER
https://github.com/huggingface/datasets/pull/2974
2021-09-29T09:04:41Z
0
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/2974
true
[]
1,007,894,592
2,973
Fix JSON metadata of masakhaner dataset
closed
Fix #2971.
true
2021-09-27T09:09:08Z
2021-09-27T12:59:59Z
2021-09-27T12:59:59Z
albertvillanova
MEMBER
https://github.com/huggingface/datasets/pull/2973
2021-09-27T12:59:58Z
0
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/2973
true
[]
1,007,808,714
2,972
OSError: Not enough disk space.
closed
## Describe the bug I'm trying to download `natural_questions` dataset from the Internet, and I've specified the cache_dir which locates in a mounted disk and has enough disk space. However, even though the space is enough, the disk space checking function still reports the space of root `/` disk having no enough spac...
true
2021-09-27T07:41:22Z
2024-12-04T02:56:19Z
2021-09-28T06:43:15Z
qqaatw
CONTRIBUTOR
null
null
6
0
0
0
null
false
[ "bug" ]
https://github.com/huggingface/datasets/issues/2972
false
[ "Maybe we can change the disk space calculating API from `shutil.disk_usage` to `os.statvfs` in UNIX-like system, which can provide correct results.\r\n```\r\nstatvfs = os.statvfs('path')\r\navail_space_bytes = statvfs.f_frsize * statvfs.f_bavail\r\n```", "Hi @qqaatw, thanks for reporting.\r\n\r\nCould you pleas...
1,007,696,522
2,971
masakhaner dataset load problem
closed
## Describe the bug Masakhaner dataset is not loading ## Steps to reproduce the bug ``` from datasets import load_dataset dataset = load_dataset("masakhaner",'amh') ``` ## Expected results Expected the return of a dataset ## Actual results ``` NonMatchingSplitsSizesError Traceback (mo...
true
2021-09-27T04:59:07Z
2021-09-27T12:59:59Z
2021-09-27T12:59:59Z
huu4ontocord
CONTRIBUTOR
null
null
1
0
0
0
null
false
[ "bug" ]
https://github.com/huggingface/datasets/issues/2971
false
[ "Thanks for reporting, @ontocord. We are fixing the wrong metadata." ]
1,007,340,089
2,970
Magnet’s
closed
## Adding a Dataset - **Name:** *name of the dataset* - **Description:** *short description of the dataset (or link to social media or blog post)* - **Paper:** *link to the dataset paper if available* - **Data:** *link to the Github repository or current dataset location* - **Motivation:** *what are some good reasons t...
true
2021-09-26T09:50:29Z
2021-09-26T10:38:59Z
2021-09-26T10:38:59Z
rcacho172
NONE
null
null
0
0
0
0
null
false
[ "dataset request" ]
https://github.com/huggingface/datasets/issues/2970
false
[]
1,007,217,867
2,969
medical-dialog error
closed
## Describe the bug A clear and concise description of what the bug is. When I attempt to download the huggingface datatset medical_dialog it errors out midway through ## Steps to reproduce the bug ```python raw_datasets = load_dataset("medical_dialog", "en", split="train", download_mode="force_redownload", data_d...
true
2021-09-25T23:08:44Z
2024-01-08T09:55:12Z
2021-10-11T07:46:42Z
smeyerhot
NONE
null
null
3
0
0
0
null
false
[ "bug" ]
https://github.com/huggingface/datasets/issues/2969
false
[ "Hi @smeyerhot, thanks for reporting.\r\n\r\nYou are right: there is an issue with the dataset metadata. I'm fixing it.\r\n\r\nIn the meantime, you can circumvent the issue by passing `ignore_verifications=True`:\r\n```python\r\nraw_datasets = load_dataset(\"medical_dialog\", \"en\", split=\"train\", download_mode=...
1,007,209,488
2,968
`DatasetDict` cannot be exported to parquet if the splits have different features
closed
## Describe the bug I'm trying to use parquet as a means of serialization for both `Dataset` and `DatasetDict` objects. Using `to_parquet` alongside `from_parquet` or `load_dataset` for a `Dataset` works perfectly. For `DatasetDict`, I use `to_parquet` on each split to save the parquet files in individual folder...
true
2021-09-25T22:18:39Z
2021-10-07T22:47:42Z
2021-10-07T22:47:26Z
LysandreJik
MEMBER
null
null
9
0
0
0
null
false
[ "bug" ]
https://github.com/huggingface/datasets/issues/2968
false
[ "This is because you have to specify which split corresponds to what file:\r\n```python\r\ndata_files = {\"train\": \"train/split.parquet\", \"validation\": \"validation/split.parquet\"}\r\nbrand_new_dataset_2 = load_dataset(\"ds\", data_files=data_files)\r\n```\r\n\r\nOtherwise it tries to concatenate the two spli...
1,007,194,837
2,967
Adding vision-and-language datasets (e.g., VQA, VCR) to Datasets
closed
**Is your feature request related to a problem? Please describe.** Would you like to add any vision-and-language datasets (e.g., VQA, VCR) to Huggingface Datasets? **Describe the solution you'd like** N/A **Describe alternatives you've considered** N/A **Additional context** This is Da Yin at UCLA. Recentl...
true
2021-09-25T20:58:15Z
2021-10-03T20:34:22Z
2021-10-03T20:34:22Z
WadeYin9712
NONE
null
null
0
0
0
0
null
false
[ "enhancement" ]
https://github.com/huggingface/datasets/issues/2967
false
[]
1,007,142,233
2,966
Upload greek-legal-code dataset
closed
true
2021-09-25T16:52:15Z
2021-10-13T13:37:30Z
2021-10-13T13:37:30Z
christospi
CONTRIBUTOR
https://github.com/huggingface/datasets/pull/2966
2021-10-13T13:37:30Z
1
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/2966
true
[ "@albertvillanova @lhoestq thank you very much for reviewing! :hugs: \r\n\r\nI 've pushed some updates/changes as requested." ]
1,007,084,153
2,965
Invalid download URL of WMT17 `zh-en` data
closed
## Describe the bug Partial data (wmt17 zh-en) cannot be downloaded due to an invalid URL. ## Steps to reproduce the bug ```python from datasets import load_dataset dataset = load_dataset('wmt17','zh-en') ``` ## Expected results ConnectionError: Couldn't reach ftp://cwmt-wmt:cwmt-wmt@datasets.nju.edu.cn/pa...
true
2021-09-25T13:17:32Z
2022-08-31T06:47:11Z
2022-08-31T06:47:10Z
Ririkoo
NONE
null
null
1
1
0
0
null
false
[ "bug", "dataset bug" ]
https://github.com/huggingface/datasets/issues/2965
false
[ "Fixed in the current release. Close this issue." ]
1,006,605,904
2,964
Error when calculating Matthews Correlation Coefficient loaded with `load_metric`
closed
## Describe the bug After loading the metric named "[Matthews Correlation Coefficient](https://huggingface.co/metrics/matthews_correlation)" from `🤗datasets`, the `.compute` method fails with the following exception `AttributeError: 'float' object has no attribute 'item'` (complete stack trace can be provided if re...
true
2021-09-24T15:55:21Z
2024-02-16T10:14:35Z
2021-09-25T08:06:07Z
alvarobartt
MEMBER
null
null
1
0
0
0
null
false
[ "bug" ]
https://github.com/huggingface/datasets/issues/2964
false
[ "After some more tests I've realized that this \"issue\" is due to the `numpy.float64` to `float` conversion, but when defining a function named `compute_metrics` as it follows:\r\n\r\n```python\r\ndef compute_metrics(eval_preds):\r\n metric = load_metric(\"matthews_correlation\")\r\n logits, labels = eval_pr...
1,006,588,605
2,963
raise TypeError( TypeError: Provided `function` which is applied to all elements of table returns a variable of type <class 'list'>. Make sure provided `function` returns a variable of type `dict` to update the dataset or `None` if you are only interested in side effects.
closed
## Describe the bug A clear and concise description of what the bug is. I am trying to use Dataset to load my file in order to use Bert embeddings model baut when I finished loading using dataset and I want to pass to the tokenizer using the function map; I get the following error : raise TypeError( TypeError: Provi...
true
2021-09-24T15:35:11Z
2021-09-24T15:38:24Z
2021-09-24T15:38:24Z
keloemma
NONE
null
null
0
0
0
0
null
false
[ "bug" ]
https://github.com/huggingface/datasets/issues/2963
false
[]
1,006,557,666
2,962
Enable splits during streaming the dataset
open
## Describe the Problem I'd like to stream only a specific percentage or part of the dataset. I want to do splitting when I'm streaming dataset as well. ## Solution Enabling splits when `streaming = True` as well. `e.g. dataset = load_dataset('dataset', split='train[:100]', streaming = True)` ## Alternativ...
true
2021-09-24T15:01:29Z
2021-09-24T15:01:29Z
null
merveenoyan
CONTRIBUTOR
null
null
0
0
0
0
null
false
[ "enhancement" ]
https://github.com/huggingface/datasets/issues/2962
false
[]
1,006,453,781
2,961
Fix CI doc build
closed
Pin `fsspec`. Before the issue: 'fsspec-2021.8.1', 's3fs-2021.8.1' Generating the issue: 'fsspec-2021.9.0', 's3fs-0.5.1'
true
2021-09-24T13:13:28Z
2021-09-24T13:18:07Z
2021-09-24T13:18:07Z
albertvillanova
MEMBER
https://github.com/huggingface/datasets/pull/2961
2021-09-24T13:18:07Z
0
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/2961
true
[]
1,006,222,850
2,960
Support pandas 1.3 new `read_csv` parameters
closed
Support two new arguments introduced in pandas v1.3.0: - `encoding_errors` - `on_bad_lines` `read_csv` reference: https://pandas.pydata.org/pandas-docs/stable/reference/api/pandas.read_csv.html
true
2021-09-24T08:37:24Z
2021-09-24T11:22:31Z
2021-09-24T11:22:30Z
SBrandeis
CONTRIBUTOR
https://github.com/huggingface/datasets/pull/2960
2021-09-24T11:22:30Z
0
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/2960
true
[]
1,005,547,632
2,959
Added computer vision tasks
closed
Added various image processing/computer vision tasks.
true
2021-09-23T15:07:27Z
2022-03-01T17:41:51Z
2022-03-01T17:41:51Z
merveenoyan
CONTRIBUTOR
https://github.com/huggingface/datasets/pull/2959
null
5
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/2959
true
[ "Looks great, thanks ! If the 3d ones are really rare we can remove them for now.\r\n\r\nAnd I can see that `object-detection` and `semantic-segmentation` are both task categories (top-level) and task ids (bottom-level). Maybe there's a way to group them and have less granularity for the task categories. For exampl...
1,005,144,601
2,958
Add security policy to the project
closed
Add security policy to the project, as recommended by GitHub: https://docs.github.com/en/code-security/getting-started/adding-a-security-policy-to-your-repository Close #2953.
true
2021-09-23T08:20:55Z
2021-10-21T15:16:44Z
2021-10-21T15:16:43Z
albertvillanova
MEMBER
https://github.com/huggingface/datasets/pull/2958
2021-10-21T15:16:43Z
0
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/2958
true
[]
1,004,868,337
2,957
MultiWOZ Dataset NonMatchingChecksumError
closed
## Describe the bug The checksums for the downloaded MultiWOZ dataset and source MultiWOZ dataset aren't matching. ## Steps to reproduce the bug Both of the below dataset versions yield the checksum error: ```python from datasets import load_dataset dataset = load_dataset('multi_woz_v22', 'v2.2') dataset = loa...
true
2021-09-22T23:45:00Z
2022-03-15T16:07:02Z
2022-03-15T16:07:02Z
bradyneal
NONE
null
null
1
0
0
0
null
false
[ "bug" ]
https://github.com/huggingface/datasets/issues/2957
false
[ "Hi Brady! I met the similar issue, it stuck in the downloading stage instead of download anything, maybe it is broken. After I change the downloading from URLs to one url of the [Multiwoz project](https://github.com/budzianowski/multiwoz/archive/44f0f8479f11721831c5591b839ad78827da197b.zip) and use dirs to get sep...
1,004,306,367
2,956
Cache problem in the `load_dataset` method for local compressed file(s)
open
## Describe the bug Cache problem in the `load_dataset` method: when modifying a compressed file in a local folder `load_dataset` doesn't detect the change and load the previous version. ## Steps to reproduce the bug To test it directly, I have prepared a [Google Colaboratory notebook](https://colab.research.g...
true
2021-09-22T13:34:32Z
2023-08-31T16:49:01Z
null
SaulLu
CONTRIBUTOR
null
null
1
1
1
0
null
false
[ "bug" ]
https://github.com/huggingface/datasets/issues/2956
false
[ "The problem is still present. \r\nOne solution would be to add the `download_mode=\"force_redownload\"` argument to load_dataset. \r\nHowever, doing so may lead to a `DatasetGenerationError: An error occurred while generating the dataset`. To mitigate, just do:\r\n`rm -r ~/.cache/huggingface/datasets/*`" ]
1,003,999,469
2,955
Update legacy Python image for CI tests in Linux
closed
Instead of legacy, use next-generation convenience images, built from the ground up with CI, efficiency, and determinism in mind. Here are some of the highlights: - Faster spin-up time - In Docker terminology, these next-gen images will generally have fewer and smaller layers. Using these new images will lead to fas...
true
2021-09-22T08:25:27Z
2021-09-24T10:36:05Z
2021-09-24T10:36:05Z
albertvillanova
MEMBER
https://github.com/huggingface/datasets/pull/2955
2021-09-24T10:36:05Z
1
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/2955
true
[ "There is an exception when running `pip install .[tests]`:\r\n```\r\nProcessing /home/circleci/datasets\r\nCollecting numpy>=1.17 (from datasets==1.12.2.dev0)\r\n Downloading https://files.pythonhosted.org/packages/45/b2/6c7545bb7a38754d63048c7696804a0d947328125d81bf12beaa692c3ae3/numpy-1.19.5-cp36-cp36m-manylinu...
1,003,904,803
2,954
Run tests in parallel
closed
Run CI tests in parallel to speed up the test suite. Speed up results: - Linux: from `7m 30s` to `5m 32s` - Windows: from `13m 52s` to `11m 10s`
true
2021-09-22T07:00:44Z
2021-09-28T06:55:51Z
2021-09-28T06:55:51Z
albertvillanova
MEMBER
https://github.com/huggingface/datasets/pull/2954
2021-09-28T06:55:51Z
2
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/2954
true
[ "There is a speed up in Windows machines:\r\n- From `13m 52s` to `11m 10s`\r\n\r\nIn Linux machines, some workers crash with error message:\r\n```\r\nOSError: [Errno 12] Cannot allocate memory\r\n```", "There is also a speed up in Linux machines:\r\n- From `7m 30s` to `5m 32s`" ]
1,002,766,517
2,953
Trying to get in touch regarding a security issue
closed
Hey there! I'd like to report a security issue but cannot find contact instructions on your repository. If not a hassle, might you kindly add a `SECURITY.md` file with an email, or another contact method? GitHub [recommends](https://docs.github.com/en/code-security/getting-started/adding-a-security-policy-to-your-rep...
true
2021-09-21T15:58:13Z
2021-10-21T15:16:43Z
2021-10-21T15:16:43Z
JamieSlome
NONE
null
null
1
0
0
0
null
false
[]
https://github.com/huggingface/datasets/issues/2953
false
[ "Hi @JamieSlome,\r\n\r\nThanks for reaching out. Yes, you are right: I'm opening a PR to add the `SECURITY.md` file and a contact method.\r\n\r\nIn the meantime, please feel free to report the security issue to: feedback@huggingface.co" ]
1,002,704,096
2,952
Fix missing conda deps
closed
`aiohttp` was added as a dependency in #2662 but was missing for the conda build, which causes the 1.12.0 and 1.12.1 to fail. Fix #2932.
true
2021-09-21T15:23:01Z
2021-09-22T04:39:59Z
2021-09-21T15:30:44Z
lhoestq
MEMBER
https://github.com/huggingface/datasets/pull/2952
2021-09-21T15:30:44Z
0
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/2952
true
[]
1,001,267,888
2,951
Dummy labels no longer on by default in `to_tf_dataset`
closed
After more experimentation, I think I have a way to do things that doesn't depend on adding `dummy_labels` - they were quite a hacky solution anyway!
true
2021-09-20T18:26:59Z
2021-09-21T14:00:57Z
2021-09-21T10:14:32Z
Rocketknight1
MEMBER
https://github.com/huggingface/datasets/pull/2951
2021-09-21T10:14:32Z
2
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/2951
true
[ "@lhoestq Let me make sure we never need it, and if not then I'll remove it entirely in a follow-up PR.", "Thanks ;) it will be less confusing and easier to maintain to not keep unused hacky features" ]
1,001,085,353
2,950
Fix fn kwargs in filter
closed
#2836 broke the `fn_kwargs` parameter of `filter`, as mentioned in https://github.com/huggingface/datasets/issues/2927 I fixed that and added a test to make sure it doesn't happen again (for either map or filter) Fix #2927
true
2021-09-20T15:10:26Z
2021-09-20T16:22:59Z
2021-09-20T15:28:01Z
lhoestq
MEMBER
https://github.com/huggingface/datasets/pull/2950
2021-09-20T15:28:01Z
0
1
1
0
false
false
[]
https://github.com/huggingface/datasets/pull/2950
true
[]
1,001,026,680
2,949
Introduce web and wiki config in triviaqa dataset
closed
The TriviaQA paper suggests that the two subsets (Wikipedia and Web) should be treated differently. There are also different leaderboards for the two sets on CodaLab. For that reason, introduce additional builder configs in the trivia_qa dataset.
true
2021-09-20T14:17:23Z
2021-10-05T13:20:52Z
2021-10-01T15:39:29Z
shirte
CONTRIBUTOR
https://github.com/huggingface/datasets/pull/2949
2021-10-01T15:39:29Z
3
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/2949
true
[ "I just made the dummy data smaller :)\r\nOnce github refreshes the change I think we can merge !", "Thank you so much for reviewing and accepting my pull request!! :)\r\n\r\nI created these rather large dummy data sets to cover all different cases for the row structure. E.g. in the web configuration, it's possib...
1,000,844,077
2,948
Fix minor URL format in scitldr dataset
closed
While investigating issue #2918, I found this minor format issues in the URLs (if runned in a Windows machine).
true
2021-09-20T11:11:32Z
2021-09-20T13:18:28Z
2021-09-20T13:18:28Z
albertvillanova
MEMBER
https://github.com/huggingface/datasets/pull/2948
2021-09-20T13:18:28Z
0
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/2948
true
[]
1,000,798,338
2,947
Don't use old, incompatible cache for the new `filter`
closed
#2836 changed `Dataset.filter` and the resulting data that are stored in the cache are different and incompatible with the ones of the previous `filter` implementation. However the caching mechanism wasn't able to differentiate between the old and the new implementation of filter (only the method name was taken into...
true
2021-09-20T10:18:59Z
2021-09-20T16:25:09Z
2021-09-20T13:43:02Z
lhoestq
MEMBER
https://github.com/huggingface/datasets/pull/2947
2021-09-20T13:43:01Z
0
1
0
1
false
false
[]
https://github.com/huggingface/datasets/pull/2947
true
[]
1,000,754,824
2,946
Update meteor score from nltk update
closed
It looks like there were issues in NLTK on the way the METEOR score was computed. A fix was added in NLTK at https://github.com/nltk/nltk/pull/2763, and therefore the scoring function no longer returns the same values. I updated the score of the example in the docs
true
2021-09-20T09:28:46Z
2021-09-20T09:35:59Z
2021-09-20T09:35:59Z
lhoestq
MEMBER
https://github.com/huggingface/datasets/pull/2946
2021-09-20T09:35:59Z
0
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/2946
true
[]
1,000,624,883
2,945
Protect master branch
closed
After accidental merge commit (91c55355b634d0dc73350a7ddee1a6776dbbdd69) into `datasets` master branch, all commits present in the feature branch were permanently added to `datasets` master branch history, as e.g.: - 00cc036fea7c7745cfe722360036ed306796a3f2 - 13ae8c98602bbad8197de3b9b425f4c78f582af1 - ... I propo...
true
2021-09-20T06:47:01Z
2021-09-20T12:01:27Z
2021-09-20T12:00:16Z
albertvillanova
MEMBER
null
null
2
1
1
0
null
false
[ "enhancement" ]
https://github.com/huggingface/datasets/issues/2945
false
[ "Cool, I think we can do both :)", "@lhoestq now the 2 are implemented.\r\n\r\nPlease note that for the the second protection, finally I have chosen to protect the master branch only from **merge commits** (see update comment above), so no need to disable/re-enable the protection on each release (direct commits, ...
1,000,544,370
2,944
Add `remove_columns` to `IterableDataset `
closed
**Is your feature request related to a problem? Please describe.** A clear and concise description of what the problem is. ```python from datasets import load_dataset dataset = load_dataset("c4", 'realnewslike', streaming =True, split='train') dataset = dataset.remove_columns('url') ``` ``` AttributeError: 'I...
true
2021-09-20T04:01:00Z
2021-10-08T15:31:53Z
2021-10-08T15:31:53Z
changjonathanc
CONTRIBUTOR
null
null
1
0
0
0
null
false
[ "enhancement", "good first issue" ]
https://github.com/huggingface/datasets/issues/2944
false
[ "Hi ! Good idea :)\r\nIf you are interested in contributing, feel free to give it a try and open a Pull Request. Also let me know if I can help you with this or if you have questions" ]
1,000,355,115
2,943
Backwards compatibility broken for cached datasets that use `.filter()`
closed
## Describe the bug After upgrading to datasets `1.12.0`, some cached `.filter()` steps from `1.11.0` started failing with `ValueError: Keys mismatch: between {'indices': Value(dtype='uint64', id=None)} and {'file': Value(dtype='string', id=None), 'text': Value(dtype='string', id=None), 'speaker_id': Value(dtype='in...
true
2021-09-19T16:16:37Z
2021-09-20T16:25:43Z
2021-09-20T16:25:42Z
anton-l
MEMBER
null
null
6
2
2
0
null
false
[ "bug" ]
https://github.com/huggingface/datasets/issues/2943
false
[ "Hi ! I guess the caching mechanism should have considered the new `filter` to be different from the old one, and don't use cached results from the old `filter`.\r\nTo avoid other users from having this issue we could make the caching differentiate the two, what do you think ?", "If it's easy enough to implement,...
1,000,309,765
2,942
Add SEDE dataset
closed
This PR adds the SEDE dataset for the task of realistic Text-to-SQL, following the instructions of how to add a database and a dataset card. Please see our paper for more details: https://arxiv.org/abs/2106.05006
true
2021-09-19T13:11:24Z
2021-09-24T10:39:55Z
2021-09-24T10:39:54Z
Hazoom
NONE
https://github.com/huggingface/datasets/pull/2942
2021-09-24T10:39:54Z
4
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/2942
true
[ "Thanks @albertvillanova for your great suggestions! I just pushed a new commit with the necessary fixes. For some reason, the test `test_metric_common` failed for `meteor` metric, which doesn't have any connection to this PR, so I'm trying to rebase and see if it helps.", "Hi @Hazoom,\r\n\r\nYou were right: the ...
1,000,000,711
2,941
OSCAR unshuffled_original_ko: NonMatchingSplitsSizesError
open
## Describe the bug Cannot download OSCAR `unshuffled_original_ko` due to `NonMatchingSplitsSizesError`. ## Steps to reproduce the bug ```python >>> dataset = datasets.load_dataset('oscar', 'unshuffled_original_ko') NonMatchingSplitsSizesError: [{'expected': SplitInfo(name='train', num_bytes=25292102197, num...
true
2021-09-18T10:39:13Z
2022-01-19T14:10:07Z
null
ayaka14732
NONE
null
null
1
0
0
0
null
false
[ "bug", "dataset bug" ]
https://github.com/huggingface/datasets/issues/2941
false
[ "I tried `unshuffled_original_da` and it is also not working" ]
999,680,796
2,940
add swedish_medical_ner dataset
closed
Adding the Swedish Medical NER dataset, listed in "Biomedical Datasets - BigScience Workshop 2021"
true
2021-09-17T20:03:05Z
2021-10-05T12:13:34Z
2021-10-05T12:13:33Z
bwang482
CONTRIBUTOR
https://github.com/huggingface/datasets/pull/2940
2021-10-05T12:13:33Z
0
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/2940
true
[]
999,639,630
2,939
MENYO-20k repo has moved, updating URL
closed
Dataset repo moved to https://github.com/uds-lsv/menyo-20k_MT, now editing URL to match. https://github.com/uds-lsv/menyo-20k_MT/blob/master/data/train.tsv is the file we're looking for
true
2021-09-17T19:01:54Z
2021-09-21T15:31:37Z
2021-09-21T15:31:36Z
cdleong
CONTRIBUTOR
https://github.com/huggingface/datasets/pull/2939
2021-09-21T15:31:36Z
0
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/2939
true
[]
999,552,263
2,938
Take namespace into account in caching
closed
Loading a dataset "username/dataset_name" hosted by a user on the hub used to cache the dataset only taking into account the dataset name, and ignorign the username. Because of this, if a user later loads "dataset_name" without specifying the username, it would reload the dataset from the cache instead of failing. I...
true
2021-09-17T16:57:33Z
2021-12-17T10:52:18Z
2021-09-29T13:01:31Z
lhoestq
MEMBER
https://github.com/huggingface/datasets/pull/2938
2021-09-29T13:01:31Z
7
2
0
2
false
false
[]
https://github.com/huggingface/datasets/pull/2938
true
[ "We might have collisions if a username and a dataset_name are the same. Maybe instead serialize the dataset name by replacing `/` with some string, eg `__SLASH__`, that will hopefully never appear in a dataset or user name (it's what I did in https://github.com/huggingface/datasets-preview-backend/blob/master/benc...
999,548,277
2,937
load_dataset using default cache on Windows causes PermissionError: [WinError 5] Access is denied
closed
## Describe the bug Standard process to download and load the wiki_bio dataset causes PermissionError in Windows 10 and 11. ## Steps to reproduce the bug ```python from datasets import load_dataset ds = load_dataset('wiki_bio') ``` ## Expected results It is expected that the dataset downloads without any er...
true
2021-09-17T16:52:10Z
2022-08-24T13:09:08Z
2022-08-24T13:09:08Z
daqieq
NONE
null
null
4
0
0
0
null
false
[ "bug" ]
https://github.com/huggingface/datasets/issues/2937
false
[ "Hi @daqieq, thanks for reporting.\r\n\r\nUnfortunately, I was not able to reproduce this bug:\r\n```ipython\r\nIn [1]: from datasets import load_dataset\r\n ...: ds = load_dataset('wiki_bio')\r\nDownloading: 7.58kB [00:00, 26.3kB/s]\r\nDownloading: 2.71kB [00:00, ?B/s]\r\nUsing custom data configuration default\...
999,521,647
2,936
Check that array is not Float as nan != nan
closed
The Exception wants to check for issues with StructArrays/ListArrays but catches FloatArrays with value nan as nan != nan. Pass on FloatArrays as we should not raise an Exception for them.
true
2021-09-17T16:16:41Z
2021-09-21T09:39:05Z
2021-09-21T09:39:04Z
Iwontbecreative
CONTRIBUTOR
https://github.com/huggingface/datasets/pull/2936
2021-09-21T09:39:04Z
0
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/2936
true
[]
999,518,469
2,935
Add Jigsaw unintended Bias
closed
Hi, Here's a first attempt at this dataset. Would be great if it could be merged relatively quickly as it is needed for Bigscience-related stuff. This requires manual download, and I had some trouble generating dummy_data in this setting, so welcoming feedback there.
true
2021-09-17T16:12:31Z
2021-09-24T10:41:52Z
2021-09-24T10:41:52Z
Iwontbecreative
CONTRIBUTOR
https://github.com/huggingface/datasets/pull/2935
2021-09-24T10:41:52Z
3
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/2935
true
[ "Note that the tests seem to fail because of a bug in an Exception at the moment, see: https://github.com/huggingface/datasets/pull/2936 for the fix", "@lhoestq implemented your changes, I think this might be ready for another look.", "Thanks @lhoestq, implemented the changes, let me know if anything else pops ...
999,477,413
2,934
to_tf_dataset keeps a reference to the open data somewhere, causing issues on windows
closed
To reproduce: ```python import datasets as ds import weakref import gc d = ds.load_dataset("mnist", split="train") ref = weakref.ref(d._data.table) tfd = d.to_tf_dataset("image", batch_size=1, shuffle=False, label_cols="label") del tfd, d gc.collect() assert ref() is None, "Error: there is at least one refe...
true
2021-09-17T15:26:53Z
2021-10-13T09:03:23Z
2021-10-13T09:03:23Z
lhoestq
MEMBER
null
null
2
0
0
0
null
false
[ "bug" ]
https://github.com/huggingface/datasets/issues/2934
false
[ "I did some investigation and, as it seems, the bug stems from [this line](https://github.com/huggingface/datasets/blob/8004d7c3e1d74b29c3e5b0d1660331cd26758363/src/datasets/arrow_dataset.py#L325). The lifecycle of the dataset from the linked line is bound to one of the returned `tf.data.Dataset`. So my (hacky) sol...
999,392,566
2,933
Replace script_version with revision
closed
As discussed in https://github.com/huggingface/datasets/pull/2718#discussion_r707013278, the parameter name `script_version` is no longer applicable to datasets without loading script (i.e., datasets only with raw data files). This PR replaces the parameter name `script_version` with `revision`. This way, we are ...
true
2021-09-17T14:04:39Z
2021-09-20T09:52:10Z
2021-09-20T09:52:10Z
albertvillanova
MEMBER
https://github.com/huggingface/datasets/pull/2933
2021-09-20T09:52:10Z
1
1
1
0
false
false
[]
https://github.com/huggingface/datasets/pull/2933
true
[ "I'm also fine with the removal in 1.15" ]
999,317,750
2,932
Conda build fails
closed
## Describe the bug Current `datasets` version in conda is 1.9 instead of 1.12. The build of the conda package fails.
true
2021-09-17T12:49:22Z
2021-09-21T15:31:10Z
2021-09-21T15:31:10Z
albertvillanova
MEMBER
null
null
2
0
0
0
null
false
[ "bug" ]
https://github.com/huggingface/datasets/issues/2932
false
[ "Why 1.9 ?\r\n\r\nhttps://anaconda.org/HuggingFace/datasets currently says 1.11", "Alright I added 1.12.0 and 1.12.1 and fixed the conda build #2952 " ]
998,326,359
2,931
Fix bug in to_tf_dataset
closed
Replace `set_format()` to `with_format()` so that we don't alter the original dataset in `to_tf_dataset()`
true
2021-09-16T15:08:03Z
2021-09-16T17:01:38Z
2021-09-16T17:01:37Z
Rocketknight1
MEMBER
https://github.com/huggingface/datasets/pull/2931
2021-09-16T17:01:37Z
1
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/2931
true
[ "I'm going to merge it, but yeah - hopefully the CI runner just cleans that up automatically and few other people run the tests on Windows anyway!" ]
998,154,311
2,930
Mutable columns argument breaks set_format
closed
## Describe the bug If you pass a mutable list to the `columns` argument of `set_format` and then change the list afterwards, the returned columns also change. ## Steps to reproduce the bug ```python from datasets import load_dataset dataset = load_dataset("glue", "cola") column_list = ["idx", "label"] datas...
true
2021-09-16T12:27:22Z
2021-09-16T13:50:53Z
2021-09-16T13:50:53Z
Rocketknight1
MEMBER
null
null
1
0
0
0
null
false
[ "bug" ]
https://github.com/huggingface/datasets/issues/2930
false
[ "Pushed a fix to my branch #2731 " ]
997,960,024
2,929
Add regression test for null Sequence
closed
Relates to #2892 and #2900.
true
2021-09-16T08:58:33Z
2021-09-17T08:23:59Z
2021-09-17T08:23:59Z
albertvillanova
MEMBER
https://github.com/huggingface/datasets/pull/2929
2021-09-17T08:23:59Z
0
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/2929
true
[]
997,941,506
2,928
Update BibTeX entry
closed
Update BibTeX entry.
true
2021-09-16T08:39:20Z
2021-09-16T12:35:34Z
2021-09-16T12:35:34Z
albertvillanova
MEMBER
https://github.com/huggingface/datasets/pull/2928
2021-09-16T12:35:34Z
0
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/2928
true
[]
997,654,680
2,927
Datasets 1.12 dataset.filter TypeError: get_indices_from_mask_function() got an unexpected keyword argument
closed
## Describe the bug Upgrading to 1.12 caused `dataset.filter` call to fail with > get_indices_from_mask_function() got an unexpected keyword argument valid_rel_labels ## Steps to reproduce the bug ```pythondef filter_good_rows( ex: Dict, valid_rel_labels: Set[str], valid_ner_labels: Set[st...
true
2021-09-16T01:14:02Z
2021-09-20T16:23:22Z
2021-09-20T16:23:21Z
timothyjlaurent
NONE
null
null
2
0
0
0
null
false
[ "bug" ]
https://github.com/huggingface/datasets/issues/2927
false
[ "Thanks for reporting, I'm looking into it :)", "Fixed by #2950." ]
997,463,277
2,926
Error when downloading datasets to non-traditional cache directories
open
## Describe the bug When the cache directory is linked (soft link) to a directory on a NetApp device, the download fails. ## Steps to reproduce the bug ```bash ln -s /path/to/netapp/.cache ~/.cache ``` ```python load_dataset("imdb") ``` ## Expected results Successfully loading IMDB dataset ## Actual...
true
2021-09-15T19:59:46Z
2021-11-24T21:42:31Z
null
dar-tau
NONE
null
null
1
0
0
0
null
false
[ "bug" ]
https://github.com/huggingface/datasets/issues/2926
false
[ "Same here !" ]
997,407,034
2,925
Add tutorial for no-code dataset upload
closed
This PR is for a tutorial for uploading a dataset to the Hub. It relies on the Hub UI elements to upload a dataset, introduces the online tagging tool for creating tags, and the Dataset card template to get a head start on filling it out. The addition of this tutorial should make it easier for beginners to upload a dat...
true
2021-09-15T18:54:42Z
2021-09-27T17:51:55Z
2021-09-27T17:51:55Z
stevhliu
MEMBER
https://github.com/huggingface/datasets/pull/2925
2021-09-27T17:51:55Z
3
1
0
1
false
false
[ "documentation" ]
https://github.com/huggingface/datasets/pull/2925
true
[ "Cool, love it ! :)\r\n\r\nFeel free to add a paragraph saying how to load the dataset:\r\n```python\r\nfrom datasets import load_dataset\r\n\r\ndataset = load_dataset(\"stevhliu/demo\")\r\n\r\n# or to separate each csv file into several splits\r\ndata_files = {\"train\": \"train.csv\", \"test\": \"test.csv\"}\r\nd...
997,378,113
2,924
"File name too long" error for file locks
closed
## Describe the bug Getting the following error when calling `load_dataset("gar1t/test")`: ``` OSError: [Errno 36] File name too long: '<user>/.cache/huggingface/datasets/_home_garrett_.cache_huggingface_datasets_csv_test-7c856aea083a7043_0.0.0_9144e0a4e8435090117cea53e6c7537173ef2304525df4a077c435d8ee7828ff.inc...
true
2021-09-15T18:16:50Z
2023-12-08T13:39:51Z
2021-10-29T09:42:24Z
gar1t
NONE
null
null
12
1
0
0
null
false
[ "bug" ]
https://github.com/huggingface/datasets/issues/2924
false
[ "Hi, the filename here is less than 255\r\n```python\r\n>>> len(\"_home_garrett_.cache_huggingface_datasets_csv_test-7c856aea083a7043_0.0.0_9144e0a4e8435090117cea53e6c7537173ef2304525df4a077c435d8ee7828ff.incomplete.lock\")\r\n154\r\n```\r\nso not sure why it's considered too long for your filesystem.\r\n(also note...
997,351,590
2,923
Loading an autonlp dataset raises in normal mode but not in streaming mode
closed
## Describe the bug The same dataset (from autonlp) raises an error in normal mode, but does not raise in streaming mode ## Steps to reproduce the bug ```python from datasets import load_dataset load_dataset("severo/autonlp-data-sentiment_detection-3c8bcd36", split="train", streaming=False) ## raises an err...
true
2021-09-15T17:44:38Z
2022-04-12T10:09:40Z
2022-04-12T10:09:39Z
severo
COLLABORATOR
null
null
1
0
0
0
null
false
[ "bug", "dataset-viewer" ]
https://github.com/huggingface/datasets/issues/2923
false
[ "Closing since autonlp dataset are now supported" ]
997,332,662
2,922
Fix conversion of multidim arrays in list to arrow
closed
Arrow only supports 1-dim arrays. Previously we were converting all the numpy arrays to python list before instantiating arrow arrays to workaround this limitation. However in #2361 we started to keep numpy arrays in order to keep their dtypes. It works when we pass any multi-dim numpy array (the conversion to arrow ...
true
2021-09-15T17:21:36Z
2021-09-15T17:22:52Z
2021-09-15T17:21:45Z
lhoestq
MEMBER
https://github.com/huggingface/datasets/pull/2922
2021-09-15T17:21:45Z
0
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/2922
true
[]
997,325,424
2,921
Using a list of multi-dim numpy arrays raises an error "can only convert 1-dimensional array values"
closed
This error has been introduced in https://github.com/huggingface/datasets/pull/2361 To reproduce: ```python import numpy as np from datasets import Dataset d = Dataset.from_dict({"a": [np.zeros((2, 2))]}) ``` raises ```python Traceback (most recent call last): File "playground/ttest.py", line 5, in <mod...
true
2021-09-15T17:12:11Z
2021-09-15T17:21:45Z
2021-09-15T17:21:45Z
lhoestq
MEMBER
null
null
0
0
0
0
null
false
[]
https://github.com/huggingface/datasets/issues/2921
false
[]