id
stringlengths
18
24
number
int64
2
8.48k
title
stringlengths
1
290
body
stringlengths
0
228k
state
stringclasses
2 values
createdAt
timestamp[s]date
2020-04-14 18:18:51
2026-08-13 03:02:44
updatedAt
timestamp[s]date
2020-04-29 09:23:05
2026-08-15 04:47:12
closedAt
timestamp[s]date
2020-04-29 09:23:05
2026-07-28 10:29:56
url
stringlengths
48
51
author
dict
labels
dict
comments
listlengths
0
30
I_kwDODunzps55y3ZY
6,501
OverflowError: value too large to convert to int32_t
### Describe the bug ![image](https://github.com/huggingface/datasets/assets/47747764/f58044fb-ddda-48b6-ba68-7bbfef781630) ### Steps to reproduce the bug just loading datasets ### Expected behavior how can I fix it ### Environment info pip install /mnt/cluster/zhangfan/study_info/LLaMA-Factory/peft-0.6.0-py3...
OPEN
2023-12-15T10:10:21
2025-06-27T04:27:14
null
https://github.com/huggingface/datasets/issues/6501
{ "login": "zhangfan-algo" }
{ "nodes": [] }
[ "+1\n" ]
I_kwDODunzps55tlwi
6,497
Support setting a default config name in push_to_hub
In order to convert script-datasets to no-script datasets, we need to support setting a default config name for those scripts that set one.
CLOSED
2023-12-14T15:59:03
2023-12-18T11:50:04
2023-12-18T11:50:04
https://github.com/huggingface/datasets/issues/6497
{ "login": "albertvillanova" }
{ "nodes": [ { "name": "enhancement" } ] }
[]
I_kwDODunzps55sC6K
6,496
Error when writing a dataset to HF Hub: A commit has happened since. Please refresh and try again.
**Describe the bug** Getting a `412 Client Error: Precondition Failed` when trying to write a dataset to the HF hub. ``` huggingface_hub.utils._errors.HfHubHTTPError: 412 Client Error: Precondition Failed for url: https://huggingface.co/api/datasets/GLorr/test-dask/commit/main (Request ID: Root=1-657ae26f-3bd92b...
OPEN
2023-12-14T11:24:54
2023-12-14T12:22:21
null
https://github.com/huggingface/datasets/issues/6496
{ "login": "GeorgesLorre" }
{ "nodes": [] }
[ "I transferred from datasets-server, since the issue is more about `datasets` and the integration with `huggingface_hub`." ]
I_kwDODunzps55kx7n
6,494
Image Data loaded Twice
### Describe the bug ![1702472610561](https://github.com/huggingface/datasets/assets/28867010/4b7ef5e7-32c3-4b73-84cb-5de059caa0b6) When I learn from https://huggingface.co/docs/datasets/image_load and try to load image data from a folder. I noticed that the image was read twice in the returned data. As you can see i...
OPEN
2023-12-13T13:11:42
2023-12-13T13:11:42
null
https://github.com/huggingface/datasets/issues/6494
{ "login": "ArcaneLex" }
{ "nodes": [] }
[]
I_kwDODunzps55k3tx
6,495
Newline characters don't behave as expected when calling dataset.info
### System Info - `transformers` version: 4.32.1 - Platform: Windows-10-10.0.19045-SP0 - Python version: 3.11.5 - Huggingface_hub version: 0.15.1 - Safetensors version: 0.3.2 - Accelerate version: not installed - Accelerate config: not found - PyTorch version (GPU?): 2.1.1+cpu (False) - Tensorflow version (GPU...
OPEN
2023-12-12T23:07:51
2023-12-13T13:24:22
null
https://github.com/huggingface/datasets/issues/6495
{ "login": "gerald-wrona" }
{ "nodes": [] }
[]
I_kwDODunzps55bUec
6,490
`load_dataset(...,save_infos=True)` not working without loading script
### Describe the bug It seems that saving a dataset infos back into the card file is not working for datasets without a loading script. After tracking the problem a bit it looks like saving the infos uses `Builder.get_imported_module_dir()` as its destination directory. Internally this is a call to `inspect.getfil...
OPEN
2023-12-12T08:09:18
2023-12-12T08:36:22
null
https://github.com/huggingface/datasets/issues/6490
{ "login": "morganveyret" }
{ "nodes": [] }
[ "Also, once the README.md exists in the python environment it is used when loading another dataset in the same format (e.g. json) since it always resolves the path to the same directory.\r\nThe consequence here is any other dataset won't load because of infos mismatch.\r\nTo reproduce this aspect:\r\n1. Do a `load_...
I_kwDODunzps55Zj5h
6,489
load_dataset imageflder for aws s3 path
### Feature request I would like to load a dataset from S3 using the imagefolder option something like `dataset = datasets.load_dataset('imagefolder', data_dir='s3://.../lsun/train/bedroom', fs=S3FileSystem(), streaming=True) ` ### Motivation no need of data_files ### Your contribution no experience...
OPEN
2023-12-12T00:08:43
2023-12-12T00:09:27
null
https://github.com/huggingface/datasets/issues/6489
{ "login": "segalinc" }
{ "nodes": [ { "name": "enhancement" } ] }
[]
I_kwDODunzps55WV36
6,488
429 Client Error
Hello, I was downloading the following dataset and after 20% of data was downloaded, I started getting error 429. It is not resolved since a few days. How should I resolve it? Thanks Dataset: https://huggingface.co/datasets/cerebras/SlimPajama-627B Error: `requests.exceptions.HTTPError: 429 Client Error: Too M...
OPEN
2023-12-11T15:06:01
2024-06-20T05:55:45
null
https://github.com/huggingface/datasets/issues/6488
{ "login": "sasaadi" }
{ "nodes": [] }
[ "Transferring repos as this is a datasets issue ", "I'm getting a similar issue even though I've already downloaded the dataset 😅 \r\n\r\n```\r\nhuggingface_hub.utils._errors.HfHubHTTPError: 429 Client Error: Too Many Requests for url: https://huggingface.co/api/datasets/HuggingFaceM4/WebSight\r\n```" ]
I_kwDODunzps55Tcz8
6,485
FileNotFoundError: [Errno 2] No such file or directory: 'nul'
### Describe the bug it seems that sth wrong with my terrible "bug body" life, When i run this code, "import datasets" i meet this error FileNotFoundError: [Errno 2] No such file or directory: 'nul' ![image](https://github.com/huggingface/datasets/assets/73683903/3973c120-ebb1-42b7-bede-b9de053e861d) ![image](htt...
CLOSED
2023-12-11T08:52:13
2023-12-14T08:09:08
2023-12-14T08:09:08
https://github.com/huggingface/datasets/issues/6485
{ "login": "amanyara" }
{ "nodes": [] }
[ "Hi! It seems like the problem is your environment. Maybe this issue can help: https://github.com/pytest-dev/pytest/issues/9519. " ]
I_kwDODunzps55LE8l
6,483
Iterable Dataset: rename column clashes with remove column
### Describe the bug Suppose I have a two iterable datasets, one with the features: * `{"audio", "text", "column_a"}` And the other with the features: * `{"audio", "sentence", "column_b"}` I want to combine both datasets using `interleave_datasets`, which requires me to unify the column names. I would typic...
CLOSED
2023-12-08T16:11:30
2023-12-08T16:27:16
2023-12-08T16:27:04
https://github.com/huggingface/datasets/issues/6483
{ "login": "sanchit-gandhi" }
{ "nodes": [ { "name": "streaming" } ] }
[ "Column \"text\" doesn't exist anymore so you can't remove it", "You can get the expected result by fixing typos in the snippet :)\r\n```python\r\nfrom datasets import load_dataset\r\n\r\n# load LS in streaming mode\r\ndataset = load_dataset(\"librispeech_asr\", \"clean\", split=\"validation\", streaming=True)\r\...
I_kwDODunzps55MjQu
6,484
[Feature Request] Dataset versioning
**Is your feature request related to a problem? Please describe.** I am working on a project, where I would like to test different preprocessing methods for my ML-data. Thus, I would like to work a lot with revisions and compare them. Currently, I was not able to make it work with the revision keyword because it was n...
OPEN
2023-12-08T16:01:35
2023-12-11T19:13:46
null
https://github.com/huggingface/datasets/issues/6484
{ "login": "kenfus" }
{ "nodes": [] }
[ "Hello @kenfus, this is meant to be possible to do yes. Let me ping @lhoestq or @mariosasko from the `datasets` team (`huggingface_hub` is only the underlying library to download files from the Hub but here it looks more like a `datasets` problem). ", "Hi! https://github.com/huggingface/datasets/pull/6459 will fi...
I_kwDODunzps55J8cT
6,481
using torchrun, save_to_disk suddenly shows SIGTERM
### Describe the bug When I run my code using the "torchrun" command, when the code reaches the "save_to_disk" part, suddenly I get the following warning and error messages: Because the dataset is too large, the "save_to_disk" function splits it into 70 parts for saving. However, an error occurs suddenly when it reac...
OPEN
2023-12-08T13:22:03
2023-12-08T13:22:03
null
https://github.com/huggingface/datasets/issues/6481
{ "login": "Ariya12138" }
{ "nodes": [] }
[]
I_kwDODunzps544eqs
6,478
How to load data from lakefs
My dataset is stored on the company's lakefs server. How can I write code to load the dataset? It would be great if I could provide code examples or provide some references
CLOSED
2023-12-06T09:04:11
2024-07-03T19:13:57
2024-07-03T19:13:56
https://github.com/huggingface/datasets/issues/6478
{ "login": "d710055071" }
{ "nodes": [] }
[ "You can create a `pandas` DataFrame following [this](https://lakefs.io/data-version-control/dvc-using-python/) tutorial, and then convert this DataFrame to a `Dataset` with `datasets.Dataset.from_pandas`. For larger datasets (to memory map them), you can use `Dataset.from_generator` with a generator function that ...
I_kwDODunzps544Ruk
6,476
CI on windows is broken: PermissionError
See: https://github.com/huggingface/datasets/actions/runs/7104781624/job/19340572394 ``` FAILED tests/test_load.py::test_loading_from_the_datasets_hub - NotADirectoryError: [WinError 267] The directory name is invalid: 'C:\\Users\\RUNNER~1\\AppData\\Local\\Temp\\tmpfcnps56i\\hf-internal-testing___dataset_with_script\...
CLOSED
2023-12-06T08:32:53
2023-12-06T09:17:53
2023-12-06T09:17:53
https://github.com/huggingface/datasets/issues/6476
{ "login": "albertvillanova" }
{ "nodes": [ { "name": "bug" } ] }
[]
I_kwDODunzps5410Sm
6,475
laion2B-en failed to load on Windows with PrefetchVirtualMemory failed
### Describe the bug I have downloaded laion2B-en, and I'm receiving the following error trying to load it: ``` Resolving data files: 100%|██████████| 128/128 [00:00<00:00, 1173.79it/s] Traceback (most recent call last): File "D:\Art-Workspace\src\artworkspace\tokeneval\compute_frequencies.py", line 31, in <mo...
OPEN
2023-12-06T00:07:34
2023-12-06T23:26:23
null
https://github.com/huggingface/datasets/issues/6475
{ "login": "doctorpangloss" }
{ "nodes": [] }
[ "~~You will see this error if the cache dir filepath contains relative `..` paths. Use `os.path.realpath(_CACHE_DIR)` before passing it to the `load_dataset` function.~~", "This is a real issue and not related to paths.", "Based on the StackOverflow answer, this causes the error to go away:\r\n```diff\r\ndiff -...
I_kwDODunzps54ydX_
6,472
CI quality is broken
See: https://github.com/huggingface/datasets/actions/runs/7100835633/job/19327734359 ``` Would reformat: src/datasets/features/image.py 1 file would be reformatted, 253 files left unchanged ```
CLOSED
2023-12-05T15:35:34
2023-12-06T08:17:34
2023-12-05T18:08:43
https://github.com/huggingface/datasets/issues/6472
{ "login": "albertvillanova" }
{ "nodes": [ { "name": "bug" }, { "name": "maintenance" } ] }
[]
I_kwDODunzps54rtdf
6,470
If an image in a dataset is corrupted, we get unescapable error
### Describe the bug Example discussed in detail here: https://huggingface.co/datasets/sasha/birdsnap/discussions/1 ### Steps to reproduce the bug ``` from datasets import load_dataset, VerificationMode dataset = load_dataset( 'sasha/birdsnap', split="train", verification_mode=VerificationMode.ALL_C...
OPEN
2023-12-04T20:58:49
2023-12-04T20:58:49
null
https://github.com/huggingface/datasets/issues/6470
{ "login": "chigozienri" }
{ "nodes": [] }
[]
I_kwDODunzps54lzBZ
6,467
New version release request
### Feature request Hi! I am using `datasets` in library `xtuner` and am highly interested in the features introduced since v2.15.0. To avoid installation from source in our pypi wheels, we are eagerly waiting for the new release. So, Does your team have a new release plan for v2.15.1 and could you please share ...
CLOSED
2023-12-04T07:08:26
2023-12-04T15:42:22
2023-12-04T15:42:22
https://github.com/huggingface/datasets/issues/6467
{ "login": "LZHgrla" }
{ "nodes": [ { "name": "enhancement" } ] }
[ "We will publish it soon (we usually do it in intervals of 1-2 months, so probably next week)", "Thanks!" ]
I_kwDODunzps54jnHY
6,466
Can't align optional features of struct
### Describe the bug Hello! I'm currently experiencing an issue where I can't concatenate datasets if an inner field of a Feature is Optional. I have a column named `speaker`, and this holds some information about a speaker. ```python @dataclass class Speaker: name: str email: Optional[str] ``` ...
CLOSED
2023-12-03T15:57:07
2024-02-15T15:19:33
2024-02-08T14:38:34
https://github.com/huggingface/datasets/issues/6466
{ "login": "Dref360" }
{ "nodes": [] }
[ "Friendly bump, I would be happy to work on this issue once I get the go-ahead from the dev team. ", "Thanks for the PR!\r\n\r\nI'm struggling with this as well and would love to see this PR merged. My case is slightly different, with keys completely missing rather than being `None`:\r\n\r\n```\r\nds = Dataset.fr...
I_kwDODunzps54iIN0
6,465
`load_dataset` uses out-of-date cache instead of re-downloading a changed dataset
### Describe the bug When a dataset is updated on the hub, using `load_dataset` will load the locally cached dataset instead of re-downloading the updated dataset ### Steps to reproduce the bug Here is a minimal example script to 1. create an initial dataset and upload 2. download it so it is stored in cache 3. c...
OPEN
2023-12-02T21:35:17
2024-08-20T08:32:11
null
https://github.com/huggingface/datasets/issues/6465
{ "login": "mnoukhov" }
{ "nodes": [] }
[ "Hi, thanks for reporting! https://github.com/huggingface/datasets/pull/6459 will fix this.", "I meet a similar problem as using loading scripts. I have to set download_mode='force_redownload' to load the latest script." ]
I_kwDODunzps54P5kr
6,460
jsonlines files don't load with `load_dataset`
### Describe the bug While [the docs](https://huggingface.co/docs/datasets/upload_dataset#upload-dataset) seem to state that `.jsonl` is a supported extension for `datasets`, loading the dataset results in a `JSONDecodeError`. ### Steps to reproduce the bug Code: ``` from datasets import load_dataset dset = load_...
CLOSED
2023-11-29T21:20:11
2023-12-29T02:58:29
2023-12-05T13:30:53
https://github.com/huggingface/datasets/issues/6460
{ "login": "serenalotreck" }
{ "nodes": [] }
[ "Hi @serenalotreck,\r\n\r\nWe use Apache Arrow `pyarrow` to read jsonlines and it throws an error when trying to load your data files:\r\n```python\r\nIn [1]: import pyarrow as pa\r\n\r\nIn [2]: data = pa.json.read_json(\"train.jsonl\")\r\n---------------------------------------------------------------------------\...
I_kwDODunzps54JGMD
6,457
`TypeError`: huggingface_hub.hf_file_system.HfFileSystem.find() got multiple values for keyword argument 'maxdepth'
### Describe the bug Please see https://github.com/huggingface/huggingface_hub/issues/1872 ### Steps to reproduce the bug Please see https://github.com/huggingface/huggingface_hub/issues/1872 ### Expected behavior Please see https://github.com/huggingface/huggingface_hub/issues/1872 ### Environment info Please s...
CLOSED
2023-11-29T01:57:36
2023-11-29T15:39:03
2023-11-29T02:02:38
https://github.com/huggingface/datasets/issues/6457
{ "login": "wasertech" }
{ "nodes": [] }
[ "Updating `fsspec>=2023.10.0` did solve the issue.", "May be it should be pinned somewhere?", "> Maybe this should go in datasets directly... anyways you can easily fix this error by updating datasets>=2.15.1.dev0.\r\n\r\n@lhoestq @mariosasko for what I understand this is a bug fixed in `datasets` already, righ...
I_kwDODunzps532MEY
6,451
Unable to read "marsyas/gtzan" data
Hi, this is my code and the error: ``` from datasets import load_dataset gtzan = load_dataset("marsyas/gtzan", "all") ``` [error_trace.txt](https://github.com/huggingface/datasets/files/13464397/error_trace.txt) [audio_yml.txt](https://github.com/huggingface/datasets/files/13464410/audio_yml.txt) Python 3.11.5 ...
CLOSED
2023-11-25T15:13:17
2023-12-01T12:53:46
2023-11-27T09:36:25
https://github.com/huggingface/datasets/issues/6451
{ "login": "gerald-wrona" }
{ "nodes": [] }
[ "Hi! We've merged a [PR](https://huggingface.co/datasets/marsyas/gtzan/discussions/1) that fixes the script's path logic on Windows.", "I have transferred the discussion to the corresponding dataset: https://huggingface.co/datasets/marsyas/gtzan/discussions/2\r\n\r\nLet's continue there.", "@mariosasko @albertv...
I_kwDODunzps53xme6
6,450
Support multiple image/audio columns in ImageFolder/AudioFolder
### Feature request Have a metadata.csv file with multiple columns that point to relative image or audio files. ### Motivation Currently, ImageFolder allows one column, called `file_name`, pointing to relative image files. On the same model, AudioFolder allows one column, called `file_name`, pointing to relative aud...
CLOSED
2023-11-24T10:34:09
2023-11-28T11:07:17
2023-11-24T17:24:38
https://github.com/huggingface/datasets/issues/6450
{ "login": "severo" }
{ "nodes": [ { "name": "duplicate" }, { "name": "enhancement" } ] }
[ "A duplicate of https://github.com/huggingface/datasets/issues/5760" ]
I_kwDODunzps53sqDi
6,447
Support one dataset loader per config when using YAML
### Feature request See https://huggingface.co/datasets/datasets-examples/doc-unsupported-1 I would like to use CSV loader for the "csv" config, JSONL loader for the "jsonl" config, etc. ### Motivation It would be more flexible for the users ### Your contribution No specific contribution
OPEN
2023-11-23T13:03:07
2023-11-23T13:03:07
null
https://github.com/huggingface/datasets/issues/6447
{ "login": "severo" }
{ "nodes": [ { "name": "enhancement" } ] }
[]
I_kwDODunzps53oc3k
6,446
Speech Commands v2 dataset doesn't match AST-v2 config
### Describe the bug [According](https://huggingface.co/MIT/ast-finetuned-speech-commands-v2) to `MIT/ast-finetuned-speech-commands-v2`, the model was trained on the Speech Commands v2 dataset. However, while the model config says the model should have 35 class labels, the dataset itself has 36 class labels. Moreover,...
CLOSED
2023-11-22T20:46:36
2023-11-28T14:46:08
2023-11-28T14:46:08
https://github.com/huggingface/datasets/issues/6446
{ "login": "vymao" }
{ "nodes": [] }
[ "You can use `.align_labels_with_mapping` on the dataset to align the labels with the model config.\r\n\r\nRegarding the number of labels, only the special `_silence_` label corresponding to noise is missing, which is consistent with the model paper (reports training on 35 labels). You can run a `.filter` to drop ...
I_kwDODunzps53mc2w
6,443
Trouble loading files defined in YAML explicitly
Look at https://huggingface.co/datasets/severo/doc-yaml-2 It's a reproduction of the example given in the docs at https://huggingface.co/docs/hub/datasets-manual-configuration ``` You can select multiple files per split using a list of paths: my_dataset_repository/ ├── README.md ├── data/ │ ├── abc.csv ...
OPEN
2023-11-22T15:18:10
2025-06-23T13:46:46
null
https://github.com/huggingface/datasets/issues/6443
{ "login": "severo" }
{ "nodes": [ { "name": "bug" } ] }
[ "There is a typo in one of the file names - `data/edf.csv` should be renamed to `data/def.csv` 🙂. ", "wow, I reviewed it twice to avoid being ashamed like that, but... I didn't notice the typo.\r\n\r\n---\r\n\r\nBesides this: do you think we would be able to improve the error message to make this clearer?", "H...
I_kwDODunzps53knT7
6,442
Trouble loading image folder with additional features - metadata file ignored
### Describe the bug Loading image folder with a caption column using `load_dataset(<image_folder_path>)` doesn't load the captions. When loading a local image folder with captions using `datasets==2.13.0` ``` from datasets import load_dataset data = load_dataset(<image_folder_path>) data.column_names ``` ...
CLOSED
2023-11-22T11:01:35
2023-11-24T17:13:03
2023-11-24T17:13:03
https://github.com/huggingface/datasets/issues/6442
{ "login": "linoytsaban" }
{ "nodes": [] }
[ "I reproduced too:\r\n- root: metadata file is ignored (https://huggingface.co/datasets/severo/doc-image-3)\r\n- data/ dir: metadata file is ignored (https://huggingface.co/datasets/severo/doc-image-4)\r\n- train/ dir: works (https://huggingface.co/datasets/severo/doc-image-5)" ]
I_kwDODunzps53gagB
6,441
Trouble Loading a Gated Dataset For User with Granted Permission
### Describe the bug I have granted permissions to several users to access a gated huggingface dataset. The users accepted the invite and when trying to load the dataset using their access token they get `FileNotFoundError: Couldn't find a dataset script at .....` . Also when they try to click the url link for the d...
CLOSED
2023-11-21T19:24:36
2023-12-13T08:27:16
2023-12-13T08:27:16
https://github.com/huggingface/datasets/issues/6441
{ "login": "e-trop" }
{ "nodes": [] }
[ "> Also when they try to click the url link for the dataset they get a 404 error.\r\n\r\nThis seems to be a Hub error then (cc @SBrandeis)", "Could you report this to https://discuss.huggingface.co/c/hub/23, providing the URL of the dataset, or at least if the dataset is public or private?", "Thanks for the rep...
I_kwDODunzps53emJ1
6,440
`.map` not hashing under python 3.9
### Describe the bug The `.map` function cannot hash under python 3.9. Tried to use [the solution here](https://github.com/huggingface/datasets/issues/4521#issuecomment-1205166653), but still get the same message: `Parameter 'function'=<function map_to_pred at 0x7fa0b49ead30> of the transform datasets.arrow_data...
CLOSED
2023-11-21T15:14:54
2023-11-28T16:29:33
2023-11-28T16:29:33
https://github.com/huggingface/datasets/issues/6440
{ "login": "changyeli" }
{ "nodes": [] }
[ "Tried to upgrade Python to 3.11 - still get this message. A partial solution is to NOT use `num_proc` at all. It will be considerably longer to finish the job.", "Hi! The `model = torch.compile(model)` line is problematic for our hashing logic. We would have to merge https://github.com/huggingface/datasets/pull/...
I_kwDODunzps53YhSi
6,439
Download + preparation speed of datasets.load_dataset is 20x slower than huggingface hub snapshot and manual loding
### Describe the bug I am working with a dataset I am trying to publish. The path is Antreas/TALI. It's a fairly large dataset, and contains images, video, audio and text. I have been having multiple problems when the dataset is being downloaded using the load_dataset function -- even with 64 workers takin...
OPEN
2023-11-20T20:07:23
2025-12-17T09:49:21
null
https://github.com/huggingface/datasets/issues/6439
{ "login": "AntreasAntoniou" }
{ "nodes": [] }
[ "Hi Antreas, facing a similar type of bug, did you find any workaround?? " ]
I_kwDODunzps53VJik
6,438
Support GeoParquet
### Feature request Support the GeoParquet format ### Motivation GeoParquet (https://geoparquet.org/) is a common format for sharing vectorial geospatial data on the cloud, along with "traditional" data columns. It would be nice to be able to load this format with datasets, and more generally, in the Datasets Hub...
OPEN
2023-11-20T11:54:58
2024-02-07T08:36:51
null
https://github.com/huggingface/datasets/issues/6438
{ "login": "severo" }
{ "nodes": [ { "name": "enhancement" } ] }
[ "Thank you, @severo ! I would be more than happy to help in any way I can. I am not familiar with this repo's codebase, but I would be eager to contribute. :)\r\n\r\nFor the preview in Datasets Hub, I think it makes sense to just display the geospatial column as text. If there were a dataset loader, though, I think...
I_kwDODunzps53SP8e
6,437
Problem in training iterable dataset
### Describe the bug I am using PyTorch DDP (Distributed Data Parallel) to train my model. Since the data is too large to load into memory at once, I am using load_dataset to read the data as an iterable dataset. I have used datasets.distributed.split_dataset_by_node to distribute the dataset. However, I have notice...
OPEN
2023-11-20T03:04:02
2025-11-06T17:15:41
null
https://github.com/huggingface/datasets/issues/6437
{ "login": "21Timothy" }
{ "nodes": [] }
[ "Has anyone ever encountered this problem before?", "`split_dataset_by_node` doesn't give the exact same number of examples to each node in the case of iterable datasets, though it tries to be as equal as possible. In particular if your dataset is sharded and you have a number of shards that is a factor of the nu...
I_kwDODunzps53Qna6
6,436
TypeError: <lambda>() takes 0 positional arguments but 1 was given
### Describe the bug ``` --------------------------------------------------------------------------- TypeError Traceback (most recent call last) [<ipython-input-35-7b6becee3685>](https://localhost:8080/#) in <cell line: 1>() ----> 1 from datasets import Dataset 9 frames [/usr/lo...
CLOSED
2023-11-19T13:10:20
2025-05-05T18:21:21
2023-11-29T16:28:34
https://github.com/huggingface/datasets/issues/6436
{ "login": "ahmadmustafaanis" }
{ "nodes": [] }
[ "This looks like a problem with your environment rather than `datasets`.", "I meet the same problem,\r\nand originally use\r\n```python\r\nlocale.getpreferredencoding = lambda : \"UTF-8\"\r\n```\r\nand change to\r\n```\r\nlocale.getpreferredencoding = lambda x: \"UTF-8\"\r\n```\r\nand it works.", "> I meet the ...
I_kwDODunzps53QB1R
6,435
Cannot re-initialize CUDA in forked subprocess. To use CUDA with multiprocessing, you must use the 'spawn' start method
### Describe the bug 1. I ran dataset mapping with `num_proc=6` in it and got this error: `RuntimeError: Cannot re-initialize CUDA in forked subprocess. To use CUDA with multiprocessing, you must use the 'spawn' start method` I can't actually find a way to run multi-GPU dataset mapping. Can you help? ### Steps to...
CLOSED
2023-11-19T04:21:16
2024-01-27T17:14:20
2023-12-04T16:57:43
https://github.com/huggingface/datasets/issues/6435
{ "login": "kopyl" }
{ "nodes": [] }
[ "[This doc section](https://huggingface.co/docs/datasets/main/en/process#multiprocessing) explains how to modify the script to avoid this error.", "@mariosasko thank you very much, i'll check it", "@mariosasko no it does not\r\n\r\n`Dataset.filter() got an unexpected keyword argument 'with_rank'`" ]
I_kwDODunzps53KkIc
6,432
load_dataset does not load all of the data in my input file
### Describe the bug I have 127 elements in my input dataset. When I do a len on the dataset after loaded, it is only 124 elements. ### Steps to reproduce the bug train_dataset = nlp.load_dataset(data_args.dataset_path, name=data_args.qg_format, split=nlp.Split.TRAIN) valid_dataset = nlp.load_dataset(data_...
OPEN
2023-11-17T14:28:50
2023-11-22T17:34:58
null
https://github.com/huggingface/datasets/issues/6432
{ "login": "demongolem-biz2" }
{ "nodes": [] }
[ "You should use `datasets.load_dataset` instead of `nlp.load_dataset`, as the `nlp` package is outdated.\r\n\r\nIf switching to `datasets.load_dataset` doesn't fix the issue, sharing the JSON file (feel free to replace the data with dummy data) would be nice so that we can reproduce it ourselves." ]
I_kwDODunzps524t1D
6,422
Allow to choose the `writer_batch_size` when using `save_to_disk`
### Feature request Add an argument in `save_to_disk` regarding batch size, which would be passed to `shard` and other methods. ### Motivation The `Dataset.save_to_disk` method currently calls `shard` without passing a `writer_batch_size` argument, thus implicitly using the default value (1000). This can result in R...
OPEN
2023-11-15T11:18:34
2023-11-16T10:00:21
null
https://github.com/huggingface/datasets/issues/6422
{ "login": "NathanGodey" }
{ "nodes": [ { "name": "enhancement" } ] }
[ "We have a config variable that controls the batch size in `save_to_disk`:\r\n```python\r\nimport datasets\r\ndatasets.config.DEFAULT_MAX_BATCH_SIZE = <smaller_batch_size>\r\n...\r\nds.save_to_disk(...)\r\n```", "Thank you for your answer!\r\n\r\nFrom what I am reading in `https://github.com/huggingface/datasets/...
I_kwDODunzps52zQvo
6,417
Bug: LayoutLMv3 finetuning on FUNSD Notebook; Arrow Error
### Describe the bug Arrow issues when running the example Notebook laptop locally on Mac with M1. Works on Google Collab. **Notebook**: https://github.com/NielsRogge/Transformers-Tutorials/blob/master/LayoutLMv3/Fine_tune_LayoutLMv3_on_FUNSD_(HuggingFace_Trainer).ipynb **Error**: `ValueError: Arrow type extensi...
CLOSED
2023-11-14T16:53:20
2023-11-16T20:23:41
2023-11-16T20:23:41
https://github.com/huggingface/datasets/issues/6417
{ "login": "Davo00" }
{ "nodes": [] }
[ "Very strange: `datasets-cli env`\r\n> \r\n> Copy-and-paste the text below in your GitHub issue.\r\n> \r\n> - `datasets` version: 2.9.0\r\n> - Platform: macOS-14.0-arm64-arm-64bit\r\n> - Python version: 3.9.13\r\n> - PyArrow version: 8.0.0\r\n> - Pandas version: 1.3.5\r\n\r\nAfter updating datasets and pyarrow on b...
I_kwDODunzps52waK6
6,412
User token is printed out!
This line prints user token on command line! Is it safe? https://github.com/huggingface/datasets/blob/12ebe695b4748c5a26e08b44ed51955f74f5801d/src/datasets/load.py#L2091
CLOSED
2023-11-14T10:01:34
2023-11-14T22:19:46
2023-11-14T22:19:46
https://github.com/huggingface/datasets/issues/6412
{ "login": "mohsen-goodarzi" }
{ "nodes": [] }
[ "Indeed, this is not a good practice. I've opened a PR that removes the token value from the (deprecation) warning." ]
I_kwDODunzps52vQlx
6,410
Datasets does not load HuggingFace Repository properly
### Describe the bug Dear Datasets team, We just have published a dataset on Huggingface: https://huggingface.co/ai4privacy However, when trying to read it using the Dataset library we get an error. As I understand jsonl files are compatible, could you please clarify how we can solve the issue? Please let me ...
OPEN
2023-11-14T06:50:49
2023-11-16T06:54:36
null
https://github.com/huggingface/datasets/issues/6410
{ "login": "MikeDoes" }
{ "nodes": [] }
[ "Hi! You can avoid the error by requesting only the `jsonl` files. `dataset = load_dataset(\"ai4privacy/pii-masking-200k\", data_files=[\"*.jsonl\"])`.\r\n\r\nOur data file inference does not filter out (incompatible) `json` files because `json` and `jsonl` use the same builder. Still, I think the inference should...
I_kwDODunzps52uukh
6,409
using DownloadManager to download from local filesystem and disable_progress_bar, there will be an exception
### Describe the bug i'm using datasets.download.download_manager.DownloadManager to download files like "file:///a/b/c.txt", and i disable_progress_bar() to disable bar. there will be an exception as follows: `AttributeError: 'function' object has no attribute 'close' Exception ignored in: <function TqdmCallback....
CLOSED
2023-11-14T04:21:01
2023-11-22T16:42:09
2023-11-22T16:42:09
https://github.com/huggingface/datasets/issues/6409
{ "login": "neiblegy" }
{ "nodes": [] }
[]
I_kwDODunzps52ugb8
6,408
`IterableDataset` lost but not keep columns when map function adding columns with names in `remove_columns`
### Describe the bug IterableDataset lost but not keep columns when map function adding columns with names in remove_columns, Dataset not. May be related to the code below: https://github.com/huggingface/datasets/blob/06c3ffb8d068b6307b247164b10f7c7311cefed4/src/datasets/iterable_dataset.py#L750-L756 ### Steps t...
OPEN
2023-11-14T03:12:08
2023-11-16T06:24:10
null
https://github.com/huggingface/datasets/issues/6408
{ "login": "rmwor1d" }
{ "nodes": [] }
[]
I_kwDODunzps52tBff
6,407
Loading the dataset from private S3 bucket gives "TypeError: cannot pickle '_contextvars.Context' object"
### Describe the bug I'm trying to read the parquet file from the private s3 bucket using the `load_dataset` function, but I receive `TypeError: cannot pickle '_contextvars.Context' object` error I'm working on a machine with `~/.aws/credentials` file. I can't give credentials and the path to a file in a private bu...
OPEN
2023-11-13T21:27:43
2024-07-30T12:35:09
null
https://github.com/huggingface/datasets/issues/6407
{ "login": "eawer" }
{ "nodes": [] }
[ "I have encountered the same problem with `datasets-2.20.0`. \r\n\r\nI found the following workaround for this issue (including the fix from #6598):\r\n1. specify the AWS profile name in the `storage_options` instead of passing an existing session object\r\n2. use a custom `DownloadConfig` object to fix #6598\r\n3....
I_kwDODunzps52pCW1
6,406
CI Build PR Documentation is broken: ImportError: cannot import name 'TypeAliasType' from 'typing_extensions'
Our CI Build PR Documentation is broken. See: https://github.com/huggingface/datasets/actions/runs/6799554060/job/18486828777?pr=6390 ``` ImportError: cannot import name 'TypeAliasType' from 'typing_extensions' ```
CLOSED
2023-11-13T11:36:10
2023-11-14T10:05:36
2023-11-14T10:05:36
https://github.com/huggingface/datasets/issues/6406
{ "login": "albertvillanova" }
{ "nodes": [] }
[]
I_kwDODunzps52onbX
6,405
ConfigNamesError on a simple CSV file
See https://huggingface.co/datasets/Nguyendo1999/mmath/discussions/1 ``` Error code: ConfigNamesError Exception: TypeError Message: __init__() missing 1 required positional argument: 'dtype' Traceback: Traceback (most recent call last): File "/src/services/worker/src/worker/job_runn...
CLOSED
2023-11-13T10:28:29
2023-11-13T20:01:24
2023-11-13T20:01:24
https://github.com/huggingface/datasets/issues/6405
{ "login": "severo" }
{ "nodes": [ { "name": "bug" } ] }
[ "The viewer is working now. \r\n\r\nBased on the repo commit history, the bug was due to the incorrect format of the `features` field in the README YAML (`Value` requires `dtype`, e.g., `Value(\"string\")`, but it was not specified)", "Feel free to close the issue", "Oh, OK! Thanks. So, there was no reason to o...
I_kwDODunzps52nn-B
6,403
Cannot import datasets on google colab (python 3.10.12)
### Describe the bug I'm trying A full colab demo notebook of zero-shot-distillation from https://github.com/huggingface/transformers/tree/main/examples/research_projects/zero-shot-distillation but i got this type of error when importing datasets on my google colab (python version is 3.10.12) ![image](https://gith...
CLOSED
2023-11-13T08:14:43
2023-11-16T05:04:22
2023-11-16T05:04:21
https://github.com/huggingface/datasets/issues/6403
{ "login": "nabilaannisa" }
{ "nodes": [] }
[ "You are most likely using an outdated version of `datasets` in the notebook, which can be verified with the `!datasets-cli env` command. You can run `!pip install -U datasets` to update the installation.", "okay, it works! thank you so much! 😄 " ]
I_kwDODunzps52iU6t
6,401
dataset = load_dataset("Hyperspace-Technologies/scp-wiki-text") not working
### Describe the bug ``` (datasets) mruserbox@guru-X99:/media/10TB_HHD/_LLM_DATASETS$ python dataset.py Downloading readme: 100%|███████████████████████████████████| 360/360 [00:00<00:00, 2.16MB/s] Downloading data: 100%|█████████████████████████████████| 65.1M/65.1M [00:19<00:00, 3.38MB/s] Downloading data: 100...
CLOSED
2023-11-11T04:09:07
2023-11-20T17:45:20
2023-11-20T17:45:20
https://github.com/huggingface/datasets/issues/6401
{ "login": "userbox020" }
{ "nodes": [] }
[ "Seems like it's a problem with the dataset, since in the [README](https://huggingface.co/datasets/Hyperspace-Technologies/scp-wiki-text/blob/main/README.md) the validation is not specified. Try cloning the dataset, removing the README (or validation split), and loading it locally/ ", "@VarunNSrivastava thanks br...
I_kwDODunzps52hzC1
6,400
Safely load datasets by disabling execution of dataset loading script
### Feature request Is there a way to disable execution of dataset loading script using `load_dataset`? This is a security vulnerability that could lead to arbitrary code execution. Any suggested workarounds are welcome as well. ### Motivation This is a security vulnerability that could lead to arbitrary code e...
CLOSED
2023-11-10T23:48:29
2024-06-13T15:56:13
2024-06-13T15:56:13
https://github.com/huggingface/datasets/issues/6400
{ "login": "irenedea" }
{ "nodes": [ { "name": "enhancement" } ] }
[ "great idea IMO\r\n\r\nthis could be a `trust_remote_code=True` flag like in transformers. We could also default to loading the Parquet conversion rather than executing code (for dataset repos that have both)", "@julien-c that would be great!", "We added the `trust_remote_code` argument to `load_dataset()` in `...
I_kwDODunzps52hBh3
6,399
TypeError: Cannot convert pyarrow.lib.ChunkedArray to pyarrow.lib.Array
### Describe the bug Hi, I am preprocessing a large custom dataset with numpy arrays. I am running into this TypeError during writing in a dataset.map() function. I've tried decreasing writer batch size, but this error persists. This error does not occur for smaller datasets. Thank you! ### Steps to repro...
OPEN
2023-11-10T20:48:46
2024-06-22T00:13:48
null
https://github.com/huggingface/datasets/issues/6399
{ "login": "y-hwang" }
{ "nodes": [] }
[ "Seconding encountering this issue." ]
I_kwDODunzps52eLUI
6,397
Raise a different exception for inexisting dataset vs files without known extension
See https://github.com/huggingface/datasets-server/issues/2082#issuecomment-1805716557 We have the same error for: - https://huggingface.co/datasets/severo/a_dataset_that_does_not_exist: a dataset that does not exist - https://huggingface.co/datasets/severo/test_files_without_extension: a dataset with files withou...
CLOSED
2023-11-10T13:22:14
2023-11-22T15:12:34
2023-11-22T15:12:34
https://github.com/huggingface/datasets/issues/6397
{ "login": "severo" }
{ "nodes": [] }
[]
I_kwDODunzps52c-ot
6,396
Issue with pyarrow 14.0.1
See https://github.com/huggingface/datasets-server/pull/2089 for reference ``` from datasets import (Array2D, Dataset, Features) feature_type = Array2D(shape=(2, 2), dtype="float32") content = [[0.0, 0.0], [0.0, 0.0]] features = Features({"col": feature_type}) dataset = Dataset.from_dict({"col": [content]}, fea...
CLOSED
2023-11-10T10:02:12
2025-08-19T18:13:30
2023-11-14T10:23:30
https://github.com/huggingface/datasets/issues/6396
{ "login": "severo" }
{ "nodes": [] }
[ "Looks like we should stop using `PyExtensionType` and use `ExtensionType` instead\r\n\r\nsee https://github.com/apache/arrow/commit/f14170976372436ec1d03a724d8d3f3925484ecf", "https://github.com/huggingface/datasets-server/pull/2089#pullrequestreview-1724449532\r\n\r\n> Yes, I understand now: they have disabled ...
I_kwDODunzps52Z1ec
6,395
Add ability to set lock type
### Feature request Allow setting file lock type, maybe from an environment variable Currently, it only depends on whether fnctl is available: https://github.com/huggingface/datasets/blob/12ebe695b4748c5a26e08b44ed51955f74f5801d/src/datasets/utils/filelock.py#L463-L470C16 ### Motivation In my environment...
CLOSED
2023-11-09T22:12:30
2023-11-23T18:50:00
2023-11-23T18:50:00
https://github.com/huggingface/datasets/issues/6395
{ "login": "leoleoasd" }
{ "nodes": [ { "name": "enhancement" } ] }
[ "We've replaced our filelock implementation with the `filelock` package, so their repo is the right place to request this feature.\r\n\r\nIn the meantime, the following should work: \r\n```python\r\nimport filelock\r\nfilelock.FileLock = filelock.SoftFileLock\r\n\r\nimport datasets\r\n...\r\n```" ]
I_kwDODunzps52XyXs
6,394
TorchFormatter images (H, W, C) instead of (C, H, W) format
### Describe the bug Using .set_format("torch") leads to images having shape (H, W, C), the same as in numpy. However, pytorch normally uses (C, H, W) format. Maybe I'm missing something but this makes the format a lot less useful as I then have to permute it anyways. If not using the format it is possible to ...
CLOSED
2023-11-09T16:02:15
2024-04-11T12:40:16
2024-04-11T12:40:16
https://github.com/huggingface/datasets/issues/6394
{ "login": "Modexus" }
{ "nodes": [] }
[ "Here's a PR for that. https://github.com/huggingface/datasets/pull/6402\r\n\r\nIt's not backward compatible, unfortunately. ", "Just ran into this working on data lib that's attempting to achieve common interfaces across hf datasets, webdataset, native torch style datasets. The defacto standards for image tensor...
I_kwDODunzps52T19r
6,393
Filter occasionally hangs
### Describe the bug A call to `.filter` occasionally hangs (after the filter is complete, according to tqdm) There is a trace produced ``` Exception ignored in: <function Dataset.__del__ at 0x7efb48130c10> Traceback (most recent call last): File "/usr/lib/python3/dist-packages/datasets/arrow_dataset.py", l...
CLOSED
2023-11-09T06:18:30
2025-02-22T00:49:19
2025-02-22T00:49:19
https://github.com/huggingface/datasets/issues/6393
{ "login": "dakinggg" }
{ "nodes": [] }
[ "It looks like I may not be the first to encounter this: https://github.com/huggingface/datasets/issues/3172", "Adding some more information, it seems to occur more frequently with large (millions of samples) datasets.", "More information. My code is structured as (1) load (2) map (3) filter (4) filter. It was ...
I_kwDODunzps52RxOJ
6,392
`push_to_hub` is not robust to hub closing connection
### Describe the bug Like to #6172, `push_to_hub` will crash if Hub resets the connection and raise the following error: ``` Pushing dataset shards to the dataset hub: 32%|███▏ | 54/171 [06:38<14:23, 7.38s/it] Traceback (most recent call last): File "/admin/home-piraka9011/.virtualenvs/w2v2/lib/python3.8/...
CLOSED
2023-11-08T20:44:53
2023-12-20T07:28:24
2023-12-01T17:51:34
https://github.com/huggingface/datasets/issues/6392
{ "login": "msis" }
{ "nodes": [] }
[ "Hi! We made some improvements to `push_to_hub` to make it more robust a couple of weeks ago but haven't published a release in the meantime, so it would help if you could install `datasets` from `main` (`pip install https://github.com/huggingface/datasets`) and let us know if this improved version of `push_to_hub`...
I_kwDODunzps52OoGQ
6,389
Index 339 out of range for dataset of size 339 <-- save_to_file()
### Describe the bug When saving out some Audio() data. The data is audio recordings with associated 'sentences'. (They use the audio 'bytes' approach because they're clips within audio files). Code is below the traceback (I can't upload the voice audio/text (it's not even me)). ``` Traceback (most recent call ...
OPEN
2023-11-08T12:52:09
2023-11-24T09:14:13
null
https://github.com/huggingface/datasets/issues/6389
{ "login": "jaggzh" }
{ "nodes": [] }
[ "Hi! Can you make the above reproducer self-contained by adding code that generates the data?", "I managed a workaround eventually but I don't know what it was (I made a lot of changes to seq2seq). I'll try to include generating code in the future. (If I close, I don't know if you see it. Feel free to close; I'l...
I_kwDODunzps52Fbzd
6,388
How to create 3d medical imgae dataset?
### Feature request I am newer to huggingface, after i look up `datasets` docs, I can't find how to create the dataset contains 3d medical image (ends with '.mhd', '.dcm', '.nii') ### Motivation help us to upload 3d medical dataset to huggingface! ### Your contribution I'll submit a PR if I find a way to...
OPEN
2023-11-07T11:27:36
2023-11-07T11:28:53
null
https://github.com/huggingface/datasets/issues/6388
{ "login": "QingYunA" }
{ "nodes": [ { "name": "enhancement" } ] }
[]
I_kwDODunzps52B9IU
6,387
How to load existing downloaded dataset ?
Hi @mariosasko @lhoestq @katielink Thanks for your contribution and hard work. ### Feature request First, I download a dataset as normal by: ``` from datasets import load_dataset dataset = load_dataset('username/data_name', cache_dir='data') ``` The dataset format in `data` directory will be: ``` ...
CLOSED
2023-11-06T22:51:44
2023-11-16T18:07:01
2023-11-16T18:07:01
https://github.com/huggingface/datasets/issues/6387
{ "login": "liming-ai" }
{ "nodes": [ { "name": "enhancement" } ] }
[ "Feel free to use `dataset.save_to_disk(...)`, then scp the directory containing the saved dataset and reload it on your other machine using `dataset = load_from_disk(...)`" ]
I_kwDODunzps52Aop-
6,386
Formatting overhead
### Describe the bug Hi! I very recently noticed that my training time is dominated by batch formatting. Using Lightning's profilers, I located the bottleneck within `datasets.formatting.formatting` and then narrowed it down with `line-profiler`. It turns out that almost all of the overhead is due to creating new inst...
CLOSED
2023-11-06T19:06:38
2023-11-06T23:56:12
2023-11-06T23:56:12
https://github.com/huggingface/datasets/issues/6386
{ "login": "d-miketa" }
{ "nodes": [] }
[ "Ah I think the `line-profiler` log is off-by-one and it is in fact the `extract_batch` method that's taking forever. Will investigate further.", "I tracked it down to a quirk of my setup. Apologies." ]
I_kwDODunzps51-dky
6,385
Get an error when i try to concatenate the squad dataset with my own dataset
### Describe the bug Hello, I'm new here and I need to concatenate the squad dataset with my own dataset i created. I find the following error when i try to do it: Traceback (most recent call last): Cell In[9], line 1 concatenated_dataset = concatenate_datasets([train_dataset, dataset1]) File ~\ana...
CLOSED
2023-11-06T14:29:22
2023-11-06T16:50:45
2023-11-06T16:50:45
https://github.com/huggingface/datasets/issues/6385
{ "login": "CCDXDX" }
{ "nodes": [] }
[ "The `answers.text` field in the JSON dataset needs to be a list of strings, not a string.\r\n\r\nSo, here is the fixed code:\r\n```python\r\nfrom huggingface_hub import notebook_login\r\nfrom datasets import load_dataset\r\n\r\n\r\n\r\nnotebook_login(\"mymailadresse\", \"mypassword\")\r\nsquad = load_dataset(\"squ...
I_kwDODunzps519u4N
6,384
Load the local dataset folder from other place
This is from https://github.com/huggingface/diffusers/issues/5573
CLOSED
2023-11-06T13:07:04
2023-11-19T05:42:06
2023-11-19T05:42:05
https://github.com/huggingface/datasets/issues/6384
{ "login": "OrangeSodahub" }
{ "nodes": [] }
[ "Solved" ]
I_kwDODunzps516MZN
6,383
imagenet-1k downloads over and over
### Describe the bug What could be causing this? ``` $ python3 Python 3.8.13 (default, Mar 28 2022, 11:38:47) [GCC 7.5.0] :: Anaconda, Inc. on linux Type "help", "copyright", "credits" or "license" for more information. >>> from datasets import load_dataset >>> load_dataset("imagenet-1k") Downloading builder ...
CLOSED
2023-11-06T02:58:58
2024-06-12T13:15:00
2023-11-06T06:02:39
https://github.com/huggingface/datasets/issues/6383
{ "login": "seann999" }
{ "nodes": [] }
[ "Have you solved this problem?" ]
I_kwDODunzps513L3f
6,382
Add CheXpert dataset for vision
### Feature request ### Name **CheXpert: A Large Chest Radiograph Dataset with Uncertainty Labels and Expert Comparison** ### Paper https://arxiv.org/abs/1901.07031 ### Data https://stanfordaimi.azurewebsites.net/datasets/8cbd9ed4-2eb9-4565-affc-111cf4f7ebe2 ### Motivation CheXpert is one of the fund...
OPEN
2023-11-04T15:36:11
2024-01-10T11:53:52
null
https://github.com/huggingface/datasets/issues/6382
{ "login": "SauravMaheshkar" }
{ "nodes": [ { "name": "enhancement" }, { "name": "dataset request" } ] }
[ "Hey @SauravMaheshkar ! Just responded to your email.\r\n\r\n_For transparency, copying part of my response here:_\r\nI agree, it would be really great to have this and other BenchMD datasets easily accessible on the hub.\r\n\r\nI think the main limiting factor is that the ChexPert dataset is currently hosted on th...
I_kwDODunzps51p-XM
6,377
Support pyarrow 14.0.0
Support pyarrow 14.0.0 by fixing the root cause of: - #6374 and revert: - #6375
CLOSED
2023-11-02T10:22:08
2023-11-02T15:15:45
2023-11-02T15:15:45
https://github.com/huggingface/datasets/issues/6377
{ "login": "albertvillanova" }
{ "nodes": [] }
[]
I_kwDODunzps51p74s
6,376
Caching problem when deleting a dataset
### Describe the bug Pushing a dataset with n + m features to a repo which was deleted, but contained n features, will fail. ### Steps to reproduce the bug 1. Create a dataset with n features per row 2. `dataset.push_to_hub(YOUR_PATH, SPLIT, token=TOKEN)` 3. Go on the hub, delete the repo at `YOUR_PATH` 4. Update...
CLOSED
2023-11-02T10:15:58
2023-12-04T16:53:34
2023-12-04T16:53:33
https://github.com/huggingface/datasets/issues/6376
{ "login": "clefourrier" }
{ "nodes": [] }
[ "Thanks for reporting! Can you also share the error message printed in step 5?", "I did not store it at the time but I'll try to re-do a mwe next week to get it again", "I haven't managed to reproduce this issue using a [notebook](https://colab.research.google.com/drive/1m6eduYun7pFTkigrCJAFgw0BghlbvXIL?usp=sha...
I_kwDODunzps51pqyU
6,374
CI is broken: TypeError: Couldn't cast array
See: https://github.com/huggingface/datasets/actions/runs/6730567226/job/18293518039 ``` FAILED tests/test_table.py::test_cast_sliced_fixed_size_array_to_features - TypeError: Couldn't cast array of type fixed_size_list<item: int32>[3] to Sequence(feature=Value(dtype='int64', id=None), length=3, id=None) ```
CLOSED
2023-11-02T09:37:06
2023-11-02T10:11:20
2023-11-02T10:11:20
https://github.com/huggingface/datasets/issues/6374
{ "login": "albertvillanova" }
{ "nodes": [] }
[]
I_kwDODunzps51lqeb
6,371
`Dataset.from_generator` should not try to download from HF GCS
### Describe the bug When using [`Dataset.from_generator`](https://github.com/huggingface/datasets/blob/c9c1166e1cf81d38534020f9c167b326585339e5/src/datasets/arrow_dataset.py#L1072) with `streaming=False`, the internal logic will call [`download_and_prepare`](https://github.com/huggingface/datasets/blob/main/src/datas...
CLOSED
2023-11-01T17:36:17
2023-11-02T15:52:10
2023-11-02T15:52:10
https://github.com/huggingface/datasets/issues/6371
{ "login": "yundai424" }
{ "nodes": [] }
[ "Indeed, setting `try_from_gcs` to `False` makes sense for `from_generator`.\r\n\r\nWe plan to deprecate and remove `try_from_hf_gcs` soon, as we can use Hub for file hosting now, but this is a good temporary fix.\r\n" ]
I_kwDODunzps51i3W1
6,370
TensorDataset format does not work with Trainer from transformers
### Describe the bug The model was built to do fine tunning on BERT model for relation extraction. trainer.train() returns an error message ```TypeError: vars() argument must have __dict__ attribute``` when it has `train_dataset` generated from `torch.utils.data.TensorDataset` However, in the document, the req...
CLOSED
2023-11-01T10:09:54
2023-11-29T16:31:08
2023-11-29T16:31:08
https://github.com/huggingface/datasets/issues/6370
{ "login": "jinzzasol" }
{ "nodes": [] }
[ "I figured it out. I found that `Trainer` does not work with TensorDataset even though the document says it uses it. Instead, I ended up creating a dictionary and converting it to a dataset using `dataset.Dataset.from_dict()`.\r\n\r\nI will leave this post open for a while. If someone knows a better approach, pleas...
I_kwDODunzps51hzC8
6,369
Multi process map did not load cache file correctly
### Describe the bug When I was training model on Multiple GPUs by DDP, the dataset is tokenized multiple times after main process. ![1698820541284](https://github.com/huggingface/datasets/assets/14285786/0b2fe054-54d8-4e00-96e6-6ca5b69e662b) ![1698820501568](https://github.com/huggingface/datasets/assets/142857...
CLOSED
2023-11-01T06:36:54
2023-11-30T16:04:46
2023-11-30T16:04:45
https://github.com/huggingface/datasets/issues/6369
{ "login": "nursery42" }
{ "nodes": [] }
[ "The inconsistency may be caused by the usage of \"update_fingerprint\" and setting \"trust_remote_code\" to \"True.\"\r\nWhen the tokenizer employs \"trust_remote_code,\" the behavior of the map function varies with each code execution. Even if the remote code of the tokenizer remains the same, the result of \"ash...
I_kwDODunzps51bxJy
6,366
with_format() function returns bytes instead of PIL images even when image column is not part of "columns"
### Describe the bug When using the with_format() function on a dataset containing images, even if the image column is not part of the columns provided in the function, its type will be changed to bytes. Here is a minimal reproduction of the bug: https://colab.research.google.com/drive/1hyaOspgyhB41oiR1-tXE3k_gJCdJU...
CLOSED
2023-10-31T11:10:48
2023-11-02T14:21:17
2023-11-02T14:21:17
https://github.com/huggingface/datasets/issues/6366
{ "login": "leot13" }
{ "nodes": [] }
[ "Thanks for reporting! I've opened a PR with a fix." ]
I_kwDODunzps51bfTo
6,365
Parquet size grows exponential for categorical data
### Describe the bug It seems that when saving a data frame with a categorical column inside the size can grow exponentially. This seems to happen because when we save the categorical data to parquet, we are saving the data + all the categories existing in the original data. This happens even when the categories ar...
CLOSED
2023-10-31T10:29:02
2023-10-31T10:49:17
2023-10-31T10:49:17
https://github.com/huggingface/datasets/issues/6365
{ "login": "aseganti" }
{ "nodes": [] }
[ "Wrong repo." ]
I_kwDODunzps51XqHq
6,364
ArrowNotImplementedError: Unsupported cast from string to list using function cast_list
Hi, I am trying to load a local csv dataset(similar to explodinggradients_fiqa) using load_dataset. When I try to pass features, I am facing the mentioned issue. CSV Data sample(golden_dataset.csv): Question | Context | answer | groundtruth "what is abc?"...
CLOSED
2023-10-30T20:14:01
2023-10-31T19:21:23
2023-10-31T19:21:23
https://github.com/huggingface/datasets/issues/6364
{ "login": "divyakrishna-devisetty" }
{ "nodes": [] }
[ "You can use the following code to load this CSV with the list values preserved:\r\n```python\r\nfrom datasets import load_dataset\r\nimport ast\r\n\r\nconverters = {\r\n \"contexts\" : ast.literal_eval,\r\n \"ground_truths\" : ast.literal_eval,\r\n}\r\n\r\nds = load_dataset(\"csv\", data_files=\"golden_datas...
I_kwDODunzps51WuWN
6,363
dataset.transform() hangs indefinitely while finetuning the stable diffusion XL
### Describe the bug Multi-GPU fine-tuning the stable diffusion X by following https://github.com/huggingface/diffusers/blob/main/examples/text_to_image/README_sdxl.md hangs indefinitely. ### Steps to reproduce the bug accelerate launch train_text_to_image_sdxl.py --pretrained_model_name_or_path=$MODEL_NAME --...
CLOSED
2023-10-30T17:34:05
2023-11-22T00:29:21
2023-11-22T00:29:21
https://github.com/huggingface/datasets/issues/6363
{ "login": "bhosalems" }
{ "nodes": [] }
[ "I think the code hangs on the `accelerator.main_process_first()` context manager exit. To verify this, you can append a print statement to the end of the `accelerator.main_process_first()` block. \r\n\r\n\r\nIf the problem is in `with_transform`, it would help if you could share the error stack trace printed when...
I_kwDODunzps51Kcn2
6,360
Add support for `Sequence(Audio/Image)` feature in `push_to_hub`
### Feature request Allow for `Sequence` of `Image` (or `Audio`) to be embedded inside the shards. ### Motivation Currently, thanks to #3685, when `embed_external_files` is set to True (which is the default) in `push_to_hub`, features of type `Image` and `Audio` are embedded inside the arrow/parquet shards, instead ...
CLOSED
2023-10-27T14:39:57
2024-02-06T19:24:20
2024-02-06T19:24:20
https://github.com/huggingface/datasets/issues/6360
{ "login": "Laurent2916" }
{ "nodes": [ { "name": "enhancement" } ] }
[ "This issue stems from https://github.com/huggingface/datasets/blob/6d2f2a5e0fea3827eccfd1717d8021c15fc4292a/src/datasets/table.py#L2203-L2205\r\n\r\nI'll address it as part of https://github.com/huggingface/datasets/pull/6283.\r\n\r\nIn the meantime, this should work\r\n\r\n```python\r\nimport pyarrow as pa\r\nfro...
I_kwDODunzps51JUwX
6,359
Stuck in "Resolving data files..."
### Describe the bug I have an image dataset with 300k images, the size of image is 768 * 768. When I run `dataset = load_dataset("imagefolder", data_dir="/path/to/img_dir", split='train')` in second time, it takes 50 minutes to finish "Resolving data files" part, what's going on in this part? From my understa...
OPEN
2023-10-27T12:01:51
2025-03-09T02:18:19
null
https://github.com/huggingface/datasets/issues/6359
{ "login": "Luciennnnnnn" }
{ "nodes": [] }
[ "Most likely, the data file inference logic is the problem here.\r\n\r\nYou can run the following code to verify this:\r\n```python\r\nimport time\r\nfrom datasets.data_files import get_data_patterns\r\nstart_time = time.time()\r\nget_data_patterns(\"/path/to/img_dir\")\r\nend_time = time.time()\r\nprint(f\"Elapsed...
I_kwDODunzps51H75D
6,358
Mounting datasets cache fails due to absolute paths.
### Describe the bug Creating a datasets cache and mounting this into, for example, a docker container, renders the data unreadable due to absolute paths written into the cache. ### Steps to reproduce the bug 1. Create a datasets cache by downloading some data 2. Mount the dataset folder into a docker contain...
CLOSED
2023-10-27T08:20:27
2024-04-10T08:50:06
2023-11-28T14:47:12
https://github.com/huggingface/datasets/issues/6358
{ "login": "charliebudd" }
{ "nodes": [] }
[ "You may be able to make it work by tweaking some environment variables, such as [`HF_HOME`](https://huggingface.co/docs/huggingface_hub/main/en/package_reference/environment_variables#hfhome) or [`HF_DATASETS_CACHE`](https://huggingface.co/docs/datasets/cache#cache-directory).", "> You may be able to make it wor...
I_kwDODunzps51Gj2r
6,357
Allow passing a multiprocessing context to functions that support `num_proc`
### Feature request Allow specifying [a multiprocessing context](https://docs.python.org/3/library/multiprocessing.html#contexts-and-start-methods) to functions that support `num_proc` or use multiprocessing pools. For example, the following could be done: ```python dataset = dataset.map(_func, num_proc=2, mp_cont...
OPEN
2023-10-27T02:31:16
2026-03-02T16:25:51
null
https://github.com/huggingface/datasets/issues/6357
{ "login": "bryant1410" }
{ "nodes": [ { "name": "enhancement" } ] }
[ "Are there any updates on this? This is still a problem when using Datasets inside Ray processes.", "Any updates on this? Getting\n```\nDeprecationWarning: This process (pid=269) is multi-threaded, use of fork() may lead to deadlocks in the child.\n self.pid = os.fork()\n```\nwhen using `num_proc` on python 3....
I_kwDODunzps51CGC8
6,354
`IterableDataset.from_spark` does not support multiple workers in pytorch `Dataloader`
### Describe the bug Looks like `IterableDataset.from_spark` does not support multiple workers in pytorch `Dataloader` if I'm not missing anything. Also, returns not consistent error messages, which probably depend on the nondeterministic order of worker executions Some exampes I've encountered: ``` File "/l...
OPEN
2023-10-26T12:43:36
2024-12-10T14:06:06
null
https://github.com/huggingface/datasets/issues/6354
{ "login": "NazyS" }
{ "nodes": [] }
[ "I am having issues as well with this. \r\n\r\nHowever, the error I am getting is :\r\n`RuntimeError: It appears that you are attempting to reference SparkContext from a broadcast variable, action, or transformation. SparkContext can only be used on the driver, not in code that it run on workers. For more informati...
I_kwDODunzps50-5uy
6,353
load_dataset save_to_disk load_from_disk error
### Describe the bug datasets version: 2.10.1 I `load_dataset `and `save_to_disk` sucessfully on windows10( **and I `load_from_disk(/LLM/data/wiki)` succcesfully on windows10**), and I copy the dataset `/LLM/data/wiki` into a ubuntu system, but when I `load_from_disk(/LLM/data/wiki)` on ubuntu, something weird ha...
CLOSED
2023-10-26T03:47:06
2024-04-03T05:31:01
2023-10-26T10:18:04
https://github.com/huggingface/datasets/issues/6353
{ "login": "brisker" }
{ "nodes": [] }
[ "solved.\r\nfsspec version problem", "I'm using the latest datasets and fsspec , but still got this error!\r\n\r\ndatasets : Version: 2.13.0\r\n\r\nfsspec Version: 2023.10.0\r\n\r\n```\r\nFile \"/home/guoby/app/Anaconda3-2021.05/envs/news/lib/python3.8/site-packages/datasets/load.py\", line 1892, in load_from_...
I_kwDODunzps509kL5
6,352
Error loading wikitext data raise NotImplementedError(f"Loading a dataset cached in a {type(self._fs).__name__} is not supported.")
I was trying to load the wiki dataset, but i got this error traindata = load_dataset('wikitext', 'wikitext-2-raw-v1', split='train') File "/home/aelkordy/.conda/envs/prune_llm/lib/python3.9/site-packages/datasets/load.py", line 1804, in load_dataset ds = builder_instance.as_dataset(split=split, verific...
CLOSED
2023-10-25T21:55:31
2024-03-19T16:46:22
2023-11-07T07:26:54
https://github.com/huggingface/datasets/issues/6352
{ "login": "Ahmed-Roushdy" }
{ "nodes": [] }
[ "+1 \r\n```\r\nFound cached dataset csv (file:///home/ubuntu/.cache/huggingface/datasets/theSquarePond___csv/theSquarePond--XXXXX-bbf0a8365d693d2c/0.0.0/eea64c71ca8b46dd3f537ed218fc9bf495d5707789152eb2764f5c78fa66d59d)\r\n---------------------------------------------------------------------------\r\nNotImplementedE...
I_kwDODunzps5077-T
6,350
Different objects are returned from calls that should be returning the same kind of object.
### Describe the bug 1. dataset = load_dataset("togethercomputer/RedPajama-Data-1T-Sample", cache_dir=training_args.cache_dir, split='train[:1%]') 2. dataset = load_dataset("togethercomputer/RedPajama-Data-1T-Sample", cache_dir=training_args.cache_dir) The only difference I would expect these cal...
OPEN
2023-10-25T17:08:39
2023-10-26T21:03:06
null
https://github.com/huggingface/datasets/issues/6350
{ "login": "phalexo" }
{ "nodes": [] }
[ "`load_dataset` returns a `DatasetDict` object unless `split` is defined, in which case it returns a `Dataset` (or a list of datasets if `split` is a list). We've discussed dropping `DatasetDict` from the API in https://github.com/huggingface/datasets/issues/5189 to always return the same type in `load_dataset` an...
I_kwDODunzps506SIZ
6,349
Can't load ds = load_dataset("imdb")
### Describe the bug I did `from datasets import load_dataset, load_metric` and then `ds = load_dataset("imdb")` and it gave me the error: ExpectedMoreDownloadedFiles: {'http://ai.stanford.edu/~amaas/data/sentiment/aclImdb_v1.tar.gz'} I tried doing `ds = load_dataset("imdb",download_mode="force_redownload")` as we...
CLOSED
2023-10-25T13:29:51
2024-03-20T15:09:53
2023-10-31T19:59:35
https://github.com/huggingface/datasets/issues/6349
{ "login": "vivianc2" }
{ "nodes": [] }
[ "I'm unable to reproduce this error. The server hosting the files may have been down temporarily, so try again.", "I am getting the following error:\r\nEnv: Python3.10\r\ndatasets: 2.10.1\r\nLinux: Amazon Linux2\r\n\r\n`Traceback (most recent call last):\r\n File \"<stdin>\", line 1, in <module>\r\n File \"/hom...
I_kwDODunzps505pUY
6,348
Parquet stream-conversion fails to embed images/audio files from gated repos
it seems to be an issue with datasets not passing the token to embed_table_storage when generating a dataset See https://github.com/huggingface/datasets-server/issues/2010
OPEN
2023-10-25T12:12:44
2025-04-17T12:21:43
null
https://github.com/huggingface/datasets/issues/6348
{ "login": "severo" }
{ "nodes": [ { "name": "bug" } ] }
[ "I have created a project to stream audio in the datasets viewer on Hugging Face using Parquet.\n\nhttps://github.com/pr0mila/ParquetToHuggingFace" ]
I_kwDODunzps50xAqj
6,347
Incorrect example code in 'Create a dataset' docs
### Describe the bug On [this](https://huggingface.co/docs/datasets/create_dataset) page, the example code for loading in images and audio is incorrect. Currently, examples are: ``` python from datasets import ImageFolder dataset = load_dataset("imagefolder", data_dir="/path/to/pokemon") ``` and ``` python...
CLOSED
2023-10-24T11:01:21
2023-10-25T13:05:21
2023-10-25T13:05:21
https://github.com/huggingface/datasets/issues/6347
{ "login": "rwood-97" }
{ "nodes": [] }
[ "This was fixed in https://github.com/huggingface/datasets/pull/6247. You can find the fix in the `main` version of the docs", "Ah great, thanks :)" ]
I_kwDODunzps50sEBe
6,345
support squad structure datasets using a YAML parameter
### Feature request Since the squad structure is widely used, I think it could be beneficial to support it using a YAML parameter. could you implement automatic data loading of squad-like data using squad JSON format, to read it from JSON files and view it in the correct squad structure. The dataset structure should...
OPEN
2023-10-23T17:55:37
2023-10-23T17:55:37
null
https://github.com/huggingface/datasets/issues/6345
{ "login": "MajdTannous1" }
{ "nodes": [ { "name": "enhancement" } ] }
[]
I_kwDODunzps50oRe3
6,333
Support fsspec 2023.10.0
Once root issue is fixed, remove temporary pin of fsspec < 2023.10.0 introduced by: - #6331 Related to issue: - #6330 As @ZachNagengast suggested, the issue might be related to: - https://github.com/fsspec/filesystem_spec/pull/1381
CLOSED
2023-10-23T09:14:53
2024-02-07T12:39:58
2024-02-07T12:39:58
https://github.com/huggingface/datasets/issues/6333
{ "login": "albertvillanova" }
{ "nodes": [] }
[ "Hi @albertvillanova @lhoestq \r\n\r\nI believe the pull request that pins the fsspec version (https://github.com/huggingface/datasets/pull/6331) was merged by mistake. Another fix for the issue was merged on the same day an hour apart. See https://github.com/huggingface/datasets/pull/6334\r\n\r\nI'm now having an ...
I_kwDODunzps50lwEu
6,330
Latest fsspec==2023.10.0 issue with streaming datasets
### Describe the bug Loading a streaming dataset with this version of fsspec fails with the following error: `NotImplementedError: Loading a streaming dataset cached in a LocalFileSystem is not supported yet.` I suspect the issue is with this PR https://github.com/fsspec/filesystem_spec/pull/1381 ### Steps ...
CLOSED
2023-10-22T20:57:10
2025-06-09T22:00:16
2023-10-23T09:17:56
https://github.com/huggingface/datasets/issues/6330
{ "login": "ZachNagengast" }
{ "nodes": [] }
[ "I also encountered a similar error below.\r\nAppreciate the team could shed some light on this issue.\r\n\r\n```\r\n---------------------------------------------------------------------------\r\nNotImplementedError Traceback (most recent call last)\r\n[/home/ubuntu/work/EveryDream2trainer/pre...
I_kwDODunzps50lAZk
6,329
شبکه های متن به گفتار ابتدا متن داده شده را به بازنمایی میانی
شبکه های متن به گفتار ابتدا متن داده شده را به بازنمایی میانی
CLOSED
2023-10-22T11:07:46
2023-10-23T09:22:58
2023-10-23T09:22:58
https://github.com/huggingface/datasets/issues/6329
{ "login": "shabnam706" }
{ "nodes": [] }
[]
I_kwDODunzps50lAXw
6,328
شبکه های متن به گفتار ابتدا متن داده شده را به بازنمایی میانی
CLOSED
2023-10-22T11:07:21
2023-10-23T09:22:38
2023-10-23T09:22:38
https://github.com/huggingface/datasets/issues/6328
{ "login": "shabnam706" }
{ "nodes": [] }
[ "شبکه های متن به گفتار ابتدا متن داده شده را به بازنمایی میانی" ]
I_kwDODunzps50jh2j
6,327
FileNotFoundError when trying to load the downloaded dataset with `load_dataset(..., streaming=True)`
### Describe the bug Hi, I'm trying to load the dataset `togethercomputer/RedPajama-Data-1T-Sample` with `load_dataset` in streaming mode, i.e., `streaming=True`, but `FileNotFoundError` occurs. ### Steps to reproduce the bug I've downloaded the dataset and save it to the cache dir in advance. My hope is loadi...
CLOSED
2023-10-21T12:27:03
2023-10-23T18:50:07
2023-10-23T18:50:07
https://github.com/huggingface/datasets/issues/6327
{ "login": "yzhangcs" }
{ "nodes": [] }
[ "You can clone the `togethercomputer/RedPajama-Data-1T-Sample` repo and load the dataset with `load_dataset(\"path/to/cloned_repo\")` to use it offline.", "@mariosasko Thank you for your kind reply! I'll try it as a workaround.\r\nDoes that mean that currently it's not supported to simply load with a short name?"...
I_kwDODunzps50iN2f
6,324
Conversion to Arrow fails due to wrong type heuristic
### Describe the bug I have a list of dictionaries with valid/JSON-serializable values. One key is the denominator for a paragraph. In 99.9% of cases its a number, but there are some occurences of '1a', '2b' and so on. If trying to convert this list to a dataset with `Dataset.from_list()`, I always get `ArrowI...
CLOSED
2023-10-20T23:20:58
2023-10-23T20:52:57
2023-10-23T20:52:57
https://github.com/huggingface/datasets/issues/6324
{ "login": "jphme" }
{ "nodes": [] }
[ "Unlike Pandas, Arrow is strict with types, so converting the problematic strings to ints (or ints to strings) to ensure all the values have the same type is the only fix. \r\n\r\nJSON support has been requested in Arrow [here](https://github.com/apache/arrow/issues/32538), but I don't expect this to be implemented...
I_kwDODunzps50e21c
6,323
Loading dataset from large GCS bucket very slow since 2.14
### Describe the bug Since updating to >2.14 we have very slow access to our parquet files on GCS when loading a dataset (>30 min vs 3s). Our GCS bucket has many objects and resolving globs is very slow. I could track down the problem to this change: https://github.com/huggingface/datasets/blame/bade7af74437347a76083...
OPEN
2023-10-20T12:59:55
2024-09-03T18:42:33
null
https://github.com/huggingface/datasets/issues/6323
{ "login": "jbcdnr" }
{ "nodes": [] }
[ "I've also encountered this issue recently and want to ask if this has been seen.\r\n\r\n@albertvillanova for visibility - I'm not sure who the right person is to tag, but I noticed you were active recently so perhaps you can direct this to the right person.\r\n\r\nThanks!" ]
I_kwDODunzps50YpdM
6,320
Dataset slice splits can't load training and validation at the same time
### Describe the bug According to the [documentation](https://huggingface.co/docs/datasets/v2.14.5/loading#slice-splits) is should be possible to run the following command: `train_test_ds = datasets.load_dataset("bookcorpus", split="train+test")` to load the train and test sets from the dataset. However ex...
CLOSED
2023-10-19T16:09:22
2023-11-30T16:21:15
2023-11-30T16:21:15
https://github.com/huggingface/datasets/issues/6320
{ "login": "timlac" }
{ "nodes": [] }
[ "The expression \"train+test\" concatenates the splits.\r\n\r\nThe individual splits as separate datasets can be obtained as follows:\r\n```python\r\ntrain_ds, test_ds = load_dataset(\"<dataset_name>\", split=[\"train\", \"test\"])\r\ntrain_10pct_ds, test_10pct_ds = load_dataset(\"<dataset_name>\", split=[\"train[:...
I_kwDODunzps50WrVV
6,319
Datasets.map is severely broken
### Describe the bug Regardless of how many cores I used, I have 16 or 32 threads, map slows down to a crawl at around 80% done, lingers maybe until 97% extremely slowly and NEVER finishes the job. It just hangs. After watching this for 27 hours I control-C out of it. Until the end one process appears to be doing s...
OPEN
2023-10-19T12:19:33
2024-08-08T17:05:08
null
https://github.com/huggingface/datasets/issues/6319
{ "login": "phalexo" }
{ "nodes": [] }
[ "Hi! Instead of processing a single example at a time, you should use the batched `map` for the best performance (with `num_proc=1`) - the fast tokenizers can process a batch's samples in parallel in that scenario.\r\n\r\nE.g., the following code in Colab takes an hour to complete:\r\n```python\r\n# !pip install da...
I_kwDODunzps50WKHk
6,317
sentiment140 dataset unavailable
### Describe the bug loading the dataset using load_dataset("sentiment140") returns the following error ConnectionError: Couldn't reach http://cs.stanford.edu/people/alecmgo/trainingandtestdata.zip (error 403) ### Steps to reproduce the bug Run the following code (version should not matter). ``` from data...
CLOSED
2023-10-19T11:25:21
2023-10-19T13:04:56
2023-10-19T13:04:56
https://github.com/huggingface/datasets/issues/6317
{ "login": "AndreasKarasenko" }
{ "nodes": [] }
[ "Thanks for reporting. We are investigating the issue.", "We have opened an issue in the corresponding Hub dataset: https://huggingface.co/datasets/sentiment140/discussions/3\r\n\r\nLet's continue the discussion there." ]
I_kwDODunzps50Vh3z
6,315
Hub datasets with CSV metadata raise ArrowInvalid: JSON parse error: Invalid value. in row 0
When trying to load a Hub dataset that contains a CSV metadata file, it raises an `ArrowInvalid` error: ``` E pyarrow.lib.ArrowInvalid: JSON parse error: Invalid value. in row 0 pyarrow/error.pxi:100: ArrowInvalid ``` See: https://huggingface.co/datasets/lukarape/public_small_papers/discussions/1
CLOSED
2023-10-19T10:11:29
2023-10-20T06:14:10
2023-10-20T06:14:10
https://github.com/huggingface/datasets/issues/6315
{ "login": "albertvillanova" }
{ "nodes": [ { "name": "bug" } ] }
[]
I_kwDODunzps50MAih
6,311
cast_column to Sequence with length=4 occur exception raise in datasets/table.py:2146
### Describe the bug i load a dataset from local csv file which has 187383612 examples, then use `map` to generate new columns for test. here is my code : ``` import os from datasets import load_dataset from datasets.features import Sequence, Value def add_new_path(example): example["ais_bbox"] =...
CLOSED
2023-10-18T09:38:05
2024-02-06T19:24:20
2024-02-06T19:24:20
https://github.com/huggingface/datasets/issues/6311
{ "login": "neiblegy" }
{ "nodes": [] }
[ "Thanks for reporting! We've spotted the bugs with the `array.values` handling and are fixing them in https://github.com/huggingface/datasets/pull/6283 (should be part of the next release).", "> Thanks for reporting! We've spotted the bugs with the `array.values` handling and are fixing them in #6283 (should be p...
I_kwDODunzps50CfkB
6,308
module 'resource' has no attribute 'error'
### Describe the bug just run import: `from datasets import load_dataset` and then: ``` File "C:\ProgramData\anaconda3\envs\py310\lib\site-packages\datasets\__init__.py", line 22, in <module> from .arrow_dataset import Dataset File "C:\ProgramData\anaconda3\envs\py310\lib\site-packages\datasets\arrow...
CLOSED
2023-10-17T08:08:54
2023-10-25T17:09:22
2023-10-25T17:09:22
https://github.com/huggingface/datasets/issues/6308
{ "login": "NeoWang9999" }
{ "nodes": [] }
[ "This (Windows) issue was fixed in `fsspec` in https://github.com/fsspec/filesystem_spec/pull/1275. So, to avoid the error, update the `fsspec` installation with `pip install -U fsspec`.", "> This (Windows) issue was fixed in `fsspec` in [fsspec/filesystem_spec#1275](https://github.com/fsspec/filesystem_spec/pul...
I_kwDODunzps50AyY8
6,306
pyinstaller : OSError: could not get source code
### Describe the bug I ran a package with pyinstaller and got the following error: ### Steps to reproduce the bug ``` ... File "datasets\__init__.py", line 52, in <module> File "<frozen importlib._bootstrap>", line 1027, in _find_and_load File "<frozen importlib._bootstrap>", line 1006, in _find_an...
CLOSED
2023-10-17T01:41:51
2023-11-02T07:24:51
2023-10-18T14:03:42
https://github.com/huggingface/datasets/issues/6306
{ "login": "dusk877647949" }
{ "nodes": [] }
[ "more information:\r\n``` \r\nFile \"text2vec\\__init__.py\", line 8, in <module>\r\nFile \"<frozen importlib._bootstrap>\", line 1027, in _find_and_load\r\nFile \"<frozen importlib._bootstrap>\", line 1006, in _find_and_load_unlocked\r\nFile \"<frozen importlib._bootstrap>\", line 688, in _load_unlocked\r\nFile \"...
I_kwDODunzps5z_cUg
6,305
Cannot load dataset with `2.14.5`: `FileNotFound` error
### Describe the bug I'm trying to load [piuba-bigdata/articles_and_comments] and I'm stumbling with this error on `2.14.5`. However, this works on `2.10.0`. ### Steps to reproduce the bug [Colab link](https://colab.research.google.com/drive/1SAftFMQnFE708ikRnJJHIXZV7R5IBOCE#scrollTo=r2R2ipCCDmsg) ```python D...
CLOSED
2023-10-16T20:11:27
2023-10-18T13:50:36
2023-10-18T13:50:36
https://github.com/huggingface/datasets/issues/6305
{ "login": "finiteautomata" }
{ "nodes": [] }
[ "Thanks for reporting, @finiteautomata.\r\n\r\nWe are investigating it. ", "There is a bug in `datasets`. You can see our proposed fix:\r\n- #6309 " ]