html_url stringlengths 48 51 | title stringlengths 5 280 | comments stringlengths 63 51.8k | body stringlengths 0 36.2k ⌀ | comment_length int64 16 1.52k | text stringlengths 159 54.1k | embeddings listlengths 768 768 |
|---|---|---|---|---|---|---|
https://github.com/huggingface/datasets/issues/3561 | Cannot load ‘bookcorpusopen’ | Hi @HUIYINXUE, it should work now that the data owners created a mirror server with all data, and we updated the URL in our library. | ## Describe the bug
Cannot load 'bookcorpusopen'
## Steps to reproduce the bug
```python
dataset = load_dataset('bookcorpusopen')
```
or
```python
dataset = load_dataset('bookcorpusopen',script_version='master')
```
## Actual results
ConnectionError: Couldn't reach https://the-eye.eu/public/AI/pile_pre... | 25 | Cannot load ‘bookcorpusopen’
## Describe the bug
Cannot load 'bookcorpusopen'
## Steps to reproduce the bug
```python
dataset = load_dataset('bookcorpusopen')
```
or
```python
dataset = load_dataset('bookcorpusopen',script_version='master')
```
## Actual results
ConnectionError: Couldn't reach https:... | [
-0.21133825182914734,
0.1578315794467926,
-0.07106076180934906,
0.32462459802627563,
-0.06236773729324341,
-0.14003798365592957,
0.39466091990470886,
0.19909526407718658,
0.0004559047520160675,
-0.05698771774768829,
-0.34380534291267395,
0.3186572790145874,
0.44060376286506653,
0.246888741... |
https://github.com/huggingface/datasets/issues/3558 | Integrate Milvus (pymilvus) library | Hi @mariosasko,Just search randomly and I found this issue~ I'm the tech lead of Milvus and we are looking forward to integrate milvus together with huggingface datasets.
Any suggestion on how we could start?
| Milvus is a popular open-source vector database. We should add a new vector index to support this project. | 34 | Integrate Milvus (pymilvus) library
Milvus is a popular open-source vector database. We should add a new vector index to support this project.
Hi @mariosasko,Just search randomly and I found this issue~ I'm the tech lead of Milvus and we are looking forward to integrate milvus together with huggingface datasets.
... | [
0.0640774518251419,
-0.6056883335113525,
-0.11712715029716492,
0.30451685190200806,
0.27040401101112366,
0.054664067924022675,
-0.04596910998225212,
0.16240769624710083,
0.08975479006767273,
0.3288968801498413,
-0.03349314630031586,
-0.20647749304771423,
-0.2139967381954193,
0.056155778467... |
https://github.com/huggingface/datasets/issues/3558 | Integrate Milvus (pymilvus) library | Hi! For starters, I suggest you take a look at this file: https://github.com/huggingface/datasets/blob/master/src/datasets/search.py, which contains all the code for Faiss/ElasticSearch support. We could set up a Slack channel for additional guidance. Let me know what you prefer. | Milvus is a popular open-source vector database. We should add a new vector index to support this project. | 37 | Integrate Milvus (pymilvus) library
Milvus is a popular open-source vector database. We should add a new vector index to support this project.
Hi! For starters, I suggest you take a look at this file: https://github.com/huggingface/datasets/blob/master/src/datasets/search.py, which contains all the code for Faiss/E... | [
-0.19968663156032562,
-0.21137194335460663,
-0.2736818194389343,
-0.10393664240837097,
-0.029822077602148056,
-0.07170282304286957,
-0.01782551035284996,
0.25997194647789,
0.27428874373435974,
0.09052260220050812,
-0.09796344488859177,
-0.1096252053976059,
-0.23410195112228394,
-0.04114889... |
https://github.com/huggingface/datasets/issues/3558 | Integrate Milvus (pymilvus) library | > Hi! For starters, I suggest you take a look at this file: https://github.com/huggingface/datasets/blob/master/src/datasets/search.py, which contains all the code for Faiss/ElasticSearch support. We could set up a Slack channel for additional guidance. Let me know what you prefer.
Sure, we take a look and do some r... | Milvus is a popular open-source vector database. We should add a new vector index to support this project. | 47 | Integrate Milvus (pymilvus) library
Milvus is a popular open-source vector database. We should add a new vector index to support this project.
> Hi! For starters, I suggest you take a look at this file: https://github.com/huggingface/datasets/blob/master/src/datasets/search.py, which contains all the code for Faiss... | [
-0.18384934961795807,
-0.20070600509643555,
-0.2723216414451599,
-0.11459489166736603,
-0.048531509935855865,
-0.09915143251419067,
-0.0014097616076469421,
0.25204789638519287,
0.2506117820739746,
0.07768872380256653,
-0.08293505012989044,
-0.11872220784425735,
-0.24957938492298126,
-0.035... |
https://github.com/huggingface/datasets/issues/3555 | DuplicatedKeysError when loading tweet_qa dataset | Hi, we've just merged the PR with the fix. The fixed version of the dataset can be downloaded as follows:
```python
import datasets
dset = datasets.load_dataset("tweet_qa", revision="master")
``` | When loading the tweet_qa dataset with `load_dataset('tweet_qa')`, the following error occurs:
`DuplicatedKeysError: FAILURE TO GENERATE DATASET !
Found duplicate Key: 2a167f9e016ba338e1813fed275a6a1e
Keys should be unique and deterministic in nature
`
Might be related to issues #2433 and #2333
- `datasets` ... | 28 | DuplicatedKeysError when loading tweet_qa dataset
When loading the tweet_qa dataset with `load_dataset('tweet_qa')`, the following error occurs:
`DuplicatedKeysError: FAILURE TO GENERATE DATASET !
Found duplicate Key: 2a167f9e016ba338e1813fed275a6a1e
Keys should be unique and deterministic in nature
`
Might b... | [
0.020983461290597916,
-0.2672315537929535,
-0.0047796908766031265,
0.20693616569042206,
0.30063438415527344,
0.06389863044023514,
0.14324256777763367,
0.30135074257850647,
-0.19674637913703918,
0.09052020311355591,
0.0005054038483649492,
0.3443005681037903,
-0.19939737021923065,
0.25854054... |
https://github.com/huggingface/datasets/issues/3554 | ImportError: cannot import name 'is_valid_waiter_error' | Hi! I can't reproduce this error in Colab, but I'm assuming you are using Amazon SageMaker Studio Notebooks (you mention the `conda_pytorch_p36` kernel), so maybe @philschmid knows more about what might be causing this issue? | Based on [SO post](https://stackoverflow.com/q/70606147/17840900).
I'm following along to this [Notebook][1], cell "**Loading the dataset**".
Kernel: `conda_pytorch_p36`.
I run:
```
! pip install datasets transformers optimum[intel]
```
Output:
```
Requirement already satisfied: datasets in /home/ec2-u... | 35 | ImportError: cannot import name 'is_valid_waiter_error'
Based on [SO post](https://stackoverflow.com/q/70606147/17840900).
I'm following along to this [Notebook][1], cell "**Loading the dataset**".
Kernel: `conda_pytorch_p36`.
I run:
```
! pip install datasets transformers optimum[intel]
```
Output:
`... | [
-0.14788253605365753,
-0.14692771434783936,
-0.22139346599578857,
0.17883358895778656,
0.15695373713970184,
-0.19814355671405792,
0.37350887060165405,
0.17720136046409607,
-0.0016117449849843979,
0.008777014911174774,
-0.10016094148159027,
0.3891833424568176,
0.024510063230991364,
0.115436... |
https://github.com/huggingface/datasets/issues/3554 | ImportError: cannot import name 'is_valid_waiter_error' | Hey @mariosasko. Yes, I am using **Amazon SageMaker Studio Jupyter Labs**. However, I no longer need this notebook; but it would be nice to have this problem solved for others. So don't stress too much if you two can't reproduce error. | Based on [SO post](https://stackoverflow.com/q/70606147/17840900).
I'm following along to this [Notebook][1], cell "**Loading the dataset**".
Kernel: `conda_pytorch_p36`.
I run:
```
! pip install datasets transformers optimum[intel]
```
Output:
```
Requirement already satisfied: datasets in /home/ec2-u... | 41 | ImportError: cannot import name 'is_valid_waiter_error'
Based on [SO post](https://stackoverflow.com/q/70606147/17840900).
I'm following along to this [Notebook][1], cell "**Loading the dataset**".
Kernel: `conda_pytorch_p36`.
I run:
```
! pip install datasets transformers optimum[intel]
```
Output:
`... | [
-0.14788253605365753,
-0.14692771434783936,
-0.22139346599578857,
0.17883358895778656,
0.15695373713970184,
-0.19814355671405792,
0.37350887060165405,
0.17720136046409607,
-0.0016117449849843979,
0.008777014911174774,
-0.10016094148159027,
0.3891833424568176,
0.024510063230991364,
0.115436... |
https://github.com/huggingface/datasets/issues/3554 | ImportError: cannot import name 'is_valid_waiter_error' | Hey @danielbellhv,
This issue might be related to Studio probably not having an up to date `botocore` and `boto3` version. I ran into this as well a while back. My workaround was
```python
# using older dataset due to incompatibility of sagemaker notebook & aws-cli with > s3fs and fsspec to >= 2021.10
!pip inst... | Based on [SO post](https://stackoverflow.com/q/70606147/17840900).
I'm following along to this [Notebook][1], cell "**Loading the dataset**".
Kernel: `conda_pytorch_p36`.
I run:
```
! pip install datasets transformers optimum[intel]
```
Output:
```
Requirement already satisfied: datasets in /home/ec2-u... | 90 | ImportError: cannot import name 'is_valid_waiter_error'
Based on [SO post](https://stackoverflow.com/q/70606147/17840900).
I'm following along to this [Notebook][1], cell "**Loading the dataset**".
Kernel: `conda_pytorch_p36`.
I run:
```
! pip install datasets transformers optimum[intel]
```
Output:
`... | [
-0.14788253605365753,
-0.14692771434783936,
-0.22139346599578857,
0.17883358895778656,
0.15695373713970184,
-0.19814355671405792,
0.37350887060165405,
0.17720136046409607,
-0.0016117449849843979,
0.008777014911174774,
-0.10016094148159027,
0.3891833424568176,
0.024510063230991364,
0.115436... |
https://github.com/huggingface/datasets/issues/3553 | set_format("np") no longer works for Image data | This error also propagates to jax and is even trickier to fix, since `.with_format(type='jax')` will use numpy conversion internally (and fail). For a three line failure:
```python
dataset = datasets.load_dataset("mnist")
dataset.set_format("jax")
X_train = dataset["train"]["image"]
``` | ## Describe the bug
`dataset.set_format("np")` no longer works for image data, previously you could load the MNIST like this:
```python
dataset = load_dataset("mnist")
dataset.set_format("np")
X_train = dataset["train"]["image"][..., None] # <== No longer a numpy array
```
but now it doesn't work, `set_format(... | 35 | set_format("np") no longer works for Image data
## Describe the bug
`dataset.set_format("np")` no longer works for image data, previously you could load the MNIST like this:
```python
dataset = load_dataset("mnist")
dataset.set_format("np")
X_train = dataset["train"]["image"][..., None] # <== No longer a numpy... | [
-0.03510450944304466,
0.11162340641021729,
-0.01638634130358696,
-0.1090967059135437,
0.5629802346229553,
-0.06856975704431534,
0.6217342019081116,
0.47755399346351624,
-0.17445588111877441,
0.17818719148635864,
0.06581337749958038,
0.5270742177963257,
-0.08805380016565323,
0.1173615828156... |
https://github.com/huggingface/datasets/issues/3553 | set_format("np") no longer works for Image data | Hi! We've recently introduced a new Image feature that yields PIL Images (and caches transforms on them) instead of arrays.
However, this feature requires a custom transform to yield np arrays directly:
```python
ddict = datasets.load_dataset("mnist")
def pil_image_to_array(batch):
return {"image": [np.ar... | ## Describe the bug
`dataset.set_format("np")` no longer works for image data, previously you could load the MNIST like this:
```python
dataset = load_dataset("mnist")
dataset.set_format("np")
X_train = dataset["train"]["image"][..., None] # <== No longer a numpy array
```
but now it doesn't work, `set_format(... | 127 | set_format("np") no longer works for Image data
## Describe the bug
`dataset.set_format("np")` no longer works for image data, previously you could load the MNIST like this:
```python
dataset = load_dataset("mnist")
dataset.set_format("np")
X_train = dataset["train"]["image"][..., None] # <== No longer a numpy... | [
-0.1515495330095291,
0.022834554314613342,
0.008420009166002274,
-0.09256984293460846,
0.47497355937957764,
-0.18524415791034698,
0.6634007096290588,
0.25639134645462036,
-0.2602328062057495,
0.12488025426864624,
-0.1729414463043213,
0.5843827724456787,
-0.1788264364004135,
0.1715168803930... |
https://github.com/huggingface/datasets/issues/3553 | set_format("np") no longer works for Image data | Yes I agree it should return arrays and not a PIL image (and possible an array instead of a dict for audio data).
I'm currently finishing some code refactoring of the image and audio and opening a PR today. Maybe we can look into that after the refactoring | ## Describe the bug
`dataset.set_format("np")` no longer works for image data, previously you could load the MNIST like this:
```python
dataset = load_dataset("mnist")
dataset.set_format("np")
X_train = dataset["train"]["image"][..., None] # <== No longer a numpy array
```
but now it doesn't work, `set_format(... | 48 | set_format("np") no longer works for Image data
## Describe the bug
`dataset.set_format("np")` no longer works for image data, previously you could load the MNIST like this:
```python
dataset = load_dataset("mnist")
dataset.set_format("np")
X_train = dataset["train"]["image"][..., None] # <== No longer a numpy... | [
-0.3260747194290161,
0.07806907594203949,
-0.03519700467586517,
-0.014314904808998108,
0.384554386138916,
-0.32601532340049744,
0.5448752045631409,
0.25854265689849854,
-0.16704566776752472,
0.12738358974456787,
-0.16932620108127594,
0.7061197757720947,
-0.26262202858924866,
0.075162664055... |
https://github.com/huggingface/datasets/issues/3548 | Specify the feature types of a dataset on the Hub without needing a dataset script | After looking into this, discovered that this is already supported if the `dataset_infos.json` file is configured correctly! Here is a working example: https://huggingface.co/datasets/abidlabs/test-audio-13
This should be probably be documented, though. | **Is your feature request related to a problem? Please describe.**
Currently if I upload a CSV with paths to audio files, the column type is string instead of Audio.
**Describe the solution you'd like**
I'd like to be able to specify the types of the column, so that when loading the dataset I directly get the feat... | 30 | Specify the feature types of a dataset on the Hub without needing a dataset script
**Is your feature request related to a problem? Please describe.**
Currently if I upload a CSV with paths to audio files, the column type is string instead of Audio.
**Describe the solution you'd like**
I'd like to be able to spec... | [
-0.19814538955688477,
-0.33387917280197144,
-0.059369634836912155,
-0.015883758664131165,
0.2914842963218689,
0.05367440730333328,
0.5299438238143921,
0.20252732932567596,
0.2964349091053009,
0.22065842151641846,
-0.04987874627113342,
0.466715931892395,
-0.06496622413396835,
0.609379351139... |
https://github.com/huggingface/datasets/issues/3547 | Datasets created with `push_to_hub` can't be accessed in offline mode | Thanks for reporting. I think this can be fixed by improving the `CachedDatasetModuleFactory` and making it look into the `parquet` cache directory (datasets from push_to_hub are loaded with the parquet dataset builder). I'll look into it | ## Describe the bug
In offline mode, one can still access previously-cached datasets. This fails with datasets created with `push_to_hub`.
## Steps to reproduce the bug
in Python:
```
import datasets
mpwiki = datasets.load_dataset("teven/matched_passages_wikidata")
```
in bash:
```
export HF_DATASETS_OFFLIN... | 36 | Datasets created with `push_to_hub` can't be accessed in offline mode
## Describe the bug
In offline mode, one can still access previously-cached datasets. This fails with datasets created with `push_to_hub`.
## Steps to reproduce the bug
in Python:
```
import datasets
mpwiki = datasets.load_dataset("teven/ma... | [
-0.3195170760154724,
-0.333967924118042,
0.033272068947553635,
0.23948164284229279,
0.14462342858314514,
0.09753543883562088,
0.4311664402484894,
0.10924305021762848,
0.1457219272851944,
0.002082347869873047,
-0.16410766541957855,
0.09397847205400467,
0.14015133678913116,
0.205507829785346... |
https://github.com/huggingface/datasets/issues/3547 | Datasets created with `push_to_hub` can't be accessed in offline mode | We haven't had a chance to fix this yet. If someone would like to give it a try I'd be happy to give some guidance | ## Describe the bug
In offline mode, one can still access previously-cached datasets. This fails with datasets created with `push_to_hub`.
## Steps to reproduce the bug
in Python:
```
import datasets
mpwiki = datasets.load_dataset("teven/matched_passages_wikidata")
```
in bash:
```
export HF_DATASETS_OFFLIN... | 25 | Datasets created with `push_to_hub` can't be accessed in offline mode
## Describe the bug
In offline mode, one can still access previously-cached datasets. This fails with datasets created with `push_to_hub`.
## Steps to reproduce the bug
in Python:
```
import datasets
mpwiki = datasets.load_dataset("teven/ma... | [
-0.27127015590667725,
-0.40280821919441223,
-0.010769186541438103,
0.21693429350852966,
0.1281784176826477,
0.12113640457391739,
0.4787759780883789,
0.17406854033470154,
0.14842362701892853,
0.0674809142947197,
-0.22360725700855255,
-0.04085313156247139,
0.12881453335285187,
0.155622109770... |
https://github.com/huggingface/datasets/issues/3547 | Datasets created with `push_to_hub` can't be accessed in offline mode | @lhoestq Do you have an idea of what changes need to be made to `CachedDatasetModuleFactory`? I would be willing to take a crack at it. Currently unable to train with datasets I have `push_to_hub` on a cluster whose compute nodes are not connected to the internet.
It looks like it might be this line:
https://gith... | ## Describe the bug
In offline mode, one can still access previously-cached datasets. This fails with datasets created with `push_to_hub`.
## Steps to reproduce the bug
in Python:
```
import datasets
mpwiki = datasets.load_dataset("teven/matched_passages_wikidata")
```
in bash:
```
export HF_DATASETS_OFFLIN... | 92 | Datasets created with `push_to_hub` can't be accessed in offline mode
## Describe the bug
In offline mode, one can still access previously-cached datasets. This fails with datasets created with `push_to_hub`.
## Steps to reproduce the bug
in Python:
```
import datasets
mpwiki = datasets.load_dataset("teven/ma... | [
-0.19155992567539215,
-0.26269787549972534,
0.024487853050231934,
0.17652323842048645,
0.27770113945007324,
0.07770626991987228,
0.3857561945915222,
0.09199878573417664,
0.16568036377429962,
0.01562546193599701,
-0.08702269196510315,
0.1225709393620491,
-0.020046930760145187,
0.05803515017... |
https://github.com/huggingface/datasets/issues/3547 | Datasets created with `push_to_hub` can't be accessed in offline mode | `importable_directory_path` is used to find a **dataset script** that was previously downloaded and cached from the Hub
However in your case there's no dataset script on the Hub, only parquet files. So the logic must be extended for this case.
In particular I think you can add a new logic in the case where `hashe... | ## Describe the bug
In offline mode, one can still access previously-cached datasets. This fails with datasets created with `push_to_hub`.
## Steps to reproduce the bug
in Python:
```
import datasets
mpwiki = datasets.load_dataset("teven/matched_passages_wikidata")
```
in bash:
```
export HF_DATASETS_OFFLIN... | 251 | Datasets created with `push_to_hub` can't be accessed in offline mode
## Describe the bug
In offline mode, one can still access previously-cached datasets. This fails with datasets created with `push_to_hub`.
## Steps to reproduce the bug
in Python:
```
import datasets
mpwiki = datasets.load_dataset("teven/ma... | [
-0.35518279671669006,
-0.2094767540693283,
0.02537199854850769,
0.281546413898468,
0.12832650542259216,
0.054722510278224945,
0.232673779129982,
0.19037863612174988,
0.1825903356075287,
0.06978064775466919,
-0.12264231592416763,
0.2477348893880844,
0.0743216946721077,
0.16736538708209991,
... |
https://github.com/huggingface/datasets/issues/3547 | Datasets created with `push_to_hub` can't be accessed in offline mode | Hi! Is there a workaround for the time being?
Like passing `data_dir` or something like that?
I would like to use [this diffuser example](https://github.com/huggingface/diffusers/tree/main/examples/unconditional_image_generation) on my cluster whose nodes are not connected to the internet. I have downloaded the dat... | ## Describe the bug
In offline mode, one can still access previously-cached datasets. This fails with datasets created with `push_to_hub`.
## Steps to reproduce the bug
in Python:
```
import datasets
mpwiki = datasets.load_dataset("teven/matched_passages_wikidata")
```
in bash:
```
export HF_DATASETS_OFFLIN... | 45 | Datasets created with `push_to_hub` can't be accessed in offline mode
## Describe the bug
In offline mode, one can still access previously-cached datasets. This fails with datasets created with `push_to_hub`.
## Steps to reproduce the bug
in Python:
```
import datasets
mpwiki = datasets.load_dataset("teven/ma... | [
-0.3247852325439453,
-0.5047317743301392,
-0.0002513676881790161,
0.21967874467372894,
0.15271219611167908,
-0.10468890517950058,
0.4320308268070221,
0.04485214129090309,
0.05850425735116005,
0.21336153149604797,
-0.15318846702575684,
0.2067871391773224,
-0.013477384112775326,
0.0420820415... |
https://github.com/huggingface/datasets/issues/3547 | Datasets created with `push_to_hub` can't be accessed in offline mode | Hi ! Yes you can save your dataset locally with `my_dataset.save_to_disk("path/to/local")` and reload it later with `load_from_disk("path/to/local")`
(removing myself from assignees since I'm currently not working on this right now) | ## Describe the bug
In offline mode, one can still access previously-cached datasets. This fails with datasets created with `push_to_hub`.
## Steps to reproduce the bug
in Python:
```
import datasets
mpwiki = datasets.load_dataset("teven/matched_passages_wikidata")
```
in bash:
```
export HF_DATASETS_OFFLIN... | 30 | Datasets created with `push_to_hub` can't be accessed in offline mode
## Describe the bug
In offline mode, one can still access previously-cached datasets. This fails with datasets created with `push_to_hub`.
## Steps to reproduce the bug
in Python:
```
import datasets
mpwiki = datasets.load_dataset("teven/ma... | [
-0.35315102338790894,
-0.31972748041152954,
-0.0032499320805072784,
0.20286843180656433,
0.1461988240480423,
0.1737184226512909,
0.4439448416233063,
0.1454068124294281,
0.19849058985710144,
0.09130531549453735,
-0.2800891697406769,
0.010002696886658669,
0.08650490641593933,
0.1658429801464... |
https://github.com/huggingface/datasets/issues/3547 | Datasets created with `push_to_hub` can't be accessed in offline mode | Any idea @lhoestq who to tag to fix this ? This is a very annoying bug, which is becoming more and more present since the push_to_hub API is getting used more ? | ## Describe the bug
In offline mode, one can still access previously-cached datasets. This fails with datasets created with `push_to_hub`.
## Steps to reproduce the bug
in Python:
```
import datasets
mpwiki = datasets.load_dataset("teven/matched_passages_wikidata")
```
in bash:
```
export HF_DATASETS_OFFLIN... | 32 | Datasets created with `push_to_hub` can't be accessed in offline mode
## Describe the bug
In offline mode, one can still access previously-cached datasets. This fails with datasets created with `push_to_hub`.
## Steps to reproduce the bug
in Python:
```
import datasets
mpwiki = datasets.load_dataset("teven/ma... | [
-0.2875521779060364,
-0.3543098568916321,
-0.011735452339053154,
0.21019063889980316,
0.15284103155136108,
0.19440531730651855,
0.5665081739425659,
0.13394926488399506,
0.15397416055202484,
0.092633455991745,
-0.1302478313446045,
0.024812942370772362,
0.1166752502322197,
0.123005710542202,... |
https://github.com/huggingface/datasets/issues/3547 | Datasets created with `push_to_hub` can't be accessed in offline mode | It should be easier to implement now that we improved the caching of datasets from `push_to_hub`: each dataset has its own directory in the cache.
The cache structure has been improved in https://github.com/huggingface/datasets/pull/5331. Now the cache structure is `"{namespace__}<dataset_name>/<config_name>/<versio... | ## Describe the bug
In offline mode, one can still access previously-cached datasets. This fails with datasets created with `push_to_hub`.
## Steps to reproduce the bug
in Python:
```
import datasets
mpwiki = datasets.load_dataset("teven/matched_passages_wikidata")
```
in bash:
```
export HF_DATASETS_OFFLIN... | 91 | Datasets created with `push_to_hub` can't be accessed in offline mode
## Describe the bug
In offline mode, one can still access previously-cached datasets. This fails with datasets created with `push_to_hub`.
## Steps to reproduce the bug
in Python:
```
import datasets
mpwiki = datasets.load_dataset("teven/ma... | [
-0.30459529161453247,
-0.3809417486190796,
0.0066872239112854,
0.2533458471298218,
0.13836291432380676,
0.07272132486104965,
0.3752146065235138,
0.23341111838817596,
0.20198853313922882,
0.01139765977859497,
-0.3170987665653229,
0.1475992202758789,
0.02951548434793949,
0.18270698189735413,... |
https://github.com/huggingface/datasets/issues/3547 | Datasets created with `push_to_hub` can't be accessed in offline mode | I started a PR to draft the logic to reload datasets from the cache fi they were created with push_to_hub: https://github.com/huggingface/datasets/pull/6459
Feel free to try it out | ## Describe the bug
In offline mode, one can still access previously-cached datasets. This fails with datasets created with `push_to_hub`.
## Steps to reproduce the bug
in Python:
```
import datasets
mpwiki = datasets.load_dataset("teven/matched_passages_wikidata")
```
in bash:
```
export HF_DATASETS_OFFLIN... | 27 | Datasets created with `push_to_hub` can't be accessed in offline mode
## Describe the bug
In offline mode, one can still access previously-cached datasets. This fails with datasets created with `push_to_hub`.
## Steps to reproduce the bug
in Python:
```
import datasets
mpwiki = datasets.load_dataset("teven/ma... | [
-0.2612556219100952,
-0.4751034677028656,
-0.01731644943356514,
0.2712814509868622,
0.15120600163936615,
0.11406264454126358,
0.3878891170024872,
0.08904147148132324,
0.2263663411140442,
0.025593891739845276,
-0.28722622990608215,
-0.01102471724152565,
0.12130175530910492,
0.19886039197444... |
https://github.com/huggingface/datasets/issues/3547 | Datasets created with `push_to_hub` can't be accessed in offline mode | Which version of `datasets` are you using ? This issue has been fixed with `datasets` 2.16 | ## Describe the bug
In offline mode, one can still access previously-cached datasets. This fails with datasets created with `push_to_hub`.
## Steps to reproduce the bug
in Python:
```
import datasets
mpwiki = datasets.load_dataset("teven/matched_passages_wikidata")
```
in bash:
```
export HF_DATASETS_OFFLIN... | 16 | Datasets created with `push_to_hub` can't be accessed in offline mode
## Describe the bug
In offline mode, one can still access previously-cached datasets. This fails with datasets created with `push_to_hub`.
## Steps to reproduce the bug
in Python:
```
import datasets
mpwiki = datasets.load_dataset("teven/ma... | [
-0.3267724812030792,
-0.3973677158355713,
-0.023936349898576736,
0.2029585987329483,
0.11509387940168381,
0.127159982919693,
0.476272851228714,
0.1961735337972641,
0.19484175741672516,
0.10819932073354721,
-0.22178909182548523,
0.0033721360377967358,
0.17184780538082123,
0.1319916546344757... |
https://github.com/huggingface/datasets/issues/3547 | Datasets created with `push_to_hub` can't be accessed in offline mode | Can you share a code or a dataset that reproduces the issue ? It seems to work fine on my side. | ## Describe the bug
In offline mode, one can still access previously-cached datasets. This fails with datasets created with `push_to_hub`.
## Steps to reproduce the bug
in Python:
```
import datasets
mpwiki = datasets.load_dataset("teven/matched_passages_wikidata")
```
in bash:
```
export HF_DATASETS_OFFLIN... | 21 | Datasets created with `push_to_hub` can't be accessed in offline mode
## Describe the bug
In offline mode, one can still access previously-cached datasets. This fails with datasets created with `push_to_hub`.
## Steps to reproduce the bug
in Python:
```
import datasets
mpwiki = datasets.load_dataset("teven/ma... | [
-0.2720564603805542,
-0.41157203912734985,
-0.0025240331888198853,
0.2017880380153656,
0.11215198785066605,
0.09147659689188004,
0.502554178237915,
0.13604103028774261,
0.19593128561973572,
0.08217405527830124,
-0.19663755595684052,
-0.01681293547153473,
0.18436770141124725,
0.143694832921... |
https://github.com/huggingface/datasets/issues/3547 | Datasets created with `push_to_hub` can't be accessed in offline mode | Yeah,
```python
dataset = load_dataset("roneneldan/TinyStories")
```
I tried it with:
```python
dataset = load_dataset("roneneldan/tinystories")
```
and it worked.
> It seems that this does not support dataset with uppercase name
@fecet was right, but if you just put the name lowercase, it works. | ## Describe the bug
In offline mode, one can still access previously-cached datasets. This fails with datasets created with `push_to_hub`.
## Steps to reproduce the bug
in Python:
```
import datasets
mpwiki = datasets.load_dataset("teven/matched_passages_wikidata")
```
in bash:
```
export HF_DATASETS_OFFLIN... | 43 | Datasets created with `push_to_hub` can't be accessed in offline mode
## Describe the bug
In offline mode, one can still access previously-cached datasets. This fails with datasets created with `push_to_hub`.
## Steps to reproduce the bug
in Python:
```
import datasets
mpwiki = datasets.load_dataset("teven/ma... | [
-0.2109769582748413,
-0.3429296612739563,
-0.017048552632331848,
0.23167020082473755,
0.23983877897262573,
0.1787644326686859,
0.5049988031387329,
0.19944696128368378,
0.16213475167751312,
0.17384742200374603,
-0.1988026350736618,
0.035862717777490616,
0.1288468986749649,
0.081258133053779... |
https://github.com/huggingface/datasets/issues/3543 | Allow loading community metrics from the hub, just like datasets | Hi ! Thanks for your message :) This is a great idea indeed. We haven't started working on this yet though. For now I guess you can host your metric on the Hub (either with your model or your dataset) and use `hf_hub_download` to download it (docs [here](https://github.com/huggingface/huggingface_hub/blob/main/docs/hub... | **Is your feature request related to a problem? Please describe.**
Currently, I can load a metric implemented by me by providing the local path to the file in `load_metric`.
However, there is no option to do it with the metric uploaded to the hub.
This means that if I want to allow other users to use it, they must d... | 48 | Allow loading community metrics from the hub, just like datasets
**Is your feature request related to a problem? Please describe.**
Currently, I can load a metric implemented by me by providing the local path to the file in `load_metric`.
However, there is no option to do it with the metric uploaded to the hub.
Th... | [
-0.5048285126686096,
-0.13174188137054443,
-0.045683518052101135,
0.11887910962104797,
0.03014175221323967,
-0.05572567135095596,
0.15930970013141632,
0.013090219348669052,
0.4941076636314392,
0.4180036783218384,
-0.47414934635162354,
0.29419222474098206,
-0.030540861189365387,
0.398861765... |
https://github.com/huggingface/datasets/issues/3543 | Allow loading community metrics from the hub, just like datasets | Here's the code I used, in case it can be of help to someone else:
```python
import os, shutil
from huggingface_hub import hf_hub_download
def download_metric(repo_id, file_path):
# repo_id: for models "username/model_name", for datasets "datasets/username/model_name"
local_metric_path = hf_hub_download(r... | **Is your feature request related to a problem? Please describe.**
Currently, I can load a metric implemented by me by providing the local path to the file in `load_metric`.
However, there is no option to do it with the metric uploaded to the hub.
This means that if I want to allow other users to use it, they must d... | 55 | Allow loading community metrics from the hub, just like datasets
**Is your feature request related to a problem? Please describe.**
Currently, I can load a metric implemented by me by providing the local path to the file in `load_metric`.
However, there is no option to do it with the metric uploaded to the hub.
Th... | [
-0.47042015194892883,
-0.1260264664888382,
0.0011761635541915894,
0.14799807965755463,
0.056381043046712875,
-0.07691239565610886,
0.13489165902137756,
0.07657748460769653,
0.6092925071716309,
0.4103240966796875,
-0.5060340166091919,
0.29402926564216614,
-0.06716209650039673,
0.28505867719... |
https://github.com/huggingface/datasets/issues/3533 | Task search function on hub not working correctly | Because it has dots in some YAML keys, it can't be parsed and indexed by the back-end | When I want to look at all datasets of the category: `speech-processing` *i.e.* https://huggingface.co/datasets?task_categories=task_categories:speech-processing&sort=downloads , then the following dataset doesn't show up for some reason:
- https://huggingface.co/datasets/speech_commands
even thought it's task t... | 17 | Task search function on hub not working correctly
When I want to look at all datasets of the category: `speech-processing` *i.e.* https://huggingface.co/datasets?task_categories=task_categories:speech-processing&sort=downloads , then the following dataset doesn't show up for some reason:
- https://huggingface.co/... | [
-0.1805417239665985,
-0.6423782110214233,
-0.14864139258861542,
0.2859571576118469,
0.22975070774555206,
-0.11155692487955093,
-0.003705669194459915,
0.37212520837783813,
0.4584396779537201,
-0.017639055848121643,
-0.30316558480262756,
-0.021939653903245926,
-0.12868498265743256,
0.3014592... |
https://github.com/huggingface/datasets/issues/3518 | Add PubMed Central Open Access dataset | In the framework of BigScience:
- bigscience-workshop/data_tooling#121
I have created this dataset as a community dataset: https://huggingface.co/datasets/albertvillanova/pmc_open_access
However, I was wondering that it may be more appropriate to move it under an org namespace: `pubmed_central` or `pmc`
This wa... | ## Adding a Dataset
- **Name:** PubMed Central Open Access
- **Description:** The PMC Open Access Subset includes more than 3.4 million journal articles and preprints that are made available under license terms that allow reuse.
- **Paper:** *link to the dataset paper if available*
- **Data:** https://www.ncbi.nlm.... | 64 | Add PubMed Central Open Access dataset
## Adding a Dataset
- **Name:** PubMed Central Open Access
- **Description:** The PMC Open Access Subset includes more than 3.4 million journal articles and preprints that are made available under license terms that allow reuse.
- **Paper:** *link to the dataset paper if avai... | [
0.01585133746266365,
0.2765920162200928,
-0.05212937667965889,
-0.07661733031272888,
0.0842338427901268,
0.06096538156270981,
0.16920572519302368,
0.17620331048965454,
0.027863554656505585,
0.02371741086244583,
-0.009645978920161724,
0.016648249700665474,
-0.21521759033203125,
-0.115404330... |
https://github.com/huggingface/datasets/issues/3518 | Add PubMed Central Open Access dataset | Why not ! Having them under such namespaces would also help people searching for this kind of datasets.
We can also invite people from pubmed at one point | ## Adding a Dataset
- **Name:** PubMed Central Open Access
- **Description:** The PMC Open Access Subset includes more than 3.4 million journal articles and preprints that are made available under license terms that allow reuse.
- **Paper:** *link to the dataset paper if available*
- **Data:** https://www.ncbi.nlm.... | 28 | Add PubMed Central Open Access dataset
## Adding a Dataset
- **Name:** PubMed Central Open Access
- **Description:** The PMC Open Access Subset includes more than 3.4 million journal articles and preprints that are made available under license terms that allow reuse.
- **Paper:** *link to the dataset paper if avai... | [
-0.128004252910614,
0.07426466047763824,
-0.21168546378612518,
-0.24492351710796356,
-0.07053251564502716,
0.06783630698919296,
0.26540613174438477,
0.3234456777572632,
0.009977415204048157,
0.26982757449150085,
-0.06520897150039673,
0.009517727419734001,
-0.2703082263469696,
0.06431002914... |
https://github.com/huggingface/datasets/issues/3510 | `wiki_dpr` details for Open Domain Question Answering tasks | Hi ! According to the DPR paper, the wikipedia dump is the one from Dec. 20, 2018.
Each instance contains a paragraph of at most 100 word, as well as the title of the wikipedia page it comes from and the DPR embedding (a 768-d vector). | Hey guys!
Thanks for creating the `wiki_dpr` dataset!
I am currently trying to use the dataset for context retrieval using DPR on NQ questions and need details about what each of the files and data instances mean, which version of the Wikipedia dump it uses, etc. Please respond at your earliest convenience regard... | 46 | `wiki_dpr` details for Open Domain Question Answering tasks
Hey guys!
Thanks for creating the `wiki_dpr` dataset!
I am currently trying to use the dataset for context retrieval using DPR on NQ questions and need details about what each of the files and data instances mean, which version of the Wikipedia dump it... | [
0.14680711925029755,
-0.35998833179473877,
-0.11042623221874237,
0.5688867568969727,
-0.2651131749153137,
0.007131263613700867,
0.14733079075813293,
0.11683675646781921,
-0.18016132712364197,
-0.23502446711063385,
-0.00670554768294096,
-0.010701596736907959,
0.0064399996772408485,
0.147855... |
https://github.com/huggingface/datasets/issues/3507 | Discuss whether support canonical datasets w/o dataset_infos.json and/or dummy data | IMO, the data streaming test is good enough of a test that the dataset works correctly (assuming that we can more or less ensure that if streaming works then the non-streaming case will also work), so that for datasets that have a working dataset preview, we can remove the dummy data IMO. On the other hand, it seems li... | I open this PR to have a public discussion about this topic and make a decision.
As previously discussed, once we have the metadata in the dataset card (README file, containing both Markdown info and YAML tags), what is the point of having also the JSON metadata (dataset_infos.json file)?
On the other hand, the d... | 105 | Discuss whether support canonical datasets w/o dataset_infos.json and/or dummy data
I open this PR to have a public discussion about this topic and make a decision.
As previously discussed, once we have the metadata in the dataset card (README file, containing both Markdown info and YAML tags), what is the point o... | [
-0.2486521303653717,
0.01376718282699585,
0.028252124786376953,
0.1720920354127884,
0.034842923283576965,
0.25060805678367615,
0.3021661937236786,
0.15518002212047577,
-0.19028706848621368,
0.0683339536190033,
0.21872054040431976,
0.06464946269989014,
-0.09335532784461975,
0.24436657130718... |
https://github.com/huggingface/datasets/issues/3507 | Discuss whether support canonical datasets w/o dataset_infos.json and/or dummy data | I don't know all the details, but generally I'd be in favor of unifying the metadata formats into YAML inside .md (and so deprecating the dataset_infos.json)
(Ultimately the CI can run on "HuggingFace Actions" instead of on GitHub) | I open this PR to have a public discussion about this topic and make a decision.
As previously discussed, once we have the metadata in the dataset card (README file, containing both Markdown info and YAML tags), what is the point of having also the JSON metadata (dataset_infos.json file)?
On the other hand, the d... | 38 | Discuss whether support canonical datasets w/o dataset_infos.json and/or dummy data
I open this PR to have a public discussion about this topic and make a decision.
As previously discussed, once we have the metadata in the dataset card (README file, containing both Markdown info and YAML tags), what is the point o... | [
-0.25657013058662415,
-0.013241320848464966,
0.046118494123220444,
0.14160078763961792,
0.13935987651348114,
0.25717559456825256,
0.3560965955257416,
0.1884700506925583,
-0.2326672375202179,
0.07810470461845398,
0.15270169079303741,
0.15504887700080872,
-0.10560673475265503,
0.294240862131... |
https://github.com/huggingface/datasets/issues/3507 | Discuss whether support canonical datasets w/o dataset_infos.json and/or dummy data | The dataset_infos.json file currently has these useful infos for each dataset configuration, that I think can be moved to the dataset tags:
- Size of the dataset in MB: download size, arrow file size, and total size (sum of download + arrow)
- Size of each split in MB and number of examples. Again this can be moved t... | I open this PR to have a public discussion about this topic and make a decision.
As previously discussed, once we have the metadata in the dataset card (README file, containing both Markdown info and YAML tags), what is the point of having also the JSON metadata (dataset_infos.json file)?
On the other hand, the d... | 355 | Discuss whether support canonical datasets w/o dataset_infos.json and/or dummy data
I open this PR to have a public discussion about this topic and make a decision.
As previously discussed, once we have the metadata in the dataset card (README file, containing both Markdown info and YAML tags), what is the point o... | [
-0.22109480202198029,
0.006916403770446777,
0.021333448588848114,
0.20003631711006165,
0.12442941218614578,
0.3079421818256378,
0.28000226616859436,
0.2172095626592636,
-0.07840568572282791,
0.09639455378055573,
0.2354327291250229,
0.1877370923757553,
-0.09008300304412842,
0.32758888602256... |
https://github.com/huggingface/datasets/issues/3507 | Discuss whether support canonical datasets w/o dataset_infos.json and/or dummy data | (note that if we wanted to display sizes, etc we could also pretty easily parse the `dataset_infos.json` on the hub side) | I open this PR to have a public discussion about this topic and make a decision.
As previously discussed, once we have the metadata in the dataset card (README file, containing both Markdown info and YAML tags), what is the point of having also the JSON metadata (dataset_infos.json file)?
On the other hand, the d... | 21 | Discuss whether support canonical datasets w/o dataset_infos.json and/or dummy data
I open this PR to have a public discussion about this topic and make a decision.
As previously discussed, once we have the metadata in the dataset card (README file, containing both Markdown info and YAML tags), what is the point o... | [
-0.2448802888393402,
-0.007273197174072266,
0.036581892520189285,
0.19655153155326843,
0.07877755165100098,
0.27384576201438904,
0.3356238603591919,
0.18309623003005981,
-0.15857426822185516,
0.115956149995327,
0.17450563609600067,
0.12919527292251587,
-0.03863098844885826,
0.2549442648887... |
https://github.com/huggingface/datasets/issues/3507 | Discuss whether support canonical datasets w/o dataset_infos.json and/or dummy data | I agree that we can move the relevant parts of `dataset_infos.json` to the YAML tags.
> On the other hand, it seems like not all datasets have streaming enabled yet and for those datasets (if they are used a lot), I think it would be nice to continue testing some dummy data. <
> > Yes indeed, or at least make sure ... | I open this PR to have a public discussion about this topic and make a decision.
As previously discussed, once we have the metadata in the dataset card (README file, containing both Markdown info and YAML tags), what is the point of having also the JSON metadata (dataset_infos.json file)?
On the other hand, the d... | 112 | Discuss whether support canonical datasets w/o dataset_infos.json and/or dummy data
I open this PR to have a public discussion about this topic and make a decision.
As previously discussed, once we have the metadata in the dataset card (README file, containing both Markdown info and YAML tags), what is the point o... | [
-0.28442317247390747,
-0.042415909469127655,
0.05156771466135979,
0.16138727962970734,
0.09215790778398514,
0.25157293677330017,
0.28953656554222107,
0.14879187941551208,
-0.1381629854440689,
0.0737658441066742,
0.22333769500255585,
0.059579815715551376,
-0.06997112184762955,
0.30077135562... |
https://github.com/huggingface/datasets/issues/3507 | Discuss whether support canonical datasets w/o dataset_infos.json and/or dummy data | About dummy data, please see e.g. this PR: https://github.com/huggingface/datasets/pull/3692/commits/62368daac0672041524a471386d5e78005cf357a
- I updated the previous dummy data: I just had to rename the file and its directory
- the dummy data zip contains only a single file: `pubmed22n0001.xml.gz`
Then I discov... | I open this PR to have a public discussion about this topic and make a decision.
As previously discussed, once we have the metadata in the dataset card (README file, containing both Markdown info and YAML tags), what is the point of having also the JSON metadata (dataset_infos.json file)?
On the other hand, the d... | 151 | Discuss whether support canonical datasets w/o dataset_infos.json and/or dummy data
I open this PR to have a public discussion about this topic and make a decision.
As previously discussed, once we have the metadata in the dataset card (README file, containing both Markdown info and YAML tags), what is the point o... | [
-0.1429855227470398,
-0.06084813177585602,
0.05508267506957054,
0.2112828493118286,
0.11361809074878693,
0.2524835467338562,
0.3205829858779907,
0.17419588565826416,
-0.11720973253250122,
0.12193138152360916,
0.11991123855113983,
0.023896731436252594,
-0.03773995861411095,
0.25676491856575... |
https://github.com/huggingface/datasets/issues/3507 | Discuss whether support canonical datasets w/o dataset_infos.json and/or dummy data | I mention in https://github.com/huggingface/datasets-server/wiki/Preliminary-design that the future "datasets server" could be in charge of generating both the dummy data and the dataset-info.json file if required (or their equivalent). | I open this PR to have a public discussion about this topic and make a decision.
As previously discussed, once we have the metadata in the dataset card (README file, containing both Markdown info and YAML tags), what is the point of having also the JSON metadata (dataset_infos.json file)?
On the other hand, the d... | 28 | Discuss whether support canonical datasets w/o dataset_infos.json and/or dummy data
I open this PR to have a public discussion about this topic and make a decision.
As previously discussed, once we have the metadata in the dataset card (README file, containing both Markdown info and YAML tags), what is the point o... | [
-0.17771409451961517,
-0.003646448254585266,
0.053685519844293594,
0.21574874222278595,
0.06342771649360657,
0.23231199383735657,
0.35237497091293335,
0.15566760301589966,
-0.16727043688297272,
0.10260729491710663,
0.17882311344146729,
0.0926266685128212,
-0.04862184077501297,
0.3518213033... |
https://github.com/huggingface/datasets/issues/3507 | Discuss whether support canonical datasets w/o dataset_infos.json and/or dummy data | Hi ! I think dummy data generation is out of scope for the datasets server, since it's about generating the original data files.
That would be amazing to have it generate the dataset_infos.json though ! | I open this PR to have a public discussion about this topic and make a decision.
As previously discussed, once we have the metadata in the dataset card (README file, containing both Markdown info and YAML tags), what is the point of having also the JSON metadata (dataset_infos.json file)?
On the other hand, the d... | 35 | Discuss whether support canonical datasets w/o dataset_infos.json and/or dummy data
I open this PR to have a public discussion about this topic and make a decision.
As previously discussed, once we have the metadata in the dataset card (README file, containing both Markdown info and YAML tags), what is the point o... | [
-0.1948585957288742,
0.01023302972316742,
0.050585176795721054,
0.2380981296300888,
0.05204762518405914,
0.23545217514038086,
0.3769235610961914,
0.11854058504104614,
-0.18129301071166992,
0.05046837031841278,
0.18597033619880676,
0.12055022269487381,
-0.06869538128376007,
0.25146222114562... |
https://github.com/huggingface/datasets/issues/3507 | Discuss whether support canonical datasets w/o dataset_infos.json and/or dummy data | From some offline discussion with @mariosasko and especially for vision datasets, we'll probably not require dummy data anymore and use streaming instead :) This will make adding a new dataset much easier.
This should also make sure that streaming works as expected directly in the CI, without having to check the datas... | I open this PR to have a public discussion about this topic and make a decision.
As previously discussed, once we have the metadata in the dataset card (README file, containing both Markdown info and YAML tags), what is the point of having also the JSON metadata (dataset_infos.json file)?
On the other hand, the d... | 58 | Discuss whether support canonical datasets w/o dataset_infos.json and/or dummy data
I open this PR to have a public discussion about this topic and make a decision.
As previously discussed, once we have the metadata in the dataset card (README file, containing both Markdown info and YAML tags), what is the point o... | [
-0.324167400598526,
0.002832934260368347,
0.053067076951265335,
0.12279078364372253,
0.08897972851991653,
0.21991240978240967,
0.25521403551101685,
0.181075781583786,
-0.15120069682598114,
0.09831556677818298,
0.17190608382225037,
0.12442676723003387,
-0.03384266048669815,
0.32665526866912... |
https://github.com/huggingface/datasets/issues/3507 | Discuss whether support canonical datasets w/o dataset_infos.json and/or dummy data | It seems that migration from dataset-info.json to dataset card YAML has been acted.
Probably it's a good idea, but I didn't find the pros and cons of this decision, so I put some I could think of:
pros:
- only one file to parse, share, sync
- it gives a hint to the users that if you write your dataset card, you... | I open this PR to have a public discussion about this topic and make a decision.
As previously discussed, once we have the metadata in the dataset card (README file, containing both Markdown info and YAML tags), what is the point of having also the JSON metadata (dataset_infos.json file)?
On the other hand, the d... | 210 | Discuss whether support canonical datasets w/o dataset_infos.json and/or dummy data
I open this PR to have a public discussion about this topic and make a decision.
As previously discussed, once we have the metadata in the dataset card (README file, containing both Markdown info and YAML tags), what is the point o... | [
-0.2458127737045288,
0.07256282866001129,
0.04908575490117073,
0.13744309544563293,
0.09605336934328079,
0.2946304976940155,
0.37755298614501953,
0.23256556689739227,
-0.22600814700126648,
0.057887107133865356,
0.20449449121952057,
0.16164752840995789,
-0.07374488562345505,
0.1169883385300... |
https://github.com/huggingface/datasets/issues/3507 | Discuss whether support canonical datasets w/o dataset_infos.json and/or dummy data | > the metadata header might be very long, before reaching the start of the README/dataset card. It might be surprising when you edit the file because the metadata is not shown on top when the dataset card is rendered (dataset page). It also somewhat prevents including large strings like the checksums
Note that we co... | I open this PR to have a public discussion about this topic and make a decision.
As previously discussed, once we have the metadata in the dataset card (README file, containing both Markdown info and YAML tags), what is the point of having also the JSON metadata (dataset_infos.json file)?
On the other hand, the d... | 214 | Discuss whether support canonical datasets w/o dataset_infos.json and/or dummy data
I open this PR to have a public discussion about this topic and make a decision.
As previously discussed, once we have the metadata in the dataset card (README file, containing both Markdown info and YAML tags), what is the point o... | [
-0.20322895050048828,
0.027549296617507935,
0.05728735402226448,
0.19546113908290863,
0.1391560435295105,
0.24962255358695984,
0.4129854142665863,
0.19449476897716522,
-0.11122770607471466,
0.07887439429759979,
0.19154959917068481,
0.15326370298862457,
-0.013792457990348339,
0.241887286305... |
https://github.com/huggingface/datasets/issues/3507 | Discuss whether support canonical datasets w/o dataset_infos.json and/or dummy data | > the metadata header might be very long, before reaching the start of the README/dataset card. It might be surprising when you edit the file because the metadata is not shown on top when the dataset card is rendered (dataset page). It also somewhat prevents including large strings like the checksums
We can definite... | I open this PR to have a public discussion about this topic and make a decision.
As previously discussed, once we have the metadata in the dataset card (README file, containing both Markdown info and YAML tags), what is the point of having also the JSON metadata (dataset_infos.json file)?
On the other hand, the d... | 66 | Discuss whether support canonical datasets w/o dataset_infos.json and/or dummy data
I open this PR to have a public discussion about this topic and make a decision.
As previously discussed, once we have the metadata in the dataset card (README file, containing both Markdown info and YAML tags), what is the point o... | [
-0.25254788994789124,
-0.004523247480392456,
0.04225844517350197,
0.21928662061691284,
0.10784964263439178,
0.26155564188957214,
0.32540297508239746,
0.20544373989105225,
-0.13672010600566864,
0.09937528520822525,
0.17844034731388092,
0.18670280277729034,
-0.015996210277080536,
0.216887608... |
https://github.com/huggingface/datasets/issues/3507 | Discuss whether support canonical datasets w/o dataset_infos.json and/or dummy data | Tensorflow Datasets catalog includes a community catalog where you can find and use HF datasets (see [here](https://www.tensorflow.org/datasets/community_catalog/huggingface)).
FYI I noticed today that they are using the exported dataset_infos.json files from github to get the metadata (see their code [here](https:/... | I open this PR to have a public discussion about this topic and make a decision.
As previously discussed, once we have the metadata in the dataset card (README file, containing both Markdown info and YAML tags), what is the point of having also the JSON metadata (dataset_infos.json file)?
On the other hand, the d... | 39 | Discuss whether support canonical datasets w/o dataset_infos.json and/or dummy data
I open this PR to have a public discussion about this topic and make a decision.
As previously discussed, once we have the metadata in the dataset card (README file, containing both Markdown info and YAML tags), what is the point o... | [
-0.1930965781211853,
-0.040893249213695526,
0.01713692769408226,
0.14837098121643066,
0.08371935784816742,
0.23522958159446716,
0.4617835283279419,
0.3679295778274536,
-0.1482820361852646,
0.13708829879760742,
0.07995294034481049,
0.09779886901378632,
-0.042513322085142136,
0.1569616198539... |
https://github.com/huggingface/datasets/issues/3507 | Discuss whether support canonical datasets w/o dataset_infos.json and/or dummy data | Metadata is now stored as YAML, and dummy data is deprecated, so I think we can close this issue. | I open this PR to have a public discussion about this topic and make a decision.
As previously discussed, once we have the metadata in the dataset card (README file, containing both Markdown info and YAML tags), what is the point of having also the JSON metadata (dataset_infos.json file)?
On the other hand, the d... | 19 | Discuss whether support canonical datasets w/o dataset_infos.json and/or dummy data
I open this PR to have a public discussion about this topic and make a decision.
As previously discussed, once we have the metadata in the dataset card (README file, containing both Markdown info and YAML tags), what is the point o... | [
-0.24770216643810272,
-0.020319752395153046,
0.05447826161980629,
0.1941930055618286,
0.12081322073936462,
0.2510818839073181,
0.3106643557548523,
0.16330312192440033,
-0.17735576629638672,
0.0890023410320282,
0.16952423751354218,
0.16496071219444275,
-0.06199508160352707,
0.24117861688137... |
https://github.com/huggingface/datasets/issues/3505 | cast_column function not working with map function in streaming mode for Audio features | Hi! This is probably due to the fact that `IterableDataset.map` sets `features` to `None` before mapping examples. We can fix the issue by passing the old `features` dict to the map generator and performing encoding/decoding there (before calling the map transform function). | ## Describe the bug
I am trying to use Audio class for loading audio features using custom dataset. I am able to cast 'audio' feature into 'Audio' format with cast_column function. On using map function, I am not getting 'Audio' casted feature but getting path of audio file only.
I am getting features of 'audio' of s... | 42 | cast_column function not working with map function in streaming mode for Audio features
## Describe the bug
I am trying to use Audio class for loading audio features using custom dataset. I am able to cast 'audio' feature into 'Audio' format with cast_column function. On using map function, I am not getting 'Audio' ... | [
-0.26222991943359375,
-0.20250637829303741,
-0.026661690324544907,
0.35771673917770386,
0.602731466293335,
-0.22969388961791992,
0.34197038412094116,
0.30294618010520935,
0.297656774520874,
-0.06160461902618408,
-0.05200198292732239,
0.7353789806365967,
-0.17074760794639587,
0.194596469402... |
https://github.com/huggingface/datasets/issues/3504 | Unable to download PUBMED_title_abstracts_2019_baseline.jsonl.zst | Hi @ToddMorrill, thanks for reporting.
Three weeks ago I contacted the team who created the Pile dataset to report this issue with their data host server: https://the-eye.eu
They told me that unfortunately, the-eye was heavily affected by the recent tornado catastrophe in the US. They hope to have their data back... | ## Describe the bug
I am unable to download the PubMed dataset from the link provided in the [Hugging Face Course (Chapter 5 Section 4)](https://huggingface.co/course/chapter5/4?fw=pt).
https://the-eye.eu/public/AI/pile_preliminary_components/PUBMED_title_abstracts_2019_baseline.jsonl.zst
## Steps to reproduce ... | 53 | Unable to download PUBMED_title_abstracts_2019_baseline.jsonl.zst
## Describe the bug
I am unable to download the PubMed dataset from the link provided in the [Hugging Face Course (Chapter 5 Section 4)](https://huggingface.co/course/chapter5/4?fw=pt).
https://the-eye.eu/public/AI/pile_preliminary_components/PUBME... | [
0.07934160530567169,
-0.1990925371646881,
-0.014974961057305336,
0.3214185833930969,
0.04156925156712532,
0.09885086864233017,
0.2786989212036133,
0.3070807456970215,
-0.025631820783019066,
0.024176985025405884,
0.02131858840584755,
0.06498605012893677,
0.261477530002594,
-0.00905174016952... |
https://github.com/huggingface/datasets/issues/3504 | Unable to download PUBMED_title_abstracts_2019_baseline.jsonl.zst | Hi @ToddMorrill, people from the Pile team have mirrored their data in a new host server: https://mystic.the-eye.eu
See:
- #3627
It should work if you update your URL.
We should also update the URL in our course material. | ## Describe the bug
I am unable to download the PubMed dataset from the link provided in the [Hugging Face Course (Chapter 5 Section 4)](https://huggingface.co/course/chapter5/4?fw=pt).
https://the-eye.eu/public/AI/pile_preliminary_components/PUBMED_title_abstracts_2019_baseline.jsonl.zst
## Steps to reproduce ... | 38 | Unable to download PUBMED_title_abstracts_2019_baseline.jsonl.zst
## Describe the bug
I am unable to download the PubMed dataset from the link provided in the [Hugging Face Course (Chapter 5 Section 4)](https://huggingface.co/course/chapter5/4?fw=pt).
https://the-eye.eu/public/AI/pile_preliminary_components/PUBME... | [
0.07934160530567169,
-0.1990925371646881,
-0.014974961057305336,
0.3214185833930969,
0.04156925156712532,
0.09885086864233017,
0.2786989212036133,
0.3070807456970215,
-0.025631820783019066,
0.024176985025405884,
0.02131858840584755,
0.06498605012893677,
0.261477530002594,
-0.00905174016952... |
https://github.com/huggingface/datasets/issues/3504 | Unable to download PUBMED_title_abstracts_2019_baseline.jsonl.zst | The old URL is still present in the HuggingFace course here:
https://huggingface.co/course/chapter5/4?fw=pt
I have created a PR for the Notebook here: https://github.com/huggingface/notebooks/pull/148
Not sure if the HTML is in a public repo. I wasn't able to find it. | ## Describe the bug
I am unable to download the PubMed dataset from the link provided in the [Hugging Face Course (Chapter 5 Section 4)](https://huggingface.co/course/chapter5/4?fw=pt).
https://the-eye.eu/public/AI/pile_preliminary_components/PUBMED_title_abstracts_2019_baseline.jsonl.zst
## Steps to reproduce ... | 38 | Unable to download PUBMED_title_abstracts_2019_baseline.jsonl.zst
## Describe the bug
I am unable to download the PubMed dataset from the link provided in the [Hugging Face Course (Chapter 5 Section 4)](https://huggingface.co/course/chapter5/4?fw=pt).
https://the-eye.eu/public/AI/pile_preliminary_components/PUBME... | [
0.07934160530567169,
-0.1990925371646881,
-0.014974961057305336,
0.3214185833930969,
0.04156925156712532,
0.09885086864233017,
0.2786989212036133,
0.3070807456970215,
-0.025631820783019066,
0.024176985025405884,
0.02131858840584755,
0.06498605012893677,
0.261477530002594,
-0.00905174016952... |
https://github.com/huggingface/datasets/issues/3504 | Unable to download PUBMED_title_abstracts_2019_baseline.jsonl.zst | Both URLs are broken now
`HTTPError: 404 Client Error: Not Found for URL: https://the-eye.eu/public/AI/pile_preliminary_components/PUBMED_title_abstracts_2019_baseline.jsonl.zst`
And
`ConnectTimeout: HTTPSConnectionPool(host='mystic.the-eye.eu', port=443): Max retries exceeded with url: /public/AI/pile_preliminary_c... | ## Describe the bug
I am unable to download the PubMed dataset from the link provided in the [Hugging Face Course (Chapter 5 Section 4)](https://huggingface.co/course/chapter5/4?fw=pt).
https://the-eye.eu/public/AI/pile_preliminary_components/PUBMED_title_abstracts_2019_baseline.jsonl.zst
## Steps to reproduce ... | 34 | Unable to download PUBMED_title_abstracts_2019_baseline.jsonl.zst
## Describe the bug
I am unable to download the PubMed dataset from the link provided in the [Hugging Face Course (Chapter 5 Section 4)](https://huggingface.co/course/chapter5/4?fw=pt).
https://the-eye.eu/public/AI/pile_preliminary_components/PUBME... | [
0.07934160530567169,
-0.1990925371646881,
-0.014974961057305336,
0.3214185833930969,
0.04156925156712532,
0.09885086864233017,
0.2786989212036133,
0.3070807456970215,
-0.025631820783019066,
0.024176985025405884,
0.02131858840584755,
0.06498605012893677,
0.261477530002594,
-0.00905174016952... |
https://github.com/huggingface/datasets/issues/3504 | Unable to download PUBMED_title_abstracts_2019_baseline.jsonl.zst | I was able to find a torrent with "The Pile" dataset here: [The Pile An 800GB Dataset of Diverse Text for Language Modeling ](https://academictorrents.com/details/0d366035664fdf51cfbe9f733953ba325776e667)
The complete dataset is huge, so I would suggest you to download only the "PUBMED_title_abstracts_2019_baseline.... | ## Describe the bug
I am unable to download the PubMed dataset from the link provided in the [Hugging Face Course (Chapter 5 Section 4)](https://huggingface.co/course/chapter5/4?fw=pt).
https://the-eye.eu/public/AI/pile_preliminary_components/PUBMED_title_abstracts_2019_baseline.jsonl.zst
## Steps to reproduce ... | 66 | Unable to download PUBMED_title_abstracts_2019_baseline.jsonl.zst
## Describe the bug
I am unable to download the PubMed dataset from the link provided in the [Hugging Face Course (Chapter 5 Section 4)](https://huggingface.co/course/chapter5/4?fw=pt).
https://the-eye.eu/public/AI/pile_preliminary_components/PUBME... | [
0.07934160530567169,
-0.1990925371646881,
-0.014974961057305336,
0.3214185833930969,
0.04156925156712532,
0.09885086864233017,
0.2786989212036133,
0.3070807456970215,
-0.025631820783019066,
0.024176985025405884,
0.02131858840584755,
0.06498605012893677,
0.261477530002594,
-0.00905174016952... |
https://github.com/huggingface/datasets/issues/3504 | Unable to download PUBMED_title_abstracts_2019_baseline.jsonl.zst | @albertvillanova another issue:
```
15 experiment_compute_diveristy_coeff_single_dataset_then_combined_datasets_with_domain_weights()
16 File "/lfs/ampere1/0/brando9/beyond-scale-language-data-diversity/src/diversity/div_coeff.py", line 474, in experiment_compute_diveristy_coeff_single_dataset_then_combined_da... | ## Describe the bug
I am unable to download the PubMed dataset from the link provided in the [Hugging Face Course (Chapter 5 Section 4)](https://huggingface.co/course/chapter5/4?fw=pt).
https://the-eye.eu/public/AI/pile_preliminary_components/PUBMED_title_abstracts_2019_baseline.jsonl.zst
## Steps to reproduce ... | 182 | Unable to download PUBMED_title_abstracts_2019_baseline.jsonl.zst
## Describe the bug
I am unable to download the PubMed dataset from the link provided in the [Hugging Face Course (Chapter 5 Section 4)](https://huggingface.co/course/chapter5/4?fw=pt).
https://the-eye.eu/public/AI/pile_preliminary_components/PUBME... | [
0.07934160530567169,
-0.1990925371646881,
-0.014974961057305336,
0.3214185833930969,
0.04156925156712532,
0.09885086864233017,
0.2786989212036133,
0.3070807456970215,
-0.025631820783019066,
0.024176985025405884,
0.02131858840584755,
0.06498605012893677,
0.261477530002594,
-0.00905174016952... |
https://github.com/huggingface/datasets/issues/3504 | Unable to download PUBMED_title_abstracts_2019_baseline.jsonl.zst | this seems to work but it's rather annoying.
Summary of how to make it work:
1. get urls to parquet files into a list
2. load list to load_dataset via `load_dataset('parquet', data_files=urls)` (note api names to hf are really confusing sometimes)
3. then it should work, print a batch of text.
presudo code
``... | ## Describe the bug
I am unable to download the PubMed dataset from the link provided in the [Hugging Face Course (Chapter 5 Section 4)](https://huggingface.co/course/chapter5/4?fw=pt).
https://the-eye.eu/public/AI/pile_preliminary_components/PUBMED_title_abstracts_2019_baseline.jsonl.zst
## Steps to reproduce ... | 319 | Unable to download PUBMED_title_abstracts_2019_baseline.jsonl.zst
## Describe the bug
I am unable to download the PubMed dataset from the link provided in the [Hugging Face Course (Chapter 5 Section 4)](https://huggingface.co/course/chapter5/4?fw=pt).
https://the-eye.eu/public/AI/pile_preliminary_components/PUBME... | [
0.07934160530567169,
-0.1990925371646881,
-0.014974961057305336,
0.3214185833930969,
0.04156925156712532,
0.09885086864233017,
0.2786989212036133,
0.3070807456970215,
-0.025631820783019066,
0.024176985025405884,
0.02131858840584755,
0.06498605012893677,
0.261477530002594,
-0.00905174016952... |
https://github.com/huggingface/datasets/issues/3504 | Unable to download PUBMED_title_abstracts_2019_baseline.jsonl.zst | If some people stumble upon this thread and still have this problem, i reuploaded the dataset to HF [here](https://huggingface.co/datasets/casinca/PUBMED_title_abstracts_2019_baseline)
Its the exact same dataset you just have to change the url from the course, for example:
```python
from datasets import load_dat... | ## Describe the bug
I am unable to download the PubMed dataset from the link provided in the [Hugging Face Course (Chapter 5 Section 4)](https://huggingface.co/course/chapter5/4?fw=pt).
https://the-eye.eu/public/AI/pile_preliminary_components/PUBMED_title_abstracts_2019_baseline.jsonl.zst
## Steps to reproduce ... | 57 | Unable to download PUBMED_title_abstracts_2019_baseline.jsonl.zst
## Describe the bug
I am unable to download the PubMed dataset from the link provided in the [Hugging Face Course (Chapter 5 Section 4)](https://huggingface.co/course/chapter5/4?fw=pt).
https://the-eye.eu/public/AI/pile_preliminary_components/PUBME... | [
0.07934160530567169,
-0.1990925371646881,
-0.014974961057305336,
0.3214185833930969,
0.04156925156712532,
0.09885086864233017,
0.2786989212036133,
0.3070807456970215,
-0.025631820783019066,
0.024176985025405884,
0.02131858840584755,
0.06498605012893677,
0.261477530002594,
-0.00905174016952... |
https://github.com/huggingface/datasets/issues/3499 | Adjusting chunk size for streaming datasets | Hi ! Data streaming uses `fsspec` to read the data files progressively. IIRC the block size for buffering is 5MiB by default. So every time you finish iterating over a block, it downloads the next one. You can still try to increase the `fsspec` block size for buffering if it can help. To do so you just need to increase... | **Is your feature request related to a problem? Please describe.**
I want to use mc4 which I cannot save locally, so I stream it. However, I want to process the entire dataset and filter some documents from it. With the current chunk size of around 1000 documents (right?) I hit a performance bottleneck because of the ... | 99 | Adjusting chunk size for streaming datasets
**Is your feature request related to a problem? Please describe.**
I want to use mc4 which I cannot save locally, so I stream it. However, I want to process the entire dataset and filter some documents from it. With the current chunk size of around 1000 documents (right?) ... | [
-0.5548549294471741,
-0.206094890832901,
-0.1399073749780655,
0.07090190052986145,
0.09567569196224213,
0.0037740394473075867,
-0.15153127908706665,
0.32437413930892944,
-0.13752539455890656,
0.22038674354553223,
0.08629611879587173,
-0.097108855843544,
-0.19581405818462372,
0.590154111385... |
https://github.com/huggingface/datasets/issues/3490 | Does datasets support load text from HDFS? | Hi ! `datasets` currently supports reading local files or files over HTTP. We may add support for other filesystems (cloud storages, hdfs...) at one point though :) | The raw text data is stored on HDFS due to the dataset's size is too large to store on my develop machine,
so I wander does datasets support read data from hdfs? | 27 | Does datasets support load text from HDFS?
The raw text data is stored on HDFS due to the dataset's size is too large to store on my develop machine,
so I wander does datasets support read data from hdfs?
Hi ! `datasets` currently supports reading local files or files over HTTP. We may add support for other files... | [
-0.39712488651275635,
0.07711346447467804,
-0.21875321865081787,
0.39796561002731323,
0.08187796175479889,
-0.051611676812171936,
0.39471277594566345,
0.020353440195322037,
0.3752121031284332,
-0.010376155376434326,
-0.40989407896995544,
-0.11322961002588272,
0.04581457003951073,
0.4414333... |
https://github.com/huggingface/datasets/issues/3488 | URL query parameters are set as path in the compression hop for fsspec | I think the test passes because it simply ignore what's after `gzip://`.
The returned urlpath is expected to look like `gzip://filename::url`, and the filename is currently considered to be what's after the final `/`, hence the result.
We can decide to change this and simply have `gzip://::url`, this way we don't... | ## Describe the bug
There is an ssue with `StreamingDownloadManager._extract`.
I don't know how the test `test_streaming_gg_drive_gzipped` passes:
For
```python
TEST_GG_DRIVE_GZIPPED_URL = "https://drive.google.com/uc?export=download&id=1Bt4Garpf0QLiwkJhHJzXaVa0I0H5Qhwz"
urlpath = StreamingDownloadManager().... | 61 | URL query parameters are set as path in the compression hop for fsspec
## Describe the bug
There is an ssue with `StreamingDownloadManager._extract`.
I don't know how the test `test_streaming_gg_drive_gzipped` passes:
For
```python
TEST_GG_DRIVE_GZIPPED_URL = "https://drive.google.com/uc?export=download&id=... | [
-0.12007495760917664,
-0.26689329743385315,
0.06692130863666534,
0.10358435660600662,
0.1400492787361145,
-0.08404958993196487,
0.013570614159107208,
0.1877431571483612,
-0.13668455183506012,
0.30314645171165466,
0.10423871874809265,
0.07781865447759628,
0.14256739616394043,
0.209991171956... |
https://github.com/huggingface/datasets/issues/3485 | skip columns which cannot set to specific format when set_format | You can add columns that you wish to set into `torch` format using `dataset.set_format("torch", ['id', 'abc'])` so that input batch of the transform only contains those columns | **Is your feature request related to a problem? Please describe.**
When using `dataset.set_format("torch")`, I must make sure every columns in datasets can convert to `torch`, however, sometimes I want to keep some string columns.
**Describe the solution you'd like**
skip columns which cannot set to specific forma... | 27 | skip columns which cannot set to specific format when set_format
**Is your feature request related to a problem? Please describe.**
When using `dataset.set_format("torch")`, I must make sure every columns in datasets can convert to `torch`, however, sometimes I want to keep some string columns.
**Describe the sol... | [
-0.3243050277233124,
-0.19460240006446838,
-0.03887799009680748,
-0.1543872058391571,
0.47415322065353394,
0.28560206294059753,
0.28401097655296326,
0.4905923306941986,
-0.3940930664539337,
0.09336221218109131,
-0.026392165571451187,
0.29871809482574463,
-0.062350787222385406,
0.3534398376... |
https://github.com/huggingface/datasets/issues/3485 | skip columns which cannot set to specific format when set_format | Sorry, I miss `output_all_columns` args and thought after `dataset.set_format("torch", columns=columns)` I can only get specific columns I assigned. | **Is your feature request related to a problem? Please describe.**
When using `dataset.set_format("torch")`, I must make sure every columns in datasets can convert to `torch`, however, sometimes I want to keep some string columns.
**Describe the solution you'd like**
skip columns which cannot set to specific forma... | 18 | skip columns which cannot set to specific format when set_format
**Is your feature request related to a problem? Please describe.**
When using `dataset.set_format("torch")`, I must make sure every columns in datasets can convert to `torch`, however, sometimes I want to keep some string columns.
**Describe the sol... | [
-0.2914406955242157,
-0.2245158851146698,
-0.0692838579416275,
-0.12429231405258179,
0.4770970940589905,
0.3206249475479126,
0.1285245716571808,
0.5214928388595581,
-0.333149790763855,
0.23110491037368774,
-0.028550831601023674,
0.3594094216823578,
-0.11132121831178665,
0.31878772377967834... |
https://github.com/huggingface/datasets/issues/3484 | make shape verification to use ArrayXD instead of nested lists for map | Hi!
Yes, this makes sense for numeric values, but first I have to finish https://github.com/huggingface/datasets/pull/3336 because currently ArrayXD only allows the first dimension to be dynamic. | As describe in https://github.com/huggingface/datasets/issues/2005#issuecomment-793716753 and mentioned by @mariosasko in [image feature example](https://colab.research.google.com/drive/1mIrTnqTVkWLJWoBzT1ABSe-LFelIep1c#scrollTo=ow3XHDvf2I0B&line=1&uniqifier=1), IMO make shape verifcaiton to use ArrayXD instead of nest... | 26 | make shape verification to use ArrayXD instead of nested lists for map
As describe in https://github.com/huggingface/datasets/issues/2005#issuecomment-793716753 and mentioned by @mariosasko in [image feature example](https://colab.research.google.com/drive/1mIrTnqTVkWLJWoBzT1ABSe-LFelIep1c#scrollTo=ow3XHDvf2I0B&line=... | [
-0.3617066442966461,
-0.4997360408306122,
-0.1934598833322525,
0.23829716444015503,
0.33407968282699585,
-0.09004351496696472,
0.36552584171295166,
0.2702300250530243,
0.4711218774318695,
0.27278822660446167,
-0.013780511915683746,
0.10766973346471786,
-0.05609700828790665,
0.2658047378063... |
https://github.com/huggingface/datasets/issues/3480 | the compression format requested when saving a dataset in json format is not respected | Thanks for reporting @SaulLu.
At first sight I think the problem is caused because `pandas` only takes into account the `compression` parameter if called with a non-null file path or buffer. And in our implementation, we call pandas `to_json` with `None` `path_or_buf`.
We should fix this:
- either handling direc... | ## Describe the bug
In the documentation of the `to_json` method, it is stated in the parameters that
> **to_json_kwargs – Parameters to pass to pandas’s pandas.DataFrame.to_json.
however when we pass for example `compression="gzip"`, the saved file is not compressed.
Would you also have expected compression t... | 67 | the compression format requested when saving a dataset in json format is not respected
## Describe the bug
In the documentation of the `to_json` method, it is stated in the parameters that
> **to_json_kwargs – Parameters to pass to pandas’s pandas.DataFrame.to_json.
however when we pass for example `compression... | [
0.0959547758102417,
0.08432638645172119,
0.005243215709924698,
0.12493056803941727,
0.23112307488918304,
0.22844535112380981,
0.13741560280323029,
0.7355430126190186,
-0.16820573806762695,
0.032264456152915955,
0.09887239336967468,
0.6285890936851501,
0.16685478389263153,
-0.17793698608875... |
https://github.com/huggingface/datasets/issues/3480 | the compression format requested when saving a dataset in json format is not respected | I was thinking if we can handle the `compression` parameter by ourselves? Compression types will be similar to what `pandas` offer. Initially, we can try this with 2-3 compression types and see how good/bad it is? Let me know if it sounds good, I can raise a PR for this next week | ## Describe the bug
In the documentation of the `to_json` method, it is stated in the parameters that
> **to_json_kwargs – Parameters to pass to pandas’s pandas.DataFrame.to_json.
however when we pass for example `compression="gzip"`, the saved file is not compressed.
Would you also have expected compression t... | 52 | the compression format requested when saving a dataset in json format is not respected
## Describe the bug
In the documentation of the `to_json` method, it is stated in the parameters that
> **to_json_kwargs – Parameters to pass to pandas’s pandas.DataFrame.to_json.
however when we pass for example `compression... | [
0.0959547758102417,
0.08432638645172119,
0.005243215709924698,
0.12493056803941727,
0.23112307488918304,
0.22844535112380981,
0.13741560280323029,
0.7355430126190186,
-0.16820573806762695,
0.032264456152915955,
0.09887239336967468,
0.6285890936851501,
0.16685478389263153,
-0.17793698608875... |
https://github.com/huggingface/datasets/issues/3480 | the compression format requested when saving a dataset in json format is not respected | Hi ! Thanks for your help @bhavitvyamalik :)
Maybe let's start with `gzip` ? I think it's the most common use case, then if we're fine with it we can add other compression methods | ## Describe the bug
In the documentation of the `to_json` method, it is stated in the parameters that
> **to_json_kwargs – Parameters to pass to pandas’s pandas.DataFrame.to_json.
however when we pass for example `compression="gzip"`, the saved file is not compressed.
Would you also have expected compression t... | 34 | the compression format requested when saving a dataset in json format is not respected
## Describe the bug
In the documentation of the `to_json` method, it is stated in the parameters that
> **to_json_kwargs – Parameters to pass to pandas’s pandas.DataFrame.to_json.
however when we pass for example `compression... | [
0.0959547758102417,
0.08432638645172119,
0.005243215709924698,
0.12493056803941727,
0.23112307488918304,
0.22844535112380981,
0.13741560280323029,
0.7355430126190186,
-0.16820573806762695,
0.032264456152915955,
0.09887239336967468,
0.6285890936851501,
0.16685478389263153,
-0.17793698608875... |
https://github.com/huggingface/datasets/issues/3475 | The rotten_tomatoes dataset of movie reviews contains some reviews in Spanish | Hi @puzzler10, thanks for reporting.
Please note this dataset is not hosted on Hugging Face Hub. See:
https://github.com/huggingface/datasets/blob/c8f914473b041833fd47178fa4373cdcb56ac522/datasets/rotten_tomatoes/rotten_tomatoes.py#L42
If there are issues with the source data of a dataset, you should contact th... | ## Describe the bug
See title. I don't think this is intentional and they probably should be removed. If they stay the dataset description should be at least updated to make it clear to the user.
## Steps to reproduce the bug
Go to the [dataset viewer](https://huggingface.co/datasets/viewer/?dataset=rotten_tomato... | 95 | The rotten_tomatoes dataset of movie reviews contains some reviews in Spanish
## Describe the bug
See title. I don't think this is intentional and they probably should be removed. If they stay the dataset description should be at least updated to make it clear to the user.
## Steps to reproduce the bug
Go to t... | [
0.07759800553321838,
0.33838096261024475,
-0.15749241411685944,
0.2872698903083801,
0.34337252378463745,
0.20872202515602112,
0.09299162030220032,
0.24789990484714508,
-0.11743099987506866,
0.09672485291957855,
-0.48157206177711487,
0.003395222593098879,
0.01146139670163393,
-0.17560151219... |
https://github.com/huggingface/datasets/issues/3473 | Iterating over a vision dataset doesn't decode the images | As discussed, I remember I set `decoded=False` here to avoid decoding just by iterating over examples of dataset. We wanted to decode only if the "audio" field (for Audio feature) was accessed. | ## Describe the bug
If I load `mnist` and I iterate over the dataset, the images are not decoded, and the dictionary with the bytes is returned.
## Steps to reproduce the bug
```python
from datasets import load_dataset
import PIL
mnist = load_dataset("mnist", split="train")
first_image = mnist[0]["image"... | 32 | Iterating over a vision dataset doesn't decode the images
## Describe the bug
If I load `mnist` and I iterate over the dataset, the images are not decoded, and the dictionary with the bytes is returned.
## Steps to reproduce the bug
```python
from datasets import load_dataset
import PIL
mnist = load_datas... | [
-0.12675879895687103,
-0.3187018632888794,
-0.05628088116645813,
0.4169412851333618,
0.2039802223443985,
-0.04843674600124359,
0.1617487519979477,
0.04892897605895996,
-0.052603475749492645,
0.26636844873428345,
0.09700842201709747,
0.5622793436050415,
-0.07721976190805435,
-0.198400303721... |
https://github.com/huggingface/datasets/issues/3473 | Iterating over a vision dataset doesn't decode the images | > I set decoded=False here to avoid decoding just by iterating over examples of dataset. We wanted to decode only if the "audio" field (for Audio feature) was accessed
https://github.com/huggingface/datasets/pull/3430 will add more control to decoding, so I think it's OK to enable decoding in `__iter__` for now. Aft... | ## Describe the bug
If I load `mnist` and I iterate over the dataset, the images are not decoded, and the dictionary with the bytes is returned.
## Steps to reproduce the bug
```python
from datasets import load_dataset
import PIL
mnist = load_dataset("mnist", split="train")
first_image = mnist[0]["image"... | 61 | Iterating over a vision dataset doesn't decode the images
## Describe the bug
If I load `mnist` and I iterate over the dataset, the images are not decoded, and the dictionary with the bytes is returned.
## Steps to reproduce the bug
```python
from datasets import load_dataset
import PIL
mnist = load_datas... | [
-0.15680868923664093,
-0.33360302448272705,
-0.06138946861028671,
0.4453427791595459,
0.23573559522628784,
-0.055311352014541626,
0.10465049743652344,
0.018134931102395058,
-0.06826356053352356,
0.24945339560508728,
0.07045582681894302,
0.5809369087219238,
-0.10202942043542862,
-0.16115061... |
https://github.com/huggingface/datasets/issues/3473 | Iterating over a vision dataset doesn't decode the images | @mariosasko I wonder why there is no issue in `Audio` feature with decoding disabled in `__iter__`, whereas there is in `Image` feature.
Enabling decoding in `__iter__` will make fail Audio regressions tests: https://github.com/huggingface/datasets/runs/4608657230?check_suite_focus=true
```
=======================... | ## Describe the bug
If I load `mnist` and I iterate over the dataset, the images are not decoded, and the dictionary with the bytes is returned.
## Steps to reproduce the bug
```python
from datasets import load_dataset
import PIL
mnist = load_dataset("mnist", split="train")
first_image = mnist[0]["image"... | 52 | Iterating over a vision dataset doesn't decode the images
## Describe the bug
If I load `mnist` and I iterate over the dataset, the images are not decoded, and the dictionary with the bytes is returned.
## Steps to reproduce the bug
```python
from datasets import load_dataset
import PIL
mnist = load_datas... | [
-0.1508929431438446,
-0.29875412583351135,
-0.1016991138458252,
0.3872718811035156,
0.1785426139831543,
-0.04926208034157753,
0.24643035233020782,
-0.004940621554851532,
-0.06946597248315811,
0.279842346906662,
0.1267053186893463,
0.5622636675834656,
-0.06836993992328644,
-0.17753037810325... |
https://github.com/huggingface/datasets/issues/3473 | Iterating over a vision dataset doesn't decode the images | Please also note that the regression tests were implemented in accordance with the specifications:
- when doing a `map` (wich calls `__iter__`) of a function that doesn't access the audio field, the decoding should be disabled; this is why the decoding is disabled in `__iter__` (and only enabled in `__getitem__`). | ## Describe the bug
If I load `mnist` and I iterate over the dataset, the images are not decoded, and the dictionary with the bytes is returned.
## Steps to reproduce the bug
```python
from datasets import load_dataset
import PIL
mnist = load_dataset("mnist", split="train")
first_image = mnist[0]["image"... | 50 | Iterating over a vision dataset doesn't decode the images
## Describe the bug
If I load `mnist` and I iterate over the dataset, the images are not decoded, and the dictionary with the bytes is returned.
## Steps to reproduce the bug
```python
from datasets import load_dataset
import PIL
mnist = load_datas... | [
-0.1789715588092804,
-0.2866583466529846,
-0.08697319030761719,
0.3713635802268982,
0.19950997829437256,
-0.05381905287504196,
0.19069798290729523,
0.03161434084177017,
-0.014085051603615284,
0.2848648428916931,
0.11025669425725937,
0.6305350065231323,
-0.07788039743900299,
-0.221788242459... |
https://github.com/huggingface/datasets/issues/3473 | Iterating over a vision dataset doesn't decode the images | > I wonder why there is no issue in Audio feature with decoding disabled in __iter__, whereas there is in Image feature.
@albertvillanova Not sure if I understand this part. Currently, both the Image and the Audio feature don't decode data in `__iter__`, so their behavior is aligned there.
| ## Describe the bug
If I load `mnist` and I iterate over the dataset, the images are not decoded, and the dictionary with the bytes is returned.
## Steps to reproduce the bug
```python
from datasets import load_dataset
import PIL
mnist = load_dataset("mnist", split="train")
first_image = mnist[0]["image"... | 49 | Iterating over a vision dataset doesn't decode the images
## Describe the bug
If I load `mnist` and I iterate over the dataset, the images are not decoded, and the dictionary with the bytes is returned.
## Steps to reproduce the bug
```python
from datasets import load_dataset
import PIL
mnist = load_datas... | [
-0.09086039662361145,
-0.3369824290275574,
-0.08061859011650085,
0.421308696269989,
0.16018368303775787,
-0.030324649065732956,
0.22145484387874603,
-0.005440130829811096,
-0.08041077852249146,
0.2857024073600769,
0.08672070503234863,
0.5229110717773438,
-0.03221697732806206,
-0.1369960308... |
https://github.com/huggingface/datasets/issues/3473 | Iterating over a vision dataset doesn't decode the images | Therefore, this is not an issue, neither for Audio nor Image feature.
Could you please elaborate more on the expected use case? @lhoestq @NielsRogge
The expected use cases (in accordance with the specs: see #2324):
- decoding should be enabled when accessing a specific item (`__getitem__`)
- decoding should be... | ## Describe the bug
If I load `mnist` and I iterate over the dataset, the images are not decoded, and the dictionary with the bytes is returned.
## Steps to reproduce the bug
```python
from datasets import load_dataset
import PIL
mnist = load_dataset("mnist", split="train")
first_image = mnist[0]["image"... | 88 | Iterating over a vision dataset doesn't decode the images
## Describe the bug
If I load `mnist` and I iterate over the dataset, the images are not decoded, and the dictionary with the bytes is returned.
## Steps to reproduce the bug
```python
from datasets import load_dataset
import PIL
mnist = load_datas... | [
-0.1309669315814972,
-0.31124168634414673,
-0.06793125718832016,
0.3901098370552063,
0.16564223170280457,
-0.017195526510477066,
0.16706402599811554,
0.007289811968803406,
-0.04556726664304733,
0.22324754297733307,
0.15391486883163452,
0.5721435546875,
-0.07087861001491547,
-0.151594504714... |
https://github.com/huggingface/datasets/issues/3473 | Iterating over a vision dataset doesn't decode the images | For me it's not an issue, actually. I just (mistakenly) tried to iterate over a PyTorch Dataset instead of a PyTorch DataLoader,
i.e. I did this:
`batch = next(iter(train_ds)) `
whereas I actually wanted to do
`batch = next(iter(train_dataloader))`
and then it turned out that in the first case, the imag... | ## Describe the bug
If I load `mnist` and I iterate over the dataset, the images are not decoded, and the dictionary with the bytes is returned.
## Steps to reproduce the bug
```python
from datasets import load_dataset
import PIL
mnist = load_dataset("mnist", split="train")
first_image = mnist[0]["image"... | 66 | Iterating over a vision dataset doesn't decode the images
## Describe the bug
If I load `mnist` and I iterate over the dataset, the images are not decoded, and the dictionary with the bytes is returned.
## Steps to reproduce the bug
```python
from datasets import load_dataset
import PIL
mnist = load_datas... | [
-0.08787324279546738,
-0.3096325099468231,
-0.04000177979469299,
0.3918701410293579,
0.13346566259860992,
-0.08211318403482437,
0.1896434724330902,
0.03396373614668846,
0.045669395476579666,
0.22314968705177307,
0.167226642370224,
0.5336771011352539,
-0.09779492020606995,
-0.18274991214275... |
https://github.com/huggingface/datasets/issues/3473 | Iterating over a vision dataset doesn't decode the images | Thanks @NielsRogge for the context.
So IMO everything is working as expected.
I'm closing this issue. Feel free to reopen it again if further changes of the specs should be addressed. | ## Describe the bug
If I load `mnist` and I iterate over the dataset, the images are not decoded, and the dictionary with the bytes is returned.
## Steps to reproduce the bug
```python
from datasets import load_dataset
import PIL
mnist = load_dataset("mnist", split="train")
first_image = mnist[0]["image"... | 31 | Iterating over a vision dataset doesn't decode the images
## Describe the bug
If I load `mnist` and I iterate over the dataset, the images are not decoded, and the dictionary with the bytes is returned.
## Steps to reproduce the bug
```python
from datasets import load_dataset
import PIL
mnist = load_datas... | [
-0.09116102010011673,
-0.3595889210700989,
-0.0508328415453434,
0.40865540504455566,
0.14124128222465515,
-0.013650786131620407,
0.12589560449123383,
0.0593583844602108,
-0.006152428686618805,
0.19493284821510315,
0.17921413481235504,
0.532147228717804,
-0.043915268033742905,
-0.1239936351... |
https://github.com/huggingface/datasets/issues/3473 | Iterating over a vision dataset doesn't decode the images | Thanks for the details :)
I still think that it's unexpected to get different results when doing
```python
for i in range(len(dataset)):
sample = dataset[i]
```
and
```python
for sample in dataset:
pass
```
even though I understand that if you don't need to decode the data, then decoding image or a... | ## Describe the bug
If I load `mnist` and I iterate over the dataset, the images are not decoded, and the dictionary with the bytes is returned.
## Steps to reproduce the bug
```python
from datasets import load_dataset
import PIL
mnist = load_dataset("mnist", split="train")
first_image = mnist[0]["image"... | 83 | Iterating over a vision dataset doesn't decode the images
## Describe the bug
If I load `mnist` and I iterate over the dataset, the images are not decoded, and the dictionary with the bytes is returned.
## Steps to reproduce the bug
```python
from datasets import load_dataset
import PIL
mnist = load_datas... | [
-0.023493608459830284,
-0.3361246883869171,
-0.11522024869918823,
0.4020479917526245,
0.10956654697656631,
-0.06735411286354065,
0.1837363839149475,
0.05403691530227661,
-0.00708058662712574,
0.21135759353637695,
0.15596343576908112,
0.5565048456192017,
-0.020242851227521896,
-0.1345620304... |
https://github.com/huggingface/datasets/issues/3465 | Unable to load 'cnn_dailymail' dataset | Hi @talha1503, thanks for reporting.
It seems there is an issue with one of the data files hosted at Google Drive:
```
Google Drive - Quota exceeded
Sorry, you can't view or download this file at this time.
Too many users have viewed or downloaded this file recently. Please try accessing the file again later... | ## Describe the bug
I wanted to load cnn_dailymail dataset from huggingface datasets on Google Colab, but I am getting an error while loading it.
## Steps to reproduce the bug
```python
from datasets import load_dataset
dataset = load_dataset('cnn_dailymail', '3.0.0', ignore_verifications = True)
```
## Expe... | 141 | Unable to load 'cnn_dailymail' dataset
## Describe the bug
I wanted to load cnn_dailymail dataset from huggingface datasets on Google Colab, but I am getting an error while loading it.
## Steps to reproduce the bug
```python
from datasets import load_dataset
dataset = load_dataset('cnn_dailymail', '3.0.0', ign... | [
0.023011494427919388,
-0.22502601146697998,
-0.013914825394749641,
0.5434478521347046,
0.19396823644638062,
0.15518644452095032,
0.36523064970970154,
-0.12354406714439392,
0.13477808237075806,
0.305401474237442,
-0.2102700173854828,
-0.10744861513376236,
-0.31816366314888,
0.38796916604042... |
https://github.com/huggingface/datasets/issues/3464 | struct.error: 'i' format requires -2147483648 <= number <= 2147483647 | Hi ! Can you try setting `datasets.config.MAX_TABLE_NBYTES_FOR_PICKLING` to a smaller value than `4 << 30` (4GiB), for example `500 << 20` (500MiB) ? It should reduce the maximum size of the arrow table being pickled during multiprocessing.
If it fixes the issue, we can consider lowering the default value for everyo... | ## Describe the bug
A clear and concise description of what the bug is.
using latest datasets=datasets-1.16.1-py3-none-any.whl
process my own multilingual dataset by following codes, and the number of rows in all dataset is 306000, the max_length of each sentence is 256:
. The motion file is the AMC file (Acclaim Motion Capture data). ]
Some questions :
1. How do we go about representing these features using datasets.Features and generate examples ?
2. The dataset download link ... | ## Adding a Dataset
- **Name:** CMU Graphics Lab Motion Capture database
- **Description:** The database contains free motions which you can download and use.
- **Data:** http://mocap.cs.cmu.edu/
- **Motivation:** Nice motion capture dataset
Instructions to add a new dataset can be found [here](https://github.c... | 149 | Add CMU Graphics Lab Motion Capture dataset
## Adding a Dataset
- **Name:** CMU Graphics Lab Motion Capture database
- **Description:** The database contains free motions which you can download and use.
- **Data:** http://mocap.cs.cmu.edu/
- **Motivation:** Nice motion capture dataset
Instructions to add a ne... | [
-0.1400226652622223,
-0.027625620365142822,
0.03627793863415718,
0.13673803210258484,
0.21194316446781158,
0.22556018829345703,
0.14935652911663055,
0.08579146862030029,
-0.48351532220840454,
-0.15612231194972992,
-0.0873226448893547,
0.0038939008954912424,
-0.2831748127937317,
0.216412484... |
https://github.com/huggingface/datasets/issues/3457 | Add CMU Graphics Lab Motion Capture dataset | Hi @dnaveenr! Thanks for working on this!
1. We can use the `Sequence(Value("string"))` feature type for the subject's AMC files and `Value("string")` for the subject's ASF file (`Value("string")` represents the file paths) + the types for categories/subcategories and descriptions.
2. We can use this URL to downloa... | ## Adding a Dataset
- **Name:** CMU Graphics Lab Motion Capture database
- **Description:** The database contains free motions which you can download and use.
- **Data:** http://mocap.cs.cmu.edu/
- **Motivation:** Nice motion capture dataset
Instructions to add a new dataset can be found [here](https://github.c... | 181 | Add CMU Graphics Lab Motion Capture dataset
## Adding a Dataset
- **Name:** CMU Graphics Lab Motion Capture database
- **Description:** The database contains free motions which you can download and use.
- **Data:** http://mocap.cs.cmu.edu/
- **Motivation:** Nice motion capture dataset
Instructions to add a ne... | [
-0.49608537554740906,
-0.12402259558439255,
0.0027482733130455017,
-0.11077883839607239,
0.15439756214618683,
0.1139657273888588,
0.17402473092079163,
0.36261528730392456,
-0.25172683596611023,
0.013264492154121399,
-0.031617142260074615,
0.20113374292850494,
-0.22035668790340424,
0.299665... |
https://github.com/huggingface/datasets/issues/3457 | Add CMU Graphics Lab Motion Capture dataset | Hi @mariosasko ,
1. Thanks for this, so we can add the file paths.
2. Yes, I had already mailed the authors a couple of days back actually, asking for the metadata details[ i.e category, sub-category and motion description] . They are yet to respond though, I will wait for a couple of days and try to follow up with... | ## Adding a Dataset
- **Name:** CMU Graphics Lab Motion Capture database
- **Description:** The database contains free motions which you can download and use.
- **Data:** http://mocap.cs.cmu.edu/
- **Motivation:** Nice motion capture dataset
Instructions to add a new dataset can be found [here](https://github.c... | 107 | Add CMU Graphics Lab Motion Capture dataset
## Adding a Dataset
- **Name:** CMU Graphics Lab Motion Capture database
- **Description:** The database contains free motions which you can download and use.
- **Data:** http://mocap.cs.cmu.edu/
- **Motivation:** Nice motion capture dataset
Instructions to add a ne... | [
-0.4981457591056824,
-0.022161871194839478,
-0.04699468985199928,
0.006492741405963898,
0.13370129466056824,
0.06442365795373917,
0.10490667074918747,
0.40426105260849,
-0.23349949717521667,
-0.019053861498832703,
0.02816273272037506,
0.18500597774982452,
-0.1908474564552307,
0.33929112553... |
https://github.com/huggingface/datasets/issues/3455 | Easier information editing | Hi ! I guess you are talking about the dataset cards that are in this repository on github ?
I think github allows to submit a PR even for 1 line though the `Edit file` button on the page of the dataset card.
Maybe let's mention this in `CONTRIBUTING.md` ? | **Is your feature request related to a problem? Please describe.**
It requires a lot of effort to improve a datasheet.
**Describe the solution you'd like**
UI or at least a link to the place where the code that needs to be edited is (and an easy way to edit this code directly from the site, without cloning, branc... | 50 | Easier information editing
**Is your feature request related to a problem? Please describe.**
It requires a lot of effort to improve a datasheet.
**Describe the solution you'd like**
UI or at least a link to the place where the code that needs to be edited is (and an easy way to edit this code directly from the... | [
-0.03764151409268379,
0.16187918186187744,
-0.1659287065267563,
-0.3433542251586914,
0.058444201946258545,
0.0013944655656814575,
0.07194561511278152,
0.24960823357105255,
-0.3263019025325775,
0.40762150287628174,
0.2005188912153244,
0.3080871105194092,
0.3768406808376312,
0.22436778247356... |
https://github.com/huggingface/datasets/issues/3455 | Easier information editing | We now host all the datasets on the HF Hub, where you can easily edit them through UI (for single file changes) or Git workflow (for single/multiple file changes) | **Is your feature request related to a problem? Please describe.**
It requires a lot of effort to improve a datasheet.
**Describe the solution you'd like**
UI or at least a link to the place where the code that needs to be edited is (and an easy way to edit this code directly from the site, without cloning, branc... | 29 | Easier information editing
**Is your feature request related to a problem? Please describe.**
It requires a lot of effort to improve a datasheet.
**Describe the solution you'd like**
UI or at least a link to the place where the code that needs to be edited is (and an easy way to edit this code directly from the... | [
0.045136939734220505,
0.16162434220314026,
-0.24481122195720673,
-0.32061100006103516,
-0.10825552046298981,
0.005096174776554108,
0.21969638764858246,
0.27419495582580566,
-0.1729501485824585,
0.37404364347457886,
-0.11862902343273163,
0.2084408849477768,
0.3929629623889923,
0.27225854992... |
https://github.com/huggingface/datasets/issues/3452 | why the stratify option is omitted from test_train_split function? | Hi ! It's simply not added yet :)
If someone wants to contribute to add the `stratify` parameter I'd be happy to give some pointers.
In the meantime, I guess you can use `sklearn` or other tools to do a stratified train/test split over the **indices** of your dataset and then do
```
train_dataset = dataset.sele... | why the stratify option is omitted from test_train_split function?
is there any other way implement the stratify option while splitting the dataset? as it is important point to be considered while splitting the dataset. | 60 | why the stratify option is omitted from test_train_split function?
why the stratify option is omitted from test_train_split function?
is there any other way implement the stratify option while splitting the dataset? as it is important point to be considered while splitting the dataset.
Hi ! It's simply not added... | [
-0.5293184518814087,
-0.054848864674568176,
-0.11749307811260223,
-0.10469205677509308,
0.21267275512218475,
0.01288767158985138,
0.3365817070007324,
0.25440680980682373,
-0.045745160430669785,
0.362811803817749,
0.11073040962219238,
0.3568532168865204,
-0.0795329213142395,
0.3337858319282... |
https://github.com/huggingface/datasets/issues/3452 | why the stratify option is omitted from test_train_split function? | Hi @lhoestq I would like to add `stratify` parameter, can you give me some pointers for adding the same ? | why the stratify option is omitted from test_train_split function?
is there any other way implement the stratify option while splitting the dataset? as it is important point to be considered while splitting the dataset. | 20 | why the stratify option is omitted from test_train_split function?
why the stratify option is omitted from test_train_split function?
is there any other way implement the stratify option while splitting the dataset? as it is important point to be considered while splitting the dataset.
Hi @lhoestq I would like t... | [
-0.5134280323982239,
-0.13175678253173828,
-0.11585590243339539,
-0.10881052911281586,
0.21439753472805023,
-0.06326843798160553,
0.3055260479450226,
0.14858755469322205,
-0.0885697603225708,
0.3909528851509094,
0.0784347876906395,
0.3760671615600586,
-0.05349288135766983,
0.26091411709785... |
https://github.com/huggingface/datasets/issues/3452 | why the stratify option is omitted from test_train_split function? | Hi ! Sure :)
The `train_test_split` method is defined here:
https://github.com/huggingface/datasets/blob/dc62232fa1b3bcfe2fbddcb721f2d141f8908943/src/datasets/arrow_dataset.py#L3253-L3253
and inside `train_test_split ` we need to create the right `train_indices` and `test_indices` that are passed here to `.se... | why the stratify option is omitted from test_train_split function?
is there any other way implement the stratify option while splitting the dataset? as it is important point to be considered while splitting the dataset. | 114 | why the stratify option is omitted from test_train_split function?
why the stratify option is omitted from test_train_split function?
is there any other way implement the stratify option while splitting the dataset? as it is important point to be considered while splitting the dataset.
Hi ! Sure :)
The `train... | [
-0.33768513798713684,
-0.18328683078289032,
-0.10470765829086304,
0.1171165406703949,
0.20188526809215546,
-0.08582013100385666,
0.3129179775714874,
0.102320596575737,
-0.034696824848651886,
0.3047151565551758,
-0.019020574167370796,
0.5014286041259766,
-0.09403519332408905,
0.277945280075... |
https://github.com/huggingface/datasets/issues/3450 | Unexpected behavior doing Split + Filter | Hi ! This is an issue with `datasets` 1.12. Sorry for the inconvenience. Can you update to `>=1.13` ?
see https://github.com/huggingface/datasets/issues/3190
Maybe we should also backport the bug fix to `1.12` (in a new version `1.12.2`) | ## Describe the bug
I observed unexpected behavior when applying 'train_test_split' followed by 'filter' on dataset. Elements of the training dataset eventually end up in the test dataset (after applying the 'filter')
## Steps to reproduce the bug
```
from datasets import Dataset
import pandas as pd
dic = {'x'... | 36 | Unexpected behavior doing Split + Filter
## Describe the bug
I observed unexpected behavior when applying 'train_test_split' followed by 'filter' on dataset. Elements of the training dataset eventually end up in the test dataset (after applying the 'filter')
## Steps to reproduce the bug
```
from datasets impo... | [
-0.13840079307556152,
-0.13383200764656067,
-0.11009341478347778,
0.09648390114307404,
0.10889280587434769,
0.010567791759967804,
0.18567979335784912,
0.2552306354045868,
-0.10768002271652222,
-0.05203498899936676,
-0.1723318099975586,
0.4741823375225067,
0.007550938054919243,
0.4032777845... |
https://github.com/huggingface/datasets/issues/3449 | Add `__add__()`, `__iadd__()` and similar to `Dataset` class | I was going through the codebase, and I believe the implementation of __add__() and __iadd__() will be similar to concatenate_datasets() after the elimination of code for arguments other than the list of datasets (info, split, axis).
(Assuming elimination of axis means concatenating over axis 1.) | **Is your feature request related to a problem? Please describe.**
No.
**Describe the solution you'd like**
I would like to be able to concatenate datasets as follows:
```python
>>> dataset["train"] += dataset["validation"]
```
... instead of using `concatenate_datasets()`:
```python
>>> raw_datasets["trai... | 45 | Add `__add__()`, `__iadd__()` and similar to `Dataset` class
**Is your feature request related to a problem? Please describe.**
No.
**Describe the solution you'd like**
I would like to be able to concatenate datasets as follows:
```python
>>> dataset["train"] += dataset["validation"]
```
... instead of usi... | [
-0.2595469653606415,
0.017441019415855408,
-0.11955226957798004,
-0.025894075632095337,
0.2975654602050781,
0.4441085755825043,
0.41350024938583374,
0.18916788697242737,
-0.22334951162338257,
0.15600356459617615,
-0.10527907311916351,
0.3455275595188141,
-0.17385724186897278,
0.21893876791... |
https://github.com/huggingface/datasets/issues/3449 | Add `__add__()`, `__iadd__()` and similar to `Dataset` class | Most data frame libraries (Polars, Pandas, etc.) override `__add__` to perform (mathematical) summation, so having different behavior could lead to confusion. | **Is your feature request related to a problem? Please describe.**
No.
**Describe the solution you'd like**
I would like to be able to concatenate datasets as follows:
```python
>>> dataset["train"] += dataset["validation"]
```
... instead of using `concatenate_datasets()`:
```python
>>> raw_datasets["trai... | 21 | Add `__add__()`, `__iadd__()` and similar to `Dataset` class
**Is your feature request related to a problem? Please describe.**
No.
**Describe the solution you'd like**
I would like to be able to concatenate datasets as follows:
```python
>>> dataset["train"] += dataset["validation"]
```
... instead of usi... | [
-0.3561764359474182,
0.1285456120967865,
-0.0768413096666336,
-0.01306469738483429,
0.2587941288948059,
0.3990231454372406,
0.37428969144821167,
0.12657460570335388,
-0.27281293272972107,
0.12618131935596466,
-0.08501005172729492,
0.2891501486301422,
-0.04528278857469559,
0.288579821586608... |
https://github.com/huggingface/datasets/issues/3448 | JSONDecodeError with HuggingFace dataset viewer | Hi ! I think the issue comes from the dataset_infos.json file: it has the "flat" field twice.
Can you try deleting this file and regenerating it please ? | ## Dataset viewer issue for 'pubmed_neg'
**Link:** https://huggingface.co/datasets/IGESML/pubmed_neg
I am getting the error:
Status code: 400
Exception: JSONDecodeError
Message: Expecting property name enclosed in double quotes: line 61 column 2 (char 1202)
I have checked all files - I am not u... | 28 | JSONDecodeError with HuggingFace dataset viewer
## Dataset viewer issue for 'pubmed_neg'
**Link:** https://huggingface.co/datasets/IGESML/pubmed_neg
I am getting the error:
Status code: 400
Exception: JSONDecodeError
Message: Expecting property name enclosed in double quotes: line 61 column 2 (c... | [
0.22954149544239044,
-0.12012822180986404,
0.049005355685949326,
0.23034390807151794,
0.16956929862499237,
0.057723917067050934,
0.08529038727283478,
0.16236662864685059,
-0.001749219372868538,
0.09629207104444504,
0.16684724390506744,
0.2956421673297882,
-0.12451594322919846,
0.0679476261... |
https://github.com/huggingface/datasets/issues/3448 | JSONDecodeError with HuggingFace dataset viewer | Thanks! That fixed that, but now I am getting:
Server Error
Status code: 400
Exception: KeyError
Message: 'feature'
I checked the dataset_infos.json and pubmed_neg.py script, I don't use 'feature' anywhere as a key. Is the dataset viewer expecting that I do? | ## Dataset viewer issue for 'pubmed_neg'
**Link:** https://huggingface.co/datasets/IGESML/pubmed_neg
I am getting the error:
Status code: 400
Exception: JSONDecodeError
Message: Expecting property name enclosed in double quotes: line 61 column 2 (char 1202)
I have checked all files - I am not u... | 41 | JSONDecodeError with HuggingFace dataset viewer
## Dataset viewer issue for 'pubmed_neg'
**Link:** https://huggingface.co/datasets/IGESML/pubmed_neg
I am getting the error:
Status code: 400
Exception: JSONDecodeError
Message: Expecting property name enclosed in double quotes: line 61 column 2 (c... | [
0.33496716618537903,
-0.16928435862064362,
0.05797417089343071,
0.17839035391807556,
0.11598643660545349,
0.002266697585582733,
0.16587713360786438,
0.02938632108271122,
-0.035491034388542175,
0.08846522867679596,
0.24156613647937775,
0.28079870343208313,
-0.17434248328208923,
0.1949503570... |
https://github.com/huggingface/datasets/issues/3448 | JSONDecodeError with HuggingFace dataset viewer | It seems that the `feature` key is missing from some feature type definition in your dataset_infos.json:
```json
"tokens": {
"dtype": "list",
"id": null,
"_type": "Sequence"
},
"tags": {
"dtype": "list",
"id": null,
"_type": "Sequence"
}
```
They should be
```json
"... | ## Dataset viewer issue for 'pubmed_neg'
**Link:** https://huggingface.co/datasets/IGESML/pubmed_neg
I am getting the error:
Status code: 400
Exception: JSONDecodeError
Message: Expecting property name enclosed in double quotes: line 61 column 2 (char 1202)
I have checked all files - I am not u... | 98 | JSONDecodeError with HuggingFace dataset viewer
## Dataset viewer issue for 'pubmed_neg'
**Link:** https://huggingface.co/datasets/IGESML/pubmed_neg
I am getting the error:
Status code: 400
Exception: JSONDecodeError
Message: Expecting property name enclosed in double quotes: line 61 column 2 (c... | [
0.10931271314620972,
-0.03486400097608566,
0.034162651747465134,
0.1241065114736557,
0.1576346606016159,
0.09175924211740494,
0.0911138653755188,
0.18194453418254852,
-0.006263339892029762,
0.13438831269741058,
0.16037973761558533,
0.39061635732650757,
-0.22606879472732544,
0.1779263913631... |
https://github.com/huggingface/datasets/issues/3447 | HF_DATASETS_OFFLINE=1 didn't stop datasets.builder from downloading | Hi ! Indeed it says "downloading and preparing" but in your case it didn't need to download anything since you used local files (it would have thrown an error otherwise). I think we can improve the logging to make it clearer in this case | ## Describe the bug
According to https://huggingface.co/docs/datasets/loading_datasets.html#loading-a-dataset-builder, setting HF_DATASETS_OFFLINE to 1 should make datasets to "run in full offline mode". It didn't work for me. At the very beginning, datasets still tried to download "custom data configuration" for JSON... | 44 | HF_DATASETS_OFFLINE=1 didn't stop datasets.builder from downloading
## Describe the bug
According to https://huggingface.co/docs/datasets/loading_datasets.html#loading-a-dataset-builder, setting HF_DATASETS_OFFLINE to 1 should make datasets to "run in full offline mode". It didn't work for me. At the very beginning... | [
-0.3771057426929474,
0.3645550608634949,
0.054556954652071,
0.29789626598358154,
0.24783526360988617,
-0.02427959069609642,
0.24482028186321259,
0.18767493963241577,
0.2710857391357422,
0.060637637972831726,
-0.056366585195064545,
0.0012010799255222082,
-0.04779607057571411,
0.224456146359... |
https://github.com/huggingface/datasets/issues/3447 | HF_DATASETS_OFFLINE=1 didn't stop datasets.builder from downloading | @lhoestq Thank you for explaining. I am sorry but I was not clear about my intention. I didn't want to kill internet traffic; I wanted to kill all write activity. In other words, you can imagine that my storage has only read access but crashes on write.
When run_clm.py is invoked with the same parameters, the hash i... | ## Describe the bug
According to https://huggingface.co/docs/datasets/loading_datasets.html#loading-a-dataset-builder, setting HF_DATASETS_OFFLINE to 1 should make datasets to "run in full offline mode". It didn't work for me. At the very beginning, datasets still tried to download "custom data configuration" for JSON... | 201 | HF_DATASETS_OFFLINE=1 didn't stop datasets.builder from downloading
## Describe the bug
According to https://huggingface.co/docs/datasets/loading_datasets.html#loading-a-dataset-builder, setting HF_DATASETS_OFFLINE to 1 should make datasets to "run in full offline mode". It didn't work for me. At the very beginning... | [
-0.3771057426929474,
0.3645550608634949,
0.054556954652071,
0.29789626598358154,
0.24783526360988617,
-0.02427959069609642,
0.24482028186321259,
0.18767493963241577,
0.2710857391357422,
0.060637637972831726,
-0.056366585195064545,
0.0012010799255222082,
-0.04779607057571411,
0.224456146359... |
https://github.com/huggingface/datasets/issues/3447 | HF_DATASETS_OFFLINE=1 didn't stop datasets.builder from downloading | Hi ! `load_dataset` may re-generate your dataset if some parameters changed indeed. If you want to freeze a dataset loaded with `load_dataset`, I think the best solution is just to save it somewhere on your disk with `.save_to_disk(my_dataset_dir)` and reload it with `load_from_disk(my_dataset_dir)`. This way you will ... | ## Describe the bug
According to https://huggingface.co/docs/datasets/loading_datasets.html#loading-a-dataset-builder, setting HF_DATASETS_OFFLINE to 1 should make datasets to "run in full offline mode". It didn't work for me. At the very beginning, datasets still tried to download "custom data configuration" for JSON... | 58 | HF_DATASETS_OFFLINE=1 didn't stop datasets.builder from downloading
## Describe the bug
According to https://huggingface.co/docs/datasets/loading_datasets.html#loading-a-dataset-builder, setting HF_DATASETS_OFFLINE to 1 should make datasets to "run in full offline mode". It didn't work for me. At the very beginning... | [
-0.3771057426929474,
0.3645550608634949,
0.054556954652071,
0.29789626598358154,
0.24783526360988617,
-0.02427959069609642,
0.24482028186321259,
0.18767493963241577,
0.2710857391357422,
0.060637637972831726,
-0.056366585195064545,
0.0012010799255222082,
-0.04779607057571411,
0.224456146359... |
https://github.com/huggingface/datasets/issues/3444 | Align the Dataset and IterableDataset processing API | Yes I agree, these should be as aligned as possible. Maybe we can also check the feedback in the survey at http://hf.co/oss-survey and see if people mentioned related things on the API (in particular if we go the breaking change way, it would be good to be sure we are taking the right direction for the community). | ## Intro
items marked like <s>this</s> are done already :)
Currently the two classes have two distinct API for processing:
### The `.map()` method
Both have those parameters in common: function, batched, batch_size
- IterableDataset is missing those parameters:
<s>with_indices</s>, with_rank, <s>input_c... | 57 | Align the Dataset and IterableDataset processing API
## Intro
items marked like <s>this</s> are done already :)
Currently the two classes have two distinct API for processing:
### The `.map()` method
Both have those parameters in common: function, batched, batch_size
- IterableDataset is missing those ... | [
-0.2987132966518402,
-0.05432648956775665,
-0.19314603507518768,
0.06176353245973587,
0.123578280210495,
0.17043432593345642,
0.3958812952041626,
0.5176231265068054,
0.041742581874132156,
0.2871117889881134,
-0.2062048763036728,
0.28705206513404846,
0.031234998255968094,
0.2790749073028564... |
https://github.com/huggingface/datasets/issues/3444 | Align the Dataset and IterableDataset processing API | I like this proposal.
> There is also an important difference in terms of behavior:
Dataset.map adds new columns (with dict.update)
BUT
IterableDataset discards previous columns (it overwrites the dict)
IMO the two methods should have the same behavior. This would be an important breaking change though.
> The... | ## Intro
items marked like <s>this</s> are done already :)
Currently the two classes have two distinct API for processing:
### The `.map()` method
Both have those parameters in common: function, batched, batch_size
- IterableDataset is missing those parameters:
<s>with_indices</s>, with_rank, <s>input_c... | 322 | Align the Dataset and IterableDataset processing API
## Intro
items marked like <s>this</s> are done already :)
Currently the two classes have two distinct API for processing:
### The `.map()` method
Both have those parameters in common: function, batched, batch_size
- IterableDataset is missing those ... | [
-0.2987132966518402,
-0.05432648956775665,
-0.19314603507518768,
0.06176353245973587,
0.123578280210495,
0.17043432593345642,
0.3958812952041626,
0.5176231265068054,
0.041742581874132156,
0.2871117889881134,
-0.2062048763036728,
0.28705206513404846,
0.031234998255968094,
0.2790749073028564... |
https://github.com/huggingface/datasets/issues/3444 | Align the Dataset and IterableDataset processing API | > If I understand this part correctly, the idea would be for Dataset.map to behave similarly to Dataset.with_transform (lazy processing) and to have an option to cache processed data (with .cache()). This idea is really nice because it can also be applied to IterableDataset to fix #3142 (again we get the aligned APIs).... | ## Intro
items marked like <s>this</s> are done already :)
Currently the two classes have two distinct API for processing:
### The `.map()` method
Both have those parameters in common: function, batched, batch_size
- IterableDataset is missing those parameters:
<s>with_indices</s>, with_rank, <s>input_c... | 105 | Align the Dataset and IterableDataset processing API
## Intro
items marked like <s>this</s> are done already :)
Currently the two classes have two distinct API for processing:
### The `.map()` method
Both have those parameters in common: function, batched, batch_size
- IterableDataset is missing those ... | [
-0.2987132966518402,
-0.05432648956775665,
-0.19314603507518768,
0.06176353245973587,
0.123578280210495,
0.17043432593345642,
0.3958812952041626,
0.5176231265068054,
0.041742581874132156,
0.2871117889881134,
-0.2062048763036728,
0.28705206513404846,
0.031234998255968094,
0.2790749073028564... |
https://github.com/huggingface/datasets/issues/3444 | Align the Dataset and IterableDataset processing API | Yes indeed, thanks. I added it to the list of methods to align in the first post | ## Intro
items marked like <s>this</s> are done already :)
Currently the two classes have two distinct API for processing:
### The `.map()` method
Both have those parameters in common: function, batched, batch_size
- IterableDataset is missing those parameters:
<s>with_indices</s>, with_rank, <s>input_c... | 17 | Align the Dataset and IterableDataset processing API
## Intro
items marked like <s>this</s> are done already :)
Currently the two classes have two distinct API for processing:
### The `.map()` method
Both have those parameters in common: function, batched, batch_size
- IterableDataset is missing those ... | [
-0.2987132966518402,
-0.05432648956775665,
-0.19314603507518768,
0.06176353245973587,
0.123578280210495,
0.17043432593345642,
0.3958812952041626,
0.5176231265068054,
0.041742581874132156,
0.2871117889881134,
-0.2062048763036728,
0.28705206513404846,
0.031234998255968094,
0.2790749073028564... |
https://github.com/huggingface/datasets/issues/3444 | Align the Dataset and IterableDataset processing API | I just encountered the problem of the missing `fn_kwargs` parameter in the `map` method. I am commenting to give a workaround in case someone has the same problem and does not find a solution.
You can wrap your function call inside a class that contains the other parameters needed by the function called by map, like t... | ## Intro
items marked like <s>this</s> are done already :)
Currently the two classes have two distinct API for processing:
### The `.map()` method
Both have those parameters in common: function, batched, batch_size
- IterableDataset is missing those parameters:
<s>with_indices</s>, with_rank, <s>input_c... | 96 | Align the Dataset and IterableDataset processing API
## Intro
items marked like <s>this</s> are done already :)
Currently the two classes have two distinct API for processing:
### The `.map()` method
Both have those parameters in common: function, batched, batch_size
- IterableDataset is missing those ... | [
-0.2987132966518402,
-0.05432648956775665,
-0.19314603507518768,
0.06176353245973587,
0.123578280210495,
0.17043432593345642,
0.3958812952041626,
0.5176231265068054,
0.041742581874132156,
0.2871117889881134,
-0.2062048763036728,
0.28705206513404846,
0.031234998255968094,
0.2790749073028564... |
https://github.com/huggingface/datasets/issues/3444 | Align the Dataset and IterableDataset processing API | The main differences have been addressed (map, formatting) but there are still a few things to implement like Dataset.take, Dataset.skip, IterableDataset.set_format, IterableDataset.formatted_as, IterableDataset.reset_format.
The rest cannot be implemented for the general case. E.g. train_test_split and select can o... | ## Intro
items marked like <s>this</s> are done already :)
Currently the two classes have two distinct API for processing:
### The `.map()` method
Both have those parameters in common: function, batched, batch_size
- IterableDataset is missing those parameters:
<s>with_indices</s>, with_rank, <s>input_c... | 65 | Align the Dataset and IterableDataset processing API
## Intro
items marked like <s>this</s> are done already :)
Currently the two classes have two distinct API for processing:
### The `.map()` method
Both have those parameters in common: function, batched, batch_size
- IterableDataset is missing those ... | [
-0.2987132966518402,
-0.05432648956775665,
-0.19314603507518768,
0.06176353245973587,
0.123578280210495,
0.17043432593345642,
0.3958812952041626,
0.5176231265068054,
0.041742581874132156,
0.2871117889881134,
-0.2062048763036728,
0.28705206513404846,
0.031234998255968094,
0.2790749073028564... |
https://github.com/huggingface/datasets/issues/3440 | datasets keeps reading from cached files, although I disabled it | Hi ! What version of `datasets` are you using ? Can you also provide the logs you get before it raises the error ? | ## Describe the bug
Hi,
I am trying to avoid dataset library using cached files, I get the following bug when this tried to read the cached files. I tried to do the followings:
```
from datasets import set_caching_enabled
set_caching_enabled(False)
```
also force redownlaod:
```
download_mode='force_redownloa... | 24 | datasets keeps reading from cached files, although I disabled it
## Describe the bug
Hi,
I am trying to avoid dataset library using cached files, I get the following bug when this tried to read the cached files. I tried to do the followings:
```
from datasets import set_caching_enabled
set_caching_enabled(False)... | [
-0.13479134440422058,
0.025202348828315735,
0.0009026434272527695,
0.5154467225074768,
0.49389928579330444,
0.264632910490036,
0.057791903614997864,
0.3259378969669342,
0.015479553490877151,
-0.015514060854911804,
-0.21431003510951996,
0.21822644770145416,
-0.08560211956501007,
-0.30433645... |
https://github.com/huggingface/datasets/issues/3431 | Unable to resolve any data file after loading once | Hi ! `load_dataset` accepts as input either a local dataset directory or a dataset name from the Hugging Face Hub.
So here you are getting this error the second time because it tries to load the local `wiki_dpr` directory, instead of `wiki_dpr` from the Hub. It doesn't work since it's a **cache** directory, not a **... | when I rerun my program, it occurs this error
" Unable to resolve any data file that matches '['**train*']' at /data2/whr/lzy/open_domain_data/retrieval/wiki_dpr with any supported extension ['csv', 'tsv', 'json', 'jsonl', 'parquet', 'txt', 'zip']", so how could i deal with this problem?
thx.
And below is my code .
... | 70 | Unable to resolve any data file after loading once
when I rerun my program, it occurs this error
" Unable to resolve any data file that matches '['**train*']' at /data2/whr/lzy/open_domain_data/retrieval/wiki_dpr with any supported extension ['csv', 'tsv', 'json', 'jsonl', 'parquet', 'txt', 'zip']", so how could i d... | [
0.023501034826040268,
-0.09232994168996811,
-0.08532172441482544,
0.5271116495132446,
0.3798454999923706,
0.1411336362361908,
0.07990532368421555,
0.5025758147239685,
0.20327430963516235,
0.07570138573646545,
0.11050055921077728,
-0.010860863141715527,
0.17593413591384888,
0.04730165004730... |
https://github.com/huggingface/datasets/issues/3425 | Getting configs names takes too long | It looks like it's currently calling `HfFileSystem.ls()` ~8 times at the root and for each subdirectory:
- ""
- "en.noblocklist"
- "en.noclean"
- "en"
- "multilingual"
- "realnewslike"
Currently `ls` is slow because it iterates on all the files inside the repository.
An easy optimization would be to cache t... |
## Steps to reproduce the bug
```python
from datasets import get_dataset_config_names
get_dataset_config_names("allenai/c4")
```
## Expected results
I would expect to get the answer quickly, at least in less than 10s
## Actual results
It takes about 45s on my environment
## Environment info
- `d... | 76 | Getting configs names takes too long
## Steps to reproduce the bug
```python
from datasets import get_dataset_config_names
get_dataset_config_names("allenai/c4")
```
## Expected results
I would expect to get the answer quickly, at least in less than 10s
## Actual results
It takes about 45s on my env... | [
-0.3283517062664032,
0.17223027348518372,
-0.1880415976047516,
0.37703484296798706,
0.19992826879024506,
-0.1003856360912323,
0.13859331607818604,
0.4915497899055481,
-0.029057443141937256,
0.3562118411064148,
-0.19607508182525635,
0.3529300093650818,
0.13209791481494904,
-0.24323767423629... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.