id
int64
600M
4.6B
node_id
stringlengths
18
24
number
int64
2
8.24k
title
stringlengths
1
290
state
stringclasses
2 values
state_reason
stringclasses
5 values
created_at
timestamp[s]date
2020-04-14 18:18:51
2026-06-05 18:08:17
updated_at
timestamp[s]date
2020-04-29 09:23:05
2026-06-05 21:18:34
closed_at
stringlengths
0
20
html_url
stringlengths
48
51
user
stringlengths
3
26
labels
listlengths
0
4
assignees
listlengths
0
4
milestone
stringclasses
7 values
comments
listlengths
0
70
author_association
stringclasses
4 values
body
stringlengths
0
228k
2,372,887,585
I_kwDODunzps6Nb2Qh
7,000
IterableDataset: Unsupported ScalarType BFloat16
closed
completed
2024-06-25T14:43:26
2024-06-25T16:04:00
2024-06-25T15:51:53Z
https://github.com/huggingface/datasets/issues/7000
ghost
[]
[]
[ "@lhoestq Thank you for merging #6607, but unfortunately the issue persists for `IterableDataset` :pensive: ", "Hi ! I opened https://github.com/huggingface/datasets/pull/7002 to fix this bug", "Amazing, thank you so much @lhoestq! :pray:" ]
NONE
### Describe the bug `IterableDataset.from_generator` crashes when using BFloat16: ``` File "/usr/local/lib/python3.11/site-packages/datasets/utils/_dill.py", line 169, in _save_torchTensor args = (obj.detach().cpu().numpy(),) ^^^^^^^^^^^^^^^^^^^^^^^^^^ TypeError: Got unsupported ScalarType ...
2,371,966,127
I_kwDODunzps6NYVSv
6,997
CI is broken for tests using hf-internal-testing/librispeech_asr_dummy
closed
completed
2024-06-25T07:55:44
2024-06-25T08:13:43
2024-06-25T08:13:43Z
https://github.com/huggingface/datasets/issues/6997
albertvillanova
[ "maintenance" ]
[ "albertvillanova" ]
[]
MEMBER
CI is broken: https://github.com/huggingface/datasets/actions/runs/9657882317/job/26637998686?pr=6996 ``` FAILED tests/test_inspect.py::test_get_dataset_config_names[hf-internal-testing/librispeech_asr_dummy-expected4] - AssertionError: assert ['clean'] == ['clean', 'other'] Right contains one more item: 'othe...
2,370,713,475
I_kwDODunzps6NTjeD
6,995
ImportError when importing datasets.load_dataset
closed
completed
2024-06-24T17:07:22
2024-11-14T01:42:09
2024-06-25T06:11:37Z
https://github.com/huggingface/datasets/issues/6995
Leo-Lsc
[]
[ "albertvillanova" ]
[ "What is the version of your installed `huggingface-hub`:\r\n```python\r\nimport huggingface_hub\r\nprint(huggingface_hub.__version__)\r\n```\r\n\r\nIt seems you have a very old version of `huggingface-hub`, where `CommitInfo` was not still implemented. You need to update it:\r\n```\r\npip install -U huggingface-hu...
NONE
### Describe the bug I encountered an ImportError while trying to import `load_dataset` from the `datasets` module in Hugging Face. The error message indicates a problem with importing 'CommitInfo' from 'huggingface_hub'. ### Steps to reproduce the bug 1. pip install git+https://github.com/huggingface/datasets 2. f...
2,367,890,622
I_kwDODunzps6NIyS-
6,992
Dataset with streaming doesn't work with proxy
open
2024-06-22T16:12:08
2024-06-25T15:43:05
https://github.com/huggingface/datasets/issues/6992
YHL04
[]
[]
[ "Hi ! can you try updating `datasets` and `huggingface_hub` ?\r\n\r\n```\r\npip install -U datasets huggingface_hub\r\n```" ]
NONE
### Describe the bug I'm currently trying to stream data using dataset since the dataset is too big but it hangs indefinitely without loading the first batch. I use AIMOS which is a supercomputer that uses proxy to connect to the internet. I assume it has to do with the network configurations. I've already set up both...
2,366,660,785
I_kwDODunzps6NEGCx
6,990
Problematic rank after calling `split_dataset_by_node` twice
closed
completed
2024-06-21T14:25:26
2024-06-25T16:19:19
2024-06-25T16:19:19Z
https://github.com/huggingface/datasets/issues/6990
yzhangcs
[]
[]
[ "ah yes good catch ! feel free to open a PR with your suggested fix" ]
CONTRIBUTOR
### Describe the bug I'm trying to split `IterableDataset` by `split_dataset_by_node`. But when doing split on a already split dataset, the resulting `rank` is greater than `world_size`. ### Steps to reproduce the bug Here is the minimal code for reproduction: ```py >>> from datasets import load_dataset >>...
2,365,556,449
I_kwDODunzps6M_4bh
6,989
cache in nfs error
open
2024-06-21T02:09:22
2025-01-29T11:44:04
https://github.com/huggingface/datasets/issues/6989
simplew2011
[]
[]
[ "Hey @simplew2011 I am curious if you know of a workaround, or possible implications of letting the code run?" ]
NONE
### Describe the bug - When reading dataset, a cache will be generated to the ~/. cache/huggingface/datasets directory - When using .map and .filter operations, runtime cache will be generated to the /tmp/hf_datasets-* directory - The default is to use the path of tempfile.tempdir - If I modify this path to the N...
2,362,378,276
I_kwDODunzps6Mzwgk
6,985
AttributeError: module 'pyarrow.lib' has no attribute 'ListViewType'
closed
completed
2024-06-19T13:22:28
2025-03-14T18:47:53
2024-06-25T05:40:51Z
https://github.com/huggingface/datasets/issues/6985
firmai
[]
[]
[ "Please note that the error is raised just at import:\r\n```python\r\nimport pyarrow.parquet as pq\r\n```\r\n\r\nTherefore it must be caused by some problem with your pyarrow installation. I would recommend you uninstall and install pyarrow again.\r\n\r\nI also see that it seems you use conda to install pyarrow. Pl...
NONE
### Describe the bug I have been struggling with this for two days, any help would be appreciated. Python 3.10 ``` from setfit import SetFitModel from huggingface_hub import login access_token_read = "cccxxxccc" # Authenticate with the Hugging Face Hub login(token=access_token_read) # Load the models fr...
2,362,143,554
I_kwDODunzps6My3NC
6,984
Convert polars DataFrame back to datasets
closed
completed
2024-06-19T11:38:48
2024-08-12T14:43:46
2024-08-12T14:43:46Z
https://github.com/huggingface/datasets/issues/6984
ljw20180420
[ "enhancement" ]
[ "albertvillanova" ]
[ "Hi ! Thanks for reporting :)\r\n\r\nWe don't support `large_list` yet, though it should be added to `Sequence` IMO (maybe with a parameter `large=True` ?)" ]
NONE
### Feature request This returns error. ```python from datasets import Dataset dsdf = Dataset.from_dict({"x": [[1, 2], [3, 4, 5]], "y": ["a", "b"]}) Dataset.from_polars(dsdf.to_polars()) ``` ValueError: Arrow type large_list<item: int64> does not have a datasets dtype equivalent. ### Motivation When datasets...
2,361,661,469
I_kwDODunzps6MxBgd
6,982
cannot split dataset when using load_dataset
closed
completed
2024-06-19T08:07:16
2024-07-08T06:20:16
2024-07-08T06:20:16Z
https://github.com/huggingface/datasets/issues/6982
cybest0608
[]
[]
[ "it seems the bug will happened in all windows system, I tried it in windows8.1, 10, 11 and all of them failed. But it won't happened in the Linux(Ubuntu and Centos7) and Mac (both my virtual and physical machine). I still don't know what the problem is. May be related to the path? I cannot run the split file in m...
NONE
### Describe the bug when I use load_dataset methods to load mozilla-foundation/common_voice_7_0, it can successfully download and extracted the dataset but It cannot generating the arrow document, This bug happened in my server, my laptop, so as #6906 , but it won't happen in the google colab. I work for it for da...
2,360,909,930
I_kwDODunzps6MuKBq
6,980
Support NumPy 2.0
closed
completed
2024-06-18T23:30:22
2024-07-12T12:04:54
2024-07-12T12:04:53Z
https://github.com/huggingface/datasets/issues/6980
NeilGirdhar
[ "enhancement" ]
[]
[]
CONTRIBUTOR
### Feature request Support NumPy 2.0. ### Motivation NumPy introduces the Array API, which bridges the gap between machine learning libraries. Many clients of HuggingFace are eager to start using the Array API. Besides that, NumPy 2 provides a cleaner interface than NumPy 1. ### Tasks NumPy 2.0 was ...
2,360,175,363
I_kwDODunzps6MrWsD
6,979
How can I load partial parquet files only?
closed
completed
2024-06-18T15:44:16
2024-06-21T17:09:32
2024-06-21T13:32:50Z
https://github.com/huggingface/datasets/issues/6979
lucasjinreal
[]
[]
[ "Hello,\r\n\r\nHave you tried loading the dataset in streaming mode? [Documentation](https://huggingface.co/docs/datasets/v2.20.0/stream)\r\n\r\nThis way you wouldn't have to load it all. Also, let's be nice to Parquet, it's a really nice technology and we don't need to be mean :)", "I have downloaded part of it,...
NONE
I have a HUGE dataset about 14TB, I unable to download all parquet all. I just take about 100 from it. dataset = load_dataset("xx/", data_files="data/train-001*-of-00314.parquet") How can I just using 000 - 100 from a 00314 from all partially? I search whole net didn't found a solution, **this is stupid if the...
2,359,295,045
I_kwDODunzps6Mn_xF
6,977
load json file error with v2.20.0
closed
completed
2024-06-18T08:41:01
2024-06-18T10:06:10
2024-06-18T10:06:09Z
https://github.com/huggingface/datasets/issues/6977
xiaoyaolangzhi
[]
[ "albertvillanova" ]
[ "Thanks for reporting, @xiaoyaolangzhi.\r\n\r\nIndeed, we are currently requiring `pandas` >= 2.0.0.\r\n\r\nYou will need to update pandas in your local environment:\r\n```\r\npip install -U pandas\r\n``` ", "Thank you very much." ]
NONE
### Describe the bug ``` load_dataset(path="json", data_files="./test.json") ``` ``` Generating train split: 0 examples [00:00, ? examples/s] Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/datasets/packaged_modules/json/json.py", line 132, in _generate_tables pa_table = p...
2,355,517,362
I_kwDODunzps6MZley
6,973
IndexError during training with Squad dataset and T5-small model
closed
completed
2024-06-16T07:53:54
2024-07-01T11:25:40
2024-07-01T11:25:40Z
https://github.com/huggingface/datasets/issues/6973
ramtunguturi36
[]
[]
[ "add remove_unused_columns=False to training_args\r\nhttps://github.com/huggingface/datasets/issues/6535#issuecomment-1874024704", "Closing this issue because it was a reported and fixed in transformers." ]
NONE
### Describe the bug I am encountering an IndexError while training a T5-small model on the Squad dataset using the transformers and datasets libraries. The error occurs even with a minimal reproducible example, suggesting a potential bug or incompatibility. ### Steps to reproduce the bug 1.Install the required libr...
2,349,146,398
I_kwDODunzps6MBSEe
6,967
Method to load Laion400m
open
2024-06-12T16:04:04
2024-06-12T16:04:04
https://github.com/huggingface/datasets/issues/6967
humanely
[ "enhancement" ]
[]
[]
NONE
### Feature request Large datasets like Laion400m are provided as embeddings. The provided methods in load_dataset are not straightforward for loading embedding files, i.e. img_emb_XX.npy ; XX = 0 to 99 ### Motivation The trial and experimentation is the key pivot of HF. It would be great if HF can load embeddings...
2,342,022,418
I_kwDODunzps6LmG0S
6,961
Manual downloads should count as downloads
open
2024-06-09T04:52:06
2024-06-13T16:05:00
https://github.com/huggingface/datasets/issues/6961
umarbutler
[ "enhancement" ]
[]
[ "We're unlikely to add more features/support for datasets with python loading scripts, which include datasets with manual download. Sorry for the inconvenience" ]
NONE
### Feature request I would like to request that manual downloads of data files from Hugging Face dataset repositories count as downloads of a dataset. According to the documentation for the Hugging Face Hub, that is currently not the case: https://huggingface.co/docs/hub/en/datasets-download-stats ### Motivation Th...
2,337,476,383
I_kwDODunzps6LUw8f
6,958
My Private Dataset doesn't exist on the Hub or cannot be accessed
closed
completed
2024-06-06T06:52:19
2024-07-01T11:27:46
2024-07-01T11:27:46Z
https://github.com/huggingface/datasets/issues/6958
wangguan1995
[]
[]
[ "I can load public dataset, but for my private dataset it fails", "https://huggingface.co/docs/datasets/upload_dataset", "I have checked the API HTTP link. Repository Not Found for url: https://huggingface.co/api/datasets/xxx/xxx.\r\n\r\n![image](https://github.com/huggingface/datasets/assets/39621324/4aceef59-...
NONE
### Describe the bug ``` File "/root/miniconda3/envs/gino_conda/lib/python3.9/site-packages/datasets/load.py", line 1852, in dataset_module_factory raise DatasetNotFoundError(msg + f" at revision '{revision}'" if revision else msg) datasets.exceptions.DatasetNotFoundError: Dataset 'xxx' doesn't exist on t...
2,333,366,120
I_kwDODunzps6LFFdo
6,953
Remove canonical datasets from docs
closed
completed
2024-06-04T12:09:03
2024-07-01T11:31:25
2024-07-01T11:31:25Z
https://github.com/huggingface/datasets/issues/6953
albertvillanova
[ "documentation" ]
[]
[ "Canonical datasets are no longer mentioned in the docs." ]
MEMBER
Remove canonical datasets from docs, now that we no longer have canonical datasets.
2,333,231,042
I_kwDODunzps6LEkfC
6,951
load_dataset() should load all subsets, if no specific subset is specified
closed
not_planned
2024-06-04T11:02:33
2024-11-26T08:32:18
2024-07-01T11:33:10Z
https://github.com/huggingface/datasets/issues/6951
windmaple
[ "enhancement" ]
[]
[ "@xianbaoqian ", "Feel free to open a PR in `m-a-p/COIG-CQIA` to define a default subset. Currently there is no default.\r\n\r\nYou can find some documentation at https://huggingface.co/docs/hub/datasets-manual-configuration#multiple-configurations", "@lhoestq \r\n\r\nWhilst having a default subset readily avai...
NONE
### Feature request Currently load_dataset() is forcing users to specify a subset. Example `from datasets import load_dataset dataset = load_dataset("m-a-p/COIG-CQIA")` ```--------------------------------------------------------------------------- ValueError Traceback (most recen...
2,333,005,974
I_kwDODunzps6LDtiW
6,950
`Dataset.with_format` behaves inconsistently with documentation
closed
completed
2024-06-04T09:18:32
2024-06-25T08:05:49
2024-06-25T08:05:49Z
https://github.com/huggingface/datasets/issues/6950
iansheng
[ "documentation" ]
[]
[ "Hi ! It seems the documentation was outdated in this paragraph\r\n\r\nI fixed it here: https://github.com/huggingface/datasets/pull/6956", "Fixed." ]
NONE
### Describe the bug The actual behavior of the interface `Dataset.with_format` is inconsistent with the documentation. https://huggingface.co/docs/datasets/use_with_pytorch#n-dimensional-arrays https://huggingface.co/docs/datasets/v2.19.0/en/use_with_tensorflow#n-dimensional-arrays > If your dataset consists of ...
2,332,336,573
I_kwDODunzps6LBKG9
6,949
load_dataset error
closed
completed
2024-06-04T01:24:45
2024-07-01T11:33:46
2024-07-01T11:33:46Z
https://github.com/huggingface/datasets/issues/6949
frederichen01
[]
[]
[ "Hi, @lion-ops.\r\n\r\nIn our Continuous Integration we have many tests on loading JSON files and all of them work properly.\r\n\r\nCould you please share your \"train.json\" file, so that we can try to reproduce the issue you have? ", "> Hi, @lion-ops.\r\n> \r\n> In our Continuous Integration we have many tests ...
NONE
### Describe the bug Why does the program get stuck when I use load_dataset method, and it still gets stuck after loading for several hours? In fact, my json file is only 21m, and I can load it in one go using open('', 'r'). ### Steps to reproduce the bug 1. pip install datasets==2.19.2 2. from datasets import Data...
2,331,758,300
I_kwDODunzps6K-87c
6,948
to_tf_dataset: Visible devices cannot be modified after being initialized
open
2024-06-03T18:10:57
2024-06-03T18:10:57
https://github.com/huggingface/datasets/issues/6948
logasja
[]
[]
[]
NONE
### Describe the bug When trying to use to_tf_dataset with a custom data_loader collate_fn when I use parallelism I am met with the following error as many times as number of workers there were in ``num_workers``. File "/opt/miniconda/envs/env/lib/python3.11/site-packages/multiprocess/process.py", line 314, in _b...
2,331,114,055
I_kwDODunzps6K8fpH
6,947
FileNotFoundError:error when loading C4 dataset
closed
completed
2024-06-03T13:06:33
2024-06-25T06:21:28
2024-06-25T06:21:28Z
https://github.com/huggingface/datasets/issues/6947
W-215
[]
[]
[ "same problem here", "Hello,\r\n\r\nAre you sure you are really using datasets version 2.19.2? We just made the patch release yesterday specifically to fix this issue:\r\n- #6925\r\n\r\nI can't reproduce the error:\r\n```python\r\nIn [1]: from datasets import load_dataset\r\n\r\nIn [2]: ds = load_dataset('allenai...
NONE
### Describe the bug can't load c4 datasets When I replace the datasets package to 2.12.2 I get raise datasets.utils.info_utils.ExpectedMoreSplits: {'train'} How can I fix this? ### Steps to reproduce the bug 1.from datasets import load_dataset 2.dataset = load_dataset('allenai/c4', data_files={'validat...
2,329,562,382
I_kwDODunzps6K2k0O
6,942
Import sorting is disabled by flake8 noqa directive after switching to ruff linter
closed
completed
2024-06-02T09:43:34
2024-06-04T09:54:24
2024-06-04T09:54:24Z
https://github.com/huggingface/datasets/issues/6942
albertvillanova
[ "maintenance" ]
[ "albertvillanova" ]
[]
MEMBER
When we switched to `ruff` linter in PR: - #5519 import sorting was disabled in all files containing the `# flake8: noqa` directive - https://github.com/astral-sh/ruff/issues/11679 We should re-enable import sorting on those files.
2,328,930,165
I_kwDODunzps6K0Kd1
6,941
Supporting FFCV: Fast Forward Computer Vision
open
2024-06-01T05:34:52
2024-06-01T05:34:52
https://github.com/huggingface/datasets/issues/6941
Luciennnnnnn
[ "enhancement" ]
[]
[]
NONE
### Feature request Supporting FFCV, https://github.com/libffcv/ffcv ### Motivation According to the benchmark, FFCV seems to be fastest image loading method. ### Your contribution no
2,328,637,831
I_kwDODunzps6KzDGH
6,940
Enable Sharding to Equal Sized Shards
open
2024-05-31T21:55:50
2024-06-01T07:34:12
https://github.com/huggingface/datasets/issues/6940
yuvalkirstain
[ "enhancement" ]
[]
[]
NONE
### Feature request Add an option when sharding a dataset to have all shards the same size. Will be good to provide both an option of duplication, and by truncation. ### Motivation Currently the behavior of sharding is "If n % i == l, then the first l shards will have length (n // i) + 1, and the remaining sha...
2,328,059,386
I_kwDODunzps6Kw136
6,939
ExpectedMoreSplits error when using data_dir
closed
completed
2024-05-31T15:08:42
2024-05-31T17:10:39
2024-05-31T17:10:39Z
https://github.com/huggingface/datasets/issues/6939
albertvillanova
[ "bug" ]
[ "albertvillanova" ]
[]
MEMBER
As reported by @regisss, an `ExpectedMoreSplits` error is raised when passing `data_dir`: ```python from datasets import load_dataset dataset = load_dataset( "lvwerra/stack-exchange-paired", split="train", cache_dir=None, data_dir="data/rl", ) ``` ``` Traceback (most recent call last): F...
2,327,212,611
I_kwDODunzps6KtnJD
6,937
JSON loader implicitly coerces floats to integers
open
2024-05-31T08:09:12
2025-06-24T05:49:20
https://github.com/huggingface/datasets/issues/6937
albertvillanova
[ "bug" ]
[ "albertvillanova" ]
[ "Hi @albertvillanova, I'd like to work on this issue if it's still open!\n\nFrom what I see, the float-to-int coercion happens during JSON parsing, possibly due to recent `pandas` behavior. I'll investigate the loading logic inside `json.py` and ensure float values like `[0.0, 1.0, 2.0]` retain their type throughou...
MEMBER
The JSON loader implicitly coerces floats to integers. The column values `[0.0, 1.0, 2.0]` are coerced to `[0, 1, 2]`. See CI error in dataset-viewer: https://github.com/huggingface/dataset-viewer/actions/runs/9290164936/job/25576926446 ``` =================================== FAILURES ===========================...
2,326,119,853
I_kwDODunzps6KpcWt
6,936
save_to_disk() freezes when saving on s3 bucket with multiprocessing
open
2024-05-30T16:48:39
2025-02-06T22:12:52
https://github.com/huggingface/datasets/issues/6936
ycattan
[]
[]
[ "I got the same issue. Any updates so far for this issue?", "Same here. Any updates?", "+1, experiencing this as well" ]
NONE
### Describe the bug I'm trying to save a `Dataset` using the `save_to_disk()` function with: - `num_proc > 1` - `dataset_path` being a s3 bucket path e.g. "s3://{bucket_name}/{dataset_folder}/" The hf progress bar shows up but the saving does not seem to start. When using one processor only (`num_proc=1`), e...
2,325,612,022
I_kwDODunzps6KngX2
6,935
Support for pathlib.Path in datasets 2.19.0
open
2024-05-30T12:53:36
2025-01-14T11:50:22
https://github.com/huggingface/datasets/issues/6935
lamyiowce
[]
[]
[ "+1 I just noticed this when I tried to update `datasets` today.", "The same issue, I also get error." ]
NONE
### Describe the bug After the recent update of `datasets`, Dataset.save_to_disk does not accept a pathlib.Path anymore. It was supported in 2.18.0 and previous versions. Is this intentional? Was it supported before only because of a Python dusk-typing miracle? ### Steps to reproduce the bug ``` from datasets impor...
2,323,225,922
I_kwDODunzps6KeZ1C
6,930
ValueError: Couldn't infer the same data file format for all splits. Got {'train': ('json', {}), 'validation': (None, {})}
open
2024-05-29T12:40:05
2024-07-23T06:25:24
https://github.com/huggingface/datasets/issues/6930
Polarisamoon
[]
[]
[ "How do you solve it ?\r\n", "> How do you solve it ?\r\n\r\nPlease check your Python environment and dataset version. I have just resolved the issue, which was caused by a Python environment switching error\r\n" ]
NONE
### Describe the bug When I run the code en = load_dataset("allenai/c4", "en", streaming=True), I encounter an error: raise ValueError(f"Couldn't infer the same data file format for all splits. Got {split_modules}") ValueError: Couldn't infer the same data file format for all splits. Got {'train': ('json', {}), 'valid...
2,322,980,077
I_kwDODunzps6Kddzt
6,929
Avoid downloading the whole dataset when only README.me has been touched on hub.
open
2024-05-29T10:36:06
2024-05-29T20:51:56
https://github.com/huggingface/datasets/issues/6929
zinc75
[ "enhancement" ]
[]
[ "you're right, we're tackling this here: https://github.com/huggingface/dataset-viewer/issues/2757", "@severo : great !" ]
NONE
### Feature request `datasets.load_dataset()` triggers a new download of the **whole dataset** when the README.md file has been touched on huggingface hub, even if data files / parquet files are the exact same. I think the current behaviour of the load_dataset function is triggered whenever a change of the hash o...
2,320,531,015
I_kwDODunzps6KUH5H
6,924
Caching map result of DatasetDict.
open
2024-05-28T09:07:41
2025-07-28T12:57:34
https://github.com/huggingface/datasets/issues/6924
MostHumble
[]
[]
[ "Has to do with sharding as far as I am aware, num_proc splits the dataset in shards and each process picks up a shard.", "@dimidagd why wouldn't you redistribute the processes (e.g. param_num_process to sequentially fill fingerprint_num_process) to make things work out? \n\nPerhaps I'm missing something importan...
NONE
Hi! I'm currenty using the map function to tokenize a somewhat large dataset, so I need to use the cache to save ~25 mins. Changing num_proc incduces the recomputation of the map, I'm not sure why and if this is excepted behavior? here it says, that cached files are loaded sequentially: https://github.com/...
2,319,292,872
I_kwDODunzps6KPZnI
6,923
Export Parquet Tablet Audio-Set is null bytes in Arrow
open
2024-05-27T14:27:57
2024-05-27T14:27:57
https://github.com/huggingface/datasets/issues/6923
anioji
[]
[]
[]
NONE
### Describe the bug Exporting the processed audio inside the table with the dataset.to_parquet function, the object pyarrow {bytes: null, path: "Some/Path"} At the same time, the same dataset uploaded to the hub has bit arrays ![Screenshot from 2024-05-27 19-14-49](https://github.com/huggingface/datasets/assets/1...
2,315,618,993
I_kwDODunzps6KBYqx
6,919
Invalid YAML in README.md: unknown tag !<tag:yaml.org,2002:python/tuple>
open
2024-05-24T14:59:45
2024-05-24T14:59:45
https://github.com/huggingface/datasets/issues/6919
juanqui
[]
[]
[]
NONE
### Describe the bug I wrote a notebook to load an existing dataset, process it, and upload as a private dataset using `dataset.push_to_hub(...)` at the end. The push to hub is failing with: ``` ValueError: Invalid metadata in README.md. - Invalid YAML in README.md: unknown tag !<tag:yaml.org,2002:python[/tuple](...
2,315,322,738
I_kwDODunzps6KAQVy
6,918
NonMatchingSplitsSizesError when using data_dir
closed
completed
2024-05-24T12:43:39
2024-05-31T17:10:38
2024-05-31T17:10:38Z
https://github.com/huggingface/datasets/issues/6918
srehaag
[ "bug" ]
[ "albertvillanova" ]
[ "Thanks for reporting, @srehaag.\r\n\r\nWe are investigating this issue.", "I confirm there is a bug for data-based Hub datasets when the user passes `data_dir`, which was introduced by PR:\r\n- #6714" ]
NONE
### Describe the bug Loading a dataset from with a data_dir argument generates a NonMatchingSplitsSizesError if there are multiple directories in the dataset. This appears to happen because the expected split is calculated based on the data in all the directories whereas the recorded split is calculated based on t...
2,314,683,663
I_kwDODunzps6J90UP
6,917
WinError 32 The process cannot access the file during load_dataset
open
2024-05-24T07:54:51
2024-05-24T07:54:51
https://github.com/huggingface/datasets/issues/6917
elwe-2808
[]
[]
[]
NONE
### Describe the bug When I try to load the opus_book from hugging face (following the [guide on the website](https://huggingface.co/docs/transformers/main/en/tasks/translation)) ```python from datasets import load_dataset, Dataset dataset = load_dataset("Helsinki-NLP/opus_books", "en-fr", features=["id", "tran...
2,311,675,564
I_kwDODunzps6JyV6s
6,916
```push_to_hub()``` - Prevent Automatic Generation of Splits
closed
completed
2024-05-22T23:52:15
2024-05-23T00:07:53
2024-05-23T00:07:53Z
https://github.com/huggingface/datasets/issues/6916
jetlime
[]
[]
[]
NONE
### Describe the bug I currently have a dataset which has not been splited. When pushing the dataset to my hugging face dataset repository, it is split into a testing and training set. How can I prevent the split from happening? ### Steps to reproduce the bug 1. Have a unsplit dataset ```python Dataset({ featur...
2,309,605,889
I_kwDODunzps6JqcoB
6,913
Column order is nondeterministic when loading from JSON
closed
completed
2024-05-22T05:30:14
2024-05-29T13:12:24
2024-05-29T13:12:24Z
https://github.com/huggingface/datasets/issues/6913
albertvillanova
[ "bug" ]
[ "albertvillanova" ]
[]
MEMBER
As reported by @meg-huggingface, the order of the JSON object keys is not preserved while loading a dataset from a JSON file with a list of objects. For example, when loading a JSON files with a list of objects, each with the following ordered keys: - [ID, Language, Topic], the resulting dataset may have column...
2,309,365,961
I_kwDODunzps6JpiDJ
6,912
Add MedImg for streaming
open
2024-05-22T00:55:30
2024-09-05T16:53:54
https://github.com/huggingface/datasets/issues/6912
lhallee
[ "dataset request" ]
[]
[ "@mariosasko, @lhoestq, @albertvillanova\r\nHello! Can anyone help? or can you guys suggest who can help with this?", "Hi ! Feel free to download the dataset and create a `Dataset` object with it.\r\n\r\nThen your'll be able to use `push_to_hub()` to upload the dataset to HF in Parquet format and make it streamab...
NONE
### Feature request Host the MedImg dataset (similar to Imagenet but for biomedical images). ### Motivation There is a clear need for biomedical image foundation models and large scale biomedical datasets that are easily streamable. This would be an excellent tool for the biomedical community. ### Your con...
2,304,958,116
I_kwDODunzps6JYt6k
6,908
Fail to load "stas/c4-en-10k" dataset since 2.16 version
closed
completed
2024-05-20T02:43:59
2024-05-24T10:58:09
2024-05-24T10:58:09Z
https://github.com/huggingface/datasets/issues/6908
guch8017
[]
[ "albertvillanova" ]
[ "I am not able to reproduce the error with datasets 2.19.1:\r\n```python\r\nIn [1]: from datasets import load_dataset; ds = load_dataset(\"stas/c4-en-10k\", streaming=True); item = next(iter(ds[\"train\"])); item\r\nOut[1]: {'text': 'Beginners BBQ Class Taking Place in Missoula!\\nDo you want to get better at makin...
NONE
### Describe the bug When update datasets library to version 2.16+ ( I test it on 2.16, 2.19.0 and 2.19.1), using the following code to load stas/c4-en-10k dataset ```python from datasets import load_dataset, Dataset dataset = load_dataset('stas/c4-en-10k') ``` and then it raise UnicodeDecodeError like ...
2,303,855,833
I_kwDODunzps6JUgzZ
6,907
Support the deserialization of json lines files comprised of lists
open
2024-05-18T05:07:23
2024-05-18T08:53:28
https://github.com/huggingface/datasets/issues/6907
umarbutler
[ "enhancement" ]
[ "albertvillanova" ]
[ "Update: I ended up deciding to go back to use lines of dictionaries instead of arrays, not because of this issue as my users would be capable of downloading my corpus without `datasets`, but the speed and storage savings are not currently worth breaking my API and harming the backwards compatibility of each new re...
NONE
### Feature request I manage a somewhat large and popular Hugging Face dataset known as the [Open Australian Legal Corpus](https://huggingface.co/datasets/umarbutler/open-australian-legal-corpus). I recently updated my corpus to be stored in a json lines file where each line is an array and each element represents a v...
2,303,679,119
I_kwDODunzps6JT1qP
6,906
irc_disentangle - Issue with splitting data
closed
completed
2024-05-17T23:19:37
2024-07-16T00:21:56
2024-07-08T06:18:08Z
https://github.com/huggingface/datasets/issues/6906
eor51355
[]
[ "albertvillanova" ]
[ "Thank you I will try this out!\r\n\r\nOn Tue, Jun 11, 2024 at 3:55 AM Vincent Lau ***@***.***>\r\nwrote:\r\n\r\n> I add a \"streaming=True\" after the name of the dataset, and it\r\n> works.....hope it can help you\r\n>\r\n> And if you install the version datasets==2.15.0, this bug will not happen.\r\n> I don't kn...
NONE
### Describe the bug I am trying to access your database through python using "datasets.load_dataset("irc_disentangle")" and I am getting this error message: ValueError: Instruction "train" corresponds to no data! ### Steps to reproduce the bug import datasets ds = datasets.load_dataset('irc_disentangle') ds #...
2,303,098,587
I_kwDODunzps6JRn7b
6,905
Extraction protocol for arrow files is not defined
closed
completed
2024-05-17T16:01:41
2025-02-06T19:50:22
2025-02-06T19:50:20Z
https://github.com/huggingface/datasets/issues/6905
radulescupetru
[]
[]
[ "Fixed in https://github.com/huggingface/datasets/pull/7083" ]
CONTRIBUTOR
### Describe the bug Passing files with `.arrow` extension into data_files argument, at least when `streaming=True` is very slow. ### Steps to reproduce the bug Basically it goes through the `_get_extraction_protocol` method located [here](https://github.com/huggingface/datasets/blob/main/src/datasets/utils/file_ut...
2,300,436,053
I_kwDODunzps6JHd5V
6,903
Add the option of saving in parquet instead of arrow
open
2024-05-16T13:35:51
2025-05-19T12:14:14
https://github.com/huggingface/datasets/issues/6903
arita37
[ "enhancement" ]
[]
[ "I think [`Dataset.to_parquet`](https://huggingface.co/docs/datasets/v1.10.2/package_reference/main_classes.html#datasets.Dataset.to_parquet) is what you're looking for.\r\n\r\nLet me know if I'm wrong ", "No, it does not save the metadata json.\r\n\r\nWe have to recode all meta json load/save\r\nwith another cus...
NONE
### Feature request In dataset.save_to_disk('/path/to/save/dataset'), add the option to save in parquet format dataset.save_to_disk('/path/to/save/dataset', format="parquet"), because arrow is not used for Production Big data.... (only parquet) ### Motivation because arrow is not used for Production Big...
2,300,167,465
I_kwDODunzps6JGcUp
6,901
HTTPError 403 raised by CLI convert_to_parquet when creating script branch on 3rd party repos
closed
completed
2024-05-16T11:40:22
2024-05-16T12:51:06
2024-05-16T12:51:06Z
https://github.com/huggingface/datasets/issues/6901
albertvillanova
[ "bug" ]
[ "albertvillanova" ]
[]
MEMBER
CLI convert_to_parquet cannot create "script" branch on 3rd party repos. It can only create it on repos where the user executing the script has write access. Otherwise, a 403 Forbidden HTTPError is raised: ``` Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/huggingface_hub/ut...
2,298,489,733
I_kwDODunzps6JACuF
6,900
[WebDataset] KeyError with user-defined `Features` when a field is missing in an example
closed
completed
2024-05-15T17:48:34
2024-06-28T09:30:13
2024-06-28T09:30:13Z
https://github.com/huggingface/datasets/issues/6900
lhoestq
[]
[]
[ "@lhoestq How difficult of fix is this?", "It shouldn't be difficult, I think it's just a matter of adding the missing fields from `self.config.features` in `example` here: before it iterates on image_field_names and audio_field_names. A missing field should have a value set to None\r\n\r\nhttps://github.com/hugg...
MEMBER
reported at https://huggingface.co/datasets/ProGamerGov/synthetic-dataset-1m-dalle3-high-quality-captions/discussions/1 ``` File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/packaged_modules/webdataset/webdataset.py", line 109, in _generate_examples example[field_name] = {"path": example["_...
2,298,059,597
I_kwDODunzps6I-ZtN
6,899
List of dictionary features get standardized
open
2024-05-15T14:11:35
2025-04-01T20:48:03
https://github.com/huggingface/datasets/issues/6899
sohamparikh
[]
[]
[ "I think this may be a limitation of the arrow format", "Dupe of #5950\n" ]
NONE
### Describe the bug Hi, i’m trying to create a HF dataset from a list using Dataset.from_list. Each sample in the list is a dict with the same keys (which will be my features). The values for each feature are a list of dictionaries, and each such dictionary has a different set of keys. However, the datasets librar...
2,293,428,243
I_kwDODunzps6IsvAT
6,897
datasets template guide :: issue in documentation YAML
closed
completed
2024-05-13T17:33:59
2024-05-16T14:28:17
2024-05-16T14:28:17Z
https://github.com/huggingface/datasets/issues/6897
bghira
[]
[ "albertvillanova" ]
[ "Hello, @bghira.\r\n\r\nThanks for reporting. Please note that the text originating the error is not supposed to be valid YAML: it contains the instructions to generate the actual YAML content, that should replace the instructions comment.\r\n\r\nOn the other hand, I agree that it is not nice to have that YAML erro...
NONE
### Describe the bug There is a YAML error at the top of the page, and I don't think it's supposed to be there ### Steps to reproduce the bug 1. Browse to [this tutorial document](https://github.com/huggingface/datasets/blob/main/templates/README_guide.md) 2. Observe a big red error at the top 3. The rest of the ...
2,293,176,061
I_kwDODunzps6Irxb9
6,896
Regression bug: `NonMatchingSplitsSizesError` for (possibly) overwritten dataset
open
2024-05-13T15:41:57
2025-03-25T01:21:06
https://github.com/huggingface/datasets/issues/6896
finiteautomata
[]
[]
[ "Same issue here\n" ]
NONE
### Describe the bug While trying to load the dataset `https://huggingface.co/datasets/pysentimiento/spanish-tweets-small`, I get this error: ```python --------------------------------------------------------------------------- NonMatchingSplitsSizesError Traceback (most recent call last) [<ipyth...
2,292,840,226
I_kwDODunzps6Iqfci
6,894
Better document defaults of to_json
closed
completed
2024-05-13T13:30:54
2024-05-16T14:31:27
2024-05-16T14:31:27Z
https://github.com/huggingface/datasets/issues/6894
albertvillanova
[ "documentation" ]
[ "albertvillanova" ]
[]
MEMBER
Better document defaults of `to_json`: the default format is [JSON-Lines](https://jsonlines.org/). Related to: - #6891
2,291,118,869
I_kwDODunzps6Ij7MV
6,891
Unable to load JSON saved using `to_json`
closed
completed
2024-05-12T01:02:51
2024-05-16T14:32:55
2024-05-12T07:02:02Z
https://github.com/huggingface/datasets/issues/6891
DarshanDeshpande
[]
[ "albertvillanova" ]
[ "Hi @DarshanDeshpande,\r\n\r\nPlease note that the default format of the method `Dataset.to_json` is [JSON-Lines](https://jsonlines.org/): it passes `orient=\"records\", lines=True` to `pandas.DataFrame.to_json`. This format is specially useful for large datasets, since unlike regular JSON files, it does not requir...
NONE
### Describe the bug Datasets stored in the JSON format cannot be loaded using `json.load()` ### Steps to reproduce the bug ``` import json from datasets import load_dataset dataset = load_dataset("squad") train_dataset, test_dataset = dataset["train"], dataset["validation"] test_dataset.to_json("full_dataset...
2,288,699,041
I_kwDODunzps6Iasah
6,890
add `with_transform` and/or `set_transform` to IterableDataset
open
2024-05-10T01:00:12
2024-05-10T01:00:46
https://github.com/huggingface/datasets/issues/6890
not-lain
[ "enhancement" ]
[]
[]
NONE
### Feature request when working with a really large dataset it would save us a lot of time (and compute resources) to use either with_transform or the set_transform from the Dataset class instead of waiting for the entire dataset to map ### Motivation don't want to wait for a really long dataset to map, this would ...
2,286,786,396
I_kwDODunzps6ITZdc
6,887
FAISS load to None
open
2024-05-09T02:43:50
2024-05-16T20:44:23
https://github.com/huggingface/datasets/issues/6887
brainer3220
[]
[]
[ "Hello,\r\n\r\nI'm not sure I understand. \r\nThe return value of `ds.load_faiss_index` is None as expected.\r\n\r\nI see that loading an Index on a dataset that doesn't have an `embedding` column doesn't raise an Issue. Is that the issue?\r\n\r\nSo `ds` doesn't have an `embedding` column, but we load an index that...
NONE
### Describe the bug I've use FAISS with Datasets and save to FAISS. Then load to save FAISS then no error, then ds to None ```python ds.load_faiss_index('embeddings', 'my_index.faiss') ``` ### Steps to reproduce the bug # 1. ```python ds_with_embeddings = ds.map(lambda example: {'embeddings': model(transf...
2,286,328,984
I_kwDODunzps6IRpyY
6,886
load_dataset with data_dir and cache_dir set fail with not supported
open
2024-05-08T19:52:35
2024-05-08T19:58:11
https://github.com/huggingface/datasets/issues/6886
fah
[]
[]
[]
NONE
### Describe the bug with python 3.11 I execute: ```py from transformers import Wav2Vec2Processor, Data2VecAudioModel import torch from torch import nn from datasets import load_dataset, concatenate_datasets # load demo audio and set processor dataset_clean = load_dataset("librispeech_asr", "clean", split="...
2,284,839,687
I_kwDODunzps6IL-MH
6,884
CI is broken after jax-0.4.27 release: AttributeError: 'jaxlib.xla_extension.DeviceList' object has no attribute 'device'
closed
completed
2024-05-08T07:01:47
2024-05-08T09:35:17
2024-05-08T09:35:17Z
https://github.com/huggingface/datasets/issues/6884
albertvillanova
[ "bug" ]
[ "albertvillanova" ]
[]
MEMBER
After jax-0.4.27 release (https://github.com/google/jax/releases/tag/jax-v0.4.27), our CI is broken with the error: ```Python traceback AttributeError: 'jaxlib.xla_extension.DeviceList' object has no attribute 'device'. Did you mean: 'devices'? ``` See: https://github.com/huggingface/datasets/actions/runs/8997488...
2,284,803,158
I_kwDODunzps6IL1RW
6,882
Connection Error When Using By-pass Proxies
open
2024-05-08T06:40:14
2024-05-17T06:38:30
https://github.com/huggingface/datasets/issues/6882
MRNOBODY-ZST
[]
[]
[ "Changing the supplier of the proxy will solve this problem, or you can visit and follow the instructions in https://hf-mirror.com " ]
NONE
### Describe the bug I'm currently using Clash for Windows as my proxy tunnel, after exporting HTTP_PROXY and HTTPS_PROXY to the port that clash provides🤔, it runs into a connection error saying "Couldn't reach https://raw.githubusercontent.com/huggingface/datasets/2.19.1/metrics/seqeval/seqeval.py (ConnectionError(M...
2,284,794,009
I_kwDODunzps6ILzCZ
6,881
AttributeError: module 'PIL.Image' has no attribute 'ExifTags'
closed
completed
2024-05-08T06:33:57
2024-07-18T06:49:30
2024-05-16T14:34:03Z
https://github.com/huggingface/datasets/issues/6881
albertvillanova
[ "bug" ]
[ "albertvillanova" ]
[ "@albertvillanova @lhoestq just ran into it and requiring newer pillow isn't a solution as it breaks Pillow-SIMD which is behind Pillow quite a few versions but necessary for training with reasonable throughput. \r\n\r\nA couple things here... \r\n\r\n1. This can be done with a method that isn't an issue for any so...
MEMBER
When trying to load an image dataset in an old Python environment (with Pillow-8.4.0), an error is raised: ```Python traceback AttributeError: module 'PIL.Image' has no attribute 'ExifTags' ``` The error traceback: ```Python traceback ~/huggingface/datasets/src/datasets/iterable_dataset.py in __iter__(self) 1...
2,283,278,337
I_kwDODunzps6IGBAB
6,880
Webdataset: KeyError: 'png' on some datasets when streaming
open
reopened
2024-05-07T13:09:02
2024-05-14T20:34:05
https://github.com/huggingface/datasets/issues/6880
lhoestq
[]
[ "albertvillanova" ]
[ "The error is caused by malformed basenames of the files within the TARs:\r\n- `15_Cohen_1-s2.0-S0929664620300449-gr3_lrg-b.png` becomes `15_Cohen_1-s2` as the grouping `__key__`, and `0-S0929664620300449-gr3_lrg-b.png` as the additional key to be added to the example\r\n- whereas the intended behavior was to use `...
MEMBER
reported at https://huggingface.co/datasets/tbone5563/tar_images/discussions/1 ```python >>> from datasets import load_dataset >>> ds = load_dataset("tbone5563/tar_images") Downloading data: 100%  1.41G/1.41G [00:48<00:00, 17.2MB/s] Downloading data: 100%  619M/619M [00:11<00:00, 57.4MB/s] Generating train sp...
2,282,968,259
I_kwDODunzps6IE1TD
6,879
Batched mapping does not raise an error if values for an existing column are empty
open
2024-05-07T11:02:40
2024-05-07T11:02:40
https://github.com/huggingface/datasets/issues/6879
felix-schneider
[]
[]
[]
NONE
### Describe the bug Using `Dataset.map(fn, batched=True)` allows resizing the dataset by returning a dict of lists, all of which must be the same size. If they are not the same size, an error like `pyarrow.lib.ArrowInvalid: Column 1 named x expected length 1 but got length 0` is raised. This is not the case if the...
2,282,068,337
I_kwDODunzps6IBZlx
6,877
OSError: [Errno 24] Too many open files
closed
completed
2024-05-07T01:15:09
2024-06-02T14:22:23
2024-05-13T13:01:55Z
https://github.com/huggingface/datasets/issues/6877
loicmagne
[ "bug" ]
[]
[ "ulimit -n 8192 can solve this problem", "> ulimit -n 8192 can solve this problem\r\n\r\nWould there be a systematic way to do this ? The data loading is part of the [MTEB](https://github.com/embeddings-benchmark/mteb) library", "> > ulimit -n 8192 can solve this problem\r\n> \r\n> Would there be a systematic w...
NONE
### Describe the bug I am trying to load the 'default' subset of the following dataset which contains lots of files (828 per split): [https://huggingface.co/datasets/mteb/biblenlp-corpus-mmteb](https://huggingface.co/datasets/mteb/biblenlp-corpus-mmteb) When trying to load it using the `load_dataset` function I get...
2,280,048,297
I_kwDODunzps6H5sap
6,869
Download is broken for dict of dicts: FileNotFoundError
closed
completed
2024-05-06T05:13:36
2024-05-06T09:25:53
2024-05-06T09:25:53Z
https://github.com/huggingface/datasets/issues/6869
albertvillanova
[ "bug" ]
[ "albertvillanova" ]
[]
MEMBER
It seems there is a bug when downloading a dict of dicts of URLs introduced by: - #6794 ## Steps to reproduce the bug: ```python from datasets import DownloadManager dl_manager = DownloadManager() paths = dl_manager.download({"train": {"frr": "hf://datasets/wikimedia/wikipedia/20231101.frr/train-00000-of-0000...
2,279,385,159
I_kwDODunzps6H3KhH
6,868
datasets.BuilderConfig does not work.
closed
not_planned
2024-05-05T08:08:55
2024-05-05T12:15:02
2024-05-05T12:15:01Z
https://github.com/huggingface/datasets/issues/6868
jdm4pku
[]
[]
[ "I guess the issue is caused by the customization of BuilderConfig that you use from the repo [https://github.com/BeyonderXX/InstructUIE](https://github.com/BeyonderXX/InstructUIE/blob/master/src/uie_dataset.py). You should report to them.\r\n\r\nI see you already opened an issue in their repo:\r\n- https://github....
NONE
### Describe the bug I custom a BuilderConfig and GeneratorBasedBuilder. Here is the code for BuilderConfig ``` class UIEConfig(datasets.BuilderConfig): def __init__( self, *args, data_dir=None, instruction_file=None, instruction_strategy=None,...
2,279,059,787
I_kwDODunzps6H17FL
6,867
Improve performance of JSON loader
closed
completed
2024-05-04T15:04:16
2024-05-17T16:22:28
2024-05-17T16:22:28Z
https://github.com/huggingface/datasets/issues/6867
albertvillanova
[ "enhancement" ]
[ "albertvillanova" ]
[ "Thanks! Feel free to ping me for examples. May not respond immediately because we're all busy but would like to help.", "Hi @natolambert, could you please give some examples of JSON files to benchmark?\r\n\r\nPlease note that this JSON file (https://huggingface.co/datasets/allenai/reward-bench-results/blob/main/...
MEMBER
As reported by @natolambert, loading regular JSON files with `datasets` shows poor performance. The cause is that we use the `json` Python standard library instead of other faster libraries. See my old comment: https://github.com/huggingface/datasets/pull/2638#pullrequestreview-706983714 > There are benchmarks that...
2,278,736,221
I_kwDODunzps6H0sFd
6,866
DataFilesNotFoundError for datasets in the open-llm-leaderboard
closed
completed
2024-05-04T04:59:00
2024-05-14T08:09:56
2024-05-14T08:09:56Z
https://github.com/huggingface/datasets/issues/6866
jerome-white
[]
[ "albertvillanova" ]
[ "Potentially related:\r\n* #6864\r\n* #6850\r\n* #6848\r\n* #6819", "Hi @jerome-white, thnaks for reporting.\r\n\r\nHowever, I cannot reproduce your issue:\r\n```python\r\n>>> from datasets import get_dataset_config_names\r\n\r\n>>> get_dataset_config_names(\"open-llm-leaderboard/details_davidkim205__Rhea-72b-v0....
NONE
### Describe the bug When trying to get config names or load any dataset within the open-llm-leaderboard ecosystem (`open-llm-leaderboard/details_`) I receive the DataFilesNotFoundError. For the last month or so I've been loading datasets from the leaderboard almost everyday; yesterday was the first time I started see...
2,277,304,832
I_kwDODunzps6HvOoA
6,865
Example on Semantic segmentation contains bug
open
2024-05-03T09:40:12
2024-05-03T09:40:12
https://github.com/huggingface/datasets/issues/6865
ducha-aiki
[]
[]
[]
NONE
### Describe the bug https://huggingface.co/docs/datasets/en/semantic_segmentation shows wrong example with torchvision transforms. Specifically, as one can see in screenshot below, the object boundaries have weird colors. <img width="689" alt="image" src="https://github.com/huggingface/datasets/assets/4803565/59...
2,276,986,981
I_kwDODunzps6HuBBl
6,864
Dataset 'rewardsignal/reddit_writing_prompts' doesn't exist on the Hub
closed
not_planned
2024-05-03T06:03:30
2024-05-06T06:36:42
2024-05-06T06:36:41Z
https://github.com/huggingface/datasets/issues/6864
vinodrajendran001
[]
[ "albertvillanova" ]
[ "Hi @vinodrajendran001, thanks for reporting.\r\n\r\nIndeed the dataset no longer exists on the Hub. The URL https://huggingface.co/datasets/rewardsignal/reddit_writing_prompts gives 404 Not Found error." ]
NONE
### Describe the bug The dataset `rewardsignal/reddit_writing_prompts` is missing in Huggingface Hub. ### Steps to reproduce the bug ``` from datasets import load_dataset prompt_response_dataset = load_dataset("rewardsignal/reddit_writing_prompts", data_files="prompt_responses_full.csv", split='train[:80%]...
2,276,977,534
I_kwDODunzps6Ht-t-
6,863
Revert temporary pin huggingface-hub < 0.23.0
closed
completed
2024-05-03T05:53:55
2024-05-27T10:14:41
2024-05-27T10:14:41Z
https://github.com/huggingface/datasets/issues/6863
albertvillanova
[]
[ "albertvillanova" ]
[]
MEMBER
Revert temporary pin huggingface-hub < 0.23.0 introduced by - #6861 once the following issue is fixed and released: - huggingface/transformers#30618
2,275,537,137
I_kwDODunzps6HofDx
6,860
CI fails after huggingface_hub-0.23.0 release: FutureWarning: "resume_download"
closed
completed
2024-05-02T13:24:17
2024-05-02T16:53:45
2024-05-02T16:53:45Z
https://github.com/huggingface/datasets/issues/6860
albertvillanova
[ "bug" ]
[ "albertvillanova" ]
[ "I think this needs to be fixed on transformers.\r\n\r\nCC: @Wauplin ", "See:\r\n- https://github.com/huggingface/transformers/issues/30618", "Opened https://github.com/huggingface/transformers/pull/30620" ]
MEMBER
CI fails after latest huggingface_hub-0.23.0 release: https://github.com/huggingface/huggingface_hub/releases/tag/v0.23.0 ``` FAILED tests/test_metric_common.py::LocalMetricTest::test_load_metric_bertscore - FutureWarning: `resume_download` is deprecated and will be removed in version 1.0.0. Downloads always resume...
2,274,917,185
I_kwDODunzps6HmHtB
6,858
Segmentation fault
closed
completed
2024-05-02T08:28:49
2024-05-03T08:43:21
2024-05-03T08:42:36Z
https://github.com/huggingface/datasets/issues/6858
scampion
[]
[]
[ "I downloaded the jsonl file and extract it manually. \r\nThe issue seems to be related to pyarrow.json \r\n\r\n\r\n\r\npython3 -q -X faulthandler -c \"from datasets import load_dataset; load_dataset('json', data_files='/Users/scampion/Downloads/1998-09.jsonl')\"\r\nGenerating train split: 0 examples [00:00, ? exa...
NONE
### Describe the bug Using various version for datasets, I'm no more longer able to load that dataset without a segmentation fault. Several others files are also concerned. ### Steps to reproduce the bug # Create a new venv python3 -m venv venv_test source venv_test/bin/activate # Install the latest versio...
2,274,828,933
I_kwDODunzps6HlyKF
6,856
CI fails on Windows for test_delete_from_hub and test_xgetsize_private due to new-line character
closed
completed
2024-05-02T07:37:03
2024-05-02T11:43:01
2024-05-02T11:43:01Z
https://github.com/huggingface/datasets/issues/6856
albertvillanova
[ "bug" ]
[ "albertvillanova" ]
[ "After investigation, I have found that when a local file is uploaded to the Hub, the new line character is no longer transformed to \"\\n\": on Windows machine now it is kept as \"\\r\\n\".\r\n\r\nAny idea why this changed?\r\nCC: @lhoestq " ]
MEMBER
CI fails on Windows for test_delete_from_hub after the merge of: - #6820 This is weird because the CI was green in the PR branch before merging to main. ``` FAILED tests/test_hub.py::test_delete_from_hub - AssertionError: assert [CommitOperat...\r\n---\r\n')] == [CommitOperat...in/*\n---\n')] At index 1 ...
2,274,767,686
I_kwDODunzps6HljNG
6,854
Wrong example of usage when config name is missing for community script-datasets
closed
completed
2024-05-02T06:59:39
2024-05-03T15:51:59
2024-05-03T15:51:58Z
https://github.com/huggingface/datasets/issues/6854
albertvillanova
[ "bug" ]
[ "albertvillanova" ]
[]
MEMBER
As reported by @Wauplin, when loading a community dataset with script, there is a bug in the example of usage of the error message if the dataset has multiple configs (and no default config) and the user does not pass any config. For example: ```python >>> ds = load_dataset("google/fleurs") ValueError: Config name i...
2,272,570,000
I_kwDODunzps6HdKqQ
6,853
Support soft links for load_datasets imagefolder
open
2024-04-30T22:14:29
2024-04-30T22:14:29
https://github.com/huggingface/datasets/issues/6853
billytcl
[ "enhancement" ]
[]
[]
NONE
### Feature request Load_dataset from a folder of images doesn't seem to support soft links. It would be nice if it did, especially during methods development where image folders are being curated. ### Motivation Images are coming from a complex variety of sources and we'd like to be able to soft link directly from ...
2,272,465,011
I_kwDODunzps6HcxBz
6,852
Write token isn't working while pushing to datasets
closed
completed
2024-04-30T21:18:20
2024-05-02T00:55:46
2024-05-02T00:55:46Z
https://github.com/huggingface/datasets/issues/6852
realzai
[]
[]
[]
NONE
### Describe the bug <img width="1001" alt="Screenshot 2024-05-01 at 3 37 06 AM" src="https://github.com/huggingface/datasets/assets/130903099/00fcf12c-fcc1-4749-8592-d263d4efcbcc"> As you can see I logged in to my account and the write token is valid. But I can't upload on my main account and I am getting that ...
2,270,965,503
I_kwDODunzps6HXC7_
6,851
load_dataset('emotion') UnicodeDecodeError
open
2024-04-30T09:25:01
2024-09-05T03:11:04
https://github.com/huggingface/datasets/issues/6851
Lue0353
[]
[]
[ "I met the same problem, here is my code:\r\n```\r\nfrom datasets import load_dataset\r\n\r\nds_name = \"togethercomputer/RedPajama-Data-1T\"\r\nds = load_dataset(ds_name, download_mode=DownloadMode.FORCE_REDOWNLOAD)\r\n```\r\nAnd output error is:\r\n```\r\nTraceback (most recent call last):\r\n File \"/home/yator...
NONE
### Describe the bug **emotions = load_dataset('emotion')** _UnicodeDecodeError: 'utf-8' codec can't decode byte 0x8b in position 1: invalid start byte_ ### Steps to reproduce the bug load_dataset('emotion') ### Expected behavior succese ### Environment info py3.10 transformers 4.41.0.dev0 datasets 2....
2,269,500,624
I_kwDODunzps6HRdTQ
6,850
Problem loading voxpopuli dataset
closed
completed
2024-04-29T16:46:51
2024-05-06T09:25:54
2024-05-06T09:25:54Z
https://github.com/huggingface/datasets/issues/6850
Namangarg110
[]
[ "albertvillanova" ]
[ "Version 2.18 works without problem.", "@Namangarg110 @mohsen-goodarzi The bug appears because the number of urls is less than 16 and the algorithm is meant to work on the previously created mode for a single url as stated on line 314: https://github.com/huggingface/datasets/blob/1bf8a46cc7b096d5c547ea3794f6a4b6...
NONE
### Describe the bug ``` Exception has occurred: FileNotFoundError Couldn't find file at https://huggingface.co/datasets/facebook/voxpopuli/resolve/main/{'en': 'data/en/asr_train.tsv'} ``` Error in logic for link url creation. The link should be https://huggingface.co/datasets/facebook/voxpopuli/resolve/main/da...
2,268,622,609
I_kwDODunzps6HOG8R
6,848
Cant Downlaod Common Voice 17.0 hy-AM
open
2024-04-29T10:06:02
2025-04-01T20:48:09
https://github.com/huggingface/datasets/issues/6848
mheryerznkanyan
[]
[]
[ "Same issue here.", "#self-assign", "Hi @mheryerznkanyan ,\nI tested it on a Linux-5.14.0-284.86.1.el9_2.x86_64-x86_64-with-glibc2.34 machine using the same package versions you mentioned, and it works fine now.\nDoes it work on your machine as well?" ]
NONE
### Describe the bug I want to download Common Voice 17.0 hy-AM but it returns an error. ``` The version_base parameter is not specified. Please specify a compatability version level, or None. Will assume defaults for version 1.1 @hydra.main(config_name='hfds_config', config_path=None) /usr/local/lib/pyth...
2,268,589,177
I_kwDODunzps6HN-x5
6,847
[Streaming] Only load requested splits without resolving files for the other splits
open
2024-04-29T09:49:32
2024-05-07T04:43:59
https://github.com/huggingface/datasets/issues/6847
lhoestq
[]
[ "lhoestq" ]
[ "This should help fixing this issue: https://github.com/huggingface/datasets/pull/6832", "I'm having a similar issue when using splices:\r\n<img width=\"947\" alt=\"image\" src=\"https://github.com/huggingface/datasets/assets/28941213/2153faac-e1fe-4b6d-a79b-30b2699407e8\">\r\n<img width=\"823\" alt=\"image\" src...
MEMBER
e.g. [thangvip](https://huggingface.co/thangvip)/[cosmopedia_vi_math](https://huggingface.co/datasets/thangvip/cosmopedia_vi_math) has 300 splits and it takes a very long time to load only one split. This is due to `load_dataset()` resolving the files of all the splits even if only one is needed. In `dataset-view...
2,267,352,120
I_kwDODunzps6HJQw4
6,846
Unimaginable super slow iteration
closed
completed
2024-04-28T05:24:14
2024-05-06T08:30:03
2024-05-06T08:30:03Z
https://github.com/huggingface/datasets/issues/6846
rangehow
[]
[]
[ "In every iteration you load the full \"random_input\" column in memory, only then to access it's i-th element.\r\n\r\nYou can try using this instead\r\n\r\na,b=dataset[i]['random_input'],dataset[i]['random_output']" ]
NONE
### Describe the bug Assuming there is a dataset with 52000 sentences, each with a length of 500, it takes 20 seconds to extract a sentence from the dataset……?Is there something wrong with my iteration? ### Steps to reproduce the bug ```python import datasets import time import random num_rows = 52000 n...
2,265,876,551
I_kwDODunzps6HDohH
6,845
load_dataset doesn't support list column
open
2024-04-26T14:11:44
2025-10-27T16:31:08
https://github.com/huggingface/datasets/issues/6845
arthasking123
[]
[]
[ "I encountered this same issue when loading a customized dataset for ORPO training, in which there were three columns and two of them were lists. \r\nI debugged and found that it might be caused by the type-infer mechanism and because in some chunks one of the columns is always an empty list ([]), it was regarded a...
NONE
### Describe the bug dataset = load_dataset("Doraemon-AI/text-to-neo4j-cypher-chinese") got exception: Generating train split: 1834 examples [00:00, 5227.98 examples/s] Traceback (most recent call last): File "/usr/local/lib/python3.11/dist-packages/datasets/builder.py", line 2011, in _prepare_split_single ...
2,265,432,897
I_kwDODunzps6HB8NB
6,843
IterableDataset raises exception instead of retrying
open
2024-04-26T10:00:43
2024-10-28T14:57:07
https://github.com/huggingface/datasets/issues/6843
bauwenst
[]
[]
[ "Thanks for reporting! I've opened a PR with a fix.", "Thanks, @mariosasko! Related question (although I guess this is a feature request): could we have some kind of exponential back-off for these retries? Here's my reasoning:\r\n- If a one-time accidental error happens, you should retry immediately and will succ...
NONE
### Describe the bug In light of the recent server outages, I decided to look into whether I could somehow wrap my IterableDataset streams to retry rather than error out immediately. To my surprise, `datasets` [already supports retries](https://github.com/huggingface/datasets/issues/6172#issuecomment-1794876229). Si...
2,264,692,159
I_kwDODunzps6G_HW_
6,842
Datasets with files with colon : in filenames cannot be used on Windows
open
2024-04-26T00:14:16
2024-04-26T00:14:16
https://github.com/huggingface/datasets/issues/6842
jacobjennings
[]
[]
[]
NONE
### Describe the bug Datasets (such as https://huggingface.co/datasets/MLCommons/peoples_speech) cannot be used on Windows due to the fact that windows does not allow colons ":" in filenames. These should be converted into alternative strings. ### Steps to reproduce the bug 1. Attempt to run load_dataset on MLCo...
2,264,687,683
I_kwDODunzps6G_GRD
6,841
Unable to load wiki_auto_asset_turk from GEM
closed
completed
2024-04-26T00:08:47
2024-05-29T13:54:03
2024-04-26T16:12:29Z
https://github.com/huggingface/datasets/issues/6841
abhinavsethy
[]
[]
[ "Hi! I've opened a [PR](https://huggingface.co/datasets/GEM/wiki_auto_asset_turk/discussions/5) with a fix. While waiting for it to be merged, you can load the dataset from the PR branch with `datasets.load_dataset(\"GEM/wiki_auto_asset_turk\", revision=\"refs/pr/5\")`", "Thanks Mario. Still getting the same issu...
NONE
### Describe the bug I am unable to load the wiki_auto_asset_turk dataset. I get a fatal error while trying to access wiki_auto_asset_turk and load it with datasets.load_dataset. The error (TypeError: expected str, bytes or os.PathLike object, not NoneType) is from filenames_for_dataset_split in a os.path.join call ...
2,264,604,766
I_kwDODunzps6G-yBe
6,840
Delete uploaded files from the UI
open
2024-04-25T22:33:57
2025-01-21T09:44:22
https://github.com/huggingface/datasets/issues/6840
saicharan2804
[ "enhancement" ]
[]
[ "This is super late, but if you click on any directory, you can delete the directory using a \"Delete Directory\" button in the top right of the interface, and similarly, if you click on any file, you can delete the file using a \"Delete File\" button in the top right." ]
NONE
### Feature request Once a file is uploaded and the commit is made, I am unable to delete individual files without completely deleting the whole dataset via the website UI. ### Motivation Would be a useful addition ### Your contribution Would love to help out with some guidance
2,263,674,843
I_kwDODunzps6G7O_b
6,838
Remove token arg from CLI examples
closed
completed
2024-04-25T14:00:38
2024-04-26T16:57:41
2024-04-26T16:57:41Z
https://github.com/huggingface/datasets/issues/6838
albertvillanova
[]
[ "albertvillanova" ]
[]
MEMBER
As suggested by @Wauplin, see: https://github.com/huggingface/datasets/pull/6831#discussion_r1579492603 > I would not advertise the --token arg in the example as this shouldn't be the recommended way (best to login with env variable or huggingface-cli login)
2,263,273,983
I_kwDODunzps6G5tH_
6,837
Cannot use cached dataset without Internet connection (or when servers are down)
open
2024-04-25T10:48:20
2025-01-25T16:36:41
https://github.com/huggingface/datasets/issues/6837
DionisMuzenitov
[]
[]
[ "There are 2 workarounds, tho:\r\n1. Download datasets from web and just load them locally\r\n2. Use metadata directly (temporal solution, since metadata can change)\r\n```\r\nimport datasets\r\nfrom datasets.data_files import DataFilesDict, DataFilesList\r\n\r\ndata_files_list = DataFilesList(\r\n [\r\n ...
NONE
### Describe the bug I want to be able to use cached dataset from HuggingFace even when I have no Internet connection (or when HuggingFace servers are down, or my company has network issues). The problem why I can't use it: `data_files` argument from `datasets.load_dataset()` function get it updates from the serve...
2,262,249,919
I_kwDODunzps6G1zG_
6,836
ExpectedMoreSplits error on load_dataset when upgrading to 2.19.0
open
2024-04-24T21:52:35
2024-05-14T04:08:19
https://github.com/huggingface/datasets/issues/6836
ebsmothers
[]
[]
[ "Get same error on same datasets too.", "+1", "same error" ]
NONE
### Describe the bug Hi there, thanks for the great library! We have been using it a lot in torchtune and it's been a huge help for us. Regarding the bug: the same call to `load_dataset` errors with `ExpectedMoreSplits` in 2.19.0 after working fine in 2.18.0. Full details given in the repro below. ### Steps to re...
2,261,078,104
I_kwDODunzps6GxVBY
6,834
largelisttype not supported (.from_polars())
closed
completed
2024-04-24T11:33:43
2024-08-12T14:43:46
2024-08-12T14:43:46Z
https://github.com/huggingface/datasets/issues/6834
Modexus
[]
[ "albertvillanova" ]
[]
CONTRIBUTOR
### Describe the bug The following code fails because LargeListType is not supported. This is especially a problem for .from_polars since polars uses LargeListType. ### Steps to reproduce the bug ```python import datasets import polars as pl df = pl.DataFrame({"list": [[]]}) datasets.Dataset.from_pola...
2,259,731,274
I_kwDODunzps6GsMNK
6,833
Super slow iteration with trivial custom transform
open
2024-04-23T20:40:59
2024-10-08T15:41:18
https://github.com/huggingface/datasets/issues/6833
xslittlegrass
[]
[]
[ "Similar issue in text process \r\n\r\n```python\r\n\r\ntokenizer=AutoTokenizer.from_pretrained(model_dir[args.model])\r\ntrain_dataset=datasets.load_from_disk(dataset_dir[args.dataset],keep_in_memory=True)['train']\r\ntrain_dataset=train_dataset.map(partial(dname2func[args.dataset],tokenizer=tokenizer),batched=Tru...
NONE
### Describe the bug Dataset is 10X slower when applying trivial transforms: ``` import time import numpy as np from datasets import Dataset, Features, Array2D a = np.zeros((800, 800)) a = np.stack([a] * 1000) features = Features({"a": Array2D(shape=(800, 800), dtype="uint8")}) ds1 = Dataset.from_dict({"...
2,258,433,178
I_kwDODunzps6GnPSa
6,830
Add a doc page for the convert_to_parquet CLI
closed
completed
2024-04-23T09:49:04
2024-04-25T10:44:11
2024-04-25T10:44:11Z
https://github.com/huggingface/datasets/issues/6830
severo
[ "documentation" ]
[ "albertvillanova" ]
[]
COLLABORATOR
Follow-up to https://github.com/huggingface/datasets/pull/6795. Useful for https://github.com/huggingface/dataset-viewer/issues/2742. cc @albertvillanova
2,258,424,577
I_kwDODunzps6GnNMB
6,829
Load and save from/to disk no longer accept pathlib.Path
open
2024-04-23T09:44:45
2026-05-10T11:50:37
https://github.com/huggingface/datasets/issues/6829
albertvillanova
[ "bug" ]
[]
[ "Opened a PR for this: #8004", "Hi! Triaging older issues — I think this one has shipped and can be closed.\n\nI tried to reproduce on the current `main` branch with the snippet below and both code paths now work:\n\n```python\nfrom pathlib import Path\nimport tempfile\nfrom datasets import Dataset\n\nds = Datase...
MEMBER
Reported by @vttrifonov at https://github.com/huggingface/datasets/pull/6704#issuecomment-2071168296: > This change is breaking in > https://github.com/huggingface/datasets/blob/f96e74d5c633cd5435dd526adb4a74631eb05c43/src/datasets/arrow_dataset.py#L1515 > when the input is `pathlib.Path`. The issue is that `url_to...
2,254,011,833
I_kwDODunzps6GWX25
6,827
Loading a remote dataset fails in the last release (v2.19.0)
open
2024-04-19T21:11:58
2024-04-19T21:13:42
https://github.com/huggingface/datasets/issues/6827
zrthxn
[]
[]
[]
NONE
While loading a dataset with multiple splits I get an error saying `Couldn't find file at <URL>` I am loading the dataset like so, nothing out of the ordinary. This dataset needs a token to access it. ``` token="hf_myhftoken-sdhbdsjgkhbd" load_dataset("speechcolab/gigaspeech", "test", cache_dir=f"gigaspeech/test...
2,251,076,197
I_kwDODunzps6GLLJl
6,824
Winogrande does not seem to be compatible with datasets version of 1.18.0
closed
completed
2024-04-18T16:11:04
2024-04-19T09:53:15
2024-04-19T09:52:33Z
https://github.com/huggingface/datasets/issues/6824
spliew
[]
[]
[ "Hi ! Do you mean 2.18 ? Can you try to update `fsspec` and `huggingface_hub` ?\r\n\r\n```\r\npip install -U fsspec huggingface_hub\r\n```", "Yes I meant 2.18, and it works after updating `fsspec` and `huggingface_hub`. Thanks!" ]
NONE
### Describe the bug I get the following error when simply running `load_dataset('winogrande','winogrande_xl')`. I do not have such an issue in the 1.17.0 version. ```Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/usr/local/lib/python3.10/dist-packages/datasets/load.py", line...
2,250,775,569
I_kwDODunzps6GKBwR
6,823
Loading problems of Datasets with a single shard
open
2024-04-18T13:59:00
2025-10-15T13:31:49
https://github.com/huggingface/datasets/issues/6823
andjoer
[]
[]
[ "Has there been a PR to resolve this already?", "The problem rises from using a wrong api.\r\nWhen loading a save_to_disk dataset, **load_from_disk** (instead of load_dataset) is what should be used.\r\n\r\n```python\r\nfrom datasets import load_from_disk\r\n\r\ndst.save_to_disk(\"cache\")\r\ndst = load_from_disk...
NONE
### Describe the bug When saving a dataset on disk and it has a single shard it is not loaded as when it is saved in multiple shards. I installed the latest version of datasets via pip. ### Steps to reproduce the bug The code below reproduces the behavior. All works well when the range of the loop is 10000 bu...
2,248,043,797
I_kwDODunzps6F_m0V
6,819
Give more details in `DataFilesNotFoundError` when getting the config names
open
2024-04-17T11:19:47
2024-04-17T11:19:47
https://github.com/huggingface/datasets/issues/6819
severo
[ "enhancement" ]
[]
[]
COLLABORATOR
### Feature request After https://huggingface.co/datasets/cis-lmu/Glot500/commit/39060e01272ff228cc0ce1d31ae53789cacae8c3, the dataset viewer gives the following error: ``` { "error": "Cannot get the config names for the dataset.", "cause_exception": "DataFilesNotFoundError", "cause_message": "No (support...
2,245,857,902
I_kwDODunzps6F3RJu
6,814
`map` with `num_proc` > 1 leads to OOM
open
2024-04-16T11:56:03
2024-04-19T11:53:41
https://github.com/huggingface/datasets/issues/6814
bhavitvyamalik
[]
[]
[ "Hi ! You can try to reduce `writer_batch_size`. It corresponds to the number of samples that stay in RAM before being flushed to disk" ]
CONTRIBUTOR
### Describe the bug When running `map` on parquet dataset loaded from local machine, the RAM usage increases linearly eventually leading to OOM. I was wondering if I should I save the `cache_file` after every n steps in order to prevent this? ### Steps to reproduce the bug ``` ds = load_dataset("parquet", data...
2,242,968,745
I_kwDODunzps6FsPyp
6,810
Allow deleting a subset/config from a no-script dataset
closed
completed
2024-04-15T07:53:26
2025-01-11T18:40:40
2024-04-30T09:44:25Z
https://github.com/huggingface/datasets/issues/6810
albertvillanova
[ "enhancement" ]
[ "albertvillanova" ]
[ "Probably best to implement this as a CLI command?", "Thanks for your comment, @mariosasko. Or maybe both (in Python and as CLI command)? The Python command would be just the reverse of `push_to_hub`...\r\n\r\nI am working on a draft implementation, so we can discuss about the API and UX.", "2nd time I've come ...
MEMBER
As proposed by @BramVanroy, it would be neat to have this functionality through the API.
2,242,843,611
I_kwDODunzps6FrxPb
6,808
Make convert_to_parquet CLI command create script branch
closed
completed
2024-04-15T06:46:07
2024-04-17T08:38:19
2024-04-17T08:38:19Z
https://github.com/huggingface/datasets/issues/6808
albertvillanova
[ "enhancement" ]
[ "albertvillanova" ]
[]
MEMBER
As proposed by @severo, maybe we should add this functionality as well to the CLI command to convert a script-dataset to Parquet. See: https://github.com/huggingface/datasets/pull/6795#discussion_r1562819168 > When providing support, we sometimes suggest that users store their script in a script branch. What do you th...
2,239,034,951
I_kwDODunzps6FdPZH
6,805
Batched mapping of existing string column casts boolean to string
closed
completed
2024-04-12T04:21:41
2024-07-03T15:00:07
2024-07-03T15:00:07Z
https://github.com/huggingface/datasets/issues/6805
starmpcc
[]
[]
[ "This seems to be hardcoded behavior in table.py `array_cast`.\r\n```python\r\nif (\r\n not allow_number_to_str\r\n and pa.types.is_string(pa_type)\r\n and (pa.types.is_floating(array.type) or pa.types.is_integer(array.type))\r\n ):\r\n raise TypeError(\r\n ...
NONE
### Describe the bug Let the dataset contain a column named 'a', which is of the string type. If 'a' is converted to a boolean using batched mapping, the mapper automatically casts the boolean to a string (e.g., True -> 'true'). It only happens when the original column and the mapped column name are identical. Th...
2,236,911,556
I_kwDODunzps6FVI_E
6,801
got fileNotFound
closed
completed
2024-04-11T04:57:41
2024-04-12T16:47:43
2024-04-12T16:47:43Z
https://github.com/huggingface/datasets/issues/6801
laoniandisko
[]
[]
[ "Hi! I'll open a PR on the Hub to fix this, but please use the Hub's [Community tab](https://huggingface.co/datasets/nyanko7/danbooru2023/discussions) to report such issues in the future.", "I've opened a [PR](https://huggingface.co/datasets/nyanko7/danbooru2023/discussions/8) in the repo, so let's continue the d...
NONE
### Describe the bug When I use load_dataset to load the nyanko7/danbooru2023 data set, the cache is read in the form of a symlink. There may be a problem with the arrow_dataset initialization process and I get FileNotFoundError: [Errno 2] No such file or directory: '2945000.jpg' ### Steps to reproduce the bug #code...
2,236,431,288
I_kwDODunzps6FTTu4
6,800
High overhead when loading lots of subsets from the same dataset
open
2024-04-10T21:08:57
2024-04-24T13:48:05
https://github.com/huggingface/datasets/issues/6800
loicmagne
[]
[]
[ "Hi !\r\n\r\nIt's possible to multiple files at once:\r\n\r\n```python\r\ndata_files = \"data/*.jsonl\"\r\n# Or pass a list of files\r\nlangs = ['ka-ml', 'br-sr', 'ka-pt', 'id-ko', ..., 'fi-ze_zh', 'he-kk', 'ka-tr']\r\ndata_files = [f\"data/{lang}.jsonl\" for lang in langs]\r\nds = load_dataset(\"loicmagne/open-sub...
NONE
### Describe the bug I have a multilingual dataset that contains a lot of subsets. Each subset corresponds to a pair of languages, you can see here an example with 250 subsets: [https://hf.co/datasets/loicmagne/open-subtitles-250-bitext-mining](). As part of the MTEB benchmark, we may need to load all the subsets of t...