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 |
|---|---|---|---|---|---|---|---|---|---|---|
5,568 | dataset.to_iterable_dataset() loses useful info like dataset features | ### Describe the bug
Hello,
I like the new `to_iterable_dataset` feature but I noticed something that seems to be missing.
When using `to_iterable_dataset` to transform your map style dataset into iterable dataset, you lose valuable metadata like the features.
These metadata are useful if you want to interleav... | CLOSED | 2023-02-23T13:45:33 | 2023-02-24T13:22:36 | 2023-02-24T13:22:36 | https://github.com/huggingface/datasets/issues/5568 | bruno-hays | 3 | [
"enhancement",
"good first issue"
] |
5,566 | Directly reading parquet files in a s3 bucket from the load_dataset method | ### Feature request
Right now, we have to read the get the parquet file to the local storage. So having ability to read given the bucket directly address would be benificial
### Motivation
In a production set up, this feature can help us a lot. So we do not need move training datafiles in between storage.
### Yo... | OPEN | 2023-02-22T22:13:40 | 2023-02-23T11:03:29 | null | https://github.com/huggingface/datasets/issues/5566 | shamanez | 1 | [
"duplicate",
"enhancement"
] |
5,555 | `.shuffle` throwing error `ValueError: Protocol not known: parent` | ### Describe the bug
```
---------------------------------------------------------------------------
ValueError Traceback (most recent call last)
Cell In [16], line 1
----> 1 train_dataset = train_dataset.shuffle()
File /opt/conda/envs/pytorch/lib/python3.9/site-packages/dataset... | OPEN | 2023-02-20T21:33:45 | 2023-02-27T09:23:34 | null | https://github.com/huggingface/datasets/issues/5555 | prabhakar267 | 4 | [] |
5,548 | Apply flake8-comprehensions to codebase | ### Feature request
Apply ruff flake8 comprehension checks to codebase.
### Motivation
This should strictly improve the performance / readability of the codebase by removing unnecessary iteration, function calls, etc. This should generate better Python bytecode which should strictly improve performance.
I alread... | CLOSED | 2023-02-19T20:05:38 | 2023-02-23T13:59:41 | 2023-02-23T13:59:41 | https://github.com/huggingface/datasets/issues/5548 | Skylion007 | 0 | [
"enhancement"
] |
5,546 | Downloaded datasets do not cache at $HF_HOME | ### Describe the bug
In the huggingface course (https://huggingface.co/course/chapter3/2?fw=pt) it said that if we set HF_HOME, downloaded datasets would be cached at specified address but it does not. downloaded models from checkpoint names are downloaded and cached at HF_HOME but this is not the case for datasets, t... | CLOSED | 2023-02-18T13:30:35 | 2023-07-24T14:22:43 | 2023-07-24T14:22:43 | https://github.com/huggingface/datasets/issues/5546 | ErfanMoosaviMonazzah | 1 | [] |
5,543 | the pile datasets url seems to change back | ### Describe the bug
in #3627, the host url of the pile dataset became `https://mystic.the-eye.eu`. Now the new url is broken, but `https://the-eye.eu` seems to work again.
### Steps to reproduce the bug
```python3
from datasets import load_dataset
dataset = load_dataset("bookcorpusopen")
```
shows
```python3
... | CLOSED | 2023-02-17T08:40:11 | 2023-02-21T06:37:00 | 2023-02-20T08:41:33 | https://github.com/huggingface/datasets/issues/5543 | wjfwzzc | 2 | [] |
5,541 | Flattening indices in selected datasets is extremely inefficient | ### Describe the bug
If we perform a `select` (or `shuffle`, `train_test_split`, etc.) operation on a dataset , we end up with a dataset with an `indices_table`. Currently, flattening such dataset consumes a lot of memory and the resulting flat dataset contains ChunkedArrays with as many chunks as there are rows. Thi... | CLOSED | 2023-02-17T01:52:24 | 2023-02-22T13:15:20 | 2023-02-17T11:12:33 | https://github.com/huggingface/datasets/issues/5541 | marioga | 3 | [] |
5,539 | IndexError: invalid index of a 0-dim tensor. Use `tensor.item()` in Python or `tensor.item<T>()` in C++ to convert a 0-dim tensor to a number | ### Describe the bug
When dataset contains a 0-dim tensor, formatting.py raises a following error and fails.
```bash
Traceback (most recent call last):
File "<path>/lib/python3.8/site-packages/datasets/formatting/formatting.py", line 501, in format_row
return _unnest(formatted_batch)
File "<path>/lib/py... | CLOSED | 2023-02-16T16:08:51 | 2023-02-22T10:30:30 | 2023-02-21T13:03:57 | https://github.com/huggingface/datasets/issues/5539 | aalbersk | 4 | [
"good first issue"
] |
5,538 | load_dataset in seaborn is not working for me. getting this error. | TimeoutError Traceback (most recent call last)
~\anaconda3\lib\urllib\request.py in do_open(self, http_class, req, **http_conn_args)
1345 try:
-> 1346 h.request(req.get_method(), req.selector, req.data, headers,
1347 encode_chu... | CLOSED | 2023-02-16T14:01:58 | 2023-02-16T14:44:36 | 2023-02-16T14:44:36 | https://github.com/huggingface/datasets/issues/5538 | reemaranibarik | 1 | [] |
5,537 | Increase speed of data files resolution | Certain datasets like `bigcode/the-stack-dedup` have so many files that loading them takes forever right from the data files resolution step.
`datasets` uses file patterns to check the structure of the repository but it takes too much time to iterate over and over again on all the data files.
This comes from `res... | CLOSED | 2023-02-16T12:11:45 | 2023-12-15T13:12:31 | 2023-12-15T13:12:31 | https://github.com/huggingface/datasets/issues/5537 | lhoestq | 5 | [
"enhancement",
"good second issue"
] |
5,536 | Failure to hash function when using .map() | ### Describe the bug
_Parameter 'function'=<function process at 0x7f1ec4388af0> of the transform datasets.arrow_dataset.Dataset.\_map_single couldn't be hashed properly, a random hash was used instead. Make sure your transforms and parameters are serializable with pickle or dill for the dataset fingerprinting and ca... | CLOSED | 2023-02-16T03:12:07 | 2023-09-08T21:06:01 | 2023-02-16T14:56:41 | https://github.com/huggingface/datasets/issues/5536 | venzen | 14 | [] |
5,534 | map() breaks at certain dataset size when using Array3D | ### Describe the bug
`map()` magically breaks when using a `Array3D` feature and mapping it. I created a very simple dummy dataset (see below). When filtering it down to 95 elements I can apply map, but it breaks when filtering it down to just 96 entries with the following exception:
```
Traceback (most recent cal... | OPEN | 2023-02-15T16:34:25 | 2023-03-03T16:31:33 | null | https://github.com/huggingface/datasets/issues/5534 | ArneBinder | 2 | [] |
5,532 | train_test_split in arrow_dataset does not ensure to keep single classes in test set | ### Describe the bug
When I have a dataset with very few (e.g. 1) examples per class and I call the train_test_split function on it, sometimes the single class will be in the test set. thus will never be considered for training.
### Steps to reproduce the bug
```
import numpy as np
from datasets import Dataset
... | CLOSED | 2023-02-14T16:52:29 | 2023-02-15T16:09:19 | 2023-02-15T16:09:19 | https://github.com/huggingface/datasets/issues/5532 | Ulipenitz | 1 | [] |
5,531 | Invalid Arrow data from JSONL | This code fails:
```python
from datasets import Dataset
ds = Dataset.from_json(path_to_file)
ds.data.validate()
```
raises
```python
ArrowInvalid: Column 2: In chunk 1: Invalid: Struct child array #3 invalid: Invalid: Length spanned by list offsets (4064) larger than values array (length 4063)
```
This ... | OPEN | 2023-02-14T15:39:49 | 2023-02-14T15:46:09 | null | https://github.com/huggingface/datasets/issues/5531 | lhoestq | 0 | [
"bug"
] |
5,525 | TypeError: Couldn't cast array of type string to null | ### Describe the bug
Processing a dataset I alredy uploaded to the Hub (https://huggingface.co/datasets/tj-solergibert/Europarl-ST) I found that for some splits and some languages (test split, source_lang = "nl") after applying a map function I get the mentioned error.
I alredy tried reseting the shorter strings... | CLOSED | 2023-02-10T21:12:36 | 2023-02-14T17:41:08 | 2023-02-14T09:35:49 | https://github.com/huggingface/datasets/issues/5525 | TJ-Solergibert | 6 | [] |
5,523 | Checking that split name is correct happens only after the data is downloaded | ### Describe the bug
Verification of split names (=indexing data by split) happens after downloading the data. So when the split name is incorrect, users learn about that only after the data is fully downloaded, for large datasets it might take a lot of time.
### Steps to reproduce the bug
Load any dataset with rand... | OPEN | 2023-02-10T19:13:03 | 2023-02-10T19:14:50 | null | https://github.com/huggingface/datasets/issues/5523 | polinaeterna | 0 | [
"bug"
] |
5,520 | ClassLabel.cast_storage raises TypeError when called on an empty IntegerArray | ### Describe the bug
`ClassLabel.cast_storage` raises `TypeError` when called on an empty `IntegerArray`.
### Steps to reproduce the bug
Minimal steps:
```python
import pyarrow as pa
from datasets import ClassLabel
ClassLabel(names=['foo', 'bar']).cast_storage(pa.array([], pa.int64()))
```
In practice, thi... | CLOSED | 2023-02-09T18:46:52 | 2023-02-12T11:17:18 | 2023-02-12T11:17:18 | https://github.com/huggingface/datasets/issues/5520 | marioga | 0 | [] |
5,517 | `with_format("numpy")` silently downcasts float64 to float32 features | ### Describe the bug
When I create a dataset with a `float64` feature, then apply numpy formatting the returned numpy arrays are silently downcasted to `float32`.
### Steps to reproduce the bug
```python
import datasets
dataset = datasets.Dataset.from_dict({'a': [1.0, 2.0, 3.0]}).with_format("numpy")
print(... | OPEN | 2023-02-09T14:18:00 | 2024-01-18T08:42:17 | null | https://github.com/huggingface/datasets/issues/5517 | ernestum | 13 | [] |
5,514 | Improve inconsistency of `Dataset.map` interface for `load_from_cache_file` | ### Feature request
1. Replace the `load_from_cache_file` default value to `True`.
2. Remove or alter checks from `is_caching_enabled` logic.
### Motivation
I stumbled over an inconsistency in the `Dataset.map` interface. The documentation (and source) states for the parameter `load_from_cache_file`:
```
load_... | CLOSED | 2023-02-08T16:40:44 | 2023-02-14T14:26:44 | 2023-02-14T14:26:44 | https://github.com/huggingface/datasets/issues/5514 | HallerPatrick | 4 | [
"enhancement"
] |
5,513 | Some functions use a param named `type` shouldn't that be avoided since it's a Python reserved name? | Hi @mariosasko, @lhoestq, or whoever reads this! :)
After going through `ArrowDataset.set_format` I found out that the `type` param is actually named `type` which is a Python reserved name as you may already know, shouldn't that be renamed to `format_type` before the 3.0.0 is released?
Just wanted to get your inp... | CLOSED | 2023-02-08T15:13:46 | 2023-07-24T16:02:18 | 2023-07-24T14:27:59 | https://github.com/huggingface/datasets/issues/5513 | alvarobartt | 4 | [] |
5,511 | Creating a dummy dataset from a bigger one | ### Describe the bug
I often want to create a dummy dataset from a bigger dataset for fast iteration when training. However, I'm having a hard time doing this especially when trying to upload the dataset to the Hub.
### Steps to reproduce the bug
```python
from datasets import load_dataset
dataset = load_dataset... | CLOSED | 2023-02-08T10:18:41 | 2023-12-28T18:21:01 | 2023-02-08T10:35:48 | https://github.com/huggingface/datasets/issues/5511 | patrickvonplaten | 8 | [] |
5,508 | Saving a dataset after setting format to torch doesn't work, but only if filtering | ### Describe the bug
Saving a dataset after setting format to torch doesn't work, but only if filtering
### Steps to reproduce the bug
```
a = Dataset.from_dict({"b": [1, 2]})
a.set_format('torch')
a.save_to_disk("test_save") # saves successfully
a.filter(None).save_to_disk("test_save_filter") # does not
>> [..... | CLOSED | 2023-02-06T21:08:58 | 2023-02-09T14:55:26 | 2023-02-09T14:55:26 | https://github.com/huggingface/datasets/issues/5508 | joebhakim | 2 | [] |
5,507 | Optimise behaviour in respect to indices mapping | _Originally [posted](https://huggingface.slack.com/archives/C02V51Q3800/p1675443873878489?thread_ts=1675418893.373479&cid=C02V51Q3800) on Slack_
Considering all this, perhaps for Datasets 3.0, we can do the following:
* [ ] have `continuous=True` by default in `.shard` (requested in the survey and makes more sense... | OPEN | 2023-02-06T14:25:55 | 2023-02-28T18:19:18 | null | https://github.com/huggingface/datasets/issues/5507 | mariosasko | 0 | [
"enhancement"
] |
5,506 | IterableDataset and Dataset return different batch sizes when using Trainer with multiple GPUs | ### Describe the bug
I am training a Roberta model using 2 GPUs and the `Trainer` API with a batch size of 256.
Initially I used a standard `Dataset`, but had issues with slow data loading. After reading [this issue](https://github.com/huggingface/datasets/issues/2252), I swapped to loading my dataset as contiguous... | CLOSED | 2023-02-06T03:26:03 | 2023-02-08T18:30:08 | 2023-02-08T18:30:07 | https://github.com/huggingface/datasets/issues/5506 | kheyer | 4 | [] |
5,505 | PyTorch BatchSampler still loads from Dataset one-by-one | ### Describe the bug
In [the docs here](https://huggingface.co/docs/datasets/use_with_pytorch#use-a-batchsampler), it mentions the issue of the Dataset being read one-by-one, then states that using a BatchSampler resolves the issue.
I'm not sure if this is a mistake in the docs or the code, but it seems that the on... | CLOSED | 2023-02-06T01:14:55 | 2023-02-19T18:27:30 | 2023-02-19T18:27:30 | https://github.com/huggingface/datasets/issues/5505 | davidgilbertson | 2 | [] |
5,500 | WMT19 custom download checksum error | ### Describe the bug
I use the following scripts to download data from WMT19:
```python
import datasets
from datasets import inspect_dataset, load_dataset_builder
from wmt19.wmt_utils import _TRAIN_SUBSETS,_DEV_SUBSETS
## this is a must due to: https://discuss.huggingface.co/t/load-dataset-hangs-with-local-fi... | CLOSED | 2023-02-03T05:45:37 | 2023-02-03T05:52:56 | 2023-02-03T05:52:56 | https://github.com/huggingface/datasets/issues/5500 | Hannibal046 | 1 | [] |
5,499 | `load_dataset` has ~4 seconds of overhead for cached data | ### Feature request
When loading a dataset that has been cached locally, the `load_dataset` function takes a lot longer than it should take to fetch the dataset from disk (or memory).
This is particularly noticeable for smaller datasets. For example, wikitext-2, comparing `load_data` (once cached) and `load_from_disk... | OPEN | 2023-02-02T23:34:50 | 2023-02-07T19:35:11 | null | https://github.com/huggingface/datasets/issues/5499 | davidgilbertson | 2 | [
"enhancement"
] |
5,498 | TypeError: 'bool' object is not iterable when filtering a datasets.arrow_dataset.Dataset | ### Describe the bug
Hi,
Thanks for the amazing work on the library!
**Describe the bug**
I think I might have noticed a small bug in the filter method.
Having loaded a dataset using `load_dataset`, when I try to filter out empty entries with `batched=True`, I get a TypeError.
### Steps to reproduce the ... | CLOSED | 2023-02-02T14:46:49 | 2023-10-08T06:12:47 | 2023-02-04T17:19:36 | https://github.com/huggingface/datasets/issues/5498 | vmuel | 3 | [] |
5,496 | Add a `reduce` method | ### Feature request
Right now the `Dataset` class implements `map()` and `filter()`, but leaves out the third functional idiom popular among Python users: `reduce`.
### Motivation
A `reduce` method is often useful when calculating dataset statistics, for example, the occurrence of a particular n-gram or the average... | CLOSED | 2023-02-02T04:30:22 | 2024-11-12T05:58:14 | 2023-07-21T14:24:32 | https://github.com/huggingface/datasets/issues/5496 | zhangir-azerbayev | 4 | [
"enhancement"
] |
5,495 | to_tf_dataset fails with datetime UTC columns even if not included in columns argument | ### Describe the bug
There appears to be some eager behavior in `to_tf_dataset` that runs against every column in a dataset even if they aren't included in the columns argument. This is problematic with datetime UTC columns due to them not working with zero copy. If I don't have UTC information in my datetime column... | CLOSED | 2023-02-01T20:47:33 | 2023-02-08T14:33:19 | 2023-02-08T14:33:19 | https://github.com/huggingface/datasets/issues/5495 | dwyatte | 2 | [
"bug",
"good first issue"
] |
5,494 | Update audio installation doc page | Our [installation documentation page](https://huggingface.co/docs/datasets/installation#audio) says that one can use Datasets for mp3 only with `torchaudio<0.12`. `torchaudio>0.12` is actually supported too but requires a specific version of ffmpeg which is not easily installed on all linux versions but there is a cust... | CLOSED | 2023-02-01T19:07:50 | 2023-03-02T16:08:17 | 2023-03-02T16:08:17 | https://github.com/huggingface/datasets/issues/5494 | polinaeterna | 4 | [
"documentation"
] |
5,492 | Push_to_hub in a pull request | Right now `ds.push_to_hub()` can push a dataset on `main` or on a new branch with `branch=`, but there is no way to open a pull request. Even passing `branch=refs/pr/x` doesn't seem to work: it tries to create a branch with that name
cc @nateraw
It should be possible to tweak the use of `huggingface_hub` in `pus... | CLOSED | 2023-02-01T18:32:14 | 2023-10-16T13:30:48 | 2023-10-16T13:30:48 | https://github.com/huggingface/datasets/issues/5492 | lhoestq | 2 | [
"enhancement",
"good first issue"
] |
5,488 | Error loading MP3 files from CommonVoice | ### Describe the bug
When loading a CommonVoice dataset with `datasets==2.9.0` and `torchaudio>=0.12.0`, I get an error reading the audio arrays:
```python
---------------------------------------------------------------------------
LibsndfileError Traceback (most recent call last)
~/.l... | CLOSED | 2023-01-31T21:25:33 | 2023-03-02T16:25:14 | 2023-03-02T16:25:13 | https://github.com/huggingface/datasets/issues/5488 | kradonneoh | 4 | [] |
5,487 | Incorrect filepath for dill module | ### Describe the bug
I installed the `datasets` package and when I try to `import` it, I get the following error:
```
Traceback (most recent call last):
File "/var/folders/jt/zw5g74ln6tqfdzsl8tx378j00000gn/T/ipykernel_3805/3458380017.py", line 1, in <module>
import datasets
File "/Users/avivbrokman/... | CLOSED | 2023-01-31T15:01:08 | 2023-02-24T16:18:36 | 2023-02-24T16:18:36 | https://github.com/huggingface/datasets/issues/5487 | avivbrokman | 5 | [] |
5,486 | Adding `sep` to TextConfig | I have a local a `.txt` file that follows the `CONLL2003` format which I need to load using `load_script`. However, by using `sample_by='line'`, one can only split the dataset into lines without splitting each line into columns. Would it be reasonable to add a `sep` argument in combination with `sample_by='paragraph'` ... | OPEN | 2023-01-31T10:39:53 | 2023-01-31T14:50:18 | null | https://github.com/huggingface/datasets/issues/5486 | omar-araboghli | 2 | [] |
5,483 | Unable to upload dataset | ### Describe the bug
Uploading a simple dataset ends with an exception
### Steps to reproduce the bug
I created a new conda env with python 3.10, pip installed datasets and:
```python
>>> from datasets import load_dataset, load_from_disk, Dataset
>>> d = Dataset.from_dict({"text": ["hello"] * 2})
>>> d.pus... | CLOSED | 2023-01-28T15:18:26 | 2023-01-29T08:09:49 | 2023-01-29T08:09:49 | https://github.com/huggingface/datasets/issues/5483 | yuvalkirstain | 1 | [] |
5,482 | Reload features from Parquet metadata | The idea would be to allow this :
```python
ds.to_parquet("my_dataset/ds.parquet")
reloaded = load_dataset("my_dataset")
assert ds.features == reloaded.features
```
And it should also work with Image and Audio types (right now they're reloaded as a dict type)
This can be implemented by storing and reading th... | CLOSED | 2023-01-28T13:12:31 | 2023-02-12T15:57:02 | 2023-02-12T15:57:02 | https://github.com/huggingface/datasets/issues/5482 | lhoestq | 3 | [
"enhancement",
"good second issue"
] |
5,481 | Load a cached dataset as iterable | The idea would be to allow something like
```python
ds = load_dataset("c4", "en", as_iterable=True)
```
To be used to train models. It would load an IterableDataset from the cached Arrow files.
Cc @stas00
Edit : from the discussions we may load from cache when streaming=True | OPEN | 2023-01-27T21:43:51 | 2025-06-19T19:30:52 | null | https://github.com/huggingface/datasets/issues/5481 | lhoestq | 22 | [
"enhancement",
"good second issue"
] |
5,479 | audiofolder works on local env, but creates empty dataset in a remote one, what dependencies could I be missing/outdated | ### Describe the bug
I'm using a custom audio dataset (400+ audio files) in the correct format for audiofolder. Although loading the dataset with audiofolder works in one local setup, it doesn't in a remote one (it just creates an empty dataset). I have both ffmpeg and libndfile installed on both computers, what cou... | CLOSED | 2023-01-27T20:01:22 | 2023-01-29T05:23:14 | 2023-01-29T05:23:14 | https://github.com/huggingface/datasets/issues/5479 | joseph-y-cho | 0 | [] |
5,477 | Unpin sqlalchemy once issue is fixed | Once the source issue is fixed:
- pandas-dev/pandas#51015
we should revert the pin introduced in:
- #5476 | CLOSED | 2023-01-27T15:01:55 | 2024-01-26T14:50:45 | 2024-01-26T14:50:45 | https://github.com/huggingface/datasets/issues/5477 | albertvillanova | 2 | [] |
5,475 | Dataset scan time is much slower than using native arrow | ### Describe the bug
I'm basically running the same scanning experiment from the tutorials https://huggingface.co/course/chapter5/4?fw=pt except now I'm comparing to a native pyarrow version.
I'm finding that the native pyarrow approach is much faster (2 orders of magnitude). Is there something I'm missing that exp... | CLOSED | 2023-01-27T01:32:25 | 2023-01-30T16:17:11 | 2023-01-30T16:17:11 | https://github.com/huggingface/datasets/issues/5475 | jonny-cyberhaven | 3 | [] |
5,474 | Column project operation on `datasets.Dataset` | ### Feature request
There is no operation to select a subset of columns of original dataset. Expected API follows.
```python
a = Dataset.from_dict({
'int': [0, 1, 2]
'char': ['a', 'b', 'c'],
'none': [None] * 3,
})
b = a.project('int', 'char') # usually, .select()
print(a.column_names) # std... | CLOSED | 2023-01-26T21:47:53 | 2023-02-13T09:59:37 | 2023-02-13T09:59:37 | https://github.com/huggingface/datasets/issues/5474 | daskol | 1 | [
"duplicate",
"enhancement"
] |
5,468 | Allow opposite of remove_columns on Dataset and DatasetDict | ### Feature request
In this blog post https://huggingface.co/blog/audio-datasets, I noticed the following code:
```python
COLUMNS_TO_KEEP = ["text", "audio"]
all_columns = gigaspeech["train"].column_names
columns_to_remove = set(all_columns) - set(COLUMNS_TO_KEEP)
gigaspeech = gigaspeech.remove_columns(column... | CLOSED | 2023-01-26T12:28:09 | 2023-02-13T09:59:38 | 2023-02-13T09:59:38 | https://github.com/huggingface/datasets/issues/5468 | hollance | 9 | [
"enhancement",
"good first issue"
] |
5,465 | audiofolder creates empty dataset even though the dataset passed in follows the correct structure | ### Describe the bug
The structure of my dataset folder called "my_dataset" is : data metadata.csv
The data folder consists of all mp3 files and metadata.csv consist of file locations like 'data/...mp3 and transcriptions. There's 400+ mp3 files and corresponding transcriptions for my dataset.
When I run the follo... | CLOSED | 2023-01-26T01:45:45 | 2023-01-26T08:48:45 | 2023-01-26T08:48:45 | https://github.com/huggingface/datasets/issues/5465 | joseph-y-cho | 0 | [] |
5,464 | NonMatchingChecksumError for hendrycks_test | ### Describe the bug
The checksum of the file has likely changed on the remote host.
### Steps to reproduce the bug
`dataset = nlp.load_dataset("hendrycks_test", "anatomy")`
### Expected behavior
no error thrown
### Environment info
- `datasets` version: 2.2.1
- Platform: macOS-13.1-arm64-arm-64bit
- Pyt... | CLOSED | 2023-01-26T00:43:23 | 2023-01-27T05:44:31 | 2023-01-26T07:41:58 | https://github.com/huggingface/datasets/issues/5464 | sarahwie | 2 | [] |
5,461 | Discrepancy in `nyu_depth_v2` dataset | ### Describe the bug
I think there is a discrepancy between depth map of `nyu_depth_v2` dataset [here](https://huggingface.co/docs/datasets/main/en/depth_estimation) and actual depth map. Depth values somehow got **discretized/clipped** resulting in depth maps that are different from actual ones. Here is a side-by-sid... | OPEN | 2023-01-24T19:15:46 | 2023-02-06T20:52:00 | null | https://github.com/huggingface/datasets/issues/5461 | awsaf49 | 37 | [] |
5,458 | slice split while streaming | ### Describe the bug
When using the `load_dataset` function with streaming set to True, slicing splits is apparently not supported.
Did I miss this in the documentation?
### Steps to reproduce the bug
`load_dataset("lhoestq/demo1",revision=None, streaming=True, split="train[:3]")`
causes ValueError: Bad split:... | CLOSED | 2023-01-24T14:08:17 | 2023-01-24T15:11:47 | 2023-01-24T15:11:47 | https://github.com/huggingface/datasets/issues/5458 | SvenDS9 | 2 | [] |
5,457 | prebuilt dataset relies on `downloads/extracted` | ### Describe the bug
I pre-built the dataset:
```
python -c 'import sys; from datasets import load_dataset; ds=load_dataset(sys.argv[1])' HuggingFaceM4/general-pmd-synthetic-testing
```
and it can be used just fine.
now I wipe out `downloads/extracted` and it no longer works.
```
rm -r ~/.cache/huggingface... | OPEN | 2023-01-24T02:09:32 | 2024-11-18T07:43:51 | null | https://github.com/huggingface/datasets/issues/5457 | stas00 | 3 | [] |
5,454 | Save and resume the state of a DataLoader | It would be nice when using `datasets` with a PyTorch DataLoader to be able to resume a training from a DataLoader state (e.g. to resume a training that crashed)
What I have in mind (but lmk if you have other ideas or comments):
For map-style datasets, this requires to have a PyTorch Sampler state that can be sav... | OPEN | 2023-01-23T10:58:54 | 2024-11-27T01:19:21 | null | https://github.com/huggingface/datasets/issues/5454 | lhoestq | 21 | [
"enhancement",
"generic discussion"
] |
5,451 | ImageFolder BadZipFile: Bad offset for central directory | ### Describe the bug
I'm getting the following exception:
```
lib/python3.10/zipfile.py:1353 in _RealGetContents │
│ │
│ 1350 │ │ # self.start_dir: Position of start of central directory ... | CLOSED | 2023-01-22T23:50:12 | 2023-05-23T10:35:48 | 2023-02-10T16:31:36 | https://github.com/huggingface/datasets/issues/5451 | hmartiro | 3 | [] |
5,450 | to_tf_dataset with a TF collator causes bizarrely persistent slowdown | ### Describe the bug
This will make more sense if you take a look at [a Colab notebook that reproduces this issue.](https://colab.research.google.com/drive/1rxyeciQFWJTI0WrZ5aojp4Ls1ut18fNH?usp=sharing)
Briefly, there are several datasets that, when you iterate over them with `to_tf_dataset` **and** a data colla... | CLOSED | 2023-01-20T16:08:37 | 2023-02-13T14:13:34 | 2023-02-13T14:13:34 | https://github.com/huggingface/datasets/issues/5450 | Rocketknight1 | 7 | [] |
5,448 | Support fsspec 2023.1.0 in CI | Once we find out the root cause of:
- #5445
we should revert the temporary pin on fsspec introduced by:
- #5447 | CLOSED | 2023-01-20T10:26:31 | 2023-01-20T13:26:05 | 2023-01-20T13:26:05 | https://github.com/huggingface/datasets/issues/5448 | albertvillanova | 0 | [
"enhancement"
] |
5,445 | CI tests are broken: AttributeError: 'mappingproxy' object has no attribute 'target' | CI tests are broken, raising `AttributeError: 'mappingproxy' object has no attribute 'target'`. See: https://github.com/huggingface/datasets/actions/runs/3966497597/jobs/6797384185
```
...
ERROR tests/test_streaming_download_manager.py::TestxPath::test_xpath_rglob[mock://top_level-date=2019-10-0[1-4]/*-expected_path... | CLOSED | 2023-01-20T10:03:10 | 2023-01-20T10:28:44 | 2023-01-20T10:28:44 | https://github.com/huggingface/datasets/issues/5445 | albertvillanova | 0 | [
"bug"
] |
5,444 | info messages logged as warnings | ### Describe the bug
Code in `datasets` is using `logger.warning` when it should be using `logger.info`.
Some of these are probably a matter of opinion, but I think anything starting with `logger.warning(f"Loading chached` clearly falls into the info category.
Definitions from the Python docs for reference:
* I... | CLOSED | 2023-01-20T01:19:18 | 2023-07-12T17:19:31 | 2023-07-12T17:19:31 | https://github.com/huggingface/datasets/issues/5444 | davidgilbertson | 7 | [] |
5,442 | OneDrive Integrations with HF Datasets | ### Feature request
First of all , I would like to thank all community who are developed DataSet storage and make it free available
How to integrate our Onedrive account or any other possible storage clouds (like google drive,...) with the **HF** datasets section.
For example, if I have **50GB** on my **Onedrive*... | CLOSED | 2023-01-19T23:12:08 | 2023-02-24T16:17:51 | 2023-02-24T16:17:51 | https://github.com/huggingface/datasets/issues/5442 | Mohammed20201991 | 2 | [
"enhancement"
] |
5,439 | [dataset request] Add Common Voice 12.0 | ### Feature request
Please add the common voice 12_0 datasets. Apart from English, a significant amount of audio-data has been added to the other minor-language datasets.
### Motivation
The dataset link:
https://commonvoice.mozilla.org/en/datasets
| CLOSED | 2023-01-18T13:07:05 | 2023-07-21T14:26:10 | 2023-07-21T14:26:09 | https://github.com/huggingface/datasets/issues/5439 | MohammedRakib | 2 | [
"enhancement"
] |
5,437 | Can't load png dataset with 4 channel (RGBA) | I try to create dataset which contains about 9000 png images 64x64 in size, and they are all 4-channel (RGBA). When trying to use load_dataset() then a dataset is created from only 2 images. What exactly interferes I can not understand., it states:
> Using take (or skip) prevents future calls to shuffle from shuffling the dataset shards order, otherwise the taken examples cou... | CLOSED | 2023-01-17T10:04:16 | 2023-01-19T09:56:03 | 2023-01-19T09:56:03 | https://github.com/huggingface/datasets/issues/5435 | DanielYang59 | 4 | [] |
5,434 | sample_dataset module not found | CLOSED | 2023-01-17T09:57:54 | 2023-01-19T13:52:12 | 2023-01-19T07:55:11 | https://github.com/huggingface/datasets/issues/5434 | nickums | 3 | [] | |
5,433 | Support latest Docker image in CI benchmarks | Once we find out the root cause of:
- #5431
we should revert the temporary pin on the Docker image version introduced by:
- #5432 | CLOSED | 2023-01-17T09:06:08 | 2023-01-18T06:29:08 | 2023-01-18T06:29:08 | https://github.com/huggingface/datasets/issues/5433 | albertvillanova | 3 | [
"enhancement"
] |
5,431 | CI benchmarks are broken: Unknown arguments: runnerPath, path | Our CI benchmarks are broken, raising `Unknown arguments` error: https://github.com/huggingface/datasets/actions/runs/3932397079/jobs/6724905161
```
Unknown arguments: runnerPath, path
```
Stack trace:
```
100%|██████████| 500/500 [00:01<00:00, 338.98ba/s]
Updating lock file 'dvc.lock'
To track the changes ... | CLOSED | 2023-01-17T06:49:57 | 2023-01-18T06:33:24 | 2023-01-17T08:51:18 | https://github.com/huggingface/datasets/issues/5431 | albertvillanova | 0 | [
"maintenance"
] |
5,430 | Support Apache Beam >= 2.44.0 | Once we find out the root cause of:
- #5426
we should revert the temporary pin on apache-beam introduced by:
- #5429 | CLOSED | 2023-01-17T06:42:12 | 2024-02-06T19:24:21 | 2024-02-06T19:24:21 | https://github.com/huggingface/datasets/issues/5430 | albertvillanova | 1 | [
"enhancement"
] |
5,428 | Load/Save FAISS index using fsspec | ### Feature request
From what I understand `faiss` already support this [link](https://github.com/facebookresearch/faiss/wiki/Index-IO,-cloning-and-hyper-parameter-tuning#generic-io-support)
I would like to use a stream as input to `Dataset.load_faiss_index` and `Dataset.save_faiss_index`.
### Motivation
In... | CLOSED | 2023-01-16T16:08:12 | 2023-03-27T15:18:22 | 2023-03-27T15:18:22 | https://github.com/huggingface/datasets/issues/5428 | Dref360 | 2 | [
"enhancement"
] |
5,427 | Unable to download dataset id_clickbait | ### Describe the bug
I tried to download dataset `id_clickbait`, but receive this error message.
```
FileNotFoundError: Couldn't find file at https://md-datasets-cache-zipfiles-prod.s3.eu-west-1.amazonaws.com/k42j7x2kpn-1.zip
```
When i open the link using browser, i got this XML data.
```xml
<?xml versi... | CLOSED | 2023-01-16T16:05:36 | 2023-01-18T09:51:28 | 2023-01-18T09:25:19 | https://github.com/huggingface/datasets/issues/5427 | ilos-vigil | 1 | [] |
5,426 | CI tests are broken: SchemaInferenceError | CI test (unit, ubuntu-latest, deps-minimum) is broken, raising a `SchemaInferenceError`: see https://github.com/huggingface/datasets/actions/runs/3930901593/jobs/6721492004
```
FAILED tests/test_beam.py::BeamBuilderTest::test_download_and_prepare_sharded - datasets.arrow_writer.SchemaInferenceError: Please pass `feat... | CLOSED | 2023-01-16T16:02:07 | 2023-06-02T06:40:32 | 2023-01-16T16:49:04 | https://github.com/huggingface/datasets/issues/5426 | albertvillanova | 0 | [
"bug"
] |
5,425 | Sort on multiple keys with datasets.Dataset.sort() | ### Feature request
From discussion on forum: https://discuss.huggingface.co/t/datasets-dataset-sort-does-not-preserve-ordering/29065/1
`sort()` does not preserve ordering, and it does not support sorting on multiple columns, nor a key function.
The suggested solution:
> ... having something similar to panda... | CLOSED | 2023-01-16T09:22:26 | 2023-02-24T16:15:11 | 2023-02-24T16:15:11 | https://github.com/huggingface/datasets/issues/5425 | rocco-fortuna | 10 | [
"enhancement",
"good first issue"
] |
5,424 | When applying `ReadInstruction` to custom load it's not DatasetDict but list of Dataset? | ### Describe the bug
I am loading datasets from custom `tsv` files stored locally and applying split instructions for each split. Although the ReadInstruction is being applied correctly and I was expecting it to be `DatasetDict` but instead it is a list of `Dataset`.
### Steps to reproduce the bug
Steps to reproduc... | CLOSED | 2023-01-16T06:54:28 | 2023-02-24T16:19:00 | 2023-02-24T16:19:00 | https://github.com/huggingface/datasets/issues/5424 | macabdul9 | 1 | [] |
5,422 | Datasets load error for saved github issues | ### Describe the bug
Loading a previously downloaded & saved dataset as described in the HuggingFace course:
issues_dataset = load_dataset("json", data_files="issues/datasets-issues.jsonl", split="train")
Gives this error:
datasets.builder.DatasetGenerationError: An error occurred while generating the dataset... | OPEN | 2023-01-14T17:29:38 | 2023-09-14T11:39:57 | null | https://github.com/huggingface/datasets/issues/5422 | folterj | 7 | [] |
5,421 | Support case-insensitive Hub dataset name in load_dataset | ### Feature request
The dataset name on the Hub is case-insensitive (see https://github.com/huggingface/moon-landing/pull/2399, internal issue), i.e., https://huggingface.co/datasets/GLUE redirects to https://huggingface.co/datasets/glue.
Ideally, we could load the glue dataset using the following:
```
from d... | CLOSED | 2023-01-13T13:07:07 | 2023-01-13T20:12:32 | 2023-01-13T20:12:32 | https://github.com/huggingface/datasets/issues/5421 | severo | 1 | [
"enhancement"
] |
5,419 | label_column='labels' in datasets.TextClassification and 'label' or 'label_ids' in transformers.DataColator | ### Describe the bug
When preparing a dataset for a task using `datasets.TextClassification`, the output feature is named `labels`. When preparing the trainer using the `transformers.DataCollator` the default column name is `label` if binary or `label_ids` if multi-class problem.
It is required to rename the column... | CLOSED | 2023-01-13T09:40:07 | 2023-07-21T14:27:08 | 2023-07-21T14:27:08 | https://github.com/huggingface/datasets/issues/5419 | CreatixEA | 2 | [] |
5,418 | Add ProgressBar for `to_parquet` | ### Feature request
Add a progress bar for `Dataset.to_parquet`, similar to how `to_json` works.
### Motivation
It's a bit frustrating to not know how long a dataset will take to write to file and if it's stuck or not without a progress bar
### Your contribution
Sure I can help if needed | CLOSED | 2023-01-12T05:06:20 | 2023-01-24T18:18:24 | 2023-01-24T18:18:24 | https://github.com/huggingface/datasets/issues/5418 | zanussbaum | 4 | [
"enhancement"
] |
5,415 | RuntimeError: Sharding is ambiguous for this dataset | ### Describe the bug
When loading some datasets, a RuntimeError is raised.
For example, for "ami" dataset: https://huggingface.co/datasets/ami/discussions/3
```
.../huggingface/datasets/src/datasets/builder.py in _prepare_split(self, split_generator, check_duplicate_keys, file_format, num_proc, max_shard_size)
... | CLOSED | 2023-01-10T07:36:11 | 2023-01-18T14:09:04 | 2023-01-18T14:09:03 | https://github.com/huggingface/datasets/issues/5415 | albertvillanova | 0 | [] |
5,414 | Sharding error with Multilingual LibriSpeech | ### Describe the bug
Loading the German Multilingual LibriSpeech dataset results in a RuntimeError regarding sharding with the following stacktrace:
```
Downloading and preparing dataset multilingual_librispeech/german to /home/nithin/datadrive/cache/huggingface/datasets/facebook___multilingual_librispeech/german/... | CLOSED | 2023-01-09T14:45:31 | 2023-01-18T14:09:04 | 2023-01-18T14:09:04 | https://github.com/huggingface/datasets/issues/5414 | Nithin-Holla | 4 | [] |
5,413 | concatenate_datasets fails when two dataset with shards > 1 and unequal shard numbers | ### Describe the bug
When using `concatenate_datasets([dataset1, dataset2], axis = 1)` to concatenate two datasets with shards > 1, it fails:
```
File "/home/xzg/anaconda3/envs/tri-transfer/lib/python3.9/site-packages/datasets/combine.py", line 182, in concatenate_datasets
return _concatenate_map_style_data... | CLOSED | 2023-01-08T17:01:52 | 2023-01-26T09:27:21 | 2023-01-26T09:27:21 | https://github.com/huggingface/datasets/issues/5413 | ZeguanXiao | 1 | [] |
5,412 | load_dataset() cannot find dataset_info.json with multiple training runs in parallel | ### Describe the bug
I have a custom local dataset in JSON form. I am trying to do multiple training runs in parallel. The first training run runs with no issue. However, when I start another run on another GPU, the following code throws this error.
If there is a workaround to ignore the cache I think that would ... | CLOSED | 2023-01-08T00:44:32 | 2023-01-19T20:28:43 | 2023-01-19T20:28:43 | https://github.com/huggingface/datasets/issues/5412 | mtoles | 4 | [] |
5,408 | dataset map function could not be hash properly | ### Describe the bug
I follow the [blog post](https://huggingface.co/blog/fine-tune-whisper#building-a-demo) to finetune a Cantonese transcribe model.
When using map function to prepare dataset, following warning pop out:
`common_voice = common_voice.map(prepare_dataset,
remove_... | CLOSED | 2023-01-05T01:59:59 | 2023-01-06T13:22:19 | 2023-01-06T13:22:18 | https://github.com/huggingface/datasets/issues/5408 | Tungway1990 | 2 | [] |
5,407 | Datasets.from_sql() generates deprecation warning | ### Describe the bug
Calling `Datasets.from_sql()` generates a warning:
`.../site-packages/datasets/builder.py:712: FutureWarning: 'use_auth_token' was deprecated in version 2.7.1 and will be removed in 3.0.0. Pass 'use_auth_token' to the initializer/'load_dataset_builder' instead.`
### Steps to reproduce the ... | CLOSED | 2023-01-05T00:43:17 | 2023-01-06T10:59:14 | 2023-01-06T10:59:14 | https://github.com/huggingface/datasets/issues/5407 | msummerfield | 1 | [] |
5,406 | [2.6.1][2.7.0] Upgrade `datasets` to fix `TypeError: can only concatenate str (not "int") to str` | `datasets` 2.6.1 and 2.7.0 started to stop supporting datasets like IMDB, ConLL or MNIST datasets.
When loading a dataset using 2.6.1 or 2.7.0, you may this error when loading certain datasets:
```python
TypeError: can only concatenate str (not "int") to str
```
This is because we started to update the metadat... | OPEN | 2023-01-04T15:10:04 | 2023-06-21T18:45:38 | null | https://github.com/huggingface/datasets/issues/5406 | lhoestq | 11 | [] |
5,405 | size_in_bytes the same for all splits | ### Describe the bug
Hi, it looks like whenever you pull a dataset and get size_in_bytes, it returns the same size for all splits (and that size is the combined size of all splits). It seems like this shouldn't be the intended behavior since it is misleading. Here's an example:
```
>>> from datasets import load_da... | OPEN | 2023-01-03T20:25:48 | 2023-01-04T09:22:59 | null | https://github.com/huggingface/datasets/issues/5405 | Breakend | 1 | [] |
5,404 | Better integration of BIG-bench | ### Feature request
Ideally, it would be nice to have a maintained PyPI package for `bigbench`.
### Motivation
We'd like to allow anyone to access, explore and use any task.
### Your contribution
@lhoestq has opened an issue in their repo:
- https://github.com/google/BIG-bench/issues/906 | OPEN | 2023-01-03T15:37:57 | 2023-02-09T20:30:26 | null | https://github.com/huggingface/datasets/issues/5404 | albertvillanova | 1 | [
"enhancement"
] |
5,402 | Missing state.json when creating a cloud dataset using a dataset_builder | ### Describe the bug
Using `load_dataset_builder` to create a builder, run `download_and_prepare` do upload it to S3. However when trying to load it, there are missing `state.json` files. Complete example:
```python
from aiobotocore.session import AioSession as Session
from datasets import load_from_disk, load_da... | OPEN | 2023-01-03T13:39:59 | 2023-01-04T17:23:57 | null | https://github.com/huggingface/datasets/issues/5402 | danielfleischer | 3 | [] |
5,399 | Got disconnected from remote data host. Retrying in 5sec [2/20] | ### Describe the bug
While trying to upload my image dataset of a CSV file type to huggingface by running the below code. The dataset consists of a little over 100k of image-caption pairs
### Steps to reproduce the bug
```
df = pd.read_csv('x.csv', encoding='utf-8-sig')
features = Features({
'link': Ima... | CLOSED | 2023-01-01T13:00:11 | 2023-01-02T07:21:52 | 2023-01-02T07:21:52 | https://github.com/huggingface/datasets/issues/5399 | alhuri | 0 | [] |
5,398 | Unpin pydantic | Once `pydantic` fixes their issue in their 1.10.3 version, unpin it.
See issue:
- #5394
See temporary fix:
- #5395 | CLOSED | 2022-12-30T10:37:31 | 2022-12-30T10:43:41 | 2022-12-30T10:43:41 | https://github.com/huggingface/datasets/issues/5398 | albertvillanova | 0 | [] |
5,394 | CI error: TypeError: dataclass_transform() got an unexpected keyword argument 'field_specifiers' | ### Describe the bug
While installing the dependencies, the CI raises a TypeError:
```
Traceback (most recent call last):
File "/opt/hostedtoolcache/Python/3.7.15/x64/lib/python3.7/runpy.py", line 183, in _run_module_as_main
mod_name, mod_spec, code = _get_module_details(mod_name, _Error)
File "/opt/hoste... | CLOSED | 2022-12-29T18:58:44 | 2022-12-30T10:40:51 | 2022-12-29T21:00:27 | https://github.com/huggingface/datasets/issues/5394 | albertvillanova | 2 | [] |
5,391 | Whisper Event - RuntimeError: The size of tensor a (504) must match the size of tensor b (448) at non-singleton dimension 1 100% 1000/1000 [2:52:21<00:00, 10.34s/it] | Done in a VM with a GPU (Ubuntu) following the [Whisper Event - PYTHON](https://github.com/huggingface/community-events/tree/main/whisper-fine-tuning-event#python-script) instructions.
Attempted using [RuntimeError: he size of tensor a (504) must match the size of tensor b (448) at non-singleton dimension 1 100% 1... | CLOSED | 2022-12-25T15:17:14 | 2023-07-21T14:29:47 | 2023-07-21T14:29:47 | https://github.com/huggingface/datasets/issues/5391 | catswithbats | 2 | [] |
5,390 | Error when pushing to the CI hub | ### Describe the bug
Note that it's a special case where the Hub URL is "https://hub-ci.huggingface.co", which does not appear if we do the same on the Hub (https://huggingface.co).
The call to `dataset.push_to_hub(` fails:
```
Pushing dataset shards to the dataset hub: 100%|██████████████████████████████████... | CLOSED | 2022-12-23T13:36:37 | 2022-12-23T20:29:02 | 2022-12-23T20:29:02 | https://github.com/huggingface/datasets/issues/5390 | severo | 5 | [] |
5,388 | Getting Value Error while loading a dataset.. | ### Describe the bug
I am trying to load a dataset using Hugging Face Datasets load_dataset method. I am getting the value error as show below. Can someone help with this? I am using Windows laptop and Google Colab notebook.
```
WARNING:datasets.builder:Using custom data configuration default-a1d9e8eaedd958cd
---... | CLOSED | 2022-12-23T08:16:43 | 2022-12-29T08:36:33 | 2022-12-27T17:59:09 | https://github.com/huggingface/datasets/issues/5388 | valmetisrinivas | 4 | [] |
5,387 | Missing documentation page : improve-performance | ### Describe the bug
Trying to access https://huggingface.co/docs/datasets/v2.8.0/en/package_reference/cache#improve-performance, the page is missing.
The link is in here : https://huggingface.co/docs/datasets/v2.8.0/en/package_reference/loading_methods#datasets.load_dataset.keep_in_memory
### Steps to reproduce t... | CLOSED | 2022-12-23T01:12:57 | 2023-01-24T16:33:40 | 2023-01-24T16:33:40 | https://github.com/huggingface/datasets/issues/5387 | astariul | 1 | [] |
5,386 | `max_shard_size` in `datasets.push_to_hub()` breaks with large files | ### Describe the bug
`max_shard_size` parameter for `datasets.push_to_hub()` works unreliably with large files, generating shard files that are way past the specified limit.
In my private dataset, which contains unprocessed images of all sizes (up to `~100MB` per file), I've encountered cases where `max_shard_siz... | CLOSED | 2022-12-22T21:50:58 | 2022-12-26T23:45:51 | 2022-12-26T23:45:51 | https://github.com/huggingface/datasets/issues/5386 | salieri | 2 | [] |
5,385 | Is `fs=` deprecated in `load_from_disk()` as well? | ### Describe the bug
The `fs=` argument was deprecated from `Dataset.save_to_disk` and `Dataset.load_from_disk` in favor of automagically figuring it out via fsspec:
https://github.com/huggingface/datasets/blob/9a7272cd4222383a5b932b0083a4cc173fda44e8/src/datasets/arrow_dataset.py#L1339-L1340
Is there a reason the... | CLOSED | 2022-12-22T21:00:45 | 2023-01-23T10:50:05 | 2023-01-23T10:50:04 | https://github.com/huggingface/datasets/issues/5385 | dconathan | 3 | [] |
5,383 | IterableDataset missing column_names, differs from Dataset interface | ### Describe the bug
The documentation on [Stream](https://huggingface.co/docs/datasets/v1.18.2/stream.html) seems to imply that IterableDataset behaves just like a Dataset. However, examples like
```
dataset.map(augment_data, batched=True, remove_columns=dataset.column_names, ...)
```
will not work because `.colu... | CLOSED | 2022-12-22T05:27:02 | 2023-03-13T19:03:33 | 2023-03-13T19:03:33 | https://github.com/huggingface/datasets/issues/5383 | iceboundflame | 6 | [
"enhancement",
"good first issue"
] |
5,381 | Wrong URL for the_pile dataset | ### Describe the bug
When trying to load `the_pile` dataset from the library, I get a `FileNotFound` error.
### Steps to reproduce the bug
Steps to reproduce:
Run:
```
from datasets import load_dataset
dataset = load_dataset("the_pile")
```
I get the output:
"name": "FileNotFoundError",
"message... | CLOSED | 2022-12-20T12:40:14 | 2023-02-15T16:24:57 | 2023-02-15T16:24:57 | https://github.com/huggingface/datasets/issues/5381 | LeoGrin | 1 | [] |
5,380 | Improve dataset `.skip()` speed in streaming mode | ### Feature request
Add extra information to the `dataset_infos.json` file to include the number of samples/examples in each shard, for example in a new field `num_examples` alongside `num_bytes`. The `.skip()` function could use this information to ignore the download of a shard when in streaming mode, which AFAICT... | OPEN | 2022-12-20T11:25:23 | 2025-11-10T20:05:37 | null | https://github.com/huggingface/datasets/issues/5380 | versae | 11 | [
"enhancement",
"good second issue"
] |
5,378 | The dataset "the_pile", subset "enron_emails" , load_dataset() failure | ### Describe the bug
When run
"datasets.load_dataset("the_pile","enron_emails")" failure

### Steps to reproduce the bug
Run below code in python cli:
>>> import datasets
>>> datasets.load_dataset(... | CLOSED | 2022-12-20T02:19:13 | 2022-12-20T07:52:54 | 2022-12-20T07:52:54 | https://github.com/huggingface/datasets/issues/5378 | shaoyuta | 1 | [] |
5,374 | Using too many threads results in: Got disconnected from remote data host. Retrying in 5sec | ### Describe the bug
`streaming_download_manager` seems to disconnect if too many runs access the same underlying dataset 🧐
The code works fine for me if I have ~100 runs in parallel, but disconnects once scaling to 200.
Possibly related:
- https://github.com/huggingface/datasets/pull/3100
- https://github.com/... | CLOSED | 2022-12-18T11:38:58 | 2023-07-24T15:23:07 | 2023-07-24T15:23:07 | https://github.com/huggingface/datasets/issues/5374 | Muennighoff | 7 | [] |
5,371 | Add a robustness benchmark dataset for vision | ### Name
ImageNet-C
### Paper
Benchmarking Neural Network Robustness to Common Corruptions and Perturbations
### Data
https://github.com/hendrycks/robustness
### Motivation
It's a known fact that vision models are brittle when they meet with slightly corrupted and perturbed data. This is also corre... | OPEN | 2022-12-17T12:35:13 | 2022-12-20T06:21:41 | null | https://github.com/huggingface/datasets/issues/5371 | sayakpaul | 1 | [
"dataset request"
] |
5,363 | Dataset.from_generator() crashes on simple example | CLOSED | 2022-12-15T10:21:28 | 2022-12-15T11:51:33 | 2022-12-15T11:51:33 | https://github.com/huggingface/datasets/issues/5363 | villmow | 0 | [] | |
5,362 | Run 'GPT-J' failure due to download dataset fail (' ConnectionError: Couldn't reach http://eaidata.bmk.sh/data/enron_emails.jsonl.zst ' ) | ### Describe the bug
Run model "GPT-J" with dataset "the_pile" fail.
The fail out is as below:

Looks like which is due to "http://eaidata.bmk.sh/data/enron_emails.jsonl.zst" unreachable .
### Steps to ... | CLOSED | 2022-12-15T01:23:03 | 2022-12-15T07:45:54 | 2022-12-15T07:45:53 | https://github.com/huggingface/datasets/issues/5362 | shaoyuta | 2 | [] |
5,361 | How concatenate `Audio` elements using batch mapping | ### Describe the bug
I am trying to do concatenate audios in a dataset e.g. `google/fleurs`.
```python
print(dataset)
# Dataset({
# features: ['path', 'audio'],
# num_rows: 24
# })
def mapper_function(batch):
# to merge every 3 audio
# np.concatnate(audios[i: i+3]) for i in range(i, len(batc... | CLOSED | 2022-12-14T18:13:55 | 2023-07-21T14:30:51 | 2023-07-21T14:30:51 | https://github.com/huggingface/datasets/issues/5361 | bayartsogt-ya | 3 | [] |
5,360 | IterableDataset returns duplicated data using PyTorch DDP | As mentioned in https://github.com/huggingface/datasets/issues/3423, when using PyTorch DDP the dataset ends up with duplicated data. We already check for the PyTorch `worker_info` for single node, but we should also check for `torch.distributed.get_world_size()` and `torch.distributed.get_rank()` | CLOSED | 2022-12-14T16:06:19 | 2023-06-15T09:51:13 | 2023-01-16T13:33:33 | https://github.com/huggingface/datasets/issues/5360 | lhoestq | 11 | [] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.