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/5001
5,001
Support loading XML datasets
CC: @davanstrien
open
2022-09-20T18:42:58
https://api.github.com/repos/huggingface/datasets/issues/5001/comments
{ "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
Support loading XML datasets CC: @davanstrien
[ "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...
https://api.github.com/repos/huggingface/datasets/issues/5000
5,000
Dataset Viewer issue for asapp/slue
### 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
closed
2022-09-20T16:45:45
https://api.github.com/repos/huggingface/datasets/issues/5000/comments
null
false
Dataset Viewer issue for asapp/slue ### 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
[ "<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...
https://api.github.com/repos/huggingface/datasets/issues/4999
4,999
Add EmptyDatasetError
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...
closed
2022-09-20T15:28:05
https://api.github.com/repos/huggingface/datasets/issues/4999/comments
{ "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
Add EmptyDatasetError 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 "/User...
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
https://api.github.com/repos/huggingface/datasets/issues/4998
4,998
Don't add a tag on the Hub on release
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:/...
closed
2022-09-20T13:54:57
https://api.github.com/repos/huggingface/datasets/issues/4998/comments
{ "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
Don't add a tag on the Hub on release 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...
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
https://api.github.com/repos/huggingface/datasets/issues/4997
4,997
Add support for parsing JSON files in array form
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...
closed
2022-09-20T13:31:26
https://api.github.com/repos/huggingface/datasets/issues/4997/comments
{ "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
Add support for parsing JSON files in array form 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_...
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
https://api.github.com/repos/huggingface/datasets/issues/4996
4,996
Dataset Viewer issue for Jean-Baptiste/wikiner_fr
### 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...
closed
2022-09-20T12:32:07
https://api.github.com/repos/huggingface/datasets/issues/4996/comments
null
false
Dataset Viewer issue for Jean-Baptiste/wikiner_fr ### 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...
[ "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: ...
https://api.github.com/repos/huggingface/datasets/issues/4995
4,995
Get a specific Exception when the dataset has no data
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...
closed
2022-09-20T09:31:59
https://api.github.com/repos/huggingface/datasets/issues/4995/comments
null
false
Get a specific Exception when the dataset has no data 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...
[]
https://api.github.com/repos/huggingface/datasets/issues/4994
4,994
delete the hardcoded license list in `datasets`
> 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...
closed
2022-09-20T09:14:41
https://api.github.com/repos/huggingface/datasets/issues/4994/comments
null
false
delete the hardcoded license list in `datasets` > 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-12384016...
[]
https://api.github.com/repos/huggingface/datasets/issues/4993
4,993
fix: avoid casting tuples after Dataset.map
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.
closed
2022-09-20T08:45:16
https://api.github.com/repos/huggingface/datasets/issues/4993/comments
{ "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
fix: avoid casting tuples after Dataset.map 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.
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
https://api.github.com/repos/huggingface/datasets/issues/4992
4,992
Support streaming iwslt2017 dataset
Support streaming iwslt2017 dataset. Once this PR is merged: - [x] Remove old ".tgz" data files from the Hub.
closed
2022-09-20T08:35:41
https://api.github.com/repos/huggingface/datasets/issues/4992/comments
{ "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
Support streaming iwslt2017 dataset Support streaming iwslt2017 dataset. Once this PR is merged: - [x] Remove old ".tgz" data files from the Hub.
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
https://api.github.com/repos/huggingface/datasets/issues/4991
4,991
Fix missing tags in dataset cards
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 - ...
closed
2022-09-20T06:42:07
https://api.github.com/repos/huggingface/datasets/issues/4991/comments
{ "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
Fix missing tags in dataset cards 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 - #4...
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
https://api.github.com/repos/huggingface/datasets/issues/4990
4,990
"no-token" is passed to `huggingface_hub` when token is `None`
## 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...
closed
2022-09-19T15:14:40
https://api.github.com/repos/huggingface/datasets/issues/4990/comments
null
false
"no-token" is passed to `huggingface_hub` when token is `None` ## 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 ...
[ "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 @...
https://api.github.com/repos/huggingface/datasets/issues/4989
4,989
Running add_column() seems to corrupt existing sequence-type column info
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 ...
closed
2022-09-17T17:42:05
https://api.github.com/repos/huggingface/datasets/issues/4989/comments
null
false
Running add_column() seems to corrupt existing sequence-type column info 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 li...
[ "Nevermind, I was incorrect." ]
https://api.github.com/repos/huggingface/datasets/issues/4988
4,988
Add `IterableDataset.from_generator` to the API
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
closed
2022-09-16T15:19:41
https://api.github.com/repos/huggingface/datasets/issues/4988/comments
null
false
Add `IterableDataset.from_generator` to the API 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
[ "#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." ]
https://api.github.com/repos/huggingface/datasets/issues/4987
4,987
Embed image/audio data in dl_and_prepare parquet
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.
closed
2022-09-16T14:09:27
https://api.github.com/repos/huggingface/datasets/issues/4987/comments
{ "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
Embed image/audio data in dl_and_prepare parquet 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.
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
https://api.github.com/repos/huggingface/datasets/issues/4986
4,986
[doc] Fix broken snippet that had too many quotes
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...
closed
2022-09-16T12:41:07
https://api.github.com/repos/huggingface/datasets/issues/4986/comments
{ "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
[doc] Fix broken snippet that had too many quotes 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 screensho...
[ "_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 ...
https://api.github.com/repos/huggingface/datasets/issues/4985
4,985
Prefer split patterns from directories over split patterns from filenames
related to https://github.com/huggingface/datasets/issues/4895
closed
2022-09-16T11:20:40
https://api.github.com/repos/huggingface/datasets/issues/4985/comments
{ "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
Prefer split patterns from directories over split patterns from filenames related to https://github.com/huggingface/datasets/issues/4895
[ "_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...
https://api.github.com/repos/huggingface/datasets/issues/4984
4,984
docs: ✏️ add links to the Datasets API
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 ...
closed
2022-09-16T09:34:12
https://api.github.com/repos/huggingface/datasets/issues/4984/comments
{ "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
docs: ✏️ add links to the Datasets API 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 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" ]
https://api.github.com/repos/huggingface/datasets/issues/4983
4,983
How to convert torch.utils.data.Dataset to huggingface dataset?
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]...
closed
2022-09-16T09:15:10
https://api.github.com/repos/huggingface/datasets/issues/4983/comments
null
false
How to convert torch.utils.data.Dataset to huggingface dataset? 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`, lik...
[ "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:...
https://api.github.com/repos/huggingface/datasets/issues/4982
4,982
Create dataset_infos.json with VALIDATION and TEST splits
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...
closed
2022-09-16T08:21:19
https://api.github.com/repos/huggingface/datasets/issues/4982/comments
null
false
Create dataset_infos.json with VALIDATION and TEST splits 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 s...
[ "@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...
https://api.github.com/repos/huggingface/datasets/issues/4981
4,981
Can't create a dataset with `float16` features
## 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...
open
2022-09-15T21:03:24
https://api.github.com/repos/huggingface/datasets/issues/4981/comments
null
false
Can't create a dataset with `float16` features ## 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 olde...
[ "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",...
https://api.github.com/repos/huggingface/datasets/issues/4980
4,980
Make `pyarrow` optional
**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.
closed
2022-09-15T17:38:03
https://api.github.com/repos/huggingface/datasets/issues/4980/comments
null
false
Make `pyarrow` optional **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.
[ "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...
https://api.github.com/repos/huggingface/datasets/issues/4979
4,979
Fix missing tags in dataset cards
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
closed
2022-09-15T16:51:03
https://api.github.com/repos/huggingface/datasets/issues/4979/comments
{ "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
Fix missing tags in dataset cards 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...
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
https://api.github.com/repos/huggingface/datasets/issues/4978
4,978
Update IndicGLUE download links
null
closed
2022-09-15T10:05:57
https://api.github.com/repos/huggingface/datasets/issues/4978/comments
{ "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
Update IndicGLUE download links
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
https://api.github.com/repos/huggingface/datasets/issues/4977
4,977
Providing dataset size
**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...
open
2022-09-14T13:09:27
https://api.github.com/repos/huggingface/datasets/issues/4977/comments
null
false
Providing dataset size **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). **D...
[ "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...
https://api.github.com/repos/huggingface/datasets/issues/4976
4,976
Hope to adapt Python3.9 as soon as possible
**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...
open
2022-09-14T04:42:22
https://api.github.com/repos/huggingface/datasets/issues/4976/comments
null
false
Hope to adapt Python3.9 as soon as possible **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 c...
[ "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?" ]
https://api.github.com/repos/huggingface/datasets/issues/4975
4,975
Add `fn_kwargs` param to `IterableDataset.map`
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)
closed
2022-09-13T16:19:05
https://api.github.com/repos/huggingface/datasets/issues/4975/comments
{ "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
Add `fn_kwargs` param to `IterableDataset.map` 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)
[ "_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...
https://api.github.com/repos/huggingface/datasets/issues/4974
4,974
[GH->HF] Part 2: Remove all dataset scripts from github
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
closed
2022-09-13T16:01:12
https://api.github.com/repos/huggingface/datasets/issues/4974/comments
{ "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
[GH->HF] Part 2: Remove all dataset scripts from github 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 ...
[ "_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...
https://api.github.com/repos/huggingface/datasets/issues/4973
4,973
[GH->HF] Load datasets from the Hub
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...
closed
2022-09-13T15:01:41
https://api.github.com/repos/huggingface/datasets/issues/4973/comments
{ "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
[GH->HF] Load datasets from the Hub 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/hug...
[ "_The documentation is not available anymore as the PR was closed or merged._", "Duplicate of:\r\n- #4059" ]
https://api.github.com/repos/huggingface/datasets/issues/4972
4,972
Fix map batched with torch output
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.
closed
2022-09-13T13:16:34
https://api.github.com/repos/huggingface/datasets/issues/4972/comments
{ "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
Fix map batched with torch output 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.
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
https://api.github.com/repos/huggingface/datasets/issues/4971
4,971
Preserve non-`input_colums` in `Dataset.map` if `input_columns` are specified
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...
closed
2022-09-12T18:08:24
https://api.github.com/repos/huggingface/datasets/issues/4971/comments
{ "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
Preserve non-`input_colums` in `Dataset.map` if `input_columns` are specified 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 introdu...
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
https://api.github.com/repos/huggingface/datasets/issues/4970
4,970
Support streaming nli_tr dataset
Support streaming nli_tr dataset. This PR removes legacy `codecs.open` and replaces it with `open` that supports passing encoding. Fix #3186.
closed
2022-09-12T07:48:45
https://api.github.com/repos/huggingface/datasets/issues/4970/comments
{ "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
Support streaming nli_tr dataset Support streaming nli_tr dataset. This PR removes legacy `codecs.open` and replaces it with `open` that supports passing encoding. Fix #3186.
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
https://api.github.com/repos/huggingface/datasets/issues/4969
4,969
Fix data URL and metadata of vivos dataset
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.
closed
2022-09-12T06:12:34
https://api.github.com/repos/huggingface/datasets/issues/4969/comments
{ "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
Fix data URL and metadata of vivos dataset 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 (homepag...
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
https://api.github.com/repos/huggingface/datasets/issues/4968
4,968
Support streaming compguesswhat dataset
Support streaming `compguesswhat` dataset. Fix #3191.
closed
2022-09-12T05:42:24
https://api.github.com/repos/huggingface/datasets/issues/4968/comments
{ "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
Support streaming compguesswhat dataset Support streaming `compguesswhat` dataset. Fix #3191.
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
https://api.github.com/repos/huggingface/datasets/issues/4967
4,967
Strip "/" in local dataset path to avoid empty dataset name error
null
closed
2022-09-11T23:09:16
https://api.github.com/repos/huggingface/datasets/issues/4967/comments
{ "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
Strip "/" in local dataset path to avoid empty dataset name error
[ "_The documentation is not available anymore as the PR was closed or merged._", "Cool :-)" ]
https://api.github.com/repos/huggingface/datasets/issues/4965
4,965
[Apple M1] MemoryError: Cannot allocate write+execute memory for ffi.callback()
## 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" / ...
closed
2022-09-10T15:55:49
https://api.github.com/repos/huggingface/datasets/issues/4965/comments
null
false
[Apple M1] MemoryError: Cannot allocate write+execute memory for ffi.callback() ## 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...
[ "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...
https://api.github.com/repos/huggingface/datasets/issues/4964
4,964
Column of arrays (2D+) are using unreasonably high memory
## 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, ...
open
2022-09-10T13:07:22
https://api.github.com/repos/huggingface/datasets/issues/4964/comments
null
false
Column of arrays (2D+) are using unreasonably high memory ## 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 ``...
[ "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 ...
https://api.github.com/repos/huggingface/datasets/issues/4963
4,963
Dataset without script does not support regular JSON data file
### 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
closed
2022-09-09T18:45:33
https://api.github.com/repos/huggingface/datasets/issues/4963/comments
null
false
Dataset without script does not support regular JSON data file ### 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
[ "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. " ]
https://api.github.com/repos/huggingface/datasets/issues/4962
4,962
Update setup.py
exclude broken version of fsspec. See the [related issue](https://github.com/huggingface/datasets/issues/4961)
closed
2022-09-09T17:57:56
https://api.github.com/repos/huggingface/datasets/issues/4962/comments
{ "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
Update setup.py exclude broken version of fsspec. See the [related issue](https://github.com/huggingface/datasets/issues/4961)
[ "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." ]
https://api.github.com/repos/huggingface/datasets/issues/4961
4,961
fsspec 2022.8.2 breaks xopen in streaming mode
## 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) ``` ...
closed
2022-09-09T17:26:55
https://api.github.com/repos/huggingface/datasets/issues/4961/comments
null
false
fsspec 2022.8.2 breaks xopen in streaming mode ## 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...
[ "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...
https://api.github.com/repos/huggingface/datasets/issues/4960
4,960
BioASQ AttributeError: 'BuilderConfig' object has no attribute 'schema'
## 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: ...
open
2022-09-09T16:06:43
https://api.github.com/repos/huggingface/datasets/issues/4960/comments
null
false
BioASQ AttributeError: 'BuilderConfig' object has no attribute 'schema' ## 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_t...
[ "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...
https://api.github.com/repos/huggingface/datasets/issues/4959
4,959
Fix data URLs of compguesswhat dataset
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
closed
2022-09-09T14:36:10
https://api.github.com/repos/huggingface/datasets/issues/4959/comments
{ "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
Fix data URLs of compguesswhat dataset 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
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
https://api.github.com/repos/huggingface/datasets/issues/4958
4,958
ConnectionError: Couldn't reach https://raw.githubusercontent.com/huggingface/datasets/2.4.0/datasets/jsonl/jsonl.py
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...
closed
2022-09-09T11:29:55
https://api.github.com/repos/huggingface/datasets/issues/4958/comments
null
false
ConnectionError: Couldn't reach https://raw.githubusercontent.com/huggingface/datasets/2.4.0/datasets/jsonl/jsonl.py 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...
[ "I have solved this problem... The extension of the file should be `.json` not `.jsonl`" ]
https://api.github.com/repos/huggingface/datasets/issues/4957
4,957
Add `Dataset.from_generator`
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
closed
2022-09-08T15:08:25
https://api.github.com/repos/huggingface/datasets/issues/4957/comments
{ "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
Add `Dataset.from_generator` 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
[ "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." ]
https://api.github.com/repos/huggingface/datasets/issues/4956
4,956
Fix TF tests for 2.10
Fixes #4953
closed
2022-09-08T14:39:10
https://api.github.com/repos/huggingface/datasets/issues/4956/comments
{ "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
Fix TF tests for 2.10 Fixes #4953
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
https://api.github.com/repos/huggingface/datasets/issues/4955
4,955
Raise a more precise error when the URL is unreachable in streaming mode
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 ...
open
2022-09-08T13:52:37
https://api.github.com/repos/huggingface/datasets/issues/4955/comments
null
false
Raise a more precise error when the URL is unreachable in streaming mode 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 ...
[]
https://api.github.com/repos/huggingface/datasets/issues/4954
4,954
Pin TensorFlow temporarily
Temporarily fix TensorFlow until a permanent solution is found. Related to: - #4953
closed
2022-09-08T13:46:15
https://api.github.com/repos/huggingface/datasets/issues/4954/comments
{ "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
Pin TensorFlow temporarily Temporarily fix TensorFlow until a permanent solution is found. Related to: - #4953
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
https://api.github.com/repos/huggingface/datasets/issues/4953
4,953
CI test of TensorFlow is failing
## 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 _________________________ [...
closed
2022-09-08T13:39:29
https://api.github.com/repos/huggingface/datasets/issues/4953/comments
null
false
CI test of TensorFlow is failing ## 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_tensor...
[]
https://api.github.com/repos/huggingface/datasets/issues/4952
4,952
Add test-datasets CI job
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 ...
closed
2022-09-08T13:38:30
https://api.github.com/repos/huggingface/datasets/issues/4952/comments
{ "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
Add test-datasets CI job 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 smalle...
[ "_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" ]
https://api.github.com/repos/huggingface/datasets/issues/4951
4,951
Fix license information in qasc dataset card
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
closed
2022-09-08T10:04:39
https://api.github.com/repos/huggingface/datasets/issues/4951/comments
{ "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
Fix license information in qasc dataset card 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
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
https://api.github.com/repos/huggingface/datasets/issues/4950
4,950
Update Enwik8 broken link and information
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.
closed
2022-09-08T03:15:00
https://api.github.com/repos/huggingface/datasets/issues/4950/comments
{ "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
Update Enwik8 broken link and information 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 informa...
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
https://api.github.com/repos/huggingface/datasets/issues/4949
4,949
Update enwik8 fixing the broken link
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.
closed
2022-09-07T22:17:14
https://api.github.com/repos/huggingface/datasets/issues/4949/comments
{ "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
Update enwik8 fixing the broken link 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 ...
[ "Closing pull request to following contributing guidelines of making a new branch and will make a new pull request" ]
https://api.github.com/repos/huggingface/datasets/issues/4948
4,948
Fix minor typo in error message for missing imports
null
closed
2022-09-07T17:20:51
https://api.github.com/repos/huggingface/datasets/issues/4948/comments
{ "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
Fix minor typo in error message for missing imports
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
https://api.github.com/repos/huggingface/datasets/issues/4947
4,947
Try to fix the Windows CI after TF update 2.10
null
closed
2022-09-07T17:14:49
https://api.github.com/repos/huggingface/datasets/issues/4947/comments
{ "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
Try to fix the Windows CI after TF update 2.10
[ "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." ]
https://api.github.com/repos/huggingface/datasets/issues/4946
4,946
Introduce regex check when pushing as well
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.
closed
2022-09-07T13:45:58
https://api.github.com/repos/huggingface/datasets/issues/4946/comments
{ "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
Introduce regex check when pushing as well 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.
[ "_The documentation is not available anymore as the PR was closed or merged._", "Let me take over this PR if you don't mind" ]
https://api.github.com/repos/huggingface/datasets/issues/4945
4,945
Push to hub can push splits that do not respect the regex
## 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...
closed
2022-09-07T13:45:17
https://api.github.com/repos/huggingface/datasets/issues/4945/comments
null
false
Push to hub can push splits that do not respect the regex ## 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...
[]
https://api.github.com/repos/huggingface/datasets/issues/4944
4,944
larger dataset, larger GPU memory in the training phase? Is that correct?
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_...
closed
2022-09-07T08:46:30
https://api.github.com/repos/huggingface/datasets/issues/4944/comments
null
false
larger dataset, larger GPU memory in the training phase? Is that correct? 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_nam...
[ "does the trainer save it in GPU? sooo curious... how to fix it", "It's my bad. didn't limit the input length" ]
https://api.github.com/repos/huggingface/datasets/issues/4943
4,943
Add splits to MBPP dataset
This PR addresses https://github.com/huggingface/datasets/issues/4795
closed
2022-09-07T01:18:31
https://api.github.com/repos/huggingface/datasets/issues/4943/comments
{ "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
Add splits to MBPP dataset This PR addresses https://github.com/huggingface/datasets/issues/4795
[ "```\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 ==========================================================...
https://api.github.com/repos/huggingface/datasets/issues/4942
4,942
Trec Dataset has incorrect labels
## 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...
closed
2022-09-06T22:13:40
https://api.github.com/repos/huggingface/datasets/issues/4942/comments
null
false
Trec Dataset has incorrect labels ## 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 re...
[ "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`." ]
https://api.github.com/repos/huggingface/datasets/issues/4941
4,941
Add Papers with Code ID to scifact dataset
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
closed
2022-09-06T17:46:37
https://api.github.com/repos/huggingface/datasets/issues/4941/comments
{ "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
Add Papers with Code ID to scifact dataset 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
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
https://api.github.com/repos/huggingface/datasets/issues/4940
4,940
Fix multilinguality tag and missing sections in xquad_r dataset card
This PR fixes issue reported on the Hub: - Label as multilingual: https://huggingface.co/datasets/xquad_r/discussions/1
closed
2022-09-06T16:05:35
https://api.github.com/repos/huggingface/datasets/issues/4940/comments
{ "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
Fix multilinguality tag and missing sections in xquad_r dataset card This PR fixes issue reported on the Hub: - Label as multilingual: https://huggingface.co/datasets/xquad_r/discussions/1
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
https://api.github.com/repos/huggingface/datasets/issues/4939
4,939
Fix NonMatchingChecksumError in adv_glue dataset
Fix issue reported on the Hub: https://huggingface.co/datasets/adv_glue/discussions/1
closed
2022-09-06T15:31:16
https://api.github.com/repos/huggingface/datasets/issues/4939/comments
{ "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
Fix NonMatchingChecksumError in adv_glue dataset Fix issue reported on the Hub: https://huggingface.co/datasets/adv_glue/discussions/1
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
https://api.github.com/repos/huggingface/datasets/issues/4938
4,938
Remove main branch rename notice
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
closed
2022-09-06T15:03:05
https://api.github.com/repos/huggingface/datasets/issues/4938/comments
{ "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
Remove main branch rename notice 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
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
https://api.github.com/repos/huggingface/datasets/issues/4937
4,937
Remove deprecated identical_ok
`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. ...
closed
2022-09-06T15:01:24
https://api.github.com/repos/huggingface/datasets/issues/4937/comments
{ "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
Remove deprecated identical_ok `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 ...
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
https://api.github.com/repos/huggingface/datasets/issues/4936
4,936
vivos (Vietnamese speech corpus) dataset not accessible
## 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...
closed
2022-09-06T13:17:55
https://api.github.com/repos/huggingface/datasets/issues/4936/comments
null
false
vivos (Vietnamese speech corpus) dataset not accessible ## 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. ...
[ "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...
https://api.github.com/repos/huggingface/datasets/issues/4935
4,935
Dataset Viewer issue for ubuntu_dialogs_corpus
### Link _No response_ ### Description _No response_ ### Owner _No response_
closed
2022-09-06T12:41:50
https://api.github.com/repos/huggingface/datasets/issues/4935/comments
null
false
Dataset Viewer issue for ubuntu_dialogs_corpus ### Link _No response_ ### Description _No response_ ### Owner _No response_
[ "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...
https://api.github.com/repos/huggingface/datasets/issues/4934
4,934
Dataset Viewer issue for indonesian-nlp/librivox-indonesia
### 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...
closed
2022-09-06T10:03:23
https://api.github.com/repos/huggingface/datasets/issues/4934/comments
null
false
Dataset Viewer issue for indonesian-nlp/librivox-indonesia ### 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: `...
[ "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 ...
https://api.github.com/repos/huggingface/datasets/issues/4933
4,933
Dataset/DatasetDict.filter() cannot have `batched=True` due to `mask` (numpy array?) being non-iterable.
## 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_...
closed
2022-09-06T09:47:48
https://api.github.com/repos/huggingface/datasets/issues/4933/comments
null
false
Dataset/DatasetDict.filter() cannot have `batched=True` due to `mask` (numpy array?) being non-iterable. ## 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 w...
[ "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...
https://api.github.com/repos/huggingface/datasets/issues/4932
4,932
Dataset Viewer issue for bigscience-biomedical/biosses
### 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...
closed
2022-09-05T22:40:32
https://api.github.com/repos/huggingface/datasets/issues/4932/comments
null
false
Dataset Viewer issue for bigscience-biomedical/biosses ### 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...
[ "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...
https://api.github.com/repos/huggingface/datasets/issues/4931
4,931
Fix missing tags in dataset cards
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...
closed
2022-09-05T17:03:04
https://api.github.com/repos/huggingface/datasets/issues/4931/comments
{ "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
Fix missing tags in dataset cards 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. Rel...
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
https://api.github.com/repos/huggingface/datasets/issues/4930
4,930
Add cc-by-nc-2.0 to list of licenses
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
closed
2022-09-05T15:37:32
https://api.github.com/repos/huggingface/datasets/issues/4930/comments
{ "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
Add cc-by-nc-2.0 to list of licenses 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
[ "_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...
https://api.github.com/repos/huggingface/datasets/issues/4929
4,929
Fixes a typo in loading documentation
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)
closed
2022-09-05T07:18:54
https://api.github.com/repos/huggingface/datasets/issues/4929/comments
{ "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
Fixes a typo in loading documentation 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)
[]
https://api.github.com/repos/huggingface/datasets/issues/4928
4,928
Add ability to read-write to SQL databases.
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...
closed
2022-09-03T19:09:08
https://api.github.com/repos/huggingface/datasets/issues/4928/comments
{ "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
Add ability to read-write to SQL databases. 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.lo...
[ "_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...
https://api.github.com/repos/huggingface/datasets/issues/4927
4,927
fix BLEU metric card
I've fixed some typos in BLEU metric card.
closed
2022-09-02T17:00:56
https://api.github.com/repos/huggingface/datasets/issues/4927/comments
{ "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
fix BLEU metric card I've fixed some typos in BLEU metric card.
[]
https://api.github.com/repos/huggingface/datasets/issues/4926
4,926
Dataset infos in yaml
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...
closed
2022-09-02T16:10:05
https://api.github.com/repos/huggingface/datasets/issues/4926/comments
{ "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
Dataset infos in yaml 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 speci...
[ "_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 ...
https://api.github.com/repos/huggingface/datasets/issues/4925
4,925
Add note about loading image / audio files to docs
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
closed
2022-09-02T10:31:58
https://api.github.com/repos/huggingface/datasets/issues/4925/comments
{ "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
Add note about loading image / audio files to docs 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
[ "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 :)", ...
https://api.github.com/repos/huggingface/datasets/issues/4924
4,924
Concatenate_datasets loads everything into RAM
## 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 ```...
closed
2022-09-01T10:25:17
https://api.github.com/repos/huggingface/datasets/issues/4924/comments
null
false
Concatenate_datasets loads everything into RAM ## 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 i...
[]
https://api.github.com/repos/huggingface/datasets/issues/4923
4,923
decode mp3 with librosa if torchaudio is > 0.12 as a temporary workaround
`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...
closed
2022-08-31T18:57:59
https://api.github.com/repos/huggingface/datasets/issues/4923/comments
{ "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
decode mp3 with librosa if torchaudio is > 0.12 as a temporary workaround `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 lib...
[ "_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...
https://api.github.com/repos/huggingface/datasets/issues/4922
4,922
I/O error on Google Colab in streaming mode
## 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....
closed
2022-08-31T18:08:26
https://api.github.com/repos/huggingface/datasets/issues/4922/comments
null
false
I/O error on Google Colab in streaming mode ## 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, s...
[]
https://api.github.com/repos/huggingface/datasets/issues/4921
4,921
Fix missing tags in dataset cards
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 ...
closed
2022-08-31T16:52:27
https://api.github.com/repos/huggingface/datasets/issues/4921/comments
{ "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
Fix missing tags in dataset cards 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. Relate...
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
https://api.github.com/repos/huggingface/datasets/issues/4920
4,920
Unable to load local tsv files through load_dataset method
## 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...
closed
2022-08-31T16:13:39
https://api.github.com/repos/huggingface/datasets/issues/4920/comments
null
false
Unable to load local tsv files through load_dataset method ## 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('...
[ "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_...
https://api.github.com/repos/huggingface/datasets/issues/4919
4,919
feat: improve error message on Keys mismatch. closes #4917
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') --------------------------...
closed
2022-08-31T14:41:36
https://api.github.com/repos/huggingface/datasets/issues/4919/comments
{ "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
feat: improve error message on Keys mismatch. closes #4917 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' >>>...
[ "_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..." ]
https://api.github.com/repos/huggingface/datasets/issues/4918
4,918
Dataset Viewer issue for pysentimiento/spanish-targeted-sentiment-headlines
### 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_
closed
2022-08-31T12:09:07
https://api.github.com/repos/huggingface/datasets/issues/4918/comments
null
false
Dataset Viewer issue for pysentimiento/spanish-targeted-sentiment-headlines ### 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...
[ "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...
https://api.github.com/repos/huggingface/datasets/issues/4917
4,917
Keys mismatch: make error message more informative
**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...
closed
2022-08-31T11:24:34
https://api.github.com/repos/huggingface/datasets/issues/4917/comments
null
false
Keys mismatch: make error message more informative **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 l...
[ "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 ...
https://api.github.com/repos/huggingface/datasets/issues/4916
4,916
Apache Beam unable to write the downloaded wikipedia dataset
## 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...
closed
2022-08-31T09:39:25
https://api.github.com/repos/huggingface/datasets/issues/4916/comments
null
false
Apache Beam unable to write the downloaded wikipedia dataset ## 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 ...
[ "See:\r\n- #4915" ]
https://api.github.com/repos/huggingface/datasets/issues/4915
4,915
FileNotFoundError while downloading wikipedia dataset for any language
## 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...
open
2022-08-30T16:15:46
https://api.github.com/repos/huggingface/datasets/issues/4915/comments
null
false
FileNotFoundError while downloading wikipedia dataset for any language ## 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 e...
[ "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...
https://api.github.com/repos/huggingface/datasets/issues/4914
4,914
Support streaming swda dataset
Support streaming swda dataset.
closed
2022-08-30T09:46:28
https://api.github.com/repos/huggingface/datasets/issues/4914/comments
{ "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
Support streaming swda dataset Support streaming swda dataset.
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
https://api.github.com/repos/huggingface/datasets/issues/4913
4,913
Add license and citation information to cosmos_qa dataset
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.
closed
2022-08-30T06:23:19
https://api.github.com/repos/huggingface/datasets/issues/4913/comments
{ "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
Add license and citation information to cosmos_qa dataset 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.
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
https://api.github.com/repos/huggingface/datasets/issues/4912
4,912
datasets map() handles all data at a stroke and takes long time
**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_...
closed
2022-08-30T02:25:56
https://api.github.com/repos/huggingface/datasets/issues/4912/comments
null
false
datasets map() handles all data at a stroke and takes long time **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 co...
[ "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...
https://api.github.com/repos/huggingface/datasets/issues/4911
4,911
[Tests] Ensure `datasets` supports renamed repositories
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...
open
2022-08-29T14:46:14
https://api.github.com/repos/huggingface/datasets/issues/4911/comments
null
false
[Tests] Ensure `datasets` supports renamed repositories 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...
[ "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...
https://api.github.com/repos/huggingface/datasets/issues/4910
4,910
Identical keywords in build_kwargs and config_kwargs lead to TypeError in load_dataset_builder()
## 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...
closed
2022-08-29T14:11:48
https://api.github.com/repos/huggingface/datasets/issues/4910/comments
null
false
Identical keywords in build_kwargs and config_kwargs lead to TypeError in load_dataset_builder() ## 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 pro...
[ "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",...
https://api.github.com/repos/huggingface/datasets/issues/4909
4,909
Update GLUE evaluation metadata
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 ...
closed
2022-08-29T09:43:44
https://api.github.com/repos/huggingface/datasets/issues/4909/comments
{ "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
Update GLUE evaluation metadata 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_i...
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
https://api.github.com/repos/huggingface/datasets/issues/4908
4,908
Fix missing tags in dataset cards
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
closed
2022-08-29T09:41:53
https://api.github.com/repos/huggingface/datasets/issues/4908/comments
{ "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
Fix missing tags in dataset cards 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...
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
https://api.github.com/repos/huggingface/datasets/issues/4907
4,907
None Type error for swda datasets
## 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...
closed
2022-08-29T07:05:20
https://api.github.com/repos/huggingface/datasets/issues/4907/comments
null
false
None Type error for swda datasets ## 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 <!...
[ "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 ...
https://api.github.com/repos/huggingface/datasets/issues/4906
4,906
Can't import datasets AttributeError: partially initialized module 'datasets' has no attribute 'utils' (most likely due to a circular import)
## 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...
closed
2022-08-28T02:23:24
https://api.github.com/repos/huggingface/datasets/issues/4906/comments
null
false
Can't import datasets AttributeError: partially initialized module 'datasets' has no attribute 'utils' (most likely due to a circular import) ## 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 b...
[ "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...
https://api.github.com/repos/huggingface/datasets/issues/4904
4,904
[LibriSpeech] Fix dev split local_extracted_archive for 'all' config
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...
closed
2022-08-27T10:04:57
https://api.github.com/repos/huggingface/datasets/issues/4904/comments
{ "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
[LibriSpeech] Fix dev split local_extracted_archive for 'all' config 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 forward...
[ "_The documentation is not available anymore as the PR was closed or merged._", "This PR fixes a bug introduced in:\r\n- #4184" ]
https://api.github.com/repos/huggingface/datasets/issues/4903
4,903
Fix CI reporting
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.
closed
2022-08-26T17:16:30
https://api.github.com/repos/huggingface/datasets/issues/4903/comments
{ "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
Fix CI reporting 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.
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
https://api.github.com/repos/huggingface/datasets/issues/4902
4,902
Name the default config `default`
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...
closed
2022-08-26T16:16:22
https://api.github.com/repos/huggingface/datasets/issues/4902/comments
null
false
Name the default config `default` 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 `use...
[ "Addressed in #5331." ]
https://api.github.com/repos/huggingface/datasets/issues/4901
4,901
Raise ManualDownloadError from get_dataset_config_info
This PRs raises a specific `ManualDownloadError` when `get_dataset_config_info` is called for a dataset that requires manual download. Related to: - #4898 CC: @severo
closed
2022-08-26T15:45:56
https://api.github.com/repos/huggingface/datasets/issues/4901/comments
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/4901", "html_url": "https://github.com/huggingface/datasets/pull/4901", "diff_url": "https://github.com/huggingface/datasets/pull/4901.diff", "patch_url": "https://github.com/huggingface/datasets/pull/4901.patch", "merged_at": "2022-08-30T10:40...
true
Raise ManualDownloadError from get_dataset_config_info This PRs raises a specific `ManualDownloadError` when `get_dataset_config_info` is called for a dataset that requires manual download. Related to: - #4898 CC: @severo
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
https://api.github.com/repos/huggingface/datasets/issues/4900
4,900
Dataset Viewer issue for asaxena1990/Dummy_dataset
### Link _No response_ ### Description _No response_ ### Owner _No response_
closed
2022-08-26T15:15:44
https://api.github.com/repos/huggingface/datasets/issues/4900/comments
null
false
Dataset Viewer issue for asaxena1990/Dummy_dataset ### Link _No response_ ### Description _No response_ ### Owner _No response_
[ "Seems to be linked to the use of the undocumented `_resolve_features` method in the dataset viewer backend:\r\n\r\n```\r\n>>> from datasets import load_dataset\r\n>>> dataset = load_dataset(\"asaxena1990/Dummy_dataset\", name=\"asaxena1990--Dummy_dataset\", split=\"train\", streaming=True)\r\nUsing custom data con...