html_url stringlengths 48 51 | title stringlengths 5 280 | comments stringlengths 63 51.8k | body stringlengths 0 36.2k ⌀ | comment_length int64 16 1.52k | text stringlengths 159 54.1k | embeddings listlengths 768 768 |
|---|---|---|---|---|---|---|
https://github.com/huggingface/datasets/issues/4417 | how to convert a dict generator into a huggingface dataset. | I like the idea of having `Dataset.from_iterable(iterable)` in the API. The only problem is that we also want to make this part cachable, which is tricky if `iterable` is a generator.
Some resources on this issue:
* https://github.com/uqfoundation/dill/issues/311
* https://stackoverflow.com/questions/7180212/why-... | ### Link
_No response_
### Description
Hey there, I have used seqio to get a well distributed mixture of samples from multiple dataset. However the resultant output from seqio is a python generator dict, which I cannot produce back into huggingface dataset.
The generator contains all the samples needed for ... | 55 | how to convert a dict generator into a huggingface dataset.
### Link
_No response_
### Description
Hey there, I have used seqio to get a well distributed mixture of samples from multiple dataset. However the resultant output from seqio is a python generator dict, which I cannot produce back into huggingface... | [
-0.2356611043214798,
-0.5294454097747803,
0.023818079382181168,
0.32638633251190186,
0.4359237551689148,
-0.018439490348100662,
0.05949658155441284,
0.2877725660800934,
0.22911503911018372,
0.24235397577285767,
-0.2977548837661743,
0.10299661755561829,
-0.22395963966846466,
0.5133184194564... |
https://github.com/huggingface/datasets/issues/4417 | how to convert a dict generator into a huggingface dataset. | For the caching maybe we can have `Dataset.from_generator` as TF and pickle+hash the generator function (not the generator object itself) ?
And then keep `Dataset.from_iterable` fo pickable objects like lists | ### Link
_No response_
### Description
Hey there, I have used seqio to get a well distributed mixture of samples from multiple dataset. However the resultant output from seqio is a python generator dict, which I cannot produce back into huggingface dataset.
The generator contains all the samples needed for ... | 30 | how to convert a dict generator into a huggingface dataset.
### Link
_No response_
### Description
Hey there, I have used seqio to get a well distributed mixture of samples from multiple dataset. However the resultant output from seqio is a python generator dict, which I cannot produce back into huggingface... | [
-0.2356611043214798,
-0.5294454097747803,
0.023818079382181168,
0.32638633251190186,
0.4359237551689148,
-0.018439490348100662,
0.05949658155441284,
0.2877725660800934,
0.22911503911018372,
0.24235397577285767,
-0.2977548837661743,
0.10299661755561829,
-0.22395963966846466,
0.5133184194564... |
https://github.com/huggingface/datasets/issues/4417 | how to convert a dict generator into a huggingface dataset. | @lhoestq, @mariosasko do you too have any examples where the dataset is a generator and needs to be wrapped into hf dataset ? | ### Link
_No response_
### Description
Hey there, I have used seqio to get a well distributed mixture of samples from multiple dataset. However the resultant output from seqio is a python generator dict, which I cannot produce back into huggingface dataset.
The generator contains all the samples needed for ... | 23 | how to convert a dict generator into a huggingface dataset.
### Link
_No response_
### Description
Hey there, I have used seqio to get a well distributed mixture of samples from multiple dataset. However the resultant output from seqio is a python generator dict, which I cannot produce back into huggingface... | [
-0.2356611043214798,
-0.5294454097747803,
0.023818079382181168,
0.32638633251190186,
0.4359237551689148,
-0.018439490348100662,
0.05949658155441284,
0.2877725660800934,
0.22911503911018372,
0.24235397577285767,
-0.2977548837661743,
0.10299661755561829,
-0.22395963966846466,
0.5133184194564... |
https://github.com/huggingface/datasets/issues/4417 | how to convert a dict generator into a huggingface dataset. | @lhoestq, following to my previous question ... what possibly could be done in this [link1](https://github.com/huggingface/datasets/issues/4417#issuecomment-1146627404) [link2](https://github.com/huggingface/datasets/issues/4417#issuecomment-1146627593) case? do you have any ideas? | ### Link
_No response_
### Description
Hey there, I have used seqio to get a well distributed mixture of samples from multiple dataset. However the resultant output from seqio is a python generator dict, which I cannot produce back into huggingface dataset.
The generator contains all the samples needed for ... | 22 | how to convert a dict generator into a huggingface dataset.
### Link
_No response_
### Description
Hey there, I have used seqio to get a well distributed mixture of samples from multiple dataset. However the resultant output from seqio is a python generator dict, which I cannot produce back into huggingface... | [
-0.2356611043214798,
-0.5294454097747803,
0.023818079382181168,
0.32638633251190186,
0.4359237551689148,
-0.018439490348100662,
0.05949658155441284,
0.2877725660800934,
0.22911503911018372,
0.24235397577285767,
-0.2977548837661743,
0.10299661755561829,
-0.22395963966846466,
0.5133184194564... |
https://github.com/huggingface/datasets/issues/4417 | how to convert a dict generator into a huggingface dataset. | @lhoestq +1 for the `Dataset.from_generator` idea.
Having thought about it, let's avoid adding `Dataset.from_iterable` to the API since dictionaries are technically iteralbles ("iterable" is a broad term in Python), and we already provide `Dataset.from_dict`. And for lists maybe we can add `Dataset.from_list` simila... | ### Link
_No response_
### Description
Hey there, I have used seqio to get a well distributed mixture of samples from multiple dataset. However the resultant output from seqio is a python generator dict, which I cannot produce back into huggingface dataset.
The generator contains all the samples needed for ... | 46 | how to convert a dict generator into a huggingface dataset.
### Link
_No response_
### Description
Hey there, I have used seqio to get a well distributed mixture of samples from multiple dataset. However the resultant output from seqio is a python generator dict, which I cannot produce back into huggingface... | [
-0.2356611043214798,
-0.5294454097747803,
0.023818079382181168,
0.32638633251190186,
0.4359237551689148,
-0.018439490348100662,
0.05949658155441284,
0.2877725660800934,
0.22911503911018372,
0.24235397577285767,
-0.2977548837661743,
0.10299661755561829,
-0.22395963966846466,
0.5133184194564... |
https://github.com/huggingface/datasets/issues/4417 | how to convert a dict generator into a huggingface dataset. | Hi @StephennFernandes!
To fix the issues in the copied code, rename `generate_examples` to` _generate_examples` and add one level of indentation as this is a method of `GeneratorBasedBuilder` and define `_split_generators` as follows (again as a method of `GeneratorBasedBuilder):
```python
def _split_generators(s... | ### Link
_No response_
### Description
Hey there, I have used seqio to get a well distributed mixture of samples from multiple dataset. However the resultant output from seqio is a python generator dict, which I cannot produce back into huggingface dataset.
The generator contains all the samples needed for ... | 94 | how to convert a dict generator into a huggingface dataset.
### Link
_No response_
### Description
Hey there, I have used seqio to get a well distributed mixture of samples from multiple dataset. However the resultant output from seqio is a python generator dict, which I cannot produce back into huggingface... | [
-0.2356611043214798,
-0.5294454097747803,
0.023818079382181168,
0.32638633251190186,
0.4359237551689148,
-0.018439490348100662,
0.05949658155441284,
0.2877725660800934,
0.22911503911018372,
0.24235397577285767,
-0.2977548837661743,
0.10299661755561829,
-0.22395963966846466,
0.5133184194564... |
https://github.com/huggingface/datasets/issues/4417 | how to convert a dict generator into a huggingface dataset. | I have a problem which I think is very similar: I would like to "stream" data to a HF Array (memory-mapped) Dataset, where the final size of the dataset is unknown, but could be much larger than what fits into memory.
What I want to end up with is an Array Dataset which I can open using `Dataset.load_from_disk(dataset... | ### Link
_No response_
### Description
Hey there, I have used seqio to get a well distributed mixture of samples from multiple dataset. However the resultant output from seqio is a python generator dict, which I cannot produce back into huggingface dataset.
The generator contains all the samples needed for ... | 288 | how to convert a dict generator into a huggingface dataset.
### Link
_No response_
### Description
Hey there, I have used seqio to get a well distributed mixture of samples from multiple dataset. However the resultant output from seqio is a python generator dict, which I cannot produce back into huggingface... | [
-0.2356611043214798,
-0.5294454097747803,
0.023818079382181168,
0.32638633251190186,
0.4359237551689148,
-0.018439490348100662,
0.05949658155441284,
0.2877725660800934,
0.22911503911018372,
0.24235397577285767,
-0.2977548837661743,
0.10299661755561829,
-0.22395963966846466,
0.5133184194564... |
https://github.com/huggingface/datasets/issues/4417 | how to convert a dict generator into a huggingface dataset. | Hi @johann-petrak! You can pass the features directly to ArrowWriter's initializer like so `ArrowWriter(..., features=features)`.
And the reason why I prefer `Dataset.from_generator` over `Dataset.from_iterable` is mentioned in one of my previous comments. | ### Link
_No response_
### Description
Hey there, I have used seqio to get a well distributed mixture of samples from multiple dataset. However the resultant output from seqio is a python generator dict, which I cannot produce back into huggingface dataset.
The generator contains all the samples needed for ... | 32 | how to convert a dict generator into a huggingface dataset.
### Link
_No response_
### Description
Hey there, I have used seqio to get a well distributed mixture of samples from multiple dataset. However the resultant output from seqio is a python generator dict, which I cannot produce back into huggingface... | [
-0.2356611043214798,
-0.5294454097747803,
0.023818079382181168,
0.32638633251190186,
0.4359237551689148,
-0.018439490348100662,
0.05949658155441284,
0.2877725660800934,
0.22911503911018372,
0.24235397577285767,
-0.2977548837661743,
0.10299661755561829,
-0.22395963966846466,
0.5133184194564... |
https://github.com/huggingface/datasets/issues/4417 | how to convert a dict generator into a huggingface dataset. | @mariosasko so at the moment we still have to create a fake `Dataset` first and then use `ArrowWriter` to write an actual dataset? I'm using the latest version of `datasets` on pypi but my final file is always empty. Is there anything wrong with the code below?
```python
total = 0
with ArrowWriter(path=str... | ### Link
_No response_
### Description
Hey there, I have used seqio to get a well distributed mixture of samples from multiple dataset. However the resultant output from seqio is a python generator dict, which I cannot produce back into huggingface dataset.
The generator contains all the samples needed for ... | 100 | how to convert a dict generator into a huggingface dataset.
### Link
_No response_
### Description
Hey there, I have used seqio to get a well distributed mixture of samples from multiple dataset. However the resultant output from seqio is a python generator dict, which I cannot produce back into huggingface... | [
-0.2356611043214798,
-0.5294454097747803,
0.023818079382181168,
0.32638633251190186,
0.4359237551689148,
-0.018439490348100662,
0.05949658155441284,
0.2877725660800934,
0.22911503911018372,
0.24235397577285767,
-0.2977548837661743,
0.10299661755561829,
-0.22395963966846466,
0.5133184194564... |
https://github.com/huggingface/datasets/issues/4417 | how to convert a dict generator into a huggingface dataset. | This works for me if I then (actually I also close the writer: `writer.close()`) open the Arrow file as a dataset using `ds=Dataset.from_file(final_data_path)` then `ds.save_to_disk(somedir)`. The Dataset created that way contains the expected examples. | ### Link
_No response_
### Description
Hey there, I have used seqio to get a well distributed mixture of samples from multiple dataset. However the resultant output from seqio is a python generator dict, which I cannot produce back into huggingface dataset.
The generator contains all the samples needed for ... | 34 | how to convert a dict generator into a huggingface dataset.
### Link
_No response_
### Description
Hey there, I have used seqio to get a well distributed mixture of samples from multiple dataset. However the resultant output from seqio is a python generator dict, which I cannot produce back into huggingface... | [
-0.2356611043214798,
-0.5294454097747803,
0.023818079382181168,
0.32638633251190186,
0.4359237551689148,
-0.018439490348100662,
0.05949658155441284,
0.2877725660800934,
0.22911503911018372,
0.24235397577285767,
-0.2977548837661743,
0.10299661755561829,
-0.22395963966846466,
0.5133184194564... |
https://github.com/huggingface/datasets/issues/4417 | how to convert a dict generator into a huggingface dataset. | Oh thanks. That did the trick I believe. Shouldn't ArrowWriter have a context manager that does these operations? | ### Link
_No response_
### Description
Hey there, I have used seqio to get a well distributed mixture of samples from multiple dataset. However the resultant output from seqio is a python generator dict, which I cannot produce back into huggingface dataset.
The generator contains all the samples needed for ... | 18 | how to convert a dict generator into a huggingface dataset.
### Link
_No response_
### Description
Hey there, I have used seqio to get a well distributed mixture of samples from multiple dataset. However the resultant output from seqio is a python generator dict, which I cannot produce back into huggingface... | [
-0.2356611043214798,
-0.5294454097747803,
0.023818079382181168,
0.32638633251190186,
0.4359237551689148,
-0.018439490348100662,
0.05949658155441284,
0.2877725660800934,
0.22911503911018372,
0.24235397577285767,
-0.2977548837661743,
0.10299661755561829,
-0.22395963966846466,
0.5133184194564... |
https://github.com/huggingface/datasets/issues/4417 | how to convert a dict generator into a huggingface dataset. | You can just use `Dataset.from_file` to get your dataset, no need to do an extra `save_to_disk` somewhere else ;) | ### Link
_No response_
### Description
Hey there, I have used seqio to get a well distributed mixture of samples from multiple dataset. However the resultant output from seqio is a python generator dict, which I cannot produce back into huggingface dataset.
The generator contains all the samples needed for ... | 19 | how to convert a dict generator into a huggingface dataset.
### Link
_No response_
### Description
Hey there, I have used seqio to get a well distributed mixture of samples from multiple dataset. However the resultant output from seqio is a python generator dict, which I cannot produce back into huggingface... | [
-0.2356611043214798,
-0.5294454097747803,
0.023818079382181168,
0.32638633251190186,
0.4359237551689148,
-0.018439490348100662,
0.05949658155441284,
0.2877725660800934,
0.22911503911018372,
0.24235397577285767,
-0.2977548837661743,
0.10299661755561829,
-0.22395963966846466,
0.5133184194564... |
https://github.com/huggingface/datasets/issues/4417 | how to convert a dict generator into a huggingface dataset. | I was thinking that `save_to_disk` is necessary when one wants to re-use that dataset as a proper HF dataset later, no?
At least what I wanted to achieve is create a dataset that can be opened like any other local or remote dataset. | ### Link
_No response_
### Description
Hey there, I have used seqio to get a well distributed mixture of samples from multiple dataset. However the resultant output from seqio is a python generator dict, which I cannot produce back into huggingface dataset.
The generator contains all the samples needed for ... | 43 | how to convert a dict generator into a huggingface dataset.
### Link
_No response_
### Description
Hey there, I have used seqio to get a well distributed mixture of samples from multiple dataset. However the resultant output from seqio is a python generator dict, which I cannot produce back into huggingface... | [
-0.2356611043214798,
-0.5294454097747803,
0.023818079382181168,
0.32638633251190186,
0.4359237551689148,
-0.018439490348100662,
0.05949658155441284,
0.2877725660800934,
0.22911503911018372,
0.24235397577285767,
-0.2977548837661743,
0.10299661755561829,
-0.22395963966846466,
0.5133184194564... |
https://github.com/huggingface/datasets/issues/4417 | how to convert a dict generator into a huggingface dataset. | `save_to_disk`/`load_from_disk` is indeed more general, e.g. it supports datasets that consist in several files, and saves some extra info in a dataset_info.json file (description, citation, split sizes, etc.)
If you have one single file it's fine to simply do `.from_file()` | ### Link
_No response_
### Description
Hey there, I have used seqio to get a well distributed mixture of samples from multiple dataset. However the resultant output from seqio is a python generator dict, which I cannot produce back into huggingface dataset.
The generator contains all the samples needed for ... | 40 | how to convert a dict generator into a huggingface dataset.
### Link
_No response_
### Description
Hey there, I have used seqio to get a well distributed mixture of samples from multiple dataset. However the resultant output from seqio is a python generator dict, which I cannot produce back into huggingface... | [
-0.2356611043214798,
-0.5294454097747803,
0.023818079382181168,
0.32638633251190186,
0.4359237551689148,
-0.018439490348100662,
0.05949658155441284,
0.2877725660800934,
0.22911503911018372,
0.24235397577285767,
-0.2977548837661743,
0.10299661755561829,
-0.22395963966846466,
0.5133184194564... |
https://github.com/huggingface/datasets/issues/4413 | Dataset Viewer issue for ett | Thanks for reporting @dgcnz.
I have checked that the dataset works fine in streaming mode.
Additionally, other datasets containing timestamps are properly rendered by the viewer: https://huggingface.co/datasets/blbooks
I have tried to force the refresh of the preview, but the endpoint is not responsive: Connec... | ### Link
https://huggingface.co/datasets/ett
### Description
Timestamp is not JSON serializable.
```
Status code: 500
Exception: Status500Error
Message: Type is not JSON serializable: Timestamp
```
### Owner
No | 48 | Dataset Viewer issue for ett
### Link
https://huggingface.co/datasets/ett
### Description
Timestamp is not JSON serializable.
```
Status code: 500
Exception: Status500Error
Message: Type is not JSON serializable: Timestamp
```
### Owner
No
Thanks for reporting @dgcnz.
I have ch... | [
-0.5047906041145325,
-0.058607421815395355,
0.10088731348514557,
0.2943732738494873,
0.2184264212846756,
0.025438986718654633,
0.11922314763069153,
0.2589568495750427,
-0.1350620537996292,
-0.048149242997169495,
-0.05734679847955704,
0.3107838034629822,
0.023056700825691223,
0.400074481964... |
https://github.com/huggingface/datasets/issues/4413 | Dataset Viewer issue for ett | I've just resent the refresh of the preview to the new endpoint, without success.
CC: @severo | ### Link
https://huggingface.co/datasets/ett
### Description
Timestamp is not JSON serializable.
```
Status code: 500
Exception: Status500Error
Message: Type is not JSON serializable: Timestamp
```
### Owner
No | 16 | Dataset Viewer issue for ett
### Link
https://huggingface.co/datasets/ett
### Description
Timestamp is not JSON serializable.
```
Status code: 500
Exception: Status500Error
Message: Type is not JSON serializable: Timestamp
```
### Owner
No
I've just resent the refresh of the previ... | [
-0.38515186309814453,
-0.03509676456451416,
0.05032595619559288,
0.19764171540737152,
0.15729430317878723,
0.03692353516817093,
0.15900593996047974,
0.23904208838939667,
-0.08219040930271149,
0.05853639915585518,
-0.16762365400791168,
0.3958725035190582,
0.05189453437924385,
0.465337127447... |
https://github.com/huggingface/datasets/issues/4407 | Dataset Viewer issue for conll2012_ontonotesv5 | Thanks for reporting, @jiangwy99.
I guess this could be addressed only once we fix our issue with irresponsive backend endpoint.
CC: @severo | ### Link
https://huggingface.co/datasets/conll2012_ontonotesv5
### Description
Dataset viewer outage.
### Owner
No | 22 | Dataset Viewer issue for conll2012_ontonotesv5
### Link
https://huggingface.co/datasets/conll2012_ontonotesv5
### Description
Dataset viewer outage.
### Owner
No
Thanks for reporting, @jiangwy99.
I guess this could be addressed only once we fix our issue with irresponsive backend endpoint.
CC: @severo | [
-0.38620635867118835,
0.08108988404273987,
-0.09578682482242584,
0.3273922801017761,
0.3828919529914856,
-0.03852468729019165,
0.20774295926094055,
0.3001956343650818,
-0.12861007452011108,
0.30680859088897705,
-0.03723727911710739,
0.23106618225574493,
0.1367422491312027,
0.24194343388080... |
https://github.com/huggingface/datasets/issues/4407 | Dataset Viewer issue for conll2012_ontonotesv5 | Fixed, thanks for the patience. The issue was the amount of RAM allowed to extract the first rows of the dataset was not sufficient. | ### Link
https://huggingface.co/datasets/conll2012_ontonotesv5
### Description
Dataset viewer outage.
### Owner
No | 24 | Dataset Viewer issue for conll2012_ontonotesv5
### Link
https://huggingface.co/datasets/conll2012_ontonotesv5
### Description
Dataset viewer outage.
### Owner
No
Fixed, thanks for the patience. The issue was the amount of RAM allowed to extract the first rows of the dataset was not sufficient. | [
-0.4142865240573883,
-0.02956252545118332,
-0.12167942523956299,
0.6412820219993591,
0.2736390233039856,
0.04903022199869156,
0.037245213985443115,
0.34508487582206726,
-0.11032362282276154,
0.3875678777694702,
-0.017788147553801537,
0.12961731851100922,
0.12334335595369339,
0.146203666925... |
https://github.com/huggingface/datasets/issues/4405 | [TypeError: Couldn't cast array of type] Cannot process dataset in v2.2.2 | And if the problem is that the way I am to construct the {Entity Type: list of spans} makes entity types without any spans hard to handle, is there a better way to meet the demand? Although I have verified that to make entity types without any spans to behave like `entity_chunk[label] = [[""]]` can perform normally, I ... | ## Describe the bug
I am trying to process the [conll2012_ontonotesv5](https://huggingface.co/datasets/conll2012_ontonotesv5) dataset in `datasets` v2.2.2 and am running into a type error when casting the features.
## Steps to reproduce the bug
```python
import os
from typing import (
List,
Dict,
)
f... | 67 | [TypeError: Couldn't cast array of type] Cannot process dataset in v2.2.2
## Describe the bug
I am trying to process the [conll2012_ontonotesv5](https://huggingface.co/datasets/conll2012_ontonotesv5) dataset in `datasets` v2.2.2 and am running into a type error when casting the features.
## Steps to reproduce the... | [
-0.11359870433807373,
0.011211171746253967,
-0.07485056668519974,
0.316217839717865,
0.5376300811767578,
0.2893628180027008,
0.2985488176345825,
0.41987329721450806,
-0.03577933460474014,
-0.12284478545188904,
-0.02414930984377861,
0.3688288629055023,
-0.35382115840911865,
0.27202388644218... |
https://github.com/huggingface/datasets/issues/4404 | Dataset should have a `.name` field | Hi! You can already use `dset.builder_name` and `dset.config_name` for that purpose. And when it comes to versioning, it's better to use `dset._fingerprint` than the `version` attribute as the former represents a deterministic hash that encodes all the mutable ops executed on a dataset, and the latter stays the same un... | **Is your feature request related to a problem? Please describe.**
If building pipelines that can evaluate on more than one dataset, it would be nice to be able to log results of things like `Evaluating on {dataset.name}` or `results for {dataset.name} are: {results}`
Without some way of concisely identifying a dat... | 56 | Dataset should have a `.name` field
**Is your feature request related to a problem? Please describe.**
If building pipelines that can evaluate on more than one dataset, it would be nice to be able to log results of things like `Evaluating on {dataset.name}` or `results for {dataset.name} are: {results}`
Without s... | [
-0.2966519594192505,
0.12201596796512604,
-0.0480525940656662,
-0.03259024769067764,
0.26509392261505127,
0.03471345454454422,
0.4459414780139923,
0.15255685150623322,
0.02036130428314209,
0.29660850763320923,
0.2530679702758789,
0.34521105885505676,
-0.2937363088130951,
0.4648428559303283... |
https://github.com/huggingface/datasets/issues/4404 | Dataset should have a `.name` field | @mariosasko Can we make ._fingerprint not private? seems a critical component for tracking how a model was generated to ensure reproducibility. | **Is your feature request related to a problem? Please describe.**
If building pipelines that can evaluate on more than one dataset, it would be nice to be able to log results of things like `Evaluating on {dataset.name}` or `results for {dataset.name} are: {results}`
Without some way of concisely identifying a dat... | 21 | Dataset should have a `.name` field
**Is your feature request related to a problem? Please describe.**
If building pipelines that can evaluate on more than one dataset, it would be nice to be able to log results of things like `Evaluating on {dataset.name}` or `results for {dataset.name} are: {results}`
Without s... | [
-0.19703616201877594,
0.24319157004356384,
-0.038532696664333344,
0.04517092555761337,
0.2002229541540146,
0.020660914480686188,
0.5441821813583374,
0.14952237904071808,
-0.05004757270216942,
0.25675857067108154,
0.21265888214111328,
0.2247088998556137,
-0.22967147827148438,
0.434129387140... |
https://github.com/huggingface/datasets/issues/4401 | "NonMatchingChecksumError" when importing 'spider' dataset | Thanks for reporting, @OmarAlaaeldein.
Datasets hosted at Google Drive give problems quite often due to a change in their service:
- #3786
Related to:
- #3906
I'm having a look. | ## Describe the bug
When importing 'spider' dataset [https://huggingface.co/datasets/spider] an error occurs
## Steps to reproduce the bug
```python
from datasets import load_dataset
dataset = load_dataset('spider')
```
## Expected results
Dataset object
## Actual results
NonMatchingChecksumError: Check... | 30 | "NonMatchingChecksumError" when importing 'spider' dataset
## Describe the bug
When importing 'spider' dataset [https://huggingface.co/datasets/spider] an error occurs
## Steps to reproduce the bug
```python
from datasets import load_dataset
dataset = load_dataset('spider')
```
## Expected results
Dataset... | [
-0.0728672444820404,
0.01186339557170868,
-0.09626880288124084,
0.22605817019939423,
0.2652372419834137,
0.11008373647928238,
0.08079357445240021,
0.22677570581436157,
0.23012030124664307,
0.18859875202178955,
-0.21560437977313995,
-0.12109038233757019,
0.0878107026219368,
0.17605476081371... |
https://github.com/huggingface/datasets/issues/4401 | "NonMatchingChecksumError" when importing 'spider' dataset | We have made a Pull Request to replace the Google Drive URL. This fix will be accessible in our next `datasets` library release.
In the meantime, once the PR merged into master, you can get this fix by installing our library from the GitHub master branch:
```shell
pip install git+https://github.com/huggingface/dat... | ## Describe the bug
When importing 'spider' dataset [https://huggingface.co/datasets/spider] an error occurs
## Steps to reproduce the bug
```python
from datasets import load_dataset
dataset = load_dataset('spider')
```
## Expected results
Dataset object
## Actual results
NonMatchingChecksumError: Check... | 96 | "NonMatchingChecksumError" when importing 'spider' dataset
## Describe the bug
When importing 'spider' dataset [https://huggingface.co/datasets/spider] an error occurs
## Steps to reproduce the bug
```python
from datasets import load_dataset
dataset = load_dataset('spider')
```
## Expected results
Dataset... | [
-0.16683997213840485,
-0.053235724568367004,
-0.08334986865520477,
0.2363288402557373,
0.3664657473564148,
0.09414287656545639,
-0.11232760548591614,
0.25241267681121826,
0.330585777759552,
0.2504543662071228,
-0.2705610692501068,
-0.017501264810562134,
0.09989360719919205,
0.2392162531614... |
https://github.com/huggingface/datasets/issues/4400 | load dataset wikitext-2-raw-v1 failed. Could not reach wikitext-2-raw-v1.py. | I tried in this way.
```python
from datasets import load_dataset
dataset = load_dataset(path="wikitext", name="wikitext-103-v1", split="train")
``` | ## Describe the bug
Could not reach wikitext-2-raw-v1.py
## Steps to reproduce the bug
```python
from datasets import load_dataset
load_dataset("wikitext-2-raw-v1")
```
## Expected results
Download `wikitext-2-raw-v1` dataset successfully.
## Actual results
```
File "load_datasets.py", line 13, in <m... | 16 | load dataset wikitext-2-raw-v1 failed. Could not reach wikitext-2-raw-v1.py.
## Describe the bug
Could not reach wikitext-2-raw-v1.py
## Steps to reproduce the bug
```python
from datasets import load_dataset
load_dataset("wikitext-2-raw-v1")
```
## Expected results
Download `wikitext-2-raw-v1` dataset suc... | [
-0.19624373316764832,
-0.30115431547164917,
-0.095247283577919,
0.15761291980743408,
0.33065295219421387,
0.10222242027521133,
0.35033953189849854,
0.3770030736923218,
0.17281050980091095,
0.10918258875608444,
0.18630540370941162,
0.2885552942752838,
-0.08020054548978806,
0.208451882004737... |
https://github.com/huggingface/datasets/issues/4399 | LocalDatasetModuleFactoryWithoutScript extracts invalid builder name | Ok, so
```
os.path.basename("/home/user/")
```
gives `''` while
```
os.path.basename("/home/user")
```
gives `user`.
The code should check if the last char is a slash.
| ## Describe the bug
Trying to load a local dataset raises an error indicating that the config builder has to have a name.
No error should be reported, since the call is completly valid.
## Steps to reproduce the bug
```python
load_dataset("./data/some-dataset/", name="some-name")
```
## Expected results
The... | 24 | LocalDatasetModuleFactoryWithoutScript extracts invalid builder name
## Describe the bug
Trying to load a local dataset raises an error indicating that the config builder has to have a name.
No error should be reported, since the call is completly valid.
## Steps to reproduce the bug
```python
load_dataset("./... | [
-0.3629179000854492,
0.38892054557800293,
0.037886541336774826,
0.39080625772476196,
0.36331117153167725,
-0.08149291574954987,
0.48293718695640564,
0.5021459460258484,
0.11432813107967377,
0.41062986850738525,
0.07893934845924377,
0.29017600417137146,
0.008577247150242329,
-0.052562139928... |
https://github.com/huggingface/datasets/issues/4399 | LocalDatasetModuleFactoryWithoutScript extracts invalid builder name | I came through the same issue , just removing the last slash in the dataset path fixed it for me, may be this repo moderators could accept this as an accepted answer atleast if this could not be integrated
> The fix is:
>
> ```
> "name": os.path.basename(self.path[:-1] if self.path[-1] == "/" else self.path)
> ... | ## Describe the bug
Trying to load a local dataset raises an error indicating that the config builder has to have a name.
No error should be reported, since the call is completly valid.
## Steps to reproduce the bug
```python
load_dataset("./data/some-dataset/", name="some-name")
```
## Expected results
The... | 74 | LocalDatasetModuleFactoryWithoutScript extracts invalid builder name
## Describe the bug
Trying to load a local dataset raises an error indicating that the config builder has to have a name.
No error should be reported, since the call is completly valid.
## Steps to reproduce the bug
```python
load_dataset("./... | [
-0.3629179000854492,
0.38892054557800293,
0.037886541336774826,
0.39080625772476196,
0.36331117153167725,
-0.08149291574954987,
0.48293718695640564,
0.5021459460258484,
0.11432813107967377,
0.41062986850738525,
0.07893934845924377,
0.29017600417137146,
0.008577247150242329,
-0.052562139928... |
https://github.com/huggingface/datasets/issues/4399 | LocalDatasetModuleFactoryWithoutScript extracts invalid builder name | @mariosasko here we go:
https://github.com/huggingface/datasets/pull/4967
TBH I haven't tested it yet, but should work, since this is a basic change. | ## Describe the bug
Trying to load a local dataset raises an error indicating that the config builder has to have a name.
No error should be reported, since the call is completly valid.
## Steps to reproduce the bug
```python
load_dataset("./data/some-dataset/", name="some-name")
```
## Expected results
The... | 20 | LocalDatasetModuleFactoryWithoutScript extracts invalid builder name
## Describe the bug
Trying to load a local dataset raises an error indicating that the config builder has to have a name.
No error should be reported, since the call is completly valid.
## Steps to reproduce the bug
```python
load_dataset("./... | [
-0.3629179000854492,
0.38892054557800293,
0.037886541336774826,
0.39080625772476196,
0.36331117153167725,
-0.08149291574954987,
0.48293718695640564,
0.5021459460258484,
0.11432813107967377,
0.41062986850738525,
0.07893934845924377,
0.29017600417137146,
0.008577247150242329,
-0.052562139928... |
https://github.com/huggingface/datasets/issues/4398 | Calling `cast_column`/`remove_columns` and a sequence of `map` operations ends up making `faiss` fail with `ValueError` | It works if we either remove the `ds = ds.cast_column("id", Value("int32"))` line from the code above, or if instead calling `ds.remove_columns()` we remove the columns inside each mapping as `ds.map(..., remove_columns=[...])` instead of right after the mapping.
Both of those solutions seem to fix the issue, so the... | First of all, sorry in advance for the unclear title, but this bug is weird to explain (at least for me), so I tried my best to summarize all the information in this issue.
## Describe the bug
Calling a certain combination of operations over a 🤗 `Dataset` and then trying to calculate the `faiss` index with `.add... | 138 | Calling `cast_column`/`remove_columns` and a sequence of `map` operations ends up making `faiss` fail with `ValueError`
First of all, sorry in advance for the unclear title, but this bug is weird to explain (at least for me), so I tried my best to summarize all the information in this issue.
## Describe the bug
... | [
-0.07496000081300735,
-0.12038008868694305,
0.048825185745954514,
0.1968027502298355,
0.3531408905982971,
0.20017755031585693,
0.5984070897102356,
0.2834175229072571,
0.42076197266578674,
0.16230277717113495,
-0.03843817859888077,
0.27761566638946533,
0.13197094202041626,
-0.40793597698211... |
https://github.com/huggingface/datasets/issues/4398 | Calling `cast_column`/`remove_columns` and a sequence of `map` operations ends up making `faiss` fail with `ValueError` | FYI the main reason I want to use `dataset.remove_columns` rather than the function inside `dataset.map` is because according to the 🤗 Datasets documentation, it's faster.
"🤗 Datasets also has a [Dataset.remove_columns()](https://huggingface.co/docs/datasets/v2.2.1/en/package_reference/main_classes#datasets.Datase... | First of all, sorry in advance for the unclear title, but this bug is weird to explain (at least for me), so I tried my best to summarize all the information in this issue.
## Describe the bug
Calling a certain combination of operations over a 🤗 `Dataset` and then trying to calculate the `faiss` index with `.add... | 52 | Calling `cast_column`/`remove_columns` and a sequence of `map` operations ends up making `faiss` fail with `ValueError`
First of all, sorry in advance for the unclear title, but this bug is weird to explain (at least for me), so I tried my best to summarize all the information in this issue.
## Describe the bug
... | [
-0.07496000081300735,
-0.12038008868694305,
0.048825185745954514,
0.1968027502298355,
0.3531408905982971,
0.20017755031585693,
0.5984070897102356,
0.2834175229072571,
0.42076197266578674,
0.16230277717113495,
-0.03843817859888077,
0.27761566638946533,
0.13197094202041626,
-0.40793597698211... |
https://github.com/huggingface/datasets/issues/4398 | Calling `cast_column`/`remove_columns` and a sequence of `map` operations ends up making `faiss` fail with `ValueError` | Here I'm presenting all the scenarios so that you can further investigate the issue:
- ✅ `cast_column` -> `map` with `remove_columns` -> `map` with `remove_columns` -> `add_faiss_index`
```python
from transformers import DPRContextEncoder, DPRContextEncoderTokenizer
import torch
torch.set_grad_enab... | First of all, sorry in advance for the unclear title, but this bug is weird to explain (at least for me), so I tried my best to summarize all the information in this issue.
## Describe the bug
Calling a certain combination of operations over a 🤗 `Dataset` and then trying to calculate the `faiss` index with `.add... | 335 | Calling `cast_column`/`remove_columns` and a sequence of `map` operations ends up making `faiss` fail with `ValueError`
First of all, sorry in advance for the unclear title, but this bug is weird to explain (at least for me), so I tried my best to summarize all the information in this issue.
## Describe the bug
... | [
-0.07496000081300735,
-0.12038008868694305,
0.048825185745954514,
0.1968027502298355,
0.3531408905982971,
0.20017755031585693,
0.5984070897102356,
0.2834175229072571,
0.42076197266578674,
0.16230277717113495,
-0.03843817859888077,
0.27761566638946533,
0.13197094202041626,
-0.40793597698211... |
https://github.com/huggingface/datasets/issues/4398 | Calling `cast_column`/`remove_columns` and a sequence of `map` operations ends up making `faiss` fail with `ValueError` | So on, I've created #4411 so as to fix the bug with `remove_columns` under certain conditions before `add_faiss_index`, which means that the scenarios not working above are already working fine. | First of all, sorry in advance for the unclear title, but this bug is weird to explain (at least for me), so I tried my best to summarize all the information in this issue.
## Describe the bug
Calling a certain combination of operations over a 🤗 `Dataset` and then trying to calculate the `faiss` index with `.add... | 30 | Calling `cast_column`/`remove_columns` and a sequence of `map` operations ends up making `faiss` fail with `ValueError`
First of all, sorry in advance for the unclear title, but this bug is weird to explain (at least for me), so I tried my best to summarize all the information in this issue.
## Describe the bug
... | [
-0.07496000081300735,
-0.12038008868694305,
0.048825185745954514,
0.1968027502298355,
0.3531408905982971,
0.20017755031585693,
0.5984070897102356,
0.2834175229072571,
0.42076197266578674,
0.16230277717113495,
-0.03843817859888077,
0.27761566638946533,
0.13197094202041626,
-0.40793597698211... |
https://github.com/huggingface/datasets/issues/4394 | trainer became extremely slow after reload dataset by `load_from_disk` | I tried to make the dataset much more smaller (100000 rows) , then the speed became `33.88it/s` from`8.62s/it`. It's nearly 200 times... Do you have any idea? Thank you! | ## Describe the bug
Due to memory problem, I need to save my tokenized datasets locally by CPU and reload it by multi GPU for running training script. However, after I reload it by `load_from_disk` and start training, the speed is extremely slow. It says I need about 1500 hours with 8 A100 cards. Before this, I can ru... | 29 | trainer became extremely slow after reload dataset by `load_from_disk`
## Describe the bug
Due to memory problem, I need to save my tokenized datasets locally by CPU and reload it by multi GPU for running training script. However, after I reload it by `load_from_disk` and start training, the speed is extremely slow.... | [
-0.38637226819992065,
-0.21976208686828613,
0.03526904806494713,
0.3179870843887329,
0.4394131302833557,
-0.030464142560958862,
0.29100674390792847,
0.21080446243286133,
-0.0378291942179203,
-0.004967339336872101,
0.05309347063302994,
0.3047199845314026,
-0.07701048254966736,
0.03184027224... |
https://github.com/huggingface/datasets/issues/4394 | trainer became extremely slow after reload dataset by `load_from_disk` | Similar issue: https://github.com/huggingface/transformers/issues/8818
I changed `RandomSampler` to `SequentialSampler` in the `trainer.py`, but the speed didn't become faster. | ## Describe the bug
Due to memory problem, I need to save my tokenized datasets locally by CPU and reload it by multi GPU for running training script. However, after I reload it by `load_from_disk` and start training, the speed is extremely slow. It says I need about 1500 hours with 8 A100 cards. Before this, I can ru... | 17 | trainer became extremely slow after reload dataset by `load_from_disk`
## Describe the bug
Due to memory problem, I need to save my tokenized datasets locally by CPU and reload it by multi GPU for running training script. However, after I reload it by `load_from_disk` and start training, the speed is extremely slow.... | [
-0.38637226819992065,
-0.21976208686828613,
0.03526904806494713,
0.3179870843887329,
0.4394131302833557,
-0.030464142560958862,
0.29100674390792847,
0.21080446243286133,
-0.0378291942179203,
-0.004967339336872101,
0.05309347063302994,
0.3047199845314026,
-0.07701048254966736,
0.03184027224... |
https://github.com/huggingface/datasets/issues/4394 | trainer became extremely slow after reload dataset by `load_from_disk` | I changed
```
tokenized_datasets = load_from_disk(
"/pathto/dataset"
)
```
to
```
tokenized_datasets = load_from_disk(
"/pathto/dataset", keep_in_memory=True
)
```
and obtained normal speed. It's seems that the problem is on the os's speed limit. | ## Describe the bug
Due to memory problem, I need to save my tokenized datasets locally by CPU and reload it by multi GPU for running training script. However, after I reload it by `load_from_disk` and start training, the speed is extremely slow. It says I need about 1500 hours with 8 A100 cards. Before this, I can ru... | 33 | trainer became extremely slow after reload dataset by `load_from_disk`
## Describe the bug
Due to memory problem, I need to save my tokenized datasets locally by CPU and reload it by multi GPU for running training script. However, after I reload it by `load_from_disk` and start training, the speed is extremely slow.... | [
-0.38637226819992065,
-0.21976208686828613,
0.03526904806494713,
0.3179870843887329,
0.4394131302833557,
-0.030464142560958862,
0.29100674390792847,
0.21080446243286133,
-0.0378291942179203,
-0.004967339336872101,
0.05309347063302994,
0.3047199845314026,
-0.07701048254966736,
0.03184027224... |
https://github.com/huggingface/datasets/issues/4394 | trainer became extremely slow after reload dataset by `load_from_disk` | Hi ! Currently `save_to_disk` saves one big Arrow file, which causes some slow downs. This has been discussed in #3735 and we'll implement sharding pretty soon to solve this
For now you can try splitting and saving your dataset in several Arrow files. Then you can load them one by one and use `concatenate_datasets` ... | ## Describe the bug
Due to memory problem, I need to save my tokenized datasets locally by CPU and reload it by multi GPU for running training script. However, after I reload it by `load_from_disk` and start training, the speed is extremely slow. It says I need about 1500 hours with 8 A100 cards. Before this, I can ru... | 66 | trainer became extremely slow after reload dataset by `load_from_disk`
## Describe the bug
Due to memory problem, I need to save my tokenized datasets locally by CPU and reload it by multi GPU for running training script. However, after I reload it by `load_from_disk` and start training, the speed is extremely slow.... | [
-0.38637226819992065,
-0.21976208686828613,
0.03526904806494713,
0.3179870843887329,
0.4394131302833557,
-0.030464142560958862,
0.29100674390792847,
0.21080446243286133,
-0.0378291942179203,
-0.004967339336872101,
0.05309347063302994,
0.3047199845314026,
-0.07701048254966736,
0.03184027224... |
https://github.com/huggingface/datasets/issues/4386 | Bug for wiki_auto_asset_turk from GEM | Hi @StevenTang1998,
We have fixed the issue:
- #4389
The fix will be available in our next `datasets` library release. In the meantime, you can incorporate that fix by installing `datasets` from our GitHub repo:
```
pip install git+https://github.com/huggingface/datasets#egg=datasets
``` | ## Describe the bug
The script of wiki_auto_asset_turk for GEM may be out of date.
## Steps to reproduce the bug
```python
import datasets
datasets.load_dataset('gem', 'wiki_auto_asset_turk')
```
## Actual results
```
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/home/... | 40 | Bug for wiki_auto_asset_turk from GEM
## Describe the bug
The script of wiki_auto_asset_turk for GEM may be out of date.
## Steps to reproduce the bug
```python
import datasets
datasets.load_dataset('gem', 'wiki_auto_asset_turk')
```
## Actual results
```
Traceback (most recent call last):
File "<stdi... | [
-0.187733992934227,
-0.1669272780418396,
-0.10573554039001465,
0.3018324375152588,
0.33037495613098145,
-0.02343079447746277,
0.7409369349479675,
0.5015612840652466,
0.13661853969097137,
0.16635775566101074,
0.2308674454689026,
0.44556257128715515,
0.053311362862586975,
-0.2527890801429748... |
https://github.com/huggingface/datasets/issues/4386 | Bug for wiki_auto_asset_turk from GEM | Thanks for your reply!!
And the totto dataset has the same problem. The url should be change to [https://storage.googleapis.com/totto-public/totto_data.zip](https://storage.googleapis.com/totto-public/totto_data.zip). | ## Describe the bug
The script of wiki_auto_asset_turk for GEM may be out of date.
## Steps to reproduce the bug
```python
import datasets
datasets.load_dataset('gem', 'wiki_auto_asset_turk')
```
## Actual results
```
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/home/... | 19 | Bug for wiki_auto_asset_turk from GEM
## Describe the bug
The script of wiki_auto_asset_turk for GEM may be out of date.
## Steps to reproduce the bug
```python
import datasets
datasets.load_dataset('gem', 'wiki_auto_asset_turk')
```
## Actual results
```
Traceback (most recent call last):
File "<stdi... | [
-0.187733992934227,
-0.1669272780418396,
-0.10573554039001465,
0.3018324375152588,
0.33037495613098145,
-0.02343079447746277,
0.7409369349479675,
0.5015612840652466,
0.13661853969097137,
0.16635775566101074,
0.2308674454689026,
0.44556257128715515,
0.053311362862586975,
-0.2527890801429748... |
https://github.com/huggingface/datasets/issues/4386 | Bug for wiki_auto_asset_turk from GEM | Hi again @StevenTang1998,
I don't see any problem when loading `totto` dataset:
```python
In [4]: import datasets
...: ds = datasets.load_dataset("totto")
Downloading builder script: 5.58kB [00:00, 5.33MB/s] ... | ## Describe the bug
The script of wiki_auto_asset_turk for GEM may be out of date.
## Steps to reproduce the bug
```python
import datasets
datasets.load_dataset('gem', 'wiki_auto_asset_turk')
```
## Actual results
```
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/home/... | 134 | Bug for wiki_auto_asset_turk from GEM
## Describe the bug
The script of wiki_auto_asset_turk for GEM may be out of date.
## Steps to reproduce the bug
```python
import datasets
datasets.load_dataset('gem', 'wiki_auto_asset_turk')
```
## Actual results
```
Traceback (most recent call last):
File "<stdi... | [
-0.187733992934227,
-0.1669272780418396,
-0.10573554039001465,
0.3018324375152588,
0.33037495613098145,
-0.02343079447746277,
0.7409369349479675,
0.5015612840652466,
0.13661853969097137,
0.16635775566101074,
0.2308674454689026,
0.44556257128715515,
0.053311362862586975,
-0.2527890801429748... |
https://github.com/huggingface/datasets/issues/4381 | Bug in caching 2 datasets both with the same builder class name | Hi @NouamaneTazi, thanks for reporting.
Please note that both datasets are cached in the same directory because their loading builder classes have the same name: `class MTOP(datasets.GeneratorBasedBuilder)`.
You should name their builder classes differently, e.g.:
- `MtopDomain`
- `MtopIntent` | ## Describe the bug
The two datasets `mteb/mtop_intent` and `mteb/mtop_domain `use both the same cache folder `.cache/huggingface/datasets/mteb___mtop`. So if you first load `mteb/mtop_intent` then datasets will not load `mteb/mtop_domain`.
If you delete this cache folder and flip the order how you load the two datas... | 39 | Bug in caching 2 datasets both with the same builder class name
## Describe the bug
The two datasets `mteb/mtop_intent` and `mteb/mtop_domain `use both the same cache folder `.cache/huggingface/datasets/mteb___mtop`. So if you first load `mteb/mtop_intent` then datasets will not load `mteb/mtop_domain`.
If you dele... | [
-0.08650732040405273,
0.0836787074804306,
-0.05894135311245918,
0.678613543510437,
0.3177180290222168,
0.10972481220960617,
0.288614958524704,
0.12417106330394745,
-0.026603013277053833,
0.21588879823684692,
-0.18446184694766998,
0.07770781219005585,
-0.019409462809562683,
-0.1433983743190... |
https://github.com/huggingface/datasets/issues/4381 | Bug in caching 2 datasets both with the same builder class name | Hi @NouamaneTazi, please note that after our fix:
- #4388
we do not consider the class name anymore, but the name of the file where the loading builder class is implemented. | ## Describe the bug
The two datasets `mteb/mtop_intent` and `mteb/mtop_domain `use both the same cache folder `.cache/huggingface/datasets/mteb___mtop`. So if you first load `mteb/mtop_intent` then datasets will not load `mteb/mtop_domain`.
If you delete this cache folder and flip the order how you load the two datas... | 31 | Bug in caching 2 datasets both with the same builder class name
## Describe the bug
The two datasets `mteb/mtop_intent` and `mteb/mtop_domain `use both the same cache folder `.cache/huggingface/datasets/mteb___mtop`. So if you first load `mteb/mtop_intent` then datasets will not load `mteb/mtop_domain`.
If you dele... | [
-0.08650732040405273,
0.0836787074804306,
-0.05894135311245918,
0.678613543510437,
0.3177180290222168,
0.10972481220960617,
0.288614958524704,
0.12417106330394745,
-0.026603013277053833,
0.21588879823684692,
-0.18446184694766998,
0.07770781219005585,
-0.019409462809562683,
-0.1433983743190... |
https://github.com/huggingface/datasets/issues/4379 | Latest dill release raises exception | Just an additional insight, the latest dill (either 0.3.5 or 0.3.5.1) also broke the hashing/fingerprinting of any mapping function.
For example:
```
from datasets import load_dataset
d = load_dataset("rotten_tomatoes")
d.map(lambda x: x)
```
Returns the standard non-dillable error:
```
Parameter 'functi... | ## 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... | 53 | 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.35179403424263,
0.12885886430740356,
-0.04145246744155884,
-0.16158153116703033,
0.011071417480707169,
-0.09084830433130264,
0.5198795795440674,
0.42701780796051025,
-0.2461729794740677,
0.14921286702156067,
-0.2600415349006653,
0.4605540931224823,
-0.31963297724723816,
-0.3636213541030... |
https://github.com/huggingface/datasets/issues/4379 | Latest dill release raises exception | Thanks a lot @gugarosa for the insight: we will incorporate it in our CI as regression testing for future dill releases. | ## 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... | 21 | 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.35840699076652527,
-0.09504207968711853,
-0.03661257401108742,
-0.04726046323776245,
0.001321062445640564,
-0.11222042143344879,
0.43339866399765015,
0.3822139501571655,
-0.2754596173763275,
0.17402991652488708,
-0.2334345281124115,
0.324017733335495,
-0.24538327753543854,
-0.2427860498... |
https://github.com/huggingface/datasets/issues/4379 | Latest dill release raises exception | @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... | ## 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.32201477885246277,
0.1365460455417633,
-0.0019814148545265198,
-0.03622337430715561,
0.02259327843785286,
-0.14882439374923706,
0.4146614968776703,
0.4490567445755005,
-0.2709957957267761,
0.17140552401542664,
-0.3026237189769745,
0.363631010055542,
-0.22713924944400787,
-0.216806769371... |
https://github.com/huggingface/datasets/issues/4379 | Latest dill release raises exception | 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,... | ## 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.17359383404254913,
0.12260954082012177,
0.021940436214208603,
-0.025648310780525208,
0.15239310264587402,
-0.2003442645072937,
0.20380818843841553,
0.2261894792318344,
-0.24980275332927704,
0.2139284312725067,
-0.25263747572898865,
0.1603202074766159,
-0.26054254174232483,
-0.2693071365... |
https://github.com/huggingface/datasets/issues/4379 | Latest dill release raises exception | 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... | ## 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.0327274464070797,
-0.10583002865314484,
0.04006921127438545,
-0.009317107498645782,
-0.027755007147789,
-0.17819906771183014,
0.4407166540622711,
0.12387189269065857,
-0.04374244436621666,
0.17859674990177155,
-0.3917998969554901,
0.05517860874533653,
-0.16992920637130737,
-0.20647802948... |
https://github.com/huggingface/datasets/issues/4376 | irc_disentagle viewer error | 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... | 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.2918833792209625,
0.04244507849216461,
0.05369214341044426,
0.45641523599624634,
0.28749120235443115,
0.01188051700592041,
0.27155640721321106,
0.1925608366727829,
0.28398793935775757,
0.046803392469882965,
-0.40107521414756775,
0.06242414936423302,
0.042877186089754105,
0.2117604017257... |
https://github.com/huggingface/datasets/issues/4376 | irc_disentagle viewer error | 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... | 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.37143126130104065,
-0.03094790130853653,
0.07901294529438019,
0.48607736825942993,
0.23520153760910034,
0.04047311097383499,
0.18943235278129578,
0.17435985803604126,
0.3126189708709717,
0.037785567343235016,
-0.3659549057483673,
0.03791516646742821,
-0.053368233144283295,
0.24364037811... |
https://github.com/huggingface/datasets/issues/4376 | irc_disentagle viewer error | 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... | 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.25073912739753723,
0.2382431924343109,
0.0645456612110138,
0.48070067167282104,
0.28595519065856934,
-0.07441199570894241,
0.16612842679023743,
0.3082883656024933,
0.3526760935783386,
-0.01935216784477234,
-0.3463916778564453,
-0.008276406675577164,
-0.008960011415183544,
0.083610020577... |
https://github.com/huggingface/datasets/issues/4374 | extremely slow processing when using a custom dataset | 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 `... | ## 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.12999439239501953,
-0.27353811264038086,
-0.021806228905916214,
0.2799502909183502,
-0.11924721300601959,
0.15719640254974365,
0.11953797191381454,
0.3305011987686157,
0.19995634257793427,
-0.06200392544269562,
-0.3777610659599304,
0.033846285194158554,
-0.040937360376119614,
0.23231570... |
https://github.com/huggingface/datasets/issues/4363 | The dataset preview is not available for this split. | 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
| 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.4143206477165222,
-0.4605674147605896,
0.1031513661146164,
0.23723074793815613,
0.0689290463924408,
0.057130180299282074,
0.1891789734363556,
0.3036695122718811,
-0.2036113142967224,
0.07950679957866669,
-0.531731367111206,
0.09344525635242462,
-0.13939310610294342,
0.3211729824542999,
... |
https://github.com/huggingface/datasets/issues/4363 | The dataset preview is not available for this split. | 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?
| 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.22673609852790833,
-0.43739211559295654,
0.07581894099712372,
0.25833985209465027,
0.06573119759559631,
0.06564351171255112,
0.23253124952316284,
0.4521056115627289,
-0.1967177540063858,
0.11934724450111389,
-0.5796419382095337,
0.06568598002195358,
-0.1469109058380127,
0.19747188687324... |
https://github.com/huggingface/datasets/issues/4358 | Missing dataset tags and sections in some dataset cards | @lhoestq I can take this issue. Please can you point out to me where I can find the other positional arguments? | 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.21198584139347076,
0.04630735516548157,
-0.18291079998016357,
0.3745988607406616,
-0.03782837837934494,
0.3396456241607666,
0.26515209674835205,
0.29197463393211365,
-0.018360253423452377,
0.07831576466560364,
0.20011664927005768,
0.4552749693393707,
0.05990941822528839,
0.4089476764202... |
https://github.com/huggingface/datasets/issues/4358 | Missing dataset tags and sections in some dataset cards | 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. | 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.21198584139347076,
0.04630735516548157,
-0.18291079998016357,
0.3745988607406616,
-0.03782837837934494,
0.3396456241607666,
0.26515209674835205,
0.29197463393211365,
-0.018360253423452377,
0.07831576466560364,
0.20011664927005768,
0.4552749693393707,
0.05990941822528839,
0.4089476764202... |
https://github.com/huggingface/datasets/issues/4354 | Problems with WMT dataset | 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 - ... | ## 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.4581346809864044,
-0.11206459254026413,
0.08600442111492157,
0.3351208567619324,
0.3928869962692261,
0.005077466368675232,
0.31913629174232483,
0.2288428544998169,
0.17617754638195038,
0.25060638785362244,
0.021360229700803757,
0.023583674803376198,
-0.05569741874933243,
0.1305868327617... |
https://github.com/huggingface/datasets/issues/4354 | Problems with WMT dataset | 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 | ## 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.42644309997558594,
-0.17433269321918488,
0.09474942088127136,
0.3972369432449341,
0.37911146879196167,
0.002787373960018158,
0.3470560610294342,
0.19680683314800262,
0.13073308765888214,
0.16936305165290833,
0.023115528747439384,
0.018618913367390633,
-0.06973940879106522,
0.11597531288... |
https://github.com/huggingface/datasets/issues/4354 | Problems with WMT dataset | 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... | ## 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.16670918464660645,
0.10636147856712341,
0.3848138451576233,
0.4583449959754944,
0.01907995343208313,
0.3221488296985626,
0.1813812255859375,
0.18812468647956848,
0.19171908497810364,
-0.010922458954155445,
0.05659184977412224,
-0.09811699390411377,
0.16601867973804... |
https://github.com/huggingface/datasets/issues/4354 | Problems with WMT dataset | Hi @mariosasko ,
I have made the changes as suggested by you and have opened a PR #4537.
Thanks | ## 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.4753238260746002,
-0.16201354563236237,
0.10318101942539215,
0.42315196990966797,
0.4330452084541321,
0.016905441880226135,
0.35091662406921387,
0.22065357863903046,
0.17838940024375916,
0.21284633874893188,
0.009992547333240509,
0.09353262931108475,
-0.07774440199136734,
0.136072576045... |
https://github.com/huggingface/datasets/issues/4352 | 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 | 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 | ## 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.01542741060256958,
-0.27166733145713806,
-0.038212601095438004,
0.40207791328430176,
0.07682394236326218,
-0.22450953722000122,
0.20396871864795685,
0.42125988006591797,
0.23055216670036316,
-0.18846093118190765,
0.3516477644443512,
0.676310658454895,
-0.04513915255665779,
0.24678631126... |
https://github.com/huggingface/datasets/issues/4351 | Add optional progress bar for .save_to_disk(..) and .load_from_disk(..) when working with remote filesystems | 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/... | **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.257343590259552,
-0.1386776864528656,
-0.008543659001588821,
-0.2823570966720581,
0.08616878092288971,
-0.21052491664886475,
0.10983265936374664,
-0.08793848752975464,
-0.3601023554801941,
0.39995598793029785,
0.27226927876472473,
0.3882160186767578,
-0.2690257132053375,
0.6326685547828... |
https://github.com/huggingface/datasets/issues/4349 | Dataset.map()'s fails at any value of parameter writer_batch_size | 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... | ## 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.2549961507320404,
-0.4085405766963959,
0.09665369987487793,
0.42863041162490845,
0.23294591903686523,
0.017586782574653625,
0.36135944724082947,
0.2593979835510254,
0.131059929728508,
0.15520450472831726,
0.28622376918792725,
0.05914156511425972,
-0.1847832202911377,
-0.0455205291509628... |
https://github.com/huggingface/datasets/issues/4349 | Dataset.map()'s fails at any value of parameter writer_batch_size | Did you close it because you found that it was due to the incorrect Feature types ? | ## 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.2549961507320404,
-0.4085405766963959,
0.09665369987487793,
0.42863041162490845,
0.23294591903686523,
0.017586782574653625,
0.36135944724082947,
0.2593979835510254,
0.131059929728508,
0.15520450472831726,
0.28622376918792725,
0.05914156511425972,
-0.1847832202911377,
-0.0455205291509628... |
https://github.com/huggingface/datasets/issues/4349 | Dataset.map()'s fails at any value of parameter writer_batch_size | Yeah-- my analysis of the issue was wrong in this one so I just closed it while linking to the new issue | ## 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.2549961507320404,
-0.4085405766963959,
0.09665369987487793,
0.42863041162490845,
0.23294591903686523,
0.017586782574653625,
0.36135944724082947,
0.2593979835510254,
0.131059929728508,
0.15520450472831726,
0.28622376918792725,
0.05914156511425972,
-0.1847832202911377,
-0.0455205291509628... |
https://github.com/huggingface/datasets/issues/4349 | Dataset.map()'s fails at any value of parameter writer_batch_size | 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? | ## 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.2549961507320404,
-0.4085405766963959,
0.09665369987487793,
0.42863041162490845,
0.23294591903686523,
0.017586782574653625,
0.36135944724082947,
0.2593979835510254,
0.131059929728508,
0.15520450472831726,
0.28622376918792725,
0.05914156511425972,
-0.1847832202911377,
-0.0455205291509628... |
https://github.com/huggingface/datasets/issues/4349 | Dataset.map()'s fails at any value of parameter writer_batch_size | The problem lies in how your Features are defined. It's erroring out when it actually goes to write them to disk | ## 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.2549961507320404,
-0.4085405766963959,
0.09665369987487793,
0.42863041162490845,
0.23294591903686523,
0.017586782574653625,
0.36135944724082947,
0.2593979835510254,
0.131059929728508,
0.15520450472831726,
0.28622376918792725,
0.05914156511425972,
-0.1847832202911377,
-0.0455205291509628... |
https://github.com/huggingface/datasets/issues/4348 | `inspect` functions can't fetch dataset script from the Hub | 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... | 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.37944406270980835,
0.19572040438652039,
-0.07431367039680481,
0.10047269612550735,
0.2156330794095993,
-0.09829846024513245,
0.1583058387041092,
0.45292219519615173,
0.48710668087005615,
0.11161866039037704,
-0.32819291949272156,
0.25887152552604675,
-0.22168053686618805,
0.031190110370... |
https://github.com/huggingface/datasets/issues/4343 | Metrics documentation is not accessible in the datasets doc UI | 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 | **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.02035236731171608,
-0.03355488181114197,
-0.044130221009254456,
0.08836454153060913,
0.4967050552368164,
0.15937143564224243,
-0.06898067891597748,
0.14313608407974243,
-0.11233113706111908,
0.3104035556316376,
-0.28040480613708496,
0.1259918361902237,
0.02757183276116848,
0.093086972832... |
https://github.com/huggingface/datasets/issues/4327 | `wikipedia` pre-processed datasets | 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: ... | ## 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.054896872490644455,
-0.31806278228759766,
-0.1157064437866211,
0.3456413149833679,
0.098975770175457,
0.3343450129032135,
0.08799096941947937,
0.10338081419467926,
0.21118488907814026,
-0.018500208854675293,
-0.13220514357089996,
0.10368873178958893,
0.3096598982810974,
-0.21211110055446... |
https://github.com/huggingface/datasets/issues/4327 | `wikipedia` pre-processed datasets | 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. | ## 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.0015672668814659119,
-0.2262672781944275,
-0.1317075937986374,
0.30275100469589233,
-0.0004759058356285095,
0.35930246114730835,
0.09913334250450134,
0.18695005774497986,
0.21876253187656403,
-0.16363905370235443,
0.006870933808386326,
0.25350770354270935,
0.19352535903453827,
-0.237577... |
https://github.com/huggingface/datasets/issues/4325 | Dataset Viewer issue for strombergnlp/offenseval_2020, strombergnlp/polstance | 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
| ### 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.3982287049293518,
-0.05103665590286255,
0.11376392841339111,
0.2787121534347534,
0.12617748975753784,
0.10764957219362259,
0.5049300789833069,
0.10841026902198792,
0.08695563673973083,
0.04506608843803406,
-0.11013823747634888,
-0.05777394026517868,
-0.14051924645900726,
0.0919427722692... |
https://github.com/huggingface/datasets/issues/4325 | Dataset Viewer issue for strombergnlp/offenseval_2020, strombergnlp/polstance | 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 🙏 | ### 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.4592532217502594,
-0.03186105191707611,
0.10656803846359253,
0.19430294632911682,
0.1120796650648117,
0.040372952818870544,
0.4347972869873047,
0.1771509051322937,
0.1332351267337799,
0.051704734563827515,
-0.11417127400636673,
0.026435885578393936,
-0.09639950096607208,
0.1282132714986... |
https://github.com/huggingface/datasets/issues/4325 | Dataset Viewer issue for strombergnlp/offenseval_2020, strombergnlp/polstance | 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?) | ### 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.4327181875705719,
0.050321415066719055,
0.0771830677986145,
0.13712812960147858,
0.11783326417207718,
0.07461430877447128,
0.4252675473690033,
0.07164415717124939,
0.17266759276390076,
0.10264122486114502,
0.000681544654071331,
0.03201241046190262,
-0.09696495532989502,
0.15952873229980... |
https://github.com/huggingface/datasets/issues/4323 | Audio can not find value["bytes"] | 
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... | ## 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... | ## 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 | ## 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.019541185349225998,
-0.05293385684490204,
0.06414413452148438,
0.1797841340303421,
0.3484721779823303,
-0.015396974980831146,
0.4901682436466217,
0.30518457293510437,
-0.21673496067523956,
0.280241459608078,
-0.10921745747327805,
0.30264967679977417,
0.15335670113563538,
0.05820003896951... |
https://github.com/huggingface/datasets/issues/4304 | Language code search does direct matches | 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. | ## 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.03264626860618591,
-0.24687674641609192,
-0.04431280493736267,
0.2275497168302536,
0.08819746971130371,
-0.17440010607242584,
-0.08194832503795624,
0.23672886192798615,
0.08741340041160583,
-0.016721561551094055,
-0.15069177746772766,
0.18932808935642242,
-0.09969824552536011,
0.3627643... |
https://github.com/huggingface/datasets/issues/4298 | Normalise license names | 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") | **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.027796141803264618,
0.11047005653381348,
-0.022630242630839348,
-0.06727352738380432,
0.02549498900771141,
0.11576337367296219,
0.32650691270828247,
0.3348146378993988,
-0.059240881353616714,
0.171835795044899,
-0.2845454514026642,
0.24953456223011017,
-0.06713834404945374,
0.1252404004... |
https://github.com/huggingface/datasets/issues/4291 | Dataset Viewer issue for strombergnlp/ipm_nel : preview is empty, no error message | 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... | ### 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.5941498279571533,
0.015477493405342102,
0.11166349053382874,
0.26067861914634705,
-0.15293064713478088,
-0.13382183015346527,
0.2904721796512604,
0.26813632249832153,
0.08443139493465424,
0.23710545897483826,
0.012762445025146008,
0.13342781364917755,
-0.3677477538585663,
0.022973896935... |
https://github.com/huggingface/datasets/issues/4291 | Dataset Viewer issue for strombergnlp/ipm_nel : preview is empty, no error message | 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 :) | ### 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.6053083539009094,
-0.00001973658800125122,
0.07999341189861298,
0.22531963884830475,
-0.15019583702087402,
-0.17358970642089844,
0.29381129145622253,
0.25926947593688965,
0.08226567506790161,
0.3017258644104004,
0.04615844786167145,
0.022501572966575623,
-0.37967973947525024,
0.05069264... |
https://github.com/huggingface/datasets/issues/4287 | "NameError: name 'faiss' is not defined" on `.add_faiss_index` when `device` is not None | 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... | ## 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.26777899265289307,
-0.19306135177612305,
-0.05035468190908432,
0.21162138879299164,
0.2999027967453003,
0.07055168598890305,
0.6779093742370605,
0.335471510887146,
0.13890884816646576,
0.4872552156448364,
0.15024049580097198,
0.33128291368484497,
0.1982172578573227,
-0.3838965892791748,... |
https://github.com/huggingface/datasets/issues/4287 | "NameError: name 'faiss' is not defined" on `.add_faiss_index` when `device` is not None | 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... | ## 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.26777899265289307,
-0.19306135177612305,
-0.05035468190908432,
0.21162138879299164,
0.2999027967453003,
0.07055168598890305,
0.6779093742370605,
0.335471510887146,
0.13890884816646576,
0.4872552156448364,
0.15024049580097198,
0.33128291368484497,
0.1982172578573227,
-0.3838965892791748,... |
https://github.com/huggingface/datasets/issues/4284 | Issues in processing very large datasets | 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 ? | ## 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.16354887187480927,
-0.2687242329120636,
0.020451102405786514,
0.48325544595718384,
0.4122942090034485,
0.1014910414814949,
-0.06181507185101509,
0.24080584943294525,
-0.028643010184168816,
0.15085627138614655,
0.014923040755093098,
0.0726357027888298,
-0.23145993053913116,
-0.2328301817... |
https://github.com/huggingface/datasets/issues/4276 | OpenBookQA has missing and inconsistent field names | Thanks for reporting, @vblagoje.
Indeed, I noticed some of these issues while reviewing this PR:
- #4259
This is in my TODO list. | ## 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.10092616081237793,
0.2100123167037964,
-0.05182547867298126,
0.225194051861763,
-0.10977950692176819,
-0.057623766362667084,
0.26807302236557007,
0.3371184766292572,
-0.07926475256681442,
0.20631450414657593,
0.12442069500684738,
0.5698287487030029,
0.4415481984615326,
0.365253835916519... |
https://github.com/huggingface/datasets/issues/4276 | OpenBookQA has missing and inconsistent field names | 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... | ## 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.10977411270141602,
0.13261598348617554,
-0.0441398024559021,
0.25150153040885925,
-0.2379205971956253,
-0.02383936569094658,
0.2634884715080261,
0.3610416352748871,
0.006400706246495247,
0.17647454142570496,
0.0964336097240448,
0.48493990302085876,
0.454989492893219,
0.4911121129989624,... |
https://github.com/huggingface/datasets/issues/4276 | OpenBookQA has missing and inconsistent field names | @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... | ## 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.06960289925336838,
0.22964784502983093,
-0.010089937597513199,
0.040228843688964844,
-0.18348701298236847,
-0.10421352833509445,
0.3193838894367218,
0.37284165620803833,
-0.008460492826998234,
0.15323305130004883,
0.08122049272060394,
0.31265565752983093,
0.5082783699035645,
0.266557037... |
https://github.com/huggingface/datasets/issues/4276 | OpenBookQA has missing and inconsistent field names | I'm opening a PR that adds the missing fields.
Let's agree on the feature structure: @lhoestq @mariosasko @polinaeterna | ## 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.12276582419872284,
0.12948358058929443,
-0.05313251167535782,
0.24361321330070496,
-0.11152802407741547,
-0.057337187230587006,
0.1977686583995819,
0.2891440689563751,
-0.11566062271595001,
0.21282553672790527,
0.1821909099817276,
0.4630889594554901,
0.37812355160713196,
0.3454267084598... |
https://github.com/huggingface/datasets/issues/4276 | OpenBookQA has missing and inconsistent field names | 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). | ## 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.11615030467510223,
0.17626681923866272,
-0.09981423616409302,
0.2082638442516327,
-0.11751602590084076,
-0.06794482469558716,
0.2634466290473938,
0.3842659592628479,
-0.06823371350765228,
0.22681362926959991,
0.0829307809472084,
0.5433101654052734,
0.36969220638275146,
0.374489724636077... |
https://github.com/huggingface/datasets/issues/4276 | OpenBookQA has missing and inconsistent field names | 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... | ## 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.1998205929994583,
0.2370985448360443,
-0.07848262041807175,
0.038383178412914276,
-0.046374768018722534,
-0.11212185770273209,
0.2615799903869629,
0.4792061150074005,
-0.09289385378360748,
0.19852226972579956,
0.0985918641090393,
0.5298962593078613,
0.29294079542160034,
0.41182896494865... |
https://github.com/huggingface/datasets/issues/4276 | OpenBookQA has missing and inconsistent field names | 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... | ## 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.24651433527469635,
0.26373547315597534,
-0.023661011829972267,
0.21830013394355774,
-0.21930648386478424,
-0.05686478316783905,
0.3280346393585205,
0.3779309093952179,
0.08045811951160431,
0.2415490299463272,
0.09365814924240112,
0.49885639548301697,
0.2551301419734955,
0.53037995100021... |
https://github.com/huggingface/datasets/issues/4276 | OpenBookQA has missing and inconsistent field names | @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... | ## 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.0945751965045929,
0.16495636105537415,
-0.10625572502613068,
0.18077713251113892,
-0.1605587601661682,
-0.1824280321598053,
0.29297998547554016,
0.37215590476989746,
-0.028136203065514565,
0.23731845617294312,
0.08153854310512543,
0.4941644072532654,
0.34432289004325867,
0.3875860869884... |
https://github.com/huggingface/datasets/issues/4276 | OpenBookQA has missing and inconsistent field names | 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) | ## 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.11451636254787445,
0.1542971432209015,
-0.07824108004570007,
0.25563374161720276,
-0.15302704274654388,
-0.04252130910754204,
0.2703089416027069,
0.31803998351097107,
-0.016885705292224884,
0.2164829969406128,
0.1081155464053154,
0.5026225447654724,
0.36024612188339233,
0.42073374986648... |
https://github.com/huggingface/datasets/issues/4271 | A typo in docs of datasets.disable_progress_bar | Hi! Thanks for catching and reporting the typo, a PR has been opened to fix it :) | ## 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.22290819883346558,
0.11560988426208496,
-0.19579319655895233,
-0.23320059478282928,
0.19839467108249664,
-0.018810249865055084,
0.28558120131492615,
0.20070995390415192,
-0.1886855512857437,
0.378559947013855,
0.23634150624275208,
0.3476189970970154,
0.17510855197906494,
0.3231691122055... |
https://github.com/huggingface/datasets/issues/4268 | error downloading bigscience-catalogue-lm-data/lm_en_wiktionary_filtered | 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... | ## 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.2923785448074341,
-0.041403546929359436,
-0.1572301685810089,
0.2814290523529053,
0.0499909445643425,
-0.028551850467920303,
0.16257955133914948,
0.545356035232544,
0.28651800751686096,
0.07778171449899673,
-0.16878914833068848,
0.2441956251859665,
-0.18494205176830292,
-0.0490182712674... |
https://github.com/huggingface/datasets/issues/4268 | error downloading bigscience-catalogue-lm-data/lm_en_wiktionary_filtered | 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... | ## 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.2923785448074341,
-0.041403546929359436,
-0.1572301685810089,
0.2814290523529053,
0.0499909445643425,
-0.028551850467920303,
0.16257955133914948,
0.545356035232544,
0.28651800751686096,
0.07778171449899673,
-0.16878914833068848,
0.2441956251859665,
-0.18494205176830292,
-0.0490182712674... |
https://github.com/huggingface/datasets/issues/4268 | error downloading bigscience-catalogue-lm-data/lm_en_wiktionary_filtered | 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! | ## 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.2923785448074341,
-0.041403546929359436,
-0.1572301685810089,
0.2814290523529053,
0.0499909445643425,
-0.028551850467920303,
0.16257955133914948,
0.545356035232544,
0.28651800751686096,
0.07778171449899673,
-0.16878914833068848,
0.2441956251859665,
-0.18494205176830292,
-0.0490182712674... |
https://github.com/huggingface/datasets/issues/4268 | error downloading bigscience-catalogue-lm-data/lm_en_wiktionary_filtered | All datasets are private now.
Re:that bug I think we're currently avoiding it by avoiding verifications. (i.e. `ignore_verifications=True`) | ## 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.2923785448074341,
-0.041403546929359436,
-0.1572301685810089,
0.2814290523529053,
0.0499909445643425,
-0.028551850467920303,
0.16257955133914948,
0.545356035232544,
0.28651800751686096,
0.07778171449899673,
-0.16878914833068848,
0.2441956251859665,
-0.18494205176830292,
-0.0490182712674... |
https://github.com/huggingface/datasets/issues/4268 | error downloading bigscience-catalogue-lm-data/lm_en_wiktionary_filtered | 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. | ## 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.2923785448074341,
-0.041403546929359436,
-0.1572301685810089,
0.2814290523529053,
0.0499909445643425,
-0.028551850467920303,
0.16257955133914948,
0.545356035232544,
0.28651800751686096,
0.07778171449899673,
-0.16878914833068848,
0.2441956251859665,
-0.18494205176830292,
-0.0490182712674... |
https://github.com/huggingface/datasets/issues/4268 | error downloading bigscience-catalogue-lm-data/lm_en_wiktionary_filtered | 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... | ## 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.2923785448074341,
-0.041403546929359436,
-0.1572301685810089,
0.2814290523529053,
0.0499909445643425,
-0.028551850467920303,
0.16257955133914948,
0.545356035232544,
0.28651800751686096,
0.07778171449899673,
-0.16878914833068848,
0.2441956251859665,
-0.18494205176830292,
-0.0490182712674... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.