id
int64
599M
3.48B
number
int64
1
7.8k
title
stringlengths
1
290
state
stringclasses
2 values
comments
listlengths
0
30
created_at
timestamp[s]date
2020-04-14 10:18:02
2025-10-05 06:37:50
updated_at
timestamp[s]date
2020-04-27 16:04:17
2025-10-05 10:32:43
closed_at
timestamp[s]date
2020-04-14 12:01:40
2025-10-01 13:56:03
body
stringlengths
0
228k
user
stringlengths
3
26
html_url
stringlengths
46
51
pull_request
dict
is_pull_request
bool
2 classes
1,380,617,353
5,003
Fix missing use_auth_token in streaming docstrings
closed
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
2022-09-21T09:27:03
2022-09-21T16:24:01
2022-09-21T16:20:59
This PRs fixes docstrings: - adds the missing `use_auth_token` param - updates syntax of param types - adds params to docstrings without them - fixes return/yield types - fixes syntax
albertvillanova
https://github.com/huggingface/datasets/pull/5003
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/5003", "html_url": "https://github.com/huggingface/datasets/pull/5003", "diff_url": "https://github.com/huggingface/datasets/pull/5003.diff", "patch_url": "https://github.com/huggingface/datasets/pull/5003.patch", "merged_at": "2022-09-21T16:20...
true
1,380,589,402
5,002
Dataset Viewer issue for loubnabnl/humaneval-x
closed
[ "It's a bug! Thanks for reporting, I'm looking at it", "Fixed." ]
2022-09-21T09:06:17
2022-09-21T11:49:49
2022-09-21T11:49:49
### Link https://huggingface.co/datasets/loubnabnl/humaneval-x/viewer/ ### Description The dataset has subsets but the viewer gets stuck in the default subset even when I select another one (the data loading of the subsets works fine) ### Owner Yes
loubnabnl
https://github.com/huggingface/datasets/issues/5002
null
false
1,379,844,820
5,001
Support loading XML datasets
open
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_5001). All of your documentation changes will be reflected on that endpoint.", "> CC: @davanstrien\r\n\r\nI should have some time to look at this on Friday :) ", "@albertvillanova I've tried this with a few different XML data...
2022-09-20T18:42:58
2024-05-22T22:13:25
null
CC: @davanstrien
albertvillanova
https://github.com/huggingface/datasets/pull/5001
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/5001", "html_url": "https://github.com/huggingface/datasets/pull/5001", "diff_url": "https://github.com/huggingface/datasets/pull/5001.diff", "patch_url": "https://github.com/huggingface/datasets/pull/5001.patch", "merged_at": null }
true
1,379,709,398
5,000
Dataset Viewer issue for asapp/slue
closed
[ "<img width=\"519\" alt=\"Capture d’écran 2022-09-20 à 22 33 47\" src=\"https://user-images.githubusercontent.com/1676121/191358952-1220cb7d-745a-4203-a66b-3c707b25038f.png\">\r\n\r\n```\r\nNot found.\r\n\r\nError code: SplitsResponseNotFound\r\n```\r\n\r\nhttps://datasets-server.huggingface.co/splits?dataset=a...
2022-09-20T16:45:45
2022-09-27T07:04:03
2022-09-21T07:24:07
### Link https://huggingface.co/datasets/asapp/slue/viewer/ ### Description Hi, I wonder how to get the dataset viewer of our slue dataset to work. Best, Felix ### Owner Yes
fwu-asapp
https://github.com/huggingface/datasets/issues/5000
null
false
1,379,610,030
4,999
Add EmptyDatasetError
closed
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
2022-09-20T15:28:05
2022-09-21T12:23:43
2022-09-21T12:21:24
examples: from the hub: ```python Traceback (most recent call last): File "playground/ttest.py", line 3, in <module> print(load_dataset("lhoestq/empty")) File "/Users/quentinlhoest/Desktop/hf/nlp/src/datasets/load.py", line 1686, in load_dataset **config_kwargs, File "/Users/quentinlhoest/Deskto...
lhoestq
https://github.com/huggingface/datasets/pull/4999
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/4999", "html_url": "https://github.com/huggingface/datasets/pull/4999", "diff_url": "https://github.com/huggingface/datasets/pull/4999.diff", "patch_url": "https://github.com/huggingface/datasets/pull/4999.patch", "merged_at": "2022-09-21T12:21...
true
1,379,466,717
4,998
Don't add a tag on the Hub on release
closed
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
2022-09-20T13:54:57
2022-09-20T14:11:46
2022-09-20T14:08:54
Datasets with no namespace on the Hub have tags to redirect to the version of datasets where they come from. I’m about to remove them all because I think it looks bad/unexpected in the UI and it’s not actually useful Therefore I'm also disabling tagging. Note that the CI job will be completely removed in https:/...
lhoestq
https://github.com/huggingface/datasets/pull/4998
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/4998", "html_url": "https://github.com/huggingface/datasets/pull/4998", "diff_url": "https://github.com/huggingface/datasets/pull/4998.diff", "patch_url": "https://github.com/huggingface/datasets/pull/4998.patch", "merged_at": "2022-09-20T14:08...
true
1,379,430,711
4,997
Add support for parsing JSON files in array form
closed
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
2022-09-20T13:31:26
2022-09-20T15:42:40
2022-09-20T15:40:06
Support parsing JSON files in the array form (top-level object is an array). For simplicity, `json.load` is used for decoding. This means the entire file is loaded into memory. If requested, we can optimize this by introducing a param similar to `lines` in [`pandas.read_json`](https://pandas.pydata.org/docs/reference/a...
mariosasko
https://github.com/huggingface/datasets/pull/4997
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/4997", "html_url": "https://github.com/huggingface/datasets/pull/4997", "diff_url": "https://github.com/huggingface/datasets/pull/4997.diff", "patch_url": "https://github.com/huggingface/datasets/pull/4997.patch", "merged_at": "2022-09-20T15:40...
true
1,379,345,161
4,996
Dataset Viewer issue for Jean-Baptiste/wikiner_fr
closed
[ "The script uses `Dataset.load_from_disk`, which as you can expect, doesn't work in streaming mode.\r\n\r\nIt would probably be more practical to load the dataset locally using `Dataset.load_from_disk` first and then `push_to_hub` to upload it in Parquet on the Hub", "I've transferred this issue to the Hub repo: ...
2022-09-20T12:32:07
2022-09-27T12:35:44
2022-09-27T12:35:44
### Link https://huggingface.co/datasets/Jean-Baptiste/wikiner_fr ### Description ``` Error code: StreamingRowsError Exception: FileNotFoundError Message: [Errno 2] No such file or directory: 'zip:/data/train::https:/huggingface.co/datasets/Jean-Baptiste/wikiner_fr/resolve/main/data.zip/state.json' Tra...
severo
https://github.com/huggingface/datasets/issues/4996
null
false
1,379,108,482
4,995
Get a specific Exception when the dataset has no data
closed
[]
2022-09-20T09:31:59
2022-09-21T12:21:25
2022-09-21T12:21:25
In the dataset viewer on the Hub (https://huggingface.co/datasets/glue/viewer), we would like (https://github.com/huggingface/moon-landing/issues/3882) to show a specific message when the repository lacks any data files. In that case, instead of showing a complex traceback, we want to show a call to action to help t...
severo
https://github.com/huggingface/datasets/issues/4995
null
false
1,379,084,015
4,994
delete the hardcoded license list in `datasets`
closed
[]
2022-09-20T09:14:41
2022-09-22T11:45:47
2022-09-22T11:45:47
> Feel free to delete the license list in `datasets` [...] > > Also FYI in #4926 I also removed all the validation steps anyway (language, license, types etc.) _Originally posted by @lhoestq in https://github.com/huggingface/datasets/issues/4930#issuecomment-1238401662_ > [...], in my opinion we can just delete...
julien-c
https://github.com/huggingface/datasets/issues/4994
null
false
1,379,044,435
4,993
fix: avoid casting tuples after Dataset.map
closed
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
2022-09-20T08:45:16
2022-09-20T16:11:27
2022-09-20T13:08:29
This PR updates features.py to avoid casting tuples to lists when reading the results of Dataset.map as suggested by @lhoestq [here](https://github.com/huggingface/datasets/issues/4676#issuecomment-1187371367) in https://github.com/huggingface/datasets/issues/4676.
szmoro
https://github.com/huggingface/datasets/pull/4993
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/4993", "html_url": "https://github.com/huggingface/datasets/pull/4993", "diff_url": "https://github.com/huggingface/datasets/pull/4993.diff", "patch_url": "https://github.com/huggingface/datasets/pull/4993.patch", "merged_at": "2022-09-20T13:08...
true
1,379,031,842
4,992
Support streaming iwslt2017 dataset
closed
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
2022-09-20T08:35:41
2022-09-20T09:27:55
2022-09-20T09:15:24
Support streaming iwslt2017 dataset. Once this PR is merged: - [x] Remove old ".tgz" data files from the Hub.
albertvillanova
https://github.com/huggingface/datasets/pull/4992
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/4992", "html_url": "https://github.com/huggingface/datasets/pull/4992", "diff_url": "https://github.com/huggingface/datasets/pull/4992.diff", "patch_url": "https://github.com/huggingface/datasets/pull/4992.patch", "merged_at": "2022-09-20T09:15...
true
1,378,898,752
4,991
Fix missing tags in dataset cards
closed
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
2022-09-20T06:42:07
2022-09-22T12:25:32
2022-09-20T07:37:30
Fix missing tags in dataset cards: - aeslc - empathetic_dialogues - event2Mind - gap - iwslt2017 - newsgroup - qa4mre - scicite This PR partially fixes the missing tags in dataset cards. Subsequent PRs will follow to complete this task. Related to: - #4833 - #4891 - #4896 - #4908 - #4921 - #4931 - ...
albertvillanova
https://github.com/huggingface/datasets/pull/4991
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/4991", "html_url": "https://github.com/huggingface/datasets/pull/4991", "diff_url": "https://github.com/huggingface/datasets/pull/4991.diff", "patch_url": "https://github.com/huggingface/datasets/pull/4991.patch", "merged_at": "2022-09-20T07:37...
true
1,378,120,806
4,990
"no-token" is passed to `huggingface_hub` when token is `None`
closed
[ "Hi @Wauplin, thanks for raising this potential issue.\r\n\r\nThe choice of passing `\"no-token\"` instead of `None` was made in this PR:\r\n- #4536 \r\n\r\nAccording to the PR description, the reason why it is passed is to avoid that `HfApi.dataset_info` uses the local token when no token should be used.", "Hi @...
2022-09-19T15:14:40
2022-09-30T09:16:00
2022-09-30T09:16:00
## Describe the bug In the 2 lines listed below, a token is passed to `huggingface_hub` to get information from a dataset. If no token is provided, a "no-token" string is passed. What is the purpose of it ? If no real, I would prefer if the `None` value could be sent directly to be handle by `huggingface_hub`. I fee...
Wauplin
https://github.com/huggingface/datasets/issues/4990
null
false
1,376,832,233
4,989
Running add_column() seems to corrupt existing sequence-type column info
closed
[ "Nevermind, I was incorrect." ]
2022-09-17T17:42:05
2022-09-19T12:54:54
2022-09-19T12:54:54
I have a dataset that contains a column ("foo") that is a sequence type of length 4. So when I run .to_pandas() on it, the resulting dataframe correctly contains 4 columns - foo_0, foo_1, foo_2, foo_3. So the 1st row of the dataframe might look like: ds = load_dataset(...) df = ds.to_pandas() df: foo_0 | foo_1 ...
derek-rocheleau
https://github.com/huggingface/datasets/issues/4989
null
false
1,376,096,584
4,988
Add `IterableDataset.from_generator` to the API
closed
[ "#take", "Thanks @hamid-vakilzadeh ! Let us know if you have some questions or if we can help", "Thank you! I certainly will reach out if I need any help." ]
2022-09-16T15:19:41
2022-10-05T12:10:49
2022-10-05T12:10:49
We've just added `Dataset.from_generator` to the API. It would also be cool to add `IterableDataset.from_generator` to support creating an iterable dataset from a generator. cc @lhoestq
mariosasko
https://github.com/huggingface/datasets/issues/4988
null
false
1,376,006,477
4,987
Embed image/audio data in dl_and_prepare parquet
closed
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
2022-09-16T14:09:27
2022-09-16T16:24:47
2022-09-16T16:22:35
Embed the bytes of the image or audio files in the Parquet files directly, instead of having a "path" that points to a local file. Indeed Parquet files are often used to share data or to be used by workers that may not have access to the local files.
lhoestq
https://github.com/huggingface/datasets/pull/4987
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/4987", "html_url": "https://github.com/huggingface/datasets/pull/4987", "diff_url": "https://github.com/huggingface/datasets/pull/4987.diff", "patch_url": "https://github.com/huggingface/datasets/pull/4987.patch", "merged_at": "2022-09-16T16:22...
true
1,375,895,035
4,986
[doc] Fix broken snippet that had too many quotes
closed
[ "_The documentation is not available anymore as the PR was closed or merged._", "Spent the day familiarising myself with the huggingface line of products, and happened to run into some small issues here and there. Magically, I've found exactly one small issue in `transformers`, one in `accelerate` and now one in ...
2022-09-16T12:41:07
2022-09-16T22:12:21
2022-09-16T17:32:14
Hello! ### Pull request overview * Fix broken snippet in https://huggingface.co/docs/datasets/main/en/process that has too many quotes ### Details The snippet in question can be found here: https://huggingface.co/docs/datasets/main/en/process#map This screenshot shows the issue, there is a quote too many, caus...
tomaarsen
https://github.com/huggingface/datasets/pull/4986
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/4986", "html_url": "https://github.com/huggingface/datasets/pull/4986", "diff_url": "https://github.com/huggingface/datasets/pull/4986.diff", "patch_url": "https://github.com/huggingface/datasets/pull/4986.patch", "merged_at": "2022-09-16T17:32...
true
1,375,807,768
4,985
Prefer split patterns from directories over split patterns from filenames
closed
[ "_The documentation is not available anymore as the PR was closed or merged._", "Can we merge this one since the issue this PR fixes was reported for the second time? I also think we don't need a test for this simple change.", "@mariosasko sure! could you please approve it? ", "Hi there @polinaeterna @mariosa...
2022-09-16T11:20:40
2022-11-02T11:54:28
2022-09-29T08:07:49
related to https://github.com/huggingface/datasets/issues/4895
polinaeterna
https://github.com/huggingface/datasets/pull/4985
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/4985", "html_url": "https://github.com/huggingface/datasets/pull/4985", "diff_url": "https://github.com/huggingface/datasets/pull/4985.diff", "patch_url": "https://github.com/huggingface/datasets/pull/4985.patch", "merged_at": "2022-09-29T08:07...
true
1,375,690,330
4,984
docs: ✏️ add links to the Datasets API
closed
[ "_The documentation is not available anymore as the PR was closed or merged._", "OK, thanks @lhoestq. I'll close this PR, and come back to it with @stevhliu once we work on https://github.com/huggingface/datasets-server/issues/568" ]
2022-09-16T09:34:12
2022-09-16T13:10:14
2022-09-16T13:07:33
I added some links to the Datasets API in the docs. See https://github.com/huggingface/datasets-server/pull/566 for a companion PR in the datasets-server. The idea is to improve the discovery of the API through the docs. I'm a bit shy about pasting a lot of links to the API in the docs, so it's minimal for now. I'm ...
severo
https://github.com/huggingface/datasets/pull/4984
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/4984", "html_url": "https://github.com/huggingface/datasets/pull/4984", "diff_url": "https://github.com/huggingface/datasets/pull/4984.diff", "patch_url": "https://github.com/huggingface/datasets/pull/4984.patch", "merged_at": null }
true
1,375,667,654
4,983
How to convert torch.utils.data.Dataset to huggingface dataset?
closed
[ "Hi! I think you can use the newly-added `from_generator` method for that:\r\n```python\r\nfrom datasets import Dataset\r\n\r\ndef gen():\r\n for idx in len(torch_dataset):\r\n yield torch_dataset[idx] # this has to be a dictionary\r\n ## or if it's an IterableDataset\r\n # for ex in torch_dataset:...
2022-09-16T09:15:10
2023-12-14T20:54:15
2022-09-20T11:23:43
I look through the huggingface dataset docs, and it seems that there is no offical support function to convert `torch.utils.data.Dataset` to huggingface dataset. However, there is a way to convert huggingface dataset to `torch.utils.data.Dataset`, like below: ```python from datasets import Dataset data = [[1, 2]...
DEROOCE
https://github.com/huggingface/datasets/issues/4983
null
false
1,375,604,693
4,982
Create dataset_infos.json with VALIDATION and TEST splits
closed
[ "@mariosasko could you help me with this issue? we've started the discussion from [here](https://github.com/huggingface/datasets/issues/4895#issuecomment-1248227130)", "Hi again! Can you please pass the directory name containing the dataset script instead of the script name to `datasets-cli test`?", "Yes, it wo...
2022-09-16T08:21:19
2022-09-28T07:59:39
2022-09-28T07:59:39
The problem is described in that [issue](https://github.com/huggingface/datasets/issues/4895#issuecomment-1247975569). > When I try to create data_infos.json using datasets-cli test Peter.py --save_infos --all_configs I get an error: > ValueError: Unknown split "test". Should be one of ['train']. > > The data_i...
skalinin
https://github.com/huggingface/datasets/issues/4982
null
false
1,375,086,773
4,981
Can't create a dataset with `float16` features
open
[ "Hi @dconathan, thanks for reporting.\r\n\r\nWe rely on Arrow as a backend, and as far as I know currently support for `float16` in Arrow is not fully implemented in Python (C++), hence the `ArrowNotImplementedError` you get.\r\n\r\nSee, e.g.: https://arrow.apache.org/docs/status.html?highlight=float16#data-types",...
2022-09-15T21:03:24
2025-06-12T11:47:42
null
## Describe the bug I can't create a dataset with `float16` features. I understand from the traceback that this is a `pyarrow` error, but I don't see anywhere in the `datasets` documentation about how to successfully do this. Is it actually supported? I've tried older versions of `pyarrow` as well with the same e...
dconathan
https://github.com/huggingface/datasets/issues/4981
null
false
1,374,868,083
4,980
Make `pyarrow` optional
closed
[ "The whole datasets library is pretty much a wrapper to pyarrow (just take a look at some of the source for a Dataset) https://github.com/huggingface/datasets/blob/51aef08ad7053c0bfe8f9a961207b26df15850d3/src/datasets/arrow_dataset.py#L639 \r\n\r\nI think removing the pyarrow dependency would involve a complete rew...
2022-09-15T17:38:03
2022-09-16T17:23:47
2022-09-16T17:23:47
**Is your feature request related to a problem? Please describe.** Is `pyarrow` really needed for every dataset? **Describe the solution you'd like** It is made optional. **Describe alternatives you've considered** Likely, no.
KOLANICH
https://github.com/huggingface/datasets/issues/4980
null
false
1,374,820,758
4,979
Fix missing tags in dataset cards
closed
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
2022-09-15T16:51:03
2022-09-22T12:37:55
2022-09-15T17:12:09
Fix missing tags in dataset cards: - amazon_us_reviews - art - discofuse - indic_glue - ubuntu_dialogs_corpus This PR partially fixes the missing tags in dataset cards. Subsequent PRs will follow to complete this task. Related to: - #4833 - #4891 - #4896 - #4908 - #4921 - #4931
albertvillanova
https://github.com/huggingface/datasets/pull/4979
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/4979", "html_url": "https://github.com/huggingface/datasets/pull/4979", "diff_url": "https://github.com/huggingface/datasets/pull/4979.diff", "patch_url": "https://github.com/huggingface/datasets/pull/4979.patch", "merged_at": "2022-09-15T17:12...
true
1,374,271,504
4,978
Update IndicGLUE download links
closed
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
2022-09-15T10:05:57
2022-09-15T22:00:20
2022-09-15T21:57:34
null
sumanthd17
https://github.com/huggingface/datasets/pull/4978
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/4978", "html_url": "https://github.com/huggingface/datasets/pull/4978", "diff_url": "https://github.com/huggingface/datasets/pull/4978.diff", "patch_url": "https://github.com/huggingface/datasets/pull/4978.patch", "merged_at": "2022-09-15T21:57...
true
1,372,962,157
4,977
Providing dataset size
open
[ "Hi @sashavor, thanks for your suggestion.\r\n\r\nUntil now we have the CLI command \r\n```\r\ndatasets-cli test datasets/<your-dataset-folder> --save_infos --all_configs\r\n```\r\nthat generates the `dataset_infos.json` with the size of the downloaded dataset, among other information.\r\n\r\nWe are currently in th...
2022-09-14T13:09:27
2022-09-15T16:03:58
null
**Is your feature request related to a problem? Please describe.** Especially for big datasets like [LAION](https://huggingface.co/datasets/laion/laion2B-en/), it's hard to know exactly the downloaded size (because there are many files and you don't have their exact size when downloaded). **Describe the solution yo...
sashavor
https://github.com/huggingface/datasets/issues/4977
null
false
1,372,322,382
4,976
Hope to adapt Python3.9 as soon as possible
open
[ "Hi! `datasets` should work in Python 3.9. What kind of issue have you encountered?", "There is this related issue already: https://github.com/huggingface/datasets/issues/4113\r\nAnd I guess we need a CI job for 3.9 ^^", "Perhaps we should report this issue in the `filelock` repo?" ]
2022-09-14T04:42:22
2022-09-26T16:32:35
null
**Is your feature request related to a problem? Please describe.** A clear and concise description of what the problem is. **Describe the solution you'd like** A clear and concise description of what you want to happen. **Describe alternatives you've considered** A clear and concise description of any alternat...
RedHeartSecretMan
https://github.com/huggingface/datasets/issues/4976
null
false
1,371,703,691
4,975
Add `fn_kwargs` param to `IterableDataset.map`
closed
[ "_The documentation is not available anymore as the PR was closed or merged._", "Thank you for adding this fix! \r\n\r\nWould it be possible to get `fn_kwargs` added to `IterableDatasetDict.map` as well? It looks like a very similar problem, and hopefully shouldn't be a huge change. \r\n", "Hi @brianhill11! htt...
2022-09-13T16:19:05
2023-05-05T16:53:43
2022-09-13T16:45:34
Add the `fn_kwargs` parameter to `IterableDataset.map`. ("Resolves" https://discuss.huggingface.co/t/how-to-use-large-image-text-datasets-in-hugging-face-hub-without-downloading-for-free/22780/3)
mariosasko
https://github.com/huggingface/datasets/pull/4975
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/4975", "html_url": "https://github.com/huggingface/datasets/pull/4975", "diff_url": "https://github.com/huggingface/datasets/pull/4975.diff", "patch_url": "https://github.com/huggingface/datasets/pull/4975.patch", "merged_at": "2022-09-13T16:45...
true
1,371,682,020
4,974
[GH->HF] Part 2: Remove all dataset scripts from github
closed
[ "_The documentation is not available anymore as the PR was closed or merged._", "So this means metrics will be deleted from this repo in favor of the \"evaluate\" library? Maybe you guys could just redirect metrics to that library.", "We are deprecating the metrics in `datasets` indeed and suggest users to swit...
2022-09-13T16:01:12
2022-10-03T17:09:39
2022-10-03T17:07:32
Now that all the datasets live on the Hub we can remove the /datasets directory that contains all the dataset scripts of this repository - [x] Needs https://github.com/huggingface/datasets/pull/4973 to be merged first - [x] and PR to be enabled on the Hub for non-namespaced datasets
lhoestq
https://github.com/huggingface/datasets/pull/4974
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/4974", "html_url": "https://github.com/huggingface/datasets/pull/4974", "diff_url": "https://github.com/huggingface/datasets/pull/4974.diff", "patch_url": "https://github.com/huggingface/datasets/pull/4974.patch", "merged_at": "2022-10-03T17:07...
true
1,371,600,074
4,973
[GH->HF] Load datasets from the Hub
closed
[ "_The documentation is not available anymore as the PR was closed or merged._", "Duplicate of:\r\n- #4059" ]
2022-09-13T15:01:41
2023-09-24T10:06:02
2022-09-15T15:24:26
Currently datasets with no namespace (e.g. squad, glue) are loaded from github. In this PR I changed this logic to use the Hugging Face Hub instead. This is the first step in removing all the dataset scripts in this repository related to discussions in https://github.com/huggingface/datasets/pull/4059 (I shoul...
lhoestq
https://github.com/huggingface/datasets/pull/4973
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/4973", "html_url": "https://github.com/huggingface/datasets/pull/4973", "diff_url": "https://github.com/huggingface/datasets/pull/4973.diff", "patch_url": "https://github.com/huggingface/datasets/pull/4973.patch", "merged_at": null }
true
1,371,443,306
4,972
Fix map batched with torch output
closed
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
2022-09-13T13:16:34
2022-09-20T09:42:02
2022-09-20T09:39:33
Reported in https://discuss.huggingface.co/t/typeerror-when-applying-map-after-set-format-type-torch/23067/2 Currently it fails if one uses batched `map` and the map function returns a torch tensor. I fixed it for torch, tf, jax and pandas series.
lhoestq
https://github.com/huggingface/datasets/pull/4972
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/4972", "html_url": "https://github.com/huggingface/datasets/pull/4972", "diff_url": "https://github.com/huggingface/datasets/pull/4972.diff", "patch_url": "https://github.com/huggingface/datasets/pull/4972.patch", "merged_at": "2022-09-20T09:39...
true
1,370,319,516
4,971
Preserve non-`input_colums` in `Dataset.map` if `input_columns` are specified
closed
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
2022-09-12T18:08:24
2022-09-13T13:51:08
2022-09-13T13:48:45
Currently, if the `input_columns` list in `Dataset.map` is specified, the columns not in that list are dropped after the `map` transform. This makes the behavior inconsistent with `IterableDataset.map`. (It seems this issue was introduced by mistake in https://github.com/huggingface/datasets/pull/2246) Fix h...
mariosasko
https://github.com/huggingface/datasets/pull/4971
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/4971", "html_url": "https://github.com/huggingface/datasets/pull/4971", "diff_url": "https://github.com/huggingface/datasets/pull/4971.diff", "patch_url": "https://github.com/huggingface/datasets/pull/4971.patch", "merged_at": "2022-09-13T13:48...
true
1,369,433,074
4,970
Support streaming nli_tr dataset
closed
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
2022-09-12T07:48:45
2022-09-12T08:45:04
2022-09-12T08:43:08
Support streaming nli_tr dataset. This PR removes legacy `codecs.open` and replaces it with `open` that supports passing encoding. Fix #3186.
albertvillanova
https://github.com/huggingface/datasets/pull/4970
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/4970", "html_url": "https://github.com/huggingface/datasets/pull/4970", "diff_url": "https://github.com/huggingface/datasets/pull/4970.diff", "patch_url": "https://github.com/huggingface/datasets/pull/4970.patch", "merged_at": "2022-09-12T08:43...
true
1,369,334,740
4,969
Fix data URL and metadata of vivos dataset
closed
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
2022-09-12T06:12:34
2022-09-12T07:16:15
2022-09-12T07:14:19
After contacting the authors of the VIVOS dataset to report that their data server is down, we have received a reply from Hieu-Thi Luong that their data is now hosted on Zenodo: https://doi.org/10.5281/zenodo.7068130 This PR updates their data URL and some metadata (homepage, citation and license). Fix #4936.
albertvillanova
https://github.com/huggingface/datasets/pull/4969
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/4969", "html_url": "https://github.com/huggingface/datasets/pull/4969", "diff_url": "https://github.com/huggingface/datasets/pull/4969.diff", "patch_url": "https://github.com/huggingface/datasets/pull/4969.patch", "merged_at": "2022-09-12T07:14...
true
1,369,312,877
4,968
Support streaming compguesswhat dataset
closed
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
2022-09-12T05:42:24
2022-09-12T08:00:06
2022-09-12T07:58:06
Support streaming `compguesswhat` dataset. Fix #3191.
albertvillanova
https://github.com/huggingface/datasets/pull/4968
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/4968", "html_url": "https://github.com/huggingface/datasets/pull/4968", "diff_url": "https://github.com/huggingface/datasets/pull/4968.diff", "patch_url": "https://github.com/huggingface/datasets/pull/4968.patch", "merged_at": "2022-09-12T07:58...
true
1,369,092,452
4,967
Strip "/" in local dataset path to avoid empty dataset name error
closed
[ "_The documentation is not available anymore as the PR was closed or merged._", "Cool :-)" ]
2022-09-11T23:09:16
2022-09-29T10:46:21
2022-09-12T15:30:38
null
apohllo
https://github.com/huggingface/datasets/pull/4967
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/4967", "html_url": "https://github.com/huggingface/datasets/pull/4967", "diff_url": "https://github.com/huggingface/datasets/pull/4967.diff", "patch_url": "https://github.com/huggingface/datasets/pull/4967.patch", "merged_at": "2022-09-12T15:30...
true
1,368,661,002
4,965
[Apple M1] MemoryError: Cannot allocate write+execute memory for ffi.callback()
closed
[ "Hi! This seems like a bug in `soundfile`. Could you please open an issue in their repo? `soundfile` works without any issues on my M1, so I'm not sure we can help.", "Hi @mariosasko, can you share how you installed `soundfile` on your mac M1?", "Hi @hoangtnm - I upgraded to python 3.10 and it fixed the proble...
2022-09-10T15:55:49
2024-03-21T17:25:53
2023-07-21T14:45:50
## Describe the bug I'm trying to run `cast_column("audio", Audio())` on Apple M1 Pro, but it seems that it doesn't work. ## Steps to reproduce the bug ```python import datasets dataset = load_dataset("csv", data_files="./train.csv")["train"] dataset = dataset.map(lambda x: {"audio": str(DATA_DIR / "audio" / ...
hoangtnm
https://github.com/huggingface/datasets/issues/4965
null
false
1,368,617,322
4,964
Column of arrays (2D+) are using unreasonably high memory
open
[ "note i have tried the same code with `datasets` version 2.4.0, the outcome is the very same as described above.", "Seems related to issues #4623 and #4802 so it would appear this issue has been around for a few months.", "Hi ! `Dataset.from_dict` keeps the data in memory. You can write on disk and reload them ...
2022-09-10T13:07:22
2022-09-22T18:29:22
null
## Describe the bug When trying to store `Array2D, Array3D, etc` as column values in a dataset, accessing that column (or creating depending on how you create it, see code below) will cause more than 10 fold of memory usage. ## Steps to reproduce the bug ```python from datasets import Dataset, Features, Array2D, ...
vigsterkr
https://github.com/huggingface/datasets/issues/4964
null
false
1,368,201,188
4,963
Dataset without script does not support regular JSON data file
closed
[ "Hi @julien-c,\r\n\r\nOut of the box, we only support JSON lines (NDJSON) data files, but your data file is a regular JSON file. The reason is we use `pyarrow.json.read_json` and this only supports line-delimited JSON. " ]
2022-09-09T18:45:33
2022-09-20T15:40:07
2022-09-20T15:40:07
### Link https://huggingface.co/datasets/julien-c/label-studio-my-dogs ### Description <img width="1115" alt="image" src="https://user-images.githubusercontent.com/326577/189422048-7e9c390f-bea7-4521-a232-43f049ccbd1f.png"> ### Owner Yes
julien-c
https://github.com/huggingface/datasets/issues/4963
null
false
1,368,155,365
4,962
Update setup.py
closed
[ "Before addressing this PR, we should be sure about the issue. See my comment in:\r\n- https://github.com/huggingface/datasets/issues/4961#issuecomment-1243376247", "Once we know 2022.8.2 works, I'm closing this PR, as the corresponding issue." ]
2022-09-09T17:57:56
2022-09-12T14:33:04
2022-09-12T14:33:04
exclude broken version of fsspec. See the [related issue](https://github.com/huggingface/datasets/issues/4961)
DCNemesis
https://github.com/huggingface/datasets/pull/4962
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/4962", "html_url": "https://github.com/huggingface/datasets/pull/4962", "diff_url": "https://github.com/huggingface/datasets/pull/4962.diff", "patch_url": "https://github.com/huggingface/datasets/pull/4962.patch", "merged_at": null }
true
1,368,124,033
4,961
fsspec 2022.8.2 breaks xopen in streaming mode
closed
[ "loading `fsspec==2022.7.1` fixes this issue, setup.py would need to be changed to prevent users from using the latest version of fsspec.", "Opened [PR](https://github.com/huggingface/datasets/pull/4962) to address this.", "Hi @DCNemesis, thanks for reporting.\r\n\r\nThat was a temporary issue in `fsspec` relea...
2022-09-09T17:26:55
2022-09-12T17:45:50
2022-09-12T14:32:05
## Describe the bug When fsspec 2022.8.2 is installed in your environment, xopen will prematurely close files, making streaming mode inoperable. ## Steps to reproduce the bug ```python import datasets data = datasets.load_dataset('MLCommons/ml_spoken_words', 'id_wav', split='train', streaming=True) ``` ...
DCNemesis
https://github.com/huggingface/datasets/issues/4961
null
false
1,368,035,159
4,960
BioASQ AttributeError: 'BuilderConfig' object has no attribute 'schema'
open
[ "Following worked:\r\n\r\n```\r\ndata_dir = \"/Users/dlituiev/repos/datasets/bioasq/\"\r\nbioasq_task_b = load_dataset(\"aps/bioasq_task_b\", data_dir=data_dir, name=\"bioasq_9b_source\")\r\n```\r\n\r\nWould maintainers be open to one of the following:\r\n- automating this with a latest default config (e.g. `bioas...
2022-09-09T16:06:43
2022-09-13T08:51:03
null
## Describe the bug I am trying to load a dataset from drive and running into an error. ## Steps to reproduce the bug ```python data_dir = "/Users/dlituiev/repos/datasets/bioasq/BioASQ-training9b" bioasq_task_b = load_dataset("aps/bioasq_task_b", data_dir=data_dir) ``` ## Actual results `AttributeError: ...
DSLituiev
https://github.com/huggingface/datasets/issues/4960
null
false
1,367,924,429
4,959
Fix data URLs of compguesswhat dataset
closed
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
2022-09-09T14:36:10
2022-09-09T16:01:34
2022-09-09T15:59:04
After we informed the `compguesswhat` dataset authors about an error with their data URLs, they have updated them: - https://github.com/CompGuessWhat/compguesswhat.github.io/issues/1 This PR updates their data URLs in our loading script. Related to: - #3191
albertvillanova
https://github.com/huggingface/datasets/pull/4959
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/4959", "html_url": "https://github.com/huggingface/datasets/pull/4959", "diff_url": "https://github.com/huggingface/datasets/pull/4959.diff", "patch_url": "https://github.com/huggingface/datasets/pull/4959.patch", "merged_at": "2022-09-09T15:59...
true
1,367,695,376
4,958
ConnectionError: Couldn't reach https://raw.githubusercontent.com/huggingface/datasets/2.4.0/datasets/jsonl/jsonl.py
closed
[ "I have solved this problem... The extension of the file should be `.json` not `.jsonl`" ]
2022-09-09T11:29:55
2022-09-09T11:38:44
2022-09-09T11:38:44
Hi, When I use load_dataset from local jsonl files, below error happens, and I type the link into the browser prompting me `404: Not Found`. I download the other `.py` files using the same method and it works. It seems that the server is missing the appropriate file, or it is a problem with the code version. ``` C...
hasakikiki
https://github.com/huggingface/datasets/issues/4958
null
false
1,366,532,849
4,957
Add `Dataset.from_generator`
closed
[ "I restarted the builder PR job just in case", "_The documentation is not available anymore as the PR was closed or merged._", "CI is now green. https://github.com/huggingface/doc-builder/pull/296 explains why it failed." ]
2022-09-08T15:08:25
2022-09-16T14:46:35
2022-09-16T14:44:18
Add `Dataset.from_generator` to the API to allow creating datasets from data larger than RAM. The implementation relies on a packaged module not exposed in `load_dataset` to tie this method with `datasets`' caching mechanism. Closes https://github.com/huggingface/datasets/issues/4417
mariosasko
https://github.com/huggingface/datasets/pull/4957
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/4957", "html_url": "https://github.com/huggingface/datasets/pull/4957", "diff_url": "https://github.com/huggingface/datasets/pull/4957.diff", "patch_url": "https://github.com/huggingface/datasets/pull/4957.patch", "merged_at": "2022-09-16T14:44...
true
1,366,475,160
4,956
Fix TF tests for 2.10
closed
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
2022-09-08T14:39:10
2022-09-08T15:16:51
2022-09-08T15:14:44
Fixes #4953
Rocketknight1
https://github.com/huggingface/datasets/pull/4956
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/4956", "html_url": "https://github.com/huggingface/datasets/pull/4956", "diff_url": "https://github.com/huggingface/datasets/pull/4956.diff", "patch_url": "https://github.com/huggingface/datasets/pull/4956.patch", "merged_at": "2022-09-08T15:14...
true
1,366,382,314
4,955
Raise a more precise error when the URL is unreachable in streaming mode
open
[]
2022-09-08T13:52:37
2022-09-08T13:53:36
null
See for example: - https://github.com/huggingface/datasets/issues/3191 - https://github.com/huggingface/datasets/issues/3186 It would help provide clearer information on the Hub and help the dataset maintainer solve the issue by themselves quicker. Currently: - https://huggingface.co/datasets/compguesswhat ...
severo
https://github.com/huggingface/datasets/issues/4955
null
false
1,366,369,682
4,954
Pin TensorFlow temporarily
closed
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
2022-09-08T13:46:15
2022-09-08T14:12:33
2022-09-08T14:10:03
Temporarily fix TensorFlow until a permanent solution is found. Related to: - #4953
albertvillanova
https://github.com/huggingface/datasets/pull/4954
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/4954", "html_url": "https://github.com/huggingface/datasets/pull/4954", "diff_url": "https://github.com/huggingface/datasets/pull/4954.diff", "patch_url": "https://github.com/huggingface/datasets/pull/4954.patch", "merged_at": "2022-09-08T14:10...
true
1,366,356,514
4,953
CI test of TensorFlow is failing
closed
[]
2022-09-08T13:39:29
2022-09-08T15:14:45
2022-09-08T15:14:45
## Describe the bug The following CI test fails: https://github.com/huggingface/datasets/runs/8246722693?check_suite_focus=true ``` FAILED tests/test_py_utils.py::TempSeedTest::test_tensorflow - AssertionError: ``` Details: ``` _________________________ TempSeedTest.test_tensorflow _________________________ [...
albertvillanova
https://github.com/huggingface/datasets/issues/4953
null
false
1,366,354,604
4,952
Add test-datasets CI job
closed
[ "_The documentation is not available anymore as the PR was closed or merged._", "Closing this one since the dataset scripts will be removed in https://github.com/huggingface/datasets/pull/4974" ]
2022-09-08T13:38:30
2023-09-24T10:05:57
2022-09-16T13:25:48
To avoid having too many conflicts in the datasets and metrics dependencies I split the CI into test and test-catalog test does the test of the core of the `datasets` lib, while test-catalog tests the datasets scripts and metrics scripts This also makes `pip install -e .[dev]` much smaller for developers WDYT ...
lhoestq
https://github.com/huggingface/datasets/pull/4952
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/4952", "html_url": "https://github.com/huggingface/datasets/pull/4952", "diff_url": "https://github.com/huggingface/datasets/pull/4952.diff", "patch_url": "https://github.com/huggingface/datasets/pull/4952.patch", "merged_at": null }
true
1,365,954,814
4,951
Fix license information in qasc dataset card
closed
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
2022-09-08T10:04:39
2022-09-08T14:54:47
2022-09-08T14:52:05
This PR adds the license information to `qasc` dataset, once reported via GitHub by Tushar Khot, the dataset is licensed under CC BY 4.0: - https://github.com/allenai/qasc/issues/5
albertvillanova
https://github.com/huggingface/datasets/pull/4951
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/4951", "html_url": "https://github.com/huggingface/datasets/pull/4951", "diff_url": "https://github.com/huggingface/datasets/pull/4951.diff", "patch_url": "https://github.com/huggingface/datasets/pull/4951.patch", "merged_at": "2022-09-08T14:52...
true
1,365,458,633
4,950
Update Enwik8 broken link and information
closed
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
2022-09-08T03:15:00
2022-09-24T22:14:35
2022-09-08T14:51:00
The current enwik8 dataset link give a 502 bad gateway error which can be view on https://huggingface.co/datasets/enwik8 (click the dropdown to see the dataset preview, it will show the error). This corrects the links, and json metadata as well as adds a little bit more information about enwik8.
mtanghu
https://github.com/huggingface/datasets/pull/4950
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/4950", "html_url": "https://github.com/huggingface/datasets/pull/4950", "diff_url": "https://github.com/huggingface/datasets/pull/4950.diff", "patch_url": "https://github.com/huggingface/datasets/pull/4950.patch", "merged_at": "2022-09-08T14:51...
true
1,365,251,916
4,949
Update enwik8 fixing the broken link
closed
[ "Closing pull request to following contributing guidelines of making a new branch and will make a new pull request" ]
2022-09-07T22:17:14
2022-09-08T03:14:04
2022-09-08T03:14:04
The current enwik8 dataset link give a 502 bad gateway error which can be view on https://huggingface.co/datasets/enwik8 (click the dropdown to see the dataset preview, it will show the error). This corrects the links, and json metadata as well as adds a little bit more information about enwik8.
mtanghu
https://github.com/huggingface/datasets/pull/4949
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/4949", "html_url": "https://github.com/huggingface/datasets/pull/4949", "diff_url": "https://github.com/huggingface/datasets/pull/4949.diff", "patch_url": "https://github.com/huggingface/datasets/pull/4949.patch", "merged_at": null }
true
1,364,973,778
4,948
Fix minor typo in error message for missing imports
closed
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
2022-09-07T17:20:51
2022-09-08T14:59:31
2022-09-08T14:57:15
null
mariosasko
https://github.com/huggingface/datasets/pull/4948
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/4948", "html_url": "https://github.com/huggingface/datasets/pull/4948", "diff_url": "https://github.com/huggingface/datasets/pull/4948.diff", "patch_url": "https://github.com/huggingface/datasets/pull/4948.patch", "merged_at": "2022-09-08T14:57...
true
1,364,967,957
4,947
Try to fix the Windows CI after TF update 2.10
closed
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_4947). All of your documentation changes will be reflected on that endpoint." ]
2022-09-07T17:14:49
2023-09-24T10:05:38
2022-09-08T09:13:10
null
lhoestq
https://github.com/huggingface/datasets/pull/4947
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/4947", "html_url": "https://github.com/huggingface/datasets/pull/4947", "diff_url": "https://github.com/huggingface/datasets/pull/4947.diff", "patch_url": "https://github.com/huggingface/datasets/pull/4947.patch", "merged_at": null }
true
1,364,692,069
4,946
Introduce regex check when pushing as well
closed
[ "_The documentation is not available anymore as the PR was closed or merged._", "Let me take over this PR if you don't mind" ]
2022-09-07T13:45:58
2022-09-13T10:19:01
2022-09-13T10:16:34
Closes https://github.com/huggingface/datasets/issues/4945 by adding a regex check when pushing to hub. Let me know if this is helpful and if it's the fix you would have in mind for the issue and I'm happy to contribute tests.
LysandreJik
https://github.com/huggingface/datasets/pull/4946
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/4946", "html_url": "https://github.com/huggingface/datasets/pull/4946", "diff_url": "https://github.com/huggingface/datasets/pull/4946.diff", "patch_url": "https://github.com/huggingface/datasets/pull/4946.patch", "merged_at": "2022-09-13T10:16...
true
1,364,691,096
4,945
Push to hub can push splits that do not respect the regex
closed
[]
2022-09-07T13:45:17
2022-09-13T10:16:35
2022-09-13T10:16:35
## Describe the bug The `push_to_hub` method can push splits that do not respect the regex check that is used for downloads. Therefore, splits may be pushed but never re-used, which can be painful if the split was done after runtime preprocessing. ## Steps to reproduce the bug ```python >>> from datasets import...
LysandreJik
https://github.com/huggingface/datasets/issues/4945
null
false
1,364,313,569
4,944
larger dataset, larger GPU memory in the training phase? Is that correct?
closed
[ "does the trainer save it in GPU? sooo curious... how to fix it", "It's my bad. didn't limit the input length" ]
2022-09-07T08:46:30
2022-09-07T12:34:58
2022-09-07T12:34:58
from datasets import set_caching_enabled set_caching_enabled(False) for ds_name in ["squad","newsqa","nqopen","narrativeqa"]: train_ds = load_from_disk("../../../dall/downstream/processedproqa/{}-train.hf".format(ds_name)) break train_ds = concatenate_datasets([train_ds,train_...
debby1103
https://github.com/huggingface/datasets/issues/4944
null
false
1,363,967,650
4,943
Add splits to MBPP dataset
closed
[ "```\r\n(env) cwarny@Cedrics-Air datasets % RUN_SLOW=1 pytest tests/test_dataset_common.py::LocalDatasetTest::test_load_real_dataset_mbpp\r\n================================================================================================ test session starts ==========================================================...
2022-09-07T01:18:31
2022-09-13T12:29:19
2022-09-13T12:27:21
This PR addresses https://github.com/huggingface/datasets/issues/4795
cwarny
https://github.com/huggingface/datasets/pull/4943
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/4943", "html_url": "https://github.com/huggingface/datasets/pull/4943", "diff_url": "https://github.com/huggingface/datasets/pull/4943.diff", "patch_url": "https://github.com/huggingface/datasets/pull/4943.patch", "merged_at": "2022-09-13T12:27...
true
1,363,869,421
4,942
Trec Dataset has incorrect labels
closed
[ "Thanks for reporting, @wmpauli. \r\n\r\nIndeed we recently fixed this issue:\r\n- #4801 \r\n\r\nThe fix will be accessible after our next library release. In the meantime, you can have it by passing `revision=\"main\"` to `load_dataset`." ]
2022-09-06T22:13:40
2022-09-08T11:12:03
2022-09-08T11:12:03
## Describe the bug Both coarse and fine labels seem to be out of line. ## Steps to reproduce the bug ```python from datasets import load_dataset dataset = "trec" raw_datasets = load_dataset(dataset) df = pd.DataFrame(raw_datasets["test"]) df.head() ``` ## Expected results text (string) | coarse_labe...
wmpauli
https://github.com/huggingface/datasets/issues/4942
null
false
1,363,622,861
4,941
Add Papers with Code ID to scifact dataset
closed
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
2022-09-06T17:46:37
2022-09-06T18:28:17
2022-09-06T18:26:01
This PR: - adds Papers with Code ID - forces sync between GitHub and Hub, which previously failed due to Hub validation error of the license tag: https://github.com/huggingface/datasets/runs/8200223631?check_suite_focus=true
albertvillanova
https://github.com/huggingface/datasets/pull/4941
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/4941", "html_url": "https://github.com/huggingface/datasets/pull/4941", "diff_url": "https://github.com/huggingface/datasets/pull/4941.diff", "patch_url": "https://github.com/huggingface/datasets/pull/4941.patch", "merged_at": "2022-09-06T18:26...
true
1,363,513,058
4,940
Fix multilinguality tag and missing sections in xquad_r dataset card
closed
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
2022-09-06T16:05:35
2022-09-12T10:11:07
2022-09-12T10:08:48
This PR fixes issue reported on the Hub: - Label as multilingual: https://huggingface.co/datasets/xquad_r/discussions/1
albertvillanova
https://github.com/huggingface/datasets/pull/4940
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/4940", "html_url": "https://github.com/huggingface/datasets/pull/4940", "diff_url": "https://github.com/huggingface/datasets/pull/4940.diff", "patch_url": "https://github.com/huggingface/datasets/pull/4940.patch", "merged_at": "2022-09-12T10:08...
true
1,363,468,679
4,939
Fix NonMatchingChecksumError in adv_glue dataset
closed
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
2022-09-06T15:31:16
2022-09-06T17:42:10
2022-09-06T17:39:16
Fix issue reported on the Hub: https://huggingface.co/datasets/adv_glue/discussions/1
albertvillanova
https://github.com/huggingface/datasets/pull/4939
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/4939", "html_url": "https://github.com/huggingface/datasets/pull/4939", "diff_url": "https://github.com/huggingface/datasets/pull/4939.diff", "patch_url": "https://github.com/huggingface/datasets/pull/4939.patch", "merged_at": "2022-09-06T17:39...
true
1,363,429,228
4,938
Remove main branch rename notice
closed
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
2022-09-06T15:03:05
2022-09-06T16:46:11
2022-09-06T16:43:53
We added a notice in README.md to show that we renamed the master branch to main, but we can remove it now (it's been 2 months) I also unpinned the github issue about the branch renaming
lhoestq
https://github.com/huggingface/datasets/pull/4938
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/4938", "html_url": "https://github.com/huggingface/datasets/pull/4938", "diff_url": "https://github.com/huggingface/datasets/pull/4938.diff", "patch_url": "https://github.com/huggingface/datasets/pull/4938.patch", "merged_at": "2022-09-06T16:43...
true
1,363,426,946
4,937
Remove deprecated identical_ok
closed
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
2022-09-06T15:01:24
2022-09-06T22:24:09
2022-09-06T22:21:57
`huggingface-hub` says that the `identical_ok` argument of `HfApi.upload_file` is now deprecated, and will be removed soon. It even has no effect at the moment when it's passed: ```python Args: ... identical_ok (`bool`, *optional*, defaults to `True`): Deprecated: will be removed in 0.11.0. ...
lhoestq
https://github.com/huggingface/datasets/pull/4937
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/4937", "html_url": "https://github.com/huggingface/datasets/pull/4937", "diff_url": "https://github.com/huggingface/datasets/pull/4937.diff", "patch_url": "https://github.com/huggingface/datasets/pull/4937.patch", "merged_at": "2022-09-06T22:21...
true
1,363,274,907
4,936
vivos (Vietnamese speech corpus) dataset not accessible
closed
[ "If you need an example of a small audio datasets, I just created few hours ago a speech dataset with only 300MB of compressed audio files https://huggingface.co/datasets/indonesian-nlp/librivox-indonesia. It works also with streaming (@albertvillanova helped me adding this functionality) :-)", "@cahya-wirawan om...
2022-09-06T13:17:55
2022-09-21T06:06:02
2022-09-12T07:14:20
## Describe the bug VIVOS data is not accessible anymore, neither of these links work (at least from France): * https://ailab.hcmus.edu.vn/assets/vivos.tar.gz (data) * https://ailab.hcmus.edu.vn/vivos (dataset page) Therefore `load_dataset` doesn't work. ## Steps to reproduce the bug ```python ds = load_dat...
polinaeterna
https://github.com/huggingface/datasets/issues/4936
null
false
1,363,226,736
4,935
Dataset Viewer issue for ubuntu_dialogs_corpus
closed
[ "The dataset maintainers (https://huggingface.co/datasets/ubuntu_dialogs_corpus) decided to forbid the dataset from being downloaded automatically (https://huggingface.co/docs/datasets/v2.4.0/en/loading#manual-download), and the dataset viewer respects this.\r\nWe will try to improve the error display though. Thank...
2022-09-06T12:41:50
2022-09-06T12:51:25
2022-09-06T12:51:25
### Link _No response_ ### Description _No response_ ### Owner _No response_
CibinQuadance
https://github.com/huggingface/datasets/issues/4935
null
false
1,363,034,253
4,934
Dataset Viewer issue for indonesian-nlp/librivox-indonesia
closed
[ "The error is not related to the dataset viewer. I'm having a look...", "Thanks @albertvillanova for checking the issue. Actually, I can use the dataset like following:\r\n```\r\n>>> from datasets import load_dataset\r\n>>> ds=load_dataset(\"indonesian-nlp/librivox-indonesia\")\r\nNo config specified, defaulting ...
2022-09-06T10:03:23
2022-09-06T12:46:40
2022-09-06T12:46:40
### Link https://huggingface.co/datasets/indonesian-nlp/librivox-indonesia ### Description I created a new speech dataset https://huggingface.co/datasets/indonesian-nlp/librivox-indonesia, but the dataset preview doesn't work with following error message: ``` Server error Status code: 400 Exception: TypeEr...
cahya-wirawan
https://github.com/huggingface/datasets/issues/4934
null
false
1,363,013,023
4,933
Dataset/DatasetDict.filter() cannot have `batched=True` due to `mask` (numpy array?) being non-iterable.
closed
[ "Hi ! When `batched=True`, you filter function must take a batch as input, and return a list of booleans.\r\n\r\nIn your case, something like\r\n```python\r\nfrom datasets import load_dataset\r\n\r\n\r\nds_mc4_ja = load_dataset(\"mc4\", \"ja\") # This will take 6+ hours... perhaps test it with a toy dataset instea...
2022-09-06T09:47:48
2022-09-06T11:44:27
2022-09-06T11:44:27
## Describe the bug `Dataset/DatasetDict.filter()` cannot have `batched=True` due to `mask` (numpy array?) being non-iterable. ## Steps to reproduce the bug (In a python 3.7.12 env, I've tried 2.4.0 and 2.3.2 with both `pyarraw==9.0.0` and `pyarrow==8.0.0`.) ```python from datasets import load_dataset ds_...
tianjianjiang
https://github.com/huggingface/datasets/issues/4933
null
false
1,362,522,423
4,932
Dataset Viewer issue for bigscience-biomedical/biosses
closed
[ "Possibly not related to the dataset viewer in itself. cc @huggingface/datasets.\r\n\r\nIn particular, I think that the import of bigbiohub is not working here: https://huggingface.co/datasets/bigscience-biomedical/biosses/blob/main/biosses.py#L29 (requires a relative path?)\r\n\r\n```python\r\n>>> from datasets im...
2022-09-05T22:40:32
2022-09-06T14:24:56
2022-09-06T14:24:56
### Link https://huggingface.co/datasets/bigscience-biomedical/biosses ### Description I've just been working on adding the dataset loader script to this dataset and working with the relative imports. I'm not sure how to interpret the error below (show where the dataset preview used to be) . ``` Status code: 40...
galtay
https://github.com/huggingface/datasets/issues/4932
null
false
1,362,298,764
4,931
Fix missing tags in dataset cards
closed
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
2022-09-05T17:03:04
2022-09-22T12:40:15
2022-09-06T05:39:29
Fix missing tags in dataset cards: - coqa - hyperpartisan_news_detection - opinosis - scientific_papers - scifact - search_qa - wiki_qa - wiki_split - wikisql This PR partially fixes the missing tags in dataset cards. Subsequent PRs will follow to complete this task. Related to: - #4833 - #4891 - #489...
albertvillanova
https://github.com/huggingface/datasets/pull/4931
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/4931", "html_url": "https://github.com/huggingface/datasets/pull/4931", "diff_url": "https://github.com/huggingface/datasets/pull/4931.diff", "patch_url": "https://github.com/huggingface/datasets/pull/4931.patch", "merged_at": "2022-09-06T05:39...
true
1,362,193,587
4,930
Add cc-by-nc-2.0 to list of licenses
closed
[ "_The documentation is not available anymore as the PR was closed or merged._", "this list needs to be kept in sync with the ones in moon-landing and hub-docs :)", "@julien-c don't you think it might be better to a have a single file (source of truth) in one of the repos and then use it in every other repo, ins...
2022-09-05T15:37:32
2022-09-06T16:43:32
2022-09-05T17:01:04
This PR adds the `cc-by-nc-2.0` to the list of licenses because it is required by `scifact` dataset: https://github.com/allenai/scifact/blob/master/LICENSE.md
albertvillanova
https://github.com/huggingface/datasets/pull/4930
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/4930", "html_url": "https://github.com/huggingface/datasets/pull/4930", "diff_url": "https://github.com/huggingface/datasets/pull/4930.diff", "patch_url": "https://github.com/huggingface/datasets/pull/4930.patch", "merged_at": "2022-09-05T17:01...
true
1,361,508,366
4,929
Fixes a typo in loading documentation
closed
[]
2022-09-05T07:18:54
2022-09-06T02:11:03
2022-09-05T13:06:38
As show in the [documentation page](https://huggingface.co/docs/datasets/loading) here the `"tr"in` should be `"train`. ![image](https://user-images.githubusercontent.com/7144772/188390445-e1f04d54-e3e3-4762-8686-63ecbe4087e5.png)
sighingnow
https://github.com/huggingface/datasets/pull/4929
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/4929", "html_url": "https://github.com/huggingface/datasets/pull/4929", "diff_url": "https://github.com/huggingface/datasets/pull/4929.diff", "patch_url": "https://github.com/huggingface/datasets/pull/4929.patch", "merged_at": "2022-09-05T13:06...
true
1,360,941,172
4,928
Add ability to read-write to SQL databases.
closed
[ "_The documentation is not available anymore as the PR was closed or merged._", "Ah CI runs with `pandas=1.3.5` which doesn't return the number of row inserted.", "wow this is super cool!", "@lhoestq I'm getting error in integration tests, not sure if it's related to my PR. Any help would be appreciated :) \r...
2022-09-03T19:09:08
2022-10-03T16:34:36
2022-10-03T16:32:28
Fixes #3094 Add ability to read/write to SQLite files and also read from any SQL database supported by SQLAlchemy. I didn't add SQLAlchemy as a dependence as it is fairly big and it remains optional. I also recorded a Loom to showcase the feature. https://www.loom.com/share/f0e602c2de8a46f58bca4b43333d541...
Dref360
https://github.com/huggingface/datasets/pull/4928
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/4928", "html_url": "https://github.com/huggingface/datasets/pull/4928", "diff_url": "https://github.com/huggingface/datasets/pull/4928.diff", "patch_url": "https://github.com/huggingface/datasets/pull/4928.patch", "merged_at": "2022-10-03T16:32...
true
1,360,428,139
4,927
fix BLEU metric card
closed
[]
2022-09-02T17:00:56
2022-09-09T16:28:15
2022-09-09T16:28:15
I've fixed some typos in BLEU metric card.
antoniolanza1996
https://github.com/huggingface/datasets/pull/4927
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/4927", "html_url": "https://github.com/huggingface/datasets/pull/4927", "diff_url": "https://github.com/huggingface/datasets/pull/4927.diff", "patch_url": "https://github.com/huggingface/datasets/pull/4927.patch", "merged_at": "2022-09-09T16:28...
true
1,360,384,484
4,926
Dataset infos in yaml
closed
[ "_The documentation is not available anymore as the PR was closed or merged._", "Alright this is ready for review :)\r\nI mostly would like your opinion on the YAML structure and what we can do in the docs (IMO we can add the docs about those fields in the Hub docs). Other than that let me know if the changes in ...
2022-09-02T16:10:05
2024-05-04T14:52:50
2022-10-03T09:11:12
To simplify the addition of new datasets, we'd like to have the dataset infos in the YAML and deprecate the dataset_infos.json file. YAML is readable and easy to edit, and the YAML metadata of the readme already contain dataset metadata so we would have everything in one place. To be more specific, I moved these fie...
lhoestq
https://github.com/huggingface/datasets/pull/4926
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/4926", "html_url": "https://github.com/huggingface/datasets/pull/4926", "diff_url": "https://github.com/huggingface/datasets/pull/4926.diff", "patch_url": "https://github.com/huggingface/datasets/pull/4926.patch", "merged_at": "2022-10-03T09:11...
true
1,360,007,616
4,925
Add note about loading image / audio files to docs
closed
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_4925). All of your documentation changes will be reflected on that endpoint.", "Thanks for the feedback @polinaeterna ! I've reworded the docs a bit to integrate your comments and this should be ready for another review :)", ...
2022-09-02T10:31:58
2022-09-26T12:21:30
2022-09-23T13:59:07
This PR adds a small note about how to load image / audio datasets that have multiple splits in their dataset structure. Related forum thread: https://discuss.huggingface.co/t/loading-train-and-test-splits-with-audiofolder/22447 cc @NielsRogge
lewtun
https://github.com/huggingface/datasets/pull/4925
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/4925", "html_url": "https://github.com/huggingface/datasets/pull/4925", "diff_url": "https://github.com/huggingface/datasets/pull/4925.diff", "patch_url": "https://github.com/huggingface/datasets/pull/4925.patch", "merged_at": null }
true
1,358,611,513
4,924
Concatenate_datasets loads everything into RAM
closed
[]
2022-09-01T10:25:17
2022-09-01T11:50:54
2022-09-01T11:50:54
## Describe the bug When loading the datasets seperately and saving them on disk, I want to concatenate them. But `concatenate_datasets` is filling up my RAM and the process gets killed. Is there a way to prevent this from happening or is this intended behaviour? Thanks in advance ## Steps to reproduce the bug ```...
louisdeneve
https://github.com/huggingface/datasets/issues/4924
null
false
1,357,735,287
4,923
decode mp3 with librosa if torchaudio is > 0.12 as a temporary workaround
closed
[ "_The documentation is not available anymore as the PR was closed or merged._", "Thanks ! Should we still support torchaudio>0.12 if it works ? And if it doesn't we can explain that downgrading is the right solution, or alternatively use librosa", "@lhoestq \r\n\r\n> Should we still support torchaudio>0.12 if i...
2022-08-31T18:57:59
2022-11-02T11:54:33
2022-09-20T13:12:52
`torchaudio>0.12` fails with decoding mp3 files if `ffmpeg<4`. currently we ask users to downgrade torchaudio, but sometimes it's not possible as torchaudio version is binded to torch version. as a temporary workaround we can decode mp3 with librosa (though it 60 times slower, at least it works) another option would...
polinaeterna
https://github.com/huggingface/datasets/pull/4923
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/4923", "html_url": "https://github.com/huggingface/datasets/pull/4923", "diff_url": "https://github.com/huggingface/datasets/pull/4923.diff", "patch_url": "https://github.com/huggingface/datasets/pull/4923.patch", "merged_at": "2022-09-20T13:12...
true
1,357,684,018
4,922
I/O error on Google Colab in streaming mode
closed
[]
2022-08-31T18:08:26
2022-08-31T18:15:48
2022-08-31T18:15:48
## Describe the bug When trying to load a streaming dataset in Google Colab the loading fails with an I/O error ## Steps to reproduce the bug ```python import datasets from datasets import load_dataset hf_ds = load_dataset(path='wmt19', name='cs-en', streaming=True, split=datasets.Split.VALIDATION) list(hf_ds....
jotterbach
https://github.com/huggingface/datasets/issues/4922
null
false
1,357,609,003
4,921
Fix missing tags in dataset cards
closed
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
2022-08-31T16:52:27
2022-09-22T14:34:11
2022-09-01T05:04:53
Fix missing tags in dataset cards: - eraser_multi_rc - hotpot_qa - metooma - movie_rationales - qanta - quora - quoref - race - ted_hrlr - ted_talks_iwslt This PR partially fixes the missing tags in dataset cards. Subsequent PRs will follow to complete this task. Related to: - #4833 - #4891 - #4896 ...
albertvillanova
https://github.com/huggingface/datasets/pull/4921
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/4921", "html_url": "https://github.com/huggingface/datasets/pull/4921", "diff_url": "https://github.com/huggingface/datasets/pull/4921.diff", "patch_url": "https://github.com/huggingface/datasets/pull/4921.patch", "merged_at": "2022-09-01T05:04...
true
1,357,564,589
4,920
Unable to load local tsv files through load_dataset method
closed
[ "Hi @DataNoob0723,\r\n\r\nUnder the hood, we use `pandas` to load CSV/TSV files. Therefore, you should use \"csv\" and pass `sep=\"\\t\"`, as explained in our docs: https://huggingface.co/docs/datasets/v2.4.0/en/package_reference/loading_methods#from-files\r\n```python\r\nds = load_dataset('csv', sep=\"\\t\", data_...
2022-08-31T16:13:39
2022-09-01T05:31:30
2022-09-01T05:31:30
## Describe the bug Unable to load local tsv files through load_dataset method. ## Steps to reproduce the bug ```python # Sample code to reproduce the bug data_files = { 'train': 'train.tsv', 'test': 'test.tsv' } raw_datasets = load_dataset('tsv', data_files=data_files) ## Expected results I am p...
DataNoob0723
https://github.com/huggingface/datasets/issues/4920
null
false
1,357,441,599
4,919
feat: improve error message on Keys mismatch. closes #4917
closed
[ "_The documentation is not available anymore as the PR was closed or merged._", "We are having an unrelated issue that makes several tests fail. We are working on that. Once fixed, you will be able to merge the main branch into this, so that you get the fix and the tests pass..." ]
2022-08-31T14:41:36
2022-09-05T08:46:01
2022-09-05T08:43:33
Hi @lhoestq what do you think? Let me give you a code sample: ```py >>> import datasets >>> foo = datasets.Dataset.from_dict({'foo':[0,1], 'bar':[2,3]}) >>> foo.save_to_disk('foo') # edit foo/dataset_info.json e.g. rename the 'foo' feature to 'baz' >>> datasets.load_from_disk('foo') --------------------------...
PaulLerner
https://github.com/huggingface/datasets/pull/4919
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/4919", "html_url": "https://github.com/huggingface/datasets/pull/4919", "diff_url": "https://github.com/huggingface/datasets/pull/4919.diff", "patch_url": "https://github.com/huggingface/datasets/pull/4919.patch", "merged_at": "2022-09-05T08:43...
true
1,357,242,757
4,918
Dataset Viewer issue for pysentimiento/spanish-targeted-sentiment-headlines
closed
[ "Thanks for reporting, it's fixed now (I refreshed it manually). It's a known issue; we hope it will be fixed permanently in a few days.\r\n\r\n<img width=\"1508\" alt=\"Capture d’écran 2022-09-05 à 18 31 22\" src=\"https://user-images.githubusercontent.com/1676121/188489762-0ed86a7e-dfb3-46e8-a125-43b815a2c6f4.p...
2022-08-31T12:09:07
2022-09-05T21:36:34
2022-09-05T16:32:44
### Link https://huggingface.co/datasets/pysentimiento/spanish-targeted-sentiment-headlines ### Description After moving the dataset from my user (`finiteautomata`) to the `pysentimiento` organization, the dataset viewer says that it doesn't exist. ### Owner _No response_
finiteautomata
https://github.com/huggingface/datasets/issues/4918
null
false
1,357,193,841
4,917
Keys mismatch: make error message more informative
closed
[ "Good idea ! I think this can be improved in `Features.reorder_fields_as()` indeed at\r\n\r\nhttps://github.com/huggingface/datasets/blob/7feeb5648a63b6135a8259dedc3b1e19185ee4c7/src/datasets/features/features.py#L1739-L1740\r\n\r\nIs it something you would be interested in contributing ?", "Is this open to work ...
2022-08-31T11:24:34
2022-09-05T08:43:38
2022-09-05T08:43:38
**Is your feature request related to a problem? Please describe.** When loading a dataset from disk with a defect in its `dataset_info.json` describing its features (I don’t know when/why/how this happens but it deserves its own issue), you will get an error message like: `ValueError: Keys mismatch: between {'bar': V...
PaulLerner
https://github.com/huggingface/datasets/issues/4917
null
false
1,357,076,940
4,916
Apache Beam unable to write the downloaded wikipedia dataset
closed
[ "See:\r\n- #4915" ]
2022-08-31T09:39:25
2022-08-31T10:53:19
2022-08-31T10:53:19
## Describe the bug Hi, I am currently trying to download wikipedia dataset using load_dataset("wikipedia", language="aa", date="20220401", split="train",beam_runner='DirectRunner'). However, I end up in getting filenotfound error. I get this error for any language I try to download. It downloads the file but while s...
Shilpac20
https://github.com/huggingface/datasets/issues/4916
null
false
1,356,009,042
4,915
FileNotFoundError while downloading wikipedia dataset for any language
open
[ "Hi @Shilpac20,\r\n\r\nAs explained in the Wikipedia dataset card: https://huggingface.co/datasets/wikipedia\r\n> You can find the full list of languages and dates [here](https://dumps.wikimedia.org/backup-index.html).\r\n\r\nThis means that, before passing a specific date, you should first make sure it is availabl...
2022-08-30T16:15:46
2022-12-04T22:20:33
null
## Describe the bug Hi, I am currently trying to download wikipedia dataset using load_dataset("wikipedia", language="aa", date="20220401", split="train",beam_runner='DirectRunner'). However, I end up in getting filenotfound error. I get this error for any language I try to download. Environment: ## Step...
Shilpac20
https://github.com/huggingface/datasets/issues/4915
null
false
1,355,482,624
4,914
Support streaming swda dataset
closed
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
2022-08-30T09:46:28
2022-08-30T11:16:33
2022-08-30T11:14:16
Support streaming swda dataset.
albertvillanova
https://github.com/huggingface/datasets/pull/4914
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/4914", "html_url": "https://github.com/huggingface/datasets/pull/4914", "diff_url": "https://github.com/huggingface/datasets/pull/4914.diff", "patch_url": "https://github.com/huggingface/datasets/pull/4914.patch", "merged_at": "2022-08-30T11:14...
true
1,355,232,007
4,913
Add license and citation information to cosmos_qa dataset
closed
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
2022-08-30T06:23:19
2022-08-30T09:49:31
2022-08-30T09:47:35
This PR adds the license information to `cosmos_qa` dataset, once reported via email by Yejin Choi, the dataset is licensed under CC BY 4.0. This PR also updates the citation information.
albertvillanova
https://github.com/huggingface/datasets/pull/4913
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/4913", "html_url": "https://github.com/huggingface/datasets/pull/4913", "diff_url": "https://github.com/huggingface/datasets/pull/4913.diff", "patch_url": "https://github.com/huggingface/datasets/pull/4913.patch", "merged_at": "2022-08-30T09:47...
true
1,355,078,864
4,912
datasets map() handles all data at a stroke and takes long time
closed
[ "Hi ! Interesting question ;)\r\n\r\n> Which is better? Process in map() or in data-collator\r\n\r\nAs you said, both can be used in practice: map() if you want to preprocess before training, or a data-collator (or the equivalent `dataset.set_transform`) if you want to preprocess on-the-fly during training. Both op...
2022-08-30T02:25:56
2023-04-06T09:43:58
2022-09-06T09:23:35
**1. Background** Huggingface datasets package advises using `map()` to process data in batches. In the example code on pretraining masked language model, they use `map()` to tokenize all data at a stroke before the train loop. The corresponding code: ``` with accelerator.main_process_first(): tokenized_...
BruceStayHungry
https://github.com/huggingface/datasets/issues/4912
null
false
1,354,426,978
4,911
[Tests] Ensure `datasets` supports renamed repositories
open
[ "You could also switch to using `huggingface_hub` more directly, where such a guarantee is already tested =)\r\n\r\ncc @Wauplin ", "Hi! @lhoestq, I'd love to work on this issue as part of my ongoing contributions to `datasets`.\n\nI'm planning to implement an integration test that ensures `load_dataset()` works e...
2022-08-29T14:46:14
2025-06-19T06:10:52
null
On https://hf.co/datasets you can rename a dataset (or sometimes move it to another user/org). The website handles redirections correctly and AFAIK `datasets` does as well. However it would be nice to have an integration test to make sure we don't break support for renamed datasets. To implement this we can use t...
lhoestq
https://github.com/huggingface/datasets/issues/4911
null
false
1,354,374,328
4,910
Identical keywords in build_kwargs and config_kwargs lead to TypeError in load_dataset_builder()
open
[ "I am getting similar error - `TypeError: type object got multiple values for keyword argument 'name'` while following this [tutorial](https://huggingface.co/docs/datasets/dataset_script#create-a-dataset-loading-script). I am getting this error with the `dataset-cli test` command.\r\n\r\n`datasets` version: 2.4.0",...
2022-08-29T14:11:48
2025-09-15T08:14:21
null
## Describe the bug In `load_dataset_builder()`, `build_kwargs` and `config_kwargs` can contain the same keywords leading to a TypeError("type object got multiple values for keyword argument "xyz"). I ran into this problem with the keyword: `base_path`. It might happen with other kwargs as well. I think a quickfix...
bablf
https://github.com/huggingface/datasets/issues/4910
null
false
1,353,997,788
4,909
Update GLUE evaluation metadata
closed
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
2022-08-29T09:43:44
2022-08-29T14:53:29
2022-08-29T14:51:18
This PR updates the evaluation metadata for GLUE to: * Include defaults for all configs except `ax` (which only has a `test` split with no known labels) * Fix the default split from `test` to `validation` since `test` splits in GLUE have no labels (they're private) * Fix the `task_id` for some existing defaults ...
lewtun
https://github.com/huggingface/datasets/pull/4909
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/4909", "html_url": "https://github.com/huggingface/datasets/pull/4909", "diff_url": "https://github.com/huggingface/datasets/pull/4909.diff", "patch_url": "https://github.com/huggingface/datasets/pull/4909.patch", "merged_at": "2022-08-29T14:51...
true
1,353,995,574
4,908
Fix missing tags in dataset cards
closed
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
2022-08-29T09:41:53
2022-09-22T14:35:56
2022-08-29T16:13:07
Fix missing tags in dataset cards: - asnq - clue - common_gen - cosmos_qa - guardian_authorship - hindi_discourse - py_ast - x_stance This PR partially fixes the missing tags in dataset cards. Subsequent PRs will follow to complete this task. Related to: - #4833 - #4891 - #4896
albertvillanova
https://github.com/huggingface/datasets/pull/4908
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/4908", "html_url": "https://github.com/huggingface/datasets/pull/4908", "diff_url": "https://github.com/huggingface/datasets/pull/4908.diff", "patch_url": "https://github.com/huggingface/datasets/pull/4908.patch", "merged_at": "2022-08-29T16:13...
true
1,353,808,348
4,907
None Type error for swda datasets
closed
[ "Thanks for reporting @hannan72 ! I couldn't reproduce the error on my side, can you share the full stack trace please ?", "Thanks a lot for your response @lhoestq \r\nThe problem is solved accidentally today and I don't know exactly why it was happened yesterday.\r\nThe issue can be closed.", "Ok, let us know ...
2022-08-29T07:05:20
2022-08-30T14:43:41
2022-08-30T14:43:41
## Describe the bug I got `'NoneType' object is not callable` error while calling the swda datasets. ## Steps to reproduce the bug ```python from datasets import load_dataset dataset = load_dataset("swda") ``` ## Expected results Run without error ## Environment info <!-- You can run the command `datase...
hannan72
https://github.com/huggingface/datasets/issues/4907
null
false
1,353,223,925
4,906
Can't import datasets AttributeError: partially initialized module 'datasets' has no attribute 'utils' (most likely due to a circular import)
closed
[ "Thanks for reporting, @OPterminator.\r\n\r\nHowever, we are not able to reproduce this issue.\r\n\r\nThere might be 2 reasons why you get this exception:\r\n- Either the name of your local Python file: if it is called `datasets.py` this could generate a circular import when trying to import the Hugging Face `data...
2022-08-28T02:23:24
2024-11-16T08:59:17
2022-10-03T12:22:50
## Describe the bug A clear and concise description of what the bug is. Not able to import datasets ## Steps to reproduce the bug ```python # Sample code to reproduce the bug import os os.environ["WANDB_API_KEY"] = "0" ## to silence warning import numpy as np import random import sklearn import matplotlib.p...
OPterminator
https://github.com/huggingface/datasets/issues/4906
null
false
1,353,002,837
4,904
[LibriSpeech] Fix dev split local_extracted_archive for 'all' config
closed
[ "_The documentation is not available anymore as the PR was closed or merged._", "This PR fixes a bug introduced in:\r\n- #4184" ]
2022-08-27T10:04:57
2022-08-30T10:06:21
2022-08-30T10:03:25
We define the keys for the `_DL_URLS` of the dev split as `dev.clean` and `dev.other`: https://github.com/huggingface/datasets/blob/2e7142a3c6500b560da45e8d5128e320a09fcbd4/datasets/librispeech_asr/librispeech_asr.py#L60-L61 These keys get forwarded to the `dl_manager` and thus the `local_extracted_archive`. How...
sanchit-gandhi
https://github.com/huggingface/datasets/pull/4904
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/4904", "html_url": "https://github.com/huggingface/datasets/pull/4904", "diff_url": "https://github.com/huggingface/datasets/pull/4904.diff", "patch_url": "https://github.com/huggingface/datasets/pull/4904.patch", "merged_at": "2022-08-30T10:03...
true
1,352,539,075
4,903
Fix CI reporting
closed
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
2022-08-26T17:16:30
2022-08-26T17:49:33
2022-08-26T17:46:59
Fix CI so that it reports defaults (failed and error) besides the custom (xfailed and xpassed) in the test summary. This PR fixes a regression introduced by: - #4845 This introduced the reporting of xfailed and xpassed, but wrongly removed the reporting of the defaults failed and error.
albertvillanova
https://github.com/huggingface/datasets/pull/4903
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/4903", "html_url": "https://github.com/huggingface/datasets/pull/4903", "diff_url": "https://github.com/huggingface/datasets/pull/4903.diff", "patch_url": "https://github.com/huggingface/datasets/pull/4903.patch", "merged_at": "2022-08-26T17:46...
true
1,352,469,196
4,902
Name the default config `default`
closed
[ "Addressed in #5331." ]
2022-08-26T16:16:22
2023-07-24T21:15:31
2023-07-24T21:15:31
Currently, if a dataset has no configuration, a default configuration is created from the dataset name. For example, for a dataset loaded from the hub repository, such as https://huggingface.co/datasets/user/dataset (repo id is `user/dataset`), the default configuration will be `user--dataset`. It might be easier...
severo
https://github.com/huggingface/datasets/issues/4902
null
false