html_url stringlengths 51 51 | comments stringlengths 67 24.7k | title stringlengths 6 280 | body stringlengths 51 36.2k | comment_length int64 16 1.45k | text stringlengths 190 38.3k | embeddings list |
|---|---|---|---|---|---|---|
https://github.com/huggingface/datasets/issues/3804 | Hi ! Interresting :)
Could you give more details on what kind of separators you would like to use instead ? | Text builder with custom separator line boundaries | **Is your feature request related to a problem? Please describe.**
The current [Text](https://github.com/huggingface/datasets/blob/207be676bffe9d164740a41a883af6125edef135/src/datasets/packaged_modules/text/text.py#L23) builder implementation splits texts with `splitlines()` which splits the text on several line bound... | 21 | Text builder with custom separator line boundaries
**Is your feature request related to a problem? Please describe.**
The current [Text](https://github.com/huggingface/datasets/blob/207be676bffe9d164740a41a883af6125edef135/src/datasets/packaged_modules/text/text.py#L23) builder implementation splits texts with `spli... | [
-0.5105409622192383,
0.07090358436107635,
-0.16261455416679382,
0.16961516439914703,
-0.16342809796333313,
-0.17726585268974304,
0.5803589820861816,
0.23264914751052856,
0.03605429828166962,
0.16210460662841797,
0.08608219772577286,
0.13267242908477783,
-0.09969575703144073,
0.343182086944... |
https://github.com/huggingface/datasets/issues/3804 | Ok I see, maybe there can be a `sep` parameter to allow users to specify what line/paragraph separator they'd like to use | Text builder with custom separator line boundaries | **Is your feature request related to a problem? Please describe.**
The current [Text](https://github.com/huggingface/datasets/blob/207be676bffe9d164740a41a883af6125edef135/src/datasets/packaged_modules/text/text.py#L23) builder implementation splits texts with `splitlines()` which splits the text on several line bound... | 22 | Text builder with custom separator line boundaries
**Is your feature request related to a problem? Please describe.**
The current [Text](https://github.com/huggingface/datasets/blob/207be676bffe9d164740a41a883af6125edef135/src/datasets/packaged_modules/text/text.py#L23) builder implementation splits texts with `spli... | [
-0.4740249514579773,
0.0324968546628952,
-0.15519508719444275,
0.12382940202951431,
-0.16837206482887268,
-0.178434818983078,
0.6166985034942627,
0.2291661947965622,
0.020035520195961,
0.20535892248153687,
0.09697111696004868,
0.12548485398292542,
-0.05673804506659508,
0.3359187841415405,
... |
https://github.com/huggingface/datasets/issues/3804 | Thanks for requesting this enhancement. We have recently found a somehow related issue with another dataset:
- #3704
Let me make a PR proposal. | Text builder with custom separator line boundaries | **Is your feature request related to a problem? Please describe.**
The current [Text](https://github.com/huggingface/datasets/blob/207be676bffe9d164740a41a883af6125edef135/src/datasets/packaged_modules/text/text.py#L23) builder implementation splits texts with `splitlines()` which splits the text on several line bound... | 24 | Text builder with custom separator line boundaries
**Is your feature request related to a problem? Please describe.**
The current [Text](https://github.com/huggingface/datasets/blob/207be676bffe9d164740a41a883af6125edef135/src/datasets/packaged_modules/text/text.py#L23) builder implementation splits texts with `spli... | [
-0.45031335949897766,
0.07479614019393921,
-0.12883399426937103,
0.2104608714580536,
-0.10137898474931717,
-0.1899401992559433,
0.6217504143714905,
0.22347822785377502,
0.019868329167366028,
0.16700094938278198,
0.06577055901288986,
0.1434783637523651,
-0.056949734687805176,
0.305579513311... |
https://github.com/huggingface/datasets/issues/3792 | Same issue with `dataset = load_dataset("dbpedia_14")`
```
NonMatchingChecksumError: Checksums didn't match for dataset source files:
['https://drive.google.com/uc?export=download&id=0Bz8a_Dbh9QhbQ2Vic1kxMmZZQ1k'] | Checksums didn't match for dataset source | ## Dataset viewer issue for 'wiki_lingua*'
**Link:** *link to the dataset viewer page*
`data = datasets.load_dataset("wiki_lingua", name=language, split="train[:2000]")
`
*short description of the issue*
```
[NonMatchingChecksumError: Checksums didn't match for dataset source files:
['https://drive.google.co... | 16 | Checksums didn't match for dataset source
## Dataset viewer issue for 'wiki_lingua*'
**Link:** *link to the dataset viewer page*
`data = datasets.load_dataset("wiki_lingua", name=language, split="train[:2000]")
`
*short description of the issue*
```
[NonMatchingChecksumError: Checksums didn't match for data... | [
-0.3649028539657593,
0.21770547330379486,
-0.12160418927669525,
0.32967182993888855,
0.15621989965438843,
-0.015408478677272797,
0.2091430276632309,
0.38488641381263733,
0.09182307124137878,
0.039236001670360565,
-0.03399154916405678,
0.07757261395454407,
0.09666520357131958,
0.19676417112... |
https://github.com/huggingface/datasets/issues/3792 | I think this is a side-effect of #3787. The checksums won't match because the URLs have changed. @rafikg @Y0mingZhang, while this is fixed, maybe you can load the datasets as such:
`data = datasets.load_dataset("wiki_lingua", name=language, split="train[:2000]", ignore_verifications=True)`
`dataset = load_dataset("... | Checksums didn't match for dataset source | ## Dataset viewer issue for 'wiki_lingua*'
**Link:** *link to the dataset viewer page*
`data = datasets.load_dataset("wiki_lingua", name=language, split="train[:2000]")
`
*short description of the issue*
```
[NonMatchingChecksumError: Checksums didn't match for dataset source files:
['https://drive.google.co... | 53 | Checksums didn't match for dataset source
## Dataset viewer issue for 'wiki_lingua*'
**Link:** *link to the dataset viewer page*
`data = datasets.load_dataset("wiki_lingua", name=language, split="train[:2000]")
`
*short description of the issue*
```
[NonMatchingChecksumError: Checksums didn't match for data... | [
-0.20459306240081787,
0.04998217523097992,
-0.04094067960977554,
0.3436928689479828,
0.31346434354782104,
-0.04429476708173752,
0.13198477029800415,
0.35133856534957886,
0.19094467163085938,
0.17218664288520813,
-0.08478447794914246,
0.03630869835615158,
0.20983868837356567,
0.347724795341... |
https://github.com/huggingface/datasets/issues/3792 | Hi! Installing the `datasets` package from master (`pip install git+https://github.com/huggingface/datasets.git`) and then redownloading the datasets with `download_mode` set to `force_redownload` (e.g. `dataset = load_dataset("dbpedia_14", download_mode="force_redownload")`) should fix the issue. | Checksums didn't match for dataset source | ## Dataset viewer issue for 'wiki_lingua*'
**Link:** *link to the dataset viewer page*
`data = datasets.load_dataset("wiki_lingua", name=language, split="train[:2000]")
`
*short description of the issue*
```
[NonMatchingChecksumError: Checksums didn't match for dataset source files:
['https://drive.google.co... | 29 | Checksums didn't match for dataset source
## Dataset viewer issue for 'wiki_lingua*'
**Link:** *link to the dataset viewer page*
`data = datasets.load_dataset("wiki_lingua", name=language, split="train[:2000]")
`
*short description of the issue*
```
[NonMatchingChecksumError: Checksums didn't match for data... | [
-0.38432759046554565,
0.19962072372436523,
-0.11463120579719543,
0.3184936046600342,
0.3418925702571869,
-0.05494842678308487,
0.20009717345237732,
0.47188037633895874,
0.2195708155632019,
0.13653329014778137,
-0.041828032582998276,
0.14221802353858948,
0.0903075635433197,
0.26281154155731... |
https://github.com/huggingface/datasets/issues/3792 | Hi @rafikg and @Y0mingZhang, thanks for reporting.
Indeed it seems that Google Drive changed their way to access their data files. We have recently handled that change:
- #3787
but it will be accessible to users only in our next release of the `datasets` version.
- Note that our latest release (version 1.18.3) ... | Checksums didn't match for dataset source | ## Dataset viewer issue for 'wiki_lingua*'
**Link:** *link to the dataset viewer page*
`data = datasets.load_dataset("wiki_lingua", name=language, split="train[:2000]")
`
*short description of the issue*
```
[NonMatchingChecksumError: Checksums didn't match for dataset source files:
['https://drive.google.co... | 117 | Checksums didn't match for dataset source
## Dataset viewer issue for 'wiki_lingua*'
**Link:** *link to the dataset viewer page*
`data = datasets.load_dataset("wiki_lingua", name=language, split="train[:2000]")
`
*short description of the issue*
```
[NonMatchingChecksumError: Checksums didn't match for data... | [
-0.28069770336151123,
0.1842425912618637,
-0.043170616030693054,
0.20635373890399933,
0.34061065316200256,
0.13403137028217316,
0.24233289062976837,
0.3014308214187622,
0.2834572196006775,
0.22021843492984772,
-0.07512055337429047,
-0.11807824671268463,
0.04707159474492073,
0.4092035889625... |
https://github.com/huggingface/datasets/issues/3792 | @albertvillanova by running:
```
pip install git+https://github.com/huggingface/datasets#egg=datasets
data = datasets.load_dataset("wiki_lingua", name=language, split="train[:2000]", download_mode="force_redownload", ignore_verifications=True)
```
I had a pickle error **UnpicklingError: invalid load key, '<'** ... | Checksums didn't match for dataset source | ## Dataset viewer issue for 'wiki_lingua*'
**Link:** *link to the dataset viewer page*
`data = datasets.load_dataset("wiki_lingua", name=language, split="train[:2000]")
`
*short description of the issue*
```
[NonMatchingChecksumError: Checksums didn't match for dataset source files:
['https://drive.google.co... | 59 | Checksums didn't match for dataset source
## Dataset viewer issue for 'wiki_lingua*'
**Link:** *link to the dataset viewer page*
`data = datasets.load_dataset("wiki_lingua", name=language, split="train[:2000]")
`
*short description of the issue*
```
[NonMatchingChecksumError: Checksums didn't match for data... | [
-0.25286775827407837,
0.19000306725502014,
-0.06364264339208603,
0.314026802778244,
0.07663063704967499,
-0.06660977005958557,
0.16284945607185364,
0.21626611053943634,
0.5342546701431274,
0.16381138563156128,
-0.06504718214273453,
0.458670973777771,
-0.05623443424701691,
0.427235335111618... |
https://github.com/huggingface/datasets/issues/3792 | This issue impacts many more datasets than the ones mention in this thread. Can we post # of downloads for each dataset by day (by successes and failures)? If so, it should be obvious which ones are failing. | Checksums didn't match for dataset source | ## Dataset viewer issue for 'wiki_lingua*'
**Link:** *link to the dataset viewer page*
`data = datasets.load_dataset("wiki_lingua", name=language, split="train[:2000]")
`
*short description of the issue*
```
[NonMatchingChecksumError: Checksums didn't match for dataset source files:
['https://drive.google.co... | 38 | Checksums didn't match for dataset source
## Dataset viewer issue for 'wiki_lingua*'
**Link:** *link to the dataset viewer page*
`data = datasets.load_dataset("wiki_lingua", name=language, split="train[:2000]")
`
*short description of the issue*
```
[NonMatchingChecksumError: Checksums didn't match for data... | [
-0.3122648000717163,
0.22107093036174774,
-0.09068311750888824,
0.2768562436103821,
0.2292594313621521,
-0.08869081735610962,
0.29255467653274536,
0.3545771539211273,
0.18287207186222076,
0.20688658952713013,
0.13877907395362854,
-0.011158529669046402,
0.0016291923820972443,
0.178105980157... |
https://github.com/huggingface/datasets/issues/3792 | I can see this problem too in xcopa, unfortunately installing the latest master (1.18.4.dev0) doesn't work, @albertvillanova .
```
from datasets import load_dataset
dataset = load_dataset("xcopa", "it")
```
Throws
```
in verify_checksums(expected_checksums, recorded_checksums, verification_name)
38 ... | Checksums didn't match for dataset source | ## Dataset viewer issue for 'wiki_lingua*'
**Link:** *link to the dataset viewer page*
`data = datasets.load_dataset("wiki_lingua", name=language, split="train[:2000]")
`
*short description of the issue*
```
[NonMatchingChecksumError: Checksums didn't match for dataset source files:
['https://drive.google.co... | 74 | Checksums didn't match for dataset source
## Dataset viewer issue for 'wiki_lingua*'
**Link:** *link to the dataset viewer page*
`data = datasets.load_dataset("wiki_lingua", name=language, split="train[:2000]")
`
*short description of the issue*
```
[NonMatchingChecksumError: Checksums didn't match for data... | [
-0.36345717310905457,
0.22175827622413635,
-0.03903564438223839,
0.15206700563430786,
0.19602465629577637,
-0.004692375659942627,
-0.016568467020988464,
0.48065385222435,
0.012493021786212921,
0.106795534491539,
0.08602287620306015,
0.160040944814682,
0.20923420786857605,
0.128358468413352... |
https://github.com/huggingface/datasets/issues/3792 | Hi @rafikg, I think that is another different issue. Let me check it...
I guess maybe you are using a different Python version that the one the dataset owner used to create the pickle file... | Checksums didn't match for dataset source | ## Dataset viewer issue for 'wiki_lingua*'
**Link:** *link to the dataset viewer page*
`data = datasets.load_dataset("wiki_lingua", name=language, split="train[:2000]")
`
*short description of the issue*
```
[NonMatchingChecksumError: Checksums didn't match for dataset source files:
['https://drive.google.co... | 35 | Checksums didn't match for dataset source
## Dataset viewer issue for 'wiki_lingua*'
**Link:** *link to the dataset viewer page*
`data = datasets.load_dataset("wiki_lingua", name=language, split="train[:2000]")
`
*short description of the issue*
```
[NonMatchingChecksumError: Checksums didn't match for data... | [
-0.18371030688285828,
0.12794926762580872,
-0.092047780752182,
0.2596701979637146,
0.2507978081703186,
-0.06871228665113449,
0.13813649117946625,
0.4400167465209961,
0.4555807113647461,
0.15205582976341248,
0.0166320838034153,
0.437101274728775,
-0.02238420769572258,
0.2981741726398468,
... |
https://github.com/huggingface/datasets/issues/3792 | @kwchurch the datasets impacted for this specific issue are the ones which are hosted at Google Drive. | Checksums didn't match for dataset source | ## Dataset viewer issue for 'wiki_lingua*'
**Link:** *link to the dataset viewer page*
`data = datasets.load_dataset("wiki_lingua", name=language, split="train[:2000]")
`
*short description of the issue*
```
[NonMatchingChecksumError: Checksums didn't match for dataset source files:
['https://drive.google.co... | 17 | Checksums didn't match for dataset source
## Dataset viewer issue for 'wiki_lingua*'
**Link:** *link to the dataset viewer page*
`data = datasets.load_dataset("wiki_lingua", name=language, split="train[:2000]")
`
*short description of the issue*
```
[NonMatchingChecksumError: Checksums didn't match for data... | [
-0.27233392000198364,
0.25136879086494446,
-0.08253708481788635,
0.30929699540138245,
0.1599649339914322,
0.08242446184158325,
0.34846559166908264,
0.27466902136802673,
0.17148561775684357,
0.10927220433950424,
0.04928839951753616,
-0.021549440920352936,
0.009568635374307632,
0.16900955140... |
https://github.com/huggingface/datasets/issues/3792 | @afcruzs-ms I think your issue is a different one, because that dataset is not hosted at Google Drive. Would you mind open another issue for that other problem, please? Thanks! :) | Checksums didn't match for dataset source | ## Dataset viewer issue for 'wiki_lingua*'
**Link:** *link to the dataset viewer page*
`data = datasets.load_dataset("wiki_lingua", name=language, split="train[:2000]")
`
*short description of the issue*
```
[NonMatchingChecksumError: Checksums didn't match for dataset source files:
['https://drive.google.co... | 31 | Checksums didn't match for dataset source
## Dataset viewer issue for 'wiki_lingua*'
**Link:** *link to the dataset viewer page*
`data = datasets.load_dataset("wiki_lingua", name=language, split="train[:2000]")
`
*short description of the issue*
```
[NonMatchingChecksumError: Checksums didn't match for data... | [
-0.3380449712276459,
0.2343495488166809,
-0.10289400815963745,
0.24889789521694183,
0.2559027373790741,
0.05222971737384796,
0.29888734221458435,
0.38554656505584717,
0.18820972740650177,
0.18515826761722565,
0.07046090811491013,
-0.06343114376068115,
0.02819819003343582,
0.296112686395645... |
https://github.com/huggingface/datasets/issues/3792 | @albertvillanova just to let you know that I tried it locally and on colab and it is the same error | Checksums didn't match for dataset source | ## Dataset viewer issue for 'wiki_lingua*'
**Link:** *link to the dataset viewer page*
`data = datasets.load_dataset("wiki_lingua", name=language, split="train[:2000]")
`
*short description of the issue*
```
[NonMatchingChecksumError: Checksums didn't match for dataset source files:
['https://drive.google.co... | 20 | Checksums didn't match for dataset source
## Dataset viewer issue for 'wiki_lingua*'
**Link:** *link to the dataset viewer page*
`data = datasets.load_dataset("wiki_lingua", name=language, split="train[:2000]")
`
*short description of the issue*
```
[NonMatchingChecksumError: Checksums didn't match for data... | [
-0.3873743712902069,
0.23731230199337006,
-0.08241012692451477,
0.3719083070755005,
0.22750234603881836,
-0.004979044198989868,
0.1810007095336914,
0.3520691692829132,
0.17530344426631927,
0.11249631643295288,
-0.06985555589199066,
0.08910342305898666,
0.023875273764133453,
0.2454141378402... |
https://github.com/huggingface/datasets/issues/3792 | There are many many datasets on HugggingFace that are receiving this checksum error. Some of these datasets are very popular. There must be a way to track these errors, or to do regression testing. We don't want to catch each of these errors on each dataset, one at a time. | Checksums didn't match for dataset source | ## Dataset viewer issue for 'wiki_lingua*'
**Link:** *link to the dataset viewer page*
`data = datasets.load_dataset("wiki_lingua", name=language, split="train[:2000]")
`
*short description of the issue*
```
[NonMatchingChecksumError: Checksums didn't match for dataset source files:
['https://drive.google.co... | 50 | Checksums didn't match for dataset source
## Dataset viewer issue for 'wiki_lingua*'
**Link:** *link to the dataset viewer page*
`data = datasets.load_dataset("wiki_lingua", name=language, split="train[:2000]")
`
*short description of the issue*
```
[NonMatchingChecksumError: Checksums didn't match for data... | [
-0.02981904149055481,
-0.2039605677127838,
0.021171122789382935,
0.42565929889678955,
0.29044637084007263,
0.04316045343875885,
0.14271919429302216,
0.1986544281244278,
0.2408197969198227,
0.2792515456676483,
0.11811613291501999,
-0.10390576720237732,
-0.12981607019901276,
0.24135591089725... |
https://github.com/huggingface/datasets/issues/3792 | @rafikg I am sorry, but I can't reproduce your issue. For me it works OK for all languages. See: https://colab.research.google.com/drive/1yIcLw1it118-TYE3ZlFmV7gJcsF6UCsH?usp=sharing | Checksums didn't match for dataset source | ## Dataset viewer issue for 'wiki_lingua*'
**Link:** *link to the dataset viewer page*
`data = datasets.load_dataset("wiki_lingua", name=language, split="train[:2000]")
`
*short description of the issue*
```
[NonMatchingChecksumError: Checksums didn't match for dataset source files:
['https://drive.google.co... | 20 | Checksums didn't match for dataset source
## Dataset viewer issue for 'wiki_lingua*'
**Link:** *link to the dataset viewer page*
`data = datasets.load_dataset("wiki_lingua", name=language, split="train[:2000]")
`
*short description of the issue*
```
[NonMatchingChecksumError: Checksums didn't match for data... | [
-0.3512474298477173,
0.16597458720207214,
-0.0933460146188736,
0.2689797580242157,
0.39929789304733276,
-0.10218418389558792,
0.23095344007015228,
0.5082910060882568,
0.22223252058029175,
0.09733092784881592,
-0.022851228713989258,
0.10414720326662064,
0.1113995909690857,
0.221965566277503... |
https://github.com/huggingface/datasets/issues/3792 | @kwchurch the PR #3787 fixes this issue (generated by a change in Google Drive service) for ALL datasets with this issue. Once we make our next library release (in a couple of days), the fix will be accessible to all users that update our library from PyPI. | Checksums didn't match for dataset source | ## Dataset viewer issue for 'wiki_lingua*'
**Link:** *link to the dataset viewer page*
`data = datasets.load_dataset("wiki_lingua", name=language, split="train[:2000]")
`
*short description of the issue*
```
[NonMatchingChecksumError: Checksums didn't match for dataset source files:
['https://drive.google.co... | 47 | Checksums didn't match for dataset source
## Dataset viewer issue for 'wiki_lingua*'
**Link:** *link to the dataset viewer page*
`data = datasets.load_dataset("wiki_lingua", name=language, split="train[:2000]")
`
*short description of the issue*
```
[NonMatchingChecksumError: Checksums didn't match for data... | [
-0.24296504259109497,
0.32840025424957275,
-0.05220933258533478,
0.2091575711965561,
0.242045596241951,
0.04546450078487396,
0.46339723467826843,
0.3967260718345642,
0.10457983613014221,
0.16378159821033478,
0.06376056373119354,
0.07627308368682861,
0.14627458155155182,
0.2466355860233307,... |
https://github.com/huggingface/datasets/issues/3792 | By the way, @rafikg, I discovered the URL for Spanish was wrong. I've created a PR to fix it:
- #3806 | Checksums didn't match for dataset source | ## Dataset viewer issue for 'wiki_lingua*'
**Link:** *link to the dataset viewer page*
`data = datasets.load_dataset("wiki_lingua", name=language, split="train[:2000]")
`
*short description of the issue*
```
[NonMatchingChecksumError: Checksums didn't match for dataset source files:
['https://drive.google.co... | 21 | Checksums didn't match for dataset source
## Dataset viewer issue for 'wiki_lingua*'
**Link:** *link to the dataset viewer page*
`data = datasets.load_dataset("wiki_lingua", name=language, split="train[:2000]")
`
*short description of the issue*
```
[NonMatchingChecksumError: Checksums didn't match for data... | [
-0.2747674584388733,
0.30102741718292236,
-0.11360378563404083,
0.2822936177253723,
0.2694522440433502,
0.03283824026584625,
0.12573952972888947,
0.2994842827320099,
0.18869292736053467,
0.1289110779762268,
-0.03692594915628433,
0.11755162477493286,
0.057266656309366226,
-0.073676161468029... |
https://github.com/huggingface/datasets/issues/3792 | I have the same problem with "wider_face" dataset. It seems that "load_dataset" function can not download the dataset from google drive.
| Checksums didn't match for dataset source | ## Dataset viewer issue for 'wiki_lingua*'
**Link:** *link to the dataset viewer page*
`data = datasets.load_dataset("wiki_lingua", name=language, split="train[:2000]")
`
*short description of the issue*
```
[NonMatchingChecksumError: Checksums didn't match for dataset source files:
['https://drive.google.co... | 21 | Checksums didn't match for dataset source
## Dataset viewer issue for 'wiki_lingua*'
**Link:** *link to the dataset viewer page*
`data = datasets.load_dataset("wiki_lingua", name=language, split="train[:2000]")
`
*short description of the issue*
```
[NonMatchingChecksumError: Checksums didn't match for data... | [
-0.3870263993740082,
0.14001737534999847,
-0.06855691969394684,
0.4098217785358429,
0.13683420419692993,
0.11542987823486328,
0.3463057577610016,
0.21422405540943146,
0.31164950132369995,
0.14098066091537476,
-0.057087674736976624,
-0.09075634181499481,
0.10485492646694183,
0.3408809900283... |
https://github.com/huggingface/datasets/issues/3792 | still getting this issue with datasets==2.2.2 for
dataset_fever_original_dev = load_dataset('fever', "v1.0", split="labelled_dev")
(this one seems to be hosted by aws though)
update: also tried to install from source to get the latest 2.2.3.dev0, but still get the error below (and also force-redownloaded)
upda... | Checksums didn't match for dataset source | ## Dataset viewer issue for 'wiki_lingua*'
**Link:** *link to the dataset viewer page*
`data = datasets.load_dataset("wiki_lingua", name=language, split="train[:2000]")
`
*short description of the issue*
```
[NonMatchingChecksumError: Checksums didn't match for dataset source files:
['https://drive.google.co... | 331 | Checksums didn't match for dataset source
## Dataset viewer issue for 'wiki_lingua*'
**Link:** *link to the dataset viewer page*
`data = datasets.load_dataset("wiki_lingua", name=language, split="train[:2000]")
`
*short description of the issue*
```
[NonMatchingChecksumError: Checksums didn't match for data... | [
-0.2715088427066803,
0.2081669569015503,
-0.036182064563035965,
0.15410742163658142,
0.10283169150352478,
-0.025495782494544983,
0.20251263678073883,
0.3087766766548157,
0.23714521527290344,
0.013354260474443436,
-0.1694236546754837,
-0.1007423996925354,
0.16161057353019714,
0.315280705690... |
https://github.com/huggingface/datasets/issues/3792 | I think this has to be fixed on the google drive side, but you also have to delete the bad stuff from your local cache. This is not a great design, but it is what it is. | Checksums didn't match for dataset source | ## Dataset viewer issue for 'wiki_lingua*'
**Link:** *link to the dataset viewer page*
`data = datasets.load_dataset("wiki_lingua", name=language, split="train[:2000]")
`
*short description of the issue*
```
[NonMatchingChecksumError: Checksums didn't match for dataset source files:
['https://drive.google.co... | 37 | Checksums didn't match for dataset source
## Dataset viewer issue for 'wiki_lingua*'
**Link:** *link to the dataset viewer page*
`data = datasets.load_dataset("wiki_lingua", name=language, split="train[:2000]")
`
*short description of the issue*
```
[NonMatchingChecksumError: Checksums didn't match for data... | [
-0.25690317153930664,
0.27267181873321533,
-0.08625085651874542,
0.302113801240921,
0.26448431611061096,
0.11480075120925903,
0.408847451210022,
0.39511770009994507,
0.24586978554725647,
0.14959469437599182,
0.036073945462703705,
-0.0075297243893146515,
0.10224313288927078,
0.2694888710975... |
https://github.com/huggingface/datasets/issues/3792 | We have fixed the issues with the datasets:
- wider_face: by hosting their data files on the HuggingFace Hub (CC: @HosseynGT)
- fever: by updating to their new data URLs (CC: @MoritzLaurer) | Checksums didn't match for dataset source | ## Dataset viewer issue for 'wiki_lingua*'
**Link:** *link to the dataset viewer page*
`data = datasets.load_dataset("wiki_lingua", name=language, split="train[:2000]")
`
*short description of the issue*
```
[NonMatchingChecksumError: Checksums didn't match for dataset source files:
['https://drive.google.co... | 32 | Checksums didn't match for dataset source
## Dataset viewer issue for 'wiki_lingua*'
**Link:** *link to the dataset viewer page*
`data = datasets.load_dataset("wiki_lingua", name=language, split="train[:2000]")
`
*short description of the issue*
```
[NonMatchingChecksumError: Checksums didn't match for data... | [
-0.1367461085319519,
0.007839769124984741,
-0.06457869708538055,
0.4054689109325409,
0.14974236488342285,
-0.0351611003279686,
0.2704281210899353,
0.23103229701519012,
0.24462692439556122,
0.17758691310882568,
-0.14814001321792603,
-0.008374236524105072,
0.017794981598854065,
0.23424303531... |
https://github.com/huggingface/datasets/issues/3792 | This is a super-common failure mode. We really need to find a better workaround. My solution was to wait until the owner of the dataset in question did the right thing, and then I had to delete my cached versions of the datasets with the bad checksums. I don't understand why this happens. Would it be possible to ma... | Checksums didn't match for dataset source | ## Dataset viewer issue for 'wiki_lingua*'
**Link:** *link to the dataset viewer page*
`data = datasets.load_dataset("wiki_lingua", name=language, split="train[:2000]")
`
*short description of the issue*
```
[NonMatchingChecksumError: Checksums didn't match for dataset source files:
['https://drive.google.co... | 141 | Checksums didn't match for dataset source
## Dataset viewer issue for 'wiki_lingua*'
**Link:** *link to the dataset viewer page*
`data = datasets.load_dataset("wiki_lingua", name=language, split="train[:2000]")
`
*short description of the issue*
```
[NonMatchingChecksumError: Checksums didn't match for data... | [
-0.09712238609790802,
0.3189548850059509,
-0.028202049434185028,
0.22159157693386078,
0.19869273900985718,
0.08320017158985138,
0.3360259532928467,
0.24195808172225952,
0.1373060643672943,
0.16846519708633423,
0.1563127189874649,
-0.0744810402393341,
0.007777441293001175,
-0.01449112594127... |
https://github.com/huggingface/datasets/issues/3792 | Same for [DART dataset](https://huggingface.co/datasets/dart):
```
NonMatchingChecksumError: Checksums didn't match for dataset source files:
['https://raw.githubusercontent.com/Yale-LILY/dart/master/data/v1.1.1/dart-v1.1.1-full-train.json', 'https://raw.githubusercontent.com/Yale-LILY/dart/master/data/v1.1.1/dart-v... | Checksums didn't match for dataset source | ## Dataset viewer issue for 'wiki_lingua*'
**Link:** *link to the dataset viewer page*
`data = datasets.load_dataset("wiki_lingua", name=language, split="train[:2000]")
`
*short description of the issue*
```
[NonMatchingChecksumError: Checksums didn't match for dataset source files:
['https://drive.google.co... | 17 | Checksums didn't match for dataset source
## Dataset viewer issue for 'wiki_lingua*'
**Link:** *link to the dataset viewer page*
`data = datasets.load_dataset("wiki_lingua", name=language, split="train[:2000]")
`
*short description of the issue*
```
[NonMatchingChecksumError: Checksums didn't match for data... | [
-0.2983855605125427,
0.12929534912109375,
-0.13606999814510345,
0.23197558522224426,
0.2373996078968048,
-0.026150405406951904,
0.19052456319332123,
0.38633978366851807,
0.12417277693748474,
-0.02603994309902191,
-0.03466268628835678,
0.13166223466396332,
0.10376374423503876,
0.04953546822... |
https://github.com/huggingface/datasets/issues/3792 | - @thesofakillers the issue with `exams` was fixed on 16 Aug by this PR:
- #4853
- @Aktsvigun the issue with `dart` has been transferred to the Hub: https://huggingface.co/datasets/dart/discussions/1
- and fixed by PR: https://huggingface.co/datasets/dart/discussions/2
- @Carol-gutianle the issue with `multi_ne... | Checksums didn't match for dataset source | ## Dataset viewer issue for 'wiki_lingua*'
**Link:** *link to the dataset viewer page*
`data = datasets.load_dataset("wiki_lingua", name=language, split="train[:2000]")
`
*short description of the issue*
```
[NonMatchingChecksumError: Checksums didn't match for dataset source files:
['https://drive.google.co... | 86 | Checksums didn't match for dataset source
## Dataset viewer issue for 'wiki_lingua*'
**Link:** *link to the dataset viewer page*
`data = datasets.load_dataset("wiki_lingua", name=language, split="train[:2000]")
`
*short description of the issue*
```
[NonMatchingChecksumError: Checksums didn't match for data... | [
-0.21696126461029053,
0.0834558755159378,
-0.1557691991329193,
0.23506897687911987,
0.383417010307312,
-0.06602109223604202,
0.32946979999542236,
0.4194856882095337,
0.1752806305885315,
0.11724361777305603,
0.05562453716993332,
0.16826891899108887,
0.14824888110160828,
0.14849118888378143,... |
https://github.com/huggingface/datasets/issues/3788 | I see two options:
1. drop the "dev" keyword since it can be considered too generic
2. improve the pattern to something more reasonable, e.g. asking for a separator before and after "dev"
```python
["*[ ._-]dev[ ._-]*", "dev[ ._-]*"]
```
I think 2. is nice. If we agree on this one we can even decide to require ... | Only-data dataset loaded unexpectedly as validation split | ## Describe the bug
As reported by @thomasw21 and @lhoestq, a dataset containing only a data file whose name matches the pattern `*dev*` will be returned as VALIDATION split, even if this is not the desired behavior, e.g. a file named `datosdevision.jsonl.gz`. | 67 | Only-data dataset loaded unexpectedly as validation split
## Describe the bug
As reported by @thomasw21 and @lhoestq, a dataset containing only a data file whose name matches the pattern `*dev*` will be returned as VALIDATION split, even if this is not the desired behavior, e.g. a file named `datosdevision.jsonl.gz`... | [
0.0001985505223274231,
-0.02233216166496277,
-0.0004890970885753632,
0.03128055855631828,
0.21911486983299255,
-0.2004985213279724,
0.24112862348556519,
0.571353018283844,
-0.25729548931121826,
-0.13796311616897583,
0.14218685030937195,
0.17518922686576843,
-0.1989680379629135,
0.218500733... |
https://github.com/huggingface/datasets/issues/3788 | Yes, I had something like that on mind: "dev" not being part of a word.
```
"[^a-zA-Z]dev[^a-zA-Z]" | Only-data dataset loaded unexpectedly as validation split | ## Describe the bug
As reported by @thomasw21 and @lhoestq, a dataset containing only a data file whose name matches the pattern `*dev*` will be returned as VALIDATION split, even if this is not the desired behavior, e.g. a file named `datosdevision.jsonl.gz`. | 17 | Only-data dataset loaded unexpectedly as validation split
## Describe the bug
As reported by @thomasw21 and @lhoestq, a dataset containing only a data file whose name matches the pattern `*dev*` will be returned as VALIDATION split, even if this is not the desired behavior, e.g. a file named `datosdevision.jsonl.gz`... | [
-0.08800218999385834,
0.027918741106987,
-0.027738144621253014,
0.1770329773426056,
0.1313004493713379,
-0.20753419399261475,
0.19297125935554504,
0.504643440246582,
-0.2156710922718048,
-0.02283119410276413,
0.05925002694129944,
0.23835338652133942,
-0.02684609778225422,
0.102932557463645... |
https://github.com/huggingface/datasets/issues/3788 | Is there a reason why we want that regex? It feels like something that'll still be an issue for some weird case. "my_dataset_dev" doesn't match your regex, "my_dataset_validation" doesn't either ... Why not always "train" unless specified? | Only-data dataset loaded unexpectedly as validation split | ## Describe the bug
As reported by @thomasw21 and @lhoestq, a dataset containing only a data file whose name matches the pattern `*dev*` will be returned as VALIDATION split, even if this is not the desired behavior, e.g. a file named `datosdevision.jsonl.gz`. | 37 | Only-data dataset loaded unexpectedly as validation split
## Describe the bug
As reported by @thomasw21 and @lhoestq, a dataset containing only a data file whose name matches the pattern `*dev*` will be returned as VALIDATION split, even if this is not the desired behavior, e.g. a file named `datosdevision.jsonl.gz`... | [
-0.12743332982063293,
0.04633656144142151,
0.013926006853580475,
-0.06719376146793365,
0.19075599312782288,
-0.09639127552509308,
0.5693850517272949,
0.5711494088172913,
-0.2740079462528229,
-0.0007300972938537598,
0.09033099561929703,
0.05871691182255745,
-0.17910504341125488,
0.122372440... |
https://github.com/huggingface/datasets/issues/3788 | The regex is needed as part of our effort to make datasets configurable without code. In particular we define some generic dataset repository structures that users can follow
> ```
> "[^a-zA-Z]*dev[^a-zA-Z]*"
> ```
unfortunately our glob doesn't support "^":
https://github.com/fsspec/filesystem_spec/blob/3e... | Only-data dataset loaded unexpectedly as validation split | ## Describe the bug
As reported by @thomasw21 and @lhoestq, a dataset containing only a data file whose name matches the pattern `*dev*` will be returned as VALIDATION split, even if this is not the desired behavior, e.g. a file named `datosdevision.jsonl.gz`. | 41 | Only-data dataset loaded unexpectedly as validation split
## Describe the bug
As reported by @thomasw21 and @lhoestq, a dataset containing only a data file whose name matches the pattern `*dev*` will be returned as VALIDATION split, even if this is not the desired behavior, e.g. a file named `datosdevision.jsonl.gz`... | [
-0.2896314859390259,
0.18274997174739838,
0.0006293654441833496,
0.17758888006210327,
0.165361687541008,
-0.21842294931411743,
0.20605286955833435,
0.526122510433197,
-0.18241971731185913,
-0.007453523576259613,
-0.04463273659348488,
0.03487643972039223,
-0.05559413135051727,
0.27948641777... |
https://github.com/huggingface/datasets/issues/3788 | > "my_dataset_dev" doesn't match your regex, "my_dataset_validation" doesn't either ... Why not always "train" unless specified?
And `my_dataset_dev.foo` would match the pattern, and we also have the same pattern but for the "validation" keyword so `my_dataset_validation.foo` would work too | Only-data dataset loaded unexpectedly as validation split | ## Describe the bug
As reported by @thomasw21 and @lhoestq, a dataset containing only a data file whose name matches the pattern `*dev*` will be returned as VALIDATION split, even if this is not the desired behavior, e.g. a file named `datosdevision.jsonl.gz`. | 39 | Only-data dataset loaded unexpectedly as validation split
## Describe the bug
As reported by @thomasw21 and @lhoestq, a dataset containing only a data file whose name matches the pattern `*dev*` will be returned as VALIDATION split, even if this is not the desired behavior, e.g. a file named `datosdevision.jsonl.gz`... | [
-0.22089821100234985,
0.08572664856910706,
-0.034768857061862946,
0.11357901990413666,
0.18091410398483276,
-0.09965245425701141,
0.3154064118862152,
0.5672200322151184,
-0.18939293920993805,
-0.08389506489038467,
0.16459016501903534,
0.20880095660686493,
-0.12983232736587524,
0.1652337312... |
https://github.com/huggingface/datasets/issues/3788 | > The regex is needed as part of our effort to make datasets configurable without code
This feels like coding with the filename ^^' | Only-data dataset loaded unexpectedly as validation split | ## Describe the bug
As reported by @thomasw21 and @lhoestq, a dataset containing only a data file whose name matches the pattern `*dev*` will be returned as VALIDATION split, even if this is not the desired behavior, e.g. a file named `datosdevision.jsonl.gz`. | 24 | Only-data dataset loaded unexpectedly as validation split
## Describe the bug
As reported by @thomasw21 and @lhoestq, a dataset containing only a data file whose name matches the pattern `*dev*` will be returned as VALIDATION split, even if this is not the desired behavior, e.g. a file named `datosdevision.jsonl.gz`... | [
-0.25342628359794617,
0.1374664604663849,
-0.06335338950157166,
0.13250350952148438,
0.153875470161438,
-0.11227449029684067,
0.2060326486825943,
0.5831242799758911,
-0.13597255945205688,
-0.039746612310409546,
0.017430379986763,
0.19663380086421967,
-0.014410978183150291,
0.19116698205471... |
https://github.com/huggingface/datasets/issues/3788 | This is still much easier than having to write a full dataset script right ? :p | Only-data dataset loaded unexpectedly as validation split | ## Describe the bug
As reported by @thomasw21 and @lhoestq, a dataset containing only a data file whose name matches the pattern `*dev*` will be returned as VALIDATION split, even if this is not the desired behavior, e.g. a file named `datosdevision.jsonl.gz`. | 16 | Only-data dataset loaded unexpectedly as validation split
## Describe the bug
As reported by @thomasw21 and @lhoestq, a dataset containing only a data file whose name matches the pattern `*dev*` will be returned as VALIDATION split, even if this is not the desired behavior, e.g. a file named `datosdevision.jsonl.gz`... | [
-0.3309621214866638,
0.07038556039333344,
-0.10609455406665802,
0.12775370478630066,
0.19297045469284058,
-0.10530861467123032,
0.28017011284828186,
0.5553883910179138,
-0.007397230714559555,
0.10581191629171371,
0.1400856077671051,
0.269392192363739,
0.044825296849012375,
0.22971637547016... |
https://github.com/huggingface/datasets/issues/3786 | Once the PR merged into master and until our next `datasets` library release, you can get this fix by installing our library from the GitHub master branch:
```shell
pip install git+https://github.com/huggingface/datasets#egg=datasets
```
Then, if you had previously tried to load the data and got the checksum error,... | Bug downloading Virus scan warning page from Google Drive URLs | ## Describe the bug
Recently, some issues were reported with URLs from Google Drive, where we were downloading the Virus scan warning page instead of the data file itself.
See:
- #3758
- #3773
- #3784
| 77 | Bug downloading Virus scan warning page from Google Drive URLs
## Describe the bug
Recently, some issues were reported with URLs from Google Drive, where we were downloading the Virus scan warning page instead of the data file itself.
See:
- #3758
- #3773
- #3784
Once the PR merged into master and until o... | [
-0.14111566543579102,
0.014848396182060242,
-0.04893706366419792,
0.24520733952522278,
0.2049027979373932,
0.0718996524810791,
0.11733201891183853,
0.20772549510002136,
0.37140196561813354,
0.19622601568698883,
-0.06607630848884583,
-0.1588381826877594,
0.10402509570121765,
0.3147515654563... |
https://github.com/huggingface/datasets/issues/3784 | Glad to help @albertvillanova! Just fine-tuning the PR, will comment once I am able to get it up and running 😀 | Unable to Download CNN-Dailymail Dataset | ## Describe the bug
I am unable to download the CNN-Dailymail dataset. Upon closer investigation, I realised why this was happening:
- The dataset sits in Google Drive, and both the CNN and DM datasets are large.
- Google is unable to scan the folder for viruses, **so the link which would originally download the dat... | 21 | Unable to Download CNN-Dailymail Dataset
## Describe the bug
I am unable to download the CNN-Dailymail dataset. Upon closer investigation, I realised why this was happening:
- The dataset sits in Google Drive, and both the CNN and DM datasets are large.
- Google is unable to scan the folder for viruses, **so the ... | [
-0.09047683328390121,
0.06383596360683441,
-0.06501317024230957,
0.37730082869529724,
0.24847251176834106,
0.2562352418899536,
0.30846184492111206,
0.13527417182922363,
-0.17734187841415405,
0.1261962652206421,
-0.07416315376758575,
-0.017221786081790924,
-0.2994995713233948,
0.07117854803... |
https://github.com/huggingface/datasets/issues/3778 | Hi @Darshan2104, thanks for reporting.
Please note that at Hugging Face we do not host the data of this dataset, but just a loading script pointing to the host of the data owners.
Apparently the data owners changed their data host server. After googling it, I found their new website at: https://lil.nlp.cornell.ed... | Not be able to download dataset - "Newsroom" | Hello,
I tried to download the **newsroom** dataset but it didn't work out for me. it said me to **download it manually**!
For manually, Link is also didn't work! It is sawing some ad or something!
If anybody has solved this issue please help me out or if somebody has this dataset please share your google driv... | 64 | Not be able to download dataset - "Newsroom"
Hello,
I tried to download the **newsroom** dataset but it didn't work out for me. it said me to **download it manually**!
For manually, Link is also didn't work! It is sawing some ad or something!
If anybody has solved this issue please help me out or if somebody... | [
-0.26750099658966064,
0.322122722864151,
-0.005487564951181412,
0.20531624555587769,
0.15944580733776093,
0.2996755838394165,
0.025815673172473907,
0.31091392040252686,
0.12142731249332428,
-0.0735158920288086,
-0.08823466300964355,
-0.1992519050836563,
-0.10556168854236603,
0.271618217229... |
https://github.com/huggingface/datasets/issues/3776 | Hi @jvanz, thank you for your proposal.
In fact, we are aware that it is very common the problem you mention. Because of that, we are currently working in implementing a new version of wikipedia on the Hub, with all data preprocessed (no need to use Apache Beam), from where you will be able to use `data_files` to lo... | Allow download only some files from the Wikipedia dataset | **Is your feature request related to a problem? Please describe.**
The Wikipedia dataset can be really big. This is a problem if you want to use it locally in a laptop with the Apache Beam `DirectRunner`. Even if your laptop have a considerable amount of memory (e.g. 32gb).
**Describe the solution you'd like**
I... | 70 | Allow download only some files from the Wikipedia dataset
**Is your feature request related to a problem? Please describe.**
The Wikipedia dataset can be really big. This is a problem if you want to use it locally in a laptop with the Apache Beam `DirectRunner`. Even if your laptop have a considerable amount of memo... | [
-0.21162107586860657,
0.05048535764217377,
-0.10688216239213943,
0.3503217101097107,
-0.045314688235521317,
0.10915061831474304,
0.023388907313346863,
0.6189420819282532,
0.4418046474456787,
0.11887206137180328,
-0.09599859267473221,
0.1892416775226593,
0.05429280549287796,
-0.054135091602... |
https://github.com/huggingface/datasets/issues/3773 | @albertvillanova Thank you for the fast response! However I am still getting the same error:
Downloading: 2.23kB [00:00, ?B/s]
Traceback (most recent call last):
File "C:\Users\Anna\PycharmProjects\summarization\main.py", line 17, in <module>
dataset = load_dataset('reddit_tifu', 'long')
File "C:\Users\A... | Checksum mismatch for the reddit_tifu dataset | ## Describe the bug
A checksum occurs when downloading the reddit_tifu data (both long & short).
## Steps to reproduce the bug
reddit_tifu_dataset = load_dataset('reddit_tifu', 'long')
## Expected results
The expected result is for the dataset to be downloaded and cached locally.
## Actual results
File "... | 112 | Checksum mismatch for the reddit_tifu dataset
## Describe the bug
A checksum occurs when downloading the reddit_tifu data (both long & short).
## Steps to reproduce the bug
reddit_tifu_dataset = load_dataset('reddit_tifu', 'long')
## Expected results
The expected result is for the dataset to be downloaded an... | [
-0.26124635338783264,
0.3078196048736572,
-0.03472059220075607,
0.29327917098999023,
0.2877584397792816,
-0.015363134443759918,
0.07713289558887482,
0.4611121416091919,
0.0030727162957191467,
0.04997870326042175,
-0.07861131429672241,
0.13780654966831207,
0.4236307740211487,
0.140780210494... |
https://github.com/huggingface/datasets/issues/3773 | Hi @anna-kay, I'm sorry I didn't clearly explain the details to you:
- the error has been fixed in our `master` branch on GitHub: https://github.com/huggingface/datasets/commit/8ae21bf6a77175dc803ce2f1b93d18b8fbf45586
- the fix will not be accessible to users in PyPI until our next release of the `datasets` library
... | Checksum mismatch for the reddit_tifu dataset | ## Describe the bug
A checksum occurs when downloading the reddit_tifu data (both long & short).
## Steps to reproduce the bug
reddit_tifu_dataset = load_dataset('reddit_tifu', 'long')
## Expected results
The expected result is for the dataset to be downloaded and cached locally.
## Actual results
File "... | 79 | Checksum mismatch for the reddit_tifu dataset
## Describe the bug
A checksum occurs when downloading the reddit_tifu data (both long & short).
## Steps to reproduce the bug
reddit_tifu_dataset = load_dataset('reddit_tifu', 'long')
## Expected results
The expected result is for the dataset to be downloaded an... | [
-0.1900518834590912,
0.1128552258014679,
-0.07971774786710739,
0.1964418590068817,
0.32475709915161133,
-0.08116844296455383,
0.14281481504440308,
0.43338721990585327,
-0.020615410059690475,
0.06883064657449722,
-0.06491337716579437,
0.19896835088729858,
0.43937960267066956,
0.194329604506... |
https://github.com/huggingface/datasets/issues/3769 | Hi ! Indeed `map` is dropping the index right now, because one can create a dataset with more or fewer rows using `map` (and therefore the index might not be relevant anymore)
I guess we could check the resulting dataset length, and if the user hasn't changed the dataset size we could keep the index, what do you thi... | `dataset = dataset.map()` causes faiss index lost | ## Describe the bug
assigning the resulted dataset to original dataset causes lost of the faiss index
## Steps to reproduce the bug
`my_dataset` is a regular loaded dataset. It's a part of a customed dataset structure
```python
self.dataset.add_faiss_index('embeddings')
self.dataset.list_indexes()
# ['embeddin... | 60 | `dataset = dataset.map()` causes faiss index lost
## Describe the bug
assigning the resulted dataset to original dataset causes lost of the faiss index
## Steps to reproduce the bug
`my_dataset` is a regular loaded dataset. It's a part of a customed dataset structure
```python
self.dataset.add_faiss_index('emb... | [
-0.19114843010902405,
-0.06922510266304016,
-0.08018091320991516,
0.270469069480896,
0.07581929862499237,
0.34000200033187866,
0.21909263730049133,
0.21293728053569794,
0.7335782051086426,
0.23962092399597168,
-0.04684556648135185,
0.46913835406303406,
0.06907147169113159,
-0.3312779366970... |
https://github.com/huggingface/datasets/issues/3769 | doing `.add_column("x",x_data)` also removes the index. the new column might be irrelevant to the index so I don't think it should drop.
Minimal example
```python
from datasets import load_dataset
import numpy as np
data=load_dataset("ceyda/cats_vs_dogs_sample") #just a test dataset
data=data["train"]
emb... | `dataset = dataset.map()` causes faiss index lost | ## Describe the bug
assigning the resulted dataset to original dataset causes lost of the faiss index
## Steps to reproduce the bug
`my_dataset` is a regular loaded dataset. It's a part of a customed dataset structure
```python
self.dataset.add_faiss_index('embeddings')
self.dataset.list_indexes()
# ['embeddin... | 47 | `dataset = dataset.map()` causes faiss index lost
## Describe the bug
assigning the resulted dataset to original dataset causes lost of the faiss index
## Steps to reproduce the bug
`my_dataset` is a regular loaded dataset. It's a part of a customed dataset structure
```python
self.dataset.add_faiss_index('emb... | [
-0.1213967353105545,
0.015257000923156738,
-0.044568173587322235,
0.16679392755031586,
0.16001954674720764,
0.4072924852371216,
0.2641552686691284,
0.2364821583032608,
0.6856904029846191,
0.210049569606781,
-0.20901909470558167,
0.6060697436332703,
0.2054692953824997,
-0.33045515418052673,... |
https://github.com/huggingface/datasets/issues/3769 | I agree `add_column` shouldn't drop the index indeed ! Is it something you'd like to contribute ? I think it's just a matter of copying the `self._indexes` dictionary to the output dataset | `dataset = dataset.map()` causes faiss index lost | ## Describe the bug
assigning the resulted dataset to original dataset causes lost of the faiss index
## Steps to reproduce the bug
`my_dataset` is a regular loaded dataset. It's a part of a customed dataset structure
```python
self.dataset.add_faiss_index('embeddings')
self.dataset.list_indexes()
# ['embeddin... | 32 | `dataset = dataset.map()` causes faiss index lost
## Describe the bug
assigning the resulted dataset to original dataset causes lost of the faiss index
## Steps to reproduce the bug
`my_dataset` is a regular loaded dataset. It's a part of a customed dataset structure
```python
self.dataset.add_faiss_index('emb... | [
-0.16240689158439636,
-0.00607725977897644,
-0.050822556018829346,
0.19401918351650238,
0.15720151364803314,
0.3615514636039734,
0.20458438992500305,
0.2335793375968933,
0.7304723262786865,
0.21505936980247498,
-0.21325556933879852,
0.6136103868484497,
0.1274130642414093,
-0.22904504835605... |
https://github.com/huggingface/datasets/issues/3763 | Hi @jvanz, thanks for reporting.
Please note that Wikimedia website does not longer host Wikipedia dumps for so old dates.
For a list of accessible dump dates of `pt` Wikipedia, please see: https://dumps.wikimedia.org/ptwiki/
You can load for example `20220220` `pt` Wikipedia:
```python
dataset = load_datase... | It's not possible download `20200501.pt` dataset | ## Describe the bug
The dataset `20200501.pt` is broken.
The available datasets: https://dumps.wikimedia.org/ptwiki/
## Steps to reproduce the bug
```python
from datasets import load_dataset
dataset = load_dataset("wikipedia", "20200501.pt", beam_runner='DirectRunner')
```
## Expected results
I expect t... | 49 | It's not possible download `20200501.pt` dataset
## Describe the bug
The dataset `20200501.pt` is broken.
The available datasets: https://dumps.wikimedia.org/ptwiki/
## Steps to reproduce the bug
```python
from datasets import load_dataset
dataset = load_dataset("wikipedia", "20200501.pt", beam_runner='Dir... | [
-0.3223347067832947,
-0.13154982030391693,
-0.09835229814052582,
0.3211587369441986,
0.25045299530029297,
0.15006563067436218,
0.04972380772233009,
0.45896267890930176,
0.09252013266086578,
0.1612989902496338,
0.10031784325838089,
0.354709267616272,
0.01758050173521042,
0.13518814742565155... |
https://github.com/huggingface/datasets/issues/3763 | > ```python
> dataset = load_dataset("wikipedia", language="pt", date="20220220", beam_runner="DirectRunner")
> ```
Thank you! I did not know that I can do this. I was following the example in the error message when I do not define which language dataset I'm trying to download.
I've tried something similar chan... | It's not possible download `20200501.pt` dataset | ## Describe the bug
The dataset `20200501.pt` is broken.
The available datasets: https://dumps.wikimedia.org/ptwiki/
## Steps to reproduce the bug
```python
from datasets import load_dataset
dataset = load_dataset("wikipedia", "20200501.pt", beam_runner='DirectRunner')
```
## Expected results
I expect t... | 85 | It's not possible download `20200501.pt` dataset
## Describe the bug
The dataset `20200501.pt` is broken.
The available datasets: https://dumps.wikimedia.org/ptwiki/
## Steps to reproduce the bug
```python
from datasets import load_dataset
dataset = load_dataset("wikipedia", "20200501.pt", beam_runner='Dir... | [
-0.3223347067832947,
-0.13154982030391693,
-0.09835229814052582,
0.3211587369441986,
0.25045299530029297,
0.15006563067436218,
0.04972380772233009,
0.45896267890930176,
0.09252013266086578,
0.1612989902496338,
0.10031784325838089,
0.354709267616272,
0.01758050173521042,
0.13518814742565155... |
https://github.com/huggingface/datasets/issues/3762 | Hi @Dref360, thanks a lot for your proposal.
It totally makes sense to have more flexibility when class encoding, I agree.
You could even further customize the class encoding by passing an instance of `ClassLabel` itself (instead of replicating `ClassLabel` instantiation arguments as `Dataset.class_encode_column`... | `Dataset.class_encode` should support custom class names | I can make a PR, just wanted approval before starting.
**Is your feature request related to a problem? Please describe.**
It is often the case that classes are not ordered in alphabetical order. Current `class_encode_column` sort the classes before indexing.
https://github.com/huggingface/datasets/blob/master/sr... | 62 | `Dataset.class_encode` should support custom class names
I can make a PR, just wanted approval before starting.
**Is your feature request related to a problem? Please describe.**
It is often the case that classes are not ordered in alphabetical order. Current `class_encode_column` sort the classes before indexi... | [
0.21428176760673523,
0.11984610557556152,
0.03736709803342819,
0.1522606760263443,
0.4958593547344208,
0.2522532343864441,
0.2703290283679962,
0.11935632675886154,
-0.008050762116909027,
0.15551605820655823,
0.0997145026922226,
0.6819638013839722,
-0.20788651704788208,
0.15024270117282867,... |
https://github.com/huggingface/datasets/issues/3762 | Hi @Dref360! You can use [`Dataset.align_labels_with_mapping`](https://huggingface.co/docs/datasets/master/package_reference/main_classes.html#datasets.Dataset.align_labels_with_mapping) after `Dataset.class_encode_column` to assign a different mapping of labels to ids.
@albertvillanova I'd like to avoid adding more... | `Dataset.class_encode` should support custom class names | I can make a PR, just wanted approval before starting.
**Is your feature request related to a problem? Please describe.**
It is often the case that classes are not ordered in alphabetical order. Current `class_encode_column` sort the classes before indexing.
https://github.com/huggingface/datasets/blob/master/sr... | 47 | `Dataset.class_encode` should support custom class names
I can make a PR, just wanted approval before starting.
**Is your feature request related to a problem? Please describe.**
It is often the case that classes are not ordered in alphabetical order. Current `class_encode_column` sort the classes before indexi... | [
0.19947434961795807,
-0.011508837342262268,
0.05015469342470169,
0.10149255394935608,
0.3611447513103485,
0.2609221935272217,
0.21678808331489563,
0.02555045485496521,
0.0818389430642128,
0.11730684340000153,
0.00869746133685112,
0.6595109105110168,
-0.1692371368408203,
0.12703275680541992... |
https://github.com/huggingface/datasets/issues/3761 | Hi @Muhtasham you should take a look at https://huggingface.co/blog/data-measurements-tool and accompanying demo app at https://huggingface.co/spaces/huggingface/data-measurements-tool
We would be interested in your feedback. cc @meg-huggingface @sashavor @yjernite | Know your data for HF hub | **Is your feature request related to a problem? Please describe.**
Would be great to see be able to understand datasets with the goal of improving data quality, and helping mitigate fairness and bias issues.
**Describe the solution you'd like**
Something like https://knowyourdata.withgoogle.com/ for HF hub | 26 | Know your data for HF hub
**Is your feature request related to a problem? Please describe.**
Would be great to see be able to understand datasets with the goal of improving data quality, and helping mitigate fairness and bias issues.
**Describe the solution you'd like**
Something like https://knowyourdata.withg... | [
-0.3963147699832916,
-0.07363825291395187,
-0.12372466176748276,
0.10501950234174728,
0.06301045417785645,
-0.01451457291841507,
0.2699151039123535,
0.11311241239309311,
0.10658468306064606,
0.26364076137542725,
-0.3267322778701782,
-0.1532193273305893,
0.06927641481161118,
0.4747778177261... |
https://github.com/huggingface/datasets/issues/3760 | Hi @kingabzpro.
I think you need to create a loading script that creates the dataset from the CSV file and the image paths.
As example, you could have a look at the Food-101 dataset: https://huggingface.co/datasets/food101
- Loading script: https://huggingface.co/datasets/food101/blob/main/food101.py
Once the... | Unable to view the Gradio flagged call back dataset | ## Dataset viewer issue for '*savtadepth-flags*'
**Link:** *[savtadepth-flags](https://huggingface.co/datasets/kingabzpro/savtadepth-flags)*
*with the Gradio 2.8.1 the dataset viers stopped working. I tried to add values manually but its not working. The dataset is also not showing the link with the app https://h... | 54 | Unable to view the Gradio flagged call back dataset
## Dataset viewer issue for '*savtadepth-flags*'
**Link:** *[savtadepth-flags](https://huggingface.co/datasets/kingabzpro/savtadepth-flags)*
*with the Gradio 2.8.1 the dataset viers stopped working. I tried to add values manually but its not working. The datas... | [
-0.22326907515525818,
0.23253044486045837,
-0.011023644357919693,
0.25483378767967224,
0.30605825781822205,
0.06656458973884583,
0.23485633730888367,
0.16974711418151855,
0.2746148109436035,
-0.05335967242717743,
-0.17714449763298035,
-0.038193222135305405,
0.0027867890894412994,
0.4267013... |
https://github.com/huggingface/datasets/issues/3760 | @albertvillanova I don't think this is the issue. I have created another dataset with similar files and format and it works. https://huggingface.co/datasets/kingabzpro/savtadepth-flags-V2 | Unable to view the Gradio flagged call back dataset | ## Dataset viewer issue for '*savtadepth-flags*'
**Link:** *[savtadepth-flags](https://huggingface.co/datasets/kingabzpro/savtadepth-flags)*
*with the Gradio 2.8.1 the dataset viers stopped working. I tried to add values manually but its not working. The dataset is also not showing the link with the app https://h... | 22 | Unable to view the Gradio flagged call back dataset
## Dataset viewer issue for '*savtadepth-flags*'
**Link:** *[savtadepth-flags](https://huggingface.co/datasets/kingabzpro/savtadepth-flags)*
*with the Gradio 2.8.1 the dataset viers stopped working. I tried to add values manually but its not working. The datas... | [
-0.23019087314605713,
0.23274654150009155,
0.01791161298751831,
0.2585228383541107,
0.32055631279945374,
0.04207049310207367,
0.28429368138313293,
0.18225809931755066,
0.14921259880065918,
-0.025671973824501038,
-0.26158618927001953,
-0.04263363778591156,
-0.027521252632141113,
0.254026919... |
https://github.com/huggingface/datasets/issues/3760 | Yes, you are right, that was not the issue.
Just take into account that sometimes the viewer can take some time until it shows the preview of the dataset.
After some time, yours is finally properly shown: https://huggingface.co/datasets/kingabzpro/savtadepth-flags | Unable to view the Gradio flagged call back dataset | ## Dataset viewer issue for '*savtadepth-flags*'
**Link:** *[savtadepth-flags](https://huggingface.co/datasets/kingabzpro/savtadepth-flags)*
*with the Gradio 2.8.1 the dataset viers stopped working. I tried to add values manually but its not working. The dataset is also not showing the link with the app https://h... | 38 | Unable to view the Gradio flagged call back dataset
## Dataset viewer issue for '*savtadepth-flags*'
**Link:** *[savtadepth-flags](https://huggingface.co/datasets/kingabzpro/savtadepth-flags)*
*with the Gradio 2.8.1 the dataset viers stopped working. I tried to add values manually but its not working. The datas... | [
-0.2451806366443634,
0.21727007627487183,
-0.010067515075206757,
0.14859899878501892,
0.3047354519367218,
-0.0232698917388916,
0.33883798122406006,
0.19041384756565094,
0.142171248793602,
-0.04037165641784668,
-0.24858945608139038,
-0.04165179282426834,
0.04247567802667618,
0.3279088735580... |
https://github.com/huggingface/datasets/issues/3760 | The problem was resolved by deleted the dataset and creating new one with similar name and then clicking on flag button. | Unable to view the Gradio flagged call back dataset | ## Dataset viewer issue for '*savtadepth-flags*'
**Link:** *[savtadepth-flags](https://huggingface.co/datasets/kingabzpro/savtadepth-flags)*
*with the Gradio 2.8.1 the dataset viers stopped working. I tried to add values manually but its not working. The dataset is also not showing the link with the app https://h... | 21 | Unable to view the Gradio flagged call back dataset
## Dataset viewer issue for '*savtadepth-flags*'
**Link:** *[savtadepth-flags](https://huggingface.co/datasets/kingabzpro/savtadepth-flags)*
*with the Gradio 2.8.1 the dataset viers stopped working. I tried to add values manually but its not working. The datas... | [
-0.2355167120695114,
0.2943938374519348,
0.006048019975423813,
0.2653234899044037,
0.26509618759155273,
0.06377632915973663,
0.32670292258262634,
0.2095133513212204,
0.17001836001873016,
-0.03647909313440323,
-0.2569233179092407,
0.0024182572960853577,
-0.013450045138597488,
0.258908748626... |
https://github.com/huggingface/datasets/issues/3758 | We usually find issues with files hosted at Google Drive...
In this case we download the Google Drive Virus scan warning instead of the data file. | head_qa file missing | ## Describe the bug
A file for the `head_qa` dataset is missing (https://drive.google.com/u/0/uc?export=download&id=1a_95N5zQQoUCq8IBNVZgziHbeM-QxG2t/HEAD_EN/train_HEAD_EN.json)
## Steps to reproduce the bug
```python
>>> from datasets import load_dataset
>>> load_dataset("head_qa", name="en")
```
## Expec... | 26 | head_qa file missing
## Describe the bug
A file for the `head_qa` dataset is missing (https://drive.google.com/u/0/uc?export=download&id=1a_95N5zQQoUCq8IBNVZgziHbeM-QxG2t/HEAD_EN/train_HEAD_EN.json)
## Steps to reproduce the bug
```python
>>> from datasets import load_dataset
>>> load_dataset("head_qa", name... | [
-0.1781007945537567,
-0.05221328139305115,
-0.0929788276553154,
0.26172685623168945,
0.3136710226535797,
0.37970757484436035,
0.19415788352489471,
0.46212512254714966,
0.1194373220205307,
0.2630707025527954,
0.19509536027908325,
0.08924448490142822,
0.13790419697761536,
-0.0750946700572967... |
https://github.com/huggingface/datasets/issues/3756 | Hi! If I'm not mistaken, this behavior is intentional, but I agree it could be more intuitive.
@albertvillanova Do you remember why you decided not to decode columns in the `Audio` feature PR when `input_columns` is not `None`? IMO we should decode those columns, and we don't even have to use lazy structures here be... | Images get decoded when using `map()` with `input_columns` argument on a dataset | ## Describe the bug
The `datasets.features.Image` feature class decodes image data by default. Expectedly, when indexing a dataset or using the `map()` method, images are returned as PIL Image instances.
However, when calling `map()` and setting a specific data column with the `input_columns` argument, the image ... | 68 | Images get decoded when using `map()` with `input_columns` argument on a dataset
## Describe the bug
The `datasets.features.Image` feature class decodes image data by default. Expectedly, when indexing a dataset or using the `map()` method, images are returned as PIL Image instances.
However, when calling `map(... | [
-0.07112167775630951,
-0.19424036145210266,
-0.04747999459505081,
0.48886168003082275,
0.6329940557479858,
0.15641041100025177,
0.3611624538898468,
0.25035616755485535,
0.14878839254379272,
0.05759750306606293,
-0.15274962782859802,
0.6728753447532654,
0.07778863608837128,
-0.4829198122024... |
https://github.com/huggingface/datasets/issues/3756 | I think I excluded to decorate the function when `input_columns` were passed as a quick fix for some non-passing tests:
- https://github.com/huggingface/datasets/pull/2324/commits/9d7c3e8fa53e23ec636859b4407eeec904b1b3f9
That PR was quite complex and I decided to focus on the main feature requests, leaving refinem... | Images get decoded when using `map()` with `input_columns` argument on a dataset | ## Describe the bug
The `datasets.features.Image` feature class decodes image data by default. Expectedly, when indexing a dataset or using the `map()` method, images are returned as PIL Image instances.
However, when calling `map()` and setting a specific data column with the `input_columns` argument, the image ... | 92 | Images get decoded when using `map()` with `input_columns` argument on a dataset
## Describe the bug
The `datasets.features.Image` feature class decodes image data by default. Expectedly, when indexing a dataset or using the `map()` method, images are returned as PIL Image instances.
However, when calling `map(... | [
-0.08052414655685425,
-0.20477727055549622,
-0.05202524736523628,
0.48604464530944824,
0.5501019358634949,
0.18303324282169342,
0.3367611765861511,
0.30666711926460266,
0.16873283684253693,
-0.024067454040050507,
-0.01821829378604889,
0.6525538563728333,
0.0815848857164383,
-0.387156009674... |
https://github.com/huggingface/datasets/issues/3755 | Thanks for reporting. The dataset viewer depends on some backend treatments, and for now, they might take some hours to get processed. We're working on improving it. | Cannot preview dataset | ## Dataset viewer issue for '*rubrix/news*'
**Link:https://huggingface.co/datasets/rubrix/news** *link to the dataset viewer page*
Cannot see the dataset preview:
```
Status code: 400
Exception: Status400Error
Message: Not found. Cache is waiting to be refreshed.
```
Am I the one who added thi... | 27 | Cannot preview dataset
## Dataset viewer issue for '*rubrix/news*'
**Link:https://huggingface.co/datasets/rubrix/news** *link to the dataset viewer page*
Cannot see the dataset preview:
```
Status code: 400
Exception: Status400Error
Message: Not found. Cache is waiting to be refreshed.
```
A... | [
-0.3031066656112671,
-0.24690958857536316,
-0.013834148645401001,
0.3150569796562195,
0.11466421186923981,
0.3597426116466522,
0.10625480860471725,
0.40120548009872437,
0.08188840746879578,
0.0675460547208786,
-0.18984279036521912,
0.18304789066314697,
0.027365218847990036,
-0.179265975952... |
https://github.com/huggingface/datasets/issues/3753 | Cool ! `filter` will be very useful. There can be a filter that you can apply on a streaming dataset:
```python
load_dataset(..., streaming=True).filter(lambda x: x["lang"] == "sw")
```
Otherwise if you want to apply a filter on the source files that are going to be used for streaming, the logic has to be impIeme... | Expanding streaming capabilities | Some ideas for a few features that could be useful when working with large datasets in streaming mode.
## `filter` for `IterableDataset`
Adding filtering to streaming datasets would be useful in several scenarios:
- filter a dataset with many languages for a subset of languages
- filter a dataset for specific li... | 160 | Expanding streaming capabilities
Some ideas for a few features that could be useful when working with large datasets in streaming mode.
## `filter` for `IterableDataset`
Adding filtering to streaming datasets would be useful in several scenarios:
- filter a dataset with many languages for a subset of languages
... | [
-0.6017639636993408,
-0.34287285804748535,
-0.17725667357444763,
-0.12173210084438324,
0.09503383934497833,
-0.029509417712688446,
0.007895858027040958,
0.42718803882598877,
0.2996823489665985,
0.13163655996322632,
-0.246366947889328,
0.1956983506679535,
-0.3171162009239197,
0.523680031299... |
https://github.com/huggingface/datasets/issues/3753 | Regarding conversion, I'd also ask for some kind of equivalent to `save_to_disk` for an `IterableDataset`.
Similarly to the streaming to hub idea, my use case would be to define a sequence of dataset transforms via `.map()`, using an `IterableDataset` as the input (so processing could start without doing whole downl... | Expanding streaming capabilities | Some ideas for a few features that could be useful when working with large datasets in streaming mode.
## `filter` for `IterableDataset`
Adding filtering to streaming datasets would be useful in several scenarios:
- filter a dataset with many languages for a subset of languages
- filter a dataset for specific li... | 60 | Expanding streaming capabilities
Some ideas for a few features that could be useful when working with large datasets in streaming mode.
## `filter` for `IterableDataset`
Adding filtering to streaming datasets would be useful in several scenarios:
- filter a dataset with many languages for a subset of languages
... | [
-0.6017639636993408,
-0.34287285804748535,
-0.17725667357444763,
-0.12173210084438324,
0.09503383934497833,
-0.029509417712688446,
0.007895858027040958,
0.42718803882598877,
0.2996823489665985,
0.13163655996322632,
-0.246366947889328,
0.1956983506679535,
-0.3171162009239197,
0.523680031299... |
https://github.com/huggingface/datasets/issues/3753 | That makes sense @athewsey , thanks for the suggestion :)
Maybe instead of the `to_disk` we could simply have `save_to_disk` instead:
```python
streaming_dataset.save_to_disk("path/to/my/dataset/dir")
on_disk_dataset = load_from_disk("path/to/my/dataset/dir")
in_memory_dataset = Dataset.from_list(list(streamin... | Expanding streaming capabilities | Some ideas for a few features that could be useful when working with large datasets in streaming mode.
## `filter` for `IterableDataset`
Adding filtering to streaming datasets would be useful in several scenarios:
- filter a dataset with many languages for a subset of languages
- filter a dataset for specific li... | 38 | Expanding streaming capabilities
Some ideas for a few features that could be useful when working with large datasets in streaming mode.
## `filter` for `IterableDataset`
Adding filtering to streaming datasets would be useful in several scenarios:
- filter a dataset with many languages for a subset of languages
... | [
-0.6017639636993408,
-0.34287285804748535,
-0.17725667357444763,
-0.12173210084438324,
0.09503383934497833,
-0.029509417712688446,
0.007895858027040958,
0.42718803882598877,
0.2996823489665985,
0.13163655996322632,
-0.246366947889328,
0.1956983506679535,
-0.3171162009239197,
0.523680031299... |
https://github.com/huggingface/datasets/issues/3739 | Thanks for reporting, @abhi-mosaic (related to #3655).
Please note that `xml.etree.ElementTree.parse` already supports streaming:
- #3476
No need to refactor to use `open`/`xopen`. Is is enough with importing the package `as ET` (instead of `as etree`). | Pubmed dataset does not work in streaming mode | ## Describe the bug
Trying to use the `pubmed` dataset with `streaming=True` fails.
## Steps to reproduce the bug
```python
import datasets
pubmed_train = datasets.load_dataset('pubmed', split='train', streaming=True)
print (next(iter(pubmed_train)))
```
## Expected results
I would expect to see the first ... | 36 | Pubmed dataset does not work in streaming mode
## Describe the bug
Trying to use the `pubmed` dataset with `streaming=True` fails.
## Steps to reproduce the bug
```python
import datasets
pubmed_train = datasets.load_dataset('pubmed', split='train', streaming=True)
print (next(iter(pubmed_train)))
```
## E... | [
-0.2567089796066284,
-0.10767665505409241,
0.0392325296998024,
0.01826702058315277,
0.30817878246307373,
-0.029496222734451294,
0.30820271372795105,
0.3113960921764374,
-0.07021264731884003,
0.02747931331396103,
0.10315056145191193,
0.27903202176094055,
-0.15450480580329895,
0.132976338267... |
https://github.com/huggingface/datasets/issues/3738 | Note that we might change the heuristic and create a different config per file, at least in that case. | For data-only datasets, streaming and non-streaming don't behave the same | See https://huggingface.co/datasets/huggingface/transformers-metadata: it only contains two JSON files.
In streaming mode, the files are concatenated, and thus the rows might be dictionaries with different keys:
```python
import datasets as ds
iterable_dataset = ds.load_dataset("huggingface/transformers-metadat... | 19 | For data-only datasets, streaming and non-streaming don't behave the same
See https://huggingface.co/datasets/huggingface/transformers-metadata: it only contains two JSON files.
In streaming mode, the files are concatenated, and thus the rows might be dictionaries with different keys:
```python
import datasets... | [
-0.14717595279216766,
-0.6080197095870972,
0.0020138323307037354,
0.25075584650039673,
0.35946500301361084,
0.013918258249759674,
0.168721541762352,
0.21106870472431183,
0.08350597321987152,
0.08174437284469604,
-0.34203726053237915,
0.17021246254444122,
-0.11890637874603271,
0.30369052290... |
https://github.com/huggingface/datasets/issues/3738 | Hi @severo, thanks for reporting.
Yes, this happens because when non-streaming, a cast of all data is done in order to "concatenate" it all into a single dataset (thus the error), while this casting is not done while yielding item by item in streaming mode.
Maybe in streaming mode we should keep the schema (infer... | For data-only datasets, streaming and non-streaming don't behave the same | See https://huggingface.co/datasets/huggingface/transformers-metadata: it only contains two JSON files.
In streaming mode, the files are concatenated, and thus the rows might be dictionaries with different keys:
```python
import datasets as ds
iterable_dataset = ds.load_dataset("huggingface/transformers-metadat... | 74 | For data-only datasets, streaming and non-streaming don't behave the same
See https://huggingface.co/datasets/huggingface/transformers-metadata: it only contains two JSON files.
In streaming mode, the files are concatenated, and thus the rows might be dictionaries with different keys:
```python
import datasets... | [
-0.1483694612979889,
-0.5971009731292725,
0.042509570717811584,
0.3026605546474457,
0.44494253396987915,
0.034307122230529785,
0.09386199712753296,
0.2274339497089386,
-0.019862573593854904,
0.1207607313990593,
-0.2812957167625427,
0.16324351727962494,
-0.13695737719535828,
0.2652865052223... |
https://github.com/huggingface/datasets/issues/3738 | Why do we want to concatenate the files? Is it the expected behavior for most datasets that lack a script and dataset info? | For data-only datasets, streaming and non-streaming don't behave the same | See https://huggingface.co/datasets/huggingface/transformers-metadata: it only contains two JSON files.
In streaming mode, the files are concatenated, and thus the rows might be dictionaries with different keys:
```python
import datasets as ds
iterable_dataset = ds.load_dataset("huggingface/transformers-metadat... | 23 | For data-only datasets, streaming and non-streaming don't behave the same
See https://huggingface.co/datasets/huggingface/transformers-metadata: it only contains two JSON files.
In streaming mode, the files are concatenated, and thus the rows might be dictionaries with different keys:
```python
import datasets... | [
-0.12061406672000885,
-0.5383897423744202,
0.05156772583723068,
0.17058749496936798,
0.3425414264202118,
0.11740093678236008,
0.2200133353471756,
0.19887547194957733,
-0.08723486214876175,
0.1894495189189911,
-0.31705331802368164,
0.10434260964393616,
-0.01308649592101574,
0.28763261437416... |
https://github.com/huggingface/datasets/issues/3738 | These files are two different dataset configurations since they don't share the same schema.
IMO the streaming mode should fail in this case, as @albertvillanova said.
There is one challenge though: inferring the schema from the first example is not robust enough in the general case - especially if some fields ar... | For data-only datasets, streaming and non-streaming don't behave the same | See https://huggingface.co/datasets/huggingface/transformers-metadata: it only contains two JSON files.
In streaming mode, the files are concatenated, and thus the rows might be dictionaries with different keys:
```python
import datasets as ds
iterable_dataset = ds.load_dataset("huggingface/transformers-metadat... | 67 | For data-only datasets, streaming and non-streaming don't behave the same
See https://huggingface.co/datasets/huggingface/transformers-metadata: it only contains two JSON files.
In streaming mode, the files are concatenated, and thus the rows might be dictionaries with different keys:
```python
import datasets... | [
-0.2412601113319397,
-0.5383826494216919,
0.027049802243709564,
0.20546694099903107,
0.2709464430809021,
0.009080462157726288,
0.19262844324111938,
0.06340739876031876,
0.07024616003036499,
-0.07957011461257935,
-0.30117103457450867,
0.06835570931434631,
-0.25259217619895935,
0.36796978116... |
https://github.com/huggingface/datasets/issues/3738 | OK. So, if we make the streaming also fail, the dataset https://huggingface.co/datasets/huggingface/transformers-metadata will never be [viewable](https://github.com/huggingface/datasets-preview-backend/issues/144) (be it using streaming or fallback to downloading the files), right?
| For data-only datasets, streaming and non-streaming don't behave the same | See https://huggingface.co/datasets/huggingface/transformers-metadata: it only contains two JSON files.
In streaming mode, the files are concatenated, and thus the rows might be dictionaries with different keys:
```python
import datasets as ds
iterable_dataset = ds.load_dataset("huggingface/transformers-metadat... | 27 | For data-only datasets, streaming and non-streaming don't behave the same
See https://huggingface.co/datasets/huggingface/transformers-metadata: it only contains two JSON files.
In streaming mode, the files are concatenated, and thus the rows might be dictionaries with different keys:
```python
import datasets... | [
-0.14785952866077423,
-0.4494974613189697,
-0.07414168864488602,
0.2103791981935501,
0.21058864891529083,
0.05220174789428711,
0.0881875604391098,
0.0913034975528717,
-0.04079171642661095,
0.04632682353258133,
-0.30378180742263794,
0.05750610679388046,
-0.22364267706871033,
0.2117996811866... |
https://github.com/huggingface/datasets/issues/3738 | Yes, until we have a way for the user to specify explicitly that those two files are different configurations.
We can maybe have some rule to detect this automatically, maybe checking the first line of each file ? That would mean that for dataset of 10,000+ files we would have to verify every single one of them just... | For data-only datasets, streaming and non-streaming don't behave the same | See https://huggingface.co/datasets/huggingface/transformers-metadata: it only contains two JSON files.
In streaming mode, the files are concatenated, and thus the rows might be dictionaries with different keys:
```python
import datasets as ds
iterable_dataset = ds.load_dataset("huggingface/transformers-metadat... | 77 | For data-only datasets, streaming and non-streaming don't behave the same
See https://huggingface.co/datasets/huggingface/transformers-metadata: it only contains two JSON files.
In streaming mode, the files are concatenated, and thus the rows might be dictionaries with different keys:
```python
import datasets... | [
-0.3082466721534729,
-0.51841801404953,
-0.038243044167757034,
0.30868738889694214,
0.23990631103515625,
-0.17774513363838196,
0.15990056097507477,
0.2285962849855423,
0.03107752650976181,
0.14849811792373657,
-0.31343141198158264,
0.07602940499782562,
-0.23141716420650482,
0.3043786287307... |
https://github.com/huggingface/datasets/issues/3738 | i think requiring the user to specify that those two files are different configurations is in that case perfectly reasonable.
(Maybe at some point we could however detect this type of case and prompt them to define a config mapping etc) | For data-only datasets, streaming and non-streaming don't behave the same | See https://huggingface.co/datasets/huggingface/transformers-metadata: it only contains two JSON files.
In streaming mode, the files are concatenated, and thus the rows might be dictionaries with different keys:
```python
import datasets as ds
iterable_dataset = ds.load_dataset("huggingface/transformers-metadat... | 41 | For data-only datasets, streaming and non-streaming don't behave the same
See https://huggingface.co/datasets/huggingface/transformers-metadata: it only contains two JSON files.
In streaming mode, the files are concatenated, and thus the rows might be dictionaries with different keys:
```python
import datasets... | [
-0.22334441542625427,
-0.4214347004890442,
-0.0021988190710544586,
0.13391734659671783,
0.23012077808380127,
-0.003550991415977478,
0.2808353900909424,
0.16709396243095398,
0.09981339424848557,
0.2093735784292221,
-0.2885890305042267,
0.11029195785522461,
-0.13433745503425598,
0.2366630136... |
https://github.com/huggingface/datasets/issues/3738 | OK, so, before closing the issue, what do you think should be done?
> Maybe in streaming mode we should keep the schema (inferred from the first item) and throw an exception if a subsequent item does not conform to the inferred schema?
or nothing? | For data-only datasets, streaming and non-streaming don't behave the same | See https://huggingface.co/datasets/huggingface/transformers-metadata: it only contains two JSON files.
In streaming mode, the files are concatenated, and thus the rows might be dictionaries with different keys:
```python
import datasets as ds
iterable_dataset = ds.load_dataset("huggingface/transformers-metadat... | 45 | For data-only datasets, streaming and non-streaming don't behave the same
See https://huggingface.co/datasets/huggingface/transformers-metadata: it only contains two JSON files.
In streaming mode, the files are concatenated, and thus the rows might be dictionaries with different keys:
```python
import datasets... | [
-0.13840420544147491,
-0.475750595331192,
0.05385705828666687,
0.2831660807132721,
0.3996579647064209,
0.011318802833557129,
0.06075324863195419,
0.20395714044570923,
0.01111699640750885,
0.010574109852313995,
-0.1794576644897461,
0.12958192825317383,
-0.26061365008354187,
0.30459177494049... |
https://github.com/huggingface/datasets/issues/3738 | We should at least raise an error if a new sample has column names that are missing, or if it has extra columns. No need to check for the type for now.
I'm in favor of having an error especially because we want to avoid silent issues as much as possible - i.e. when something goes wrong (when schemas don't match or s... | For data-only datasets, streaming and non-streaming don't behave the same | See https://huggingface.co/datasets/huggingface/transformers-metadata: it only contains two JSON files.
In streaming mode, the files are concatenated, and thus the rows might be dictionaries with different keys:
```python
import datasets as ds
iterable_dataset = ds.load_dataset("huggingface/transformers-metadat... | 79 | For data-only datasets, streaming and non-streaming don't behave the same
See https://huggingface.co/datasets/huggingface/transformers-metadata: it only contains two JSON files.
In streaming mode, the files are concatenated, and thus the rows might be dictionaries with different keys:
```python
import datasets... | [
-0.1809256672859192,
-0.5316245555877686,
0.03165096789598465,
0.06017855182290077,
0.326352059841156,
0.008452892303466797,
0.18688899278640747,
0.22024767100811005,
0.09264674782752991,
0.20878690481185913,
-0.16342033445835114,
0.05065050348639488,
-0.2015397548675537,
0.245684370398521... |
https://github.com/huggingface/datasets/issues/3735 | The most surprising part to me is the saving time. Wondering if it could be due to compression (`ParquetWriter` uses SNAPPY compression by default; it can be turned off with `to_parquet(..., compression=None)`). | Performance of `datasets` at scale | # Performance of `datasets` at 1TB scale
## What is this?
During the processing of a large dataset I monitored the performance of the `datasets` library to see if there are any bottlenecks. The insights of this analysis could guide the decision making to improve the performance of the library.
## Dataset
The da... | 32 | Performance of `datasets` at scale
# Performance of `datasets` at 1TB scale
## What is this?
During the processing of a large dataset I monitored the performance of the `datasets` library to see if there are any bottlenecks. The insights of this analysis could guide the decision making to improve the performance ... | [
-0.46590718626976013,
-0.033451586961746216,
-0.10426205396652222,
0.18151360750198364,
0.09017233550548553,
0.04111805558204651,
0.17511089146137238,
0.3004224896430969,
0.1423734426498413,
-0.020190902054309845,
0.07610432058572769,
0.1921413689851761,
-0.036162927746772766,
0.5749626159... |
https://github.com/huggingface/datasets/issues/3735 | +1 to what @mariosasko mentioned. Also, @lvwerra did you parallelize `to_parquet` using similar approach in #2747? (we used multiprocessing at the shard level). I'm working on a similar PR to add multi_proc in `to_parquet` which might give you further speed up.
Stas benchmarked his approach and mine in this [gist](ht... | Performance of `datasets` at scale | # Performance of `datasets` at 1TB scale
## What is this?
During the processing of a large dataset I monitored the performance of the `datasets` library to see if there are any bottlenecks. The insights of this analysis could guide the decision making to improve the performance of the library.
## Dataset
The da... | 63 | Performance of `datasets` at scale
# Performance of `datasets` at 1TB scale
## What is this?
During the processing of a large dataset I monitored the performance of the `datasets` library to see if there are any bottlenecks. The insights of this analysis could guide the decision making to improve the performance ... | [
-0.46590718626976013,
-0.033451586961746216,
-0.10426205396652222,
0.18151360750198364,
0.09017233550548553,
0.04111805558204651,
0.17511089146137238,
0.3004224896430969,
0.1423734426498413,
-0.020190902054309845,
0.07610432058572769,
0.1921413689851761,
-0.036162927746772766,
0.5749626159... |
https://github.com/huggingface/datasets/issues/3735 | @mariosasko I did not turn it off but I can try the next time - I have to run the pipeline again, anyway.
@bhavitvyamalik Yes, I also sharded the dataset and used multiprocessing to save each shard. I'll have a closer look at your approach, too. | Performance of `datasets` at scale | # Performance of `datasets` at 1TB scale
## What is this?
During the processing of a large dataset I monitored the performance of the `datasets` library to see if there are any bottlenecks. The insights of this analysis could guide the decision making to improve the performance of the library.
## Dataset
The da... | 46 | Performance of `datasets` at scale
# Performance of `datasets` at 1TB scale
## What is this?
During the processing of a large dataset I monitored the performance of the `datasets` library to see if there are any bottlenecks. The insights of this analysis could guide the decision making to improve the performance ... | [
-0.46590718626976013,
-0.033451586961746216,
-0.10426205396652222,
0.18151360750198364,
0.09017233550548553,
0.04111805558204651,
0.17511089146137238,
0.3004224896430969,
0.1423734426498413,
-0.020190902054309845,
0.07610432058572769,
0.1921413689851761,
-0.036162927746772766,
0.5749626159... |
https://github.com/huggingface/datasets/issues/3730 | Thanks for reporting @byw2.
We are fixing it.
In the meantime, you can load the dataset by passing `ignore_verifications=True`:
```python
dataset = load_dataset("multi_news", ignore_verifications=True) | Checksum Error when loading multi-news dataset | ## Describe the bug
When using the load_dataset function from datasets module to load the Multi-News dataset, does not load the dataset but throws Checksum Error instead.
## Steps to reproduce the bug
```python
from datasets import load_dataset
dataset = load_dataset("multi_news")
```
## Expected results
... | 24 | Checksum Error when loading multi-news dataset
## Describe the bug
When using the load_dataset function from datasets module to load the Multi-News dataset, does not load the dataset but throws Checksum Error instead.
## Steps to reproduce the bug
```python
from datasets import load_dataset
dataset = load_data... | [
-0.20598477125167847,
0.11974696815013885,
-0.05309990793466568,
0.32886549830436707,
0.17860692739486694,
0.048947036266326904,
0.34876105189323425,
0.24912530183792114,
0.22095772624015808,
0.004215531051158905,
-0.02012077532708645,
0.13272638618946075,
0.07970967888832092,
0.2458918541... |
https://github.com/huggingface/datasets/issues/3729 | Hi @kg-nlp, thanks for reporting.
That is weird... I guess we would need some sample data file where this behavior appears to reproduce the bug for further investigation... | Wrong number of examples when loading a text dataset | ## Describe the bug
when I use load_dataset to read a txt file I find that the number of the samples is incorrect
## Steps to reproduce the bug
```
fr = open('train.txt','r',encoding='utf-8').readlines()
print(len(fr)) # 1199637
datasets = load_dataset('text', data_files={'train': ['train.txt']}, streaming... | 28 | Wrong number of examples when loading a text dataset
## Describe the bug
when I use load_dataset to read a txt file I find that the number of the samples is incorrect
## Steps to reproduce the bug
```
fr = open('train.txt','r',encoding='utf-8').readlines()
print(len(fr)) # 1199637
datasets = load_dataset... | [
-0.06052618473768234,
-0.24175813794136047,
-0.034421514719724655,
0.483817458152771,
0.06591610610485077,
0.02623859792947769,
0.507973849773407,
0.047235310077667236,
-0.0230385921895504,
0.1874682605266571,
0.4448869228363037,
0.1894766092300415,
0.07577666640281677,
0.0255923792719841,... |
https://github.com/huggingface/datasets/issues/3729 | ok, I found the reason why that two results are not same.
there is /u2029 in the text, the datasets will split sentence according to the /u2029,but when I use open function will not do that .
so I want to know which function shell do that
thanks | Wrong number of examples when loading a text dataset | ## Describe the bug
when I use load_dataset to read a txt file I find that the number of the samples is incorrect
## Steps to reproduce the bug
```
fr = open('train.txt','r',encoding='utf-8').readlines()
print(len(fr)) # 1199637
datasets = load_dataset('text', data_files={'train': ['train.txt']}, streaming... | 48 | Wrong number of examples when loading a text dataset
## Describe the bug
when I use load_dataset to read a txt file I find that the number of the samples is incorrect
## Steps to reproduce the bug
```
fr = open('train.txt','r',encoding='utf-8').readlines()
print(len(fr)) # 1199637
datasets = load_dataset... | [
-0.11797787994146347,
-0.3109655976295471,
-0.09794995933771133,
0.5308285355567932,
-0.21858279407024384,
-0.27453237771987915,
0.44566577672958374,
-0.09811489284038544,
-0.09774904698133469,
0.2998823821544647,
0.19979321956634521,
0.1997053474187851,
0.22520212829113007,
0.083719223737... |
https://github.com/huggingface/datasets/issues/3720 | Hi @aasem, thanks for reporting.
Please note that currently Commom Voice is hosted on our Hub as a community dataset by the Mozilla Foundation. See all Common Voice versions here: https://huggingface.co/mozilla-foundation
Maybe we should add an explaining note in our "legacy" Common Voice canonical script? What d... | Builder Configuration Update Required on Common Voice Dataset | Missing language in Common Voice dataset
**Link:** https://huggingface.co/datasets/common_voice
I tried to call the Urdu dataset using `load_dataset("common_voice", "ur", split="train+validation")` but couldn't due to builder configuration not found. I checked the source file here for the languages support:
ht... | 52 | Builder Configuration Update Required on Common Voice Dataset
Missing language in Common Voice dataset
**Link:** https://huggingface.co/datasets/common_voice
I tried to call the Urdu dataset using `load_dataset("common_voice", "ur", split="train+validation")` but couldn't due to builder configuration not found.... | [
-0.285674512386322,
0.17391711473464966,
0.0023722052574157715,
-0.15214936435222626,
0.17979276180267334,
0.17955562472343445,
0.036190636456012726,
0.18139766156673431,
-0.46385160088539124,
0.12736329436302185,
0.0928712859749794,
-0.05148971825838089,
-0.04037521034479141,
-0.259518951... |
https://github.com/huggingface/datasets/issues/3720 | Thank you, @albertvillanova, for the quick response. I am not sure about the exact flow but I guess adding the following lines under the `_Languages` dictionary definition in [common_voice.py](https://github.com/huggingface/datasets/blob/master/datasets/common_voice/common_voice.py) might resolve the issue. I guess the... | Builder Configuration Update Required on Common Voice Dataset | Missing language in Common Voice dataset
**Link:** https://huggingface.co/datasets/common_voice
I tried to call the Urdu dataset using `load_dataset("common_voice", "ur", split="train+validation")` but couldn't due to builder configuration not found. I checked the source file here for the languages support:
ht... | 66 | Builder Configuration Update Required on Common Voice Dataset
Missing language in Common Voice dataset
**Link:** https://huggingface.co/datasets/common_voice
I tried to call the Urdu dataset using `load_dataset("common_voice", "ur", split="train+validation")` but couldn't due to builder configuration not found.... | [
-0.290835440158844,
0.005558520555496216,
0.020420804619789124,
-0.002907039597630501,
0.21368232369422913,
0.13129203021526337,
0.00759490579366684,
0.2225896269083023,
-0.3800750970840454,
0.20977038145065308,
0.12131308764219284,
-0.05676213651895523,
-0.12005291134119034,
-0.0659274980... |
https://github.com/huggingface/datasets/issues/3720 | @aasem for compliance reasons, we are no longer updating the `common_voice.py` script.
We agreed with Mozilla Foundation to use their community datasets instead, which will ask you to accept their terms of use:
```
You need to share your contact information to access this dataset.
This repository is publicly ac... | Builder Configuration Update Required on Common Voice Dataset | Missing language in Common Voice dataset
**Link:** https://huggingface.co/datasets/common_voice
I tried to call the Urdu dataset using `load_dataset("common_voice", "ur", split="train+validation")` but couldn't due to builder configuration not found. I checked the source file here for the languages support:
ht... | 192 | Builder Configuration Update Required on Common Voice Dataset
Missing language in Common Voice dataset
**Link:** https://huggingface.co/datasets/common_voice
I tried to call the Urdu dataset using `load_dataset("common_voice", "ur", split="train+validation")` but couldn't due to builder configuration not found.... | [
-0.2701786458492279,
0.1846492737531662,
0.021617859601974487,
-0.04671449959278107,
0.22180932760238647,
0.13419130444526672,
0.07822586596012115,
0.2611938714981079,
-0.3444995880126953,
0.20424367487430573,
0.08358822017908096,
0.0007258839905261993,
-0.055036138743162155,
-0.2131642252... |
https://github.com/huggingface/datasets/issues/3720 | @albertvillanova
>Maybe we should add an explaining note in our "legacy" Common Voice canonical script?
Yes, I agree we should have a deprecation notice in the canonical script to redirect users to the new script. | Builder Configuration Update Required on Common Voice Dataset | Missing language in Common Voice dataset
**Link:** https://huggingface.co/datasets/common_voice
I tried to call the Urdu dataset using `load_dataset("common_voice", "ur", split="train+validation")` but couldn't due to builder configuration not found. I checked the source file here for the languages support:
ht... | 35 | Builder Configuration Update Required on Common Voice Dataset
Missing language in Common Voice dataset
**Link:** https://huggingface.co/datasets/common_voice
I tried to call the Urdu dataset using `load_dataset("common_voice", "ur", split="train+validation")` but couldn't due to builder configuration not found.... | [
-0.3522528409957886,
0.10331809520721436,
0.020122699439525604,
-0.13264450430870056,
0.17105402052402496,
0.1720190942287445,
0.06308205425739288,
0.2731882631778717,
-0.30633115768432617,
0.15582676231861115,
0.1680765151977539,
-0.04260099679231644,
-0.1602720320224762,
-0.0915839672088... |
https://github.com/huggingface/datasets/issues/3720 | @albertvillanova,
I now get the following error after downloading my access token from the huggingface and passing it to `load_dataset` call:
`AttributeError: 'DownloadManager' object has no attribute 'download_config'`
Any quick pointer on how it might be resolved? | Builder Configuration Update Required on Common Voice Dataset | Missing language in Common Voice dataset
**Link:** https://huggingface.co/datasets/common_voice
I tried to call the Urdu dataset using `load_dataset("common_voice", "ur", split="train+validation")` but couldn't due to builder configuration not found. I checked the source file here for the languages support:
ht... | 37 | Builder Configuration Update Required on Common Voice Dataset
Missing language in Common Voice dataset
**Link:** https://huggingface.co/datasets/common_voice
I tried to call the Urdu dataset using `load_dataset("common_voice", "ur", split="train+validation")` but couldn't due to builder configuration not found.... | [
-0.3459946811199188,
0.1322568655014038,
0.054721541702747345,
0.12855353951454163,
0.2149556577205658,
0.1292431354522705,
-0.050948336720466614,
0.12706658244132996,
-0.24479299783706665,
0.2397281378507614,
0.026498712599277496,
-0.15096066892147064,
-0.15113815665245056,
-0.02139040455... |
https://github.com/huggingface/datasets/issues/3720 | @aasem What version of `datasets` are you using? We renamed that attribute from `_download_config` to `download_conig` fairly recently, so updating to the newest version should resolve the issue:
```
pip install -U datasets
``` | Builder Configuration Update Required on Common Voice Dataset | Missing language in Common Voice dataset
**Link:** https://huggingface.co/datasets/common_voice
I tried to call the Urdu dataset using `load_dataset("common_voice", "ur", split="train+validation")` but couldn't due to builder configuration not found. I checked the source file here for the languages support:
ht... | 34 | Builder Configuration Update Required on Common Voice Dataset
Missing language in Common Voice dataset
**Link:** https://huggingface.co/datasets/common_voice
I tried to call the Urdu dataset using `load_dataset("common_voice", "ur", split="train+validation")` but couldn't due to builder configuration not found.... | [
-0.43024158477783203,
0.014460578560829163,
-0.0066324323415756226,
-0.019177496433258057,
0.29997003078460693,
0.13268473744392395,
-0.04748322069644928,
0.25332391262054443,
-0.24364174902439117,
0.2547215223312378,
0.11823780089616776,
0.04076648876070976,
-0.10102212429046631,
-0.07043... |
https://github.com/huggingface/datasets/issues/3717 | Hi @Tudyx,
Please note that in Python, the boolean NOT operator (`not`) has lower precedence than comparison operators (`<=`, `<`), thus the expression you mention is equivalent to:
```python
not (-1 <= example_data < self.num_classes)
```
Also note that as expected, the exception is raised if:
- `example_d... | wrong condition in `Features ClassLabel encode_example` | ## Describe the bug
The `encode_example` function in *features.py* seems to have a wrong condition.
```python
if not -1 <= example_data < self.num_classes:
raise ValueError(f"Class label {example_data:d} greater than configured num_classes {self.num_classes}")
```
## Expected results
The `not - 1` co... | 71 | wrong condition in `Features ClassLabel encode_example`
## Describe the bug
The `encode_example` function in *features.py* seems to have a wrong condition.
```python
if not -1 <= example_data < self.num_classes:
raise ValueError(f"Class label {example_data:d} greater than configured num_classes {self.num_... | [
0.13919992744922638,
-0.11683529615402222,
-0.04643397778272629,
0.28334537148475647,
0.22576738893985748,
-0.09283717721700668,
0.2275470495223999,
0.24462497234344482,
-0.18541337549686432,
0.016367953270673752,
0.31635797023773193,
0.332276314496994,
-0.21806888282299042,
0.417781472206... |
https://github.com/huggingface/datasets/issues/3708 | Hi ! Note that it does `block_size *= 2` until `block_size > len(batch)`, so it doesn't loop indefinitely. What do you mean by "get stuck indefinitely" then ? Is this the actual call to `paj.read_json` that hangs ?
> increasing the `chunksize` argument decreases the chance of getting stuck
Could you share the val... | Loading JSON gets stuck with many workers/threads | ## Describe the bug
Loading a JSON dataset with `load_dataset` can get stuck when running on a machine with many CPUs. This is especially an issue when loading a large dataset on a large machine.
## Steps to reproduce the bug
I originally created the following script to reproduce the issue:
```python
from dat... | 78 | Loading JSON gets stuck with many workers/threads
## Describe the bug
Loading a JSON dataset with `load_dataset` can get stuck when running on a machine with many CPUs. This is especially an issue when loading a large dataset on a large machine.
## Steps to reproduce the bug
I originally created the following... | [
-0.2772901654243469,
-0.18320485949516296,
-0.10265149176120758,
0.1906442493200302,
0.13199667632579803,
-0.06906895339488983,
0.42680656909942627,
0.2522391080856323,
0.2913312315940857,
0.1814340353012085,
0.1807476133108139,
0.5573155879974365,
0.11018472909927368,
-0.27255234122276306... |
https://github.com/huggingface/datasets/issues/3708 | To clarify, I don't think it loops indefinitely but the `paj.read_json` gets stuck after the first try. That's why I think it could be an issue with a lock somewhere.
Using `load_dataset(..., chunksize=40<<20)` worked without errors. | Loading JSON gets stuck with many workers/threads | ## Describe the bug
Loading a JSON dataset with `load_dataset` can get stuck when running on a machine with many CPUs. This is especially an issue when loading a large dataset on a large machine.
## Steps to reproduce the bug
I originally created the following script to reproduce the issue:
```python
from dat... | 36 | Loading JSON gets stuck with many workers/threads
## Describe the bug
Loading a JSON dataset with `load_dataset` can get stuck when running on a machine with many CPUs. This is especially an issue when loading a large dataset on a large machine.
## Steps to reproduce the bug
I originally created the following... | [
-0.2772901654243469,
-0.18320485949516296,
-0.10265149176120758,
0.1906442493200302,
0.13199667632579803,
-0.06906895339488983,
0.42680656909942627,
0.2522391080856323,
0.2913312315940857,
0.1814340353012085,
0.1807476133108139,
0.5573155879974365,
0.11018472909927368,
-0.27255234122276306... |
https://github.com/huggingface/datasets/issues/3708 | @lhoestq I encountered another related issue. I use load_dataset() for my json data and set_transform() for preprocessing. But it hangs at the end of the epoch if `dataloader_num_workers>=1`. It appears to be working fine with num_worker=0, but it's slow.
```
train_dataset = datasets.load_dataset("json",
... | Loading JSON gets stuck with many workers/threads | ## Describe the bug
Loading a JSON dataset with `load_dataset` can get stuck when running on a machine with many CPUs. This is especially an issue when loading a large dataset on a large machine.
## Steps to reproduce the bug
I originally created the following script to reproduce the issue:
```python
from dat... | 49 | Loading JSON gets stuck with many workers/threads
## Describe the bug
Loading a JSON dataset with `load_dataset` can get stuck when running on a machine with many CPUs. This is especially an issue when loading a large dataset on a large machine.
## Steps to reproduce the bug
I originally created the following... | [
-0.2772901654243469,
-0.18320485949516296,
-0.10265149176120758,
0.1906442493200302,
0.13199667632579803,
-0.06906895339488983,
0.42680656909942627,
0.2522391080856323,
0.2913312315940857,
0.1814340353012085,
0.1807476133108139,
0.5573155879974365,
0.11018472909927368,
-0.27255234122276306... |
https://github.com/huggingface/datasets/issues/3708 | I couldn't I think your problem is unrelated to this issue @memray
Indeed this issue discusses a bug when doing `load_dataset`, while your case has to do with the dataloader in a multiprocessing setup. Can you open a new issue and provide more details (share your env and what psg_parse_fn does) ? | Loading JSON gets stuck with many workers/threads | ## Describe the bug
Loading a JSON dataset with `load_dataset` can get stuck when running on a machine with many CPUs. This is especially an issue when loading a large dataset on a large machine.
## Steps to reproduce the bug
I originally created the following script to reproduce the issue:
```python
from dat... | 52 | Loading JSON gets stuck with many workers/threads
## Describe the bug
Loading a JSON dataset with `load_dataset` can get stuck when running on a machine with many CPUs. This is especially an issue when loading a large dataset on a large machine.
## Steps to reproduce the bug
I originally created the following... | [
-0.2772901654243469,
-0.18320485949516296,
-0.10265149176120758,
0.1906442493200302,
0.13199667632579803,
-0.06906895339488983,
0.42680656909942627,
0.2522391080856323,
0.2913312315940857,
0.1814340353012085,
0.1807476133108139,
0.5573155879974365,
0.11018472909927368,
-0.27255234122276306... |
https://github.com/huggingface/datasets/issues/3708 | I also encountered a similar issue when loading a 190GB dataset of jsonl files (255 files with less than 1Gb) where it got stuck for over 20h at tables generation (fig below), increasing the `chunksize` with `load_dataset(..., chunksize=40<<20)` fixed the issue
<img width="560" alt="image" src="https://user-images.g... | Loading JSON gets stuck with many workers/threads | ## Describe the bug
Loading a JSON dataset with `load_dataset` can get stuck when running on a machine with many CPUs. This is especially an issue when loading a large dataset on a large machine.
## Steps to reproduce the bug
I originally created the following script to reproduce the issue:
```python
from dat... | 45 | Loading JSON gets stuck with many workers/threads
## Describe the bug
Loading a JSON dataset with `load_dataset` can get stuck when running on a machine with many CPUs. This is especially an issue when loading a large dataset on a large machine.
## Steps to reproduce the bug
I originally created the following... | [
-0.2772901654243469,
-0.18320485949516296,
-0.10265149176120758,
0.1906442493200302,
0.13199667632579803,
-0.06906895339488983,
0.42680656909942627,
0.2522391080856323,
0.2913312315940857,
0.1814340353012085,
0.1807476133108139,
0.5573155879974365,
0.11018472909927368,
-0.27255234122276306... |
https://github.com/huggingface/datasets/issues/3708 | > @lhoestq I encountered another related issue. I use load_dataset() for my json data and set_transform() for preprocessing. But it hangs at the end of the epoch if `dataloader_num_workers>=1`. It appears to be working fine with num_worker=0, but it's slow.
>
> ```
> train_dataset = datasets.load_dataset("json",
... | Loading JSON gets stuck with many workers/threads | ## Describe the bug
Loading a JSON dataset with `load_dataset` can get stuck when running on a machine with many CPUs. This is especially an issue when loading a large dataset on a large machine.
## Steps to reproduce the bug
I originally created the following script to reproduce the issue:
```python
from dat... | 132 | Loading JSON gets stuck with many workers/threads
## Describe the bug
Loading a JSON dataset with `load_dataset` can get stuck when running on a machine with many CPUs. This is especially an issue when loading a large dataset on a large machine.
## Steps to reproduce the bug
I originally created the following... | [
-0.2772901654243469,
-0.18320485949516296,
-0.10265149176120758,
0.1906442493200302,
0.13199667632579803,
-0.06906895339488983,
0.42680656909942627,
0.2522391080856323,
0.2913312315940857,
0.1814340353012085,
0.1807476133108139,
0.5573155879974365,
0.11018472909927368,
-0.27255234122276306... |
https://github.com/huggingface/datasets/issues/3708 | I can confirm the issue using datasets (2.12.0) with the following code and Accelerate (0.20.3) env:
````
trainDataloader = DataLoader(trainSplit, batch_size=args.train_batch_size, shuffle=True)
evalDataloader = DataLoader(validSplit, batch_size=args.valid_batch_size) // Here is where it gets stuck.
````
````
-... | Loading JSON gets stuck with many workers/threads | ## Describe the bug
Loading a JSON dataset with `load_dataset` can get stuck when running on a machine with many CPUs. This is especially an issue when loading a large dataset on a large machine.
## Steps to reproduce the bug
I originally created the following script to reproduce the issue:
```python
from dat... | 164 | Loading JSON gets stuck with many workers/threads
## Describe the bug
Loading a JSON dataset with `load_dataset` can get stuck when running on a machine with many CPUs. This is especially an issue when loading a large dataset on a large machine.
## Steps to reproduce the bug
I originally created the following... | [
-0.2772901654243469,
-0.18320485949516296,
-0.10265149176120758,
0.1906442493200302,
0.13199667632579803,
-0.06906895339488983,
0.42680656909942627,
0.2522391080856323,
0.2913312315940857,
0.1814340353012085,
0.1807476133108139,
0.5573155879974365,
0.11018472909927368,
-0.27255234122276306... |
https://github.com/huggingface/datasets/issues/3708 | I think your issue is related to `accelerate`, feel free to open an issue there: https://github.com/huggingface/accelerate/issues
`Dataset` objects generally work fine with the torch DataLoader, idk what `accelerate` does that could make it get stuck. | Loading JSON gets stuck with many workers/threads | ## Describe the bug
Loading a JSON dataset with `load_dataset` can get stuck when running on a machine with many CPUs. This is especially an issue when loading a large dataset on a large machine.
## Steps to reproduce the bug
I originally created the following script to reproduce the issue:
```python
from dat... | 35 | Loading JSON gets stuck with many workers/threads
## Describe the bug
Loading a JSON dataset with `load_dataset` can get stuck when running on a machine with many CPUs. This is especially an issue when loading a large dataset on a large machine.
## Steps to reproduce the bug
I originally created the following... | [
-0.2772901654243469,
-0.18320485949516296,
-0.10265149176120758,
0.1906442493200302,
0.13199667632579803,
-0.06906895339488983,
0.42680656909942627,
0.2522391080856323,
0.2913312315940857,
0.1814340353012085,
0.1807476133108139,
0.5573155879974365,
0.11018472909927368,
-0.27255234122276306... |
https://github.com/huggingface/datasets/issues/3707 | Hi! Currently, we compute the final index as `index % len(dset)`. I agree this behavior is somewhat unexpected and that it would be more appropriate to raise an error instead (this is what `df.iloc` in Pandas does, for instance).
@albertvillanova @lhoestq wdyt? | `.select`: unexpected behavior with `indices` | ## Describe the bug
The `.select` method will not throw when sending `indices` bigger than the dataset length; `indices` will be wrapped instead. This behavior is not documented anywhere, and is not intuitive.
## Steps to reproduce the bug
```python
from datasets import Dataset
ds = Dataset.from_dict({"text": [... | 42 | `.select`: unexpected behavior with `indices`
## Describe the bug
The `.select` method will not throw when sending `indices` bigger than the dataset length; `indices` will be wrapped instead. This behavior is not documented anywhere, and is not intuitive.
## Steps to reproduce the bug
```python
from datasets i... | [
-0.14067961275577545,
-0.22004055976867676,
-0.016400400549173355,
0.4212487041950226,
0.08051273226737976,
-0.0664440393447876,
0.3318193554878235,
0.18009072542190552,
0.22601133584976196,
0.3523018956184387,
0.05500606447458267,
0.5035142302513123,
0.24901844561100006,
0.055146262049674... |
https://github.com/huggingface/datasets/issues/3707 | I agree. I think `index % len(dset)` was used to support negative indices.
I think this needs to be fixed in `datasets.formatting.formatting._check_valid_index_key` if I'm not mistaken | `.select`: unexpected behavior with `indices` | ## Describe the bug
The `.select` method will not throw when sending `indices` bigger than the dataset length; `indices` will be wrapped instead. This behavior is not documented anywhere, and is not intuitive.
## Steps to reproduce the bug
```python
from datasets import Dataset
ds = Dataset.from_dict({"text": [... | 26 | `.select`: unexpected behavior with `indices`
## Describe the bug
The `.select` method will not throw when sending `indices` bigger than the dataset length; `indices` will be wrapped instead. This behavior is not documented anywhere, and is not intuitive.
## Steps to reproduce the bug
```python
from datasets i... | [
-0.15811166167259216,
-0.25665462017059326,
-0.03184899315237999,
0.3439428508281708,
0.06200987473130226,
-0.11534778028726578,
0.21475210785865784,
0.15043506026268005,
0.04742100089788437,
0.17877021431922913,
0.023442432284355164,
0.4659060835838318,
0.11044977605342865,
0.206328392028... |
https://github.com/huggingface/datasets/issues/3706 | Hi @ankitk2109,
Have you tried passing the split name with the keyword `split=`? See e.g. an example in our Quick Start docs: https://huggingface.co/docs/datasets/quickstart.html#load-the-dataset-and-model
```python
ds = load_dataset("big_patent", "d", split="validation") | Unable to load dataset 'big_patent' | ## Describe the bug
Unable to load the "big_patent" dataset
## Steps to reproduce the bug
```python
load_dataset('big_patent', 'd', 'validation')
```
## Expected results
Download big_patents' validation split from the 'd' subset
## Getting an error saying:
{FileNotFoundError}Local file ..\huggingface\dat... | 29 | Unable to load dataset 'big_patent'
## Describe the bug
Unable to load the "big_patent" dataset
## Steps to reproduce the bug
```python
load_dataset('big_patent', 'd', 'validation')
```
## Expected results
Download big_patents' validation split from the 'd' subset
## Getting an error saying:
{FileNotFo... | [
-0.29095789790153503,
-0.44364219903945923,
-0.03627163916826248,
0.4938032031059265,
0.3471502363681793,
0.1680757999420166,
0.1101178303360939,
0.25992825627326965,
0.1232663169503212,
0.013137731701135635,
-0.3273751139640808,
0.04128481075167656,
-0.07397864758968353,
0.404249608516693... |
https://github.com/huggingface/datasets/issues/3706 | Hi @albertvillanova,
Thanks for your response.
Yes, I tried the `split='validation'` as well. But getting the same issue. | Unable to load dataset 'big_patent' | ## Describe the bug
Unable to load the "big_patent" dataset
## Steps to reproduce the bug
```python
load_dataset('big_patent', 'd', 'validation')
```
## Expected results
Download big_patents' validation split from the 'd' subset
## Getting an error saying:
{FileNotFoundError}Local file ..\huggingface\dat... | 18 | Unable to load dataset 'big_patent'
## Describe the bug
Unable to load the "big_patent" dataset
## Steps to reproduce the bug
```python
load_dataset('big_patent', 'd', 'validation')
```
## Expected results
Download big_patents' validation split from the 'd' subset
## Getting an error saying:
{FileNotFo... | [
-0.28484678268432617,
-0.06062188744544983,
-0.0639389380812645,
0.5759017467498779,
0.21542784571647644,
0.12280856817960739,
0.2310488373041153,
0.4681127965450287,
0.16158795356750488,
0.02666357159614563,
-0.23424452543258667,
0.04546727240085602,
-0.01570308767259121,
0.16771019995212... |
https://github.com/huggingface/datasets/issues/3706 | I'm sorry, but I can't reproduce your problem:
```python
In [5]: ds = load_dataset("big_patent", "d", split="validation")
Downloading and preparing dataset big_patent/d (download: 6.01 GiB, generated: 169.61 MiB, post-processed: Unknown size, total: 6.17 GiB) to .../.cache/big_patent/d/1.0.0/bdefa7c0b39fba8bba1c6331... | Unable to load dataset 'big_patent' | ## Describe the bug
Unable to load the "big_patent" dataset
## Steps to reproduce the bug
```python
load_dataset('big_patent', 'd', 'validation')
```
## Expected results
Download big_patents' validation split from the 'd' subset
## Getting an error saying:
{FileNotFoundError}Local file ..\huggingface\dat... | 72 | Unable to load dataset 'big_patent'
## Describe the bug
Unable to load the "big_patent" dataset
## Steps to reproduce the bug
```python
load_dataset('big_patent', 'd', 'validation')
```
## Expected results
Download big_patents' validation split from the 'd' subset
## Getting an error saying:
{FileNotFo... | [
-0.3682878613471985,
-0.07301925867795944,
-0.09816426038742065,
0.48668134212493896,
0.2612978219985962,
0.10870470851659775,
0.19026315212249756,
0.4533426761627197,
0.13285014033317566,
0.050791218876838684,
-0.14896462857723236,
0.040835216641426086,
-0.04699624329805374,
0.10070552676... |
https://github.com/huggingface/datasets/issues/3706 | Maybe you had a connection issue while downloading the file and this was corrupted?
Our cache system uses the file you downloaded first time.
If so, you could try forcing redownload of the file with:
```python
ds = load_dataset("big_patent", "d", split="validation", download_mode="force_redownload") | Unable to load dataset 'big_patent' | ## Describe the bug
Unable to load the "big_patent" dataset
## Steps to reproduce the bug
```python
load_dataset('big_patent', 'd', 'validation')
```
## Expected results
Download big_patents' validation split from the 'd' subset
## Getting an error saying:
{FileNotFoundError}Local file ..\huggingface\dat... | 42 | Unable to load dataset 'big_patent'
## Describe the bug
Unable to load the "big_patent" dataset
## Steps to reproduce the bug
```python
load_dataset('big_patent', 'd', 'validation')
```
## Expected results
Download big_patents' validation split from the 'd' subset
## Getting an error saying:
{FileNotFo... | [
-0.3243027627468109,
-0.06346441060304642,
-0.09108030796051025,
0.4624113440513611,
0.2718907594680786,
0.13279518485069275,
0.17785096168518066,
0.3625102937221527,
0.2114626169204712,
0.013645056635141373,
-0.12940329313278198,
0.031082171946763992,
-0.010854123160243034,
0.059186719357... |
https://github.com/huggingface/datasets/issues/3706 | I am able to download the dataset with ``` download_mode="force_redownload"```. As you mentioned it was an issue with the cached version which was failed earlier due to a network issue. I am closing the issue now, once again thank you. | Unable to load dataset 'big_patent' | ## Describe the bug
Unable to load the "big_patent" dataset
## Steps to reproduce the bug
```python
load_dataset('big_patent', 'd', 'validation')
```
## Expected results
Download big_patents' validation split from the 'd' subset
## Getting an error saying:
{FileNotFoundError}Local file ..\huggingface\dat... | 40 | Unable to load dataset 'big_patent'
## Describe the bug
Unable to load the "big_patent" dataset
## Steps to reproduce the bug
```python
load_dataset('big_patent', 'd', 'validation')
```
## Expected results
Download big_patents' validation split from the 'd' subset
## Getting an error saying:
{FileNotFo... | [
-0.29007571935653687,
-0.033587127923965454,
-0.06129934638738632,
0.51212477684021,
0.23576219379901886,
0.11991841346025467,
0.20266525447368622,
0.4182063937187195,
0.1493886113166809,
-0.05368099361658096,
-0.13018378615379333,
-0.002370491623878479,
-0.022969085723161697,
0.0843350216... |
https://github.com/huggingface/datasets/issues/3704 | Hi @adrianeboyd, thanks for reporting.
There is indeed a bug in that community dataset:
Line:
```python
metadata_and_text_files = list(zip(metadata_files, text_files))
```
should be replaced with
```python
metadata_and_text_files = list(zip(sorted(metadata_files), sorted(text_files)))
```
I am going to c... | OSCAR-2109 datasets are misaligned and truncated | ## Describe the bug
The `oscar-corpus/OSCAR-2109` data appears to be misaligned and truncated by the dataset builder for subsets that contain more than one part and for cases where the texts contain non-unix newlines.
## Steps to reproduce the bug
A few examples, although I'm not sure how deterministic the par... | 51 | OSCAR-2109 datasets are misaligned and truncated
## Describe the bug
The `oscar-corpus/OSCAR-2109` data appears to be misaligned and truncated by the dataset builder for subsets that contain more than one part and for cases where the texts contain non-unix newlines.
## Steps to reproduce the bug
A few exampl... | [
-0.37900757789611816,
0.35093599557876587,
0.016446150839328766,
0.5407811999320984,
-0.13868504762649536,
0.014725565910339355,
0.22962677478790283,
0.37006399035453796,
-0.30476564168930054,
-0.09907011687755585,
0.036192961037158966,
-0.06419696658849716,
0.16350199282169342,
-0.0632025... |
https://github.com/huggingface/datasets/issues/3704 | That fix is part of it, but it's clearly not the only issue.
I also already contacted the OSCAR creators, but I reported it here because it looked like huggingface members were the main authors in the git history. Is there a better place to have reported this? | OSCAR-2109 datasets are misaligned and truncated | ## Describe the bug
The `oscar-corpus/OSCAR-2109` data appears to be misaligned and truncated by the dataset builder for subsets that contain more than one part and for cases where the texts contain non-unix newlines.
## Steps to reproduce the bug
A few examples, although I'm not sure how deterministic the par... | 48 | OSCAR-2109 datasets are misaligned and truncated
## Describe the bug
The `oscar-corpus/OSCAR-2109` data appears to be misaligned and truncated by the dataset builder for subsets that contain more than one part and for cases where the texts contain non-unix newlines.
## Steps to reproduce the bug
A few exampl... | [
-0.37900757789611816,
0.35093599557876587,
0.016446150839328766,
0.5407811999320984,
-0.13868504762649536,
0.014725565910339355,
0.22962677478790283,
0.37006399035453796,
-0.30476564168930054,
-0.09907011687755585,
0.036192961037158966,
-0.06419696658849716,
0.16350199282169342,
-0.0632025... |
https://github.com/huggingface/datasets/issues/3704 | Hello,
We've had an issue that could be linked to this one here: https://github.com/oscar-corpus/corpus/issues/15.
I have been spot checking the source (`.txt`/`.jsonl`) files for a while, and have not found issues, especially in the start/end of corpora (but I conceed that more integration testing would be neces... | OSCAR-2109 datasets are misaligned and truncated | ## Describe the bug
The `oscar-corpus/OSCAR-2109` data appears to be misaligned and truncated by the dataset builder for subsets that contain more than one part and for cases where the texts contain non-unix newlines.
## Steps to reproduce the bug
A few examples, although I'm not sure how deterministic the par... | 118 | OSCAR-2109 datasets are misaligned and truncated
## Describe the bug
The `oscar-corpus/OSCAR-2109` data appears to be misaligned and truncated by the dataset builder for subsets that contain more than one part and for cases where the texts contain non-unix newlines.
## Steps to reproduce the bug
A few exampl... | [
-0.37900757789611816,
0.35093599557876587,
0.016446150839328766,
0.5407811999320984,
-0.13868504762649536,
0.014725565910339355,
0.22962677478790283,
0.37006399035453796,
-0.30476564168930054,
-0.09907011687755585,
0.036192961037158966,
-0.06419696658849716,
0.16350199282169342,
-0.0632025... |
https://github.com/huggingface/datasets/issues/3704 | I'm happy to move the discussion to the other repo!
Merely sorting the files only **maybe** fixes the processing of the first part. If the first part contains non-unix newlines, it will still be misaligned/truncated, and all the following parts will be truncated with incorrect text offsets and metadata due the offse... | OSCAR-2109 datasets are misaligned and truncated | ## Describe the bug
The `oscar-corpus/OSCAR-2109` data appears to be misaligned and truncated by the dataset builder for subsets that contain more than one part and for cases where the texts contain non-unix newlines.
## Steps to reproduce the bug
A few examples, although I'm not sure how deterministic the par... | 55 | OSCAR-2109 datasets are misaligned and truncated
## Describe the bug
The `oscar-corpus/OSCAR-2109` data appears to be misaligned and truncated by the dataset builder for subsets that contain more than one part and for cases where the texts contain non-unix newlines.
## Steps to reproduce the bug
A few exampl... | [
-0.37900757789611816,
0.35093599557876587,
0.016446150839328766,
0.5407811999320984,
-0.13868504762649536,
0.014725565910339355,
0.22962677478790283,
0.37006399035453796,
-0.30476564168930054,
-0.09907011687755585,
0.036192961037158966,
-0.06419696658849716,
0.16350199282169342,
-0.0632025... |
https://github.com/huggingface/datasets/issues/3704 | Hi @Uinelj, This is a total noobs question but how can I integrate that bugfix into my code? I reinstalled the datasets library this time from source. Should that have fixed the issue? I am still facing the misalignment issue. Do I need to download the dataset from scratch? | OSCAR-2109 datasets are misaligned and truncated | ## Describe the bug
The `oscar-corpus/OSCAR-2109` data appears to be misaligned and truncated by the dataset builder for subsets that contain more than one part and for cases where the texts contain non-unix newlines.
## Steps to reproduce the bug
A few examples, although I'm not sure how deterministic the par... | 49 | OSCAR-2109 datasets are misaligned and truncated
## Describe the bug
The `oscar-corpus/OSCAR-2109` data appears to be misaligned and truncated by the dataset builder for subsets that contain more than one part and for cases where the texts contain non-unix newlines.
## Steps to reproduce the bug
A few exampl... | [
-0.37900757789611816,
0.35093599557876587,
0.016446150839328766,
0.5407811999320984,
-0.13868504762649536,
0.014725565910339355,
0.22962677478790283,
0.37006399035453796,
-0.30476564168930054,
-0.09907011687755585,
0.036192961037158966,
-0.06419696658849716,
0.16350199282169342,
-0.0632025... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.