url
stringlengths
58
61
number
int64
1
8.23k
title
stringlengths
1
290
body
stringlengths
0
228k
state
stringclasses
2 values
created_at
timestamp[s]date
2020-04-14 10:18:02
2026-05-30 09:38:59
comments_url
stringlengths
67
70
pull_request
dict
is_pull_request
bool
2 classes
text
stringlengths
2
228k
comments
listlengths
0
30
https://api.github.com/repos/huggingface/datasets/issues/4899
4,899
Re-add code and und language tags
This PR fixes the removal of 2 language tags done by: - #4882 The tags are: - "code": this is not a IANA tag but needed - "und": this is one of the special scoped tags removed by 0d53202b9abce6fd0358cb00d06fcfd904b875af - used in "mc4" and "udhr" datasets
closed
2022-08-26T09:48:57
https://api.github.com/repos/huggingface/datasets/issues/4899/comments
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/4899", "html_url": "https://github.com/huggingface/datasets/pull/4899", "diff_url": "https://github.com/huggingface/datasets/pull/4899.diff", "patch_url": "https://github.com/huggingface/datasets/pull/4899.patch", "merged_at": "2022-08-26T10:24...
true
Re-add code and und language tags This PR fixes the removal of 2 language tags done by: - #4882 The tags are: - "code": this is not a IANA tag but needed - "und": this is one of the special scoped tags removed by 0d53202b9abce6fd0358cb00d06fcfd904b875af - used in "mc4" and "udhr" datasets
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
https://api.github.com/repos/huggingface/datasets/issues/4898
4,898
Dataset Viewer issue for timit_asr
### Link _No response_ ### Description _No response_ ### Owner _No response_
closed
2022-08-26T07:12:05
https://api.github.com/repos/huggingface/datasets/issues/4898/comments
null
false
Dataset Viewer issue for timit_asr ### Link _No response_ ### Description _No response_ ### Owner _No response_
[ "Yes, the dataset viewer is based on `datasets`, and the following does not work:\r\n\r\n```\r\n>>> from datasets import get_dataset_split_names\r\n>>> get_dataset_split_names('timit_asr')\r\nDownloading builder script: 7.48kB [00:00, 6.69MB/s]\r\nTraceback (most recent call last):\r\n File \"/home/slesage/hf/data...
https://api.github.com/repos/huggingface/datasets/issues/4897
4,897
datasets generate large arrow file
Checking the large file in disk, and found the large cache file in the cifar10 data directory: ![image](https://user-images.githubusercontent.com/18533904/186830449-ba96cdeb-0fe8-4543-994d-2abe7145933f.png) As we know, the size of cifar10 dataset is ~130MB, but the cache file has almost 30GB size, there may be so...
closed
2022-08-26T05:51:16
https://api.github.com/repos/huggingface/datasets/issues/4897/comments
null
false
datasets generate large arrow file Checking the large file in disk, and found the large cache file in the cifar10 data directory: ![image](https://user-images.githubusercontent.com/18533904/186830449-ba96cdeb-0fe8-4543-994d-2abe7145933f.png) As we know, the size of cifar10 dataset is ~130MB, but the cache file ha...
[ "Hi ! The cache files are the results of all the transforms you applied to the dataset using `map` for example.\r\nDid you run a transform that could potentially blow up the size of the dataset ?", "@lhoestq,\r\nI don't remember, but I can't imagine what kind of transform may generate data that grow over 200 time...
https://api.github.com/repos/huggingface/datasets/issues/4896
4,896
Fix missing tags in dataset cards
Fix missing tags in dataset cards: - anli - coarse_discourse - commonsense_qa - cos_e - ilist - lc_quad - web_questions - xsum This PR partially fixes the missing tags in dataset cards. Subsequent PRs will follow to complete this task. Related to: - #4833 - #4891
closed
2022-08-25T16:41:43
https://api.github.com/repos/huggingface/datasets/issues/4896/comments
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/4896", "html_url": "https://github.com/huggingface/datasets/pull/4896", "diff_url": "https://github.com/huggingface/datasets/pull/4896.diff", "patch_url": "https://github.com/huggingface/datasets/pull/4896.patch", "merged_at": "2022-08-26T04:41...
true
Fix missing tags in dataset cards Fix missing tags in dataset cards: - anli - coarse_discourse - commonsense_qa - cos_e - ilist - lc_quad - web_questions - xsum This PR partially fixes the missing tags in dataset cards. Subsequent PRs will follow to complete this task. Related to: - #4833 - #4891
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
https://api.github.com/repos/huggingface/datasets/issues/4895
4,895
load_dataset method returns Unknown split "validation" even if this dir exists
## Describe the bug The `datasets.load_dataset` returns a `ValueError: Unknown split "validation". Should be one of ['train', 'test'].` when running `load_dataset(local_data_dir_path, split="validation")` even if the `validation` sub-directory exists in the local data path. The data directories are as follows and a...
closed
2022-08-25T12:11:00
https://api.github.com/repos/huggingface/datasets/issues/4895/comments
null
false
load_dataset method returns Unknown split "validation" even if this dir exists ## Describe the bug The `datasets.load_dataset` returns a `ValueError: Unknown split "validation". Should be one of ['train', 'test'].` when running `load_dataset(local_data_dir_path, split="validation")` even if the `validation` sub-direct...
[ "I don't know the main problem but it looks like, it is ignoring the last directory in your case. So, create a directory called 'zzz' in the same folder as train, validation and test. if it doesn't work, create a directory called \"aaa\". It worked for me.\r\n", "@SamSamhuns could you please try to load it with t...
https://api.github.com/repos/huggingface/datasets/issues/4894
4,894
Add citation information to makhzan dataset
This PR adds the citation information to `makhzan` dataset, once they have replied to our request for that information: - https://github.com/zeerakahmed/makhzan/issues/43
closed
2022-08-25T10:16:40
https://api.github.com/repos/huggingface/datasets/issues/4894/comments
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/4894", "html_url": "https://github.com/huggingface/datasets/pull/4894", "diff_url": "https://github.com/huggingface/datasets/pull/4894.diff", "patch_url": "https://github.com/huggingface/datasets/pull/4894.patch", "merged_at": "2022-08-25T13:19...
true
Add citation information to makhzan dataset This PR adds the citation information to `makhzan` dataset, once they have replied to our request for that information: - https://github.com/zeerakahmed/makhzan/issues/43
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
https://api.github.com/repos/huggingface/datasets/issues/4893
4,893
Oversampling strategy for iterable datasets in `interleave_datasets`
In https://github.com/huggingface/datasets/pull/4831 @ylacombe added an oversampling strategy for `interleave_datasets`. However right now it doesn't work for datasets loaded using `load_dataset(..., streaming=True)`, which are `IterableDataset` objects. It would be nice to expand `interleave_datasets` for iterable ...
closed
2022-08-25T10:06:55
https://api.github.com/repos/huggingface/datasets/issues/4893/comments
null
false
Oversampling strategy for iterable datasets in `interleave_datasets` In https://github.com/huggingface/datasets/pull/4831 @ylacombe added an oversampling strategy for `interleave_datasets`. However right now it doesn't work for datasets loaded using `load_dataset(..., streaming=True)`, which are `IterableDataset` objec...
[ "Hi @lhoestq,\r\nI plunged into the code and it should be manageable for me to work on it!\r\n#take\r\n\r\nAlso, setting `d1`, `d2` and `d3` as you did raised a `SyntaxError: 'yield' inside list comprehension` for me, on Python 3.8.10.\r\nThe following snippet works for me though:\r\n```\r\nd1 = IterableDataset(Exa...
https://api.github.com/repos/huggingface/datasets/issues/4892
4,892
Add citation to ro_sts and ro_sts_parallel datasets
This PR adds the citation information to `ro_sts_parallel` and `ro_sts_parallel` datasets, once they have replied our request for that information: - https://github.com/dumitrescustefan/RO-STS/issues/4
closed
2022-08-25T09:51:06
https://api.github.com/repos/huggingface/datasets/issues/4892/comments
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/4892", "html_url": "https://github.com/huggingface/datasets/pull/4892", "diff_url": "https://github.com/huggingface/datasets/pull/4892.diff", "patch_url": "https://github.com/huggingface/datasets/pull/4892.patch", "merged_at": "2022-08-25T10:49...
true
Add citation to ro_sts and ro_sts_parallel datasets This PR adds the citation information to `ro_sts_parallel` and `ro_sts_parallel` datasets, once they have replied our request for that information: - https://github.com/dumitrescustefan/RO-STS/issues/4
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_4892). All of your documentation changes will be reflected on that endpoint." ]
https://api.github.com/repos/huggingface/datasets/issues/4891
4,891
Fix missing tags in dataset cards
Fix missing tags in dataset cards: - aslg_pc12 - librispeech_lm - mwsc - opus100 - qasc - quail - squadshifts - winograd_wsc This PR partially fixes the missing tags in dataset cards. Subsequent PRs will follow to complete this task. Related to: - #4833
closed
2022-08-25T09:14:17
https://api.github.com/repos/huggingface/datasets/issues/4891/comments
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/4891", "html_url": "https://github.com/huggingface/datasets/pull/4891", "diff_url": "https://github.com/huggingface/datasets/pull/4891.diff", "patch_url": "https://github.com/huggingface/datasets/pull/4891.patch", "merged_at": "2022-08-25T13:43...
true
Fix missing tags in dataset cards Fix missing tags in dataset cards: - aslg_pc12 - librispeech_lm - mwsc - opus100 - qasc - quail - squadshifts - winograd_wsc This PR partially fixes the missing tags in dataset cards. Subsequent PRs will follow to complete this task. Related to: - #4833
[]
https://api.github.com/repos/huggingface/datasets/issues/4890
4,890
add Dataset.from_list
As discussed in #4885 I initially added this bit at the end, thinking filling this field was necessary as it is done in from_dict. However, it seems the constructor takes care of filling info when it is empty. ``` if info.features is None: info.features = Features( { col: generate_from_arro...
closed
2022-08-25T09:05:58
https://api.github.com/repos/huggingface/datasets/issues/4890/comments
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/4890", "html_url": "https://github.com/huggingface/datasets/pull/4890", "diff_url": "https://github.com/huggingface/datasets/pull/4890.diff", "patch_url": "https://github.com/huggingface/datasets/pull/4890.patch", "merged_at": "2022-09-02T10:20...
true
add Dataset.from_list As discussed in #4885 I initially added this bit at the end, thinking filling this field was necessary as it is done in from_dict. However, it seems the constructor takes care of filling info when it is empty. ``` if info.features is None: info.features = Features( { c...
[ "_The documentation is not available anymore as the PR was closed or merged._", "@albertvillanova it seems tests fail on pyarrow 6, perhaps from_pylist is a v7 method? How do you usually handle these version differences?\r\nAdded something that at least works" ]
https://api.github.com/repos/huggingface/datasets/issues/4889
4,889
torchaudio 11.0 yields different results than torchaudio 12.1 when loading MP3
## Describe the bug When loading Common Voice with torchaudio 0.11.0 the results are different to 0.12.1 which leads to problems in transformers see: https://github.com/huggingface/transformers/pull/18749 ## Steps to reproduce the bug If you run the following code once with `torchaudio==0.11.0+cu102` and `torc...
closed
2022-08-24T16:54:43
https://api.github.com/repos/huggingface/datasets/issues/4889/comments
null
false
torchaudio 11.0 yields different results than torchaudio 12.1 when loading MP3 ## Describe the bug When loading Common Voice with torchaudio 0.11.0 the results are different to 0.12.1 which leads to problems in transformers see: https://github.com/huggingface/transformers/pull/18749 ## Steps to reproduce the bug ...
[ "Maybe we can just pass this along to torchaudio @lhoestq @albertvillanova ? It be great if you could investigate if the errors lies in datasets or in torchaudio.", "torchaudio did a change in [0.12](https://github.com/pytorch/audio/releases/tag/v0.12.0) on MP3 decoding (which affects common voice):\r\n> MP3 deco...
https://api.github.com/repos/huggingface/datasets/issues/4888
4,888
Dataset Viewer issue for subjqa
### Link https://huggingface.co/datasets/subjqa ### Description Getting the following error for this dataset: ``` Status code: 500 Exception: Status500Error Message: 2 or more items returned, instead of 1 ``` Not sure what's causing it though 🤔 ### Owner Yes
closed
2022-08-24T13:26:20
https://api.github.com/repos/huggingface/datasets/issues/4888/comments
null
false
Dataset Viewer issue for subjqa ### Link https://huggingface.co/datasets/subjqa ### Description Getting the following error for this dataset: ``` Status code: 500 Exception: Status500Error Message: 2 or more items returned, instead of 1 ``` Not sure what's causing it though 🤔 ### Owner Yes
[ "It's a bug in the viewer, thanks for reporting it. We're hoping to update to a new version in the next few days which should fix it.", "Fixed \r\n\r\nhttps://huggingface.co/datasets/subjqa\r\n\r\n<img width=\"1040\" alt=\"Capture d’écran 2022-09-08 à 10 23 26\" src=\"https://user-images.githubusercontent.com/1...
https://api.github.com/repos/huggingface/datasets/issues/4887
4,887
Add "cc-by-nc-sa-2.0" to list of licenses
Datasets side of https://github.com/huggingface/hub-docs/pull/285
closed
2022-08-24T13:11:49
https://api.github.com/repos/huggingface/datasets/issues/4887/comments
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/4887", "html_url": "https://github.com/huggingface/datasets/pull/4887", "diff_url": "https://github.com/huggingface/datasets/pull/4887.diff", "patch_url": "https://github.com/huggingface/datasets/pull/4887.patch", "merged_at": "2022-08-26T10:29...
true
Add "cc-by-nc-sa-2.0" to list of licenses Datasets side of https://github.com/huggingface/hub-docs/pull/285
[ "_The documentation is not available anymore as the PR was closed or merged._", "Sorry for the issue @albertvillanova! I think it's now fixed! :heart: " ]
https://api.github.com/repos/huggingface/datasets/issues/4886
4,886
Loading huggan/CelebA-HQ throws pyarrow.lib.ArrowInvalid
## Describe the bug Loading huggan/CelebA-HQ throws pyarrow.lib.ArrowInvalid ## Steps to reproduce the bug ```python from datasets import load_dataset dataset = load_dataset('huggan/CelebA-HQ') ``` ## Expected results See https://colab.research.google.com/drive/141LJCcM2XyqprPY83nIQ-Zk3BbxWeahq?usp=sharing#...
open
2022-08-24T11:24:21
https://api.github.com/repos/huggingface/datasets/issues/4886/comments
null
false
Loading huggan/CelebA-HQ throws pyarrow.lib.ArrowInvalid ## Describe the bug Loading huggan/CelebA-HQ throws pyarrow.lib.ArrowInvalid ## Steps to reproduce the bug ```python from datasets import load_dataset dataset = load_dataset('huggan/CelebA-HQ') ``` ## Expected results See https://colab.research.google...
[ "Hi! IIRC one of the files in this dataset is corrupted due to https://github.com/huggingface/datasets/pull/4081 (fixed now).\r\n\r\n@NielsRogge Could you please re-generate and re-push this dataset (or I can do it if you share the generation script)?", "Could you put something in place to catch these problems? ...
https://api.github.com/repos/huggingface/datasets/issues/4885
4,885
Create dataset from list of dicts
I often find myself with data from a variety of sources, and a list of dicts is very common among these. However, converting this to a Dataset is a little awkward, requiring either ```Dataset.from_pandas(pd.DataFrame(formatted_training_data))``` Which can error out on some more exotic values as 2-d arrays for reas...
closed
2022-08-24T10:01:24
https://api.github.com/repos/huggingface/datasets/issues/4885/comments
null
false
Create dataset from list of dicts I often find myself with data from a variety of sources, and a list of dicts is very common among these. However, converting this to a Dataset is a little awkward, requiring either ```Dataset.from_pandas(pd.DataFrame(formatted_training_data))``` Which can error out on some more ex...
[ "Hi @sanderland, thanks for your enhancement proposal.\r\n\r\nI agree with you that this would be useful.\r\n\r\nPlease note that under the hood, we use PyArrow tables as backend:\r\n- The implementation of `Dataset.from_dict` uses the PyArrow `Table.from_pydict`\r\n\r\nTherefore, I would suggest:\r\n- Implementin...
https://api.github.com/repos/huggingface/datasets/issues/4884
4,884
Fix documentation card of math_qa dataset
Fix documentation card of math_qa dataset.
closed
2022-08-24T09:00:56
https://api.github.com/repos/huggingface/datasets/issues/4884/comments
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/4884", "html_url": "https://github.com/huggingface/datasets/pull/4884", "diff_url": "https://github.com/huggingface/datasets/pull/4884.diff", "patch_url": "https://github.com/huggingface/datasets/pull/4884.patch", "merged_at": "2022-08-24T11:33...
true
Fix documentation card of math_qa dataset Fix documentation card of math_qa dataset.
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_4884). All of your documentation changes will be reflected on that endpoint." ]
https://api.github.com/repos/huggingface/datasets/issues/4883
4,883
With dataloader RSS memory consumed by HF datasets monotonically increases
## Describe the bug When the HF datasets is used in conjunction with PyTorch Dataloader, the RSS memory of the process keeps on increasing when it should stay constant. ## Steps to reproduce the bug Run and observe the output of this snippet which logs RSS memory. ```python import psutil import os from transf...
open
2022-08-24T08:42:54
https://api.github.com/repos/huggingface/datasets/issues/4883/comments
null
false
With dataloader RSS memory consumed by HF datasets monotonically increases ## Describe the bug When the HF datasets is used in conjunction with PyTorch Dataloader, the RSS memory of the process keeps on increasing when it should stay constant. ## Steps to reproduce the bug Run and observe the output of this snipp...
[ "Are you sure there is a leak? How can I see it? You shared the script but not the output which you believe should indicate a leak.\r\n\r\nI modified your reproduction script to print only once per try as your original was printing too much info and you absolutely must add `gc.collect()` when doing any memory measu...
https://api.github.com/repos/huggingface/datasets/issues/4882
4,882
Fix language tags resource file
This PR fixes/updates/adds ALL language tags from IANA (as of 2022-08-08). This PR also removes all BCP47 suffixes (the languages file only contains language subtags, i.e. ISO 639 1 or 2 codes; no script/region/variant suffixes). See: - #4753
closed
2022-08-24T06:06:01
https://api.github.com/repos/huggingface/datasets/issues/4882/comments
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/4882", "html_url": "https://github.com/huggingface/datasets/pull/4882", "diff_url": "https://github.com/huggingface/datasets/pull/4882.diff", "patch_url": "https://github.com/huggingface/datasets/pull/4882.patch", "merged_at": "2022-08-24T13:58...
true
Fix language tags resource file This PR fixes/updates/adds ALL language tags from IANA (as of 2022-08-08). This PR also removes all BCP47 suffixes (the languages file only contains language subtags, i.e. ISO 639 1 or 2 codes; no script/region/variant suffixes). See: - #4753
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_4882). All of your documentation changes will be reflected on that endpoint." ]
https://api.github.com/repos/huggingface/datasets/issues/4881
4,881
Language names and language codes: connecting to a big database (rather than slow enrichment of custom list)
**The problem:** Language diversity is an important dimension of the diversity of datasets. To find one's way around datasets, being able to search by language name and by standardized codes appears crucial. Currently the list of language codes is [here](https://github.com/huggingface/datasets/blob/main/src/datase...
open
2022-08-23T20:14:24
https://api.github.com/repos/huggingface/datasets/issues/4881/comments
null
false
Language names and language codes: connecting to a big database (rather than slow enrichment of custom list) **The problem:** Language diversity is an important dimension of the diversity of datasets. To find one's way around datasets, being able to search by language name and by standardized codes appears crucial. ...
[ "Thanks for opening this discussion, @alexis-michaud.\r\n\r\nAs the language validation procedure is shared with other Hugging Face projects, I'm tagging them as well.\r\n\r\nCC: @huggingface/moon-landing ", "on the Hub side, there is not fine grained validation we just check that `language:` contains an array of...
https://api.github.com/repos/huggingface/datasets/issues/4880
4,880
Added names of less-studied languages
Added names of less-studied languages (nru – Narua and jya – Japhug) for existing datasets.
closed
2022-08-23T19:32:38
https://api.github.com/repos/huggingface/datasets/issues/4880/comments
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/4880", "html_url": "https://github.com/huggingface/datasets/pull/4880", "diff_url": "https://github.com/huggingface/datasets/pull/4880.diff", "patch_url": "https://github.com/huggingface/datasets/pull/4880.patch", "merged_at": "2022-08-24T12:52...
true
Added names of less-studied languages Added names of less-studied languages (nru – Narua and jya – Japhug) for existing datasets.
[ "OK, I removed Glottolog codes and only added ISO 639-3 ones. The former are for the moment in corpus card description, language details, and in subcorpora names.", "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_4880). All of your documentation changes will be reflected on ...
https://api.github.com/repos/huggingface/datasets/issues/4879
4,879
Fix Citation Information section in dataset cards
Fix Citation Information section in dataset cards: - cc_news - conllpp - datacommons_factcheck - gnad10 - id_panl_bppt - jigsaw_toxicity_pred - kinnews_kirnews - kor_sarcasm - makhzan - reasoning_bg - ro_sts - ro_sts_parallel - sanskrit_classic - telugu_news - thaiqa_squad - wiki_movies This PR parti...
closed
2022-08-23T18:06:43
https://api.github.com/repos/huggingface/datasets/issues/4879/comments
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/4879", "html_url": "https://github.com/huggingface/datasets/pull/4879", "diff_url": "https://github.com/huggingface/datasets/pull/4879.diff", "patch_url": "https://github.com/huggingface/datasets/pull/4879.patch", "merged_at": "2022-08-24T04:09...
true
Fix Citation Information section in dataset cards Fix Citation Information section in dataset cards: - cc_news - conllpp - datacommons_factcheck - gnad10 - id_panl_bppt - jigsaw_toxicity_pred - kinnews_kirnews - kor_sarcasm - makhzan - reasoning_bg - ro_sts - ro_sts_parallel - sanskrit_classic - telugu_ne...
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_4879). All of your documentation changes will be reflected on that endpoint." ]
https://api.github.com/repos/huggingface/datasets/issues/4878
4,878
[not really a bug] `identical_ok` is deprecated in huggingface-hub's `upload_file`
In the huggingface-hub dependency, the `identical_ok` argument has no effect in `upload_file` (and it will be removed soon) See https://github.com/huggingface/huggingface_hub/blob/43499582b19df1ed081a5b2bd7a364e9cacdc91d/src/huggingface_hub/hf_api.py#L2164-L2169 It's used here: https://github.com/huggingfac...
closed
2022-08-23T17:09:55
https://api.github.com/repos/huggingface/datasets/issues/4878/comments
null
false
[not really a bug] `identical_ok` is deprecated in huggingface-hub's `upload_file` In the huggingface-hub dependency, the `identical_ok` argument has no effect in `upload_file` (and it will be removed soon) See https://github.com/huggingface/huggingface_hub/blob/43499582b19df1ed081a5b2bd7a364e9cacdc91d/src/huggin...
[ "Resolved via https://github.com/huggingface/datasets/pull/4937." ]
https://api.github.com/repos/huggingface/datasets/issues/4877
4,877
Fix documentation card of covid_qa_castorini dataset
Fix documentation card of covid_qa_castorini dataset.
closed
2022-08-23T16:52:33
https://api.github.com/repos/huggingface/datasets/issues/4877/comments
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/4877", "html_url": "https://github.com/huggingface/datasets/pull/4877", "diff_url": "https://github.com/huggingface/datasets/pull/4877.diff", "patch_url": "https://github.com/huggingface/datasets/pull/4877.patch", "merged_at": "2022-08-23T18:05...
true
Fix documentation card of covid_qa_castorini dataset Fix documentation card of covid_qa_castorini dataset.
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_4877). All of your documentation changes will be reflected on that endpoint." ]
https://api.github.com/repos/huggingface/datasets/issues/4876
4,876
Move DatasetInfo from `datasets_infos.json` to the YAML tags in `README.md`
Currently there are two places to find metadata for datasets: - datasets_infos.json, which contains **per dataset config** - description - citation - license - splits and sizes - checksums of the data files - feature types - and more - YAML tags, which contain - license - language - trai...
closed
2022-08-23T16:16:41
https://api.github.com/repos/huggingface/datasets/issues/4876/comments
null
false
Move DatasetInfo from `datasets_infos.json` to the YAML tags in `README.md` Currently there are two places to find metadata for datasets: - datasets_infos.json, which contains **per dataset config** - description - citation - license - splits and sizes - checksums of the data files - feature types ...
[ "also @osanseviero @Pierrci @SBrandeis potentially", "Love this in principle 🚀 \r\n\r\nLet's keep in mind users might rely on `dataset_infos.json` already.\r\n\r\nI'm not convinced by the two-syntax solution, wouldn't it be simpler to have only one syntax with a `default` config for datasets with only one config...
https://api.github.com/repos/huggingface/datasets/issues/4875
4,875
`_resolve_features` ignores the token
## Describe the bug When calling [`_resolve_features()`](https://github.com/huggingface/datasets/blob/54b532a8a2f5353fdb0207578162153f7b2da2ec/src/datasets/iterable_dataset.py#L1255) on a gated dataset, ie. a dataset which requires a token to be loaded, the token seems to be ignored even if it has been provided to `...
open
2022-08-23T14:57:36
https://api.github.com/repos/huggingface/datasets/issues/4875/comments
null
false
`_resolve_features` ignores the token ## Describe the bug When calling [`_resolve_features()`](https://github.com/huggingface/datasets/blob/54b532a8a2f5353fdb0207578162153f7b2da2ec/src/datasets/iterable_dataset.py#L1255) on a gated dataset, ie. a dataset which requires a token to be loaded, the token seems to be ign...
[ "Hi ! Your HF_ENDPOINT seems wrong because of the extra \"/\"\r\n```diff\r\n- os.environ[\"HF_ENDPOINT\"] = \"https://hub-ci.huggingface.co/\"\r\n+ os.environ[\"HF_ENDPOINT\"] = \"https://hub-ci.huggingface.co\"\r\n```\r\n\r\ncan you try again without the extra \"/\" ?", "Oh, yes, sorry, but it's not the issue.\r...
https://api.github.com/repos/huggingface/datasets/issues/4874
4,874
[docs] Some tiny doc tweaks
null
closed
2022-08-23T09:19:40
https://api.github.com/repos/huggingface/datasets/issues/4874/comments
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/4874", "html_url": "https://github.com/huggingface/datasets/pull/4874", "diff_url": "https://github.com/huggingface/datasets/pull/4874.diff", "patch_url": "https://github.com/huggingface/datasets/pull/4874.patch", "merged_at": "2022-08-24T17:27...
true
[docs] Some tiny doc tweaks
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_4874). All of your documentation changes will be reflected on that endpoint." ]
https://api.github.com/repos/huggingface/datasets/issues/4873
4,873
Multiple dataloader memory error
For the use of multiple datasets and tasks, we use around more than 200+ dataloaders, then pass it into `dataloader1, dataloader2, ..., dataloader200=accelerate.prepare(dataloader1, dataloader2, ..., dataloader200)` It causes the memory error when generating batches. Any solutions to it? ```bash File "/home/xxx/...
open
2022-08-23T08:59:50
https://api.github.com/repos/huggingface/datasets/issues/4873/comments
null
false
Multiple dataloader memory error For the use of multiple datasets and tasks, we use around more than 200+ dataloaders, then pass it into `dataloader1, dataloader2, ..., dataloader200=accelerate.prepare(dataloader1, dataloader2, ..., dataloader200)` It causes the memory error when generating batches. Any solutions to i...
[ "Hi!\r\n\r\n200+ data loaders is a lot. Have you tried to reduce the number of datasets by concatenating/interleaving the ones with the same structure/task (the API is `{concatenate_datasets/interleave_datasets}([dset1, ..., dset_N])`)?", "Hi @mariosasko, thank you for your reply. I tried pre-concatenating differ...
https://api.github.com/repos/huggingface/datasets/issues/4872
4,872
Docs for creating an audio dataset
This PR is a first draft of how to create audio datasets (`AudioFolder` and loading script). Feel free to let me know if there are any specificities I'm missing for this. 🙂
closed
2022-08-23T01:07:09
https://api.github.com/repos/huggingface/datasets/issues/4872/comments
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/4872", "html_url": "https://github.com/huggingface/datasets/pull/4872", "diff_url": "https://github.com/huggingface/datasets/pull/4872.diff", "patch_url": "https://github.com/huggingface/datasets/pull/4872.patch", "merged_at": "2022-09-21T10:27...
true
Docs for creating an audio dataset This PR is a first draft of how to create audio datasets (`AudioFolder` and loading script). Feel free to let me know if there are any specificities I'm missing for this. 🙂
[ "_The documentation is not available anymore as the PR was closed or merged._", "Awesome thanks ! I think we can also encourage TAR archives as for image dataset scripts (feel free to copy paste some parts from there lol)", "Thanks for all the great feedback @polinaeterna and @lhoestq! 🥰\r\n\r\nI added all the...
https://api.github.com/repos/huggingface/datasets/issues/4871
4,871
Fix: wmt datasets - fix CWMT zh subsets
Fix https://github.com/huggingface/datasets/issues/4575 TODO: run `datasets-cli test`: - [x] wmt17 - [x] wmt18 - [x] wmt19
closed
2022-08-22T16:42:09
https://api.github.com/repos/huggingface/datasets/issues/4871/comments
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/4871", "html_url": "https://github.com/huggingface/datasets/pull/4871", "diff_url": "https://github.com/huggingface/datasets/pull/4871.diff", "patch_url": "https://github.com/huggingface/datasets/pull/4871.patch", "merged_at": "2022-08-23T10:00...
true
Fix: wmt datasets - fix CWMT zh subsets Fix https://github.com/huggingface/datasets/issues/4575 TODO: run `datasets-cli test`: - [x] wmt17 - [x] wmt18 - [x] wmt19
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_4871). All of your documentation changes will be reflected on that endpoint." ]
https://api.github.com/repos/huggingface/datasets/issues/4870
4,870
audio folder check CI
null
closed
2022-08-22T10:15:53
https://api.github.com/repos/huggingface/datasets/issues/4870/comments
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/4870", "html_url": "https://github.com/huggingface/datasets/pull/4870", "diff_url": "https://github.com/huggingface/datasets/pull/4870.diff", "patch_url": "https://github.com/huggingface/datasets/pull/4870.patch", "merged_at": null }
true
audio folder check CI
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
https://api.github.com/repos/huggingface/datasets/issues/4869
4,869
Fix typos in documentation
null
closed
2022-08-21T15:10:03
https://api.github.com/repos/huggingface/datasets/issues/4869/comments
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/4869", "html_url": "https://github.com/huggingface/datasets/pull/4869", "diff_url": "https://github.com/huggingface/datasets/pull/4869.diff", "patch_url": "https://github.com/huggingface/datasets/pull/4869.patch", "merged_at": "2022-08-22T09:09...
true
Fix typos in documentation
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
https://api.github.com/repos/huggingface/datasets/issues/4868
4,868
adding mafand to datasets
I'm addding the MAFAND dataset by Masakhane based on the paper/repository below: Paper: https://aclanthology.org/2022.naacl-main.223/ Code: https://github.com/masakhane-io/lafand-mt Please, help merge this Everything works except for creating dummy data file
closed
2022-08-20T15:26:14
https://api.github.com/repos/huggingface/datasets/issues/4868/comments
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/4868", "html_url": "https://github.com/huggingface/datasets/pull/4868", "diff_url": "https://github.com/huggingface/datasets/pull/4868.diff", "patch_url": "https://github.com/huggingface/datasets/pull/4868.patch", "merged_at": null }
true
adding mafand to datasets I'm addding the MAFAND dataset by Masakhane based on the paper/repository below: Paper: https://aclanthology.org/2022.naacl-main.223/ Code: https://github.com/masakhane-io/lafand-mt Please, help merge this Everything works except for creating dummy data file
[ "_The documentation is not available anymore as the PR was closed or merged._", "Hi @dadelani, thanks for your awesome contribution!!! :heart: \r\n\r\nHowever, now we are using the Hub to add new datasets, instead of this GitHub repo. \r\n\r\nYou could share this dataset under your Hub organization namespace: [Ma...
https://api.github.com/repos/huggingface/datasets/issues/4867
4,867
Complete tags of superglue dataset card
Related to #4479 .
closed
2022-08-19T23:44:39
https://api.github.com/repos/huggingface/datasets/issues/4867/comments
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/4867", "html_url": "https://github.com/huggingface/datasets/pull/4867", "diff_url": "https://github.com/huggingface/datasets/pull/4867.diff", "patch_url": "https://github.com/huggingface/datasets/pull/4867.patch", "merged_at": "2022-08-22T08:58...
true
Complete tags of superglue dataset card Related to #4479 .
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
https://api.github.com/repos/huggingface/datasets/issues/4866
4,866
amend docstring for dunder
display dunder method in docsting with underlines an not bold markdown.
open
2022-08-19T19:09:15
https://api.github.com/repos/huggingface/datasets/issues/4866/comments
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/4866", "html_url": "https://github.com/huggingface/datasets/pull/4866", "diff_url": "https://github.com/huggingface/datasets/pull/4866.diff", "patch_url": "https://github.com/huggingface/datasets/pull/4866.patch", "merged_at": null }
true
amend docstring for dunder display dunder method in docsting with underlines an not bold markdown.
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_4866). All of your documentation changes will be reflected on that endpoint." ]
https://api.github.com/repos/huggingface/datasets/issues/4865
4,865
Dataset Viewer issue for MoritzLaurer/multilingual_nli
### Link _No response_ ### Description I've just uploaded a new dataset to the hub and the viewer does not work for some reason, see here: https://huggingface.co/datasets/MoritzLaurer/multilingual_nli It displays the error: ``` Status code: 400 Exception: Status400Error Message: The dataset...
closed
2022-08-19T14:55:20
https://api.github.com/repos/huggingface/datasets/issues/4865/comments
null
false
Dataset Viewer issue for MoritzLaurer/multilingual_nli ### Link _No response_ ### Description I've just uploaded a new dataset to the hub and the viewer does not work for some reason, see here: https://huggingface.co/datasets/MoritzLaurer/multilingual_nli It displays the error: ``` Status code: 400 Ex...
[ "Thanks for reporting @MoritzLaurer.\r\n\r\nCurrently, the dataset preview is working properly: https://huggingface.co/datasets/MoritzLaurer/multilingual_nli\r\n\r\nPlease note that when a dataset is modified, it might take some time until the preview is completely updated.\r\n\r\n@severo might it be worth adding ...
https://api.github.com/repos/huggingface/datasets/issues/4864
4,864
Allow pathlib PoxisPath in Dataset.read_json
**Is your feature request related to a problem? Please describe.** ``` from pathlib import Path from datasets import Dataset ds = Dataset.read_json(Path('data.json')) ``` causes an error ``` AttributeError: 'PosixPath' object has no attribute 'decode' ``` **Describe the solution you'd like** It should be...
open
2022-08-19T12:59:17
https://api.github.com/repos/huggingface/datasets/issues/4864/comments
null
false
Allow pathlib PoxisPath in Dataset.read_json **Is your feature request related to a problem? Please describe.** ``` from pathlib import Path from datasets import Dataset ds = Dataset.read_json(Path('data.json')) ``` causes an error ``` AttributeError: 'PosixPath' object has no attribute 'decode' ``` **Descr...
[ "This same error will occur using `ds = datasets.load_dataset('json', data_files=['test.jsonl'])`", "@cccntu I want to make a quick fix for this, but I am struggling to find where the json dataset builder is. Do you know?", "@vvvm23 I think you mean think:\r\n```python\r\nds = datasets.load_dataset('json', data...
https://api.github.com/repos/huggingface/datasets/issues/4863
4,863
TFDS wiki_dialog dataset to Huggingface dataset
## Adding a Dataset - **Name:** *Wiki_dialog* - **Description: https://github.com/google-research/dialog-inpainting#:~:text=JSON%20object%2C%20for-,example,-%3A - **Paper: https://arxiv.org/abs/2205.09073 - **Data: https://github.com/google-research/dialog-inpainting - **Motivation:** *Research and Development on ...
closed
2022-08-18T23:06:30
https://api.github.com/repos/huggingface/datasets/issues/4863/comments
null
false
TFDS wiki_dialog dataset to Huggingface dataset ## Adding a Dataset - **Name:** *Wiki_dialog* - **Description: https://github.com/google-research/dialog-inpainting#:~:text=JSON%20object%2C%20for-,example,-%3A - **Paper: https://arxiv.org/abs/2205.09073 - **Data: https://github.com/google-research/dialog-inpainting ...
[ "@albertvillanova any help ? The linked dataset is in beam format which is similar to wikipedia dataset in huggingface that you scripted..", "Nvm, I was able to port it to huggingface datasets, will upload to the hub soon", "https://huggingface.co/datasets/djaym7/wiki_dialog", "Thanks for the addition, @djay...
https://api.github.com/repos/huggingface/datasets/issues/4862
4,862
Got "AttributeError: 'xPath' object has no attribute 'read'" when loading an excel dataset with my own code
## Describe the bug A clear and concise description of what the bug is. ## Steps to reproduce the bug ```python # Sample code to reproduce the bug # The dataset function is as follows: from pathlib import Path from typing import Dict, List, Tuple import datasets import pandas as pd _CITATION = """\ """...
closed
2022-08-18T18:36:14
https://api.github.com/repos/huggingface/datasets/issues/4862/comments
null
false
Got "AttributeError: 'xPath' object has no attribute 'read'" when loading an excel dataset with my own code ## Describe the bug A clear and concise description of what the bug is. ## Steps to reproduce the bug ```python # Sample code to reproduce the bug # The dataset function is as follows: from pathlib import...
[ "What's more, the downloaded data is actually a folder instead of an excel file.", "Hi hi, instead of using `download_and_extract` function, I only use `download` function: `base_dir = Path(dl_manager.download(urls))`. It turns out that the code works for `datasets==2.2.2`, however, it doesn't work with `datasets...
https://api.github.com/repos/huggingface/datasets/issues/4861
4,861
Using disk for memory with the method `from_dict`
**Is your feature request related to a problem? Please describe.** I start with an empty dataset. In a loop, at each iteration, I create a new dataset with the method `from_dict` (based on some data I load) and I concatenate this new dataset with the one at the previous iteration. After some iterations, I have an OOM ...
open
2022-08-18T15:18:18
https://api.github.com/repos/huggingface/datasets/issues/4861/comments
null
false
Using disk for memory with the method `from_dict` **Is your feature request related to a problem? Please describe.** I start with an empty dataset. In a loop, at each iteration, I create a new dataset with the method `from_dict` (based on some data I load) and I concatenate this new dataset with the one at the previou...
[ "This issue was also causing an OOM in @nateraw 's workflow and shows again that behavior is confusing - we should definitely switch to using the disk IMO" ]
https://api.github.com/repos/huggingface/datasets/issues/4860
4,860
Add collection3 dataset
null
closed
2022-08-17T21:31:42
https://api.github.com/repos/huggingface/datasets/issues/4860/comments
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/4860", "html_url": "https://github.com/huggingface/datasets/pull/4860", "diff_url": "https://github.com/huggingface/datasets/pull/4860.diff", "patch_url": "https://github.com/huggingface/datasets/pull/4860.patch", "merged_at": null }
true
Add collection3 dataset
[ "Hi @pefimov. Thanks for you awesome work on this dataset contribution.\r\n\r\nHowever, now we are using the Hub to add new datasets, instead of this GitHub repo. \r\n\r\nYou could share this dataset under the appropriate Hub organization namespace. This way the dataset will be accessible using:\r\n```python\r\nds ...
https://api.github.com/repos/huggingface/datasets/issues/4859
4,859
can't install using conda on Windows 10
## Describe the bug I wanted to install using conda or Anaconda navigator. That didn't work, so I had to install using pip. ## Steps to reproduce the bug conda install -c huggingface -c conda-forge datasets ## Expected results Should have indicated successful installation. ## Actual results Solving environ...
open
2022-08-17T19:57:37
https://api.github.com/repos/huggingface/datasets/issues/4859/comments
null
false
can't install using conda on Windows 10 ## Describe the bug I wanted to install using conda or Anaconda navigator. That didn't work, so I had to install using pip. ## Steps to reproduce the bug conda install -c huggingface -c conda-forge datasets ## Expected results Should have indicated successful installatio...
[]
https://api.github.com/repos/huggingface/datasets/issues/4858
4,858
map() function removes columns when input_columns is not None
## Describe the bug The map function, removes features from the dataset that are not present in the _input_columns_ list of columns, despite the columns being removed not mentioned in the _remove_columns_ argument. ## Steps to reproduce the bug ```python from datasets import Dataset ds = Dataset.from_dict({"a" : [...
closed
2022-08-16T20:42:30
https://api.github.com/repos/huggingface/datasets/issues/4858/comments
null
false
map() function removes columns when input_columns is not None ## Describe the bug The map function, removes features from the dataset that are not present in the _input_columns_ list of columns, despite the columns being removed not mentioned in the _remove_columns_ argument. ## Steps to reproduce the bug ```python ...
[ "Hi! Thanks for reporting! This looks like a bug. I've just opened a PR with the fix.", "Awesome! Thank you. I'll close the issue once the PR gets merged. :-)", "I guess we should reopen after the revert by:\r\n- #5006" ]
https://api.github.com/repos/huggingface/datasets/issues/4857
4,857
No preprocessed wikipedia is working on huggingface/datasets
## Describe the bug 20220301 wikipedia dump has been deprecated, so now there is no working wikipedia dump on huggingface https://huggingface.co/datasets/wikipedia https://dumps.wikimedia.org/enwiki/
closed
2022-08-16T13:55:33
https://api.github.com/repos/huggingface/datasets/issues/4857/comments
null
false
No preprocessed wikipedia is working on huggingface/datasets ## Describe the bug 20220301 wikipedia dump has been deprecated, so now there is no working wikipedia dump on huggingface https://huggingface.co/datasets/wikipedia https://dumps.wikimedia.org/enwiki/
[ "Thanks for reporting @aninrusimha.\r\n\r\nPlease, note that the preprocessed datasets are still available, as described in the dataset card, e.g.: https://huggingface.co/datasets/wikipedia\r\n```python\r\nds = load_dataset(\"wikipedia\", \"20220301.en\")\r\n``` ", "This is working now, but I was getting an error...
https://api.github.com/repos/huggingface/datasets/issues/4856
4,856
file missing when load_dataset with openwebtext on windows
## Describe the bug 0015896-b1054262f7da52a0518521e29c8e352c.txt is missing when I run run_mlm.py with openwebtext. I check the cache_path and can not find 0015896-b1054262f7da52a0518521e29c8e352c.txt. but I can find this file in the 17ecf461bfccd469a1fbc264ccb03731f8606eea7b3e2e8b86e13d18040bf5b3/urlsf_subset00-16_da...
closed
2022-08-16T04:04:22
https://api.github.com/repos/huggingface/datasets/issues/4856/comments
null
false
file missing when load_dataset with openwebtext on windows ## Describe the bug 0015896-b1054262f7da52a0518521e29c8e352c.txt is missing when I run run_mlm.py with openwebtext. I check the cache_path and can not find 0015896-b1054262f7da52a0518521e29c8e352c.txt. but I can find this file in the 17ecf461bfccd469a1fbc264cc...
[ "I have tried to extract ```0015896-b1054262f7da52a0518521e29c8e352c.txt``` from ```17ecf461bfccd469a1fbc264ccb03731f8606eea7b3e2e8b86e13d18040bf5b3/urlsf_subset00-16_data.xz``` with 7-zip\r\nand put the file into cache_path ```F://huggingface/datasets/downloads/extracted/0901d27f43b7e9ac0577da0d0061c8c632ba0b70ecd...
https://api.github.com/repos/huggingface/datasets/issues/4855
4,855
Dataset Viewer issue for super_glue
### Link https://huggingface.co/datasets/super_glue ### Description can't view super_glue dataset on the web page ### Owner _No response_
closed
2022-08-16T01:34:56
https://api.github.com/repos/huggingface/datasets/issues/4855/comments
null
false
Dataset Viewer issue for super_glue ### Link https://huggingface.co/datasets/super_glue ### Description can't view super_glue dataset on the web page ### Owner _No response_
[ "Thanks for reporting @wzsxxa.\r\n\r\nHowever the \"super_glue\" dataset is rendered properly by the Dataset preview: https://huggingface.co/datasets/super_glue" ]
https://api.github.com/repos/huggingface/datasets/issues/4853
4,853
Fix bug and checksums in exams dataset
Fix #4852.
closed
2022-08-15T20:17:57
https://api.github.com/repos/huggingface/datasets/issues/4853/comments
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/4853", "html_url": "https://github.com/huggingface/datasets/pull/4853", "diff_url": "https://github.com/huggingface/datasets/pull/4853.diff", "patch_url": "https://github.com/huggingface/datasets/pull/4853.patch", "merged_at": "2022-08-16T06:29...
true
Fix bug and checksums in exams dataset Fix #4852.
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
https://api.github.com/repos/huggingface/datasets/issues/4852
4,852
Bug in multilingual_with_para config of exams dataset and checksums error
## Describe the bug There is a bug for "multilingual_with_para" config in exams dataset: ```python ds = load_dataset("./datasets/exams", split="train") ``` raises: ``` KeyError: 'choices' ``` Moreover, there is a NonMatchingChecksumError: ``` NonMatchingChecksumError: Checksums didn't match for dataset so...
closed
2022-08-15T20:14:52
https://api.github.com/repos/huggingface/datasets/issues/4852/comments
null
false
Bug in multilingual_with_para config of exams dataset and checksums error ## Describe the bug There is a bug for "multilingual_with_para" config in exams dataset: ```python ds = load_dataset("./datasets/exams", split="train") ``` raises: ``` KeyError: 'choices' ``` Moreover, there is a NonMatchingChecksumEr...
[ "Hi @albertvillanova. Unfortunately I still get this error. Is this because the merge has yet to be released? Is there a way to track the release?", "Hi @thesofakillers, yes you are right: the fix will be available after next release (it was planned for today; Monday at the latest).\r\n\r\nIn the meantime, you ca...
https://api.github.com/repos/huggingface/datasets/issues/4851
4,851
Fix license tag and Source Data section in billsum dataset card
Fixed the data source and license fields
closed
2022-08-15T14:37:00
https://api.github.com/repos/huggingface/datasets/issues/4851/comments
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/4851", "html_url": "https://github.com/huggingface/datasets/pull/4851", "diff_url": "https://github.com/huggingface/datasets/pull/4851.diff", "patch_url": "https://github.com/huggingface/datasets/pull/4851.patch", "merged_at": "2022-08-22T13:40...
true
Fix license tag and Source Data section in billsum dataset card Fixed the data source and license fields
[ "_The documentation is not available anymore as the PR was closed or merged._", "thanks @albertvillanova done thank you!" ]
https://api.github.com/repos/huggingface/datasets/issues/4850
4,850
Fix test of _get_extraction_protocol for TAR files
While working in another PR, I discovered an xpass test (a test that is supposed to xfail but nevertheless passes) when testing `_get_extraction_protocol`: https://github.com/huggingface/datasets/runs/7818845285?check_suite_focus=true ``` XPASS tests/test_streaming_download_manager.py::test_streaming_dl_manager_get_e...
closed
2022-08-15T08:37:58
https://api.github.com/repos/huggingface/datasets/issues/4850/comments
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/4850", "html_url": "https://github.com/huggingface/datasets/pull/4850", "diff_url": "https://github.com/huggingface/datasets/pull/4850.diff", "patch_url": "https://github.com/huggingface/datasets/pull/4850.patch", "merged_at": "2022-08-15T09:28...
true
Fix test of _get_extraction_protocol for TAR files While working in another PR, I discovered an xpass test (a test that is supposed to xfail but nevertheless passes) when testing `_get_extraction_protocol`: https://github.com/huggingface/datasets/runs/7818845285?check_suite_focus=true ``` XPASS tests/test_streaming_d...
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
https://api.github.com/repos/huggingface/datasets/issues/4849
4,849
1.18.x
null
closed
2022-08-14T15:09:19
https://api.github.com/repos/huggingface/datasets/issues/4849/comments
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/4849", "html_url": "https://github.com/huggingface/datasets/pull/4849", "diff_url": "https://github.com/huggingface/datasets/pull/4849.diff", "patch_url": "https://github.com/huggingface/datasets/pull/4849.patch", "merged_at": null }
true
1.18.x
[]
https://api.github.com/repos/huggingface/datasets/issues/4848
4,848
a
null
closed
2022-08-14T15:01:16
https://api.github.com/repos/huggingface/datasets/issues/4848/comments
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/4848", "html_url": "https://github.com/huggingface/datasets/pull/4848", "diff_url": "https://github.com/huggingface/datasets/pull/4848.diff", "patch_url": "https://github.com/huggingface/datasets/pull/4848.patch", "merged_at": null }
true
a
[]
https://api.github.com/repos/huggingface/datasets/issues/4847
4,847
Test win ci
aa
closed
2022-08-14T14:57:00
https://api.github.com/repos/huggingface/datasets/issues/4847/comments
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/4847", "html_url": "https://github.com/huggingface/datasets/pull/4847", "diff_url": "https://github.com/huggingface/datasets/pull/4847.diff", "patch_url": "https://github.com/huggingface/datasets/pull/4847.patch", "merged_at": null }
true
Test win ci aa
[]
https://api.github.com/repos/huggingface/datasets/issues/4846
4,846
Update documentation card of miam dataset
Hi ! Paper has been published at EMNLP.
closed
2022-08-13T14:38:55
https://api.github.com/repos/huggingface/datasets/issues/4846/comments
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/4846", "html_url": "https://github.com/huggingface/datasets/pull/4846", "diff_url": "https://github.com/huggingface/datasets/pull/4846.diff", "patch_url": "https://github.com/huggingface/datasets/pull/4846.patch", "merged_at": "2022-08-14T10:26...
true
Update documentation card of miam dataset Hi ! Paper has been published at EMNLP.
[ "_The documentation is not available anymore as the PR was closed or merged._", "Ahahah :D not sur how i broke something by updating the README :D ", "Thanks for the fix @PierreColombo. \r\n\r\nOnce a README is modified, our CI runs tests on it, requiring additional quality fixes, so that all READMEs are progre...
https://api.github.com/repos/huggingface/datasets/issues/4845
4,845
Mark CI tests as xfail if Hub HTTP error
In order to make testing more robust (and avoid merges to master with red tests), we could mark tests as xfailed (instead of failed) when the Hub raises some temporary HTTP errors. This PR: - marks tests as xfailed only if the Hub raises a 500 error for: - test_upstream_hub - makes pytest report the xfailed/xpa...
closed
2022-08-13T10:45:11
https://api.github.com/repos/huggingface/datasets/issues/4845/comments
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/4845", "html_url": "https://github.com/huggingface/datasets/pull/4845", "diff_url": "https://github.com/huggingface/datasets/pull/4845.diff", "patch_url": "https://github.com/huggingface/datasets/pull/4845.patch", "merged_at": "2022-08-23T04:42...
true
Mark CI tests as xfail if Hub HTTP error In order to make testing more robust (and avoid merges to master with red tests), we could mark tests as xfailed (instead of failed) when the Hub raises some temporary HTTP errors. This PR: - marks tests as xfailed only if the Hub raises a 500 error for: - test_upstream_h...
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
https://api.github.com/repos/huggingface/datasets/issues/4844
4,844
Add 'val' to VALIDATION_KEYWORDS.
This PR fixes #4839 by adding the word `"val"` to the `VALIDATION_KEYWORDS` so that the `load_dataset()` method with `imagefolder` (and probably, some other directives as well) reads folders named `"val"` as well. I think the supported keywords have to be mentioned in the documentation as well, but I couldn't think ...
closed
2022-08-13T06:49:41
https://api.github.com/repos/huggingface/datasets/issues/4844/comments
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/4844", "html_url": "https://github.com/huggingface/datasets/pull/4844", "diff_url": "https://github.com/huggingface/datasets/pull/4844.diff", "patch_url": "https://github.com/huggingface/datasets/pull/4844.patch", "merged_at": "2022-08-30T10:14...
true
Add 'val' to VALIDATION_KEYWORDS. This PR fixes #4839 by adding the word `"val"` to the `VALIDATION_KEYWORDS` so that the `load_dataset()` method with `imagefolder` (and probably, some other directives as well) reads folders named `"val"` as well. I think the supported keywords have to be mentioned in the document...
[ "@mariosasko not sure about how the reviewing process works. Maybe you can have a look because we discussed this elsewhere?", "Hi, thanks! \r\n\r\nLet's add one pattern with `val` to this test before merging: \r\nhttps://github.com/huggingface/datasets/blob/b88a656cf94c4ad972154371c83c1af759fde522/tests/test_data...
https://api.github.com/repos/huggingface/datasets/issues/4843
4,843
Fix typo in streaming docs
null
closed
2022-08-12T20:18:21
https://api.github.com/repos/huggingface/datasets/issues/4843/comments
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/4843", "html_url": "https://github.com/huggingface/datasets/pull/4843", "diff_url": "https://github.com/huggingface/datasets/pull/4843.diff", "patch_url": "https://github.com/huggingface/datasets/pull/4843.patch", "merged_at": "2022-08-14T11:02...
true
Fix typo in streaming docs
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
https://api.github.com/repos/huggingface/datasets/issues/4842
4,842
Update stackexchange license
The correct license of the stackexchange subset of the Pile is `cc-by-sa-4.0`, as can for example be seen here: https://stackoverflow.com/help/licensing
closed
2022-08-12T17:39:06
https://api.github.com/repos/huggingface/datasets/issues/4842/comments
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/4842", "html_url": "https://github.com/huggingface/datasets/pull/4842", "diff_url": "https://github.com/huggingface/datasets/pull/4842.diff", "patch_url": "https://github.com/huggingface/datasets/pull/4842.patch", "merged_at": "2022-08-14T10:28...
true
Update stackexchange license The correct license of the stackexchange subset of the Pile is `cc-by-sa-4.0`, as can for example be seen here: https://stackoverflow.com/help/licensing
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
https://api.github.com/repos/huggingface/datasets/issues/4841
4,841
Update ted_talks_iwslt license to include ND
Excerpt from the paper's abstract: "Aside from its cultural and social relevance, this content, which is published under the Creative Commons BY-NC-ND license, also represents a precious language resource for the machine translation research community"
closed
2022-08-12T16:14:52
https://api.github.com/repos/huggingface/datasets/issues/4841/comments
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/4841", "html_url": "https://github.com/huggingface/datasets/pull/4841", "diff_url": "https://github.com/huggingface/datasets/pull/4841.diff", "patch_url": "https://github.com/huggingface/datasets/pull/4841.patch", "merged_at": "2022-08-14T11:00...
true
Update ted_talks_iwslt license to include ND Excerpt from the paper's abstract: "Aside from its cultural and social relevance, this content, which is published under the Creative Commons BY-NC-ND license, also represents a precious language resource for the machine translation research community"
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
https://api.github.com/repos/huggingface/datasets/issues/4840
4,840
Dataset Viewer issue for darragh/demo_data_raw3
### Link https://huggingface.co/datasets/darragh/demo_data_raw3 ### Description ``` Exception: ValueError Message: Arrow type extension<arrow.py_extension_type<pyarrow.lib.UnknownExtensionType>> does not have a datasets dtype equivalent. ``` reported by @NielsRogge ### Owner No
open
2022-08-12T15:22:58
https://api.github.com/repos/huggingface/datasets/issues/4840/comments
null
false
Dataset Viewer issue for darragh/demo_data_raw3 ### Link https://huggingface.co/datasets/darragh/demo_data_raw3 ### Description ``` Exception: ValueError Message: Arrow type extension<arrow.py_extension_type<pyarrow.lib.UnknownExtensionType>> does not have a datasets dtype equivalent. ``` reported by @...
[ "do you have an idea of why it can occur @huggingface/datasets? The dataset consists of a single parquet file.", "Thanks for reporting @severo.\r\n\r\nI'm not able to reproduce that error. I get instead:\r\n```\r\nFileNotFoundError: [Errno 2] No such file or directory: 'orix/data/ChiSig/唐合乐-9-3.jpg'\r\n```\r\n\r\...
https://api.github.com/repos/huggingface/datasets/issues/4839
4,839
ImageFolder dataset builder does not read the validation data set if it is named as "val"
**Is your feature request related to a problem? Please describe.** Currently, the `'imagefolder'` data set builder in [`load_dataset()`](https://github.com/huggingface/datasets/blob/2.4.0/src/datasets/load.py#L1541] ) only [supports](https://github.com/huggingface/datasets/blob/6c609a322da994de149b2c938f19439bca9940...
closed
2022-08-12T13:26:00
https://api.github.com/repos/huggingface/datasets/issues/4839/comments
null
false
ImageFolder dataset builder does not read the validation data set if it is named as "val" **Is your feature request related to a problem? Please describe.** Currently, the `'imagefolder'` data set builder in [`load_dataset()`](https://github.com/huggingface/datasets/blob/2.4.0/src/datasets/load.py#L1541] ) only [sup...
[ "#take" ]
https://api.github.com/repos/huggingface/datasets/issues/4838
4,838
Fix documentation card of adv_glue dataset
Fix documentation card of adv_glue dataset.
closed
2022-08-12T13:15:26
https://api.github.com/repos/huggingface/datasets/issues/4838/comments
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/4838", "html_url": "https://github.com/huggingface/datasets/pull/4838", "diff_url": "https://github.com/huggingface/datasets/pull/4838.diff", "patch_url": "https://github.com/huggingface/datasets/pull/4838.patch", "merged_at": "2022-08-15T10:02...
true
Fix documentation card of adv_glue dataset Fix documentation card of adv_glue dataset.
[ "_The documentation is not available anymore as the PR was closed or merged._", "The failing test has nothing to do with this PR:\r\n```\r\nFAILED tests/test_upstream_hub.py::TestPushToHub::test_push_dataset_dict_to_hub_multiple_files\r\n```" ]
https://api.github.com/repos/huggingface/datasets/issues/4837
4,837
Add support for CSV metadata files to ImageFolder
Fix #4814
closed
2022-08-12T11:19:18
https://api.github.com/repos/huggingface/datasets/issues/4837/comments
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/4837", "html_url": "https://github.com/huggingface/datasets/pull/4837", "diff_url": "https://github.com/huggingface/datasets/pull/4837.diff", "patch_url": "https://github.com/huggingface/datasets/pull/4837.patch", "merged_at": "2022-08-31T11:59...
true
Add support for CSV metadata files to ImageFolder Fix #4814
[ "_The documentation is not available anymore as the PR was closed or merged._", "Cool thanks ! Maybe let's include this change after the refactoring from FolderBasedBuilder in #3963 to avoid dealing with too many unpleasant conflicts ?", "@lhoestq I resolved the conflicts (AudioFolder also supports CSV metadata...
https://api.github.com/repos/huggingface/datasets/issues/4836
4,836
Is it possible to pass multiple links to a split in load script?
**Is your feature request related to a problem? Please describe.** I wanted to use a python loading script in hugging face datasets that use different sources of text (it's somehow a compilation of multiple datasets + my own dataset) based on how `load_dataset` [works](https://huggingface.co/docs/datasets/loading) I a...
open
2022-08-12T11:06:11
https://api.github.com/repos/huggingface/datasets/issues/4836/comments
null
false
Is it possible to pass multiple links to a split in load script? **Is your feature request related to a problem? Please describe.** I wanted to use a python loading script in hugging face datasets that use different sources of text (it's somehow a compilation of multiple datasets + my own dataset) based on how `load_d...
[]
https://api.github.com/repos/huggingface/datasets/issues/4835
4,835
Fix documentation card of ethos dataset
Fix documentation card of ethos dataset.
closed
2022-08-12T09:51:06
https://api.github.com/repos/huggingface/datasets/issues/4835/comments
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/4835", "html_url": "https://github.com/huggingface/datasets/pull/4835", "diff_url": "https://github.com/huggingface/datasets/pull/4835.diff", "patch_url": "https://github.com/huggingface/datasets/pull/4835.patch", "merged_at": "2022-08-12T12:59...
true
Fix documentation card of ethos dataset Fix documentation card of ethos dataset.
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
https://api.github.com/repos/huggingface/datasets/issues/4834
4,834
Fix documentation card of recipe_nlg dataset
Fix documentation card of recipe_nlg dataset
closed
2022-08-12T09:49:39
https://api.github.com/repos/huggingface/datasets/issues/4834/comments
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/4834", "html_url": "https://github.com/huggingface/datasets/pull/4834", "diff_url": "https://github.com/huggingface/datasets/pull/4834.diff", "patch_url": "https://github.com/huggingface/datasets/pull/4834.patch", "merged_at": "2022-08-12T11:13...
true
Fix documentation card of recipe_nlg dataset Fix documentation card of recipe_nlg dataset
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
https://api.github.com/repos/huggingface/datasets/issues/4833
4,833
Fix missing tags in dataset cards
Fix missing tags in dataset cards: - boolq - break_data - definite_pronoun_resolution - emo - kor_nli - pg19 - quartz - sciq - squad_es - wmt14 - wmt15 - wmt16 - wmt17 - wmt18 - wmt19 - wmt_t2t This PR partially fixes the missing tags in dataset cards. Subsequent PRs will follow to complete this task...
closed
2022-08-12T09:04:52
https://api.github.com/repos/huggingface/datasets/issues/4833/comments
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/4833", "html_url": "https://github.com/huggingface/datasets/pull/4833", "diff_url": "https://github.com/huggingface/datasets/pull/4833.diff", "patch_url": "https://github.com/huggingface/datasets/pull/4833.patch", "merged_at": "2022-08-12T09:45...
true
Fix missing tags in dataset cards Fix missing tags in dataset cards: - boolq - break_data - definite_pronoun_resolution - emo - kor_nli - pg19 - quartz - sciq - squad_es - wmt14 - wmt15 - wmt16 - wmt17 - wmt18 - wmt19 - wmt_t2t This PR partially fixes the missing tags in dataset cards. Subsequent PRs...
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
https://api.github.com/repos/huggingface/datasets/issues/4832
4,832
Fix tags in dataset cards
Fix wrong tags in dataset cards.
closed
2022-08-12T04:11:23
https://api.github.com/repos/huggingface/datasets/issues/4832/comments
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/4832", "html_url": "https://github.com/huggingface/datasets/pull/4832", "diff_url": "https://github.com/huggingface/datasets/pull/4832.diff", "patch_url": "https://github.com/huggingface/datasets/pull/4832.patch", "merged_at": "2022-08-12T04:27...
true
Fix tags in dataset cards Fix wrong tags in dataset cards.
[ "_The documentation is not available anymore as the PR was closed or merged._", "The non-passing tests are caused by other missing information in the dataset cards." ]
https://api.github.com/repos/huggingface/datasets/issues/4831
4,831
Add oversampling strategies to interleave datasets
Hello everyone, Here is a proposal to improve `interleave_datasets` function. Following Issue #3064, and @lhoestq [comment](https://github.com/huggingface/datasets/issues/3064#issuecomment-1022333385), I propose here a code that performs oversampling when interleaving a `Dataset` list. I have myself encountered t...
closed
2022-08-11T16:24:51
https://api.github.com/repos/huggingface/datasets/issues/4831/comments
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/4831", "html_url": "https://github.com/huggingface/datasets/pull/4831", "diff_url": "https://github.com/huggingface/datasets/pull/4831.diff", "patch_url": "https://github.com/huggingface/datasets/pull/4831.patch", "merged_at": "2022-08-24T16:46...
true
Add oversampling strategies to interleave datasets Hello everyone, Here is a proposal to improve `interleave_datasets` function. Following Issue #3064, and @lhoestq [comment](https://github.com/huggingface/datasets/issues/3064#issuecomment-1022333385), I propose here a code that performs oversampling when interleavin...
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_4831). All of your documentation changes will be reflected on that endpoint.", "Hi @lhoestq, \r\nThanks for your review! I've added the requested mention in the documentation and corrected the Error type in `interleave_datasets...
https://api.github.com/repos/huggingface/datasets/issues/4830
4,830
Fix task tags in dataset cards
null
closed
2022-08-11T16:06:06
https://api.github.com/repos/huggingface/datasets/issues/4830/comments
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/4830", "html_url": "https://github.com/huggingface/datasets/pull/4830", "diff_url": "https://github.com/huggingface/datasets/pull/4830.diff", "patch_url": "https://github.com/huggingface/datasets/pull/4830.patch", "merged_at": "2022-08-11T16:23...
true
Fix task tags in dataset cards
[ "_The documentation is not available anymore as the PR was closed or merged._", "The non-passing tests are caused by other missing information in the dataset cards." ]
https://api.github.com/repos/huggingface/datasets/issues/4829
4,829
Misalignment between card tag validation and docs
## Describe the bug As pointed out in other issue: https://github.com/huggingface/datasets/pull/4827#discussion_r943536284 the validation of the dataset card tags is not aligned with its documentation: e.g. - implementation: `license: List[str]` - docs: `license: Union[str, List[str]]` They should be aligned. ...
open
2022-08-11T14:44:45
https://api.github.com/repos/huggingface/datasets/issues/4829/comments
null
false
Misalignment between card tag validation and docs ## Describe the bug As pointed out in other issue: https://github.com/huggingface/datasets/pull/4827#discussion_r943536284 the validation of the dataset card tags is not aligned with its documentation: e.g. - implementation: `license: List[str]` - docs: `license: Un...
[ "(Note that the doc is aligned with the hub validation rules, and the \"ground truth\" is the hub validation rules given that they apply to all datasets, not just the canonical ones)", "Instead of our own implementation, we now use `huggingface_hub`'s `DatasetCardData`, which has the correct type hint, so I think...
https://api.github.com/repos/huggingface/datasets/issues/4828
4,828
Support PIL Image objects in `add_item`/`add_column`
Fix #4796 PS: We should also improve the type inference in `OptimizedTypeSequence` to make it possible to also infer the complex types (only `Image` currently) in nested arrays (e.g. `[[pil_image], [pil_image, pil_image]]` or `[{"img": pil_image}`]), but I plan to address this in a separate PR.
open
2022-08-11T14:25:45
https://api.github.com/repos/huggingface/datasets/issues/4828/comments
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/4828", "html_url": "https://github.com/huggingface/datasets/pull/4828", "diff_url": "https://github.com/huggingface/datasets/pull/4828.diff", "patch_url": "https://github.com/huggingface/datasets/pull/4828.patch", "merged_at": null }
true
Support PIL Image objects in `add_item`/`add_column` Fix #4796 PS: We should also improve the type inference in `OptimizedTypeSequence` to make it possible to also infer the complex types (only `Image` currently) in nested arrays (e.g. `[[pil_image], [pil_image, pil_image]]` or `[{"img": pil_image}`]), but I plan ...
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_4828). All of your documentation changes will be reflected on that endpoint.", "Hey @mariosasko could we please merge this? I'm still getting the original error at #4796 .", "Are you planning to continue working on this?" ]
https://api.github.com/repos/huggingface/datasets/issues/4827
4,827
Add license metadata to pg19
As reported over email by Roy Rijkers
closed
2022-08-11T13:52:20
https://api.github.com/repos/huggingface/datasets/issues/4827/comments
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/4827", "html_url": "https://github.com/huggingface/datasets/pull/4827", "diff_url": "https://github.com/huggingface/datasets/pull/4827.diff", "patch_url": "https://github.com/huggingface/datasets/pull/4827.patch", "merged_at": "2022-08-11T14:46...
true
Add license metadata to pg19 As reported over email by Roy Rijkers
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
https://api.github.com/repos/huggingface/datasets/issues/4826
4,826
Fix language tags in dataset cards
Fix language tags in all dataset cards, so that they are validated (aligned with our `languages.json` resource).
closed
2022-08-11T13:47:14
https://api.github.com/repos/huggingface/datasets/issues/4826/comments
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/4826", "html_url": "https://github.com/huggingface/datasets/pull/4826", "diff_url": "https://github.com/huggingface/datasets/pull/4826.diff", "patch_url": "https://github.com/huggingface/datasets/pull/4826.patch", "merged_at": "2022-08-11T14:03...
true
Fix language tags in dataset cards Fix language tags in all dataset cards, so that they are validated (aligned with our `languages.json` resource).
[ "_The documentation is not available anymore as the PR was closed or merged._", "The non-passing tests are caused by other missing information in the dataset cards." ]
https://api.github.com/repos/huggingface/datasets/issues/4825
4,825
[Windows] Fix Access Denied when using os.rename()
In this PR, we are including an additional step when `os.rename()` raises a PermissionError. Basically, we will use `shutil.move()` on the temp files. Fix #2937
closed
2022-08-11T11:57:15
https://api.github.com/repos/huggingface/datasets/issues/4825/comments
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/4825", "html_url": "https://github.com/huggingface/datasets/pull/4825", "diff_url": "https://github.com/huggingface/datasets/pull/4825.diff", "patch_url": "https://github.com/huggingface/datasets/pull/4825.patch", "merged_at": "2022-08-24T13:09...
true
[Windows] Fix Access Denied when using os.rename() In this PR, we are including an additional step when `os.rename()` raises a PermissionError. Basically, we will use `shutil.move()` on the temp files. Fix #2937
[ "Cool thank you ! Maybe we can just replace `os.rename` by `shutil.move` instead ?", "> Cool thank you ! Maybe we can just replace `os.rename` by `shutil.move` instead ?\r\n\r\nYes, I think that could be a better solution, but I didn't test it in Linux (e.g. Ubuntu) to guarantee that `os.rename()` could be comple...
https://api.github.com/repos/huggingface/datasets/issues/4824
4,824
Fix titles in dataset cards
Fix all the titles in the dataset cards, so that they conform to the required format.
closed
2022-08-11T11:27:48
https://api.github.com/repos/huggingface/datasets/issues/4824/comments
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/4824", "html_url": "https://github.com/huggingface/datasets/pull/4824", "diff_url": "https://github.com/huggingface/datasets/pull/4824.diff", "patch_url": "https://github.com/huggingface/datasets/pull/4824.patch", "merged_at": "2022-08-11T12:56...
true
Fix titles in dataset cards Fix all the titles in the dataset cards, so that they conform to the required format.
[ "_The documentation is not available anymore as the PR was closed or merged._", "The non-passing tests are caused by other missing information in the dataset cards." ]
https://api.github.com/repos/huggingface/datasets/issues/4823
4,823
Update data URL in mkqa dataset
Update data URL in mkqa dataset. Fix #4817.
closed
2022-08-11T09:16:13
https://api.github.com/repos/huggingface/datasets/issues/4823/comments
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/4823", "html_url": "https://github.com/huggingface/datasets/pull/4823", "diff_url": "https://github.com/huggingface/datasets/pull/4823.diff", "patch_url": "https://github.com/huggingface/datasets/pull/4823.patch", "merged_at": "2022-08-11T09:37...
true
Update data URL in mkqa dataset Update data URL in mkqa dataset. Fix #4817.
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
https://api.github.com/repos/huggingface/datasets/issues/4821
4,821
Fix train_test_split docs
I saw that `stratify` is added to the `train_test_split` method as per #4322, hence the docs can be updated.
closed
2022-08-11T08:55:45
https://api.github.com/repos/huggingface/datasets/issues/4821/comments
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/4821", "html_url": "https://github.com/huggingface/datasets/pull/4821", "diff_url": "https://github.com/huggingface/datasets/pull/4821.diff", "patch_url": "https://github.com/huggingface/datasets/pull/4821.patch", "merged_at": "2022-08-11T09:45...
true
Fix train_test_split docs I saw that `stratify` is added to the `train_test_split` method as per #4322, hence the docs can be updated.
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
https://api.github.com/repos/huggingface/datasets/issues/4820
4,820
Terminating: fork() called from a process already using GNU OpenMP, this is unsafe.
Hi, when i try to run prepare_dataset function in [fine tuning ASR tutorial 4](https://colab.research.google.com/github/patrickvonplaten/notebooks/blob/master/Fine_tuning_Wav2Vec2_for_English_ASR.ipynb) , i got this error. I got this error Terminating: fork() called from a process already using GNU OpenMP, this is un...
closed
2022-08-10T19:42:33
https://api.github.com/repos/huggingface/datasets/issues/4820/comments
null
false
Terminating: fork() called from a process already using GNU OpenMP, this is unsafe. Hi, when i try to run prepare_dataset function in [fine tuning ASR tutorial 4](https://colab.research.google.com/github/patrickvonplaten/notebooks/blob/master/Fine_tuning_Wav2Vec2_for_English_ASR.ipynb) , i got this error. I got this e...
[ "Fixed by installing either resampy<3 or resampy>=4" ]
https://api.github.com/repos/huggingface/datasets/issues/4819
4,819
Add missing language tags to resources
Add missing language tags to resources, required by existing datasets on GitHub.
closed
2022-08-10T19:06:42
https://api.github.com/repos/huggingface/datasets/issues/4819/comments
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/4819", "html_url": "https://github.com/huggingface/datasets/pull/4819", "diff_url": "https://github.com/huggingface/datasets/pull/4819.diff", "patch_url": "https://github.com/huggingface/datasets/pull/4819.patch", "merged_at": "2022-08-10T19:32...
true
Add missing language tags to resources Add missing language tags to resources, required by existing datasets on GitHub.
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
https://api.github.com/repos/huggingface/datasets/issues/4818
4,818
Add add cc-by-sa-2.5 license tag
- [ ] add it to moon-landing - [ ] add it to hub-docs
closed
2022-08-10T17:18:39
https://api.github.com/repos/huggingface/datasets/issues/4818/comments
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/4818", "html_url": "https://github.com/huggingface/datasets/pull/4818", "diff_url": "https://github.com/huggingface/datasets/pull/4818.diff", "patch_url": "https://github.com/huggingface/datasets/pull/4818.patch", "merged_at": null }
true
Add add cc-by-sa-2.5 license tag - [ ] add it to moon-landing - [ ] add it to hub-docs
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_4818). All of your documentation changes will be reflected on that endpoint.", "I think we can close this PR because the `standard_licenses.tsv` file was removed from this repo and we no longer perform any dataset card validati...
https://api.github.com/repos/huggingface/datasets/issues/4817
4,817
Outdated Link for mkqa Dataset
## Describe the bug The URL used to download the mkqa dataset is outdated. It seems the URL to download the dataset is currently https://github.com/apple/ml-mkqa/blob/main/dataset/mkqa.jsonl.gz instead of https://github.com/apple/ml-mkqa/raw/master/dataset/mkqa.jsonl.gz (master branch has been renamed to main). ## ...
closed
2022-08-10T12:45:45
https://api.github.com/repos/huggingface/datasets/issues/4817/comments
null
false
Outdated Link for mkqa Dataset ## Describe the bug The URL used to download the mkqa dataset is outdated. It seems the URL to download the dataset is currently https://github.com/apple/ml-mkqa/blob/main/dataset/mkqa.jsonl.gz instead of https://github.com/apple/ml-mkqa/raw/master/dataset/mkqa.jsonl.gz (master branch ha...
[ "Thanks for reporting @liaeh, we are investigating this. " ]
https://api.github.com/repos/huggingface/datasets/issues/4816
4,816
Update version of opus_paracrawl dataset
This PR updates OPUS ParaCrawl from 7.1 to 9 version. Fix #4815.
closed
2022-08-10T05:39:44
https://api.github.com/repos/huggingface/datasets/issues/4816/comments
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/4816", "html_url": "https://github.com/huggingface/datasets/pull/4816", "diff_url": "https://github.com/huggingface/datasets/pull/4816.diff", "patch_url": "https://github.com/huggingface/datasets/pull/4816.patch", "merged_at": "2022-08-12T14:17...
true
Update version of opus_paracrawl dataset This PR updates OPUS ParaCrawl from 7.1 to 9 version. Fix #4815.
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
https://api.github.com/repos/huggingface/datasets/issues/4815
4,815
Outdated loading script for OPUS ParaCrawl dataset
## Describe the bug Our loading script for OPUS ParaCrawl loads its 7.1 version. Current existing version is 9.
closed
2022-08-10T05:12:34
https://api.github.com/repos/huggingface/datasets/issues/4815/comments
null
false
Outdated loading script for OPUS ParaCrawl dataset ## Describe the bug Our loading script for OPUS ParaCrawl loads its 7.1 version. Current existing version is 9.
[]
https://api.github.com/repos/huggingface/datasets/issues/4814
4,814
Support CSV as metadata file format in AudioFolder/ImageFolder
Requested here: https://discuss.huggingface.co/t/how-to-structure-an-image-dataset-repo-using-the-image-folder-approach/21004. CSV is also used in AutoTrain for specifying metadata in image datasets.
closed
2022-08-09T14:36:49
https://api.github.com/repos/huggingface/datasets/issues/4814/comments
null
false
Support CSV as metadata file format in AudioFolder/ImageFolder Requested here: https://discuss.huggingface.co/t/how-to-structure-an-image-dataset-repo-using-the-image-folder-approach/21004. CSV is also used in AutoTrain for specifying metadata in image datasets.
[]
https://api.github.com/repos/huggingface/datasets/issues/4813
4,813
Fix loading example in opus dataset cards
This PR: - fixes the examples to load the datasets, with the corrected dataset name, in their dataset cards for: - opus_dgt - opus_paracrawl - opus_wikipedia - fixes their dataset cards with the missing required information: title, data instances/fields/splits - enumerates the supported languages - adds a ...
closed
2022-08-09T13:47:38
https://api.github.com/repos/huggingface/datasets/issues/4813/comments
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/4813", "html_url": "https://github.com/huggingface/datasets/pull/4813", "diff_url": "https://github.com/huggingface/datasets/pull/4813.diff", "patch_url": "https://github.com/huggingface/datasets/pull/4813.patch", "merged_at": "2022-08-09T17:38...
true
Fix loading example in opus dataset cards This PR: - fixes the examples to load the datasets, with the corrected dataset name, in their dataset cards for: - opus_dgt - opus_paracrawl - opus_wikipedia - fixes their dataset cards with the missing required information: title, data instances/fields/splits - enu...
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
https://api.github.com/repos/huggingface/datasets/issues/4812
4,812
Fix bug in function validate_type for Python >= 3.9
Fix `validate_type` function, so that it uses `get_origin` instead. This makes the function forward compatible. This fixes #4811 because: ```python In [4]: typing.Optional[str] Out[4]: typing.Optional[str] In [5]: get_origin(typing.Optional[str]) Out[5]: typing.Union ``` Fix #4811.
closed
2022-08-09T10:32:42
https://api.github.com/repos/huggingface/datasets/issues/4812/comments
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/4812", "html_url": "https://github.com/huggingface/datasets/pull/4812", "diff_url": "https://github.com/huggingface/datasets/pull/4812.diff", "patch_url": "https://github.com/huggingface/datasets/pull/4812.patch", "merged_at": "2022-08-12T13:27...
true
Fix bug in function validate_type for Python >= 3.9 Fix `validate_type` function, so that it uses `get_origin` instead. This makes the function forward compatible. This fixes #4811 because: ```python In [4]: typing.Optional[str] Out[4]: typing.Optional[str] In [5]: get_origin(typing.Optional[str]) Out[5]: typ...
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
https://api.github.com/repos/huggingface/datasets/issues/4811
4,811
Bug in function validate_type for Python >= 3.9
## Describe the bug The function `validate_type` assumes that the type `typing.Optional[str]` is automatically transformed to `typing.Union[str, NoneType]`. ```python In [4]: typing.Optional[str] Out[4]: typing.Union[str, NoneType] ``` However, this is not the case for Python 3.9: ```python In [3]: typing.Opt...
closed
2022-08-09T10:25:21
https://api.github.com/repos/huggingface/datasets/issues/4811/comments
null
false
Bug in function validate_type for Python >= 3.9 ## Describe the bug The function `validate_type` assumes that the type `typing.Optional[str]` is automatically transformed to `typing.Union[str, NoneType]`. ```python In [4]: typing.Optional[str] Out[4]: typing.Union[str, NoneType] ``` However, this is not the cas...
[]
https://api.github.com/repos/huggingface/datasets/issues/4810
4,810
Add description to hellaswag dataset
null
closed
2022-08-09T10:21:14
https://api.github.com/repos/huggingface/datasets/issues/4810/comments
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/4810", "html_url": "https://github.com/huggingface/datasets/pull/4810", "diff_url": "https://github.com/huggingface/datasets/pull/4810.diff", "patch_url": "https://github.com/huggingface/datasets/pull/4810.patch", "merged_at": "2022-09-23T11:33...
true
Add description to hellaswag dataset
[ "_The documentation is not available anymore as the PR was closed or merged._", "Are the `metadata JSON file` not on their way to deprecation? 😆😇\r\n\r\nIMO, more generally than this particular PR, the contribution process should be simplified now that many validation checks happen on the hub side.\r\n\r\nKeepi...
https://api.github.com/repos/huggingface/datasets/issues/4809
4,809
Complete the mlqa dataset card
I fixed the issue #4808 Details of PR: - Added languages included in the dataset. - Added task id and task category. - Updated the citation information. Fix #4808.
closed
2022-08-09T07:38:06
https://api.github.com/repos/huggingface/datasets/issues/4809/comments
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/4809", "html_url": "https://github.com/huggingface/datasets/pull/4809", "diff_url": "https://github.com/huggingface/datasets/pull/4809.diff", "patch_url": "https://github.com/huggingface/datasets/pull/4809.patch", "merged_at": "2022-08-09T13:26...
true
Complete the mlqa dataset card I fixed the issue #4808 Details of PR: - Added languages included in the dataset. - Added task id and task category. - Updated the citation information. Fix #4808.
[ "_The documentation is not available anymore as the PR was closed or merged._", "> Thanks for your contribution, @eldhoittangeorge.\r\n> \r\n> The CI error message: https://github.com/huggingface/datasets/runs/7743526624?check_suite_focus=true\r\n> \r\n> ```\r\n> E ValueError: The following issues have ...
https://api.github.com/repos/huggingface/datasets/issues/4808
4,808
Add more information to the dataset card of mlqa dataset
null
closed
2022-08-09T07:35:42
https://api.github.com/repos/huggingface/datasets/issues/4808/comments
null
false
Add more information to the dataset card of mlqa dataset
[ "#self-assign", "Fixed by:\r\n- #4809" ]
https://api.github.com/repos/huggingface/datasets/issues/4807
4,807
document fix in opus_gnome dataset
I fixed a issue #4805. I changed `"gnome"` to `"opus_gnome"` in[ README.md](https://github.com/huggingface/datasets/tree/main/datasets/opus_gnome#dataset-summary).
closed
2022-08-09T06:38:13
https://api.github.com/repos/huggingface/datasets/issues/4807/comments
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/4807", "html_url": "https://github.com/huggingface/datasets/pull/4807", "diff_url": "https://github.com/huggingface/datasets/pull/4807.diff", "patch_url": "https://github.com/huggingface/datasets/pull/4807.patch", "merged_at": null }
true
document fix in opus_gnome dataset I fixed a issue #4805. I changed `"gnome"` to `"opus_gnome"` in[ README.md](https://github.com/huggingface/datasets/tree/main/datasets/opus_gnome#dataset-summary).
[ "Duplicate:\r\n- #4806 " ]
https://api.github.com/repos/huggingface/datasets/issues/4806
4,806
Fix opus_gnome dataset card
I fixed a issue #4805. I changed `"gnome"` to `"opus_gnome"` in[ README.md](https://github.com/huggingface/datasets/tree/main/datasets/opus_gnome#dataset-summary). Fix #4805
closed
2022-08-09T03:40:15
https://api.github.com/repos/huggingface/datasets/issues/4806/comments
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/4806", "html_url": "https://github.com/huggingface/datasets/pull/4806", "diff_url": "https://github.com/huggingface/datasets/pull/4806.diff", "patch_url": "https://github.com/huggingface/datasets/pull/4806.patch", "merged_at": "2022-08-09T11:52...
true
Fix opus_gnome dataset card I fixed a issue #4805. I changed `"gnome"` to `"opus_gnome"` in[ README.md](https://github.com/huggingface/datasets/tree/main/datasets/opus_gnome#dataset-summary). Fix #4805
[ "_The documentation is not available anymore as the PR was closed or merged._", "@gojiteji why have you closed this PR and created an identical one?\r\n- #4807 ", "@albertvillanova \r\nI forgot to follow \"How to create a Pull\" in CONTRIBUTING.md in this branch.", "Both are identical. And you can push additi...
https://api.github.com/repos/huggingface/datasets/issues/4805
4,805
Wrong example in opus_gnome dataset card
## Describe the bug I found that [the example on opus_gone dataset ](https://github.com/huggingface/datasets/tree/main/datasets/opus_gnome#dataset-summary) doesn't work. ## Steps to reproduce the bug ```python load_dataset("gnome", lang1="it", lang2="pl") ``` `"gnome"` should be `"opus_gnome"` ## Expected r...
closed
2022-08-09T03:21:27
https://api.github.com/repos/huggingface/datasets/issues/4805/comments
null
false
Wrong example in opus_gnome dataset card ## Describe the bug I found that [the example on opus_gone dataset ](https://github.com/huggingface/datasets/tree/main/datasets/opus_gnome#dataset-summary) doesn't work. ## Steps to reproduce the bug ```python load_dataset("gnome", lang1="it", lang2="pl") ``` `"gnome"` ...
[]
https://api.github.com/repos/huggingface/datasets/issues/4804
4,804
streaming dataset with concatenating splits raises an error
## Describe the bug streaming dataset with concatenating splits raises an error ## Steps to reproduce the bug ```python from datasets import load_dataset # no error repo = "nateraw/ade20k-tiny" dataset = load_dataset(repo, split="train+validation") ``` ```python from datasets import load_dataset # er...
open
2022-08-09T02:41:56
https://api.github.com/repos/huggingface/datasets/issues/4804/comments
null
false
streaming dataset with concatenating splits raises an error ## Describe the bug streaming dataset with concatenating splits raises an error ## Steps to reproduce the bug ```python from datasets import load_dataset # no error repo = "nateraw/ade20k-tiny" dataset = load_dataset(repo, split="train+validation") ...
[ "Hi! Only the name of a particular split (\"train\", \"test\", ...) is supported as a split pattern if `streaming=True`. We plan to address this limitation soon.", "Hi, have you addressed this yet?", "yes, same error occurs.\r\n```python\r\nfrom datasets import load_dataset\r\n\r\n# error\r\nrepo = \"nateraw/ad...
https://api.github.com/repos/huggingface/datasets/issues/4803
4,803
Support `pipeline` argument in inspect.py functions
**Is your feature request related to a problem? Please describe.** The `wikipedia` dataset requires a `pipeline` argument to build the list of splits: https://huggingface.co/datasets/wikipedia/blob/main/wikipedia.py#L937 But this is currently not supported in `get_dataset_config_info`: https://github.com/hu...
open
2022-08-08T16:01:24
https://api.github.com/repos/huggingface/datasets/issues/4803/comments
null
false
Support `pipeline` argument in inspect.py functions **Is your feature request related to a problem? Please describe.** The `wikipedia` dataset requires a `pipeline` argument to build the list of splits: https://huggingface.co/datasets/wikipedia/blob/main/wikipedia.py#L937 But this is currently not supported in...
[ "Now: the preview (first-rows) works, but not the conversion to parquet. See https://huggingface.co/datasets/wikipedia/viewer/20220301.de/train\r\n\r\n```\r\n_split_generators() missing 1 required positional argument: 'pipeline'\r\n\r\nError code: UnexpectedError\r\n```" ]
https://api.github.com/repos/huggingface/datasets/issues/4802
4,802
`with_format` behavior is inconsistent on different datasets
## Describe the bug I found a case where `with_format` does not transform the dataset to the requested format. ## Steps to reproduce the bug Run: ```python from transformers import AutoTokenizer, AutoFeatureExtractor from datasets import load_dataset raw = load_dataset("glue", "sst2", split="train") raw =...
open
2022-08-08T10:41:34
https://api.github.com/repos/huggingface/datasets/issues/4802/comments
null
false
`with_format` behavior is inconsistent on different datasets ## Describe the bug I found a case where `with_format` does not transform the dataset to the requested format. ## Steps to reproduce the bug Run: ```python from transformers import AutoTokenizer, AutoFeatureExtractor from datasets import load_datase...
[ "Hi! You can get a `torch.Tensor` if you do the following:\r\n```python\r\nraw = load_dataset(\"beans\", split=\"train\")\r\nraw = raw.select(range(100))\r\n\r\npreprocessor = AutoFeatureExtractor.from_pretrained(\"nateraw/vit-base-beans\")\r\n\r\nfrom datasets import Array3D\r\nfeatures = raw.features.copy()\r\nfe...
https://api.github.com/repos/huggingface/datasets/issues/4801
4,801
Fix fine classes in trec dataset
This PR: - replaces the fine labels, so that there are 50 instead of 47 - once more labels are added, all they (fine and coarse) have been re-ordered, so that they align with the order in: https://cogcomp.seas.upenn.edu/Data/QA/QC/definition.html - the feature names have been fixed: `fine_label` instead of `label-fi...
closed
2022-08-08T05:11:02
https://api.github.com/repos/huggingface/datasets/issues/4801/comments
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/4801", "html_url": "https://github.com/huggingface/datasets/pull/4801", "diff_url": "https://github.com/huggingface/datasets/pull/4801.diff", "patch_url": "https://github.com/huggingface/datasets/pull/4801.patch", "merged_at": "2022-08-22T16:14...
true
Fix fine classes in trec dataset This PR: - replaces the fine labels, so that there are 50 instead of 47 - once more labels are added, all they (fine and coarse) have been re-ordered, so that they align with the order in: https://cogcomp.seas.upenn.edu/Data/QA/QC/definition.html - the feature names have been fixed: ...
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
https://api.github.com/repos/huggingface/datasets/issues/4800
4,800
support LargeListArray in pyarrow
```python import numpy as np import datasets a = np.zeros((5000000, 768)) res = datasets.Dataset.from_dict({'embedding': a}) ''' File '/home/wenjiaxin/anaconda3/envs/data/lib/python3.8/site-packages/datasets/arrow_writer.py', line 178, in __arrow_array__ out = numpy_to_pyarrow_listarray(data) File "/h...
closed
2022-08-08T03:58:46
https://api.github.com/repos/huggingface/datasets/issues/4800/comments
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/4800", "html_url": "https://github.com/huggingface/datasets/pull/4800", "diff_url": "https://github.com/huggingface/datasets/pull/4800.diff", "patch_url": "https://github.com/huggingface/datasets/pull/4800.patch", "merged_at": null }
true
support LargeListArray in pyarrow ```python import numpy as np import datasets a = np.zeros((5000000, 768)) res = datasets.Dataset.from_dict({'embedding': a}) ''' File '/home/wenjiaxin/anaconda3/envs/data/lib/python3.8/site-packages/datasets/arrow_writer.py', line 178, in __arrow_array__ out = numpy_to_p...
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_4800). All of your documentation changes will be reflected on that endpoint.", "Hi, thanks for working on this! Can you run `make style` at the repo root to fix the code quality error in CI and add a test?", "Hi, I have fixed...
https://api.github.com/repos/huggingface/datasets/issues/4799
4,799
video dataset loader/parser
you know how you can [use `load_dataset` with any arbitrary csv file](https://huggingface.co/docs/datasets/loading#csv)? and you can also [use it to load a local image dataset](https://huggingface.co/docs/datasets/image_load#local-files)? could you please add functionality to load a video dataset? it would be really...
closed
2022-08-07T01:54:12
https://api.github.com/repos/huggingface/datasets/issues/4799/comments
null
false
video dataset loader/parser you know how you can [use `load_dataset` with any arbitrary csv file](https://huggingface.co/docs/datasets/loading#csv)? and you can also [use it to load a local image dataset](https://huggingface.co/docs/datasets/image_load#local-files)? could you please add functionality to load a video...
[ "Hi! We've just started discussing the video support in `datasets` (decoding backends, video feature type, etc.), so I believe we should have something tangible by the end of this year.\r\n\r\nAlso, if you have additional video features in mind that you would like to see, feel free to let us know", "Coool thanks ...
https://api.github.com/repos/huggingface/datasets/issues/4798
4,798
Shard generator
Hi everyone! I was using Hugging Face datasets to process some very large datasets and found that it would be quite handy to have a feature that will allow to "split" these large datasets into chunks with equal size. Even better - be able to run through these chunks one by one in simple and convenient way. So I decided...
closed
2022-08-06T09:14:06
https://api.github.com/repos/huggingface/datasets/issues/4798/comments
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/4798", "html_url": "https://github.com/huggingface/datasets/pull/4798", "diff_url": "https://github.com/huggingface/datasets/pull/4798.diff", "patch_url": "https://github.com/huggingface/datasets/pull/4798.patch", "merged_at": null }
true
Shard generator Hi everyone! I was using Hugging Face datasets to process some very large datasets and found that it would be quite handy to have a feature that will allow to "split" these large datasets into chunks with equal size. Even better - be able to run through these chunks one by one in simple and convenient w...
[ "Hi, thanks!\r\n\r\n> I was using Hugging Face datasets to process some very large datasets and found that it would be quite handy to have a feature that will allow to \"split\" these large datasets into chunks with equal size\r\n\r\n`map`, the method we use for processing in `datasets`, already does that if `batch...