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/2746 | Cannot load `few-nerd` dataset | Hi @chen-yuxuan, thanks for your answer.
Just a few comments:
- Please, note that as we use `datasets.load_dataset` implementation, we can pass the configuration name as the second positional argument (no need to pass explicitly `name=`) and it downloads the 3 splits:
```python
In [4]: ds = load_dataset("dfki... | ## Describe the bug
Cannot load `few-nerd` dataset.
## Steps to reproduce the bug
```python
from datasets import load_dataset
load_dataset('few-nerd', 'supervised')
```
## Actual results
Executing above code will give the following error:
```
Using the latest cached version of the module from /Users... | 208 | Cannot load `few-nerd` dataset
## Describe the bug
Cannot load `few-nerd` dataset.
## Steps to reproduce the bug
```python
from datasets import load_dataset
load_dataset('few-nerd', 'supervised')
```
## Actual results
Executing above code will give the following error:
```
Using the latest cached ... | [
-0.3042268753051758,
-0.0985620766878128,
0.007841698825359344,
0.5131357908248901,
0.32854580879211426,
-0.05764244124293327,
0.5201519131660461,
0.25530123710632324,
0.19915753602981567,
0.16810859739780426,
-0.46047765016555786,
-0.09104873239994049,
-0.2877759635448456,
-0.297075152397... |
https://github.com/huggingface/datasets/issues/2746 | Cannot load `few-nerd` dataset | Thank you @albertvillanova for your detailed feedback!
> no need to pass explicitly `name=`
Good catch! I thought `split` stands before `name` in the argument list... but now it is all clear to me, sounds cool! Thanks for the explanation.
Anyways in our old code it still looks bit confusing if we only want one... | ## Describe the bug
Cannot load `few-nerd` dataset.
## Steps to reproduce the bug
```python
from datasets import load_dataset
load_dataset('few-nerd', 'supervised')
```
## Actual results
Executing above code will give the following error:
```
Using the latest cached version of the module from /Users... | 207 | Cannot load `few-nerd` dataset
## Describe the bug
Cannot load `few-nerd` dataset.
## Steps to reproduce the bug
```python
from datasets import load_dataset
load_dataset('few-nerd', 'supervised')
```
## Actual results
Executing above code will give the following error:
```
Using the latest cached ... | [
-0.3042268753051758,
-0.0985620766878128,
0.007841698825359344,
0.5131357908248901,
0.32854580879211426,
-0.05764244124293327,
0.5201519131660461,
0.25530123710632324,
0.19915753602981567,
0.16810859739780426,
-0.46047765016555786,
-0.09104873239994049,
-0.2877759635448456,
-0.297075152397... |
https://github.com/huggingface/datasets/issues/2746 | Cannot load `few-nerd` dataset | Hi @chen-yuxuan,
I have tested on Windows and now it works perfectly, after the fixing of the encoding issue:
```python
In [1]: from datasets import load_dataset
In [2]: ds = load_dataset("dfki-nlp/few-nerd", "supervised")
Downloading: 100%|ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ... | ## Describe the bug
Cannot load `few-nerd` dataset.
## Steps to reproduce the bug
```python
from datasets import load_dataset
load_dataset('few-nerd', 'supervised')
```
## Actual results
Executing above code will give the following error:
```
Using the latest cached version of the module from /Users... | 112 | Cannot load `few-nerd` dataset
## Describe the bug
Cannot load `few-nerd` dataset.
## Steps to reproduce the bug
```python
from datasets import load_dataset
load_dataset('few-nerd', 'supervised')
```
## Actual results
Executing above code will give the following error:
```
Using the latest cached ... | [
-0.3042268753051758,
-0.0985620766878128,
0.007841698825359344,
0.5131357908248901,
0.32854580879211426,
-0.05764244124293327,
0.5201519131660461,
0.25530123710632324,
0.19915753602981567,
0.16810859739780426,
-0.46047765016555786,
-0.09104873239994049,
-0.2877759635448456,
-0.297075152397... |
https://github.com/huggingface/datasets/issues/2743 | Dataset JSON is incorrect | As discussed, the metadata JSON files must be regenerated because the keys were nor properly generated and they will not be read by the builder:
> Indeed there is some problem/bug while reading the datasets_info.json file: there is a mismatch with the config.name keys in the file...
In the meanwhile, in order to be a... | ## Describe the bug
The JSON file generated for https://github.com/huggingface/datasets/blob/573f3d35081cee239d1b962878206e9abe6cde91/datasets/journalists_questions/journalists_questions.py is https://github.com/huggingface/datasets/blob/573f3d35081cee239d1b962878206e9abe6cde91/datasets/journalists_questions/dataset... | 109 | Dataset JSON is incorrect
## Describe the bug
The JSON file generated for https://github.com/huggingface/datasets/blob/573f3d35081cee239d1b962878206e9abe6cde91/datasets/journalists_questions/journalists_questions.py is https://github.com/huggingface/datasets/blob/573f3d35081cee239d1b962878206e9abe6cde91/datasets/j... | [
0.14578783512115479,
0.040142446756362915,
-0.05298928543925285,
0.47682249546051025,
0.1063421294093132,
0.22297215461730957,
0.15502513945102692,
0.3400086760520935,
-0.23909415304660797,
0.008226998150348663,
0.03579387068748474,
0.432131290435791,
0.09956885874271393,
0.138274043798446... |
https://github.com/huggingface/datasets/issues/2742 | Improve detection of streamable file types | maybe we should rather attempt to download a `Range` from the server and see if it works? | **Is your feature request related to a problem? Please describe.**
```python
from datasets import load_dataset_builder
from datasets.utils.streaming_download_manager import StreamingDownloadManager
builder = load_dataset_builder("journalists_questions", name="plain_text")
builder._split_generators(StreamingDownl... | 17 | Improve detection of streamable file types
**Is your feature request related to a problem? Please describe.**
```python
from datasets import load_dataset_builder
from datasets.utils.streaming_download_manager import StreamingDownloadManager
builder = load_dataset_builder("journalists_questions", name="plain_tex... | [
-0.4683200418949127,
-0.0467546284198761,
-0.09795741736888885,
0.13755300641059875,
0.1663963943719864,
-0.22397533059120178,
0.19266138970851898,
0.4674960970878601,
0.06285335123538971,
0.2362469732761383,
-0.006769224070012569,
-0.04707856476306915,
-0.41499269008636475,
0.255493044853... |
https://github.com/huggingface/datasets/issues/2737 | SacreBLEU update | Hi @devrimcavusoglu,
I tried your code with latest version of `datasets`and `sacrebleu==1.5.1` and it's running fine after changing one small thing:
```
sacrebleu = datasets.load_metric('sacrebleu')
predictions = ["It is a guide to action which ensures that the military always obeys the commands of the party"]
re... | With the latest release of [sacrebleu](https://github.com/mjpost/sacrebleu), `datasets.metrics.sacrebleu` is broken, and getting error.
AttributeError: module 'sacrebleu' has no attribute 'DEFAULT_TOKENIZER'
this happens since in new version of sacrebleu there is no `DEFAULT_TOKENIZER`, but sacrebleu.py tries... | 101 | SacreBLEU update
With the latest release of [sacrebleu](https://github.com/mjpost/sacrebleu), `datasets.metrics.sacrebleu` is broken, and getting error.
AttributeError: module 'sacrebleu' has no attribute 'DEFAULT_TOKENIZER'
this happens since in new version of sacrebleu there is no `DEFAULT_TOKENIZER`, but... | [
-0.3851112723350525,
0.1802143156528473,
-0.0012570880353450775,
-0.06791013479232788,
0.5497627258300781,
-0.21898457407951355,
0.0627022311091423,
0.34801074862480164,
-0.21019473671913147,
0.12432295083999634,
0.008656712248921394,
0.333883672952652,
-0.044022005051374435,
-0.0246396474... |
https://github.com/huggingface/datasets/issues/2737 | SacreBLEU update | @bhavitvyamalik hmm. I forgot double brackets, but still didn't work when used it with double brackets. It may be an isseu with platform (using win-10 currently), or versions. What is your platform and your version info for datasets, python, and sacrebleu ? | With the latest release of [sacrebleu](https://github.com/mjpost/sacrebleu), `datasets.metrics.sacrebleu` is broken, and getting error.
AttributeError: module 'sacrebleu' has no attribute 'DEFAULT_TOKENIZER'
this happens since in new version of sacrebleu there is no `DEFAULT_TOKENIZER`, but sacrebleu.py tries... | 42 | SacreBLEU update
With the latest release of [sacrebleu](https://github.com/mjpost/sacrebleu), `datasets.metrics.sacrebleu` is broken, and getting error.
AttributeError: module 'sacrebleu' has no attribute 'DEFAULT_TOKENIZER'
this happens since in new version of sacrebleu there is no `DEFAULT_TOKENIZER`, but... | [
-0.36109867691993713,
0.13120955228805542,
-0.005660189315676689,
-0.10268525779247284,
0.476141095161438,
-0.15574419498443604,
0.13352206349372864,
0.33508580923080444,
-0.06146713346242905,
0.11806997656822205,
0.06350436061620712,
0.41466808319091797,
-0.0860368013381958,
-0.1110802665... |
https://github.com/huggingface/datasets/issues/2737 | SacreBLEU update | You can check that here, I've reproduced your code in [Google colab](https://colab.research.google.com/drive/1X90fHRgMLKczOVgVk7NDEw_ciZFDjaCM?usp=sharing). Looks like there was some issue in `sacrebleu` which was fixed later from what I've found [here](https://github.com/pytorch/fairseq/issues/2049#issuecomment-622367... | With the latest release of [sacrebleu](https://github.com/mjpost/sacrebleu), `datasets.metrics.sacrebleu` is broken, and getting error.
AttributeError: module 'sacrebleu' has no attribute 'DEFAULT_TOKENIZER'
this happens since in new version of sacrebleu there is no `DEFAULT_TOKENIZER`, but sacrebleu.py tries... | 36 | SacreBLEU update
With the latest release of [sacrebleu](https://github.com/mjpost/sacrebleu), `datasets.metrics.sacrebleu` is broken, and getting error.
AttributeError: module 'sacrebleu' has no attribute 'DEFAULT_TOKENIZER'
this happens since in new version of sacrebleu there is no `DEFAULT_TOKENIZER`, but... | [
-0.35782065987586975,
0.19118225574493408,
-0.013056209310889244,
-0.12196709215641022,
0.4591221809387207,
-0.25873255729675293,
0.1023559719324112,
0.3462674021720886,
-0.10472659766674042,
0.17029157280921936,
0.02926858887076378,
0.3873143494129181,
-0.02860669046640396,
-0.12960317730... |
https://github.com/huggingface/datasets/issues/2737 | SacreBLEU update | It seems that next release of `sacrebleu` (v2.0.0) will break our `datasets` implementation to compute it. See my Google Colab: https://colab.research.google.com/drive/1SKmvvjQi6k_3OHsX5NPkZdiaJIfXyv9X?usp=sharing
I'm reopening this Issue and making a Pull Request to fix it. | With the latest release of [sacrebleu](https://github.com/mjpost/sacrebleu), `datasets.metrics.sacrebleu` is broken, and getting error.
AttributeError: module 'sacrebleu' has no attribute 'DEFAULT_TOKENIZER'
this happens since in new version of sacrebleu there is no `DEFAULT_TOKENIZER`, but sacrebleu.py tries... | 33 | SacreBLEU update
With the latest release of [sacrebleu](https://github.com/mjpost/sacrebleu), `datasets.metrics.sacrebleu` is broken, and getting error.
AttributeError: module 'sacrebleu' has no attribute 'DEFAULT_TOKENIZER'
this happens since in new version of sacrebleu there is no `DEFAULT_TOKENIZER`, but... | [
-0.3739026188850403,
0.23291566967964172,
0.01667902246117592,
-0.15293720364570618,
0.3844797611236572,
-0.22800180315971375,
0.14111779630184174,
0.3971855640411377,
-0.14342179894447327,
0.11723586916923523,
0.06348121166229248,
0.3675317168235779,
-0.07474103569984436,
-0.0431298948824... |
https://github.com/huggingface/datasets/issues/2737 | SacreBLEU update | > It seems that next release of `sacrebleu` (v2.0.0) will break our `datasets` implementation to compute it. See my Google Colab: https://colab.research.google.com/drive/1SKmvvjQi6k_3OHsX5NPkZdiaJIfXyv9X?usp=sharing
>
> I'm reopening this Issue and making a Pull Request to fix it.
How did you solve him | With the latest release of [sacrebleu](https://github.com/mjpost/sacrebleu), `datasets.metrics.sacrebleu` is broken, and getting error.
AttributeError: module 'sacrebleu' has no attribute 'DEFAULT_TOKENIZER'
this happens since in new version of sacrebleu there is no `DEFAULT_TOKENIZER`, but sacrebleu.py tries... | 41 | SacreBLEU update
With the latest release of [sacrebleu](https://github.com/mjpost/sacrebleu), `datasets.metrics.sacrebleu` is broken, and getting error.
AttributeError: module 'sacrebleu' has no attribute 'DEFAULT_TOKENIZER'
this happens since in new version of sacrebleu there is no `DEFAULT_TOKENIZER`, but... | [
-0.36284545063972473,
0.21759915351867676,
0.004086684435606003,
-0.1242443323135376,
0.4111891984939575,
-0.22062981128692627,
0.14834296703338623,
0.39988383650779724,
-0.16543002426624298,
0.13522131741046906,
0.05526522547006607,
0.3734941780567169,
-0.07741481065750122,
-0.05806468427... |
https://github.com/huggingface/datasets/issues/2736 | Add Microsoft Building Footprints dataset | Motivation: this can be a useful dataset for researchers working on climate change adaptation, urban studies, geography, etc. I'll see if I can figure out how to add it! | ## Adding a Dataset
- **Name:** Microsoft Building Footprints
- **Description:** With the goal to increase the coverage of building footprint data available as open data for OpenStreetMap and humanitarian efforts, we have released millions of building footprints as open data available to download free of charge.
- *... | 29 | Add Microsoft Building Footprints dataset
## Adding a Dataset
- **Name:** Microsoft Building Footprints
- **Description:** With the goal to increase the coverage of building footprint data available as open data for OpenStreetMap and humanitarian efforts, we have released millions of building footprints as open dat... | [
-0.6230248212814331,
0.06842021644115448,
-0.22410732507705688,
-0.0011126473546028137,
-0.06539188325405121,
-0.06257577240467072,
0.10251758992671967,
0.2215956151485443,
0.1189827173948288,
0.32362866401672363,
0.22696033120155334,
0.21790219843387604,
-0.23825140297412872,
0.4009599089... |
https://github.com/huggingface/datasets/issues/2730 | Update CommonVoice with new release | Does anybody know if there is a bundled link, which would allow direct data download instead of manual?
Something similar to: `https://voice-prod-bundler-ee1969a6ce8178826482b88e843c335139bd3fb4.s3.amazonaws.com/cv-corpus-6.1-2020-12-11/ab.tar.gz` ? cc @patil-suraj
| ## Adding a Dataset
- **Name:** CommonVoice mid-2021 release
- **Description:** more data in CommonVoice: Languages that have increased the most by percentage are Thai (almost 20x growth, from 12 hours to 250 hours), Luganda (almost 9x growth, from 8 to 80), Esperanto (7x growth, from 100 to 840), and Tamil (almost 8... | 25 | Update CommonVoice with new release
## Adding a Dataset
- **Name:** CommonVoice mid-2021 release
- **Description:** more data in CommonVoice: Languages that have increased the most by percentage are Thai (almost 20x growth, from 12 hours to 250 hours), Luganda (almost 9x growth, from 8 to 80), Esperanto (7x growth,... | [
-0.38971182703971863,
0.06890064477920532,
-0.043625328689813614,
-0.1407741904258728,
-0.007544919848442078,
0.23610395193099976,
-0.08662782609462738,
0.4099913239479065,
-0.0332527682185173,
0.055265747010707855,
-0.22682088613510132,
0.12674422562122345,
-0.1374960094690323,
0.37575665... |
https://github.com/huggingface/datasets/issues/2728 | Concurrent use of same dataset (already downloaded) | Launching simultaneous job relying on the same datasets try some writing issue. I guess it is unexpected since I only need to load some already downloaded file. | ## Describe the bug
When launching several jobs at the same time loading the same dataset trigger some errors see (last comments).
## Steps to reproduce the bug
export HF_DATASETS_CACHE=/gpfswork/rech/toto/datasets
for MODEL in "bert-base-uncased" "roberta-base" "distilbert-base-cased"; do # "bert-base-uncased" ... | 27 | Concurrent use of same dataset (already downloaded)
## Describe the bug
When launching several jobs at the same time loading the same dataset trigger some errors see (last comments).
## Steps to reproduce the bug
export HF_DATASETS_CACHE=/gpfswork/rech/toto/datasets
for MODEL in "bert-base-uncased" "roberta-bas... | [
-0.5779122710227966,
-0.08099966496229172,
-0.04536418616771698,
0.4501565098762512,
0.2459626942873001,
0.013974927365779877,
0.5565328001976013,
0.27238136529922485,
0.18437135219573975,
0.19074305891990662,
-0.031177887693047523,
0.1464349627494812,
0.02124243788421154,
0.14418846368789... |
https://github.com/huggingface/datasets/issues/2728 | Concurrent use of same dataset (already downloaded) | If i have two jobs that use the same dataset. I got :
File "compute_measures.py", line 181, in <module>
train_loader, val_loader, test_loader = get_dataloader(args)
File "/gpfsdswork/projects/rech/toto/intRAOcular/dataset_utils.py", line 69, in get_dataloader
dataset_train = load_dataset('paws', "la... | ## Describe the bug
When launching several jobs at the same time loading the same dataset trigger some errors see (last comments).
## Steps to reproduce the bug
export HF_DATASETS_CACHE=/gpfswork/rech/toto/datasets
for MODEL in "bert-base-uncased" "roberta-base" "distilbert-base-cased"; do # "bert-base-uncased" ... | 78 | Concurrent use of same dataset (already downloaded)
## Describe the bug
When launching several jobs at the same time loading the same dataset trigger some errors see (last comments).
## Steps to reproduce the bug
export HF_DATASETS_CACHE=/gpfswork/rech/toto/datasets
for MODEL in "bert-base-uncased" "roberta-bas... | [
-0.5779122710227966,
-0.08099966496229172,
-0.04536418616771698,
0.4501565098762512,
0.2459626942873001,
0.013974927365779877,
0.5565328001976013,
0.27238136529922485,
0.18437135219573975,
0.19074305891990662,
-0.031177887693047523,
0.1464349627494812,
0.02124243788421154,
0.14418846368789... |
https://github.com/huggingface/datasets/issues/2728 | Concurrent use of same dataset (already downloaded) | You can probably have a solution much faster than me (first time I use the library). But I suspect some write function are used when loading the dataset from cache. | ## Describe the bug
When launching several jobs at the same time loading the same dataset trigger some errors see (last comments).
## Steps to reproduce the bug
export HF_DATASETS_CACHE=/gpfswork/rech/toto/datasets
for MODEL in "bert-base-uncased" "roberta-base" "distilbert-base-cased"; do # "bert-base-uncased" ... | 30 | Concurrent use of same dataset (already downloaded)
## Describe the bug
When launching several jobs at the same time loading the same dataset trigger some errors see (last comments).
## Steps to reproduce the bug
export HF_DATASETS_CACHE=/gpfswork/rech/toto/datasets
for MODEL in "bert-base-uncased" "roberta-bas... | [
-0.5779122710227966,
-0.08099966496229172,
-0.04536418616771698,
0.4501565098762512,
0.2459626942873001,
0.013974927365779877,
0.5565328001976013,
0.27238136529922485,
0.18437135219573975,
0.19074305891990662,
-0.031177887693047523,
0.1464349627494812,
0.02124243788421154,
0.14418846368789... |
https://github.com/huggingface/datasets/issues/2728 | Concurrent use of same dataset (already downloaded) | I have the same issue:
```
Traceback (most recent call last):
File "/dccstor/tslm/envs/anaconda3/envs/trf-a100/lib/python3.9/site-packages/datasets/builder.py", line 652, in _download_and_prepare
self._prepare_split(split_generator, **prepare_split_kwargs)
File "/dccstor/tslm/envs/anaconda3/envs/trf-a100/l... | ## Describe the bug
When launching several jobs at the same time loading the same dataset trigger some errors see (last comments).
## Steps to reproduce the bug
export HF_DATASETS_CACHE=/gpfswork/rech/toto/datasets
for MODEL in "bert-base-uncased" "roberta-base" "distilbert-base-cased"; do # "bert-base-uncased" ... | 172 | Concurrent use of same dataset (already downloaded)
## Describe the bug
When launching several jobs at the same time loading the same dataset trigger some errors see (last comments).
## Steps to reproduce the bug
export HF_DATASETS_CACHE=/gpfswork/rech/toto/datasets
for MODEL in "bert-base-uncased" "roberta-bas... | [
-0.5779122710227966,
-0.08099966496229172,
-0.04536418616771698,
0.4501565098762512,
0.2459626942873001,
0.013974927365779877,
0.5565328001976013,
0.27238136529922485,
0.18437135219573975,
0.19074305891990662,
-0.031177887693047523,
0.1464349627494812,
0.02124243788421154,
0.14418846368789... |
https://github.com/huggingface/datasets/issues/2727 | Error in loading the Arabic Billion Words Corpus | I modified the dataset loading script to catch the `IndexError` and inspect the records at which the error is happening, and I found this:
For the `Techreen` config, the error happens in 36 records when trying to find the `Text` or `Dateline` tags. All these 36 records look something like:
```
<Techreen>
<ID>TRN_A... | ## Describe the bug
I get `IndexError: list index out of range` when trying to load the `Techreen` and `Almustaqbal` configs of the dataset.
## Steps to reproduce the bug
```python
load_dataset("arabic_billion_words", "Techreen")
load_dataset("arabic_billion_words", "Almustaqbal")
```
## Expected results
Th... | 128 | Error in loading the Arabic Billion Words Corpus
## Describe the bug
I get `IndexError: list index out of range` when trying to load the `Techreen` and `Almustaqbal` configs of the dataset.
## Steps to reproduce the bug
```python
load_dataset("arabic_billion_words", "Techreen")
load_dataset("arabic_billion_wor... | [
-0.17554040253162384,
0.10674978792667389,
-0.11839994788169861,
0.42312872409820557,
-0.14884282648563385,
0.26181888580322266,
0.23233544826507568,
0.39046812057495117,
0.3619006872177124,
-0.0010760873556137085,
-0.23314595222473145,
-0.011689807288348675,
0.058974090963602066,
0.011106... |
https://github.com/huggingface/datasets/issues/2727 | Error in loading the Arabic Billion Words Corpus | Thanks @M-Salti for reporting this issue and for your investigation.
Indeed, those `IndexError` should be catched and the corresponding record should be ignored.
I'm opening a Pull Request to fix it. | ## Describe the bug
I get `IndexError: list index out of range` when trying to load the `Techreen` and `Almustaqbal` configs of the dataset.
## Steps to reproduce the bug
```python
load_dataset("arabic_billion_words", "Techreen")
load_dataset("arabic_billion_words", "Almustaqbal")
```
## Expected results
Th... | 31 | Error in loading the Arabic Billion Words Corpus
## Describe the bug
I get `IndexError: list index out of range` when trying to load the `Techreen` and `Almustaqbal` configs of the dataset.
## Steps to reproduce the bug
```python
load_dataset("arabic_billion_words", "Techreen")
load_dataset("arabic_billion_wor... | [
-0.18777593970298767,
-0.046449899673461914,
-0.08867668360471725,
0.4570903182029724,
-0.13610105216503143,
0.2721575200557709,
0.22418762743473053,
0.3228877782821655,
0.42783865332603455,
-0.013255894184112549,
-0.2501673400402069,
-0.01381615735590458,
0.12148883938789368,
0.0700828433... |
https://github.com/huggingface/datasets/issues/2724 | 404 Error when loading remote data files from private repo | I guess the issue is when computing the ETags of the remote files. Indeed `use_auth_token` must be passed to `request_etags` here:
https://github.com/huggingface/datasets/blob/35b5e4bc0cb2ed896e40f3eb2a4aa3de1cb1a6c5/src/datasets/builder.py#L160-L160 | ## Describe the bug
When loading remote data files from a private repo, a 404 error is raised.
## Steps to reproduce the bug
```python
url = hf_hub_url("lewtun/asr-preds-test", "preds.jsonl", repo_type="dataset")
dset = load_dataset("json", data_files=url, use_auth_token=True)
# HTTPError: 404 Client Error: Not... | 22 | 404 Error when loading remote data files from private repo
## Describe the bug
When loading remote data files from a private repo, a 404 error is raised.
## Steps to reproduce the bug
```python
url = hf_hub_url("lewtun/asr-preds-test", "preds.jsonl", repo_type="dataset")
dset = load_dataset("json", data_files=... | [
0.08716332912445068,
0.025846317410469055,
0.02740677073597908,
0.6045911908149719,
-0.17846785485744476,
-0.08985549956560135,
0.28822243213653564,
0.32685044407844543,
0.018490511924028397,
0.16752350330352783,
-0.36940035223960876,
-0.08398587256669998,
0.22415441274642944,
-0.040856745... |
https://github.com/huggingface/datasets/issues/2724 | 404 Error when loading remote data files from private repo | Yes, I remember having properly implemented that:
- https://github.com/huggingface/datasets/commit/7a9c62f7cef9ecc293f629f859d4375a6bd26dc8#diff-f933ce41f71c6c0d1ce658e27de62cbe0b45d777e9e68056dd012ac3eb9324f7R160
- https://github.com/huggingface/datasets/pull/2628/commits/6350a03b4b830339a745f7b1da46ece784ca734c
... | ## Describe the bug
When loading remote data files from a private repo, a 404 error is raised.
## Steps to reproduce the bug
```python
url = hf_hub_url("lewtun/asr-preds-test", "preds.jsonl", repo_type="dataset")
dset = load_dataset("json", data_files=url, use_auth_token=True)
# HTTPError: 404 Client Error: Not... | 18 | 404 Error when loading remote data files from private repo
## Describe the bug
When loading remote data files from a private repo, a 404 error is raised.
## Steps to reproduce the bug
```python
url = hf_hub_url("lewtun/asr-preds-test", "preds.jsonl", repo_type="dataset")
dset = load_dataset("json", data_files=... | [
0.15199077129364014,
0.021742552518844604,
0.0421525202691555,
0.4689883589744568,
-0.1487778276205063,
-0.08374543488025665,
0.18702206015586853,
0.33147820830345154,
0.025100965052843094,
0.13213089108467102,
-0.414760947227478,
-0.03817537799477577,
0.1177171990275383,
-0.08457151800394... |
https://github.com/huggingface/datasets/issues/2722 | Missing cache file | This could be solved by going to the glue/ directory and delete sst2 directory, then load the dataset again will help you redownload the dataset. | Strangely missing cache file after I restart my program again.
`glue_dataset = datasets.load_dataset('glue', 'sst2')`
`FileNotFoundError: [Errno 2] No such file or directory: /Users/chris/.cache/huggingface/datasets/glue/sst2/1.0.0/dacbe3125aa31d7f70367a07a8a9e72a5a0bfeb5fc42e75c9db75b96d6053ad/dataset_info.json... | 25 | Missing cache file
Strangely missing cache file after I restart my program again.
`glue_dataset = datasets.load_dataset('glue', 'sst2')`
`FileNotFoundError: [Errno 2] No such file or directory: /Users/chris/.cache/huggingface/datasets/glue/sst2/1.0.0/dacbe3125aa31d7f70367a07a8a9e72a5a0bfeb5fc42e75c9db75b96d605... | [
-0.14894962310791016,
-0.2841118574142456,
-0.09039494395256042,
0.14607062935829163,
0.27517789602279663,
0.049327097833156586,
0.07703189551830292,
0.20987989008426666,
0.26189684867858887,
0.0594647079706192,
-0.0856972485780716,
0.09699899703264236,
0.09862162172794342,
0.2517311573028... |
https://github.com/huggingface/datasets/issues/2722 | Missing cache file | Hi ! Not sure why this file was missing, but yes the way to fix this is to delete the sst2 directory and to reload the dataset | Strangely missing cache file after I restart my program again.
`glue_dataset = datasets.load_dataset('glue', 'sst2')`
`FileNotFoundError: [Errno 2] No such file or directory: /Users/chris/.cache/huggingface/datasets/glue/sst2/1.0.0/dacbe3125aa31d7f70367a07a8a9e72a5a0bfeb5fc42e75c9db75b96d6053ad/dataset_info.json... | 27 | Missing cache file
Strangely missing cache file after I restart my program again.
`glue_dataset = datasets.load_dataset('glue', 'sst2')`
`FileNotFoundError: [Errno 2] No such file or directory: /Users/chris/.cache/huggingface/datasets/glue/sst2/1.0.0/dacbe3125aa31d7f70367a07a8a9e72a5a0bfeb5fc42e75c9db75b96d605... | [
-0.09679467976093292,
-0.21156643331050873,
-0.08074970543384552,
0.19621051847934723,
0.3262523412704468,
0.2369842231273651,
0.014586098492145538,
0.21860246360301971,
0.3042124807834625,
0.024730518460273743,
0.03596023470163345,
0.032418083399534225,
0.06950761377811432,
0.025483509525... |
https://github.com/huggingface/datasets/issues/2716 | Calling shuffle on IterableDataset will disable batching in case any functions were mapped | Hi :) Good catch ! Feel free to open a PR if you want to contribute, this would be very welcome ;) | When using dataset in streaming mode, if one applies `shuffle` method on the dataset and `map` method for which `batched=True` than the batching operation will not happen, instead `batched` will be set to `False`
I did RCA on the dataset codebase, the problem is emerging from [this line of code](https://github.com/h... | 22 | Calling shuffle on IterableDataset will disable batching in case any functions were mapped
When using dataset in streaming mode, if one applies `shuffle` method on the dataset and `map` method for which `batched=True` than the batching operation will not happen, instead `batched` will be set to `False`
I did RCA o... | [
-0.40982159972190857,
-0.25380757451057434,
0.016455572098493576,
-0.03116121143102646,
0.3398856520652771,
-0.05797150731086731,
0.30230793356895447,
0.06744365394115448,
-0.21752531826496124,
0.3773574233055115,
-0.23105058073997498,
0.29125529527664185,
-0.1922607719898224,
0.2657687664... |
https://github.com/huggingface/datasets/issues/2714 | add more precise information for size | We already have this information in the dataset_infos.json files of each dataset.
Maybe we can parse these files in the backend to return their content with the endpoint at huggingface.co/api/datasets
For now if you want to access this info you have to load the json for each dataset. For example:
- for a dataset o... | For the import into ELG, we would like a more precise description of the size of the dataset, instead of the current size categories. The size can be expressed in bytes, or any other preferred size unit. As suggested in the slack channel, perhaps this could be computed with a regex for existing datasets. | 71 | add more precise information for size
For the import into ELG, we would like a more precise description of the size of the dataset, instead of the current size categories. The size can be expressed in bytes, or any other preferred size unit. As suggested in the slack channel, perhaps this could be computed with a reg... | [
-0.0413549467921257,
-0.5577727556228638,
-0.1589670181274414,
0.3919740915298462,
0.20537523925304413,
-0.0639248937368393,
-0.07375909388065338,
0.05036449804902077,
0.10644851624965668,
0.07986827194690704,
-0.43947017192840576,
0.0881778821349144,
-0.06569746136665344,
0.45486521720886... |
https://github.com/huggingface/datasets/issues/2709 | Missing documentation for wnut_17 (ner_tags) | Hi @maxpel, thanks for reporting this issue.
Indeed, the documentation in the dataset card is not complete. Iβm opening a Pull Request to fix it.
As the paper explains, there are 6 entity types and we have ordered them alphabetically: `corporation`, `creative-work`, `group`, `location`, `person` and `product`.
... | On the info page of the wnut_17 data set (https://huggingface.co/datasets/wnut_17), the model output of ner-tags is only documented for these 5 cases:
`ner_tags: a list of classification labels, with possible values including O (0), B-corporation (1), I-corporation (2), B-creative-work (3), I-creative-work (4).`
... | 145 | Missing documentation for wnut_17 (ner_tags)
On the info page of the wnut_17 data set (https://huggingface.co/datasets/wnut_17), the model output of ner-tags is only documented for these 5 cases:
`ner_tags: a list of classification labels, with possible values including O (0), B-corporation (1), I-corporation (2),... | [
0.27512356638908386,
-0.2970442771911621,
0.020811006426811218,
0.46739083528518677,
-0.05594465881586075,
0.05201501399278641,
-0.011735420674085617,
-0.29913243651390076,
-0.25691089034080505,
-0.2186730057001114,
0.09837961941957474,
0.38133594393730164,
-0.1071821078658104,
0.205038636... |
https://github.com/huggingface/datasets/issues/2708 | QASC: incomplete training set | Hi @danyaljj, thanks for reporting.
Unfortunately, I have not been able to reproduce your problem. My train split has 8134 examples:
```ipython
In [10]: ds["train"]
Out[10]:
Dataset({
features: ['id', 'question', 'choices', 'answerKey', 'fact1', 'fact2', 'combinedfact', 'formatted_question'],
num_rows:... | ## Describe the bug
The training instances are not loaded properly.
## Steps to reproduce the bug
```python
from datasets import load_dataset
dataset = load_dataset("qasc", script_version='1.10.2')
def load_instances(split):
instances = dataset[split]
print(f"split: {split} - size: {len(instanc... | 496 | QASC: incomplete training set
## Describe the bug
The training instances are not loaded properly.
## Steps to reproduce the bug
```python
from datasets import load_dataset
dataset = load_dataset("qasc", script_version='1.10.2')
def load_instances(split):
instances = dataset[split]
print(f"sp... | [
-0.24501818418502808,
-0.3615005612373352,
-0.16716867685317993,
0.3723610043525696,
0.12369561940431595,
0.14514625072479248,
0.01643914356827736,
0.43802058696746826,
-0.12132073938846588,
0.09349366277456284,
0.16326017677783966,
0.12497171759605408,
0.04304622486233711,
0.2471363097429... |
https://github.com/huggingface/datasets/issues/2707 | 404 Not Found Error when loading LAMA dataset | Hi @dwil2444! I was able to reproduce your error when I downgraded to v1.1.2. Updating to the latest version of Datasets fixed the error for me :) | The [LAMA](https://huggingface.co/datasets/viewer/?dataset=lama) probing dataset is not available for download:
Steps to Reproduce:
1. `from datasets import load_dataset`
2. `dataset = load_dataset('lama', 'trex')`.
Results:
`FileNotFoundError: Couldn't find file locally at lama/lama.py, or remotely ... | 27 | 404 Not Found Error when loading LAMA dataset
The [LAMA](https://huggingface.co/datasets/viewer/?dataset=lama) probing dataset is not available for download:
Steps to Reproduce:
1. `from datasets import load_dataset`
2. `dataset = load_dataset('lama', 'trex')`.
Results:
`FileNotFoundError: Couldn't... | [
0.027576211839914322,
-0.17989498376846313,
-0.04161740094423294,
0.5950441956520081,
0.4188714623451233,
0.12768834829330444,
-0.10213330388069153,
0.40457576513290405,
-0.42221447825431824,
0.2916167676448822,
-0.31222131848335266,
0.16415256261825562,
-0.15944592654705048,
-0.2467197328... |
https://github.com/huggingface/datasets/issues/2707 | 404 Not Found Error when loading LAMA dataset | Hi @dwil2444, thanks for reporting.
Could you please confirm which `datasets` version you were using and if the problem persists after you update it to the latest version: `pip install -U datasets`?
Thanks @stevhliu for the hint to fix this! ;) | The [LAMA](https://huggingface.co/datasets/viewer/?dataset=lama) probing dataset is not available for download:
Steps to Reproduce:
1. `from datasets import load_dataset`
2. `dataset = load_dataset('lama', 'trex')`.
Results:
`FileNotFoundError: Couldn't find file locally at lama/lama.py, or remotely ... | 41 | 404 Not Found Error when loading LAMA dataset
The [LAMA](https://huggingface.co/datasets/viewer/?dataset=lama) probing dataset is not available for download:
Steps to Reproduce:
1. `from datasets import load_dataset`
2. `dataset = load_dataset('lama', 'trex')`.
Results:
`FileNotFoundError: Couldn't... | [
0.03762311860918999,
-0.24428004026412964,
-0.038677673786878586,
0.6305747628211975,
0.4072245955467224,
0.08833067864179611,
-0.07169881463050842,
0.3489046096801758,
-0.3947158753871918,
0.2646036744117737,
-0.2870088815689087,
0.22050392627716064,
-0.15739920735359192,
-0.2962248325347... |
https://github.com/huggingface/datasets/issues/2707 | 404 Not Found Error when loading LAMA dataset | @stevhliu @albertvillanova updating to the latest version of datasets did in fact fix this issue. Thanks a lot for your help! | The [LAMA](https://huggingface.co/datasets/viewer/?dataset=lama) probing dataset is not available for download:
Steps to Reproduce:
1. `from datasets import load_dataset`
2. `dataset = load_dataset('lama', 'trex')`.
Results:
`FileNotFoundError: Couldn't find file locally at lama/lama.py, or remotely ... | 21 | 404 Not Found Error when loading LAMA dataset
The [LAMA](https://huggingface.co/datasets/viewer/?dataset=lama) probing dataset is not available for download:
Steps to Reproduce:
1. `from datasets import load_dataset`
2. `dataset = load_dataset('lama', 'trex')`.
Results:
`FileNotFoundError: Couldn't... | [
0.05794468894600868,
-0.22567202150821686,
-0.033730484545230865,
0.601818859577179,
0.3969440460205078,
0.12284957617521286,
-0.0771399587392807,
0.39270901679992676,
-0.428257554769516,
0.25280824303627014,
-0.3340737819671631,
0.19940945506095886,
-0.1437428593635559,
-0.263453334569931... |
https://github.com/huggingface/datasets/issues/2705 | 404 not found error on loading WIKIANN dataset | Hi @ronbutan, thanks for reporting.
You are right: we have recently found that the link to the original PAN-X dataset (also called WikiANN), hosted at Dropbox, is no longer working.
We have opened an issue in the GitHub repository of the original dataset (afshinrahimi/mmner#4) and we have also contacted the autho... | ## Describe the bug
Unable to retreive wikiann English dataset
## Steps to reproduce the bug
```python
from datasets import list_datasets, load_dataset, list_metrics, load_metric
WIKIANN = load_dataset("wikiann","en")
```
## Expected results
Colab notebook should display successful download status
## Act... | 94 | 404 not found error on loading WIKIANN dataset
## Describe the bug
Unable to retreive wikiann English dataset
## Steps to reproduce the bug
```python
from datasets import list_datasets, load_dataset, list_metrics, load_metric
WIKIANN = load_dataset("wikiann","en")
```
## Expected results
Colab notebook sh... | [
-0.1983267068862915,
0.014373883605003357,
0.0021063871681690216,
0.23605558276176453,
0.03386017307639122,
0.06316614896059036,
0.05425315722823143,
0.19719533622264862,
-0.023259850218892097,
0.18440191447734833,
-0.19901664555072784,
0.34823185205459595,
0.1889098584651947,
-0.035204973... |
https://github.com/huggingface/datasets/issues/2700 | from datasets import Dataset is failing | Hi @kswamy15, thanks for reporting.
We are fixing this critical issue and making an urgent patch release of the `datasets` library today.
In the meantime, you can circumvent this issue by updating the `tqdm` library: `!pip install -U tqdm` | ## Describe the bug
A clear and concise description of what the bug is.
## Steps to reproduce the bug
```python
# Sample code to reproduce the bug
from datasets import Dataset
```
## Expected results
A clear and concise description of the expected results.
## Actual results
Specify the actual results or... | 39 | from datasets import Dataset is failing
## Describe the bug
A clear and concise description of what the bug is.
## Steps to reproduce the bug
```python
# Sample code to reproduce the bug
from datasets import Dataset
```
## Expected results
A clear and concise description of the expected results.
## Ac... | [
-0.40854549407958984,
-0.15285880863666534,
-0.12398098409175873,
0.06415057927370071,
0.11212562769651413,
0.10350476950407028,
0.3430987000465393,
0.22389811277389526,
-0.13659407198429108,
0.0548991933465004,
-0.08839066326618195,
0.28764060139656067,
0.0480186752974987,
0.0611998289823... |
https://github.com/huggingface/datasets/issues/2699 | cannot combine splits merging and streaming? | Hi ! That's missing indeed. We'll try to implement this for the next version :)
I guess we just need to implement #2564 first, and then we should be able to add support for splits combinations | this does not work:
`dataset = datasets.load_dataset('mc4','iw',split='train+validation',streaming=True)`
with error:
`ValueError: Bad split: train+validation. Available splits: ['train', 'validation']`
these work:
`dataset = datasets.load_dataset('mc4','iw',split='train+validation')`
`dataset = datasets.load_d... | 36 | cannot combine splits merging and streaming?
this does not work:
`dataset = datasets.load_dataset('mc4','iw',split='train+validation',streaming=True)`
with error:
`ValueError: Bad split: train+validation. Available splits: ['train', 'validation']`
these work:
`dataset = datasets.load_dataset('mc4','iw',split='... | [
-0.508149266242981,
-0.33735281229019165,
-0.11027909815311432,
-0.014029920101165771,
0.033048685640096664,
0.07413782924413681,
0.07430857419967651,
0.48546579480171204,
-0.06634528189897537,
0.12954021990299225,
-0.2676169276237488,
0.2315489947795868,
-0.05141301453113556,
0.5110139846... |
https://github.com/huggingface/datasets/issues/2699 | cannot combine splits merging and streaming? | is there an update on this? ran into the same issue on 2.17.1.
On a similar note, the keyword `split="all"` also does not work as intended when `streaming=True`. | this does not work:
`dataset = datasets.load_dataset('mc4','iw',split='train+validation',streaming=True)`
with error:
`ValueError: Bad split: train+validation. Available splits: ['train', 'validation']`
these work:
`dataset = datasets.load_dataset('mc4','iw',split='train+validation')`
`dataset = datasets.load_d... | 28 | cannot combine splits merging and streaming?
this does not work:
`dataset = datasets.load_dataset('mc4','iw',split='train+validation',streaming=True)`
with error:
`ValueError: Bad split: train+validation. Available splits: ['train', 'validation']`
these work:
`dataset = datasets.load_dataset('mc4','iw',split='... | [
-0.503541886806488,
-0.44928255677223206,
-0.06265004724264145,
0.009617645293474197,
0.03072226606309414,
0.06168011575937271,
-0.0063447169959545135,
0.45637813210487366,
-0.17447860538959503,
-0.08336523175239563,
-0.28988903760910034,
0.2879962623119354,
-0.03079027682542801,
0.4719966... |
https://github.com/huggingface/datasets/issues/2699 | cannot combine splits merging and streaming? | No update so far, especially since we haven't implemented an efficient way to query `split=train[50%:]` for example. The addition of two splits should be easy though, since we have `concatenate_datasets()` | this does not work:
`dataset = datasets.load_dataset('mc4','iw',split='train+validation',streaming=True)`
with error:
`ValueError: Bad split: train+validation. Available splits: ['train', 'validation']`
these work:
`dataset = datasets.load_dataset('mc4','iw',split='train+validation')`
`dataset = datasets.load_d... | 30 | cannot combine splits merging and streaming?
this does not work:
`dataset = datasets.load_dataset('mc4','iw',split='train+validation',streaming=True)`
with error:
`ValueError: Bad split: train+validation. Available splits: ['train', 'validation']`
these work:
`dataset = datasets.load_dataset('mc4','iw',split='... | [
-0.5629585385322571,
-0.32675155997276306,
-0.10197263956069946,
0.03417085111141205,
0.0104738250374794,
0.16627582907676697,
0.008668038994073868,
0.4097115993499756,
-0.16840945184230804,
-0.03566388785839081,
-0.3570808172225952,
0.2472047209739685,
0.004138129763305187,
0.489700615406... |
https://github.com/huggingface/datasets/issues/2699 | cannot combine splits merging and streaming? | Can you concatenate_datasets that are being streamed now? I was led to believe concatenation works on non streaming datasets only. | this does not work:
`dataset = datasets.load_dataset('mc4','iw',split='train+validation',streaming=True)`
with error:
`ValueError: Bad split: train+validation. Available splits: ['train', 'validation']`
these work:
`dataset = datasets.load_dataset('mc4','iw',split='train+validation')`
`dataset = datasets.load_d... | 20 | cannot combine splits merging and streaming?
this does not work:
`dataset = datasets.load_dataset('mc4','iw',split='train+validation',streaming=True)`
with error:
`ValueError: Bad split: train+validation. Available splits: ['train', 'validation']`
these work:
`dataset = datasets.load_dataset('mc4','iw',split='... | [
-0.4972448945045471,
-0.34456026554107666,
-0.08369326591491699,
-0.03313758969306946,
0.06932451575994492,
0.13376691937446594,
0.1229911595582962,
0.3452857732772827,
-0.17619137465953827,
-0.05153866112232208,
-0.3312400281429291,
0.1976320743560791,
0.06191803514957428,
0.5450554490089... |
https://github.com/huggingface/datasets/issues/2695 | Cannot import load_dataset on Colab | I'm facing the same issue on Colab today too.
```
ModuleNotFoundError Traceback (most recent call last)
<ipython-input-4-5833ac0f5437> in <module>()
3
4 from ray import tune
----> 5 from datasets import DatasetDict, Dataset
6 from datasets import load_dataset, load_metr... | ## Describe the bug
Got tqdm concurrent module not found error during importing load_dataset from datasets.
## Steps to reproduce the bug
Here [colab notebook](https://colab.research.google.com/drive/1pErWWnVP4P4mVHjSFUtkePd8Na_Qirg4?usp=sharing) to reproduce the error
On colab:
```python
!pip install dataset... | 111 | Cannot import load_dataset on Colab
## Describe the bug
Got tqdm concurrent module not found error during importing load_dataset from datasets.
## Steps to reproduce the bug
Here [colab notebook](https://colab.research.google.com/drive/1pErWWnVP4P4mVHjSFUtkePd8Na_Qirg4?usp=sharing) to reproduce the error
On c... | [
-0.4603254497051239,
-0.21482795476913452,
-0.024375079199671745,
0.2682138681411743,
0.13541308045387268,
0.05199464410543442,
0.49737706780433655,
-0.10748526453971863,
0.19837024807929993,
0.08495346456766129,
-0.32663074135780334,
0.475323349237442,
-0.17426961660385132,
0.148749202489... |
https://github.com/huggingface/datasets/issues/2695 | Cannot import load_dataset on Colab | @phosseini
I think it is related to [1.10.0](https://github.com/huggingface/datasets/actions/runs/1052653701) release done 3 hours ago. (cc: @lhoestq )
For now I just downgraded to 1.9.0 and it is working fine. | ## Describe the bug
Got tqdm concurrent module not found error during importing load_dataset from datasets.
## Steps to reproduce the bug
Here [colab notebook](https://colab.research.google.com/drive/1pErWWnVP4P4mVHjSFUtkePd8Na_Qirg4?usp=sharing) to reproduce the error
On colab:
```python
!pip install dataset... | 28 | Cannot import load_dataset on Colab
## Describe the bug
Got tqdm concurrent module not found error during importing load_dataset from datasets.
## Steps to reproduce the bug
Here [colab notebook](https://colab.research.google.com/drive/1pErWWnVP4P4mVHjSFUtkePd8Na_Qirg4?usp=sharing) to reproduce the error
On c... | [
-0.4603254497051239,
-0.21482795476913452,
-0.024375079199671745,
0.2682138681411743,
0.13541308045387268,
0.05199464410543442,
0.49737706780433655,
-0.10748526453971863,
0.19837024807929993,
0.08495346456766129,
-0.32663074135780334,
0.475323349237442,
-0.17426961660385132,
0.148749202489... |
https://github.com/huggingface/datasets/issues/2695 | Cannot import load_dataset on Colab | > @phosseini
> I think it is related to [1.10.0](https://github.com/huggingface/datasets/actions/runs/1052653701) release done 3 hours ago. (cc: @lhoestq )
> For now I just downgraded to 1.9.0 and it is working fine.
Same here, downgraded to 1.9.0 for now and works fine. | ## Describe the bug
Got tqdm concurrent module not found error during importing load_dataset from datasets.
## Steps to reproduce the bug
Here [colab notebook](https://colab.research.google.com/drive/1pErWWnVP4P4mVHjSFUtkePd8Na_Qirg4?usp=sharing) to reproduce the error
On colab:
```python
!pip install dataset... | 41 | Cannot import load_dataset on Colab
## Describe the bug
Got tqdm concurrent module not found error during importing load_dataset from datasets.
## Steps to reproduce the bug
Here [colab notebook](https://colab.research.google.com/drive/1pErWWnVP4P4mVHjSFUtkePd8Na_Qirg4?usp=sharing) to reproduce the error
On c... | [
-0.4603254497051239,
-0.21482795476913452,
-0.024375079199671745,
0.2682138681411743,
0.13541308045387268,
0.05199464410543442,
0.49737706780433655,
-0.10748526453971863,
0.19837024807929993,
0.08495346456766129,
-0.32663074135780334,
0.475323349237442,
-0.17426961660385132,
0.148749202489... |
https://github.com/huggingface/datasets/issues/2695 | Cannot import load_dataset on Colab | Hi,
updating tqdm to the newest version resolves the issue for me. You can do this as follows in Colab:
```
!pip install tqdm --upgrade
``` | ## Describe the bug
Got tqdm concurrent module not found error during importing load_dataset from datasets.
## Steps to reproduce the bug
Here [colab notebook](https://colab.research.google.com/drive/1pErWWnVP4P4mVHjSFUtkePd8Na_Qirg4?usp=sharing) to reproduce the error
On colab:
```python
!pip install dataset... | 26 | Cannot import load_dataset on Colab
## Describe the bug
Got tqdm concurrent module not found error during importing load_dataset from datasets.
## Steps to reproduce the bug
Here [colab notebook](https://colab.research.google.com/drive/1pErWWnVP4P4mVHjSFUtkePd8Na_Qirg4?usp=sharing) to reproduce the error
On c... | [
-0.4603254497051239,
-0.21482795476913452,
-0.024375079199671745,
0.2682138681411743,
0.13541308045387268,
0.05199464410543442,
0.49737706780433655,
-0.10748526453971863,
0.19837024807929993,
0.08495346456766129,
-0.32663074135780334,
0.475323349237442,
-0.17426961660385132,
0.148749202489... |
https://github.com/huggingface/datasets/issues/2695 | Cannot import load_dataset on Colab | Hi @bayartsogt-ya and @phosseini, thanks for reporting.
We are fixing this critical issue and making an urgent patch release of the `datasets` library today.
In the meantime, as pointed out by @mariosasko, you can circumvent this issue by updating the `tqdm` library:
```
!pip install -U tqdm
``` | ## Describe the bug
Got tqdm concurrent module not found error during importing load_dataset from datasets.
## Steps to reproduce the bug
Here [colab notebook](https://colab.research.google.com/drive/1pErWWnVP4P4mVHjSFUtkePd8Na_Qirg4?usp=sharing) to reproduce the error
On colab:
```python
!pip install dataset... | 48 | Cannot import load_dataset on Colab
## Describe the bug
Got tqdm concurrent module not found error during importing load_dataset from datasets.
## Steps to reproduce the bug
Here [colab notebook](https://colab.research.google.com/drive/1pErWWnVP4P4mVHjSFUtkePd8Na_Qirg4?usp=sharing) to reproduce the error
On c... | [
-0.4603254497051239,
-0.21482795476913452,
-0.024375079199671745,
0.2682138681411743,
0.13541308045387268,
0.05199464410543442,
0.49737706780433655,
-0.10748526453971863,
0.19837024807929993,
0.08495346456766129,
-0.32663074135780334,
0.475323349237442,
-0.17426961660385132,
0.148749202489... |
https://github.com/huggingface/datasets/issues/2691 | xtreme / pan-x cannot be downloaded | Hi @severo, thanks for reporting.
However I have not been able to reproduce this issue. Could you please confirm if the problem persists for you?
Maybe Dropbox (where the data source is hosted) was temporarily unavailable when you tried. | ## Describe the bug
Dataset xtreme / pan-x cannot be loaded
Seems related to https://github.com/huggingface/datasets/pull/2326
## Steps to reproduce the bug
```python
dataset = load_dataset("xtreme", "PAN-X.fr")
```
## Expected results
Load the dataset
## Actual results
```
FileNotFoundError:... | 39 | xtreme / pan-x cannot be downloaded
## Describe the bug
Dataset xtreme / pan-x cannot be loaded
Seems related to https://github.com/huggingface/datasets/pull/2326
## Steps to reproduce the bug
```python
dataset = load_dataset("xtreme", "PAN-X.fr")
```
## Expected results
Load the dataset
## Act... | [
-0.35268670320510864,
-0.3867754340171814,
-0.051064882427453995,
0.2910824120044708,
0.20721064507961273,
0.04866735637187958,
-0.11699274182319641,
0.2295711785554886,
0.145072340965271,
0.07490820437669754,
-0.20717734098434448,
0.2856614887714386,
0.0034072911366820335,
0.0860853269696... |
https://github.com/huggingface/datasets/issues/2691 | xtreme / pan-x cannot be downloaded | Hmmm, the file (https://www.dropbox.com/s/dl/12h3qqog6q4bjve/panx_dataset.tar) really seems to be unavailable... I tried from various connexions and machines and got the same 404 error. Maybe the dataset has been loaded from the cache in your case? | ## Describe the bug
Dataset xtreme / pan-x cannot be loaded
Seems related to https://github.com/huggingface/datasets/pull/2326
## Steps to reproduce the bug
```python
dataset = load_dataset("xtreme", "PAN-X.fr")
```
## Expected results
Load the dataset
## Actual results
```
FileNotFoundError:... | 34 | xtreme / pan-x cannot be downloaded
## Describe the bug
Dataset xtreme / pan-x cannot be loaded
Seems related to https://github.com/huggingface/datasets/pull/2326
## Steps to reproduce the bug
```python
dataset = load_dataset("xtreme", "PAN-X.fr")
```
## Expected results
Load the dataset
## Act... | [
-0.26797425746917725,
-0.44181710481643677,
-0.11762630939483643,
0.26365137100219727,
0.2272869348526001,
0.10944075137376785,
-0.18489323556423187,
0.23797081410884857,
0.10634978115558624,
0.14721688628196716,
-0.15637584030628204,
0.2612074315547943,
0.034030117094516754,
0.00548125989... |
https://github.com/huggingface/datasets/issues/2691 | xtreme / pan-x cannot be downloaded | Yes @severo, weird... I could access the file when I answered to you, but now I cannot longer access it either... Maybe it was from the cache as you point out.
Anyway, I have opened an issue in the GitHub repository responsible for the original dataset: https://github.com/afshinrahimi/mmner/issues/4
I have also con... | ## Describe the bug
Dataset xtreme / pan-x cannot be loaded
Seems related to https://github.com/huggingface/datasets/pull/2326
## Steps to reproduce the bug
```python
dataset = load_dataset("xtreme", "PAN-X.fr")
```
## Expected results
Load the dataset
## Actual results
```
FileNotFoundError:... | 62 | xtreme / pan-x cannot be downloaded
## Describe the bug
Dataset xtreme / pan-x cannot be loaded
Seems related to https://github.com/huggingface/datasets/pull/2326
## Steps to reproduce the bug
```python
dataset = load_dataset("xtreme", "PAN-X.fr")
```
## Expected results
Load the dataset
## Act... | [
-0.3182065188884735,
-0.327289342880249,
-0.11037573218345642,
0.28357940912246704,
0.23289591073989868,
0.0658765360713005,
-0.09190866351127625,
0.1860671490430832,
0.046390097588300705,
0.24007032811641693,
-0.2260717749595642,
0.20973283052444458,
-0.03433850407600403,
-0.1489103436470... |
https://github.com/huggingface/datasets/issues/2691 | xtreme / pan-x cannot be downloaded | Reply from the author/maintainer:
> Will fix the issue and let you know during the weekend. | ## Describe the bug
Dataset xtreme / pan-x cannot be loaded
Seems related to https://github.com/huggingface/datasets/pull/2326
## Steps to reproduce the bug
```python
dataset = load_dataset("xtreme", "PAN-X.fr")
```
## Expected results
Load the dataset
## Actual results
```
FileNotFoundError:... | 16 | xtreme / pan-x cannot be downloaded
## Describe the bug
Dataset xtreme / pan-x cannot be loaded
Seems related to https://github.com/huggingface/datasets/pull/2326
## Steps to reproduce the bug
```python
dataset = load_dataset("xtreme", "PAN-X.fr")
```
## Expected results
Load the dataset
## Act... | [
-0.35082054138183594,
-0.4881742000579834,
-0.1012573093175888,
0.2679370045661926,
0.24242718517780304,
0.07438788563013077,
-0.13321925699710846,
0.2452753633260727,
0.14426979422569275,
0.11871425062417984,
-0.24366484582424164,
0.2646329998970032,
0.046161897480487823,
0.04650153964757... |
https://github.com/huggingface/datasets/issues/2691 | xtreme / pan-x cannot be downloaded | The author told that apparently Dropbox has changed their policy and no longer allow downloading the file without having signed in first. The author asked Hugging Face to host their dataset. | ## Describe the bug
Dataset xtreme / pan-x cannot be loaded
Seems related to https://github.com/huggingface/datasets/pull/2326
## Steps to reproduce the bug
```python
dataset = load_dataset("xtreme", "PAN-X.fr")
```
## Expected results
Load the dataset
## Actual results
```
FileNotFoundError:... | 31 | xtreme / pan-x cannot be downloaded
## Describe the bug
Dataset xtreme / pan-x cannot be loaded
Seems related to https://github.com/huggingface/datasets/pull/2326
## Steps to reproduce the bug
```python
dataset = load_dataset("xtreme", "PAN-X.fr")
```
## Expected results
Load the dataset
## Act... | [
-0.27593696117401123,
-0.34803736209869385,
-0.059366580098867416,
0.3470790386199951,
0.10864152014255524,
0.05548512190580368,
0.021438341587781906,
0.21326704323291779,
0.3107883334159851,
0.06811362504959106,
-0.23722703754901886,
0.21728748083114624,
-0.07426756620407104,
0.1829397231... |
https://github.com/huggingface/datasets/issues/2689 | cannot save the dataset to disk after rename_column | Hi ! That's because you are trying to overwrite a file that is already open and being used.
Indeed `foo/dataset.arrow` is open and used by your `dataset` object.
When you do `rename_column`, the resulting dataset reads the data from the same arrow file.
In other cases like when using `map` on the other hand, the r... | ## Describe the bug
If you use `rename_column` and do no other modification, you will be unable to save the dataset using `save_to_disk`
## Steps to reproduce the bug
```python
# Sample code to reproduce the bug
In [1]: from datasets import Dataset, load_from_disk
In [5]: dataset=Dataset.from_dict({'foo': [0]})... | 102 | cannot save the dataset to disk after rename_column
## Describe the bug
If you use `rename_column` and do no other modification, you will be unable to save the dataset using `save_to_disk`
## Steps to reproduce the bug
```python
# Sample code to reproduce the bug
In [1]: from datasets import Dataset, load_from... | [
-0.052322305738925934,
0.23420995473861694,
-0.02316787652671337,
-0.013347141444683075,
0.3893553614616394,
0.27079543471336365,
0.4929152727127075,
0.24630151689052582,
0.02195959910750389,
0.12010955810546875,
-0.08146554231643677,
0.4607100188732147,
-0.17199505865573883,
-0.1512238085... |
https://github.com/huggingface/datasets/issues/2689 | cannot save the dataset to disk after rename_column | so what would be the right way to read a dataset, then change something and then overwrite it with the new version? | ## Describe the bug
If you use `rename_column` and do no other modification, you will be unable to save the dataset using `save_to_disk`
## Steps to reproduce the bug
```python
# Sample code to reproduce the bug
In [1]: from datasets import Dataset, load_from_disk
In [5]: dataset=Dataset.from_dict({'foo': [0]})... | 22 | cannot save the dataset to disk after rename_column
## Describe the bug
If you use `rename_column` and do no other modification, you will be unable to save the dataset using `save_to_disk`
## Steps to reproduce the bug
```python
# Sample code to reproduce the bug
In [1]: from datasets import Dataset, load_from... | [
-0.052322305738925934,
0.23420995473861694,
-0.02316787652671337,
-0.013347141444683075,
0.3893553614616394,
0.27079543471336365,
0.4929152727127075,
0.24630151689052582,
0.02195959910750389,
0.12010955810546875,
-0.08146554231643677,
0.4607100188732147,
-0.17199505865573883,
-0.1512238085... |
https://github.com/huggingface/datasets/issues/2689 | cannot save the dataset to disk after rename_column | You have to write to a new directory, then delete the former directory, and finally rename the new directory. | ## Describe the bug
If you use `rename_column` and do no other modification, you will be unable to save the dataset using `save_to_disk`
## Steps to reproduce the bug
```python
# Sample code to reproduce the bug
In [1]: from datasets import Dataset, load_from_disk
In [5]: dataset=Dataset.from_dict({'foo': [0]})... | 19 | cannot save the dataset to disk after rename_column
## Describe the bug
If you use `rename_column` and do no other modification, you will be unable to save the dataset using `save_to_disk`
## Steps to reproduce the bug
```python
# Sample code to reproduce the bug
In [1]: from datasets import Dataset, load_from... | [
-0.052322305738925934,
0.23420995473861694,
-0.02316787652671337,
-0.013347141444683075,
0.3893553614616394,
0.27079543471336365,
0.4929152727127075,
0.24630151689052582,
0.02195959910750389,
0.12010955810546875,
-0.08146554231643677,
0.4607100188732147,
-0.17199505865573883,
-0.1512238085... |
https://github.com/huggingface/datasets/issues/2688 | hebrew language codes he and iw should be treated as aliases | Hi @eyaler, thanks for reporting.
While you are true with respect the Hebrew language tag ("iw" is deprecated and "he" is the preferred value), in the "mc4" dataset (which is a derived dataset) we have kept the language tags present in the original dataset: [Google C4](https://www.tensorflow.org/datasets/catalog/c4)... | https://huggingface.co/datasets/mc4 not listed when searching for hebrew datasets (he) as it uses the older language code iw, preventing discoverability. | 46 | hebrew language codes he and iw should be treated as aliases
https://huggingface.co/datasets/mc4 not listed when searching for hebrew datasets (he) as it uses the older language code iw, preventing discoverability.
Hi @eyaler, thanks for reporting.
While you are true with respect the Hebrew language tag ("iw" i... | [
-0.1847829818725586,
-0.0222233384847641,
-0.15432126820087433,
0.03292042016983032,
0.02828647755086422,
0.07203570753335953,
0.550944447517395,
0.31172338128089905,
0.052216824144124985,
0.10430482029914856,
-0.34079548716545105,
-0.26254117488861084,
0.017813192680478096,
0.009818604215... |
https://github.com/huggingface/datasets/issues/2688 | hebrew language codes he and iw should be treated as aliases | For discoverability on the website I updated the YAML tags at the top of the mC4 dataset card https://github.com/huggingface/datasets/commit/38288087b1b02f97586e0346e8f28f4960f1fd37
Once the website is updated, mC4 will be listed in https://huggingface.co/datasets?filter=languages:he
| https://huggingface.co/datasets/mc4 not listed when searching for hebrew datasets (he) as it uses the older language code iw, preventing discoverability. | 30 | hebrew language codes he and iw should be treated as aliases
https://huggingface.co/datasets/mc4 not listed when searching for hebrew datasets (he) as it uses the older language code iw, preventing discoverability.
For discoverability on the website I updated the YAML tags at the top of the mC4 dataset card https:... | [
-0.1667790412902832,
-0.08356913179159164,
-0.08920267224311829,
0.06112174317240715,
0.2324797660112381,
-0.01803595945239067,
0.2219809591770172,
0.4122386574745178,
-0.01588456891477108,
-0.018412411212921143,
-0.314092755317688,
-0.16981220245361328,
0.003346863202750683,
0.25454062223... |
https://github.com/huggingface/datasets/issues/2681 | 5 duplicate datasets | Yes this was documented in the PR that added this hf->paperswithcode mapping (https://github.com/huggingface/datasets/pull/2404) and AFAICT those are slightly distinct datasets so I think it's a wontfix
For context on the paperswithcode mapping you can also refer to https://github.com/huggingface/huggingface_hub/pul... | ## Describe the bug
In 5 cases, I could find a dataset on Paperswithcode which references two Hugging Face datasets as dataset loaders. They are:
- https://paperswithcode.com/dataset/multinli -> https://huggingface.co/datasets/multi_nli and https://huggingface.co/datasets/multi_nli_mismatch
<img width="838... | 45 | 5 duplicate datasets
## Describe the bug
In 5 cases, I could find a dataset on Paperswithcode which references two Hugging Face datasets as dataset loaders. They are:
- https://paperswithcode.com/dataset/multinli -> https://huggingface.co/datasets/multi_nli and https://huggingface.co/datasets/multi_nli_mismatch... | [
0.07028897106647491,
-0.030392520129680634,
0.00026492029428482056,
0.3026074469089508,
0.16153466701507568,
0.02248731255531311,
0.3812556862831116,
0.14873215556144714,
0.06321421265602112,
0.20608042180538177,
-0.14543543756008148,
0.058572378009557724,
0.13281553983688354,
-0.063071928... |
https://github.com/huggingface/datasets/issues/2679 | Cannot load the blog_authorship_corpus due to codec errors | Hi @izaskr, thanks for reporting.
However the traceback you joined does not correspond to the codec error message: it is about other error `NonMatchingSplitsSizesError`. Maybe you missed some important part of your traceback...
I'm going to have a look at the dataset anyway... | ## Describe the bug
A codec error is raised while loading the blog_authorship_corpus.
## Steps to reproduce the bug
```
from datasets import load_dataset
raw_datasets = load_dataset("blog_authorship_corpus")
```
## Expected results
Loading the dataset without errors.
## Actual results
An error simila... | 43 | Cannot load the blog_authorship_corpus due to codec errors
## Describe the bug
A codec error is raised while loading the blog_authorship_corpus.
## Steps to reproduce the bug
```
from datasets import load_dataset
raw_datasets = load_dataset("blog_authorship_corpus")
```
## Expected results
Loading the ... | [
-0.20848923921585083,
0.4780822992324829,
-0.05400768667459488,
0.3998488783836365,
0.36171388626098633,
0.22684058547019958,
0.07851707190275192,
0.4288442134857178,
-0.1586732268333435,
0.24357502162456512,
0.046828508377075195,
0.26792746782302856,
-0.06666465848684311,
-0.2108723968267... |
https://github.com/huggingface/datasets/issues/2679 | Cannot load the blog_authorship_corpus due to codec errors | Hi @izaskr, thanks again for having reported this issue.
After investigation, I have created a Pull Request (#2685) to fix several issues with this dataset:
- the `NonMatchingSplitsSizesError`
- the `UnicodeDecodeError`
Once the Pull Request merged into master, you will be able to load this dataset if you insta... | ## Describe the bug
A codec error is raised while loading the blog_authorship_corpus.
## Steps to reproduce the bug
```
from datasets import load_dataset
raw_datasets = load_dataset("blog_authorship_corpus")
```
## Expected results
Loading the dataset without errors.
## Actual results
An error simila... | 75 | Cannot load the blog_authorship_corpus due to codec errors
## Describe the bug
A codec error is raised while loading the blog_authorship_corpus.
## Steps to reproduce the bug
```
from datasets import load_dataset
raw_datasets = load_dataset("blog_authorship_corpus")
```
## Expected results
Loading the ... | [
-0.20848923921585083,
0.4780822992324829,
-0.05400768667459488,
0.3998488783836365,
0.36171388626098633,
0.22684058547019958,
0.07851707190275192,
0.4288442134857178,
-0.1586732268333435,
0.24357502162456512,
0.046828508377075195,
0.26792746782302856,
-0.06666465848684311,
-0.2108723968267... |
https://github.com/huggingface/datasets/issues/2679 | Cannot load the blog_authorship_corpus due to codec errors | @albertvillanova
Can you shed light on how this fix works?
We're experiencing a similar issue.
If we run several runs (eg in a Wandb sweep) the first run "works" but then we get `NonMatchingSplitsSizesError`
| run num | actual train examples # | expected example # | recorded example # |
| ------- | -------... | ## Describe the bug
A codec error is raised while loading the blog_authorship_corpus.
## Steps to reproduce the bug
```
from datasets import load_dataset
raw_datasets = load_dataset("blog_authorship_corpus")
```
## Expected results
Loading the dataset without errors.
## Actual results
An error simila... | 135 | Cannot load the blog_authorship_corpus due to codec errors
## Describe the bug
A codec error is raised while loading the blog_authorship_corpus.
## Steps to reproduce the bug
```
from datasets import load_dataset
raw_datasets = load_dataset("blog_authorship_corpus")
```
## Expected results
Loading the ... | [
-0.20848923921585083,
0.4780822992324829,
-0.05400768667459488,
0.3998488783836365,
0.36171388626098633,
0.22684058547019958,
0.07851707190275192,
0.4288442134857178,
-0.1586732268333435,
0.24357502162456512,
0.046828508377075195,
0.26792746782302856,
-0.06666465848684311,
-0.2108723968267... |
https://github.com/huggingface/datasets/issues/2678 | Import Error in Kaggle notebook | @lhoestq I did, and then let pip handle the installation in `pip import datasets`. I also tried using conda but it gives the same error.
Edit: pyarrow version on kaggle is 4.0.0, it gets replaced with 4.0.1. So, I don't think uninstalling will change anything.
```
Install Trace of datasets:
Collecting datasets
... | ## Describe the bug
Not able to import datasets library in kaggle notebooks
## Steps to reproduce the bug
```python
!pip install datasets
import datasets
```
## Expected results
No such error
## Actual results
```
ImportError Traceback (most recent call last)
<ipython-inp... | 322 | Import Error in Kaggle notebook
## Describe the bug
Not able to import datasets library in kaggle notebooks
## Steps to reproduce the bug
```python
!pip install datasets
import datasets
```
## Expected results
No such error
## Actual results
```
ImportError Traceback (mo... | [
-0.3157348036766052,
-0.08313189446926117,
-0.11097192764282227,
0.16588273644447327,
0.1794455647468567,
-0.022079285234212875,
0.32081475853919983,
0.27083173394203186,
-0.028439588844776154,
-0.052530139684677124,
-0.14362627267837524,
0.8592824935913086,
0.0922812893986702,
0.237866029... |
https://github.com/huggingface/datasets/issues/2678 | Import Error in Kaggle notebook | You may need to restart your kaggle notebook after installing a newer version of `pyarrow`.
If it doesn't work we'll probably have to create an issue on [arrow's JIRA](https://issues.apache.org/jira/projects/ARROW/issues/), and maybe ask kaggle why it could fail | ## Describe the bug
Not able to import datasets library in kaggle notebooks
## Steps to reproduce the bug
```python
!pip install datasets
import datasets
```
## Expected results
No such error
## Actual results
```
ImportError Traceback (most recent call last)
<ipython-inp... | 37 | Import Error in Kaggle notebook
## Describe the bug
Not able to import datasets library in kaggle notebooks
## Steps to reproduce the bug
```python
!pip install datasets
import datasets
```
## Expected results
No such error
## Actual results
```
ImportError Traceback (mo... | [
-0.3392021656036377,
-0.07555142790079117,
-0.11409218609333038,
0.12584365904331207,
0.20035074651241302,
0.01308877021074295,
0.35124361515045166,
0.32860398292541504,
-0.030616983771324158,
-0.03462010622024536,
-0.18046177923679352,
0.8273150324821472,
0.08167608082294464,
0.2334339171... |
https://github.com/huggingface/datasets/issues/2678 | Import Error in Kaggle notebook | > You may need to restart your kaggle notebook before after installing a newer version of `pyarrow`.
>
> If it doesn't work we'll probably have to create an issue on [arrow's JIRA](https://issues.apache.org/jira/projects/ARROW/issues/), and maybe ask kaggle why it could fail
It works after restarting.
My bad, I ... | ## Describe the bug
Not able to import datasets library in kaggle notebooks
## Steps to reproduce the bug
```python
!pip install datasets
import datasets
```
## Expected results
No such error
## Actual results
```
ImportError Traceback (most recent call last)
<ipython-inp... | 57 | Import Error in Kaggle notebook
## Describe the bug
Not able to import datasets library in kaggle notebooks
## Steps to reproduce the bug
```python
!pip install datasets
import datasets
```
## Expected results
No such error
## Actual results
```
ImportError Traceback (mo... | [
-0.34386762976646423,
-0.07707994431257248,
-0.11421950161457062,
0.13209161162376404,
0.19162200391292572,
0.010946482419967651,
0.3406418561935425,
0.3310459852218628,
-0.040551185607910156,
-0.031570374965667725,
-0.17700281739234924,
0.8259581327438354,
0.07840695232152939,
0.216755405... |
https://github.com/huggingface/datasets/issues/2677 | Error when downloading C4 | Hi Thanks for reporting !
It looks like these files are not correctly reported in the list of expected files to download, let me fix that ;) | Hi,
I am trying to download `en` corpus from C4 dataset. However, I get an error caused by validation files download (see image). My code is very primitive:
`datasets.load_dataset('c4', 'en')`
Is this a bug or do I have some configurations missing on my server?
Thanks!
<img width="1014" alt="Π‘Π½ΠΈΠΌΠΎΠΊ ΡΠΊΡΠ°Π½Π° 2... | 27 | Error when downloading C4
Hi,
I am trying to download `en` corpus from C4 dataset. However, I get an error caused by validation files download (see image). My code is very primitive:
`datasets.load_dataset('c4', 'en')`
Is this a bug or do I have some configurations missing on my server?
Thanks!
<img width... | [
0.09684576094150543,
-0.06861110031604767,
-0.05390683189034462,
0.47501301765441895,
0.23112377524375916,
0.23958039283752441,
0.005815759301185608,
0.16763187944889069,
-0.0170364361256361,
-0.10581757128238678,
-0.02598453499376774,
-0.29927271604537964,
0.16184568405151367,
-0.03180094... |
https://github.com/huggingface/datasets/issues/2677 | Error when downloading C4 | Alright this is fixed now. We'll do a new release soon to make the fix available.
In the meantime feel free to simply pass `ignore_verifications=True` to `load_dataset` to skip this error | Hi,
I am trying to download `en` corpus from C4 dataset. However, I get an error caused by validation files download (see image). My code is very primitive:
`datasets.load_dataset('c4', 'en')`
Is this a bug or do I have some configurations missing on my server?
Thanks!
<img width="1014" alt="Π‘Π½ΠΈΠΌΠΎΠΊ ΡΠΊΡΠ°Π½Π° 2... | 31 | Error when downloading C4
Hi,
I am trying to download `en` corpus from C4 dataset. However, I get an error caused by validation files download (see image). My code is very primitive:
`datasets.load_dataset('c4', 'en')`
Is this a bug or do I have some configurations missing on my server?
Thanks!
<img width... | [
0.03600184991955757,
-0.03901049494743347,
-0.04464885964989662,
0.42044293880462646,
0.22434529662132263,
0.24260112643241882,
-0.026892226189374924,
0.153084397315979,
-0.06727080047130585,
-0.029162347316741943,
0.016473358497023582,
-0.25081291794776917,
0.15667755901813507,
0.04993049... |
https://github.com/huggingface/datasets/issues/2669 | Metric kwargs are not passed to underlying external metric f1_score | Hi @BramVanroy, thanks for reporting.
First, note that `"min"` is not an allowed value for `average`. According to scikit-learn [documentation](https://scikit-learn.org/stable/modules/generated/sklearn.metrics.f1_score.html), `average` can only take the values: `{"micro", "macro", "samples", "weighted", "binary"} or... | ## Describe the bug
When I want to use F1 score with average="min", this keyword argument does not seem to be passed through to the underlying sklearn metric. This is evident because [sklearn](https://scikit-learn.org/stable/modules/generated/sklearn.metrics.f1_score.html) throws an error telling me so.
## Steps to... | 96 | Metric kwargs are not passed to underlying external metric f1_score
## Describe the bug
When I want to use F1 score with average="min", this keyword argument does not seem to be passed through to the underlying sklearn metric. This is evident because [sklearn](https://scikit-learn.org/stable/modules/generated/sklear... | [
-0.05162904039025307,
-0.5501689910888672,
0.08731405436992645,
0.20385681092739105,
0.46819114685058594,
-0.06437955796718597,
0.17485955357551575,
-0.1953880935907364,
0.34517592191696167,
0.2828971743583679,
0.06791366636753082,
0.44621720910072327,
0.1783718466758728,
0.024254610762000... |
https://github.com/huggingface/datasets/issues/2669 | Metric kwargs are not passed to underlying external metric f1_score | Thanks, that was it. A bit strange though, since `load_metric` had an argument `metric_init_kwargs`. I assume that that's for specific initialisation arguments whereas `average` is for the function itself. | ## Describe the bug
When I want to use F1 score with average="min", this keyword argument does not seem to be passed through to the underlying sklearn metric. This is evident because [sklearn](https://scikit-learn.org/stable/modules/generated/sklearn.metrics.f1_score.html) throws an error telling me so.
## Steps to... | 29 | Metric kwargs are not passed to underlying external metric f1_score
## Describe the bug
When I want to use F1 score with average="min", this keyword argument does not seem to be passed through to the underlying sklearn metric. This is evident because [sklearn](https://scikit-learn.org/stable/modules/generated/sklear... | [
-0.05162904039025307,
-0.5501689910888672,
0.08731405436992645,
0.20385681092739105,
0.46819114685058594,
-0.06437955796718597,
0.17485955357551575,
-0.1953880935907364,
0.34517592191696167,
0.2828971743583679,
0.06791366636753082,
0.44621720910072327,
0.1783718466758728,
0.024254610762000... |
https://github.com/huggingface/datasets/issues/2663 | [`to_json`] add multi-proc sharding support | Hi @stas00,
I want to work on this issue and I was thinking why don't we use `imap` [in this loop](https://github.com/huggingface/datasets/blob/440b14d0dd428ae1b25881aa72ba7bbb8ad9ff84/src/datasets/io/json.py#L99)? This way, using offset (which is being used to slice the pyarrow table) we can convert pyarrow table t... | As discussed on slack it appears that `to_json` is quite slow on huge datasets like OSCAR.
I implemented sharded saving, which is much much faster - but the tqdm bars all overwrite each other, so it's hard to make sense of the progress, so if possible ideally this multi-proc support could be implemented internally i... | 139 | [`to_json`] add multi-proc sharding support
As discussed on slack it appears that `to_json` is quite slow on huge datasets like OSCAR.
I implemented sharded saving, which is much much faster - but the tqdm bars all overwrite each other, so it's hard to make sense of the progress, so if possible ideally this multi-... | [
-0.24204696714878082,
-0.32450494170188904,
-0.03341703489422798,
-0.044020771980285645,
-0.09772133827209473,
-0.0860108807682991,
0.4022950828075409,
0.11040161550045013,
-0.012091496028006077,
0.3323681950569153,
-0.03994441032409668,
0.2764456272125244,
-0.13137075304985046,
0.22048456... |
https://github.com/huggingface/datasets/issues/2655 | Allow the selection of multiple columns at once | Hi! I was looking into this and hope you can clarify a point. Your my_dataset variable would be of type DatasetDict which means the alternative you've described (dict comprehension) is what makes sense.
Is there a reason why you wouldn't want to convert my_dataset to a pandas df if you'd like to use it like one? Plea... | **Is your feature request related to a problem? Please describe.**
Similar to pandas, it would be great if we could select multiple columns at once.
**Describe the solution you'd like**
```python
my_dataset = ... # Has columns ['idx', 'sentence', 'label']
idx, label = my_dataset[['idx', 'label']]
```
**... | 64 | Allow the selection of multiple columns at once
**Is your feature request related to a problem? Please describe.**
Similar to pandas, it would be great if we could select multiple columns at once.
**Describe the solution you'd like**
```python
my_dataset = ... # Has columns ['idx', 'sentence', 'label']
id... | [
-0.05737047642469406,
-0.22968095541000366,
-0.19698511064052582,
0.05125783011317253,
0.2014225870370865,
0.21865010261535645,
0.5181807279586792,
0.11737123131752014,
0.3343808650970459,
0.40828436613082886,
-0.1473214328289032,
0.383078008890152,
0.0007233666256070137,
0.219599381089210... |
https://github.com/huggingface/datasets/issues/2655 | Allow the selection of multiple columns at once | Hi! Sorry for the delay.
In this case, the dataset would be a `datasets.Dataset` and we want to select multiple columns, the `idx` and `label` columns for example.
My issue is that my dataset is too big for memory if I load everything into pandas. | **Is your feature request related to a problem? Please describe.**
Similar to pandas, it would be great if we could select multiple columns at once.
**Describe the solution you'd like**
```python
my_dataset = ... # Has columns ['idx', 'sentence', 'label']
idx, label = my_dataset[['idx', 'label']]
```
**... | 45 | Allow the selection of multiple columns at once
**Is your feature request related to a problem? Please describe.**
Similar to pandas, it would be great if we could select multiple columns at once.
**Describe the solution you'd like**
```python
my_dataset = ... # Has columns ['idx', 'sentence', 'label']
id... | [
-0.11230544745922089,
-0.30798327922821045,
-0.16178525984287262,
0.17450857162475586,
0.27680784463882446,
0.29545292258262634,
0.48300787806510925,
0.10786157846450806,
0.2709563672542572,
0.4354283809661865,
-0.10715454816818237,
0.18116050958633423,
-0.005708607845008373,
0.11102288216... |
https://github.com/huggingface/datasets/issues/2654 | Give a user feedback if the dataset he loads is streamable or not | I understand it already raises a `NotImplementedError` exception, eg:
```
>>> dataset = load_dataset("journalists_questions", name="plain_text", split="train", streaming=True)
[...]
NotImplementedError: Extraction protocol for file at https://drive.google.com/uc?export=download&id=1CBrh-9OrSpKmPQBxTK_ji6mq6WTN_... | **Is your feature request related to a problem? Please describe.**
I would love to know if a `dataset` is with the current implementation streamable or not.
**Describe the solution you'd like**
We could show a warning when a dataset is loaded with `load_dataset('...',streaming=True)` when its lot streamable, e.g.... | 30 | Give a user feedback if the dataset he loads is streamable or not
**Is your feature request related to a problem? Please describe.**
I would love to know if a `dataset` is with the current implementation streamable or not.
**Describe the solution you'd like**
We could show a warning when a dataset is loaded wit... | [
-0.31214702129364014,
0.10842512547969818,
-0.09980057179927826,
0.06170525401830673,
0.1377478837966919,
-0.10339789092540741,
0.18258289992809296,
0.2757679224014282,
-0.03482210636138916,
0.2482774555683136,
0.23722504079341888,
0.22120103240013123,
-0.4187544584274292,
0.22282101213932... |
https://github.com/huggingface/datasets/issues/2653 | Add SD task for SUPERB | Note that this subset requires us to:
* generate the LibriMix corpus from LibriSpeech
* prepare the corpus for diarization
As suggested by @lhoestq we should perform these steps locally and add the prepared data to this public repo on the Hub: https://huggingface.co/datasets/superb/superb-data
Then we can use... | Include the SD (Speaker Diarization) task as described in the [SUPERB paper](https://arxiv.org/abs/2105.01051) and `s3prl` [instructions](https://github.com/s3prl/s3prl/tree/master/s3prl/downstream#sd-speaker-diarization).
Steps:
- [x] Generate the LibriMix corpus
- [x] Prepare the corpus for diarization
- [x] Up... | 94 | Add SD task for SUPERB
Include the SD (Speaker Diarization) task as described in the [SUPERB paper](https://arxiv.org/abs/2105.01051) and `s3prl` [instructions](https://github.com/s3prl/s3prl/tree/master/s3prl/downstream#sd-speaker-diarization).
Steps:
- [x] Generate the LibriMix corpus
- [x] Prepare the corpus ... | [
-0.23873302340507507,
-0.15576955676078796,
0.006651680916547775,
0.11123599112033844,
0.37771081924438477,
-0.19912642240524292,
0.008201584219932556,
-0.13701999187469482,
0.11175189912319183,
0.3464580178260803,
-0.3380064368247986,
0.4965122640132904,
-0.15013377368450165,
0.4443324208... |
https://github.com/huggingface/datasets/issues/2653 | Add SD task for SUPERB | @lewtun @lhoestq:
I have already generated the LibriMix corpus and prepared the corpus for diarization. The output is 3 dirs (train, dev, test), each one containing 6 files: reco2dur rttm segments spk2utt utt2spk wav.scp
Next steps:
- Upload these files to the superb-data repo
- Transcribe the correspondi... | Include the SD (Speaker Diarization) task as described in the [SUPERB paper](https://arxiv.org/abs/2105.01051) and `s3prl` [instructions](https://github.com/s3prl/s3prl/tree/master/s3prl/downstream#sd-speaker-diarization).
Steps:
- [x] Generate the LibriMix corpus
- [x] Prepare the corpus for diarization
- [x] Up... | 73 | Add SD task for SUPERB
Include the SD (Speaker Diarization) task as described in the [SUPERB paper](https://arxiv.org/abs/2105.01051) and `s3prl` [instructions](https://github.com/s3prl/s3prl/tree/master/s3prl/downstream#sd-speaker-diarization).
Steps:
- [x] Generate the LibriMix corpus
- [x] Prepare the corpus ... | [
-0.23063252866268158,
-0.3324863910675049,
-0.054731547832489014,
0.06616511195898056,
0.33527374267578125,
-0.28123876452445984,
0.08374163508415222,
-0.061149004846811295,
-0.11445432901382446,
0.408860981464386,
-0.41407811641693115,
0.42715683579444885,
-0.15712635219097137,
0.34677767... |
https://github.com/huggingface/datasets/issues/2651 | Setting log level higher than warning does not suppress progress bar | Hi,
you can suppress progress bars by patching logging as follows:
```python
import datasets
import logging
datasets.logging.get_verbosity = lambda: logging.NOTSET
# map call ...
```
EDIT: now you have to use `disable_progress_bar ` | ## Describe the bug
I would like to disable progress bars for `.map` method (and other methods like `.filter` and `load_dataset` as well).
According to #1627 one can suppress it by setting log level higher than `warning`, however doing so doesn't suppress it with version 1.9.0.
I also tried to set `DATASETS_VERBOS... | 33 | Setting log level higher than warning does not suppress progress bar
## Describe the bug
I would like to disable progress bars for `.map` method (and other methods like `.filter` and `load_dataset` as well).
According to #1627 one can suppress it by setting log level higher than `warning`, however doing so doesn't ... | [
-0.44856005907058716,
-0.15923763811588287,
0.08128440380096436,
-0.17349740862846375,
0.15183667838573456,
-0.020587380975484848,
0.42389562726020813,
0.23425093293190002,
0.08213566243648529,
0.15655885636806488,
0.1862805187702179,
0.6290767788887024,
-0.13519708812236786,
0.09885207563... |
https://github.com/huggingface/datasets/issues/2651 | Setting log level higher than warning does not suppress progress bar | Note also that you can disable the progress bar with
```python
from datasets.utils import disable_progress_bar
disable_progress_bar()
```
See https://github.com/huggingface/datasets/blob/8814b393984c1c2e1800ba370de2a9f7c8644908/src/datasets/utils/tqdm_utils.py#L84 | ## Describe the bug
I would like to disable progress bars for `.map` method (and other methods like `.filter` and `load_dataset` as well).
According to #1627 one can suppress it by setting log level higher than `warning`, however doing so doesn't suppress it with version 1.9.0.
I also tried to set `DATASETS_VERBOS... | 19 | Setting log level higher than warning does not suppress progress bar
## Describe the bug
I would like to disable progress bars for `.map` method (and other methods like `.filter` and `load_dataset` as well).
According to #1627 one can suppress it by setting log level higher than `warning`, however doing so doesn't ... | [
-0.4388270378112793,
-0.2037353813648224,
0.07964260876178741,
-0.15226173400878906,
0.16921891272068024,
-0.015965845435857773,
0.4777558445930481,
0.2021973729133606,
0.03183508291840553,
0.14753538370132446,
0.16820047795772552,
0.5794951319694519,
-0.1528977006673813,
0.100031353533267... |
https://github.com/huggingface/datasets/issues/2651 | Setting log level higher than warning does not suppress progress bar | Now ``disable_progress_bar`` function is in ``datasets/src/datasets/utils/logging.py``.
https://github.com/huggingface/datasets/blob/aa555a299ad73c65e3f997a764e9d211675ab05d/src/datasets/utils/logging.py#L233-L236
And the method mentioned in https://github.com/huggingface/datasets/issues/2651#issuecomment-880270774 i... | ## Describe the bug
I would like to disable progress bars for `.map` method (and other methods like `.filter` and `load_dataset` as well).
According to #1627 one can suppress it by setting log level higher than `warning`, however doing so doesn't suppress it with version 1.9.0.
I also tried to set `DATASETS_VERBOS... | 17 | Setting log level higher than warning does not suppress progress bar
## Describe the bug
I would like to disable progress bars for `.map` method (and other methods like `.filter` and `load_dataset` as well).
According to #1627 one can suppress it by setting log level higher than `warning`, however doing so doesn't ... | [
-0.3934907019138336,
-0.24679237604141235,
0.07771517336368561,
-0.12545880675315857,
0.1383085697889328,
-0.019210562109947205,
0.42772337794303894,
0.2014848291873932,
0.1027756929397583,
0.1292041540145874,
0.16663186252117157,
0.5476444363594055,
-0.15757028758525848,
0.152685075998306... |
https://github.com/huggingface/datasets/issues/2650 | [load_dataset] shard and parallelize the process | I think @TevenLeScao is exploring adding multiprocessing in `GeneratorBasedBuilder._prepare_split` - feel free to post updates here :) | - Some huge datasets take forever to build the first time. (e.g. oscar/en) as it's done in a single cpu core.
- If the build crashes, everything done up to that point gets lost
Request: Shard the build over multiple arrow files, which would enable:
- much faster build by parallelizing the build process
- if the p... | 17 | [load_dataset] shard and parallelize the process
- Some huge datasets take forever to build the first time. (e.g. oscar/en) as it's done in a single cpu core.
- If the build crashes, everything done up to that point gets lost
Request: Shard the build over multiple arrow files, which would enable:
- much faster b... | [
-0.8474745154380798,
0.1248863935470581,
-0.22292068600654602,
0.17701125144958496,
-0.07837452739477158,
0.07073412090539932,
0.04691788926720619,
0.46122172474861145,
-0.05785698443651199,
0.20390187203884125,
0.07295181602239609,
0.2827209234237671,
0.09175064414739609,
0.14991120994091... |
https://github.com/huggingface/datasets/issues/2650 | [load_dataset] shard and parallelize the process | Posted a PR to address the building side, still needs something to load sharded arrow files + tests | - Some huge datasets take forever to build the first time. (e.g. oscar/en) as it's done in a single cpu core.
- If the build crashes, everything done up to that point gets lost
Request: Shard the build over multiple arrow files, which would enable:
- much faster build by parallelizing the build process
- if the p... | 18 | [load_dataset] shard and parallelize the process
- Some huge datasets take forever to build the first time. (e.g. oscar/en) as it's done in a single cpu core.
- If the build crashes, everything done up to that point gets lost
Request: Shard the build over multiple arrow files, which would enable:
- much faster b... | [
-0.7903308868408203,
-0.008419990539550781,
-0.23836027085781097,
0.14159858226776123,
-0.05709855258464813,
0.07170522958040237,
0.09555792808532715,
0.4681587517261505,
0.03176653012633324,
0.15775750577449799,
0.13327528536319733,
0.33828017115592957,
0.06595585495233536,
0.219313010573... |
https://github.com/huggingface/datasets/issues/2649 | adding progress bar / ETA for `load_dataset` | There are progress bars when downloading data and when preparing them as Arrow files.
The "total silence" part mentioned in OP refer to checksums verifications which have had some changes in the latest release 2.10:
- they're disabled by default (other less costly verifications are still done like checking the gene... | Please consider:
```
Downloading and preparing dataset oscar/unshuffled_deduplicated_en (download: 462.40 GiB, generated: 1.18 TiB, post-processed: Unknown size, total: 1.63 TiB) to cache/oscar/unshuffled_deduplicated_en/1.0.0/84838bd49d2295f62008383b05620571535451d84545037bb94d6f3501651df2...
HF google storage unre... | 61 | adding progress bar / ETA for `load_dataset`
Please consider:
```
Downloading and preparing dataset oscar/unshuffled_deduplicated_en (download: 462.40 GiB, generated: 1.18 TiB, post-processed: Unknown size, total: 1.63 TiB) to cache/oscar/unshuffled_deduplicated_en/1.0.0/84838bd49d2295f62008383b05620571535451d84545... | [
-0.45116326212882996,
0.504051685333252,
-0.11903803050518036,
-0.3141568899154663,
0.014354053884744644,
-0.21099728345870972,
0.45120275020599365,
0.040070563554763794,
-0.12422239780426025,
0.24686919152736664,
0.18651920557022095,
0.25276854634284973,
-0.03943493217229843,
0.2535069584... |
https://github.com/huggingface/datasets/issues/2646 | downloading of yahoo_answers_topics dataset failed | Hi ! I just tested and it worked fine today for me.
I think this is because the dataset is stored on Google Drive which has a quota limit for the number of downloads per day, see this similar issue https://github.com/huggingface/datasets/issues/996
Feel free to try again today, now that the quota was reset | ## Describe the bug
I get an error datasets.utils.info_utils.NonMatchingChecksumError: Checksums didn't match for dataset source files when I try to download the yahoo_answers_topics dataset
## Steps to reproduce the bug
self.dataset = load_dataset(
'yahoo_answers_topics', cache_dir=self.config... | 53 | downloading of yahoo_answers_topics dataset failed
## Describe the bug
I get an error datasets.utils.info_utils.NonMatchingChecksumError: Checksums didn't match for dataset source files when I try to download the yahoo_answers_topics dataset
## Steps to reproduce the bug
self.dataset = load_dataset(
... | [
-0.41733548045158386,
0.1438477635383606,
-0.05226645618677139,
0.21039235591888428,
0.23814591765403748,
-0.05664824694395065,
0.23771104216575623,
0.29057973623275757,
0.14424476027488708,
0.057315029203891754,
-0.0823221430182457,
-0.03472360223531723,
0.009593366645276546,
0.2967810034... |
https://github.com/huggingface/datasets/issues/2645 | load_dataset processing failed with OS error after downloading a dataset | Hi ! It looks like an issue with pytorch.
Could you try to run `import torch` and see if it raises an error ? | ## Describe the bug
After downloading a dataset like opus100, there is a bug that
OSError: Cannot find data file.
Original error:
dlopen: cannot load any more object with static TLS
## Steps to reproduce the bug
```python
from datasets import load_dataset
this_dataset = load_dataset('opus100', 'af-en')
```
... | 24 | load_dataset processing failed with OS error after downloading a dataset
## Describe the bug
After downloading a dataset like opus100, there is a bug that
OSError: Cannot find data file.
Original error:
dlopen: cannot load any more object with static TLS
## Steps to reproduce the bug
```python
from datasets... | [
-0.4430498778820038,
0.20311975479125977,
-0.0454363077878952,
0.4847753047943115,
0.3039815425872803,
-0.0233757384121418,
0.2349690943956375,
0.36604616045951843,
-0.10822843015193939,
0.09275230765342712,
-0.16256898641586304,
0.46781426668167114,
-0.007434778846800327,
-0.0836080685257... |
https://github.com/huggingface/datasets/issues/2645 | load_dataset processing failed with OS error after downloading a dataset | > Hi ! It looks like an issue with pytorch.
>
> Could you try to run `import torch` and see if it raises an error ?
It works. Thank you! | ## Describe the bug
After downloading a dataset like opus100, there is a bug that
OSError: Cannot find data file.
Original error:
dlopen: cannot load any more object with static TLS
## Steps to reproduce the bug
```python
from datasets import load_dataset
this_dataset = load_dataset('opus100', 'af-en')
```
... | 31 | load_dataset processing failed with OS error after downloading a dataset
## Describe the bug
After downloading a dataset like opus100, there is a bug that
OSError: Cannot find data file.
Original error:
dlopen: cannot load any more object with static TLS
## Steps to reproduce the bug
```python
from datasets... | [
-0.4430498778820038,
0.20311975479125977,
-0.0454363077878952,
0.4847753047943115,
0.3039815425872803,
-0.0233757384121418,
0.2349690943956375,
0.36604616045951843,
-0.10822843015193939,
0.09275230765342712,
-0.16256898641586304,
0.46781426668167114,
-0.007434778846800327,
-0.0836080685257... |
https://github.com/huggingface/datasets/issues/2644 | Batched `map` not allowed to return 0 items | Hi ! Thanks for reporting. Indeed it looks like type inference makes it fail. We should probably just ignore this step until a non-empty batch is passed. | ## Describe the bug
I'm trying to use `map` to filter a large dataset by selecting rows that match an expensive condition (files referenced by one of the columns need to exist in the filesystem, so we have to `stat` them). According to [the documentation](https://huggingface.co/docs/datasets/processing.html#augmenting... | 27 | Batched `map` not allowed to return 0 items
## Describe the bug
I'm trying to use `map` to filter a large dataset by selecting rows that match an expensive condition (files referenced by one of the columns need to exist in the filesystem, so we have to `stat` them). According to [the documentation](https://huggingfa... | [
-0.23283588886260986,
-0.3903886377811432,
-0.044456664472818375,
0.16448941826820374,
-0.10854439437389374,
-0.06876890361309052,
0.11633943021297455,
0.40563222765922546,
0.640041172504425,
0.11788118630647659,
-0.05657177418470383,
0.24608531594276428,
-0.3954412639141083,
0.10435447841... |
https://github.com/huggingface/datasets/issues/2644 | Batched `map` not allowed to return 0 items | Sounds good! Do you want me to propose a PR? I'm quite busy right now, but if it's not too urgent I could take a look next week. | ## Describe the bug
I'm trying to use `map` to filter a large dataset by selecting rows that match an expensive condition (files referenced by one of the columns need to exist in the filesystem, so we have to `stat` them). According to [the documentation](https://huggingface.co/docs/datasets/processing.html#augmenting... | 28 | Batched `map` not allowed to return 0 items
## Describe the bug
I'm trying to use `map` to filter a large dataset by selecting rows that match an expensive condition (files referenced by one of the columns need to exist in the filesystem, so we have to `stat` them). According to [the documentation](https://huggingfa... | [
-0.23283588886260986,
-0.3903886377811432,
-0.044456664472818375,
0.16448941826820374,
-0.10854439437389374,
-0.06876890361309052,
0.11633943021297455,
0.40563222765922546,
0.640041172504425,
0.11788118630647659,
-0.05657177418470383,
0.24608531594276428,
-0.3954412639141083,
0.10435447841... |
https://github.com/huggingface/datasets/issues/2644 | Batched `map` not allowed to return 0 items | Sure if you're interested feel free to open a PR :)
You can also ping me anytime if you have questions or if I can help ! | ## Describe the bug
I'm trying to use `map` to filter a large dataset by selecting rows that match an expensive condition (files referenced by one of the columns need to exist in the filesystem, so we have to `stat` them). According to [the documentation](https://huggingface.co/docs/datasets/processing.html#augmenting... | 27 | Batched `map` not allowed to return 0 items
## Describe the bug
I'm trying to use `map` to filter a large dataset by selecting rows that match an expensive condition (files referenced by one of the columns need to exist in the filesystem, so we have to `stat` them). According to [the documentation](https://huggingfa... | [
-0.23283588886260986,
-0.3903886377811432,
-0.044456664472818375,
0.16448941826820374,
-0.10854439437389374,
-0.06876890361309052,
0.11633943021297455,
0.40563222765922546,
0.640041172504425,
0.11788118630647659,
-0.05657177418470383,
0.24608531594276428,
-0.3954412639141083,
0.10435447841... |
https://github.com/huggingface/datasets/issues/2644 | Batched `map` not allowed to return 0 items | Sorry to ping you, @lhoestq, did you have a chance to take a look at the proposed PR? Thank you! | ## Describe the bug
I'm trying to use `map` to filter a large dataset by selecting rows that match an expensive condition (files referenced by one of the columns need to exist in the filesystem, so we have to `stat` them). According to [the documentation](https://huggingface.co/docs/datasets/processing.html#augmenting... | 20 | Batched `map` not allowed to return 0 items
## Describe the bug
I'm trying to use `map` to filter a large dataset by selecting rows that match an expensive condition (files referenced by one of the columns need to exist in the filesystem, so we have to `stat` them). According to [the documentation](https://huggingfa... | [
-0.23283588886260986,
-0.3903886377811432,
-0.044456664472818375,
0.16448941826820374,
-0.10854439437389374,
-0.06876890361309052,
0.11633943021297455,
0.40563222765922546,
0.640041172504425,
0.11788118630647659,
-0.05657177418470383,
0.24608531594276428,
-0.3954412639141083,
0.10435447841... |
https://github.com/huggingface/datasets/issues/2644 | Batched `map` not allowed to return 0 items | Yes and it's all good, thank you :)
Feel free to close this issue if it's good for you | ## Describe the bug
I'm trying to use `map` to filter a large dataset by selecting rows that match an expensive condition (files referenced by one of the columns need to exist in the filesystem, so we have to `stat` them). According to [the documentation](https://huggingface.co/docs/datasets/processing.html#augmenting... | 19 | Batched `map` not allowed to return 0 items
## Describe the bug
I'm trying to use `map` to filter a large dataset by selecting rows that match an expensive condition (files referenced by one of the columns need to exist in the filesystem, so we have to `stat` them). According to [the documentation](https://huggingfa... | [
-0.23283588886260986,
-0.3903886377811432,
-0.044456664472818375,
0.16448941826820374,
-0.10854439437389374,
-0.06876890361309052,
0.11633943021297455,
0.40563222765922546,
0.640041172504425,
0.11788118630647659,
-0.05657177418470383,
0.24608531594276428,
-0.3954412639141083,
0.10435447841... |
https://github.com/huggingface/datasets/issues/2643 | Enum used in map functions will raise a RecursionError with dill. | I'm running into this as well. (Thank you so much for reporting @jorgeecardona β was staring at this massive stack trace and unsure what exactly was wrong!) | ## Describe the bug
Enums used in functions pass to `map` will fail at pickling with a maximum recursion exception as described here: https://github.com/uqfoundation/dill/issues/250#issuecomment-852566284
In my particular case, I use an enum to define an argument with fixed options using the `TraininigArguments` ... | 27 | Enum used in map functions will raise a RecursionError with dill.
## Describe the bug
Enums used in functions pass to `map` will fail at pickling with a maximum recursion exception as described here: https://github.com/uqfoundation/dill/issues/250#issuecomment-852566284
In my particular case, I use an enum to d... | [
0.10536050796508789,
0.1992540955543518,
0.04053202643990517,
0.1406988501548767,
-0.074371837079525,
-0.07834361493587494,
0.14776025712490082,
0.2337796837091446,
0.12631797790527344,
0.16906453669071198,
0.145333394408226,
0.9332157373428345,
-0.2908698618412018,
-0.3072981834411621,
... |
https://github.com/huggingface/datasets/issues/2643 | Enum used in map functions will raise a RecursionError with dill. | Hi ! Thanks for reporting :)
Until this is fixed on `dill`'s side, we could implement a custom saving in our Pickler indefined in utils.py_utils.py
There is already a suggestion in this message about how to do it:
https://github.com/uqfoundation/dill/issues/250#issuecomment-852566284
Let me know if such a worka... | ## Describe the bug
Enums used in functions pass to `map` will fail at pickling with a maximum recursion exception as described here: https://github.com/uqfoundation/dill/issues/250#issuecomment-852566284
In my particular case, I use an enum to define an argument with fixed options using the `TraininigArguments` ... | 61 | Enum used in map functions will raise a RecursionError with dill.
## Describe the bug
Enums used in functions pass to `map` will fail at pickling with a maximum recursion exception as described here: https://github.com/uqfoundation/dill/issues/250#issuecomment-852566284
In my particular case, I use an enum to d... | [
0.10536050796508789,
0.1992540955543518,
0.04053202643990517,
0.1406988501548767,
-0.074371837079525,
-0.07834361493587494,
0.14776025712490082,
0.2337796837091446,
0.12631797790527344,
0.16906453669071198,
0.145333394408226,
0.9332157373428345,
-0.2908698618412018,
-0.3072981834411621,
... |
https://github.com/huggingface/datasets/issues/2643 | Enum used in map functions will raise a RecursionError with dill. | I have the same bug.
the code is as follows:

the error is:

Look for the solution for thi... | ## Describe the bug
Enums used in functions pass to `map` will fail at pickling with a maximum recursion exception as described here: https://github.com/uqfoundation/dill/issues/250#issuecomment-852566284
In my particular case, I use an enum to define an argument with fixed options using the `TraininigArguments` ... | 22 | Enum used in map functions will raise a RecursionError with dill.
## Describe the bug
Enums used in functions pass to `map` will fail at pickling with a maximum recursion exception as described here: https://github.com/uqfoundation/dill/issues/250#issuecomment-852566284
In my particular case, I use an enum to d... | [
0.10536050796508789,
0.1992540955543518,
0.04053202643990517,
0.1406988501548767,
-0.074371837079525,
-0.07834361493587494,
0.14776025712490082,
0.2337796837091446,
0.12631797790527344,
0.16906453669071198,
0.145333394408226,
0.9332157373428345,
-0.2908698618412018,
-0.3072981834411621,
... |
https://github.com/huggingface/datasets/issues/2643 | Enum used in map functions will raise a RecursionError with dill. | Hi ! I think your RecursionError comes from a different issue @BitcoinNLPer , could you open a separate issue please ?
Also which dataset are you using ? I tried loading `CodedotAI/code_clippy` but I get a different error
```python
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "... | ## Describe the bug
Enums used in functions pass to `map` will fail at pickling with a maximum recursion exception as described here: https://github.com/uqfoundation/dill/issues/250#issuecomment-852566284
In my particular case, I use an enum to define an argument with fixed options using the `TraininigArguments` ... | 144 | Enum used in map functions will raise a RecursionError with dill.
## Describe the bug
Enums used in functions pass to `map` will fail at pickling with a maximum recursion exception as described here: https://github.com/uqfoundation/dill/issues/250#issuecomment-852566284
In my particular case, I use an enum to d... | [
0.10536050796508789,
0.1992540955543518,
0.04053202643990517,
0.1406988501548767,
-0.074371837079525,
-0.07834361493587494,
0.14776025712490082,
0.2337796837091446,
0.12631797790527344,
0.16906453669071198,
0.145333394408226,
0.9332157373428345,
-0.2908698618412018,
-0.3072981834411621,
... |
https://github.com/huggingface/datasets/issues/2642 | Support multi-worker with streaming dataset (IterableDataset). | Hi ! This is a great idea :)
I think we could have something similar to what we have in `datasets.Dataset.map`, i.e. a `num_proc` parameter that tells how many processes to spawn to parallelize the data processing.
Regarding AUTOTUNE, this could be a nice feature as well, we could see how to add it in a second ste... | **Is your feature request related to a problem? Please describe.**
The current `.map` does not support multi-process, CPU can become bottleneck if the pre-processing is complex (e.g. t5 span masking).
**Describe the solution you'd like**
Ideally `.map` should support multi-worker like tfds, with `AUTOTUNE`.
**D... | 58 | Support multi-worker with streaming dataset (IterableDataset).
**Is your feature request related to a problem? Please describe.**
The current `.map` does not support multi-process, CPU can become bottleneck if the pre-processing is complex (e.g. t5 span masking).
**Describe the solution you'd like**
Ideally `.ma... | [
-0.6293721199035645,
-0.526218831539154,
-0.14244067668914795,
-0.04204916954040527,
-0.19271744787693024,
-0.01043061912059784,
0.5165581703186035,
0.17827971279621124,
0.08271831274032593,
0.14804647862911224,
-0.08475583791732788,
0.302012175321579,
-0.268770307302475,
0.266905158758163... |
https://github.com/huggingface/datasets/issues/2642 | Support multi-worker with streaming dataset (IterableDataset). | Not yet, I'm happy to provide some guidance if someone wants to give it a shot though.
The code that applies the `map` function is in `iterable_dataset.py`, in `MappedExamplesIterable.__iter__` | **Is your feature request related to a problem? Please describe.**
The current `.map` does not support multi-process, CPU can become bottleneck if the pre-processing is complex (e.g. t5 span masking).
**Describe the solution you'd like**
Ideally `.map` should support multi-worker like tfds, with `AUTOTUNE`.
**D... | 29 | Support multi-worker with streaming dataset (IterableDataset).
**Is your feature request related to a problem? Please describe.**
The current `.map` does not support multi-process, CPU can become bottleneck if the pre-processing is complex (e.g. t5 span masking).
**Describe the solution you'd like**
Ideally `.ma... | [
-0.6218912601470947,
-0.5001689195632935,
-0.1078106164932251,
-0.07974588871002197,
-0.13024668395519257,
-0.004702448844909668,
0.5700687170028687,
0.19281511008739471,
0.1534992754459381,
0.059514451771974564,
-0.20384721457958221,
0.3409012258052826,
-0.25670990347862244,
0.19601473212... |
https://github.com/huggingface/datasets/issues/2641 | load_dataset("financial_phrasebank") NonMatchingChecksumError | Hi! It's probably because this dataset is stored on google drive and it has a per day quota limit. It should work if you retry, I was able to initiate the download.
Similar issue [here](https://github.com/huggingface/datasets/issues/2646) | ## Describe the bug
Attempting to download the financial_phrasebank dataset results in a NonMatchingChecksumError
## Steps to reproduce the bug
```python
from datasets import load_dataset
dataset = load_dataset("financial_phrasebank", 'sentences_allagree')
```
## Expected results
I expect to see the financi... | 35 | load_dataset("financial_phrasebank") NonMatchingChecksumError
## Describe the bug
Attempting to download the financial_phrasebank dataset results in a NonMatchingChecksumError
## Steps to reproduce the bug
```python
from datasets import load_dataset
dataset = load_dataset("financial_phrasebank", 'sentences_all... | [
-0.12216122448444366,
0.21915102005004883,
-0.07840738445520401,
0.2884526252746582,
0.22036103904247284,
0.13471728563308716,
0.06588888168334961,
0.331061452627182,
0.2095744013786316,
0.1821722388267517,
-0.14143837988376617,
0.0533873587846756,
0.16741590201854706,
0.07501561939716339,... |
https://github.com/huggingface/datasets/issues/2641 | load_dataset("financial_phrasebank") NonMatchingChecksumError | Hi ! Loading the dataset works on my side as well.
Feel free to try again and let us know if it works for you know | ## Describe the bug
Attempting to download the financial_phrasebank dataset results in a NonMatchingChecksumError
## Steps to reproduce the bug
```python
from datasets import load_dataset
dataset = load_dataset("financial_phrasebank", 'sentences_allagree')
```
## Expected results
I expect to see the financi... | 26 | load_dataset("financial_phrasebank") NonMatchingChecksumError
## Describe the bug
Attempting to download the financial_phrasebank dataset results in a NonMatchingChecksumError
## Steps to reproduce the bug
```python
from datasets import load_dataset
dataset = load_dataset("financial_phrasebank", 'sentences_all... | [
-0.11983345448970795,
0.17940962314605713,
-0.08838130533695221,
0.33969956636428833,
0.18796852231025696,
0.11738673597574234,
0.006066892296075821,
0.3996659517288208,
0.14194679260253906,
0.19768890738487244,
-0.16138389706611633,
0.24372728168964386,
0.23040346801280975,
-0.10897862911... |
https://github.com/huggingface/datasets/issues/2641 | load_dataset("financial_phrasebank") NonMatchingChecksumError | Thank you! I've been trying periodically for the past month, and no luck yet with this particular dataset. Just tried again and still hitting the checksum error.
Code:
`dataset = load_dataset("financial_phrasebank", "sentences_allagree") `
Traceback:
```
----------------------------------------------------... | ## Describe the bug
Attempting to download the financial_phrasebank dataset results in a NonMatchingChecksumError
## Steps to reproduce the bug
```python
from datasets import load_dataset
dataset = load_dataset("financial_phrasebank", 'sentences_allagree')
```
## Expected results
I expect to see the financi... | 174 | load_dataset("financial_phrasebank") NonMatchingChecksumError
## Describe the bug
Attempting to download the financial_phrasebank dataset results in a NonMatchingChecksumError
## Steps to reproduce the bug
```python
from datasets import load_dataset
dataset = load_dataset("financial_phrasebank", 'sentences_all... | [
-0.12190397083759308,
0.25043636560440063,
-0.06328225880861282,
0.3291987180709839,
0.16332091391086578,
0.13060149550437927,
0.029430465772747993,
0.39818456768989563,
0.10427448153495789,
0.1001083105802536,
-0.23702965676784515,
0.251907080411911,
0.24082139134407043,
-0.18088695406913... |
https://github.com/huggingface/datasets/issues/2630 | Progress bars are not properly rendered in Jupyter notebook | To add my experience when trying to debug this issue:
Seems like previously the workaround given [here](https://github.com/tqdm/tqdm/issues/485#issuecomment-473338308) worked around this issue. But with the latest version of jupyter/tqdm I still get terminal warnings that IPython tried to send a message from a forke... | ## Describe the bug
The progress bars are not Jupyter widgets; regular progress bars appear (like in a terminal).
## Steps to reproduce the bug
```python
ds.map(tokenize, num_proc=10)
```
## Expected results
Jupyter widgets displaying the progress bars.
## Actual results
Simple plane progress bars.
cc... | 44 | Progress bars are not properly rendered in Jupyter notebook
## Describe the bug
The progress bars are not Jupyter widgets; regular progress bars appear (like in a terminal).
## Steps to reproduce the bug
```python
ds.map(tokenize, num_proc=10)
```
## Expected results
Jupyter widgets displaying the progress... | [
0.1817377209663391,
0.02665199339389801,
-0.004884492605924606,
0.0565505176782608,
0.11842603981494904,
-0.34836259484291077,
0.556789755821228,
0.4173838496208191,
-0.2593960762023926,
0.0024571940302848816,
-0.21256646513938904,
0.6025976538658142,
0.26589399576187134,
0.167215794324874... |
https://github.com/huggingface/datasets/issues/2630 | Progress bars are not properly rendered in Jupyter notebook | Hi @mludv, thanks for the hint!!! :)
We will definitely take it into account to try to fix this issue... It seems somehow related to `multiprocessing` and `tqdm`... | ## Describe the bug
The progress bars are not Jupyter widgets; regular progress bars appear (like in a terminal).
## Steps to reproduce the bug
```python
ds.map(tokenize, num_proc=10)
```
## Expected results
Jupyter widgets displaying the progress bars.
## Actual results
Simple plane progress bars.
cc... | 28 | Progress bars are not properly rendered in Jupyter notebook
## Describe the bug
The progress bars are not Jupyter widgets; regular progress bars appear (like in a terminal).
## Steps to reproduce the bug
```python
ds.map(tokenize, num_proc=10)
```
## Expected results
Jupyter widgets displaying the progress... | [
0.08407516777515411,
-0.017447464168071747,
-0.05534328520298004,
0.14674845337867737,
0.1418052464723587,
-0.2826746702194214,
0.4365513324737549,
0.30817121267318726,
-0.2813873291015625,
0.13351725041866302,
-0.17346835136413574,
0.49589863419532776,
0.30211329460144043,
0.3606433570384... |
https://github.com/huggingface/datasets/issues/2629 | Load datasets from the Hub without requiring a dataset script | This is so cool, let us know if we can help with anything on the hub side (@Pierrci @elishowk) π | As a user I would like to be able to upload my csv/json/text/parquet/etc. files in a dataset repository on the Hugging Face Hub and be able to load this dataset with `load_dataset` without having to implement a dataset script.
Moreover I would like to be able to specify which file goes into which split using the `da... | 20 | Load datasets from the Hub without requiring a dataset script
As a user I would like to be able to upload my csv/json/text/parquet/etc. files in a dataset repository on the Hugging Face Hub and be able to load this dataset with `load_dataset` without having to implement a dataset script.
Moreover I would like to b... | [
-0.4575757682323456,
-0.04470103234052658,
-0.042136646807193756,
0.1991637945175171,
-0.1262190341949463,
0.1635165512561798,
0.37726500630378723,
0.17870411276817322,
0.4132857024669647,
0.13889165222644806,
-0.2391805797815323,
0.33877208828926086,
-0.06379549950361252,
0.54941534996032... |
https://github.com/huggingface/datasets/issues/2622 | Integration with AugLy | Hi,
you can define your own custom formatting with `Dataset.set_transform()` and then run the tokenizer with the batches of augmented data as follows:
```python
dset = load_dataset("imdb", split="train") # Let's say we are working with the IMDB dataset
dset.set_transform(lambda ex: {"text": augly_text_augmentati... | **Is your feature request related to a problem? Please describe.**
Facebook recently launched a library, [AugLy](https://github.com/facebookresearch/AugLy) , that has a unified API for augmentations for image, video and text.
It would be pretty exciting to have it hooked up to HF libraries so that we can make NLP m... | 68 | Integration with AugLy
**Is your feature request related to a problem? Please describe.**
Facebook recently launched a library, [AugLy](https://github.com/facebookresearch/AugLy) , that has a unified API for augmentations for image, video and text.
It would be pretty exciting to have it hooked up to HF libraries ... | [
-0.17492330074310303,
-0.19208085536956787,
-0.14345186948776245,
-0.23967839777469635,
0.19126367568969727,
0.026355385780334473,
0.16739118099212646,
0.327312171459198,
-0.323490172624588,
0.016006752848625183,
0.044725462794303894,
-0.017034975811839104,
-0.2608955502510071,
0.110500238... |
https://github.com/huggingface/datasets/issues/2622 | Integration with AugLy | Preprocessing functions/augmentations, unless super generic, should be defined in separate libraries, so I'm closing this issue. | **Is your feature request related to a problem? Please describe.**
Facebook recently launched a library, [AugLy](https://github.com/facebookresearch/AugLy) , that has a unified API for augmentations for image, video and text.
It would be pretty exciting to have it hooked up to HF libraries so that we can make NLP m... | 16 | Integration with AugLy
**Is your feature request related to a problem? Please describe.**
Facebook recently launched a library, [AugLy](https://github.com/facebookresearch/AugLy) , that has a unified API for augmentations for image, video and text.
It would be pretty exciting to have it hooked up to HF libraries ... | [
-0.027410870417952538,
-0.12815453112125397,
-0.17445935308933258,
-0.3476259708404541,
0.11206863075494766,
-0.037844035774469376,
0.03748088330030441,
0.2659149169921875,
-0.3636665940284729,
0.05604260787367821,
0.15454302728176117,
-0.11339809745550156,
-0.1821041703224182,
0.280953794... |
https://github.com/huggingface/datasets/issues/2618 | `filelock.py` Error | Hi @liyucheng09, thanks for reporting.
Apparently this issue has to do with your environment setup. One question: is your data in an NFS share? Some people have reported this error when using `fcntl` to write to an NFS share... If this is the case, then it might be that your NFS just may not be set up to provide fil... | ## Describe the bug
It seems that the `filelock.py` went error.
```
>>> ds=load_dataset('xsum')
^CTraceback (most recent call last):
File "/user/HS502/yl02706/.conda/envs/lyc/lib/python3.6/site-packages/datasets/utils/filelock.py", line 402, in _acquire
fcntl.flock(fd, fcntl.LOCK_EX | fcntl.LOCK_NB)
... | 84 | `filelock.py` Error
## Describe the bug
It seems that the `filelock.py` went error.
```
>>> ds=load_dataset('xsum')
^CTraceback (most recent call last):
File "/user/HS502/yl02706/.conda/envs/lyc/lib/python3.6/site-packages/datasets/utils/filelock.py", line 402, in _acquire
fcntl.flock(fd, fcntl.LOC... | [
0.13904428482055664,
-0.34730127453804016,
0.015146855264902115,
0.04186102747917175,
0.0302767101675272,
0.09070468693971634,
0.16235919296741486,
0.13566650450229645,
0.05923796072602272,
0.09362209588289261,
-0.10108491033315659,
0.3403192460536957,
-0.032961200922727585,
-0.42406588792... |
https://github.com/huggingface/datasets/issues/2618 | `filelock.py` Error | We now use the `filelock` package for file locking, so please report this issue in their repo if it's still causing you problems. | ## Describe the bug
It seems that the `filelock.py` went error.
```
>>> ds=load_dataset('xsum')
^CTraceback (most recent call last):
File "/user/HS502/yl02706/.conda/envs/lyc/lib/python3.6/site-packages/datasets/utils/filelock.py", line 402, in _acquire
fcntl.flock(fd, fcntl.LOCK_EX | fcntl.LOCK_NB)
... | 23 | `filelock.py` Error
## Describe the bug
It seems that the `filelock.py` went error.
```
>>> ds=load_dataset('xsum')
^CTraceback (most recent call last):
File "/user/HS502/yl02706/.conda/envs/lyc/lib/python3.6/site-packages/datasets/utils/filelock.py", line 402, in _acquire
fcntl.flock(fd, fcntl.LOC... | [
0.13904428482055664,
-0.34730127453804016,
0.015146855264902115,
0.04186102747917175,
0.0302767101675272,
0.09070468693971634,
0.16235919296741486,
0.13566650450229645,
0.05923796072602272,
0.09362209588289261,
-0.10108491033315659,
0.3403192460536957,
-0.032961200922727585,
-0.42406588792... |
https://github.com/huggingface/datasets/issues/2615 | Jsonlines export error | For some reason this happens (both `datasets` version are on master) only on Python 3.6 and not Python 3.8. | ## Describe the bug
When exporting large datasets in jsonlines (c4 in my case) the created file has an error every 9999 lines: the 9999th and 10000th are concatenated, thus breaking the jsonlines format. This sounds like it is related to batching, which is by 10000 by default
## Steps to reproduce the bug
This wha... | 19 | Jsonlines export error
## Describe the bug
When exporting large datasets in jsonlines (c4 in my case) the created file has an error every 9999 lines: the 9999th and 10000th are concatenated, thus breaking the jsonlines format. This sounds like it is related to batching, which is by 10000 by default
## Steps to re... | [
-0.3504135310649872,
0.13335847854614258,
-0.006901402026414871,
0.3097096085548401,
0.03890375420451164,
0.08054844290018082,
0.21886447072029114,
0.38834455609321594,
0.0006042961031198502,
-0.04023028910160065,
0.32310014963150024,
0.03459402173757553,
0.06731624156236649,
0.04469794780... |
https://github.com/huggingface/datasets/issues/2615 | Jsonlines export error | @TevenLeScao we are using `pandas` to serialize the dataset to JSON Lines. So it must be due to pandas. Could you please check the pandas version causing the issue? | ## Describe the bug
When exporting large datasets in jsonlines (c4 in my case) the created file has an error every 9999 lines: the 9999th and 10000th are concatenated, thus breaking the jsonlines format. This sounds like it is related to batching, which is by 10000 by default
## Steps to reproduce the bug
This wha... | 29 | Jsonlines export error
## Describe the bug
When exporting large datasets in jsonlines (c4 in my case) the created file has an error every 9999 lines: the 9999th and 10000th are concatenated, thus breaking the jsonlines format. This sounds like it is related to batching, which is by 10000 by default
## Steps to re... | [
-0.3529360890388489,
0.13444527983665466,
-0.013971163891255856,
0.26991111040115356,
0.09136602282524109,
0.0805772915482521,
0.275899201631546,
0.42092058062553406,
-0.001224558800458908,
-0.05468721687793732,
0.3439743220806122,
0.0168314091861248,
0.10500950366258621,
0.166378483176231... |
https://github.com/huggingface/datasets/issues/2615 | Jsonlines export error | @TevenLeScao I have just checked it: this was a bug in `pandas` and it was fixed in version 1.2: https://github.com/pandas-dev/pandas/pull/36898 | ## Describe the bug
When exporting large datasets in jsonlines (c4 in my case) the created file has an error every 9999 lines: the 9999th and 10000th are concatenated, thus breaking the jsonlines format. This sounds like it is related to batching, which is by 10000 by default
## Steps to reproduce the bug
This wha... | 20 | Jsonlines export error
## Describe the bug
When exporting large datasets in jsonlines (c4 in my case) the created file has an error every 9999 lines: the 9999th and 10000th are concatenated, thus breaking the jsonlines format. This sounds like it is related to batching, which is by 10000 by default
## Steps to re... | [
-0.34127187728881836,
0.12403041124343872,
-0.005501767620444298,
0.25801753997802734,
0.10834038257598877,
0.07570431381464005,
0.3035872280597687,
0.4069497287273407,
0.026413019746541977,
-0.04118359088897705,
0.2745397686958313,
0.006748131476342678,
0.13871583342552185,
0.174179106950... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.