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/4379 | @albertvillanova
I did a deep dive into @gugarosa's problem and found the issue and it might be related to the one @sgugger discovered. In dill 0.3.5(.1), I created a new `save_function` that fixes a bug in dill that prevented the pickling of recursive inner functions. It was a more complete solution to the problem th... | Latest dill release raises exception | ## Describe the bug
As reported by @sgugger, latest dill release is breaking things with Datasets.
```
______________ ExamplesTests.test_run_speech_recognition_seq2seq _______________
self = <multiprocess.pool.ApplyResult object at 0x7fa5981a1cd0>, timeout = None
def get(self, timeout=None):
s... | 327 | Latest dill release raises exception
## Describe the bug
As reported by @sgugger, latest dill release is breaking things with Datasets.
```
______________ ExamplesTests.test_run_speech_recognition_seq2seq _______________
self = <multiprocess.pool.ApplyResult object at 0x7fa5981a1cd0>, timeout = None
... | [
-0.3220151662826538,
0.13654562830924988,
-0.0019815973937511444,
-0.03622337803244591,
0.022592894732952118,
-0.14882510900497437,
0.41466188430786133,
0.4490567743778229,
-0.2709953486919403,
0.1714056134223938,
-0.30262377858161926,
0.363631010055542,
-0.22713956236839294,
-0.2168069332... |
https://github.com/huggingface/datasets/issues/4379 | Thanks a lot for your investigation @anivegesana.
Yes, we copied-pasted the old `save_function` function from `dill`, just adding a line to make deterministic the order of global variables `globs`.
However, this function has changed a lot from version 0.3.5, after your PR (thank you for the fix in recursiveness,... | Latest dill release raises exception | ## Describe the bug
As reported by @sgugger, latest dill release is breaking things with Datasets.
```
______________ ExamplesTests.test_run_speech_recognition_seq2seq _______________
self = <multiprocess.pool.ApplyResult object at 0x7fa5981a1cd0>, timeout = None
def get(self, timeout=None):
s... | 107 | Latest dill release raises exception
## Describe the bug
As reported by @sgugger, latest dill release is breaking things with Datasets.
```
______________ ExamplesTests.test_run_speech_recognition_seq2seq _______________
self = <multiprocess.pool.ApplyResult object at 0x7fa5981a1cd0>, timeout = None
... | [
-0.17359405755996704,
0.1226096898317337,
0.02194053679704666,
-0.02564818039536476,
0.15239310264587402,
-0.2003439962863922,
0.20380857586860657,
0.22618931531906128,
-0.24980302155017853,
0.21392828226089478,
-0.25263676047325134,
0.16032050549983978,
-0.2605428099632263,
-0.26930707693... |
https://github.com/huggingface/datasets/issues/4379 | I should note that because Python 3.6 and older are now deprecated and Python 3.7 has insertion order dictionaries, the globals in dill will have a deterministic order, just not sorted. I would still keep it sorted like you have it to help with stability (for example, if someone reorders variables in a file, then sorti... | Latest dill release raises exception | ## Describe the bug
As reported by @sgugger, latest dill release is breaking things with Datasets.
```
______________ ExamplesTests.test_run_speech_recognition_seq2seq _______________
self = <multiprocess.pool.ApplyResult object at 0x7fa5981a1cd0>, timeout = None
def get(self, timeout=None):
s... | 95 | Latest dill release raises exception
## Describe the bug
As reported by @sgugger, latest dill release is breaking things with Datasets.
```
______________ ExamplesTests.test_run_speech_recognition_seq2seq _______________
self = <multiprocess.pool.ApplyResult object at 0x7fa5981a1cd0>, timeout = None
... | [
0.032727256417274475,
-0.10582904517650604,
0.04006911814212799,
-0.00931677594780922,
-0.027755212038755417,
-0.178198903799057,
0.4407176375389099,
0.1238723173737526,
-0.043742723762989044,
0.17859652638435364,
-0.3917998671531677,
0.055178750306367874,
-0.1699288934469223,
-0.206478133... |
https://github.com/huggingface/datasets/issues/4376 | DUPLICATED comment from https://github.com/huggingface/datasets/issues/3807:
my code:
```
from datasets import load_dataset
dataset = load_dataset("irc_disentangle", download_mode="force_redownload")
```
however, it produces the same error
```
[38](file:///Library/Frameworks/Python.framework/Versions/3.8/li... | irc_disentagle viewer error | the dataviewer shows this message for "ubuntu" - "train", "test", and "validation" splits:
```
Server error
Status code: 400
Exception: ValueError
Message: Cannot seek streaming HTTP file
```
it appears to give the same message for the "channel_two" data as well.
I get a Checksums error when usi... | 193 | irc_disentagle viewer error
the dataviewer shows this message for "ubuntu" - "train", "test", and "validation" splits:
```
Server error
Status code: 400
Exception: ValueError
Message: Cannot seek streaming HTTP file
```
it appears to give the same message for the "channel_two" data as well.
I ... | [
-0.29188376665115356,
0.04244464635848999,
0.05369238182902336,
0.45641574263572693,
0.2874911427497864,
0.011880353093147278,
0.2715561091899872,
0.19256092607975006,
0.2839881479740143,
0.046803250908851624,
-0.40107566118240356,
0.06242423132061958,
0.04287710785865784,
0.21176081895828... |
https://github.com/huggingface/datasets/issues/4376 | The issue with checksum and empty dataset has been fixed by:
- #4377
To load the dataset, you should force the re-generation of the dataset from the downloaded file by passing `download_mode="reuse_cache_if_exists"` to `load_dataset`.
In relation with the issue with the dataset viewer, first the dataset should b... | irc_disentagle viewer error | the dataviewer shows this message for "ubuntu" - "train", "test", and "validation" splits:
```
Server error
Status code: 400
Exception: ValueError
Message: Cannot seek streaming HTTP file
```
it appears to give the same message for the "channel_two" data as well.
I get a Checksums error when usi... | 52 | irc_disentagle viewer error
the dataviewer shows this message for "ubuntu" - "train", "test", and "validation" splits:
```
Server error
Status code: 400
Exception: ValueError
Message: Cannot seek streaming HTTP file
```
it appears to give the same message for the "channel_two" data as well.
I ... | [
-0.3714313209056854,
-0.030947893857955933,
0.07901297509670258,
0.4860771596431732,
0.2352021336555481,
0.040473103523254395,
0.18943293392658234,
0.17435981333255768,
0.31261903047561646,
0.03778614103794098,
-0.3659548759460449,
0.03791562095284462,
-0.05336788296699524,
0.2436400055885... |
https://github.com/huggingface/datasets/issues/4376 | Hi there,
I see this issue is closed, but I am wondering if there is any chance the source files have been moved since this fix? I am stumbling into the same NonMatchingChecksumError noted by lebouz's second post once 118MB of data has been downloaded, and have tried the solutions noted in the various fix checksum po... | irc_disentagle viewer error | the dataviewer shows this message for "ubuntu" - "train", "test", and "validation" splits:
```
Server error
Status code: 400
Exception: ValueError
Message: Cannot seek streaming HTTP file
```
it appears to give the same message for the "channel_two" data as well.
I get a Checksums error when usi... | 73 | irc_disentagle viewer error
the dataviewer shows this message for "ubuntu" - "train", "test", and "validation" splits:
```
Server error
Status code: 400
Exception: ValueError
Message: Cannot seek streaming HTTP file
```
it appears to give the same message for the "channel_two" data as well.
I ... | [
-0.25073960423469543,
0.23824289441108704,
0.06454548239707947,
0.4807010293006897,
0.28595486283302307,
-0.07441148161888123,
0.16612815856933594,
0.30828857421875,
0.3526759743690491,
-0.019352123141288757,
-0.3463917374610901,
-0.008276205509901047,
-0.008959896862506866,
0.083609700202... |
https://github.com/huggingface/datasets/issues/4374 | Hi !
My guess is that some examples in your dataset are bigger than your RAM, and therefore loading them in RAM to pass them to `remove_non_indic_sentences` takes forever because it might use SWAP memory.
Maybe several examples in your dataset are grouped together, can you check `len(lang_dataset["train"])` and `... | extremely slow processing when using a custom dataset | ## processing a custom dataset loaded as .txt file is extremely slow, compared to a dataset of similar volume from the hub
I have a large .txt file of 22 GB which i load into HF dataset
`lang_dataset = datasets.load_dataset("text", data_files="hi.txt")`
further i use a pre-processing function to clean the d... | 72 | extremely slow processing when using a custom dataset
## processing a custom dataset loaded as .txt file is extremely slow, compared to a dataset of similar volume from the hub
I have a large .txt file of 22 GB which i load into HF dataset
`lang_dataset = datasets.load_dataset("text", data_files="hi.txt")`
... | [
-0.1299944519996643,
-0.27353864908218384,
-0.02180623635649681,
0.2799508571624756,
-0.11924690753221512,
0.15719644725322723,
0.11953767389059067,
0.3305009603500366,
0.19995629787445068,
-0.062003716826438904,
-0.3777610659599304,
0.033846236765384674,
-0.04093712195754051,
0.2323157191... |
https://github.com/huggingface/datasets/issues/4363 | Hi! A dataset has to be streamable to work with the viewer. I did a quick test, and yours is, so this might be a bug in the viewer. cc @severo
| The dataset preview is not available for this split. | I have uploaded the corpus developed by our lab in the speech domain to huggingface [datasets](https://huggingface.co/datasets/Roh/ryanspeech). You can read about the companion paper accepted in interspeech 2021 [here](https://arxiv.org/abs/2106.08468). The dataset works fine but I can't make the dataset preview work. ... | 31 | The dataset preview is not available for this split.
I have uploaded the corpus developed by our lab in the speech domain to huggingface [datasets](https://huggingface.co/datasets/Roh/ryanspeech). You can read about the companion paper accepted in interspeech 2021 [here](https://arxiv.org/abs/2106.08468). The dataset... | [
-0.41432085633277893,
-0.46056753396987915,
0.10315141081809998,
0.2372305691242218,
0.06892874091863632,
0.057130053639411926,
0.18917953968048096,
0.30366915464401245,
-0.20361120998859406,
0.07950699329376221,
-0.5317314267158508,
0.09344562143087387,
-0.1393933892250061,
0.321172982454... |
https://github.com/huggingface/datasets/issues/4363 | Looking at it. The message is now:
```
Message: cannot cache function '__shear_dense': no locator available for file '/src/services/worker/.venv/lib/python3.9/site-packages/librosa/util/utils.py'
```
so possibly it's related to the libraries versions?
| The dataset preview is not available for this split. | I have uploaded the corpus developed by our lab in the speech domain to huggingface [datasets](https://huggingface.co/datasets/Roh/ryanspeech). You can read about the companion paper accepted in interspeech 2021 [here](https://arxiv.org/abs/2106.08468). The dataset works fine but I can't make the dataset preview work. ... | 28 | The dataset preview is not available for this split.
I have uploaded the corpus developed by our lab in the speech domain to huggingface [datasets](https://huggingface.co/datasets/Roh/ryanspeech). You can read about the companion paper accepted in interspeech 2021 [here](https://arxiv.org/abs/2106.08468). The dataset... | [
-0.22673635184764862,
-0.4373915195465088,
0.07581880688667297,
0.25833988189697266,
0.06573155522346497,
0.06564339995384216,
0.2325308620929718,
0.45210590958595276,
-0.19671833515167236,
0.11934778094291687,
-0.5796425342559814,
0.06568615138530731,
-0.1469106525182724,
0.19747157394886... |
https://github.com/huggingface/datasets/issues/4358 | @lhoestq I can take this issue. Please can you point out to me where I can find the other positional arguments? | Missing dataset tags and sections in some dataset cards | Summary of CircleCI errors for different dataset metadata:
- **BoolQ**: missing 8 required positional arguments: 'annotations_creators', 'language_creators', 'licenses', 'multilinguality', 'size_categories', 'source_datasets', 'task_categories', and 'task_ids'
- **Conllpp**: expected some content in section `Citati... | 21 | Missing dataset tags and sections in some dataset cards
Summary of CircleCI errors for different dataset metadata:
- **BoolQ**: missing 8 required positional arguments: 'annotations_creators', 'language_creators', 'licenses', 'multilinguality', 'size_categories', 'source_datasets', 'task_categories', and 'task_ids... | [
-0.21198591589927673,
0.04630754888057709,
-0.1829110085964203,
0.37459903955459595,
-0.037828292697668076,
0.339645653963089,
0.2651521861553192,
0.2919747531414032,
-0.018361076712608337,
0.07831548154354095,
0.20011655986309052,
0.4552750885486603,
0.059909842908382416,
0.40894746780395... |
https://github.com/huggingface/datasets/issues/4358 | Hi @RohitRathore1 :)
You can find all the YAML tags in the tagging app here: https://hf.co/spaces/huggingface/datasets-tagging). They're all passed as arguments to a DatasetMetadata object used to validate the tags. | Missing dataset tags and sections in some dataset cards | Summary of CircleCI errors for different dataset metadata:
- **BoolQ**: missing 8 required positional arguments: 'annotations_creators', 'language_creators', 'licenses', 'multilinguality', 'size_categories', 'source_datasets', 'task_categories', and 'task_ids'
- **Conllpp**: expected some content in section `Citati... | 30 | Missing dataset tags and sections in some dataset cards
Summary of CircleCI errors for different dataset metadata:
- **BoolQ**: missing 8 required positional arguments: 'annotations_creators', 'language_creators', 'licenses', 'multilinguality', 'size_categories', 'source_datasets', 'task_categories', and 'task_ids... | [
-0.21198591589927673,
0.04630754888057709,
-0.1829110085964203,
0.37459903955459595,
-0.037828292697668076,
0.339645653963089,
0.2651521861553192,
0.2919747531414032,
-0.018361076712608337,
0.07831548154354095,
0.20011655986309052,
0.4552750885486603,
0.059909842908382416,
0.40894746780395... |
https://github.com/huggingface/datasets/issues/4354 | Hi! Yes, the docs are outdated. Expect this to be fixed soon.
In the meantime, you can try to fix the issue yourself.
These are the configs/language pairs supported by `wmt15` from which you can choose:
* `cs-en` (Czech - English)
* `de-en` (German - English)
* `fi-en` (Finnish- English)
* `fr-en` (French - ... | Problems with WMT dataset | ## Describe the bug
I am trying to load WMT15 dataset and to define which data-sources to use for train/validation/test splits, but unfortunately it seems that the official documentation at [https://huggingface.co/datasets/wmt15#:~:text=Versions%20exists%20for,wmt_translate%22%2C%20config%3Dconfig)](https://huggingfac... | 126 | Problems with WMT dataset
## Describe the bug
I am trying to load WMT15 dataset and to define which data-sources to use for train/validation/test splits, but unfortunately it seems that the official documentation at [https://huggingface.co/datasets/wmt15#:~:text=Versions%20exists%20for,wmt_translate%22%2C%20config%3... | [
-0.4581344723701477,
-0.11206471920013428,
0.08600440621376038,
0.3351209759712219,
0.392886757850647,
0.0050777867436409,
0.31913647055625916,
0.22884337604045868,
0.1761774867773056,
0.2506062686443329,
0.021360382437705994,
0.023583784699440002,
-0.05569739639759064,
0.1305863857269287,... |
https://github.com/huggingface/datasets/issues/4354 | Hi @mariosasko
Are the docs updated? If not, I would like to get on it. I am new around here, would we helpful, if you can guide.
Thanks | Problems with WMT dataset | ## Describe the bug
I am trying to load WMT15 dataset and to define which data-sources to use for train/validation/test splits, but unfortunately it seems that the official documentation at [https://huggingface.co/datasets/wmt15#:~:text=Versions%20exists%20for,wmt_translate%22%2C%20config%3Dconfig)](https://huggingfac... | 28 | Problems with WMT dataset
## Describe the bug
I am trying to load WMT15 dataset and to define which data-sources to use for train/validation/test splits, but unfortunately it seems that the official documentation at [https://huggingface.co/datasets/wmt15#:~:text=Versions%20exists%20for,wmt_translate%22%2C%20config%3... | [
-0.4264432489871979,
-0.17433319985866547,
0.0947495698928833,
0.39723652601242065,
0.379110723733902,
0.0027876347303390503,
0.3470557928085327,
0.19680753350257874,
0.130733460187912,
0.16936275362968445,
0.023115336894989014,
0.01861858367919922,
-0.06973986327648163,
0.1159754246473312... |
https://github.com/huggingface/datasets/issues/4354 | Hi @khushmeeet! The docs haven't been updated, so feel free to work on this issue. This is a tricky issue, so I'll give the steps you can follow to fix this:
First, this code:
https://github.com/huggingface/datasets/blob/7cff5b9726a223509dbd6224de3f5f452c8d924f/src/datasets/load.py#L113-L118
needs to be replaced... | Problems with WMT dataset | ## Describe the bug
I am trying to load WMT15 dataset and to define which data-sources to use for train/validation/test splits, but unfortunately it seems that the official documentation at [https://huggingface.co/datasets/wmt15#:~:text=Versions%20exists%20for,wmt_translate%22%2C%20config%3Dconfig)](https://huggingfac... | 458 | Problems with WMT dataset
## Describe the bug
I am trying to load WMT15 dataset and to define which data-sources to use for train/validation/test splits, but unfortunately it seems that the official documentation at [https://huggingface.co/datasets/wmt15#:~:text=Versions%20exists%20for,wmt_translate%22%2C%20config%3... | [
-0.43425291776657104,
-0.16670936346054077,
0.1063617616891861,
0.38481366634368896,
0.45834478735923767,
0.019079431891441345,
0.3221486210823059,
0.18138134479522705,
0.18812498450279236,
0.1917194426059723,
-0.010922349989414215,
0.056592196226119995,
-0.09811699390411377,
0.16601899266... |
https://github.com/huggingface/datasets/issues/4354 | Hi @mariosasko ,
I have made the changes as suggested by you and have opened a PR #4537.
Thanks | Problems with WMT dataset | ## Describe the bug
I am trying to load WMT15 dataset and to define which data-sources to use for train/validation/test splits, but unfortunately it seems that the official documentation at [https://huggingface.co/datasets/wmt15#:~:text=Versions%20exists%20for,wmt_translate%22%2C%20config%3Dconfig)](https://huggingfac... | 19 | Problems with WMT dataset
## Describe the bug
I am trying to load WMT15 dataset and to define which data-sources to use for train/validation/test splits, but unfortunately it seems that the official documentation at [https://huggingface.co/datasets/wmt15#:~:text=Versions%20exists%20for,wmt_translate%22%2C%20config%3... | [
-0.4753236174583435,
-0.1620139628648758,
0.1031809151172638,
0.4231518507003784,
0.43304508924484253,
0.01690559834241867,
0.3509161174297333,
0.22065354883670807,
0.17838948965072632,
0.2128463089466095,
0.009992312639951706,
0.0935325175523758,
-0.07774459570646286,
0.13607290387153625,... |
https://github.com/huggingface/datasets/issues/4352 | Hi ! Thanks for reporting :) `datasets` usually returns a `pa.lib.ArrowInvalid` error if the feature types don't match.
It would be awesome if we had a way to reproduce the `OverflowError` in this case, to better understand what happened and be able to provide the best error message | When using `dataset.map()` if passed `Features` types do not match what is returned from the mapped function, execution does not except in an obvious way | ## Describe the bug
Recently I was trying to using `.map()` to preprocess a dataset. I defined the expected Features and passed them into `.map()` like `dataset.map(preprocess_data, features=features)`. My expected `Features` keys matched what came out of `preprocess_data`, but the types i had defined for them did not... | 48 | When using `dataset.map()` if passed `Features` types do not match what is returned from the mapped function, execution does not except in an obvious way
## Describe the bug
Recently I was trying to using `.map()` to preprocess a dataset. I defined the expected Features and passed them into `.map()` like `dataset.ma... | [
-0.015427663922309875,
-0.27166736125946045,
-0.038212329149246216,
0.40207812190055847,
0.07682366669178009,
-0.22450903058052063,
0.20396870374679565,
0.42126017808914185,
0.23055291175842285,
-0.18846078217029572,
0.35164713859558105,
0.6763102412223816,
-0.04513923451304436,
0.24678632... |
https://github.com/huggingface/datasets/issues/4351 | Hi! I like this idea. For consistency with `load_dataset`, we can use `fsspec`'s `TqdmCallback` in `.load_from_disk` to monitor the number of bytes downloaded, and in `.save_to_disk`, we can track the number of saved shards for consistency with `push_to_hub` (after we implement https://github.com/huggingface/datasets/... | Add optional progress bar for .save_to_disk(..) and .load_from_disk(..) when working with remote filesystems | **Is your feature request related to a problem? Please describe.**
When working with large datasets stored on remote filesystems(such as s3), the process of uploading a dataset could take really long time. For instance: I was uploading a re-processed version of wmt17 en-ru to my s3 bucket and it took like 35 minutes(a... | 42 | Add optional progress bar for .save_to_disk(..) and .load_from_disk(..) when working with remote filesystems
**Is your feature request related to a problem? Please describe.**
When working with large datasets stored on remote filesystems(such as s3), the process of uploading a dataset could take really long time. Fo... | [
-0.2573435306549072,
-0.1386774778366089,
-0.008543651551008224,
-0.28235694766044617,
0.0861685574054718,
-0.21052515506744385,
0.10983259975910187,
-0.08793807029724121,
-0.3601016402244568,
0.3999566435813904,
0.27226921916007996,
0.38821616768836975,
-0.2690255641937256,
0.632668614387... |
https://github.com/huggingface/datasets/issues/4349 | Note that this same issue occurs even if i preprocess with the more default way of tokenizing that uses LayoutLMv2Processor's internal OCR:
```python
feature_extractor = LayoutLMv2FeatureExtractor()
tokenizer = LayoutLMv2Tokenizer.from_pretrained("microsoft/layoutlmv2-base-uncased")
proces... | Dataset.map()'s fails at any value of parameter writer_batch_size | ## Describe the bug
If the the value of `writer_batch_size` is less than the total number of instances in the dataset it will fail at that same number of instances. If it is greater than the total number of instances, it fails on the last instance.
Context:
I am attempting to fine-tune a pre-trained HuggingFace tr... | 45 | Dataset.map()'s fails at any value of parameter writer_batch_size
## Describe the bug
If the the value of `writer_batch_size` is less than the total number of instances in the dataset it will fail at that same number of instances. If it is greater than the total number of instances, it fails on the last instance.
... | [
-0.2549957036972046,
-0.4085405766963959,
0.09665382653474808,
0.42863014340400696,
0.23294582962989807,
0.017586998641490936,
0.3613595962524414,
0.2593979239463806,
0.13105984032154083,
0.15520504117012024,
0.2862234115600586,
0.0591420978307724,
-0.18478307127952576,
-0.0455202311277389... |
https://github.com/huggingface/datasets/issues/4349 | Did you close it because you found that it was due to the incorrect Feature types ? | Dataset.map()'s fails at any value of parameter writer_batch_size | ## Describe the bug
If the the value of `writer_batch_size` is less than the total number of instances in the dataset it will fail at that same number of instances. If it is greater than the total number of instances, it fails on the last instance.
Context:
I am attempting to fine-tune a pre-trained HuggingFace tr... | 17 | Dataset.map()'s fails at any value of parameter writer_batch_size
## Describe the bug
If the the value of `writer_batch_size` is less than the total number of instances in the dataset it will fail at that same number of instances. If it is greater than the total number of instances, it fails on the last instance.
... | [
-0.2549957036972046,
-0.4085405766963959,
0.09665382653474808,
0.42863014340400696,
0.23294582962989807,
0.017586998641490936,
0.3613595962524414,
0.2593979239463806,
0.13105984032154083,
0.15520504117012024,
0.2862234115600586,
0.0591420978307724,
-0.18478307127952576,
-0.0455202311277389... |
https://github.com/huggingface/datasets/issues/4349 | Yeah-- my analysis of the issue was wrong in this one so I just closed it while linking to the new issue | Dataset.map()'s fails at any value of parameter writer_batch_size | ## Describe the bug
If the the value of `writer_batch_size` is less than the total number of instances in the dataset it will fail at that same number of instances. If it is greater than the total number of instances, it fails on the last instance.
Context:
I am attempting to fine-tune a pre-trained HuggingFace tr... | 22 | Dataset.map()'s fails at any value of parameter writer_batch_size
## Describe the bug
If the the value of `writer_batch_size` is less than the total number of instances in the dataset it will fail at that same number of instances. If it is greater than the total number of instances, it fails on the last instance.
... | [
-0.2549957036972046,
-0.4085405766963959,
0.09665382653474808,
0.42863014340400696,
0.23294582962989807,
0.017586998641490936,
0.3613595962524414,
0.2593979239463806,
0.13105984032154083,
0.15520504117012024,
0.2862234115600586,
0.0591420978307724,
-0.18478307127952576,
-0.0455202311277389... |
https://github.com/huggingface/datasets/issues/4349 | I met with the same problem when doing some experiments about layoutlm. I tried to set the writer_batch_size to 1, and the error still exists. Is there any solutions to this problem? | Dataset.map()'s fails at any value of parameter writer_batch_size | ## Describe the bug
If the the value of `writer_batch_size` is less than the total number of instances in the dataset it will fail at that same number of instances. If it is greater than the total number of instances, it fails on the last instance.
Context:
I am attempting to fine-tune a pre-trained HuggingFace tr... | 32 | Dataset.map()'s fails at any value of parameter writer_batch_size
## Describe the bug
If the the value of `writer_batch_size` is less than the total number of instances in the dataset it will fail at that same number of instances. If it is greater than the total number of instances, it fails on the last instance.
... | [
-0.2549957036972046,
-0.4085405766963959,
0.09665382653474808,
0.42863014340400696,
0.23294582962989807,
0.017586998641490936,
0.3613595962524414,
0.2593979239463806,
0.13105984032154083,
0.15520504117012024,
0.2862234115600586,
0.0591420978307724,
-0.18478307127952576,
-0.0455202311277389... |
https://github.com/huggingface/datasets/issues/4349 | The problem lies in how your Features are defined. It's erroring out when it actually goes to write them to disk | Dataset.map()'s fails at any value of parameter writer_batch_size | ## Describe the bug
If the the value of `writer_batch_size` is less than the total number of instances in the dataset it will fail at that same number of instances. If it is greater than the total number of instances, it fails on the last instance.
Context:
I am attempting to fine-tune a pre-trained HuggingFace tr... | 21 | Dataset.map()'s fails at any value of parameter writer_batch_size
## Describe the bug
If the the value of `writer_batch_size` is less than the total number of instances in the dataset it will fail at that same number of instances. If it is greater than the total number of instances, it fails on the last instance.
... | [
-0.2549957036972046,
-0.4085405766963959,
0.09665382653474808,
0.42863014340400696,
0.23294582962989807,
0.017586998641490936,
0.3613595962524414,
0.2593979239463806,
0.13105984032154083,
0.15520504117012024,
0.2862234115600586,
0.0591420978307724,
-0.18478307127952576,
-0.0455202311277389... |
https://github.com/huggingface/datasets/issues/4348 | Hi, thanks for reporting! `git bisect` points to #2986 as the PR that introduced the bug. Since then, there have been some additional changes to the loading logic, and in the current state, `force_local_path` (set via `local_path`) forbids pulling a script from the internet instead of downloading it: https://github.com... | `inspect` functions can't fetch dataset script from the Hub | The `inspect_dataset` and `inspect_metric` functions are unable to retrieve a dataset or metric script from the Hub and store it locally at the specified `local_path`:
```py
>>> from datasets import inspect_dataset
>>> inspect_dataset('rotten_tomatoes', local_path='path/to/my/local/folder')
FileNotFoundError: C... | 72 | `inspect` functions can't fetch dataset script from the Hub
The `inspect_dataset` and `inspect_metric` functions are unable to retrieve a dataset or metric script from the Hub and store it locally at the specified `local_path`:
```py
>>> from datasets import inspect_dataset
>>> inspect_dataset('rotten_tomatoes',... | [
-0.3794439435005188,
0.1957208514213562,
-0.0743137076497078,
0.10047267377376556,
0.2156323939561844,
-0.09829830378293991,
0.1583060473203659,
0.45292219519615173,
0.48710793256759644,
0.11161840707063675,
-0.3281928598880768,
0.2588717043399811,
-0.22168049216270447,
0.03119024634361267... |
https://github.com/huggingface/datasets/issues/4343 | Hey @fxmarty :) Yes we are working on showing the docs of all the metrics on the Hugging face website. If you want to follow the advancements you can check the [evaluate](https://github.com/huggingface/evaluate) repository cc @lvwerra @sashavor | Metrics documentation is not accessible in the datasets doc UI | **Is your feature request related to a problem? Please describe.**
Search for a metric name like "seqeval" yields no results on https://huggingface.co/docs/datasets/master/en/index . One needs to go look in `datasets/metrics/README.md` to find the doc. Even in the `README.md`, it can be hard to understand what the met... | 36 | Metrics documentation is not accessible in the datasets doc UI
**Is your feature request related to a problem? Please describe.**
Search for a metric name like "seqeval" yields no results on https://huggingface.co/docs/datasets/master/en/index . One needs to go look in `datasets/metrics/README.md` to find the doc. E... | [
0.020352259278297424,
-0.03355500102043152,
-0.04413037747144699,
0.08836440742015839,
0.49670469760894775,
0.15937139093875885,
-0.06898000091314316,
0.1431361436843872,
-0.1123313456773758,
0.31040361523628235,
-0.28040558099746704,
0.12599146366119385,
0.027571480721235275,
0.0930866077... |
https://github.com/huggingface/datasets/issues/4327 | Hi @vpj, thanks for reporting.
I'm sorry, but I can't reproduce your bug: I load "20220301.simple"in 9 seconds:
```shell
time python -c "from datasets import load_dataset; load_dataset('wikipedia', '20220301.simple')"
Downloading and preparing dataset wikipedia/20220301.simple (download: 228.58 MiB, generated: ... | `wikipedia` pre-processed datasets | ## Describe the bug
[Wikipedia](https://huggingface.co/datasets/wikipedia) dataset readme says that certain subsets are preprocessed. However it seems like they are not available. When I try to load them it takes a really long time, and it seems like it's processing them.
## Steps to reproduce the bug
```python
f... | 133 | `wikipedia` pre-processed datasets
## Describe the bug
[Wikipedia](https://huggingface.co/datasets/wikipedia) dataset readme says that certain subsets are preprocessed. However it seems like they are not available. When I try to load them it takes a really long time, and it seems like it's processing them.
## Ste... | [
0.05489681661128998,
-0.318062424659729,
-0.11570651829242706,
0.3456414043903351,
0.098975770175457,
0.3343449532985687,
0.08799105882644653,
0.10338039696216583,
0.21118497848510742,
-0.018500208854675293,
-0.13220497965812683,
0.10368932038545609,
0.30966028571128845,
-0.212110668420791... |
https://github.com/huggingface/datasets/issues/4327 | Downloading and processing `wikipedia simple` dataset completed in under 11sec on M1 Mac. Could you please check `dataset` version as mentioned by @albertvillanova? Also check system specs, if system is under load processing could take some time I guess. | `wikipedia` pre-processed datasets | ## Describe the bug
[Wikipedia](https://huggingface.co/datasets/wikipedia) dataset readme says that certain subsets are preprocessed. However it seems like they are not available. When I try to load them it takes a really long time, and it seems like it's processing them.
## Steps to reproduce the bug
```python
f... | 39 | `wikipedia` pre-processed datasets
## Describe the bug
[Wikipedia](https://huggingface.co/datasets/wikipedia) dataset readme says that certain subsets are preprocessed. However it seems like they are not available. When I try to load them it takes a really long time, and it seems like it's processing them.
## Ste... | [
-0.0015672966837882996,
-0.2262675166130066,
-0.1317078024148941,
0.30275097489356995,
-0.000476272776722908,
0.35930269956588745,
0.09913335740566254,
0.1869499683380127,
0.21876263618469238,
-0.16363947093486786,
0.006870720535516739,
0.2535077929496765,
0.193525493144989,
-0.23757772147... |
https://github.com/huggingface/datasets/issues/4325 | Not sure if it's related... I was going to raise an issue for https://huggingface.co/datasets/domenicrosati/TruthfulQA which also has the same issue... https://huggingface.co/datasets/domenicrosati/TruthfulQA/viewer/domenicrosati--TruthfulQA/train
| Dataset Viewer issue for strombergnlp/offenseval_2020, strombergnlp/polstance | ### Link
https://huggingface.co/datasets/strombergnlp/offenseval_2020/viewer/ar/train
### Description
The viewer isn't running for these two datasets. I left it overnight because a wait sometimes helps things get loaded, and the error messages have all gone, but the datasets are still turning up blank in viewer. May... | 21 | Dataset Viewer issue for strombergnlp/offenseval_2020, strombergnlp/polstance
### Link
https://huggingface.co/datasets/strombergnlp/offenseval_2020/viewer/ar/train
### Description
The viewer isn't running for these two datasets. I left it overnight because a wait sometimes helps things get loaded, and the error me... | [
-0.39822837710380554,
-0.051037296652793884,
0.11376415193080902,
0.2787129878997803,
0.126177579164505,
0.10764923691749573,
0.5049293041229248,
0.10841032862663269,
0.08695568144321442,
0.04506630823016167,
-0.11013859510421753,
-0.05777394771575928,
-0.14051929116249084,
0.0919429883360... |
https://github.com/huggingface/datasets/issues/4325 | Yes, it's related. The backend behind the dataset viewer is currently under too much load, and these datasets are still in the jobs queue. We're actively working on this issue, and we expect to fix the issue permanently soon. Thanks for your patience 🙏 | Dataset Viewer issue for strombergnlp/offenseval_2020, strombergnlp/polstance | ### Link
https://huggingface.co/datasets/strombergnlp/offenseval_2020/viewer/ar/train
### Description
The viewer isn't running for these two datasets. I left it overnight because a wait sometimes helps things get loaded, and the error messages have all gone, but the datasets are still turning up blank in viewer. May... | 44 | Dataset Viewer issue for strombergnlp/offenseval_2020, strombergnlp/polstance
### Link
https://huggingface.co/datasets/strombergnlp/offenseval_2020/viewer/ar/train
### Description
The viewer isn't running for these two datasets. I left it overnight because a wait sometimes helps things get loaded, and the error me... | [
-0.45925334095954895,
-0.03186120092868805,
0.10656797885894775,
0.1943034529685974,
0.11207985877990723,
0.04037265479564667,
0.434797078371048,
0.17715123295783997,
0.13323503732681274,
0.05170484259724617,
-0.11417169123888016,
0.02643577754497528,
-0.09639975428581238,
0.12821313738822... |
https://github.com/huggingface/datasets/issues/4325 | Thanks @severo and no worries! - a suggestion for a UI usability thing maybe is to indicate that the dataset processing is in the job queue (rather than no data?) | Dataset Viewer issue for strombergnlp/offenseval_2020, strombergnlp/polstance | ### Link
https://huggingface.co/datasets/strombergnlp/offenseval_2020/viewer/ar/train
### Description
The viewer isn't running for these two datasets. I left it overnight because a wait sometimes helps things get loaded, and the error messages have all gone, but the datasets are still turning up blank in viewer. May... | 30 | Dataset Viewer issue for strombergnlp/offenseval_2020, strombergnlp/polstance
### Link
https://huggingface.co/datasets/strombergnlp/offenseval_2020/viewer/ar/train
### Description
The viewer isn't running for these two datasets. I left it overnight because a wait sometimes helps things get loaded, and the error me... | [
-0.4327183663845062,
0.050321295857429504,
0.07718294113874435,
0.13712838292121887,
0.1178332194685936,
0.07461424171924591,
0.4252671003341675,
0.07164414972066879,
0.17266739904880524,
0.1026412695646286,
0.0006816647946834564,
0.03201223909854889,
-0.09696490317583084,
0.15952885150909... |
https://github.com/huggingface/datasets/issues/4323 | 
that is reason my bytes`s empty
but i have some confused why path prior is higher than bytes?
if you can make bytes in _generate_examples , you don`t have to make bytes to path?
because we have path a... | Audio can not find value["bytes"] | ## Describe the bug
I wrote down _generate_examples like:

but where is the bytes?

## ... | 42 | Audio can not find value["bytes"]
## Describe the bug
I wrote down _generate_examples like:

but where is the bytes?

but where is the bytes?

## ... | 138 | Audio can not find value["bytes"]
## Describe the bug
I wrote down _generate_examples like:

but where is the bytes?
 {"bytes":"blah blah~", "path":"blah blah~"}
that source working that my bytes to empty first,
and then, re-calculate my bytes!

but where is the bytes?

## ... | 105 | Audio can not find value["bytes"]
## Describe the bug
I wrote down _generate_examples like:

but where is the bytes?

but where is the bytes?

## ... | 41 | Audio can not find value["bytes"]
## Describe the bug
I wrote down _generate_examples like:

but where is the bytes?
) and see how we can make the `Image.encode_example` method work with PCM data.
There might be other ways to approach this problem, but here is what I th... | Audio can not find value["bytes"] | ## Describe the bug
I wrote down _generate_examples like:

but where is the bytes?

## ... | 103 | Audio can not find value["bytes"]
## Describe the bug
I wrote down _generate_examples like:

but where is the bytes?

This dataset was simply converted from [tensorflow datasets](https://github.com/tensorflow/datasets/blob/master/tensorflow_datasets/summarization/multi_news.py)
I think we can just remove the `.strip("- ")` and keep this character | Multi-news dataset loader attempts to strip wrong character from beginning of summaries | ## Describe the bug
The `multi_news.py` data loader has [a line which attempts to strip `"- "` from the beginning of summaries](https://github.com/huggingface/datasets/blob/aa743886221d76afb409d263e1b136e7a71fe2b4/datasets/multi_news/multi_news.py#L97). The actual character in the multi-news dataset, however, is `"–... | 27 | Multi-news dataset loader attempts to strip wrong character from beginning of summaries
## Describe the bug
The `multi_news.py` data loader has [a line which attempts to strip `"- "` from the beginning of summaries](https://github.com/huggingface/datasets/blob/aa743886221d76afb409d263e1b136e7a71fe2b4/datasets/mult... | [
0.019541151821613312,
-0.052933841943740845,
0.06414414197206497,
0.17978420853614807,
0.3484720289707184,
-0.015396766364574432,
0.49016764760017395,
0.30518433451652527,
-0.2167351394891739,
0.2802416682243347,
-0.10921783000230789,
0.30264967679977417,
0.15335655212402344,
0.05820015072... |
https://github.com/huggingface/datasets/issues/4304 | Thanks for reporting ! I forwarded the issue to the front-end team :)
Will keep you posted !
I also changed the tagging app to suggest two letters code for now. | Language code search does direct matches | ## Describe the bug
Hi. Searching for bcp47 tags that are just the language prefix (e.g. `sq` or `da`) excludes datasets that have added extra information in their language metadata (e.g. `sq-AL` or `da-bornholm`). The example codes given in the [tagging app](https://huggingface.co/spaces/huggingface/datasets-taggin... | 31 | Language code search does direct matches
## Describe the bug
Hi. Searching for bcp47 tags that are just the language prefix (e.g. `sq` or `da`) excludes datasets that have added extra information in their language metadata (e.g. `sq-AL` or `da-bornholm`). The example codes given in the [tagging app](https://huggin... | [
-0.03264625370502472,
-0.246877059340477,
-0.044312793761491776,
0.2275494486093521,
0.08819758892059326,
-0.17439988255500793,
-0.08194787800312042,
0.23672901093959808,
0.08741380274295807,
-0.016721494495868683,
-0.1506921499967575,
0.18932804465293884,
-0.09969785809516907,
0.362764507... |
https://github.com/huggingface/datasets/issues/4298 | we'll add the same server-side metadata validation system as for hf.co/models soon-ish
(you can check on hf.co/models that licenses are "clean") | Normalise license names | **Is your feature request related to a problem? Please describe.**
When browsing datasets, the Licenses tag cloud (bottom left of e.g. https://huggingface.co/datasets) has multiple variants of the same license. This means the options exclude datasets arbitrarily, giving users artificially low recall. The cause of the ... | 21 | Normalise license names
**Is your feature request related to a problem? Please describe.**
When browsing datasets, the Licenses tag cloud (bottom left of e.g. https://huggingface.co/datasets) has multiple variants of the same license. This means the options exclude datasets arbitrarily, giving users artificially low... | [
-0.02779659628868103,
0.11047011613845825,
-0.02263018675148487,
-0.06727349758148193,
0.0254945307970047,
0.11576338112354279,
0.3265071511268616,
0.3348150849342346,
-0.05924050882458687,
0.17183563113212585,
-0.284545361995697,
0.24953411519527435,
-0.06713833659887314,
0.12524038553237... |
https://github.com/huggingface/datasets/issues/4291 | Hi @leondz, thanks for reporting.
Indeed, the dataset viewer relies on the dataset being streamable (passing `streaming=True` to `load_dataset`). Whereas most of the datastes are streamable out of the box (thanks to our implementation of streaming), there are still some exceptions.
In particular, in your case, th... | Dataset Viewer issue for strombergnlp/ipm_nel : preview is empty, no error message | ### Link
https://huggingface.co/datasets/strombergnlp/ipm_nel/viewer/ipm_nel/train
### Description
The viewer is blank. I tried my best to emulate a dataset with a working viewer, but this one just doesn't seem to want to come up. What did I miss?
### Owner
Yes | 103 | Dataset Viewer issue for strombergnlp/ipm_nel : preview is empty, no error message
### Link
https://huggingface.co/datasets/strombergnlp/ipm_nel/viewer/ipm_nel/train
### Description
The viewer is blank. I tried my best to emulate a dataset with a working viewer, but this one just doesn't seem to want to come up. W... | [
-0.5941502451896667,
0.01547706127166748,
0.11166326701641083,
0.26067879796028137,
-0.15293055772781372,
-0.13382183015346527,
0.29047155380249023,
0.26813650131225586,
0.08443168550729752,
0.2371053695678711,
0.012762114405632019,
0.13342806696891785,
-0.36774754524230957,
0.022974006831... |
https://github.com/huggingface/datasets/issues/4291 | Ah, right! The preview is working now, but this explanation is good to know, thank you. I'll prefer formats with random file access supported in datasets.utils.extract in future, and try out this fix for the tarfiles :) | Dataset Viewer issue for strombergnlp/ipm_nel : preview is empty, no error message | ### Link
https://huggingface.co/datasets/strombergnlp/ipm_nel/viewer/ipm_nel/train
### Description
The viewer is blank. I tried my best to emulate a dataset with a working viewer, but this one just doesn't seem to want to come up. What did I miss?
### Owner
Yes | 37 | Dataset Viewer issue for strombergnlp/ipm_nel : preview is empty, no error message
### Link
https://huggingface.co/datasets/strombergnlp/ipm_nel/viewer/ipm_nel/train
### Description
The viewer is blank. I tried my best to emulate a dataset with a working viewer, but this one just doesn't seem to want to come up. W... | [
-0.6053088307380676,
-0.000020250678062438965,
0.07999347895383835,
0.22531971335411072,
-0.1501956284046173,
-0.17358970642089844,
0.29381173849105835,
0.25926917791366577,
0.0822659432888031,
0.3017261028289795,
0.04615797847509384,
0.022502228617668152,
-0.3796800374984741,
0.0506925359... |
https://github.com/huggingface/datasets/issues/4287 | So I managed to solve this by adding a missing `import faiss` in the `@staticmethod` defined in https://github.com/huggingface/datasets/blob/f51b6994db27ea69261ef919fb7775928f9ec10b/src/datasets/search.py#L305, triggered from https://github.com/huggingface/datasets/blob/f51b6994db27ea69261ef919fb7775928f9ec10b/src/data... | "NameError: name 'faiss' is not defined" on `.add_faiss_index` when `device` is not None | ## Describe the bug
When using `datasets` to calculate the FAISS indices of a dataset, the exception `NameError: name 'faiss' is not defined` is triggered when trying to calculate those on a device (GPU), so `.add_faiss_index(..., device=0)` fails with that exception.
All that assuming that `datasets` is properly... | 102 | "NameError: name 'faiss' is not defined" on `.add_faiss_index` when `device` is not None
## Describe the bug
When using `datasets` to calculate the FAISS indices of a dataset, the exception `NameError: name 'faiss' is not defined` is triggered when trying to calculate those on a device (GPU), so `.add_faiss_index(... | [
-0.2677791714668274,
-0.1930616796016693,
-0.050354551523923874,
0.21162183582782745,
0.29990246891975403,
0.07055161893367767,
0.6779098510742188,
0.3354714512825012,
0.13890841603279114,
0.487255334854126,
0.15024054050445557,
0.33128324151039124,
0.19821740686893463,
-0.3838973641395569... |
https://github.com/huggingface/datasets/issues/4287 | Adding here the complete error traceback!
```
Traceback (most recent call last):
File "/home/alvarobartt/lol.py", line 12, in <module>
ds_with_embeddings.add_faiss_index(column='embeddings', device=0) # default `device=None`
File "/home/alvarobartt/.local/lib/python3.9/site-packages/datasets/arrow_datase... | "NameError: name 'faiss' is not defined" on `.add_faiss_index` when `device` is not None | ## Describe the bug
When using `datasets` to calculate the FAISS indices of a dataset, the exception `NameError: name 'faiss' is not defined` is triggered when trying to calculate those on a device (GPU), so `.add_faiss_index(..., device=0)` fails with that exception.
All that assuming that `datasets` is properly... | 66 | "NameError: name 'faiss' is not defined" on `.add_faiss_index` when `device` is not None
## Describe the bug
When using `datasets` to calculate the FAISS indices of a dataset, the exception `NameError: name 'faiss' is not defined` is triggered when trying to calculate those on a device (GPU), so `.add_faiss_index(... | [
-0.2677791714668274,
-0.1930616796016693,
-0.050354551523923874,
0.21162183582782745,
0.29990246891975403,
0.07055161893367767,
0.6779098510742188,
0.3354714512825012,
0.13890841603279114,
0.487255334854126,
0.15024054050445557,
0.33128324151039124,
0.19821740686893463,
-0.3838973641395569... |
https://github.com/huggingface/datasets/issues/4284 | Hi ! `datasets` doesn't load the dataset in memory. Instead it uses memory mapping to load your dataset from your disk (it is stored as arrow files). Do you know at what point you have RAM issues exactly ?
How big are your graph_data_train dictionaries btw ? | Issues in processing very large datasets | ## Describe the bug
I'm trying to add a feature called "subgraph" to CNN/DM dataset (modifications on run_summarization.py of Huggingface Transformers script) --- I'm not quite sure if I'm doing it the right way, though--- but the main problem appears when the training starts where the error ` [OSError: [Errno 12] Can... | 47 | Issues in processing very large datasets
## Describe the bug
I'm trying to add a feature called "subgraph" to CNN/DM dataset (modifications on run_summarization.py of Huggingface Transformers script) --- I'm not quite sure if I'm doing it the right way, though--- but the main problem appears when the training starts... | [
-0.1635492444038391,
-0.2687242925167084,
0.020451121032238007,
0.48325538635253906,
0.4122941792011261,
0.10149089992046356,
-0.061814747750759125,
0.24080614745616913,
-0.02864263206720352,
0.1508559286594391,
0.014922793954610825,
0.07263552397489548,
-0.23145978152751923,
-0.2328297793... |
https://github.com/huggingface/datasets/issues/4276 | Thanks for reporting, @vblagoje.
Indeed, I noticed some of these issues while reviewing this PR:
- #4259
This is in my TODO list. | OpenBookQA has missing and inconsistent field names | ## Describe the bug
OpenBookQA implementation is inconsistent with the original dataset.
We need to:
1. The dataset field [question][stem] is flattened into question_stem. Unflatten it to match the original format.
2. Add missing additional fields:
- 'fact1': row['fact1'],
- 'humanScore': row['humanSc... | 23 | OpenBookQA has missing and inconsistent field names
## Describe the bug
OpenBookQA implementation is inconsistent with the original dataset.
We need to:
1. The dataset field [question][stem] is flattened into question_stem. Unflatten it to match the original format.
2. Add missing additional fields:
- 'f... | [
-0.10092642903327942,
0.21001245081424713,
-0.05182559788227081,
0.22519421577453613,
-0.10977979004383087,
-0.05762350186705589,
0.26807326078414917,
0.3371190130710602,
-0.07926447689533234,
0.20631417632102966,
0.12442053109407425,
0.5698295831680298,
0.441548228263855,
0.36525368690490... |
https://github.com/huggingface/datasets/issues/4276 | On the other hand, I am not sure if we should always preserve the original nested structure. I think we should also consider other factors as convenience or consistency.
For example, other datasets also flatten "question.stem" into "question":
- ai2_arc:
```python
question = data["question"]["stem"]
choice... | OpenBookQA has missing and inconsistent field names | ## Describe the bug
OpenBookQA implementation is inconsistent with the original dataset.
We need to:
1. The dataset field [question][stem] is flattened into question_stem. Unflatten it to match the original format.
2. Add missing additional fields:
- 'fact1': row['fact1'],
- 'humanScore': row['humanSc... | 132 | OpenBookQA has missing and inconsistent field names
## Describe the bug
OpenBookQA implementation is inconsistent with the original dataset.
We need to:
1. The dataset field [question][stem] is flattened into question_stem. Unflatten it to match the original format.
2. Add missing additional fields:
- 'f... | [
-0.10977456718683243,
0.1326163113117218,
-0.044139713048934937,
0.2515018582344055,
-0.23792102932929993,
-0.023839376866817474,
0.2634884715080261,
0.3610415458679199,
0.006401039659976959,
0.17647461593151093,
0.09643363952636719,
0.48494023084640503,
0.4549894630908966,
0.4911120235919... |
https://github.com/huggingface/datasets/issues/4276 | @albertvillanova I agree that we should be consistent. In the last month, I have come across tons of code that deals with OpenBookQA and CommonSenseQA and all of that code relies on the original data format structure. We can't expect users to adopt HF Datasets if we arbitrarily change the structure of the format just b... | OpenBookQA has missing and inconsistent field names | ## Describe the bug
OpenBookQA implementation is inconsistent with the original dataset.
We need to:
1. The dataset field [question][stem] is flattened into question_stem. Unflatten it to match the original format.
2. Add missing additional fields:
- 'fact1': row['fact1'],
- 'humanScore': row['humanSc... | 107 | OpenBookQA has missing and inconsistent field names
## Describe the bug
OpenBookQA implementation is inconsistent with the original dataset.
We need to:
1. The dataset field [question][stem] is flattened into question_stem. Unflatten it to match the original format.
2. Add missing additional fields:
- 'f... | [
-0.06960304081439972,
0.2296476513147354,
-0.010090075433254242,
0.04022883251309395,
-0.18348762392997742,
-0.10421363264322281,
0.3193837106227875,
0.3728417754173279,
-0.008459899574518204,
0.15323278307914734,
0.08122054487466812,
0.3126559555530548,
0.5082780718803406,
0.2665573060512... |
https://github.com/huggingface/datasets/issues/4276 | I'm opening a PR that adds the missing fields.
Let's agree on the feature structure: @lhoestq @mariosasko @polinaeterna | OpenBookQA has missing and inconsistent field names | ## Describe the bug
OpenBookQA implementation is inconsistent with the original dataset.
We need to:
1. The dataset field [question][stem] is flattened into question_stem. Unflatten it to match the original format.
2. Add missing additional fields:
- 'fact1': row['fact1'],
- 'humanScore': row['humanSc... | 18 | OpenBookQA has missing and inconsistent field names
## Describe the bug
OpenBookQA implementation is inconsistent with the original dataset.
We need to:
1. The dataset field [question][stem] is flattened into question_stem. Unflatten it to match the original format.
2. Add missing additional fields:
- 'f... | [
-0.12276633083820343,
0.12948352098464966,
-0.05313277617096901,
0.2436133325099945,
-0.11152830719947815,
-0.05733746290206909,
0.19776886701583862,
0.28914347290992737,
-0.11566048860549927,
0.2128252238035202,
0.18219083547592163,
0.46308937668800354,
0.37812379002571106,
0.345427274703... |
https://github.com/huggingface/datasets/issues/4276 | IMO we should always try to preserve the original structure unless there is a good reason not to (and I don't see one in this case). | OpenBookQA has missing and inconsistent field names | ## Describe the bug
OpenBookQA implementation is inconsistent with the original dataset.
We need to:
1. The dataset field [question][stem] is flattened into question_stem. Unflatten it to match the original format.
2. Add missing additional fields:
- 'fact1': row['fact1'],
- 'humanScore': row['humanSc... | 26 | OpenBookQA has missing and inconsistent field names
## Describe the bug
OpenBookQA implementation is inconsistent with the original dataset.
We need to:
1. The dataset field [question][stem] is flattened into question_stem. Unflatten it to match the original format.
2. Add missing additional fields:
- 'f... | [
-0.11615043133497238,
0.17626675963401794,
-0.0998140275478363,
0.20826385915279388,
-0.11751621961593628,
-0.06794464588165283,
0.263447105884552,
0.3842661678791046,
-0.06823363900184631,
0.2268136888742447,
0.08293083310127258,
0.5433104634284973,
0.3696925640106201,
0.3744896650314331,... |
https://github.com/huggingface/datasets/issues/4276 | I agree with @mariosasko . The transition to the original format could be done in one PR for the next minor release, clearly documenting all dataset changes just as @albertvillanova outlined them above and perhaps even providing a per dataset util method to convert the new valid format to the old for backward compatibi... | OpenBookQA has missing and inconsistent field names | ## Describe the bug
OpenBookQA implementation is inconsistent with the original dataset.
We need to:
1. The dataset field [question][stem] is flattened into question_stem. Unflatten it to match the original format.
2. Add missing additional fields:
- 'fact1': row['fact1'],
- 'humanScore': row['humanSc... | 81 | OpenBookQA has missing and inconsistent field names
## Describe the bug
OpenBookQA implementation is inconsistent with the original dataset.
We need to:
1. The dataset field [question][stem] is flattened into question_stem. Unflatten it to match the original format.
2. Add missing additional fields:
- 'f... | [
-0.19982090592384338,
0.2370985746383667,
-0.07848252356052399,
0.038383327424526215,
-0.04637524485588074,
-0.11212192475795746,
0.26157960295677185,
0.47920548915863037,
-0.0928935781121254,
0.19852212071418762,
0.09859198331832886,
0.5298961400985718,
0.29294100403785706,
0.411828845739... |
https://github.com/huggingface/datasets/issues/4276 | I don't have a strong opinion on this, besides the fact that whatever decision we agree on, should be applied to all datasets.
There is always the tension between:
- preserving each dataset original structure (which has the advantage of not forcing users to learn other structure for the same dataset),
- and on th... | OpenBookQA has missing and inconsistent field names | ## Describe the bug
OpenBookQA implementation is inconsistent with the original dataset.
We need to:
1. The dataset field [question][stem] is flattened into question_stem. Unflatten it to match the original format.
2. Add missing additional fields:
- 'fact1': row['fact1'],
- 'humanScore': row['humanSc... | 161 | OpenBookQA has missing and inconsistent field names
## Describe the bug
OpenBookQA implementation is inconsistent with the original dataset.
We need to:
1. The dataset field [question][stem] is flattened into question_stem. Unflatten it to match the original format.
2. Add missing additional fields:
- 'f... | [
-0.24651497602462769,
0.2637360095977783,
-0.023660946637392044,
0.21829967200756073,
-0.21930691599845886,
-0.0568646602332592,
0.32803434133529663,
0.3779308795928955,
0.0804583877325058,
0.24154898524284363,
0.09365816414356232,
0.49885696172714233,
0.2551303207874298,
0.530379951000213... |
https://github.com/huggingface/datasets/issues/4276 | @albertvillanova, thanks for the detailed answer and the new perspectives. I understand the friction for the best design approach much better now. Ultimately, it is essential to include all the missing fields and the correct data first. Whatever approach is determined to be optimal is important but not as crucial once... | OpenBookQA has missing and inconsistent field names | ## Describe the bug
OpenBookQA implementation is inconsistent with the original dataset.
We need to:
1. The dataset field [question][stem] is flattened into question_stem. Unflatten it to match the original format.
2. Add missing additional fields:
- 'fact1': row['fact1'],
- 'humanScore': row['humanSc... | 69 | OpenBookQA has missing and inconsistent field names
## Describe the bug
OpenBookQA implementation is inconsistent with the original dataset.
We need to:
1. The dataset field [question][stem] is flattened into question_stem. Unflatten it to match the original format.
2. Add missing additional fields:
- 'f... | [
-0.09457530081272125,
0.16495604813098907,
-0.10625547170639038,
0.1807771772146225,
-0.1605590432882309,
-0.18242831528186798,
0.2929793894290924,
0.37215572595596313,
-0.0281360000371933,
0.23731866478919983,
0.08153822273015976,
0.49416428804397583,
0.34432291984558105,
0.38758558034896... |
https://github.com/huggingface/datasets/issues/4276 | Datasets are not tracked in this repository anymore. I think we must move this thread to the [discussions tab of the dataset](https://huggingface.co/datasets/openbookqa/discussions) | OpenBookQA has missing and inconsistent field names | ## Describe the bug
OpenBookQA implementation is inconsistent with the original dataset.
We need to:
1. The dataset field [question][stem] is flattened into question_stem. Unflatten it to match the original format.
2. Add missing additional fields:
- 'fact1': row['fact1'],
- 'humanScore': row['humanSc... | 22 | OpenBookQA has missing and inconsistent field names
## Describe the bug
OpenBookQA implementation is inconsistent with the original dataset.
We need to:
1. The dataset field [question][stem] is flattened into question_stem. Unflatten it to match the original format.
2. Add missing additional fields:
- 'f... | [
-0.11451646685600281,
0.15429705381393433,
-0.07824110984802246,
0.2556333839893341,
-0.15302717685699463,
-0.042520612478256226,
0.2703094184398651,
0.31804007291793823,
-0.01688556745648384,
0.2164824903011322,
0.10811547935009003,
0.5026230216026306,
0.3602462112903595,
0.42073366045951... |
https://github.com/huggingface/datasets/issues/4271 | Hi! Thanks for catching and reporting the typo, a PR has been opened to fix it :) | A typo in docs of datasets.disable_progress_bar | ## Describe the bug
in the docs of V2.1.0 datasets.disable_progress_bar, we should replace "enable" with "disable". | 17 | A typo in docs of datasets.disable_progress_bar
## Describe the bug
in the docs of V2.1.0 datasets.disable_progress_bar, we should replace "enable" with "disable".
Hi! Thanks for catching and reporting the typo, a PR has been opened to fix it :) | [
-0.222915917634964,
0.11559697985649109,
-0.19578692317008972,
-0.23320457339286804,
0.19840162992477417,
-0.018790587782859802,
0.2855748236179352,
0.2007131427526474,
-0.18869197368621826,
0.3785560429096222,
0.2363298088312149,
0.34763336181640625,
0.17509454488754272,
0.323180437088012... |
https://github.com/huggingface/datasets/issues/4268 | It would help a lot to be able to preview the dataset - I'd like to see if the pronunciations are in the dataset, eg. for ["word"](https://en.wiktionary.org/wiki/word),
Pronunciation
([Received Pronunciation](https://en.wikipedia.org/wiki/Received_Pronunciation)) [IPA](https://en.wiktionary.org/wiki/Wiktionary:Inte... | error downloading bigscience-catalogue-lm-data/lm_en_wiktionary_filtered | ## Describe the bug
Error generated when attempting to download dataset
## Steps to reproduce the bug
```python
from datasets import load_dataset
dataset = load_dataset("bigscience-catalogue-lm-data/lm_en_wiktionary_filtered")
```
## Expected results
A clear and concise description of the expected results... | 38 | error downloading bigscience-catalogue-lm-data/lm_en_wiktionary_filtered
## Describe the bug
Error generated when attempting to download dataset
## Steps to reproduce the bug
```python
from datasets import load_dataset
dataset = load_dataset("bigscience-catalogue-lm-data/lm_en_wiktionary_filtered")
```
#... | [
-0.29237857460975647,
-0.041403427720069885,
-0.1572301685810089,
0.2814294397830963,
0.04999104142189026,
-0.028551727533340454,
0.1625797599554062,
0.5453564524650574,
0.2865178883075714,
0.07778145372867584,
-0.16878893971443176,
0.24419572949409485,
-0.18494188785552979,
-0.04901819676... |
https://github.com/huggingface/datasets/issues/4268 | Hi @i-am-neo, thanks for reporting.
Normally this dataset should be private and not accessible for public use. @cakiki, @lvwerra, any reason why is it public? I see many other Wikimedia datasets are also public.
Also note that last commit "Add metadata" (https://huggingface.co/datasets/bigscience-catalogue-lm-dat... | error downloading bigscience-catalogue-lm-data/lm_en_wiktionary_filtered | ## Describe the bug
Error generated when attempting to download dataset
## Steps to reproduce the bug
```python
from datasets import load_dataset
dataset = load_dataset("bigscience-catalogue-lm-data/lm_en_wiktionary_filtered")
```
## Expected results
A clear and concise description of the expected results... | 100 | error downloading bigscience-catalogue-lm-data/lm_en_wiktionary_filtered
## Describe the bug
Error generated when attempting to download dataset
## Steps to reproduce the bug
```python
from datasets import load_dataset
dataset = load_dataset("bigscience-catalogue-lm-data/lm_en_wiktionary_filtered")
```
#... | [
-0.29237857460975647,
-0.041403427720069885,
-0.1572301685810089,
0.2814294397830963,
0.04999104142189026,
-0.028551727533340454,
0.1625797599554062,
0.5453564524650574,
0.2865178883075714,
0.07778145372867584,
-0.16878893971443176,
0.24419572949409485,
-0.18494188785552979,
-0.04901819676... |
https://github.com/huggingface/datasets/issues/4268 | Ah this must be a bug introduced at creation time since the repos were created programmatically; I'll go ahead and make them private; sorry about that! | error downloading bigscience-catalogue-lm-data/lm_en_wiktionary_filtered | ## Describe the bug
Error generated when attempting to download dataset
## Steps to reproduce the bug
```python
from datasets import load_dataset
dataset = load_dataset("bigscience-catalogue-lm-data/lm_en_wiktionary_filtered")
```
## Expected results
A clear and concise description of the expected results... | 26 | error downloading bigscience-catalogue-lm-data/lm_en_wiktionary_filtered
## Describe the bug
Error generated when attempting to download dataset
## Steps to reproduce the bug
```python
from datasets import load_dataset
dataset = load_dataset("bigscience-catalogue-lm-data/lm_en_wiktionary_filtered")
```
#... | [
-0.29237857460975647,
-0.041403427720069885,
-0.1572301685810089,
0.2814294397830963,
0.04999104142189026,
-0.028551727533340454,
0.1625797599554062,
0.5453564524650574,
0.2865178883075714,
0.07778145372867584,
-0.16878893971443176,
0.24419572949409485,
-0.18494188785552979,
-0.04901819676... |
https://github.com/huggingface/datasets/issues/4268 | All datasets are private now.
Re:that bug I think we're currently avoiding it by avoiding verifications. (i.e. `ignore_verifications=True`) | error downloading bigscience-catalogue-lm-data/lm_en_wiktionary_filtered | ## Describe the bug
Error generated when attempting to download dataset
## Steps to reproduce the bug
```python
from datasets import load_dataset
dataset = load_dataset("bigscience-catalogue-lm-data/lm_en_wiktionary_filtered")
```
## Expected results
A clear and concise description of the expected results... | 18 | error downloading bigscience-catalogue-lm-data/lm_en_wiktionary_filtered
## Describe the bug
Error generated when attempting to download dataset
## Steps to reproduce the bug
```python
from datasets import load_dataset
dataset = load_dataset("bigscience-catalogue-lm-data/lm_en_wiktionary_filtered")
```
#... | [
-0.29237857460975647,
-0.041403427720069885,
-0.1572301685810089,
0.2814294397830963,
0.04999104142189026,
-0.028551727533340454,
0.1625797599554062,
0.5453564524650574,
0.2865178883075714,
0.07778145372867584,
-0.16878893971443176,
0.24419572949409485,
-0.18494188785552979,
-0.04901819676... |
https://github.com/huggingface/datasets/issues/4268 | Thanks a lot, @cakiki.
@i-am-neo, I'm closing this issue for now because the dataset is not publicly available yet. Just stay tuned, as we will soon release all the BigScience open-license datasets. | error downloading bigscience-catalogue-lm-data/lm_en_wiktionary_filtered | ## Describe the bug
Error generated when attempting to download dataset
## Steps to reproduce the bug
```python
from datasets import load_dataset
dataset = load_dataset("bigscience-catalogue-lm-data/lm_en_wiktionary_filtered")
```
## Expected results
A clear and concise description of the expected results... | 32 | error downloading bigscience-catalogue-lm-data/lm_en_wiktionary_filtered
## Describe the bug
Error generated when attempting to download dataset
## Steps to reproduce the bug
```python
from datasets import load_dataset
dataset = load_dataset("bigscience-catalogue-lm-data/lm_en_wiktionary_filtered")
```
#... | [
-0.29237857460975647,
-0.041403427720069885,
-0.1572301685810089,
0.2814294397830963,
0.04999104142189026,
-0.028551727533340454,
0.1625797599554062,
0.5453564524650574,
0.2865178883075714,
0.07778145372867584,
-0.16878893971443176,
0.24419572949409485,
-0.18494188785552979,
-0.04901819676... |
https://github.com/huggingface/datasets/issues/4268 | Thanks for letting me know, @albertvillanova @cakiki.
Any chance of having a subset alpha version in the meantime?
I only need two dicts out of wiktionary: 1) phoneme(as key): word, and 2) word(as key): its phonemes.
Would like to use it for a mini-poc [Robust ASR](https://github.com/huggingface/transformers/issu... | error downloading bigscience-catalogue-lm-data/lm_en_wiktionary_filtered | ## Describe the bug
Error generated when attempting to download dataset
## Steps to reproduce the bug
```python
from datasets import load_dataset
dataset = load_dataset("bigscience-catalogue-lm-data/lm_en_wiktionary_filtered")
```
## Expected results
A clear and concise description of the expected results... | 88 | error downloading bigscience-catalogue-lm-data/lm_en_wiktionary_filtered
## Describe the bug
Error generated when attempting to download dataset
## Steps to reproduce the bug
```python
from datasets import load_dataset
dataset = load_dataset("bigscience-catalogue-lm-data/lm_en_wiktionary_filtered")
```
#... | [
-0.29237857460975647,
-0.041403427720069885,
-0.1572301685810089,
0.2814294397830963,
0.04999104142189026,
-0.028551727533340454,
0.1625797599554062,
0.5453564524650574,
0.2865178883075714,
0.07778145372867584,
-0.16878893971443176,
0.24419572949409485,
-0.18494188785552979,
-0.04901819676... |
https://github.com/huggingface/datasets/issues/4268 | Hey @i-am-neo,
Cool to hear that you're working on Robust ASR! Feel free to drop me a mail :-) | error downloading bigscience-catalogue-lm-data/lm_en_wiktionary_filtered | ## Describe the bug
Error generated when attempting to download dataset
## Steps to reproduce the bug
```python
from datasets import load_dataset
dataset = load_dataset("bigscience-catalogue-lm-data/lm_en_wiktionary_filtered")
```
## Expected results
A clear and concise description of the expected results... | 19 | error downloading bigscience-catalogue-lm-data/lm_en_wiktionary_filtered
## Describe the bug
Error generated when attempting to download dataset
## Steps to reproduce the bug
```python
from datasets import load_dataset
dataset = load_dataset("bigscience-catalogue-lm-data/lm_en_wiktionary_filtered")
```
#... | [
-0.29237857460975647,
-0.041403427720069885,
-0.1572301685810089,
0.2814294397830963,
0.04999104142189026,
-0.028551727533340454,
0.1625797599554062,
0.5453564524650574,
0.2865178883075714,
0.07778145372867584,
-0.16878893971443176,
0.24419572949409485,
-0.18494188785552979,
-0.04901819676... |
https://github.com/huggingface/datasets/issues/4268 | @i-am-neo This particular subset of the dataset was taken from the [CirrusSearch dumps](https://dumps.wikimedia.org/other/cirrussearch/current/)
You're specifically after the [enwiktionary-20220425-cirrussearch-content.json.gz](https://dumps.wikimedia.org/other/cirrussearch/current/enwiktionary-20220425-cirrussearch-c... | error downloading bigscience-catalogue-lm-data/lm_en_wiktionary_filtered | ## Describe the bug
Error generated when attempting to download dataset
## Steps to reproduce the bug
```python
from datasets import load_dataset
dataset = load_dataset("bigscience-catalogue-lm-data/lm_en_wiktionary_filtered")
```
## Expected results
A clear and concise description of the expected results... | 19 | error downloading bigscience-catalogue-lm-data/lm_en_wiktionary_filtered
## Describe the bug
Error generated when attempting to download dataset
## Steps to reproduce the bug
```python
from datasets import load_dataset
dataset = load_dataset("bigscience-catalogue-lm-data/lm_en_wiktionary_filtered")
```
#... | [
-0.29237857460975647,
-0.041403427720069885,
-0.1572301685810089,
0.2814294397830963,
0.04999104142189026,
-0.028551727533340454,
0.1625797599554062,
0.5453564524650574,
0.2865178883075714,
0.07778145372867584,
-0.16878893971443176,
0.24419572949409485,
-0.18494188785552979,
-0.04901819676... |
https://github.com/huggingface/datasets/issues/4268 | thanks @cakiki ! <del>I could access the gz file yesterday (but neglected to tuck it away somewhere safe), and today the link is throwing a 404. Can you help? </del> Never mind, got it! | error downloading bigscience-catalogue-lm-data/lm_en_wiktionary_filtered | ## Describe the bug
Error generated when attempting to download dataset
## Steps to reproduce the bug
```python
from datasets import load_dataset
dataset = load_dataset("bigscience-catalogue-lm-data/lm_en_wiktionary_filtered")
```
## Expected results
A clear and concise description of the expected results... | 34 | error downloading bigscience-catalogue-lm-data/lm_en_wiktionary_filtered
## Describe the bug
Error generated when attempting to download dataset
## Steps to reproduce the bug
```python
from datasets import load_dataset
dataset = load_dataset("bigscience-catalogue-lm-data/lm_en_wiktionary_filtered")
```
#... | [
-0.29237857460975647,
-0.041403427720069885,
-0.1572301685810089,
0.2814294397830963,
0.04999104142189026,
-0.028551727533340454,
0.1625797599554062,
0.5453564524650574,
0.2865178883075714,
0.07778145372867584,
-0.16878893971443176,
0.24419572949409485,
-0.18494188785552979,
-0.04901819676... |
https://github.com/huggingface/datasets/issues/4261 | Hi @xflashxx, thanks for reporting.
Please note that this dataset was generated and shared by Webis Group: https://huggingface.co/webis
We are contacting the dataset owners to inform them about the issue you found. We'll keep you updated of their reply. | data leakage in `webis/conclugen` dataset | ## Describe the bug
Some samples (argument-conclusion pairs) in the *training* split of the `webis/conclugen` dataset are present in both the *validation* and *test* splits, creating data leakage and distorting model results.
Furthermore, all splits contain duplicate samples.
## Steps to reproduce the bug
```pyth... | 39 | data leakage in `webis/conclugen` dataset
## Describe the bug
Some samples (argument-conclusion pairs) in the *training* split of the `webis/conclugen` dataset are present in both the *validation* and *test* splits, creating data leakage and distorting model results.
Furthermore, all splits contain duplicate sample... | [
-0.36332178115844727,
-0.024223819375038147,
-0.14296415448188782,
0.402131050825119,
-0.3650675117969513,
-0.04154256731271744,
0.21329893171787262,
0.356170117855072,
-0.10639658570289612,
-0.17087644338607788,
-0.11982759088277817,
0.378165066242218,
0.1482659876346588,
-0.1364056766033... |
https://github.com/huggingface/datasets/issues/4261 | Thanks for reporting this @xflashxx. I'll have a look and get back to you on this. | data leakage in `webis/conclugen` dataset | ## Describe the bug
Some samples (argument-conclusion pairs) in the *training* split of the `webis/conclugen` dataset are present in both the *validation* and *test* splits, creating data leakage and distorting model results.
Furthermore, all splits contain duplicate samples.
## Steps to reproduce the bug
```pyth... | 16 | data leakage in `webis/conclugen` dataset
## Describe the bug
Some samples (argument-conclusion pairs) in the *training* split of the `webis/conclugen` dataset are present in both the *validation* and *test* splits, creating data leakage and distorting model results.
Furthermore, all splits contain duplicate sample... | [
-0.36332178115844727,
-0.024223819375038147,
-0.14296415448188782,
0.402131050825119,
-0.3650675117969513,
-0.04154256731271744,
0.21329893171787262,
0.356170117855072,
-0.10639658570289612,
-0.17087644338607788,
-0.11982759088277817,
0.378165066242218,
0.1482659876346588,
-0.1364056766033... |
https://github.com/huggingface/datasets/issues/4261 | Hi @xflashxx and @albertvillanova,
I have updated the files with de-duplicated splits. Apparently the debate portals from which part of the examples were sourced had unique timestamps for some examples (up to 6%; updated counts in the README) without any actual content updated that lead to "new" items. The length of... | data leakage in `webis/conclugen` dataset | ## Describe the bug
Some samples (argument-conclusion pairs) in the *training* split of the `webis/conclugen` dataset are present in both the *validation* and *test* splits, creating data leakage and distorting model results.
Furthermore, all splits contain duplicate samples.
## Steps to reproduce the bug
```pyth... | 164 | data leakage in `webis/conclugen` dataset
## Describe the bug
Some samples (argument-conclusion pairs) in the *training* split of the `webis/conclugen` dataset are present in both the *validation* and *test* splits, creating data leakage and distorting model results.
Furthermore, all splits contain duplicate sample... | [
-0.36332178115844727,
-0.024223819375038147,
-0.14296415448188782,
0.402131050825119,
-0.3650675117969513,
-0.04154256731271744,
0.21329893171787262,
0.356170117855072,
-0.10639658570289612,
-0.17087644338607788,
-0.11982759088277817,
0.378165066242218,
0.1482659876346588,
-0.1364056766033... |
https://github.com/huggingface/datasets/issues/4261 | Thanks @shahbazsyed for your fast fix.
As a side note:
- Your email appearing as Point of Contact in the dataset README has a typo: @uni.leipzig.de instead of @uni-leipzig.de
- Your commits on the Hub are not linked to your profile on the Hub: this is because we use the email address to make this link; the email a... | data leakage in `webis/conclugen` dataset | ## Describe the bug
Some samples (argument-conclusion pairs) in the *training* split of the `webis/conclugen` dataset are present in both the *validation* and *test* splits, creating data leakage and distorting model results.
Furthermore, all splits contain duplicate samples.
## Steps to reproduce the bug
```pyth... | 74 | data leakage in `webis/conclugen` dataset
## Describe the bug
Some samples (argument-conclusion pairs) in the *training* split of the `webis/conclugen` dataset are present in both the *validation* and *test* splits, creating data leakage and distorting model results.
Furthermore, all splits contain duplicate sample... | [
-0.36332178115844727,
-0.024223819375038147,
-0.14296415448188782,
0.402131050825119,
-0.3650675117969513,
-0.04154256731271744,
0.21329893171787262,
0.356170117855072,
-0.10639658570289612,
-0.17087644338607788,
-0.11982759088277817,
0.378165066242218,
0.1482659876346588,
-0.1364056766033... |
https://github.com/huggingface/datasets/issues/4248 | Thanks for reporting @sue99.
Unfortunately. I'm not able to reproduce your problem:
```python
In [1]: import datasets
...: from datasets import load_dataset
...: dataset = load_dataset("conll2003")
In [2]: dataset
Out[2]:
DatasetDict({
train: Dataset({
features: ['id', 'tokens', 'pos_ta... | conll2003 dataset loads original data. | ## Describe the bug
I load `conll2003` dataset to use refined data like [this](https://huggingface.co/datasets/conll2003/viewer/conll2003/train) preview, but it is original data that contains `'-DOCSTART- -X- -X- O'` text.
Is this a bug or should I use another dataset_name like `lhoestq/conll2003` ?
## Steps to... | 158 | conll2003 dataset loads original data.
## Describe the bug
I load `conll2003` dataset to use refined data like [this](https://huggingface.co/datasets/conll2003/viewer/conll2003/train) preview, but it is original data that contains `'-DOCSTART- -X- -X- O'` text.
Is this a bug or should I use another dataset_name ... | [
0.04482667148113251,
0.2318243831396103,
0.006799869239330292,
0.453739196062088,
0.0293569415807724,
0.039291635155677795,
0.32544440031051636,
0.3471553325653076,
-0.40621495246887207,
-0.03178264945745468,
-0.15510468184947968,
0.396732896566391,
0.061017103493213654,
0.2233856171369552... |
https://github.com/huggingface/datasets/issues/4247 | Thanks for reporting @czq1999.
Note that the dataset viewer uses the dataset in streaming mode and that not all datasets support streaming yet.
That is the case for XGLUE dataset (as the error message points out): this must be refactored to support streaming. | The data preview of XGLUE | It seems that something wrong with the data previvew of XGLUE | 43 | The data preview of XGLUE
It seems that something wrong with the data previvew of XGLUE
Thanks for reporting @czq1999.
Note that the dataset viewer uses the dataset in streaming mode and that not all datasets support streaming yet.
That is the case for XGLUE dataset (as the error message points out): this mus... | [
-0.5521459579467773,
-0.2582036256790161,
-0.07974910736083984,
0.036003705114126205,
0.12222237139940262,
-0.06576680392026901,
0.19300571084022522,
0.35706380009651184,
-0.14305736124515533,
0.21194565296173096,
0.05504031479358673,
0.15029478073120117,
-0.04100232571363449,
0.2117510735... |
https://github.com/huggingface/datasets/issues/4241 | Hi :)
I think your issue may be related to the older `nlp` library. I was able to download `glue` with the latest version of `datasets`. Can you try updating with:
```py
pip install -U datasets
```
Then you can download:
```py
from datasets import load_dataset
ds = load_dataset("glue", "rte")
``` | NonMatchingChecksumError when attempting to download GLUE | ## Describe the bug
I am trying to download the GLUE dataset from the NLP module but get an error (see below).
## Steps to reproduce the bug
```python
import nlp
nlp.__version__ # '0.2.0'
nlp.load_dataset('glue', name="rte", download_mode="force_redownload")
```
## Expected results
I expect the dataset to ... | 51 | NonMatchingChecksumError when attempting to download GLUE
## Describe the bug
I am trying to download the GLUE dataset from the NLP module but get an error (see below).
## Steps to reproduce the bug
```python
import nlp
nlp.__version__ # '0.2.0'
nlp.load_dataset('glue', name="rte", download_mode="force_redown... | [
0.10109948366880417,
-0.09036929905414581,
0.04133730009198189,
0.3583337068557739,
0.12788398563861847,
0.09994637966156006,
-0.1866523176431656,
0.33458229899406433,
0.4952840209007263,
-0.10534538328647614,
-0.1394156515598297,
0.1311296820640564,
-0.06583043932914734,
-0.14572285115718... |
https://github.com/huggingface/datasets/issues/4241 | This appears to work. Thank you!
On Wed, Apr 27, 2022, 1:18 PM Steven Liu ***@***.***> wrote:
> Hi :)
>
> I think your issue may be related to the older nlp library. I was able to
> download glue with the latest version of datasets. Can you try updating
> with:
>
> pip install -U datasets
>
> Then you can download:
>... | NonMatchingChecksumError when attempting to download GLUE | ## Describe the bug
I am trying to download the GLUE dataset from the NLP module but get an error (see below).
## Steps to reproduce the bug
```python
import nlp
nlp.__version__ # '0.2.0'
nlp.load_dataset('glue', name="rte", download_mode="force_redownload")
```
## Expected results
I expect the dataset to ... | 110 | NonMatchingChecksumError when attempting to download GLUE
## Describe the bug
I am trying to download the GLUE dataset from the NLP module but get an error (see below).
## Steps to reproduce the bug
```python
import nlp
nlp.__version__ # '0.2.0'
nlp.load_dataset('glue', name="rte", download_mode="force_redown... | [
0.10109948366880417,
-0.09036929905414581,
0.04133730009198189,
0.3583337068557739,
0.12788398563861847,
0.09994637966156006,
-0.1866523176431656,
0.33458229899406433,
0.4952840209007263,
-0.10534538328647614,
-0.1394156515598297,
0.1311296820640564,
-0.06583043932914734,
-0.14572285115718... |
https://github.com/huggingface/datasets/issues/4238 | Hi @loretoparisi, thanks for reporting.
There is an option to force the redownload of the data files (and thus not using previously download and cached data files): `load_dataset(..., download_mode="force_redownload")`.
Please, let me know if this fixes your problem.
I can confirm you that your dataset loads w... | Dataset caching policy | ## Describe the bug
I cannot clean cache of my datasets files, despite I have updated the `csv` files on the repository [here](https://huggingface.co/datasets/loretoparisi/tatoeba-sentences). The original file had a line with bad characters, causing the following error
```
[/usr/local/lib/python3.7/dist-packages/d... | 87 | Dataset caching policy
## Describe the bug
I cannot clean cache of my datasets files, despite I have updated the `csv` files on the repository [here](https://huggingface.co/datasets/loretoparisi/tatoeba-sentences). The original file had a line with bad characters, causing the following error
```
[/usr/local/lib/... | [
0.012394063174724579,
0.2971666753292084,
-0.0013778433203697205,
0.24174867570400238,
0.21870632469654083,
0.22311559319496155,
0.20116861164569855,
0.38455039262771606,
0.04758760333061218,
-0.1148986965417862,
-0.09904898703098297,
-0.20246395468711853,
-0.043204884976148605,
-0.1892878... |
https://github.com/huggingface/datasets/issues/4238 | @albertvillanova thank you, it seems it still does not work using:
```python
sentences = load_dataset(
"loretoparisi/tatoeba-sentences",
data_files=data_files,
delimiter='\t',
column_names=['label', 'text'],
download_mode="force_redownload"
)
```
[This](https://colab.research.googl... | Dataset caching policy | ## Describe the bug
I cannot clean cache of my datasets files, despite I have updated the `csv` files on the repository [here](https://huggingface.co/datasets/loretoparisi/tatoeba-sentences). The original file had a line with bad characters, causing the following error
```
[/usr/local/lib/python3.7/dist-packages/d... | 125 | Dataset caching policy
## Describe the bug
I cannot clean cache of my datasets files, despite I have updated the `csv` files on the repository [here](https://huggingface.co/datasets/loretoparisi/tatoeba-sentences). The original file had a line with bad characters, causing the following error
```
[/usr/local/lib/... | [
0.012394063174724579,
0.2971666753292084,
-0.0013778433203697205,
0.24174867570400238,
0.21870632469654083,
0.22311559319496155,
0.20116861164569855,
0.38455039262771606,
0.04758760333061218,
-0.1148986965417862,
-0.09904898703098297,
-0.20246395468711853,
-0.043204884976148605,
-0.1892878... |
https://github.com/huggingface/datasets/issues/4238 | SOLVED! The problem was the with the file itself, using caching parameter helped indeed.
Thanks for helping! | Dataset caching policy | ## Describe the bug
I cannot clean cache of my datasets files, despite I have updated the `csv` files on the repository [here](https://huggingface.co/datasets/loretoparisi/tatoeba-sentences). The original file had a line with bad characters, causing the following error
```
[/usr/local/lib/python3.7/dist-packages/d... | 17 | Dataset caching policy
## Describe the bug
I cannot clean cache of my datasets files, despite I have updated the `csv` files on the repository [here](https://huggingface.co/datasets/loretoparisi/tatoeba-sentences). The original file had a line with bad characters, causing the following error
```
[/usr/local/lib/... | [
0.012394063174724579,
0.2971666753292084,
-0.0013778433203697205,
0.24174867570400238,
0.21870632469654083,
0.22311559319496155,
0.20116861164569855,
0.38455039262771606,
0.04758760333061218,
-0.1148986965417862,
-0.09904898703098297,
-0.20246395468711853,
-0.043204884976148605,
-0.1892878... |
https://github.com/huggingface/datasets/issues/4237 | Thanks for reporting. I understand it's an error in the dataset script. To reproduce:
```python
>>> import datasets as ds
>>> split_names = ds.get_dataset_split_names("mozilla-foundation/common_voice_8_0", use_auth_token="**********")
Downloading builder script: 100%|██████████████████████████████████████████████... | Common Voice 8 doesn't show datasets viewer | https://huggingface.co/datasets/mozilla-foundation/common_voice_8_0 | 151 | Common Voice 8 doesn't show datasets viewer
https://huggingface.co/datasets/mozilla-foundation/common_voice_8_0
Thanks for reporting. I understand it's an error in the dataset script. To reproduce:
```python
>>> import datasets as ds
>>> split_names = ds.get_dataset_split_names("mozilla-foundation/common_voice... | [
-0.65614253282547,
-0.004003927111625671,
0.005423236638307571,
0.13107076287269592,
0.2854444980621338,
0.2682386636734009,
0.4165346920490265,
0.376859575510025,
0.15680868923664093,
0.10948419570922852,
-0.2961753010749817,
-0.04195259138941765,
-0.20162826776504517,
-0.1340458244085312... |
https://github.com/huggingface/datasets/issues/4237 | Thanks for reporting @patrickvonplaten and thanks for the investigation @severo.
Unfortunately I'm not able to reproduce the error.
I think the error has to do with authentication with `huggingface_hub`, because the exception is thrown from these code lines: https://huggingface.co/datasets/mozilla-foundation/comm... | Common Voice 8 doesn't show datasets viewer | https://huggingface.co/datasets/mozilla-foundation/common_voice_8_0 | 70 | Common Voice 8 doesn't show datasets viewer
https://huggingface.co/datasets/mozilla-foundation/common_voice_8_0
Thanks for reporting @patrickvonplaten and thanks for the investigation @severo.
Unfortunately I'm not able to reproduce the error.
I think the error has to do with authentication with `huggingface_... | [
-0.3818592429161072,
-0.2081788182258606,
0.0576239749789238,
0.25952816009521484,
0.2959936261177063,
0.33191975951194763,
0.35004913806915283,
0.18169096112251282,
0.21920664608478546,
0.08946846425533295,
-0.5308889746665955,
-0.18959730863571167,
-0.13681720197200775,
-0.23633581399917... |
https://github.com/huggingface/datasets/issues/4237 | OK, thanks for digging a bit into it. Indeed, the error occurs with the dataset-viewer, but not with a normal user token, because we use an app token, and it does not have a related email!
```python
>>> from huggingface_hub import HfApi, HfFolder
>>> auth_token = "hf_app_******"
>>> t = HfApi().whoami(auth_token)... | Common Voice 8 doesn't show datasets viewer | https://huggingface.co/datasets/mozilla-foundation/common_voice_8_0 | 105 | Common Voice 8 doesn't show datasets viewer
https://huggingface.co/datasets/mozilla-foundation/common_voice_8_0
OK, thanks for digging a bit into it. Indeed, the error occurs with the dataset-viewer, but not with a normal user token, because we use an app token, and it does not have a related email!
```python
>... | [
-0.2868958115577698,
-0.11142723262310028,
0.05407695472240448,
0.052180953323841095,
0.2599707543849945,
0.1541743278503418,
0.5229561924934387,
0.21727338433265686,
0.2576427459716797,
0.18005655705928802,
-0.5013437271118164,
-0.2839033007621765,
-0.08359624445438385,
-0.018772467970848... |
https://github.com/huggingface/datasets/issues/4237 | We can workaround this with
```python
email = HfApi().whoami(auth_token).get("email", "system@huggingface.co")
```
in the common voice scripts | Common Voice 8 doesn't show datasets viewer | https://huggingface.co/datasets/mozilla-foundation/common_voice_8_0 | 16 | Common Voice 8 doesn't show datasets viewer
https://huggingface.co/datasets/mozilla-foundation/common_voice_8_0
We can workaround this with
```python
email = HfApi().whoami(auth_token).get("email", "system@huggingface.co")
```
in the common voice scripts | [
-0.409523069858551,
0.0020365118980407715,
0.02431337535381317,
0.14624789357185364,
0.2652967572212219,
0.2654666006565094,
0.4983242452144623,
0.32206422090530396,
0.32777199149131775,
0.23755373060703278,
-0.5881977677345276,
-0.2214307188987732,
0.024500560015439987,
0.0251561105251312... |
https://github.com/huggingface/datasets/issues/4237 | Hmmm, does this mean that any person who downloads the common voice dataset will be logged as "system@huggingface.co"? If so, it would defeat the purpose of sending the user's email to the commonvoice API, right? | Common Voice 8 doesn't show datasets viewer | https://huggingface.co/datasets/mozilla-foundation/common_voice_8_0 | 35 | Common Voice 8 doesn't show datasets viewer
https://huggingface.co/datasets/mozilla-foundation/common_voice_8_0
Hmmm, does this mean that any person who downloads the common voice dataset will be logged as "system@huggingface.co"? If so, it would defeat the purpose of sending the user's email to the commonvoice API... | [
-0.16966985166072845,
0.14447426795959473,
0.04571741819381714,
0.24711796641349792,
-0.020023077726364136,
0.316871702671051,
0.5003868937492371,
0.05814970284700394,
0.3065965175628662,
-0.0658351480960846,
-0.35623884201049805,
-0.19426676630973816,
-0.07957632839679718,
-0.109813362360... |
https://github.com/huggingface/datasets/issues/4237 | I agree with @severo: we cannot set our system email as default, allowing anybody not authenticated to by-pass the Common Voice usage policy.
Additionally, looking at the code, I think we should implement a more robust way to send user email to Common Voice: currently anybody can tweak the script and send somebody e... | Common Voice 8 doesn't show datasets viewer | https://huggingface.co/datasets/mozilla-foundation/common_voice_8_0 | 61 | Common Voice 8 doesn't show datasets viewer
https://huggingface.co/datasets/mozilla-foundation/common_voice_8_0
I agree with @severo: we cannot set our system email as default, allowing anybody not authenticated to by-pass the Common Voice usage policy.
Additionally, looking at the code, I think we should implem... | [
-0.42333799600601196,
0.29535606503486633,
0.09057080000638962,
-0.06215669587254524,
0.09976333379745483,
0.18124963343143463,
0.7674458622932434,
0.23272326588630676,
0.29359298944473267,
0.17033210396766663,
-0.09795498847961426,
0.002181731164455414,
-0.006449136883020401,
-0.120080292... |
https://github.com/huggingface/datasets/issues/4237 | Hmm I don't agree here.
Anybody can always just bypass the system by setting whatever email. As soon as someone has access to the downloading script it's trivial to tweak the code to not send the "correct" email but to just whatever and it would work.
Note that someone only has visibility on the code after havin... | Common Voice 8 doesn't show datasets viewer | https://huggingface.co/datasets/mozilla-foundation/common_voice_8_0 | 111 | Common Voice 8 doesn't show datasets viewer
https://huggingface.co/datasets/mozilla-foundation/common_voice_8_0
Hmm I don't agree here.
Anybody can always just bypass the system by setting whatever email. As soon as someone has access to the downloading script it's trivial to tweak the code to not send the "cor... | [
-0.32767051458358765,
0.28264129161834717,
0.028696030378341675,
0.10169361531734467,
-0.03537590056657791,
0.022215411067008972,
0.6439488530158997,
0.07655824720859528,
0.35339900851249695,
0.20495757460594177,
-0.25077179074287415,
-0.10544832050800323,
-0.08968402445316315,
-0.04575019... |
https://github.com/huggingface/datasets/issues/4237 | > Additionally, looking at the code, I think we should implement a more robust way to send user email to Common Voice: currently anybody can tweak the script and send somebody else email instead.
Yes, I agree we can forget about this @patrickvonplaten. After having had a look at Common Voice website, I've seen they ... | Common Voice 8 doesn't show datasets viewer | https://huggingface.co/datasets/mozilla-foundation/common_voice_8_0 | 136 | Common Voice 8 doesn't show datasets viewer
https://huggingface.co/datasets/mozilla-foundation/common_voice_8_0
> Additionally, looking at the code, I think we should implement a more robust way to send user email to Common Voice: currently anybody can tweak the script and send somebody else email instead.
Yes, ... | [
-0.43781882524490356,
0.28200796246528625,
-0.01713913306593895,
-0.03129488602280617,
0.007266493514180183,
0.08960936963558197,
0.5135828852653503,
0.31280580163002014,
0.18304376304149628,
0.14101433753967285,
-0.36611202359199524,
-0.11308334767818451,
-0.07284263521432877,
-0.06588844... |
https://github.com/huggingface/datasets/issues/4230 | Thanks for reporting @beyondguo.
Indeed, we generate this dataset from this raw data file URL: https://data.deepai.org/conll2003.zip
And that URL only contains the English version. | Why the `conll2003` dataset on huggingface only contains the `en` subset? Where is the German data? | 
But on huggingface datasets:

Where is the German data? | 24 | Why the `conll2003` dataset on huggingface only contains the `en` subset? Where is the German data?

But on huggingface datasets:
 states "The German data is a collection of articles from the Frankfurter Rundschau. The named entities have been annotated by people of the University of Antwerp. Only the annotations are available here. In orde... | Why the `conll2003` dataset on huggingface only contains the `en` subset? Where is the German data? | 
But on huggingface datasets:

Where is the German data? | 149 | Why the `conll2003` dataset on huggingface only contains the `en` subset? Where is the German data?

But on huggingface datasets:
,
"key2_in_dict": datasets.Value("int32"),
...
}
],
```
Feel free to re-open thi... | Dictionary Feature | Hi, I'm trying to create the loading script for a dataset in which one feature is a list of dictionaries, which afaik doesn't fit very well the values and structures supported by Value and Sequence. Is there any suggested workaround, am I missing something?
Thank you in advance. | 48 | Dictionary Feature
Hi, I'm trying to create the loading script for a dataset in which one feature is a list of dictionaries, which afaik doesn't fit very well the values and structures supported by Value and Sequence. Is there any suggested workaround, am I missing something?
Thank you in advance.
Hi @jordiae,
... | [
-0.046249739825725555,
-0.4512826204299927,
-0.17070987820625305,
0.1658611297607422,
0.09326344728469849,
-0.01618318259716034,
0.13184016942977905,
0.15200170874595642,
0.4049992859363556,
0.12990224361419678,
0.14324402809143066,
0.2233828604221344,
-0.07074655592441559,
0.7212549448013... |
https://github.com/huggingface/datasets/issues/4221 | > Hi @jordiae,
>
> Instead of the `Sequence` feature, you can use just a regular list: put the dict between `[` and `]`:
>
> ```python
> "list_of_dict_feature": [
> {
> "key1_in_dict": datasets.Value("string"),
> "key2_in_dict": datasets.Value("int32"),
> ...
> }
> ],
> ```... | Dictionary Feature | Hi, I'm trying to create the loading script for a dataset in which one feature is a list of dictionaries, which afaik doesn't fit very well the values and structures supported by Value and Sequence. Is there any suggested workaround, am I missing something?
Thank you in advance. | 65 | Dictionary Feature
Hi, I'm trying to create the loading script for a dataset in which one feature is a list of dictionaries, which afaik doesn't fit very well the values and structures supported by Value and Sequence. Is there any suggested workaround, am I missing something?
Thank you in advance.
> Hi @jordiae,... | [
-0.042969342321157455,
-0.4704377055168152,
-0.16780561208724976,
0.19114479422569275,
0.06616006791591644,
-0.004595518112182617,
0.13556313514709473,
0.1641893982887268,
0.42123788595199585,
0.13471698760986328,
0.1320907473564148,
0.20426762104034424,
-0.0851278007030487,
0.737775087356... |
https://github.com/huggingface/datasets/issues/4217 | Thanks for reporting. The issue seems not to be directly related to the dataset viewer or the `datasets` library, but instead to it being hosted on Google Drive.
See related issues: https://github.com/huggingface/datasets/issues?q=is%3Aissue+is%3Aopen+drive.google.com
To quote [@lhoestq](https://github.com/huggin... | Big_Patent dataset broken | ## Dataset viewer issue for '*big_patent*'
**Link:** *[link to the dataset viewer page](https://huggingface.co/datasets/big_patent/viewer/all/train)*
*Unable to view because it says FileNotFound, also cannot download it through the python API*
Am I the one who added this dataset ? No
| 62 | Big_Patent dataset broken
## Dataset viewer issue for '*big_patent*'
**Link:** *[link to the dataset viewer page](https://huggingface.co/datasets/big_patent/viewer/all/train)*
*Unable to view because it says FileNotFound, also cannot download it through the python API*
Am I the one who added this dataset ? N... | [
-0.4834666848182678,
0.1046413779258728,
-0.013141509145498276,
0.34202834963798523,
0.15779799222946167,
0.03834265470504761,
0.16885340213775635,
0.2354460060596466,
0.21801768243312836,
-0.1323462575674057,
-0.031506460160017014,
-0.10415550321340561,
-0.27223899960517883,
0.42027443647... |
https://github.com/huggingface/datasets/issues/4217 | We should find out if the dataset license allows redistribution and contact the data owners to propose them to host their data on our Hub. | Big_Patent dataset broken | ## Dataset viewer issue for '*big_patent*'
**Link:** *[link to the dataset viewer page](https://huggingface.co/datasets/big_patent/viewer/all/train)*
*Unable to view because it says FileNotFound, also cannot download it through the python API*
Am I the one who added this dataset ? No
| 25 | Big_Patent dataset broken
## Dataset viewer issue for '*big_patent*'
**Link:** *[link to the dataset viewer page](https://huggingface.co/datasets/big_patent/viewer/all/train)*
*Unable to view because it says FileNotFound, also cannot download it through the python API*
Am I the one who added this dataset ? N... | [
-0.24777919054031372,
0.056216418743133545,
-0.01916222646832466,
0.4259558320045471,
0.040880072861909866,
-0.015736214816570282,
0.1593545824289322,
0.2846547067165375,
0.2502846121788025,
-0.034546904265880585,
-0.18267908692359924,
0.050564754754304886,
-0.32966068387031555,
0.30693104... |
https://github.com/huggingface/datasets/issues/4211 | Hi @pietrolesci, thanks for reporting.
Please note that this is a design purpose: a `DatasetDict` has the same features for all its datasets. Normally, a `DatasetDict` is composed of several sub-datasets each corresponding to a different **split**.
To handle sub-datasets with different features, we use another ap... | DatasetDict containing Datasets with different features when pushed to hub gets remapped features | Hi there,
I am trying to load a dataset to the Hub. This dataset is a `DatasetDict` composed of various splits. Some splits have a different `Feature` mapping. Locally, the DatasetDict preserves the individual features but if I `push_to_hub` and then `load_dataset`, the features are all the same.
Dataset and code... | 69 | DatasetDict containing Datasets with different features when pushed to hub gets remapped features
Hi there,
I am trying to load a dataset to the Hub. This dataset is a `DatasetDict` composed of various splits. Some splits have a different `Feature` mapping. Locally, the DatasetDict preserves the individual feature... | [
0.09506823122501373,
-0.5818799138069153,
-0.014974221587181091,
0.3464847803115845,
-0.006235406268388033,
-0.08601418137550354,
0.30619341135025024,
0.16169261932373047,
0.3734930455684662,
-0.017494216561317444,
-0.2923356294631958,
0.6108019948005676,
0.1393585205078125,
0.362522840499... |
https://github.com/huggingface/datasets/issues/4211 | Hi @albertvillanova,
Thanks a lot for your reply! I got it now. The strange thing for me was to have it correctly working (i.e., DatasetDict with different features in some datasets) locally and not on the Hub. It would be great to have configuration supported by `push_to_hub`. Personally, this latter functionality ... | DatasetDict containing Datasets with different features when pushed to hub gets remapped features | Hi there,
I am trying to load a dataset to the Hub. This dataset is a `DatasetDict` composed of various splits. Some splits have a different `Feature` mapping. Locally, the DatasetDict preserves the individual features but if I `push_to_hub` and then `load_dataset`, the features are all the same.
Dataset and code... | 68 | DatasetDict containing Datasets with different features when pushed to hub gets remapped features
Hi there,
I am trying to load a dataset to the Hub. This dataset is a `DatasetDict` composed of various splits. Some splits have a different `Feature` mapping. Locally, the DatasetDict preserves the individual feature... | [
0.09506823122501373,
-0.5818799138069153,
-0.014974221587181091,
0.3464847803115845,
-0.006235406268388033,
-0.08601418137550354,
0.30619341135025024,
0.16169261932373047,
0.3734930455684662,
-0.017494216561317444,
-0.2923356294631958,
0.6108019948005676,
0.1393585205078125,
0.362522840499... |
https://github.com/huggingface/datasets/issues/4211 | Hi! Yes, we should override `DatasetDict.__setitem__` and throw an error if features dictionaries are different. `DatasetDict` is a subclass of `dict`, so `DatasetDict.{update/setdefault}` need to be overridden as well. We could avoid this by subclassing `UserDict`, but then we would get the name collision - `DatasetDi... | DatasetDict containing Datasets with different features when pushed to hub gets remapped features | Hi there,
I am trying to load a dataset to the Hub. This dataset is a `DatasetDict` composed of various splits. Some splits have a different `Feature` mapping. Locally, the DatasetDict preserves the individual features but if I `push_to_hub` and then `load_dataset`, the features are all the same.
Dataset and code... | 102 | DatasetDict containing Datasets with different features when pushed to hub gets remapped features
Hi there,
I am trying to load a dataset to the Hub. This dataset is a `DatasetDict` composed of various splits. Some splits have a different `Feature` mapping. Locally, the DatasetDict preserves the individual feature... | [
0.09506823122501373,
-0.5818799138069153,
-0.014974221587181091,
0.3464847803115845,
-0.006235406268388033,
-0.08601418137550354,
0.30619341135025024,
0.16169261932373047,
0.3734930455684662,
-0.017494216561317444,
-0.2923356294631958,
0.6108019948005676,
0.1393585205078125,
0.362522840499... |
https://github.com/huggingface/datasets/issues/4211 | I would keep things simple and keep subclassing dict. Regarding the features check, I guess this can be done only for `push_to_hub` right ? It is the only function right now that requires the underlying datasets to be splits (e.g. train/test) and have the same features.
Note that later you will be able to push datas... | DatasetDict containing Datasets with different features when pushed to hub gets remapped features | Hi there,
I am trying to load a dataset to the Hub. This dataset is a `DatasetDict` composed of various splits. Some splits have a different `Feature` mapping. Locally, the DatasetDict preserves the individual features but if I `push_to_hub` and then `load_dataset`, the features are all the same.
Dataset and code... | 76 | DatasetDict containing Datasets with different features when pushed to hub gets remapped features
Hi there,
I am trying to load a dataset to the Hub. This dataset is a `DatasetDict` composed of various splits. Some splits have a different `Feature` mapping. Locally, the DatasetDict preserves the individual feature... | [
0.09506823122501373,
-0.5818799138069153,
-0.014974221587181091,
0.3464847803115845,
-0.006235406268388033,
-0.08601418137550354,
0.30619341135025024,
0.16169261932373047,
0.3734930455684662,
-0.017494216561317444,
-0.2923356294631958,
0.6108019948005676,
0.1393585205078125,
0.362522840499... |
https://github.com/huggingface/datasets/issues/4211 | Hi @lhoestq,
Returning to this thread to ask whether the possibility to create `DatasetDict` with different configurations will be supported in the future.
Best,
Pietro | DatasetDict containing Datasets with different features when pushed to hub gets remapped features | Hi there,
I am trying to load a dataset to the Hub. This dataset is a `DatasetDict` composed of various splits. Some splits have a different `Feature` mapping. Locally, the DatasetDict preserves the individual features but if I `push_to_hub` and then `load_dataset`, the features are all the same.
Dataset and code... | 25 | DatasetDict containing Datasets with different features when pushed to hub gets remapped features
Hi there,
I am trying to load a dataset to the Hub. This dataset is a `DatasetDict` composed of various splits. Some splits have a different `Feature` mapping. Locally, the DatasetDict preserves the individual feature... | [
0.09506823122501373,
-0.5818799138069153,
-0.014974221587181091,
0.3464847803115845,
-0.006235406268388033,
-0.08601418137550354,
0.30619341135025024,
0.16169261932373047,
0.3734930455684662,
-0.017494216561317444,
-0.2923356294631958,
0.6108019948005676,
0.1393585205078125,
0.362522840499... |
https://github.com/huggingface/datasets/issues/4211 | DatasetDict is likely to always require the datasets to have the same columns and types, while different configurations may have different columns and types.
Why would you like to see that ?
If it's related to push_to_hub, we plan to allow pushing several configs, but not using DatasetDict | DatasetDict containing Datasets with different features when pushed to hub gets remapped features | Hi there,
I am trying to load a dataset to the Hub. This dataset is a `DatasetDict` composed of various splits. Some splits have a different `Feature` mapping. Locally, the DatasetDict preserves the individual features but if I `push_to_hub` and then `load_dataset`, the features are all the same.
Dataset and code... | 48 | DatasetDict containing Datasets with different features when pushed to hub gets remapped features
Hi there,
I am trying to load a dataset to the Hub. This dataset is a `DatasetDict` composed of various splits. Some splits have a different `Feature` mapping. Locally, the DatasetDict preserves the individual feature... | [
0.09506823122501373,
-0.5818799138069153,
-0.014974221587181091,
0.3464847803115845,
-0.006235406268388033,
-0.08601418137550354,
0.30619341135025024,
0.16169261932373047,
0.3734930455684662,
-0.017494216561317444,
-0.2923356294631958,
0.6108019948005676,
0.1393585205078125,
0.362522840499... |
https://github.com/huggingface/datasets/issues/4211 | Hi @lhoestq and @pietrolesci,
I have been curious about this question as well. I don't have experience working with different configurations, but I can give a bit more detail on the work flow that I have been using with `Dataset_dict`.
As @pietrolesci mentions, I have been using `push_to_hub` to quickly iterate o... | DatasetDict containing Datasets with different features when pushed to hub gets remapped features | Hi there,
I am trying to load a dataset to the Hub. This dataset is a `DatasetDict` composed of various splits. Some splits have a different `Feature` mapping. Locally, the DatasetDict preserves the individual features but if I `push_to_hub` and then `load_dataset`, the features are all the same.
Dataset and code... | 217 | DatasetDict containing Datasets with different features when pushed to hub gets remapped features
Hi there,
I am trying to load a dataset to the Hub. This dataset is a `DatasetDict` composed of various splits. Some splits have a different `Feature` mapping. Locally, the DatasetDict preserves the individual feature... | [
0.09506823122501373,
-0.5818799138069153,
-0.014974221587181091,
0.3464847803115845,
-0.006235406268388033,
-0.08601418137550354,
0.30619341135025024,
0.16169261932373047,
0.3734930455684662,
-0.017494216561317444,
-0.2923356294631958,
0.6108019948005676,
0.1393585205078125,
0.362522840499... |
https://github.com/huggingface/datasets/issues/4211 | > I am curious why DatasetDict will likely not support this functionality?
There's a possibility we may merge the Dataset and DatasetDict classes. The DatasetDict purpose was to define a way to get the train/test splits of a dataset.
see the discussions at https://github.com/huggingface/datasets/issues/5189
> ... | DatasetDict containing Datasets with different features when pushed to hub gets remapped features | Hi there,
I am trying to load a dataset to the Hub. This dataset is a `DatasetDict` composed of various splits. Some splits have a different `Feature` mapping. Locally, the DatasetDict preserves the individual features but if I `push_to_hub` and then `load_dataset`, the features are all the same.
Dataset and code... | 93 | DatasetDict containing Datasets with different features when pushed to hub gets remapped features
Hi there,
I am trying to load a dataset to the Hub. This dataset is a `DatasetDict` composed of various splits. Some splits have a different `Feature` mapping. Locally, the DatasetDict preserves the individual feature... | [
0.09506823122501373,
-0.5818799138069153,
-0.014974221587181091,
0.3464847803115845,
-0.006235406268388033,
-0.08601418137550354,
0.30619341135025024,
0.16169261932373047,
0.3734930455684662,
-0.017494216561317444,
-0.2923356294631958,
0.6108019948005676,
0.1393585205078125,
0.362522840499... |
https://github.com/huggingface/datasets/issues/4211 | Hi, regarding the following information:
> Please note that this is a design purpose: a `DatasetDict` has the same features for all its datasets. Normally, a `DatasetDict` is composed of several sub-datasets each corresponding to a different **split**.
>
> To handle sub-datasets with different features, we use an... | DatasetDict containing Datasets with different features when pushed to hub gets remapped features | Hi there,
I am trying to load a dataset to the Hub. This dataset is a `DatasetDict` composed of various splits. Some splits have a different `Feature` mapping. Locally, the DatasetDict preserves the individual features but if I `push_to_hub` and then `load_dataset`, the features are all the same.
Dataset and code... | 180 | DatasetDict containing Datasets with different features when pushed to hub gets remapped features
Hi there,
I am trying to load a dataset to the Hub. This dataset is a `DatasetDict` composed of various splits. Some splits have a different `Feature` mapping. Locally, the DatasetDict preserves the individual feature... | [
0.09506823122501373,
-0.5818799138069153,
-0.014974221587181091,
0.3464847803115845,
-0.006235406268388033,
-0.08601418137550354,
0.30619341135025024,
0.16169261932373047,
0.3734930455684662,
-0.017494216561317444,
-0.2923356294631958,
0.6108019948005676,
0.1393585205078125,
0.362522840499... |
https://github.com/huggingface/datasets/issues/4210 | Hi! Casting class labels from strings is currently not supported in the CSV loader, but you can get the same result with an additional map as follows:
```python
from datasets import load_dataset,Features,Value,ClassLabel
class_names = ["cmn","deu","rus","fra","eng","jpn","spa","ita","kor","vie","nld","epo","por","tu... | TypeError: Cannot cast array data from dtype('O') to dtype('int64') according to the rule 'safe' | ### System Info
```shell
- `transformers` version: 4.18.0
- Platform: Linux-5.4.144+-x86_64-with-Ubuntu-18.04-bionic
- Python version: 3.7.13
- Huggingface_hub version: 0.5.1
- PyTorch version (GPU?): 1.10.0+cu111 (True)
- Tensorflow version (GPU?): 2.8.0 (True)
- Flax version (CPU?/GPU?/TPU?): not installed ... | 134 | TypeError: Cannot cast array data from dtype('O') to dtype('int64') according to the rule 'safe'
### System Info
```shell
- `transformers` version: 4.18.0
- Platform: Linux-5.4.144+-x86_64-with-Ubuntu-18.04-bionic
- Python version: 3.7.13
- Huggingface_hub version: 0.5.1
- PyTorch version (GPU?): 1.10.0+cu111... | [
-0.2058742195367813,
-0.5463370084762573,
-0.1671128273010254,
0.1710503250360489,
0.5628308057785034,
-0.043825626373291016,
0.36481305956840515,
0.46332788467407227,
0.3307611346244812,
0.11036141961812973,
-0.03796356916427612,
0.18575358390808105,
-0.17332103848457336,
0.03521423786878... |
https://github.com/huggingface/datasets/issues/4210 | @albertvillanova @mariosasko thank you, with that change now I get
```
---------------------------------------------------------------------------
TypeError Traceback (most recent call last)
[<ipython-input-9-eeb68eeb9bec>](https://localhost:8080/#) in <module>()
11 )
12 ... | TypeError: Cannot cast array data from dtype('O') to dtype('int64') according to the rule 'safe' | ### System Info
```shell
- `transformers` version: 4.18.0
- Platform: Linux-5.4.144+-x86_64-with-Ubuntu-18.04-bionic
- Python version: 3.7.13
- Huggingface_hub version: 0.5.1
- PyTorch version (GPU?): 1.10.0+cu111 (True)
- Tensorflow version (GPU?): 2.8.0 (True)
- Flax version (CPU?/GPU?/TPU?): not installed ... | 187 | TypeError: Cannot cast array data from dtype('O') to dtype('int64') according to the rule 'safe'
### System Info
```shell
- `transformers` version: 4.18.0
- Platform: Linux-5.4.144+-x86_64-with-Ubuntu-18.04-bionic
- Python version: 3.7.13
- Huggingface_hub version: 0.5.1
- PyTorch version (GPU?): 1.10.0+cu111... | [
-0.2058742195367813,
-0.5463370084762573,
-0.1671128273010254,
0.1710503250360489,
0.5628308057785034,
-0.043825626373291016,
0.36481305956840515,
0.46332788467407227,
0.3307611346244812,
0.11036141961812973,
-0.03796356916427612,
0.18575358390808105,
-0.17332103848457336,
0.03521423786878... |
https://github.com/huggingface/datasets/issues/4210 | @mariosasko changed it like
```python
sentences = sentences.map(lambda ex: {"label" : features["label"].str2int(ex["label"]) if ex["label"] is not None else None}, features=features)
```
to avoid the above errorr. | TypeError: Cannot cast array data from dtype('O') to dtype('int64') according to the rule 'safe' | ### System Info
```shell
- `transformers` version: 4.18.0
- Platform: Linux-5.4.144+-x86_64-with-Ubuntu-18.04-bionic
- Python version: 3.7.13
- Huggingface_hub version: 0.5.1
- PyTorch version (GPU?): 1.10.0+cu111 (True)
- Tensorflow version (GPU?): 2.8.0 (True)
- Flax version (CPU?/GPU?/TPU?): not installed ... | 26 | TypeError: Cannot cast array data from dtype('O') to dtype('int64') according to the rule 'safe'
### System Info
```shell
- `transformers` version: 4.18.0
- Platform: Linux-5.4.144+-x86_64-with-Ubuntu-18.04-bionic
- Python version: 3.7.13
- Huggingface_hub version: 0.5.1
- PyTorch version (GPU?): 1.10.0+cu111... | [
-0.2058742195367813,
-0.5463370084762573,
-0.1671128273010254,
0.1710503250360489,
0.5628308057785034,
-0.043825626373291016,
0.36481305956840515,
0.46332788467407227,
0.3307611346244812,
0.11036141961812973,
-0.03796356916427612,
0.18575358390808105,
-0.17332103848457336,
0.03521423786878... |
https://github.com/huggingface/datasets/issues/4210 | Any update on this? Is this correct ?
> @mariosasko changed it like
>
> ```python
> sentences = sentences.map(lambda ex: {"label" : features["label"].str2int(ex["label"]) if ex["label"] is not None else None}, features=features)
> ```
>
> to avoid the above errorr.
| TypeError: Cannot cast array data from dtype('O') to dtype('int64') according to the rule 'safe' | ### System Info
```shell
- `transformers` version: 4.18.0
- Platform: Linux-5.4.144+-x86_64-with-Ubuntu-18.04-bionic
- Python version: 3.7.13
- Huggingface_hub version: 0.5.1
- PyTorch version (GPU?): 1.10.0+cu111 (True)
- Tensorflow version (GPU?): 2.8.0 (True)
- Flax version (CPU?/GPU?/TPU?): not installed ... | 41 | TypeError: Cannot cast array data from dtype('O') to dtype('int64') according to the rule 'safe'
### System Info
```shell
- `transformers` version: 4.18.0
- Platform: Linux-5.4.144+-x86_64-with-Ubuntu-18.04-bionic
- Python version: 3.7.13
- Huggingface_hub version: 0.5.1
- PyTorch version (GPU?): 1.10.0+cu111... | [
-0.2058742195367813,
-0.5463370084762573,
-0.1671128273010254,
0.1710503250360489,
0.5628308057785034,
-0.043825626373291016,
0.36481305956840515,
0.46332788467407227,
0.3307611346244812,
0.11036141961812973,
-0.03796356916427612,
0.18575358390808105,
-0.17332103848457336,
0.03521423786878... |
https://github.com/huggingface/datasets/issues/4199 | Hi ! Maybe one of the objects in the function is not deterministic across sessions ? You can read more about it and how to investigate here: https://huggingface.co/docs/datasets/about_cache | Cache miss during reload for datasets using image fetch utilities through map | ## Describe the bug
It looks like that result of `.map` operation dataset are missing the cache when you reload the script and always run from scratch. In same interpretor session, they are able to find the cache and reload it. But, when you exit the interpretor and reload it, the downloading starts from scratch.
... | 28 | Cache miss during reload for datasets using image fetch utilities through map
## Describe the bug
It looks like that result of `.map` operation dataset are missing the cache when you reload the script and always run from scratch. In same interpretor session, they are able to find the cache and reload it. But, whe... | [
-0.5388091802597046,
-0.1422930508852005,
-0.06251142174005508,
0.2576912045478821,
0.06601910293102264,
0.04962226748466492,
0.12465021759271622,
-0.010283446870744228,
0.48512378334999084,
0.11974254250526428,
-0.04982268810272217,
0.443869024515152,
0.36805054545402527,
-0.1765508204698... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.