html_url stringlengths 48 51 | title stringlengths 5 268 | comments stringlengths 63 51.8k | body stringlengths 0 36.2k ⌀ | comment_length int64 16 1.52k | text stringlengths 164 54.1k | embeddings list |
|---|---|---|---|---|---|---|
https://github.com/huggingface/datasets/issues/1728 | Add an entry to an arrow dataset | That's a great idea! Thank you so much!
When I try that solution, I get the following error when I try to concatenate `datasets` and `modified_dataset`. I have also attached the output I get when I print out those two variables. Am I missing something?
Code:
``` python
combined_dataset = concatenate_datasets([d... | Is it possible to add an entry to a dataset object?
**Motivation: I want to transform the sentences in the dataset and add them to the original dataset**
For example, say we have the following code:
``` python
from datasets import load_dataset
# Load a dataset and print the first examples in the training s... | 123 | Add an entry to an arrow dataset
Is it possible to add an entry to a dataset object?
**Motivation: I want to transform the sentences in the dataset and add them to the original dataset**
For example, say we have the following code:
``` python
from datasets import load_dataset
# Load a dataset and print t... | [
0.0949399769,
0.278106153,
-0.0392042212,
0.023057377,
0.2436096221,
0.3778872192,
0.2803981006,
-0.158528313,
-0.2577434778,
-0.0745180398,
0.3132960498,
0.5345351696,
-0.1596793085,
0.000742096,
0.2160834521,
-0.2442813814,
0.1367064565,
0.1000795364,
-0.1950360537,
0.0196851... |
https://github.com/huggingface/datasets/issues/1728 | Add an entry to an arrow dataset | You should do `combined_dataset = concatenate_datasets([datasets['train'], modified_dataset['train']])`
Didn't we talk about returning a Dataset instead of a DatasetDict with load_dataset and no split provided @lhoestq? Not sure it's the way to go but I'm wondering if it's not simpler for some use-cases. | Is it possible to add an entry to a dataset object?
**Motivation: I want to transform the sentences in the dataset and add them to the original dataset**
For example, say we have the following code:
``` python
from datasets import load_dataset
# Load a dataset and print the first examples in the training s... | 42 | Add an entry to an arrow dataset
Is it possible to add an entry to a dataset object?
**Motivation: I want to transform the sentences in the dataset and add them to the original dataset**
For example, say we have the following code:
``` python
from datasets import load_dataset
# Load a dataset and print t... | [
0.1145723015,
0.2276225388,
-0.0684058517,
-0.0251237378,
0.1537323296,
0.2710112333,
0.2267992049,
-0.1038068756,
0.0163866822,
-0.0527591556,
0.3032628,
0.5584478974,
-0.2891288996,
0.0470763743,
0.3657110929,
-0.2805240452,
0.0873282999,
0.0396180227,
-0.2587966621,
-0.07906... |
https://github.com/huggingface/datasets/issues/1728 | Add an entry to an arrow dataset | > Didn't we talk about returning a Dataset instead of a DatasetDict with load_dataset and no split provided @lhoestq? Not sure it's the way to go but I'm wondering if it's not simpler for some use-cases.
My opinion is that users should always know in advance what type of objects they're going to get. Otherwise the d... | Is it possible to add an entry to a dataset object?
**Motivation: I want to transform the sentences in the dataset and add them to the original dataset**
For example, say we have the following code:
``` python
from datasets import load_dataset
# Load a dataset and print the first examples in the training s... | 96 | Add an entry to an arrow dataset
Is it possible to add an entry to a dataset object?
**Motivation: I want to transform the sentences in the dataset and add them to the original dataset**
For example, say we have the following code:
``` python
from datasets import load_dataset
# Load a dataset and print t... | [
0.1489231437,
0.203250736,
-0.0536696985,
0.0051241699,
0.1111600474,
0.0731269941,
0.2737310529,
-0.0879942253,
0.0876800567,
0.0217208043,
0.342299968,
0.4724980295,
-0.3235457838,
0.0745657682,
0.3323622048,
-0.2733579278,
0.0625657216,
0.0564746559,
-0.2627882659,
-0.140784... |
https://github.com/huggingface/datasets/issues/1727 | BLEURT score calculation raises UnrecognizedFlagError | And I have the same error with TF 2.4.1. I believe this issue should be reopened. Any ideas?! | Calling the `compute` method for **bleurt** metric fails with an `UnrecognizedFlagError` for `FLAGS.bleurt_batch_size`.
My environment:
```
python==3.8.5
datasets==1.2.0
tensorflow==2.3.1
cudatoolkit==11.0.221
```
Test code for reproducing the error:
```
from datasets import load_metric
bleurt = load_me... | 18 | BLEURT score calculation raises UnrecognizedFlagError
Calling the `compute` method for **bleurt** metric fails with an `UnrecognizedFlagError` for `FLAGS.bleurt_batch_size`.
My environment:
```
python==3.8.5
datasets==1.2.0
tensorflow==2.3.1
cudatoolkit==11.0.221
```
Test code for reproducing the error:
... | [
-0.3299123645,
-0.3983679116,
0.0414074063,
0.4000956416,
0.3001841605,
-0.2275915891,
0.2741971314,
0.2562865913,
0.0054992163,
0.2942809761,
-0.0122729745,
0.0224694107,
-0.0850860998,
0.0461417511,
-0.2817871571,
0.1284504384,
-0.2095131427,
-0.0770387053,
0.4217461646,
0.08... |
https://github.com/huggingface/datasets/issues/1727 | BLEURT score calculation raises UnrecognizedFlagError | I'm seeing the same issue with TF 2.4.1 when running the following in https://colab.research.google.com/github/huggingface/datasets/blob/master/notebooks/Overview.ipynb:
```
!pip install git+https://github.com/google-research/bleurt.git
references = ["foo bar baz", "one two three"]
bleurt_metric = load_metric('bleu... | Calling the `compute` method for **bleurt** metric fails with an `UnrecognizedFlagError` for `FLAGS.bleurt_batch_size`.
My environment:
```
python==3.8.5
datasets==1.2.0
tensorflow==2.3.1
cudatoolkit==11.0.221
```
Test code for reproducing the error:
```
from datasets import load_metric
bleurt = load_me... | 39 | BLEURT score calculation raises UnrecognizedFlagError
Calling the `compute` method for **bleurt** metric fails with an `UnrecognizedFlagError` for `FLAGS.bleurt_batch_size`.
My environment:
```
python==3.8.5
datasets==1.2.0
tensorflow==2.3.1
cudatoolkit==11.0.221
```
Test code for reproducing the error:
... | [
-0.3299123645,
-0.3983679116,
0.0414074063,
0.4000956416,
0.3001841605,
-0.2275915891,
0.2741971314,
0.2562865913,
0.0054992163,
0.2942809761,
-0.0122729745,
0.0224694107,
-0.0850860998,
0.0461417511,
-0.2817871571,
0.1284504384,
-0.2095131427,
-0.0770387053,
0.4217461646,
0.08... |
https://github.com/huggingface/datasets/issues/1727 | BLEURT score calculation raises UnrecognizedFlagError | @aleSuglia @oscartackstrom - Are you getting the error when running your code in a Jupyter notebook ?
I tried reproducing this error again, and was unable to do so from the python command line console in a virtual environment similar to the one I originally used (and unfortunately no longer have access to) when I fi... | Calling the `compute` method for **bleurt** metric fails with an `UnrecognizedFlagError` for `FLAGS.bleurt_batch_size`.
My environment:
```
python==3.8.5
datasets==1.2.0
tensorflow==2.3.1
cudatoolkit==11.0.221
```
Test code for reproducing the error:
```
from datasets import load_metric
bleurt = load_me... | 112 | BLEURT score calculation raises UnrecognizedFlagError
Calling the `compute` method for **bleurt** metric fails with an `UnrecognizedFlagError` for `FLAGS.bleurt_batch_size`.
My environment:
```
python==3.8.5
datasets==1.2.0
tensorflow==2.3.1
cudatoolkit==11.0.221
```
Test code for reproducing the error:
... | [
-0.3299123645,
-0.3983679116,
0.0414074063,
0.4000956416,
0.3001841605,
-0.2275915891,
0.2741971314,
0.2562865913,
0.0054992163,
0.2942809761,
-0.0122729745,
0.0224694107,
-0.0850860998,
0.0461417511,
-0.2817871571,
0.1284504384,
-0.2095131427,
-0.0770387053,
0.4217461646,
0.08... |
https://github.com/huggingface/datasets/issues/1727 | BLEURT score calculation raises UnrecognizedFlagError | This happens when running the notebook on colab. The issue seems to be that colab populates sys.argv with arguments not handled by bleurt.
Running this before calling bleurt fixes it:
```
import sys
sys.argv = sys.argv[:1]
```
Not the most elegant solution. Perhaps it needs to be fixed in the bleurt code itse... | Calling the `compute` method for **bleurt** metric fails with an `UnrecognizedFlagError` for `FLAGS.bleurt_batch_size`.
My environment:
```
python==3.8.5
datasets==1.2.0
tensorflow==2.3.1
cudatoolkit==11.0.221
```
Test code for reproducing the error:
```
from datasets import load_metric
bleurt = load_me... | 71 | BLEURT score calculation raises UnrecognizedFlagError
Calling the `compute` method for **bleurt** metric fails with an `UnrecognizedFlagError` for `FLAGS.bleurt_batch_size`.
My environment:
```
python==3.8.5
datasets==1.2.0
tensorflow==2.3.1
cudatoolkit==11.0.221
```
Test code for reproducing the error:
... | [
-0.3299123645,
-0.3983679116,
0.0414074063,
0.4000956416,
0.3001841605,
-0.2275915891,
0.2741971314,
0.2562865913,
0.0054992163,
0.2942809761,
-0.0122729745,
0.0224694107,
-0.0850860998,
0.0461417511,
-0.2817871571,
0.1284504384,
-0.2095131427,
-0.0770387053,
0.4217461646,
0.08... |
https://github.com/huggingface/datasets/issues/1727 | BLEURT score calculation raises UnrecognizedFlagError | I got the error when running it from the command line. It looks more like an error that should be fixed in the BLEURT codebase. | Calling the `compute` method for **bleurt** metric fails with an `UnrecognizedFlagError` for `FLAGS.bleurt_batch_size`.
My environment:
```
python==3.8.5
datasets==1.2.0
tensorflow==2.3.1
cudatoolkit==11.0.221
```
Test code for reproducing the error:
```
from datasets import load_metric
bleurt = load_me... | 25 | BLEURT score calculation raises UnrecognizedFlagError
Calling the `compute` method for **bleurt** metric fails with an `UnrecognizedFlagError` for `FLAGS.bleurt_batch_size`.
My environment:
```
python==3.8.5
datasets==1.2.0
tensorflow==2.3.1
cudatoolkit==11.0.221
```
Test code for reproducing the error:
... | [
-0.3299123645,
-0.3983679116,
0.0414074063,
0.4000956416,
0.3001841605,
-0.2275915891,
0.2741971314,
0.2562865913,
0.0054992163,
0.2942809761,
-0.0122729745,
0.0224694107,
-0.0850860998,
0.0461417511,
-0.2817871571,
0.1284504384,
-0.2095131427,
-0.0770387053,
0.4217461646,
0.08... |
https://github.com/huggingface/datasets/issues/1725 | load the local dataset | You should rephrase your question or give more examples and details on what you want to do.
it’s not possible to understand it and help you with only this information. | your guidebook's example is like
>>>from datasets import load_dataset
>>> dataset = load_dataset('json', data_files='my_file.json')
but the first arg is path...
so how should i do if i want to load the local dataset for model training?
i will be grateful if you can help me handle this problem!
thanks a lot! | 30 | load the local dataset
your guidebook's example is like
>>>from datasets import load_dataset
>>> dataset = load_dataset('json', data_files='my_file.json')
but the first arg is path...
so how should i do if i want to load the local dataset for model training?
i will be grateful if you can help me handle this prob... | [
-0.1804087013,
0.0134992115,
-0.1037137806,
-0.0130337738,
0.2134606242,
0.1470810473,
0.2700249553,
0.2880047858,
0.4363237917,
0.0544831194,
0.1162024066,
0.4947058856,
-0.0745658502,
0.2974510491,
0.2197878659,
-0.1235246658,
0.0534671545,
0.2126089334,
-0.2095778584,
-0.252... |
https://github.com/huggingface/datasets/issues/1725 | load the local dataset | sorry for that.
i want to know how could i load the train set and the test set from the local ,which api or function should i use .
| your guidebook's example is like
>>>from datasets import load_dataset
>>> dataset = load_dataset('json', data_files='my_file.json')
but the first arg is path...
so how should i do if i want to load the local dataset for model training?
i will be grateful if you can help me handle this problem!
thanks a lot! | 29 | load the local dataset
your guidebook's example is like
>>>from datasets import load_dataset
>>> dataset = load_dataset('json', data_files='my_file.json')
but the first arg is path...
so how should i do if i want to load the local dataset for model training?
i will be grateful if you can help me handle this prob... | [
-0.3174705803,
0.0638199672,
-0.0952593386,
0.0737693682,
0.1196744069,
0.15572384,
0.1555575579,
0.3187199235,
0.5008641481,
0.0614465475,
0.1642023474,
0.43741557,
-0.1208816245,
0.4828318357,
0.3047557771,
-0.163547352,
0.0707766339,
0.229430899,
-0.278807044,
-0.2441236526,... |
https://github.com/huggingface/datasets/issues/1725 | load the local dataset | thanks a lot
i find that the problem is i dont use vpn...
so i have to keep my net work even if i want to load the local data ? | your guidebook's example is like
>>>from datasets import load_dataset
>>> dataset = load_dataset('json', data_files='my_file.json')
but the first arg is path...
so how should i do if i want to load the local dataset for model training?
i will be grateful if you can help me handle this problem!
thanks a lot! | 31 | load the local dataset
your guidebook's example is like
>>>from datasets import load_dataset
>>> dataset = load_dataset('json', data_files='my_file.json')
but the first arg is path...
so how should i do if i want to load the local dataset for model training?
i will be grateful if you can help me handle this prob... | [
-0.2262582928,
0.0726394802,
-0.0507601723,
0.029830955,
0.1185120866,
0.0638029352,
0.2788849175,
0.2106350213,
0.4118475616,
0.1336880028,
0.1261633039,
0.4746666551,
0.0714063719,
0.4720023572,
0.3170850873,
-0.0984337479,
0.103151232,
0.2740092278,
-0.1861927956,
-0.2366861... |
https://github.com/huggingface/datasets/issues/1724 | could not run models on a offline server successfully | Hi @lkcao !
Your issue is indeed related to `datasets`. In addition to installing the package manually, you will need to download the `text.py` script on your server. You'll find it (under `datasets/datasets/text`: https://github.com/huggingface/datasets/blob/master/datasets/text/text.py.
Then you can change the line... | Hi, I really need your help about this.
I am trying to fine-tuning a RoBERTa on a remote server, which is strictly banning internet. I try to install all the packages by hand and try to run run_mlm.py on the server. It works well on colab, but when I try to run it on this offline server, it shows:
 directly in the `datasets` package so that they can be used offline | Hi, I really need your help about this.
I am trying to fine-tuning a RoBERTa on a remote server, which is strictly banning internet. I try to install all the packages by hand and try to run run_mlm.py on the server. It works well on colab, but when I try to run it on this offline server, it shows:
 are now part of the `datasets` package since #1726 :)
You can now use them offline
```python
datasets = load_dataset('text', data_files=data_files)
```
We'll do a new release soon | Hi, I really need your help about this.
I am trying to fine-tuning a RoBERTa on a remote server, which is strictly banning internet. I try to install all the packages by hand and try to run run_mlm.py on the server. It works well on colab, but when I try to run it on this offline server, it shows:
 are now part of the `datasets` package since #1726 :)
> You can now use them offline
>
> ```python
> datasets = load_dataset('text', data_files=data_files)
> ```
>
> We'll do a new release soon
so the new version release now? | Hi, I really need your help about this.
I am trying to fine-tuning a RoBERTa on a remote server, which is strictly banning internet. I try to install all the packages by hand and try to run run_mlm.py on the server. It works well on colab, but when I try to run it on this offline server, it shows:

I tried to use `cache_file_names` and wasn't sure how, I tried to give it the following:
```
tokenized_datasets = tokenized_datasets.map(
group_texts,
batched=True,
num_proc=60,
load_from_cache_file=True,
cache_file_names={k: f'.cache/{str(... | Hi,
I am using the datasets package and even though I run the same data processing functions, datasets always recomputes the function instead of using cache.
I have attached an example script that for me reproduces the problem.
In the attached example the second map function always recomputes instead of loading fr... | 229 | Possible cache miss in datasets
Hi,
I am using the datasets package and even though I run the same data processing functions, datasets always recomputes the function instead of using cache.
I have attached an example script that for me reproduces the problem.
In the attached example the second map function alway... | [
-0.1930397153,
0.1210534796,
0.0500952378,
0.1900933534,
0.0076966397,
0.0369214192,
-0.0168550815,
0.2303499728,
0.0167327691,
-0.1084435508,
0.1029986218,
0.4139712751,
0.2249117196,
-0.111724034,
-0.0011098315,
0.2446132153,
0.3074614704,
0.321693629,
-0.1533997953,
-0.20887... |
https://github.com/huggingface/datasets/issues/1718 | Possible cache miss in datasets | The documentation says
```
cache_file_names (`Optional[Dict[str, str]]`, defaults to `None`): Provide the name of a cache file to use to store the
results of the computation instead of the automatically generated cache file name.
You have to provide one :obj:`cache_file_name` per dataset in the dataset dict... | Hi,
I am using the datasets package and even though I run the same data processing functions, datasets always recomputes the function instead of using cache.
I have attached an example script that for me reproduces the problem.
In the attached example the second map function always recomputes instead of loading fr... | 90 | Possible cache miss in datasets
Hi,
I am using the datasets package and even though I run the same data processing functions, datasets always recomputes the function instead of using cache.
I have attached an example script that for me reproduces the problem.
In the attached example the second map function alway... | [
-0.1930397153,
0.1210534796,
0.0500952378,
0.1900933534,
0.0076966397,
0.0369214192,
-0.0168550815,
0.2303499728,
0.0167327691,
-0.1084435508,
0.1029986218,
0.4139712751,
0.2249117196,
-0.111724034,
-0.0011098315,
0.2446132153,
0.3074614704,
0.321693629,
-0.1533997953,
-0.20887... |
https://github.com/huggingface/datasets/issues/1718 | Possible cache miss in datasets | Managed to get `cache_file_names` working and caching works well with it
Had to make a small modification for it to work:
```
cache_file_names = {k: f'tokenized_and_grouped_{str(k)}.arrow' for k in tokenized_datasets}
``` | Hi,
I am using the datasets package and even though I run the same data processing functions, datasets always recomputes the function instead of using cache.
I have attached an example script that for me reproduces the problem.
In the attached example the second map function always recomputes instead of loading fr... | 31 | Possible cache miss in datasets
Hi,
I am using the datasets package and even though I run the same data processing functions, datasets always recomputes the function instead of using cache.
I have attached an example script that for me reproduces the problem.
In the attached example the second map function alway... | [
-0.1930397153,
0.1210534796,
0.0500952378,
0.1900933534,
0.0076966397,
0.0369214192,
-0.0168550815,
0.2303499728,
0.0167327691,
-0.1084435508,
0.1029986218,
0.4139712751,
0.2249117196,
-0.111724034,
-0.0011098315,
0.2446132153,
0.3074614704,
0.321693629,
-0.1533997953,
-0.20887... |
https://github.com/huggingface/datasets/issues/1718 | Possible cache miss in datasets | Another comment on `cache_file_names`, it doesn't save the produced cached files in the dataset's cache folder, it requires to give a path to an existing directory for it to work.
I can confirm that this is how it works in `datasets==1.1.3` | Hi,
I am using the datasets package and even though I run the same data processing functions, datasets always recomputes the function instead of using cache.
I have attached an example script that for me reproduces the problem.
In the attached example the second map function always recomputes instead of loading fr... | 41 | Possible cache miss in datasets
Hi,
I am using the datasets package and even though I run the same data processing functions, datasets always recomputes the function instead of using cache.
I have attached an example script that for me reproduces the problem.
In the attached example the second map function alway... | [
-0.1930397153,
0.1210534796,
0.0500952378,
0.1900933534,
0.0076966397,
0.0369214192,
-0.0168550815,
0.2303499728,
0.0167327691,
-0.1084435508,
0.1029986218,
0.4139712751,
0.2249117196,
-0.111724034,
-0.0011098315,
0.2446132153,
0.3074614704,
0.321693629,
-0.1533997953,
-0.20887... |
https://github.com/huggingface/datasets/issues/1718 | Possible cache miss in datasets | Oh yes indeed ! Maybe we need to update the docstring to mention that it is a path | Hi,
I am using the datasets package and even though I run the same data processing functions, datasets always recomputes the function instead of using cache.
I have attached an example script that for me reproduces the problem.
In the attached example the second map function always recomputes instead of loading fr... | 18 | Possible cache miss in datasets
Hi,
I am using the datasets package and even though I run the same data processing functions, datasets always recomputes the function instead of using cache.
I have attached an example script that for me reproduces the problem.
In the attached example the second map function alway... | [
-0.1930397153,
0.1210534796,
0.0500952378,
0.1900933534,
0.0076966397,
0.0369214192,
-0.0168550815,
0.2303499728,
0.0167327691,
-0.1084435508,
0.1029986218,
0.4139712751,
0.2249117196,
-0.111724034,
-0.0011098315,
0.2446132153,
0.3074614704,
0.321693629,
-0.1533997953,
-0.20887... |
https://github.com/huggingface/datasets/issues/1718 | Possible cache miss in datasets | I upgraded to the latest version and I encountered some strange behaviour, the script I posted in the OP doesn't trigger recalculation, however, if I add the following change it does trigger partial recalculation, I am not sure if its something wrong on my machine or a bug:
```
from datasets import load_dataset
from... | Hi,
I am using the datasets package and even though I run the same data processing functions, datasets always recomputes the function instead of using cache.
I have attached an example script that for me reproduces the problem.
In the attached example the second map function always recomputes instead of loading fr... | 136 | Possible cache miss in datasets
Hi,
I am using the datasets package and even though I run the same data processing functions, datasets always recomputes the function instead of using cache.
I have attached an example script that for me reproduces the problem.
In the attached example the second map function alway... | [
-0.1930397153,
0.1210534796,
0.0500952378,
0.1900933534,
0.0076966397,
0.0369214192,
-0.0168550815,
0.2303499728,
0.0167327691,
-0.1084435508,
0.1029986218,
0.4139712751,
0.2249117196,
-0.111724034,
-0.0011098315,
0.2446132153,
0.3074614704,
0.321693629,
-0.1533997953,
-0.20887... |
https://github.com/huggingface/datasets/issues/1718 | Possible cache miss in datasets | This is because the `group_texts` line definition changes (it is defined 3 lines later than in the previous call). Currently if a function is moved elsewhere in a script we consider it to be different.
Not sure this is actually a good idea to keep this behavior though. We had this as a security in the early developm... | Hi,
I am using the datasets package and even though I run the same data processing functions, datasets always recomputes the function instead of using cache.
I have attached an example script that for me reproduces the problem.
In the attached example the second map function always recomputes instead of loading fr... | 86 | Possible cache miss in datasets
Hi,
I am using the datasets package and even though I run the same data processing functions, datasets always recomputes the function instead of using cache.
I have attached an example script that for me reproduces the problem.
In the attached example the second map function alway... | [
-0.1930397153,
0.1210534796,
0.0500952378,
0.1900933534,
0.0076966397,
0.0369214192,
-0.0168550815,
0.2303499728,
0.0167327691,
-0.1084435508,
0.1029986218,
0.4139712751,
0.2249117196,
-0.111724034,
-0.0011098315,
0.2446132153,
0.3074614704,
0.321693629,
-0.1533997953,
-0.20887... |
https://github.com/huggingface/datasets/issues/1718 | Possible cache miss in datasets | Sounds great, thank you for your quick responses and help! Looking forward for the next release. | Hi,
I am using the datasets package and even though I run the same data processing functions, datasets always recomputes the function instead of using cache.
I have attached an example script that for me reproduces the problem.
In the attached example the second map function always recomputes instead of loading fr... | 16 | Possible cache miss in datasets
Hi,
I am using the datasets package and even though I run the same data processing functions, datasets always recomputes the function instead of using cache.
I have attached an example script that for me reproduces the problem.
In the attached example the second map function alway... | [
-0.1930397153,
0.1210534796,
0.0500952378,
0.1900933534,
0.0076966397,
0.0369214192,
-0.0168550815,
0.2303499728,
0.0167327691,
-0.1084435508,
0.1029986218,
0.4139712751,
0.2249117196,
-0.111724034,
-0.0011098315,
0.2446132153,
0.3074614704,
0.321693629,
-0.1533997953,
-0.20887... |
https://github.com/huggingface/datasets/issues/1718 | Possible cache miss in datasets | I am having a similar issue where only the grouped files are loaded from cache while the tokenized ones aren't. I can confirm both datasets are being stored to file, but only the grouped version is loaded from cache. Not sure what might be going on. But I've tried to remove all kinds of non deterministic behaviour, but... | Hi,
I am using the datasets package and even though I run the same data processing functions, datasets always recomputes the function instead of using cache.
I have attached an example script that for me reproduces the problem.
In the attached example the second map function always recomputes instead of loading fr... | 274 | Possible cache miss in datasets
Hi,
I am using the datasets package and even though I run the same data processing functions, datasets always recomputes the function instead of using cache.
I have attached an example script that for me reproduces the problem.
In the attached example the second map function alway... | [
-0.1930397153,
0.1210534796,
0.0500952378,
0.1900933534,
0.0076966397,
0.0369214192,
-0.0168550815,
0.2303499728,
0.0167327691,
-0.1084435508,
0.1029986218,
0.4139712751,
0.2249117196,
-0.111724034,
-0.0011098315,
0.2446132153,
0.3074614704,
0.321693629,
-0.1533997953,
-0.20887... |
https://github.com/huggingface/datasets/issues/1717 | SciFact dataset - minor changes | Hi Dave,
You are more than welcome to open a PR to make these changes! 🤗
You will find the relevant information about opening a PR in the [contributing guide](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md) and in the [dataset addition guide](https://github.com/huggingface/datasets/blob/master/A... | Hi,
SciFact dataset creator here. First of all, thanks for adding the dataset to Huggingface, much appreciated!
I'd like to make a few minor changes, including the citation information and the `_URL` from which to download the dataset. Can I submit a PR for this?
It also looks like the dataset is being downloa... | 44 | SciFact dataset - minor changes
Hi,
SciFact dataset creator here. First of all, thanks for adding the dataset to Huggingface, much appreciated!
I'd like to make a few minor changes, including the citation information and the `_URL` from which to download the dataset. Can I submit a PR for this?
It also looks... | [
0.1588937491,
-0.1973486245,
-0.067653738,
0.1470400542,
0.1484657228,
-0.1071612015,
-0.2045498639,
-0.0401365459,
0.0873413458,
-0.0903792605,
-0.0821838155,
0.0158951394,
-0.0085386615,
0.4948689044,
0.1395404339,
-0.2466704547,
0.2298516184,
-0.0996818393,
-0.0266624223,
-0... |
https://github.com/huggingface/datasets/issues/1717 | SciFact dataset - minor changes | > I'd like to make a few minor changes, including the citation information and the `_URL` from which to download the dataset. Can I submit a PR for this?
Sure ! Also feel free to ping us for reviews or if we can help :)
> It also looks like the dataset is being downloaded directly from Huggingface's Google cloud ... | Hi,
SciFact dataset creator here. First of all, thanks for adding the dataset to Huggingface, much appreciated!
I'd like to make a few minor changes, including the citation information and the `_URL` from which to download the dataset. Can I submit a PR for this?
It also looks like the dataset is being downloa... | 91 | SciFact dataset - minor changes
Hi,
SciFact dataset creator here. First of all, thanks for adding the dataset to Huggingface, much appreciated!
I'd like to make a few minor changes, including the citation information and the `_URL` from which to download the dataset. Can I submit a PR for this?
It also looks... | [
0.1750965863,
-0.16272071,
-0.1382709444,
0.1695231348,
0.1716016084,
-0.105484046,
-0.0107194446,
0.0339706391,
0.2187183201,
0.041575361,
-0.1746508181,
0.0221551843,
-0.0037147067,
0.5154718757,
0.1661822945,
-0.2211897224,
0.2049407363,
-0.1498277485,
-0.1490775943,
-0.3085... |
https://github.com/huggingface/datasets/issues/1717 | SciFact dataset - minor changes |
> > I'd like to make a few minor changes, including the citation information and the `_URL` from which to download the dataset. Can I submit a PR for this?
>
> Sure ! Also feel free to ping us for reviews or if we can help :)
>
OK! We're organizing a [shared task](https://sdproc.org/2021/sharedtasks.html#sciv... | Hi,
SciFact dataset creator here. First of all, thanks for adding the dataset to Huggingface, much appreciated!
I'd like to make a few minor changes, including the citation information and the `_URL` from which to download the dataset. Can I submit a PR for this?
It also looks like the dataset is being downloa... | 152 | SciFact dataset - minor changes
Hi,
SciFact dataset creator here. First of all, thanks for adding the dataset to Huggingface, much appreciated!
I'd like to make a few minor changes, including the citation information and the `_URL` from which to download the dataset. Can I submit a PR for this?
It also looks... | [
0.1659244448,
-0.1632088572,
-0.1014100388,
0.2528707981,
0.1667675674,
-0.1169612855,
-0.0117665567,
0.0655815601,
0.2560772598,
0.0539325736,
-0.1586160064,
0.0316011459,
0.0221037772,
0.4208246768,
0.1964264661,
-0.1602757722,
0.1690868288,
-0.1912661791,
-0.1692506373,
-0.2... |
https://github.com/huggingface/datasets/issues/1713 | Installation using conda | Great! Did you guys have a timeframe in mind for the next release?
Thank you for all the great work in developing this library. | Will a conda package for installing datasets be added to the huggingface conda channel? I have installed transformers using conda and would like to use the datasets library to use some of the scripts in the transformers/examples folder but am unable to do so at the moment as datasets can only be installed using pip and... | 24 | Installation using conda
Will a conda package for installing datasets be added to the huggingface conda channel? I have installed transformers using conda and would like to use the datasets library to use some of the scripts in the transformers/examples folder but am unable to do so at the moment as datasets can only... | [
-0.0539571308,
-0.0376587175,
-0.1801619083,
0.1761818677,
0.1911166459,
-0.1741131693,
0.1625531763,
-0.0670137107,
-0.3270973861,
-0.2211775929,
-0.229467243,
0.0597513653,
-0.1889895648,
0.510484457,
0.3297401071,
-0.27755633,
0.2336807698,
0.1860412657,
-0.6403381228,
-0.09... |
https://github.com/huggingface/datasets/issues/1713 | Installation using conda | I think we can have `datasets` on conda by next week. Will see what I can do! | Will a conda package for installing datasets be added to the huggingface conda channel? I have installed transformers using conda and would like to use the datasets library to use some of the scripts in the transformers/examples folder but am unable to do so at the moment as datasets can only be installed using pip and... | 17 | Installation using conda
Will a conda package for installing datasets be added to the huggingface conda channel? I have installed transformers using conda and would like to use the datasets library to use some of the scripts in the transformers/examples folder but am unable to do so at the moment as datasets can only... | [
-0.0149541469,
-0.0426131003,
-0.123647444,
0.1562699527,
0.2540786862,
-0.0092331516,
0.1276859641,
-0.1303182989,
-0.2962278724,
-0.2111262828,
-0.2347902954,
0.0809220523,
-0.1403380781,
0.6276569963,
0.4649844468,
-0.1856291592,
0.1998482198,
0.2295520455,
-0.5902292132,
-0... |
https://github.com/huggingface/datasets/issues/1713 | Installation using conda | `datasets` has been added to the huggingface channel thanks to @LysandreJik :)
It depends on conda-forge though
```
conda install -c huggingface -c conda-forge datasets
``` | Will a conda package for installing datasets be added to the huggingface conda channel? I have installed transformers using conda and would like to use the datasets library to use some of the scripts in the transformers/examples folder but am unable to do so at the moment as datasets can only be installed using pip and... | 26 | Installation using conda
Will a conda package for installing datasets be added to the huggingface conda channel? I have installed transformers using conda and would like to use the datasets library to use some of the scripts in the transformers/examples folder but am unable to do so at the moment as datasets can only... | [
-0.0296041425,
-0.0399745703,
-0.1089974418,
0.1860419363,
0.2394063175,
-0.0445191599,
0.1131716743,
-0.1059009209,
-0.3314248621,
-0.3028706908,
-0.2650929987,
0.104090862,
-0.1357480288,
0.5306630731,
0.3688566089,
-0.0758272186,
0.2095018178,
0.2115166187,
-0.6172249317,
-0... |
https://github.com/huggingface/datasets/issues/1710 | IsADirectoryError when trying to download C4 | I haven't tested C4 on my side so there so there may be a few bugs in the code/adjustments to make.
Here it looks like in c4.py, line 190 one of the `files_to_download` is `'/'` which is invalid.
Valid files are paths to local files or URLs to remote files. | **TLDR**:
I fail to download C4 and see a stacktrace originating in `IsADirectoryError` as an explanation for failure.
How can the problem be fixed?
**VERBOSE**:
I use Python version 3.7 and have the following dependencies listed in my project:
```
datasets==1.2.0
apache-beam==2.26.0
```
When runn... | 50 | IsADirectoryError when trying to download C4
**TLDR**:
I fail to download C4 and see a stacktrace originating in `IsADirectoryError` as an explanation for failure.
How can the problem be fixed?
**VERBOSE**:
I use Python version 3.7 and have the following dependencies listed in my project:
```
dataset... | [
-0.2110010386,
-0.0166829713,
0.0020137043,
0.2388119549,
0.3003629744,
0.0115942154,
0.0879317746,
0.242263779,
-0.1057231799,
0.0968612954,
-0.1910669506,
-0.0968226045,
-0.3083792925,
-0.0378797129,
0.0463684723,
-0.0706738532,
-0.1771390587,
0.2413262278,
-0.492398262,
0.14... |
https://github.com/huggingface/datasets/issues/1706 | Error when downloading a large dataset on slow connection. | Hi ! Is this an issue you have with `openwebtext` specifically or also with other datasets ?
It looks like the downloaded file is corrupted and can't be extracted using `tarfile`.
Could you try loading it again with
```python
import datasets
datasets.load_dataset("openwebtext", download_mode="force_redownload")... | I receive the following error after about an hour trying to download the `openwebtext` dataset.
The code used is:
```python
import datasets
datasets.load_dataset("openwebtext")
```
> Traceback (most recent call last): ... | 44 | Error when downloading a large dataset on slow connection.
I receive the following error after about an hour trying to download the `openwebtext` dataset.
The code used is:
```python
import datasets
datasets.load_dataset("openwebtext")
```
> Traceback (most recent call last): ... | [
-0.4910079837,
0.0278398655,
-0.1026934832,
0.2193086743,
0.2197147608,
0.1100014001,
0.1182750538,
0.4798280001,
0.0537420362,
0.0058269072,
-0.1662470251,
-0.1080520153,
-0.020688599,
0.091933921,
-0.2218508869,
-0.1143090501,
-0.3376919031,
0.2518780529,
-0.1198237464,
-0.01... |
https://github.com/huggingface/datasets/issues/1701 | Some datasets miss dataset_infos.json or dummy_data.zip | Thanks for reporting.
We should indeed add all the missing dummy_data.zip and also the dataset_infos.json at least for lm1b, reclor and wikihow.
For c4 I haven't tested the script and I think we'll require some optimizations regarding beam datasets before processing it.
| While working on dataset REAME generation script at https://github.com/madlag/datasets_readme_generator , I noticed that some datasets miss a dataset_infos.json :
```
c4
lm1b
reclor
wikihow
```
And some does not have a dummy_data.zip :
```
kor_nli
math_dataset
mlqa
ms_marco
newsgroup
qa4mre
qanga... | 42 | Some datasets miss dataset_infos.json or dummy_data.zip
While working on dataset REAME generation script at https://github.com/madlag/datasets_readme_generator , I noticed that some datasets miss a dataset_infos.json :
```
c4
lm1b
reclor
wikihow
```
And some does not have a dummy_data.zip :
```
kor_n... | [
0.1359895319,
0.2731490731,
-0.0461840108,
0.240154013,
0.2858271599,
0.3439725637,
0.2180934548,
0.0033976061,
-0.0467916653,
0.0312938951,
0.1941790432,
0.0641289204,
-0.0075305332,
0.1257323921,
0.1229168028,
-0.0037486646,
0.318076998,
0.1551836431,
0.081028685,
-0.30364501... |
https://github.com/huggingface/datasets/issues/1687 | Question: Shouldn't .info be a part of DatasetDict? | We could do something. There is a part of `.info` which is split specific (cache files, split instructions) but maybe if could be made to work. | Currently, only `Dataset` contains the .info or .features, but as many datasets contains standard splits (train, test) and thus the underlying information is the same (or at least should be) across the datasets.
For instance:
```
>>> ds = datasets.load_dataset("conll2002", "es")
>>> ds.info
Traceback (most rece... | 26 | Question: Shouldn't .info be a part of DatasetDict?
Currently, only `Dataset` contains the .info or .features, but as many datasets contains standard splits (train, test) and thus the underlying information is the same (or at least should be) across the datasets.
For instance:
```
>>> ds = datasets.load_dataset... | [
0.0918116346,
-0.132985428,
-0.0601034798,
0.317915827,
0.1159817502,
0.2852309942,
0.4842664003,
0.1040409654,
0.1170901507,
-0.0210736115,
0.1198937967,
-0.0122082401,
0.1128127724,
0.572326839,
-0.0662025139,
-0.164182514,
-0.070598647,
0.1487157345,
0.4008665681,
-0.2172871... |
https://github.com/huggingface/datasets/issues/1687 | Question: Shouldn't .info be a part of DatasetDict? | Yes this was kinda the idea I was going for. DatasetDict.info would be the shared info amongs the datasets (maybe even some info on how they differ). | Currently, only `Dataset` contains the .info or .features, but as many datasets contains standard splits (train, test) and thus the underlying information is the same (or at least should be) across the datasets.
For instance:
```
>>> ds = datasets.load_dataset("conll2002", "es")
>>> ds.info
Traceback (most rece... | 27 | Question: Shouldn't .info be a part of DatasetDict?
Currently, only `Dataset` contains the .info or .features, but as many datasets contains standard splits (train, test) and thus the underlying information is the same (or at least should be) across the datasets.
For instance:
```
>>> ds = datasets.load_dataset... | [
0.109234497,
-0.1863410622,
-0.052232556,
0.3248640895,
0.1043856218,
0.2396509647,
0.4616636038,
0.01808686,
0.076929085,
0.019750068,
0.1676872373,
0.0010693052,
0.0968393981,
0.5461279154,
-0.0978985801,
-0.1037993357,
-0.0594278201,
0.1388871372,
0.3905677497,
-0.2515947521... |
https://github.com/huggingface/datasets/issues/1686 | Dataset Error: DaNE contains empty samples at the end | One the PR is merged the fix will be available in the next release of `datasets`.
If you don't want to wait the next release you can still load the script from the master branch with
```python
load_dataset("dane", script_version="master")
``` | The dataset DaNE, contains empty samples at the end. It is naturally easy to remove using a filter but should probably not be there, to begin with as it can cause errors.
```python
>>> import datasets
[...]
>>> dataset = datasets.load_dataset("dane")
[...]
>>> dataset["test"][-1]
{'dep_ids': [], 'dep_labels': ... | 40 | Dataset Error: DaNE contains empty samples at the end
The dataset DaNE, contains empty samples at the end. It is naturally easy to remove using a filter but should probably not be there, to begin with as it can cause errors.
```python
>>> import datasets
[...]
>>> dataset = datasets.load_dataset("dane")
[...]
... | [
-0.1232692003,
-0.1505775303,
-0.2077826858,
-0.0634229034,
0.2767206132,
0.1347071379,
0.3861129582,
0.3464492559,
0.2240540385,
0.255048722,
0.1427296549,
0.2462116927,
-0.102141127,
0.1205540746,
-0.0594546907,
-0.1890435964,
0.0712748617,
0.2300371975,
-0.2116482705,
-0.216... |
https://github.com/huggingface/datasets/issues/1683 | `ArrowInvalid` occurs while running `Dataset.map()` function for DPRContext | Looks like the mapping function returns a dictionary with a 768-dim array in the `embeddings` field. Since the map is batched, we actually expect the `embeddings` field to be an array of shape (batch_size, 768) to have one embedding per example in the batch.
To fix that can you try to remove one of the `[0]` ? In my... | It seems to fail the final batch ):
steps to reproduce:
```
from datasets import load_dataset
from elasticsearch import Elasticsearch
import torch
from transformers import file_utils, set_seed
from transformers import DPRContextEncoder, DPRContextEncoderTokenizerFast
MAX_SEQ_LENGTH = 256
ctx_encoder = DPRCon... | 68 | `ArrowInvalid` occurs while running `Dataset.map()` function for DPRContext
It seems to fail the final batch ):
steps to reproduce:
```
from datasets import load_dataset
from elasticsearch import Elasticsearch
import torch
from transformers import file_utils, set_seed
from transformers import DPRContextEncod... | [
-0.5113662481,
-0.3407375515,
-0.1262719035,
0.0608499236,
0.0776377618,
0.1417673379,
-0.0187117942,
0.2698066533,
-0.2622149885,
0.0491959639,
0.1108063236,
0.5883789062,
-0.0307826847,
-0.1317681819,
-0.4038938582,
-0.0905742571,
-0.0616567396,
0.121905826,
0.2424555272,
-0.... |
https://github.com/huggingface/datasets/issues/1681 | Dataset "dane" missing | Hi @KennethEnevoldsen ,
I think the issue might be that this dataset was added during the community sprint and has not been released yet. It will be available with the v2 of datasets.
For now, you should be able to load the datasets after installing the latest (master) version of datasets using pip:
pip install git+... | the `dane` dataset appear to be missing in the latest version (1.1.3).
```python
>>> import datasets
>>> datasets.__version__
'1.1.3'
>>> "dane" in datasets.list_datasets()
True
```
As we can see it should be present, but doesn't seem to be findable when using `load_dataset`.
```python
>>> datasets.load... | 56 | Dataset "dane" missing
the `dane` dataset appear to be missing in the latest version (1.1.3).
```python
>>> import datasets
>>> datasets.__version__
'1.1.3'
>>> "dane" in datasets.list_datasets()
True
```
As we can see it should be present, but doesn't seem to be findable when using `load_dataset`.
```... | [
-0.0066536651,
-0.0612566136,
-0.0992993116,
0.1284518391,
0.2658340633,
0.2934043109,
0.4646620154,
0.1487026066,
0.2840230763,
0.0827284008,
0.1303288192,
0.0408588648,
-0.0920237079,
-0.1245876104,
0.2971785069,
-0.2793466747,
0.220217526,
0.0512977578,
0.1837167442,
-0.1475... |
https://github.com/huggingface/datasets/issues/1681 | Dataset "dane" missing | The `dane` dataset was added recently, that's why it wasn't available yet. We did an intermediate release today just before the v2.0.
To load it you can just update `datasets`
```
pip install --upgrade datasets
```
and then you can load `dane` with
```python
from datasets import load_dataset
dataset = l... | the `dane` dataset appear to be missing in the latest version (1.1.3).
```python
>>> import datasets
>>> datasets.__version__
'1.1.3'
>>> "dane" in datasets.list_datasets()
True
```
As we can see it should be present, but doesn't seem to be findable when using `load_dataset`.
```python
>>> datasets.load... | 52 | Dataset "dane" missing
the `dane` dataset appear to be missing in the latest version (1.1.3).
```python
>>> import datasets
>>> datasets.__version__
'1.1.3'
>>> "dane" in datasets.list_datasets()
True
```
As we can see it should be present, but doesn't seem to be findable when using `load_dataset`.
```... | [
-0.0066536651,
-0.0612566136,
-0.0992993116,
0.1284518391,
0.2658340633,
0.2934043109,
0.4646620154,
0.1487026066,
0.2840230763,
0.0827284008,
0.1303288192,
0.0408588648,
-0.0920237079,
-0.1245876104,
0.2971785069,
-0.2793466747,
0.220217526,
0.0512977578,
0.1837167442,
-0.1475... |
https://github.com/huggingface/datasets/issues/1679 | Can't import cc100 dataset | cc100 was added recently, that's why it wasn't available yet.
To load it you can just update `datasets`
```
pip install --upgrade datasets
```
and then you can load `cc100` with
```python
from datasets import load_dataset
lang = "en"
dataset = load_dataset("cc100", lang=lang, split="train")
``` | There is some issue to import cc100 dataset.
```
from datasets import load_dataset
dataset = load_dataset("cc100")
```
FileNotFoundError: Couldn't find file at https://raw.githubusercontent.com/huggingface/datasets/1.1.3/datasets/cc100/cc100.py
During handling of the above exception, another exception occur... | 45 | Can't import cc100 dataset
There is some issue to import cc100 dataset.
```
from datasets import load_dataset
dataset = load_dataset("cc100")
```
FileNotFoundError: Couldn't find file at https://raw.githubusercontent.com/huggingface/datasets/1.1.3/datasets/cc100/cc100.py
During handling of the above excep... | [
-0.2749533355,
-0.3488155007,
-0.1628866047,
0.2345294952,
0.3763967156,
0.1457454562,
0.0886668563,
0.0246393532,
0.0158820096,
0.2067761719,
-0.1255749613,
0.05841491,
0.0227050912,
0.3194366395,
0.0983809233,
-0.0054023261,
0.1296454221,
0.1373706609,
-0.3452748656,
0.014620... |
https://github.com/huggingface/datasets/issues/1675 | Add the 800GB Pile dataset? | The pile dataset would be very nice.
Benchmarks show that pile trained models achieve better results than most of actually trained models | ## Adding a Dataset
- **Name:** The Pile
- **Description:** The Pile is a 825 GiB diverse, open source language modelling data set that consists of 22 smaller, high-quality datasets combined together. See [here](https://twitter.com/nabla_theta/status/1345130408170541056?s=20) for the Twitter announcement
- **Paper:*... | 22 | Add the 800GB Pile dataset?
## Adding a Dataset
- **Name:** The Pile
- **Description:** The Pile is a 825 GiB diverse, open source language modelling data set that consists of 22 smaller, high-quality datasets combined together. See [here](https://twitter.com/nabla_theta/status/1345130408170541056?s=20) for the Twi... | [
-0.3252148926,
0.2130675018,
-0.1506745964,
0.1371283233,
0.0009428455,
0.2578673661,
0.1434529275,
0.2466029972,
-0.0307178367,
-0.063928768,
-0.157744959,
0.1487944424,
-0.593429625,
0.1841430515,
0.2048875988,
-0.022366181,
-0.0074281031,
-0.1229639873,
-0.0401776284,
-0.074... |
https://github.com/huggingface/datasets/issues/1675 | Add the 800GB Pile dataset? | The pile can very easily be added and adapted using this [tfds implementation](https://github.com/EleutherAI/The-Pile/blob/master/the_pile/tfds_pile.py) from the repo.
However, the question is whether you'd be ok with 800GB+ cached in your local disk, since the tfds implementation was designed to offload the storag... | ## Adding a Dataset
- **Name:** The Pile
- **Description:** The Pile is a 825 GiB diverse, open source language modelling data set that consists of 22 smaller, high-quality datasets combined together. See [here](https://twitter.com/nabla_theta/status/1345130408170541056?s=20) for the Twitter announcement
- **Paper:*... | 45 | Add the 800GB Pile dataset?
## Adding a Dataset
- **Name:** The Pile
- **Description:** The Pile is a 825 GiB diverse, open source language modelling data set that consists of 22 smaller, high-quality datasets combined together. See [here](https://twitter.com/nabla_theta/status/1345130408170541056?s=20) for the Twi... | [
-0.305496484,
0.0699854121,
-0.1604181975,
0.1612250805,
0.0583352074,
0.2056466937,
0.1664934903,
0.1528969854,
0.0987020284,
0.0379918776,
-0.2099472582,
-0.0474002361,
-0.5426978469,
0.1175634265,
0.1921432316,
0.0196069498,
0.0165604539,
-0.1210945696,
-0.1276662499,
-0.001... |
https://github.com/huggingface/datasets/issues/1675 | Add the 800GB Pile dataset? | With the dataset streaming feature (see #2375) it will be more convenient to play with such big datasets :)
I'm currently adding C4 (see #2511 ) but I can probably start working on this afterwards | ## Adding a Dataset
- **Name:** The Pile
- **Description:** The Pile is a 825 GiB diverse, open source language modelling data set that consists of 22 smaller, high-quality datasets combined together. See [here](https://twitter.com/nabla_theta/status/1345130408170541056?s=20) for the Twitter announcement
- **Paper:*... | 35 | Add the 800GB Pile dataset?
## Adding a Dataset
- **Name:** The Pile
- **Description:** The Pile is a 825 GiB diverse, open source language modelling data set that consists of 22 smaller, high-quality datasets combined together. See [here](https://twitter.com/nabla_theta/status/1345130408170541056?s=20) for the Twi... | [
-0.4098333418,
0.1263113767,
-0.1624411345,
0.1556787342,
0.017111022,
0.171514377,
0.0879783779,
0.2739041448,
0.011103414,
0.0194851812,
-0.157459721,
0.1408568621,
-0.5226860642,
0.1926294863,
0.1664163172,
-0.0006092828,
-0.0227246191,
-0.0548107512,
-0.1018029228,
-0.02839... |
https://github.com/huggingface/datasets/issues/1675 | Add the 800GB Pile dataset? | Hi folks! Just wanted to follow up on this -- would be really nice to get the Pile on HF Datasets... unclear if it would be easy to also add partitions of the Pile subject to the original 22 datasets used, but that would be nice too! | ## Adding a Dataset
- **Name:** The Pile
- **Description:** The Pile is a 825 GiB diverse, open source language modelling data set that consists of 22 smaller, high-quality datasets combined together. See [here](https://twitter.com/nabla_theta/status/1345130408170541056?s=20) for the Twitter announcement
- **Paper:*... | 47 | Add the 800GB Pile dataset?
## Adding a Dataset
- **Name:** The Pile
- **Description:** The Pile is a 825 GiB diverse, open source language modelling data set that consists of 22 smaller, high-quality datasets combined together. See [here](https://twitter.com/nabla_theta/status/1345130408170541056?s=20) for the Twi... | [
-0.2462541759,
0.1785698831,
-0.1075271368,
0.2075332552,
-0.0628192052,
0.2498988956,
0.1501436532,
0.1807029247,
0.1075054482,
-0.0014592971,
-0.3454719484,
0.0975166559,
-0.4746155441,
0.2544949353,
0.1928560287,
-0.0652396753,
-0.0322020762,
-0.2071848065,
-0.1370312572,
-0... |
https://github.com/huggingface/datasets/issues/1675 | Add the 800GB Pile dataset? | Hi folks, thanks to some awesome work by @lhoestq and @albertvillanova you can now stream the Pile as follows:
```python
# Install master branch of `datasets`
pip install git+https://github.com/huggingface/datasets.git#egg=datasets[streaming]
pip install zstandard
from datasets import load_dataset
dset = lo... | ## Adding a Dataset
- **Name:** The Pile
- **Description:** The Pile is a 825 GiB diverse, open source language modelling data set that consists of 22 smaller, high-quality datasets combined together. See [here](https://twitter.com/nabla_theta/status/1345130408170541056?s=20) for the Twitter announcement
- **Paper:*... | 92 | Add the 800GB Pile dataset?
## Adding a Dataset
- **Name:** The Pile
- **Description:** The Pile is a 825 GiB diverse, open source language modelling data set that consists of 22 smaller, high-quality datasets combined together. See [here](https://twitter.com/nabla_theta/status/1345130408170541056?s=20) for the Twi... | [
-0.3223572969,
-0.0436931588,
-0.1469397098,
0.0411980189,
0.2053313255,
0.0567986183,
0.1199196652,
0.2633143961,
-0.0495687053,
0.1010036543,
-0.2534808218,
0.1415166259,
-0.4532610774,
0.1955076754,
0.1572090834,
0.0147250528,
-0.0914571062,
-0.0514793359,
0.0360939205,
-0.0... |
https://github.com/huggingface/datasets/issues/1675 | Add the 800GB Pile dataset? | > Hi folks! Just wanted to follow up on this -- would be really nice to get the Pile on HF Datasets... unclear if it would be easy to also add partitions of the Pile subject to the original 22 datasets used, but that would be nice too!
Hi @siddk thanks to a tip from @richarddwang it seems we can access some of the p... | ## Adding a Dataset
- **Name:** The Pile
- **Description:** The Pile is a 825 GiB diverse, open source language modelling data set that consists of 22 smaller, high-quality datasets combined together. See [here](https://twitter.com/nabla_theta/status/1345130408170541056?s=20) for the Twitter announcement
- **Paper:*... | 199 | Add the 800GB Pile dataset?
## Adding a Dataset
- **Name:** The Pile
- **Description:** The Pile is a 825 GiB diverse, open source language modelling data set that consists of 22 smaller, high-quality datasets combined together. See [here](https://twitter.com/nabla_theta/status/1345130408170541056?s=20) for the Twi... | [
-0.2282570153,
0.1881411672,
-0.0650017336,
0.125412479,
0.0126014054,
0.2586632371,
0.3119368255,
0.332231462,
0.1376137286,
0.0271330867,
-0.4386693537,
0.0903871208,
-0.4766183496,
0.3780530989,
0.2840979397,
-0.1374838948,
-0.0587183423,
-0.2501311004,
-0.0747231394,
-0.179... |
https://github.com/huggingface/datasets/issues/1675 | Add the 800GB Pile dataset? | Ah I just saw that @lhoestq is already thinking about the specifying of one or more subsets in [this PR](https://github.com/huggingface/datasets/pull/2817#issuecomment-901874049) :) | ## Adding a Dataset
- **Name:** The Pile
- **Description:** The Pile is a 825 GiB diverse, open source language modelling data set that consists of 22 smaller, high-quality datasets combined together. See [here](https://twitter.com/nabla_theta/status/1345130408170541056?s=20) for the Twitter announcement
- **Paper:*... | 21 | Add the 800GB Pile dataset?
## Adding a Dataset
- **Name:** The Pile
- **Description:** The Pile is a 825 GiB diverse, open source language modelling data set that consists of 22 smaller, high-quality datasets combined together. See [here](https://twitter.com/nabla_theta/status/1345130408170541056?s=20) for the Twi... | [
-0.3140251935,
0.1560879052,
-0.1577558517,
0.1820484847,
-0.0277117006,
0.2084934562,
0.157641083,
0.1906450242,
0.0126799811,
-0.046363581,
-0.1654876769,
0.1902201325,
-0.4964600205,
0.2447129041,
0.226472348,
-0.0362906717,
-0.023985317,
-0.1179164797,
-0.088708885,
-0.0244... |
https://github.com/huggingface/datasets/issues/1674 | dutch_social can't be loaded | Hi @koenvandenberge and @alighofrani95!
The datasets you're experiencing issues with were most likely added recently to the `datasets` library, meaning they have not been released yet. They will be released with the v2 of the library.
Meanwhile, you can still load the datasets using one of the techniques described in... | Hi all,
I'm trying to import the `dutch_social` dataset described [here](https://huggingface.co/datasets/dutch_social).
However, the code that should load the data doesn't seem to be working, in particular because the corresponding files can't be found at the provided links.
```
(base) Koens-MacBook-Pro:~ koe... | 59 | dutch_social can't be loaded
Hi all,
I'm trying to import the `dutch_social` dataset described [here](https://huggingface.co/datasets/dutch_social).
However, the code that should load the data doesn't seem to be working, in particular because the corresponding files can't be found at the provided links.
```
... | [
-0.1440131813,
-0.1277865171,
-0.1560758054,
0.2933970392,
0.2167993635,
-0.1348887831,
-0.012057675,
0.0937406942,
0.3958031237,
-0.0862965584,
-0.2941344082,
-0.0078356685,
0.019675767,
-0.0421468876,
0.1373222619,
0.1136011779,
0.2246763557,
0.0936488882,
0.1446139365,
-0.13... |
https://github.com/huggingface/datasets/issues/1674 | dutch_social can't be loaded | I just did the release :)
To load it you can just update `datasets`
```
pip install --upgrade datasets
```
and then you can load `dutch_social` with
```python
from datasets import load_dataset
dataset = load_dataset("dutch_social")
``` | Hi all,
I'm trying to import the `dutch_social` dataset described [here](https://huggingface.co/datasets/dutch_social).
However, the code that should load the data doesn't seem to be working, in particular because the corresponding files can't be found at the provided links.
```
(base) Koens-MacBook-Pro:~ koe... | 36 | dutch_social can't be loaded
Hi all,
I'm trying to import the `dutch_social` dataset described [here](https://huggingface.co/datasets/dutch_social).
However, the code that should load the data doesn't seem to be working, in particular because the corresponding files can't be found at the provided links.
```
... | [
-0.1440131813,
-0.1277865171,
-0.1560758054,
0.2933970392,
0.2167993635,
-0.1348887831,
-0.012057675,
0.0937406942,
0.3958031237,
-0.0862965584,
-0.2941344082,
-0.0078356685,
0.019675767,
-0.0421468876,
0.1373222619,
0.1136011779,
0.2246763557,
0.0936488882,
0.1446139365,
-0.13... |
https://github.com/huggingface/datasets/issues/1674 | dutch_social can't be loaded | @lhoestq could you also shed light on the Hindi Wikipedia Dataset for issue number #1673. Will this also be available in the new release that you committed recently? | Hi all,
I'm trying to import the `dutch_social` dataset described [here](https://huggingface.co/datasets/dutch_social).
However, the code that should load the data doesn't seem to be working, in particular because the corresponding files can't be found at the provided links.
```
(base) Koens-MacBook-Pro:~ koe... | 28 | dutch_social can't be loaded
Hi all,
I'm trying to import the `dutch_social` dataset described [here](https://huggingface.co/datasets/dutch_social).
However, the code that should load the data doesn't seem to be working, in particular because the corresponding files can't be found at the provided links.
```
... | [
-0.1440131813,
-0.1277865171,
-0.1560758054,
0.2933970392,
0.2167993635,
-0.1348887831,
-0.012057675,
0.0937406942,
0.3958031237,
-0.0862965584,
-0.2941344082,
-0.0078356685,
0.019675767,
-0.0421468876,
0.1373222619,
0.1136011779,
0.2246763557,
0.0936488882,
0.1446139365,
-0.13... |
https://github.com/huggingface/datasets/issues/1674 | dutch_social can't be loaded | Okay. Could you comment on the #1673 thread? Actually @thomwolf had commented that if i use datasets library from source, it would allow me to download the Hindi Wikipedia Dataset but even the version 1.1.3 gave me the same issue. The details are there in the issue #1673 thread. | Hi all,
I'm trying to import the `dutch_social` dataset described [here](https://huggingface.co/datasets/dutch_social).
However, the code that should load the data doesn't seem to be working, in particular because the corresponding files can't be found at the provided links.
```
(base) Koens-MacBook-Pro:~ koe... | 49 | dutch_social can't be loaded
Hi all,
I'm trying to import the `dutch_social` dataset described [here](https://huggingface.co/datasets/dutch_social).
However, the code that should load the data doesn't seem to be working, in particular because the corresponding files can't be found at the provided links.
```
... | [
-0.1440131813,
-0.1277865171,
-0.1560758054,
0.2933970392,
0.2167993635,
-0.1348887831,
-0.012057675,
0.0937406942,
0.3958031237,
-0.0862965584,
-0.2941344082,
-0.0078356685,
0.019675767,
-0.0421468876,
0.1373222619,
0.1136011779,
0.2246763557,
0.0936488882,
0.1446139365,
-0.13... |
https://github.com/huggingface/datasets/issues/1673 | Unable to Download Hindi Wikipedia Dataset | Currently this dataset is only available when the library is installed from source since it was added after the last release.
We pin the dataset version with the library version so that people can have a reproducible dataset and processing when pinning the library.
We'll see if we can provide access to newer data... | I used the Dataset Library in Python to load the wikipedia dataset with the Hindi Config 20200501.hi along with something called beam_runner='DirectRunner' and it keeps giving me the error that the file is not found. I have attached the screenshot of the error and the code both. Please help me to understand how to reso... | 72 | Unable to Download Hindi Wikipedia Dataset
I used the Dataset Library in Python to load the wikipedia dataset with the Hindi Config 20200501.hi along with something called beam_runner='DirectRunner' and it keeps giving me the error that the file is not found. I have attached the screenshot of the error and the code b... | [
-0.1846336275,
0.0373017453,
-0.0611195005,
0.2292179614,
0.0532093607,
0.1153834686,
-0.0216609593,
0.3467037678,
0.2222076356,
0.0246451553,
0.3987333477,
0.0744653419,
0.0466894992,
0.217279166,
0.1481216252,
-0.383197099,
0.0711240023,
-0.0032806818,
0.040737126,
0.12777835... |
https://github.com/huggingface/datasets/issues/1673 | Unable to Download Hindi Wikipedia Dataset | So for now, should i try and install the library from source and then try out the same piece of code? Will it work then, considering both the versions will match then? | I used the Dataset Library in Python to load the wikipedia dataset with the Hindi Config 20200501.hi along with something called beam_runner='DirectRunner' and it keeps giving me the error that the file is not found. I have attached the screenshot of the error and the code both. Please help me to understand how to reso... | 32 | Unable to Download Hindi Wikipedia Dataset
I used the Dataset Library in Python to load the wikipedia dataset with the Hindi Config 20200501.hi along with something called beam_runner='DirectRunner' and it keeps giving me the error that the file is not found. I have attached the screenshot of the error and the code b... | [
-0.1116187349,
0.13646321,
-0.0870576799,
0.2553955913,
0.0008568426,
0.0589529499,
-0.0200850647,
0.3475778699,
0.1966427416,
-0.0311862994,
0.4182323813,
0.0535379946,
0.0738413185,
0.2070576847,
0.1762296557,
-0.3135472238,
0.1087694168,
0.1200551912,
0.0042041885,
0.0592676... |
https://github.com/huggingface/datasets/issues/1673 | Unable to Download Hindi Wikipedia Dataset | Hey, so i tried installing the library from source using the commands : **git clone https://github.com/huggingface/datasets**, **cd datasets** and then **pip3 install -e .**. But i still am facing the same error that file is not found. Please advise.
The Datasets library version now is 1.1.3 by installing from sour... | I used the Dataset Library in Python to load the wikipedia dataset with the Hindi Config 20200501.hi along with something called beam_runner='DirectRunner' and it keeps giving me the error that the file is not found. I have attached the screenshot of the error and the code both. Please help me to understand how to reso... | 71 | Unable to Download Hindi Wikipedia Dataset
I used the Dataset Library in Python to load the wikipedia dataset with the Hindi Config 20200501.hi along with something called beam_runner='DirectRunner' and it keeps giving me the error that the file is not found. I have attached the screenshot of the error and the code b... | [
-0.1465504318,
0.0689321235,
-0.0685982034,
0.2491660118,
0.094022207,
0.0981623232,
-0.0108037731,
0.3002649546,
0.2056314051,
0.0105529446,
0.3993402421,
0.1249027178,
0.0944126323,
0.1712746024,
0.2068688273,
-0.3449138403,
0.0655946806,
0.1091005504,
-0.0037664038,
0.109917... |
https://github.com/huggingface/datasets/issues/1673 | Unable to Download Hindi Wikipedia Dataset | Looks like the wikipedia dump for hindi at the date of 05/05/2020 is not available anymore.
You can try to load a more recent version of wikipedia
```python
from datasets import load_dataset
d = load_dataset("wikipedia", language="hi", date="20210101", split="train", beam_runner="DirectRunner")
``` | I used the Dataset Library in Python to load the wikipedia dataset with the Hindi Config 20200501.hi along with something called beam_runner='DirectRunner' and it keeps giving me the error that the file is not found. I have attached the screenshot of the error and the code both. Please help me to understand how to reso... | 40 | Unable to Download Hindi Wikipedia Dataset
I used the Dataset Library in Python to load the wikipedia dataset with the Hindi Config 20200501.hi along with something called beam_runner='DirectRunner' and it keeps giving me the error that the file is not found. I have attached the screenshot of the error and the code b... | [
-0.1142457947,
0.0112917926,
-0.0827289745,
0.1881919205,
0.0503295176,
0.2031105906,
-0.021709688,
0.4027993381,
0.2084723264,
-0.005866054,
0.297100842,
-0.0106386403,
0.1007414311,
0.1128164306,
0.1189810783,
-0.3750504255,
0.0604315288,
-0.0714056343,
0.1233819202,
0.074284... |
https://github.com/huggingface/datasets/issues/1672 | load_dataset hang on file_lock | Having the same issue with `datasets 1.1.3` of `1.5.0` (both tracebacks look the same) and `kilt_wikipedia`, Ubuntu 20.04
```py
In [1]: from datasets import load_dataset ... | I am trying to load the squad dataset. Fails on Windows 10 but succeeds in Colab.
Transformers: 3.3.1
Datasets: 1.0.2
Windows 10 (also tested in WSL)
```
datasets.logging.set_verbosity_debug()
datasets.
train_dataset = load_dataset('squad', split='train')
valid_dataset = load_dataset('squad', split='validat... | 234 | load_dataset hang on file_lock
I am trying to load the squad dataset. Fails on Windows 10 but succeeds in Colab.
Transformers: 3.3.1
Datasets: 1.0.2
Windows 10 (also tested in WSL)
```
datasets.logging.set_verbosity_debug()
datasets.
train_dataset = load_dataset('squad', split='train')
valid_dataset = loa... | [
-0.3021154106,
-0.021521451,
-0.0879951268,
0.1789362729,
0.5179892182,
0.1499255449,
0.5325865746,
-0.0388460867,
0.0199958496,
0.0043181754,
-0.2535484433,
0.2555572093,
-0.0103852637,
-0.1183218285,
-0.0975557417,
0.0359975398,
0.0950897634,
0.1051172093,
0.0844943896,
0.112... |
https://github.com/huggingface/datasets/issues/1671 | connection issue | Also, mayjor issue for me is the format issue, even if I go through changing the whole code to use load_from_disk, then if I do
d = datasets.load_from_disk("imdb")
d = d["train"][:10] => the format of this is no more in datasets format
this is different from you call load_datasets("train[10]")
could you tell m... | Hi
I am getting this connection issue, resulting in large failure on cloud, @lhoestq I appreciate your help on this.
If I want to keep the codes the same, so not using save_to_disk, load_from_disk, but save the datastes in the way load_dataset reads from and copy the files in the same folder the datasets library r... | 64 | connection issue
Hi
I am getting this connection issue, resulting in large failure on cloud, @lhoestq I appreciate your help on this.
If I want to keep the codes the same, so not using save_to_disk, load_from_disk, but save the datastes in the way load_dataset reads from and copy the files in the same folder th... | [
-0.4165683389,
0.2338406593,
0.0117214667,
0.3550442457,
0.4361406267,
-0.1840167493,
0.1718589216,
0.2030178756,
-0.1961053312,
0.0112288157,
-0.2930116951,
0.1609506011,
0.1448514611,
0.295597285,
0.0645912215,
-0.0235870313,
-0.1781958342,
0.0235759448,
-0.4069023132,
-0.195... |
https://github.com/huggingface/datasets/issues/1671 | connection issue | > `
requests.exceptions.ConnectTimeout: HTTPSConnectionPool(host='s3.amazonaws.com', port=443): Max retries exceeded with url: /datasets.huggingface.co/datasets/datasets/glue/glue.py (Caused by ConnectTimeoutError(<urllib3.connection.HTTPSConnection object at 0x7ff6d6c60a20>, 'Connection to s3.amazonaws.com timed out.... | Hi
I am getting this connection issue, resulting in large failure on cloud, @lhoestq I appreciate your help on this.
If I want to keep the codes the same, so not using save_to_disk, load_from_disk, but save the datastes in the way load_dataset reads from and copy the files in the same folder the datasets library r... | 210 | connection issue
Hi
I am getting this connection issue, resulting in large failure on cloud, @lhoestq I appreciate your help on this.
If I want to keep the codes the same, so not using save_to_disk, load_from_disk, but save the datastes in the way load_dataset reads from and copy the files in the same folder th... | [
-0.4165683389,
0.2338406593,
0.0117214667,
0.3550442457,
0.4361406267,
-0.1840167493,
0.1718589216,
0.2030178756,
-0.1961053312,
0.0112288157,
-0.2930116951,
0.1609506011,
0.1448514611,
0.295597285,
0.0645912215,
-0.0235870313,
-0.1781958342,
0.0235759448,
-0.4069023132,
-0.195... |
https://github.com/huggingface/datasets/issues/1670 | wiki_dpr pre-processing performance | Hi ! And thanks for the tips :)
Indeed currently `wiki_dpr` takes some time to be processed.
Multiprocessing for dataset generation is definitely going to speed up things.
Regarding the index note that for the default configurations, the index is downloaded instead of being built, which avoid spending time on c... | I've been working with wiki_dpr and noticed that the dataset processing is seriously impaired in performance [1]. It takes about 12h to process the entire dataset. Most of this time is simply loading and processing the data, but the actual indexing is also quite slow (3h).
I won't repeat the concerns around multipro... | 129 | wiki_dpr pre-processing performance
I've been working with wiki_dpr and noticed that the dataset processing is seriously impaired in performance [1]. It takes about 12h to process the entire dataset. Most of this time is simply loading and processing the data, but the actual indexing is also quite slow (3h).
I won... | [
-0.2196647376,
-0.1832675636,
-0.1137229055,
0.0881327093,
-0.113555789,
-0.0815374181,
0.0223088805,
0.3311192393,
0.1895470023,
0.0709528103,
0.02052138,
-0.1025921777,
0.3246051669,
0.1452310681,
-0.3447281718,
-0.2720116675,
0.2055480778,
0.0610852726,
0.1536912918,
0.00857... |
https://github.com/huggingface/datasets/issues/1670 | wiki_dpr pre-processing performance | I'd be happy to contribute something when I get the time, probably adding multiprocessing and / or cython support to wiki_dpr. I've written cythonized apache beam code before as well.
For sharded index building, I used the FAISS example code for indexing 1 billion vectors as a start. I'm sure you're aware that the d... | I've been working with wiki_dpr and noticed that the dataset processing is seriously impaired in performance [1]. It takes about 12h to process the entire dataset. Most of this time is simply loading and processing the data, but the actual indexing is also quite slow (3h).
I won't repeat the concerns around multipro... | 66 | wiki_dpr pre-processing performance
I've been working with wiki_dpr and noticed that the dataset processing is seriously impaired in performance [1]. It takes about 12h to process the entire dataset. Most of this time is simply loading and processing the data, but the actual indexing is also quite slow (3h).
I won... | [
-0.2264905572,
-0.1561906189,
-0.1201761141,
0.0668546632,
-0.1370593458,
-0.0890743583,
0.0256169755,
0.3342381418,
0.1915272474,
0.0689787194,
0.0395435058,
-0.0971363112,
0.3024311066,
0.1471913755,
-0.3419130147,
-0.2786286473,
0.2023193091,
0.0613184273,
0.1484083682,
0.02... |
https://github.com/huggingface/datasets/issues/1662 | Arrow file is too large when saving vector data | Hi !
The arrow file size is due to the embeddings. Indeed if they're stored as float32 then the total size of the embeddings is
20 000 000 vectors * 768 dimensions * 4 bytes per dimension ~= 60GB
If you want to reduce the size you can consider using quantization for example, or maybe using dimension reduction te... | I computed the sentence embedding of each sentence of bookcorpus data using bert base and saved them to disk. I used 20M sentences and the obtained arrow file is about 59GB while the original text file is only about 1.3GB. Are there any ways to reduce the size of the arrow file? | 59 | Arrow file is too large when saving vector data
I computed the sentence embedding of each sentence of bookcorpus data using bert base and saved them to disk. I used 20M sentences and the obtained arrow file is about 59GB while the original text file is only about 1.3GB. Are there any ways to reduce the size of the ar... | [
0.1137218922,
-0.3316559196,
-0.0589660779,
0.4534537196,
0.1343119889,
-0.1161569655,
-0.1786449999,
0.4608654082,
-0.4080988169,
0.3328984082,
0.1982358247,
-0.0884744152,
-0.1221769527,
-0.1876728535,
-0.1028835773,
-0.1468022466,
0.120652318,
0.4042371511,
0.0463363901,
-0.... |
https://github.com/huggingface/datasets/issues/1662 | Arrow file is too large when saving vector data | Thanks for your reply @lhoestq.
I want to save original embedding for these sentences for subsequent calculations. So does arrow have a way to save in a compressed format to reduce the size of the file? | I computed the sentence embedding of each sentence of bookcorpus data using bert base and saved them to disk. I used 20M sentences and the obtained arrow file is about 59GB while the original text file is only about 1.3GB. Are there any ways to reduce the size of the arrow file? | 36 | Arrow file is too large when saving vector data
I computed the sentence embedding of each sentence of bookcorpus data using bert base and saved them to disk. I used 20M sentences and the obtained arrow file is about 59GB while the original text file is only about 1.3GB. Are there any ways to reduce the size of the ar... | [
0.0672641769,
-0.2825365067,
-0.0641458035,
0.4023744464,
0.0808352977,
-0.0537766591,
-0.2692090273,
0.4793399572,
-0.5607510805,
0.3315006495,
0.1089843363,
0.1340750009,
-0.1180464327,
-0.2116096765,
0.0485852137,
-0.0961461142,
0.0595266484,
0.4329222143,
0.0893183053,
0.01... |
https://github.com/huggingface/datasets/issues/1647 | NarrativeQA fails to load with `load_dataset` | Hi @eric-mitchell,
I think the issue might be that this dataset was added during the community sprint and has not been released yet. It will be available with the v2 of `datasets`.
For now, you should be able to load the datasets after installing the latest (master) version of `datasets` using pip:
`pip install git+... | When loading the NarrativeQA dataset with `load_dataset('narrativeqa')` as given in the documentation [here](https://huggingface.co/datasets/narrativeqa), I receive a cascade of exceptions, ending with
FileNotFoundError: Couldn't find file locally at narrativeqa/narrativeqa.py, or remotely at
https://r... | 55 | NarrativeQA fails to load with `load_dataset`
When loading the NarrativeQA dataset with `load_dataset('narrativeqa')` as given in the documentation [here](https://huggingface.co/datasets/narrativeqa), I receive a cascade of exceptions, ending with
FileNotFoundError: Couldn't find file locally at narrativeqa/na... | [
-0.2821938992,
0.1054385081,
0.0326368809,
0.243909359,
0.1900061965,
0.1799185872,
0.1333396435,
0.0412890129,
-0.1444732249,
0.0441529676,
-0.014136388,
-0.0756953806,
-0.068752937,
0.3853099942,
0.0838764682,
-0.1709612608,
0.0442917496,
0.0163577925,
0.0471322164,
0.0996934... |
https://github.com/huggingface/datasets/issues/1647 | NarrativeQA fails to load with `load_dataset` | Update: HuggingFace did an intermediate release yesterday just before the v2.0.
To load it you can just update `datasets`
`pip install --upgrade datasets` | When loading the NarrativeQA dataset with `load_dataset('narrativeqa')` as given in the documentation [here](https://huggingface.co/datasets/narrativeqa), I receive a cascade of exceptions, ending with
FileNotFoundError: Couldn't find file locally at narrativeqa/narrativeqa.py, or remotely at
https://r... | 23 | NarrativeQA fails to load with `load_dataset`
When loading the NarrativeQA dataset with `load_dataset('narrativeqa')` as given in the documentation [here](https://huggingface.co/datasets/narrativeqa), I receive a cascade of exceptions, ending with
FileNotFoundError: Couldn't find file locally at narrativeqa/na... | [
-0.2199552506,
0.0480084643,
0.0608192161,
0.3124230206,
0.1940940171,
0.1517978758,
0.1400995255,
0.021162048,
-0.1197655499,
0.0751326457,
0.0060815122,
-0.1055009738,
-0.02847022,
0.3287838101,
0.1128825024,
-0.1749631613,
0.0848930627,
0.0000283553,
-0.0132893724,
0.1011292... |
https://github.com/huggingface/datasets/issues/1644 | HoVeR dataset fails to load | Hover was added recently, that's why it wasn't available yet.
To load it you can just update `datasets`
```
pip install --upgrade datasets
```
and then you can load `hover` with
```python
from datasets import load_dataset
dataset = load_dataset("hover")
``` | Hi! I'm getting an error when trying to load **HoVeR** dataset. Another one (**SQuAD**) does work for me. I'm using the latest (1.1.3) version of the library.
Steps to reproduce the error:
```python
>>> from datasets import load_dataset
>>> dataset = load_dataset("hover")
Traceback (most recent call last):
... | 40 | HoVeR dataset fails to load
Hi! I'm getting an error when trying to load **HoVeR** dataset. Another one (**SQuAD**) does work for me. I'm using the latest (1.1.3) version of the library.
Steps to reproduce the error:
```python
>>> from datasets import load_dataset
>>> dataset = load_dataset("hover")
Tracebac... | [
-0.2214694172,
0.0588310026,
0.0173895694,
0.294633925,
0.2871959805,
0.1036293954,
0.2778084278,
0.2113136798,
0.0553864166,
0.0441015661,
-0.1638762802,
-0.0258908141,
0.0066256598,
-0.175087437,
0.3238514364,
-0.1725585163,
-0.1127180383,
-0.0135883205,
-0.2122382522,
0.1584... |
https://github.com/huggingface/datasets/issues/1641 | muchocine dataset cannot be dowloaded | I have encountered the same error with `v1.0.1` and `v1.0.2` on both Windows and Linux environments. However, cloning the repo and using the path to the dataset's root directory worked for me. Even after having the dataset cached - passing the path is the only way (for now) to load the dataset.
```python
from datas... | ```python
---------------------------------------------------------------------------
FileNotFoundError Traceback (most recent call last)
/usr/local/lib/python3.6/dist-packages/datasets/load.py in prepare_module(path, script_version, download_config, download_mode, dataset, force_local_path, ... | 88 | muchocine dataset cannot be dowloaded
```python
---------------------------------------------------------------------------
FileNotFoundError Traceback (most recent call last)
/usr/local/lib/python3.6/dist-packages/datasets/load.py in prepare_module(path, script_version, download_config, do... | [
-0.3657995164,
-0.1491087526,
-0.0535815097,
0.332921654,
0.4308768213,
0.1230890527,
0.359962374,
0.3173546493,
0.3176314533,
0.0625980198,
-0.2380271554,
0.0012004821,
-0.0889103115,
0.0610443391,
0.0386020504,
0.0196574796,
-0.096937269,
0.0420849435,
-0.0913114399,
0.018345... |
https://github.com/huggingface/datasets/issues/1641 | muchocine dataset cannot be dowloaded | Hi @mrm8488 and @amoux!
The datasets you are trying to load have been added to the library during the community sprint for v2 last month. They will be available with the v2 release!
For now, there are still a couple of solutions to load the datasets:
1. As suggested by @amoux, you can clone the git repo and pass th... | ```python
---------------------------------------------------------------------------
FileNotFoundError Traceback (most recent call last)
/usr/local/lib/python3.6/dist-packages/datasets/load.py in prepare_module(path, script_version, download_config, download_mode, dataset, force_local_path, ... | 81 | muchocine dataset cannot be dowloaded
```python
---------------------------------------------------------------------------
FileNotFoundError Traceback (most recent call last)
/usr/local/lib/python3.6/dist-packages/datasets/load.py in prepare_module(path, script_version, download_config, do... | [
-0.3657995164,
-0.1491087526,
-0.0535815097,
0.332921654,
0.4308768213,
0.1230890527,
0.359962374,
0.3173546493,
0.3176314533,
0.0625980198,
-0.2380271554,
0.0012004821,
-0.0889103115,
0.0610443391,
0.0386020504,
0.0196574796,
-0.096937269,
0.0420849435,
-0.0913114399,
0.018345... |
https://github.com/huggingface/datasets/issues/1641 | muchocine dataset cannot be dowloaded | If you don't want to clone entire `datasets` repo, just download the `muchocine` directory and pass the local path to the directory. Cheers! | ```python
---------------------------------------------------------------------------
FileNotFoundError Traceback (most recent call last)
/usr/local/lib/python3.6/dist-packages/datasets/load.py in prepare_module(path, script_version, download_config, download_mode, dataset, force_local_path, ... | 23 | muchocine dataset cannot be dowloaded
```python
---------------------------------------------------------------------------
FileNotFoundError Traceback (most recent call last)
/usr/local/lib/python3.6/dist-packages/datasets/load.py in prepare_module(path, script_version, download_config, do... | [
-0.3657995164,
-0.1491087526,
-0.0535815097,
0.332921654,
0.4308768213,
0.1230890527,
0.359962374,
0.3173546493,
0.3176314533,
0.0625980198,
-0.2380271554,
0.0012004821,
-0.0889103115,
0.0610443391,
0.0386020504,
0.0196574796,
-0.096937269,
0.0420849435,
-0.0913114399,
0.018345... |
https://github.com/huggingface/datasets/issues/1641 | muchocine dataset cannot be dowloaded | Muchocine was added recently, that's why it wasn't available yet.
To load it you can just update `datasets`
```
pip install --upgrade datasets
```
and then you can load `muchocine` with
```python
from datasets import load_dataset
dataset = load_dataset("muchocine", split="train")
``` | ```python
---------------------------------------------------------------------------
FileNotFoundError Traceback (most recent call last)
/usr/local/lib/python3.6/dist-packages/datasets/load.py in prepare_module(path, script_version, download_config, download_mode, dataset, force_local_path, ... | 41 | muchocine dataset cannot be dowloaded
```python
---------------------------------------------------------------------------
FileNotFoundError Traceback (most recent call last)
/usr/local/lib/python3.6/dist-packages/datasets/load.py in prepare_module(path, script_version, download_config, do... | [
-0.3657995164,
-0.1491087526,
-0.0535815097,
0.332921654,
0.4308768213,
0.1230890527,
0.359962374,
0.3173546493,
0.3176314533,
0.0625980198,
-0.2380271554,
0.0012004821,
-0.0889103115,
0.0610443391,
0.0386020504,
0.0196574796,
-0.096937269,
0.0420849435,
-0.0913114399,
0.018345... |
https://github.com/huggingface/datasets/issues/1639 | bug with sst2 in glue | Maybe you can use nltk's treebank detokenizer ?
```python
from nltk.tokenize.treebank import TreebankWordDetokenizer
TreebankWordDetokenizer().detokenize("it 's a charming and often affecting journey . ".split())
# "it's a charming and often affecting journey."
``` | Hi
I am getting very low accuracy on SST2 I investigate this and observe that for this dataset sentences are tokenized, while this is correct for the other datasets in GLUE, please see below.
Is there any alternatives I could get untokenized sentences? I am unfortunately under time pressure to report some results on ... | 32 | bug with sst2 in glue
Hi
I am getting very low accuracy on SST2 I investigate this and observe that for this dataset sentences are tokenized, while this is correct for the other datasets in GLUE, please see below.
Is there any alternatives I could get untokenized sentences? I am unfortunately under time pressure t... | [
0.1141935065,
-0.1911148578,
0.0535290763,
0.1571246684,
0.1562405676,
-0.3605673313,
0.1134416014,
0.4331329465,
-0.0932659656,
0.0230266154,
-0.122538738,
0.1391696334,
-0.0974968821,
0.058675386,
-0.1685887426,
-0.1118809804,
0.2775103748,
0.0810056031,
-0.3122576177,
-0.215... |
https://github.com/huggingface/datasets/issues/1639 | bug with sst2 in glue | I don't know if there exists a detokenized version somewhere. Even the version on kaggle is tokenized | Hi
I am getting very low accuracy on SST2 I investigate this and observe that for this dataset sentences are tokenized, while this is correct for the other datasets in GLUE, please see below.
Is there any alternatives I could get untokenized sentences? I am unfortunately under time pressure to report some results on ... | 17 | bug with sst2 in glue
Hi
I am getting very low accuracy on SST2 I investigate this and observe that for this dataset sentences are tokenized, while this is correct for the other datasets in GLUE, please see below.
Is there any alternatives I could get untokenized sentences? I am unfortunately under time pressure t... | [
0.1053767726,
-0.1916711628,
0.0535599031,
0.0827101991,
0.168405965,
-0.3281561434,
0.1854299456,
0.4321671724,
-0.0919410214,
0.0309742894,
-0.0943490118,
0.146273762,
-0.105770722,
0.1380158365,
-0.1469750404,
-0.0554605573,
0.3053624034,
0.0720333382,
-0.2480493784,
-0.1800... |
https://github.com/huggingface/datasets/issues/1636 | winogrande cannot be dowloaded | I have same issue for other datasets (`myanmar_news` in my case).
A version of `datasets` runs correctly on my local machine (**without GPU**) which looking for the dataset at
```
https://raw.githubusercontent.com/huggingface/datasets/master/datasets/myanmar_news/myanmar_news.py
```
Meanwhile, other version r... | Hi,
I am getting this error when trying to run the codes on the cloud. Thank you for any suggestion and help on this @lhoestq
```
File "./finetune_trainer.py", line 318, in <module>
main()
File "./finetune_trainer.py", line 148, in main
for task in data_args.tasks]
File "./finetune_trainer.py", ... | 90 | winogrande cannot be dowloaded
Hi,
I am getting this error when trying to run the codes on the cloud. Thank you for any suggestion and help on this @lhoestq
```
File "./finetune_trainer.py", line 318, in <module>
main()
File "./finetune_trainer.py", line 148, in main
for task in data_args.tasks]... | [
-0.3686968088,
0.1048510447,
-0.0660381541,
0.1727435887,
0.2931742668,
0.0646402389,
0.6664784551,
0.0742836893,
0.3206228614,
0.037630517,
-0.1209191754,
0.0811131969,
-0.0274401568,
0.3085546792,
0.0915506408,
-0.1352519989,
-0.1551790237,
0.0680283457,
-0.3883654475,
-0.103... |
https://github.com/huggingface/datasets/issues/1636 | winogrande cannot be dowloaded | It looks like they're two different issues
----------
First for `myanmar_news`:
It must come from the way you installed `datasets`.
If you install `datasets` from source, then the `myanmar_news` script will be loaded from `master`.
However if you install from `pip` it will get it using the version of the li... | Hi,
I am getting this error when trying to run the codes on the cloud. Thank you for any suggestion and help on this @lhoestq
```
File "./finetune_trainer.py", line 318, in <module>
main()
File "./finetune_trainer.py", line 148, in main
for task in data_args.tasks]
File "./finetune_trainer.py", ... | 141 | winogrande cannot be dowloaded
Hi,
I am getting this error when trying to run the codes on the cloud. Thank you for any suggestion and help on this @lhoestq
```
File "./finetune_trainer.py", line 318, in <module>
main()
File "./finetune_trainer.py", line 148, in main
for task in data_args.tasks]... | [
-0.3686968088,
0.1048510447,
-0.0660381541,
0.1727435887,
0.2931742668,
0.0646402389,
0.6664784551,
0.0742836893,
0.3206228614,
0.037630517,
-0.1209191754,
0.0811131969,
-0.0274401568,
0.3085546792,
0.0915506408,
-0.1352519989,
-0.1551790237,
0.0680283457,
-0.3883654475,
-0.103... |
https://github.com/huggingface/datasets/issues/1634 | Inspecting datasets per category | That's interesting, can you tell me what you think would be useful to access to inspect a dataset?
You can filter them in the hub with the search by the way: https://huggingface.co/datasets have you seen it? | Hi
Is there a way I could get all NLI datasets/all QA datasets to get some understanding of available datasets per category? this is hard for me to inspect the datasets one by one in the webpage, thanks for the suggestions @lhoestq | 36 | Inspecting datasets per category
Hi
Is there a way I could get all NLI datasets/all QA datasets to get some understanding of available datasets per category? this is hard for me to inspect the datasets one by one in the webpage, thanks for the suggestions @lhoestq
That's interesting, can you tell me what you thin... | [
-0.2455319762,
-0.1529335231,
-0.2294566929,
0.3999654949,
0.0459514074,
0.224805057,
0.0731054693,
0.4707450569,
-0.0032281561,
-0.1497346163,
-0.5485339761,
-0.1118846387,
-0.101116322,
0.3258761168,
0.0880432054,
0.1338706166,
-0.0260166526,
0.0386471525,
-0.094616659,
0.035... |
https://github.com/huggingface/datasets/issues/1634 | Inspecting datasets per category | Hi @thomwolf
thank you, I was not aware of this, I was looking into the data viewer linked into readme page.
This is exactly what I was looking for, but this does not work currently, please see the attached
I am selecting to see all nli datasets in english and it retrieves none. thanks
, we will focus on that in January (cc @yjernite): https://huggingface.co/datasets?filter=task_ids:natural-language-inference,languages:en | Hi
Is there a way I could get all NLI datasets/all QA datasets to get some understanding of available datasets per category? this is hard for me to inspect the datasets one by one in the webpage, thanks for the suggestions @lhoestq | 28 | Inspecting datasets per category
Hi
Is there a way I could get all NLI datasets/all QA datasets to get some understanding of available datasets per category? this is hard for me to inspect the datasets one by one in the webpage, thanks for the suggestions @lhoestq
I see 4 results for NLI in English but indeed som... | [
-0.1127987355,
0.0156893693,
-0.2197402716,
0.4125652313,
-0.0079144379,
0.0269919466,
0.0843828842,
0.4735391438,
-0.0621107705,
-0.1604091227,
-0.5733579397,
-0.1227080896,
0.0521350726,
0.3426799774,
0.1644431502,
0.0418971963,
0.1008890197,
-0.0833269283,
-0.2709665298,
-0.... |
https://github.com/huggingface/datasets/issues/1633 | social_i_qa wrong format of labels | @lhoestq, should I raise a PR for this? Just a minor change while reading labels text file | Hi,
there is extra "\n" in labels of social_i_qa datasets, no big deal, but I was wondering if you could remove it to make it consistent.
so label is 'label': '1\n', not '1'
thanks
```
>>> import datasets
>>> from datasets import load_dataset
>>> dataset = load_dataset(
... 'social_i_qa')
cahce dir /jul... | 17 | social_i_qa wrong format of labels
Hi,
there is extra "\n" in labels of social_i_qa datasets, no big deal, but I was wondering if you could remove it to make it consistent.
so label is 'label': '1\n', not '1'
thanks
```
>>> import datasets
>>> from datasets import load_dataset
>>> dataset = load_dataset(
.... | [
0.0132784154,
-0.2219309807,
-0.07822676,
0.3724217713,
0.1299583912,
-0.1916468143,
0.0608600527,
0.2249795049,
-0.2229049951,
0.3125813603,
-0.1663913727,
-0.3445960581,
-0.0785767138,
0.5373510122,
-0.1730184108,
0.0900036991,
0.1220888942,
0.264539212,
0.6475260854,
-0.1383... |
https://github.com/huggingface/datasets/issues/1630 | Adding UKP Argument Aspect Similarity Corpus | Adding a link to the guide on adding a dataset if someone want to give it a try: https://github.com/huggingface/datasets#add-a-new-dataset-to-the-hub
we should add this guide to the issue template @lhoestq | Hi, this would be great to have this dataset included.
## Adding a Dataset
- **Name:** UKP Argument Aspect Similarity Corpus
- **Description:** The UKP Argument Aspect Similarity Corpus (UKP ASPECT) includes 3,595 sentence pairs over 28 controversial topics. Each sentence pair was annotated via crowdsourcing as ei... | 29 | Adding UKP Argument Aspect Similarity Corpus
Hi, this would be great to have this dataset included.
## Adding a Dataset
- **Name:** UKP Argument Aspect Similarity Corpus
- **Description:** The UKP Argument Aspect Similarity Corpus (UKP ASPECT) includes 3,595 sentence pairs over 28 controversial topics. Each sent... | [
-0.3177594543,
-0.2620917857,
-0.0742940903,
-0.1360729188,
-0.1152318567,
0.1707081497,
0.3080387712,
0.2030226439,
-0.239735961,
0.0552953556,
-0.2352134436,
0.4752631187,
-0.0952460915,
-0.1193300113,
0.3016745448,
-0.4320201576,
-0.0477606393,
0.1427705735,
0.0484668687,
-0... |
https://github.com/huggingface/datasets/issues/1630 | Adding UKP Argument Aspect Similarity Corpus | thanks @thomwolf , this is added now. The template is correct, sorry my mistake not to include it. | Hi, this would be great to have this dataset included.
## Adding a Dataset
- **Name:** UKP Argument Aspect Similarity Corpus
- **Description:** The UKP Argument Aspect Similarity Corpus (UKP ASPECT) includes 3,595 sentence pairs over 28 controversial topics. Each sentence pair was annotated via crowdsourcing as ei... | 18 | Adding UKP Argument Aspect Similarity Corpus
Hi, this would be great to have this dataset included.
## Adding a Dataset
- **Name:** UKP Argument Aspect Similarity Corpus
- **Description:** The UKP Argument Aspect Similarity Corpus (UKP ASPECT) includes 3,595 sentence pairs over 28 controversial topics. Each sent... | [
-0.2550904751,
-0.2173558921,
-0.0847492963,
-0.2169910371,
-0.0947981924,
0.1451421529,
0.367269218,
0.2097542286,
-0.2897705734,
0.0634278506,
-0.1665047854,
0.4542146623,
-0.0298435427,
-0.1806162447,
0.2641551793,
-0.4156152606,
-0.027721284,
0.2105745226,
0.049068138,
-0.1... |
https://github.com/huggingface/datasets/issues/1627 | `Dataset.map` disable progress bar | Progress bar can be disabled like this:
```python
from datasets.utils.logging import set_verbosity_error
set_verbosity_error()
```
There is this line in `Dataset.map`:
```python
not_verbose = bool(logger.getEffectiveLevel() > WARNING)
```
So any logging level higher than `WARNING` turns off the progress ba... | I can't find anything to turn off the `tqdm` progress bars while running a preprocessing function using `Dataset.map`. I want to do akin to `disable_tqdm=True` in the case of `transformers`. Is there something like that? | 39 | `Dataset.map` disable progress bar
I can't find anything to turn off the `tqdm` progress bars while running a preprocessing function using `Dataset.map`. I want to do akin to `disable_tqdm=True` in the case of `transformers`. Is there something like that?
Progress bar can be disabled like this:
```python
from dat... | [
-0.3458345234,
-0.3181486726,
-0.0507016815,
-0.1878180057,
0.3254137933,
-0.0002218874,
0.2311786562,
0.1533990651,
-0.3758890629,
0.2149727345,
0.1782130003,
0.6198931336,
-0.2077851146,
0.0813506395,
-0.125056386,
0.0541481972,
-0.093797341,
0.2880427539,
-0.4447115958,
0.16... |
https://github.com/huggingface/datasets/issues/1624 | Cannot download ade_corpus_v2 | Hi @him1411, the dataset you are trying to load has been added during the community sprint and has not been released yet. It will be available with the v2 of `datasets`.
For now, you should be able to load the datasets after installing the latest (master) version of `datasets` using pip:
`pip install git+https://gith... | I tried this to get the dataset following this url : https://huggingface.co/datasets/ade_corpus_v2
but received this error :
`Traceback (most recent call last):
File "/opt/anaconda3/lib/python3.7/site-packages/datasets/load.py", line 267, in prepare_module
local_path = cached_path(file_path, download_con... | 54 | Cannot download ade_corpus_v2
I tried this to get the dataset following this url : https://huggingface.co/datasets/ade_corpus_v2
but received this error :
`Traceback (most recent call last):
File "/opt/anaconda3/lib/python3.7/site-packages/datasets/load.py", line 267, in prepare_module
local_path = cac... | [
-0.039910309,
-0.1982671022,
-0.1133943796,
0.2741905451,
0.2603808343,
0.2967450321,
-0.0410115793,
0.3299032748,
0.0405995175,
-0.1682073772,
-0.2708155513,
-0.2759157121,
0.0790570304,
-0.2060551047,
-0.0267116074,
-0.3234891295,
-0.1370058209,
0.0029616312,
-0.0265699308,
-... |
https://github.com/huggingface/datasets/issues/1624 | Cannot download ade_corpus_v2 | `ade_corpus_v2` was added recently, that's why it wasn't available yet.
To load it you can just update `datasets`
```
pip install --upgrade datasets
```
and then you can load `ade_corpus_v2` with
```python
from datasets import load_dataset
dataset = load_dataset("ade_corpus_v2", "Ade_corpos_v2_drug_ade_... | I tried this to get the dataset following this url : https://huggingface.co/datasets/ade_corpus_v2
but received this error :
`Traceback (most recent call last):
File "/opt/anaconda3/lib/python3.7/site-packages/datasets/load.py", line 267, in prepare_module
local_path = cached_path(file_path, download_con... | 61 | Cannot download ade_corpus_v2
I tried this to get the dataset following this url : https://huggingface.co/datasets/ade_corpus_v2
but received this error :
`Traceback (most recent call last):
File "/opt/anaconda3/lib/python3.7/site-packages/datasets/load.py", line 267, in prepare_module
local_path = cac... | [
-0.039910309,
-0.1982671022,
-0.1133943796,
0.2741905451,
0.2603808343,
0.2967450321,
-0.0410115793,
0.3299032748,
0.0405995175,
-0.1682073772,
-0.2708155513,
-0.2759157121,
0.0790570304,
-0.2060551047,
-0.0267116074,
-0.3234891295,
-0.1370058209,
0.0029616312,
-0.0265699308,
-... |
https://github.com/huggingface/datasets/issues/1618 | Can't filter language:EN on https://huggingface.co/datasets | Cool @mapmeld ! My 2 cents (for a next iteration), it would be cool to have a small search widget in the filter dropdown as you have a ton of languages now here! Closing this in the meantime. | When visiting https://huggingface.co/datasets, I don't see an obvious way to filter only English datasets. This is unexpected for me, am I missing something? I'd expect English to be selectable in the language widget. This problem reproduced on Mozilla Firefox and MS Edge:
, I checked the size of the destination directory.
What version of Datasets are you using?
| Hello,
I'm having issue downloading TriviaQA dataset with `load_dataset`.
## Environment info
- `datasets` version: 1.1.3
- Platform: Linux-4.19.129-aufs-1-x86_64-with-debian-10.1
- Python version: 3.7.3
## The code I'm running:
```python
import datasets
dataset = datasets.load_dataset("trivia_qa", "rc", c... | 44 | Bug: Can't download TriviaQA with `load_dataset` - custom `cache_dir`
Hello,
I'm having issue downloading TriviaQA dataset with `load_dataset`.
## Environment info
- `datasets` version: 1.1.3
- Platform: Linux-4.19.129-aufs-1-x86_64-with-debian-10.1
- Python version: 3.7.3
## The code I'm running:
```pytho... | [
-0.0727549866,
0.1626463681,
-0.0521010123,
0.4159295559,
0.0719528124,
0.1767248362,
0.1985664815,
0.066758655,
0.1333530694,
-0.0039923377,
-0.2109429091,
0.2015082091,
-0.0472179912,
0.0925030783,
-0.1151691377,
0.0005983241,
-0.1870139688,
-0.0596628711,
0.1579324007,
0.135... |
https://github.com/huggingface/datasets/issues/1615 | Bug: Can't download TriviaQA with `load_dataset` - custom `cache_dir` | I'm using datasets version: 1.1.3. I think you should drop `cache_dir` and use only
`dataset = datasets.load_dataset("trivia_qa", "rc")`
Tried that on colab and it's working there too

| Hello,
I'm having issue downloading TriviaQA dataset with `load_dataset`.
## Environment info
- `datasets` version: 1.1.3
- Platform: Linux-4.19.129-aufs-1-x86_64-with-debian-10.1
- Python version: 3.7.3
## The code I'm running:
```python
import datasets
dataset = datasets.load_dataset("trivia_qa", "rc", c... | 28 | Bug: Can't download TriviaQA with `load_dataset` - custom `cache_dir`
Hello,
I'm having issue downloading TriviaQA dataset with `load_dataset`.
## Environment info
- `datasets` version: 1.1.3
- Platform: Linux-4.19.129-aufs-1-x86_64-with-debian-10.1
- Python version: 3.7.3
## The code I'm running:
```pytho... | [
-0.0324452482,
0.2749700844,
-0.0218250901,
0.3239804506,
0.1333953887,
0.196820125,
0.2799461782,
0.0583021045,
0.0948532447,
-0.0597176775,
-0.2450279444,
0.2710149586,
-0.0008887013,
0.106080018,
-0.1267101169,
0.0433527194,
-0.1146848202,
-0.0377157219,
0.2132202685,
0.1566... |
https://github.com/huggingface/datasets/issues/1615 | Bug: Can't download TriviaQA with `load_dataset` - custom `cache_dir` | Train, Validation, and Test splits contain 138384, 18669, and 17210 samples respectively. It takes some time to read the samples. Even in your colab notebook it was reading the samples before you killed the process. Let me know if it works now! | Hello,
I'm having issue downloading TriviaQA dataset with `load_dataset`.
## Environment info
- `datasets` version: 1.1.3
- Platform: Linux-4.19.129-aufs-1-x86_64-with-debian-10.1
- Python version: 3.7.3
## The code I'm running:
```python
import datasets
dataset = datasets.load_dataset("trivia_qa", "rc", c... | 42 | Bug: Can't download TriviaQA with `load_dataset` - custom `cache_dir`
Hello,
I'm having issue downloading TriviaQA dataset with `load_dataset`.
## Environment info
- `datasets` version: 1.1.3
- Platform: Linux-4.19.129-aufs-1-x86_64-with-debian-10.1
- Python version: 3.7.3
## The code I'm running:
```pytho... | [
-0.095426999,
0.2150018066,
-0.0282702092,
0.3146704137,
0.0880521536,
0.1548194438,
0.2518563271,
0.0587232299,
0.1317181736,
0.0135484552,
-0.2907211185,
0.2942450345,
-0.0630268529,
0.1593242884,
-0.1379979253,
0.048036512,
-0.1314405799,
-0.0800195262,
0.2093423307,
0.15272... |
https://github.com/huggingface/datasets/issues/1615 | Bug: Can't download TriviaQA with `load_dataset` - custom `cache_dir` | Hi, it works on colab but it still doesn't work on my computer, same problem as before - overly large and long extraction process.
I have to use a custom 'cache_dir' because I don't have any space left in my home directory where it is defaulted, maybe this could be the issue? | Hello,
I'm having issue downloading TriviaQA dataset with `load_dataset`.
## Environment info
- `datasets` version: 1.1.3
- Platform: Linux-4.19.129-aufs-1-x86_64-with-debian-10.1
- Python version: 3.7.3
## The code I'm running:
```python
import datasets
dataset = datasets.load_dataset("trivia_qa", "rc", c... | 52 | Bug: Can't download TriviaQA with `load_dataset` - custom `cache_dir`
Hello,
I'm having issue downloading TriviaQA dataset with `load_dataset`.
## Environment info
- `datasets` version: 1.1.3
- Platform: Linux-4.19.129-aufs-1-x86_64-with-debian-10.1
- Python version: 3.7.3
## The code I'm running:
```pytho... | [
-0.1124395132,
0.2039630264,
-0.0727102086,
0.4566596448,
0.105385296,
0.1380976588,
0.2412602156,
0.0399656333,
0.1459222883,
0.0728044137,
-0.2571247816,
0.1797403842,
-0.0175127909,
0.0835772976,
-0.1670752168,
0.0181835275,
-0.220518887,
-0.0765430108,
0.2628171146,
0.05811... |
https://github.com/huggingface/datasets/issues/1615 | Bug: Can't download TriviaQA with `load_dataset` - custom `cache_dir` | I tried running this again - More details of the problem:
Code:
```
datasets.load_dataset("trivia_qa", "rc", cache_dir="/path/to/cache")
```
The output:
```
Downloading and preparing dataset trivia_qa/rc (download: 2.48 GiB, generated: 14.92 GiB, post-processed: Unknown size, total: 17.40 GiB) to path/to/cache... | Hello,
I'm having issue downloading TriviaQA dataset with `load_dataset`.
## Environment info
- `datasets` version: 1.1.3
- Platform: Linux-4.19.129-aufs-1-x86_64-with-debian-10.1
- Python version: 3.7.3
## The code I'm running:
```python
import datasets
dataset = datasets.load_dataset("trivia_qa", "rc", c... | 81 | Bug: Can't download TriviaQA with `load_dataset` - custom `cache_dir`
Hello,
I'm having issue downloading TriviaQA dataset with `load_dataset`.
## Environment info
- `datasets` version: 1.1.3
- Platform: Linux-4.19.129-aufs-1-x86_64-with-debian-10.1
- Python version: 3.7.3
## The code I'm running:
```pytho... | [
-0.0191131402,
0.2346223742,
-0.0358677022,
0.3387271464,
0.1412013769,
0.1956147254,
0.2685050368,
0.0284198001,
0.1188833937,
-0.0826997533,
-0.2390528023,
0.2821522057,
0.0216848981,
0.0726568997,
-0.083547309,
0.023445243,
-0.1319270581,
-0.0772348642,
0.1958683431,
0.11566... |
https://github.com/huggingface/datasets/issues/1615 | Bug: Can't download TriviaQA with `load_dataset` - custom `cache_dir` | 1) You can clear the huggingface folder in your `.cache` directory to use default directory for datasets. Speed of extraction and loading of samples depends a lot on your machine's configurations too.
2) I tried on colab `dataset = datasets.load_dataset("trivia_qa", "rc", cache_dir = "./datasets")`. After memory usa... | Hello,
I'm having issue downloading TriviaQA dataset with `load_dataset`.
## Environment info
- `datasets` version: 1.1.3
- Platform: Linux-4.19.129-aufs-1-x86_64-with-debian-10.1
- Python version: 3.7.3
## The code I'm running:
```python
import datasets
dataset = datasets.load_dataset("trivia_qa", "rc", c... | 73 | Bug: Can't download TriviaQA with `load_dataset` - custom `cache_dir`
Hello,
I'm having issue downloading TriviaQA dataset with `load_dataset`.
## Environment info
- `datasets` version: 1.1.3
- Platform: Linux-4.19.129-aufs-1-x86_64-with-debian-10.1
- Python version: 3.7.3
## The code I'm running:
```pytho... | [
-0.0378207192,
0.1969359368,
-0.0213919394,
0.377035737,
0.071480222,
0.1753474474,
0.2409698367,
0.0573940538,
0.1278703511,
-0.0225046314,
-0.2598695457,
0.2617430985,
-0.0099751158,
0.153927803,
-0.0962109715,
0.018132735,
-0.1629696935,
-0.0272242986,
0.18273063,
0.12497656... |
https://github.com/huggingface/datasets/issues/1615 | Bug: Can't download TriviaQA with `load_dataset` - custom `cache_dir` | Facing the same issue.
I am able to download datasets without `cache_dir`, however, when I specify the `cache_dir`, the process hangs indefinitely after partial download.
Tried for `data = load_dataset("cnn_dailymail", "3.0.0")` | Hello,
I'm having issue downloading TriviaQA dataset with `load_dataset`.
## Environment info
- `datasets` version: 1.1.3
- Platform: Linux-4.19.129-aufs-1-x86_64-with-debian-10.1
- Python version: 3.7.3
## The code I'm running:
```python
import datasets
dataset = datasets.load_dataset("trivia_qa", "rc", c... | 31 | Bug: Can't download TriviaQA with `load_dataset` - custom `cache_dir`
Hello,
I'm having issue downloading TriviaQA dataset with `load_dataset`.
## Environment info
- `datasets` version: 1.1.3
- Platform: Linux-4.19.129-aufs-1-x86_64-with-debian-10.1
- Python version: 3.7.3
## The code I'm running:
```pytho... | [
0.0042782011,
0.2504118979,
-0.0458030142,
0.320359081,
0.1740588993,
0.2203364521,
0.274595052,
0.0188669562,
0.1395895183,
-0.0835989118,
-0.2411099523,
0.2049974203,
-0.0157355312,
0.0229586102,
-0.1130747199,
0.0706265122,
-0.0831786096,
-0.0123752318,
0.2148819715,
0.10762... |
https://github.com/huggingface/datasets/issues/1615 | Bug: Can't download TriviaQA with `load_dataset` - custom `cache_dir` | Hi @ashutoshml,
I tried this and it worked for me:
`data = load_dataset("cnn_dailymail", "3.0.0", cache_dir="./dummy")`
I'm using datasets==1.8.0. It took around 3-4 mins for dataset to unpack and start loading examples. | Hello,
I'm having issue downloading TriviaQA dataset with `load_dataset`.
## Environment info
- `datasets` version: 1.1.3
- Platform: Linux-4.19.129-aufs-1-x86_64-with-debian-10.1
- Python version: 3.7.3
## The code I'm running:
```python
import datasets
dataset = datasets.load_dataset("trivia_qa", "rc", c... | 31 | Bug: Can't download TriviaQA with `load_dataset` - custom `cache_dir`
Hello,
I'm having issue downloading TriviaQA dataset with `load_dataset`.
## Environment info
- `datasets` version: 1.1.3
- Platform: Linux-4.19.129-aufs-1-x86_64-with-debian-10.1
- Python version: 3.7.3
## The code I'm running:
```pytho... | [
-0.0161706582,
0.2297843993,
-0.032239832,
0.3434301615,
0.110823296,
0.2220184952,
0.3055522144,
0.0372812487,
0.1084571108,
-0.0921419635,
-0.2221645862,
0.2408728749,
-0.0385525376,
0.1162006259,
-0.1133520901,
0.030985903,
-0.1359188706,
-0.0631945729,
0.2353850752,
0.11806... |
https://github.com/huggingface/datasets/issues/1615 | Bug: Can't download TriviaQA with `load_dataset` - custom `cache_dir` | Ok. I waited for 20-30 mins, and it still is stuck.
I am using datasets==1.8.0.
Is there anyway to check what is happening? like a` --verbose` flag?

| Hello,
I'm having issue downloading TriviaQA dataset with `load_dataset`.
## Environment info
- `datasets` version: 1.1.3
- Platform: Linux-4.19.129-aufs-1-x86_64-with-debian-10.1
- Python version: 3.7.3
## The code I'm running:
```python
import datasets
dataset = datasets.load_dataset("trivia_qa", "rc", c... | 34 | Bug: Can't download TriviaQA with `load_dataset` - custom `cache_dir`
Hello,
I'm having issue downloading TriviaQA dataset with `load_dataset`.
## Environment info
- `datasets` version: 1.1.3
- Platform: Linux-4.19.129-aufs-1-x86_64-with-debian-10.1
- Python version: 3.7.3
## The code I'm running:
```pytho... | [
-0.0052461131,
0.1308876872,
-0.0646160915,
0.3441572785,
0.0718582496,
0.2102918476,
0.1724409163,
0.1310921907,
0.1391692609,
-0.0710651502,
-0.1699334681,
0.2312311679,
-0.0192253888,
0.0066204499,
-0.1691108793,
0.208539322,
-0.1640116721,
-0.0868699327,
0.2699991465,
0.083... |
https://github.com/huggingface/datasets/issues/1611 | shuffle with torch generator | Is there a way one can convert the two generator? not sure overall what alternatives I could have to shuffle the datasets with a torch generator, thanks | Hi
I need to shuffle mutliple large datasets with `generator = torch.Generator()` for a distributed sampler which needs to make sure datasets are consistent across different cores, for this, this is really necessary for me to use torch generator, based on documentation this generator is not supported with datasets, I... | 27 | shuffle with torch generator
Hi
I need to shuffle mutliple large datasets with `generator = torch.Generator()` for a distributed sampler which needs to make sure datasets are consistent across different cores, for this, this is really necessary for me to use torch generator, based on documentation this generator i... | [
-0.4141780138,
-0.2276346385,
-0.0309860036,
0.4363022149,
0.2791830599,
0.0432781391,
0.0350645743,
0.0862029046,
-0.0705147088,
0.5191635489,
-0.2391805649,
0.4969671667,
-0.3308678269,
-0.3823136091,
-0.2315442413,
-0.3067395687,
0.2168590724,
-0.067459397,
-0.3701868951,
0.... |
https://github.com/huggingface/datasets/issues/1611 | shuffle with torch generator | @lhoestq let me please expalin in more details, maybe you could help me suggesting an alternative to solve the issue for now, I have multiple large datasets using huggingface library, then I need to define a distributed sampler on top of it, for this I need to shard the datasets and give each shard to each core, but b... | Hi
I need to shuffle mutliple large datasets with `generator = torch.Generator()` for a distributed sampler which needs to make sure datasets are consistent across different cores, for this, this is really necessary for me to use torch generator, based on documentation this generator is not supported with datasets, I... | 136 | shuffle with torch generator
Hi
I need to shuffle mutliple large datasets with `generator = torch.Generator()` for a distributed sampler which needs to make sure datasets are consistent across different cores, for this, this is really necessary for me to use torch generator, based on documentation this generator i... | [
-0.345852524,
-0.4519606233,
-0.0053853374,
0.3233452439,
0.2008845359,
-0.1706960499,
0.1138171554,
0.0025904656,
0.0121338628,
0.5316619277,
-0.15948084,
0.4323353767,
-0.3134092093,
-0.2165893614,
-0.2019847035,
-0.3771592975,
0.107541956,
-0.0871210173,
-0.2455123961,
0.009... |
https://github.com/huggingface/datasets/issues/1611 | shuffle with torch generator | @lhoestq Is there a way I could shuffle the datasets from this library with a custom defined shuffle function? thanks for your help on this. | Hi
I need to shuffle mutliple large datasets with `generator = torch.Generator()` for a distributed sampler which needs to make sure datasets are consistent across different cores, for this, this is really necessary for me to use torch generator, based on documentation this generator is not supported with datasets, I... | 25 | shuffle with torch generator
Hi
I need to shuffle mutliple large datasets with `generator = torch.Generator()` for a distributed sampler which needs to make sure datasets are consistent across different cores, for this, this is really necessary for me to use torch generator, based on documentation this generator i... | [
-0.303578645,
-0.154176265,
-0.0428938009,
0.3373777568,
0.1244965494,
-0.0405245423,
0.1495995075,
0.0698686093,
-0.0988663286,
0.4983232021,
-0.1478007734,
0.5367981195,
-0.3674836457,
-0.3628568649,
-0.1735702455,
-0.2025682926,
0.1165716276,
-0.0829891711,
-0.2299019545,
0.... |
https://github.com/huggingface/datasets/issues/1611 | shuffle with torch generator | Right now the shuffle method only accepts the `seed` (optional int) or `generator` (optional `np.random.Generator`) parameters.
Here is a suggestion to shuffle the data using your own shuffle method using `select`.
`select` can be used to re-order the dataset samples or simply pick a few ones if you want.
It's wha... | Hi
I need to shuffle mutliple large datasets with `generator = torch.Generator()` for a distributed sampler which needs to make sure datasets are consistent across different cores, for this, this is really necessary for me to use torch generator, based on documentation this generator is not supported with datasets, I... | 120 | shuffle with torch generator
Hi
I need to shuffle mutliple large datasets with `generator = torch.Generator()` for a distributed sampler which needs to make sure datasets are consistent across different cores, for this, this is really necessary for me to use torch generator, based on documentation this generator i... | [
-0.2320704907,
-0.159407571,
-0.0132598346,
0.2492863983,
0.1917155981,
0.016128676,
0.0860931799,
0.125641048,
-0.0738926157,
0.5062562227,
-0.0565602332,
0.665748179,
-0.3163609505,
-0.3614482582,
-0.1684426218,
-0.2553733885,
0.0437460691,
-0.1630821377,
-0.2135151029,
0.032... |
https://github.com/huggingface/datasets/issues/1611 | shuffle with torch generator | thank you @lhoestq thank you very much for responding to my question, this greatly helped me and remove the blocking for continuing my work, thanks. | Hi
I need to shuffle mutliple large datasets with `generator = torch.Generator()` for a distributed sampler which needs to make sure datasets are consistent across different cores, for this, this is really necessary for me to use torch generator, based on documentation this generator is not supported with datasets, I... | 25 | shuffle with torch generator
Hi
I need to shuffle mutliple large datasets with `generator = torch.Generator()` for a distributed sampler which needs to make sure datasets are consistent across different cores, for this, this is really necessary for me to use torch generator, based on documentation this generator i... | [
-0.4117563963,
-0.2818111777,
-0.0233390946,
0.342930764,
0.2881664038,
-0.0083275717,
0.1853647828,
0.0202480145,
-0.0382130295,
0.5751110911,
-0.0707362071,
0.5064848661,
-0.2460885346,
-0.398516506,
-0.2954908907,
-0.2201803625,
0.1450135261,
-0.0676352084,
-0.2230788469,
0.... |
https://github.com/huggingface/datasets/issues/1611 | shuffle with torch generator | @lhoestq could you confirm the method proposed does not bring the whole data into memory? thanks | Hi
I need to shuffle mutliple large datasets with `generator = torch.Generator()` for a distributed sampler which needs to make sure datasets are consistent across different cores, for this, this is really necessary for me to use torch generator, based on documentation this generator is not supported with datasets, I... | 16 | shuffle with torch generator
Hi
I need to shuffle mutliple large datasets with `generator = torch.Generator()` for a distributed sampler which needs to make sure datasets are consistent across different cores, for this, this is really necessary for me to use torch generator, based on documentation this generator i... | [
-0.3857868016,
-0.2282413691,
-0.0162493121,
0.4048092663,
0.2082107067,
-0.034190625,
0.057011541,
0.0808271766,
-0.0665859282,
0.5318523049,
-0.0752739832,
0.4812491536,
-0.2632018328,
-0.4862924814,
-0.1832593232,
-0.0692368001,
0.2093365341,
-0.0377672762,
-0.3435771763,
0.... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.