html_url
stringlengths
51
51
comments
stringlengths
67
24.7k
title
stringlengths
6
280
body
stringlengths
51
36.2k
comment_length
int64
16
1.45k
text
stringlengths
190
38.3k
embeddings
list
https://github.com/huggingface/datasets/issues/2799
I think the issue is more complex than that... I just took one of your JSON lines and pyarrow.json read it without problem.
Loading JSON throws ArrowNotImplementedError
## Describe the bug I have created a [dataset](https://huggingface.co/datasets/lewtun/github-issues-test) of GitHub issues in line-separated JSON format and am finding that I cannot load it with the `json` loading script (see stack trace below). Curiously, there is no problem loading the dataset with `pandas` which...
23
Loading JSON throws ArrowNotImplementedError ## Describe the bug I have created a [dataset](https://huggingface.co/datasets/lewtun/github-issues-test) of GitHub issues in line-separated JSON format and am finding that I cannot load it with the `json` loading script (see stack trace below). Curiously, there is no ...
[ -0.06818690896034241, 0.18416234850883484, 0.03641544282436371, 0.3780701756477356, 0.23553714156150818, -0.00627029687166214, 0.48466789722442627, 0.3670632839202881, 0.4180774688720703, -0.002839095890522003, 0.06055498868227005, 0.5898874402046204, 0.027620695531368256, -0.1488581895828...
https://github.com/huggingface/datasets/issues/2799
> I just took one of your JSON lines an pyarrow.json read it without problem. yes, and for some peculiar reason the error is non-deterministic (i was eventually able to load the whole dataset by just re-running the `load_dataset` cell multiple times 🤔) thanks for looking into this 🙏 !
Loading JSON throws ArrowNotImplementedError
## Describe the bug I have created a [dataset](https://huggingface.co/datasets/lewtun/github-issues-test) of GitHub issues in line-separated JSON format and am finding that I cannot load it with the `json` loading script (see stack trace below). Curiously, there is no problem loading the dataset with `pandas` which...
50
Loading JSON throws ArrowNotImplementedError ## Describe the bug I have created a [dataset](https://huggingface.co/datasets/lewtun/github-issues-test) of GitHub issues in line-separated JSON format and am finding that I cannot load it with the `json` loading script (see stack trace below). Curiously, there is no ...
[ -0.06818690896034241, 0.18416234850883484, 0.03641544282436371, 0.3780701756477356, 0.23553714156150818, -0.00627029687166214, 0.48466789722442627, 0.3670632839202881, 0.4180774688720703, -0.002839095890522003, 0.06055498868227005, 0.5898874402046204, 0.027620695531368256, -0.1488581895828...
https://github.com/huggingface/datasets/issues/2799
The code works fine on my side. Not sure what's going on here :/ I remember we did a few changes in the JSON loader in #2638 , did you do an update `datasets` when debugging this ?
Loading JSON throws ArrowNotImplementedError
## Describe the bug I have created a [dataset](https://huggingface.co/datasets/lewtun/github-issues-test) of GitHub issues in line-separated JSON format and am finding that I cannot load it with the `json` loading script (see stack trace below). Curiously, there is no problem loading the dataset with `pandas` which...
38
Loading JSON throws ArrowNotImplementedError ## Describe the bug I have created a [dataset](https://huggingface.co/datasets/lewtun/github-issues-test) of GitHub issues in line-separated JSON format and am finding that I cannot load it with the `json` loading script (see stack trace below). Curiously, there is no ...
[ -0.06818690896034241, 0.18416234850883484, 0.03641544282436371, 0.3780701756477356, 0.23553714156150818, -0.00627029687166214, 0.48466789722442627, 0.3670632839202881, 0.4180774688720703, -0.002839095890522003, 0.06055498868227005, 0.5898874402046204, 0.027620695531368256, -0.1488581895828...
https://github.com/huggingface/datasets/issues/2799
OK after upgrading `datasets` to v1.12.1 the issue seems to have gone away. Closing this now :)
Loading JSON throws ArrowNotImplementedError
## Describe the bug I have created a [dataset](https://huggingface.co/datasets/lewtun/github-issues-test) of GitHub issues in line-separated JSON format and am finding that I cannot load it with the `json` loading script (see stack trace below). Curiously, there is no problem loading the dataset with `pandas` which...
17
Loading JSON throws ArrowNotImplementedError ## Describe the bug I have created a [dataset](https://huggingface.co/datasets/lewtun/github-issues-test) of GitHub issues in line-separated JSON format and am finding that I cannot load it with the `json` loading script (see stack trace below). Curiously, there is no ...
[ -0.06818690896034241, 0.18416234850883484, 0.03641544282436371, 0.3780701756477356, 0.23553714156150818, -0.00627029687166214, 0.48466789722442627, 0.3670632839202881, 0.4180774688720703, -0.002839095890522003, 0.06055498868227005, 0.5898874402046204, 0.027620695531368256, -0.1488581895828...
https://github.com/huggingface/datasets/issues/2799
Oops, I spoke too soon 😓 After deleting the cache and trying the above code snippet again I am hitting the same error. You can also reproduce it in the Colab notebook I linked to in the issue description.
Loading JSON throws ArrowNotImplementedError
## Describe the bug I have created a [dataset](https://huggingface.co/datasets/lewtun/github-issues-test) of GitHub issues in line-separated JSON format and am finding that I cannot load it with the `json` loading script (see stack trace below). Curiously, there is no problem loading the dataset with `pandas` which...
39
Loading JSON throws ArrowNotImplementedError ## Describe the bug I have created a [dataset](https://huggingface.co/datasets/lewtun/github-issues-test) of GitHub issues in line-separated JSON format and am finding that I cannot load it with the `json` loading script (see stack trace below). Curiously, there is no ...
[ -0.06818690896034241, 0.18416234850883484, 0.03641544282436371, 0.3780701756477356, 0.23553714156150818, -0.00627029687166214, 0.48466789722442627, 0.3670632839202881, 0.4180774688720703, -0.002839095890522003, 0.06055498868227005, 0.5898874402046204, 0.027620695531368256, -0.1488581895828...
https://github.com/huggingface/datasets/issues/2799
@albertvillanova @lhoestq I noticed the same issue using datasets v1.12.1. Is there an update on when this could be fixed?
Loading JSON throws ArrowNotImplementedError
## Describe the bug I have created a [dataset](https://huggingface.co/datasets/lewtun/github-issues-test) of GitHub issues in line-separated JSON format and am finding that I cannot load it with the `json` loading script (see stack trace below). Curiously, there is no problem loading the dataset with `pandas` which...
20
Loading JSON throws ArrowNotImplementedError ## Describe the bug I have created a [dataset](https://huggingface.co/datasets/lewtun/github-issues-test) of GitHub issues in line-separated JSON format and am finding that I cannot load it with the `json` loading script (see stack trace below). Curiously, there is no ...
[ -0.06818690896034241, 0.18416234850883484, 0.03641544282436371, 0.3780701756477356, 0.23553714156150818, -0.00627029687166214, 0.48466789722442627, 0.3670632839202881, 0.4180774688720703, -0.002839095890522003, 0.06055498868227005, 0.5898874402046204, 0.027620695531368256, -0.1488581895828...
https://github.com/huggingface/datasets/issues/2799
Apparently it's possible to make it work by increasing the `block_size`, let me open a PR
Loading JSON throws ArrowNotImplementedError
## Describe the bug I have created a [dataset](https://huggingface.co/datasets/lewtun/github-issues-test) of GitHub issues in line-separated JSON format and am finding that I cannot load it with the `json` loading script (see stack trace below). Curiously, there is no problem loading the dataset with `pandas` which...
16
Loading JSON throws ArrowNotImplementedError ## Describe the bug I have created a [dataset](https://huggingface.co/datasets/lewtun/github-issues-test) of GitHub issues in line-separated JSON format and am finding that I cannot load it with the `json` loading script (see stack trace below). Curiously, there is no ...
[ -0.06818690896034241, 0.18416234850883484, 0.03641544282436371, 0.3780701756477356, 0.23553714156150818, -0.00627029687166214, 0.48466789722442627, 0.3670632839202881, 0.4180774688720703, -0.002839095890522003, 0.06055498868227005, 0.5898874402046204, 0.027620695531368256, -0.1488581895828...
https://github.com/huggingface/datasets/issues/2799
I just opened a PR with a fix, feel free to install `datasets` from source from source and let me know if it helps
Loading JSON throws ArrowNotImplementedError
## Describe the bug I have created a [dataset](https://huggingface.co/datasets/lewtun/github-issues-test) of GitHub issues in line-separated JSON format and am finding that I cannot load it with the `json` loading script (see stack trace below). Curiously, there is no problem loading the dataset with `pandas` which...
24
Loading JSON throws ArrowNotImplementedError ## Describe the bug I have created a [dataset](https://huggingface.co/datasets/lewtun/github-issues-test) of GitHub issues in line-separated JSON format and am finding that I cannot load it with the `json` loading script (see stack trace below). Curiously, there is no ...
[ -0.06818690896034241, 0.18416234850883484, 0.03641544282436371, 0.3780701756477356, 0.23553714156150818, -0.00627029687166214, 0.48466789722442627, 0.3670632839202881, 0.4180774688720703, -0.002839095890522003, 0.06055498868227005, 0.5898874402046204, 0.027620695531368256, -0.1488581895828...
https://github.com/huggingface/datasets/issues/2799
@zijwang did PR #3000 solve the problem for you? It did for me, so it all is good on your end we can close this issue. Thanks again to @lhoestq for the pyarrow magic 🤯
Loading JSON throws ArrowNotImplementedError
## Describe the bug I have created a [dataset](https://huggingface.co/datasets/lewtun/github-issues-test) of GitHub issues in line-separated JSON format and am finding that I cannot load it with the `json` loading script (see stack trace below). Curiously, there is no problem loading the dataset with `pandas` which...
35
Loading JSON throws ArrowNotImplementedError ## Describe the bug I have created a [dataset](https://huggingface.co/datasets/lewtun/github-issues-test) of GitHub issues in line-separated JSON format and am finding that I cannot load it with the `json` loading script (see stack trace below). Curiously, there is no ...
[ -0.06818690896034241, 0.18416234850883484, 0.03641544282436371, 0.3780701756477356, 0.23553714156150818, -0.00627029687166214, 0.48466789722442627, 0.3670632839202881, 0.4180774688720703, -0.002839095890522003, 0.06055498868227005, 0.5898874402046204, 0.027620695531368256, -0.1488581895828...
https://github.com/huggingface/datasets/issues/2788
Hi ! This is not possible just with `load_dataset`. You can do something like this instead: ```python seed=42 data_files_dict = { "train": [train_file1, train_file2], "test": [test_file1, test_file2], "val": [val_file1, val_file2] } dataset = datasets.load_dataset( "csv", data_files=dat...
How to sample every file in a list of files making up a split in a dataset when loading?
I am loading a dataset with multiple train, test, and validation files like this: ``` data_files_dict = { "train": [train_file1, train_file2], "test": [test_file1, test_file2], "val": [val_file1, val_file2] } dataset = datasets.load_dataset( "csv", data_files=data_files_dict, split=[...
67
How to sample every file in a list of files making up a split in a dataset when loading? I am loading a dataset with multiple train, test, and validation files like this: ``` data_files_dict = { "train": [train_file1, train_file2], "test": [test_file1, test_file2], "val": [val_file1, val_file2] } ...
[ -0.31387919187545776, -0.17968618869781494, -0.11428780853748322, 0.14546099305152893, -0.015786806121468544, 0.35745713114738464, 0.4449555575847626, 0.49487635493278503, 0.5567873120307922, 0.019508425146341324, -0.07451476156711578, 0.19857753813266754, 0.028143446892499924, 0.143457442...
https://github.com/huggingface/datasets/issues/2787
the bug code locate in : if data_args.task_name is not None: # Downloading and loading a dataset from the hub. datasets = load_dataset("glue", data_args.task_name, cache_dir=model_args.cache_dir)
ConnectionError: Couldn't reach https://raw.githubusercontent.com
Hello, I am trying to run run_glue.py and it gives me this error - Traceback (most recent call last): File "E:/BERT/pytorch_hugging/transformers/examples/pytorch/text-classification/run_glue.py", line 546, in <module> main() File "E:/BERT/pytorch_hugging/transformers/examples/pytorch/text-classification/...
25
ConnectionError: Couldn't reach https://raw.githubusercontent.com Hello, I am trying to run run_glue.py and it gives me this error - Traceback (most recent call last): File "E:/BERT/pytorch_hugging/transformers/examples/pytorch/text-classification/run_glue.py", line 546, in <module> main() File "E:/BER...
[ -0.20387092232704163, -0.16013352572917938, -0.08192582428455353, 0.04690194129943848, 0.26654404401779175, -0.07231886684894562, 0.1546960026025772, 0.30124467611312866, 0.10906801372766495, -0.09559808671474457, -0.17693926393985748, -0.15693077445030212, 0.042428288608789444, 0.00980848...
https://github.com/huggingface/datasets/issues/2787
Hi @jinec, From time to time we get this kind of `ConnectionError` coming from the github.com website: https://raw.githubusercontent.com Normally, it should work if you wait a little and then retry. Could you please confirm if the problem persists?
ConnectionError: Couldn't reach https://raw.githubusercontent.com
Hello, I am trying to run run_glue.py and it gives me this error - Traceback (most recent call last): File "E:/BERT/pytorch_hugging/transformers/examples/pytorch/text-classification/run_glue.py", line 546, in <module> main() File "E:/BERT/pytorch_hugging/transformers/examples/pytorch/text-classification/...
38
ConnectionError: Couldn't reach https://raw.githubusercontent.com Hello, I am trying to run run_glue.py and it gives me this error - Traceback (most recent call last): File "E:/BERT/pytorch_hugging/transformers/examples/pytorch/text-classification/run_glue.py", line 546, in <module> main() File "E:/BER...
[ -0.20387092232704163, -0.16013352572917938, -0.08192582428455353, 0.04690194129943848, 0.26654404401779175, -0.07231886684894562, 0.1546960026025772, 0.30124467611312866, 0.10906801372766495, -0.09559808671474457, -0.17693926393985748, -0.15693077445030212, 0.042428288608789444, 0.00980848...
https://github.com/huggingface/datasets/issues/2787
> I can access https://raw.githubusercontent.com/huggingface/datasets/1.7.0/datasets/glue/glue.py without problem... I can not access https://raw.githubusercontent.com/huggingface/datasets either, I am in China
ConnectionError: Couldn't reach https://raw.githubusercontent.com
Hello, I am trying to run run_glue.py and it gives me this error - Traceback (most recent call last): File "E:/BERT/pytorch_hugging/transformers/examples/pytorch/text-classification/run_glue.py", line 546, in <module> main() File "E:/BERT/pytorch_hugging/transformers/examples/pytorch/text-classification/...
17
ConnectionError: Couldn't reach https://raw.githubusercontent.com Hello, I am trying to run run_glue.py and it gives me this error - Traceback (most recent call last): File "E:/BERT/pytorch_hugging/transformers/examples/pytorch/text-classification/run_glue.py", line 546, in <module> main() File "E:/BER...
[ -0.20387092232704163, -0.16013352572917938, -0.08192582428455353, 0.04690194129943848, 0.26654404401779175, -0.07231886684894562, 0.1546960026025772, 0.30124467611312866, 0.10906801372766495, -0.09559808671474457, -0.17693926393985748, -0.15693077445030212, 0.042428288608789444, 0.00980848...
https://github.com/huggingface/datasets/issues/2787
> Finally i can access it, by the superfast software. Thanks Excuse me, I have the same problem as you, could you please tell me how to solve it?
ConnectionError: Couldn't reach https://raw.githubusercontent.com
Hello, I am trying to run run_glue.py and it gives me this error - Traceback (most recent call last): File "E:/BERT/pytorch_hugging/transformers/examples/pytorch/text-classification/run_glue.py", line 546, in <module> main() File "E:/BERT/pytorch_hugging/transformers/examples/pytorch/text-classification/...
29
ConnectionError: Couldn't reach https://raw.githubusercontent.com Hello, I am trying to run run_glue.py and it gives me this error - Traceback (most recent call last): File "E:/BERT/pytorch_hugging/transformers/examples/pytorch/text-classification/run_glue.py", line 546, in <module> main() File "E:/BER...
[ -0.20387092232704163, -0.16013352572917938, -0.08192582428455353, 0.04690194129943848, 0.26654404401779175, -0.07231886684894562, 0.1546960026025772, 0.30124467611312866, 0.10906801372766495, -0.09559808671474457, -0.17693926393985748, -0.15693077445030212, 0.042428288608789444, 0.00980848...
https://github.com/huggingface/datasets/issues/2787
It is not related to the area, the ConnectionError with http://raw.githubuserconent.com has persisted with load_data function, datasets module. However, it can be set to either wget or ssl snippet to download dataset from github as following. `$ wget https://raw.githubusercontent.com/... --no-check-certificate` ...
ConnectionError: Couldn't reach https://raw.githubusercontent.com
Hello, I am trying to run run_glue.py and it gives me this error - Traceback (most recent call last): File "E:/BERT/pytorch_hugging/transformers/examples/pytorch/text-classification/run_glue.py", line 546, in <module> main() File "E:/BERT/pytorch_hugging/transformers/examples/pytorch/text-classification/...
77
ConnectionError: Couldn't reach https://raw.githubusercontent.com Hello, I am trying to run run_glue.py and it gives me this error - Traceback (most recent call last): File "E:/BERT/pytorch_hugging/transformers/examples/pytorch/text-classification/run_glue.py", line 546, in <module> main() File "E:/BER...
[ -0.20387092232704163, -0.16013352572917938, -0.08192582428455353, 0.04690194129943848, 0.26654404401779175, -0.07231886684894562, 0.1546960026025772, 0.30124467611312866, 0.10906801372766495, -0.09559808671474457, -0.17693926393985748, -0.15693077445030212, 0.042428288608789444, 0.00980848...
https://github.com/huggingface/datasets/issues/2787
> > I can access https://raw.githubusercontent.com/huggingface/datasets/1.7.0/datasets/glue/glue.py without problem... > > I can not access https://raw.githubusercontent.com/huggingface/datasets either, I am in China 所以老哥怎么解决这个问题呢
ConnectionError: Couldn't reach https://raw.githubusercontent.com
Hello, I am trying to run run_glue.py and it gives me this error - Traceback (most recent call last): File "E:/BERT/pytorch_hugging/transformers/examples/pytorch/text-classification/run_glue.py", line 546, in <module> main() File "E:/BERT/pytorch_hugging/transformers/examples/pytorch/text-classification/...
21
ConnectionError: Couldn't reach https://raw.githubusercontent.com Hello, I am trying to run run_glue.py and it gives me this error - Traceback (most recent call last): File "E:/BERT/pytorch_hugging/transformers/examples/pytorch/text-classification/run_glue.py", line 546, in <module> main() File "E:/BER...
[ -0.20387092232704163, -0.16013352572917938, -0.08192582428455353, 0.04690194129943848, 0.26654404401779175, -0.07231886684894562, 0.1546960026025772, 0.30124467611312866, 0.10906801372766495, -0.09559808671474457, -0.17693926393985748, -0.15693077445030212, 0.042428288608789444, 0.00980848...
https://github.com/huggingface/datasets/issues/2775
I dug into what I believe is the root of this issue and added a repro in my comment. If this is better addressed as a cross-team issue, let me know and I can open an issue in the Transformers repo
`generate_random_fingerprint()` deterministic with 🤗Transformers' `set_seed()`
## Describe the bug **Update:** I dug into this to try to reproduce the underlying issue, and I believe it's that `set_seed()` from the `transformers` library makes the "random" fingerprint identical each time. I believe this is still a bug, because `datasets` is used exactly this way in `transformers` after `set_se...
41
`generate_random_fingerprint()` deterministic with 🤗Transformers' `set_seed()` ## Describe the bug **Update:** I dug into this to try to reproduce the underlying issue, and I believe it's that `set_seed()` from the `transformers` library makes the "random" fingerprint identical each time. I believe this is still ...
[ -0.16224339604377747, -0.06068199872970581, 0.09388262033462524, 0.08360282331705093, 0.3144049346446991, -0.14297336339950562, 0.613957941532135, 0.01321309432387352, -0.11961637437343597, 0.005816295742988586, 0.16503429412841797, 0.20179545879364014, -0.07878872752189636, 0.094522558152...
https://github.com/huggingface/datasets/issues/2775
Hi ! IMO we shouldn't try to modify `set_seed` from transformers but maybe make `datasets` have its own RNG just to generate random fingerprints. Any opinion on this @LysandreJik ?
`generate_random_fingerprint()` deterministic with 🤗Transformers' `set_seed()`
## Describe the bug **Update:** I dug into this to try to reproduce the underlying issue, and I believe it's that `set_seed()` from the `transformers` library makes the "random" fingerprint identical each time. I believe this is still a bug, because `datasets` is used exactly this way in `transformers` after `set_se...
30
`generate_random_fingerprint()` deterministic with 🤗Transformers' `set_seed()` ## Describe the bug **Update:** I dug into this to try to reproduce the underlying issue, and I believe it's that `set_seed()` from the `transformers` library makes the "random" fingerprint identical each time. I believe this is still ...
[ -0.16224339604377747, -0.06068199872970581, 0.09388262033462524, 0.08360282331705093, 0.3144049346446991, -0.14297336339950562, 0.613957941532135, 0.01321309432387352, -0.11961637437343597, 0.005816295742988586, 0.16503429412841797, 0.20179545879364014, -0.07878872752189636, 0.094522558152...
https://github.com/huggingface/datasets/issues/2768
Hi, the `select` method creates an indices mapping and doesn't modify the underlying PyArrow table by default for better performance. To modify the underlying table after the `select` call, call `flatten_indices` on the dataset object as follows: ```python from datasets import load_dataset ds = load_dataset("tw...
`ArrowInvalid: Added column's length must match table's length.` after using `select`
## Describe the bug I would like to add a column to a downsampled dataset. However I get an error message saying the length don't match with the length of the unsampled dataset indicated. I suspect that the dataset size is not updated when calling `select`. ## Steps to reproduce the bug ```python from datasets im...
53
`ArrowInvalid: Added column's length must match table's length.` after using `select` ## Describe the bug I would like to add a column to a downsampled dataset. However I get an error message saying the length don't match with the length of the unsampled dataset indicated. I suspect that the dataset size is not upda...
[ -0.22741879522800446, -0.18983136117458344, -0.008905310183763504, 0.03250904753804207, 0.09828294813632965, 0.04157400131225586, 0.07285062968730927, 0.18379803001880646, 0.06048755347728729, 0.16475370526313782, 0.20483990013599396, 0.6761356592178345, 0.013996720314025879, -0.3138832449...
https://github.com/huggingface/datasets/issues/2767
Hi @lhoestq Maybe this is clearer to explain like this, currently map function, map one example to "one" modified one, lets assume we want to map one example to "multiple" examples, in which we do not know in advance how many examples they would be per each entry. I greatly appreciate telling me how I can handle this...
equal operation to perform unbatch for huggingface datasets
Hi I need to use "unbatch" operation in tensorflow on a huggingface dataset, I could not find this operation, could you kindly direct me how I can do it, here is the problem I am trying to solve: I am considering "record" dataset in SuperGlue and I need to replicate each entery of the dataset for each answer, to ma...
62
equal operation to perform unbatch for huggingface datasets Hi I need to use "unbatch" operation in tensorflow on a huggingface dataset, I could not find this operation, could you kindly direct me how I can do it, here is the problem I am trying to solve: I am considering "record" dataset in SuperGlue and I need...
[ -0.028677046298980713, -0.7930666208267212, 0.03352856636047363, -0.08185022324323654, -0.0049163298681378365, -0.10334893316030502, 0.2304781675338745, -0.001591067761182785, 0.4284726679325104, 0.2395400106906891, -0.32405686378479004, -0.04595772176980972, 0.023622602224349976, 0.469903...
https://github.com/huggingface/datasets/issues/2767
Hi, this is also my question on how to perform similar operation as "unbatch" in tensorflow in great huggingface dataset library. thanks.
equal operation to perform unbatch for huggingface datasets
Hi I need to use "unbatch" operation in tensorflow on a huggingface dataset, I could not find this operation, could you kindly direct me how I can do it, here is the problem I am trying to solve: I am considering "record" dataset in SuperGlue and I need to replicate each entery of the dataset for each answer, to ma...
22
equal operation to perform unbatch for huggingface datasets Hi I need to use "unbatch" operation in tensorflow on a huggingface dataset, I could not find this operation, could you kindly direct me how I can do it, here is the problem I am trying to solve: I am considering "record" dataset in SuperGlue and I need...
[ -0.042497944086790085, -0.7478792667388916, 0.04419740289449692, -0.06380195915699005, 0.06021528318524361, -0.07411913573741913, 0.21649257838726044, 0.02340364083647728, 0.4041273593902588, 0.2328331470489502, -0.37579095363616943, -0.030947677791118622, 0.008743718266487122, 0.460334241...
https://github.com/huggingface/datasets/issues/2767
Hi, `Dataset.map` in the batched mode allows you to map a single row to multiple rows. So to perform "unbatch", you can do the following: ```python import collections def unbatch(batch): new_batch = collections.defaultdict(list) keys = batch.keys() for values in zip(*batch.values()): ex ...
equal operation to perform unbatch for huggingface datasets
Hi I need to use "unbatch" operation in tensorflow on a huggingface dataset, I could not find this operation, could you kindly direct me how I can do it, here is the problem I am trying to solve: I am considering "record" dataset in SuperGlue and I need to replicate each entery of the dataset for each answer, to ma...
72
equal operation to perform unbatch for huggingface datasets Hi I need to use "unbatch" operation in tensorflow on a huggingface dataset, I could not find this operation, could you kindly direct me how I can do it, here is the problem I am trying to solve: I am considering "record" dataset in SuperGlue and I need...
[ -0.07538159191608429, -0.7735244631767273, 0.026151690632104874, -0.0693189799785614, 0.02289445325732231, -0.04826737195253372, 0.3034124970436096, 0.040893398225307465, 0.3975752890110016, 0.23980219662189484, -0.3650856614112854, -0.06458932906389236, 0.02643612027168274, 0.411909461021...
https://github.com/huggingface/datasets/issues/2767
Dear @mariosasko First, thank you very much for coming back to me on this, I appreciate it a lot. I tried this solution, I am getting errors, do you mind giving me one test example to be able to run your code, to understand better the format of the inputs to your function? in this function https://github.com/googl...
equal operation to perform unbatch for huggingface datasets
Hi I need to use "unbatch" operation in tensorflow on a huggingface dataset, I could not find this operation, could you kindly direct me how I can do it, here is the problem I am trying to solve: I am considering "record" dataset in SuperGlue and I need to replicate each entery of the dataset for each answer, to ma...
90
equal operation to perform unbatch for huggingface datasets Hi I need to use "unbatch" operation in tensorflow on a huggingface dataset, I could not find this operation, could you kindly direct me how I can do it, here is the problem I am trying to solve: I am considering "record" dataset in SuperGlue and I need...
[ -0.010877527296543121, -0.774516761302948, 0.05003787577152252, -0.043820399791002274, 0.058595865964889526, -0.1315135806798935, 0.24490436911582947, 0.03557942435145378, 0.40340375900268555, 0.20719844102859497, -0.3647295832633972, -0.05768457055091858, 0.025830622762441635, 0.452859520...
https://github.com/huggingface/datasets/issues/2767
Hi @mariosasko I think finally I got this, I think you mean to do things in one step, here is the full example for completeness: ``` def unbatch(batch): new_batch = collections.defaultdict(list) keys = batch.keys() for values in zip(*batch.values()): ex = {k: v for k, v in zip(keys, values...
equal operation to perform unbatch for huggingface datasets
Hi I need to use "unbatch" operation in tensorflow on a huggingface dataset, I could not find this operation, could you kindly direct me how I can do it, here is the problem I am trying to solve: I am considering "record" dataset in SuperGlue and I need to replicate each entery of the dataset for each answer, to ma...
131
equal operation to perform unbatch for huggingface datasets Hi I need to use "unbatch" operation in tensorflow on a huggingface dataset, I could not find this operation, could you kindly direct me how I can do it, here is the problem I am trying to solve: I am considering "record" dataset in SuperGlue and I need...
[ -0.024465002119541168, -0.8023658394813538, 0.03632532060146332, -0.055612873286008835, 0.021609652787446976, -0.07333103567361832, 0.25360122323036194, 0.04944920912384987, 0.38152337074279785, 0.24148818850517273, -0.3534252643585205, -0.0654723048210144, 0.039371103048324585, 0.44458949...
https://github.com/huggingface/datasets/issues/2765
Hi, The `use_fast_tokenizer` argument has been recently added to the bert-score lib. I've opened a PR with the fix. In the meantime, you can try to downgrade the version of bert-score with the following command to make the code work: ``` pip uninstall bert-score pip install "bert-score<0.3.10" ```
BERTScore Error
## Describe the bug A clear and concise description of what the bug is. ## Steps to reproduce the bug ```python predictions = ["hello there", "general kenobi"] references = ["hello there", "general kenobi"] bert = load_metric('bertscore') bert.compute(predictions=predictions, references=references,lang='en') ...
48
BERTScore Error ## Describe the bug A clear and concise description of what the bug is. ## Steps to reproduce the bug ```python predictions = ["hello there", "general kenobi"] references = ["hello there", "general kenobi"] bert = load_metric('bertscore') bert.compute(predictions=predictions, references=refer...
[ -0.1357683688402176, 0.16830238699913025, 0.035421356558799744, 0.20929791033267975, 0.34733155369758606, 0.011661946773529053, 0.22899208962917328, 0.3530413806438446, -0.11994293332099915, 0.3440084755420685, 0.07694362103939056, 0.4752255380153656, -0.11414754390716553, -0.1162746921181...
https://github.com/huggingface/datasets/issues/2763
Hi ! Certain users might need these data (for training or simply to explore/index the dataset). Feel free to implement a map function that gets rid of these paragraphs and process the wikipedia dataset with it before training
English wikipedia datasets is not clean
## Describe the bug Wikipedia english dumps contain many wikipedia paragraphs like "References", "Category:" and "See Also" that should not be used for training. ## Steps to reproduce the bug ```python # Sample code to reproduce the bug from datasets import load_dataset w = load_dataset('wikipedia', '20200501.e...
38
English wikipedia datasets is not clean ## Describe the bug Wikipedia english dumps contain many wikipedia paragraphs like "References", "Category:" and "See Also" that should not be used for training. ## Steps to reproduce the bug ```python # Sample code to reproduce the bug from datasets import load_dataset ...
[ -0.02174951136112213, 0.2180519998073578, -0.10638967156410217, 0.48007500171661377, 0.25481584668159485, 0.1268991082906723, 0.3188251256942749, 0.314777672290802, 0.21053025126457214, 0.08051814138889313, -0.1847251057624817, 0.23965862393379211, 0.3409661054611206, -0.22265546023845673,...
https://github.com/huggingface/datasets/issues/2762
[labels_only.tar.gz](https://docs.google.com/uc?authuser=0&id=0B0NKIRwUL9KYcXo3bV9LU0t3SGs&export=download) on the RVL-CDIP website does not work for me. > 404. That’s an error. The requested URL was not found on this server. I contacted the author ( Adam Harley) regarding this, and he told me that the link works...
Add RVL-CDIP dataset
## Adding a Dataset - **Name:** RVL-CDIP - **Description:** The RVL-CDIP (Ryerson Vision Lab Complex Document Information Processing) dataset consists of 400,000 grayscale images in 16 classes, with 25,000 images per class. There are 320,000 training images, 40,000 validation images, and 40,000 test images. The image...
76
Add RVL-CDIP dataset ## Adding a Dataset - **Name:** RVL-CDIP - **Description:** The RVL-CDIP (Ryerson Vision Lab Complex Document Information Processing) dataset consists of 400,000 grayscale images in 16 classes, with 25,000 images per class. There are 320,000 training images, 40,000 validation images, and 40,000...
[ 0.07685011625289917, -0.4151335060596466, 0.07020996510982513, 0.30483198165893555, 0.01029764674603939, 0.14936242997646332, 0.143326997756958, 0.010715033859014511, -0.001177966594696045, -0.02033635973930359, -0.4259156882762909, -0.03882281482219696, -0.08527074754238129, -0.1490816771...
https://github.com/huggingface/datasets/issues/2761
Hi @danshirron, `c4` was updated few days back by @lhoestq. The new configs are `['en', 'en.noclean', 'en.realnewslike', 'en.webtextlike'].` You'll need to remove any older version of this dataset you previously downloaded and then run `load_dataset` again with new configuration.
Error loading C4 realnewslike dataset
## Describe the bug Error loading C4 realnewslike dataset. Validation part mismatch ## Steps to reproduce the bug ```python raw_datasets = load_dataset('c4', 'realnewslike', cache_dir=model_args.cache_dir) ## Expected results success on data loading ## Actual results Downloading: 100%|███████████████████████...
39
Error loading C4 realnewslike dataset ## Describe the bug Error loading C4 realnewslike dataset. Validation part mismatch ## Steps to reproduce the bug ```python raw_datasets = load_dataset('c4', 'realnewslike', cache_dir=model_args.cache_dir) ## Expected results success on data loading ## Actual results D...
[ -0.23152635991573334, 0.024640336632728577, -0.02236616611480713, 0.45745643973350525, 0.17442448437213898, 0.2295815348625183, -0.007371019572019577, 0.5081830620765686, -0.03165280446410179, 0.019124966114759445, -0.1842968761920929, -0.0640127956867218, -0.00916377268731594, 0.333808481...
https://github.com/huggingface/datasets/issues/2761
@bhavitvyamalik @lhoestq , just tried the above and got: >>> a=datasets.load_dataset('c4','en.realnewslike') Downloading: 3.29kB [00:00, 1.66MB/s] ...
Error loading C4 realnewslike dataset
## Describe the bug Error loading C4 realnewslike dataset. Validation part mismatch ## Steps to reproduce the bug ```python raw_datasets = load_dataset('c4', 'realnewslike', cache_dir=model_args.cache_dir) ## Expected results success on data loading ## Actual results Downloading: 100%|███████████████████████...
91
Error loading C4 realnewslike dataset ## Describe the bug Error loading C4 realnewslike dataset. Validation part mismatch ## Steps to reproduce the bug ```python raw_datasets = load_dataset('c4', 'realnewslike', cache_dir=model_args.cache_dir) ## Expected results success on data loading ## Actual results D...
[ -0.23152635991573334, 0.024640336632728577, -0.02236616611480713, 0.45745643973350525, 0.17442448437213898, 0.2295815348625183, -0.007371019572019577, 0.5081830620765686, -0.03165280446410179, 0.019124966114759445, -0.1842968761920929, -0.0640127956867218, -0.00916377268731594, 0.333808481...
https://github.com/huggingface/datasets/issues/2761
I think I had an older version of datasets installed and that's why I commented the old configurations in my last comment, my bad! I re-checked and updated it to latest version (`datasets==1.11.0`) and it's showing `available configs: ['en', 'realnewslike', 'en.noblocklist', 'en.noclean']`. I tried `raw_datasets = ...
Error loading C4 realnewslike dataset
## Describe the bug Error loading C4 realnewslike dataset. Validation part mismatch ## Steps to reproduce the bug ```python raw_datasets = load_dataset('c4', 'realnewslike', cache_dir=model_args.cache_dir) ## Expected results success on data loading ## Actual results Downloading: 100%|███████████████████████...
79
Error loading C4 realnewslike dataset ## Describe the bug Error loading C4 realnewslike dataset. Validation part mismatch ## Steps to reproduce the bug ```python raw_datasets = load_dataset('c4', 'realnewslike', cache_dir=model_args.cache_dir) ## Expected results success on data loading ## Actual results D...
[ -0.23152635991573334, 0.024640336632728577, -0.02236616611480713, 0.45745643973350525, 0.17442448437213898, 0.2295815348625183, -0.007371019572019577, 0.5081830620765686, -0.03165280446410179, 0.019124966114759445, -0.1842968761920929, -0.0640127956867218, -0.00916377268731594, 0.333808481...
https://github.com/huggingface/datasets/issues/2761
It works. I probably had some issue with the cache. after cleaning it im able to download the dataset. Thanks
Error loading C4 realnewslike dataset
## Describe the bug Error loading C4 realnewslike dataset. Validation part mismatch ## Steps to reproduce the bug ```python raw_datasets = load_dataset('c4', 'realnewslike', cache_dir=model_args.cache_dir) ## Expected results success on data loading ## Actual results Downloading: 100%|███████████████████████...
20
Error loading C4 realnewslike dataset ## Describe the bug Error loading C4 realnewslike dataset. Validation part mismatch ## Steps to reproduce the bug ```python raw_datasets = load_dataset('c4', 'realnewslike', cache_dir=model_args.cache_dir) ## Expected results success on data loading ## Actual results D...
[ -0.23152635991573334, 0.024640336632728577, -0.02236616611480713, 0.45745643973350525, 0.17442448437213898, 0.2295815348625183, -0.007371019572019577, 0.5081830620765686, -0.03165280446410179, 0.019124966114759445, -0.1842968761920929, -0.0640127956867218, -0.00916377268731594, 0.333808481...
https://github.com/huggingface/datasets/issues/2757
Hi @JulesBelveze, thanks for your question. Note that 🤗 `datasets` internally store their data in Apache Arrow format. However, when accessing dataset columns, by default they are returned as native Python objects (lists in this case). If you would like their columns to be returned in a more suitable format ...
Unexpected type after `concatenate_datasets`
## Describe the bug I am trying to concatenate two `Dataset` using `concatenate_datasets` but it turns out that after concatenation the features are casted from `torch.Tensor` to `list`. It then leads to a weird tensors when trying to convert it to a `DataLoader`. However, if I use each `Dataset` separately everythi...
80
Unexpected type after `concatenate_datasets` ## Describe the bug I am trying to concatenate two `Dataset` using `concatenate_datasets` but it turns out that after concatenation the features are casted from `torch.Tensor` to `list`. It then leads to a weird tensors when trying to convert it to a `DataLoader`. Howev...
[ 0.06590242683887482, -0.2509693503379822, 0.029678765684366226, 0.5075556635856628, 0.40537941455841064, 0.17190712690353394, 0.48177796602249146, 0.13464605808258057, -0.3654303252696991, -0.13152363896369934, -0.15433120727539062, 0.3956092894077301, -0.03830248489975929, -0.019348859786...
https://github.com/huggingface/datasets/issues/2750
Hi @Aktsvigun! We are planning to address this issue before our next release, in a couple of weeks at most. 😅 In the meantime, if you would like to contribute, feel free to open a Pull Request. You are welcome. Here you can find more information: [How to contribute to Datasets?](CONTRIBUTING.md)
Second concatenation of datasets produces errors
Hi, I am need to concatenate my dataset with others several times, and after I concatenate it for the second time, the features of features (e.g. tags names) are collapsed. This hinders, for instance, the usage of tokenize function with `data.map`. ``` from datasets import load_dataset, concatenate_datasets d...
51
Second concatenation of datasets produces errors Hi, I am need to concatenate my dataset with others several times, and after I concatenate it for the second time, the features of features (e.g. tags names) are collapsed. This hinders, for instance, the usage of tokenize function with `data.map`. ``` from data...
[ -0.15046562254428864, -0.059169888496398926, -0.05770938843488693, 0.2559514045715332, 0.19305367767810822, 0.09017416834831238, 0.08213356137275696, 0.2622761130332947, -0.26091957092285156, -0.055139631032943726, 0.035831302404403687, 0.12652546167373657, 0.21746189892292023, 0.090199135...
https://github.com/huggingface/datasets/issues/2749
Hi @severo, thanks for reporting. As discussed, datasets requiring manual download should be: - programmatically identifiable - properly handled with more clear error message when trying to load them with streaming In relation with programmatically identifiability, note that for datasets requiring manual downlo...
Raise a proper exception when trying to stream a dataset that requires to manually download files
## Describe the bug At least for 'reclor', 'telugu_books', 'turkish_movie_sentiment', 'ubuntu_dialogs_corpus', 'wikihow', trying to `load_dataset` in streaming mode raises a `TypeError` without any detail about why it fails. ## Steps to reproduce the bug ```python from datasets import load_dataset dataset = ...
64
Raise a proper exception when trying to stream a dataset that requires to manually download files ## Describe the bug At least for 'reclor', 'telugu_books', 'turkish_movie_sentiment', 'ubuntu_dialogs_corpus', 'wikihow', trying to `load_dataset` in streaming mode raises a `TypeError` without any detail about why it...
[ -0.22404935956001282, 0.07350531220436096, 0.06885544210672379, 0.14548800885677338, 0.34670767188072205, 0.09173507988452911, 0.17951415479183197, 0.03852187842130661, 0.10486289858818054, 0.07325537502765656, 0.07145335525274277, 0.2278851717710495, -0.30610716342926025, 0.16898104548454...
https://github.com/huggingface/datasets/issues/2746
Hi @Mehrad0711, I'm afraid there is no "canonical" Hugging Face dataset named "few-nerd". There are 2 kinds of datasets hosted at the Hugging Face Hub: - canonical datasets (their identifier contains no slash "/"): we, the Hugging Face team, supervise their implementation and we make sure they work correctly by ...
Cannot load `few-nerd` dataset
## Describe the bug Cannot load `few-nerd` dataset. ## Steps to reproduce the bug ```python from datasets import load_dataset load_dataset('few-nerd', 'supervised') ``` ## Actual results Executing above code will give the following error: ``` Using the latest cached version of the module from /Users...
242
Cannot load `few-nerd` dataset ## Describe the bug Cannot load `few-nerd` dataset. ## Steps to reproduce the bug ```python from datasets import load_dataset load_dataset('few-nerd', 'supervised') ``` ## Actual results Executing above code will give the following error: ``` Using the latest cached ...
[ -0.30422693490982056, -0.09856321662664413, 0.007841579616069794, 0.513135552406311, 0.32854562997817993, -0.057642076164484024, 0.5201520323753357, 0.2553007900714874, 0.1991574615240097, 0.16810911893844604, -0.46047765016555786, -0.09104899317026138, -0.28777578473091125, -0.29707458615...
https://github.com/huggingface/datasets/issues/2746
Hello, @Mehrad0711; Hi, @albertvillanova ! I am the maintainer of the `dfki/few-nerd" dataset script, sorry for the very late reply and hope this message finds you well! We should use ``` dataset = load_dataset("dfki-nlp/few-nerd", name="supervised") ``` instead of not specifying the "name" argument, where name ...
Cannot load `few-nerd` dataset
## Describe the bug Cannot load `few-nerd` dataset. ## Steps to reproduce the bug ```python from datasets import load_dataset load_dataset('few-nerd', 'supervised') ``` ## Actual results Executing above code will give the following error: ``` Using the latest cached version of the module from /Users...
305
Cannot load `few-nerd` dataset ## Describe the bug Cannot load `few-nerd` dataset. ## Steps to reproduce the bug ```python from datasets import load_dataset load_dataset('few-nerd', 'supervised') ``` ## Actual results Executing above code will give the following error: ``` Using the latest cached ...
[ -0.30422693490982056, -0.09856321662664413, 0.007841579616069794, 0.513135552406311, 0.32854562997817993, -0.057642076164484024, 0.5201520323753357, 0.2553007900714874, 0.1991574615240097, 0.16810911893844604, -0.46047765016555786, -0.09104899317026138, -0.28777578473091125, -0.29707458615...
https://github.com/huggingface/datasets/issues/2746
Hi @chen-yuxuan, thanks for your answer. Just a few comments: - Please, note that as we use `datasets.load_dataset` implementation, we can pass the configuration name as the second positional argument (no need to pass explicitly `name=`) and it downloads the 3 splits: ```python In [4]: ds = load_dataset("dfki...
Cannot load `few-nerd` dataset
## Describe the bug Cannot load `few-nerd` dataset. ## Steps to reproduce the bug ```python from datasets import load_dataset load_dataset('few-nerd', 'supervised') ``` ## Actual results Executing above code will give the following error: ``` Using the latest cached version of the module from /Users...
208
Cannot load `few-nerd` dataset ## Describe the bug Cannot load `few-nerd` dataset. ## Steps to reproduce the bug ```python from datasets import load_dataset load_dataset('few-nerd', 'supervised') ``` ## Actual results Executing above code will give the following error: ``` Using the latest cached ...
[ -0.30422693490982056, -0.09856321662664413, 0.007841579616069794, 0.513135552406311, 0.32854562997817993, -0.057642076164484024, 0.5201520323753357, 0.2553007900714874, 0.1991574615240097, 0.16810911893844604, -0.46047765016555786, -0.09104899317026138, -0.28777578473091125, -0.29707458615...
https://github.com/huggingface/datasets/issues/2746
Thank you @albertvillanova for your detailed feedback! > no need to pass explicitly `name=` Good catch! I thought `split` stands before `name` in the argument list... but now it is all clear to me, sounds cool! Thanks for the explanation. Anyways in our old code it still looks bit confusing if we only want one...
Cannot load `few-nerd` dataset
## Describe the bug Cannot load `few-nerd` dataset. ## Steps to reproduce the bug ```python from datasets import load_dataset load_dataset('few-nerd', 'supervised') ``` ## Actual results Executing above code will give the following error: ``` Using the latest cached version of the module from /Users...
207
Cannot load `few-nerd` dataset ## Describe the bug Cannot load `few-nerd` dataset. ## Steps to reproduce the bug ```python from datasets import load_dataset load_dataset('few-nerd', 'supervised') ``` ## Actual results Executing above code will give the following error: ``` Using the latest cached ...
[ -0.30422693490982056, -0.09856321662664413, 0.007841579616069794, 0.513135552406311, 0.32854562997817993, -0.057642076164484024, 0.5201520323753357, 0.2553007900714874, 0.1991574615240097, 0.16810911893844604, -0.46047765016555786, -0.09104899317026138, -0.28777578473091125, -0.29707458615...
https://github.com/huggingface/datasets/issues/2746
Hi @chen-yuxuan, I have tested on Windows and now it works perfectly, after the fixing of the encoding issue: ```python In [1]: from datasets import load_dataset In [2]: ds = load_dataset("dfki-nlp/few-nerd", "supervised") Downloading: 100%|██████████████████████████████████████████████████████████████████████...
Cannot load `few-nerd` dataset
## Describe the bug Cannot load `few-nerd` dataset. ## Steps to reproduce the bug ```python from datasets import load_dataset load_dataset('few-nerd', 'supervised') ``` ## Actual results Executing above code will give the following error: ``` Using the latest cached version of the module from /Users...
112
Cannot load `few-nerd` dataset ## Describe the bug Cannot load `few-nerd` dataset. ## Steps to reproduce the bug ```python from datasets import load_dataset load_dataset('few-nerd', 'supervised') ``` ## Actual results Executing above code will give the following error: ``` Using the latest cached ...
[ -0.30422693490982056, -0.09856321662664413, 0.007841579616069794, 0.513135552406311, 0.32854562997817993, -0.057642076164484024, 0.5201520323753357, 0.2553007900714874, 0.1991574615240097, 0.16810911893844604, -0.46047765016555786, -0.09104899317026138, -0.28777578473091125, -0.29707458615...
https://github.com/huggingface/datasets/issues/2743
As discussed, the metadata JSON files must be regenerated because the keys were nor properly generated and they will not be read by the builder: > Indeed there is some problem/bug while reading the datasets_info.json file: there is a mismatch with the config.name keys in the file... In the meanwhile, in order to be a...
Dataset JSON is incorrect
## Describe the bug The JSON file generated for https://github.com/huggingface/datasets/blob/573f3d35081cee239d1b962878206e9abe6cde91/datasets/journalists_questions/journalists_questions.py is https://github.com/huggingface/datasets/blob/573f3d35081cee239d1b962878206e9abe6cde91/datasets/journalists_questions/dataset...
109
Dataset JSON is incorrect ## Describe the bug The JSON file generated for https://github.com/huggingface/datasets/blob/573f3d35081cee239d1b962878206e9abe6cde91/datasets/journalists_questions/journalists_questions.py is https://github.com/huggingface/datasets/blob/573f3d35081cee239d1b962878206e9abe6cde91/datasets/j...
[ 0.14578789472579956, 0.04014188051223755, -0.0529891774058342, 0.47682276368141174, 0.10634196549654007, 0.22297263145446777, 0.1550247073173523, 0.34000906348228455, -0.23909412324428558, 0.008226677775382996, 0.0357937291264534, 0.43213099241256714, 0.0995689183473587, 0.1382746100425720...
https://github.com/huggingface/datasets/issues/2742
maybe we should rather attempt to download a `Range` from the server and see if it works?
Improve detection of streamable file types
**Is your feature request related to a problem? Please describe.** ```python from datasets import load_dataset_builder from datasets.utils.streaming_download_manager import StreamingDownloadManager builder = load_dataset_builder("journalists_questions", name="plain_text") builder._split_generators(StreamingDownl...
17
Improve detection of streamable file types **Is your feature request related to a problem? Please describe.** ```python from datasets import load_dataset_builder from datasets.utils.streaming_download_manager import StreamingDownloadManager builder = load_dataset_builder("journalists_questions", name="plain_tex...
[ -0.46831950545310974, -0.0467548668384552, -0.0979573130607605, 0.13755273818969727, 0.16639600694179535, -0.223975270986557, 0.19266149401664734, 0.4674961268901825, 0.06285333633422852, 0.23624703288078308, -0.0067692771553993225, -0.04707878828048706, -0.4149929881095886, 0.255493104457...
https://github.com/huggingface/datasets/issues/2737
Hi @devrimcavusoglu, I tried your code with latest version of `datasets`and `sacrebleu==1.5.1` and it's running fine after changing one small thing: ``` sacrebleu = datasets.load_metric('sacrebleu') predictions = ["It is a guide to action which ensures that the military always obeys the commands of the party"] re...
SacreBLEU update
With the latest release of [sacrebleu](https://github.com/mjpost/sacrebleu), `datasets.metrics.sacrebleu` is broken, and getting error. AttributeError: module 'sacrebleu' has no attribute 'DEFAULT_TOKENIZER' this happens since in new version of sacrebleu there is no `DEFAULT_TOKENIZER`, but sacrebleu.py tries...
101
SacreBLEU update With the latest release of [sacrebleu](https://github.com/mjpost/sacrebleu), `datasets.metrics.sacrebleu` is broken, and getting error. AttributeError: module 'sacrebleu' has no attribute 'DEFAULT_TOKENIZER' this happens since in new version of sacrebleu there is no `DEFAULT_TOKENIZER`, but...
[ -0.3851114809513092, 0.18021506071090698, -0.001256849616765976, -0.06791011989116669, 0.5497627258300781, -0.218984454870224, 0.0627022534608841, 0.3480110168457031, -0.21019470691680908, 0.1243230327963829, 0.008656647056341171, 0.33388397097587585, -0.044021956622600555, -0.024640053510...
https://github.com/huggingface/datasets/issues/2737
@bhavitvyamalik hmm. I forgot double brackets, but still didn't work when used it with double brackets. It may be an isseu with platform (using win-10 currently), or versions. What is your platform and your version info for datasets, python, and sacrebleu ?
SacreBLEU update
With the latest release of [sacrebleu](https://github.com/mjpost/sacrebleu), `datasets.metrics.sacrebleu` is broken, and getting error. AttributeError: module 'sacrebleu' has no attribute 'DEFAULT_TOKENIZER' this happens since in new version of sacrebleu there is no `DEFAULT_TOKENIZER`, but sacrebleu.py tries...
42
SacreBLEU update With the latest release of [sacrebleu](https://github.com/mjpost/sacrebleu), `datasets.metrics.sacrebleu` is broken, and getting error. AttributeError: module 'sacrebleu' has no attribute 'DEFAULT_TOKENIZER' this happens since in new version of sacrebleu there is no `DEFAULT_TOKENIZER`, but...
[ -0.3610984683036804, 0.1312095820903778, -0.005660098046064377, -0.10268548130989075, 0.47614091634750366, -0.15574416518211365, 0.13352233171463013, 0.3350856602191925, -0.061467260122299194, 0.11806988716125488, 0.06350422650575638, 0.41466814279556274, -0.0860365778207779, -0.1110803931...
https://github.com/huggingface/datasets/issues/2737
You can check that here, I've reproduced your code in [Google colab](https://colab.research.google.com/drive/1X90fHRgMLKczOVgVk7NDEw_ciZFDjaCM?usp=sharing). Looks like there was some issue in `sacrebleu` which was fixed later from what I've found [here](https://github.com/pytorch/fairseq/issues/2049#issuecomment-622367...
SacreBLEU update
With the latest release of [sacrebleu](https://github.com/mjpost/sacrebleu), `datasets.metrics.sacrebleu` is broken, and getting error. AttributeError: module 'sacrebleu' has no attribute 'DEFAULT_TOKENIZER' this happens since in new version of sacrebleu there is no `DEFAULT_TOKENIZER`, but sacrebleu.py tries...
36
SacreBLEU update With the latest release of [sacrebleu](https://github.com/mjpost/sacrebleu), `datasets.metrics.sacrebleu` is broken, and getting error. AttributeError: module 'sacrebleu' has no attribute 'DEFAULT_TOKENIZER' this happens since in new version of sacrebleu there is no `DEFAULT_TOKENIZER`, but...
[ -0.357820600271225, 0.19118258357048035, -0.013056434690952301, -0.12196694314479828, 0.4591224193572998, -0.2587321400642395, 0.10235556960105896, 0.3462675213813782, -0.10472678393125534, 0.1702914535999298, 0.02926856279373169, 0.3873143494129181, -0.028606994077563286, -0.1296031475067...
https://github.com/huggingface/datasets/issues/2737
It seems that next release of `sacrebleu` (v2.0.0) will break our `datasets` implementation to compute it. See my Google Colab: https://colab.research.google.com/drive/1SKmvvjQi6k_3OHsX5NPkZdiaJIfXyv9X?usp=sharing I'm reopening this Issue and making a Pull Request to fix it.
SacreBLEU update
With the latest release of [sacrebleu](https://github.com/mjpost/sacrebleu), `datasets.metrics.sacrebleu` is broken, and getting error. AttributeError: module 'sacrebleu' has no attribute 'DEFAULT_TOKENIZER' this happens since in new version of sacrebleu there is no `DEFAULT_TOKENIZER`, but sacrebleu.py tries...
33
SacreBLEU update With the latest release of [sacrebleu](https://github.com/mjpost/sacrebleu), `datasets.metrics.sacrebleu` is broken, and getting error. AttributeError: module 'sacrebleu' has no attribute 'DEFAULT_TOKENIZER' this happens since in new version of sacrebleu there is no `DEFAULT_TOKENIZER`, but...
[ -0.37390297651290894, 0.23291543126106262, 0.01667865365743637, -0.15293699502944946, 0.3844795525074005, -0.22800183296203613, 0.14111743867397308, 0.3971860110759735, -0.1434221714735031, 0.11723581701517105, 0.0634806677699089, 0.36753177642822266, -0.07474146783351898, -0.0431304425001...
https://github.com/huggingface/datasets/issues/2737
> It seems that next release of `sacrebleu` (v2.0.0) will break our `datasets` implementation to compute it. See my Google Colab: https://colab.research.google.com/drive/1SKmvvjQi6k_3OHsX5NPkZdiaJIfXyv9X?usp=sharing > > I'm reopening this Issue and making a Pull Request to fix it. How did you solve him
SacreBLEU update
With the latest release of [sacrebleu](https://github.com/mjpost/sacrebleu), `datasets.metrics.sacrebleu` is broken, and getting error. AttributeError: module 'sacrebleu' has no attribute 'DEFAULT_TOKENIZER' this happens since in new version of sacrebleu there is no `DEFAULT_TOKENIZER`, but sacrebleu.py tries...
41
SacreBLEU update With the latest release of [sacrebleu](https://github.com/mjpost/sacrebleu), `datasets.metrics.sacrebleu` is broken, and getting error. AttributeError: module 'sacrebleu' has no attribute 'DEFAULT_TOKENIZER' this happens since in new version of sacrebleu there is no `DEFAULT_TOKENIZER`, but...
[ -0.3628455400466919, 0.21759921312332153, 0.00408678874373436, -0.1242440715432167, 0.4111883342266083, -0.22062963247299194, 0.14834262430667877, 0.39988386631011963, -0.16542986035346985, 0.13522130250930786, 0.05526520311832428, 0.3734946548938751, -0.07741469144821167, -0.0580646842718...
https://github.com/huggingface/datasets/issues/2736
Motivation: this can be a useful dataset for researchers working on climate change adaptation, urban studies, geography, etc. I'll see if I can figure out how to add it!
Add Microsoft Building Footprints dataset
## Adding a Dataset - **Name:** Microsoft Building Footprints - **Description:** With the goal to increase the coverage of building footprint data available as open data for OpenStreetMap and humanitarian efforts, we have released millions of building footprints as open data available to download free of charge. - *...
29
Add Microsoft Building Footprints dataset ## Adding a Dataset - **Name:** Microsoft Building Footprints - **Description:** With the goal to increase the coverage of building footprint data available as open data for OpenStreetMap and humanitarian efforts, we have released millions of building footprints as open dat...
[ -0.6230251789093018, 0.06842021644115448, -0.2241070717573166, -0.0011123847216367722, -0.06539219617843628, -0.0625750795006752, 0.10251733660697937, 0.22159560024738312, 0.11898258328437805, 0.3236287832260132, 0.22696058452129364, 0.21790221333503723, -0.23825126886367798, 0.40095984935...
https://github.com/huggingface/datasets/issues/2730
Does anybody know if there is a bundled link, which would allow direct data download instead of manual? Something similar to: `https://voice-prod-bundler-ee1969a6ce8178826482b88e843c335139bd3fb4.s3.amazonaws.com/cv-corpus-6.1-2020-12-11/ab.tar.gz` ? cc @patil-suraj
Update CommonVoice with new release
## Adding a Dataset - **Name:** CommonVoice mid-2021 release - **Description:** more data in CommonVoice: Languages that have increased the most by percentage are Thai (almost 20x growth, from 12 hours to 250 hours), Luganda (almost 9x growth, from 8 to 80), Esperanto (7x growth, from 100 to 840), and Tamil (almost 8...
25
Update CommonVoice with new release ## Adding a Dataset - **Name:** CommonVoice mid-2021 release - **Description:** more data in CommonVoice: Languages that have increased the most by percentage are Thai (almost 20x growth, from 12 hours to 250 hours), Luganda (almost 9x growth, from 8 to 80), Esperanto (7x growth,...
[ -0.38971179723739624, 0.06890012323856354, -0.043625421822071075, -0.14077429473400116, -0.007545545697212219, 0.2361043393611908, -0.08662787079811096, 0.40999138355255127, -0.03325226157903671, 0.05526551604270935, -0.22682127356529236, 0.12674421072006226, -0.13749603927135468, 0.375756...
https://github.com/huggingface/datasets/issues/2728
Launching simultaneous job relying on the same datasets try some writing issue. I guess it is unexpected since I only need to load some already downloaded file.
Concurrent use of same dataset (already downloaded)
## Describe the bug When launching several jobs at the same time loading the same dataset trigger some errors see (last comments). ## Steps to reproduce the bug export HF_DATASETS_CACHE=/gpfswork/rech/toto/datasets for MODEL in "bert-base-uncased" "roberta-base" "distilbert-base-cased"; do # "bert-base-uncased" ...
27
Concurrent use of same dataset (already downloaded) ## Describe the bug When launching several jobs at the same time loading the same dataset trigger some errors see (last comments). ## Steps to reproduce the bug export HF_DATASETS_CACHE=/gpfswork/rech/toto/datasets for MODEL in "bert-base-uncased" "roberta-bas...
[ -0.5779123306274414, -0.0809999406337738, -0.04536426067352295, 0.45015662908554077, 0.24596257507801056, 0.013975217938423157, 0.5565329194068909, 0.27238157391548157, 0.18437115848064423, 0.19074313342571259, -0.031177477911114693, 0.1464354693889618, 0.021242544054985046, 0.144187718629...
https://github.com/huggingface/datasets/issues/2728
If i have two jobs that use the same dataset. I got : File "compute_measures.py", line 181, in <module> train_loader, val_loader, test_loader = get_dataloader(args) File "/gpfsdswork/projects/rech/toto/intRAOcular/dataset_utils.py", line 69, in get_dataloader dataset_train = load_dataset('paws', "la...
Concurrent use of same dataset (already downloaded)
## Describe the bug When launching several jobs at the same time loading the same dataset trigger some errors see (last comments). ## Steps to reproduce the bug export HF_DATASETS_CACHE=/gpfswork/rech/toto/datasets for MODEL in "bert-base-uncased" "roberta-base" "distilbert-base-cased"; do # "bert-base-uncased" ...
78
Concurrent use of same dataset (already downloaded) ## Describe the bug When launching several jobs at the same time loading the same dataset trigger some errors see (last comments). ## Steps to reproduce the bug export HF_DATASETS_CACHE=/gpfswork/rech/toto/datasets for MODEL in "bert-base-uncased" "roberta-bas...
[ -0.5779123306274414, -0.0809999406337738, -0.04536426067352295, 0.45015662908554077, 0.24596257507801056, 0.013975217938423157, 0.5565329194068909, 0.27238157391548157, 0.18437115848064423, 0.19074313342571259, -0.031177477911114693, 0.1464354693889618, 0.021242544054985046, 0.144187718629...
https://github.com/huggingface/datasets/issues/2728
You can probably have a solution much faster than me (first time I use the library). But I suspect some write function are used when loading the dataset from cache.
Concurrent use of same dataset (already downloaded)
## Describe the bug When launching several jobs at the same time loading the same dataset trigger some errors see (last comments). ## Steps to reproduce the bug export HF_DATASETS_CACHE=/gpfswork/rech/toto/datasets for MODEL in "bert-base-uncased" "roberta-base" "distilbert-base-cased"; do # "bert-base-uncased" ...
30
Concurrent use of same dataset (already downloaded) ## Describe the bug When launching several jobs at the same time loading the same dataset trigger some errors see (last comments). ## Steps to reproduce the bug export HF_DATASETS_CACHE=/gpfswork/rech/toto/datasets for MODEL in "bert-base-uncased" "roberta-bas...
[ -0.5779123306274414, -0.0809999406337738, -0.04536426067352295, 0.45015662908554077, 0.24596257507801056, 0.013975217938423157, 0.5565329194068909, 0.27238157391548157, 0.18437115848064423, 0.19074313342571259, -0.031177477911114693, 0.1464354693889618, 0.021242544054985046, 0.144187718629...
https://github.com/huggingface/datasets/issues/2728
I have the same issue: ``` Traceback (most recent call last): File "/dccstor/tslm/envs/anaconda3/envs/trf-a100/lib/python3.9/site-packages/datasets/builder.py", line 652, in _download_and_prepare self._prepare_split(split_generator, **prepare_split_kwargs) File "/dccstor/tslm/envs/anaconda3/envs/trf-a100/l...
Concurrent use of same dataset (already downloaded)
## Describe the bug When launching several jobs at the same time loading the same dataset trigger some errors see (last comments). ## Steps to reproduce the bug export HF_DATASETS_CACHE=/gpfswork/rech/toto/datasets for MODEL in "bert-base-uncased" "roberta-base" "distilbert-base-cased"; do # "bert-base-uncased" ...
172
Concurrent use of same dataset (already downloaded) ## Describe the bug When launching several jobs at the same time loading the same dataset trigger some errors see (last comments). ## Steps to reproduce the bug export HF_DATASETS_CACHE=/gpfswork/rech/toto/datasets for MODEL in "bert-base-uncased" "roberta-bas...
[ -0.5779123306274414, -0.0809999406337738, -0.04536426067352295, 0.45015662908554077, 0.24596257507801056, 0.013975217938423157, 0.5565329194068909, 0.27238157391548157, 0.18437115848064423, 0.19074313342571259, -0.031177477911114693, 0.1464354693889618, 0.021242544054985046, 0.144187718629...
https://github.com/huggingface/datasets/issues/2727
I modified the dataset loading script to catch the `IndexError` and inspect the records at which the error is happening, and I found this: For the `Techreen` config, the error happens in 36 records when trying to find the `Text` or `Dateline` tags. All these 36 records look something like: ``` <Techreen> <ID>TRN_A...
Error in loading the Arabic Billion Words Corpus
## Describe the bug I get `IndexError: list index out of range` when trying to load the `Techreen` and `Almustaqbal` configs of the dataset. ## Steps to reproduce the bug ```python load_dataset("arabic_billion_words", "Techreen") load_dataset("arabic_billion_words", "Almustaqbal") ``` ## Expected results Th...
128
Error in loading the Arabic Billion Words Corpus ## Describe the bug I get `IndexError: list index out of range` when trying to load the `Techreen` and `Almustaqbal` configs of the dataset. ## Steps to reproduce the bug ```python load_dataset("arabic_billion_words", "Techreen") load_dataset("arabic_billion_wor...
[ -0.17554037272930145, 0.10674969851970673, -0.11840000748634338, 0.42312920093536377, -0.14884330332279205, 0.26181915402412415, 0.23233528435230255, 0.3904680609703064, 0.3619004786014557, -0.0010758265852928162, -0.23314641416072845, -0.01168939471244812, 0.05897386372089386, 0.011106096...
https://github.com/huggingface/datasets/issues/2727
Thanks @M-Salti for reporting this issue and for your investigation. Indeed, those `IndexError` should be catched and the corresponding record should be ignored. I'm opening a Pull Request to fix it.
Error in loading the Arabic Billion Words Corpus
## Describe the bug I get `IndexError: list index out of range` when trying to load the `Techreen` and `Almustaqbal` configs of the dataset. ## Steps to reproduce the bug ```python load_dataset("arabic_billion_words", "Techreen") load_dataset("arabic_billion_words", "Almustaqbal") ``` ## Expected results Th...
31
Error in loading the Arabic Billion Words Corpus ## Describe the bug I get `IndexError: list index out of range` when trying to load the `Techreen` and `Almustaqbal` configs of the dataset. ## Steps to reproduce the bug ```python load_dataset("arabic_billion_words", "Techreen") load_dataset("arabic_billion_wor...
[ -0.18777579069137573, -0.046450138092041016, -0.08867672085762024, 0.4570908844470978, -0.13610123097896576, 0.2721574008464813, 0.22418805956840515, 0.32288822531700134, 0.42783841490745544, -0.013256333768367767, -0.2501673400402069, -0.013816118240356445, 0.12148886173963547, 0.07008256...
https://github.com/huggingface/datasets/issues/2724
I guess the issue is when computing the ETags of the remote files. Indeed `use_auth_token` must be passed to `request_etags` here: https://github.com/huggingface/datasets/blob/35b5e4bc0cb2ed896e40f3eb2a4aa3de1cb1a6c5/src/datasets/builder.py#L160-L160
404 Error when loading remote data files from private repo
## Describe the bug When loading remote data files from a private repo, a 404 error is raised. ## Steps to reproduce the bug ```python url = hf_hub_url("lewtun/asr-preds-test", "preds.jsonl", repo_type="dataset") dset = load_dataset("json", data_files=url, use_auth_token=True) # HTTPError: 404 Client Error: Not...
22
404 Error when loading remote data files from private repo ## Describe the bug When loading remote data files from a private repo, a 404 error is raised. ## Steps to reproduce the bug ```python url = hf_hub_url("lewtun/asr-preds-test", "preds.jsonl", repo_type="dataset") dset = load_dataset("json", data_files=...
[ 0.087163046002388, 0.02584606409072876, 0.027406804263591766, 0.6045913100242615, -0.17846868932247162, -0.08985550701618195, 0.28822195529937744, 0.3268502354621887, 0.01849064975976944, 0.1675233542919159, -0.3694000244140625, -0.08398588746786118, 0.2241545170545578, -0.0408567413687706...
https://github.com/huggingface/datasets/issues/2724
Yes, I remember having properly implemented that: - https://github.com/huggingface/datasets/commit/7a9c62f7cef9ecc293f629f859d4375a6bd26dc8#diff-f933ce41f71c6c0d1ce658e27de62cbe0b45d777e9e68056dd012ac3eb9324f7R160 - https://github.com/huggingface/datasets/pull/2628/commits/6350a03b4b830339a745f7b1da46ece784ca734c ...
404 Error when loading remote data files from private repo
## Describe the bug When loading remote data files from a private repo, a 404 error is raised. ## Steps to reproduce the bug ```python url = hf_hub_url("lewtun/asr-preds-test", "preds.jsonl", repo_type="dataset") dset = load_dataset("json", data_files=url, use_auth_token=True) # HTTPError: 404 Client Error: Not...
18
404 Error when loading remote data files from private repo ## Describe the bug When loading remote data files from a private repo, a 404 error is raised. ## Steps to reproduce the bug ```python url = hf_hub_url("lewtun/asr-preds-test", "preds.jsonl", repo_type="dataset") dset = load_dataset("json", data_files=...
[ 0.15199065208435059, 0.021742671728134155, 0.04215233772993088, 0.4689883887767792, -0.14877767860889435, -0.08374558389186859, 0.18702180683612823, 0.33147796988487244, 0.025101087987422943, 0.13213086128234863, -0.41476133465766907, -0.03817533701658249, 0.11771701276302338, -0.084571160...
https://github.com/huggingface/datasets/issues/2722
This could be solved by going to the glue/ directory and delete sst2 directory, then load the dataset again will help you redownload the dataset.
Missing cache file
Strangely missing cache file after I restart my program again. `glue_dataset = datasets.load_dataset('glue', 'sst2')` `FileNotFoundError: [Errno 2] No such file or directory: /Users/chris/.cache/huggingface/datasets/glue/sst2/1.0.0/dacbe3125aa31d7f70367a07a8a9e72a5a0bfeb5fc42e75c9db75b96d6053ad/dataset_info.json...
25
Missing cache file Strangely missing cache file after I restart my program again. `glue_dataset = datasets.load_dataset('glue', 'sst2')` `FileNotFoundError: [Errno 2] No such file or directory: /Users/chris/.cache/huggingface/datasets/glue/sst2/1.0.0/dacbe3125aa31d7f70367a07a8a9e72a5a0bfeb5fc42e75c9db75b96d605...
[ -0.14894956350326538, -0.284111350774765, -0.09039503335952759, 0.1460707187652588, 0.275177925825119, 0.049327269196510315, 0.07703229784965515, 0.2098800539970398, 0.2618972361087799, 0.05946483835577965, -0.08569711446762085, 0.09699899703264236, 0.0986214280128479, 0.25173068046569824,...
https://github.com/huggingface/datasets/issues/2722
Hi ! Not sure why this file was missing, but yes the way to fix this is to delete the sst2 directory and to reload the dataset
Missing cache file
Strangely missing cache file after I restart my program again. `glue_dataset = datasets.load_dataset('glue', 'sst2')` `FileNotFoundError: [Errno 2] No such file or directory: /Users/chris/.cache/huggingface/datasets/glue/sst2/1.0.0/dacbe3125aa31d7f70367a07a8a9e72a5a0bfeb5fc42e75c9db75b96d6053ad/dataset_info.json...
27
Missing cache file Strangely missing cache file after I restart my program again. `glue_dataset = datasets.load_dataset('glue', 'sst2')` `FileNotFoundError: [Errno 2] No such file or directory: /Users/chris/.cache/huggingface/datasets/glue/sst2/1.0.0/dacbe3125aa31d7f70367a07a8a9e72a5a0bfeb5fc42e75c9db75b96d605...
[ -0.09679512679576874, -0.21156667172908783, -0.08074966073036194, 0.19621069729328156, 0.3262525498867035, 0.23698441684246063, 0.014586122706532478, 0.21860194206237793, 0.30421212315559387, 0.02473054826259613, 0.035960376262664795, 0.0324181392788887, 0.06950732320547104, 0.025483801960...
https://github.com/huggingface/datasets/issues/2716
Hi :) Good catch ! Feel free to open a PR if you want to contribute, this would be very welcome ;)
Calling shuffle on IterableDataset will disable batching in case any functions were mapped
When using dataset in streaming mode, if one applies `shuffle` method on the dataset and `map` method for which `batched=True` than the batching operation will not happen, instead `batched` will be set to `False` I did RCA on the dataset codebase, the problem is emerging from [this line of code](https://github.com/h...
22
Calling shuffle on IterableDataset will disable batching in case any functions were mapped When using dataset in streaming mode, if one applies `shuffle` method on the dataset and `map` method for which `batched=True` than the batching operation will not happen, instead `batched` will be set to `False` I did RCA o...
[ -0.4098217487335205, -0.25380706787109375, 0.01645561307668686, -0.031161583960056305, 0.339885413646698, -0.05797155573964119, 0.30230817198753357, 0.06744340062141418, -0.21752506494522095, 0.37735724449157715, -0.23105046153068542, 0.291255921125412, -0.19226059317588806, 0.265768289566...
https://github.com/huggingface/datasets/issues/2714
We already have this information in the dataset_infos.json files of each dataset. Maybe we can parse these files in the backend to return their content with the endpoint at huggingface.co/api/datasets For now if you want to access this info you have to load the json for each dataset. For example: - for a dataset o...
add more precise information for size
For the import into ELG, we would like a more precise description of the size of the dataset, instead of the current size categories. The size can be expressed in bytes, or any other preferred size unit. As suggested in the slack channel, perhaps this could be computed with a regex for existing datasets.
71
add more precise information for size For the import into ELG, we would like a more precise description of the size of the dataset, instead of the current size categories. The size can be expressed in bytes, or any other preferred size unit. As suggested in the slack channel, perhaps this could be computed with a reg...
[ -0.041354529559612274, -0.5577722787857056, -0.15896731615066528, 0.3919742703437805, 0.20537501573562622, -0.06392459571361542, -0.07375918328762054, 0.050364695489406586, 0.10644804686307907, 0.07986819744110107, -0.4394703507423401, 0.08817778527736664, -0.06569711118936539, 0.454865336...
https://github.com/huggingface/datasets/issues/2709
Hi @maxpel, thanks for reporting this issue. Indeed, the documentation in the dataset card is not complete. I’m opening a Pull Request to fix it. As the paper explains, there are 6 entity types and we have ordered them alphabetically: `corporation`, `creative-work`, `group`, `location`, `person` and `product`. ...
Missing documentation for wnut_17 (ner_tags)
On the info page of the wnut_17 data set (https://huggingface.co/datasets/wnut_17), the model output of ner-tags is only documented for these 5 cases: `ner_tags: a list of classification labels, with possible values including O (0), B-corporation (1), I-corporation (2), B-creative-work (3), I-creative-work (4).` ...
145
Missing documentation for wnut_17 (ner_tags) On the info page of the wnut_17 data set (https://huggingface.co/datasets/wnut_17), the model output of ner-tags is only documented for these 5 cases: `ner_tags: a list of classification labels, with possible values including O (0), B-corporation (1), I-corporation (2),...
[ 0.2751237154006958, -0.2970447838306427, 0.020810935646295547, 0.46739092469215393, -0.055945005267858505, 0.052015066146850586, -0.011735694482922554, -0.29913249611854553, -0.25691038370132446, -0.2186731994152069, 0.09837993234395981, 0.3813360035419464, -0.10718204081058502, 0.20503869...
https://github.com/huggingface/datasets/issues/2708
Hi @danyaljj, thanks for reporting. Unfortunately, I have not been able to reproduce your problem. My train split has 8134 examples: ```ipython In [10]: ds["train"] Out[10]: Dataset({ features: ['id', 'question', 'choices', 'answerKey', 'fact1', 'fact2', 'combinedfact', 'formatted_question'], num_rows:...
QASC: incomplete training set
## Describe the bug The training instances are not loaded properly. ## Steps to reproduce the bug ```python from datasets import load_dataset dataset = load_dataset("qasc", script_version='1.10.2') def load_instances(split): instances = dataset[split] print(f"split: {split} - size: {len(instanc...
496
QASC: incomplete training set ## Describe the bug The training instances are not loaded properly. ## Steps to reproduce the bug ```python from datasets import load_dataset dataset = load_dataset("qasc", script_version='1.10.2') def load_instances(split): instances = dataset[split] print(f"sp...
[ -0.24501816928386688, -0.36150062084198, -0.16716903448104858, 0.3723611831665039, 0.12369561195373535, 0.14514684677124023, 0.016439171507954597, 0.4380207657814026, -0.1213206797838211, 0.09349299967288971, 0.16326020658016205, 0.12497155368328094, 0.0430464893579483, 0.24713684618473053...
https://github.com/huggingface/datasets/issues/2707
Hi @dwil2444! I was able to reproduce your error when I downgraded to v1.1.2. Updating to the latest version of Datasets fixed the error for me :)
404 Not Found Error when loading LAMA dataset
The [LAMA](https://huggingface.co/datasets/viewer/?dataset=lama) probing dataset is not available for download: Steps to Reproduce: 1. `from datasets import load_dataset` 2. `dataset = load_dataset('lama', 'trex')`. Results: `FileNotFoundError: Couldn't find file locally at lama/lama.py, or remotely ...
27
404 Not Found Error when loading LAMA dataset The [LAMA](https://huggingface.co/datasets/viewer/?dataset=lama) probing dataset is not available for download: Steps to Reproduce: 1. `from datasets import load_dataset` 2. `dataset = load_dataset('lama', 'trex')`. Results: `FileNotFoundError: Couldn't...
[ 0.027576081454753876, -0.17989496886730194, -0.04161785542964935, 0.5950450301170349, 0.41887161135673523, 0.1276887208223343, -0.1021338552236557, 0.404575914144516, -0.4222142994403839, 0.2916163206100464, -0.31222060322761536, 0.16415120661258698, -0.15944576263427734, -0.24671962857246...
https://github.com/huggingface/datasets/issues/2707
Hi @dwil2444, thanks for reporting. Could you please confirm which `datasets` version you were using and if the problem persists after you update it to the latest version: `pip install -U datasets`? Thanks @stevhliu for the hint to fix this! ;)
404 Not Found Error when loading LAMA dataset
The [LAMA](https://huggingface.co/datasets/viewer/?dataset=lama) probing dataset is not available for download: Steps to Reproduce: 1. `from datasets import load_dataset` 2. `dataset = load_dataset('lama', 'trex')`. Results: `FileNotFoundError: Couldn't find file locally at lama/lama.py, or remotely ...
41
404 Not Found Error when loading LAMA dataset The [LAMA](https://huggingface.co/datasets/viewer/?dataset=lama) probing dataset is not available for download: Steps to Reproduce: 1. `from datasets import load_dataset` 2. `dataset = load_dataset('lama', 'trex')`. Results: `FileNotFoundError: Couldn't...
[ 0.037622854113578796, -0.24428047239780426, -0.03867770731449127, 0.6305747032165527, 0.40722450613975525, 0.0883309543132782, -0.0716988742351532, 0.3489047884941101, -0.39471590518951416, 0.26460373401641846, -0.2870090901851654, 0.22050394117832184, -0.1573987752199173, -0.2962247729301...
https://github.com/huggingface/datasets/issues/2707
@stevhliu @albertvillanova updating to the latest version of datasets did in fact fix this issue. Thanks a lot for your help!
404 Not Found Error when loading LAMA dataset
The [LAMA](https://huggingface.co/datasets/viewer/?dataset=lama) probing dataset is not available for download: Steps to Reproduce: 1. `from datasets import load_dataset` 2. `dataset = load_dataset('lama', 'trex')`. Results: `FileNotFoundError: Couldn't find file locally at lama/lama.py, or remotely ...
21
404 Not Found Error when loading LAMA dataset The [LAMA](https://huggingface.co/datasets/viewer/?dataset=lama) probing dataset is not available for download: Steps to Reproduce: 1. `from datasets import load_dataset` 2. `dataset = load_dataset('lama', 'trex')`. Results: `FileNotFoundError: Couldn't...
[ 0.057944364845752716, -0.2256724089384079, -0.03373081982135773, 0.6018183827400208, 0.39694416522979736, 0.12284964323043823, -0.07713983952999115, 0.39270907640457153, -0.42825743556022644, 0.2528080344200134, -0.3340740203857422, 0.1994088739156723, -0.14374276995658875, -0.263453125953...
https://github.com/huggingface/datasets/issues/2705
Hi @ronbutan, thanks for reporting. You are right: we have recently found that the link to the original PAN-X dataset (also called WikiANN), hosted at Dropbox, is no longer working. We have opened an issue in the GitHub repository of the original dataset (afshinrahimi/mmner#4) and we have also contacted the autho...
404 not found error on loading WIKIANN dataset
## Describe the bug Unable to retreive wikiann English dataset ## Steps to reproduce the bug ```python from datasets import list_datasets, load_dataset, list_metrics, load_metric WIKIANN = load_dataset("wikiann","en") ``` ## Expected results Colab notebook should display successful download status ## Act...
94
404 not found error on loading WIKIANN dataset ## Describe the bug Unable to retreive wikiann English dataset ## Steps to reproduce the bug ```python from datasets import list_datasets, load_dataset, list_metrics, load_metric WIKIANN = load_dataset("wikiann","en") ``` ## Expected results Colab notebook sh...
[ -0.19832682609558105, 0.014373630285263062, 0.002106316387653351, 0.2360561490058899, 0.033859983086586, 0.06316648423671722, 0.05425284430384636, 0.19719509780406952, -0.02326023578643799, 0.18440178036689758, -0.1990170031785965, 0.34823161363601685, 0.18891027569770813, -0.0352049283683...
https://github.com/huggingface/datasets/issues/2700
Hi @kswamy15, thanks for reporting. We are fixing this critical issue and making an urgent patch release of the `datasets` library today. In the meantime, you can circumvent this issue by updating the `tqdm` library: `!pip install -U tqdm`
from datasets import Dataset is failing
## Describe the bug A clear and concise description of what the bug is. ## Steps to reproduce the bug ```python # Sample code to reproduce the bug from datasets import Dataset ``` ## Expected results A clear and concise description of the expected results. ## Actual results Specify the actual results or...
39
from datasets import Dataset is failing ## Describe the bug A clear and concise description of what the bug is. ## Steps to reproduce the bug ```python # Sample code to reproduce the bug from datasets import Dataset ``` ## Expected results A clear and concise description of the expected results. ## Ac...
[ -0.40854546427726746, -0.1528589278459549, -0.12398098409175873, 0.06415070593357086, 0.1121257096529007, 0.10350506752729416, 0.3430991470813751, 0.2238980233669281, -0.13659365475177765, 0.05489889159798622, -0.08839051425457001, 0.2876405417919159, 0.048018597066402435, 0.06120013445615...
https://github.com/huggingface/datasets/issues/2699
Hi ! That's missing indeed. We'll try to implement this for the next version :) I guess we just need to implement #2564 first, and then we should be able to add support for splits combinations
cannot combine splits merging and streaming?
this does not work: `dataset = datasets.load_dataset('mc4','iw',split='train+validation',streaming=True)` with error: `ValueError: Bad split: train+validation. Available splits: ['train', 'validation']` these work: `dataset = datasets.load_dataset('mc4','iw',split='train+validation')` `dataset = datasets.load_d...
36
cannot combine splits merging and streaming? this does not work: `dataset = datasets.load_dataset('mc4','iw',split='train+validation',streaming=True)` with error: `ValueError: Bad split: train+validation. Available splits: ['train', 'validation']` these work: `dataset = datasets.load_dataset('mc4','iw',split='...
[ -0.5081489086151123, -0.33735308051109314, -0.11027905344963074, -0.014029890298843384, 0.033048663288354874, 0.07413783669471741, 0.07430854439735413, 0.4854653477668762, -0.06634514778852463, 0.12954001128673553, -0.26761704683303833, 0.23154884576797485, -0.051412876695394516, 0.5110142...
https://github.com/huggingface/datasets/issues/2695
I'm facing the same issue on Colab today too. ``` ModuleNotFoundError Traceback (most recent call last) <ipython-input-4-5833ac0f5437> in <module>() 3 4 from ray import tune ----> 5 from datasets import DatasetDict, Dataset 6 from datasets import load_dataset, load_metr...
Cannot import load_dataset on Colab
## Describe the bug Got tqdm concurrent module not found error during importing load_dataset from datasets. ## Steps to reproduce the bug Here [colab notebook](https://colab.research.google.com/drive/1pErWWnVP4P4mVHjSFUtkePd8Na_Qirg4?usp=sharing) to reproduce the error On colab: ```python !pip install dataset...
111
Cannot import load_dataset on Colab ## Describe the bug Got tqdm concurrent module not found error during importing load_dataset from datasets. ## Steps to reproduce the bug Here [colab notebook](https://colab.research.google.com/drive/1pErWWnVP4P4mVHjSFUtkePd8Na_Qirg4?usp=sharing) to reproduce the error On c...
[ -0.46032607555389404, -0.21482759714126587, -0.02437499724328518, 0.26821354031562805, 0.13541266322135925, 0.05199474096298218, 0.49737730622291565, -0.1074848473072052, 0.19837051630020142, 0.08495308458805084, -0.32663077116012573, 0.47532325983047485, -0.17426981031894684, 0.1487484276...
https://github.com/huggingface/datasets/issues/2695
@phosseini I think it is related to [1.10.0](https://github.com/huggingface/datasets/actions/runs/1052653701) release done 3 hours ago. (cc: @lhoestq ) For now I just downgraded to 1.9.0 and it is working fine.
Cannot import load_dataset on Colab
## Describe the bug Got tqdm concurrent module not found error during importing load_dataset from datasets. ## Steps to reproduce the bug Here [colab notebook](https://colab.research.google.com/drive/1pErWWnVP4P4mVHjSFUtkePd8Na_Qirg4?usp=sharing) to reproduce the error On colab: ```python !pip install dataset...
28
Cannot import load_dataset on Colab ## Describe the bug Got tqdm concurrent module not found error during importing load_dataset from datasets. ## Steps to reproduce the bug Here [colab notebook](https://colab.research.google.com/drive/1pErWWnVP4P4mVHjSFUtkePd8Na_Qirg4?usp=sharing) to reproduce the error On c...
[ -0.46032607555389404, -0.21482759714126587, -0.02437499724328518, 0.26821354031562805, 0.13541266322135925, 0.05199474096298218, 0.49737730622291565, -0.1074848473072052, 0.19837051630020142, 0.08495308458805084, -0.32663077116012573, 0.47532325983047485, -0.17426981031894684, 0.1487484276...
https://github.com/huggingface/datasets/issues/2695
> @phosseini > I think it is related to [1.10.0](https://github.com/huggingface/datasets/actions/runs/1052653701) release done 3 hours ago. (cc: @lhoestq ) > For now I just downgraded to 1.9.0 and it is working fine. Same here, downgraded to 1.9.0 for now and works fine.
Cannot import load_dataset on Colab
## Describe the bug Got tqdm concurrent module not found error during importing load_dataset from datasets. ## Steps to reproduce the bug Here [colab notebook](https://colab.research.google.com/drive/1pErWWnVP4P4mVHjSFUtkePd8Na_Qirg4?usp=sharing) to reproduce the error On colab: ```python !pip install dataset...
41
Cannot import load_dataset on Colab ## Describe the bug Got tqdm concurrent module not found error during importing load_dataset from datasets. ## Steps to reproduce the bug Here [colab notebook](https://colab.research.google.com/drive/1pErWWnVP4P4mVHjSFUtkePd8Na_Qirg4?usp=sharing) to reproduce the error On c...
[ -0.46032607555389404, -0.21482759714126587, -0.02437499724328518, 0.26821354031562805, 0.13541266322135925, 0.05199474096298218, 0.49737730622291565, -0.1074848473072052, 0.19837051630020142, 0.08495308458805084, -0.32663077116012573, 0.47532325983047485, -0.17426981031894684, 0.1487484276...
https://github.com/huggingface/datasets/issues/2695
Hi, updating tqdm to the newest version resolves the issue for me. You can do this as follows in Colab: ``` !pip install tqdm --upgrade ```
Cannot import load_dataset on Colab
## Describe the bug Got tqdm concurrent module not found error during importing load_dataset from datasets. ## Steps to reproduce the bug Here [colab notebook](https://colab.research.google.com/drive/1pErWWnVP4P4mVHjSFUtkePd8Na_Qirg4?usp=sharing) to reproduce the error On colab: ```python !pip install dataset...
26
Cannot import load_dataset on Colab ## Describe the bug Got tqdm concurrent module not found error during importing load_dataset from datasets. ## Steps to reproduce the bug Here [colab notebook](https://colab.research.google.com/drive/1pErWWnVP4P4mVHjSFUtkePd8Na_Qirg4?usp=sharing) to reproduce the error On c...
[ -0.46032607555389404, -0.21482759714126587, -0.02437499724328518, 0.26821354031562805, 0.13541266322135925, 0.05199474096298218, 0.49737730622291565, -0.1074848473072052, 0.19837051630020142, 0.08495308458805084, -0.32663077116012573, 0.47532325983047485, -0.17426981031894684, 0.1487484276...
https://github.com/huggingface/datasets/issues/2695
Hi @bayartsogt-ya and @phosseini, thanks for reporting. We are fixing this critical issue and making an urgent patch release of the `datasets` library today. In the meantime, as pointed out by @mariosasko, you can circumvent this issue by updating the `tqdm` library: ``` !pip install -U tqdm ```
Cannot import load_dataset on Colab
## Describe the bug Got tqdm concurrent module not found error during importing load_dataset from datasets. ## Steps to reproduce the bug Here [colab notebook](https://colab.research.google.com/drive/1pErWWnVP4P4mVHjSFUtkePd8Na_Qirg4?usp=sharing) to reproduce the error On colab: ```python !pip install dataset...
48
Cannot import load_dataset on Colab ## Describe the bug Got tqdm concurrent module not found error during importing load_dataset from datasets. ## Steps to reproduce the bug Here [colab notebook](https://colab.research.google.com/drive/1pErWWnVP4P4mVHjSFUtkePd8Na_Qirg4?usp=sharing) to reproduce the error On c...
[ -0.46032607555389404, -0.21482759714126587, -0.02437499724328518, 0.26821354031562805, 0.13541266322135925, 0.05199474096298218, 0.49737730622291565, -0.1074848473072052, 0.19837051630020142, 0.08495308458805084, -0.32663077116012573, 0.47532325983047485, -0.17426981031894684, 0.1487484276...
https://github.com/huggingface/datasets/issues/2691
Hi @severo, thanks for reporting. However I have not been able to reproduce this issue. Could you please confirm if the problem persists for you? Maybe Dropbox (where the data source is hosted) was temporarily unavailable when you tried.
xtreme / pan-x cannot be downloaded
## Describe the bug Dataset xtreme / pan-x cannot be loaded Seems related to https://github.com/huggingface/datasets/pull/2326 ## Steps to reproduce the bug ```python dataset = load_dataset("xtreme", "PAN-X.fr") ``` ## Expected results Load the dataset ## Actual results ``` FileNotFoundError:...
39
xtreme / pan-x cannot be downloaded ## Describe the bug Dataset xtreme / pan-x cannot be loaded Seems related to https://github.com/huggingface/datasets/pull/2326 ## Steps to reproduce the bug ```python dataset = load_dataset("xtreme", "PAN-X.fr") ``` ## Expected results Load the dataset ## Act...
[ -0.3526865839958191, -0.3867757320404053, -0.05106492340564728, 0.2910827100276947, 0.2072109431028366, 0.04866694658994675, -0.11699289083480835, 0.2295708954334259, 0.14507292211055756, 0.0749080553650856, -0.2071775645017624, 0.2856617569923401, 0.0034071803092956543, 0.0860852748155593...
https://github.com/huggingface/datasets/issues/2691
Hmmm, the file (https://www.dropbox.com/s/dl/12h3qqog6q4bjve/panx_dataset.tar) really seems to be unavailable... I tried from various connexions and machines and got the same 404 error. Maybe the dataset has been loaded from the cache in your case?
xtreme / pan-x cannot be downloaded
## Describe the bug Dataset xtreme / pan-x cannot be loaded Seems related to https://github.com/huggingface/datasets/pull/2326 ## Steps to reproduce the bug ```python dataset = load_dataset("xtreme", "PAN-X.fr") ``` ## Expected results Load the dataset ## Actual results ``` FileNotFoundError:...
34
xtreme / pan-x cannot be downloaded ## Describe the bug Dataset xtreme / pan-x cannot be loaded Seems related to https://github.com/huggingface/datasets/pull/2326 ## Steps to reproduce the bug ```python dataset = load_dataset("xtreme", "PAN-X.fr") ``` ## Expected results Load the dataset ## Act...
[ -0.26797473430633545, -0.4418178200721741, -0.11762628704309464, 0.263651967048645, 0.22728700935840607, 0.10944078862667084, -0.1848929524421692, 0.23797118663787842, 0.10635015368461609, 0.14721739292144775, -0.1563759446144104, 0.2612072825431824, 0.03403002396225929, 0.0054817572236061...
https://github.com/huggingface/datasets/issues/2691
Yes @severo, weird... I could access the file when I answered to you, but now I cannot longer access it either... Maybe it was from the cache as you point out. Anyway, I have opened an issue in the GitHub repository responsible for the original dataset: https://github.com/afshinrahimi/mmner/issues/4 I have also con...
xtreme / pan-x cannot be downloaded
## Describe the bug Dataset xtreme / pan-x cannot be loaded Seems related to https://github.com/huggingface/datasets/pull/2326 ## Steps to reproduce the bug ```python dataset = load_dataset("xtreme", "PAN-X.fr") ``` ## Expected results Load the dataset ## Actual results ``` FileNotFoundError:...
62
xtreme / pan-x cannot be downloaded ## Describe the bug Dataset xtreme / pan-x cannot be loaded Seems related to https://github.com/huggingface/datasets/pull/2326 ## Steps to reproduce the bug ```python dataset = load_dataset("xtreme", "PAN-X.fr") ``` ## Expected results Load the dataset ## Act...
[ -0.318206250667572, -0.3272891342639923, -0.11037570983171463, 0.2835797071456909, 0.23289591073989868, 0.06587671488523483, -0.09190864115953445, 0.18606679141521454, 0.0463905930519104, 0.24007052183151245, -0.22607150673866272, 0.20973269641399384, -0.034338489174842834, -0.148910343647...
https://github.com/huggingface/datasets/issues/2691
Reply from the author/maintainer: > Will fix the issue and let you know during the weekend.
xtreme / pan-x cannot be downloaded
## Describe the bug Dataset xtreme / pan-x cannot be loaded Seems related to https://github.com/huggingface/datasets/pull/2326 ## Steps to reproduce the bug ```python dataset = load_dataset("xtreme", "PAN-X.fr") ``` ## Expected results Load the dataset ## Actual results ``` FileNotFoundError:...
16
xtreme / pan-x cannot be downloaded ## Describe the bug Dataset xtreme / pan-x cannot be loaded Seems related to https://github.com/huggingface/datasets/pull/2326 ## Steps to reproduce the bug ```python dataset = load_dataset("xtreme", "PAN-X.fr") ``` ## Expected results Load the dataset ## Act...
[ -0.350820928812027, -0.48817378282546997, -0.10125719010829926, 0.26793718338012695, 0.242427259683609, 0.07438796013593674, -0.1332191824913025, 0.24527525901794434, 0.14426998794078827, 0.11871474981307983, -0.24366500973701477, 0.2646327614784241, 0.0461622029542923, 0.04650131613016128...
https://github.com/huggingface/datasets/issues/2691
The author told that apparently Dropbox has changed their policy and no longer allow downloading the file without having signed in first. The author asked Hugging Face to host their dataset.
xtreme / pan-x cannot be downloaded
## Describe the bug Dataset xtreme / pan-x cannot be loaded Seems related to https://github.com/huggingface/datasets/pull/2326 ## Steps to reproduce the bug ```python dataset = load_dataset("xtreme", "PAN-X.fr") ``` ## Expected results Load the dataset ## Actual results ``` FileNotFoundError:...
31
xtreme / pan-x cannot be downloaded ## Describe the bug Dataset xtreme / pan-x cannot be loaded Seems related to https://github.com/huggingface/datasets/pull/2326 ## Steps to reproduce the bug ```python dataset = load_dataset("xtreme", "PAN-X.fr") ``` ## Expected results Load the dataset ## Act...
[ -0.275937020778656, -0.34803807735443115, -0.059366852045059204, 0.34707918763160706, 0.10864192247390747, 0.05548468232154846, 0.02143830806016922, 0.21326711773872375, 0.3107880651950836, 0.06811389327049255, -0.23722711205482483, 0.21728767454624176, -0.07426746189594269, 0.182939708232...
https://github.com/huggingface/datasets/issues/2689
Hi ! That's because you are trying to overwrite a file that is already open and being used. Indeed `foo/dataset.arrow` is open and used by your `dataset` object. When you do `rename_column`, the resulting dataset reads the data from the same arrow file. In other cases like when using `map` on the other hand, the r...
cannot save the dataset to disk after rename_column
## Describe the bug If you use `rename_column` and do no other modification, you will be unable to save the dataset using `save_to_disk` ## Steps to reproduce the bug ```python # Sample code to reproduce the bug In [1]: from datasets import Dataset, load_from_disk In [5]: dataset=Dataset.from_dict({'foo': [0]})...
102
cannot save the dataset to disk after rename_column ## Describe the bug If you use `rename_column` and do no other modification, you will be unable to save the dataset using `save_to_disk` ## Steps to reproduce the bug ```python # Sample code to reproduce the bug In [1]: from datasets import Dataset, load_from...
[ -0.05232212692499161, 0.23420968651771545, -0.02316824160516262, -0.013346601277589798, 0.38935500383377075, 0.2707955539226532, 0.4929156005382538, 0.24630150198936462, 0.021959908306598663, 0.12010973691940308, -0.08146540820598602, 0.46071040630340576, -0.1719948798418045, -0.1512239575...
https://github.com/huggingface/datasets/issues/2689
so what would be the right way to read a dataset, then change something and then overwrite it with the new version?
cannot save the dataset to disk after rename_column
## Describe the bug If you use `rename_column` and do no other modification, you will be unable to save the dataset using `save_to_disk` ## Steps to reproduce the bug ```python # Sample code to reproduce the bug In [1]: from datasets import Dataset, load_from_disk In [5]: dataset=Dataset.from_dict({'foo': [0]})...
22
cannot save the dataset to disk after rename_column ## Describe the bug If you use `rename_column` and do no other modification, you will be unable to save the dataset using `save_to_disk` ## Steps to reproduce the bug ```python # Sample code to reproduce the bug In [1]: from datasets import Dataset, load_from...
[ -0.05232212692499161, 0.23420968651771545, -0.02316824160516262, -0.013346601277589798, 0.38935500383377075, 0.2707955539226532, 0.4929156005382538, 0.24630150198936462, 0.021959908306598663, 0.12010973691940308, -0.08146540820598602, 0.46071040630340576, -0.1719948798418045, -0.1512239575...
https://github.com/huggingface/datasets/issues/2689
You have to write to a new directory, then delete the former directory, and finally rename the new directory.
cannot save the dataset to disk after rename_column
## Describe the bug If you use `rename_column` and do no other modification, you will be unable to save the dataset using `save_to_disk` ## Steps to reproduce the bug ```python # Sample code to reproduce the bug In [1]: from datasets import Dataset, load_from_disk In [5]: dataset=Dataset.from_dict({'foo': [0]})...
19
cannot save the dataset to disk after rename_column ## Describe the bug If you use `rename_column` and do no other modification, you will be unable to save the dataset using `save_to_disk` ## Steps to reproduce the bug ```python # Sample code to reproduce the bug In [1]: from datasets import Dataset, load_from...
[ -0.05232212692499161, 0.23420968651771545, -0.02316824160516262, -0.013346601277589798, 0.38935500383377075, 0.2707955539226532, 0.4929156005382538, 0.24630150198936462, 0.021959908306598663, 0.12010973691940308, -0.08146540820598602, 0.46071040630340576, -0.1719948798418045, -0.1512239575...
https://github.com/huggingface/datasets/issues/2688
Hi @eyaler, thanks for reporting. While you are true with respect the Hebrew language tag ("iw" is deprecated and "he" is the preferred value), in the "mc4" dataset (which is a derived dataset) we have kept the language tags present in the original dataset: [Google C4](https://www.tensorflow.org/datasets/catalog/c4)...
hebrew language codes he and iw should be treated as aliases
https://huggingface.co/datasets/mc4 not listed when searching for hebrew datasets (he) as it uses the older language code iw, preventing discoverability.
46
hebrew language codes he and iw should be treated as aliases https://huggingface.co/datasets/mc4 not listed when searching for hebrew datasets (he) as it uses the older language code iw, preventing discoverability. Hi @eyaler, thanks for reporting. While you are true with respect the Hebrew language tag ("iw" i...
[ -0.18478292226791382, -0.022223234176635742, -0.1543210744857788, 0.032920073717832565, 0.028285976499319077, 0.07203548401594162, 0.5509454011917114, 0.3117237985134125, 0.05221674591302872, 0.10430454462766647, -0.34079572558403015, -0.26254093647003174, 0.017813831567764282, 0.009818382...
https://github.com/huggingface/datasets/issues/2688
For discoverability on the website I updated the YAML tags at the top of the mC4 dataset card https://github.com/huggingface/datasets/commit/38288087b1b02f97586e0346e8f28f4960f1fd37 Once the website is updated, mC4 will be listed in https://huggingface.co/datasets?filter=languages:he
hebrew language codes he and iw should be treated as aliases
https://huggingface.co/datasets/mc4 not listed when searching for hebrew datasets (he) as it uses the older language code iw, preventing discoverability.
30
hebrew language codes he and iw should be treated as aliases https://huggingface.co/datasets/mc4 not listed when searching for hebrew datasets (he) as it uses the older language code iw, preventing discoverability. For discoverability on the website I updated the YAML tags at the top of the mC4 dataset card https:...
[ -0.1667790710926056, -0.08356890082359314, -0.08920268714427948, 0.0611216276884079, 0.2324794977903366, -0.018035680055618286, 0.22198133170604706, 0.4122386574745178, -0.01588454470038414, -0.018412917852401733, -0.3140927255153656, -0.16981185972690582, 0.003346949815750122, 0.254541128...
https://github.com/huggingface/datasets/issues/2681
Yes this was documented in the PR that added this hf->paperswithcode mapping (https://github.com/huggingface/datasets/pull/2404) and AFAICT those are slightly distinct datasets so I think it's a wontfix For context on the paperswithcode mapping you can also refer to https://github.com/huggingface/huggingface_hub/pul...
5 duplicate datasets
## Describe the bug In 5 cases, I could find a dataset on Paperswithcode which references two Hugging Face datasets as dataset loaders. They are: - https://paperswithcode.com/dataset/multinli -> https://huggingface.co/datasets/multi_nli and https://huggingface.co/datasets/multi_nli_mismatch <img width="838...
45
5 duplicate datasets ## Describe the bug In 5 cases, I could find a dataset on Paperswithcode which references two Hugging Face datasets as dataset loaders. They are: - https://paperswithcode.com/dataset/multinli -> https://huggingface.co/datasets/multi_nli and https://huggingface.co/datasets/multi_nli_mismatch...
[ 0.07028919458389282, -0.030392885208129883, 0.00026500970125198364, 0.30260729789733887, 0.1615348905324936, 0.022487245500087738, 0.3812553286552429, 0.14873182773590088, 0.06321428716182709, 0.20608000457286835, -0.14543545246124268, 0.058572325855493546, 0.13281558454036713, -0.06307148...
https://github.com/huggingface/datasets/issues/2679
Hi @izaskr, thanks for reporting. However the traceback you joined does not correspond to the codec error message: it is about other error `NonMatchingSplitsSizesError`. Maybe you missed some important part of your traceback... I'm going to have a look at the dataset anyway...
Cannot load the blog_authorship_corpus due to codec errors
## Describe the bug A codec error is raised while loading the blog_authorship_corpus. ## Steps to reproduce the bug ``` from datasets import load_dataset raw_datasets = load_dataset("blog_authorship_corpus") ``` ## Expected results Loading the dataset without errors. ## Actual results An error simila...
43
Cannot load the blog_authorship_corpus due to codec errors ## Describe the bug A codec error is raised while loading the blog_authorship_corpus. ## Steps to reproduce the bug ``` from datasets import load_dataset raw_datasets = load_dataset("blog_authorship_corpus") ``` ## Expected results Loading the ...
[ -0.20848947763442993, 0.4780813157558441, -0.05400756374001503, 0.3998491168022156, 0.3617141544818878, 0.22684061527252197, 0.07851646840572357, 0.4288441836833954, -0.15867316722869873, 0.2435750812292099, 0.04682812839746475, 0.26792770624160767, -0.06666472554206848, -0.210873067378997...
https://github.com/huggingface/datasets/issues/2679
Hi @izaskr, thanks again for having reported this issue. After investigation, I have created a Pull Request (#2685) to fix several issues with this dataset: - the `NonMatchingSplitsSizesError` - the `UnicodeDecodeError` Once the Pull Request merged into master, you will be able to load this dataset if you insta...
Cannot load the blog_authorship_corpus due to codec errors
## Describe the bug A codec error is raised while loading the blog_authorship_corpus. ## Steps to reproduce the bug ``` from datasets import load_dataset raw_datasets = load_dataset("blog_authorship_corpus") ``` ## Expected results Loading the dataset without errors. ## Actual results An error simila...
75
Cannot load the blog_authorship_corpus due to codec errors ## Describe the bug A codec error is raised while loading the blog_authorship_corpus. ## Steps to reproduce the bug ``` from datasets import load_dataset raw_datasets = load_dataset("blog_authorship_corpus") ``` ## Expected results Loading the ...
[ -0.20848947763442993, 0.4780813157558441, -0.05400756374001503, 0.3998491168022156, 0.3617141544818878, 0.22684061527252197, 0.07851646840572357, 0.4288441836833954, -0.15867316722869873, 0.2435750812292099, 0.04682812839746475, 0.26792770624160767, -0.06666472554206848, -0.210873067378997...
https://github.com/huggingface/datasets/issues/2679
@albertvillanova Can you shed light on how this fix works? We're experiencing a similar issue. If we run several runs (eg in a Wandb sweep) the first run "works" but then we get `NonMatchingSplitsSizesError` | run num | actual train examples # | expected example # | recorded example # | | ------- | -------...
Cannot load the blog_authorship_corpus due to codec errors
## Describe the bug A codec error is raised while loading the blog_authorship_corpus. ## Steps to reproduce the bug ``` from datasets import load_dataset raw_datasets = load_dataset("blog_authorship_corpus") ``` ## Expected results Loading the dataset without errors. ## Actual results An error simila...
135
Cannot load the blog_authorship_corpus due to codec errors ## Describe the bug A codec error is raised while loading the blog_authorship_corpus. ## Steps to reproduce the bug ``` from datasets import load_dataset raw_datasets = load_dataset("blog_authorship_corpus") ``` ## Expected results Loading the ...
[ -0.20848947763442993, 0.4780813157558441, -0.05400756374001503, 0.3998491168022156, 0.3617141544818878, 0.22684061527252197, 0.07851646840572357, 0.4288441836833954, -0.15867316722869873, 0.2435750812292099, 0.04682812839746475, 0.26792770624160767, -0.06666472554206848, -0.210873067378997...
https://github.com/huggingface/datasets/issues/2678
@lhoestq I did, and then let pip handle the installation in `pip import datasets`. I also tried using conda but it gives the same error. Edit: pyarrow version on kaggle is 4.0.0, it gets replaced with 4.0.1. So, I don't think uninstalling will change anything. ``` Install Trace of datasets: Collecting datasets ...
Import Error in Kaggle notebook
## Describe the bug Not able to import datasets library in kaggle notebooks ## Steps to reproduce the bug ```python !pip install datasets import datasets ``` ## Expected results No such error ## Actual results ``` ImportError Traceback (most recent call last) <ipython-inp...
322
Import Error in Kaggle notebook ## Describe the bug Not able to import datasets library in kaggle notebooks ## Steps to reproduce the bug ```python !pip install datasets import datasets ``` ## Expected results No such error ## Actual results ``` ImportError Traceback (mo...
[ -0.31573501229286194, -0.08313126116991043, -0.11097218841314316, 0.16588318347930908, 0.17944540083408356, -0.022079162299633026, 0.3208150267601013, 0.2708317041397095, -0.028439879417419434, -0.05253024399280548, -0.14362603425979614, 0.8592838048934937, 0.09228101372718811, 0.237865835...
https://github.com/huggingface/datasets/issues/2678
You may need to restart your kaggle notebook after installing a newer version of `pyarrow`. If it doesn't work we'll probably have to create an issue on [arrow's JIRA](https://issues.apache.org/jira/projects/ARROW/issues/), and maybe ask kaggle why it could fail
Import Error in Kaggle notebook
## Describe the bug Not able to import datasets library in kaggle notebooks ## Steps to reproduce the bug ```python !pip install datasets import datasets ``` ## Expected results No such error ## Actual results ``` ImportError Traceback (most recent call last) <ipython-inp...
37
Import Error in Kaggle notebook ## Describe the bug Not able to import datasets library in kaggle notebooks ## Steps to reproduce the bug ```python !pip install datasets import datasets ``` ## Expected results No such error ## Actual results ``` ImportError Traceback (mo...
[ -0.33920252323150635, -0.07555149495601654, -0.11409222334623337, 0.1258438378572464, 0.20035043358802795, 0.01308874785900116, 0.35124364495277405, 0.3286038339138031, -0.03061743825674057, -0.03462030738592148, -0.18046198785305023, 0.8273151516914368, 0.08167611062526703, 0.233434051275...
https://github.com/huggingface/datasets/issues/2678
> You may need to restart your kaggle notebook before after installing a newer version of `pyarrow`. > > If it doesn't work we'll probably have to create an issue on [arrow's JIRA](https://issues.apache.org/jira/projects/ARROW/issues/), and maybe ask kaggle why it could fail It works after restarting. My bad, I ...
Import Error in Kaggle notebook
## Describe the bug Not able to import datasets library in kaggle notebooks ## Steps to reproduce the bug ```python !pip install datasets import datasets ``` ## Expected results No such error ## Actual results ``` ImportError Traceback (most recent call last) <ipython-inp...
57
Import Error in Kaggle notebook ## Describe the bug Not able to import datasets library in kaggle notebooks ## Steps to reproduce the bug ```python !pip install datasets import datasets ``` ## Expected results No such error ## Actual results ``` ImportError Traceback (mo...
[ -0.34386757016181946, -0.077080138027668, -0.11421938240528107, 0.13209182024002075, 0.1916217803955078, 0.010946311056613922, 0.34064170718193054, 0.3310461640357971, -0.04055122658610344, -0.03157036751508713, -0.1770029217004776, 0.8259584903717041, 0.07840697467327118, 0.21675571799278...
https://github.com/huggingface/datasets/issues/2677
Hi Thanks for reporting ! It looks like these files are not correctly reported in the list of expected files to download, let me fix that ;)
Error when downloading C4
Hi, I am trying to download `en` corpus from C4 dataset. However, I get an error caused by validation files download (see image). My code is very primitive: `datasets.load_dataset('c4', 'en')` Is this a bug or do I have some configurations missing on my server? Thanks! <img width="1014" alt="Снимок экрана 2...
27
Error when downloading C4 Hi, I am trying to download `en` corpus from C4 dataset. However, I get an error caused by validation files download (see image). My code is very primitive: `datasets.load_dataset('c4', 'en')` Is this a bug or do I have some configurations missing on my server? Thanks! <img width...
[ 0.09684553742408752, -0.06861145049333572, -0.0539068728685379, 0.47501319646835327, 0.23112380504608154, 0.23958027362823486, 0.005816028919070959, 0.16763168573379517, -0.017036549746990204, -0.10581782460212708, -0.025984646752476692, -0.2992726266384125, 0.16184554994106293, -0.0318007...
https://github.com/huggingface/datasets/issues/2677
Alright this is fixed now. We'll do a new release soon to make the fix available. In the meantime feel free to simply pass `ignore_verifications=True` to `load_dataset` to skip this error
Error when downloading C4
Hi, I am trying to download `en` corpus from C4 dataset. However, I get an error caused by validation files download (see image). My code is very primitive: `datasets.load_dataset('c4', 'en')` Is this a bug or do I have some configurations missing on my server? Thanks! <img width="1014" alt="Снимок экрана 2...
31
Error when downloading C4 Hi, I am trying to download `en` corpus from C4 dataset. However, I get an error caused by validation files download (see image). My code is very primitive: `datasets.load_dataset('c4', 'en')` Is this a bug or do I have some configurations missing on my server? Thanks! <img width...
[ 0.03600176423788071, -0.039010435342788696, -0.044648658484220505, 0.42044344544410706, 0.22434532642364502, 0.2426007241010666, -0.026892591267824173, 0.15308459103107452, -0.06727100908756256, -0.029162421822547913, 0.016473576426506042, -0.2508125901222229, 0.15667752921581268, 0.049930...
https://github.com/huggingface/datasets/issues/2669
Hi @BramVanroy, thanks for reporting. First, note that `"min"` is not an allowed value for `average`. According to scikit-learn [documentation](https://scikit-learn.org/stable/modules/generated/sklearn.metrics.f1_score.html), `average` can only take the values: `{"micro", "macro", "samples", "weighted", "binary"} or...
Metric kwargs are not passed to underlying external metric f1_score
## Describe the bug When I want to use F1 score with average="min", this keyword argument does not seem to be passed through to the underlying sklearn metric. This is evident because [sklearn](https://scikit-learn.org/stable/modules/generated/sklearn.metrics.f1_score.html) throws an error telling me so. ## Steps to...
96
Metric kwargs are not passed to underlying external metric f1_score ## Describe the bug When I want to use F1 score with average="min", this keyword argument does not seem to be passed through to the underlying sklearn metric. This is evident because [sklearn](https://scikit-learn.org/stable/modules/generated/sklear...
[ -0.05162912607192993, -0.5501687526702881, 0.08731433004140854, 0.20385675132274628, 0.46819111704826355, -0.0643797367811203, 0.17485974729061127, -0.19538825750350952, 0.3451758027076721, 0.28289738297462463, 0.06791359931230545, 0.44621676206588745, 0.17837190628051758, 0.02425467222929...
https://github.com/huggingface/datasets/issues/2669
Thanks, that was it. A bit strange though, since `load_metric` had an argument `metric_init_kwargs`. I assume that that's for specific initialisation arguments whereas `average` is for the function itself.
Metric kwargs are not passed to underlying external metric f1_score
## Describe the bug When I want to use F1 score with average="min", this keyword argument does not seem to be passed through to the underlying sklearn metric. This is evident because [sklearn](https://scikit-learn.org/stable/modules/generated/sklearn.metrics.f1_score.html) throws an error telling me so. ## Steps to...
29
Metric kwargs are not passed to underlying external metric f1_score ## Describe the bug When I want to use F1 score with average="min", this keyword argument does not seem to be passed through to the underlying sklearn metric. This is evident because [sklearn](https://scikit-learn.org/stable/modules/generated/sklear...
[ -0.05162912607192993, -0.5501687526702881, 0.08731433004140854, 0.20385675132274628, 0.46819111704826355, -0.0643797367811203, 0.17485974729061127, -0.19538825750350952, 0.3451758027076721, 0.28289738297462463, 0.06791359931230545, 0.44621676206588745, 0.17837190628051758, 0.02425467222929...
https://github.com/huggingface/datasets/issues/2663
Hi @stas00, I want to work on this issue and I was thinking why don't we use `imap` [in this loop](https://github.com/huggingface/datasets/blob/440b14d0dd428ae1b25881aa72ba7bbb8ad9ff84/src/datasets/io/json.py#L99)? This way, using offset (which is being used to slice the pyarrow table) we can convert pyarrow table t...
[`to_json`] add multi-proc sharding support
As discussed on slack it appears that `to_json` is quite slow on huge datasets like OSCAR. I implemented sharded saving, which is much much faster - but the tqdm bars all overwrite each other, so it's hard to make sense of the progress, so if possible ideally this multi-proc support could be implemented internally i...
139
[`to_json`] add multi-proc sharding support As discussed on slack it appears that `to_json` is quite slow on huge datasets like OSCAR. I implemented sharded saving, which is much much faster - but the tqdm bars all overwrite each other, so it's hard to make sense of the progress, so if possible ideally this multi-...
[ -0.24204695224761963, -0.3245050311088562, -0.033417198807001114, -0.0440206341445446, -0.09772197902202606, -0.08601146936416626, 0.4022948443889618, 0.11040178686380386, -0.012091942131519318, 0.33236822485923767, -0.03994413837790489, 0.2764456570148468, -0.13137033581733704, 0.22048476...
https://github.com/huggingface/datasets/issues/2655
Hi! I was looking into this and hope you can clarify a point. Your my_dataset variable would be of type DatasetDict which means the alternative you've described (dict comprehension) is what makes sense. Is there a reason why you wouldn't want to convert my_dataset to a pandas df if you'd like to use it like one? Plea...
Allow the selection of multiple columns at once
**Is your feature request related to a problem? Please describe.** Similar to pandas, it would be great if we could select multiple columns at once. **Describe the solution you'd like** ```python my_dataset = ... # Has columns ['idx', 'sentence', 'label'] idx, label = my_dataset[['idx', 'label']] ``` **...
64
Allow the selection of multiple columns at once **Is your feature request related to a problem? Please describe.** Similar to pandas, it would be great if we could select multiple columns at once. **Describe the solution you'd like** ```python my_dataset = ... # Has columns ['idx', 'sentence', 'label'] id...
[ -0.057370465248823166, -0.22968104481697083, -0.19698545336723328, 0.05125805363059044, 0.20142264664173126, 0.21865029633045197, 0.5181807279586792, 0.11737123131752014, 0.3343808650970459, 0.4082848131656647, -0.14732159674167633, 0.38307803869247437, 0.000723566859960556, 0.219599604606...
https://github.com/huggingface/datasets/issues/2655
Hi! Sorry for the delay. In this case, the dataset would be a `datasets.Dataset` and we want to select multiple columns, the `idx` and `label` columns for example. My issue is that my dataset is too big for memory if I load everything into pandas.
Allow the selection of multiple columns at once
**Is your feature request related to a problem? Please describe.** Similar to pandas, it would be great if we could select multiple columns at once. **Describe the solution you'd like** ```python my_dataset = ... # Has columns ['idx', 'sentence', 'label'] idx, label = my_dataset[['idx', 'label']] ``` **...
45
Allow the selection of multiple columns at once **Is your feature request related to a problem? Please describe.** Similar to pandas, it would be great if we could select multiple columns at once. **Describe the solution you'd like** ```python my_dataset = ... # Has columns ['idx', 'sentence', 'label'] id...
[ -0.11230586469173431, -0.30798304080963135, -0.1617852747440338, 0.1745089441537857, 0.27680763602256775, 0.2954530715942383, 0.48300740122795105, 0.10786221921443939, 0.2709561586380005, 0.43542778491973877, -0.10715490579605103, 0.18116061389446259, -0.005708711221814156, 0.1110235005617...
https://github.com/huggingface/datasets/issues/2654
I understand it already raises a `NotImplementedError` exception, eg: ``` >>> dataset = load_dataset("journalists_questions", name="plain_text", split="train", streaming=True) [...] NotImplementedError: Extraction protocol for file at https://drive.google.com/uc?export=download&id=1CBrh-9OrSpKmPQBxTK_ji6mq6WTN_...
Give a user feedback if the dataset he loads is streamable or not
**Is your feature request related to a problem? Please describe.** I would love to know if a `dataset` is with the current implementation streamable or not. **Describe the solution you'd like** We could show a warning when a dataset is loaded with `load_dataset('...',streaming=True)` when its lot streamable, e.g....
30
Give a user feedback if the dataset he loads is streamable or not **Is your feature request related to a problem? Please describe.** I would love to know if a `dataset` is with the current implementation streamable or not. **Describe the solution you'd like** We could show a warning when a dataset is loaded wit...
[ -0.31214630603790283, 0.10842552781105042, -0.09980061650276184, 0.061705153435468674, 0.13774746656417847, -0.10339824855327606, 0.18258383870124817, 0.2757679224014282, -0.03482222184538841, 0.24827711284160614, 0.23722505569458008, 0.22120139002799988, -0.41875457763671875, 0.2228204905...
https://github.com/huggingface/datasets/issues/2653
Note that this subset requires us to: * generate the LibriMix corpus from LibriSpeech * prepare the corpus for diarization As suggested by @lhoestq we should perform these steps locally and add the prepared data to this public repo on the Hub: https://huggingface.co/datasets/superb/superb-data Then we can use...
Add SD task for SUPERB
Include the SD (Speaker Diarization) task as described in the [SUPERB paper](https://arxiv.org/abs/2105.01051) and `s3prl` [instructions](https://github.com/s3prl/s3prl/tree/master/s3prl/downstream#sd-speaker-diarization). Steps: - [x] Generate the LibriMix corpus - [x] Prepare the corpus for diarization - [x] Up...
94
Add SD task for SUPERB Include the SD (Speaker Diarization) task as described in the [SUPERB paper](https://arxiv.org/abs/2105.01051) and `s3prl` [instructions](https://github.com/s3prl/s3prl/tree/master/s3prl/downstream#sd-speaker-diarization). Steps: - [x] Generate the LibriMix corpus - [x] Prepare the corpus ...
[ -0.23873303830623627, -0.15576951205730438, 0.006651867181062698, 0.11123618483543396, 0.37771105766296387, -0.1991262435913086, 0.008201717399060726, -0.13701975345611572, 0.11175225675106049, 0.34645819664001465, -0.3380066454410553, 0.496512234210968, -0.15013360977172852, 0.44433268904...
https://github.com/huggingface/datasets/issues/2653
@lewtun @lhoestq: I have already generated the LibriMix corpus and prepared the corpus for diarization. The output is 3 dirs (train, dev, test), each one containing 6 files: reco2dur rttm segments spk2utt utt2spk wav.scp Next steps: - Upload these files to the superb-data repo - Transcribe the correspondi...
Add SD task for SUPERB
Include the SD (Speaker Diarization) task as described in the [SUPERB paper](https://arxiv.org/abs/2105.01051) and `s3prl` [instructions](https://github.com/s3prl/s3prl/tree/master/s3prl/downstream#sd-speaker-diarization). Steps: - [x] Generate the LibriMix corpus - [x] Prepare the corpus for diarization - [x] Up...
73
Add SD task for SUPERB Include the SD (Speaker Diarization) task as described in the [SUPERB paper](https://arxiv.org/abs/2105.01051) and `s3prl` [instructions](https://github.com/s3prl/s3prl/tree/master/s3prl/downstream#sd-speaker-diarization). Steps: - [x] Generate the LibriMix corpus - [x] Prepare the corpus ...
[ -0.2306322306394577, -0.33248651027679443, -0.05473171919584274, 0.0661654844880104, 0.3352738320827484, -0.281238853931427, 0.0837416723370552, -0.061149220913648605, -0.11445457488298416, 0.4088609218597412, -0.41407856345176697, 0.42715713381767273, -0.1571260243654251, 0.34677761793136...