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_kwDODunzps6RCi1i
7,079
HfHubHTTPError: 500 Server Error: Internal Server Error for url:
### Describe the bug newly uploaded datasets, since yesterday, yields an error. old datasets, works fine. Seems like the datasets api server returns a 500 I'm getting the same error, when I invoke `load_dataset` with my dataset. Long discussion about it here, but I'm not sure anyone from huggingface have s...
CLOSED
2024-07-27T08:21:03
2024-09-20T13:26:25
2024-07-27T19:52:30
https://github.com/huggingface/datasets/issues/7079
{ "login": "neoneye" }
{ "nodes": [] }
[ "same issue here. @albertvillanova @lhoestq ", "Also impacted by this issue in many of my datasets (though not all) - in my case, this also seems to affect datasets that have been updated recently. Git cloning and the web interface still work:\r\n- https://huggingface.co/api/datasets/acmc/cheat_reduced\r\n- https...
I_kwDODunzps6Q-qWR
7,077
column_names ignored by load_dataset() when loading CSV file
### Describe the bug load_dataset() ignores the column_names kwarg when loading a CSV file. Instead, it uses whatever values are on the first line of the file. ### Steps to reproduce the bug Call `load_dataset` to load data from a CSV file and specify `column_names` kwarg. ### Expected behavior The resulting da...
OPEN
2024-07-26T14:18:04
2024-07-30T07:52:26
null
https://github.com/huggingface/datasets/issues/7077
{ "login": "luismsgomes" }
{ "nodes": [] }
[ "I confirm that `column_names` values are not copied to `names` variable because in this case `CsvConfig.__post_init__` is not called: `CsvConfig` is instantiated with default values and afterwards the `config_kwargs` are used to overwrite its attributes.\r\n\r\n@luismsgomes in the meantime, you can avoid the bug i...
I_kwDODunzps6Q8OXI
7,073
CI is broken for convert_to_parquet: Invalid rev id: refs/pr/1 404 error causes RevisionNotFoundError
See: https://github.com/huggingface/datasets/actions/runs/10095313567/job/27915185756 ``` FAILED tests/test_hub.py::test_convert_to_parquet - huggingface_hub.utils._errors.RevisionNotFoundError: 404 Client Error. (Request ID: Root=1-66a25839-31ce7b475e70e7db1e4d44c2;b0c8870f-d5ef-4bf2-a6ff-0191f3df0f64) Revision N...
CLOSED
2024-07-26T08:27:41
2024-07-27T05:48:02
2024-07-26T09:16:13
https://github.com/huggingface/datasets/issues/7073
{ "login": "albertvillanova" }
{ "nodes": [] }
[ "Any recent change in the API backend rejecting parameter `revision=\"refs/pr/1\"` to `HfApi.preupload_lfs_files`?\r\n```\r\nf\"{endpoint}/api/{repo_type}s/{repo_id}/preupload/{revision}\"\r\n\r\nhttps://hub-ci.huggingface.co/api/datasets/__DUMMY_TRANSFORMERS_USER__/test-dataset-5188a8-17219154347516/preupload/refs...
I_kwDODunzps6Q36z8
7,072
nm
CLOSED
2024-07-25T17:03:24
2024-07-25T20:36:11
2024-07-25T20:36:11
https://github.com/huggingface/datasets/issues/7072
{ "login": "brettdavies" }
{ "nodes": [] }
[]
I_kwDODunzps6Q26Iz
7,071
Filter hangs
### Describe the bug When trying to filter my custom dataset, the process hangs, regardless of the lambda function used. It appears to be an issue with the way the Images are being handled. The dataset in question is a preprocessed version of https://huggingface.co/datasets/danaaubakirova/patfig where notably, I hav...
OPEN
2024-07-25T15:29:05
2024-07-25T15:36:59
null
https://github.com/huggingface/datasets/issues/7071
{ "login": "lucienwalewski" }
{ "nodes": [] }
[]
I_kwDODunzps6Q2zWz
7,070
how set_transform affects batch size?
### Describe the bug I am trying to fine-tune w2v-bert for ASR task. Since my dataset is so big, I preferred to use the on-the-fly method with set_transform. So i change the preprocessing function to this: ``` def prepare_dataset(batch): input_features = processor(batch["audio"], sampling_rate=16000).input_feat...
OPEN
2024-07-25T15:19:34
2024-07-25T15:19:34
null
https://github.com/huggingface/datasets/issues/7070
{ "login": "VafaKnm" }
{ "nodes": [] }
[]
I_kwDODunzps6QkZXI
7,067
Convert_to_parquet fails for datasets with multiple configs
If the dataset has multiple configs, when using the `datasets-cli convert_to_parquet` command to avoid issues with the data viewer caused by loading scripts, the conversion process only successfully converts the data corresponding to the first config. When it starts converting the second config, it throws an error: ...
CLOSED
2024-07-23T15:09:33
2024-07-30T10:51:02
2024-07-30T10:51:02
https://github.com/huggingface/datasets/issues/7067
{ "login": "HuangZhen02" }
{ "nodes": [] }
[ "Many users have encountered the same issue, which has caused inconvenience.\r\n\r\nhttps://discuss.huggingface.co/t/convert-to-parquet-fails-for-datasets-with-multiple-configs/86733\r\n", "Thanks for reporting.\r\n\r\nI will make the code more robust.", "I have opened an issue in the huggingface-hub repo:\r\n-...
I_kwDODunzps6QjHko
7,066
One subset per file in repo ?
Right now we consider all the files of a dataset to be the same data, e.g. ``` single_subset_dataset/ ├── train0.jsonl ├── train1.jsonl └── train2.jsonl ``` but in cases like this, each file is actually a different subset of the dataset and should be loaded separately ``` many_subsets_dataset/ ├── animals.jso...
OPEN
2024-07-23T12:43:59
2025-06-26T08:24:50
null
https://github.com/huggingface/datasets/issues/7066
{ "login": "lhoestq" }
{ "nodes": [] }
[ "Hi @lhoestq! I’ve opened a PR that addresses this issue" ]
I_kwDODunzps6QhoTp
7,065
Cannot get item after loading from disk and then converting to iterable.
### Describe the bug The dataset generated from local file works fine. ```py root = "/home/data/train" file_list1 = glob(os.path.join(root, "*part1.flac")) file_list2 = glob(os.path.join(root, "*part2.flac")) ds = ( Dataset.from_dict({"part1": file_list1, "part2": file_list2}) .cast_column("part1", Au...
OPEN
2024-07-23T09:37:56
2024-07-23T09:37:56
null
https://github.com/huggingface/datasets/issues/7065
{ "login": "happyTonakai" }
{ "nodes": [] }
[]
I_kwDODunzps6QgsLI
7,063
Add `batch` method to `Dataset`
### Feature request Add a `batch` method to the Dataset class, similar to the one recently implemented for `IterableDataset` in PR #7054. ### Motivation A batched iteration speeds up data loading significantly (see e.g. #6279) ### Your contribution I plan to open a PR to implement this.
CLOSED
2024-07-23T07:36:59
2024-07-25T13:45:21
2024-07-25T13:45:21
https://github.com/huggingface/datasets/issues/7063
{ "login": "lappemic" }
{ "nodes": [ { "name": "enhancement" } ] }
[]
I_kwDODunzps6QeA2B
7,061
Custom Dataset | Still Raise Error while handling errors in _generate_examples
### Describe the bug I follow this [example](https://discuss.huggingface.co/t/error-handling-in-iterabledataset/72827/3) to handle errors in custom dataset. I am writing a dataset script which read jsonl files and i need to handle errors and continue reading files without raising exception and exit the execution. `...
OPEN
2024-07-22T21:18:12
2024-09-09T14:48:07
null
https://github.com/huggingface/datasets/issues/7061
{ "login": "hahmad2008" }
{ "nodes": [] }
[]
I_kwDODunzps6QaWt0
7,059
None values are skipped when reading jsonl in subobjects
### Describe the bug I have been fighting against my machine since this morning only to find out this is some kind of a bug. When loading a dataset composed of `metadata.jsonl`, if you have nullable values (Optional[str]), they can be ignored by the parser, shifting things around. E.g., let's take this example ...
OPEN
2024-07-22T13:02:42
2024-07-22T13:02:53
null
https://github.com/huggingface/datasets/issues/7059
{ "login": "PonteIneptique" }
{ "nodes": [] }
[]
I_kwDODunzps6QZVZj
7,058
New feature type: Document
It would be useful for PDF. https://github.com/huggingface/dataset-viewer/issues/2991#issuecomment-2242656069
OPEN
2024-07-22T10:49:20
2024-07-22T10:49:20
null
https://github.com/huggingface/datasets/issues/7058
{ "login": "severo" }
{ "nodes": [] }
[]
I_kwDODunzps6QWFhb
7,055
WebDataset with different prefixes are unsupported
### Describe the bug Consider a WebDataset with multiple images for each item where the number of images may vary: [example](https://huggingface.co/datasets/bigdata-pw/fashion-150k) Due to this [code](https://github.com/huggingface/datasets/blob/87f4c2088854ff33e817e724e75179e9975c1b02/src/datasets/packaged_modules...
CLOSED
2024-07-22T01:14:19
2024-07-24T13:26:30
2024-07-23T13:28:46
https://github.com/huggingface/datasets/issues/7055
{ "login": "hlky" }
{ "nodes": [] }
[ "Since `datasets` uses is built on Arrow to store the data, it requires each sample to have the same columns.\r\n\r\nThis can be fixed by specifyign in advance the name of all the possible columns in the `dataset_info` in YAML, and missing values will be `None`", "Thanks. This currently doesn't work for WebDatase...
I_kwDODunzps6QB7Nv
7,053
Datasets.datafiles resolve_pattern `TypeError: can only concatenate tuple (not "str") to tuple`
### Describe the bug in data_files.py, line 332, `fs, _, _ = get_fs_token_paths(pattern, storage_options=storage_options)` If we run the code on AWS, as fs.protocol will be a tuple like: `('file', 'local')` So, `isinstance(fs.protocol, str) == False` and `protocol_prefix = fs.protocol + "://" if fs.protocol != ...
CLOSED
2024-07-18T13:42:35
2024-07-18T15:17:42
2024-07-18T15:16:18
https://github.com/huggingface/datasets/issues/7053
{ "login": "MatthewYZhang" }
{ "nodes": [] }
[ "Hi,\r\n\r\nThis issue was fixed in `datasets` 2.15.0:\r\n- #6105\r\n\r\nYou will need to update your `datasets`:\r\n```\r\npip install -U datasets\r\n```", "Duplicate of:\r\n- #6100" ]
I_kwDODunzps6Pm9LJ
7,051
How to set_epoch with interleave_datasets?
Let's say I have dataset A which has 100k examples, and dataset B which has 100m examples. I want to train on an interleaved dataset of A+B, with stopping_strategy='all_exhausted' so dataset B doesn't repeat any examples. But every time A is exhausted I want it to be reshuffled (eg. calling set_epoch) Of course I...
CLOSED
2024-07-15T18:24:52
2024-08-05T20:58:04
2024-08-05T20:58:04
https://github.com/huggingface/datasets/issues/7051
{ "login": "jonathanasdf" }
{ "nodes": [] }
[ "This is not possible right now afaik :/\r\n\r\nMaybe we could have something like this ? wdyt ?\r\n\r\n```python\r\nds = interleave_datasets(\r\n [shuffled_dataset_a, dataset_b],\r\n probabilities=probabilities,\r\n stopping_strategy='all_exhausted',\r\n reshuffle_each_iteration=True,\r\n)", "That wo...
I_kwDODunzps6PjwM-
7,049
Save nparray as list
### Describe the bug When I use the `map` function to convert images into features, datasets saves nparray as a list. Some people use the `set_format` function to convert the column back, but doesn't this lose precision? ### Steps to reproduce the bug the map function ```python def convert_image_to_features(inst, ...
CLOSED
2024-07-15T11:36:11
2024-07-18T11:33:34
2024-07-18T11:33:34
https://github.com/huggingface/datasets/issues/7049
{ "login": "Sakurakdx" }
{ "nodes": [] }
[ "In addition, when I use `set_format ` and index the ds, the following error occurs:\r\nthe code\r\n```python\r\nds.set_format(type=\"np\", colums=\"pixel_values\")\r\n```\r\nerror\r\n<img width=\"918\" alt=\"image\" src=\"https://github.com/user-attachments/assets/b28bbff2-20ea-4d28-ab62-b4ed2d944996\">\r\n", ">...
I_kwDODunzps6Pjpp7
7,048
ImportError: numpy.core.multiarray when using `filter`
### Describe the bug I can't apply the filter method on my dataset. ### Steps to reproduce the bug The following snippet generates a bug: ```python from datasets import load_dataset ami = load_dataset('kamilakesbi/ami', 'ihm') ami['train'].filter( lambda example: example["file_name"] == 'EN2001a' ...
CLOSED
2024-07-15T11:21:04
2024-07-16T10:11:25
2024-07-16T10:11:25
https://github.com/huggingface/datasets/issues/7048
{ "login": "kamilakesbi" }
{ "nodes": [] }
[ "Could you please check your `numpy` version?", "I got this issue while using numpy version 2.0. \r\n\r\nI solved it by switching back to numpy 1.26.0 :) ", "We recently added support for numpy 2.0, but it is not released yet.", "Ok I see, thanks! I think we can close this issue for now as switching back to v...
I_kwDODunzps6PcDNs
7,047
Save Dataset as Sharded Parquet
### Feature request `to_parquet` currently saves the dataset as one massive, monolithic parquet file, rather than as several small parquet files. It should shard large datasets automatically. ### Motivation This default behavior makes me very sad because a program I ran for 6 hours saved its results using `to_...
OPEN
2024-07-12T23:47:51
2026-01-11T20:03:20
null
https://github.com/huggingface/datasets/issues/7047
{ "login": "tom-p-reichel" }
{ "nodes": [ { "name": "enhancement" } ] }
[ "To anyone else who finds themselves in this predicament, it's possible to read the parquet file in the same way that datasets writes it, and then manually break it into pieces. Although, you need a couple of magic options (`thrift_*`) to deal with the huge metadata, otherwise pyarrow immediately crashes.\r\n```pyt...
I_kwDODunzps6PUusm
7,041
`sort` after `filter` unreasonably slow
### Describe the bug as the tittle says ... ### Steps to reproduce the bug `sort` seems to be normal. ```python from datasets import Dataset import random nums = [{"k":random.choice(range(0,1000))} for _ in range(100000)] ds = Dataset.from_list(nums) print("start sort") ds = ds.sort("k") print("f...
CLOSED
2024-07-12T03:29:27
2025-04-29T09:49:25
2025-04-29T09:49:25
https://github.com/huggingface/datasets/issues/7041
{ "login": "Tobin-rgb" }
{ "nodes": [] }
[ "`filter` add an indices mapping on top of the dataset, so `sort` has to gather all the rows that are kept to form a new Arrow table and sort the table. Gathering all the rows can take some time, but is a necessary step. You can try calling `ds = ds.flatten_indices()` before sorting to remove the indices mapping.",...
I_kwDODunzps6POZ-_
7,040
load `streaming=True` dataset with downloaded cache
### Describe the bug We build a dataset which contains several hdf5 files and write a script using `h5py` to generate the dataset. The hdf5 files are large and the processed dataset cache takes more disk space. So we hope to try streaming iterable dataset. Unfortunately, `h5py` can't convert a remote URL into a hdf5 f...
OPEN
2024-07-11T11:14:13
2024-07-11T14:11:56
null
https://github.com/huggingface/datasets/issues/7040
{ "login": "wanghaoyucn" }
{ "nodes": [] }
[ "When you pass `streaming=True`, the cache is ignored. The remote data URL is used instead and the data is streamed from the remote server.", "Thanks for your reply! So is there any solution to get my expected behavior besides clone the whole repo ? Or could I adjust my script to load the downloaded arrow files a...
I_kwDODunzps6PEAej
7,037
A bug of Dataset.to_json() function
### Describe the bug When using the Dataset.to_json() function, an unexpected error occurs if the parameter is set to lines=False. The stored data should be in the form of a list, but it actually turns into multiple lists, which causes an error when reading the data again. The reason is that to_json() writes to the f...
OPEN
2024-07-10T09:11:22
2026-07-09T19:55:26
null
https://github.com/huggingface/datasets/issues/7037
{ "login": "LinglingGreat" }
{ "nodes": [ { "name": "bug" } ] }
[ "Thanks for reporting, @LinglingGreat.\r\n\r\nI confirm this is a bug.", "@albertvillanova I would like to take a shot at this if you aren't working on it currently. Let me know!", "Found the bug — to_json(lines=False) was concatenating batch JSON arrays directly, producing [...][...]... which isn't valid. Fixe...
I_kwDODunzps6PDWrp
7,035
Docs are not generated when a parameter defaults to a NamedSplit value
While generating the docs, we get an error when some parameter defaults to a `NamedSplit` value, like: ```python def call_function(split=Split.TRAIN): ... ``` The error is: ValueError: Equality not supported between split train and <class 'inspect._empty'> See: https://github.com/huggingface/datasets/action...
CLOSED
2024-07-10T07:51:24
2024-07-26T07:51:53
2024-07-26T07:51:53
https://github.com/huggingface/datasets/issues/7035
{ "login": "albertvillanova" }
{ "nodes": [ { "name": "maintenance" } ] }
[]
I_kwDODunzps6O5bj4
7,033
`from_generator` does not allow to specify the split name
### Describe the bug I'm building train, dev, and test using `from_generator`; however, in all three cases, the logger prints `Generating train split:` It's not possible to change the split name since it seems to be hardcoded: https://github.com/huggingface/datasets/blob/main/src/datasets/packaged_modules/generator/g...
CLOSED
2024-07-09T07:47:58
2024-07-26T12:56:16
2024-07-26T09:31:56
https://github.com/huggingface/datasets/issues/7033
{ "login": "pminervini" }
{ "nodes": [] }
[ "Thanks for reporting, @pminervini.\r\n\r\nI agree we should give the option to define the split name.\r\n\r\nIndeed, there is a PR that addresses precisely this issue:\r\n- #7015\r\n\r\nI am reviewing it.", "Booom! thank you guys :)" ]
I_kwDODunzps6Oxu3c
7,031
CI quality is broken: use ruff check instead
CI quality is broken: https://github.com/huggingface/datasets/actions/runs/9838873879/job/27159697027 ``` error: `ruff <path>` has been removed. Use `ruff check <path>` instead. ```
CLOSED
2024-07-08T11:42:24
2024-07-08T11:47:29
2024-07-08T11:47:29
https://github.com/huggingface/datasets/issues/7031
{ "login": "albertvillanova" }
{ "nodes": [] }
[]
I_kwDODunzps6OqJAv
7,030
Add option to disable progress bar when reading a dataset ("Loading dataset from disk")
### Feature request Add an option in load_from_disk to disable the progress bar even if the number of files is larger than 16. ### Motivation I am reading a lot of datasets that it creates lots of logs. <img width="1432" alt="image" src="https://github.com/huggingface/datasets/assets/57996478/8d4bbf03-6b89-...
CLOSED
2024-07-06T05:43:37
2024-07-13T14:35:59
2024-07-13T14:35:59
https://github.com/huggingface/datasets/issues/7030
{ "login": "yuvalkirstain" }
{ "nodes": [ { "name": "enhancement" } ] }
[ "You can disable progress bars for all of `datasets` with `disable_progress_bars`. [Link](https://huggingface.co/docs/datasets/en/package_reference/utilities#datasets.enable_progress_bars)\r\n\r\nSo you could do something like:\r\n\r\n```python\r\nfrom datasets import load_from_disk, enable_progress_bars, disable_p...
I_kwDODunzps6OiVwo
7,029
load_dataset on AWS lambda throws OSError(30, 'Read-only file system') error
### Describe the bug I'm using AWS lambda to run a python application. I run the `load_dataset` function with cache_dir="/tmp" and is still throws the OSError(30, 'Read-only file system') error. Is even updated all the HF envs to point to /tmp dir but the issue still persists. I can confirm that the I can write to /...
OPEN
2024-07-04T19:15:16
2024-07-17T12:44:03
null
https://github.com/huggingface/datasets/issues/7029
{ "login": "sugam-nexusflow" }
{ "nodes": [] }
[ "hi ! can you share the full stack trace ? this should help locate what files is not written in the cache_dir" ]
I_kwDODunzps6Odqq6
7,024
Streaming dataset not returning data
### Describe the bug I'm deciding to post here because I'm still not sure what the issue is, or if I am using IterableDatasets wrongly. I'm following the guide on here https://huggingface.co/learn/cookbook/en/fine_tuning_code_llm_on_single_gpu pretty much to a tee and have verified that it works when I'm fine-tuning ...
OPEN
2024-07-04T07:21:47
2024-07-04T07:21:47
null
https://github.com/huggingface/datasets/issues/7024
{ "login": "johnwee1" }
{ "nodes": [] }
[]
I_kwDODunzps6OVvmK
7,022
There is dead code after we require pyarrow >= 15.0.0
There are code lines specific for pyarrow versions < 15.0.0. However, we require pyarrow >= 15.0.0 since the merge of PR: - #6892 Those code lines are now dead code and should be removed.
CLOSED
2024-07-03T08:52:57
2024-07-03T09:17:36
2024-07-03T09:17:36
https://github.com/huggingface/datasets/issues/7022
{ "login": "albertvillanova" }
{ "nodes": [ { "name": "maintenance" } ] }
[]
I_kwDODunzps6OVRZ-
7,020
Casting list array to fixed size list raises error
When trying to cast a list array to fixed size list, an AttributeError is raised: > AttributeError: 'pyarrow.lib.FixedSizeListType' object has no attribute 'length' Steps to reproduce the bug: ```python import pyarrow as pa from datasets.table import array_cast arr = pa.array([[0, 1]]) array_cast(arr, pa.lis...
CLOSED
2024-07-03T07:54:49
2024-07-03T08:41:56
2024-07-03T08:41:56
https://github.com/huggingface/datasets/issues/7020
{ "login": "albertvillanova" }
{ "nodes": [ { "name": "bug" } ] }
[]
I_kwDODunzps6OFGE-
7,018
`load_dataset` fails to load dataset saved by `save_to_disk`
### Describe the bug This code fails to load the dataset it just saved: ```python from datasets import load_dataset from transformers import AutoTokenizer MODEL = "google-bert/bert-base-cased" tokenizer = AutoTokenizer.from_pretrained(MODEL) dataset = load_dataset("yelp_review_full") def tokenize_functi...
OPEN
2024-07-01T12:19:19
2025-11-11T05:03:18
null
https://github.com/huggingface/datasets/issues/7018
{ "login": "sliedes" }
{ "nodes": [] }
[ "In my case the error was:\r\n```\r\nValueError: You are trying to load a dataset that was saved using `save_to_disk`. Please use `load_from_disk` instead.\r\n```\r\nDid you try `load_from_disk`?", "More generally, any reason there is no API consistency between save_to_disk and push_to_hub ? \r\n\r\nWould be nice...
I_kwDODunzps6ODbOQ
7,016
`drop_duplicates` method
### Feature request `drop_duplicates` method for huggingface datasets (similiar in simplicity to the `pandas` one) ### Motivation Ease of use ### Your contribution I don't think i am good enough to help
OPEN
2024-07-01T09:01:06
2024-07-20T06:51:58
null
https://github.com/huggingface/datasets/issues/7016
{ "login": "MohamedAliRashad" }
{ "nodes": [ { "name": "duplicate" }, { "name": "enhancement" } ] }
[ "There is an open issue #2514 about this which also proposes solutions." ]
I_kwDODunzps6OCVbi
7,013
CI is broken for faiss tests on Windows: node down: Not properly terminated
Faiss tests on Windows make the CI run indefinitely until maximum execution time (360 minutes) is reached. See: https://github.com/huggingface/datasets/actions/runs/9712659783 ``` test (integration, windows-latest, deps-minimum) The job running on runner GitHub Actions 60 has exceeded the maximum execution time o...
CLOSED
2024-07-01T06:40:03
2024-07-01T07:10:28
2024-07-01T07:10:28
https://github.com/huggingface/datasets/issues/7013
{ "login": "albertvillanova" }
{ "nodes": [ { "name": "maintenance" } ] }
[]
I_kwDODunzps6N2IXI
7,010
Re-enable raising error from huggingface-hub FutureWarning in CI
Re-enable raising error from huggingface-hub FutureWarning in CI, which was disabled by PR: - #6876 Note that this can only be done once transformers releases the fix: - https://github.com/huggingface/transformers/pull/31007
CLOSED
2024-06-28T07:23:40
2024-06-28T12:19:30
2024-06-28T12:19:29
https://github.com/huggingface/datasets/issues/7010
{ "login": "albertvillanova" }
{ "nodes": [ { "name": "maintenance" } ] }
[]
I_kwDODunzps6N1a3l
7,008
Support ruff 0.5.0 in CI
Support ruff 0.5.0 in CI. Also revert: - #7007
CLOSED
2024-06-28T05:11:26
2024-06-28T07:11:18
2024-06-28T07:11:18
https://github.com/huggingface/datasets/issues/7008
{ "login": "albertvillanova" }
{ "nodes": [ { "name": "maintenance" } ] }
[]
I_kwDODunzps6N1Yhn
7,006
CI is broken after ruff-0.5.0: E721
After ruff-0.5.0 release (https://github.com/astral-sh/ruff/releases/tag/0.5.0), our CI is broken due to E721 rule. See: https://github.com/huggingface/datasets/actions/runs/9707641618/job/26793170961?pr=6983 > src/datasets/features/features.py:844:12: E721 Use `is` and `is not` for type comparisons, or `isinstanc...
CLOSED
2024-06-28T05:03:28
2024-06-28T05:25:18
2024-06-28T05:25:18
https://github.com/huggingface/datasets/issues/7006
{ "login": "albertvillanova" }
{ "nodes": [ { "name": "maintenance" } ] }
[]
I_kwDODunzps6Nw-Ad
7,005
EmptyDatasetError: The directory at /metadata.jsonl doesn't contain any data files
### Describe the bug while trying to load custom dataset from jsonl file, I get the error: "metadata.jsonl doesn't contain any data files" ### Steps to reproduce the bug This is my [metadata_v2.jsonl](https://github.com/user-attachments/files/16016011/metadata_v2.json) file. I have this file in the folder with all ...
CLOSED
2024-06-27T15:08:26
2024-06-28T09:56:19
2024-06-28T09:56:19
https://github.com/huggingface/datasets/issues/7005
{ "login": "Aki1991" }
{ "nodes": [] }
[ "Hi ! `data_dir=` is for directories, can you try using `data_files=` instead ?", "If you are trying to load your image dataset from a local folder, you should replace \"data_dir=path/to/jsonl/metadata.jsonl\" with the real folder path in your computer.\r\n\r\nhttps://huggingface.co/docs/datasets/en/image_load#im...
I_kwDODunzps6NcA0_
7,001
Datasetbuilder Local Download FileNotFoundError
### Describe the bug So I was trying to download a dataset and save it as parquet and I follow the [tutorial](https://huggingface.co/docs/datasets/filesystems#download-and-prepare-a-dataset-into-a-cloud-storage) of Huggingface. However, during the excution I face a FileNotFoundError. I debug the code and it seems...
OPEN
2024-06-25T15:02:34
2024-06-25T15:21:19
null
https://github.com/huggingface/datasets/issues/7001
{ "login": "purefall" }
{ "nodes": [] }
[ "Ok it seems the solution is to use the directory string without the trailing \"/\" which in my case as: \r\n\r\n`parquet_dir = \"~/data/Parquet\" `\r\n\r\nStill i think this is a weird behavior... " ]
I_kwDODunzps6Nb2Qh
7,000
IterableDataset: Unsupported ScalarType BFloat16
### 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 ...
CLOSED
2024-06-25T14:43:26
2024-06-25T16:04:00
2024-06-25T15:51:53
https://github.com/huggingface/datasets/issues/7000
null
{ "nodes": [] }
[ "@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:" ]
I_kwDODunzps6NYVSv
6,997
CI is broken for tests using hf-internal-testing/librispeech_asr_dummy
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...
CLOSED
2024-06-25T07:55:44
2024-06-25T08:13:43
2024-06-25T08:13:43
https://github.com/huggingface/datasets/issues/6997
{ "login": "albertvillanova" }
{ "nodes": [ { "name": "maintenance" } ] }
[]
I_kwDODunzps6NTjeD
6,995
ImportError when importing datasets.load_dataset
### 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...
CLOSED
2024-06-24T17:07:22
2024-11-14T01:42:09
2024-06-25T06:11:37
https://github.com/huggingface/datasets/issues/6995
{ "login": "Leo-Lsc" }
{ "nodes": [] }
[ "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...
I_kwDODunzps6NIyS-
6,992
Dataset with streaming doesn't work with proxy
### 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...
OPEN
2024-06-22T16:12:08
2024-06-25T15:43:05
null
https://github.com/huggingface/datasets/issues/6992
{ "login": "YHL04" }
{ "nodes": [] }
[ "Hi ! can you try updating `datasets` and `huggingface_hub` ?\r\n\r\n```\r\npip install -U datasets huggingface_hub\r\n```" ]
I_kwDODunzps6NEGCx
6,990
Problematic rank after calling `split_dataset_by_node` twice
### 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 >>...
CLOSED
2024-06-21T14:25:26
2024-06-25T16:19:19
2024-06-25T16:19:19
https://github.com/huggingface/datasets/issues/6990
{ "login": "yzhangcs" }
{ "nodes": [] }
[ "ah yes good catch ! feel free to open a PR with your suggested fix" ]
I_kwDODunzps6M_4bh
6,989
cache in nfs error
### 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...
OPEN
2024-06-21T02:09:22
2025-01-29T11:44:04
null
https://github.com/huggingface/datasets/issues/6989
{ "login": "simplew2011" }
{ "nodes": [] }
[ "Hey @simplew2011 I am curious if you know of a workaround, or possible implications of letting the code run?" ]
I_kwDODunzps6Mzwgk
6,985
AttributeError: module 'pyarrow.lib' has no attribute 'ListViewType'
### 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...
CLOSED
2024-06-19T13:22:28
2025-03-14T18:47:53
2024-06-25T05:40:51
https://github.com/huggingface/datasets/issues/6985
{ "login": "firmai" }
{ "nodes": [] }
[ "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...
I_kwDODunzps6My3NC
6,984
Convert polars DataFrame back to datasets
### 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...
CLOSED
2024-06-19T11:38:48
2024-08-12T14:43:46
2024-08-12T14:43:46
https://github.com/huggingface/datasets/issues/6984
{ "login": "ljw20180420" }
{ "nodes": [ { "name": "enhancement" } ] }
[ "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` ?)" ]
I_kwDODunzps6MxBgd
6,982
cannot split dataset when using load_dataset
### 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...
CLOSED
2024-06-19T08:07:16
2024-07-08T06:20:16
2024-07-08T06:20:16
https://github.com/huggingface/datasets/issues/6982
{ "login": "cybest0608" }
{ "nodes": [] }
[ "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...
I_kwDODunzps6MuKBq
6,980
Support NumPy 2.0
### 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 ...
CLOSED
2024-06-18T23:30:22
2024-07-12T12:04:54
2024-07-12T12:04:53
https://github.com/huggingface/datasets/issues/6980
{ "login": "NeilGirdhar" }
{ "nodes": [ { "name": "enhancement" } ] }
[]
I_kwDODunzps6MrWsD
6,979
How can I load partial parquet files only?
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...
CLOSED
2024-06-18T15:44:16
2024-06-21T17:09:32
2024-06-21T13:32:50
https://github.com/huggingface/datasets/issues/6979
{ "login": "lucasjinreal" }
{ "nodes": [] }
[ "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,...
I_kwDODunzps6Mn_xF
6,977
load json file error with v2.20.0
### 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...
CLOSED
2024-06-18T08:41:01
2024-06-18T10:06:10
2024-06-18T10:06:09
https://github.com/huggingface/datasets/issues/6977
{ "login": "xiaoyaolangzhi" }
{ "nodes": [] }
[ "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." ]
I_kwDODunzps6MZley
6,973
IndexError during training with Squad dataset and T5-small model
### 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...
CLOSED
2024-06-16T07:53:54
2024-07-01T11:25:40
2024-07-01T11:25:40
https://github.com/huggingface/datasets/issues/6973
{ "login": "ramtunguturi36" }
{ "nodes": [] }
[ "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." ]
I_kwDODunzps6MBSEe
6,967
Method to load Laion400m
### 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...
OPEN
2024-06-12T16:04:04
2024-06-12T16:04:04
null
https://github.com/huggingface/datasets/issues/6967
{ "login": "humanely" }
{ "nodes": [ { "name": "enhancement" } ] }
[]
I_kwDODunzps6LmG0S
6,961
Manual downloads should count as downloads
### 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...
OPEN
2024-06-09T04:52:06
2024-06-13T16:05:00
null
https://github.com/huggingface/datasets/issues/6961
{ "login": "umarbutler" }
{ "nodes": [ { "name": "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" ]
I_kwDODunzps6LUw8f
6,958
My Private Dataset doesn't exist on the Hub or cannot be accessed
### 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...
CLOSED
2024-06-06T06:52:19
2024-07-01T11:27:46
2024-07-01T11:27:46
https://github.com/huggingface/datasets/issues/6958
{ "login": "wangguan1995" }
{ "nodes": [] }
[ "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-...
I_kwDODunzps6LFFdo
6,953
Remove canonical datasets from docs
Remove canonical datasets from docs, now that we no longer have canonical datasets.
CLOSED
2024-06-04T12:09:03
2024-07-01T11:31:25
2024-07-01T11:31:25
https://github.com/huggingface/datasets/issues/6953
{ "login": "albertvillanova" }
{ "nodes": [ { "name": "documentation" } ] }
[ "Canonical datasets are no longer mentioned in the docs." ]
I_kwDODunzps6LEkfC
6,951
load_dataset() should load all subsets, if no specific subset is specified
### 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...
CLOSED
2024-06-04T11:02:33
2024-11-26T08:32:18
2024-07-01T11:33:10
https://github.com/huggingface/datasets/issues/6951
{ "login": "windmaple" }
{ "nodes": [ { "name": "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...
I_kwDODunzps6LDtiW
6,950
`Dataset.with_format` behaves inconsistently with documentation
### 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 ...
CLOSED
2024-06-04T09:18:32
2024-06-25T08:05:49
2024-06-25T08:05:49
https://github.com/huggingface/datasets/issues/6950
{ "login": "iansheng" }
{ "nodes": [ { "name": "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." ]
I_kwDODunzps6LBKG9
6,949
load_dataset error
### 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...
CLOSED
2024-06-04T01:24:45
2024-07-01T11:33:46
2024-07-01T11:33:46
https://github.com/huggingface/datasets/issues/6949
{ "login": "frederichen01" }
{ "nodes": [] }
[ "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 ...
I_kwDODunzps6K-87c
6,948
to_tf_dataset: Visible devices cannot be modified after being initialized
### 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...
OPEN
2024-06-03T18:10:57
2024-06-03T18:10:57
null
https://github.com/huggingface/datasets/issues/6948
{ "login": "logasja" }
{ "nodes": [] }
[]
I_kwDODunzps6K8fpH
6,947
FileNotFoundError:error when loading C4 dataset
### 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...
CLOSED
2024-06-03T13:06:33
2024-06-25T06:21:28
2024-06-25T06:21:28
https://github.com/huggingface/datasets/issues/6947
{ "login": "W-215" }
{ "nodes": [] }
[ "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...
I_kwDODunzps6K2k0O
6,942
Import sorting is disabled by flake8 noqa directive after switching to ruff linter
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.
CLOSED
2024-06-02T09:43:34
2024-06-04T09:54:24
2024-06-04T09:54:24
https://github.com/huggingface/datasets/issues/6942
{ "login": "albertvillanova" }
{ "nodes": [ { "name": "maintenance" } ] }
[]
I_kwDODunzps6K0Kd1
6,941
Supporting FFCV: Fast Forward Computer Vision
### 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
OPEN
2024-06-01T05:34:52
2024-06-01T05:34:52
null
https://github.com/huggingface/datasets/issues/6941
{ "login": "Luciennnnnnn" }
{ "nodes": [ { "name": "enhancement" } ] }
[]
I_kwDODunzps6KzDGH
6,940
Enable Sharding to Equal Sized Shards
### 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...
OPEN
2024-05-31T21:55:50
2024-06-01T07:34:12
null
https://github.com/huggingface/datasets/issues/6940
{ "login": "yuvalkirstain" }
{ "nodes": [ { "name": "enhancement" } ] }
[]
I_kwDODunzps6Kw136
6,939
ExpectedMoreSplits error when using data_dir
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...
CLOSED
2024-05-31T15:08:42
2024-05-31T17:10:39
2024-05-31T17:10:39
https://github.com/huggingface/datasets/issues/6939
{ "login": "albertvillanova" }
{ "nodes": [ { "name": "bug" } ] }
[]
I_kwDODunzps6KtnJD
6,937
JSON loader implicitly coerces floats to integers
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 ===========================...
OPEN
2024-05-31T08:09:12
2025-06-24T05:49:20
null
https://github.com/huggingface/datasets/issues/6937
{ "login": "albertvillanova" }
{ "nodes": [ { "name": "bug" } ] }
[ "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...
I_kwDODunzps6KpcWt
6,936
save_to_disk() freezes when saving on s3 bucket with multiprocessing
### 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...
OPEN
2024-05-30T16:48:39
2025-02-06T22:12:52
null
https://github.com/huggingface/datasets/issues/6936
{ "login": "ycattan" }
{ "nodes": [] }
[ "I got the same issue. Any updates so far for this issue?", "Same here. Any updates?", "+1, experiencing this as well" ]
I_kwDODunzps6KngX2
6,935
Support for pathlib.Path in datasets 2.19.0
### 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...
OPEN
2024-05-30T12:53:36
2025-01-14T11:50:22
null
https://github.com/huggingface/datasets/issues/6935
{ "login": "lamyiowce" }
{ "nodes": [] }
[ "+1 I just noticed this when I tried to update `datasets` today.", "The same issue, I also get error." ]
I_kwDODunzps6KeZ1C
6,930
ValueError: Couldn't infer the same data file format for all splits. Got {'train': ('json', {}), 'validation': (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...
OPEN
2024-05-29T12:40:05
2024-07-23T06:25:24
null
https://github.com/huggingface/datasets/issues/6930
{ "login": "Polarisamoon" }
{ "nodes": [] }
[ "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" ]
I_kwDODunzps6Kddzt
6,929
Avoid downloading the whole dataset when only README.me has been touched on hub.
### 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...
OPEN
2024-05-29T10:36:06
2024-05-29T20:51:56
null
https://github.com/huggingface/datasets/issues/6929
{ "login": "zinc75" }
{ "nodes": [ { "name": "enhancement" } ] }
[ "you're right, we're tackling this here: https://github.com/huggingface/dataset-viewer/issues/2757", "@severo : great !" ]
I_kwDODunzps6KUH5H
6,924
Caching map result of DatasetDict.
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/...
OPEN
2024-05-28T09:07:41
2025-07-28T12:57:34
null
https://github.com/huggingface/datasets/issues/6924
{ "login": "MostHumble" }
{ "nodes": [] }
[ "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...
I_kwDODunzps6KPZnI
6,923
Export Parquet Tablet Audio-Set is null bytes in Arrow
### 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...
OPEN
2024-05-27T14:27:57
2024-05-27T14:27:57
null
https://github.com/huggingface/datasets/issues/6923
{ "login": "anioji" }
{ "nodes": [] }
[]
I_kwDODunzps6KBYqx
6,919
Invalid YAML in README.md: unknown tag !<tag:yaml.org,2002:python/tuple>
### 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](...
OPEN
2024-05-24T14:59:45
2024-05-24T14:59:45
null
https://github.com/huggingface/datasets/issues/6919
{ "login": "juanqui" }
{ "nodes": [] }
[]
I_kwDODunzps6KAQVy
6,918
NonMatchingSplitsSizesError when using data_dir
### 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...
CLOSED
2024-05-24T12:43:39
2024-05-31T17:10:38
2024-05-31T17:10:38
https://github.com/huggingface/datasets/issues/6918
{ "login": "srehaag" }
{ "nodes": [ { "name": "bug" } ] }
[ "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" ]
I_kwDODunzps6J90UP
6,917
WinError 32 The process cannot access the file during load_dataset
### 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...
OPEN
2024-05-24T07:54:51
2024-05-24T07:54:51
null
https://github.com/huggingface/datasets/issues/6917
{ "login": "elwe-2808" }
{ "nodes": [] }
[]
I_kwDODunzps6JyV6s
6,916
```push_to_hub()``` - Prevent Automatic Generation of Splits
### 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...
CLOSED
2024-05-22T23:52:15
2024-05-23T00:07:53
2024-05-23T00:07:53
https://github.com/huggingface/datasets/issues/6916
{ "login": "jetlime" }
{ "nodes": [] }
[]
I_kwDODunzps6JqcoB
6,913
Column order is nondeterministic when loading from JSON
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...
CLOSED
2024-05-22T05:30:14
2024-05-29T13:12:24
2024-05-29T13:12:24
https://github.com/huggingface/datasets/issues/6913
{ "login": "albertvillanova" }
{ "nodes": [ { "name": "bug" } ] }
[]
I_kwDODunzps6JpiDJ
6,912
Add MedImg for streaming
### 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...
OPEN
2024-05-22T00:55:30
2024-09-05T16:53:54
null
https://github.com/huggingface/datasets/issues/6912
{ "login": "lhallee" }
{ "nodes": [ { "name": "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...
I_kwDODunzps6JYt6k
6,908
Fail to load "stas/c4-en-10k" dataset since 2.16 version
### 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 ...
CLOSED
2024-05-20T02:43:59
2024-05-24T10:58:09
2024-05-24T10:58:09
https://github.com/huggingface/datasets/issues/6908
{ "login": "guch8017" }
{ "nodes": [] }
[ "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...
I_kwDODunzps6JUgzZ
6,907
Support the deserialization of json lines files comprised of lists
### 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...
OPEN
2024-05-18T05:07:23
2024-05-18T08:53:28
null
https://github.com/huggingface/datasets/issues/6907
{ "login": "umarbutler" }
{ "nodes": [ { "name": "enhancement" } ] }
[ "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...
I_kwDODunzps6JT1qP
6,906
irc_disentangle - Issue with splitting data
### 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 #...
CLOSED
2024-05-17T23:19:37
2024-07-16T00:21:56
2024-07-08T06:18:08
https://github.com/huggingface/datasets/issues/6906
{ "login": "eor51355" }
{ "nodes": [] }
[ "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...
I_kwDODunzps6JRn7b
6,905
Extraction protocol for arrow files is not defined
### 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...
CLOSED
2024-05-17T16:01:41
2025-02-06T19:50:22
2025-02-06T19:50:20
https://github.com/huggingface/datasets/issues/6905
{ "login": "radulescupetru" }
{ "nodes": [] }
[ "Fixed in https://github.com/huggingface/datasets/pull/7083" ]
I_kwDODunzps6JHd5V
6,903
Add the option of saving in parquet instead of arrow
### 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...
OPEN
2024-05-16T13:35:51
2025-05-19T12:14:14
null
https://github.com/huggingface/datasets/issues/6903
{ "login": "arita37" }
{ "nodes": [ { "name": "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...
I_kwDODunzps6JGcUp
6,901
HTTPError 403 raised by CLI convert_to_parquet when creating script branch on 3rd party repos
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...
CLOSED
2024-05-16T11:40:22
2024-05-16T12:51:06
2024-05-16T12:51:06
https://github.com/huggingface/datasets/issues/6901
{ "login": "albertvillanova" }
{ "nodes": [ { "name": "bug" } ] }
[]
I_kwDODunzps6JACuF
6,900
[WebDataset] KeyError with user-defined `Features` when a field is missing in an example
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["_...
CLOSED
2024-05-15T17:48:34
2024-06-28T09:30:13
2024-06-28T09:30:13
https://github.com/huggingface/datasets/issues/6900
{ "login": "lhoestq" }
{ "nodes": [] }
[ "@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...
I_kwDODunzps6I-ZtN
6,899
List of dictionary features get standardized
### 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...
OPEN
2024-05-15T14:11:35
2025-04-01T20:48:03
null
https://github.com/huggingface/datasets/issues/6899
{ "login": "sohamparikh" }
{ "nodes": [] }
[ "I think this may be a limitation of the arrow format", "Dupe of #5950\n" ]
I_kwDODunzps6IsvAT
6,897
datasets template guide :: issue in documentation YAML
### 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 ...
CLOSED
2024-05-13T17:33:59
2024-05-16T14:28:17
2024-05-16T14:28:17
https://github.com/huggingface/datasets/issues/6897
{ "login": "bghira" }
{ "nodes": [] }
[ "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...
I_kwDODunzps6Irxb9
6,896
Regression bug: `NonMatchingSplitsSizesError` for (possibly) overwritten dataset
### 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...
OPEN
2024-05-13T15:41:57
2025-03-25T01:21:06
null
https://github.com/huggingface/datasets/issues/6896
{ "login": "finiteautomata" }
{ "nodes": [] }
[ "Same issue here\n" ]
I_kwDODunzps6Iqfci
6,894
Better document defaults of to_json
Better document defaults of `to_json`: the default format is [JSON-Lines](https://jsonlines.org/). Related to: - #6891
CLOSED
2024-05-13T13:30:54
2024-05-16T14:31:27
2024-05-16T14:31:27
https://github.com/huggingface/datasets/issues/6894
{ "login": "albertvillanova" }
{ "nodes": [ { "name": "documentation" } ] }
[]
I_kwDODunzps6Ij7MV
6,891
Unable to load JSON saved using `to_json`
### 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...
CLOSED
2024-05-12T01:02:51
2024-05-16T14:32:55
2024-05-12T07:02:02
https://github.com/huggingface/datasets/issues/6891
{ "login": "DarshanDeshpande" }
{ "nodes": [] }
[ "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...
I_kwDODunzps6Iasah
6,890
add `with_transform` and/or `set_transform` to IterableDataset
### 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 ...
OPEN
2024-05-10T01:00:12
2024-05-10T01:00:46
null
https://github.com/huggingface/datasets/issues/6890
{ "login": "not-lain" }
{ "nodes": [ { "name": "enhancement" } ] }
[]
I_kwDODunzps6ITZdc
6,887
FAISS load to 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...
OPEN
2024-05-09T02:43:50
2024-05-16T20:44:23
null
https://github.com/huggingface/datasets/issues/6887
{ "login": "brainer3220" }
{ "nodes": [] }
[ "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...
I_kwDODunzps6IRpyY
6,886
load_dataset with data_dir and cache_dir set fail with not supported
### 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="...
OPEN
2024-05-08T19:52:35
2024-05-08T19:58:11
null
https://github.com/huggingface/datasets/issues/6886
{ "login": "fah" }
{ "nodes": [] }
[]
I_kwDODunzps6IL-MH
6,884
CI is broken after jax-0.4.27 release: AttributeError: 'jaxlib.xla_extension.DeviceList' object has no attribute 'device'
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...
CLOSED
2024-05-08T07:01:47
2024-05-08T09:35:17
2024-05-08T09:35:17
https://github.com/huggingface/datasets/issues/6884
{ "login": "albertvillanova" }
{ "nodes": [ { "name": "bug" } ] }
[]
I_kwDODunzps6IL1RW
6,882
Connection Error When Using By-pass Proxies
### 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...
OPEN
2024-05-08T06:40:14
2024-05-17T06:38:30
null
https://github.com/huggingface/datasets/issues/6882
{ "login": "MRNOBODY-ZST" }
{ "nodes": [] }
[ "Changing the supplier of the proxy will solve this problem, or you can visit and follow the instructions in https://hf-mirror.com " ]
I_kwDODunzps6ILzCZ
6,881
AttributeError: module 'PIL.Image' has no attribute 'ExifTags'
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...
CLOSED
2024-05-08T06:33:57
2024-07-18T06:49:30
2024-05-16T14:34:03
https://github.com/huggingface/datasets/issues/6881
{ "login": "albertvillanova" }
{ "nodes": [ { "name": "bug" } ] }
[ "@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...
I_kwDODunzps6IGBAB
6,880
Webdataset: KeyError: 'png' on some datasets when streaming
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...
OPEN
2024-05-07T13:09:02
2024-05-14T20:34:05
null
https://github.com/huggingface/datasets/issues/6880
{ "login": "lhoestq" }
{ "nodes": [] }
[ "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 `...
I_kwDODunzps6IE1TD
6,879
Batched mapping does not raise an error if values for an existing column are empty
### 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...
OPEN
2024-05-07T11:02:40
2024-05-07T11:02:40
null
https://github.com/huggingface/datasets/issues/6879
{ "login": "felix-schneider" }
{ "nodes": [] }
[]
I_kwDODunzps6IBZlx
6,877
OSError: [Errno 24] Too many open files
### 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...
CLOSED
2024-05-07T01:15:09
2024-06-02T14:22:23
2024-05-13T13:01:55
https://github.com/huggingface/datasets/issues/6877
{ "login": "loicmagne" }
{ "nodes": [ { "name": "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...
I_kwDODunzps6H5sap
6,869
Download is broken for dict of dicts: FileNotFoundError
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...
CLOSED
2024-05-06T05:13:36
2024-05-06T09:25:53
2024-05-06T09:25:53
https://github.com/huggingface/datasets/issues/6869
{ "login": "albertvillanova" }
{ "nodes": [ { "name": "bug" } ] }
[]
I_kwDODunzps6H3KhH
6,868
datasets.BuilderConfig does not work.
### 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,...
CLOSED
2024-05-05T08:08:55
2024-05-05T12:15:02
2024-05-05T12:15:01
https://github.com/huggingface/datasets/issues/6868
{ "login": "jdm4pku" }
{ "nodes": [] }
[ "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....