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/5422 | Datasets load error for saved github issues | Found this when searching for the same error, looks like based on #3965 it's just an issue with the data. I found that changing `df = pd.DataFrame.from_records(all_issues)` to `df = pd.DataFrame.from_records(all_issues).dropna(axis=1, how='all').drop(['milestone'], axis=1)` from the fetch_issues function fixed the issu... | ### Describe the bug
Loading a previously downloaded & saved dataset as described in the HuggingFace course:
issues_dataset = load_dataset("json", data_files="issues/datasets-issues.jsonl", split="train")
Gives this error:
datasets.builder.DatasetGenerationError: An error occurred while generating the dataset... | 65 | Datasets load error for saved github issues
### Describe the bug
Loading a previously downloaded & saved dataset as described in the HuggingFace course:
issues_dataset = load_dataset("json", data_files="issues/datasets-issues.jsonl", split="train")
Gives this error:
datasets.builder.DatasetGenerationError: ... | [
-0.4710150957107544,
0.07906512916088104,
0.059535037726163864,
0.4664856791496277,
0.22032460570335388,
0.09920280426740646,
0.3799690008163452,
0.2986510694026947,
0.09120248258113861,
-0.014517247676849365,
0.041823916137218475,
0.09861104935407639,
-0.28378358483314514,
0.1802484840154... |
https://github.com/huggingface/datasets/issues/5422 | Datasets load error for saved github issues | I have this same issue. I saved a dataset to disk and now I can't load it. | ### Describe the bug
Loading a previously downloaded & saved dataset as described in the HuggingFace course:
issues_dataset = load_dataset("json", data_files="issues/datasets-issues.jsonl", split="train")
Gives this error:
datasets.builder.DatasetGenerationError: An error occurred while generating the dataset... | 17 | Datasets load error for saved github issues
### Describe the bug
Loading a previously downloaded & saved dataset as described in the HuggingFace course:
issues_dataset = load_dataset("json", data_files="issues/datasets-issues.jsonl", split="train")
Gives this error:
datasets.builder.DatasetGenerationError: ... | [
-0.4710150957107544,
0.07906512916088104,
0.059535037726163864,
0.4664856791496277,
0.22032460570335388,
0.09920280426740646,
0.3799690008163452,
0.2986510694026947,
0.09120248258113861,
-0.014517247676849365,
0.041823916137218475,
0.09861104935407639,
-0.28378358483314514,
0.1802484840154... |
https://github.com/huggingface/datasets/issues/5422 | Datasets load error for saved github issues | Hi @folterj , I faced same issue while creating `issues_dataset` (https://huggingface.co/learn/nlp-course/chapter5/5?fw=pt). The fix which worked for me was loading the *.jsonl file as pd.read_json and then converting it into a Dataset using datasets API.
```
import pandas as pd
df=pd.read_json("datasets-issues.json... | ### Describe the bug
Loading a previously downloaded & saved dataset as described in the HuggingFace course:
issues_dataset = load_dataset("json", data_files="issues/datasets-issues.jsonl", split="train")
Gives this error:
datasets.builder.DatasetGenerationError: An error occurred while generating the dataset... | 55 | Datasets load error for saved github issues
### Describe the bug
Loading a previously downloaded & saved dataset as described in the HuggingFace course:
issues_dataset = load_dataset("json", data_files="issues/datasets-issues.jsonl", split="train")
Gives this error:
datasets.builder.DatasetGenerationError: ... | [
-0.4710150957107544,
0.07906512916088104,
0.059535037726163864,
0.4664856791496277,
0.22032460570335388,
0.09920280426740646,
0.3799690008163452,
0.2986510694026947,
0.09120248258113861,
-0.014517247676849365,
0.041823916137218475,
0.09861104935407639,
-0.28378358483314514,
0.1802484840154... |
https://github.com/huggingface/datasets/issues/5422 | Datasets load error for saved github issues | I understand some work-around suggestions would be to not use load_dataset(), and instead using a different API function. Another alternative would be using the same function using streaming, as I had already suggested in my original post.
However, the fact remains that there is an issue in this function as reported. | ### Describe the bug
Loading a previously downloaded & saved dataset as described in the HuggingFace course:
issues_dataset = load_dataset("json", data_files="issues/datasets-issues.jsonl", split="train")
Gives this error:
datasets.builder.DatasetGenerationError: An error occurred while generating the dataset... | 51 | Datasets load error for saved github issues
### Describe the bug
Loading a previously downloaded & saved dataset as described in the HuggingFace course:
issues_dataset = load_dataset("json", data_files="issues/datasets-issues.jsonl", split="train")
Gives this error:
datasets.builder.DatasetGenerationError: ... | [
-0.4710150957107544,
0.07906512916088104,
0.059535037726163864,
0.4664856791496277,
0.22032460570335388,
0.09920280426740646,
0.3799690008163452,
0.2986510694026947,
0.09120248258113861,
-0.014517247676849365,
0.041823916137218475,
0.09861104935407639,
-0.28378358483314514,
0.1802484840154... |
https://github.com/huggingface/datasets/issues/5421 | Support case-insensitive Hub dataset name in load_dataset | Closing as case-insensitivity should be only for URL redirection on the Hub. In the APIs, we will only support the canonical name (https://github.com/huggingface/moon-landing/pull/2399#issuecomment-1382085611) | ### Feature request
The dataset name on the Hub is case-insensitive (see https://github.com/huggingface/moon-landing/pull/2399, internal issue), i.e., https://huggingface.co/datasets/GLUE redirects to https://huggingface.co/datasets/glue.
Ideally, we could load the glue dataset using the following:
```
from d... | 23 | Support case-insensitive Hub dataset name in load_dataset
### Feature request
The dataset name on the Hub is case-insensitive (see https://github.com/huggingface/moon-landing/pull/2399, internal issue), i.e., https://huggingface.co/datasets/GLUE redirects to https://huggingface.co/datasets/glue.
Ideally, we cou... | [
-0.060381487011909485,
-0.33880066871643066,
-0.0036617759615182877,
0.09023267030715942,
0.22566431760787964,
0.06747224181890488,
0.33013951778411865,
0.22485342621803284,
0.24623435735702515,
0.25057321786880493,
-0.3075138330459595,
0.303022176027298,
0.052757613360881805,
0.2618841528... |
https://github.com/huggingface/datasets/issues/5419 | label_column='labels' in datasets.TextClassification and 'label' or 'label_ids' in transformers.DataColator | Hi! Thanks for pointing out this inconsistency. Changing the default value at this point is probably not worth it, considering we've started discussing the state of the task API internally - we will most likely deprecate the current one and replace it with a more robust solution that relies on the `train_eval_index` fi... | ### Describe the bug
When preparing a dataset for a task using `datasets.TextClassification`, the output feature is named `labels`. When preparing the trainer using the `transformers.DataCollator` the default column name is `label` if binary or `label_ids` if multi-class problem.
It is required to rename the column... | 62 | label_column='labels' in datasets.TextClassification and 'label' or 'label_ids' in transformers.DataColator
### Describe the bug
When preparing a dataset for a task using `datasets.TextClassification`, the output feature is named `labels`. When preparing the trainer using the `transformers.DataCollator` the default ... | [
-0.09878388047218323,
-0.028300918638706207,
0.08245208859443665,
0.17236316204071045,
0.5925770401954651,
0.16195064783096313,
0.8654405474662781,
0.14585192501544952,
-0.3619146943092346,
0.3564334511756897,
0.07374385744333267,
0.6325087547302246,
-0.12174087017774582,
0.024712728336453... |
https://github.com/huggingface/datasets/issues/5419 | label_column='labels' in datasets.TextClassification and 'label' or 'label_ids' in transformers.DataColator | The task templates API has been deprecated (will be removed in version 3.0), so I'm closing this issue. | ### Describe the bug
When preparing a dataset for a task using `datasets.TextClassification`, the output feature is named `labels`. When preparing the trainer using the `transformers.DataCollator` the default column name is `label` if binary or `label_ids` if multi-class problem.
It is required to rename the column... | 18 | label_column='labels' in datasets.TextClassification and 'label' or 'label_ids' in transformers.DataColator
### Describe the bug
When preparing a dataset for a task using `datasets.TextClassification`, the output feature is named `labels`. When preparing the trainer using the `transformers.DataCollator` the default ... | [
-0.09878388047218323,
-0.028300918638706207,
0.08245208859443665,
0.17236316204071045,
0.5925770401954651,
0.16195064783096313,
0.8654405474662781,
0.14585192501544952,
-0.3619146943092346,
0.3564334511756897,
0.07374385744333267,
0.6325087547302246,
-0.12174087017774582,
0.024712728336453... |
https://github.com/huggingface/datasets/issues/5418 | Add ProgressBar for `to_parquet` | Thanks for your proposal, @zanussbaum. Yes, I agree that would definitely be a nice feature to have! | ### Feature request
Add a progress bar for `Dataset.to_parquet`, similar to how `to_json` works.
### Motivation
It's a bit frustrating to not know how long a dataset will take to write to file and if it's stuck or not without a progress bar
### Your contribution
Sure I can help if needed | 17 | Add ProgressBar for `to_parquet`
### Feature request
Add a progress bar for `Dataset.to_parquet`, similar to how `to_json` works.
### Motivation
It's a bit frustrating to not know how long a dataset will take to write to file and if it's stuck or not without a progress bar
### Your contribution
Sure I can help i... | [
-0.23243588209152222,
0.22826921939849854,
-0.20800244808197021,
-0.17253246903419495,
0.033992551267147064,
0.06189555674791336,
0.049627821892499924,
0.3795413374900818,
-0.256448894739151,
0.23588132858276367,
0.578978419303894,
0.4618098735809326,
-0.047420524060726166,
0.6257507801055... |
https://github.com/huggingface/datasets/issues/5418 | Add ProgressBar for `to_parquet` | That would be awesome ! You can comment `#self-assign` to assign you to this issue and open a PR :) Will be happy to review | ### Feature request
Add a progress bar for `Dataset.to_parquet`, similar to how `to_json` works.
### Motivation
It's a bit frustrating to not know how long a dataset will take to write to file and if it's stuck or not without a progress bar
### Your contribution
Sure I can help if needed | 25 | Add ProgressBar for `to_parquet`
### Feature request
Add a progress bar for `Dataset.to_parquet`, similar to how `to_json` works.
### Motivation
It's a bit frustrating to not know how long a dataset will take to write to file and if it's stuck or not without a progress bar
### Your contribution
Sure I can help i... | [
-0.20450875163078308,
0.1920316517353058,
-0.21544012427330017,
-0.09467759728431702,
0.01625113934278488,
0.02099350094795227,
0.008307348936796188,
0.3782069683074951,
-0.21084432303905487,
0.172104611992836,
0.5207964777946472,
0.4878308176994324,
0.036368031054735184,
0.557676494121551... |
https://github.com/huggingface/datasets/issues/5414 | Sharding error with Multilingual LibriSpeech | Thanks for reporting, @Nithin-Holla.
This is a known issue for multiple datasets and we are investigating it:
- See e.g.: https://huggingface.co/datasets/ami/discussions/3 | ### Describe the bug
Loading the German Multilingual LibriSpeech dataset results in a RuntimeError regarding sharding with the following stacktrace:
```
Downloading and preparing dataset multilingual_librispeech/german to /home/nithin/datadrive/cache/huggingface/datasets/facebook___multilingual_librispeech/german/... | 21 | Sharding error with Multilingual LibriSpeech
### Describe the bug
Loading the German Multilingual LibriSpeech dataset results in a RuntimeError regarding sharding with the following stacktrace:
```
Downloading and preparing dataset multilingual_librispeech/german to /home/nithin/datadrive/cache/huggingface/datas... | [
-0.3553851246833801,
-0.14403824508190155,
0.00005336478352546692,
0.5673322081565857,
0.06083439290523529,
-0.1562197506427765,
0.609243631362915,
0.18272939324378967,
-0.19708792865276337,
0.07945094257593155,
0.14631296694278717,
-0.5302384495735168,
-0.2096387892961502,
0.2012958675622... |
https://github.com/huggingface/datasets/issues/5413 | concatenate_datasets fails when two dataset with shards > 1 and unequal shard numbers | Hi ! Thanks for reporting :)
I managed to reproduce the hub using
```python
from datasets import concatenate_datasets, Dataset, load_from_disk
Dataset.from_dict({"a": range(9)}).save_to_disk("tmp/ds1")
ds1 = load_from_disk("tmp/ds1")
ds1 = concatenate_datasets([ds1, ds1])
Dataset.from_dict({"b": range(6)... | ### Describe the bug
When using `concatenate_datasets([dataset1, dataset2], axis = 1)` to concatenate two datasets with shards > 1, it fails:
```
File "/home/xzg/anaconda3/envs/tri-transfer/lib/python3.9/site-packages/datasets/combine.py", line 182, in concatenate_datasets
return _concatenate_map_style_data... | 140 | concatenate_datasets fails when two dataset with shards > 1 and unequal shard numbers
### Describe the bug
When using `concatenate_datasets([dataset1, dataset2], axis = 1)` to concatenate two datasets with shards > 1, it fails:
```
File "/home/xzg/anaconda3/envs/tri-transfer/lib/python3.9/site-packages/dataset... | [
-0.39682039618492126,
0.01500767469406128,
-0.05729880928993225,
0.3943527340888977,
-0.054824359714984894,
0.023786716163158417,
0.37211254239082336,
0.38663947582244873,
-0.3439653813838959,
0.11458081007003784,
-0.028211763128638268,
0.1879979521036148,
0.10284203290939331,
0.2812712788... |
https://github.com/huggingface/datasets/issues/5412 | load_dataset() cannot find dataset_info.json with multiple training runs in parallel | Hi ! It fails because the dataset is already being prepared by your first run. I'd encourage you to prepare your dataset before using it for multiple trainings.
You can also specify another cache directory by passing `cache_dir=` to `load_dataset()`. | ### Describe the bug
I have a custom local dataset in JSON form. I am trying to do multiple training runs in parallel. The first training run runs with no issue. However, when I start another run on another GPU, the following code throws this error.
If there is a workaround to ignore the cache I think that would ... | 40 | load_dataset() cannot find dataset_info.json with multiple training runs in parallel
### Describe the bug
I have a custom local dataset in JSON form. I am trying to do multiple training runs in parallel. The first training run runs with no issue. However, when I start another run on another GPU, the following code... | [
-0.3174046277999878,
0.0906004011631012,
0.043627116829156876,
0.5405644774436951,
0.07730000466108322,
0.2994084656238556,
0.48144441843032837,
0.43623343110084534,
0.18919509649276733,
-0.04075530171394348,
0.250057190656662,
0.18446266651153564,
0.13980749249458313,
-0.10856341570615768... |
https://github.com/huggingface/datasets/issues/5412 | load_dataset() cannot find dataset_info.json with multiple training runs in parallel | Thank you! What do you mean by prepare it beforehand? I am unclear how to conduct dataset preparation outside of using the `load_dataset` function. | ### Describe the bug
I have a custom local dataset in JSON form. I am trying to do multiple training runs in parallel. The first training run runs with no issue. However, when I start another run on another GPU, the following code throws this error.
If there is a workaround to ignore the cache I think that would ... | 24 | load_dataset() cannot find dataset_info.json with multiple training runs in parallel
### Describe the bug
I have a custom local dataset in JSON form. I am trying to do multiple training runs in parallel. The first training run runs with no issue. However, when I start another run on another GPU, the following code... | [
-0.3174046277999878,
0.0906004011631012,
0.043627116829156876,
0.5405644774436951,
0.07730000466108322,
0.2994084656238556,
0.48144441843032837,
0.43623343110084534,
0.18919509649276733,
-0.04075530171394348,
0.250057190656662,
0.18446266651153564,
0.13980749249458313,
-0.10856341570615768... |
https://github.com/huggingface/datasets/issues/5412 | load_dataset() cannot find dataset_info.json with multiple training runs in parallel | You can have a separate script that does load_dataset + map + save_to_disk to save your prepared dataset somewhere. Then in your training script you can reload the dataset with load_from_disk | ### Describe the bug
I have a custom local dataset in JSON form. I am trying to do multiple training runs in parallel. The first training run runs with no issue. However, when I start another run on another GPU, the following code throws this error.
If there is a workaround to ignore the cache I think that would ... | 31 | load_dataset() cannot find dataset_info.json with multiple training runs in parallel
### Describe the bug
I have a custom local dataset in JSON form. I am trying to do multiple training runs in parallel. The first training run runs with no issue. However, when I start another run on another GPU, the following code... | [
-0.3174046277999878,
0.0906004011631012,
0.043627116829156876,
0.5405644774436951,
0.07730000466108322,
0.2994084656238556,
0.48144441843032837,
0.43623343110084534,
0.18919509649276733,
-0.04075530171394348,
0.250057190656662,
0.18446266651153564,
0.13980749249458313,
-0.10856341570615768... |
https://github.com/huggingface/datasets/issues/5412 | load_dataset() cannot find dataset_info.json with multiple training runs in parallel | Thank you! I believe I was running additional map steps after loading, resulting in the cache conflict. | ### Describe the bug
I have a custom local dataset in JSON form. I am trying to do multiple training runs in parallel. The first training run runs with no issue. However, when I start another run on another GPU, the following code throws this error.
If there is a workaround to ignore the cache I think that would ... | 17 | load_dataset() cannot find dataset_info.json with multiple training runs in parallel
### Describe the bug
I have a custom local dataset in JSON form. I am trying to do multiple training runs in parallel. The first training run runs with no issue. However, when I start another run on another GPU, the following code... | [
-0.3174046277999878,
0.0906004011631012,
0.043627116829156876,
0.5405644774436951,
0.07730000466108322,
0.2994084656238556,
0.48144441843032837,
0.43623343110084534,
0.18919509649276733,
-0.04075530171394348,
0.250057190656662,
0.18446266651153564,
0.13980749249458313,
-0.10856341570615768... |
https://github.com/huggingface/datasets/issues/5408 | dataset map function could not be hash properly | Hi ! On macos I tried with
- py 3.9.11
- datasets 2.8.0
- transformers 4.25.1
- dill 0.3.4
and I was able to hash `prepare_dataset` correctly:
```python
from datasets.fingerprint import Hasher
Hasher.hash(prepare_dataset)
```
What version of transformers do you have ? Can you try to call `Hasher.hash` on ... | ### Describe the bug
I follow the [blog post](https://huggingface.co/blog/fine-tune-whisper#building-a-demo) to finetune a Cantonese transcribe model.
When using map function to prepare dataset, following warning pop out:
`common_voice = common_voice.map(prepare_dataset,
remove_... | 64 | dataset map function could not be hash properly
### Describe the bug
I follow the [blog post](https://huggingface.co/blog/fine-tune-whisper#building-a-demo) to finetune a Cantonese transcribe model.
When using map function to prepare dataset, following warning pop out:
`common_voice = common_voice.map(prepare_... | [
-0.053247835487127304,
-0.17688889801502228,
0.10579632222652435,
0.10368242859840393,
0.3758312463760376,
0.08446512371301651,
0.18014320731163025,
0.17695252597332,
-0.1404319405555725,
0.05729922652244568,
-0.16413289308547974,
0.23005767166614532,
-0.2356150597333908,
-0.03130513057112... |
https://github.com/huggingface/datasets/issues/5408 | dataset map function could not be hash properly | Thanks for your prompt reply.
I update datasets version to 2.8.0 and the warning is gong. | ### Describe the bug
I follow the [blog post](https://huggingface.co/blog/fine-tune-whisper#building-a-demo) to finetune a Cantonese transcribe model.
When using map function to prepare dataset, following warning pop out:
`common_voice = common_voice.map(prepare_dataset,
remove_... | 16 | dataset map function could not be hash properly
### Describe the bug
I follow the [blog post](https://huggingface.co/blog/fine-tune-whisper#building-a-demo) to finetune a Cantonese transcribe model.
When using map function to prepare dataset, following warning pop out:
`common_voice = common_voice.map(prepare_... | [
-0.053247835487127304,
-0.17688889801502228,
0.10579632222652435,
0.10368242859840393,
0.3758312463760376,
0.08446512371301651,
0.18014320731163025,
0.17695252597332,
-0.1404319405555725,
0.05729922652244568,
-0.16413289308547974,
0.23005767166614532,
-0.2356150597333908,
-0.03130513057112... |
https://github.com/huggingface/datasets/issues/5406 | [2.6.1][2.7.0] Upgrade `datasets` to fix `TypeError: can only concatenate str (not "int") to str` | Hi ! I just tested locally and or colab and it works fine for 2.9 on `sst2`.
Also the code that is shown in your stack trace is not present in the 2.9 source code - so I'm wondering how you installed `datasets` that could cause this ? (you can check by searching for `[0:{label_ids[-1] + 1}]` in the [2.9 codebase](ht... | `datasets` 2.6.1 and 2.7.0 started to stop supporting datasets like IMDB, ConLL or MNIST datasets.
When loading a dataset using 2.6.1 or 2.7.0, you may this error when loading certain datasets:
```python
TypeError: can only concatenate str (not "int") to str
```
This is because we started to update the metadat... | 76 | [2.6.1][2.7.0] Upgrade `datasets` to fix `TypeError: can only concatenate str (not "int") to str`
`datasets` 2.6.1 and 2.7.0 started to stop supporting datasets like IMDB, ConLL or MNIST datasets.
When loading a dataset using 2.6.1 or 2.7.0, you may this error when loading certain datasets:
```python
TypeError: ... | [
-0.22732402384281158,
-0.24561384320259094,
0.0452948622405529,
0.20780964195728302,
0.19920183718204498,
0.035199858248233795,
0.14738135039806366,
0.23253269493579865,
-0.048499349504709244,
0.101356640458107,
-0.26889654994010925,
0.2893787622451782,
-0.015856217592954636,
0.40243700146... |
https://github.com/huggingface/datasets/issues/5406 | [2.6.1][2.7.0] Upgrade `datasets` to fix `TypeError: can only concatenate str (not "int") to str` | For what it's worth, I've also gotten this error on 2.9.0, and I've tried uninstalling an reinstalling

I'm very new to this package (I was following this tutorial: https://h... | `datasets` 2.6.1 and 2.7.0 started to stop supporting datasets like IMDB, ConLL or MNIST datasets.
When loading a dataset using 2.6.1 or 2.7.0, you may this error when loading certain datasets:
```python
TypeError: can only concatenate str (not "int") to str
```
This is because we started to update the metadat... | 54 | [2.6.1][2.7.0] Upgrade `datasets` to fix `TypeError: can only concatenate str (not "int") to str`
`datasets` 2.6.1 and 2.7.0 started to stop supporting datasets like IMDB, ConLL or MNIST datasets.
When loading a dataset using 2.6.1 or 2.7.0, you may this error when loading certain datasets:
```python
TypeError: ... | [
-0.1898443102836609,
-0.14905883371829987,
0.05108942463994026,
0.13530972599983215,
0.32842183113098145,
0.0752311572432518,
0.16571544110774994,
0.21379104256629944,
-0.18478959798812866,
0.10597962141036987,
-0.24782639741897583,
0.09155081957578659,
-0.16757497191429138,
0.284152805805... |
https://github.com/huggingface/datasets/issues/5406 | [2.6.1][2.7.0] Upgrade `datasets` to fix `TypeError: can only concatenate str (not "int") to str` | @ntrpnr @mtwichel Did you install `datasets` with conda ?
I suspect that `datasets` 2.9 on conda still have this issue for some reason. When I install `datasets` with `pip` I don't have this error. | `datasets` 2.6.1 and 2.7.0 started to stop supporting datasets like IMDB, ConLL or MNIST datasets.
When loading a dataset using 2.6.1 or 2.7.0, you may this error when loading certain datasets:
```python
TypeError: can only concatenate str (not "int") to str
```
This is because we started to update the metadat... | 34 | [2.6.1][2.7.0] Upgrade `datasets` to fix `TypeError: can only concatenate str (not "int") to str`
`datasets` 2.6.1 and 2.7.0 started to stop supporting datasets like IMDB, ConLL or MNIST datasets.
When loading a dataset using 2.6.1 or 2.7.0, you may this error when loading certain datasets:
```python
TypeError: ... | [
-0.2978602647781372,
-0.10467936098575592,
-0.012508518993854523,
0.14362940192222595,
0.25562524795532227,
0.1102101132273674,
0.1326507180929184,
0.299350768327713,
-0.15901434421539307,
0.21375145018100739,
-0.2765698730945587,
0.2294270247220993,
-0.012035674415528774,
0.28797948360443... |
https://github.com/huggingface/datasets/issues/5406 | [2.6.1][2.7.0] Upgrade `datasets` to fix `TypeError: can only concatenate str (not "int") to str` | > @ntrpnr @mtwichel Did you install datasets with conda ?
I did yeah, I wonder if that's the issue | `datasets` 2.6.1 and 2.7.0 started to stop supporting datasets like IMDB, ConLL or MNIST datasets.
When loading a dataset using 2.6.1 or 2.7.0, you may this error when loading certain datasets:
```python
TypeError: can only concatenate str (not "int") to str
```
This is because we started to update the metadat... | 19 | [2.6.1][2.7.0] Upgrade `datasets` to fix `TypeError: can only concatenate str (not "int") to str`
`datasets` 2.6.1 and 2.7.0 started to stop supporting datasets like IMDB, ConLL or MNIST datasets.
When loading a dataset using 2.6.1 or 2.7.0, you may this error when loading certain datasets:
```python
TypeError: ... | [
-0.2563302218914032,
-0.20079022645950317,
-0.027708543464541435,
0.15215763449668884,
0.26354342699050903,
0.06652147322893143,
0.12212345004081726,
0.3263581097126007,
-0.093695268034935,
0.19993674755096436,
-0.2873542606830597,
0.2094787359237671,
-0.020035702735185623,
0.2937656641006... |
https://github.com/huggingface/datasets/issues/5406 | [2.6.1][2.7.0] Upgrade `datasets` to fix `TypeError: can only concatenate str (not "int") to str` | I just checked on conda at https://anaconda.org/HuggingFace/datasets/files
and everything looks fine, I got
```python
f"ClassLabel expected a value for all label ids [0:{int(label_ids[-1]) + 1}] but some ids are missing."
```
as expected in features.py line 1760 (notice the "int()") to not have the TypeError.
... | `datasets` 2.6.1 and 2.7.0 started to stop supporting datasets like IMDB, ConLL or MNIST datasets.
When loading a dataset using 2.6.1 or 2.7.0, you may this error when loading certain datasets:
```python
TypeError: can only concatenate str (not "int") to str
```
This is because we started to update the metadat... | 70 | [2.6.1][2.7.0] Upgrade `datasets` to fix `TypeError: can only concatenate str (not "int") to str`
`datasets` 2.6.1 and 2.7.0 started to stop supporting datasets like IMDB, ConLL or MNIST datasets.
When loading a dataset using 2.6.1 or 2.7.0, you may this error when loading certain datasets:
```python
TypeError: ... | [
-0.15835687518119812,
-0.05639704316854477,
-0.01046288013458252,
0.23701727390289307,
0.23716716468334198,
0.09276866167783737,
0.14984539151191711,
0.23796384036540985,
-0.10564179718494415,
0.07009120285511017,
-0.3384237587451935,
0.1702401041984558,
-0.028741907328367233,
0.3457192480... |
https://github.com/huggingface/datasets/issues/5406 | [2.6.1][2.7.0] Upgrade `datasets` to fix `TypeError: can only concatenate str (not "int") to str` | Could you also try this in your notebook ? In case your python kernel doesn't match the `pip` environment in your shell
```python
import datasets; datasets.__version__
```
and
```
!which python
```
```python
import sys; sys.executable
``` | `datasets` 2.6.1 and 2.7.0 started to stop supporting datasets like IMDB, ConLL or MNIST datasets.
When loading a dataset using 2.6.1 or 2.7.0, you may this error when loading certain datasets:
```python
TypeError: can only concatenate str (not "int") to str
```
This is because we started to update the metadat... | 37 | [2.6.1][2.7.0] Upgrade `datasets` to fix `TypeError: can only concatenate str (not "int") to str`
`datasets` 2.6.1 and 2.7.0 started to stop supporting datasets like IMDB, ConLL or MNIST datasets.
When loading a dataset using 2.6.1 or 2.7.0, you may this error when loading certain datasets:
```python
TypeError: ... | [
-0.3279578387737274,
-0.19580914080142975,
-0.03432777523994446,
0.16157463192939758,
0.23252519965171814,
0.09833017736673355,
0.059830378741025925,
0.29804548621177673,
-0.03190207853913307,
0.19195975363254547,
-0.29935744404792786,
0.322247713804245,
-0.00861781369894743,
0.27665251493... |
https://github.com/huggingface/datasets/issues/5406 | [2.6.1][2.7.0] Upgrade `datasets` to fix `TypeError: can only concatenate str (not "int") to str` | Mmmm, just a potential clue:
Where are you running your Python code? Is it the Spyder IDE?
I have recently seen some users reporting conflicting Python environments while using Spyder...
Maybe related:
- #5487 | `datasets` 2.6.1 and 2.7.0 started to stop supporting datasets like IMDB, ConLL or MNIST datasets.
When loading a dataset using 2.6.1 or 2.7.0, you may this error when loading certain datasets:
```python
TypeError: can only concatenate str (not "int") to str
```
This is because we started to update the metadat... | 34 | [2.6.1][2.7.0] Upgrade `datasets` to fix `TypeError: can only concatenate str (not "int") to str`
`datasets` 2.6.1 and 2.7.0 started to stop supporting datasets like IMDB, ConLL or MNIST datasets.
When loading a dataset using 2.6.1 or 2.7.0, you may this error when loading certain datasets:
```python
TypeError: ... | [
-0.29983484745025635,
-0.09081178903579712,
-0.0404607430100441,
0.13161751627922058,
0.20251797139644623,
-0.00621776282787323,
0.12956039607524872,
0.2817309498786926,
0.10443757474422455,
0.15001168847084045,
-0.3052215576171875,
0.2753986418247223,
-0.0435800701379776,
0.34281623363494... |
https://github.com/huggingface/datasets/issues/5406 | [2.6.1][2.7.0] Upgrade `datasets` to fix `TypeError: can only concatenate str (not "int") to str` | Other potential clue:
- Had you already imported `datasets` before pip-updating it? You should first update datasets, before importing it. Otherwise, you need to restart the kernel after updating it. | `datasets` 2.6.1 and 2.7.0 started to stop supporting datasets like IMDB, ConLL or MNIST datasets.
When loading a dataset using 2.6.1 or 2.7.0, you may this error when loading certain datasets:
```python
TypeError: can only concatenate str (not "int") to str
```
This is because we started to update the metadat... | 30 | [2.6.1][2.7.0] Upgrade `datasets` to fix `TypeError: can only concatenate str (not "int") to str`
`datasets` 2.6.1 and 2.7.0 started to stop supporting datasets like IMDB, ConLL or MNIST datasets.
When loading a dataset using 2.6.1 or 2.7.0, you may this error when loading certain datasets:
```python
TypeError: ... | [
-0.3250020444393158,
-0.2863336503505707,
-0.03993111848831177,
0.13353289663791656,
0.2754467725753784,
0.05622177571058273,
0.035391874611377716,
0.30181893706321716,
-0.0034168269485235214,
0.24011032283306122,
-0.2261940836906433,
0.32073748111724854,
-0.022890783846378326,
0.228056892... |
https://github.com/huggingface/datasets/issues/5406 | [2.6.1][2.7.0] Upgrade `datasets` to fix `TypeError: can only concatenate str (not "int") to str` | I installed `datasets` with Conda using `conda install datasets` and got this issue.
Then I tried to reinstall using
`
conda install -c huggingface -c conda-forge datasets
`
The issue is now fixed. | `datasets` 2.6.1 and 2.7.0 started to stop supporting datasets like IMDB, ConLL or MNIST datasets.
When loading a dataset using 2.6.1 or 2.7.0, you may this error when loading certain datasets:
```python
TypeError: can only concatenate str (not "int") to str
```
This is because we started to update the metadat... | 33 | [2.6.1][2.7.0] Upgrade `datasets` to fix `TypeError: can only concatenate str (not "int") to str`
`datasets` 2.6.1 and 2.7.0 started to stop supporting datasets like IMDB, ConLL or MNIST datasets.
When loading a dataset using 2.6.1 or 2.7.0, you may this error when loading certain datasets:
```python
TypeError: ... | [
-0.26784858107566833,
-0.08024802803993225,
-0.019542146474123,
0.17858220636844635,
0.28097838163375854,
0.028393283486366272,
0.0963553935289383,
0.31161925196647644,
-0.18481163680553436,
0.14354604482650757,
-0.32570284605026245,
0.17842727899551392,
-0.019120804965496063,
0.3038997650... |
https://github.com/huggingface/datasets/issues/5405 | size_in_bytes the same for all splits | Hi @Breakend,
Indeed, the attribute `size_in_bytes` refers to the size of the entire dataset configuration, for all splits (size of downloaded files + Arrow files), not the specific split.
This is also the case for `download_size` (downloaded files) and `dataset_size` (Arrow files).
The size of the Arrow files f... | ### Describe the bug
Hi, it looks like whenever you pull a dataset and get size_in_bytes, it returns the same size for all splits (and that size is the combined size of all splits). It seems like this shouldn't be the intended behavior since it is misleading. Here's an example:
```
>>> from datasets import load_da... | 76 | size_in_bytes the same for all splits
### Describe the bug
Hi, it looks like whenever you pull a dataset and get size_in_bytes, it returns the same size for all splits (and that size is the combined size of all splits). It seems like this shouldn't be the intended behavior since it is misleading. Here's an example:
... | [
-0.09145727753639221,
-0.39270544052124023,
-0.08924220502376556,
0.4507644772529602,
0.17124532163143158,
-0.07393275946378708,
0.33963534235954285,
0.45473015308380127,
-0.002492012456059456,
0.23375020921230316,
0.056194089353084564,
-0.08060459792613983,
0.14824600517749786,
0.13303512... |
https://github.com/huggingface/datasets/issues/5402 | Missing state.json when creating a cloud dataset using a dataset_builder | `load_from_disk` must be used on datasets saved using `save_to_disk`: they correspond to fully serialized datasets including their state.
On the other hand, `download_and_prepare` just downloads the raw data and convert them to arrow (or parquet if you want). We are working on allowing you to reload a dataset saved ... | ### Describe the bug
Using `load_dataset_builder` to create a builder, run `download_and_prepare` do upload it to S3. However when trying to load it, there are missing `state.json` files. Complete example:
```python
from aiobotocore.session import AioSession as Session
from datasets import load_from_disk, load_da... | 66 | Missing state.json when creating a cloud dataset using a dataset_builder
### Describe the bug
Using `load_dataset_builder` to create a builder, run `download_and_prepare` do upload it to S3. However when trying to load it, there are missing `state.json` files. Complete example:
```python
from aiobotocore.session... | [
-0.2532854974269867,
0.19776985049247742,
0.008729513734579086,
0.4805905818939209,
0.1316860318183899,
0.11200118809938431,
0.4172387719154358,
0.23316419124603271,
-0.03772224113345146,
0.20437727868556976,
0.23392252624034882,
0.41359204053878784,
0.1034996435046196,
0.31614574790000916... |
https://github.com/huggingface/datasets/issues/5402 | Missing state.json when creating a cloud dataset using a dataset_builder | Thanks, I'll follow that issue.
I was following the [cloud storage](https://huggingface.co/docs/datasets/filesystems) docs section and perhaps I'm missing some part of the flow; start with `load_dataset_builder` + `download_and_prepare`. You say I need an explicit `save_to_disk` but what object needs to be saved? t... | ### Describe the bug
Using `load_dataset_builder` to create a builder, run `download_and_prepare` do upload it to S3. However when trying to load it, there are missing `state.json` files. Complete example:
```python
from aiobotocore.session import AioSession as Session
from datasets import load_from_disk, load_da... | 50 | Missing state.json when creating a cloud dataset using a dataset_builder
### Describe the bug
Using `load_dataset_builder` to create a builder, run `download_and_prepare` do upload it to S3. However when trying to load it, there are missing `state.json` files. Complete example:
```python
from aiobotocore.session... | [
-0.2532854974269867,
0.19776985049247742,
0.008729513734579086,
0.4805905818939209,
0.1316860318183899,
0.11200118809938431,
0.4172387719154358,
0.23316419124603271,
-0.03772224113345146,
0.20437727868556976,
0.23392252624034882,
0.41359204053878784,
0.1034996435046196,
0.31614574790000916... |
https://github.com/huggingface/datasets/issues/5402 | Missing state.json when creating a cloud dataset using a dataset_builder | Right now `load_dataset_builder` + `download_and_prepare` is to be used with tools like dask or spark, but `load_dataset` will support private cloud storage soon as well so you'll be able to reload the dataset with `datasets`.
Right now the only function that can load a dataset from a cloud storage is `load_from_dis... | ### Describe the bug
Using `load_dataset_builder` to create a builder, run `download_and_prepare` do upload it to S3. However when trying to load it, there are missing `state.json` files. Complete example:
```python
from aiobotocore.session import AioSession as Session
from datasets import load_from_disk, load_da... | 61 | Missing state.json when creating a cloud dataset using a dataset_builder
### Describe the bug
Using `load_dataset_builder` to create a builder, run `download_and_prepare` do upload it to S3. However when trying to load it, there are missing `state.json` files. Complete example:
```python
from aiobotocore.session... | [
-0.2532854974269867,
0.19776985049247742,
0.008729513734579086,
0.4805905818939209,
0.1316860318183899,
0.11200118809938431,
0.4172387719154358,
0.23316419124603271,
-0.03772224113345146,
0.20437727868556976,
0.23392252624034882,
0.41359204053878784,
0.1034996435046196,
0.31614574790000916... |
https://github.com/huggingface/datasets/issues/5394 | CI error: TypeError: dataclass_transform() got an unexpected keyword argument 'field_specifiers' | @MFatnassi, this issue and the corresponding fix only affect our Continuous Integration testing environment.
Note that `datasets` does not depend on `spacy`. | ### Describe the bug
While installing the dependencies, the CI raises a TypeError:
```
Traceback (most recent call last):
File "/opt/hostedtoolcache/Python/3.7.15/x64/lib/python3.7/runpy.py", line 183, in _run_module_as_main
mod_name, mod_spec, code = _get_module_details(mod_name, _Error)
File "/opt/hoste... | 22 | CI error: TypeError: dataclass_transform() got an unexpected keyword argument 'field_specifiers'
### Describe the bug
While installing the dependencies, the CI raises a TypeError:
```
Traceback (most recent call last):
File "/opt/hostedtoolcache/Python/3.7.15/x64/lib/python3.7/runpy.py", line 183, in _run_modul... | [
-0.1793406754732132,
-0.11005890369415283,
-0.06198836490511894,
0.14016938209533691,
0.313936710357666,
-0.07446721941232681,
0.17119450867176056,
0.44393715262413025,
-0.10442712903022766,
0.07730436325073242,
0.13754478096961975,
0.4131949841976166,
-0.11487019807100296,
0.3807457387447... |
https://github.com/huggingface/datasets/issues/5391 | Whisper Event - RuntimeError: The size of tensor a (504) must match the size of tensor b (448) at non-singleton dimension 1 100% 1000/1000 [2:52:21<00:00, 10.34s/it] | Hey @catswithbats! Super sorry for the late reply! This is happening because there is data with label length (504) that exceeds the model's max length (448).
There are two options here:
1. Increase the model's `max_length` parameter:
```python
model.config.max_length = 512
```
2. Filter data with labels longe... | Done in a VM with a GPU (Ubuntu) following the [Whisper Event - PYTHON](https://github.com/huggingface/community-events/tree/main/whisper-fine-tuning-event#python-script) instructions.
Attempted using [RuntimeError: he size of tensor a (504) must match the size of tensor b (448) at non-singleton dimension 1 100% 1... | 108 | Whisper Event - RuntimeError: The size of tensor a (504) must match the size of tensor b (448) at non-singleton dimension 1 100% 1000/1000 [2:52:21<00:00, 10.34s/it]
Done in a VM with a GPU (Ubuntu) following the [Whisper Event - PYTHON](https://github.com/huggingface/community-events/tree/main/whisper-fine-tuning-ev... | [
-0.1865757256746292,
-0.38332003355026245,
-0.00825178436934948,
0.3663005828857422,
0.15976998209953308,
-0.23157888650894165,
0.2509406507015228,
0.39457225799560547,
0.0024186819791793823,
0.2883606553077698,
0.10479263961315155,
-0.34932392835617065,
-0.23804496228694916,
0.29941651225... |
https://github.com/huggingface/datasets/issues/5391 | Whisper Event - RuntimeError: The size of tensor a (504) must match the size of tensor b (448) at non-singleton dimension 1 100% 1000/1000 [2:52:21<00:00, 10.34s/it] | @sanchit-gandhi Thank you for all your work on this topic.
I'm finding that changing the `max_length` value does not make this error go away. | Done in a VM with a GPU (Ubuntu) following the [Whisper Event - PYTHON](https://github.com/huggingface/community-events/tree/main/whisper-fine-tuning-event#python-script) instructions.
Attempted using [RuntimeError: he size of tensor a (504) must match the size of tensor b (448) at non-singleton dimension 1 100% 1... | 24 | Whisper Event - RuntimeError: The size of tensor a (504) must match the size of tensor b (448) at non-singleton dimension 1 100% 1000/1000 [2:52:21<00:00, 10.34s/it]
Done in a VM with a GPU (Ubuntu) following the [Whisper Event - PYTHON](https://github.com/huggingface/community-events/tree/main/whisper-fine-tuning-ev... | [
-0.1865757256746292,
-0.38332003355026245,
-0.00825178436934948,
0.3663005828857422,
0.15976998209953308,
-0.23157888650894165,
0.2509406507015228,
0.39457225799560547,
0.0024186819791793823,
0.2883606553077698,
0.10479263961315155,
-0.34932392835617065,
-0.23804496228694916,
0.29941651225... |
https://github.com/huggingface/datasets/issues/5390 | Error when pushing to the CI hub | Hmmm, git bisect tells me that the behavior is the same since https://github.com/huggingface/datasets/commit/67e65c90e9490810b89ee140da11fdd13c356c9c (3 Oct), i.e. https://github.com/huggingface/datasets/pull/4926 | ### Describe the bug
Note that it's a special case where the Hub URL is "https://hub-ci.huggingface.co", which does not appear if we do the same on the Hub (https://huggingface.co).
The call to `dataset.push_to_hub(` fails:
```
Pushing dataset shards to the dataset hub: 100%|██████████████████████████████████... | 17 | Error when pushing to the CI hub
### Describe the bug
Note that it's a special case where the Hub URL is "https://hub-ci.huggingface.co", which does not appear if we do the same on the Hub (https://huggingface.co).
The call to `dataset.push_to_hub(` fails:
```
Pushing dataset shards to the dataset hub: 100%... | [
-0.25651171803474426,
-0.39295852184295654,
0.041849467903375626,
0.058050427585840225,
0.010085087269544601,
-0.0018385425209999084,
0.19325734674930573,
0.24485576152801514,
0.010120231658220291,
0.03842552751302719,
-0.10119698196649551,
0.05556296929717064,
0.09907793253660202,
0.48055... |
https://github.com/huggingface/datasets/issues/5390 | Error when pushing to the CI hub | Maybe the current version of moonlanding in Hub CI is the issue.
I relaunched tests that were working two days ago: now they are failing. https://github.com/huggingface/datasets-server/commit/746414449cae4b311733f8a76e5b3b4ca73b38a9 for example
cc @huggingface/moon-landing | ### Describe the bug
Note that it's a special case where the Hub URL is "https://hub-ci.huggingface.co", which does not appear if we do the same on the Hub (https://huggingface.co).
The call to `dataset.push_to_hub(` fails:
```
Pushing dataset shards to the dataset hub: 100%|██████████████████████████████████... | 30 | Error when pushing to the CI hub
### Describe the bug
Note that it's a special case where the Hub URL is "https://hub-ci.huggingface.co", which does not appear if we do the same on the Hub (https://huggingface.co).
The call to `dataset.push_to_hub(` fails:
```
Pushing dataset shards to the dataset hub: 100%... | [
-0.25651171803474426,
-0.39295852184295654,
0.041849467903375626,
0.058050427585840225,
0.010085087269544601,
-0.0018385425209999084,
0.19325734674930573,
0.24485576152801514,
0.010120231658220291,
0.03842552751302719,
-0.10119698196649551,
0.05556296929717064,
0.09907793253660202,
0.48055... |
https://github.com/huggingface/datasets/issues/5390 | Error when pushing to the CI hub | Hi! I don't think this has anything to do with `datasets`. Hub CI seems to be the culprit - the identical failure can be found in [this](https://github.com/huggingface/datasets/pull/5389) PR (with unrelated changes) opened today. | ### Describe the bug
Note that it's a special case where the Hub URL is "https://hub-ci.huggingface.co", which does not appear if we do the same on the Hub (https://huggingface.co).
The call to `dataset.push_to_hub(` fails:
```
Pushing dataset shards to the dataset hub: 100%|██████████████████████████████████... | 33 | Error when pushing to the CI hub
### Describe the bug
Note that it's a special case where the Hub URL is "https://hub-ci.huggingface.co", which does not appear if we do the same on the Hub (https://huggingface.co).
The call to `dataset.push_to_hub(` fails:
```
Pushing dataset shards to the dataset hub: 100%... | [
-0.25651171803474426,
-0.39295852184295654,
0.041849467903375626,
0.058050427585840225,
0.010085087269544601,
-0.0018385425209999084,
0.19325734674930573,
0.24485576152801514,
0.010120231658220291,
0.03842552751302719,
-0.10119698196649551,
0.05556296929717064,
0.09907793253660202,
0.48055... |
https://github.com/huggingface/datasets/issues/5388 | Getting Value Error while loading a dataset.. | Hi! I can't reproduce this error locally (Mac) or in Colab. What version of `datasets` are you using? | ### Describe the bug
I am trying to load a dataset using Hugging Face Datasets load_dataset method. I am getting the value error as show below. Can someone help with this? I am using Windows laptop and Google Colab notebook.
```
WARNING:datasets.builder:Using custom data configuration default-a1d9e8eaedd958cd
---... | 18 | Getting Value Error while loading a dataset..
### Describe the bug
I am trying to load a dataset using Hugging Face Datasets load_dataset method. I am getting the value error as show below. Can someone help with this? I am using Windows laptop and Google Colab notebook.
```
WARNING:datasets.builder:Using custom ... | [
-0.42182275652885437,
-0.3026272654533386,
0.017313849180936813,
0.4908521771430969,
0.2631380259990692,
0.059877730906009674,
0.3964580297470093,
0.04273839667439461,
0.08469170331954956,
0.27312690019607544,
-0.16546882688999176,
0.3394649922847748,
-0.17036893963813782,
0.28852760791778... |
https://github.com/huggingface/datasets/issues/5388 | Getting Value Error while loading a dataset.. | @valmetisrinivas you get that error because you imported `datasets` (and thus `fsspec`) before installing `zstandard`.
Please, restart your Colab runtime and execute the install commands before importing `datasets`:
```python
!pip install datasets
!pip install zstandard
from datasets import load_dataset
ds ... | ### Describe the bug
I am trying to load a dataset using Hugging Face Datasets load_dataset method. I am getting the value error as show below. Can someone help with this? I am using Windows laptop and Google Colab notebook.
```
WARNING:datasets.builder:Using custom data configuration default-a1d9e8eaedd958cd
---... | 49 | Getting Value Error while loading a dataset..
### Describe the bug
I am trying to load a dataset using Hugging Face Datasets load_dataset method. I am getting the value error as show below. Can someone help with this? I am using Windows laptop and Google Colab notebook.
```
WARNING:datasets.builder:Using custom ... | [
-0.4479125440120697,
-0.3030000925064087,
-0.01902599073946476,
0.5297799110412598,
0.2991926670074463,
0.08056461066007614,
0.3831023871898651,
0.02812386117875576,
0.1280464082956314,
0.23822905123233795,
-0.21237188577651978,
0.28098517656326294,
-0.1627029925584793,
0.29270410537719727... |
https://github.com/huggingface/datasets/issues/5388 | Getting Value Error while loading a dataset.. | > @valmetisrinivas you get that error because you imported `datasets` (and thus `fsspec`) before installing `zstandard`.
>
> Please, restart your Colab runtime and execute the install commands before importing `datasets`:
>
> ```python
> !pip install datasets
> !pip install zstandard
>
> from datasets import... | ### Describe the bug
I am trying to load a dataset using Hugging Face Datasets load_dataset method. I am getting the value error as show below. Can someone help with this? I am using Windows laptop and Google Colab notebook.
```
WARNING:datasets.builder:Using custom data configuration default-a1d9e8eaedd958cd
---... | 85 | Getting Value Error while loading a dataset..
### Describe the bug
I am trying to load a dataset using Hugging Face Datasets load_dataset method. I am getting the value error as show below. Can someone help with this? I am using Windows laptop and Google Colab notebook.
```
WARNING:datasets.builder:Using custom ... | [
-0.45217618346214294,
-0.3022094964981079,
-0.018817532807588577,
0.5334210991859436,
0.29905641078948975,
0.07933398336172104,
0.38119950890541077,
0.02605338767170906,
0.12390193343162537,
0.24274203181266785,
-0.21303217113018036,
0.2835160195827484,
-0.16486546397209167,
0.294609844684... |
https://github.com/huggingface/datasets/issues/5387 | Missing documentation page : improve-performance | Hi! Our documentation builder does not support links to sections, hence the bug. This is the link it should point to https://huggingface.co/docs/datasets/v2.8.0/en/cache#improve-performance. | ### Describe the bug
Trying to access https://huggingface.co/docs/datasets/v2.8.0/en/package_reference/cache#improve-performance, the page is missing.
The link is in here : https://huggingface.co/docs/datasets/v2.8.0/en/package_reference/loading_methods#datasets.load_dataset.keep_in_memory
### Steps to reproduce t... | 22 | Missing documentation page : improve-performance
### Describe the bug
Trying to access https://huggingface.co/docs/datasets/v2.8.0/en/package_reference/cache#improve-performance, the page is missing.
The link is in here : https://huggingface.co/docs/datasets/v2.8.0/en/package_reference/loading_methods#datasets.lo... | [
-0.0404958538711071,
-0.17207591235637665,
-0.08690676093101501,
0.48534655570983887,
0.10513737797737122,
0.37189891934394836,
0.02101120352745056,
0.23381856083869934,
0.04772822931408882,
0.21724505722522736,
0.008832949213683605,
0.1380598098039627,
0.045830219984054565,
-0.17870825529... |
https://github.com/huggingface/datasets/issues/5386 | `max_shard_size` in `datasets.push_to_hub()` breaks with large files | Hi!
This behavior stems from the fact that we don't always embed image bytes in the underlying arrow table, which can lead to bad size estimation (we use the first 1000 table rows to [estimate](https://github.com/huggingface/datasets/blob/9a7272cd4222383a5b932b0083a4cc173fda44e8/src/datasets/arrow_dataset.py#L4627)... | ### Describe the bug
`max_shard_size` parameter for `datasets.push_to_hub()` works unreliably with large files, generating shard files that are way past the specified limit.
In my private dataset, which contains unprocessed images of all sizes (up to `~100MB` per file), I've encountered cases where `max_shard_siz... | 101 | `max_shard_size` in `datasets.push_to_hub()` breaks with large files
### Describe the bug
`max_shard_size` parameter for `datasets.push_to_hub()` works unreliably with large files, generating shard files that are way past the specified limit.
In my private dataset, which contains unprocessed images of all sizes... | [
-0.43253472447395325,
-0.17858906090259552,
0.032033924013376236,
0.30755358934402466,
-0.0419180765748024,
-0.23482638597488403,
0.19890174269676208,
0.4464373290538788,
-0.2880842089653015,
0.1801431030035019,
0.17171980440616608,
0.05644378438591957,
-0.094880610704422,
0.00327758304774... |
https://github.com/huggingface/datasets/issues/5385 | Is `fs=` deprecated in `load_from_disk()` as well? | Hi! Yes, we should deprecate the `fs` param here. Would you be interested in submitting a PR? | ### Describe the bug
The `fs=` argument was deprecated from `Dataset.save_to_disk` and `Dataset.load_from_disk` in favor of automagically figuring it out via fsspec:
https://github.com/huggingface/datasets/blob/9a7272cd4222383a5b932b0083a4cc173fda44e8/src/datasets/arrow_dataset.py#L1339-L1340
Is there a reason the... | 17 | Is `fs=` deprecated in `load_from_disk()` as well?
### Describe the bug
The `fs=` argument was deprecated from `Dataset.save_to_disk` and `Dataset.load_from_disk` in favor of automagically figuring it out via fsspec:
https://github.com/huggingface/datasets/blob/9a7272cd4222383a5b932b0083a4cc173fda44e8/src/datasets/... | [
-0.17477941513061523,
-0.4953836500644684,
-0.04820879176259041,
0.0716986283659935,
0.39074134826660156,
-0.30995815992355347,
0.3980564773082733,
-0.043174613267183304,
0.12461672723293304,
0.07487393915653229,
-0.008422604762017727,
0.3234102427959442,
-0.042723238468170166,
0.163846254... |
https://github.com/huggingface/datasets/issues/5385 | Is `fs=` deprecated in `load_from_disk()` as well? | > Hi! Yes, we should deprecate the `fs` param here. Would you be interested in submitting a PR?
Yeah I can do that sometime next week. Should the storage_options be a new arg here? I’ll look around for anywhere else where fs is an arg. | ### Describe the bug
The `fs=` argument was deprecated from `Dataset.save_to_disk` and `Dataset.load_from_disk` in favor of automagically figuring it out via fsspec:
https://github.com/huggingface/datasets/blob/9a7272cd4222383a5b932b0083a4cc173fda44e8/src/datasets/arrow_dataset.py#L1339-L1340
Is there a reason the... | 45 | Is `fs=` deprecated in `load_from_disk()` as well?
### Describe the bug
The `fs=` argument was deprecated from `Dataset.save_to_disk` and `Dataset.load_from_disk` in favor of automagically figuring it out via fsspec:
https://github.com/huggingface/datasets/blob/9a7272cd4222383a5b932b0083a4cc173fda44e8/src/datasets/... | [
-0.09783859550952911,
-0.4176594316959381,
-0.07149815559387207,
0.0844612717628479,
0.417685329914093,
-0.2808403968811035,
0.37226083874702454,
-0.07231108844280243,
0.08835488557815552,
0.056952040642499924,
-0.019156813621520996,
0.3035810887813568,
-0.05652914196252823,
0.141014292836... |
https://github.com/huggingface/datasets/issues/5383 | IterableDataset missing column_names, differs from Dataset interface | Another example is that `IterableDataset.map` does not have `fn_kwargs`, among other arguments. It makes it harder to convert code from Dataset to IterableDataset. | ### Describe the bug
The documentation on [Stream](https://huggingface.co/docs/datasets/v1.18.2/stream.html) seems to imply that IterableDataset behaves just like a Dataset. However, examples like
```
dataset.map(augment_data, batched=True, remove_columns=dataset.column_names, ...)
```
will not work because `.colu... | 23 | IterableDataset missing column_names, differs from Dataset interface
### Describe the bug
The documentation on [Stream](https://huggingface.co/docs/datasets/v1.18.2/stream.html) seems to imply that IterableDataset behaves just like a Dataset. However, examples like
```
dataset.map(augment_data, batched=True, remov... | [
-0.028434697538614273,
-0.22802451252937317,
-0.020680371671915054,
0.1344291865825653,
0.23493483662605286,
0.3893427848815918,
0.4180056154727936,
0.05439216271042824,
0.08721564710140228,
0.11261903494596481,
-0.031082259491086006,
0.3224223852157593,
-0.08553209155797958,
0.21674583852... |
https://github.com/huggingface/datasets/issues/5383 | IterableDataset missing column_names, differs from Dataset interface | Hi! `fn_kwargs` was added to `IterableDataset.map` in `datasets 2.5.0`, so please update your installation (`pip install -U datasets`) to use it.
Regarding `column_names`, I agree we should add this property to `IterableDataset`. In the meantime, you can use `list(dataset.features.keys())` instead. | ### Describe the bug
The documentation on [Stream](https://huggingface.co/docs/datasets/v1.18.2/stream.html) seems to imply that IterableDataset behaves just like a Dataset. However, examples like
```
dataset.map(augment_data, batched=True, remove_columns=dataset.column_names, ...)
```
will not work because `.colu... | 40 | IterableDataset missing column_names, differs from Dataset interface
### Describe the bug
The documentation on [Stream](https://huggingface.co/docs/datasets/v1.18.2/stream.html) seems to imply that IterableDataset behaves just like a Dataset. However, examples like
```
dataset.map(augment_data, batched=True, remov... | [
-0.009467221796512604,
-0.2536153197288513,
-0.01843317598104477,
0.10106542706489563,
0.19255389273166656,
0.4067719280719757,
0.38206860423088074,
0.10267168283462524,
0.10492873191833496,
0.11748990416526794,
-0.0636005848646164,
0.41396892070770264,
-0.0971875935792923,
0.2475966960191... |
https://github.com/huggingface/datasets/issues/5383 | IterableDataset missing column_names, differs from Dataset interface | Thanks! That's great news.
On Thu, Dec 22, 2022, 07:48 Mario Šaško ***@***.***> wrote:
> Hi! fn_kwargs was added to IterableDataset.map in datasets 2.5.0, so
> please update your installation (pip install -U datasets) to use it.
>
> Regarding column_names, I agree we should add this property to
> IterableDataset. In ... | ### Describe the bug
The documentation on [Stream](https://huggingface.co/docs/datasets/v1.18.2/stream.html) seems to imply that IterableDataset behaves just like a Dataset. However, examples like
```
dataset.map(augment_data, batched=True, remove_columns=dataset.column_names, ...)
```
will not work because `.colu... | 96 | IterableDataset missing column_names, differs from Dataset interface
### Describe the bug
The documentation on [Stream](https://huggingface.co/docs/datasets/v1.18.2/stream.html) seems to imply that IterableDataset behaves just like a Dataset. However, examples like
```
dataset.map(augment_data, batched=True, remov... | [
0.06190392002463341,
-0.2250930666923523,
-0.021936357021331787,
0.08682585507631302,
0.23684585094451904,
0.42823758721351624,
0.4132128953933716,
0.14071489870548248,
0.13083317875862122,
0.12087797373533249,
-0.1222340539097786,
0.42908886075019836,
-0.08957673609256744,
0.2141305357217... |
https://github.com/huggingface/datasets/issues/5383 | IterableDataset missing column_names, differs from Dataset interface | I'm marking this issue as a "good first issue", as it makes sense to have `IterableDataset.column_names` in the API. Besides the case when `features` are `None` (e.g., `features` are `None` after `map`), in which we can also return `column_names` as `None`, adding this property should be straightforward, | ### Describe the bug
The documentation on [Stream](https://huggingface.co/docs/datasets/v1.18.2/stream.html) seems to imply that IterableDataset behaves just like a Dataset. However, examples like
```
dataset.map(augment_data, batched=True, remove_columns=dataset.column_names, ...)
```
will not work because `.colu... | 47 | IterableDataset missing column_names, differs from Dataset interface
### Describe the bug
The documentation on [Stream](https://huggingface.co/docs/datasets/v1.18.2/stream.html) seems to imply that IterableDataset behaves just like a Dataset. However, examples like
```
dataset.map(augment_data, batched=True, remov... | [
0.01865231618285179,
-0.1996592879295349,
-0.017534758895635605,
0.07391022890806198,
0.26169347763061523,
0.3632996678352356,
0.4099632799625397,
0.06242913007736206,
0.15399505198001862,
0.12583155930042267,
-0.0031730616465210915,
0.27897578477859497,
-0.11127909272909164,
0.25527450442... |
https://github.com/huggingface/datasets/issues/5381 | Wrong URL for the_pile dataset | Hi! This error can happen if there is a local file/folder with the same name as the requested dataset. And to avoid it, rename the local file/folder.
Soon, it will be possible to explicitly request a Hub dataset as follows:https://github.com/huggingface/datasets/issues/5228#issuecomment-1313494020 | ### Describe the bug
When trying to load `the_pile` dataset from the library, I get a `FileNotFound` error.
### Steps to reproduce the bug
Steps to reproduce:
Run:
```
from datasets import load_dataset
dataset = load_dataset("the_pile")
```
I get the output:
"name": "FileNotFoundError",
"message... | 40 | Wrong URL for the_pile dataset
### Describe the bug
When trying to load `the_pile` dataset from the library, I get a `FileNotFound` error.
### Steps to reproduce the bug
Steps to reproduce:
Run:
```
from datasets import load_dataset
dataset = load_dataset("the_pile")
```
I get the output:
"name"... | [
0.04037334397435188,
0.2507587671279907,
0.01055099442601204,
0.5873169898986816,
0.2429571896791458,
0.09090284258127213,
0.26323336362838745,
0.45683375000953674,
-0.07539603114128113,
0.07974769175052643,
-0.01638014055788517,
0.26830172538757324,
0.03204666078090668,
-0.328728824853897... |
https://github.com/huggingface/datasets/issues/5380 | Improve dataset `.skip()` speed in streaming mode | Hi! I agree `skip` can be inefficient to use in the current state.
To make it fast, we could use "statistics" stored in Parquet metadata and read only the chunks needed to form a dataset.
And thanks to the "datasets-server" project, which aims to store the Parquet versions of the Hub datasets (only the smaller d... | ### Feature request
Add extra information to the `dataset_infos.json` file to include the number of samples/examples in each shard, for example in a new field `num_examples` alongside `num_bytes`. The `.skip()` function could use this information to ignore the download of a shard when in streaming mode, which AFAICT... | 75 | Improve dataset `.skip()` speed in streaming mode
### Feature request
Add extra information to the `dataset_infos.json` file to include the number of samples/examples in each shard, for example in a new field `num_examples` alongside `num_bytes`. The `.skip()` function could use this information to ignore the down... | [
-0.5122532248497009,
-0.16699272394180298,
-0.054168250411748886,
0.04517853260040283,
0.1200137585401535,
-0.09488403052091599,
-0.16149941086769104,
0.27324894070625305,
-0.2669192850589752,
0.20956245064735413,
0.14601297676563263,
0.5617431402206421,
-0.23323029279708862,
0.32257923483... |
https://github.com/huggingface/datasets/issues/5380 | Improve dataset `.skip()` speed in streaming mode | @mariosasko do the current parquet files created by the datasets-server already have the required "statistics"? If not, please open an issue on https://github.com/huggingface/datasets-server with some details to make sure we implement it. | ### Feature request
Add extra information to the `dataset_infos.json` file to include the number of samples/examples in each shard, for example in a new field `num_examples` alongside `num_bytes`. The `.skip()` function could use this information to ignore the download of a shard when in streaming mode, which AFAICT... | 32 | Improve dataset `.skip()` speed in streaming mode
### Feature request
Add extra information to the `dataset_infos.json` file to include the number of samples/examples in each shard, for example in a new field `num_examples` alongside `num_bytes`. The `.skip()` function could use this information to ignore the down... | [
-0.43173107504844666,
-0.1258244514465332,
-0.07828357815742493,
0.09822225570678711,
0.068658247590065,
-0.1188829094171524,
-0.05497921630740166,
0.15876524150371552,
-0.3109876811504364,
0.18370407819747925,
0.14100335538387299,
0.4388366937637329,
-0.20113956928253174,
0.44927513599395... |
https://github.com/huggingface/datasets/issues/5380 | Improve dataset `.skip()` speed in streaming mode | Yes, nothing has to be changed on the datasets-server side. What I mean by "statistics" is that we can use the "row_group" metadata embedded in a Parquet file (by default) to fetch the requested rows more efficiently. | ### Feature request
Add extra information to the `dataset_infos.json` file to include the number of samples/examples in each shard, for example in a new field `num_examples` alongside `num_bytes`. The `.skip()` function could use this information to ignore the download of a shard when in streaming mode, which AFAICT... | 37 | Improve dataset `.skip()` speed in streaming mode
### Feature request
Add extra information to the `dataset_infos.json` file to include the number of samples/examples in each shard, for example in a new field `num_examples` alongside `num_bytes`. The `.skip()` function could use this information to ignore the down... | [
-0.40257972478866577,
0.033454760909080505,
-0.09691502153873444,
0.03300023078918457,
0.04281642660498619,
-0.10361076891422272,
-0.029624249786138535,
0.1893923133611679,
-0.42288291454315186,
0.17978981137275696,
0.172031432390213,
0.5246418118476868,
-0.17697995901107788,
0.25436112284... |
https://github.com/huggingface/datasets/issues/5380 | Improve dataset `.skip()` speed in streaming mode | Glad to see the feature could be of interest.
I'm sure there are many possible ways to implement this feature. I don't know enough about the datasets-server, but I guess that it is not instantaneous, in the sense that user-owned private datasets might need hours or days until they are ported to the datasets-server ... | ### Feature request
Add extra information to the `dataset_infos.json` file to include the number of samples/examples in each shard, for example in a new field `num_examples` alongside `num_bytes`. The `.skip()` function could use this information to ignore the download of a shard when in streaming mode, which AFAICT... | 82 | Improve dataset `.skip()` speed in streaming mode
### Feature request
Add extra information to the `dataset_infos.json` file to include the number of samples/examples in each shard, for example in a new field `num_examples` alongside `num_bytes`. The `.skip()` function could use this information to ignore the down... | [
-0.3779139518737793,
-0.022256337106227875,
-0.13407522439956665,
-0.04658062011003494,
0.015885569155216217,
-0.11308467388153076,
-0.03142925724387169,
0.3005823493003845,
-0.32740354537963867,
0.25185611844062805,
0.2755398154258728,
0.37828898429870605,
-0.27622517943382263,
0.31587228... |
https://github.com/huggingface/datasets/issues/5380 | Improve dataset `.skip()` speed in streaming mode | re: statistics:
- https://arrow.apache.org/docs/python/generated/pyarrow.parquet.FileMetaData.html
- https://arrow.apache.org/docs/python/generated/pyarrow.parquet.RowGroupMetaData.html
```python
>>> import pyarrow.parquet as pq
>>> import hffs
>>> fs = hffs.HfFileSystem("glue", repo_type="dataset", revision=... | ### Feature request
Add extra information to the `dataset_infos.json` file to include the number of samples/examples in each shard, for example in a new field `num_examples` alongside `num_bytes`. The `.skip()` function could use this information to ignore the download of a shard when in streaming mode, which AFAICT... | 71 | Improve dataset `.skip()` speed in streaming mode
### Feature request
Add extra information to the `dataset_infos.json` file to include the number of samples/examples in each shard, for example in a new field `num_examples` alongside `num_bytes`. The `.skip()` function could use this information to ignore the down... | [
-0.4533214569091797,
0.08647733926773071,
-0.03593609482049942,
0.018416594713926315,
0.05432776361703873,
-0.10548391938209534,
-0.11660325527191162,
0.20757023990154266,
-0.5190563201904297,
0.06918951869010925,
0.1935848742723465,
0.6088050007820129,
-0.08815257251262665,
0.150865659117... |
https://github.com/huggingface/datasets/issues/5380 | Improve dataset `.skip()` speed in streaming mode | > user-owned private datasets might need hours or days until they are ported to the datasets-server (if at all)
private datasets are not supported yet (https://github.com/huggingface/datasets-server/issues/39) | ### Feature request
Add extra information to the `dataset_infos.json` file to include the number of samples/examples in each shard, for example in a new field `num_examples` alongside `num_bytes`. The `.skip()` function could use this information to ignore the download of a shard when in streaming mode, which AFAICT... | 26 | Improve dataset `.skip()` speed in streaming mode
### Feature request
Add extra information to the `dataset_infos.json` file to include the number of samples/examples in each shard, for example in a new field `num_examples` alongside `num_bytes`. The `.skip()` function could use this information to ignore the down... | [
-0.38928285241127014,
-0.10682149231433868,
-0.10879738628864288,
0.07360441237688065,
0.06995106488466263,
-0.147757887840271,
0.07614617049694061,
0.2545873820781708,
-0.21900974214076996,
0.219270259141922,
-0.029393630102276802,
0.3338622450828552,
-0.2742607593536377,
0.39802050590515... |
https://github.com/huggingface/datasets/issues/5380 | Improve dataset `.skip()` speed in streaming mode | @versae `Dataset.push_to_hub` writes shards in Parquet, so this solution would also work for such datasets (immediately after the push). | ### Feature request
Add extra information to the `dataset_infos.json` file to include the number of samples/examples in each shard, for example in a new field `num_examples` alongside `num_bytes`. The `.skip()` function could use this information to ignore the download of a shard when in streaming mode, which AFAICT... | 19 | Improve dataset `.skip()` speed in streaming mode
### Feature request
Add extra information to the `dataset_infos.json` file to include the number of samples/examples in each shard, for example in a new field `num_examples` alongside `num_bytes`. The `.skip()` function could use this information to ignore the down... | [
-0.4675789475440979,
-0.11333110928535461,
-0.07190035283565521,
0.049206964671611786,
0.09520457684993744,
-0.12068299204111099,
-0.025064345449209213,
0.21249571442604065,
-0.4733547866344452,
0.1948888599872589,
0.12715639173984528,
0.4321051836013794,
-0.20072615146636963,
0.2933685481... |
https://github.com/huggingface/datasets/issues/5380 | Improve dataset `.skip()` speed in streaming mode | @mariosasko that is right. However, there are still a good amount of datasets for which the shards are created manually. In our very specific case, we create medium-sized datasets (rarely over 100-200GB) of both text and audio, we prepare the shards by hand and then upload then. It would be great to have immediate acce... | ### Feature request
Add extra information to the `dataset_infos.json` file to include the number of samples/examples in each shard, for example in a new field `num_examples` alongside `num_bytes`. The `.skip()` function could use this information to ignore the download of a shard when in streaming mode, which AFAICT... | 63 | Improve dataset `.skip()` speed in streaming mode
### Feature request
Add extra information to the `dataset_infos.json` file to include the number of samples/examples in each shard, for example in a new field `num_examples` alongside `num_bytes`. The `.skip()` function could use this information to ignore the down... | [
-0.4400532841682434,
-0.07696420699357986,
-0.13384981453418732,
-0.009636543691158295,
0.0904635339975357,
-0.10754100978374481,
-0.06090180203318596,
0.28717005252838135,
-0.25958359241485596,
0.2215568870306015,
0.09721263498067856,
0.3636689782142639,
-0.23289546370506287,
0.2673865258... |
https://github.com/huggingface/datasets/issues/5380 | Improve dataset `.skip()` speed in streaming mode | From looking at Arrow's source, it seems Parquet stores metadata at the end, which means one needs to iterate over a Parquet file's data before accessing its metadata. We could mimic Dask to address this "limitation" and write metadata in a `_metadata`/`_common_metadata` file in `to_parquet`/`push_to_hub`, which we cou... | ### Feature request
Add extra information to the `dataset_infos.json` file to include the number of samples/examples in each shard, for example in a new field `num_examples` alongside `num_bytes`. The `.skip()` function could use this information to ignore the download of a shard when in streaming mode, which AFAICT... | 66 | Improve dataset `.skip()` speed in streaming mode
### Feature request
Add extra information to the `dataset_infos.json` file to include the number of samples/examples in each shard, for example in a new field `num_examples` alongside `num_bytes`. The `.skip()` function could use this information to ignore the down... | [
-0.4156389534473419,
-0.006731167435646057,
-0.08167840540409088,
0.04512714594602585,
0.0637446716427803,
-0.17054511606693268,
-0.056873198598623276,
0.2818978726863861,
-0.3282759189605713,
0.08835439383983612,
0.13442368805408478,
0.7062172293663025,
-0.24183709919452667,
0.17784038186... |
https://github.com/huggingface/datasets/issues/5380 | Improve dataset `.skip()` speed in streaming mode | So if Parquet metadata needs to be in its own file anyway, why not implement this skipping feature by storing the example counts per shard in `dataset_infos.json`? That would allow:
- Support both private and public datasets
- Immediate access to the feature upon uploading of shards
- Use any dataset, not only those... | ### Feature request
Add extra information to the `dataset_infos.json` file to include the number of samples/examples in each shard, for example in a new field `num_examples` alongside `num_bytes`. The `.skip()` function could use this information to ignore the download of a shard when in streaming mode, which AFAICT... | 74 | Improve dataset `.skip()` speed in streaming mode
### Feature request
Add extra information to the `dataset_infos.json` file to include the number of samples/examples in each shard, for example in a new field `num_examples` alongside `num_bytes`. The `.skip()` function could use this information to ignore the down... | [
-0.3743216395378113,
-0.050270989537239075,
-0.04929877072572708,
0.12331341207027435,
0.013577418401837349,
-0.08900624513626099,
-0.0389377735555172,
0.19122977554798126,
-0.32040688395500183,
0.15834319591522217,
0.3072514832019806,
0.5442472100257874,
-0.27917662262916565,
0.4029204845... |
https://github.com/huggingface/datasets/issues/5378 | The dataset "the_pile", subset "enron_emails" , load_dataset() failure | Thanks for reporting @shaoyuta. We are investigating it.
We are transferring the issue to "the_pile" Community tab on the Hub: https://huggingface.co/datasets/the_pile/discussions/4 | ### Describe the bug
When run
"datasets.load_dataset("the_pile","enron_emails")" failure

### Steps to reproduce the bug
Run below code in python cli:
>>> import datasets
>>> datasets.load_dataset(... | 21 | The dataset "the_pile", subset "enron_emails" , load_dataset() failure
### Describe the bug
When run
"datasets.load_dataset("the_pile","enron_emails")" failure

### Steps to reproduce the bug
Run bel... | [
-0.13004441559314728,
0.058350011706352234,
-0.029946403577923775,
0.42602992057800293,
0.2729054093360901,
0.1832219660282135,
0.5798448920249939,
0.1603625863790512,
0.13410986959934235,
0.08196943998336792,
-0.0489475354552269,
0.31444188952445984,
-0.03582872450351715,
0.14714352786540... |
https://github.com/huggingface/datasets/issues/5374 | Using too many threads results in: Got disconnected from remote data host. Retrying in 5sec | The data files are hosted on HF at https://huggingface.co/datasets/allenai/c4/tree/main
You have 200 runs streaming the same files in parallel. So this is probably a Hub limitation. Maybe rate limiting ? cc @julien-c
Maybe you can also try to reduce the number of HTTP requests by increasing the block size of eac... | ### Describe the bug
`streaming_download_manager` seems to disconnect if too many runs access the same underlying dataset 🧐
The code works fine for me if I have ~100 runs in parallel, but disconnects once scaling to 200.
Possibly related:
- https://github.com/huggingface/datasets/pull/3100
- https://github.com/... | 81 | Using too many threads results in: Got disconnected from remote data host. Retrying in 5sec
### Describe the bug
`streaming_download_manager` seems to disconnect if too many runs access the same underlying dataset 🧐
The code works fine for me if I have ~100 runs in parallel, but disconnects once scaling to 200.
... | [
-0.551461935043335,
-0.3695976138114929,
-0.000589270144701004,
0.33152151107788086,
0.2842417359352112,
-0.13825403153896332,
0.3256605267524719,
-0.13050927221775055,
0.09035384654998779,
0.31347161531448364,
-0.12639428675174713,
0.1439402848482132,
0.11891317367553711,
0.02422567643225... |
https://github.com/huggingface/datasets/issues/5374 | Using too many threads results in: Got disconnected from remote data host. Retrying in 5sec | you don't get an HTTP error code or something in your stack trace? Kinda hard to debug with this info | ### Describe the bug
`streaming_download_manager` seems to disconnect if too many runs access the same underlying dataset 🧐
The code works fine for me if I have ~100 runs in parallel, but disconnects once scaling to 200.
Possibly related:
- https://github.com/huggingface/datasets/pull/3100
- https://github.com/... | 20 | Using too many threads results in: Got disconnected from remote data host. Retrying in 5sec
### Describe the bug
`streaming_download_manager` seems to disconnect if too many runs access the same underlying dataset 🧐
The code works fine for me if I have ~100 runs in parallel, but disconnects once scaling to 200.
... | [
-0.551461935043335,
-0.3695976138114929,
-0.000589270144701004,
0.33152151107788086,
0.2842417359352112,
-0.13825403153896332,
0.3256605267524719,
-0.13050927221775055,
0.09035384654998779,
0.31347161531448364,
-0.12639428675174713,
0.1439402848482132,
0.11891317367553711,
0.02422567643225... |
https://github.com/huggingface/datasets/issues/5374 | Using too many threads results in: Got disconnected from remote data host. Retrying in 5sec | You could try to re-run using this `datasets` branch: [raise-err-when-disconnect](https://github.com/huggingface/datasets/compare/raise-err-when-disconnect?expand=1)
It should raise the fsspec error | ### Describe the bug
`streaming_download_manager` seems to disconnect if too many runs access the same underlying dataset 🧐
The code works fine for me if I have ~100 runs in parallel, but disconnects once scaling to 200.
Possibly related:
- https://github.com/huggingface/datasets/pull/3100
- https://github.com/... | 16 | Using too many threads results in: Got disconnected from remote data host. Retrying in 5sec
### Describe the bug
`streaming_download_manager` seems to disconnect if too many runs access the same underlying dataset 🧐
The code works fine for me if I have ~100 runs in parallel, but disconnects once scaling to 200.
... | [
-0.551461935043335,
-0.3695976138114929,
-0.000589270144701004,
0.33152151107788086,
0.2842417359352112,
-0.13825403153896332,
0.3256605267524719,
-0.13050927221775055,
0.09035384654998779,
0.31347161531448364,
-0.12639428675174713,
0.1439402848482132,
0.11891317367553711,
0.02422567643225... |
https://github.com/huggingface/datasets/issues/5374 | Using too many threads results in: Got disconnected from remote data host. Retrying in 5sec | The weird thing is that I already have it saved locally & it seems to indeed be using the cached one 🧐 ; I'm also using offline mode, so I don't think it has something to do with the Hub.
```
WARNING:datasets.load:Using the latest cached version of the module from /users/muennighoff/.cache/huggingface/modules/datase... | ### Describe the bug
`streaming_download_manager` seems to disconnect if too many runs access the same underlying dataset 🧐
The code works fine for me if I have ~100 runs in parallel, but disconnects once scaling to 200.
Possibly related:
- https://github.com/huggingface/datasets/pull/3100
- https://github.com/... | 68 | Using too many threads results in: Got disconnected from remote data host. Retrying in 5sec
### Describe the bug
`streaming_download_manager` seems to disconnect if too many runs access the same underlying dataset 🧐
The code works fine for me if I have ~100 runs in parallel, but disconnects once scaling to 200.
... | [
-0.551461935043335,
-0.3695976138114929,
-0.000589270144701004,
0.33152151107788086,
0.2842417359352112,
-0.13825403153896332,
0.3256605267524719,
-0.13050927221775055,
0.09035384654998779,
0.31347161531448364,
-0.12639428675174713,
0.1439402848482132,
0.11891317367553711,
0.02422567643225... |
https://github.com/huggingface/datasets/issues/5374 | Using too many threads results in: Got disconnected from remote data host. Retrying in 5sec | No, you passed `streaming=True` so it streams the data from the Hub.
This message just shows that you use the cached version of the `c4` **module**, aka the python script that is run to generate the examples from the raw data files.
Maybe the offline mode should also disable `fsspec`/`aiohttp` HTTP calls in `datase... | ### Describe the bug
`streaming_download_manager` seems to disconnect if too many runs access the same underlying dataset 🧐
The code works fine for me if I have ~100 runs in parallel, but disconnects once scaling to 200.
Possibly related:
- https://github.com/huggingface/datasets/pull/3100
- https://github.com/... | 60 | Using too many threads results in: Got disconnected from remote data host. Retrying in 5sec
### Describe the bug
`streaming_download_manager` seems to disconnect if too many runs access the same underlying dataset 🧐
The code works fine for me if I have ~100 runs in parallel, but disconnects once scaling to 200.
... | [
-0.551461935043335,
-0.3695976138114929,
-0.000589270144701004,
0.33152151107788086,
0.2842417359352112,
-0.13825403153896332,
0.3256605267524719,
-0.13050927221775055,
0.09035384654998779,
0.31347161531448364,
-0.12639428675174713,
0.1439402848482132,
0.11891317367553711,
0.02422567643225... |
https://github.com/huggingface/datasets/issues/5374 | Using too many threads results in: Got disconnected from remote data host. Retrying in 5sec | > This message just shows that you use the cached version of the c4 module
Ah my bad you're right about the module, but it's also using the downloaded & cached c4 dataset. There's no internet during the runs so it wouldn't work otherwise | ### Describe the bug
`streaming_download_manager` seems to disconnect if too many runs access the same underlying dataset 🧐
The code works fine for me if I have ~100 runs in parallel, but disconnects once scaling to 200.
Possibly related:
- https://github.com/huggingface/datasets/pull/3100
- https://github.com/... | 44 | Using too many threads results in: Got disconnected from remote data host. Retrying in 5sec
### Describe the bug
`streaming_download_manager` seems to disconnect if too many runs access the same underlying dataset 🧐
The code works fine for me if I have ~100 runs in parallel, but disconnects once scaling to 200.
... | [
-0.551461935043335,
-0.3695976138114929,
-0.000589270144701004,
0.33152151107788086,
0.2842417359352112,
-0.13825403153896332,
0.3256605267524719,
-0.13050927221775055,
0.09035384654998779,
0.31347161531448364,
-0.12639428675174713,
0.1439402848482132,
0.11891317367553711,
0.02422567643225... |
https://github.com/huggingface/datasets/issues/5362 | Run 'GPT-J' failure due to download dataset fail (' ConnectionError: Couldn't reach http://eaidata.bmk.sh/data/enron_emails.jsonl.zst ' ) | Thanks for reporting, @shaoyuta.
We have checked and yes, apparently there is an issue with the server hosting the data of the "enron_emails" subset of "the_pile" dataset: http://eaidata.bmk.sh/data/enron_emails.jsonl.zst
It seems to be down: The connection has timed out.
Please note that at the Hugging Face Hub... | ### Describe the bug
Run model "GPT-J" with dataset "the_pile" fail.
The fail out is as below:

Looks like which is due to "http://eaidata.bmk.sh/data/enron_emails.jsonl.zst" unreachable .
### Steps to ... | 103 | Run 'GPT-J' failure due to download dataset fail (' ConnectionError: Couldn't reach http://eaidata.bmk.sh/data/enron_emails.jsonl.zst ' )
### Describe the bug
Run model "GPT-J" with dataset "the_pile" fail.
The fail out is as below:
 | We have transferred this issue to the corresponding dataset Community tab: https://huggingface.co/datasets/the_pile/discussions/2
Please, follow the updates there. | ### Describe the bug
Run model "GPT-J" with dataset "the_pile" fail.
The fail out is as below:

Looks like which is due to "http://eaidata.bmk.sh/data/enron_emails.jsonl.zst" unreachable .
### Steps to ... | 17 | Run 'GPT-J' failure due to download dataset fail (' ConnectionError: Couldn't reach http://eaidata.bmk.sh/data/enron_emails.jsonl.zst ' )
### Describe the bug
Run model "GPT-J" with dataset "the_pile" fail.
The fail out is as below:
:
return {"concatenated_audio": [np.concatenate([audio["array"] for audio in batch["audio"]])]}
dataset = dataset.map(
mapper_function,
batched=True,
batch_size=3,
remove_columns=list(dataset.features),
)
``` | ### Describe the bug
I am trying to do concatenate audios in a dataset e.g. `google/fleurs`.
```python
print(dataset)
# Dataset({
# features: ['path', 'audio'],
# num_rows: 24
# })
def mapper_function(batch):
# to merge every 3 audio
# np.concatnate(audios[i: i+3]) for i in range(i, len(batc... | 26 | How concatenate `Audio` elements using batch mapping
### Describe the bug
I am trying to do concatenate audios in a dataset e.g. `google/fleurs`.
```python
print(dataset)
# Dataset({
# features: ['path', 'audio'],
# num_rows: 24
# })
def mapper_function(batch):
# to merge every 3 audio
# n... | [
-0.21313877403736115,
-0.1674511432647705,
-0.025562547147274017,
0.27073144912719727,
-0.014795087277889252,
0.1587909460067749,
0.20670372247695923,
0.1842883974313736,
-0.23407350480556488,
0.26536571979522705,
-0.17259377241134644,
0.3468688726425171,
-0.03206654265522957,
-0.053920738... |
https://github.com/huggingface/datasets/issues/5361 | How concatenate `Audio` elements using batch mapping | Thanks for the snippet!
One more question. I wonder why those two mappers are working so different that one taking 4 sec while other taking over 1 min :
```python
%%time
def mapper_function1(batch):
# list_audio
return {
"audio": [
{
"array": np.concatenate([audi... | ### Describe the bug
I am trying to do concatenate audios in a dataset e.g. `google/fleurs`.
```python
print(dataset)
# Dataset({
# features: ['path', 'audio'],
# num_rows: 24
# })
def mapper_function(batch):
# to merge every 3 audio
# np.concatnate(audios[i: i+3]) for i in range(i, len(batc... | 144 | How concatenate `Audio` elements using batch mapping
### Describe the bug
I am trying to do concatenate audios in a dataset e.g. `google/fleurs`.
```python
print(dataset)
# Dataset({
# features: ['path', 'audio'],
# num_rows: 24
# })
def mapper_function(batch):
# to merge every 3 audio
# n... | [
-0.17016559839248657,
-0.15794973075389862,
-0.0626489520072937,
0.2809954881668091,
-0.11684735119342804,
0.03813529014587402,
0.2849518656730652,
0.1214766651391983,
-0.237911194562912,
0.35157859325408936,
-0.20486149191856384,
0.33640116453170776,
-0.02771107107400894,
-0.1652984917163... |
https://github.com/huggingface/datasets/issues/5361 | How concatenate `Audio` elements using batch mapping | In the first one you get a dataset with an Audio type, and in the second one you get a dataset with a sequence of floats type.
The Audio type encodes the data as WAV to save disk space, so it takes more time to create.
The Audio type is automatically inferred because you modify the column "audio" which was already ... | ### Describe the bug
I am trying to do concatenate audios in a dataset e.g. `google/fleurs`.
```python
print(dataset)
# Dataset({
# features: ['path', 'audio'],
# num_rows: 24
# })
def mapper_function(batch):
# to merge every 3 audio
# np.concatnate(audios[i: i+3]) for i in range(i, len(batc... | 84 | How concatenate `Audio` elements using batch mapping
### Describe the bug
I am trying to do concatenate audios in a dataset e.g. `google/fleurs`.
```python
print(dataset)
# Dataset({
# features: ['path', 'audio'],
# num_rows: 24
# })
def mapper_function(batch):
# to merge every 3 audio
# n... | [
-0.283815860748291,
-0.1815246194601059,
0.011311966925859451,
0.2613030672073364,
-0.0016877278685569763,
0.11715421825647354,
0.2005549818277359,
0.22513148188591003,
-0.1712481826543808,
0.31333786249160767,
-0.15931467711925507,
0.3396158218383789,
-0.015544786117970943,
-0.07089093327... |
https://github.com/huggingface/datasets/issues/5360 | IterableDataset returns duplicated data using PyTorch DDP | If you use huggingface trainer, you will find the trainer has wrapped a `IterableDatasetShard` to avoid duplication.
See:
https://github.com/huggingface/transformers/blob/dfd818420dcbad68e05a502495cf666d338b2bfb/src/transformers/trainer.py#L835
| As mentioned in https://github.com/huggingface/datasets/issues/3423, when using PyTorch DDP the dataset ends up with duplicated data. We already check for the PyTorch `worker_info` for single node, but we should also check for `torch.distributed.get_world_size()` and `torch.distributed.get_rank()` | 19 | IterableDataset returns duplicated data using PyTorch DDP
As mentioned in https://github.com/huggingface/datasets/issues/3423, when using PyTorch DDP the dataset ends up with duplicated data. We already check for the PyTorch `worker_info` for single node, but we should also check for `torch.distributed.get_world_size... | [
-0.2054106891155243,
-0.6485092639923096,
-0.039012398570775986,
0.5450439453125,
0.18843498826026917,
-0.24366050958633423,
0.3833633363246918,
0.19024330377578735,
-0.1375221610069275,
0.3084796071052551,
-0.2490679919719696,
0.37759658694267273,
-0.07860704511404037,
0.08367696404457092... |
https://github.com/huggingface/datasets/issues/5360 | IterableDataset returns duplicated data using PyTorch DDP | If you want to support it by datasets natively, maybe we also need to change the code in `transformers` ? | As mentioned in https://github.com/huggingface/datasets/issues/3423, when using PyTorch DDP the dataset ends up with duplicated data. We already check for the PyTorch `worker_info` for single node, but we should also check for `torch.distributed.get_world_size()` and `torch.distributed.get_rank()` | 20 | IterableDataset returns duplicated data using PyTorch DDP
As mentioned in https://github.com/huggingface/datasets/issues/3423, when using PyTorch DDP the dataset ends up with duplicated data. We already check for the PyTorch `worker_info` for single node, but we should also check for `torch.distributed.get_world_size... | [
-0.40853017568588257,
-0.47679805755615234,
-0.04256485402584076,
0.42825520038604736,
0.12753143906593323,
-0.28422248363494873,
0.5116775035858154,
0.22381606698036194,
-0.15025341510772705,
0.28548431396484375,
-0.22655971348285675,
0.4095022976398468,
-0.05505572259426117,
-0.005839124... |
https://github.com/huggingface/datasets/issues/5360 | IterableDataset returns duplicated data using PyTorch DDP | Maybe something like this then ?
```python
from datasets.distributed import split_dataset_by_node
ds = split_dataset_by_node(ds, rank=rank, world_size=world_size)
```
For map-style datasets the implementation is trivial (it can simply use `.shard()`).
For iterable datasets we would need to implement a new Exa... | As mentioned in https://github.com/huggingface/datasets/issues/3423, when using PyTorch DDP the dataset ends up with duplicated data. We already check for the PyTorch `worker_info` for single node, but we should also check for `torch.distributed.get_world_size()` and `torch.distributed.get_rank()` | 66 | IterableDataset returns duplicated data using PyTorch DDP
As mentioned in https://github.com/huggingface/datasets/issues/3423, when using PyTorch DDP the dataset ends up with duplicated data. We already check for the PyTorch `worker_info` for single node, but we should also check for `torch.distributed.get_world_size... | [
-0.42459025979042053,
-0.38009610772132874,
-0.09296974539756775,
0.3532482981681824,
-0.06343212723731995,
-0.22699549794197083,
0.42851459980010986,
0.26404568552970886,
-0.01557669322937727,
0.28691598773002625,
-0.20376035571098328,
0.5371483564376831,
-0.275293231010437,
0.10282861441... |
https://github.com/huggingface/datasets/issues/5360 | IterableDataset returns duplicated data using PyTorch DDP | My plan is to skip examples by default to not end up with duplicates.
And if a dataset has a number of shards that is a factor of the world size, then I'd make it more optimized by distributing the shards evenly across nodes instead. | As mentioned in https://github.com/huggingface/datasets/issues/3423, when using PyTorch DDP the dataset ends up with duplicated data. We already check for the PyTorch `worker_info` for single node, but we should also check for `torch.distributed.get_world_size()` and `torch.distributed.get_rank()` | 45 | IterableDataset returns duplicated data using PyTorch DDP
As mentioned in https://github.com/huggingface/datasets/issues/3423, when using PyTorch DDP the dataset ends up with duplicated data. We already check for the PyTorch `worker_info` for single node, but we should also check for `torch.distributed.get_world_size... | [
-0.3472557067871094,
-0.4932483732700348,
-0.021575041115283966,
0.43531787395477295,
-0.01511462777853012,
-0.25848397612571716,
0.3807191550731659,
0.2001602053642273,
-0.12273423373699188,
0.22154441475868225,
-0.14768804609775543,
0.5018040537834167,
-0.1701531708240509,
0.044410131871... |
https://github.com/huggingface/datasets/issues/5360 | IterableDataset returns duplicated data using PyTorch DDP | Opened a PR here: https://github.com/huggingface/datasets/pull/5369
feel free to play with it and share your feedbacks :) | As mentioned in https://github.com/huggingface/datasets/issues/3423, when using PyTorch DDP the dataset ends up with duplicated data. We already check for the PyTorch `worker_info` for single node, but we should also check for `torch.distributed.get_world_size()` and `torch.distributed.get_rank()` | 16 | IterableDataset returns duplicated data using PyTorch DDP
As mentioned in https://github.com/huggingface/datasets/issues/3423, when using PyTorch DDP the dataset ends up with duplicated data. We already check for the PyTorch `worker_info` for single node, but we should also check for `torch.distributed.get_world_size... | [
-0.2953227162361145,
-0.5206161737442017,
-0.09636051952838898,
0.5269635319709778,
0.08554467558860779,
-0.24271738529205322,
0.3260631263256073,
0.22798503935337067,
-0.05602581799030304,
0.288725346326828,
-0.23174051940441132,
0.487846702337265,
-0.02539021149277687,
0.0267073195427656... |
https://github.com/huggingface/datasets/issues/5360 | IterableDataset returns duplicated data using PyTorch DDP | @lhoestq I add shuffle after split_dataset_by_node, duplicated data still exist.
For example, we have a directory named `mock_pretraining_data`, which has three files, `part-00000`, `part-00002`,`part-00002`.
Text in `part-00000` is like this:
{"id": 0}
{"id": 1}
{"id": 2}
{"id": 3}
{"id": 4}
{"id": 5}
{"id... | As mentioned in https://github.com/huggingface/datasets/issues/3423, when using PyTorch DDP the dataset ends up with duplicated data. We already check for the PyTorch `worker_info` for single node, but we should also check for `torch.distributed.get_world_size()` and `torch.distributed.get_rank()` | 403 | IterableDataset returns duplicated data using PyTorch DDP
As mentioned in https://github.com/huggingface/datasets/issues/3423, when using PyTorch DDP the dataset ends up with duplicated data. We already check for the PyTorch `worker_info` for single node, but we should also check for `torch.distributed.get_world_size... | [
-0.2204432636499405,
-0.3701728582382202,
0.006940644234418869,
0.5591898560523987,
-0.010643567889928818,
-0.09040876477956772,
0.3263974189758301,
0.20362789928913116,
-0.27641287446022034,
0.1877831518650055,
-0.30991217494010925,
0.6718085408210754,
-0.1850050389766693,
-0.056592166423... |
https://github.com/huggingface/datasets/issues/5360 | IterableDataset returns duplicated data using PyTorch DDP | Hi ! Thanks for reporting, you need to pass `seed=` to `shuffle()` or the processes won't use the same seed to shuffle the shards order before assigning each shard to a node.
The issue is that the workers are not using the same seed to shuffle the shards before splitting the shards list by node. | As mentioned in https://github.com/huggingface/datasets/issues/3423, when using PyTorch DDP the dataset ends up with duplicated data. We already check for the PyTorch `worker_info` for single node, but we should also check for `torch.distributed.get_world_size()` and `torch.distributed.get_rank()` | 55 | IterableDataset returns duplicated data using PyTorch DDP
As mentioned in https://github.com/huggingface/datasets/issues/3423, when using PyTorch DDP the dataset ends up with duplicated data. We already check for the PyTorch `worker_info` for single node, but we should also check for `torch.distributed.get_world_size... | [
-0.21982364356517792,
-0.5668027400970459,
-0.05250830948352814,
0.506003201007843,
-0.01659645512700081,
-0.27572229504585266,
0.4127112925052643,
0.1547837108373642,
-0.1684759557247162,
0.35836261510849,
-0.25319531559944153,
0.49590787291526794,
-0.06351693719625473,
-0.033704925328493... |
https://github.com/huggingface/datasets/issues/5360 | IterableDataset returns duplicated data using PyTorch DDP | I have the same issue
```
ds['train'] = load_dataset(streaming=True)
ds['train'] = split_dataset_by_node(ds['train'], rank=int(os.environ["RANK"]), world_size=int(os.environ["WORLD_SIZE"]))
vectorized_datasets = ds.map(
prepare_dataset,
remove_columns=raw_datasets_features,
).with_format("torch")
vect... | As mentioned in https://github.com/huggingface/datasets/issues/3423, when using PyTorch DDP the dataset ends up with duplicated data. We already check for the PyTorch `worker_info` for single node, but we should also check for `torch.distributed.get_world_size()` and `torch.distributed.get_rank()` | 118 | IterableDataset returns duplicated data using PyTorch DDP
As mentioned in https://github.com/huggingface/datasets/issues/3423, when using PyTorch DDP the dataset ends up with duplicated data. We already check for the PyTorch `worker_info` for single node, but we should also check for `torch.distributed.get_world_size... | [
-0.20593838393688202,
-0.4232088327407837,
0.025581851601600647,
0.6578265428543091,
0.13198640942573547,
-0.1360633373260498,
0.3936678171157837,
0.15741828083992004,
-0.24781762063503265,
0.11619254946708679,
-0.27916285395622253,
0.6520861983299255,
-0.05532820522785187,
0.0409576743841... |
https://github.com/huggingface/datasets/issues/5360 | IterableDataset returns duplicated data using PyTorch DDP | There are two ways an iterable dataset can be split by node:
1. if the number of shards is a factor of number of GPUs: in that case the shards are evenly distributed per GPU
2. otherwise, each GPU iterate on the data and at the end keeps 1 sample out of n(GPUs) - skipping the others.
In case 2. it's therefore poss... | As mentioned in https://github.com/huggingface/datasets/issues/3423, when using PyTorch DDP the dataset ends up with duplicated data. We already check for the PyTorch `worker_info` for single node, but we should also check for `torch.distributed.get_world_size()` and `torch.distributed.get_rank()` | 111 | IterableDataset returns duplicated data using PyTorch DDP
As mentioned in https://github.com/huggingface/datasets/issues/3423, when using PyTorch DDP the dataset ends up with duplicated data. We already check for the PyTorch `worker_info` for single node, but we should also check for `torch.distributed.get_world_size... | [
-0.4017648994922638,
-0.4471844434738159,
-0.009538866579532623,
0.4609394073486328,
-0.013252373784780502,
-0.15441933274269104,
0.36216679215431213,
0.26854002475738525,
-0.14060305058956146,
0.13369432091712952,
-0.12570005655288696,
0.5460296869277954,
-0.010062207467854023,
0.09737544... |
https://github.com/huggingface/datasets/issues/5354 | Consider using "Sequence" instead of "List" | Hi! Linking a comment to provide more info on the issue: https://stackoverflow.com/a/39458225. This means we should replace all (most of) the occurrences of `List` with `Sequence` in function signatures.
@tranhd95 Would you be interested in submitting a PR? | ### Feature request
Hi, please consider using `Sequence` type annotation instead of `List` in function arguments such as in [`Dataset.from_parquet()`](https://github.com/huggingface/datasets/blob/main/src/datasets/arrow_dataset.py#L1088). It leads to type checking errors, see below.
**How to reproduce**
```py
... | 38 | Consider using "Sequence" instead of "List"
### Feature request
Hi, please consider using `Sequence` type annotation instead of `List` in function arguments such as in [`Dataset.from_parquet()`](https://github.com/huggingface/datasets/blob/main/src/datasets/arrow_dataset.py#L1088). It leads to type checking errors... | [
-0.23202967643737793,
-0.00011301040649414062,
-0.011046944186091423,
0.12061987817287445,
0.2614006996154785,
-0.052483730018138885,
0.13928277790546417,
0.15850599110126495,
0.06648603081703186,
0.027699925005435944,
0.23363997042179108,
0.6865089535713196,
-0.24881647527217865,
0.215283... |
https://github.com/huggingface/datasets/issues/5354 | Consider using "Sequence" instead of "List" | Hi all! I tried to reproduce this issue and didn't work for me. Also in your example i noticed that the variables have different names: `list_of_filenames` and `list_of_files`, could this be related to that?
```python
#I found random data in parquet format:
!wget "https://github.com/Teradata/kylo/raw/master/samples/... | ### Feature request
Hi, please consider using `Sequence` type annotation instead of `List` in function arguments such as in [`Dataset.from_parquet()`](https://github.com/huggingface/datasets/blob/main/src/datasets/arrow_dataset.py#L1088). It leads to type checking errors, see below.
**How to reproduce**
```py
... | 121 | Consider using "Sequence" instead of "List"
### Feature request
Hi, please consider using `Sequence` type annotation instead of `List` in function arguments such as in [`Dataset.from_parquet()`](https://github.com/huggingface/datasets/blob/main/src/datasets/arrow_dataset.py#L1088). It leads to type checking errors... | [
-0.1178000420331955,
-0.05131741613149643,
0.010852660983800888,
0.24352386593818665,
0.26680997014045715,
-0.0728779211640358,
0.056258391588926315,
0.18381518125534058,
0.016596969217061996,
0.1468183994293213,
0.25834399461746216,
0.6618990898132324,
-0.20305277407169342,
0.137481704354... |
https://github.com/huggingface/datasets/issues/5354 | Consider using "Sequence" instead of "List" | @dantema There is indeed a typo in variable names. Nevertheless, I'm sorry if I was not clear but the output is from `mypy` type checker. You can run the code snippet without issues. The problem is with the type checking. | ### Feature request
Hi, please consider using `Sequence` type annotation instead of `List` in function arguments such as in [`Dataset.from_parquet()`](https://github.com/huggingface/datasets/blob/main/src/datasets/arrow_dataset.py#L1088). It leads to type checking errors, see below.
**How to reproduce**
```py
... | 40 | Consider using "Sequence" instead of "List"
### Feature request
Hi, please consider using `Sequence` type annotation instead of `List` in function arguments such as in [`Dataset.from_parquet()`](https://github.com/huggingface/datasets/blob/main/src/datasets/arrow_dataset.py#L1088). It leads to type checking errors... | [
-0.16263283789157867,
-0.0622689314186573,
-0.02001432701945305,
0.2077740728855133,
0.25862589478492737,
-0.0005732327699661255,
0.12707367539405823,
0.1766902506351471,
0.006396817043423653,
0.06248638406395912,
0.24633429944515228,
0.7310899496078491,
-0.14743535220623016,
0.20690633356... |
https://github.com/huggingface/datasets/issues/5354 | Consider using "Sequence" instead of "List" | However, I found out that the type annotation is actually misleading. The [`from_parquet`](https://github.com/huggingface/datasets/blob/5ef1ab1cc06c2b7a574bf2df454cd9fcb071ccb2/src/datasets/arrow_dataset.py#L1039) method should also accept list of [`PathLike`](https://github.com/huggingface/datasets/blob/main/src/datas... | ### Feature request
Hi, please consider using `Sequence` type annotation instead of `List` in function arguments such as in [`Dataset.from_parquet()`](https://github.com/huggingface/datasets/blob/main/src/datasets/arrow_dataset.py#L1088). It leads to type checking errors, see below.
**How to reproduce**
```py
... | 405 | Consider using "Sequence" instead of "List"
### Feature request
Hi, please consider using `Sequence` type annotation instead of `List` in function arguments such as in [`Dataset.from_parquet()`](https://github.com/huggingface/datasets/blob/main/src/datasets/arrow_dataset.py#L1088). It leads to type checking errors... | [
-0.2030874788761139,
-0.1410224735736847,
0.011913791298866272,
0.17528721690177917,
0.22994039952754974,
-0.05431585758924484,
0.017584048211574554,
0.05332110822200775,
0.007895398885011673,
-0.029454290866851807,
0.1882508248090744,
0.7056482434272766,
-0.28169843554496765,
0.1158542856... |
https://github.com/huggingface/datasets/issues/5354 | Consider using "Sequence" instead of "List" | @avinashsai Hi, I've assigned you the issue.
@tranhd95 Yes, feel free to report this in a new issue. | ### Feature request
Hi, please consider using `Sequence` type annotation instead of `List` in function arguments such as in [`Dataset.from_parquet()`](https://github.com/huggingface/datasets/blob/main/src/datasets/arrow_dataset.py#L1088). It leads to type checking errors, see below.
**How to reproduce**
```py
... | 18 | Consider using "Sequence" instead of "List"
### Feature request
Hi, please consider using `Sequence` type annotation instead of `List` in function arguments such as in [`Dataset.from_parquet()`](https://github.com/huggingface/datasets/blob/main/src/datasets/arrow_dataset.py#L1088). It leads to type checking errors... | [
-0.2621647119522095,
-0.08718342334032059,
0.0008164048194885254,
0.17863884568214417,
0.30044102668762207,
-0.04939528927206993,
0.13694769144058228,
0.20783884823322296,
0.025842078030109406,
0.05628248304128647,
0.21992896497249603,
0.6769357919692993,
-0.1844073086977005,
0.19362172484... |
https://github.com/huggingface/datasets/issues/5354 | Consider using "Sequence" instead of "List" | @avinashsai Are you still working on this? If not I would like to give it a try. | ### Feature request
Hi, please consider using `Sequence` type annotation instead of `List` in function arguments such as in [`Dataset.from_parquet()`](https://github.com/huggingface/datasets/blob/main/src/datasets/arrow_dataset.py#L1088). It leads to type checking errors, see below.
**How to reproduce**
```py
... | 17 | Consider using "Sequence" instead of "List"
### Feature request
Hi, please consider using `Sequence` type annotation instead of `List` in function arguments such as in [`Dataset.from_parquet()`](https://github.com/huggingface/datasets/blob/main/src/datasets/arrow_dataset.py#L1088). It leads to type checking errors... | [
-0.28768685460090637,
-0.06751748919487,
-0.010348198935389519,
0.14013820886611938,
0.29745763540267944,
-0.04490745812654495,
0.1444271206855774,
0.15872754156589508,
0.005887283012270927,
0.06571336835622787,
0.22005876898765564,
0.6785486340522766,
-0.20780858397483826,
0.1950537413358... |
https://github.com/huggingface/datasets/issues/5354 | Consider using "Sequence" instead of "List" | Hi @tranhd95 @mariosasko ,I hope you all are doing well.
I am interested in this issue, is this still open and unresolved ?
Thanks and Regards | ### Feature request
Hi, please consider using `Sequence` type annotation instead of `List` in function arguments such as in [`Dataset.from_parquet()`](https://github.com/huggingface/datasets/blob/main/src/datasets/arrow_dataset.py#L1088). It leads to type checking errors, see below.
**How to reproduce**
```py
... | 26 | Consider using "Sequence" instead of "List"
### Feature request
Hi, please consider using `Sequence` type annotation instead of `List` in function arguments such as in [`Dataset.from_parquet()`](https://github.com/huggingface/datasets/blob/main/src/datasets/arrow_dataset.py#L1088). It leads to type checking errors... | [
-0.15149293839931488,
-0.15031515061855316,
0.028739195317029953,
0.2622712254524231,
0.19432999193668365,
-0.020484913140535355,
0.18442153930664062,
0.09012670069932938,
-0.011840240098536015,
-0.05534839630126953,
0.3023826777935028,
0.5749340653419495,
-0.28419309854507446,
0.181688308... |
https://github.com/huggingface/datasets/issues/5352 | __init__() got an unexpected keyword argument 'input_size' | Hi @J-shel, thanks for reporting.
I think the issue comes from your call to `load_dataset`. As first argument, you should pass:
- either the name of your dataset ("mrf") if this is already published on the Hub
- or the path to the loading script of your dataset ("path/to/your/local/mrf.py"). | ### Describe the bug
I try to define a custom configuration with a input_size attribute following the instructions by "Specifying several dataset configurations" in https://huggingface.co/docs/datasets/v1.2.1/add_dataset.html
But when I load the dataset, I got an error "__init__() got an unexpected keyword argument... | 49 | __init__() got an unexpected keyword argument 'input_size'
### Describe the bug
I try to define a custom configuration with a input_size attribute following the instructions by "Specifying several dataset configurations" in https://huggingface.co/docs/datasets/v1.2.1/add_dataset.html
But when I load the dataset, ... | [
-0.01033906638622284,
-0.6569042205810547,
0.09153135120868683,
0.46397513151168823,
0.20673991739749908,
0.08880756050348282,
0.22345010936260223,
0.004850694909691811,
-0.11013616621494293,
0.10432355105876923,
0.124519482254982,
0.13606610894203186,
-0.14453665912151337,
0.2995086312294... |
https://github.com/huggingface/datasets/issues/5352 | __init__() got an unexpected keyword argument 'input_size' | Hi, following your suggestion, I changed my call to load_dataset. Below is the latest:
reader = load_dataset('data/mrf.py',"default", input_size=1024, split=split, streaming=True, keep_in_memory=None)
However, I still got the same error.
I have one question that is if I only define input_size=2048 in BUILDER_CONFIGS... | ### Describe the bug
I try to define a custom configuration with a input_size attribute following the instructions by "Specifying several dataset configurations" in https://huggingface.co/docs/datasets/v1.2.1/add_dataset.html
But when I load the dataset, I got an error "__init__() got an unexpected keyword argument... | 65 | __init__() got an unexpected keyword argument 'input_size'
### Describe the bug
I try to define a custom configuration with a input_size attribute following the instructions by "Specifying several dataset configurations" in https://huggingface.co/docs/datasets/v1.2.1/add_dataset.html
But when I load the dataset, ... | [
-0.0031092092394828796,
-0.610080361366272,
0.08474177122116089,
0.43197429180145264,
0.22831253707408905,
0.08452815562486649,
0.25838616490364075,
-0.010628856718540192,
-0.14234106242656708,
0.10592211782932281,
0.11637122929096222,
0.1483895629644394,
-0.14506681263446808,
0.2759251892... |
https://github.com/huggingface/datasets/issues/5351 | Do we need to implement `_prepare_split`? | Hi! `DatasetBuilder` is a parent class for concrete builders: `GeneratorBasedBuilder`, `ArrowBasedBuilder` and `BeamBasedBuilder`. When writing a builder script, these classes are the ones you should inherit from. And since all of them implement `_prepare_split`, you only have to implement the three methods mentioned a... | ### Describe the bug
I'm not sure this is a bug or if it's just missing in the documentation, or i'm not doing something correctly, but I'm subclassing `DatasetBuilder` and getting the following error because on the `DatasetBuilder` class the `_prepare_split` method is abstract (as are the others we are required to im... | 44 | Do we need to implement `_prepare_split`?
### Describe the bug
I'm not sure this is a bug or if it's just missing in the documentation, or i'm not doing something correctly, but I'm subclassing `DatasetBuilder` and getting the following error because on the `DatasetBuilder` class the `_prepare_split` method is abstr... | [
-0.39684659242630005,
0.028263568878173828,
0.038606513291597366,
0.26486533880233765,
0.14727875590324402,
0.2111169397830963,
0.5743995904922485,
0.3013264238834381,
-0.35358813405036926,
0.27159470319747925,
0.09605718404054642,
0.13665761053562164,
-0.08747748285531998,
-0.151817366480... |
https://github.com/huggingface/datasets/issues/5351 | Do we need to implement `_prepare_split`? | Thanks so much @mariosasko for the fast response! I've been referencing [this page in the docs](https://huggingface.co/docs/datasets/v2.4.0/en/about_dataset_load) because it it pretty comprehensive in terms of what we have to do and I figured since we subclass the `BuilderConfig` the same pattern would hold, but I've a... | ### Describe the bug
I'm not sure this is a bug or if it's just missing in the documentation, or i'm not doing something correctly, but I'm subclassing `DatasetBuilder` and getting the following error because on the `DatasetBuilder` class the `_prepare_split` method is abstract (as are the others we are required to im... | 63 | Do we need to implement `_prepare_split`?
### Describe the bug
I'm not sure this is a bug or if it's just missing in the documentation, or i'm not doing something correctly, but I'm subclassing `DatasetBuilder` and getting the following error because on the `DatasetBuilder` class the `_prepare_split` method is abstr... | [
-0.39684659242630005,
0.028263568878173828,
0.038606513291597366,
0.26486533880233765,
0.14727875590324402,
0.2111169397830963,
0.5743995904922485,
0.3013264238834381,
-0.35358813405036926,
0.27159470319747925,
0.09605718404054642,
0.13665761053562164,
-0.08747748285531998,
-0.151817366480... |
https://github.com/huggingface/datasets/issues/5351 | Do we need to implement `_prepare_split`? | cc @stevhliu who may have some ideas on how to improve this part of the docs. | ### Describe the bug
I'm not sure this is a bug or if it's just missing in the documentation, or i'm not doing something correctly, but I'm subclassing `DatasetBuilder` and getting the following error because on the `DatasetBuilder` class the `_prepare_split` method is abstract (as are the others we are required to im... | 16 | Do we need to implement `_prepare_split`?
### Describe the bug
I'm not sure this is a bug or if it's just missing in the documentation, or i'm not doing something correctly, but I'm subclassing `DatasetBuilder` and getting the following error because on the `DatasetBuilder` class the `_prepare_split` method is abstr... | [
-0.39684659242630005,
0.028263568878173828,
0.038606513291597366,
0.26486533880233765,
0.14727875590324402,
0.2111169397830963,
0.5743995904922485,
0.3013264238834381,
-0.35358813405036926,
0.27159470319747925,
0.09605718404054642,
0.13665761053562164,
-0.08747748285531998,
-0.151817366480... |
https://github.com/huggingface/datasets/issues/5351 | Do we need to implement `_prepare_split`? | one more question for my understanding @mariosasko. the requirement of a loading script has always seemed counterintuitive to me. if i have to provide a script with every dataset, what is the point of using `datasets` if we're doing all the work of loading it, I can just do that in my code and skip the datasets integra... | ### Describe the bug
I'm not sure this is a bug or if it's just missing in the documentation, or i'm not doing something correctly, but I'm subclassing `DatasetBuilder` and getting the following error because on the `DatasetBuilder` class the `_prepare_split` method is abstract (as are the others we are required to im... | 274 | Do we need to implement `_prepare_split`?
### Describe the bug
I'm not sure this is a bug or if it's just missing in the documentation, or i'm not doing something correctly, but I'm subclassing `DatasetBuilder` and getting the following error because on the `DatasetBuilder` class the `_prepare_split` method is abstr... | [
-0.39684659242630005,
0.028263568878173828,
0.038606513291597366,
0.26486533880233765,
0.14727875590324402,
0.2111169397830963,
0.5743995904922485,
0.3013264238834381,
-0.35358813405036926,
0.27159470319747925,
0.09605718404054642,
0.13665761053562164,
-0.08747748285531998,
-0.151817366480... |
https://github.com/huggingface/datasets/issues/5351 | Do we need to implement `_prepare_split`? | > the requirement of a loading script has always seemed counterintuitive to me
This is a requirement only for datasets not stored in standard formats such as CSV, JSON, SQL, Parquet, ImageFolder, etc.
> if i have to provide a script with every dataset, what is the point of using datasets if we're doing all the... | ### Describe the bug
I'm not sure this is a bug or if it's just missing in the documentation, or i'm not doing something correctly, but I'm subclassing `DatasetBuilder` and getting the following error because on the `DatasetBuilder` class the `_prepare_split` method is abstract (as are the others we are required to im... | 163 | Do we need to implement `_prepare_split`?
### Describe the bug
I'm not sure this is a bug or if it's just missing in the documentation, or i'm not doing something correctly, but I'm subclassing `DatasetBuilder` and getting the following error because on the `DatasetBuilder` class the `_prepare_split` method is abstr... | [
-0.39684659242630005,
0.028263568878173828,
0.038606513291597366,
0.26486533880233765,
0.14727875590324402,
0.2111169397830963,
0.5743995904922485,
0.3013264238834381,
-0.35358813405036926,
0.27159470319747925,
0.09605718404054642,
0.13665761053562164,
-0.08747748285531998,
-0.151817366480... |
https://github.com/huggingface/datasets/issues/5351 | Do we need to implement `_prepare_split`? | ok, that makes sense. thank you @mariosasko. I realized i'd never looked on the hub at any of the files associated with any datasets. just did that now and it appears that i'll need to have a script regardless _but_ that will just contain my custom config and builder classes, so without realizing it I was already makin... | ### Describe the bug
I'm not sure this is a bug or if it's just missing in the documentation, or i'm not doing something correctly, but I'm subclassing `DatasetBuilder` and getting the following error because on the `DatasetBuilder` class the `_prepare_split` method is abstract (as are the others we are required to im... | 117 | Do we need to implement `_prepare_split`?
### Describe the bug
I'm not sure this is a bug or if it's just missing in the documentation, or i'm not doing something correctly, but I'm subclassing `DatasetBuilder` and getting the following error because on the `DatasetBuilder` class the `_prepare_split` method is abstr... | [
-0.39684659242630005,
0.028263568878173828,
0.038606513291597366,
0.26486533880233765,
0.14727875590324402,
0.2111169397830963,
0.5743995904922485,
0.3013264238834381,
-0.35358813405036926,
0.27159470319747925,
0.09605718404054642,
0.13665761053562164,
-0.08747748285531998,
-0.151817366480... |
https://github.com/huggingface/datasets/issues/5351 | Do we need to implement `_prepare_split`? | `download_and_prepare` downloads and prepares the arrow files. You need to call `as_dataset` on the builder to get the dataset. | ### Describe the bug
I'm not sure this is a bug or if it's just missing in the documentation, or i'm not doing something correctly, but I'm subclassing `DatasetBuilder` and getting the following error because on the `DatasetBuilder` class the `_prepare_split` method is abstract (as are the others we are required to im... | 19 | Do we need to implement `_prepare_split`?
### Describe the bug
I'm not sure this is a bug or if it's just missing in the documentation, or i'm not doing something correctly, but I'm subclassing `DatasetBuilder` and getting the following error because on the `DatasetBuilder` class the `_prepare_split` method is abstr... | [
-0.39684659242630005,
0.028263568878173828,
0.038606513291597366,
0.26486533880233765,
0.14727875590324402,
0.2111169397830963,
0.5743995904922485,
0.3013264238834381,
-0.35358813405036926,
0.27159470319747925,
0.09605718404054642,
0.13665761053562164,
-0.08747748285531998,
-0.151817366480... |
https://github.com/huggingface/datasets/issues/5351 | Do we need to implement `_prepare_split`? | ok, I think I was assigning the output of `builder.download_and_prepare` but it's an inplace op, so that explains the `NoneType` i was getting back. Now I'm getting:
```
ArrowInvalid Traceback (most recent call last)
<ipython-input-7-3ed50fb87c70> in <module>
----> 1 ds = dataset_buil... | ### Describe the bug
I'm not sure this is a bug or if it's just missing in the documentation, or i'm not doing something correctly, but I'm subclassing `DatasetBuilder` and getting the following error because on the `DatasetBuilder` class the `_prepare_split` method is abstract (as are the others we are required to im... | 486 | Do we need to implement `_prepare_split`?
### Describe the bug
I'm not sure this is a bug or if it's just missing in the documentation, or i'm not doing something correctly, but I'm subclassing `DatasetBuilder` and getting the following error because on the `DatasetBuilder` class the `_prepare_split` method is abstr... | [
-0.39684659242630005,
0.028263568878173828,
0.038606513291597366,
0.26486533880233765,
0.14727875590324402,
0.2111169397830963,
0.5743995904922485,
0.3013264238834381,
-0.35358813405036926,
0.27159470319747925,
0.09605718404054642,
0.13665761053562164,
-0.08747748285531998,
-0.151817366480... |
https://github.com/huggingface/datasets/issues/5351 | Do we need to implement `_prepare_split`? | looks like my arrow files are all empty @mariosasko

i also see the `incomplete_info.lock` file a level up too. seems like the data isn't being persisted to disk when I call `download_and_prepare`. is ... | ### Describe the bug
I'm not sure this is a bug or if it's just missing in the documentation, or i'm not doing something correctly, but I'm subclassing `DatasetBuilder` and getting the following error because on the `DatasetBuilder` class the `_prepare_split` method is abstract (as are the others we are required to im... | 44 | Do we need to implement `_prepare_split`?
### Describe the bug
I'm not sure this is a bug or if it's just missing in the documentation, or i'm not doing something correctly, but I'm subclassing `DatasetBuilder` and getting the following error because on the `DatasetBuilder` class the `_prepare_split` method is abstr... | [
-0.39684659242630005,
0.028263568878173828,
0.038606513291597366,
0.26486533880233765,
0.14727875590324402,
0.2111169397830963,
0.5743995904922485,
0.3013264238834381,
-0.35358813405036926,
0.27159470319747925,
0.09605718404054642,
0.13665761053562164,
-0.08747748285531998,
-0.151817366480... |
https://github.com/huggingface/datasets/issues/5351 | Do we need to implement `_prepare_split`? | quick update @mariosasko. i got it working! i had to downgrade to `datasets==2.4.0`. testing other versions now and will let you know the results. | ### Describe the bug
I'm not sure this is a bug or if it's just missing in the documentation, or i'm not doing something correctly, but I'm subclassing `DatasetBuilder` and getting the following error because on the `DatasetBuilder` class the `_prepare_split` method is abstract (as are the others we are required to im... | 24 | Do we need to implement `_prepare_split`?
### Describe the bug
I'm not sure this is a bug or if it's just missing in the documentation, or i'm not doing something correctly, but I'm subclassing `DatasetBuilder` and getting the following error because on the `DatasetBuilder` class the `_prepare_split` method is abstr... | [
-0.39684659242630005,
0.028263568878173828,
0.038606513291597366,
0.26486533880233765,
0.14727875590324402,
0.2111169397830963,
0.5743995904922485,
0.3013264238834381,
-0.35358813405036926,
0.27159470319747925,
0.09605718404054642,
0.13665761053562164,
-0.08747748285531998,
-0.151817366480... |
https://github.com/huggingface/datasets/issues/5351 | Do we need to implement `_prepare_split`? | I've tested with every version of `datasets>2.4.0` and i get the same error with all of them. | ### Describe the bug
I'm not sure this is a bug or if it's just missing in the documentation, or i'm not doing something correctly, but I'm subclassing `DatasetBuilder` and getting the following error because on the `DatasetBuilder` class the `_prepare_split` method is abstract (as are the others we are required to im... | 17 | Do we need to implement `_prepare_split`?
### Describe the bug
I'm not sure this is a bug or if it's just missing in the documentation, or i'm not doing something correctly, but I'm subclassing `DatasetBuilder` and getting the following error because on the `DatasetBuilder` class the `_prepare_split` method is abstr... | [
-0.39684659242630005,
0.028263568878173828,
0.038606513291597366,
0.26486533880233765,
0.14727875590324402,
0.2111169397830963,
0.5743995904922485,
0.3013264238834381,
-0.35358813405036926,
0.27159470319747925,
0.09605718404054642,
0.13665761053562164,
-0.08747748285531998,
-0.151817366480... |
https://github.com/huggingface/datasets/issues/5348 | The data downloaded in the download folder of the cache does not respect `umask` | note, that `datasets` already did some of that umask fixing in the past and also at the hub - the recent work on the hub about the same: https://github.com/huggingface/huggingface_hub/pull/1220
Also I noticed that each file has a .json counterpart and the latter always has the correct perms:
```
-rw------- 1 uue... | ### Describe the bug
For a project on a cluster we are several users to share the same cache for the datasets library. And we have a problem with the permissions on the data downloaded in the cache.
Indeed, it seems that the data is downloaded by giving read and write permissions only to the user launching the com... | 83 | The data downloaded in the download folder of the cache does not respect `umask`
### Describe the bug
For a project on a cluster we are several users to share the same cache for the datasets library. And we have a problem with the permissions on the data downloaded in the cache.
Indeed, it seems that the data is... | [
-0.1972023993730545,
0.027057796716690063,
-0.08662961423397064,
0.48268598318099976,
-0.04362930357456207,
0.05101991444826126,
0.1399836391210556,
-0.007853228598833084,
0.26428234577178955,
0.04169786721467972,
-0.23669764399528503,
-0.07197105139493942,
-0.10369154065847397,
-0.4535658... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.