id
int64
599M
3.18B
number
int64
1
7.65k
title
stringlengths
1
290
state
stringclasses
2 values
body
stringlengths
0
228k
is_pull_request
bool
1 class
created_at
stringdate
2020-04-14 10:18:02
2025-06-26 12:23:48
updated_at
stringdate
2020-04-27 16:04:17
2025-06-26 14:02:38
closed_at
stringlengths
20
20
⌀
user_login
stringlengths
3
26
author_association
stringclasses
4 values
pr_url
stringlengths
46
49
⌀
pr_merged_at
stringlengths
20
20
⌀
comments_count
int64
0
70
reactions_total
int64
0
61
reactions_plus1
int64
0
39
reactions_heart
int64
0
22
draft
bool
2 classes
locked
bool
1 class
labels
listlengths
0
4
html_url
stringlengths
46
51
is_pr_url
bool
2 classes
comments
listlengths
0
30
1,454,647,861
5,261
Add PubTables-1M
open
### Name PubTables-1M ### Paper https://openaccess.thecvf.com/content/CVPR2022/html/Smock_PubTables-1M_Towards_Comprehensive_Table_Extraction_From_Unstructured_Documents_CVPR_2022_paper.html ### Data https://github.com/microsoft/table-transformer ### Motivation Table Transformer is now available in 🤗 Transforme...
true
2022-11-18T07:56:36Z
2022-11-18T08:02:18Z
null
NielsRogge
CONTRIBUTOR
null
null
1
0
0
0
null
false
[ "dataset request" ]
https://github.com/huggingface/datasets/issues/5261
false
[ "cc @albertvillanova the author would like to add this dataset to the hub: https://github.com/microsoft/table-transformer/issues/68#issuecomment-1319114621. Could you help him out?" ]
1,453,921,697
5,260
consumer-finance-complaints dataset not loading
open
### Describe the bug Error during dataset loading ### Steps to reproduce the bug ``` >>> import datasets >>> cf_raw = datasets.load_dataset("consumer-finance-complaints") Downloading builder script: 100%|██████████████████████████████████████████████████████████████████████████████████████████████████████████████...
true
2022-11-17T20:10:26Z
2022-11-18T10:16:53Z
null
adiprasad
NONE
null
null
3
0
0
0
null
false
[]
https://github.com/huggingface/datasets/issues/5260
false
[ "Thanks for reporting, @adiprasad.\r\n\r\nWe are having a look at it.", "I have opened an issue in that dataset Community tab on the Hub: https://huggingface.co/datasets/consumer-finance-complaints/discussions/1\r\n\r\nPlease note that in the meantime, you can load the dataset by passing `ignore_verifications=Tru...
1,453,555,923
5,259
datasets 2.7 introduces sharding error
closed
### Describe the bug dataset fails to load with runtime error `RuntimeError: Sharding is ambiguous for this dataset: we found several data sources lists of different lengths, and we don't know over which list we should parallelize: - key audio_files has length 46 - key data has length 0 To fix this, check the ...
true
2022-11-17T15:36:52Z
2022-12-24T01:44:02Z
2022-11-18T12:52:05Z
DCNemesis
NONE
null
null
3
0
0
0
null
false
[]
https://github.com/huggingface/datasets/issues/5259
false
[ "I notice a comment in the code says:\r\n`Having lists of different sizes makes sharding ambigious, raise an error in this case until we decide how to define sharding without ambiguity for users` \r\n \r\n ... which suggests this update was pushed knowing that it might break some things. But, it didn't seem to h...
1,453,516,636
5,258
Restore order of split names in dataset_info for canonical datasets
closed
After a bulk edit of canonical datasets to create the YAML `dataset_info` metadata, the split names were accidentally sorted alphabetically. See for example: - https://huggingface.co/datasets/bc2gm_corpus/commit/2384629484401ecf4bb77cd808816719c424e57c Note that this order is the one appearing in the preview of the...
true
2022-11-17T15:13:15Z
2023-02-16T09:49:05Z
2022-11-19T06:51:37Z
albertvillanova
MEMBER
null
null
3
0
0
0
null
false
[ "dataset contribution" ]
https://github.com/huggingface/datasets/issues/5258
false
[ "The bulk edit is running...\r\n\r\nSee for example: \r\n- A single config: https://huggingface.co/datasets/acronym_identification/discussions/2\r\n- Multiple configs: https://huggingface.co/datasets/babi_qa/discussions/1", "TODO: Add \"dataset_info\" YAML metadata to:\r\n- [x] \"chr_en\" has no metadata JSON fil...
1,452,656,891
5,257
remove an unused statement
closed
remove the unused statement: `input_pairs = list(zip())`
true
2022-11-17T04:00:50Z
2022-11-18T11:04:08Z
2022-11-18T11:04:08Z
WrRan
CONTRIBUTOR
https://github.com/huggingface/datasets/pull/5257
2022-11-18T11:04:08Z
0
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/5257
true
[]
1,452,652,586
5,256
fix wrong print
closed
print `encoded_dataset.column_names` not `dataset.column_names`
true
2022-11-17T03:54:26Z
2022-11-18T11:05:32Z
2022-11-18T11:05:32Z
WrRan
CONTRIBUTOR
https://github.com/huggingface/datasets/pull/5256
2022-11-18T11:05:32Z
0
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/5256
true
[]
1,452,631,517
5,255
Add a Depth Estimation dataset - DIODE / NYUDepth / KITTI
closed
### Name NYUDepth ### Paper http://cs.nyu.edu/~silberman/papers/indoor_seg_support.pdf ### Data https://cs.nyu.edu/~silberman/datasets/nyu_depth_v2.html ### Motivation Depth estimation is an important problem in computer vision. We have a couple of Depth Estimation models on Hub as well: * [GLPN...
true
2022-11-17T03:22:22Z
2022-12-17T12:20:38Z
2022-12-17T12:20:37Z
sayakpaul
MEMBER
null
null
21
0
0
0
null
false
[ "dataset request" ]
https://github.com/huggingface/datasets/issues/5255
false
[ "Also cc @mariosasko and @lhoestq ", "Cool ! Let us know if you have questions or if we can help :)\r\n\r\nI guess we'll also have to create the NYU CS Department on the Hub ?", "> I guess we'll also have to create the NYU CS Department on the Hub ?\r\n\r\nYes, you're right! Let me add it to my profile first, a...
1,452,600,088
5,254
typo
closed
true
2022-11-17T02:39:57Z
2022-11-18T10:53:45Z
2022-11-18T10:53:45Z
WrRan
CONTRIBUTOR
https://github.com/huggingface/datasets/pull/5254
2022-11-18T10:53:45Z
0
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/5254
true
[]
1,452,588,206
5,253
typo
closed
true
2022-11-17T02:22:58Z
2022-11-18T10:53:11Z
2022-11-18T10:53:10Z
WrRan
CONTRIBUTOR
https://github.com/huggingface/datasets/pull/5253
2022-11-18T10:53:10Z
0
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/5253
true
[]
1,451,765,838
5,252
Support for decoding Image/Audio types in map when format type is not default one
closed
Add support for decoding the `Image`/`Audio` types in `map` for the formats (Numpy, TF, Jax, PyTorch) other than the default one (Python). Additional improvements: * make `Dataset`'s "iter" API cleaner by removing `_iter` and replacing `_iter_batches` with `iter(batch_size)` (also implemented for `IterableDataset`...
true
2022-11-16T15:02:13Z
2022-12-13T17:01:54Z
2022-12-13T16:59:04Z
mariosasko
COLLABORATOR
https://github.com/huggingface/datasets/pull/5252
2022-12-13T16:59:04Z
6
1
0
1
false
false
[]
https://github.com/huggingface/datasets/pull/5252
true
[ "_The documentation is not available anymore as the PR was closed or merged._", "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_5252). All of your documentation changes will be reflected on that endpoint.", "Yes, if the image column is the first in the batch keys, it will ...
1,451,761,321
5,251
Docs are not generated after latest release
closed
After the latest `datasets` release version 0.7.0, the docs were not generated. As we have changed the release procedure (so that now we do not push directly to main branch), maybe we should also change the corresponding GitHub action: https://github.com/huggingface/datasets/blob/edf1902f954c5568daadebcd8754bdad4...
true
2022-11-16T14:59:31Z
2022-11-22T16:27:50Z
2022-11-22T16:27:50Z
albertvillanova
MEMBER
null
null
8
0
0
0
null
false
[ "maintenance" ]
https://github.com/huggingface/datasets/issues/5251
false
[ "After a discussion with @mishig25:\r\n- He said that this action should be triggered if we call our release branch according to the regex `v*-release`, as transformers does\r\n- I said that our procedure is different: our release branch is *temporary* and it is deleted just after the release PR is merged to main\r...
1,451,720,030
5,250
Change release procedure to use only pull requests
closed
This PR changes the release procedure so that: - it only make changes to main branch via pull requests - it is no longer necessary to directly commit/push to main branch Close #5251.
true
2022-11-16T14:35:32Z
2022-11-22T16:30:58Z
2022-11-22T16:27:48Z
albertvillanova
MEMBER
https://github.com/huggingface/datasets/pull/5250
2022-11-22T16:27:48Z
7
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/5250
true
[ "_The documentation is not available anymore as the PR was closed or merged._", "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_5250). All of your documentation changes will be reflected on that endpoint.", "The docs for this PR live [here](https://moon-ci-docs.huggingface...
1,451,692,247
5,249
Protect the main branch from inadvertent direct pushes
closed
We have decided to implement a protection mechanism in this repository, so that nobody (not even administrators) can inadvertently push accidentally directly to the main branch. See context here: - d7c942228b8dcf4de64b00a3053dce59b335f618 To do: - [x] Protect main branch - Settings > Branches > Branch protec...
true
2022-11-16T14:19:03Z
2023-12-21T10:28:27Z
2023-12-21T10:28:26Z
albertvillanova
MEMBER
null
null
1
0
0
0
null
false
[ "maintenance" ]
https://github.com/huggingface/datasets/issues/5249
false
[ "It seems all the tasks have been addressed, meaning this issue can be closed, no?" ]
1,451,338,676
5,248
Complete doc migration
closed
Reverts huggingface/datasets#5214 Everything is handled on the doc-builder side now 😊
true
2022-11-16T10:41:04Z
2022-11-16T15:06:50Z
2022-11-16T10:41:10Z
mishig25
NONE
https://github.com/huggingface/datasets/pull/5248
2022-11-16T10:41:10Z
2
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/5248
true
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_5248). All of your documentation changes will be reflected on that endpoint.", "Thanks for the fix @mishig25.\r\n\r\nI guess this is the reason why the docs are not generated for the latest release version 2.7.0? https://huggin...
1,451,297,749
5,247
Set dev version
closed
true
2022-11-16T10:17:31Z
2022-11-16T10:22:20Z
2022-11-16T10:17:50Z
albertvillanova
MEMBER
https://github.com/huggingface/datasets/pull/5247
2022-11-16T10:17:50Z
1
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/5247
true
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_5247). All of your documentation changes will be reflected on that endpoint." ]
1,451,226,055
5,246
Release: 2.7.0
closed
true
2022-11-16T09:32:44Z
2022-11-16T09:39:42Z
2022-11-16T09:37:03Z
albertvillanova
MEMBER
https://github.com/huggingface/datasets/pull/5246
2022-11-16T09:37:03Z
1
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/5246
true
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,450,376,433
5,245
Unable to rename columns in streaming dataset
closed
### Describe the bug Trying to rename column in a streaming datasets, destroys the features object. ### Steps to reproduce the bug The following code illustrates the error: ``` from datasets import load_dataset dataset = load_dataset('mc4', 'en', streaming=True, split='train') dataset.info.features # {'text':...
true
2022-11-15T21:04:41Z
2022-11-28T12:53:24Z
2022-11-28T12:53:24Z
peregilk
NONE
null
null
7
0
0
0
null
false
[]
https://github.com/huggingface/datasets/issues/5245
false
[ "Hi @peregilk this bug is directly related to https://github.com/huggingface/datasets/issues/3888, and still not fixed... But I'll try to have a look!", "Thanks @alvarobartt. It is great if you are able to fix it, but when reading the explanation it seems like it is possible to work around it.\r\n\r\nWe also trie...
1,450,019,225
5,244
Allow dataset streaming from private a private source when loading a dataset with a dataset loading script
open
### Feature request Add arguments to the function _get_authentication_headers_for_url_ like custom_endpoint and custom_token in order to add flexibility when downloading files from a private source. It should also be possible to provide these arguments from the dataset loading script, maybe giving them to the dl_...
true
2022-11-15T16:02:10Z
2022-11-23T14:02:30Z
null
bruno-hays
CONTRIBUTOR
null
null
5
0
0
0
null
false
[ "enhancement" ]
https://github.com/huggingface/datasets/issues/5244
false
[ "Hi ! What kind of private source ? We're exploring adding support for cloud storage and URIs like s3://, gs:// etc. with authentication in the download manager", "Hello! It's a google cloud storage, so gs://, but I'm using it with https.\r\nBeing able to provide a file system like [here](https://huggingface.co/d...
1,449,523,962
5,243
Download only split data
open
### Feature request Is it possible to download only the data that I am requesting and not the entire dataset? I run out of disk spaceas it seems to download the entire dataset, instead of only the part needed. common_voice["test"] = load_dataset("mozilla-foundation/common_voice_11_0", "en", split="test", ...
true
2022-11-15T10:15:54Z
2025-02-25T14:47:03Z
null
capsabogdan
NONE
null
null
7
0
0
0
null
false
[ "enhancement" ]
https://github.com/huggingface/datasets/issues/5243
false
[ "Hi @capsabogdan! Unfortunately, it's hard to implement because quite often datasets data is being hosted in a single archive for all splits :( So we have to download the whole archive to split it into splits. This is the case for CommonVoice too. \r\n\r\nHowever, for cases when data is distributed in separate arch...
1,449,069,382
5,242
Failed Data Processing upon upload with zip file full of images
open
I went to autotrain and under image classification arrived where it was time to prepare my dataset. Screenshot below ![image](https://user-images.githubusercontent.com/82735473/201814099-3cc5ff8a-88dc-4f5f-8140-f19560641d83.png) I chose the method 2 option. I have a csv file with two columns. ~23,000 files. I...
true
2022-11-15T02:47:52Z
2022-11-15T17:59:23Z
null
scrambled2
NONE
null
null
1
0
0
0
null
false
[]
https://github.com/huggingface/datasets/issues/5242
false
[ "cc @abhishekkrthakur @SBrandeis " ]
1,448,510,407
5,241
Support hfh rc version
closed
otherwise the code doesn't work for hfh 0.11.0rc0 following #5237
true
2022-11-14T18:05:47Z
2022-11-15T16:11:30Z
2022-11-15T16:09:31Z
lhoestq
MEMBER
https://github.com/huggingface/datasets/pull/5241
2022-11-15T16:09:31Z
1
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/5241
true
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,448,478,617
5,240
Cleaner error tracebacks for dataset script errors
closed
Make the traceback of the errors raised in `_generate_examples` cleaner for easier debugging. Additionally, initialize the `writer` in the for-loop to avoid the `ValueError` from `ArrowWriter.finalize` raised in the `finally` block when no examples are yielded before the `_generate_examples` error. <details> <s...
true
2022-11-14T17:42:02Z
2022-11-15T18:26:48Z
2022-11-15T18:24:38Z
mariosasko
COLLABORATOR
https://github.com/huggingface/datasets/pull/5240
2022-11-15T18:24:38Z
2
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/5240
true
[ "_The documentation is not available anymore as the PR was closed or merged._", "@lhoestq Good catch! This currently leads to an AttributeError (due to `writer` being None) on this line:\r\nhttps://github.com/huggingface/datasets/blob/fed1628d49a91f9ae259ddf6edbb252c7972d9a3/src/datasets/builder.py#L1552\r\n" ]
1,448,211,373
5,239
Add num_proc to from_csv/generator/json/parquet/text
closed
Allow multiprocessing to from_* methods
true
2022-11-14T14:53:00Z
2022-12-06T15:39:10Z
2022-12-06T15:39:09Z
lhoestq
MEMBER
https://github.com/huggingface/datasets/pull/5239
2022-12-06T15:39:09Z
2
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/5239
true
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_5239). All of your documentation changes will be reflected on that endpoint.", "I ended up moving `num_proc` to `AbstractDatasetReader.__init__` :)\r\n\r\nLet me know if it sounds good to you now" ]
1,448,211,251
5,238
Make `Version` hashable
closed
Add `__hash__` to the `Version` class to make it hashable (and remove the unneeded methods), as `Version("0.0.0")` is the default value of `BuilderConfig.version` and the default fields of a dataclass need to be hashable in Python 3.11. Fix https://github.com/huggingface/datasets/issues/5230
true
2022-11-14T14:52:55Z
2022-11-14T15:30:02Z
2022-11-14T15:27:35Z
mariosasko
COLLABORATOR
https://github.com/huggingface/datasets/pull/5238
2022-11-14T15:27:35Z
1
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/5238
true
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,448,202,491
5,237
Encode path only for old versions of hfh
closed
Next version of `huggingface-hub` 0.11 does encode the `path`, and we don't want to encode twice
true
2022-11-14T14:46:57Z
2022-11-14T17:38:18Z
2022-11-14T17:35:59Z
lhoestq
MEMBER
https://github.com/huggingface/datasets/pull/5237
2022-11-14T17:35:59Z
1
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/5237
true
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,448,190,801
5,236
Handle ArrowNotImplementedError caused by try_type being Image or Audio in cast
closed
Handle the `ArrowNotImplementedError` thrown when `try_type` is `Image` or `Audio` and the input array cannot be converted to their storage formats. Reproducer: ```python from datasets import Dataset from PIL import Image import requests ds = Dataset.from_dict({"image": [Image.open(requests.get("https://uploa...
true
2022-11-14T14:38:59Z
2022-11-14T16:04:29Z
2022-11-14T16:01:48Z
mariosasko
COLLABORATOR
https://github.com/huggingface/datasets/pull/5236
2022-11-14T16:01:48Z
2
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/5236
true
[ "_The documentation is not available anymore as the PR was closed or merged._", "> Not sure how we can have a test that is relevant for this though - feel free to add one if you have ideas\r\n\r\nYes, this was my reasoning for not adding a test. This change is pretty simple, so I think it's OK not to have a test ...
1,448,052,660
5,235
Pin `typer` version in tests to <0.5 to fix Windows CI
closed
Otherwise `click` fails on Windows: ``` Traceback (most recent call last): File "C:\hostedtoolcache\windows\Python\3.7.9\x64\lib\runpy.py", line 193, in _run_module_as_main "__main__", mod_spec) File "C:\hostedtoolcache\windows\Python\3.7.9\x64\lib\runpy.py", line 85, in _run_code exec(code, run_glob...
true
2022-11-14T13:17:02Z
2022-11-14T15:43:01Z
2022-11-14T13:41:12Z
polinaeterna
CONTRIBUTOR
https://github.com/huggingface/datasets/pull/5235
2022-11-14T13:41:12Z
0
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/5235
true
[]
1,447,999,062
5,234
fix: dataset path should be absolute
closed
cache_file_name depends on dataset's path. A simple way where this could cause a problem: ``` import os import datasets def add_prefix(example): example["text"] = "Review: " + example["text"] return example ds = datasets.load_from_disk("a/relative/path") os.chdir("/tmp") ds_1 = ds.map(add_...
true
2022-11-14T12:47:40Z
2022-12-07T23:49:22Z
2022-12-07T23:46:34Z
vigsterkr
CONTRIBUTOR
https://github.com/huggingface/datasets/pull/5234
2022-12-07T23:46:34Z
3
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/5234
true
[ "Good catch thanks ! Have you tried to use the absolue path in `MemoryMappedTable.__init__` in `table.py`?\r\n\r\nI think it can fix issues with relative paths at more levels than just fixing it `load_from_disk`. If it works I think it would be a more robust fix to this issue", "@lhoestq right, that actually fixe...
1,447,906,868
5,233
Fix shards in IterableDataset.from_generator
closed
Allow to define a sharded iterable dataset
true
2022-11-14T11:42:09Z
2022-11-14T14:16:03Z
2022-11-14T14:13:22Z
lhoestq
MEMBER
https://github.com/huggingface/datasets/pull/5233
2022-11-14T14:13:22Z
1
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/5233
true
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,446,294,165
5,232
Incompatible dill versions in datasets 2.6.1
closed
### Describe the bug datasets version 2.6.1 has a dependency on dill<0.3.6. This causes a conflict with dill>=0.3.6 used by multiprocess dependency in datasets 2.6.1 This issue is already fixed in https://github.com/huggingface/datasets/pull/5166/files, but not yet been released. Please release a new version of the...
true
2022-11-12T06:46:23Z
2022-11-14T08:24:43Z
2022-11-14T08:07:59Z
vinaykakade
NONE
null
null
2
0
0
0
null
false
[]
https://github.com/huggingface/datasets/issues/5232
false
[ "Thanks for reporting, @vinaykakade.\r\n\r\nWe are discussing about making a release early this week.\r\n\r\nPlease note that in the meantime, in your specific case (as we also pointed out here: https://github.com/huggingface/datasets/issues/5162#issuecomment-1291720293), you can circumvent the issue by pinning `mu...
1,445,883,267
5,231
Using `set_format(type='torch', columns=columns)` makes Array2D/3D columns stop formatting correctly
closed
I have a Dataset with two Features defined as follows: ``` 'image': Array3D(dtype="int64", shape=(3, 224, 224)), 'bbox': Array2D(dtype="int64", shape=(512, 4)), ``` On said dataset, if I `dataset.set_format(type='torch')` and then use the dataset in a dataloader, these columns are correctly cast to Tensors of ...
true
2022-11-11T18:54:36Z
2022-11-11T20:42:29Z
2022-11-11T18:59:50Z
plamb-viso
NONE
null
null
1
0
0
0
null
false
[]
https://github.com/huggingface/datasets/issues/5231
false
[ "In case others find this, the problem was not with set_format, but my usages of `to_pandas()` and `from_pandas()` which I was using during dataset splitting; somewhere in the chain of converting to and from pandas the `Array2D/Array3D` types get converted to series of `Sequence()` types" ]
1,445,507,580
5,230
dataclasses error when importing the library in python 3.11
closed
### Describe the bug When I import datasets using python 3.11 the dataclasses standard library raises the following error: `ValueError: mutable default <class 'datasets.utils.version.Version'> for field version is not allowed: use default_factory` When I tried to import the library using the following jupyter note...
true
2022-11-11T13:53:49Z
2023-05-25T04:37:05Z
2022-11-14T15:27:37Z
yonikremer
NONE
null
null
5
4
4
0
null
false
[]
https://github.com/huggingface/datasets/issues/5230
false
[ "I opened [this issue](https://github.com/python/cpython/issues/99401).\r\nPython's maintainers say that the issue is caused by [this change](https://docs.python.org/3.11/whatsnew/3.11.html#dataclasses).\r\nI believe adding a `__hash__` method to `datasets.utils.version.Version` should solve (at least partially) th...
1,445,121,028
5,229
Type error when calling `map` over dataset containing 0-d tensors
closed
### Describe the bug 0-dimensional tensors in a dataset lead to `TypeError: iteration over a 0-d array` when calling `map`. It is easy to generate such tensors by using `.with_format("...")` on the whole dataset. ### Steps to reproduce the bug ``` ds = datasets.Dataset.from_list([{"a": 1}, {"a": 1}]).with_fo...
true
2022-11-11T08:27:28Z
2023-01-13T16:00:53Z
2023-01-13T16:00:53Z
phipsgabler
NONE
null
null
2
0
0
0
null
false
[]
https://github.com/huggingface/datasets/issues/5229
false
[ "Hi! \r\n\r\nWe could address this by calling `.item()` on such tensors to extract the value, but this would lose us the type, which could lead to storing the generated dataset in a suboptimal format. Considering this, I think the only proper fix would be implementing support for 0-D tensors on Apache Arrow's side ...
1,444,763,105
5,228
Loading a dataset from the hub fails if you happen to have a folder of the same name
open
### Describe the bug I'm not 100% sure this should be considered a bug, but it was certainly annoying to figure out the cause of. And perhaps I am just missing a specific argument needed to avoid this conflict. Basically I had a situation where multiple workers were downloading different parts of the glue dataset and ...
true
2022-11-11T00:51:54Z
2023-05-03T23:23:04Z
null
dakinggg
CONTRIBUTOR
null
null
3
0
0
0
null
false
[]
https://github.com/huggingface/datasets/issues/5228
false
[ "`load_dataset` first checks for a local directory before checking for the Hub.\r\n\r\nTo make it explicit that it has to fetch the Hub, we could support the `hffs` syntax:\r\n```python\r\nload_dataset(\"hf://datasets/glue\")\r\n```\r\n\r\nwould that work for you ? Also cc @mariosasko who's leading the `hffs` proje...
1,444,620,094
5,227
datasets.data_files.EmptyDatasetError: The directory at wikisql doesn't contain any data files
closed
### Describe the bug From these lines: from datasets import list_datasets, load_dataset dataset = load_dataset("wikisql","binary") I get error message: datasets.data_files.EmptyDatasetError: The directory at wikisql doesn't contain any data files And yet the 'wikisql' is reported to exist via the list_datas...
true
2022-11-10T21:57:06Z
2023-10-07T05:04:41Z
2022-11-10T22:05:43Z
ScottM-wizard
NONE
null
null
2
0
0
0
null
false
[]
https://github.com/huggingface/datasets/issues/5227
false
[ "Fixed. Please close.", "how to fix?i need your help" ]
1,444,385,148
5,226
Q: Memory release when removing the column?
closed
### Describe the bug How do I release memory when I use methods like `.remove_columns()` or `clear()` in notebooks? ```python from datasets import load_dataset common_voice = load_dataset("mozilla-foundation/common_voice_11_0", "ja", use_auth_token=True) # check memory -> RAM Used (GB): 0.704 / Total (GB) 33.670...
true
2022-11-10T18:35:27Z
2022-11-29T15:10:10Z
2022-11-29T15:10:10Z
bayartsogt-ya
NONE
null
null
3
0
0
0
null
false
[]
https://github.com/huggingface/datasets/issues/5226
false
[ "Hi ! Datasets are memory mapped from your disk, i.e. they're not loaded in RAM. This is possible thanks to the Arrow data format.\r\n\r\nTherefore the column you remove is not in RAM, so removing it doesn't cause the RAM to decrease.", "Thanks for the explanation! @lhoestq \r\nI wonder since it is memory mapped,...
1,444,305,183
5,225
Add video feature
open
### Feature request Add a `Video` feature to the library so folks can include videos in their datasets. ### Motivation Being able to load Video data would be quite helpful. However, there are some challenges when it comes to videos: 1. Videos, unlike images, can end up being extremely large files 2. Often times ...
true
2022-11-10T17:36:11Z
2022-12-02T15:13:15Z
null
nateraw
CONTRIBUTOR
null
null
7
4
3
0
null
false
[ "enhancement", "help wanted", "vision" ]
https://github.com/huggingface/datasets/issues/5225
false
[ "@NielsRogge @rwightman may have additional requirements regarding this feature.\r\n\r\nWhen adding a new (decodable) type, the hardest part is choosing the right decoding library. What I mean by \"right\" here is that it has all the features we need and is easy to install (with GPU support?).\r\n\r\nSome candidate...
1,443,640,867
5,224
Seems to freeze when loading audio dataset with wav files from local folder
closed
### Describe the bug I'm following the instructions in [https://huggingface.co/docs/datasets/audio_load#audiofolder-with-metadata](url) to be able to load a dataset from a local folder. I have everything into a folder, into a train folder and then the audios and csv. When I try to load the dataset and run from term...
true
2022-11-10T10:29:31Z
2023-04-25T09:54:05Z
2022-11-22T11:24:19Z
uriii3
NONE
null
null
4
0
0
0
null
false
[]
https://github.com/huggingface/datasets/issues/5224
false
[ "I just tried to do the same but changing the `.wav` files to `.mp3` files and that doesn't fix it.", "I don't know if anyone will ever read this but I've tried to upload the same dataset with google colab and the output seems more clarifying. I didn't specify the train/test split so the dataset wasn't fully uplo...
1,442,610,658
5,223
Add SQL guide
closed
This PR adapts @nateraw's awesome SQL notebook as a guide for the docs!
true
2022-11-09T19:10:27Z
2022-11-15T17:40:25Z
2022-11-15T17:40:21Z
stevhliu
MEMBER
https://github.com/huggingface/datasets/pull/5223
2022-11-15T17:40:21Z
4
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/5223
true
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_5223). All of your documentation changes will be reflected on that endpoint.", "I think we may want more content on this page that's not SQL related. Some of that content probably already lives in the main `load` docs page, but...
1,442,412,507
5,222
HuggingFace website is incorrectly reporting that my datasets are pickled
closed
### Describe the bug HuggingFace is incorrectly reporting that my datasets are pickled. They are not picked, they are simple ZIP files containing PNG images. Hopefully this is the right location to report this bug. ### Steps to reproduce the bug Inspect my dataset respository here: https://huggingface.co/datasets...
true
2022-11-09T16:41:16Z
2022-11-09T18:10:46Z
2022-11-09T18:06:57Z
ProGamerGov
CONTRIBUTOR
null
null
4
0
0
0
null
false
[]
https://github.com/huggingface/datasets/issues/5222
false
[ "cc @McPatate maybe you know what's happening ?", "Yes I think I know what is happening. We check in zips for pickles, and the UI must display the pickle jar when a scan has an associated list of imports, even when empty.\r\n~I'll fix ASAP !~", "> I'll fix ASAP !\r\n\r\nActually I'd rather leave it like that f...
1,442,309,094
5,221
Cannot push
closed
### Describe the bug I am facing the issue when I try to push the tar.gz file around 11G to HUB. ``` (venv) ╭─laptop@laptop ~/PersonalProjects/data/ulaanbal_v0 ‹main●› ╰─$ du -sh * 4.0K README.md 13G data 516K test.jsonl 18M train.jsonl 4.0K ulaanbal_v0.py 11G ulaanbal_v0.tar.gz 452K validation.jsonl...
true
2022-11-09T15:32:05Z
2022-11-10T18:11:21Z
2022-11-10T18:11:11Z
bayartsogt-ya
NONE
null
null
2
0
0
0
null
false
[]
https://github.com/huggingface/datasets/issues/5221
false
[ "Did you run `huggingface-cli lfs-enable-largefiles` before committing or before adding ? Maybe you can try before adding\r\n\r\nAnyway I'd encourage you to split your data into several TAR archives if possible, this way the dataset can loaded faster using multiprocessing (by giving each process a subset of shards ...
1,441,664,377
5,220
Implicit type conversion of lists in to_pandas
closed
### Describe the bug ``` ds = Dataset.from_list([{'a':[1,2,3]}]) ds.to_pandas().a.values[0] ``` Results in `array([1, 2, 3])` -- a rather unexpected conversion of types which made downstream tools expecting lists not happy. ### Steps to reproduce the bug See snippet ### Expected behavior Keep the original typ...
true
2022-11-09T08:40:18Z
2022-11-10T16:12:26Z
2022-11-10T16:12:26Z
sanderland
CONTRIBUTOR
null
null
2
0
0
0
null
false
[]
https://github.com/huggingface/datasets/issues/5220
false
[ "I think this behavior comes from PyArrow:\r\n```python\r\nimport pyarrow as pa\r\nt = pa.table({\"a\": [[0]]})\r\nt.to_pandas().a.values[0]\r\n# array([0])\r\n```\r\n\r\nI believe this has to do with zero-copy: you can get a pandas DataFrame without copying the buffers from arrow, and therefore end up with numpy a...
1,441,255,910
5,219
Delta Tables usage using Datasets Library
open
### Feature request Adding compatibility of Datasets library with Delta Format. Elevating the utilities of Datasets library from Machine Learning Scope to Data Engineering Scope as well. ### Motivation We know datasets library can absorb csv, json, parquet, etc. file formats but it would be great if Datasets library...
true
2022-11-09T02:43:56Z
2023-03-02T19:29:12Z
null
reichenbch
NONE
null
null
4
1
1
0
null
false
[ "enhancement" ]
https://github.com/huggingface/datasets/issues/5219
false
[ "Hi ! Interesting :) Can you provide concrete examples of cases where it can be useful ?", "Few example blogs and posts that might help on this - \r\n\r\n1. https://hevodata.com/learn/databricks-delta-tables/\r\n2. https://docs.databricks.com/delta/index.html\r\n\r\nBasically, we are looking at utility of Dataset...
1,441,254,194
5,218
Delta Tables usage using Datasets Library
closed
### Feature request Adding compatibility of Datasets library with Delta Format. Elevating the utilities of Datasets library from Machine Learning Scope to Data Engineering Scope as well. ### Motivation We know datasets library can absorb csv, json, parquet, etc. file formats but it would be great if Datasets library...
true
2022-11-09T02:42:18Z
2022-11-09T02:42:36Z
2022-11-09T02:42:36Z
rcv-koo
NONE
null
null
0
0
0
0
null
false
[ "enhancement" ]
https://github.com/huggingface/datasets/issues/5218
false
[]
1,441,252,740
5,217
Reword E2E training and inference tips in the vision guides
closed
Reference: https://github.com/huggingface/datasets/pull/5188#discussion_r1012148730
true
2022-11-09T02:40:01Z
2022-11-10T01:38:09Z
2022-11-10T01:36:09Z
sayakpaul
MEMBER
https://github.com/huggingface/datasets/pull/5217
2022-11-10T01:36:08Z
1
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/5217
true
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,441,041,947
5,216
save_elasticsearch_index
open
Hi, I am new to Dataset and elasticsearch. I was wondering is there any equivalent approach to save elasticsearch index as of save_faiss_index locally for later use, to remove the need to re-index a dataset?
true
2022-11-08T23:06:52Z
2022-11-09T13:16:45Z
null
amobash2
NONE
null
null
1
0
0
0
null
false
[]
https://github.com/huggingface/datasets/issues/5216
false
[ "Hi ! I think there exist tools to dump and reload an index in your elastic search but I'm not super familiar with it.\r\n\r\nAnyway after reloading an index in elastic search you can call `ds.load_elasticsearch_index` which will connect the index to the dataset without re-indexing" ]
1,440,334,978
5,214
Update github pr docs actions
closed
true
2022-11-08T14:43:37Z
2022-11-08T15:39:58Z
2022-11-08T15:39:57Z
mishig25
NONE
https://github.com/huggingface/datasets/pull/5214
2022-11-08T15:39:57Z
1
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/5214
true
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_5214). All of your documentation changes will be reflected on that endpoint." ]
1,440,037,534
5,213
Add support for different configs with `push_to_hub`
closed
will solve #5151 @lhoestq @albertvillanova @mariosasko This is still a super draft so please ignore code issues but I want to discuss some conceptually important things. I suggest a way to do `.push_to_hub("repo_id", "config_name")` with pushing parquet files to directories named as `config_name` (inside `data...
true
2022-11-08T11:45:47Z
2022-12-02T16:48:23Z
2022-12-02T16:44:07Z
polinaeterna
CONTRIBUTOR
https://github.com/huggingface/datasets/pull/5213
null
8
0
0
0
true
false
[ "enhancement" ]
https://github.com/huggingface/datasets/pull/5213
true
[ "_The documentation is not available anymore as the PR was closed or merged._", "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_5213). All of your documentation changes will be reflected on that endpoint.", "The docs for this PR live [here](https://moon-ci-docs.huggingface...
1,439,642,483
5,212
Fix CI require_beam maximum compatible dill version
closed
A previous commit to main branch introduced an additional requirement on maximum compatible `dill` version with `apache-beam` in our CI `require_beam`: - d7c942228b8dcf4de64b00a3053dce59b335f618 - ec222b220b79f10c8d7b015769f0999b15959feb This PR fixes the maximum compatible `dill` version with `apache-beam`, which...
true
2022-11-08T07:30:01Z
2022-11-15T06:32:27Z
2022-11-15T06:32:26Z
albertvillanova
MEMBER
https://github.com/huggingface/datasets/pull/5212
2022-11-15T06:32:26Z
1
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/5212
true
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_5212). All of your documentation changes will be reflected on that endpoint." ]
1,438,544,617
5,211
Update Overview.ipynb google colab
closed
- removed metrics stuff - added image example - added audio example (with ffmpeg instructions) - updated the "add a new dataset" section
true
2022-11-07T15:23:52Z
2022-11-29T15:59:48Z
2022-11-29T15:54:17Z
lhoestq
MEMBER
https://github.com/huggingface/datasets/pull/5211
2022-11-29T15:54:17Z
3
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/5211
true
[ "_The documentation is not available anymore as the PR was closed or merged._", "WDYT @albertvillanova ?", "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_5211). All of your documentation changes will be reflected on that endpoint." ]
1,438,492,507
5,210
Tweak readme
closed
Tweaked some paragraphs mentioning the modalities we support + added a paragraph on security
true
2022-11-07T14:51:23Z
2022-11-24T11:35:07Z
2022-11-24T11:26:16Z
lhoestq
MEMBER
https://github.com/huggingface/datasets/pull/5210
2022-11-24T11:26:16Z
3
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/5210
true
[ "_The documentation is not available anymore as the PR was closed or merged._", "Nit: We should also update the `Disclaimers` section to let the dataset owners know they should use Hub discussions rather than GH issues for removal requests/updates", "Updated the disclaimers section, thanks !\r\n\r\nDoes it soun...
1,438,367,678
5,209
Implement ability to define splits in metadata section of dataset card
closed
### Feature request If you go here: https://huggingface.co/datasets/inria-soda/tabular-benchmark/tree/main you will see bunch of folders that has various CSV files. I’d like dataset viewer to show these files instead of only one dataset like it currently does. (and also people to be able to load them as splits inste...
true
2022-11-07T13:27:16Z
2023-07-21T14:36:02Z
2023-07-21T14:36:01Z
merveenoyan
CONTRIBUTOR
null
null
9
3
1
2
null
false
[ "enhancement" ]
https://github.com/huggingface/datasets/issues/5209
false
[ "@merveenoyan Do you want different files to be splits or configurations?\r\n\r\nFrom [what you specified in `Readme.md`](https://huggingface.co/datasets/inria-soda/tabular-benchmark/commit/fb4575853772c62a20203bdd6cc0202f5db4ce4e) I hypothesize that you want to have 4 **configs** corresponding to directories: `\"c...
1,438,035,707
5,208
Refactor CI hub fixtures to use monkeypatch instead of patch
closed
Minor refactoring of CI to use `pytest` `monkeypatch` instead of `unittest` `patch`.
true
2022-11-07T09:25:05Z
2022-11-08T06:51:20Z
2022-11-08T06:49:17Z
albertvillanova
MEMBER
https://github.com/huggingface/datasets/pull/5208
2022-11-08T06:49:17Z
1
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/5208
true
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,437,858,506
5,207
Connection error of the HuggingFace's dataset Hub due to SSLError with proxy
open
### Describe the bug It's weird. I could not normally connect the dataset Hub of HuggingFace due to a SSLError in my office. Even when I try to connect using my company's proxy address (e.g., http_proxy and https_proxy), I'm getting the SSLError issue. What should I do to download the datanet stored in Hugg...
true
2022-11-07T06:56:23Z
2025-03-08T09:04:10Z
null
leemgs
NONE
null
null
14
1
1
0
null
false
[]
https://github.com/huggingface/datasets/issues/5207
false
[ "Hi ! It looks like an issue with your python environment, can you make sure you're able to run GET requests to https://huggingface.co using `requests` in python ?", "Thanks for your reply. Does this mean that I have to use the `do_dataset `function and the `requests `function to download the dataset from the com...
1,437,223,894
5,206
Use logging instead of printing to console
closed
### Describe the bug Some logs ([here](https://github.com/huggingface/datasets/blob/4a6e1fe2735505efc7e3a3dbd3e1835da0702575/src/datasets/builder.py#L778), [here](https://github.com/huggingface/datasets/blob/4a6e1fe2735505efc7e3a3dbd3e1835da0702575/src/datasets/builder.py#L786), and [here](https://github.com/huggingfa...
true
2022-11-05T23:48:02Z
2022-11-06T00:06:00Z
2022-11-06T00:05:59Z
bilelomrani1
NONE
null
null
1
0
0
0
null
false
[]
https://github.com/huggingface/datasets/issues/5206
false
[ "Actually upon closer inspection, it is documented in the code that this behavior is intentional, so I'll close this." ]
1,437,221,987
5,205
Add missing `DownloadConfig.use_auth_token` value
closed
This PR solves https://github.com/huggingface/datasets/issues/5204 Now the `token` is propagated so that `DownloadConfig.use_auth_token` value is set before trying to download private files from existing datasets in the Hub.
true
2022-11-05T23:36:36Z
2022-11-08T08:13:00Z
2022-11-07T16:20:24Z
alvarobartt
MEMBER
https://github.com/huggingface/datasets/pull/5205
2022-11-07T16:20:24Z
1
1
1
0
false
false
[]
https://github.com/huggingface/datasets/pull/5205
true
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,437,221,259
5,204
`push_to_hub` not propagating `token` through `DownloadConfig`
closed
### Describe the bug When trying to upload a new 🤗 Dataset to the Hub via Python, and providing the `token` as a parameter to the `Dataset.push_to_hub` function, it just works for the first time, assuming that the dataset didn't exist before. But when trying to run `Dataset.push_to_hub` again over the same dataset...
true
2022-11-05T23:32:20Z
2022-11-08T10:12:09Z
2022-11-08T10:12:08Z
alvarobartt
MEMBER
null
null
3
0
0
0
null
false
[]
https://github.com/huggingface/datasets/issues/5204
false
[ "#self-assign", "@lhoestq can you close this issue as part of the recent #5205 merge? Thanks 🤗 ", "Thank you :)" ]
1,436,710,518
5,203
Update canonical links to Hub links
closed
This PR updates some of the canonical dataset links to their corresponding links on the Hub; closes #5200.
true
2022-11-04T22:50:50Z
2022-11-07T18:43:05Z
2022-11-07T18:40:19Z
stevhliu
MEMBER
https://github.com/huggingface/datasets/pull/5203
2022-11-07T18:40:19Z
1
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/5203
true
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,435,886,090
5,202
CI fails after bulk edit of canonical datasets
closed
``` ______ test_get_dataset_config_info[paws-labeled_final-expected_splits2] _______ [gw0] linux -- Python 3.7.15 /opt/hostedtoolcache/Python/3.7.15/x64/bin/python path = 'paws', config_name = 'labeled_final' expected_splits = ['train', 'test', 'validation'] @pytest.mark.parametrize( "path, config...
true
2022-11-04T10:51:20Z
2023-02-16T09:11:10Z
2023-02-16T09:11:10Z
albertvillanova
MEMBER
null
null
1
0
0
0
null
false
[ "bug" ]
https://github.com/huggingface/datasets/issues/5202
false
[ "Fixed by: https://huggingface.co/datasets/paws/discussions/1" ]
1,435,881,554
5,201
Do not sort splits in dataset info
closed
I suggest not to sort splits by their names in dataset_info in README so that they are displayed in the order specified in the loading script. Otherwise `test` split is displayed first, see this repo: https://huggingface.co/datasets/paws What do you think? But I added sorting in tests to fix CI (for the same datase...
true
2022-11-04T10:47:21Z
2022-11-04T14:47:37Z
2022-11-04T14:45:09Z
polinaeterna
CONTRIBUTOR
https://github.com/huggingface/datasets/pull/5201
2022-11-04T14:45:09Z
5
1
1
0
false
false
[]
https://github.com/huggingface/datasets/pull/5201
true
[ "_The documentation is not available anymore as the PR was closed or merged._", "It would be coherent with https://github.com/huggingface/datasets-server/issues/614#issuecomment-1290534153", "I think we started working on this issue nearly at the same time... :sweat_smile: \r\n- CI was fixed with this: https://...
1,435,831,559
5,200
Some links to canonical datasets in the docs are outdated
closed
As we don't have canonical datasets in the github repo anymore, some old links to them doesn't work. I don't know how many of them are there, I found link to SuperGlue here: https://huggingface.co/docs/datasets/dataset_script#multiple-configurations, probably there are more of them. These links should be replaced by li...
true
2022-11-04T10:06:21Z
2022-11-07T18:40:20Z
2022-11-07T18:40:20Z
polinaeterna
CONTRIBUTOR
null
null
1
0
0
0
null
false
[ "documentation" ]
https://github.com/huggingface/datasets/issues/5200
false
[ "Thanks for catching this, I can go through the docs and replace the links to their corresponding datasets on the Hub!" ]
1,434,818,836
5,199
Deprecate dummy data generation command
closed
Deprecate the `dummy_data` CLI command.
true
2022-11-03T15:05:54Z
2022-11-04T14:01:50Z
2022-11-04T13:59:47Z
mariosasko
COLLABORATOR
https://github.com/huggingface/datasets/pull/5199
2022-11-04T13:59:47Z
1
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/5199
true
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,434,699,165
5,198
Add note about the name of a dataset script
closed
Add note that a dataset script should has the same name as a repo/dir, a bit related to this issue https://github.com/huggingface/datasets/issues/5193 also fixed two minor issues in audio docs (broken links)
true
2022-11-03T13:51:32Z
2022-11-04T12:47:59Z
2022-11-04T12:46:01Z
polinaeterna
CONTRIBUTOR
https://github.com/huggingface/datasets/pull/5198
2022-11-04T12:46:01Z
1
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/5198
true
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,434,676,150
5,197
[zstd] Use max window log size
open
ZstdDecompressor has a parameter `max_window_size` to limit max memory usage when decompressing zstd files. The default `max_window_size` is not enough when files are compressed by `zstd --ultra` flags. Change `max_window_size` to the zstd's max window size. NOTE, the `zstd.WINDOWLOG_MAX` is the log_2 value of the m...
true
2022-11-03T13:35:58Z
2022-11-03T13:45:19Z
null
reyoung
NONE
https://github.com/huggingface/datasets/pull/5197
null
2
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/5197
true
[ "@albertvillanova Please take a review.", "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_5197). All of your documentation changes will be reflected on that endpoint." ]
1,434,401,646
5,196
Use hfh hf_hub_url function
closed
Small refactoring to use `hf_hub_url` function from `huggingface_hub`. This PR also creates the `hub` module that will contain all `huggingface_hub` functionalities relevant to `datasets`. This is a necessary stage before implementing the use of the `hfh` caching system (which uses its `hf_hub_url` under the hood...
true
2022-11-03T10:08:09Z
2022-12-06T11:38:17Z
2022-11-09T07:15:12Z
albertvillanova
MEMBER
https://github.com/huggingface/datasets/pull/5196
2022-11-09T07:15:12Z
9
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/5196
true
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_5196). All of your documentation changes will be reflected on that endpoint.", "@lhoestq I think we should first agree if `datasets` can introduce the breaking change of ignoring `config.HUB_DATASETS_URL`: some users may have o...
1,434,290,689
5,195
[wip testing docs]
closed
true
2022-11-03T08:37:34Z
2023-04-04T15:10:37Z
2023-04-04T15:10:33Z
mishig25
NONE
https://github.com/huggingface/datasets/pull/5195
null
1
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/5195
true
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_5195). All of your documentation changes will be reflected on that endpoint." ]
1,434,206,951
5,194
Fix docs about dataset_info in YAML
closed
This PR fixes some misalignment in the docs after we transferred the dataset_info from `dataset_infos.json` to YAML in the dataset card: - #4926 Related to: - #5193
true
2022-11-03T07:10:23Z
2022-11-03T13:31:27Z
2022-11-03T13:29:21Z
albertvillanova
MEMBER
https://github.com/huggingface/datasets/pull/5194
2022-11-03T13:29:21Z
1
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/5194
true
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,433,883,780
5,193
"One or several metadata. were found, but not in the same directory or in a parent directory"
closed
### Describe the bug When loading my own dataset, on loading it I get an error. Here is my dataset link: https://huggingface.co/datasets/corentinm7/MyoQuant-SDH-Data And the error after loading with: ```python from datasets import load_dataset load_dataset("corentinm7/MyoQuant-SDH-Data") ``` ```python Downlo...
true
2022-11-02T22:46:25Z
2022-11-03T13:39:16Z
2022-11-03T13:35:44Z
lambda-science
NONE
null
null
5
0
0
0
null
false
[]
https://github.com/huggingface/datasets/issues/5193
false
[ "Also unrelated but still: https://huggingface.co/docs/datasets/image_dataset#generate-the-dataset\r\n```If your loading script passed the test, you should now have a dataset_infos.json file in your dataset folder.```\r\nIt's not the case anymore as it's now in the readme.md, it was confusing to me", "And here is...
1,433,199,790
5,192
Drop labels in Image and Audio folders if files are on different levels in directory or if there is only one label
closed
Will close https://github.com/huggingface/datasets/issues/5153 Drop labels by default (`drop_labels=None`) when: * there are files on different levels of directory hierarchy by checking their path depth * all files are in the same directory (=only one label was inferred) First one fixes cases like this: ``` r...
true
2022-11-02T14:01:41Z
2022-11-15T16:32:53Z
2022-11-15T16:31:07Z
polinaeterna
CONTRIBUTOR
https://github.com/huggingface/datasets/pull/5192
2022-11-15T16:31:07Z
9
0
0
0
false
false
[ "bug" ]
https://github.com/huggingface/datasets/pull/5192
true
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_5192). All of your documentation changes will be reflected on that endpoint.", "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_5192). All of your documentation changes will be reflected on...
1,433,191,658
5,191
Make torch.Tensor and spacy models cacheable
closed
Override `Pickler.save` to implement deterministic reduction (lazily registered; inspired by https://github.com/uqfoundation/dill/blob/master/dill/_dill.py#L343) functions for `torch.Tensor` and spaCy models. Fix https://github.com/huggingface/datasets/issues/5170, fix https://github.com/huggingface/datasets/issues/...
true
2022-11-02T13:56:18Z
2022-11-02T17:20:48Z
2022-11-02T17:18:42Z
mariosasko
COLLABORATOR
https://github.com/huggingface/datasets/pull/5191
2022-11-02T17:18:42Z
1
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/5191
true
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,433,014,626
5,190
`path` is `None` when downloading a custom audio dataset from the Hub
closed
### Describe the bug I've created an [audio dataset](https://huggingface.co/datasets/lewtun/audio-test-push) using the `audiofolder` feature desribed in the [docs](https://huggingface.co/docs/datasets/audio_dataset#audiofolder) and then pushed it to the Hub. Locally, I can see the `audio.path` feature is of the ...
true
2022-11-02T11:51:25Z
2022-11-02T12:55:02Z
2022-11-02T12:55:02Z
lewtun
MEMBER
null
null
1
0
0
0
null
false
[]
https://github.com/huggingface/datasets/issues/5190
false
[ "Hi! Yes, this is expected behavior - we do this as a security measure to not leak local paths (this info would be useless on other users' machines anyways) and only push audio bytes. \r\n" ]
1,432,769,143
5,189
Reduce friction in tabular dataset workflow by eliminating having splits when dataset is loaded
open
### Feature request Sorry for cryptic name but I'd like to explain using code itself. When I want to load a specific dataset from a repository (for instance, this: https://huggingface.co/datasets/inria-soda/tabular-benchmark) ```python from datasets import load_dataset dataset = load_dataset("inria-soda/tabular-b...
true
2022-11-02T09:15:02Z
2022-12-06T12:13:17Z
null
merveenoyan
CONTRIBUTOR
null
null
33
0
0
0
null
false
[ "enhancement" ]
https://github.com/huggingface/datasets/issues/5189
false
[ "I have to admit I'm not a fan of this idea, as this would result in a non-consistent behavior between tabular and non-tabular datasets, which is confusing if done without the context you provided. Instead, we could consider returning a `Dataset` object rather than `DatasetDict` if there is only one split in the ge...
1,432,477,139
5,188
add: segmentation guide.
closed
Closes #5181 I have opened a PR on Hub (https://huggingface.co/datasets/huggingface/documentation-images/discussions/5) to include the images in our central Hub repository. Once the PR is merged I will edit the image links. I have also prepared a [Colab Notebook](https://colab.research.google.com/drive/1BMDCfOT...
true
2022-11-02T04:34:36Z
2022-11-04T18:25:57Z
2022-11-04T18:23:34Z
sayakpaul
MEMBER
https://github.com/huggingface/datasets/pull/5188
2022-11-04T18:23:34Z
5
0
0
0
false
false
[ "documentation" ]
https://github.com/huggingface/datasets/pull/5188
true
[ "_The documentation is not available anymore as the PR was closed or merged._", "Thanks @osanseviero. Am I good to merge? ", "I would wait for a second approval just in case :) ", "Sure :) ", "Merging since the images have been pushed as LFS files ([PR](https://huggingface.co/datasets/huggingface/documentat...
1,432,375,375
5,187
chore: add notebook links to img cls and obj det.
closed
Closes https://github.com/huggingface/datasets/issues/5182
true
2022-11-02T02:30:09Z
2022-11-03T01:52:24Z
2022-11-03T01:49:56Z
sayakpaul
MEMBER
https://github.com/huggingface/datasets/pull/5187
2022-11-03T01:49:56Z
9
0
0
0
false
false
[ "enhancement" ]
https://github.com/huggingface/datasets/pull/5187
true
[ "_The documentation is not available anymore as the PR was closed or merged._", "@nateraw I guess the failing test is unrelated. ", "@sayakpaul Yea failures are unrelated. ", "Alright. Will wait for @osanseviero's take and then merge. ", "FYI @stevhliu ", "@osanseviero @stevhliu @nateraw thank you for yo...
1,432,045,011
5,186
Incorrect error message when Dataset.from_sql fails and sqlalchemy not installed
closed
### Describe the bug When calling `Dataset.from_sql` (in my case, with sqlite3), it fails with a message ```ValueError: Please pass `features` or at least one example when writing data``` when I don't have `sqlalchemy` installed. ### Steps to reproduce the bug Make a new sqlite db with `sqlite3` and `pandas` from...
true
2022-11-01T20:25:51Z
2022-11-15T18:24:39Z
2022-11-15T18:24:39Z
nateraw
CONTRIBUTOR
null
null
3
0
0
0
null
false
[]
https://github.com/huggingface/datasets/issues/5186
false
[ "Hi! The first `Dataset.from_sql` call also outputs the \"ImportError: Using URI string without sqlalchemy installed.\" message, but you also get \"During handling of the above exception another exception occurred: ...\" after which the ValueError is printed. I agree that this behavior makes it easy to miss the ori...
1,432,021,611
5,185
Allow passing a subset of output features to Dataset.map
open
### Feature request Currently, map does one of two things to the features (if I'm not mistaken): * when you do not pass features, types are assumed to be equal to the input if they can be cast, and inferred otherwise * when you pass a full specification of features, output features are set to this However, so...
true
2022-11-01T20:07:20Z
2022-11-01T20:07:34Z
null
sanderland
CONTRIBUTOR
null
null
0
1
1
0
null
false
[ "enhancement" ]
https://github.com/huggingface/datasets/issues/5185
false
[]
1,431,418,066
5,183
Loading an external dataset in a format similar to conll2003
closed
I'm trying to load a custom dataset in a Dataset object, it's similar to conll2003 but with 2 columns only (word entity), I used the following script: features = datasets.Features( {"tokens": datasets.Sequence(datasets.Value("string")), "ner_tags": datasets.Sequence( datasets.featu...
true
2022-11-01T13:18:29Z
2022-11-02T11:57:50Z
2022-11-02T11:57:50Z
Taghreed7878
NONE
null
null
0
0
0
0
null
false
[]
https://github.com/huggingface/datasets/issues/5183
false
[]
1,431,029,547
5,182
Add notebook / other resource links to the task-specific data loading guides
closed
Does it make sense to include links to notebooks / scripts that show how to use a dataset for training / fine-tuning a model? For example, here in [https://huggingface.co/docs/datasets/image_classification] we could include a mention of https://github.com/huggingface/notebooks/blob/main/examples/image_classificatio...
true
2022-11-01T07:57:26Z
2022-11-03T01:49:57Z
2022-11-03T01:49:57Z
sayakpaul
MEMBER
null
null
2
0
0
0
null
false
[ "enhancement" ]
https://github.com/huggingface/datasets/issues/5182
false
[ "Yea this would be great! We would need an object detection tutorial notebook too if it doesn't already exist there. ", "There is one: https://huggingface.co/docs/datasets/object_detection.\r\n\r\nI will start the work. " ]
1,431,027,102
5,181
Add a guide for semantic segmentation
closed
Currently, we have these guides for object detection and image classification: * https://huggingface.co/docs/datasets/object_detection * https://huggingface.co/docs/datasets/image_classification I am proposing adding a similar guide for semantic segmentation. I am happy to contribute a PR for it. Cc: @os...
true
2022-11-01T07:54:50Z
2022-11-04T18:23:36Z
2022-11-04T18:23:36Z
sayakpaul
MEMBER
null
null
2
0
0
0
null
false
[ "documentation" ]
https://github.com/huggingface/datasets/issues/5181
false
[ "Sure this sounds great! Would this be pure torchvision, albumentations, or something else?", "I am considering `torchvision` and `albumentations`. Also [works with TensorFlow](https://github.com/deep-diver/segformer-tf-transformers/blob/main/notebooks/TFSegFormer_Finetune.ipynb). \r\n\r\nI am assigning the issue...
1,431,012,438
5,180
An example or recommendations for creating large image datasets?
open
I know that Apache Beam and `datasets` have [some connector utilities](https://huggingface.co/docs/datasets/beam). But it's a little unclear what we mean by "But if you want to run your own Beam pipeline with Dataflow, here is how:". What does that pipeline do? As a user, I was wondering if we have this support for...
true
2022-11-01T07:38:38Z
2022-11-02T10:17:11Z
null
sayakpaul
MEMBER
null
null
2
0
0
0
null
false
[]
https://github.com/huggingface/datasets/issues/5180
false
[ "The beam utilities allow to prepare a dataset as parquet in your cloud storage. From my perspective this CLI is not super easy to use, but we've been working on a new python API to prepare a dataset in your cloud storage:\r\n```python\r\nfrom datasets import load_dataset_builder\r\n\r\nbuilder = load_dataset_build...
1,430,826,100
5,179
`map()` fails midway due to format incompatibility
closed
### Describe the bug I am using the `emotion` dataset from Hub for sequence classification. After training the model, I am using it to generate predictions for all the entries present in the `validation` split of the dataset. ```py def get_test_accuracy(model): def fn(batch): inputs = {k:v.to(device...
true
2022-11-01T03:57:59Z
2022-11-08T11:35:26Z
2022-11-08T11:35:26Z
sayakpaul
MEMBER
null
null
9
0
0
0
null
false
[ "bug" ]
https://github.com/huggingface/datasets/issues/5179
false
[ "Cc: @lhoestq ", "You can end up with a list instead of a tensor if all the tensors inside the list can't be stacked together - can you make sure all your inputs are tensors with the same shape ?", "Is there an easy way to ensure it?", "You can make sure your `tokenize` function always return tensors of the s...
1,430,800,810
5,178
Unable to download the Chinese `wikipedia`, the dumpstatus.json not found!
closed
### Describe the bug I tried: `data = load_dataset('wikipedia', '20220301.zh', beam_runner='DirectRunner')` and `data = load_dataset("wikipedia", language="zh", date="20220301", beam_runner='DirectRunner')` but both got: `FileNotFoundError: Couldn't find file at https://dumps.wikimedia.org/zhwiki/20220301/dumpsta...
true
2022-11-01T03:17:55Z
2022-11-02T08:27:15Z
2022-11-02T08:24:29Z
beyondguo
NONE
null
null
3
0
0
0
null
false
[]
https://github.com/huggingface/datasets/issues/5178
false
[ "In the dumps page of the wiki (https://dumps.wikimedia.org/zhwiki/), I found the following dumps:\r\n```\r\nIndex of /zhwiki/\r\n[../](https://dumps.wikimedia.org/)\r\n[20220701/](https://dumps.wikimedia.org/zhwiki/20220701/) 21-Aug-2022 01:48 -\r\n[202207...
1,430,238,556
5,177
Update create image dataset docs
closed
Based on @osanseviero and community feedback, it wasn't super clear how to upload a dataset to the Hub after creating something like an image captioning dataset. This PR adds a brief section on how to upload the dataset with `push_to_hub`.
true
2022-10-31T17:45:56Z
2022-11-02T17:15:22Z
2022-11-02T17:13:02Z
stevhliu
MEMBER
https://github.com/huggingface/datasets/pull/5177
2022-11-02T17:13:02Z
1
0
0
0
false
false
[ "documentation" ]
https://github.com/huggingface/datasets/pull/5177
true
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,430,214,539
5,176
prepare dataset for cloud storage doesn't work
closed
### Describe the bug Following the [documentation](https://huggingface.co/docs/datasets/filesystems#load-and-save-your-datasets-using-your-cloud-storage-filesystem) and [this PR](https://github.com/huggingface/datasets/pull/4724), I was downloading and storing huggingface dataset to cloud storage. ``` from datasets ...
true
2022-10-31T17:28:57Z
2023-03-28T09:11:46Z
2023-03-28T09:11:45Z
araonblake
NONE
null
null
2
0
0
0
null
false
[]
https://github.com/huggingface/datasets/issues/5176
false
[ "It looks like an issue with `gcsfs`, are you able to instantiate a `GCSFileSystem` manually ?", "closing since it was probably due to gcsfs" ]
1,428,696,231
5,175
Loading an external NER dataset
closed
I need to use huggingface datasets to load a custom dataset similar to conll2003 but with more entities and each the files contain only two columns: word and ner tag. I tried this code snnipet that I found here as an answer to a similar issue: from datasets import Dataset INPUT_COLUMNS = "ID Text NER".split() ...
true
2022-10-30T09:31:55Z
2022-11-01T13:15:49Z
2022-11-01T13:15:49Z
Taghreed7878
NONE
null
null
0
0
0
0
null
false
[]
https://github.com/huggingface/datasets/issues/5175
false
[]
1,427,216,416
5,174
Preserve None in list type cast in PyArrow 10
closed
The `ListArray` type in PyArrow 10.0.0 supports the `mask` parameter, which allows us to preserve Nones in nested lists in `cast` instead of replacing them with empty lists. Fix https://github.com/huggingface/datasets/issues/3676
true
2022-10-28T12:48:30Z
2022-10-28T13:15:33Z
2022-10-28T13:13:18Z
mariosasko
COLLABORATOR
https://github.com/huggingface/datasets/pull/5174
2022-10-28T13:13:18Z
1
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/5174
true
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,425,880,441
5,173
Raise ffmpeg warnings only once
closed
Our warnings looks nice now. `librosa` warning that was raised at each decoding: ``` /usr/local/lib/python3.7/dist-packages/librosa/core/audio.py:165: UserWarning: PySoundFile failed. Trying audioread instead. warnings.warn("PySoundFile failed. Trying audioread instead.") ``` is suppressed with `filterwarnin...
true
2022-10-27T15:58:33Z
2022-10-28T16:03:05Z
2022-10-28T16:00:51Z
polinaeterna
CONTRIBUTOR
https://github.com/huggingface/datasets/pull/5173
2022-10-28T16:00:51Z
1
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/5173
true
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,425,523,114
5,172
Inconsistency behavior between handling local file protocol and other FS protocols
open
### Describe the bug These lines us used during load_from_disk: ``` if is_remote_filesystem(fs): dest_dataset_dict_path = extract_path_from_uri(dataset_dict_path) else: fs = fsspec.filesystem("file") dest_dataset_dict_path = dataset_dict_path ``` If a local FS is given, then it will the URL as th...
true
2022-10-27T12:03:20Z
2024-05-08T19:31:13Z
null
leoleoasd
NONE
null
null
0
0
0
0
null
false
[]
https://github.com/huggingface/datasets/issues/5172
false
[]
1,425,355,111
5,171
Add PB and TB in convert_file_size_to_int
closed
true
2022-10-27T09:50:31Z
2022-10-27T12:14:27Z
2022-10-27T12:12:30Z
lhoestq
MEMBER
https://github.com/huggingface/datasets/pull/5171
2022-10-27T12:12:30Z
1
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/5171
true
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,425,301,835
5,170
[Caching] Deterministic hashing of torch tensors
closed
Currently this fails ```python import torch from datasets.fingerprint import Hasher t = torch.tensor([1.]) def func(x): return t + x hash1 = Hasher.hash(func) t = torch.tensor([1.]) hash2 = Hasher.hash(func) assert hash1 == hash2 ``` Also as noticed in https://discuss.huggingface.co/t/dataset-ca...
true
2022-10-27T09:15:15Z
2022-11-02T17:18:43Z
2022-11-02T17:18:43Z
lhoestq
MEMBER
null
null
0
0
0
0
null
false
[ "enhancement" ]
https://github.com/huggingface/datasets/issues/5170
false
[]
1,425,075,254
5,169
Add "ipykernel" to list of `co_filename`s to remove
closed
Should resolve #5157
true
2022-10-27T05:56:17Z
2022-11-02T15:46:00Z
2022-11-02T15:43:20Z
gpucce
CONTRIBUTOR
https://github.com/huggingface/datasets/pull/5169
2022-11-02T15:43:20Z
12
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/5169
true
[ "I don't know how I could add some tests for this, although jupyter is not among the dependencies so at least that would need to be added. If someone can tell a recommended way I will try to do it!", "So testing by myself and looking around the jupyter codebase it looks like the `co_filename` of objects created w...
1,424,368,572
5,168
Fix CI require beam
closed
This PR: - Fixes the CI `require_beam`: before it was requiring PyTorch instead ```python def require_beam(test_case): if not config.TORCH_AVAILABLE: test_case = unittest.skip("test requires PyTorch")(test_case) return test_case ``` - Fixes a missing `require_beam` in `test_beam_base...
true
2022-10-26T16:49:33Z
2022-10-27T09:25:19Z
2022-10-27T09:23:26Z
albertvillanova
MEMBER
https://github.com/huggingface/datasets/pull/5168
2022-10-27T09:23:26Z
2
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/5168
true
[ "_The documentation is not available anymore as the PR was closed or merged._", "I'm merging this PR because it is quite a trivial fix and this is required by:\r\n- #5166" ]
1,424,124,477
5,167
Add ffmpeg4 installation instructions in warnings
closed
Adds instructions on how to install `ffmpeg=4` on Linux (relevant for Colab users). Looks pretty ugly because I didn't find a way to check `ffmpeg` version from python (without `subprocess.call()`; `ctypes.util.find_library` doesn't work`), so the warning is raised on each decoding. Any suggestions on how to make it...
true
2022-10-26T14:21:14Z
2022-10-27T09:01:12Z
2022-10-27T08:58:58Z
polinaeterna
CONTRIBUTOR
https://github.com/huggingface/datasets/pull/5167
2022-10-27T08:58:58Z
3
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/5167
true
[ "_The documentation is not available anymore as the PR was closed or merged._", "To make it warn only once, feel free to use a global counter in python - and if the warning has already been done, you don't do it again", "> Added the same formatting for the error message :)\r\n\r\nnice!! thank you! \r\n\r\n> Oh ...
1,423,629,582
5,166
Support dill 0.3.6
closed
This PR: - ~~Unpins dill to allow installing dill>=0.3.6~~ - ~~Removes the fix on dill for >=0.3.6 because they implemented a deterministic mode (to be confirmed by @anivegesana)~~ - Pins dill<0.3.7 to allow latest dill 0.3.6 - Implements a fix for dill `save_function` for dill 0.3.6 - Additionally had to implemen...
true
2022-10-26T08:24:59Z
2022-10-28T05:41:05Z
2022-10-28T05:38:14Z
albertvillanova
MEMBER
https://github.com/huggingface/datasets/pull/5166
2022-10-28T05:38:14Z
11
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/5166
true
[ "_The documentation is not available anymore as the PR was closed or merged._", "I think it hasn't been merged ? https://github.com/uqfoundation/dill/pull/501\r\n\r\nThough I can see that the CI is green because it uses dill 0.3.1.1 - we should probably fix the dill version in both CIs:\r\n- use 0.3.1.1 for the C...
1,423,616,677
5,165
Memory explosion when trying to access 4d tensors in datasets cast to torch or np
open
### Describe the bug When trying to access an item by index, in a datasets.Dataset cast to torch/np using `set_format` or `with_format`, we get a memory explosion if the item contains 4d (or above) tensors. ### Steps to reproduce the bug MWE: ```python from datasets import load_dataset import numpy as np de...
true
2022-10-26T08:14:47Z
2022-10-26T08:14:47Z
null
clefourrier
MEMBER
null
null
0
0
0
0
null
false
[]
https://github.com/huggingface/datasets/issues/5165
false
[]
1,422,813,247
5,164
WIP: drop labels in Image and Audio folders by default
closed
will fix https://github.com/huggingface/datasets/issues/5153 and redundant labels displaying for most of the images datasets on the Hub (which are used just to store files) TODO: discuss adding `drop_labels` (and `drop_metadata`) params to yaml
true
2022-10-25T17:21:49Z
2022-11-16T14:21:16Z
2022-11-02T14:03:02Z
polinaeterna
CONTRIBUTOR
https://github.com/huggingface/datasets/pull/5164
null
2
0
0
0
true
false
[]
https://github.com/huggingface/datasets/pull/5164
true
[ "_The documentation is not available anymore as the PR was closed or merged._", "close in favor of https://github.com/huggingface/datasets/pull/5192" ]
1,422,540,337
5,163
Reduce default max `writer_batch_size`
closed
Reduce the default writer_batch_size from 10k to 1k examples. Additionally, align the default values of `batch_size` and `writer_batch_size` in `Dataset.cast` with the values from the corresponding docstring.
true
2022-10-25T14:14:52Z
2022-10-27T12:19:27Z
2022-10-27T12:16:47Z
mariosasko
COLLABORATOR
https://github.com/huggingface/datasets/pull/5163
2022-10-27T12:16:47Z
1
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/5163
true
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,422,461,112
5,162
Pip-compile: Could not find a version that matches dill<0.3.6,>=0.3.6
closed
### Describe the bug When using `pip-compile` (part of `pip-tools`) to generate a pinned requirements file that includes `datasets`, a version conflict of `dill` appears. It is caused by a transitive dependency conflict between `datasets` and `multiprocess`. ### Steps to reproduce the bug ```bash $ echo "dataset...
true
2022-10-25T13:23:50Z
2022-11-14T08:25:37Z
2022-10-28T05:38:15Z
Rijgersberg
NONE
null
null
7
2
2
0
null
false
[]
https://github.com/huggingface/datasets/issues/5162
false
[ "Thanks for reporting, @Rijgersberg.\r\n\r\nWe were waiting for the release of `dill` 0.3.6, that happened 2 days ago (24 Oct 2022): https://github.com/uqfoundation/dill/releases/tag/dill-0.3.6\r\n- See comment: https://github.com/huggingface/datasets/pull/4397#discussion_r880629543\r\n\r\nAlso `multiprocess` 0.70....
1,422,371,748
5,161
Dataset can’t cache model’s outputs
closed
### Describe the bug Hi, I try to cache some outputs of teacher model( Knowledge Distillation ) by using map function of Dataset library, while every time I run my code, I still recompute all the sequences. I tested Bert Model like this, I got different hash every single run, so any idea to deal with this? ### Ste...
true
2022-10-25T12:19:00Z
2022-11-03T16:12:52Z
2022-11-03T16:12:51Z
jongjyh
NONE
null
null
1
0
0
0
null
false
[]
https://github.com/huggingface/datasets/issues/5161
false
[ "Addressed in https://github.com/huggingface/datasets/pull/5191 (torch.Tensor objects now produce deterministic hashes)" ]
1,422,193,938
5,160
Automatically add filename for image/audio folder
open
### Feature request When creating a custom audio of image dataset, it would be great to automatically have access to the filename. It should be both: a) Automatically displayed in the viewer b) Automatically added as a column to the dataset when doing `load_dataset` In `diffusers` our test rely quite heavily on i...
true
2022-10-25T09:56:49Z
2022-10-26T16:51:46Z
null
patrickvonplaten
CONTRIBUTOR
null
null
10
0
0
0
null
false
[ "enhancement" ]
https://github.com/huggingface/datasets/issues/5160
false
[ "Also cc @anton-l ", "BTW the exact same holds true for the audio folder", "I'm fine with adding a new column with the file name personally. Not sure how breaking this is though", "@patrickvonplaten do you mean just filename or full relative path inside the repo?\r\nI think it shouldn't be breaking, at least ...