number
int64
2
7.91k
title
stringlengths
1
290
body
stringlengths
0
228k
state
stringclasses
2 values
created_at
timestamp[s]date
2020-04-14 18:18:51
2025-12-16 10:45:02
updated_at
timestamp[s]date
2020-04-29 09:23:05
2025-12-16 19:34:46
closed_at
timestamp[s]date
2020-04-29 09:23:05
2025-12-16 14:20:48
โŒ€
url
stringlengths
48
51
author
stringlengths
3
26
โŒ€
comments_count
int64
0
70
labels
listlengths
0
4
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
lappemic
0
[ "enhancement" ]
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
hahmad2008
0
[]
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
PonteIneptique
0
[]
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
severo
0
[]
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
hlky
8
[]
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
MatthewYZhang
2
[]
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
jonathanasdf
7
[]
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
Sakurakdx
5
[]
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
kamilakesbi
4
[]
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
2025-11-24T16:09:42
null
https://github.com/huggingface/datasets/issues/7047
tom-p-reichel
6
[ "enhancement" ]
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
Tobin-rgb
2
[]
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
wanghaoyucn
2
[]
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
2024-09-22T13:16:07
null
https://github.com/huggingface/datasets/issues/7037
LinglingGreat
2
[ "bug" ]
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
albertvillanova
0
[ "maintenance" ]
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
pminervini
2
[]
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
albertvillanova
0
[]
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
yuvalkirstain
2
[ "enhancement" ]
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
sugam-nexusflow
1
[]
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
johnwee1
0
[]
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
albertvillanova
0
[ "maintenance" ]
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
albertvillanova
0
[ "bug" ]
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
sliedes
6
[]
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
MohamedAliRashad
1
[ "duplicate", "enhancement" ]
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
albertvillanova
0
[ "maintenance" ]
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
albertvillanova
0
[ "maintenance" ]
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
albertvillanova
0
[ "maintenance" ]
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
albertvillanova
0
[ "maintenance" ]
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
Aki1991
3
[]
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
purefall
1
[]
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
3
[]
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
albertvillanova
0
[ "maintenance" ]
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
Leo-Lsc
9
[]
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
YHL04
1
[]
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
yzhangcs
1
[]
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
simplew2011
1
[]
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
firmai
14
[]
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
ljw20180420
1
[ "enhancement" ]
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
cybest0608
3
[]
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
NeilGirdhar
0
[ "enhancement" ]
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
lucasjinreal
12
[]
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
xiaoyaolangzhi
2
[]
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
ramtunguturi36
2
[]
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
humanely
0
[ "enhancement" ]
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
umarbutler
1
[ "enhancement" ]
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
wangguan1995
8
[]
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
albertvillanova
1
[ "documentation" ]
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
windmaple
5
[ "enhancement" ]
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
iansheng
2
[ "documentation" ]
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
frederichen01
2
[]
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
logasja
0
[]
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
W-215
15
[]
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
albertvillanova
0
[ "maintenance" ]
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
Luciennnnnnn
0
[ "enhancement" ]
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
yuvalkirstain
0
[ "enhancement" ]
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
albertvillanova
0
[ "bug" ]
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
albertvillanova
1
[ "bug" ]
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
ycattan
3
[]
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
lamyiowce
2
[]
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
Polarisamoon
2
[]
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
zinc75
2
[ "enhancement" ]
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
MostHumble
3
[]
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
anioji
0
[]
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
juanqui
0
[]
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
srehaag
2
[ "bug" ]
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
elwe-2808
0
[]
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
jetlime
0
[]
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
albertvillanova
0
[ "bug" ]
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
lhallee
8
[ "dataset request" ]
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
guch8017
2
[]
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
umarbutler
1
[ "enhancement" ]
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
eor51355
6
[]
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
radulescupetru
1
[]
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
arita37
18
[ "enhancement" ]
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
albertvillanova
0
[ "bug" ]
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
lhoestq
5
[]
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
sohamparikh
2
[]
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
bghira
2
[]
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
finiteautomata
1
[]
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
albertvillanova
0
[ "documentation" ]
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
DarshanDeshpande
2
[]
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
not-lain
0
[ "enhancement" ]
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
brainer3220
1
[]
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
fah
0
[]
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
albertvillanova
0
[ "bug" ]
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
MRNOBODY-ZST
1
[]
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
albertvillanova
3
[ "bug" ]
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
lhoestq
5
[]
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
felix-schneider
0
[]
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
loicmagne
5
[ "bug" ]
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
albertvillanova
0
[ "bug" ]
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
jdm4pku
1
[]
6,867
Improve performance of JSON loader
As reported by @natolambert, loading regular JSON files with `datasets` shows poor performance. The cause is that we use the `json` Python standard library instead of other faster libraries. See my old comment: https://github.com/huggingface/datasets/pull/2638#pullrequestreview-706983714 > There are benchmarks that...
CLOSED
2024-05-04T15:04:16
2024-05-17T16:22:28
2024-05-17T16:22:28
https://github.com/huggingface/datasets/issues/6867
albertvillanova
5
[ "enhancement" ]
6,866
DataFilesNotFoundError for datasets in the open-llm-leaderboard
### Describe the bug When trying to get config names or load any dataset within the open-llm-leaderboard ecosystem (`open-llm-leaderboard/details_`) I receive the DataFilesNotFoundError. For the last month or so I've been loading datasets from the leaderboard almost everyday; yesterday was the first time I started see...
CLOSED
2024-05-04T04:59:00
2024-05-14T08:09:56
2024-05-14T08:09:56
https://github.com/huggingface/datasets/issues/6866
jerome-white
3
[]
6,865
Example on Semantic segmentation contains bug
### Describe the bug https://huggingface.co/docs/datasets/en/semantic_segmentation shows wrong example with torchvision transforms. Specifically, as one can see in screenshot below, the object boundaries have weird colors. <img width="689" alt="image" src="https://github.com/huggingface/datasets/assets/4803565/59...
OPEN
2024-05-03T09:40:12
2024-05-03T09:40:12
null
https://github.com/huggingface/datasets/issues/6865
ducha-aiki
0
[]
6,864
Dataset 'rewardsignal/reddit_writing_prompts' doesn't exist on the Hub
### Describe the bug The dataset `rewardsignal/reddit_writing_prompts` is missing in Huggingface Hub. ### Steps to reproduce the bug ``` from datasets import load_dataset prompt_response_dataset = load_dataset("rewardsignal/reddit_writing_prompts", data_files="prompt_responses_full.csv", split='train[:80%]...
CLOSED
2024-05-03T06:03:30
2024-05-06T06:36:42
2024-05-06T06:36:41
https://github.com/huggingface/datasets/issues/6864
vinodrajendran001
1
[]
6,863
Revert temporary pin huggingface-hub < 0.23.0
Revert temporary pin huggingface-hub < 0.23.0 introduced by - #6861 once the following issue is fixed and released: - huggingface/transformers#30618
CLOSED
2024-05-03T05:53:55
2024-05-27T10:14:41
2024-05-27T10:14:41
https://github.com/huggingface/datasets/issues/6863
albertvillanova
0
[]
6,860
CI fails after huggingface_hub-0.23.0 release: FutureWarning: "resume_download"
CI fails after latest huggingface_hub-0.23.0 release: https://github.com/huggingface/huggingface_hub/releases/tag/v0.23.0 ``` FAILED tests/test_metric_common.py::LocalMetricTest::test_load_metric_bertscore - FutureWarning: `resume_download` is deprecated and will be removed in version 1.0.0. Downloads always resume...
CLOSED
2024-05-02T13:24:17
2024-05-02T16:53:45
2024-05-02T16:53:45
https://github.com/huggingface/datasets/issues/6860
albertvillanova
3
[ "bug" ]
6,858
Segmentation fault
### Describe the bug Using various version for datasets, I'm no more longer able to load that dataset without a segmentation fault. Several others files are also concerned. ### Steps to reproduce the bug # Create a new venv python3 -m venv venv_test source venv_test/bin/activate # Install the latest versio...
CLOSED
2024-05-02T08:28:49
2024-05-03T08:43:21
2024-05-03T08:42:36
https://github.com/huggingface/datasets/issues/6858
scampion
2
[]
6,856
CI fails on Windows for test_delete_from_hub and test_xgetsize_private due to new-line character
CI fails on Windows for test_delete_from_hub after the merge of: - #6820 This is weird because the CI was green in the PR branch before merging to main. ``` FAILED tests/test_hub.py::test_delete_from_hub - AssertionError: assert [CommitOperat...\r\n---\r\n')] == [CommitOperat...in/*\n---\n')] At index 1 ...
CLOSED
2024-05-02T07:37:03
2024-05-02T11:43:01
2024-05-02T11:43:01
https://github.com/huggingface/datasets/issues/6856
albertvillanova
1
[ "bug" ]
6,854
Wrong example of usage when config name is missing for community script-datasets
As reported by @Wauplin, when loading a community dataset with script, there is a bug in the example of usage of the error message if the dataset has multiple configs (and no default config) and the user does not pass any config. For example: ```python >>> ds = load_dataset("google/fleurs") ValueError: Config name i...
CLOSED
2024-05-02T06:59:39
2024-05-03T15:51:59
2024-05-03T15:51:58
https://github.com/huggingface/datasets/issues/6854
albertvillanova
0
[ "bug" ]