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/6653
6,653
Set dev version
null
closed
2024-02-09T10:12:02
https://api.github.com/repos/huggingface/datasets/issues/6653/comments
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/6653", "html_url": "https://github.com/huggingface/datasets/pull/6653", "diff_url": "https://github.com/huggingface/datasets/pull/6653.diff", "patch_url": "https://github.com/huggingface/datasets/pull/6653.patch", "merged_at": "2024-02-09T10:12...
true
Set dev version
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_6653). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.", "<details>\n<summary>Show benchmarks</summary>\n\nPyArrow==8.0.0\n\n<details>\n<summary>...
https://api.github.com/repos/huggingface/datasets/issues/6652
6,652
Release: 2.17.0
null
closed
2024-02-09T09:25:01
https://api.github.com/repos/huggingface/datasets/issues/6652/comments
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/6652", "html_url": "https://github.com/huggingface/datasets/pull/6652", "diff_url": "https://github.com/huggingface/datasets/pull/6652.diff", "patch_url": "https://github.com/huggingface/datasets/pull/6652.patch", "merged_at": "2024-02-09T10:05...
true
Release: 2.17.0
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_6652). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.", "<details>\n<summary>Show benchmarks</summary>\n\nPyArrow==8.0.0\n\n<details>\n<summary>...
https://api.github.com/repos/huggingface/datasets/issues/6651
6,651
Slice splits support for datasets.load_from_disk
### Feature request Support for slice splits in `datasets.load_from_disk`, similar to how it's already supported for `datasets.load_dataset`. ### Motivation Slice splits are convienient in a numer of cases - adding support to `datasets.load_from_disk` would make working with local datasets easier and homogeniz...
open
2024-02-09T08:00:21
https://api.github.com/repos/huggingface/datasets/issues/6651/comments
null
false
Slice splits support for datasets.load_from_disk ### Feature request Support for slice splits in `datasets.load_from_disk`, similar to how it's already supported for `datasets.load_dataset`. ### Motivation Slice splits are convienient in a numer of cases - adding support to `datasets.load_from_disk` would make...
[]
https://api.github.com/repos/huggingface/datasets/issues/6650
6,650
AttributeError: 'InMemoryTable' object has no attribute '_batches'
### Describe the bug ``` Traceback (most recent call last): File "finetune.py", line 103, in <module> main(args) File "finetune.py", line 45, in main data_tokenized = data.map(partial(funcs.tokenize_function, tokenizer, File "/opt/conda/envs/ptca/lib/python3.8/site-packages/datasets/dataset_dict....
open
2024-02-08T17:11:26
https://api.github.com/repos/huggingface/datasets/issues/6650/comments
null
false
AttributeError: 'InMemoryTable' object has no attribute '_batches' ### Describe the bug ``` Traceback (most recent call last): File "finetune.py", line 103, in <module> main(args) File "finetune.py", line 45, in main data_tokenized = data.map(partial(funcs.tokenize_function, tokenizer, File "/opt...
[ "Hi! Does running the following code also return the same error on your machine? \r\n\r\n```python\r\nimport copy\r\nimport pyarrow as pa\r\nfrom datasets.table import InMemoryTable\r\n\r\ncopy.deepcopy(InMemoryTable(pa.table({\"a\": [1, 2, 3], \"b\": [\"foo\", \"bar\", \"foobar\"]})))\r\n```", "No, it doesn't, ...
https://api.github.com/repos/huggingface/datasets/issues/6649
6,649
Minor multi gpu doc improvement
just added torch.no_grad and eval()
closed
2024-02-08T11:17:24
https://api.github.com/repos/huggingface/datasets/issues/6649/comments
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/6649", "html_url": "https://github.com/huggingface/datasets/pull/6649", "diff_url": "https://github.com/huggingface/datasets/pull/6649.diff", "patch_url": "https://github.com/huggingface/datasets/pull/6649.patch", "merged_at": "2024-02-08T11:17...
true
Minor multi gpu doc improvement just added torch.no_grad and eval()
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_6649). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.", "<details>\n<summary>Show benchmarks</summary>\n\nPyArrow==8.0.0\n\n<details>\n<summary>...
https://api.github.com/repos/huggingface/datasets/issues/6648
6,648
Document usage of hfh cli instead of git
(basically the same content as the hfh upload docs, but adapted for datasets)
closed
2024-02-08T10:24:56
https://api.github.com/repos/huggingface/datasets/issues/6648/comments
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/6648", "html_url": "https://github.com/huggingface/datasets/pull/6648", "diff_url": "https://github.com/huggingface/datasets/pull/6648.diff", "patch_url": "https://github.com/huggingface/datasets/pull/6648.patch", "merged_at": "2024-02-08T13:51...
true
Document usage of hfh cli instead of git (basically the same content as the hfh upload docs, but adapted for datasets)
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_6648). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.", "<details>\n<summary>Show benchmarks</summary>\n\nPyArrow==8.0.0\n\n<details>\n<summary>...
https://api.github.com/repos/huggingface/datasets/issues/6647
6,647
Update loading.mdx to include "jsonl" file loading.
* A small update to the documentation, noting the ability to load jsonl files.
open
2024-02-07T16:18:08
https://api.github.com/repos/huggingface/datasets/issues/6647/comments
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/6647", "html_url": "https://github.com/huggingface/datasets/pull/6647", "diff_url": "https://github.com/huggingface/datasets/pull/6647.diff", "patch_url": "https://github.com/huggingface/datasets/pull/6647.patch", "merged_at": null }
true
Update loading.mdx to include "jsonl" file loading. * A small update to the documentation, noting the ability to load jsonl files.
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_6647). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.", "> Thanks for adding the explicit loading command.\r\n> \r\n> However, I would move it j...
https://api.github.com/repos/huggingface/datasets/issues/6646
6,646
Better multi-gpu example
Use Qwen1.5-0.5B-Chat as an easy example for multi-GPU the previous example was using a model for translation and the way it was setup was not really the right way to use the model.
closed
2024-02-07T14:15:01
https://api.github.com/repos/huggingface/datasets/issues/6646/comments
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/6646", "html_url": "https://github.com/huggingface/datasets/pull/6646", "diff_url": "https://github.com/huggingface/datasets/pull/6646.diff", "patch_url": "https://github.com/huggingface/datasets/pull/6646.patch", "merged_at": "2024-02-07T14:59...
true
Better multi-gpu example Use Qwen1.5-0.5B-Chat as an easy example for multi-GPU the previous example was using a model for translation and the way it was setup was not really the right way to use the model.
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_6646). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.", "<details>\n<summary>Show benchmarks</summary>\n\nPyArrow==8.0.0\n\n<details>\n<summary>...
https://api.github.com/repos/huggingface/datasets/issues/6645
6,645
Support fsspec 2024.2
Support fsspec 2024.2. First, we should address: - #6644
closed
2024-02-07T12:45:29
https://api.github.com/repos/huggingface/datasets/issues/6645/comments
null
false
Support fsspec 2024.2 Support fsspec 2024.2. First, we should address: - #6644
[ "I'd be very grateful. This upper bound banished me straight into dependency hell today. :(" ]
https://api.github.com/repos/huggingface/datasets/issues/6644
6,644
Support fsspec 2023.12
Support fsspec 2023.12 by handling previous and new glob behavior.
closed
2024-02-07T12:44:39
https://api.github.com/repos/huggingface/datasets/issues/6644/comments
null
false
Support fsspec 2023.12 Support fsspec 2023.12 by handling previous and new glob behavior.
[ "The pinned fsspec version range dependency conflict has been affecting several of our users in https://github.com/iterative/dvc. I've opened an initial PR that I think should resolve the glob behavior changes with using datasets + the latest fsspec release.\r\n\r\nPlease let us know if there's any other fsspec rel...
https://api.github.com/repos/huggingface/datasets/issues/6643
6,643
Faiss GPU index cannot be serialised when passed to trainer
### Describe the bug I am working on a retrieval project and encountering I have encountered two issues in the hugging face faiss integration: 1. I am trying to pass in a dataset with a faiss index to the Huggingface trainer. The code works for a cpu faiss index, but doesn't for a gpu one, getting error: ``` ...
open
2024-02-06T16:41:00
https://api.github.com/repos/huggingface/datasets/issues/6643/comments
null
false
Faiss GPU index cannot be serialised when passed to trainer ### Describe the bug I am working on a retrieval project and encountering I have encountered two issues in the hugging face faiss integration: 1. I am trying to pass in a dataset with a faiss index to the Huggingface trainer. The code works for a cpu fais...
[ "Hi ! make sure your query embeddings are numpy arrays, not torch tensors ;)", "Hi Quentin, not sure how that solves the problem number 1. I am trying to pass on a dataset with a faiss gpu for training to the standard trainer but getting this serialisation error. What is a workaround this? I do not want to remove...
https://api.github.com/repos/huggingface/datasets/issues/6642
6,642
Differently dataset object saved than it is loaded.
### Describe the bug Differently sized object is saved than it is loaded. ### Steps to reproduce the bug Hi, I save dataset in a following way: ``` dataset = load_dataset("json", data_files={ "train": os.path.join(input_folder, f"{task_met...
closed
2024-02-05T17:28:57
https://api.github.com/repos/huggingface/datasets/issues/6642/comments
null
false
Differently dataset object saved than it is loaded. ### Describe the bug Differently sized object is saved than it is loaded. ### Steps to reproduce the bug Hi, I save dataset in a following way: ``` dataset = load_dataset("json", data_files={ ...
[ "I see now, that I have to use `load_from_disk`, in order to load dataset properly, not `load_dataset`. Why is this behavior split? Why do we need both, `load_dataset` and `load_from_disk`?\r\n\r\nUnless answered, I believe this might be helpful for other hf datasets newbies.\r\n\r\nAnyway, made a `load_dataset` co...
https://api.github.com/repos/huggingface/datasets/issues/6641
6,641
unicodedecodeerror: 'utf-8' codec can't decode byte 0xac in position 25: invalid start byte
### Describe the bug unicodedecodeerror: 'utf-8' codec can't decode byte 0xac in position 25: invalid start byte ### Steps to reproduce the bug ``` import sys sys.getdefaultencoding() 'utf-8' from datasets import load_dataset print(f"Train dataset size: {len(dataset['train'])}") print(f"Test datase...
closed
2024-02-04T08:49:31
https://api.github.com/repos/huggingface/datasets/issues/6641/comments
null
false
unicodedecodeerror: 'utf-8' codec can't decode byte 0xac in position 25: invalid start byte ### Describe the bug unicodedecodeerror: 'utf-8' codec can't decode byte 0xac in position 25: invalid start byte ### Steps to reproduce the bug ``` import sys sys.getdefaultencoding() 'utf-8' from datasets impor...
[ "Hi @Hughhuh. \r\n\r\nI have formatted the issue because it was not easily readable. Additionally, the environment info is incomplete: it seems you did not run the proposed CLI command `datasets-cli env` and essential information is missing: version of `datasets`, version of `pyarrow`,...\r\n\r\nWith the informatio...
https://api.github.com/repos/huggingface/datasets/issues/6640
6,640
Sign Language Support
### Feature request Currently, there are only several Sign Language labels, I would like to propose adding all the Signed Languages as new labels which are described in this ISO standard: https://www.evertype.com/standards/iso639/sign-language.html ### Motivation Datasets currently only have labels for several signe...
open
2024-02-02T21:54:51
https://api.github.com/repos/huggingface/datasets/issues/6640/comments
null
false
Sign Language Support ### Feature request Currently, there are only several Sign Language labels, I would like to propose adding all the Signed Languages as new labels which are described in this ISO standard: https://www.evertype.com/standards/iso639/sign-language.html ### Motivation Datasets currently only have la...
[]
https://api.github.com/repos/huggingface/datasets/issues/6639
6,639
Run download_and_prepare if missing splits
A first step towards https://github.com/huggingface/datasets/issues/6529
open
2024-02-02T10:36:49
https://api.github.com/repos/huggingface/datasets/issues/6639/comments
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/6639", "html_url": "https://github.com/huggingface/datasets/pull/6639", "diff_url": "https://github.com/huggingface/datasets/pull/6639.diff", "patch_url": "https://github.com/huggingface/datasets/pull/6639.patch", "merged_at": null }
true
Run download_and_prepare if missing splits A first step towards https://github.com/huggingface/datasets/issues/6529
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_6639). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update." ]
https://api.github.com/repos/huggingface/datasets/issues/6638
6,638
Cannot download wmt16 dataset
### Describe the bug As of this morning (PST) 2/1/2024, seeing the wmt16 dataset is missing from opus , could you suggest an alternative? ``` Downloading data files: 0%| | 0/4 [00:00<?, ?it/s]Tra...
closed
2024-02-01T19:41:42
https://api.github.com/repos/huggingface/datasets/issues/6638/comments
null
false
Cannot download wmt16 dataset ### Describe the bug As of this morning (PST) 2/1/2024, seeing the wmt16 dataset is missing from opus , could you suggest an alternative? ``` Downloading data files: 0%| ...
[ "Looks like it works with latest datasets repository\r\n```\r\n- `datasets` version: 2.16.2.dev0\r\n- Platform: Linux-5.15.0-92-generic-x86_64-with-glibc2.29\r\n- Python version: 3.8.10\r\n- `huggingface_hub` version: 0.20.3\r\n- PyArrow version: 15.0.0\r\n- Pandas version: 2.0.1\r\n- `fsspec` version: 2023.10.0\r\...
https://api.github.com/repos/huggingface/datasets/issues/6637
6,637
'with_format' is extremely slow when used together with 'interleave_datasets' or 'shuffle' on IterableDatasets
### Describe the bug If you: 1. Interleave two iterable datasets together with the interleave_datasets function, or shuffle an iterable dataset 2. Set the output format to torch tensors with .with_format('torch') Then iterating through the dataset becomes over 100x slower than it is if you don't apply the torch...
closed
2024-02-01T17:16:54
https://api.github.com/repos/huggingface/datasets/issues/6637/comments
null
false
'with_format' is extremely slow when used together with 'interleave_datasets' or 'shuffle' on IterableDatasets ### Describe the bug If you: 1. Interleave two iterable datasets together with the interleave_datasets function, or shuffle an iterable dataset 2. Set the output format to torch tensors with .with_format(...
[ "The \"torch\" formatting is usually fast because we do zero-copy conversion from the Arrow data on your disk to Torch tensors. However IterableDataset shuffling seems to do data copies that slow down the pipeline, and it shuffles python objects instead of Arrow data.\r\n\r\nTo fix this we need to implement `Buffer...
https://api.github.com/repos/huggingface/datasets/issues/6636
6,636
Faster column validation and reordering
I work with bioinformatics data and often these tables have thousands and even tens of thousands of features. These tables are also accompanied by metadata that I do not want to pass in the model. When I perform `set_format('pt', columns=large_column_list)` , it can take several minutes before it finishes. The culprit ...
closed
2024-01-31T19:08:28
https://api.github.com/repos/huggingface/datasets/issues/6636/comments
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/6636", "html_url": "https://github.com/huggingface/datasets/pull/6636", "diff_url": "https://github.com/huggingface/datasets/pull/6636.diff", "patch_url": "https://github.com/huggingface/datasets/pull/6636.patch", "merged_at": "2024-02-06T23:03...
true
Faster column validation and reordering I work with bioinformatics data and often these tables have thousands and even tens of thousands of features. These tables are also accompanied by metadata that I do not want to pass in the model. When I perform `set_format('pt', columns=large_column_list)` , it can take several ...
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_6636). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.", "Thanks @mariosasko, I made the changes. However, I did some tests with `map` and I stil...
https://api.github.com/repos/huggingface/datasets/issues/6635
6,635
Fix missing info when loading some datasets from Parquet export
Fix getting the info for script-based datasets with Parquet export with a single config not named "default". E.g. ```python from datasets import load_dataset_builder b = load_dataset_builder("bookcorpus") print(b.info.features) # should print {'text': Value(dtype='string', id=None)} ``` I fixed this by ...
closed
2024-01-31T17:55:21
https://api.github.com/repos/huggingface/datasets/issues/6635/comments
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/6635", "html_url": "https://github.com/huggingface/datasets/pull/6635", "diff_url": "https://github.com/huggingface/datasets/pull/6635.diff", "patch_url": "https://github.com/huggingface/datasets/pull/6635.patch", "merged_at": "2024-02-07T16:41...
true
Fix missing info when loading some datasets from Parquet export Fix getting the info for script-based datasets with Parquet export with a single config not named "default". E.g. ```python from datasets import load_dataset_builder b = load_dataset_builder("bookcorpus") print(b.info.features) # should print {...
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_6635). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.", "<details>\n<summary>Show benchmarks</summary>\n\nPyArrow==8.0.0\n\n<details>\n<summary>...
https://api.github.com/repos/huggingface/datasets/issues/6634
6,634
Support data_dir parameter in push_to_hub
Support `data_dir` parameter in `push_to_hub`. This allows users to organize the data files according to their specific needs. For example, "wikimedia/wikipedia" files could be organized by year and/or date, e.g. "2024/20240101/20240101.en".
closed
2024-01-31T14:37:36
https://api.github.com/repos/huggingface/datasets/issues/6634/comments
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/6634", "html_url": "https://github.com/huggingface/datasets/pull/6634", "diff_url": "https://github.com/huggingface/datasets/pull/6634.diff", "patch_url": "https://github.com/huggingface/datasets/pull/6634.patch", "merged_at": "2024-02-05T10:26...
true
Support data_dir parameter in push_to_hub Support `data_dir` parameter in `push_to_hub`. This allows users to organize the data files according to their specific needs. For example, "wikimedia/wikipedia" files could be organized by year and/or date, e.g. "2024/20240101/20240101.en".
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_6634). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.", "@huggingface/datasets, feel free to review this PR so that it can be included in the ne...
https://api.github.com/repos/huggingface/datasets/issues/6633
6,633
dataset viewer requires no-script
null
closed
2024-01-31T13:41:54
https://api.github.com/repos/huggingface/datasets/issues/6633/comments
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/6633", "html_url": "https://github.com/huggingface/datasets/pull/6633", "diff_url": "https://github.com/huggingface/datasets/pull/6633.diff", "patch_url": "https://github.com/huggingface/datasets/pull/6633.patch", "merged_at": "2024-01-31T13:59...
true
dataset viewer requires no-script
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_6633). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.", "<details>\n<summary>Show benchmarks</summary>\n\nPyArrow==8.0.0\n\n<details>\n<summary>...
https://api.github.com/repos/huggingface/datasets/issues/6632
6,632
Fix reload cache with data dir
The cache used to only check for the latest cache directory with a given config_name, but it was wrong (e.g. `default-data_dir=data%2Ffortran-data_dir=data%2Ffortran` instead of `default-data_dir=data%2Ffortran`) I fixed this by not passing the `config_kwargs` to the parent Builder `__init__`, and passing the config...
closed
2024-01-30T18:52:23
https://api.github.com/repos/huggingface/datasets/issues/6632/comments
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/6632", "html_url": "https://github.com/huggingface/datasets/pull/6632", "diff_url": "https://github.com/huggingface/datasets/pull/6632.diff", "patch_url": "https://github.com/huggingface/datasets/pull/6632.patch", "merged_at": "2024-02-06T17:21...
true
Fix reload cache with data dir The cache used to only check for the latest cache directory with a given config_name, but it was wrong (e.g. `default-data_dir=data%2Ffortran-data_dir=data%2Ffortran` instead of `default-data_dir=data%2Ffortran`) I fixed this by not passing the `config_kwargs` to the parent Builder `__...
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_6632). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.", "<details>\n<summary>Show benchmarks</summary>\n\nPyArrow==8.0.0\n\n<details>\n<summary>...
https://api.github.com/repos/huggingface/datasets/issues/6631
6,631
Fix filelock: use current umask for filelock >= 3.10
reported in https://github.com/huggingface/evaluate/issues/542 cc @stas00 @williamberrios close https://github.com/huggingface/datasets/issues/6589
closed
2024-01-30T12:56:01
https://api.github.com/repos/huggingface/datasets/issues/6631/comments
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/6631", "html_url": "https://github.com/huggingface/datasets/pull/6631", "diff_url": "https://github.com/huggingface/datasets/pull/6631.diff", "patch_url": "https://github.com/huggingface/datasets/pull/6631.patch", "merged_at": "2024-01-30T15:28...
true
Fix filelock: use current umask for filelock >= 3.10 reported in https://github.com/huggingface/evaluate/issues/542 cc @stas00 @williamberrios close https://github.com/huggingface/datasets/issues/6589
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_6631). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.", "<details>\n<summary>Show benchmarks</summary>\n\nPyArrow==8.0.0\n\n<details>\n<summary>...
https://api.github.com/repos/huggingface/datasets/issues/6630
6,630
Bump max range of dill to 0.3.8
Release on Jan 27, 2024: https://pypi.org/project/dill/0.3.8/#history
closed
2024-01-29T21:35:55
https://api.github.com/repos/huggingface/datasets/issues/6630/comments
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/6630", "html_url": "https://github.com/huggingface/datasets/pull/6630", "diff_url": "https://github.com/huggingface/datasets/pull/6630.diff", "patch_url": "https://github.com/huggingface/datasets/pull/6630.patch", "merged_at": "2024-01-30T15:12...
true
Bump max range of dill to 0.3.8 Release on Jan 27, 2024: https://pypi.org/project/dill/0.3.8/#history
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_6630). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.", "Hmm these errors look pretty weird... can they be retried?", "Hi, thanks for working ...
https://api.github.com/repos/huggingface/datasets/issues/6629
6,629
Support push_to_hub without org/user to default to logged-in user
This behavior is aligned with: - the behavior of `datasets` before merging #6519 - the behavior described in the corresponding docstring - the behavior of `huggingface_hub.create_repo` Revert "Support push_to_hub canonical datasets (#6519)" - This reverts commit a887ee78835573f5d80f9e414e8443b4caff3541. Fix...
closed
2024-01-29T15:36:52
https://api.github.com/repos/huggingface/datasets/issues/6629/comments
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/6629", "html_url": "https://github.com/huggingface/datasets/pull/6629", "diff_url": "https://github.com/huggingface/datasets/pull/6629.diff", "patch_url": "https://github.com/huggingface/datasets/pull/6629.patch", "merged_at": "2024-02-05T12:29...
true
Support push_to_hub without org/user to default to logged-in user This behavior is aligned with: - the behavior of `datasets` before merging #6519 - the behavior described in the corresponding docstring - the behavior of `huggingface_hub.create_repo` Revert "Support push_to_hub canonical datasets (#6519)" - Th...
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_6629). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.", "@huggingface/datasets, feel free to review this PR so that it can be included in the ne...
https://api.github.com/repos/huggingface/datasets/issues/6628
6,628
Make CLI test support multi-processing
Support passing `--num_proc` to CLI test. This was really useful recently to run the command on `pubmed`: https://huggingface.co/datasets/pubmed/discussions/11
closed
2024-01-29T15:30:09
https://api.github.com/repos/huggingface/datasets/issues/6628/comments
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/6628", "html_url": "https://github.com/huggingface/datasets/pull/6628", "diff_url": "https://github.com/huggingface/datasets/pull/6628.diff", "patch_url": "https://github.com/huggingface/datasets/pull/6628.patch", "merged_at": "2024-02-05T10:23...
true
Make CLI test support multi-processing Support passing `--num_proc` to CLI test. This was really useful recently to run the command on `pubmed`: https://huggingface.co/datasets/pubmed/discussions/11
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_6628). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.", "@huggingface/datasets, feel free to review this PR so that it can be included in the ne...
https://api.github.com/repos/huggingface/datasets/issues/6627
6,627
Disable `tqdm` bars in non-interactive environments
Replace `disable=False` with `disable=None` in the `tqdm` bars to disable them in non-interactive environments (by default). For more info, see a [similar PR](https://github.com/huggingface/huggingface_hub/pull/2000) in `huggingface_hub`.
closed
2024-01-29T15:18:21
https://api.github.com/repos/huggingface/datasets/issues/6627/comments
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/6627", "html_url": "https://github.com/huggingface/datasets/pull/6627", "diff_url": "https://github.com/huggingface/datasets/pull/6627.diff", "patch_url": "https://github.com/huggingface/datasets/pull/6627.patch", "merged_at": "2024-01-29T15:41...
true
Disable `tqdm` bars in non-interactive environments Replace `disable=False` with `disable=None` in the `tqdm` bars to disable them in non-interactive environments (by default). For more info, see a [similar PR](https://github.com/huggingface/huggingface_hub/pull/2000) in `huggingface_hub`.
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_6627). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.", "<details>\n<summary>Show benchmarks</summary>\n\nPyArrow==8.0.0\n\n<details>\n<summary>...
https://api.github.com/repos/huggingface/datasets/issues/6626
6,626
Raise error on bad split name
e.g. dashes '-' are not allowed in split names This should add an error message on datasets with unsupported split names like https://huggingface.co/datasets/open-source-metrics/test cc @AndreaFrancis
closed
2024-01-29T13:17:41
https://api.github.com/repos/huggingface/datasets/issues/6626/comments
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/6626", "html_url": "https://github.com/huggingface/datasets/pull/6626", "diff_url": "https://github.com/huggingface/datasets/pull/6626.diff", "patch_url": "https://github.com/huggingface/datasets/pull/6626.patch", "merged_at": "2024-01-29T15:12...
true
Raise error on bad split name e.g. dashes '-' are not allowed in split names This should add an error message on datasets with unsupported split names like https://huggingface.co/datasets/open-source-metrics/test cc @AndreaFrancis
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_6626). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.", "<details>\n<summary>Show benchmarks</summary>\n\nPyArrow==8.0.0\n\n<details>\n<summary>...
https://api.github.com/repos/huggingface/datasets/issues/6624
6,624
How to download the laion-coco dataset
The laion coco dataset is not available now. How to download it https://huggingface.co/datasets/laion/laion-coco
closed
2024-01-28T03:56:05
https://api.github.com/repos/huggingface/datasets/issues/6624/comments
null
false
How to download the laion-coco dataset The laion coco dataset is not available now. How to download it https://huggingface.co/datasets/laion/laion-coco
[ "Hi, this dataset has been disabled by the authors, so unfortunately it's no longer possible to download it." ]
https://api.github.com/repos/huggingface/datasets/issues/6623
6,623
streaming datasets doesn't work properly with multi-node
### Feature request Let’s say I have a dataset with 5 samples with values [1, 2, 3, 4, 5], with 2 GPUs (for DDP) and batch size of 2. This dataset is an `IterableDataset` since I am streaming it. Now I split the dataset using `split_dataset_by_node` to ensure it doesn’t get repeated. And since it’s already splitt...
open
2024-01-27T23:46:13
https://api.github.com/repos/huggingface/datasets/issues/6623/comments
null
false
streaming datasets doesn't work properly with multi-node ### Feature request Let’s say I have a dataset with 5 samples with values [1, 2, 3, 4, 5], with 2 GPUs (for DDP) and batch size of 2. This dataset is an `IterableDataset` since I am streaming it. Now I split the dataset using `split_dataset_by_node` to ensu...
[ "@mariosasko, @lhoestq, @albertvillanova\r\nhey guys! can anyone help? or can you guys suggest who can help with this?", "Hi ! \r\n\r\n1. When the dataset is running of of examples, the last batches received by the GPU can be incomplete or empty/missing. We haven't implemented yet a way to ignore the last batch. ...
https://api.github.com/repos/huggingface/datasets/issues/6622
6,622
multi-GPU map does not work
### Describe the bug Here is the code for single-GPU processing: https://pastebin.com/bfmEeK2y Here is the code for multi-GPU processing: https://pastebin.com/gQ7i5AQy Here is the video showing that the multi-GPU mapping does not work as expected (there are so many things wrong here, it's better to watch the 3-min...
closed
2024-01-27T20:06:08
https://api.github.com/repos/huggingface/datasets/issues/6622/comments
null
false
multi-GPU map does not work ### Describe the bug Here is the code for single-GPU processing: https://pastebin.com/bfmEeK2y Here is the code for multi-GPU processing: https://pastebin.com/gQ7i5AQy Here is the video showing that the multi-GPU mapping does not work as expected (there are so many things wrong here, it...
[ "This should now be fixed by https://github.com/huggingface/datasets/pull/6550 and updated with https://github.com/huggingface/datasets/pull/6646\r\n\r\nFeel free to re-open if you're still having issues :)" ]
https://api.github.com/repos/huggingface/datasets/issues/6621
6,621
deleted
...
closed
2024-01-27T16:59:58
https://api.github.com/repos/huggingface/datasets/issues/6621/comments
null
false
deleted ...
[]
https://api.github.com/repos/huggingface/datasets/issues/6620
6,620
wiki_dpr.py error (ID mismatch between lines {id} and vector {vec_id}
### Describe the bug I'm trying to run a rag example, and the dataset is wiki_dpr. wiki_dpr download and extracting have been completed successfully. However, at the generating train split stage, an error from wiki_dpr.py keeps popping up. Especially in "_generate_examples" : 1. The following error occurs in the...
closed
2024-01-27T01:00:09
https://api.github.com/repos/huggingface/datasets/issues/6620/comments
null
false
wiki_dpr.py error (ID mismatch between lines {id} and vector {vec_id} ### Describe the bug I'm trying to run a rag example, and the dataset is wiki_dpr. wiki_dpr download and extracting have been completed successfully. However, at the generating train split stage, an error from wiki_dpr.py keeps popping up. Espe...
[ "Thanks for reporting, @kiehls90.\r\n\r\nAs this seems an issue with the specific \"wiki_dpr\" dataset, I am transferring the issue to the corresponding dataset page: https://huggingface.co/datasets/wiki_dpr/discussions/13" ]
https://api.github.com/repos/huggingface/datasets/issues/6619
6,619
Migrate from `setup.cfg` to `pyproject.toml`
Based on https://github.com/huggingface/huggingface_hub/pull/1971 in `hfh`
closed
2024-01-26T15:27:10
https://api.github.com/repos/huggingface/datasets/issues/6619/comments
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/6619", "html_url": "https://github.com/huggingface/datasets/pull/6619", "diff_url": "https://github.com/huggingface/datasets/pull/6619.diff", "patch_url": "https://github.com/huggingface/datasets/pull/6619.patch", "merged_at": "2024-01-26T15:47...
true
Migrate from `setup.cfg` to `pyproject.toml` Based on https://github.com/huggingface/huggingface_hub/pull/1971 in `hfh`
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_6619). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.", "<details>\n<summary>Show benchmarks</summary>\n\nPyArrow==8.0.0\n\n<details>\n<summary>...
https://api.github.com/repos/huggingface/datasets/issues/6618
6,618
While importing load_dataset from datasets
### Describe the bug cannot import name 'DEFAULT_CIPHERS' from 'urllib3.util.ssl_' this is the error i received ### Steps to reproduce the bug from datasets import load_dataset ### Expected behavior No errors ### Environment info python 3.11.5
closed
2024-01-26T09:21:57
https://api.github.com/repos/huggingface/datasets/issues/6618/comments
null
false
While importing load_dataset from datasets ### Describe the bug cannot import name 'DEFAULT_CIPHERS' from 'urllib3.util.ssl_' this is the error i received ### Steps to reproduce the bug from datasets import load_dataset ### Expected behavior No errors ### Environment info python 3.11.5
[ "Hi! Can you please share the error's stack trace so we can see where it comes from?", "We cannot reproduce the issue and we do not have enough information: environment info (need to run `datasets-cli env`), stack trace,...\r\n\r\nI am closing the issue. Feel free to reopen it (with additional information) if the...
https://api.github.com/repos/huggingface/datasets/issues/6617
6,617
Fix CI: pyarrow 15, pandas 2.2 and sqlachemy
this should fix the CI failures on `main` close https://github.com/huggingface/datasets/issues/5477
closed
2024-01-25T13:57:41
https://api.github.com/repos/huggingface/datasets/issues/6617/comments
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/6617", "html_url": "https://github.com/huggingface/datasets/pull/6617", "diff_url": "https://github.com/huggingface/datasets/pull/6617.diff", "patch_url": "https://github.com/huggingface/datasets/pull/6617.patch", "merged_at": "2024-01-26T14:50...
true
Fix CI: pyarrow 15, pandas 2.2 and sqlachemy this should fix the CI failures on `main` close https://github.com/huggingface/datasets/issues/5477
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_6617). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.", "<details>\n<summary>Show benchmarks</summary>\n\nPyArrow==8.0.0\n\n<details>\n<summary>...
https://api.github.com/repos/huggingface/datasets/issues/6616
6,616
Use schema metadata only if it matches features
e.g. if we use `map` in arrow format and transform the table, the returned table might have new columns but the metadata might be wrong
closed
2024-01-25T11:01:14
https://api.github.com/repos/huggingface/datasets/issues/6616/comments
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/6616", "html_url": "https://github.com/huggingface/datasets/pull/6616", "diff_url": "https://github.com/huggingface/datasets/pull/6616.diff", "patch_url": "https://github.com/huggingface/datasets/pull/6616.patch", "merged_at": "2024-01-26T16:19...
true
Use schema metadata only if it matches features e.g. if we use `map` in arrow format and transform the table, the returned table might have new columns but the metadata might be wrong
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_6616). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.", "<details>\n<summary>Show benchmarks</summary>\n\nPyArrow==8.0.0\n\n<details>\n<summary>...
https://api.github.com/repos/huggingface/datasets/issues/6615
6,615
...
...
closed
2024-01-24T19:37:03
https://api.github.com/repos/huggingface/datasets/issues/6615/comments
null
false
... ...
[ "Sorry I posted in the wrong repo, please delete.. thanks!" ]
https://api.github.com/repos/huggingface/datasets/issues/6614
6,614
`datasets/downloads` cleanup tool
### Feature request Splitting off https://github.com/huggingface/huggingface_hub/issues/1997 - currently `huggingface-cli delete-cache` doesn't take care of cleaning `datasets` temp files e.g. I discovered having millions of files under `datasets/downloads` cache, I had to do: ``` sudo find /data/huggingface/...
open
2024-01-24T18:52:10
https://api.github.com/repos/huggingface/datasets/issues/6614/comments
null
false
`datasets/downloads` cleanup tool ### Feature request Splitting off https://github.com/huggingface/huggingface_hub/issues/1997 - currently `huggingface-cli delete-cache` doesn't take care of cleaning `datasets` temp files e.g. I discovered having millions of files under `datasets/downloads` cache, I had to do: ...
[]
https://api.github.com/repos/huggingface/datasets/issues/6612
6,612
cnn_dailymail repeats itself
### Describe the bug When I try to load `cnn_dailymail` dataset, it takes longer than usual and when I checked the dataset it's 3x bigger than it's supposed to be. Check https://huggingface.co/datasets/cnn_dailymail: it says 287k rows for train. But when I check length of train split it says 861339. Also I che...
closed
2024-01-24T11:38:25
https://api.github.com/repos/huggingface/datasets/issues/6612/comments
null
false
cnn_dailymail repeats itself ### Describe the bug When I try to load `cnn_dailymail` dataset, it takes longer than usual and when I checked the dataset it's 3x bigger than it's supposed to be. Check https://huggingface.co/datasets/cnn_dailymail: it says 287k rows for train. But when I check length of train split ...
[ "Hi ! We recently updated `cnn_dailymail` and now `datasets>=2.14` is needed to load it.\r\n\r\nYou can update `datasets` with\r\n\r\n```\r\npip install -U datasets\r\n```" ]
https://api.github.com/repos/huggingface/datasets/issues/6611
6,611
`load_from_disk` with large dataset from S3 runs into `botocore.exceptions.ClientError`
### Describe the bug When loading a large dataset (>1000GB) from S3 I run into the following error: ``` Traceback (most recent call last): File "/home/alp/.local/lib/python3.10/site-packages/s3fs/core.py", line 113, in _error_wrapper return await func(*args, **kwargs) File "/home/alp/.local/lib/python3....
open
2024-01-23T12:37:57
https://api.github.com/repos/huggingface/datasets/issues/6611/comments
null
false
`load_from_disk` with large dataset from S3 runs into `botocore.exceptions.ClientError` ### Describe the bug When loading a large dataset (>1000GB) from S3 I run into the following error: ``` Traceback (most recent call last): File "/home/alp/.local/lib/python3.10/site-packages/s3fs/core.py", line 113, in _erro...
[]
https://api.github.com/repos/huggingface/datasets/issues/6610
6,610
cast_column to Sequence(subfeatures_dict) has err
### Describe the bug I am working with the following demo code: ``` from datasets import load_dataset from datasets.features import Sequence, Value, ClassLabel, Features ais_dataset = load_dataset("/data/ryan.gao/ais_dataset_cache/raw/1978/") ais_dataset = ais_dataset["train"] def add_class(example): ...
closed
2024-01-23T09:32:32
https://api.github.com/repos/huggingface/datasets/issues/6610/comments
null
false
cast_column to Sequence(subfeatures_dict) has err ### Describe the bug I am working with the following demo code: ``` from datasets import load_dataset from datasets.features import Sequence, Value, ClassLabel, Features ais_dataset = load_dataset("/data/ryan.gao/ais_dataset_cache/raw/1978/") ais_dataset = ais...
[ "Hi! You are passing the wrong feature type to `cast_column`. This is the fixed call:\r\n```python\r\nais_dataset = ais_dataset.cast_column(\"my_labeled_bbox\", {\"bbox\": Sequence(Value(dtype=\"int64\")), \"label\": ClassLabel(names=[\"cat\", \"dog\"])})\r\n```", "> Hi! You are passing the wrong feature type to ...
https://api.github.com/repos/huggingface/datasets/issues/6609
6,609
Wrong path for cache directory in offline mode
### Describe the bug Dear huggingfacers, I'm trying to use a subset of the-stack dataset. When I run the command the first time ``` dataset = load_dataset( path='bigcode/the-stack', data_dir='data/fortran', split='train' ) ``` It downloads the files and caches them normally. Nevertheless, ...
closed
2024-01-23T01:47:19
https://api.github.com/repos/huggingface/datasets/issues/6609/comments
null
false
Wrong path for cache directory in offline mode ### Describe the bug Dear huggingfacers, I'm trying to use a subset of the-stack dataset. When I run the command the first time ``` dataset = load_dataset( path='bigcode/the-stack', data_dir='data/fortran', split='train' ) ``` It downloads the fi...
[ "+1", "same error in 2.16.1", "@kongjiellx any luck with the issue?", "I opened https://github.com/huggingface/datasets/pull/6632 to fix this issue. Once it's merged we'll do a new release of `datasets`", "Thanks @lhoestq !" ]
https://api.github.com/repos/huggingface/datasets/issues/6608
6,608
Add `with_rank` param to `Dataset.filter`
Fix #6564
closed
2024-01-22T15:19:16
https://api.github.com/repos/huggingface/datasets/issues/6608/comments
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/6608", "html_url": "https://github.com/huggingface/datasets/pull/6608", "diff_url": "https://github.com/huggingface/datasets/pull/6608.diff", "patch_url": "https://github.com/huggingface/datasets/pull/6608.patch", "merged_at": "2024-01-29T16:36...
true
Add `with_rank` param to `Dataset.filter` Fix #6564
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_6608). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.", "<details>\n<summary>Show benchmarks</summary>\n\nPyArrow==8.0.0\n\n<details>\n<summary>...
https://api.github.com/repos/huggingface/datasets/issues/6607
6,607
Update features.py to avoid bfloat16 unsupported error
Fixes https://github.com/huggingface/datasets/issues/6566 Let me know if there's any tests I need to clear.
closed
2024-01-20T00:39:44
https://api.github.com/repos/huggingface/datasets/issues/6607/comments
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/6607", "html_url": "https://github.com/huggingface/datasets/pull/6607", "diff_url": "https://github.com/huggingface/datasets/pull/6607.diff", "patch_url": "https://github.com/huggingface/datasets/pull/6607.patch", "merged_at": "2024-05-17T09:40...
true
Update features.py to avoid bfloat16 unsupported error Fixes https://github.com/huggingface/datasets/issues/6566 Let me know if there's any tests I need to clear.
[ "I think not all torch tensors should be converted to float, what if it's a tensor of integers for example ?\r\nMaybe you can check for the tensor dtype before converting", "@lhoestq Please could this be merged? 🙏", "<details>\n<summary>Show benchmarks</summary>\n\nPyArrow==8.0.0\n\n<details>\n<summary>Show up...
https://api.github.com/repos/huggingface/datasets/issues/6606
6,606
Dedicated RNG object for fingerprinting
Closes https://github.com/huggingface/datasets/issues/6604, closes https://github.com/huggingface/datasets/issues/2775
closed
2024-01-19T18:34:47
https://api.github.com/repos/huggingface/datasets/issues/6606/comments
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/6606", "html_url": "https://github.com/huggingface/datasets/pull/6606", "diff_url": "https://github.com/huggingface/datasets/pull/6606.diff", "patch_url": "https://github.com/huggingface/datasets/pull/6606.patch", "merged_at": "2024-01-26T15:05...
true
Dedicated RNG object for fingerprinting Closes https://github.com/huggingface/datasets/issues/6604, closes https://github.com/huggingface/datasets/issues/2775
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_6606). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.", "<details>\n<summary>Show benchmarks</summary>\n\nPyArrow==8.0.0\n\n<details>\n<summary>...
https://api.github.com/repos/huggingface/datasets/issues/6605
6,605
ELI5 no longer available, but referenced in example code
Here, an example code is given: https://huggingface.co/docs/transformers/tasks/language_modeling This code + article references the ELI5 dataset. ELI5 is no longer available, as the ELI5 dataset page states: https://huggingface.co/datasets/eli5 "Defunct: Dataset "eli5" is defunct and no longer accessible due to u...
closed
2024-01-19T10:21:52
https://api.github.com/repos/huggingface/datasets/issues/6605/comments
null
false
ELI5 no longer available, but referenced in example code Here, an example code is given: https://huggingface.co/docs/transformers/tasks/language_modeling This code + article references the ELI5 dataset. ELI5 is no longer available, as the ELI5 dataset page states: https://huggingface.co/datasets/eli5 "Defunct: Da...
[ "Addressed in https://github.com/huggingface/transformers/pull/28715." ]
https://api.github.com/repos/huggingface/datasets/issues/6604
6,604
Transform fingerprint collisions due to setting fixed random seed
### Describe the bug The transform fingerprinting logic relies on the `random` library for random bits when the function is not hashable (e.g. bound methods as used in `trl`: https://github.com/huggingface/trl/blob/main/trl/trainer/dpo_trainer.py#L356). This causes collisions when the training code sets a fixed random...
closed
2024-01-19T06:32:25
https://api.github.com/repos/huggingface/datasets/issues/6604/comments
null
false
Transform fingerprint collisions due to setting fixed random seed ### Describe the bug The transform fingerprinting logic relies on the `random` library for random bits when the function is not hashable (e.g. bound methods as used in `trl`: https://github.com/huggingface/trl/blob/main/trl/trainer/dpo_trainer.py#L356)....
[ "I've opened a PR with a fix.", "I don't think the PR fixes the root cause, since it still relies on the `random` library which will often have its seed fixed. I think the builtin `uuid.uuid4()` is a better choice: https://docs.python.org/3/library/uuid.html" ]
https://api.github.com/repos/huggingface/datasets/issues/6603
6,603
datasets map `cache_file_name` does not work
### Describe the bug In the documentation `datasets.Dataset.map` arg `cache_file_name` is said to be a string, but it doesn't work. ### Steps to reproduce the bug 1. pick a dataset 2. write a map function 3. do `ds.map(..., cache_file_name='some_filename')` 4. it crashes ### Expected behavior It will tell you t...
open
2024-01-18T23:08:30
https://api.github.com/repos/huggingface/datasets/issues/6603/comments
null
false
datasets map `cache_file_name` does not work ### Describe the bug In the documentation `datasets.Dataset.map` arg `cache_file_name` is said to be a string, but it doesn't work. ### Steps to reproduce the bug 1. pick a dataset 2. write a map function 3. do `ds.map(..., cache_file_name='some_filename')` 4. it crash...
[ "Unfortunately, I'm unable to reproduce this error. Can you share the reproducer?", "```\r\nds = datasets.Dataset.from_dict(dict(a=[i for i in range(100)]))\r\nds.map(lambda item: dict(b=item['a'] * 2), cache_file_name=\"/tmp/whatever-fn\") # this worked\r\nds.map(lambda item: dict(b=item['a'] * 2), cache_file_na...
https://api.github.com/repos/huggingface/datasets/issues/6602
6,602
Index error when data is large
### Describe the bug At `save_to_disk` step, the `max_shard_size` by default is `500MB`. However, one row of the dataset might be larger than `500MB` then the saving will throw an index error. Without looking at the source code, the bug is due to wrong calculation of number of shards which i think is `total_size / m...
open
2024-01-18T23:00:47
https://api.github.com/repos/huggingface/datasets/issues/6602/comments
null
false
Index error when data is large ### Describe the bug At `save_to_disk` step, the `max_shard_size` by default is `500MB`. However, one row of the dataset might be larger than `500MB` then the saving will throw an index error. Without looking at the source code, the bug is due to wrong calculation of number of shards whi...
[ "I'm facing this problem while doing my translation of [mteb/stackexchange-clustering](https://huggingface.co/datasets/mteb/stackexchange-clustering). each row has lots of samples (up to 100k samples), because in this dataset, each row represent multiple clusters.\nmy hack is to setting `max_shard_size` to 20Gb or ...
https://api.github.com/repos/huggingface/datasets/issues/6601
6,601
add safety checks when using only part of dataset
Added some checks to prevent errors that arrise when using evaluate.py on only a portion of the squad 2.0 dataset.
open
2024-01-18T16:16:59
https://api.github.com/repos/huggingface/datasets/issues/6601/comments
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/6601", "html_url": "https://github.com/huggingface/datasets/pull/6601", "diff_url": "https://github.com/huggingface/datasets/pull/6601.diff", "patch_url": "https://github.com/huggingface/datasets/pull/6601.patch", "merged_at": null }
true
add safety checks when using only part of dataset Added some checks to prevent errors that arrise when using evaluate.py on only a portion of the squad 2.0 dataset.
[ "Hi ! The metrics in `datasets` are deprecated in favor of https://github.com/huggingface/evaluate\r\n\r\nYou can open a PR here instead: https://huggingface.co/spaces/evaluate-metric/squad_v2/tree/main" ]
https://api.github.com/repos/huggingface/datasets/issues/6600
6,600
Loading CSV exported dataset has unexpected format
### Describe the bug I wanted to be able to save a HF dataset for translations and load it again in another script, but I'm a bit confused with the documentation and the result I've got so I'm opening this issue to ask if this behavior is as expected. ### Steps to reproduce the bug The documentation I've mainly cons...
open
2024-01-18T14:48:27
https://api.github.com/repos/huggingface/datasets/issues/6600/comments
null
false
Loading CSV exported dataset has unexpected format ### Describe the bug I wanted to be able to save a HF dataset for translations and load it again in another script, but I'm a bit confused with the documentation and the result I've got so I'm opening this issue to ask if this behavior is as expected. ### Steps to re...
[ "Hi! Parquet is the only format that supports complex/nested features such as `Translation`. So, this should work:\r\n```python\r\ntest_dataset = load_dataset(\"opus100\", name=\"en-fr\", split=\"test\")\r\n\r\n# Save with .to_parquet()\r\ntest_parquet_path = \"try_testset_save.parquet\"\r\ntest_dataset.to_parquet(...
https://api.github.com/repos/huggingface/datasets/issues/6599
6,599
Easy way to segment into 30s snippets given an m4a file and a vtt file
### Feature request Uploading datasets is straightforward thanks to the ability to push Audio to hub. However, it would be nice if the data (text and audio) could be segmented when being pushed (if not possible already). ### Motivation It's easy to create a vtt file from an audio file. If there could be auto-segment...
closed
2024-01-17T17:51:40
https://api.github.com/repos/huggingface/datasets/issues/6599/comments
null
false
Easy way to segment into 30s snippets given an m4a file and a vtt file ### Feature request Uploading datasets is straightforward thanks to the ability to push Audio to hub. However, it would be nice if the data (text and audio) could be segmented when being pushed (if not possible already). ### Motivation It's easy...
[ "Hi! Non-generic data processing is out of this library's scope, so it's downstream libraries/users' responsibility to implement such logic.", "That's fair. Thanks" ]
https://api.github.com/repos/huggingface/datasets/issues/6598
6,598
Unexpected keyword argument 'hf' when downloading CSV dataset from S3
### Describe the bug I receive this error message when using `load_dataset` with "csv" path and `dataset_files=s3://...`: ``` TypeError: Session.__init__() got an unexpected keyword argument 'hf' ``` I found a similar issue here: https://stackoverflow.com/questions/77596258/aws-issue-load-dataset-from-s3-fails-w...
closed
2024-01-16T15:16:01
https://api.github.com/repos/huggingface/datasets/issues/6598/comments
null
false
Unexpected keyword argument 'hf' when downloading CSV dataset from S3 ### Describe the bug I receive this error message when using `load_dataset` with "csv" path and `dataset_files=s3://...`: ``` TypeError: Session.__init__() got an unexpected keyword argument 'hf' ``` I found a similar issue here: https://stack...
[ "I am facing similar issue while reading a csv file from s3. Wondering if somebody has found a workaround. ", "same thing happened to other formats like parquet", "I am facing similar issue while reading a parquet file from s3.\r\ni try with every version between 2.14 to 2.16.1 but it dosen't work ", "Re-def...
https://api.github.com/repos/huggingface/datasets/issues/6597
6,597
Dataset.push_to_hub of a canonical dataset creates an additional dataset under the user namespace
While using `Dataset.push_to_hub` of a canonical dataset, an additional dataset was created under my user namespace. ## Steps to reproduce the bug The command: ```python commit_info = ds.push_to_hub( "caner", config_name="default", commit_message="Convert dataset to Parquet", commit_descriptio...
closed
2024-01-16T11:27:07
https://api.github.com/repos/huggingface/datasets/issues/6597/comments
null
false
Dataset.push_to_hub of a canonical dataset creates an additional dataset under the user namespace While using `Dataset.push_to_hub` of a canonical dataset, an additional dataset was created under my user namespace. ## Steps to reproduce the bug The command: ```python commit_info = ds.push_to_hub( "caner", ...
[ "It is caused by these code lines: https://github.com/huggingface/datasets/blob/9d6d16117a30ba345b0236407975f701c5b288d4/src/datasets/dataset_dict.py#L1688-L1694", "Also note the information in the docstring: https://github.com/huggingface/datasets/blob/9d6d16117a30ba345b0236407975f701c5b288d4/src/datasets/datase...
https://api.github.com/repos/huggingface/datasets/issues/6596
6,596
Drop redundant None guard.
`xxx if xxx is not None else None` is no-op.
closed
2024-01-16T06:31:54
https://api.github.com/repos/huggingface/datasets/issues/6596/comments
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/6596", "html_url": "https://github.com/huggingface/datasets/pull/6596", "diff_url": "https://github.com/huggingface/datasets/pull/6596.diff", "patch_url": "https://github.com/huggingface/datasets/pull/6596.patch", "merged_at": "2024-01-16T17:05...
true
Drop redundant None guard. `xxx if xxx is not None else None` is no-op.
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_6596). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.", "<details>\n<summary>Show benchmarks</summary>\n\nPyArrow==8.0.0\n\n<details>\n<summary>...
https://api.github.com/repos/huggingface/datasets/issues/6595
6,595
Loading big dataset raises pyarrow.lib.ArrowNotImplementedError 2
### Describe the bug I'm aware of the issue #5695 . I'm using a modified SDXL trainer: https://github.com/kopyl/diffusers/blob/5e70f604155aeecee254a5c63c5e4236ad4a0d3d/examples/text_to_image/train_text_to_image_sdxl.py#L1027C16-L1027C16 So i 1. Map dataset 2. Save to disk 3. Try to upload: ``` import data...
closed
2024-01-16T02:03:09
https://api.github.com/repos/huggingface/datasets/issues/6595/comments
null
false
Loading big dataset raises pyarrow.lib.ArrowNotImplementedError 2 ### Describe the bug I'm aware of the issue #5695 . I'm using a modified SDXL trainer: https://github.com/kopyl/diffusers/blob/5e70f604155aeecee254a5c63c5e4236ad4a0d3d/examples/text_to_image/train_text_to_image_sdxl.py#L1027C16-L1027C16 So i 1....
[ "Hi ! I think the issue comes from the \"float16\" features that are not supported yet in Parquet\r\n\r\nFeel free to open an issue in `pyarrow` about this. In the meantime, I'd encourage you to use \"float32\" for your \"pooled_prompt_embeds\" and \"prompt_embeds\" features.\r\n\r\nYou can cast them to \"float32\"...
https://api.github.com/repos/huggingface/datasets/issues/6594
6,594
IterableDataset sharding logic needs improvement
### Describe the bug The sharding of IterableDatasets with respect to distributed and dataloader worker processes appears problematic with significant performance traps and inconsistencies wrt to distributed train processes vs worker processes. Splitting across num_workers (per train process loader processes) and...
open
2024-01-15T22:22:36
https://api.github.com/repos/huggingface/datasets/issues/6594/comments
null
false
IterableDataset sharding logic needs improvement ### Describe the bug The sharding of IterableDatasets with respect to distributed and dataloader worker processes appears problematic with significant performance traps and inconsistencies wrt to distributed train processes vs worker processes. Splitting across num...
[ "I do not know is it the same probelm as mine. I think the num_workers should a value of process number for one dataloader mapped to one card, or the total number of processes for all multiple cards. \r\nbut when I set the num_workers larger then the count of training split files, it will report num_workers ...
https://api.github.com/repos/huggingface/datasets/issues/6592
6,592
Logs are delayed when doing .map when `docker logs`
### Describe the bug When I run my SD training in a Docker image and then listen to logs like `docker logs train -f`, the progress bar is delayed. It's updating every few percent. When you have a large dataset that has to be mapped (like 1+ million samples), it's crucial to see the updates in real-time, not every co...
closed
2024-01-15T17:05:21
https://api.github.com/repos/huggingface/datasets/issues/6592/comments
null
false
Logs are delayed when doing .map when `docker logs` ### Describe the bug When I run my SD training in a Docker image and then listen to logs like `docker logs train -f`, the progress bar is delayed. It's updating every few percent. When you have a large dataset that has to be mapped (like 1+ million samples), it's c...
[ "Hi! `tqdm` doesn't work well in non-interactive environments, so there isn't much we can do about this. It's best to [disable it](https://huggingface.co/docs/datasets/v2.16.1/en/package_reference/utilities#datasets.disable_progress_bars) in such environments and instead use logging to track progress." ]
https://api.github.com/repos/huggingface/datasets/issues/6591
6,591
The datasets models housed in Dropbox can't support a lot of users downloading them
### Describe the bug I'm using the datasets ``` from datasets import load_dataset, Audio dataset = load_dataset("PolyAI/minds14", name="en-US", split="train") ``` And it seems that sometimes when I imagine a lot of users are accessing the same resources, the Dropbox host fails: `raise ConnectionError(...
closed
2024-01-15T16:43:38
https://api.github.com/repos/huggingface/datasets/issues/6591/comments
null
false
The datasets models housed in Dropbox can't support a lot of users downloading them ### Describe the bug I'm using the datasets ``` from datasets import load_dataset, Audio dataset = load_dataset("PolyAI/minds14", name="en-US", split="train") ``` And it seems that sometimes when I imagine a lot of users ...
[ "Hi! Indeed, Dropbox is not a reliable host. I've just merged https://huggingface.co/datasets/PolyAI/minds14/discussions/24 to fix this by hosting the data files inside the repo." ]
https://api.github.com/repos/huggingface/datasets/issues/6590
6,590
Feature request: Multi-GPU dataset mapping for SDXL training
### Feature request We need to speed up SDXL dataset pre-process. Please make it possible to use multiple GPUs for the [official SDXL trainer](https://github.com/huggingface/diffusers/blob/main/examples/text_to_image/train_text_to_image_sdxl.py) :) ### Motivation Pre-computing 3 million of images takes around ...
open
2024-01-15T13:06:06
https://api.github.com/repos/huggingface/datasets/issues/6590/comments
null
false
Feature request: Multi-GPU dataset mapping for SDXL training ### Feature request We need to speed up SDXL dataset pre-process. Please make it possible to use multiple GPUs for the [official SDXL trainer](https://github.com/huggingface/diffusers/blob/main/examples/text_to_image/train_text_to_image_sdxl.py) :) ### ...
[]
https://api.github.com/repos/huggingface/datasets/issues/6589
6,589
After `2.16.0` version, there are `PermissionError` when users use shared cache_dir
### Describe the bug - We use shared `cache_dir` using `HF_HOME="{shared_directory}"` - After dataset version 2.16.0, datasets uses `filelock` package for file locking #6445 - But, `filelock` package make `.lock` file with `644` permission - Dataset is not available to other users except the user who created the ...
closed
2024-01-15T06:46:27
https://api.github.com/repos/huggingface/datasets/issues/6589/comments
null
false
After `2.16.0` version, there are `PermissionError` when users use shared cache_dir ### Describe the bug - We use shared `cache_dir` using `HF_HOME="{shared_directory}"` - After dataset version 2.16.0, datasets uses `filelock` package for file locking #6445 - But, `filelock` package make `.lock` file with `644` pe...
[ "We'll do a new release of `datasets` in the coming days with a fix !", "@lhoestq Thank you very much!" ]
https://api.github.com/repos/huggingface/datasets/issues/6588
6,588
fix os.listdir return name is empty string
### Describe the bug xlistdir return name is empty string Overloaded os.listdir ### Steps to reproduce the bug ```python from datasets.download.streaming_download_manager import xjoin from datasets.download.streaming_download_manager import xlistdir config = DownloadConfig(storage_options=options) manger = Str...
closed
2024-01-15T05:34:36
https://api.github.com/repos/huggingface/datasets/issues/6588/comments
null
false
fix os.listdir return name is empty string ### Describe the bug xlistdir return name is empty string Overloaded os.listdir ### Steps to reproduce the bug ```python from datasets.download.streaming_download_manager import xjoin from datasets.download.streaming_download_manager import xlistdir config = DownloadCo...
[]
https://api.github.com/repos/huggingface/datasets/issues/6587
6,587
Allow concatenation of datasets with mixed structs
Fixes #6466 The idea is to do a recursive check for structs. PyArrow handles it well enough. For a demo you can do: ```python from datasets import Dataset, concatenate_datasets ds = Dataset.from_dict({'speaker': [{'name': 'Ben', 'email': None}]}) ds2 = Dataset.from_dict({'speaker': [{'name': 'Fred', 'e...
closed
2024-01-13T15:33:20
https://api.github.com/repos/huggingface/datasets/issues/6587/comments
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/6587", "html_url": "https://github.com/huggingface/datasets/pull/6587", "diff_url": "https://github.com/huggingface/datasets/pull/6587.diff", "patch_url": "https://github.com/huggingface/datasets/pull/6587.patch", "merged_at": "2024-02-08T14:38...
true
Allow concatenation of datasets with mixed structs Fixes #6466 The idea is to do a recursive check for structs. PyArrow handles it well enough. For a demo you can do: ```python from datasets import Dataset, concatenate_datasets ds = Dataset.from_dict({'speaker': [{'name': 'Ben', 'email': None}]}) ds2 =...
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_6587). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.", "friendly bump", "<details>\n<summary>Show benchmarks</summary>\n\nPyArrow==8.0.0\n\n<...
https://api.github.com/repos/huggingface/datasets/issues/6586
6,586
keep more info in DatasetInfo.from_merge #6585
* try not to merge DatasetInfos if they're equal * fixes losing DatasetInfo during parallel Dataset.map
closed
2024-01-12T16:08:16
https://api.github.com/repos/huggingface/datasets/issues/6586/comments
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/6586", "html_url": "https://github.com/huggingface/datasets/pull/6586", "diff_url": "https://github.com/huggingface/datasets/pull/6586.diff", "patch_url": "https://github.com/huggingface/datasets/pull/6586.patch", "merged_at": "2024-01-26T15:53...
true
keep more info in DatasetInfo.from_merge #6585 * try not to merge DatasetInfos if they're equal * fixes losing DatasetInfo during parallel Dataset.map
[ "@JochenSiegWork fyi, that seems to also affect the `trainer.push_to_hub()` method, which I guess also needs to parse that DatasetInfo from the `kwargs` used by `push_to_hub`.\r\nThere is short discussion about it [here](https://github.com/huggingface/blog/issues/1623).\r\nWould be great if you can check if your PR...
https://api.github.com/repos/huggingface/datasets/issues/6585
6,585
losing DatasetInfo in Dataset.map when num_proc > 1
### Describe the bug Hello and thanks for developing this package! When I process a Dataset with the map function using multiple processors some set attributes of the DatasetInfo get lost and are None in the resulting Dataset. ### Steps to reproduce the bug ```python from datasets import Dataset, DatasetInfo...
open
2024-01-12T13:39:19
https://api.github.com/repos/huggingface/datasets/issues/6585/comments
null
false
losing DatasetInfo in Dataset.map when num_proc > 1 ### Describe the bug Hello and thanks for developing this package! When I process a Dataset with the map function using multiple processors some set attributes of the DatasetInfo get lost and are None in the resulting Dataset. ### Steps to reproduce the bug ...
[ "Hi ! This issue comes from the fact that `map()` with `num_proc>1` shards the dataset in multiple chunks to be processed (one per process) and merges them. The DatasetInfos of each chunk are then merged together, but for some fields like `dataset_name` it's not been implemented and default to None.\r\n\r\nThe Data...
https://api.github.com/repos/huggingface/datasets/issues/6584
6,584
np.fromfile not supported
How to do np.fromfile to use it like np.load ```python def xnumpy_fromfile(filepath_or_buffer, *args, download_config: Optional[DownloadConfig] = None, **kwargs): import numpy as np if hasattr(filepath_or_buffer, "read"): return np.fromfile(filepath_or_buffer, *args, **kwargs) else: ...
open
2024-01-12T09:46:17
https://api.github.com/repos/huggingface/datasets/issues/6584/comments
null
false
np.fromfile not supported How to do np.fromfile to use it like np.load ```python def xnumpy_fromfile(filepath_or_buffer, *args, download_config: Optional[DownloadConfig] = None, **kwargs): import numpy as np if hasattr(filepath_or_buffer, "read"): return np.fromfile(filepath_or_buffer, *args...
[ "@lhoestq\r\nCan you provide me with some ideas?", "Hi ! What's the error ?", "@lhoestq \r\n```\r\nTraceback (most recent call last):\r\n File \"/home/dongzf/miniconda3/envs/dataset_ai/lib/python3.11/runpy.py\", line 198, in _run_module_as_main\r\n return _run_code(code, main_globals, None,\r\n ^^...
https://api.github.com/repos/huggingface/datasets/issues/6583
6,583
remove eli5 test
since the dataset is defunct
closed
2024-01-11T16:05:20
https://api.github.com/repos/huggingface/datasets/issues/6583/comments
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/6583", "html_url": "https://github.com/huggingface/datasets/pull/6583", "diff_url": "https://github.com/huggingface/datasets/pull/6583.diff", "patch_url": "https://github.com/huggingface/datasets/pull/6583.patch", "merged_at": "2024-01-11T16:09...
true
remove eli5 test since the dataset is defunct
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_6583). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.", "<details>\n<summary>Show benchmarks</summary>\n\nPyArrow==8.0.0\n\n<details>\n<summary>...
https://api.github.com/repos/huggingface/datasets/issues/6582
6,582
Fix for Incorrect ex_iterable used with multi num_worker
Corrects an issue where `self._ex_iterable` was erroneously used instead of `ex_iterable`, when both Distributed Data Parallel (DDP) and multi num_worker are used concurrently. This improper usage led to the generation of incorrect `shards_indices`, subsequently causing issues with the control flow responsible for work...
closed
2024-01-11T08:49:43
https://api.github.com/repos/huggingface/datasets/issues/6582/comments
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/6582", "html_url": "https://github.com/huggingface/datasets/pull/6582", "diff_url": "https://github.com/huggingface/datasets/pull/6582.diff", "patch_url": "https://github.com/huggingface/datasets/pull/6582.patch", "merged_at": "2024-03-01T19:02...
true
Fix for Incorrect ex_iterable used with multi num_worker Corrects an issue where `self._ex_iterable` was erroneously used instead of `ex_iterable`, when both Distributed Data Parallel (DDP) and multi num_worker are used concurrently. This improper usage led to the generation of incorrect `shards_indices`, subsequently ...
[ "A toy example to reveal the bug.\r\n\r\n```python\r\n\"\"\"\r\nDATASETS_VERBOSITY=debug torchrun --nproc-per-node 2 main.py \r\n\"\"\"\r\nimport torch.utils.data\r\nimport torch.distributed\r\nimport datasets.distributed\r\nimport datasets\r\n\r\n# num shards = 4\r\nshards = [(0, 100), (100, 200), (200, 300), (300...
https://api.github.com/repos/huggingface/datasets/issues/6581
6,581
fix os.listdir return name is empty string
fix #6588 xlistdir return name is empty string for example: ` from datasets.download.streaming_download_manager import xjoin from datasets.download.streaming_download_manager import xlistdir config = DownloadConfig(storage_options=options) manger = StreamingDownloadManager("ILSVRC2012",download_config=config...
closed
2024-01-11T07:10:55
https://api.github.com/repos/huggingface/datasets/issues/6581/comments
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/6581", "html_url": "https://github.com/huggingface/datasets/pull/6581", "diff_url": "https://github.com/huggingface/datasets/pull/6581.diff", "patch_url": "https://github.com/huggingface/datasets/pull/6581.patch", "merged_at": "2024-01-24T10:08...
true
fix os.listdir return name is empty string fix #6588 xlistdir return name is empty string for example: ` from datasets.download.streaming_download_manager import xjoin from datasets.download.streaming_download_manager import xlistdir config = DownloadConfig(storage_options=options) manger = StreamingDownload...
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_6581). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.", "\r\nObj [\"name\"] ends with \"/\"", "@lhoestq \r\n\r\nhello,\r\nCan you help me chec...
https://api.github.com/repos/huggingface/datasets/issues/6580
6,580
dataset cache only stores one config of the dataset in parquet dir, and uses that for all other configs resulting in showing same data in all configs.
### Describe the bug ds = load_dataset("ai2_arc", "ARC-Easy"), i have tried to force redownload, delete cache and changing the cache dir. ### Steps to reproduce the bug dataset = [] dataset_name = "ai2_arc" possible_configs = [ 'ARC-Challenge', 'ARC-Easy' ] for config in possible_configs: data...
closed
2024-01-11T03:14:18
https://api.github.com/repos/huggingface/datasets/issues/6580/comments
null
false
dataset cache only stores one config of the dataset in parquet dir, and uses that for all other configs resulting in showing same data in all configs. ### Describe the bug ds = load_dataset("ai2_arc", "ARC-Easy"), i have tried to force redownload, delete cache and changing the cache dir. ### Steps to reproduce the bu...
[]
https://api.github.com/repos/huggingface/datasets/issues/6579
6,579
Unable to load `eli5` dataset with streaming
### Describe the bug Unable to load `eli5` dataset with streaming. ### Steps to reproduce the bug This fails with FileNotFoundError: https://files.pushshift.io/reddit/submissions ``` from datasets import load_dataset load_dataset("eli5", streaming=True) ``` This works correctly. ``` from datasets import lo...
closed
2024-01-10T23:44:20
https://api.github.com/repos/huggingface/datasets/issues/6579/comments
null
false
Unable to load `eli5` dataset with streaming ### Describe the bug Unable to load `eli5` dataset with streaming. ### Steps to reproduce the bug This fails with FileNotFoundError: https://files.pushshift.io/reddit/submissions ``` from datasets import load_dataset load_dataset("eli5", streaming=True) ``` This w...
[ "Hi @haok1402, I have created an issue in the Discussion tab of the corresponding dataset: https://huggingface.co/datasets/eli5/discussions/7\r\nLet's continue the discussion there!" ]
https://api.github.com/repos/huggingface/datasets/issues/6578
6,578
Faster webdataset streaming
requests.get(..., streaming=True) is faster than using HTTP range requests when streaming large TAR files it can be enabled using block_size=0 in fsspec cc @rwightman
closed
2024-01-10T18:18:09
https://api.github.com/repos/huggingface/datasets/issues/6578/comments
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/6578", "html_url": "https://github.com/huggingface/datasets/pull/6578", "diff_url": "https://github.com/huggingface/datasets/pull/6578.diff", "patch_url": "https://github.com/huggingface/datasets/pull/6578.patch", "merged_at": "2024-01-30T18:39...
true
Faster webdataset streaming requests.get(..., streaming=True) is faster than using HTTP range requests when streaming large TAR files it can be enabled using block_size=0 in fsspec cc @rwightman
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_6578). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.", "I added faster streaming support using streaming Requests instances in `huggingface_hub...
https://api.github.com/repos/huggingface/datasets/issues/6577
6,577
502 Server Errors when streaming large dataset
### Describe the bug When streaming a [large ASR dataset](https://huggingface.co/datasets/sanchit-gandhi/concatenated-train-set) from the Hug (~3TB) I often encounter 502 Server Errors seemingly randomly during streaming: ``` huggingface_hub.utils._errors.HfHubHTTPError: 502 Server Error: Bad Gateway for url: http...
closed
2024-01-10T16:59:36
https://api.github.com/repos/huggingface/datasets/issues/6577/comments
null
false
502 Server Errors when streaming large dataset ### Describe the bug When streaming a [large ASR dataset](https://huggingface.co/datasets/sanchit-gandhi/concatenated-train-set) from the Hug (~3TB) I often encounter 502 Server Errors seemingly randomly during streaming: ``` huggingface_hub.utils._errors.HfHubHTTPErr...
[ "cc @mariosasko @lhoestq ", "Hi! We should be able to avoid this error by retrying to read the data when it happens. I'll open a PR in `huggingface_hub` to address this.", "Thanks for the fix @mariosasko! Just wondering whether \"500 error\" should also be excluded? I got these errors overnight:\r\n\r\n```\r\nh...
https://api.github.com/repos/huggingface/datasets/issues/6576
6,576
document page 404 not found after redirection
### Describe the bug The redirected page encountered 404 not found. ### Steps to reproduce the bug 1. In this tutorial: https://huggingface.co/learn/nlp-course/chapter5/4?fw=pt original md: https://github.com/huggingface/course/blob/2c733c2246b8b7e0e6f19a9e5d15bb12df43b2a3/chapters/en/chapter5/4.mdx#L49 `...
closed
2024-01-10T06:48:14
https://api.github.com/repos/huggingface/datasets/issues/6576/comments
null
false
document page 404 not found after redirection ### Describe the bug The redirected page encountered 404 not found. ### Steps to reproduce the bug 1. In this tutorial: https://huggingface.co/learn/nlp-course/chapter5/4?fw=pt original md: https://github.com/huggingface/course/blob/2c733c2246b8b7e0e6f19a9e5d15bb...
[ "Thanks for reporting! I've opened a PR with a fix." ]
https://api.github.com/repos/huggingface/datasets/issues/6575
6,575
[IterableDataset] Fix `drop_last_batch`in map after shuffling or sharding
It was not taken into account e.g. when passing to a DataLoader with num_workers>0 Fix https://github.com/huggingface/datasets/issues/6565
closed
2024-01-09T15:35:31
https://api.github.com/repos/huggingface/datasets/issues/6575/comments
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/6575", "html_url": "https://github.com/huggingface/datasets/pull/6575", "diff_url": "https://github.com/huggingface/datasets/pull/6575.diff", "patch_url": "https://github.com/huggingface/datasets/pull/6575.patch", "merged_at": "2024-01-11T16:10...
true
[IterableDataset] Fix `drop_last_batch`in map after shuffling or sharding It was not taken into account e.g. when passing to a DataLoader with num_workers>0 Fix https://github.com/huggingface/datasets/issues/6565
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_6575). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.", "<details>\n<summary>Show benchmarks</summary>\n\nPyArrow==8.0.0\n\n<details>\n<summary>...
https://api.github.com/repos/huggingface/datasets/issues/6574
6,574
Fix tests based on datasets that used to have scripts
...now that `squad` and `paws` don't have a script anymore
closed
2024-01-09T15:16:16
https://api.github.com/repos/huggingface/datasets/issues/6574/comments
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/6574", "html_url": "https://github.com/huggingface/datasets/pull/6574", "diff_url": "https://github.com/huggingface/datasets/pull/6574.diff", "patch_url": "https://github.com/huggingface/datasets/pull/6574.patch", "merged_at": "2024-01-09T16:05...
true
Fix tests based on datasets that used to have scripts ...now that `squad` and `paws` don't have a script anymore
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_6574). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.", "<details>\n<summary>Show benchmarks</summary>\n\nPyArrow==8.0.0\n\n<details>\n<summary>...
https://api.github.com/repos/huggingface/datasets/issues/6573
6,573
[WebDataset] Audio support and bug fixes
- Add audio support - Fix an issue where user-provided features with additional fields are not taken into account Close https://github.com/huggingface/datasets/issues/6569
closed
2024-01-09T15:03:04
https://api.github.com/repos/huggingface/datasets/issues/6573/comments
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/6573", "html_url": "https://github.com/huggingface/datasets/pull/6573", "diff_url": "https://github.com/huggingface/datasets/pull/6573.diff", "patch_url": "https://github.com/huggingface/datasets/pull/6573.patch", "merged_at": "2024-01-11T16:11...
true
[WebDataset] Audio support and bug fixes - Add audio support - Fix an issue where user-provided features with additional fields are not taken into account Close https://github.com/huggingface/datasets/issues/6569
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_6573). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.", "<details>\n<summary>Show benchmarks</summary>\n\nPyArrow==8.0.0\n\n<details>\n<summary>...
https://api.github.com/repos/huggingface/datasets/issues/6572
6,572
Adding option for multipart achive download
Right now we can only download multiple separate archives or a single file archive, but not multipart archives, such as those produced by `tar --multi-volume`. This PR allows for downloading and extraction of archives split into multiple parts. With the new `multi_part` field of the `DownloadConfig` set, the downloa...
closed
2024-01-09T13:35:44
https://api.github.com/repos/huggingface/datasets/issues/6572/comments
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/6572", "html_url": "https://github.com/huggingface/datasets/pull/6572", "diff_url": "https://github.com/huggingface/datasets/pull/6572.diff", "patch_url": "https://github.com/huggingface/datasets/pull/6572.patch", "merged_at": null }
true
Adding option for multipart achive download Right now we can only download multiple separate archives or a single file archive, but not multipart archives, such as those produced by `tar --multi-volume`. This PR allows for downloading and extraction of archives split into multiple parts. With the new `multi_part` fi...
[ "On closer examination, this appears to be unnecessary. " ]
https://api.github.com/repos/huggingface/datasets/issues/6571
6,571
Make DatasetDict.column_names return a list instead of dict
Currently, `DatasetDict.column_names` returns a dict, with each split name as keys and the corresponding list of column names as values. However, by construction, all splits have the same column names. I think it makes more sense to return a single list with the column names, which is the same for all the split k...
open
2024-01-09T10:45:17
https://api.github.com/repos/huggingface/datasets/issues/6571/comments
null
false
Make DatasetDict.column_names return a list instead of dict Currently, `DatasetDict.column_names` returns a dict, with each split name as keys and the corresponding list of column names as values. However, by construction, all splits have the same column names. I think it makes more sense to return a single list ...
[ "Hi @albertvillanova, can I work on this issue?" ]
https://api.github.com/repos/huggingface/datasets/issues/6570
6,570
No online docs for 2.16 release
We do not have the online docs for the latest minor release 2.16 (2.16.0 nor 2.16.1). In the online docs, the latest version appearing is 2.15.0: https://huggingface.co/docs/datasets/index ![Screenshot from 2024-01-09 08-43-08](https://github.com/huggingface/datasets/assets/8515462/83613222-867f-41f4-8833-7a4a765...
closed
2024-01-09T07:43:30
https://api.github.com/repos/huggingface/datasets/issues/6570/comments
null
false
No online docs for 2.16 release We do not have the online docs for the latest minor release 2.16 (2.16.0 nor 2.16.1). In the online docs, the latest version appearing is 2.15.0: https://huggingface.co/docs/datasets/index ![Screenshot from 2024-01-09 08-43-08](https://github.com/huggingface/datasets/assets/8515462...
[ "Though the `build / build_main_documentation` CI job ran for 2.16.0: https://github.com/huggingface/datasets/actions/runs/7300836845/job/19896275099 🤔 ", "Yes, I saw it. Maybe @mishig25 can give us some hint...", "fixed https://huggingface.co/docs/datasets/v2.16.0/en/index", "Still missing 2.16.1.", "> St...
https://api.github.com/repos/huggingface/datasets/issues/6569
6,569
WebDataset ignores features defined in YAML or passed to load_dataset
we should not override if the features exist already https://github.com/huggingface/datasets/blob/d26abadce0b884db32382b92422d8a6aa997d40a/src/datasets/packaged_modules/webdataset/webdataset.py#L78-L85
closed
2024-01-08T11:24:21
https://api.github.com/repos/huggingface/datasets/issues/6569/comments
null
false
WebDataset ignores features defined in YAML or passed to load_dataset we should not override if the features exist already https://github.com/huggingface/datasets/blob/d26abadce0b884db32382b92422d8a6aa997d40a/src/datasets/packaged_modules/webdataset/webdataset.py#L78-L85
[]
https://api.github.com/repos/huggingface/datasets/issues/6568
6,568
keep_in_memory=True does not seem to work
UPD: [Fixed](https://github.com/huggingface/datasets/issues/6568#issuecomment-1880817794) . But a new issue came up :(
open
2024-01-08T08:03:58
https://api.github.com/repos/huggingface/datasets/issues/6568/comments
null
false
keep_in_memory=True does not seem to work UPD: [Fixed](https://github.com/huggingface/datasets/issues/6568#issuecomment-1880817794) . But a new issue came up :(
[ "Seems like I just used the old code which did not have `keep_in_memory=True` argument, sorry.\r\n\r\nAlthough i encountered a different problem – at 97% my python process just hung for around 11 minutes with no logs (when running dataset.map without `keep_in_memory=True` over around 3 million of dataset samples).....
https://api.github.com/repos/huggingface/datasets/issues/6567
6,567
AttributeError: 'str' object has no attribute 'to'
### Describe the bug ``` -------------------------------------------------------------------------- AttributeError Traceback (most recent call last) [<ipython-input-6-80c6086794e8>](https://localhost:8080/#) in <cell line: 10>() 8 report_to="wandb") 9 ---> 10 trainer =...
closed
2024-01-08T06:40:21
https://api.github.com/repos/huggingface/datasets/issues/6567/comments
null
false
AttributeError: 'str' object has no attribute 'to' ### Describe the bug ``` -------------------------------------------------------------------------- AttributeError Traceback (most recent call last) [<ipython-input-6-80c6086794e8>](https://localhost:8080/#) in <cell line: 10>() 8 ...
[ "I think you are reporting an issue with the `transformers` library. Note this is the repository of the `datasets` library. I recommend that you open an issue in their repository: https://github.com/huggingface/transformers/issues\r\n\r\nEDIT: I have not the rights to transfer the issue\r\n~~I am transferring your ...
https://api.github.com/repos/huggingface/datasets/issues/6566
6,566
I train controlnet_sdxl in bf16 datatype, got unsupported ERROR in datasets
### Describe the bug ``` Traceback (most recent call last): File "train_controlnet_sdxl.py", line 1252, in <module> main(args) File "train_controlnet_sdxl.py", line 1013, in main train_dataset = train_dataset.map(compute_embeddings_fn, batched=True, new_fingerprint=new_fingerprint) File "/home/mini...
closed
2024-01-08T02:37:03
https://api.github.com/repos/huggingface/datasets/issues/6566/comments
null
false
I train controlnet_sdxl in bf16 datatype, got unsupported ERROR in datasets ### Describe the bug ``` Traceback (most recent call last): File "train_controlnet_sdxl.py", line 1252, in <module> main(args) File "train_controlnet_sdxl.py", line 1013, in main train_dataset = train_dataset.map(compute_embed...
[ "I also see the same error and get passed it by casting that line to float. \r\n\r\nso `for x in obj.detach().cpu().numpy()` becomes `for x in obj.detach().to(torch.float).cpu().numpy()`\r\n\r\nI got the idea from [this ](https://github.com/kohya-ss/sd-webui-additional-networks/pull/128/files) PR where someone was...
https://api.github.com/repos/huggingface/datasets/issues/6565
6,565
`drop_last_batch=True` for IterableDataset map function is ignored with multiprocessing DataLoader
### Describe the bug Scenario: - Interleaving two iterable datasets of unequal lengths (`all_exhausted`), followed by a batch mapping with batch size 2 to effectively merge the two datasets and get a sample from each dataset in a single batch, with `drop_last_batch=True` to skip the last batch in case it doesn't ha...
closed
2024-01-07T02:46:50
https://api.github.com/repos/huggingface/datasets/issues/6565/comments
null
false
`drop_last_batch=True` for IterableDataset map function is ignored with multiprocessing DataLoader ### Describe the bug Scenario: - Interleaving two iterable datasets of unequal lengths (`all_exhausted`), followed by a batch mapping with batch size 2 to effectively merge the two datasets and get a sample from eac...
[ "My current workaround this issue is to return `None` in the second element and then filter out samples which have `None` in them.\r\n\r\n```python\r\ndef merge_samples(batch):\r\n if len(batch['a']) == 1:\r\n batch['c'] = [batch['a'][0]]\r\n batch['d'] = [None]\r\n else:\r\n batch['c'] ...
https://api.github.com/repos/huggingface/datasets/issues/6564
6,564
`Dataset.filter` missing `with_rank` parameter
### Describe the bug The issue shall be open: https://github.com/huggingface/datasets/issues/6435 When i try to pass `with_rank` to `Dataset.filter()`, i get this: `Dataset.filter() got an unexpected keyword argument 'with_rank'` ### Steps to reproduce the bug Run notebook: https://colab.research.google.com...
closed
2024-01-06T23:48:13
https://api.github.com/repos/huggingface/datasets/issues/6564/comments
null
false
`Dataset.filter` missing `with_rank` parameter ### Describe the bug The issue shall be open: https://github.com/huggingface/datasets/issues/6435 When i try to pass `with_rank` to `Dataset.filter()`, i get this: `Dataset.filter() got an unexpected keyword argument 'with_rank'` ### Steps to reproduce the bug Run...
[ "Thanks for reporting! I've opened a PR with a fix", "@mariosasko thank you very much :)" ]
https://api.github.com/repos/huggingface/datasets/issues/6563
6,563
`ImportError`: cannot import name 'insecure_hashlib' from 'huggingface_hub.utils' (.../huggingface_hub/utils/__init__.py)
### Describe the bug Yep its not [there](https://github.com/huggingface/huggingface_hub/blob/main/src/huggingface_hub/utils/__init__.py) anymore. ```text + python /home/trainer/sft_train.py --model_name cognitivecomputations/dolphin-2.2.1-mistral-7b --dataset_name wasertech/OneOS --load_in_4bit --use_peft --batch_...
closed
2024-01-06T02:28:54
https://api.github.com/repos/huggingface/datasets/issues/6563/comments
null
false
`ImportError`: cannot import name 'insecure_hashlib' from 'huggingface_hub.utils' (.../huggingface_hub/utils/__init__.py) ### Describe the bug Yep its not [there](https://github.com/huggingface/huggingface_hub/blob/main/src/huggingface_hub/utils/__init__.py) anymore. ```text + python /home/trainer/sft_train.py --m...
[ "@Wauplin Do you happen to know what's up?", "<del>Installing `datasets` from `main` did the trick so I guess it will be fixed in the next release.\r\n\r\nNVM https://github.com/huggingface/datasets/blob/d26abadce0b884db32382b92422d8a6aa997d40a/src/datasets/utils/info_utils.py#L5", "@wasertech upgrading `huggin...
https://api.github.com/repos/huggingface/datasets/issues/6562
6,562
datasets.DownloadMode.FORCE_REDOWNLOAD use cache to download dataset features with load_dataset function
### Describe the bug I have updated my dataset by adding a new feature, and push it to the hub. When I want to download it on my machine which contain the old version by using `datasets.load_dataset("your_dataset_name", download_mode=datasets.DownloadMode.FORCE_REDOWNLOAD)` I get an error (paste bellow). Seems that...
open
2024-01-05T19:10:25
https://api.github.com/repos/huggingface/datasets/issues/6562/comments
null
false
datasets.DownloadMode.FORCE_REDOWNLOAD use cache to download dataset features with load_dataset function ### Describe the bug I have updated my dataset by adding a new feature, and push it to the hub. When I want to download it on my machine which contain the old version by using `datasets.load_dataset("your_dataset_n...
[]
https://api.github.com/repos/huggingface/datasets/issues/6561
6,561
Document YAML configuration with "data_dir"
See https://huggingface.co/datasets/uonlp/CulturaX/discussions/15#6597e83f185db94370d6bf50 for reference
closed
2024-01-05T14:03:33
https://api.github.com/repos/huggingface/datasets/issues/6561/comments
null
false
Document YAML configuration with "data_dir" See https://huggingface.co/datasets/uonlp/CulturaX/discussions/15#6597e83f185db94370d6bf50 for reference
[ "In particular, I would like to have an example of how to replace the following configuration (from https://huggingface.co/docs/hub/datasets-manual-configuration#splits)\r\n\r\n```\r\n---\r\nconfigs:\r\n- config_name: default\r\n data_files:\r\n - split: train\r\n path: \"data/*.csv\"\r\n - split: test\r\n ...
https://api.github.com/repos/huggingface/datasets/issues/6560
6,560
Support Video
### Feature request HF datasets are awesome in supporting text and images. Will be great to see such a support in videos :) ### Motivation Video generation :) ### Your contribution Will probably be limited to raising this feature request ;)
closed
2024-01-04T13:10:58
https://api.github.com/repos/huggingface/datasets/issues/6560/comments
null
false
Support Video ### Feature request HF datasets are awesome in supporting text and images. Will be great to see such a support in videos :) ### Motivation Video generation :) ### Your contribution Will probably be limited to raising this feature request ;)
[ "duplicate of #5225" ]
https://api.github.com/repos/huggingface/datasets/issues/6559
6,559
Latest version 2.16.1, when load dataset error occurs. ValueError: BuilderConfig 'allenai--c4' not found. Available: ['default']
### Describe the bug python script is: ``` from datasets import load_dataset cache_dir = 'path/to/your/cache/directory' dataset = load_dataset('allenai/c4','allenai--c4', data_files={'train': 'en/c4-train.00000-of-01024.json.gz'}, split='train', use_auth_token=False, cache_dir=cache_dir) ``` the script su...
closed
2024-01-04T07:04:48
https://api.github.com/repos/huggingface/datasets/issues/6559/comments
null
false
Latest version 2.16.1, when load dataset error occurs. ValueError: BuilderConfig 'allenai--c4' not found. Available: ['default'] ### Describe the bug python script is: ``` from datasets import load_dataset cache_dir = 'path/to/your/cache/directory' dataset = load_dataset('allenai/c4','allenai--c4', data_files={'...
[ "Hi ! The \"allenai--c4\" config doesn't exist (this naming schema comes from old versions of `datasets`)\r\n\r\nYou can load it this way instead:\r\n\r\n```python\r\nfrom datasets import load_dataset\r\ncache_dir = 'path/to/your/cache/directory'\r\ndataset = load_dataset('allenai/c4', data_files={'train': 'en/c4-t...
https://api.github.com/repos/huggingface/datasets/issues/6558
6,558
OSError: image file is truncated (1 bytes not processed) #28323
### Describe the bug ``` --------------------------------------------------------------------------- OSError Traceback (most recent call last) Cell In[24], line 28 23 return example 25 # Filter the dataset 26 # filtered_dataset = dataset.filter(contains_number...
closed
2024-01-04T02:15:13
https://api.github.com/repos/huggingface/datasets/issues/6558/comments
null
false
OSError: image file is truncated (1 bytes not processed) #28323 ### Describe the bug ``` --------------------------------------------------------------------------- OSError Traceback (most recent call last) Cell In[24], line 28 23 return example 25 # Filter the data...
[ "You can add \r\n\r\n```python\r\nfrom PIL import ImageFile\r\nImageFile.LOAD_TRUNCATED_IMAGES = True\r\n```\r\n\r\nafter the imports to be able to read truncated images." ]
https://api.github.com/repos/huggingface/datasets/issues/6557
6,557
Support standalone yaml
see (internal) https://huggingface.slack.com/archives/C02V51Q3800/p1703885853581679
closed
2024-01-03T16:47:35
https://api.github.com/repos/huggingface/datasets/issues/6557/comments
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/6557", "html_url": "https://github.com/huggingface/datasets/pull/6557", "diff_url": "https://github.com/huggingface/datasets/pull/6557.diff", "patch_url": "https://github.com/huggingface/datasets/pull/6557.patch", "merged_at": "2024-01-11T17:53...
true
Support standalone yaml see (internal) https://huggingface.slack.com/archives/C02V51Q3800/p1703885853581679
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_6557). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.", "@lhoestq \r\nhello\r\nI think it should be defined in config.py\r\nDATASET_ README_ FIL...
https://api.github.com/repos/huggingface/datasets/issues/6556
6,556
Fix imagefolder with one image
A dataset repository with one image and one metadata file was considered a JSON dataset instead of an ImageFolder dataset. This is because we pick the dataset type with the most compatible data file extensions present in the repository and it results in a tie in this case. e.g. for https://huggingface.co/datasets/mu...
closed
2024-01-03T13:13:02
https://api.github.com/repos/huggingface/datasets/issues/6556/comments
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/6556", "html_url": "https://github.com/huggingface/datasets/pull/6556", "diff_url": "https://github.com/huggingface/datasets/pull/6556.diff", "patch_url": "https://github.com/huggingface/datasets/pull/6556.patch", "merged_at": "2024-01-09T13:06...
true
Fix imagefolder with one image A dataset repository with one image and one metadata file was considered a JSON dataset instead of an ImageFolder dataset. This is because we pick the dataset type with the most compatible data file extensions present in the repository and it results in a tie in this case. e.g. for htt...
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_6556). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.", "Fixed in dataset viewer: https://huggingface.co/datasets/multimodalart/repro_1_image\r\...
https://api.github.com/repos/huggingface/datasets/issues/6555
6,555
Do not use Parquet exports if revision is passed
Fix #6554.
closed
2024-01-03T11:33:10
https://api.github.com/repos/huggingface/datasets/issues/6555/comments
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/6555", "html_url": "https://github.com/huggingface/datasets/pull/6555", "diff_url": "https://github.com/huggingface/datasets/pull/6555.diff", "patch_url": "https://github.com/huggingface/datasets/pull/6555.patch", "merged_at": "2024-02-02T10:35...
true
Do not use Parquet exports if revision is passed Fix #6554.
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_6555). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.", "As shared on slack, `HubDatasetModuleFactoryWithParquetExport` raises a `DatasetsServer...
https://api.github.com/repos/huggingface/datasets/issues/6554
6,554
Parquet exports are used even if revision is passed
We should not used Parquet exports if `revision` is passed. I think this is a regression.
closed
2024-01-03T11:32:26
https://api.github.com/repos/huggingface/datasets/issues/6554/comments
null
false
Parquet exports are used even if revision is passed We should not used Parquet exports if `revision` is passed. I think this is a regression.
[ "I don't think this bug is a thing ? Do you have some code that leads to this issue ?" ]
https://api.github.com/repos/huggingface/datasets/issues/6553
6,553
Cannot import name 'load_dataset' from .... module ‘datasets’
### Describe the bug use python -m pip install datasets to install ### Steps to reproduce the bug from datasets import load_dataset ### Expected behavior it doesn't work ### Environment info datasets version==2.15.0 python == 3.10.12 linux version I don't know??
closed
2024-01-03T08:18:21
https://api.github.com/repos/huggingface/datasets/issues/6553/comments
null
false
Cannot import name 'load_dataset' from .... module ‘datasets’ ### Describe the bug use python -m pip install datasets to install ### Steps to reproduce the bug from datasets import load_dataset ### Expected behavior it doesn't work ### Environment info datasets version==2.15.0 python == 3.10.12 linux versio...
[ "I don't know My conpany conputer cannot work. but in my computer, it work?", "Do you have a folder in your working directory called datasets?" ]
https://api.github.com/repos/huggingface/datasets/issues/6552
6,552
Loading a dataset from Google Colab hangs at "Resolving data files".
### Describe the bug Hello, I'm trying to load a dataset from Google Colab but the process hangs at `Resolving data files`: ![image](https://github.com/huggingface/datasets/assets/99779/7175ad85-e571-46ed-9f87-92653985777d) It is happening when the `_get_origin_metadata` definition is invoked: ```python d...
closed
2024-01-03T02:18:17
https://api.github.com/repos/huggingface/datasets/issues/6552/comments
null
false
Loading a dataset from Google Colab hangs at "Resolving data files". ### Describe the bug Hello, I'm trying to load a dataset from Google Colab but the process hangs at `Resolving data files`: ![image](https://github.com/huggingface/datasets/assets/99779/7175ad85-e571-46ed-9f87-92653985777d) It is happening w...
[ "This bug comes from the `huggingface_hub` library, see: https://github.com/huggingface/huggingface_hub/issues/1952\r\n\r\nA fix is provided at https://github.com/huggingface/huggingface_hub/pull/1953. Feel free to install `huggingface_hub` from this PR, or wait for it to be merged and the new version of `huggingfa...
https://api.github.com/repos/huggingface/datasets/issues/6551
6,551
Fix parallel downloads for datasets without scripts
Enable parallel downloads using multiprocessing when `num_proc` is passed to `load_dataset`. It was enabled for datasets with scripts already (if they passed lists to `dl_manager.download`) but not for no-script datasets (we pass dicts {split: [list of files]} to `dl_manager.download` for those ones). I fixed thi...
closed
2024-01-02T18:06:18
https://api.github.com/repos/huggingface/datasets/issues/6551/comments
{ "url": "https://api.github.com/repos/huggingface/datasets/pulls/6551", "html_url": "https://github.com/huggingface/datasets/pull/6551", "diff_url": "https://github.com/huggingface/datasets/pull/6551.diff", "patch_url": "https://github.com/huggingface/datasets/pull/6551.patch", "merged_at": "2024-01-03T13:19...
true
Fix parallel downloads for datasets without scripts Enable parallel downloads using multiprocessing when `num_proc` is passed to `load_dataset`. It was enabled for datasets with scripts already (if they passed lists to `dl_manager.download`) but not for no-script datasets (we pass dicts {split: [list of files]} to `...
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_6551). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.", "<details>\n<summary>Show benchmarks</summary>\n\nPyArrow==8.0.0\n\n<details>\n<summary>...