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/807 | load_dataset for LOCAL CSV files report CONNECTION ERROR | > > hello, how did you solve this problems?
> > > > > Hi !
> > > > > The url works on my side.
> > > > > Is the url working in your navigator ?
> > > > > Are you connected to internet ? Does your network block access to `raw.githubusercontent.com` ?
> > > >
> > > >
> > > > I tried another server, it's working ... | ## load_dataset for LOCAL CSV files report CONNECTION ERROR
- **Description:**
A local demo csv file:
```
import pandas as pd
import numpy as np
from datasets import load_dataset
import torch
import transformers
df = pd.DataFrame(np.arange(1200).reshape(300,4))
df.to_csv('test.csv', header=False, index=Fal... | 174 | load_dataset for LOCAL CSV files report CONNECTION ERROR
## load_dataset for LOCAL CSV files report CONNECTION ERROR
- **Description:**
A local demo csv file:
```
import pandas as pd
import numpy as np
from datasets import load_dataset
import torch
import transformers
df = pd.DataFrame(np.arange(1200).res... | [
-0.3247119784,
0.0161048751,
-0.1088048592,
0.0260045994,
0.2420430928,
0.0198688172,
0.7173693776,
0.3756362498,
0.2509218454,
0.1337040961,
-0.0342322253,
0.1497043818,
0.079799369,
0.0211836994,
-0.1269313097,
-0.1772821993,
-0.1271575987,
0.2743317187,
-0.4187990725,
0.0144... |
https://github.com/huggingface/datasets/issues/807 | load_dataset for LOCAL CSV files report CONNECTION ERROR | >
>
> > hello, how did you solve this problems?
> > > > > Hi !
> > > > > The url works on my side.
> > > > > Is the url working in your navigator ?
> > > > > Are you connected to internet ? Does your network block access to `raw.githubusercontent.com` ?
> > > >
> > > >
> > > > I tried another server, it's ... | ## load_dataset for LOCAL CSV files report CONNECTION ERROR
- **Description:**
A local demo csv file:
```
import pandas as pd
import numpy as np
from datasets import load_dataset
import torch
import transformers
df = pd.DataFrame(np.arange(1200).reshape(300,4))
df.to_csv('test.csv', header=False, index=Fal... | 316 | load_dataset for LOCAL CSV files report CONNECTION ERROR
## load_dataset for LOCAL CSV files report CONNECTION ERROR
- **Description:**
A local demo csv file:
```
import pandas as pd
import numpy as np
from datasets import load_dataset
import torch
import transformers
df = pd.DataFrame(np.arange(1200).res... | [
-0.3247119784,
0.0161048751,
-0.1088048592,
0.0260045994,
0.2420430928,
0.0198688172,
0.7173693776,
0.3756362498,
0.2509218454,
0.1337040961,
-0.0342322253,
0.1497043818,
0.079799369,
0.0211836994,
-0.1269313097,
-0.1772821993,
-0.1271575987,
0.2743317187,
-0.4187990725,
0.0144... |
https://github.com/huggingface/datasets/issues/807 | load_dataset for LOCAL CSV files report CONNECTION ERROR | I also experienced this issue this morning. Looks like something specific to windows.
I'm working on a fix | ## load_dataset for LOCAL CSV files report CONNECTION ERROR
- **Description:**
A local demo csv file:
```
import pandas as pd
import numpy as np
from datasets import load_dataset
import torch
import transformers
df = pd.DataFrame(np.arange(1200).reshape(300,4))
df.to_csv('test.csv', header=False, index=Fal... | 18 | load_dataset for LOCAL CSV files report CONNECTION ERROR
## load_dataset for LOCAL CSV files report CONNECTION ERROR
- **Description:**
A local demo csv file:
```
import pandas as pd
import numpy as np
from datasets import load_dataset
import torch
import transformers
df = pd.DataFrame(np.arange(1200).res... | [
-0.3247119784,
0.0161048751,
-0.1088048592,
0.0260045994,
0.2420430928,
0.0198688172,
0.7173693776,
0.3756362498,
0.2509218454,
0.1337040961,
-0.0342322253,
0.1497043818,
0.079799369,
0.0211836994,
-0.1269313097,
-0.1772821993,
-0.1271575987,
0.2743317187,
-0.4187990725,
0.0144... |
https://github.com/huggingface/datasets/issues/806 | Quail dataset urls are out of date | Hi ! Thanks for reporting.
We should fix the urls and use quail 1.3.
If you want to contribute feel free to fix the urls and open a PR :) | <h3>Code</h3>
```
from datasets import load_dataset
quail = load_dataset('quail')
```
<h3>Error</h3>
```
FileNotFoundError: Couldn't find file at https://raw.githubusercontent.com/text-machine-lab/quail/master/quail_v1.2/xml/ordered/quail_1.2_train.xml
```
As per [quail v1.3 commit](https://github.co... | 30 | Quail dataset urls are out of date
<h3>Code</h3>
```
from datasets import load_dataset
quail = load_dataset('quail')
```
<h3>Error</h3>
```
FileNotFoundError: Couldn't find file at https://raw.githubusercontent.com/text-machine-lab/quail/master/quail_v1.2/xml/ordered/quail_1.2_train.xml
```
As per ... | [
0.1114191413,
0.2604738474,
-0.0615227781,
0.0869143605,
0.0552918129,
0.1165682003,
-0.1039383039,
0.284301877,
-0.145804584,
-0.0269256271,
-0.0500934906,
-0.1096021757,
0.0617608055,
0.0529491678,
0.036690224,
0.0992365628,
0.095751293,
-0.1073769182,
-0.4846738279,
-0.12074... |
https://github.com/huggingface/datasets/issues/806 | Quail dataset urls are out of date | Done! PR [https://github.com/huggingface/datasets/pull/820](https://github.com/huggingface/datasets/pull/820)
Updated links and also regenerated the metadata and dummy data for v1.3 in order to pass verifications as described here: [https://huggingface.co/docs/datasets/share_dataset.html#adding-tests-and-metadata-to... | <h3>Code</h3>
```
from datasets import load_dataset
quail = load_dataset('quail')
```
<h3>Error</h3>
```
FileNotFoundError: Couldn't find file at https://raw.githubusercontent.com/text-machine-lab/quail/master/quail_v1.2/xml/ordered/quail_1.2_train.xml
```
As per [quail v1.3 commit](https://github.co... | 24 | Quail dataset urls are out of date
<h3>Code</h3>
```
from datasets import load_dataset
quail = load_dataset('quail')
```
<h3>Error</h3>
```
FileNotFoundError: Couldn't find file at https://raw.githubusercontent.com/text-machine-lab/quail/master/quail_v1.2/xml/ordered/quail_1.2_train.xml
```
As per ... | [
0.1814383268,
0.2633906305,
-0.0307958182,
0.0592453629,
0.0418912098,
0.1230019629,
-0.1239681765,
0.2763622403,
-0.1936776638,
-0.0339005403,
-0.0796773657,
-0.0646381006,
0.0496296436,
0.0543349162,
0.0547170341,
0.1128324941,
0.0695690364,
-0.1595674157,
-0.4316188991,
-0.1... |
https://github.com/huggingface/datasets/issues/805 | On loading a metric from datasets, I get the following error | Hi ! We support only pyarrow > 0.17.1 so that we have access to the `PyExtensionType` object.
Could you update pyarrow and try again ?
```
pip install --upgrade pyarrow
``` | `from datasets import load_metric`
`metric = load_metric('bleurt')`
Traceback:
210 class _ArrayXDExtensionType(pa.PyExtensionType):
211
212 ndims: int = None
AttributeError: module 'pyarrow' has no attribute 'PyExtensionType'
Any help will be appreciated. Thank you. | 31 | On loading a metric from datasets, I get the following error
`from datasets import load_metric`
`metric = load_metric('bleurt')`
Traceback:
210 class _ArrayXDExtensionType(pa.PyExtensionType):
211
212 ndims: int = None
AttributeError: module 'pyarrow' has no attribute 'PyExtensionType'
Any... | [
-0.4477341473,
0.0432357267,
-0.0295897126,
0.4208566546,
0.5251891017,
0.1035732403,
0.1647767276,
0.1940905154,
0.1096884236,
0.1362632811,
-0.1096517816,
0.3368696868,
-0.0627769455,
-0.1668593287,
0.1410336941,
-0.2463782728,
-0.0271944646,
0.1920605451,
0.0922097117,
-0.00... |
https://github.com/huggingface/datasets/issues/804 | Empty output/answer in TriviaQA test set (both in 'kilt_tasks' and 'trivia_qa') | Yes: TriviaQA has a private test set for the leaderboard [here](https://competitions.codalab.org/competitions/17208)
For the KILT training and validation portions, you need to link the examples from the TriviaQA dataset as detailed here:
https://github.com/huggingface/datasets/blob/master/datasets/kilt_tasks/README... | # The issue
It's all in the title, it appears to be fine on the train and validation sets.
Is there some kind of mapping to do like for the questions (see https://github.com/huggingface/datasets/blob/master/datasets/kilt_tasks/README.md) ?
# How to reproduce
```py
from datasets import load_dataset
kilt_tas... | 32 | Empty output/answer in TriviaQA test set (both in 'kilt_tasks' and 'trivia_qa')
# The issue
It's all in the title, it appears to be fine on the train and validation sets.
Is there some kind of mapping to do like for the questions (see https://github.com/huggingface/datasets/blob/master/datasets/kilt_tasks/READM... | [
0.4346870184,
-0.3452417552,
-0.0812815651,
0.1217560172,
0.2600176036,
-0.0797686651,
0.4260962903,
0.4618622065,
0.1329813749,
0.2688275874,
0.094682686,
0.2613139153,
-0.0670851618,
0.5240862966,
0.0683323592,
0.2598777115,
-0.1134259403,
0.0808701962,
-0.144694984,
-0.22198... |
https://github.com/huggingface/datasets/issues/804 | Empty output/answer in TriviaQA test set (both in 'kilt_tasks' and 'trivia_qa') | Oh ok, I guess I read the paper too fast 😅, thank you for your answer! | # The issue
It's all in the title, it appears to be fine on the train and validation sets.
Is there some kind of mapping to do like for the questions (see https://github.com/huggingface/datasets/blob/master/datasets/kilt_tasks/README.md) ?
# How to reproduce
```py
from datasets import load_dataset
kilt_tas... | 16 | Empty output/answer in TriviaQA test set (both in 'kilt_tasks' and 'trivia_qa')
# The issue
It's all in the title, it appears to be fine on the train and validation sets.
Is there some kind of mapping to do like for the questions (see https://github.com/huggingface/datasets/blob/master/datasets/kilt_tasks/READM... | [
0.4681182504,
-0.488350898,
-0.1169173717,
0.0633330941,
0.3016146719,
-0.0618822277,
0.502779901,
0.4417296946,
0.1443297863,
0.2951971889,
0.1505080163,
0.247830078,
-0.1058165953,
0.4204442203,
0.0343297012,
0.2040222883,
-0.0182282552,
0.1341051161,
-0.2242503017,
-0.246357... |
https://github.com/huggingface/datasets/issues/801 | How to join two datasets? | Hi ! Currently the only way to add new fields to a dataset is by using `.map` and picking items from the other dataset
| Hi,
I'm wondering if it's possible to join two (preprocessed) datasets with the same number of rows but different labels?
I'm currently trying to create paired sentences for BERT from `wikipedia/'20200501.en`, and I couldn't figure out a way to create a paired sentence using `.map()` where the second sentence is... | 24 | How to join two datasets?
Hi,
I'm wondering if it's possible to join two (preprocessed) datasets with the same number of rows but different labels?
I'm currently trying to create paired sentences for BERT from `wikipedia/'20200501.en`, and I couldn't figure out a way to create a paired sentence using `.map()` ... | [
-0.0807136372,
-0.0231980029,
-0.0087039573,
0.0758330896,
-0.0804638565,
0.1938631982,
-0.0964452475,
0.1502997875,
0.0917022601,
-0.1372490525,
-0.1564024836,
0.2632104754,
0.2652061284,
0.0553943664,
0.0318244435,
-0.1623480916,
0.2753705084,
0.1366873384,
-0.1497533917,
0.0... |
https://github.com/huggingface/datasets/issues/801 | How to join two datasets? | Closing this one. Feel free to re-open if you have other questions about this issue.
Also linking another discussion about joining datasets: #853 | Hi,
I'm wondering if it's possible to join two (preprocessed) datasets with the same number of rows but different labels?
I'm currently trying to create paired sentences for BERT from `wikipedia/'20200501.en`, and I couldn't figure out a way to create a paired sentence using `.map()` where the second sentence is... | 23 | How to join two datasets?
Hi,
I'm wondering if it's possible to join two (preprocessed) datasets with the same number of rows but different labels?
I'm currently trying to create paired sentences for BERT from `wikipedia/'20200501.en`, and I couldn't figure out a way to create a paired sentence using `.map()` ... | [
-0.0025698228,
-0.0501235314,
0.0077044456,
0.0776306093,
-0.0018987784,
0.1729737818,
-0.059213683,
0.1528548002,
-0.0238949303,
-0.1077589169,
-0.2796115577,
0.228430599,
0.3064371943,
0.0511664487,
0.0457664803,
-0.2121217549,
0.2977072299,
0.0878451541,
-0.1395892203,
0.067... |
https://github.com/huggingface/datasets/issues/798 | Cannot load TREC dataset: ConnectionError | Hi ! Indeed there's an issue with those links.
We should probably use the target urls of the redirections instead | ## Problem
I cannot load "trec" dataset, it results with ConnectionError as shown below. I've tried on both Google Colab and locally.
* `requests.head('http://cogcomp.org/Data/QA/QC/train_5500.label')` returns <Response [302]>.
* `requests.head('http://cogcomp.org/Data/QA/QC/train_5500.label', allow_redirects=True... | 20 | Cannot load TREC dataset: ConnectionError
## Problem
I cannot load "trec" dataset, it results with ConnectionError as shown below. I've tried on both Google Colab and locally.
* `requests.head('http://cogcomp.org/Data/QA/QC/train_5500.label')` returns <Response [302]>.
* `requests.head('http://cogcomp.org/Data/Q... | [
-0.169172436,
0.0168355685,
0.0626650825,
0.3633996844,
0.2918767035,
-0.1796784848,
0.2199587822,
-0.0434448421,
-0.1838138252,
0.0629582182,
-0.3238993287,
0.136017248,
0.0722292438,
0.1577589661,
-0.0579133779,
-0.094527334,
-0.1901096851,
-0.2000557482,
-0.0688835829,
0.253... |
https://github.com/huggingface/datasets/issues/798 | Cannot load TREC dataset: ConnectionError | Hi, the same issue here, could you tell me how to download it through datasets? thanks | ## Problem
I cannot load "trec" dataset, it results with ConnectionError as shown below. I've tried on both Google Colab and locally.
* `requests.head('http://cogcomp.org/Data/QA/QC/train_5500.label')` returns <Response [302]>.
* `requests.head('http://cogcomp.org/Data/QA/QC/train_5500.label', allow_redirects=True... | 16 | Cannot load TREC dataset: ConnectionError
## Problem
I cannot load "trec" dataset, it results with ConnectionError as shown below. I've tried on both Google Colab and locally.
* `requests.head('http://cogcomp.org/Data/QA/QC/train_5500.label')` returns <Response [302]>.
* `requests.head('http://cogcomp.org/Data/Q... | [
-0.169172436,
0.0168355685,
0.0626650825,
0.3633996844,
0.2918767035,
-0.1796784848,
0.2199587822,
-0.0434448421,
-0.1838138252,
0.0629582182,
-0.3238993287,
0.136017248,
0.0722292438,
0.1577589661,
-0.0579133779,
-0.094527334,
-0.1901096851,
-0.2000557482,
-0.0688835829,
0.253... |
https://github.com/huggingface/datasets/issues/798 | Cannot load TREC dataset: ConnectionError | Actually it's already fixed on the master branch since #740
I'll do the 1.1.3 release soon | ## Problem
I cannot load "trec" dataset, it results with ConnectionError as shown below. I've tried on both Google Colab and locally.
* `requests.head('http://cogcomp.org/Data/QA/QC/train_5500.label')` returns <Response [302]>.
* `requests.head('http://cogcomp.org/Data/QA/QC/train_5500.label', allow_redirects=True... | 16 | Cannot load TREC dataset: ConnectionError
## Problem
I cannot load "trec" dataset, it results with ConnectionError as shown below. I've tried on both Google Colab and locally.
* `requests.head('http://cogcomp.org/Data/QA/QC/train_5500.label')` returns <Response [302]>.
* `requests.head('http://cogcomp.org/Data/Q... | [
-0.169172436,
0.0168355685,
0.0626650825,
0.3633996844,
0.2918767035,
-0.1796784848,
0.2199587822,
-0.0434448421,
-0.1838138252,
0.0629582182,
-0.3238993287,
0.136017248,
0.0722292438,
0.1577589661,
-0.0579133779,
-0.094527334,
-0.1901096851,
-0.2000557482,
-0.0688835829,
0.253... |
https://github.com/huggingface/datasets/issues/798 | Cannot load TREC dataset: ConnectionError | Hi
thanks, but I did tried to install from the pip install git+... and it does
not work for me,. thanks for the help. I have the same issue with wmt16,
"ro-en"
thanks.
Best
Rabeeh
On Mon, Nov 16, 2020 at 10:29 AM Quentin Lhoest <notifications@github.com>
wrote:
> Actually it's already fixed on the master branch since... | ## Problem
I cannot load "trec" dataset, it results with ConnectionError as shown below. I've tried on both Google Colab and locally.
* `requests.head('http://cogcomp.org/Data/QA/QC/train_5500.label')` returns <Response [302]>.
* `requests.head('http://cogcomp.org/Data/QA/QC/train_5500.label', allow_redirects=True... | 98 | Cannot load TREC dataset: ConnectionError
## Problem
I cannot load "trec" dataset, it results with ConnectionError as shown below. I've tried on both Google Colab and locally.
* `requests.head('http://cogcomp.org/Data/QA/QC/train_5500.label')` returns <Response [302]>.
* `requests.head('http://cogcomp.org/Data/Q... | [
-0.169172436,
0.0168355685,
0.0626650825,
0.3633996844,
0.2918767035,
-0.1796784848,
0.2199587822,
-0.0434448421,
-0.1838138252,
0.0629582182,
-0.3238993287,
0.136017248,
0.0722292438,
0.1577589661,
-0.0579133779,
-0.094527334,
-0.1901096851,
-0.2000557482,
-0.0688835829,
0.253... |
https://github.com/huggingface/datasets/issues/798 | Cannot load TREC dataset: ConnectionError | I just tested on google colab using
```python
!pip install git+https://github.com/huggingface/datasets.git
from datasets import load_dataset
load_dataset("trec")
```
and it works.
Can you detail how you got the issue even when using the latest version on master ?
Also about wmt we'll look into it, thanks for ... | ## Problem
I cannot load "trec" dataset, it results with ConnectionError as shown below. I've tried on both Google Colab and locally.
* `requests.head('http://cogcomp.org/Data/QA/QC/train_5500.label')` returns <Response [302]>.
* `requests.head('http://cogcomp.org/Data/QA/QC/train_5500.label', allow_redirects=True... | 48 | Cannot load TREC dataset: ConnectionError
## Problem
I cannot load "trec" dataset, it results with ConnectionError as shown below. I've tried on both Google Colab and locally.
* `requests.head('http://cogcomp.org/Data/QA/QC/train_5500.label')` returns <Response [302]>.
* `requests.head('http://cogcomp.org/Data/Q... | [
-0.169172436,
0.0168355685,
0.0626650825,
0.3633996844,
0.2918767035,
-0.1796784848,
0.2199587822,
-0.0434448421,
-0.1838138252,
0.0629582182,
-0.3238993287,
0.136017248,
0.0722292438,
0.1577589661,
-0.0579133779,
-0.094527334,
-0.1901096851,
-0.2000557482,
-0.0688835829,
0.253... |
https://github.com/huggingface/datasets/issues/798 | Cannot load TREC dataset: ConnectionError | I think the new url with .edu is also broken:
```
ConnectionError: Couldn't reach https://cogcomp.seas.upenn.edu/Data/QA/QC/train_5500.label
```
Cant download the dataset anymore. | ## Problem
I cannot load "trec" dataset, it results with ConnectionError as shown below. I've tried on both Google Colab and locally.
* `requests.head('http://cogcomp.org/Data/QA/QC/train_5500.label')` returns <Response [302]>.
* `requests.head('http://cogcomp.org/Data/QA/QC/train_5500.label', allow_redirects=True... | 21 | Cannot load TREC dataset: ConnectionError
## Problem
I cannot load "trec" dataset, it results with ConnectionError as shown below. I've tried on both Google Colab and locally.
* `requests.head('http://cogcomp.org/Data/QA/QC/train_5500.label')` returns <Response [302]>.
* `requests.head('http://cogcomp.org/Data/Q... | [
-0.169172436,
0.0168355685,
0.0626650825,
0.3633996844,
0.2918767035,
-0.1796784848,
0.2199587822,
-0.0434448421,
-0.1838138252,
0.0629582182,
-0.3238993287,
0.136017248,
0.0722292438,
0.1577589661,
-0.0579133779,
-0.094527334,
-0.1901096851,
-0.2000557482,
-0.0688835829,
0.253... |
https://github.com/huggingface/datasets/issues/798 | Cannot load TREC dataset: ConnectionError | Hi ! The URL seems to work fine on my side, can you try again ? | ## Problem
I cannot load "trec" dataset, it results with ConnectionError as shown below. I've tried on both Google Colab and locally.
* `requests.head('http://cogcomp.org/Data/QA/QC/train_5500.label')` returns <Response [302]>.
* `requests.head('http://cogcomp.org/Data/QA/QC/train_5500.label', allow_redirects=True... | 16 | Cannot load TREC dataset: ConnectionError
## Problem
I cannot load "trec" dataset, it results with ConnectionError as shown below. I've tried on both Google Colab and locally.
* `requests.head('http://cogcomp.org/Data/QA/QC/train_5500.label')` returns <Response [302]>.
* `requests.head('http://cogcomp.org/Data/Q... | [
-0.169172436,
0.0168355685,
0.0626650825,
0.3633996844,
0.2918767035,
-0.1796784848,
0.2199587822,
-0.0434448421,
-0.1838138252,
0.0629582182,
-0.3238993287,
0.136017248,
0.0722292438,
0.1577589661,
-0.0579133779,
-0.094527334,
-0.1901096851,
-0.2000557482,
-0.0688835829,
0.253... |
https://github.com/huggingface/datasets/issues/798 | Cannot load TREC dataset: ConnectionError | Forgot to update, i wrote an email to the webmaster of seas.upenn.edu because i couldnt reach the url on any machine. This was the answer:
```
Thank you for your report. The server was offline for maintenance and is now available again.
```
Guess all back to normal now 🙂 | ## Problem
I cannot load "trec" dataset, it results with ConnectionError as shown below. I've tried on both Google Colab and locally.
* `requests.head('http://cogcomp.org/Data/QA/QC/train_5500.label')` returns <Response [302]>.
* `requests.head('http://cogcomp.org/Data/QA/QC/train_5500.label', allow_redirects=True... | 50 | Cannot load TREC dataset: ConnectionError
## Problem
I cannot load "trec" dataset, it results with ConnectionError as shown below. I've tried on both Google Colab and locally.
* `requests.head('http://cogcomp.org/Data/QA/QC/train_5500.label')` returns <Response [302]>.
* `requests.head('http://cogcomp.org/Data/Q... | [
-0.169172436,
0.0168355685,
0.0626650825,
0.3633996844,
0.2918767035,
-0.1796784848,
0.2199587822,
-0.0434448421,
-0.1838138252,
0.0629582182,
-0.3238993287,
0.136017248,
0.0722292438,
0.1577589661,
-0.0579133779,
-0.094527334,
-0.1901096851,
-0.2000557482,
-0.0688835829,
0.253... |
https://github.com/huggingface/datasets/issues/796 | Seq2Seq Metrics QOL: Bleu, Rouge | Hi ! Thanks for letting us know your experience :)
We should at least improve the error messages indeed | Putting all my QOL issues here, idt I will have time to propose fixes, but I didn't want these to be lost, in case they are useful. I tried using `rouge` and `bleu` for the first time and wrote down everything I didn't immediately understand:
+ Bleu expects tokenization, can I just kwarg it like sacrebleu?
+ differ... | 19 | Seq2Seq Metrics QOL: Bleu, Rouge
Putting all my QOL issues here, idt I will have time to propose fixes, but I didn't want these to be lost, in case they are useful. I tried using `rouge` and `bleu` for the first time and wrote down everything I didn't immediately understand:
+ Bleu expects tokenization, can I just... | [
0.1769538224,
-0.028165888,
-0.0853119493,
0.059553504,
0.1316636801,
-0.2772905529,
0.0935506225,
0.1194604635,
-0.0715432689,
0.0205882378,
-0.2373280972,
0.0115101375,
-0.1035930216,
-0.002877234,
0.0880223289,
-0.2312069833,
-0.0192945451,
0.0564785041,
0.0220849216,
-0.209... |
https://github.com/huggingface/datasets/issues/796 | Seq2Seq Metrics QOL: Bleu, Rouge | prediction = [['Hey', 'how', 'are', 'you', '?']]
reference=[['Hey', 'how', 'are', 'you', '?']]
bleu.compute(predictions=prediction,references=reference)
also tried this kind of things lol
I definitely need help too | Putting all my QOL issues here, idt I will have time to propose fixes, but I didn't want these to be lost, in case they are useful. I tried using `rouge` and `bleu` for the first time and wrote down everything I didn't immediately understand:
+ Bleu expects tokenization, can I just kwarg it like sacrebleu?
+ differ... | 25 | Seq2Seq Metrics QOL: Bleu, Rouge
Putting all my QOL issues here, idt I will have time to propose fixes, but I didn't want these to be lost, in case they are useful. I tried using `rouge` and `bleu` for the first time and wrote down everything I didn't immediately understand:
+ Bleu expects tokenization, can I just... | [
0.1769538224,
-0.028165888,
-0.0853119493,
0.059553504,
0.1316636801,
-0.2772905529,
0.0935506225,
0.1194604635,
-0.0715432689,
0.0205882378,
-0.2373280972,
0.0115101375,
-0.1035930216,
-0.002877234,
0.0880223289,
-0.2312069833,
-0.0192945451,
0.0564785041,
0.0220849216,
-0.209... |
https://github.com/huggingface/datasets/issues/796 | Seq2Seq Metrics QOL: Bleu, Rouge | Hi !
As described in the documentation for `bleu`:
```
Args:
predictions: list of translations to score.
Each translation should be tokenized into a list of tokens.
references: list of lists of references for each translation.
Each reference should be tokenized into a list of tokens.
`... | Putting all my QOL issues here, idt I will have time to propose fixes, but I didn't want these to be lost, in case they are useful. I tried using `rouge` and `bleu` for the first time and wrote down everything I didn't immediately understand:
+ Bleu expects tokenization, can I just kwarg it like sacrebleu?
+ differ... | 142 | Seq2Seq Metrics QOL: Bleu, Rouge
Putting all my QOL issues here, idt I will have time to propose fixes, but I didn't want these to be lost, in case they are useful. I tried using `rouge` and `bleu` for the first time and wrote down everything I didn't immediately understand:
+ Bleu expects tokenization, can I just... | [
0.1769538224,
-0.028165888,
-0.0853119493,
0.059553504,
0.1316636801,
-0.2772905529,
0.0935506225,
0.1194604635,
-0.0715432689,
0.0205882378,
-0.2373280972,
0.0115101375,
-0.1035930216,
-0.002877234,
0.0880223289,
-0.2312069833,
-0.0192945451,
0.0564785041,
0.0220849216,
-0.209... |
https://github.com/huggingface/datasets/issues/792 | KILT dataset: empty string in triviaqa input field | Just found out about https://github.com/huggingface/datasets/blob/master/datasets/kilt_tasks/README.md
(Not very clear in https://huggingface.co/datasets/kilt_tasks links to http://github.com/huggingface/datasets/datasets/kilt_tasks/README.md which is dead, closing the issue though :)) | # What happened
Both train and test splits of the triviaqa dataset (part of the KILT benchmark) seem to have empty string in their input field (unlike the natural questions dataset, part of the same benchmark)
# Versions
KILT version is `1.0.0`
`datasets` version is `1.1.2`
[more here](https://gist.github.com/Pa... | 21 | KILT dataset: empty string in triviaqa input field
# What happened
Both train and test splits of the triviaqa dataset (part of the KILT benchmark) seem to have empty string in their input field (unlike the natural questions dataset, part of the same benchmark)
# Versions
KILT version is `1.0.0`
`datasets` versi... | [
0.415424943,
-0.3093393445,
-0.0309625752,
0.0308448747,
0.2169783711,
0.0481551439,
0.6097393632,
0.4196391106,
0.184118405,
0.1952489614,
0.3654611409,
0.5179550648,
-0.0468077883,
0.4430817366,
0.045261994,
0.0297371875,
0.0262947455,
0.0816093832,
0.2449793965,
-0.134907797... |
https://github.com/huggingface/datasets/issues/790 | Error running pip install -e ".[dev]" on MacOS 10.13.6: faiss/python does not exist | I saw that `faiss-cpu` 1.6.4.post2 was released recently to fix the installation on macos. It should work now | I was following along with https://huggingface.co/docs/datasets/share_dataset.html#adding-tests-and-metadata-to-the-dataset when I ran into this error.
```sh
git clone https://github.com/huggingface/datasets
cd datasets
virtualenv venv -p python3 --system-site-packages
source venv/bin/activate
pip install -e ".... | 18 | Error running pip install -e ".[dev]" on MacOS 10.13.6: faiss/python does not exist
I was following along with https://huggingface.co/docs/datasets/share_dataset.html#adding-tests-and-metadata-to-the-dataset when I ran into this error.
```sh
git clone https://github.com/huggingface/datasets
cd datasets
virtuale... | [
-0.0769137964,
-0.4744405448,
-0.1149006933,
-0.0313249193,
0.0470355861,
0.0747044161,
-0.2394819409,
0.232113108,
0.3420980275,
0.0246701017,
-0.071381025,
0.2375307083,
0.0024276972,
0.0662579983,
0.0126582412,
0.03989264,
0.4198972285,
0.2260305732,
-0.0316483639,
-0.232901... |
https://github.com/huggingface/datasets/issues/786 | feat(dataset): multiprocessing _generate_examples | I agree that would be cool :)
Right now the only distributed dataset builder is based on Apache Beam so you can use distributed processing frameworks like Dataflow, Spark, Flink etc. to build your dataset but it's not really well suited for single-worker parallel processing afaik | forking this out of #741, this issue is only regarding multiprocessing
I'd love if there was a dataset configuration parameter `workers`, where when it is `1` it behaves as it does right now, and when its `>1` maybe `_generate_examples` can also get the `pool` and return an iterable using the pool.
In my use case... | 46 | feat(dataset): multiprocessing _generate_examples
forking this out of #741, this issue is only regarding multiprocessing
I'd love if there was a dataset configuration parameter `workers`, where when it is `1` it behaves as it does right now, and when its `>1` maybe `_generate_examples` can also get the `pool` and ... | [
-0.5645689964,
-0.1257420182,
-0.1173855141,
-0.1666330099,
-0.0713060275,
-0.0848813578,
0.3084897101,
0.3450713456,
0.1016155258,
0.4008845985,
0.2586759627,
0.1760060489,
0.0299798176,
0.1242405549,
0.1066481024,
0.093806006,
0.0195515975,
0.1313362867,
-0.2605702877,
-0.048... |
https://github.com/huggingface/datasets/issues/784 | Issue with downloading Wikipedia data for low resource language | Hello, maybe you could ty to use another date for the wikipedia dump (see the available [dates](https://dumps.wikimedia.org/jvwiki) here for `jv`) ? | Hi, I tried to download Sundanese and Javanese wikipedia data with the following snippet
```
jv_wiki = datasets.load_dataset('wikipedia', '20200501.jv', beam_runner='DirectRunner')
su_wiki = datasets.load_dataset('wikipedia', '20200501.su', beam_runner='DirectRunner')
```
And I get the following error for these tw... | 21 | Issue with downloading Wikipedia data for low resource language
Hi, I tried to download Sundanese and Javanese wikipedia data with the following snippet
```
jv_wiki = datasets.load_dataset('wikipedia', '20200501.jv', beam_runner='DirectRunner')
su_wiki = datasets.load_dataset('wikipedia', '20200501.su', beam_runne... | [
0.194714725,
-0.0537347235,
0.0254637841,
0.4426942468,
0.1626282632,
0.0445551835,
0.0317904241,
0.415058732,
0.0690620616,
-0.0053408672,
-0.2461345345,
-0.1570815593,
0.383926332,
-0.2293260247,
-0.1017462462,
-0.5121179819,
0.1875391901,
0.0159035455,
0.0008709595,
-0.04527... |
https://github.com/huggingface/datasets/issues/784 | Issue with downloading Wikipedia data for low resource language | @lhoestq
I've tried `load_dataset('wikipedia', '20200501.zh', beam_runner='DirectRunner')` and got the same `FileNotFoundError` as @SamuelCahyawijaya.
Also, using another date (e.g. `load_dataset('wikipedia', '20201120.zh', beam_runner='DirectRunner')`) will give the following error message.
```
ValueError: B... | Hi, I tried to download Sundanese and Javanese wikipedia data with the following snippet
```
jv_wiki = datasets.load_dataset('wikipedia', '20200501.jv', beam_runner='DirectRunner')
su_wiki = datasets.load_dataset('wikipedia', '20200501.su', beam_runner='DirectRunner')
```
And I get the following error for these tw... | 342 | Issue with downloading Wikipedia data for low resource language
Hi, I tried to download Sundanese and Javanese wikipedia data with the following snippet
```
jv_wiki = datasets.load_dataset('wikipedia', '20200501.jv', beam_runner='DirectRunner')
su_wiki = datasets.load_dataset('wikipedia', '20200501.su', beam_runne... | [
0.0533473454,
0.0374849848,
0.0597833917,
0.4869289994,
0.170536682,
0.0233594794,
0.0932295993,
0.4074783921,
0.1669996977,
0.1014820114,
-0.1808921844,
-0.1391495317,
0.4188607037,
-0.1732715815,
-0.0940441415,
-0.4950677752,
0.1877744645,
0.0399843119,
0.0126653509,
-0.06551... |
https://github.com/huggingface/datasets/issues/784 | Issue with downloading Wikipedia data for low resource language | For posterity, here's how I got the data I needed: I needed Bengali, so I had to check which dumps are available here: https://dumps.wikimedia.org/bnwiki/ , then I ran:
```
load_dataset("wikipedia", language="bn", date="20211101",
beam_runner="DirectRunner")
``` | Hi, I tried to download Sundanese and Javanese wikipedia data with the following snippet
```
jv_wiki = datasets.load_dataset('wikipedia', '20200501.jv', beam_runner='DirectRunner')
su_wiki = datasets.load_dataset('wikipedia', '20200501.su', beam_runner='DirectRunner')
```
And I get the following error for these tw... | 34 | Issue with downloading Wikipedia data for low resource language
Hi, I tried to download Sundanese and Javanese wikipedia data with the following snippet
```
jv_wiki = datasets.load_dataset('wikipedia', '20200501.jv', beam_runner='DirectRunner')
su_wiki = datasets.load_dataset('wikipedia', '20200501.su', beam_runne... | [
0.1842236221,
-0.0581775978,
0.0112092802,
0.4411025345,
0.1695393324,
0.0318266638,
0.0386344865,
0.4088580906,
0.0813779533,
-0.0029663518,
-0.264680326,
-0.183471486,
0.372841686,
-0.205167979,
-0.0723533779,
-0.5031830072,
0.2173891813,
0.0228396822,
0.0646556169,
-0.073370... |
https://github.com/huggingface/datasets/issues/778 | Unexpected behavior when loading cached csv file? | Hi ! Thanks for reporting.
The same issue was reported in #730 (but with the encodings instead of the delimiter). It was fixed by #770 .
The fix will be available in the next release :) | I read a csv file from disk and forgot so specify the right delimiter. When i read the csv file again specifying the right delimiter it had no effect since it was using the cached dataset. I am not sure if this is unwanted behavior since i can always specify `download_mode="force_redownload"`. But i think it would be n... | 36 | Unexpected behavior when loading cached csv file?
I read a csv file from disk and forgot so specify the right delimiter. When i read the csv file again specifying the right delimiter it had no effect since it was using the cached dataset. I am not sure if this is unwanted behavior since i can always specify `download... | [
0.1203238741,
-0.1472448111,
-0.1446629614,
0.3973076046,
0.0596906506,
0.1563187838,
0.7675093412,
-0.1010699868,
0.3270577192,
0.0822040215,
-0.0324488096,
-0.0013562428,
0.108803086,
-0.2761221528,
-0.116261676,
0.1431806237,
0.1974260658,
0.1384892762,
-0.0753116831,
-0.071... |
https://github.com/huggingface/datasets/issues/778 | Unexpected behavior when loading cached csv file? | Thanks for the prompt reply and terribly sorry for the spam!
Looking forward to the new release! | I read a csv file from disk and forgot so specify the right delimiter. When i read the csv file again specifying the right delimiter it had no effect since it was using the cached dataset. I am not sure if this is unwanted behavior since i can always specify `download_mode="force_redownload"`. But i think it would be n... | 17 | Unexpected behavior when loading cached csv file?
I read a csv file from disk and forgot so specify the right delimiter. When i read the csv file again specifying the right delimiter it had no effect since it was using the cached dataset. I am not sure if this is unwanted behavior since i can always specify `download... | [
0.0635630637,
-0.1376710236,
-0.1611226499,
0.3697887063,
0.0240295026,
0.169858247,
0.7317377925,
-0.0952789262,
0.3456762731,
0.0621811636,
-0.0196883865,
0.0263579749,
0.0926188529,
-0.2516985536,
-0.1203583628,
0.1674454361,
0.2184599936,
0.1518636495,
-0.1047641337,
-0.076... |
https://github.com/huggingface/datasets/issues/773 | Adding CC-100: Monolingual Datasets from Web Crawl Data | These dataset files are no longer available. https://data.statmt.org/cc-100/ files provided in this link are no longer available. Can anybody fix that issue?
@abhishekkrthakur @yjernite | ## Adding a Dataset
- **Name:** CC-100: Monolingual Datasets from Web Crawl Data
- **Description:** https://twitter.com/alex_conneau/status/1321507120848625665
- **Paper:** https://arxiv.org/abs/1911.02116
- **Data:** http://data.statmt.org/cc-100/
- **Motivation:** A large scale multi-lingual language modeling da... | 24 | Adding CC-100: Monolingual Datasets from Web Crawl Data
## Adding a Dataset
- **Name:** CC-100: Monolingual Datasets from Web Crawl Data
- **Description:** https://twitter.com/alex_conneau/status/1321507120848625665
- **Paper:** https://arxiv.org/abs/1911.02116
- **Data:** http://data.statmt.org/cc-100/
- **Moti... | [
-0.0347667634,
-0.0641792193,
-0.0345287398,
0.0519421659,
-0.0161266401,
0.1702343225,
0.010996527,
0.1980708241,
0.0870213434,
0.1149845645,
-0.1765137762,
-0.1989439875,
-0.0836696699,
0.1950297952,
0.3183032274,
-0.0922218636,
-0.0328102261,
-0.118735671,
-0.0102828303,
-0.... |
https://github.com/huggingface/datasets/issues/773 | Adding CC-100: Monolingual Datasets from Web Crawl Data | Hi ! Can you open an issue to report this problem ? This will help keep track of the fix :) | ## Adding a Dataset
- **Name:** CC-100: Monolingual Datasets from Web Crawl Data
- **Description:** https://twitter.com/alex_conneau/status/1321507120848625665
- **Paper:** https://arxiv.org/abs/1911.02116
- **Data:** http://data.statmt.org/cc-100/
- **Motivation:** A large scale multi-lingual language modeling da... | 21 | Adding CC-100: Monolingual Datasets from Web Crawl Data
## Adding a Dataset
- **Name:** CC-100: Monolingual Datasets from Web Crawl Data
- **Description:** https://twitter.com/alex_conneau/status/1321507120848625665
- **Paper:** https://arxiv.org/abs/1911.02116
- **Data:** http://data.statmt.org/cc-100/
- **Moti... | [
0.1544766724,
-0.3317201138,
-0.0355253257,
0.1143347248,
0.2201697081,
-0.0529691391,
0.0626521111,
0.2461555302,
0.249293074,
0.2353867888,
-0.1515423506,
-0.0016265498,
0.0217750147,
0.3425982296,
0.1175914258,
-0.049415458,
-0.0165672693,
-0.0350251012,
-0.064094387,
-0.129... |
https://github.com/huggingface/datasets/issues/771 | Using `Dataset.map` with `n_proc>1` print multiple progress bars | Yes it allows to monitor the speed of each process. Currently each process takes care of one shard of the dataset.
At one point we can consider using streaming batches to a pool of processes instead of sharding the dataset in `num_proc` parts. At that point it will be easy to use only one progress bar | When using `Dataset.map` with `n_proc > 1`, only one of the processes should print a progress bar (to make the output readable). Right now, `n_proc` progress bars are printed. | 56 | Using `Dataset.map` with `n_proc>1` print multiple progress bars
When using `Dataset.map` with `n_proc > 1`, only one of the processes should print a progress bar (to make the output readable). Right now, `n_proc` progress bars are printed.
Yes it allows to monitor the speed of each process. Currently each process ... | [
-0.4709307849,
-0.308660537,
-0.2045883834,
0.0282438584,
-0.1614844501,
-0.0598896518,
0.4274544418,
0.1954979002,
-0.1440222859,
0.5090813637,
0.0353114307,
0.2185552716,
0.1020266861,
0.5340999961,
0.014690361,
-0.006240021,
0.0625612736,
0.1021450609,
-0.0488366745,
0.25745... |
https://github.com/huggingface/datasets/issues/769 | How to choose proper download_mode in function load_dataset? | `download_mode=datasets.GenerateMode.FORCE_REDOWNLOAD` should work.
This makes me think we we should rename this to DownloadMode.FORCE_REDOWNLOAD. Currently that's confusing | Hi, I am a beginner to datasets and I try to use datasets to load my csv file.
my csv file looks like this
```
text,label
"Effective but too-tepid biopic",3
"If you sometimes like to go to the movies to have fun , Wasabi is a good place to start .",4
"Emerges as something rare , an issue movie that 's so hones... | 17 | How to choose proper download_mode in function load_dataset?
Hi, I am a beginner to datasets and I try to use datasets to load my csv file.
my csv file looks like this
```
text,label
"Effective but too-tepid biopic",3
"If you sometimes like to go to the movies to have fun , Wasabi is a good place to start .",... | [
-0.2590155602,
-0.1065789461,
-0.032491371,
0.073509641,
0.3922299445,
-0.0588004626,
0.4731935561,
0.0939230099,
0.1750785261,
-0.0883603394,
-0.2146190107,
0.1605181247,
0.284096688,
0.1457753181,
-0.0188390501,
0.0348517075,
0.1505483538,
0.0791149884,
-0.297867924,
0.044699... |
https://github.com/huggingface/datasets/issues/769 | How to choose proper download_mode in function load_dataset? | Indeed you should use `features` in this case.
```python
features = Features({'text': Value('string'), 'label': Value('float32')})
dataset = load_dataset('csv', data_files=['sst_test.csv'], features=features)
```
Note that because of an issue with the caching when you change the features (see #750 ) you still nee... | Hi, I am a beginner to datasets and I try to use datasets to load my csv file.
my csv file looks like this
```
text,label
"Effective but too-tepid biopic",3
"If you sometimes like to go to the movies to have fun , Wasabi is a good place to start .",4
"Emerges as something rare , an issue movie that 's so hones... | 55 | How to choose proper download_mode in function load_dataset?
Hi, I am a beginner to datasets and I try to use datasets to load my csv file.
my csv file looks like this
```
text,label
"Effective but too-tepid biopic",3
"If you sometimes like to go to the movies to have fun , Wasabi is a good place to start .",... | [
-0.2571399212,
-0.2127028555,
-0.0402399972,
0.1630151868,
0.4040102959,
-0.0686797127,
0.4393960834,
0.092924498,
0.2167060673,
-0.081383273,
-0.2033498734,
0.1510446519,
0.2890434265,
0.2188755125,
-0.0475559719,
-0.0434880964,
0.1723636985,
0.0663755611,
-0.3534501493,
0.058... |
https://github.com/huggingface/datasets/issues/769 | How to choose proper download_mode in function load_dataset? | https://github.com/huggingface/datasets/issues/769#issuecomment-717837832
> This makes me think we we should rename this to DownloadMode.FORCE_REDOWNLOAD. Currently that's confusing
@lhoestq do you still think we should rename it?
| Hi, I am a beginner to datasets and I try to use datasets to load my csv file.
my csv file looks like this
```
text,label
"Effective but too-tepid biopic",3
"If you sometimes like to go to the movies to have fun , Wasabi is a good place to start .",4
"Emerges as something rare , an issue movie that 's so hones... | 25 | How to choose proper download_mode in function load_dataset?
Hi, I am a beginner to datasets and I try to use datasets to load my csv file.
my csv file looks like this
```
text,label
"Effective but too-tepid biopic",3
"If you sometimes like to go to the movies to have fun , Wasabi is a good place to start .",... | [
-0.2798762023,
-0.1978810579,
-0.0330595151,
0.2058902681,
0.3862630129,
-0.0532016717,
0.3852046132,
0.081918098,
0.2267120332,
-0.0746654123,
-0.2240721136,
0.1203780174,
0.2853159308,
0.1946470439,
-0.031751655,
-0.0357661396,
0.1483395994,
0.047740858,
-0.3576505184,
0.0579... |
https://github.com/huggingface/datasets/issues/769 | How to choose proper download_mode in function load_dataset? | It's no big deal, but since it can be confusing to users I think it's worth renaming it, and deprecate `GenerateMode` until `datasets` 2.0 at least. IMO it's confusing to have `download_mode=GenerateMode.something` | Hi, I am a beginner to datasets and I try to use datasets to load my csv file.
my csv file looks like this
```
text,label
"Effective but too-tepid biopic",3
"If you sometimes like to go to the movies to have fun , Wasabi is a good place to start .",4
"Emerges as something rare , an issue movie that 's so hones... | 32 | How to choose proper download_mode in function load_dataset?
Hi, I am a beginner to datasets and I try to use datasets to load my csv file.
my csv file looks like this
```
text,label
"Effective but too-tepid biopic",3
"If you sometimes like to go to the movies to have fun , Wasabi is a good place to start .",... | [
-0.2947121561,
-0.1014493927,
-0.0289799385,
0.1379999369,
0.3940344751,
-0.073552154,
0.4411508441,
0.1097025126,
0.178839609,
-0.053159859,
-0.1855911613,
0.1562650204,
0.3012978435,
0.1175341755,
-0.034172602,
-0.0107892966,
0.1626378447,
0.0663084388,
-0.3622528613,
0.05515... |
https://github.com/huggingface/datasets/issues/768 | Add a `lazy_map` method to `Dataset` and `DatasetDict` | This is cool! I think some aspects to think about and decide in terms of API are:
- do we allow several methods (chained i guess)
- how do we inspect the currently set method(s)
- how do we control/reset them | The library is great, but it would be even more awesome with a `lazy_map` method implemented on `Dataset` and `DatasetDict`. This would apply a function on a give item but when the item is requested. Two use cases:
1. load image on the fly
2. apply a random function and get different outputs at each epoch (like dat... | 41 | Add a `lazy_map` method to `Dataset` and `DatasetDict`
The library is great, but it would be even more awesome with a `lazy_map` method implemented on `Dataset` and `DatasetDict`. This would apply a function on a give item but when the item is requested. Two use cases:
1. load image on the fly
2. apply a random f... | [
-0.0316452757,
0.0137581741,
-0.2658604085,
0.011650607,
-0.126135245,
-0.120669961,
0.0822107866,
0.3159668446,
0.3856460452,
0.1577916741,
0.0908186883,
0.4605905414,
-0.3150092661,
-0.0637617856,
-0.0990353152,
-0.04761355,
-0.0590979047,
0.1570822299,
-0.1722944379,
-0.1399... |
https://github.com/huggingface/datasets/issues/767 | Add option for named splits when using ds.train_test_split | Yes definitely we should give more flexibility to control the name of the splits outputted by `train_test_split`.
Related is the very interesting feedback from @bramvanroy on how we should improve this method: https://discuss.huggingface.co/t/how-to-split-main-dataset-into-train-dev-test-as-datasetdict/1090/5
And... | ### Feature Request 🚀
Can we add a way to name your splits when using the `.train_test_split` function?
In almost every use case I've come across, I have a `train` and a `test` split in my `DatasetDict`, and I want to create a `validation` split. Therefore, its kinda useless to get a `test` split back from `tra... | 58 | Add option for named splits when using ds.train_test_split
### Feature Request 🚀
Can we add a way to name your splits when using the `.train_test_split` function?
In almost every use case I've come across, I have a `train` and a `test` split in my `DatasetDict`, and I want to create a `validation` split. Ther... | [
0.0725736022,
-0.0852901414,
-0.1180251241,
-0.0458655991,
0.1546685398,
0.2035397291,
0.6252443194,
0.1981317699,
0.1147509217,
0.3940244019,
0.0419958979,
0.3692271411,
-0.243589595,
0.2782407403,
0.1914985776,
-0.4520200491,
0.0777252987,
-0.2225460708,
0.279563725,
0.144161... |
https://github.com/huggingface/datasets/issues/761 | Downloaded datasets are not usable offline | Yes currently you need an internet connection because the lib tries to check for the etag of the dataset script online to see if you don't have it locally already.
If we add a way to store the etag/hash locally after the first download, it would allow users to first download the dataset with an internet connection, ... | I've been trying to use the IMDB dataset offline, but after downloading it and turning off the internet it still raises an error from the ```requests``` library trying to reach for the online dataset.
Is this the intended behavior ?
(Sorry, I wrote the the first version of this issue while still on nlp 0.3.0). | 75 | Downloaded datasets are not usable offline
I've been trying to use the IMDB dataset offline, but after downloading it and turning off the internet it still raises an error from the ```requests``` library trying to reach for the online dataset.
Is this the intended behavior ?
(Sorry, I wrote the the first version o... | [
-0.2098325193,
0.2670386434,
-0.0017679753,
0.1898871958,
-0.0595399439,
-0.0748805255,
0.3903470635,
-0.01728433,
0.1707936078,
-0.0225020126,
0.1237999126,
0.0126203969,
-0.0386802144,
0.0756758898,
0.0625314042,
0.1871641725,
-0.1557504982,
0.2216935158,
-0.125221312,
-0.078... |
https://github.com/huggingface/datasets/issues/759 | (Load dataset failure) ConnectionError: Couldn’t reach https://raw.githubusercontent.com/huggingface/datasets/1.1.2/datasets/cnn_dailymail/cnn_dailymail.py | Does this HEAD request return 200 on your machine ?
```python
import requests
requests.head("https://raw.githubuserc... | Hey, I want to load the cnn-dailymail dataset for fine-tune.
I write the code like this
from datasets import load_dataset
test_dataset = load_dataset(“cnn_dailymail”, “3.0.0”, split=“train”)
And I got the following errors.
Traceback (most recent call last):
File “test.py”, line 7, in
test_dataset = load_da... | 28 | (Load dataset failure) ConnectionError: Couldn’t reach https://raw.githubusercontent.com/huggingface/datasets/1.1.2/datasets/cnn_dailymail/cnn_dailymail.py
Hey, I want to load the cnn-dailymail dataset for fine-tune.
I write the code like this
from datasets import load_dataset
test_dataset = load_dataset(“cnn_da... | [
-0.172620669,
-0.0845811218,
-0.0973373055,
0.1288860738,
0.4222566485,
0.2019444108,
0.3426602483,
0.0621945895,
-0.0575583093,
0.0043577431,
-0.1423109621,
0.0824963823,
-0.0660599843,
0.248919636,
0.112309128,
-0.1254213154,
-0.0808453411,
-0.114630565,
-0.2291171849,
0.0067... |
https://github.com/huggingface/datasets/issues/759 | (Load dataset failure) ConnectionError: Couldn’t reach https://raw.githubusercontent.com/huggingface/datasets/1.1.2/datasets/cnn_dailymail/cnn_dailymail.py | Thank you very much for your response.
When I run
```
import requests
requests.head("https://raw.githubuserconten... | Hey, I want to load the cnn-dailymail dataset for fine-tune.
I write the code like this
from datasets import load_dataset
test_dataset = load_dataset(“cnn_dailymail”, “3.0.0”, split=“train”)
And I got the following errors.
Traceback (most recent call last):
File “test.py”, line 7, in
test_dataset = load_da... | 272 | (Load dataset failure) ConnectionError: Couldn’t reach https://raw.githubusercontent.com/huggingface/datasets/1.1.2/datasets/cnn_dailymail/cnn_dailymail.py
Hey, I want to load the cnn-dailymail dataset for fine-tune.
I write the code like this
from datasets import load_dataset
test_dataset = load_dataset(“cnn_da... | [
-0.172620669,
-0.0845811218,
-0.0973373055,
0.1288860738,
0.4222566485,
0.2019444108,
0.3426602483,
0.0621945895,
-0.0575583093,
0.0043577431,
-0.1423109621,
0.0824963823,
-0.0660599843,
0.248919636,
0.112309128,
-0.1254213154,
-0.0808453411,
-0.114630565,
-0.2291171849,
0.0067... |
https://github.com/huggingface/datasets/issues/759 | (Load dataset failure) ConnectionError: Couldn’t reach https://raw.githubusercontent.com/huggingface/datasets/1.1.2/datasets/cnn_dailymail/cnn_dailymail.py | I can browse the google drive through google chrome. It's weird. I can download the dataset through google drive manually. | Hey, I want to load the cnn-dailymail dataset for fine-tune.
I write the code like this
from datasets import load_dataset
test_dataset = load_dataset(“cnn_dailymail”, “3.0.0”, split=“train”)
And I got the following errors.
Traceback (most recent call last):
File “test.py”, line 7, in
test_dataset = load_da... | 20 | (Load dataset failure) ConnectionError: Couldn’t reach https://raw.githubusercontent.com/huggingface/datasets/1.1.2/datasets/cnn_dailymail/cnn_dailymail.py
Hey, I want to load the cnn-dailymail dataset for fine-tune.
I write the code like this
from datasets import load_dataset
test_dataset = load_dataset(“cnn_da... | [
-0.172620669,
-0.0845811218,
-0.0973373055,
0.1288860738,
0.4222566485,
0.2019444108,
0.3426602483,
0.0621945895,
-0.0575583093,
0.0043577431,
-0.1423109621,
0.0824963823,
-0.0660599843,
0.248919636,
0.112309128,
-0.1254213154,
-0.0808453411,
-0.114630565,
-0.2291171849,
0.0067... |
https://github.com/huggingface/datasets/issues/759 | (Load dataset failure) ConnectionError: Couldn’t reach https://raw.githubusercontent.com/huggingface/datasets/1.1.2/datasets/cnn_dailymail/cnn_dailymail.py | Is it possible I download the dataset manually from google drive and use it for further test ? How can I do this ? I want to reproduce the model in this link https://huggingface.co/patrickvonplaten/bert2bert-cnn_dailymail-fp16. But I can't download the dataset through load_dataset method . I have tried many times and ... | Hey, I want to load the cnn-dailymail dataset for fine-tune.
I write the code like this
from datasets import load_dataset
test_dataset = load_dataset(“cnn_dailymail”, “3.0.0”, split=“train”)
And I got the following errors.
Traceback (most recent call last):
File “test.py”, line 7, in
test_dataset = load_da... | 56 | (Load dataset failure) ConnectionError: Couldn’t reach https://raw.githubusercontent.com/huggingface/datasets/1.1.2/datasets/cnn_dailymail/cnn_dailymail.py
Hey, I want to load the cnn-dailymail dataset for fine-tune.
I write the code like this
from datasets import load_dataset
test_dataset = load_dataset(“cnn_da... | [
-0.172620669,
-0.0845811218,
-0.0973373055,
0.1288860738,
0.4222566485,
0.2019444108,
0.3426602483,
0.0621945895,
-0.0575583093,
0.0043577431,
-0.1423109621,
0.0824963823,
-0.0660599843,
0.248919636,
0.112309128,
-0.1254213154,
-0.0808453411,
-0.114630565,
-0.2291171849,
0.0067... |
https://github.com/huggingface/datasets/issues/759 | (Load dataset failure) ConnectionError: Couldn’t reach https://raw.githubusercontent.com/huggingface/datasets/1.1.2/datasets/cnn_dailymail/cnn_dailymail.py | The head request should definitely work, not sure what's going on on your side.
If you find a way to make it work, please post it here since other users might encounter the same issue.
If you don't manage to fix it you can use `load_dataset` on google colab and then save it using `dataset.save_to_disk("path/to/data... | Hey, I want to load the cnn-dailymail dataset for fine-tune.
I write the code like this
from datasets import load_dataset
test_dataset = load_dataset(“cnn_dailymail”, “3.0.0”, split=“train”)
And I got the following errors.
Traceback (most recent call last):
File “test.py”, line 7, in
test_dataset = load_da... | 75 | (Load dataset failure) ConnectionError: Couldn’t reach https://raw.githubusercontent.com/huggingface/datasets/1.1.2/datasets/cnn_dailymail/cnn_dailymail.py
Hey, I want to load the cnn-dailymail dataset for fine-tune.
I write the code like this
from datasets import load_dataset
test_dataset = load_dataset(“cnn_da... | [
-0.172620669,
-0.0845811218,
-0.0973373055,
0.1288860738,
0.4222566485,
0.2019444108,
0.3426602483,
0.0621945895,
-0.0575583093,
0.0043577431,
-0.1423109621,
0.0824963823,
-0.0660599843,
0.248919636,
0.112309128,
-0.1254213154,
-0.0808453411,
-0.114630565,
-0.2291171849,
0.0067... |
https://github.com/huggingface/datasets/issues/759 | (Load dataset failure) ConnectionError: Couldn’t reach https://raw.githubusercontent.com/huggingface/datasets/1.1.2/datasets/cnn_dailymail/cnn_dailymail.py | Hi
I want to know if this problem has been solved because I encountered a similar issue. Thanks.
`train_data = datasets.load_dataset("xsum", `split="train")`
`ConnectionError:` Couldn't reach https://raw.githubusercontent.com/huggingface/datasets/1.1.3/datasets/xsum/xsum.py` | Hey, I want to load the cnn-dailymail dataset for fine-tune.
I write the code like this
from datasets import load_dataset
test_dataset = load_dataset(“cnn_dailymail”, “3.0.0”, split=“train”)
And I got the following errors.
Traceback (most recent call last):
File “test.py”, line 7, in
test_dataset = load_da... | 26 | (Load dataset failure) ConnectionError: Couldn’t reach https://raw.githubusercontent.com/huggingface/datasets/1.1.2/datasets/cnn_dailymail/cnn_dailymail.py
Hey, I want to load the cnn-dailymail dataset for fine-tune.
I write the code like this
from datasets import load_dataset
test_dataset = load_dataset(“cnn_da... | [
-0.172620669,
-0.0845811218,
-0.0973373055,
0.1288860738,
0.4222566485,
0.2019444108,
0.3426602483,
0.0621945895,
-0.0575583093,
0.0043577431,
-0.1423109621,
0.0824963823,
-0.0660599843,
0.248919636,
0.112309128,
-0.1254213154,
-0.0808453411,
-0.114630565,
-0.2291171849,
0.0067... |
https://github.com/huggingface/datasets/issues/759 | (Load dataset failure) ConnectionError: Couldn’t reach https://raw.githubusercontent.com/huggingface/datasets/1.1.2/datasets/cnn_dailymail/cnn_dailymail.py | Hi @smile0925 ! Do you have an internet connection ? Are you using some kind of proxy that may block the access to this file ?
Otherwise you can try to update `datasets` since we introduced retries for http requests in the 1.2.0 version
```
pip install --upgrade datasets
```
Let me know if that helps. | Hey, I want to load the cnn-dailymail dataset for fine-tune.
I write the code like this
from datasets import load_dataset
test_dataset = load_dataset(“cnn_dailymail”, “3.0.0”, split=“train”)
And I got the following errors.
Traceback (most recent call last):
File “test.py”, line 7, in
test_dataset = load_da... | 56 | (Load dataset failure) ConnectionError: Couldn’t reach https://raw.githubusercontent.com/huggingface/datasets/1.1.2/datasets/cnn_dailymail/cnn_dailymail.py
Hey, I want to load the cnn-dailymail dataset for fine-tune.
I write the code like this
from datasets import load_dataset
test_dataset = load_dataset(“cnn_da... | [
-0.172620669,
-0.0845811218,
-0.0973373055,
0.1288860738,
0.4222566485,
0.2019444108,
0.3426602483,
0.0621945895,
-0.0575583093,
0.0043577431,
-0.1423109621,
0.0824963823,
-0.0660599843,
0.248919636,
0.112309128,
-0.1254213154,
-0.0808453411,
-0.114630565,
-0.2291171849,
0.0067... |
https://github.com/huggingface/datasets/issues/759 | (Load dataset failure) ConnectionError: Couldn’t reach https://raw.githubusercontent.com/huggingface/datasets/1.1.2/datasets/cnn_dailymail/cnn_dailymail.py | Hi @lhoestq
Oh, may be you are right. I find that my server uses some kind of proxy that block the access to this file.

| Hey, I want to load the cnn-dailymail dataset for fine-tune.
I write the code like this
from datasets import load_dataset
test_dataset = load_dataset(“cnn_dailymail”, “3.0.0”, split=“train”)
And I got the following errors.
Traceback (most recent call last):
File “test.py”, line 7, in
test_dataset = load_da... | 26 | (Load dataset failure) ConnectionError: Couldn’t reach https://raw.githubusercontent.com/huggingface/datasets/1.1.2/datasets/cnn_dailymail/cnn_dailymail.py
Hey, I want to load the cnn-dailymail dataset for fine-tune.
I write the code like this
from datasets import load_dataset
test_dataset = load_dataset(“cnn_da... | [
-0.172620669,
-0.0845811218,
-0.0973373055,
0.1288860738,
0.4222566485,
0.2019444108,
0.3426602483,
0.0621945895,
-0.0575583093,
0.0043577431,
-0.1423109621,
0.0824963823,
-0.0660599843,
0.248919636,
0.112309128,
-0.1254213154,
-0.0808453411,
-0.114630565,
-0.2291171849,
0.0067... |
https://github.com/huggingface/datasets/issues/759 | (Load dataset failure) ConnectionError: Couldn’t reach https://raw.githubusercontent.com/huggingface/datasets/1.1.2/datasets/cnn_dailymail/cnn_dailymail.py | > Hi @lhoestq
> Oh, may be you are right. I find that my server uses some kind of proxy that block the access to this file.
> 
I have the same problem, have you solved it? Many thanks | Hey, I want to load the cnn-dailymail dataset for fine-tune.
I write the code like this
from datasets import load_dataset
test_dataset = load_dataset(“cnn_dailymail”, “3.0.0”, split=“train”)
And I got the following errors.
Traceback (most recent call last):
File “test.py”, line 7, in
test_dataset = load_da... | 40 | (Load dataset failure) ConnectionError: Couldn’t reach https://raw.githubusercontent.com/huggingface/datasets/1.1.2/datasets/cnn_dailymail/cnn_dailymail.py
Hey, I want to load the cnn-dailymail dataset for fine-tune.
I write the code like this
from datasets import load_dataset
test_dataset = load_dataset(“cnn_da... | [
-0.172620669,
-0.0845811218,
-0.0973373055,
0.1288860738,
0.4222566485,
0.2019444108,
0.3426602483,
0.0621945895,
-0.0575583093,
0.0043577431,
-0.1423109621,
0.0824963823,
-0.0660599843,
0.248919636,
0.112309128,
-0.1254213154,
-0.0808453411,
-0.114630565,
-0.2291171849,
0.0067... |
https://github.com/huggingface/datasets/issues/759 | (Load dataset failure) ConnectionError: Couldn’t reach https://raw.githubusercontent.com/huggingface/datasets/1.1.2/datasets/cnn_dailymail/cnn_dailymail.py | Hi @ZhengxiangShi
You can first try whether your network can access these files. I need to use VPN to access these files, so I download the files that cannot be accessed to the local in advance, and then use them in the code. Like this,
`train_data = datasets.load_dataset("xsum.py", split="train")` | Hey, I want to load the cnn-dailymail dataset for fine-tune.
I write the code like this
from datasets import load_dataset
test_dataset = load_dataset(“cnn_dailymail”, “3.0.0”, split=“train”)
And I got the following errors.
Traceback (most recent call last):
File “test.py”, line 7, in
test_dataset = load_da... | 49 | (Load dataset failure) ConnectionError: Couldn’t reach https://raw.githubusercontent.com/huggingface/datasets/1.1.2/datasets/cnn_dailymail/cnn_dailymail.py
Hey, I want to load the cnn-dailymail dataset for fine-tune.
I write the code like this
from datasets import load_dataset
test_dataset = load_dataset(“cnn_da... | [
-0.172620669,
-0.0845811218,
-0.0973373055,
0.1288860738,
0.4222566485,
0.2019444108,
0.3426602483,
0.0621945895,
-0.0575583093,
0.0043577431,
-0.1423109621,
0.0824963823,
-0.0660599843,
0.248919636,
0.112309128,
-0.1254213154,
-0.0808453411,
-0.114630565,
-0.2291171849,
0.0067... |
https://github.com/huggingface/datasets/issues/758 | Process 0 very slow when using num_procs with map to tokenizer | Hi ! Thanks for reporting.
Is the distribution of text length of your data evenly distributed across your dataset ? I mean, could it be because the examples in the first part of your dataset are slower to process ?
Also could how many CPUs can you use for multiprocessing ?
```python
import multiprocessing
print(mu... | <img width="721" alt="image" src="https://user-images.githubusercontent.com/17930170/97066109-776d0d00-15ed-11eb-8bba-bb4d2e0fcc33.png">
The code I am using is
```
dataset = load_dataset("text", data_files=[file_path], split='train')
dataset = dataset.map(lambda ex: tokenizer(ex["text"], add_speci... | 62 | Process 0 very slow when using num_procs with map to tokenizer
<img width="721" alt="image" src="https://user-images.githubusercontent.com/17930170/97066109-776d0d00-15ed-11eb-8bba-bb4d2e0fcc33.png">
The code I am using is
```
dataset = load_dataset("text", data_files=[file_path], split='train')
... | [
-0.4953115582,
-0.5315656066,
-0.1695285589,
0.2302870303,
0.1256163418,
-0.3297327459,
0.3093043864,
0.160646975,
-0.3321198821,
0.2106942832,
0.3402482569,
0.2400159091,
-0.1036697403,
-0.0406736583,
-0.5593128204,
0.0361172371,
-0.0464157276,
-0.0402564779,
0.5563799739,
-0.... |
https://github.com/huggingface/datasets/issues/758 | Process 0 very slow when using num_procs with map to tokenizer | Using pre trained HF tokenizer. The result is the same with tokenizer multiprocessing off and on.
I have (absolutely) no idea about the distribution, but since this issue occurs on all of my datasets(regardless of files), I don't think distribution is the problems.
I can use up to 16 cores. | <img width="721" alt="image" src="https://user-images.githubusercontent.com/17930170/97066109-776d0d00-15ed-11eb-8bba-bb4d2e0fcc33.png">
The code I am using is
```
dataset = load_dataset("text", data_files=[file_path], split='train')
dataset = dataset.map(lambda ex: tokenizer(ex["text"], add_speci... | 50 | Process 0 very slow when using num_procs with map to tokenizer
<img width="721" alt="image" src="https://user-images.githubusercontent.com/17930170/97066109-776d0d00-15ed-11eb-8bba-bb4d2e0fcc33.png">
The code I am using is
```
dataset = load_dataset("text", data_files=[file_path], split='train')
... | [
-0.4506950974,
-0.3895406425,
-0.0472824313,
0.1629320234,
0.1149337888,
-0.2815489769,
0.2656871676,
0.2587327361,
-0.3923639953,
0.1888351738,
0.0629080534,
0.3718957603,
-0.089070484,
-0.2105110437,
-0.5482548475,
0.2360697985,
0.0839326009,
-0.0310932379,
0.5445746779,
-0.1... |
https://github.com/huggingface/datasets/issues/758 | Process 0 very slow when using num_procs with map to tokenizer | Ok weird, I don't manage to reproduce this issue on my side.
Does it happen even with `num_proc=2` for example ?
Also could you provide more details about your OS and the versions of tokenizers/datasets/multiprocess that you're using ? | <img width="721" alt="image" src="https://user-images.githubusercontent.com/17930170/97066109-776d0d00-15ed-11eb-8bba-bb4d2e0fcc33.png">
The code I am using is
```
dataset = load_dataset("text", data_files=[file_path], split='train')
dataset = dataset.map(lambda ex: tokenizer(ex["text"], add_speci... | 39 | Process 0 very slow when using num_procs with map to tokenizer
<img width="721" alt="image" src="https://user-images.githubusercontent.com/17930170/97066109-776d0d00-15ed-11eb-8bba-bb4d2e0fcc33.png">
The code I am using is
```
dataset = load_dataset("text", data_files=[file_path], split='train')
... | [
-0.4499234259,
-0.3384660482,
-0.0881831869,
0.155391708,
0.0886595473,
-0.3033836484,
0.2761158347,
0.2488263696,
-0.4145079851,
0.1561549902,
0.2132180333,
0.3615119159,
-0.2245151699,
-0.106232807,
-0.5425732136,
0.2070080787,
0.0648820847,
0.0284317061,
0.4975791872,
0.0339... |
https://github.com/huggingface/datasets/issues/758 | Process 0 very slow when using num_procs with map to tokenizer | Yes, I can confirm it also happens with ```num_proc=2```.
```
tokenizers 0.9.2
datasets 1.1.2
multiprocess 0.70.10
```
```
Linux nipa2020-0629 4.4.0-178-generic #208-Ubuntu SMP Sun Apr 5 23:45:10 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
``` | <img width="721" alt="image" src="https://user-images.githubusercontent.com/17930170/97066109-776d0d00-15ed-11eb-8bba-bb4d2e0fcc33.png">
The code I am using is
```
dataset = load_dataset("text", data_files=[file_path], split='train')
dataset = dataset.map(lambda ex: tokenizer(ex["text"], add_speci... | 34 | Process 0 very slow when using num_procs with map to tokenizer
<img width="721" alt="image" src="https://user-images.githubusercontent.com/17930170/97066109-776d0d00-15ed-11eb-8bba-bb4d2e0fcc33.png">
The code I am using is
```
dataset = load_dataset("text", data_files=[file_path], split='train')
... | [
-0.4147120118,
-0.2900136709,
-0.1402390748,
0.1775935441,
0.0856038705,
-0.309876442,
0.3165900111,
0.2695381939,
-0.4015322328,
0.1938363314,
0.1718185097,
0.4401447177,
-0.1775081605,
-0.1734135449,
-0.4684059918,
0.1972347945,
0.0476887561,
0.0190268457,
0.4751041234,
0.053... |
https://github.com/huggingface/datasets/issues/758 | Process 0 very slow when using num_procs with map to tokenizer | I can't reproduce on my side unfortunately with the same versions.
Do you have issues when doing multiprocessing with python ?
```python
from tqdm.auto import tqdm
from multiprocess import Pool, RLock
def process_data(shard):
# implement
num_proc = 8
shards = [] # implement, this must be a list of siz... | <img width="721" alt="image" src="https://user-images.githubusercontent.com/17930170/97066109-776d0d00-15ed-11eb-8bba-bb4d2e0fcc33.png">
The code I am using is
```
dataset = load_dataset("text", data_files=[file_path], split='train')
dataset = dataset.map(lambda ex: tokenizer(ex["text"], add_speci... | 73 | Process 0 very slow when using num_procs with map to tokenizer
<img width="721" alt="image" src="https://user-images.githubusercontent.com/17930170/97066109-776d0d00-15ed-11eb-8bba-bb4d2e0fcc33.png">
The code I am using is
```
dataset = load_dataset("text", data_files=[file_path], split='train')
... | [
-0.3621356487,
-0.5087307096,
-0.1394250393,
0.0749778971,
0.0402240492,
-0.3560977876,
0.3881992102,
0.141815871,
-0.4626857936,
0.2230350077,
0.0311757438,
0.3382250071,
-0.2334188074,
-0.0875602514,
-0.4083907902,
0.1022369564,
0.0076496308,
-0.1594916135,
0.2531303465,
0.03... |
https://github.com/huggingface/datasets/issues/757 | CUDA out of memory | ```python
tokenizer = FunnelTokenizer.from_pretrained('funnel-transformer/small')
def tokenize(batch):
return tokenizer(batch['text'], padding='max_length', truncation=True,max_length=512)
dataset = load_dataset("bookcorpus",split='train[:1000]').shuffle()
dataset = dataset.map(tokenize, batched=True, batc... | In your dataset ,cuda run out of memory as long as the trainer begins:
however, without changing any other element/parameter,just switch dataset to `LineByLineTextDataset`,everything becames OK.
| 64 | CUDA out of memory
In your dataset ,cuda run out of memory as long as the trainer begins:
however, without changing any other element/parameter,just switch dataset to `LineByLineTextDataset`,everything becames OK.
```python
tokenizer = FunnelTokenizer.from_pretrained('funnel-transformer/small')
def tokenize(... | [
-0.3100786507,
-0.1292371005,
-0.1342047602,
0.1175395548,
0.4688265622,
-0.1441977918,
0.2783526778,
0.0998791456,
-0.2433775812,
0.3591908216,
0.0829846561,
-0.0730310455,
-0.1192090064,
0.3212790489,
-0.1076370403,
-0.1704484224,
0.0092366459,
-0.0881269574,
0.0153182372,
0.... |
https://github.com/huggingface/datasets/issues/757 | CUDA out of memory | `RuntimeError: CUDA out of memory. Tried to allocate 954.00 MiB (GPU 0; 15.90 GiB total capacity; 14.35 GiB already allocated; 753.75 MiB free; 14.39 GiB reserved in total by PyTorch)
Exception raised from malloc at /pytorch/c10/cuda/CUDACachingAllocator.cpp:272 (most recent call first):`
part of error output | In your dataset ,cuda run out of memory as long as the trainer begins:
however, without changing any other element/parameter,just switch dataset to `LineByLineTextDataset`,everything becames OK.
| 44 | CUDA out of memory
In your dataset ,cuda run out of memory as long as the trainer begins:
however, without changing any other element/parameter,just switch dataset to `LineByLineTextDataset`,everything becames OK.
`RuntimeError: CUDA out of memory. Tried to allocate 954.00 MiB (GPU 0; 15.90 GiB total capacity; 1... | [
-0.2118010223,
-0.1436043233,
-0.1251239181,
0.3756681383,
0.4871855974,
0.0221623462,
0.237263754,
0.187933743,
-0.0591318309,
0.3615154326,
0.2032218874,
0.0899498984,
-0.1103607714,
0.0615567043,
-0.0812173933,
-0.2425248325,
-0.1598562747,
-0.0211354308,
-0.2000565678,
0.01... |
https://github.com/huggingface/datasets/issues/757 | CUDA out of memory | from funnel model to bert model : error still happened
from your dataset to LineByLineTextDataset : error disapeared | In your dataset ,cuda run out of memory as long as the trainer begins:
however, without changing any other element/parameter,just switch dataset to `LineByLineTextDataset`,everything becames OK.
| 18 | CUDA out of memory
In your dataset ,cuda run out of memory as long as the trainer begins:
however, without changing any other element/parameter,just switch dataset to `LineByLineTextDataset`,everything becames OK.
from funnel model to bert model : error still happened
from your dataset to LineByLineTextDatase... | [
-0.2429934591,
-0.0383692123,
-0.0662143901,
0.194021523,
0.5733143687,
-0.0968498439,
0.3483141959,
0.0940258428,
-0.0914317295,
0.4046832621,
0.0462235399,
0.0135816894,
-0.0812722817,
0.3208120763,
-0.1960563064,
-0.3946531415,
-0.0328094736,
0.0102434894,
-0.1957314461,
-0.... |
https://github.com/huggingface/datasets/issues/757 | CUDA out of memory | Since you're using a data collator you don't need to tokenizer the dataset using `map`. Could you try not to use `map` and only the data collator instead ? The data collator is supposed to pad to the longest sequence in each batch afaik, instead of padding to 512.
Also cc @sgugger | In your dataset ,cuda run out of memory as long as the trainer begins:
however, without changing any other element/parameter,just switch dataset to `LineByLineTextDataset`,everything becames OK.
| 52 | CUDA out of memory
In your dataset ,cuda run out of memory as long as the trainer begins:
however, without changing any other element/parameter,just switch dataset to `LineByLineTextDataset`,everything becames OK.
Since you're using a data collator you don't need to tokenizer the dataset using `map`. Could you t... | [
-0.3538850248,
-0.0687037185,
-0.1432431191,
0.3057077229,
0.5980898142,
-0.0301803146,
0.445364058,
0.2957351506,
-0.062140502,
0.4082167745,
0.2172660828,
0.0536229648,
-0.0748179629,
0.1507744342,
-0.1334300935,
-0.1775913984,
-0.0540918633,
0.0361540765,
-0.0717043877,
0.03... |
https://github.com/huggingface/datasets/issues/751 | Error loading ms_marco v2.1 using load_dataset() | There was a similar issue in #294
Clearing the cache and download again the dataset did the job. Could you try to clear your cache and download the dataset again ? | Code:
`dataset = load_dataset('ms_marco', 'v2.1')`
Error:
```
`---------------------------------------------------------------------------
JSONDecodeError Traceback (most recent call last)
<ipython-input-16-34378c057212> in <module>()
9
10 # Downloading and loading a data... | 31 | Error loading ms_marco v2.1 using load_dataset()
Code:
`dataset = load_dataset('ms_marco', 'v2.1')`
Error:
```
`---------------------------------------------------------------------------
JSONDecodeError Traceback (most recent call last)
<ipython-input-16-34378c057212> in <module>()
... | [
0.0103686685,
0.1111897379,
-0.1000254378,
0.3606886864,
0.4273392558,
0.051915057,
0.2879601717,
0.5654805899,
0.0125488732,
0.3217280805,
-0.0122819338,
0.5649034977,
-0.0228344835,
0.2471557558,
-0.1524108648,
-0.3327510953,
-0.039344497,
0.3240628242,
0.1306519806,
0.108946... |
https://github.com/huggingface/datasets/issues/751 | Error loading ms_marco v2.1 using load_dataset() | I was able to load the dataset successfully, I'm pretty sure it's just a cache issue that you have.
Let me know if clearing your cache fixes the problem | Code:
`dataset = load_dataset('ms_marco', 'v2.1')`
Error:
```
`---------------------------------------------------------------------------
JSONDecodeError Traceback (most recent call last)
<ipython-input-16-34378c057212> in <module>()
9
10 # Downloading and loading a data... | 29 | Error loading ms_marco v2.1 using load_dataset()
Code:
`dataset = load_dataset('ms_marco', 'v2.1')`
Error:
```
`---------------------------------------------------------------------------
JSONDecodeError Traceback (most recent call last)
<ipython-input-16-34378c057212> in <module>()
... | [
-0.0129365521,
0.1030111983,
-0.1228330657,
0.3122574091,
0.3983418643,
0.0521111861,
0.2968251109,
0.5685595274,
0.0205574781,
0.3210775554,
-0.0469789319,
0.5231744647,
0.0632519498,
0.1900870055,
-0.1655185223,
-0.257403791,
-0.0236326456,
0.350792557,
0.0692263246,
0.074520... |
https://github.com/huggingface/datasets/issues/749 | [XGLUE] Adding new dataset | Small poll @thomwolf @yjernite @lhoestq @JetRunner @qiweizhen .
As stated in the XGLUE paper: https://arxiv.org/pdf/2004.01401.pdf , for each of the 11 down-stream tasks training data is only available in English, whereas development and test data is available in multiple different language *cf.* here:
.
I'm planning on adding the dataset to the library myself in a couple of weeks.
Also tagging @JetRunner @qiweizhen in case I need some guidance | 105 | [XGLUE] Adding new dataset
XGLUE is a multilingual GLUE like dataset propesed in this [paper](https://arxiv.org/pdf/2004.01401.pdf).
I'm planning on adding the dataset to the library myself in a couple of weeks.
Also tagging @JetRunner @qiweizhen in case I need some guidance
Small poll @thomwolf @yjernite @lh... | [
-0.1428692192,
0.0099274302,
-0.0491098762,
0.1698313057,
-0.0771437213,
-0.2269947976,
0.3096126616,
-0.0059921988,
-0.1106404439,
0.0265888982,
-0.0933469608,
-0.1092796922,
0.0642142743,
0.36415416,
0.2442419231,
0.0054114633,
-0.0701901615,
-0.2135343403,
0.1959690601,
-0.1... |
https://github.com/huggingface/datasets/issues/749 | [XGLUE] Adding new dataset | In this case we should have named splits, so config `ner` has splits `train`, `validation`, `test-en`, `test-ar`, `test-bg`, etc...
This is more in the spirit of the task afaiu, and will avoid making users do the filtering step themselves when testing different models or different configurations of the same model. | XGLUE is a multilingual GLUE like dataset propesed in this [paper](https://arxiv.org/pdf/2004.01401.pdf).
I'm planning on adding the dataset to the library myself in a couple of weeks.
Also tagging @JetRunner @qiweizhen in case I need some guidance | 50 | [XGLUE] Adding new dataset
XGLUE is a multilingual GLUE like dataset propesed in this [paper](https://arxiv.org/pdf/2004.01401.pdf).
I'm planning on adding the dataset to the library myself in a couple of weeks.
Also tagging @JetRunner @qiweizhen in case I need some guidance
In this case we should have named s... | [
-0.4026011229,
-0.0958496109,
-0.1003199369,
-0.1407156885,
-0.1486182213,
-0.1347502023,
0.2657959759,
0.3144335151,
0.0133641334,
0.1866730005,
-0.1717516333,
0.0889780149,
-0.0634423196,
0.3414170444,
0.3362110853,
-0.048912622,
-0.0718725845,
0.1033512652,
0.2111005634,
-0.... |
https://github.com/huggingface/datasets/issues/749 | [XGLUE] Adding new dataset | I see your point!
I think this would be quite feasible to do and makes sense to me as well! In the paper results are reported per language, so it seems more natural to do it this way.
Good for me @yjernite ! What do the others think? @lhoestq
| XGLUE is a multilingual GLUE like dataset propesed in this [paper](https://arxiv.org/pdf/2004.01401.pdf).
I'm planning on adding the dataset to the library myself in a couple of weeks.
Also tagging @JetRunner @qiweizhen in case I need some guidance | 49 | [XGLUE] Adding new dataset
XGLUE is a multilingual GLUE like dataset propesed in this [paper](https://arxiv.org/pdf/2004.01401.pdf).
I'm planning on adding the dataset to the library myself in a couple of weeks.
Also tagging @JetRunner @qiweizhen in case I need some guidance
I see your point!
I think this ... | [
-0.0309355445,
-0.0157452393,
-0.1258900166,
-0.1005203426,
-0.1579115987,
-0.1708758622,
0.5267760754,
0.0056054611,
0.0238732733,
0.0956132412,
-0.0717838258,
0.0040150103,
-0.0292198118,
0.2641971409,
0.4696393311,
-0.0064959778,
0.0179228391,
-0.0927430093,
0.1055236906,
-0... |
https://github.com/huggingface/datasets/issues/749 | [XGLUE] Adding new dataset | Okey actually not that easy to add things like `test-de` to `datasets` => this would be the first dataset to have this.
See: https://github.com/huggingface/datasets/pull/802 | XGLUE is a multilingual GLUE like dataset propesed in this [paper](https://arxiv.org/pdf/2004.01401.pdf).
I'm planning on adding the dataset to the library myself in a couple of weeks.
Also tagging @JetRunner @qiweizhen in case I need some guidance | 24 | [XGLUE] Adding new dataset
XGLUE is a multilingual GLUE like dataset propesed in this [paper](https://arxiv.org/pdf/2004.01401.pdf).
I'm planning on adding the dataset to the library myself in a couple of weeks.
Also tagging @JetRunner @qiweizhen in case I need some guidance
Okey actually not that easy to add ... | [
-0.1846338063,
-0.2418598831,
-0.184765175,
-0.1303509027,
-0.0518173054,
0.0069964151,
0.2505634129,
0.1113595441,
0.1802295893,
0.1449397504,
-0.1167486832,
0.101267159,
0.0485734157,
0.3905766606,
0.6209654212,
-0.1782807261,
0.1267162263,
0.0511753969,
-0.0147038251,
-0.093... |
https://github.com/huggingface/datasets/issues/749 | [XGLUE] Adding new dataset | IMO we should have one config per language. That's what we're doing for xnli, xtreme etc.
Having split names that depend on the language seems wrong. We should try to avoid split names that are not train/val/test.
Sorry for late response on this one | XGLUE is a multilingual GLUE like dataset propesed in this [paper](https://arxiv.org/pdf/2004.01401.pdf).
I'm planning on adding the dataset to the library myself in a couple of weeks.
Also tagging @JetRunner @qiweizhen in case I need some guidance | 44 | [XGLUE] Adding new dataset
XGLUE is a multilingual GLUE like dataset propesed in this [paper](https://arxiv.org/pdf/2004.01401.pdf).
I'm planning on adding the dataset to the library myself in a couple of weeks.
Also tagging @JetRunner @qiweizhen in case I need some guidance
IMO we should have one config per l... | [
-0.1462258697,
-0.1761126369,
-0.0905721784,
0.0123520158,
-0.0241257511,
-0.1703828871,
0.4644284844,
0.229300499,
0.0064148619,
0.1897845119,
-0.0784217045,
-0.0123210503,
0.0637151226,
0.3173589706,
0.3393553793,
-0.1473648101,
0.0648742467,
-0.120768331,
0.1857906431,
-0.14... |
https://github.com/huggingface/datasets/issues/749 | [XGLUE] Adding new dataset | @lhoestq agreed on having one config per language, but we also need to be able to have different split names and people are going to want to use hyphens, so we should at the very least warn them why it's failing :) E.g. for ANLI with different stages of data (currently using underscores) or https://www.tau-nlp.org/comm... | XGLUE is a multilingual GLUE like dataset propesed in this [paper](https://arxiv.org/pdf/2004.01401.pdf).
I'm planning on adding the dataset to the library myself in a couple of weeks.
Also tagging @JetRunner @qiweizhen in case I need some guidance | 61 | [XGLUE] Adding new dataset
XGLUE is a multilingual GLUE like dataset propesed in this [paper](https://arxiv.org/pdf/2004.01401.pdf).
I'm planning on adding the dataset to the library myself in a couple of weeks.
Also tagging @JetRunner @qiweizhen in case I need some guidance
@lhoestq agreed on having one confi... | [
-0.2000914514,
-0.1522809565,
-0.1069085598,
-0.1123531833,
-0.0792812258,
-0.2000017613,
0.5592648983,
0.1603516787,
0.1297953427,
0.197267428,
-0.0472675934,
0.0549893081,
0.0048437836,
0.3074238598,
0.3004994392,
-0.2359766513,
0.0617928132,
-0.032812424,
0.1070401073,
-0.07... |
https://github.com/huggingface/datasets/issues/749 | [XGLUE] Adding new dataset | Really cool dataset 👍 btw. does Transformers support all 11 tasks 🤔 would be awesome to have a xglue script (like the "normal" glue one) | XGLUE is a multilingual GLUE like dataset propesed in this [paper](https://arxiv.org/pdf/2004.01401.pdf).
I'm planning on adding the dataset to the library myself in a couple of weeks.
Also tagging @JetRunner @qiweizhen in case I need some guidance | 25 | [XGLUE] Adding new dataset
XGLUE is a multilingual GLUE like dataset propesed in this [paper](https://arxiv.org/pdf/2004.01401.pdf).
I'm planning on adding the dataset to the library myself in a couple of weeks.
Also tagging @JetRunner @qiweizhen in case I need some guidance
Really cool dataset 👍 btw. does Tr... | [
-0.3609888852,
-0.2430480868,
-0.1333387792,
-0.108789809,
-0.0488195196,
-0.1585716307,
0.4023333788,
0.1078704745,
0.1723618358,
0.0442128517,
-0.0323642604,
0.0167611409,
-0.1374105364,
0.3313932717,
0.5176856518,
-0.2384226173,
0.1370012611,
-0.0414837264,
-0.2136697471,
-0... |
https://github.com/huggingface/datasets/issues/749 | [XGLUE] Adding new dataset | Just to make sure this is what we want here. If we add one config per language,
this means that this dataset ends up with well over 100 different configs most of which will have the same `train` split. The train split is always in English. Also, I'm not sure whether it's better for the user to be honest.
I thin... | XGLUE is a multilingual GLUE like dataset propesed in this [paper](https://arxiv.org/pdf/2004.01401.pdf).
I'm planning on adding the dataset to the library myself in a couple of weeks.
Also tagging @JetRunner @qiweizhen in case I need some guidance | 107 | [XGLUE] Adding new dataset
XGLUE is a multilingual GLUE like dataset propesed in this [paper](https://arxiv.org/pdf/2004.01401.pdf).
I'm planning on adding the dataset to the library myself in a couple of weeks.
Also tagging @JetRunner @qiweizhen in case I need some guidance
Just to make sure this is what we w... | [
-0.1910268068,
0.0531999059,
-0.0776924938,
0.0108432509,
0.0387279429,
-0.0806758106,
0.5347976685,
0.0377283804,
-0.0204801261,
0.1416441649,
-0.1144325882,
0.0680523515,
-0.1843293458,
0.2480089068,
0.3943488002,
-0.1348953396,
0.0209185593,
-0.1578740925,
0.2138727009,
-0.1... |
https://github.com/huggingface/datasets/issues/749 | [XGLUE] Adding new dataset | Oh yes right I didn't notice the train set was always in english sorry.
Moreover it seems that the way this dataset is used is to pick a pretrained multilingual model, fine-tune it on the english train set and then evaluate on each test set (one per language).
So to better fit the usual usage of this dataset, I agree... | XGLUE is a multilingual GLUE like dataset propesed in this [paper](https://arxiv.org/pdf/2004.01401.pdf).
I'm planning on adding the dataset to the library myself in a couple of weeks.
Also tagging @JetRunner @qiweizhen in case I need some guidance | 122 | [XGLUE] Adding new dataset
XGLUE is a multilingual GLUE like dataset propesed in this [paper](https://arxiv.org/pdf/2004.01401.pdf).
I'm planning on adding the dataset to the library myself in a couple of weeks.
Also tagging @JetRunner @qiweizhen in case I need some guidance
Oh yes right I didn't notice the tr... | [
-0.1850294024,
-0.0132667534,
-0.1486909688,
0.0019631626,
0.0076408638,
0.0446556769,
0.5710824728,
0.2278440148,
0.0795822442,
-0.006703876,
-0.0968191698,
0.0388205461,
-0.1122406572,
0.2615085244,
0.3110356033,
-0.2384139299,
-0.0684592128,
-0.0565335862,
0.1240937933,
-0.1... |
https://github.com/huggingface/datasets/issues/743 | load_dataset for CSV files not working | Thank you !
Could you provide a csv file that reproduces the error ?
It doesn't have to be one of your dataset. As long as it reproduces the error
That would help a lot ! | Similar to #622, I've noticed there is a problem when trying to load a CSV file with datasets.
`
from datasets import load_dataset
`
`
dataset = load_dataset("csv", data_files=["./sample_data.csv"], delimiter="\t", column_names=["title", "text"], script_version="master")
`
Displayed error:
`
...
ArrowInva... | 36 | load_dataset for CSV files not working
Similar to #622, I've noticed there is a problem when trying to load a CSV file with datasets.
`
from datasets import load_dataset
`
`
dataset = load_dataset("csv", data_files=["./sample_data.csv"], delimiter="\t", column_names=["title", "text"], script_version="master")
... | [
-0.0531702563,
0.0708662644,
-0.003463815,
0.3629574478,
0.2447588891,
0.2201895416,
0.4253183901,
0.303674221,
0.3109278083,
0.0509863533,
-0.0670637935,
0.2354817986,
-0.0957934409,
-0.0218967553,
-0.2746926546,
-0.1102111638,
0.0493473746,
0.053443756,
-0.3843253553,
0.03752... |
https://github.com/huggingface/datasets/issues/743 | load_dataset for CSV files not working | I think another good example is the following:
`
from datasets import load_dataset
`
`
dataset = load_dataset("csv", data_files=["./sts-dev.csv"], delimiter="\t", column_names=["one", "two", "three", "four", "score", "sentence1", "sentence2"], script_version="master")`
`
Displayed error `CSV parse error: Expe... | Similar to #622, I've noticed there is a problem when trying to load a CSV file with datasets.
`
from datasets import load_dataset
`
`
dataset = load_dataset("csv", data_files=["./sample_data.csv"], delimiter="\t", column_names=["title", "text"], script_version="master")
`
Displayed error:
`
...
ArrowInva... | 72 | load_dataset for CSV files not working
Similar to #622, I've noticed there is a problem when trying to load a CSV file with datasets.
`
from datasets import load_dataset
`
`
dataset = load_dataset("csv", data_files=["./sample_data.csv"], delimiter="\t", column_names=["title", "text"], script_version="master")
... | [
-0.0901076049,
0.0171129443,
0.0167959798,
0.3881011009,
0.2925538719,
0.2115880102,
0.384727478,
0.229759261,
0.2224224359,
0.0898584276,
-0.1013284624,
0.2565505803,
-0.0943530425,
0.0382323042,
-0.2512094378,
-0.1036800519,
0.0104466099,
0.0889977664,
-0.2961677313,
0.090884... |
https://github.com/huggingface/datasets/issues/743 | load_dataset for CSV files not working | Hi, seems I also can't read csv file. I was trying with a dummy csv with only three rows.
```
text,label
I hate google,negative
I love Microsoft,positive
I don't like you,negative
```
I was using the HuggingFace image in Paperspace Gradient (datasets==1.1.3). The following code doesn't work:
```
from datas... | Similar to #622, I've noticed there is a problem when trying to load a CSV file with datasets.
`
from datasets import load_dataset
`
`
dataset = load_dataset("csv", data_files=["./sample_data.csv"], delimiter="\t", column_names=["title", "text"], script_version="master")
`
Displayed error:
`
...
ArrowInva... | 141 | load_dataset for CSV files not working
Similar to #622, I've noticed there is a problem when trying to load a CSV file with datasets.
`
from datasets import load_dataset
`
`
dataset = load_dataset("csv", data_files=["./sample_data.csv"], delimiter="\t", column_names=["title", "text"], script_version="master")
... | [
-0.0118628377,
0.0808787048,
-0.0193709899,
0.4624465704,
0.2891314924,
0.1691013873,
0.3954829574,
0.2487931699,
0.2549254,
0.1220233366,
-0.1881925166,
0.227368027,
-0.1354268938,
-0.015303039,
-0.2497226149,
-0.0935219005,
0.0260973834,
0.0599043369,
-0.3732227385,
-0.009030... |
https://github.com/huggingface/datasets/issues/743 | load_dataset for CSV files not working | This is because load_dataset without `split=` returns a dictionary of split names (train/validation/test) to dataset.
You can do
```python
from datasets import load_dataset
dataset = load_dataset('csv', script_version="master", data_files=['test_data.csv'], delimiter=",")
print(dataset["train"][0])
```
Or if y... | Similar to #622, I've noticed there is a problem when trying to load a CSV file with datasets.
`
from datasets import load_dataset
`
`
dataset = load_dataset("csv", data_files=["./sample_data.csv"], delimiter="\t", column_names=["title", "text"], script_version="master")
`
Displayed error:
`
...
ArrowInva... | 55 | load_dataset for CSV files not working
Similar to #622, I've noticed there is a problem when trying to load a CSV file with datasets.
`
from datasets import load_dataset
`
`
dataset = load_dataset("csv", data_files=["./sample_data.csv"], delimiter="\t", column_names=["title", "text"], script_version="master")
... | [
-0.0920248702,
0.0564345084,
0.0039144037,
0.3721605837,
0.2419902682,
0.2112511992,
0.5301383734,
0.3948990703,
0.2474178523,
0.0687353387,
-0.1450401396,
0.2728797495,
-0.1780424267,
0.0853819698,
-0.2621554732,
-0.1945448518,
0.0322139487,
0.0497309603,
-0.3552702963,
0.0039... |
https://github.com/huggingface/datasets/issues/743 | load_dataset for CSV files not working | Good point
Design question for us, though: should `load_dataset` when no split is specified and only one split is present in the dataset (common use case with CSV/text/JSON datasets) return a `Dataset` instead of a `DatsetDict`? I feel like it's often what the user is expecting. I break a bit the paradigm of a uniqu... | Similar to #622, I've noticed there is a problem when trying to load a CSV file with datasets.
`
from datasets import load_dataset
`
`
dataset = load_dataset("csv", data_files=["./sample_data.csv"], delimiter="\t", column_names=["title", "text"], script_version="master")
`
Displayed error:
`
...
ArrowInva... | 89 | load_dataset for CSV files not working
Similar to #622, I've noticed there is a problem when trying to load a CSV file with datasets.
`
from datasets import load_dataset
`
`
dataset = load_dataset("csv", data_files=["./sample_data.csv"], delimiter="\t", column_names=["title", "text"], script_version="master")
... | [
-0.0537758879,
0.103345789,
0.019004602,
0.36122787,
0.1807835102,
-0.0042516794,
0.5432188511,
0.2224992514,
0.3372097611,
-0.0036189677,
-0.0237613637,
0.3069191277,
-0.0317639671,
0.1189181209,
-0.2025140077,
-0.0749715269,
-0.0122149633,
0.1207058728,
-0.3683386445,
-0.0174... |
https://github.com/huggingface/datasets/issues/743 | load_dataset for CSV files not working | In this case the user expects to get only one dataset object instead of the dictionary of datasets since only one csv file was specified without any split specifications.
I'm ok with returning the dataset object if no split specifications are given for text/json/csv/pandas.
For the other datasets ton the other hand... | Similar to #622, I've noticed there is a problem when trying to load a CSV file with datasets.
`
from datasets import load_dataset
`
`
dataset = load_dataset("csv", data_files=["./sample_data.csv"], delimiter="\t", column_names=["title", "text"], script_version="master")
`
Displayed error:
`
...
ArrowInva... | 73 | load_dataset for CSV files not working
Similar to #622, I've noticed there is a problem when trying to load a CSV file with datasets.
`
from datasets import load_dataset
`
`
dataset = load_dataset("csv", data_files=["./sample_data.csv"], delimiter="\t", column_names=["title", "text"], script_version="master")
... | [
-0.0446913615,
0.0243468788,
-0.0048845601,
0.419436723,
0.1463124007,
0.1458504051,
0.4632932842,
0.290150106,
0.3439588547,
0.0506450944,
-0.1350135207,
0.2295311689,
-0.1126452908,
0.0743184611,
-0.3604432046,
-0.0890146792,
-0.0051947222,
0.1351235658,
-0.367456913,
-0.0321... |
https://github.com/huggingface/datasets/issues/743 | load_dataset for CSV files not working | Thanks for your quick response! I'm fine with specifying the split as @lhoestq suggested. My only concern is when I'm loading from python dict or pandas, the library returns a dataset instead of a dictionary of datasets when no split is specified. I know that they use a different function `Dataset.from_dict` or `Datase... | Similar to #622, I've noticed there is a problem when trying to load a CSV file with datasets.
`
from datasets import load_dataset
`
`
dataset = load_dataset("csv", data_files=["./sample_data.csv"], delimiter="\t", column_names=["title", "text"], script_version="master")
`
Displayed error:
`
...
ArrowInva... | 78 | load_dataset for CSV files not working
Similar to #622, I've noticed there is a problem when trying to load a CSV file with datasets.
`
from datasets import load_dataset
`
`
dataset = load_dataset("csv", data_files=["./sample_data.csv"], delimiter="\t", column_names=["title", "text"], script_version="master")
... | [
-0.0780608952,
0.0584030896,
0.0232999306,
0.414848417,
0.1361284554,
0.1216798127,
0.5085968375,
0.2503667176,
0.3603422344,
-0.0349154435,
-0.1385972351,
0.3222545683,
-0.0713084266,
0.1254667044,
-0.3528851867,
-0.0622133575,
0.0382992961,
0.1323883384,
-0.3376765847,
-0.041... |
https://github.com/huggingface/datasets/issues/743 | load_dataset for CSV files not working | ```
from datasets import load_dataset
dataset = load_dataset('csv', data_files='./amazon_data/Video_Games_5.csv', delimiter=",", split=['train', 'test'])
```
I was running the above line, but got this error.
```ValueError: Unknown split "test". Should be one of ['train'].```
The data is amazon product data. I... | Similar to #622, I've noticed there is a problem when trying to load a CSV file with datasets.
`
from datasets import load_dataset
`
`
dataset = load_dataset("csv", data_files=["./sample_data.csv"], delimiter="\t", column_names=["title", "text"], script_version="master")
`
Displayed error:
`
...
ArrowInva... | 78 | load_dataset for CSV files not working
Similar to #622, I've noticed there is a problem when trying to load a CSV file with datasets.
`
from datasets import load_dataset
`
`
dataset = load_dataset("csv", data_files=["./sample_data.csv"], delimiter="\t", column_names=["title", "text"], script_version="master")
... | [
0.0013096328,
0.0517124869,
-0.0193824414,
0.4013646245,
0.2351075262,
0.2222289741,
0.5522070527,
0.3211098313,
0.2396999151,
-0.036393173,
-0.1460976303,
0.2243236899,
-0.0250562839,
0.1022293866,
-0.3207232654,
-0.1825466901,
0.0453075171,
0.0672886446,
-0.2340874076,
0.0617... |
https://github.com/huggingface/datasets/issues/743 | load_dataset for CSV files not working | Hi ! the `split` argument in `load_dataset` is used to select the splits you want among the available splits.
However when loading a csv with a single file as you did, only a `train` split is available by default.
Indeed since `data_files='./amazon_data/Video_Games_5.csv'` is equivalent to `data_files={"train": './... | Similar to #622, I've noticed there is a problem when trying to load a CSV file with datasets.
`
from datasets import load_dataset
`
`
dataset = load_dataset("csv", data_files=["./sample_data.csv"], delimiter="\t", column_names=["title", "text"], script_version="master")
`
Displayed error:
`
...
ArrowInva... | 123 | load_dataset for CSV files not working
Similar to #622, I've noticed there is a problem when trying to load a CSV file with datasets.
`
from datasets import load_dataset
`
`
dataset = load_dataset("csv", data_files=["./sample_data.csv"], delimiter="\t", column_names=["title", "text"], script_version="master")
... | [
-0.1236993745,
0.0545276441,
0.0046683936,
0.3440143466,
0.2238633931,
0.2072240561,
0.5557587743,
0.3320876658,
0.2292670161,
0.0723563507,
-0.1219854504,
0.1893659681,
-0.0988405496,
0.058099512,
-0.3150723577,
-0.1949937791,
0.025650328,
0.0631216466,
-0.2891603708,
0.024731... |
https://github.com/huggingface/datasets/issues/743 | load_dataset for CSV files not working | > In this case the user expects to get only one dataset object instead of the dictionary of datasets since only one csv file was specified without any split specifications.
> I'm ok with returning the dataset object if no split specifications are given for text/json/csv/pandas.
>
> For the other datasets ton the ot... | Similar to #622, I've noticed there is a problem when trying to load a CSV file with datasets.
`
from datasets import load_dataset
`
`
dataset = load_dataset("csv", data_files=["./sample_data.csv"], delimiter="\t", column_names=["title", "text"], script_version="master")
`
Displayed error:
`
...
ArrowInva... | 107 | load_dataset for CSV files not working
Similar to #622, I've noticed there is a problem when trying to load a CSV file with datasets.
`
from datasets import load_dataset
`
`
dataset = load_dataset("csv", data_files=["./sample_data.csv"], delimiter="\t", column_names=["title", "text"], script_version="master")
... | [
-0.0685337633,
0.0198081546,
0.0123500908,
0.4163452685,
0.1547635496,
0.1310768425,
0.5161140561,
0.3348338306,
0.3283668458,
0.0745705515,
-0.1174223647,
0.2238826007,
-0.1303579062,
0.0772811174,
-0.3574972153,
-0.1409809738,
-0.0161414649,
0.1667791009,
-0.3396334052,
-0.05... |
https://github.com/huggingface/datasets/issues/743 | load_dataset for CSV files not working | > Similar to #622, I've noticed there is a problem when trying to load a CSV file with datasets.
>
> `from datasets import load_dataset`
> `dataset = load_dataset("csv", data_files=["./sample_data.csv"], delimiter="\t", column_names=["title", "text"], script_version="master")`
>
> Displayed error:
> `... ArrowI... | Similar to #622, I've noticed there is a problem when trying to load a CSV file with datasets.
`
from datasets import load_dataset
`
`
dataset = load_dataset("csv", data_files=["./sample_data.csv"], delimiter="\t", column_names=["title", "text"], script_version="master")
`
Displayed error:
`
...
ArrowInva... | 319 | load_dataset for CSV files not working
Similar to #622, I've noticed there is a problem when trying to load a CSV file with datasets.
`
from datasets import load_dataset
`
`
dataset = load_dataset("csv", data_files=["./sample_data.csv"], delimiter="\t", column_names=["title", "text"], script_version="master")
... | [
-0.0300138909,
0.1694911718,
0.0235360488,
0.2714547515,
0.2753947377,
0.1793168783,
0.4045257568,
0.2795948684,
0.2873068452,
0.0150400037,
-0.0485230908,
0.3499825597,
-0.1212734431,
-0.0681237727,
-0.1520153731,
-0.1536568701,
-0.0122302342,
0.1196545064,
-0.4033187032,
-0.0... |
https://github.com/huggingface/datasets/issues/743 | load_dataset for CSV files not working | Hi @kauvinlucas
You can use the latest versions of `datasets` to do this.
To do so, just `pip install datasets` instead of `nlp` (the library was renamed) and then
```python
from datasets import load_dataset
dataset = load_dataset('csv', data_files='sample_data.csv') | Similar to #622, I've noticed there is a problem when trying to load a CSV file with datasets.
`
from datasets import load_dataset
`
`
dataset = load_dataset("csv", data_files=["./sample_data.csv"], delimiter="\t", column_names=["title", "text"], script_version="master")
`
Displayed error:
`
...
ArrowInva... | 38 | load_dataset for CSV files not working
Similar to #622, I've noticed there is a problem when trying to load a CSV file with datasets.
`
from datasets import load_dataset
`
`
dataset = load_dataset("csv", data_files=["./sample_data.csv"], delimiter="\t", column_names=["title", "text"], script_version="master")
... | [
-0.0319093093,
0.0998911411,
0.001606232,
0.3416561782,
0.2253116071,
0.1857517511,
0.3781752884,
0.2843497396,
0.3076330423,
-0.0046044448,
-0.0736301988,
0.3338022232,
-0.1202118471,
-0.036175333,
-0.2130929381,
-0.0587122142,
0.0360810645,
0.0771623626,
-0.3771969378,
0.0088... |
https://github.com/huggingface/datasets/issues/743 | load_dataset for CSV files not working | Hi
I'm having a different problem with loading local csv.
```Python
from datasets import load_dataset
dataset = load_dataset('csv', data_files='sample.csv')
```
gives `ValueError: Specified named and prefix; you can only specify one.` error
versions:
- datasets: 1.1.3
- python: 3.9.6
- py... | Similar to #622, I've noticed there is a problem when trying to load a CSV file with datasets.
`
from datasets import load_dataset
`
`
dataset = load_dataset("csv", data_files=["./sample_data.csv"], delimiter="\t", column_names=["title", "text"], script_version="master")
`
Displayed error:
`
...
ArrowInva... | 42 | load_dataset for CSV files not working
Similar to #622, I've noticed there is a problem when trying to load a CSV file with datasets.
`
from datasets import load_dataset
`
`
dataset = load_dataset("csv", data_files=["./sample_data.csv"], delimiter="\t", column_names=["title", "text"], script_version="master")
... | [
-0.0501015745,
0.078890577,
-0.0220738035,
0.3402083218,
0.2207659185,
0.1807746887,
0.4585179389,
0.2670556009,
0.2990829051,
0.1005547345,
-0.1566749215,
0.2878018022,
-0.0605565384,
-0.0458841063,
-0.2373057753,
-0.1309782863,
0.0242515355,
0.1026113182,
-0.3309671581,
-0.00... |
https://github.com/huggingface/datasets/issues/743 | load_dataset for CSV files not working | Oh.. I figured it out. According to issue #[42387](https://github.com/pandas-dev/pandas/issues/42387) from pandas, this new version does not accept None for both parameters (which was being done by the repo I'm testing). Dowgrading Pandas==1.0.4 and Python==3.8 worked | Similar to #622, I've noticed there is a problem when trying to load a CSV file with datasets.
`
from datasets import load_dataset
`
`
dataset = load_dataset("csv", data_files=["./sample_data.csv"], delimiter="\t", column_names=["title", "text"], script_version="master")
`
Displayed error:
`
...
ArrowInva... | 35 | load_dataset for CSV files not working
Similar to #622, I've noticed there is a problem when trying to load a CSV file with datasets.
`
from datasets import load_dataset
`
`
dataset = load_dataset("csv", data_files=["./sample_data.csv"], delimiter="\t", column_names=["title", "text"], script_version="master")
... | [
0.0241771974,
0.1256206036,
0.0306749716,
0.3196994662,
0.2818750739,
0.1347277313,
0.4705217481,
0.3493141234,
0.2720311284,
-0.0102589959,
-0.1092103422,
0.2939049006,
-0.0448511168,
-0.0265679266,
-0.300804168,
-0.1147534177,
0.0091163283,
0.0720300525,
-0.4082454443,
0.0407... |
https://github.com/huggingface/datasets/issues/743 | load_dataset for CSV files not working | Hi,
I got an `OSError: Cannot find data file. ` when I tried to use load_dataset with tsv files. I have checked the paths, and they are correct.
versions
- python: 3.7.9
- datasets: 1.1.3
- pyarrow: 2.0.0
- transformers: 4.2.2
~~~
data_files = {"train": "train.tsv", "test",: "test.tsv"}
datasets = load_... | Similar to #622, I've noticed there is a problem when trying to load a CSV file with datasets.
`
from datasets import load_dataset
`
`
dataset = load_dataset("csv", data_files=["./sample_data.csv"], delimiter="\t", column_names=["title", "text"], script_version="master")
`
Displayed error:
`
...
ArrowInva... | 229 | load_dataset for CSV files not working
Similar to #622, I've noticed there is a problem when trying to load a CSV file with datasets.
`
from datasets import load_dataset
`
`
dataset = load_dataset("csv", data_files=["./sample_data.csv"], delimiter="\t", column_names=["title", "text"], script_version="master")
... | [
-0.1220383048,
0.1353536993,
-0.0049577174,
0.4093732238,
0.3437595367,
0.1575904042,
0.4911707938,
0.3018618524,
0.240929544,
0.0778131634,
-0.1208108366,
0.3113326132,
-0.2229338586,
0.0161726922,
-0.2666305304,
-0.1388495266,
-0.0121990032,
0.1486900747,
-0.3797129095,
0.084... |
https://github.com/huggingface/datasets/issues/743 | load_dataset for CSV files not working | Hi ! It looks like the error stacktrace doesn't match with your code snippet.
What error do you get when running this ?
```
data_files = {"train": "train.tsv", "test",: "test.tsv"}
datasets = load_dataset("csv", data_files=data_files, delimiter="\t")
```
can you check that both tsv files are in the same folder ... | Similar to #622, I've noticed there is a problem when trying to load a CSV file with datasets.
`
from datasets import load_dataset
`
`
dataset = load_dataset("csv", data_files=["./sample_data.csv"], delimiter="\t", column_names=["title", "text"], script_version="master")
`
Displayed error:
`
...
ArrowInva... | 57 | load_dataset for CSV files not working
Similar to #622, I've noticed there is a problem when trying to load a CSV file with datasets.
`
from datasets import load_dataset
`
`
dataset = load_dataset("csv", data_files=["./sample_data.csv"], delimiter="\t", column_names=["title", "text"], script_version="master")
... | [
-0.1632080674,
0.1201276034,
-0.02039003,
0.3711951971,
0.2908926606,
0.1906739473,
0.33762604,
0.3088066876,
0.255835712,
0.1050070673,
-0.1869194806,
0.2054680735,
-0.1593430638,
0.0611789264,
-0.1956521422,
-0.0624758378,
0.0268127993,
0.068647176,
-0.4645628333,
0.017721893... |
https://github.com/huggingface/datasets/issues/743 | load_dataset for CSV files not working | Hi @lhoestq, Below is the entire error message after I move both tsv files to the same directory. It's the same with I got before.
```
/projectnb2/media-framing/env-trans4/lib/python3.7/site-packages/torch/cuda/__init__.py:52: UserWarning: CUDA initialization: Found no NVIDIA driver on your system. Please check that ... | Similar to #622, I've noticed there is a problem when trying to load a CSV file with datasets.
`
from datasets import load_dataset
`
`
dataset = load_dataset("csv", data_files=["./sample_data.csv"], delimiter="\t", column_names=["title", "text"], script_version="master")
`
Displayed error:
`
...
ArrowInva... | 311 | load_dataset for CSV files not working
Similar to #622, I've noticed there is a problem when trying to load a CSV file with datasets.
`
from datasets import load_dataset
`
`
dataset = load_dataset("csv", data_files=["./sample_data.csv"], delimiter="\t", column_names=["title", "text"], script_version="master")
... | [
-0.0713822991,
0.036322277,
-0.0246864762,
0.519902885,
0.3269371092,
0.1928400397,
0.44621858,
0.3241176009,
0.22433047,
0.0428136177,
-0.0195422806,
0.2665968835,
-0.037216749,
0.0397648029,
-0.245803535,
-0.1460843682,
0.0505350903,
0.0280246139,
-0.3117780387,
0.0664775521,... |
https://github.com/huggingface/datasets/issues/743 | load_dataset for CSV files not working | Hi !
Can you try running this into a python shell directly ?
```python
import os
from datasets import load_dataset
data_files = {"train": "train.tsv", "test": "test.tsv"}
assert all(os.path.isfile(data_file) for data_file in data_files.values()), "Couln't find files"
datasets = load_dataset("csv", data_fil... | Similar to #622, I've noticed there is a problem when trying to load a CSV file with datasets.
`
from datasets import load_dataset
`
`
dataset = load_dataset("csv", data_files=["./sample_data.csv"], delimiter="\t", column_names=["title", "text"], script_version="master")
`
Displayed error:
`
...
ArrowInva... | 56 | load_dataset for CSV files not working
Similar to #622, I've noticed there is a problem when trying to load a CSV file with datasets.
`
from datasets import load_dataset
`
`
dataset = load_dataset("csv", data_files=["./sample_data.csv"], delimiter="\t", column_names=["title", "text"], script_version="master")
... | [
-0.0062863827,
0.0618331321,
0.0004357787,
0.3439053595,
0.2524879873,
0.1751337051,
0.5055189729,
0.32783705,
0.3839305341,
0.0075203711,
-0.0947313905,
0.264867872,
-0.0998275951,
-0.0093662757,
-0.2245770395,
-0.0395575091,
0.0509863906,
0.0297242347,
-0.3710773587,
0.072551... |
https://github.com/huggingface/datasets/issues/743 | load_dataset for CSV files not working | Hi @lhoestq,
Below is what I got from terminal after I copied and run your code. I think the files themselves are good since there is no assertion error.
```
Using custom data configuration default-df627c23ac0e98ec
Downloading and preparing dataset csv/default (download: Unknown size, generated: Unknown size,... | Similar to #622, I've noticed there is a problem when trying to load a CSV file with datasets.
`
from datasets import load_dataset
`
`
dataset = load_dataset("csv", data_files=["./sample_data.csv"], delimiter="\t", column_names=["title", "text"], script_version="master")
`
Displayed error:
`
...
ArrowInva... | 160 | load_dataset for CSV files not working
Similar to #622, I've noticed there is a problem when trying to load a CSV file with datasets.
`
from datasets import load_dataset
`
`
dataset = load_dataset("csv", data_files=["./sample_data.csv"], delimiter="\t", column_names=["title", "text"], script_version="master")
... | [
-0.0766206682,
0.092065081,
-0.0017136935,
0.4262597859,
0.2603353262,
0.1757656187,
0.3854742348,
0.2841125727,
0.2640710771,
0.0310259089,
-0.1189907491,
0.2788824737,
-0.0557526611,
0.0436068177,
-0.3021001518,
-0.0312548801,
0.000486818,
0.0566507094,
-0.3885475397,
0.04101... |
https://github.com/huggingface/datasets/issues/743 | load_dataset for CSV files not working | Hi, could this be a permission error ? I think it fails to close the arrow file that contains the data from your CSVs in the cache.
By default datasets are cached in `~/.cache/huggingface/datasets`, could you check that you have the right permissions ?
You can also try to change the cache directory by passing `cach... | Similar to #622, I've noticed there is a problem when trying to load a CSV file with datasets.
`
from datasets import load_dataset
`
`
dataset = load_dataset("csv", data_files=["./sample_data.csv"], delimiter="\t", column_names=["title", "text"], script_version="master")
`
Displayed error:
`
...
ArrowInva... | 58 | load_dataset for CSV files not working
Similar to #622, I've noticed there is a problem when trying to load a CSV file with datasets.
`
from datasets import load_dataset
`
`
dataset = load_dataset("csv", data_files=["./sample_data.csv"], delimiter="\t", column_names=["title", "text"], script_version="master")
... | [
-0.0871085823,
0.1020703316,
0.0059987358,
0.4314922392,
0.2185792476,
0.2184783369,
0.4292903244,
0.2389688939,
0.3231711686,
0.0248065386,
-0.1687800288,
0.2384758741,
-0.1101289093,
-0.0933416188,
-0.2372374386,
-0.0756905675,
0.0261753667,
0.0410042033,
-0.3811809123,
-0.00... |
https://github.com/huggingface/datasets/issues/743 | load_dataset for CSV files not working | Thank you!! @lhoestq
For some reason, I don't have the default path for datasets to cache, maybe because I work from a remote system. The issue solved after I pass the `cache_dir` argument to the function. Thank you very much!! | Similar to #622, I've noticed there is a problem when trying to load a CSV file with datasets.
`
from datasets import load_dataset
`
`
dataset = load_dataset("csv", data_files=["./sample_data.csv"], delimiter="\t", column_names=["title", "text"], script_version="master")
`
Displayed error:
`
...
ArrowInva... | 40 | load_dataset for CSV files not working
Similar to #622, I've noticed there is a problem when trying to load a CSV file with datasets.
`
from datasets import load_dataset
`
`
dataset = load_dataset("csv", data_files=["./sample_data.csv"], delimiter="\t", column_names=["title", "text"], script_version="master")
... | [
-0.0859660804,
0.0921204016,
0.00546919,
0.3930597901,
0.2793588638,
0.1994733065,
0.4239502549,
0.2563420236,
0.3121510148,
0.0098077748,
-0.1000405103,
0.2833046615,
-0.0902007595,
-0.0692628175,
-0.2416357249,
-0.053454075,
0.048742678,
0.0339308903,
-0.419459343,
0.02175798... |
https://github.com/huggingface/datasets/issues/741 | Creating dataset consumes too much memory | Thanks for reporting.
In theory since the dataset script is just made to yield examples to write them into an arrow file, it's not supposed to create memory issues.
Could you please try to run this exact same loop in a separate script to see if it's not an issue with `PIL` ?
You can just copy paste what's inside `... | Moving this issue from https://github.com/huggingface/datasets/pull/722 here, because it seems like a general issue.
Given the following dataset example, where each example saves a sequence of 260x210x3 images (max length 400):
```python
def _generate_examples(self, base_path, split):
""" Yields examp... | 96 | Creating dataset consumes too much memory
Moving this issue from https://github.com/huggingface/datasets/pull/722 here, because it seems like a general issue.
Given the following dataset example, where each example saves a sequence of 260x210x3 images (max length 400):
```python
def _generate_examples(self, ... | [
-0.2472245246,
-0.0484530441,
-0.0161761995,
0.2615477145,
0.1814281195,
0.202324003,
0.1410057545,
0.2836433649,
-0.0936913937,
0.2016250044,
0.4972397387,
0.1490257382,
-0.2346244454,
0.0067336364,
-0.0158065781,
-0.3033438623,
0.0866440013,
0.055245664,
-0.14935112,
-0.02515... |
https://github.com/huggingface/datasets/issues/741 | Creating dataset consumes too much memory | Here's an equivalent loading code:
```python
images_path = "PHOENIX-2014-T-release-v3/PHOENIX-2014-T/features/fullFrame-210x260px/train"
for dir_path in tqdm(os.listdir(images_path)):
frames_path = os.path.join(images_path, dir_path)
np_frames = []
for frame_name in os.listdir(frames_path):
... | Moving this issue from https://github.com/huggingface/datasets/pull/722 here, because it seems like a general issue.
Given the following dataset example, where each example saves a sequence of 260x210x3 images (max length 400):
```python
def _generate_examples(self, base_path, split):
""" Yields examp... | 75 | Creating dataset consumes too much memory
Moving this issue from https://github.com/huggingface/datasets/pull/722 here, because it seems like a general issue.
Given the following dataset example, where each example saves a sequence of 260x210x3 images (max length 400):
```python
def _generate_examples(self, ... | [
-0.2472245246,
-0.0484530441,
-0.0161761995,
0.2615477145,
0.1814281195,
0.202324003,
0.1410057545,
0.2836433649,
-0.0936913937,
0.2016250044,
0.4972397387,
0.1490257382,
-0.2346244454,
0.0067336364,
-0.0158065781,
-0.3033438623,
0.0866440013,
0.055245664,
-0.14935112,
-0.02515... |
https://github.com/huggingface/datasets/issues/741 | Creating dataset consumes too much memory | I've had similar issues with Arrow once. I'll investigate...
For now maybe we can simply use the images paths in the dataset you want to add. I don't expect to fix this memory issue until 1-2 weeks unfortunately. Then we can just update the dataset with the images. What do you think ? | Moving this issue from https://github.com/huggingface/datasets/pull/722 here, because it seems like a general issue.
Given the following dataset example, where each example saves a sequence of 260x210x3 images (max length 400):
```python
def _generate_examples(self, base_path, split):
""" Yields examp... | 53 | Creating dataset consumes too much memory
Moving this issue from https://github.com/huggingface/datasets/pull/722 here, because it seems like a general issue.
Given the following dataset example, where each example saves a sequence of 260x210x3 images (max length 400):
```python
def _generate_examples(self, ... | [
-0.2472245246,
-0.0484530441,
-0.0161761995,
0.2615477145,
0.1814281195,
0.202324003,
0.1410057545,
0.2836433649,
-0.0936913937,
0.2016250044,
0.4972397387,
0.1490257382,
-0.2346244454,
0.0067336364,
-0.0158065781,
-0.3033438623,
0.0866440013,
0.055245664,
-0.14935112,
-0.02515... |
https://github.com/huggingface/datasets/issues/741 | Creating dataset consumes too much memory | If it's just 1-2 weeks, I think it's best if we wait. I don't think it is very urgent to add it, and it will be much more useful with the images loaded rather than not (the images are low resolution, and thus papers using this dataset actually fit the entire video into memory anyway)
I'll keep working on other datas... | Moving this issue from https://github.com/huggingface/datasets/pull/722 here, because it seems like a general issue.
Given the following dataset example, where each example saves a sequence of 260x210x3 images (max length 400):
```python
def _generate_examples(self, base_path, split):
""" Yields examp... | 65 | Creating dataset consumes too much memory
Moving this issue from https://github.com/huggingface/datasets/pull/722 here, because it seems like a general issue.
Given the following dataset example, where each example saves a sequence of 260x210x3 images (max length 400):
```python
def _generate_examples(self, ... | [
-0.2472245246,
-0.0484530441,
-0.0161761995,
0.2615477145,
0.1814281195,
0.202324003,
0.1410057545,
0.2836433649,
-0.0936913937,
0.2016250044,
0.4972397387,
0.1490257382,
-0.2346244454,
0.0067336364,
-0.0158065781,
-0.3033438623,
0.0866440013,
0.055245664,
-0.14935112,
-0.02515... |
https://github.com/huggingface/datasets/issues/741 | Creating dataset consumes too much memory | Ok found the issue. This is because the batch size used by the writer is set to 10 000 elements by default so it would load your full dataset in memory (the writer has a buffer that flushes only after each batch). Moreover to write in Apache Arrow we have to use python objects so what's stored inside the ArrowWriter's ... | Moving this issue from https://github.com/huggingface/datasets/pull/722 here, because it seems like a general issue.
Given the following dataset example, where each example saves a sequence of 260x210x3 images (max length 400):
```python
def _generate_examples(self, base_path, split):
""" Yields examp... | 97 | Creating dataset consumes too much memory
Moving this issue from https://github.com/huggingface/datasets/pull/722 here, because it seems like a general issue.
Given the following dataset example, where each example saves a sequence of 260x210x3 images (max length 400):
```python
def _generate_examples(self, ... | [
-0.2472245246,
-0.0484530441,
-0.0161761995,
0.2615477145,
0.1814281195,
0.202324003,
0.1410057545,
0.2836433649,
-0.0936913937,
0.2016250044,
0.4972397387,
0.1490257382,
-0.2346244454,
0.0067336364,
-0.0158065781,
-0.3033438623,
0.0866440013,
0.055245664,
-0.14935112,
-0.02515... |
https://github.com/huggingface/datasets/issues/741 | Creating dataset consumes too much memory | Thanks, that's awesome you managed to find the problem.
About the 32 bits - really? there isn't a way to serialize the numpy array somehow? 32 bits would take 4 times the memory / disk space needed to store these videos.
Please let me know when the batch size is customizable and I'll try again! | Moving this issue from https://github.com/huggingface/datasets/pull/722 here, because it seems like a general issue.
Given the following dataset example, where each example saves a sequence of 260x210x3 images (max length 400):
```python
def _generate_examples(self, base_path, split):
""" Yields examp... | 55 | Creating dataset consumes too much memory
Moving this issue from https://github.com/huggingface/datasets/pull/722 here, because it seems like a general issue.
Given the following dataset example, where each example saves a sequence of 260x210x3 images (max length 400):
```python
def _generate_examples(self, ... | [
-0.2472245246,
-0.0484530441,
-0.0161761995,
0.2615477145,
0.1814281195,
0.202324003,
0.1410057545,
0.2836433649,
-0.0936913937,
0.2016250044,
0.4972397387,
0.1490257382,
-0.2346244454,
0.0067336364,
-0.0158065781,
-0.3033438623,
0.0866440013,
0.055245664,
-0.14935112,
-0.02515... |
https://github.com/huggingface/datasets/issues/741 | Creating dataset consumes too much memory | The 32 bit integrers are only used in the writer's buffer because Arrow doesn't take numpy arrays correctly as input. On disk it's stored as uint8 in arrow format ;) | Moving this issue from https://github.com/huggingface/datasets/pull/722 here, because it seems like a general issue.
Given the following dataset example, where each example saves a sequence of 260x210x3 images (max length 400):
```python
def _generate_examples(self, base_path, split):
""" Yields examp... | 30 | Creating dataset consumes too much memory
Moving this issue from https://github.com/huggingface/datasets/pull/722 here, because it seems like a general issue.
Given the following dataset example, where each example saves a sequence of 260x210x3 images (max length 400):
```python
def _generate_examples(self, ... | [
-0.2472245246,
-0.0484530441,
-0.0161761995,
0.2615477145,
0.1814281195,
0.202324003,
0.1410057545,
0.2836433649,
-0.0936913937,
0.2016250044,
0.4972397387,
0.1490257382,
-0.2346244454,
0.0067336364,
-0.0158065781,
-0.3033438623,
0.0866440013,
0.055245664,
-0.14935112,
-0.02515... |
https://github.com/huggingface/datasets/issues/741 | Creating dataset consumes too much memory | > I don't expect to fix this memory issue until 1-2 weeks unfortunately.
Hi @lhoestq
not to rush of course, but I was wondering if you have a new timeline so I know how to plan my work around this :) | Moving this issue from https://github.com/huggingface/datasets/pull/722 here, because it seems like a general issue.
Given the following dataset example, where each example saves a sequence of 260x210x3 images (max length 400):
```python
def _generate_examples(self, base_path, split):
""" Yields examp... | 41 | Creating dataset consumes too much memory
Moving this issue from https://github.com/huggingface/datasets/pull/722 here, because it seems like a general issue.
Given the following dataset example, where each example saves a sequence of 260x210x3 images (max length 400):
```python
def _generate_examples(self, ... | [
-0.2472245246,
-0.0484530441,
-0.0161761995,
0.2615477145,
0.1814281195,
0.202324003,
0.1410057545,
0.2836433649,
-0.0936913937,
0.2016250044,
0.4972397387,
0.1490257382,
-0.2346244454,
0.0067336364,
-0.0158065781,
-0.3033438623,
0.0866440013,
0.055245664,
-0.14935112,
-0.02515... |
https://github.com/huggingface/datasets/issues/741 | Creating dataset consumes too much memory | Alright it should be good now.
You just have to specify `_writer_batch_size = 10` for example as a class attribute of the dataset builder class. | Moving this issue from https://github.com/huggingface/datasets/pull/722 here, because it seems like a general issue.
Given the following dataset example, where each example saves a sequence of 260x210x3 images (max length 400):
```python
def _generate_examples(self, base_path, split):
""" Yields examp... | 25 | Creating dataset consumes too much memory
Moving this issue from https://github.com/huggingface/datasets/pull/722 here, because it seems like a general issue.
Given the following dataset example, where each example saves a sequence of 260x210x3 images (max length 400):
```python
def _generate_examples(self, ... | [
-0.2472245246,
-0.0484530441,
-0.0161761995,
0.2615477145,
0.1814281195,
0.202324003,
0.1410057545,
0.2836433649,
-0.0936913937,
0.2016250044,
0.4972397387,
0.1490257382,
-0.2346244454,
0.0067336364,
-0.0158065781,
-0.3033438623,
0.0866440013,
0.055245664,
-0.14935112,
-0.02515... |
https://github.com/huggingface/datasets/issues/741 | Creating dataset consumes too much memory | I added it, but still it consumes as much memory
https://github.com/huggingface/datasets/pull/722/files#diff-2e0d865dd4a60dedd1861d6f8c5ed281ded71508467908e1e0b1dbe7d2d420b1R66
Did I not do it correctly? | Moving this issue from https://github.com/huggingface/datasets/pull/722 here, because it seems like a general issue.
Given the following dataset example, where each example saves a sequence of 260x210x3 images (max length 400):
```python
def _generate_examples(self, base_path, split):
""" Yields examp... | 17 | Creating dataset consumes too much memory
Moving this issue from https://github.com/huggingface/datasets/pull/722 here, because it seems like a general issue.
Given the following dataset example, where each example saves a sequence of 260x210x3 images (max length 400):
```python
def _generate_examples(self, ... | [
-0.2472245246,
-0.0484530441,
-0.0161761995,
0.2615477145,
0.1814281195,
0.202324003,
0.1410057545,
0.2836433649,
-0.0936913937,
0.2016250044,
0.4972397387,
0.1490257382,
-0.2346244454,
0.0067336364,
-0.0158065781,
-0.3033438623,
0.0866440013,
0.055245664,
-0.14935112,
-0.02515... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.