html_url stringlengths 48 51 | title stringlengths 5 280 | comments stringlengths 63 51.8k | body stringlengths 0 36.2k ⌀ | comment_length int64 16 1.52k | text stringlengths 159 54.1k | embeddings listlengths 768 768 |
|---|---|---|---|---|---|---|
https://github.com/huggingface/datasets/issues/836 | load_dataset with 'csv' is not working. while the same file is loading with 'text' mode or with pandas | We should expose the [`block_size` argument](https://arrow.apache.org/docs/python/generated/pyarrow.csv.ReadOptions.html#pyarrow.csv.ReadOptions) of Apache Arrow csv `ReadOptions` in the [script](https://github.com/huggingface/datasets/blob/master/datasets/csv/csv.py).
In the meantime you can specify yourself the ... | Hi All
I am trying to load a custom dataset and I am trying to load a single file to make sure the file is loading correctly:
dataset = load_dataset('csv', data_files=files)
When I run it I get:
Downloading and preparing dataset csv/default-35575a1051604c88 (download: Unknown size, generated: Unknown size, post-... | 56 | load_dataset with 'csv' is not working. while the same file is loading with 'text' mode or with pandas
Hi All
I am trying to load a custom dataset and I am trying to load a single file to make sure the file is loading correctly:
dataset = load_dataset('csv', data_files=files)
When I run it I get:
Downloading a... | [
-0.2411831170320511,
-0.319865345954895,
-0.06815589964389801,
0.4316070079803467,
0.36252546310424805,
0.019154861569404602,
0.5210210084915161,
0.43771302700042725,
0.29491275548934937,
0.032775163650512695,
0.016962695866823196,
-0.11870503425598145,
0.09059164673089981,
0.1802897304296... |
https://github.com/huggingface/datasets/issues/836 | load_dataset with 'csv' is not working. while the same file is loading with 'text' mode or with pandas | This did help to load the data. But the problem now is that I get:
ArrowInvalid: CSV parse error: Expected 5 columns, got 187
It seems that this change the parsing so I changed the table to tab-separated and tried to load it directly from pyarrow
But I got a similar error, again it loaded fine in pandas so I am no... | Hi All
I am trying to load a custom dataset and I am trying to load a single file to make sure the file is loading correctly:
dataset = load_dataset('csv', data_files=files)
When I run it I get:
Downloading and preparing dataset csv/default-35575a1051604c88 (download: Unknown size, generated: Unknown size, post-... | 66 | load_dataset with 'csv' is not working. while the same file is loading with 'text' mode or with pandas
Hi All
I am trying to load a custom dataset and I am trying to load a single file to make sure the file is loading correctly:
dataset = load_dataset('csv', data_files=files)
When I run it I get:
Downloading a... | [
-0.2411831170320511,
-0.319865345954895,
-0.06815589964389801,
0.4316070079803467,
0.36252546310424805,
0.019154861569404602,
0.5210210084915161,
0.43771302700042725,
0.29491275548934937,
0.032775163650512695,
0.016962695866823196,
-0.11870503425598145,
0.09059164673089981,
0.1802897304296... |
https://github.com/huggingface/datasets/issues/836 | load_dataset with 'csv' is not working. while the same file is loading with 'text' mode or with pandas | Got almost the same error loading a ~5GB TSV file, first got the same error as OP, then tried giving it my own ReadOptions and also got the same CSV parse error. | Hi All
I am trying to load a custom dataset and I am trying to load a single file to make sure the file is loading correctly:
dataset = load_dataset('csv', data_files=files)
When I run it I get:
Downloading and preparing dataset csv/default-35575a1051604c88 (download: Unknown size, generated: Unknown size, post-... | 32 | load_dataset with 'csv' is not working. while the same file is loading with 'text' mode or with pandas
Hi All
I am trying to load a custom dataset and I am trying to load a single file to make sure the file is loading correctly:
dataset = load_dataset('csv', data_files=files)
When I run it I get:
Downloading a... | [
-0.2411831170320511,
-0.319865345954895,
-0.06815589964389801,
0.4316070079803467,
0.36252546310424805,
0.019154861569404602,
0.5210210084915161,
0.43771302700042725,
0.29491275548934937,
0.032775163650512695,
0.016962695866823196,
-0.11870503425598145,
0.09059164673089981,
0.1802897304296... |
https://github.com/huggingface/datasets/issues/836 | load_dataset with 'csv' is not working. while the same file is loading with 'text' mode or with pandas | > We should expose the [`block_size` argument](https://arrow.apache.org/docs/python/generated/pyarrow.csv.ReadOptions.html#pyarrow.csv.ReadOptions) of Apache Arrow csv `ReadOptions` in the [script](https://github.com/huggingface/datasets/blob/master/datasets/csv/csv.py).
>
> In the meantime you can specify yourself ... | Hi All
I am trying to load a custom dataset and I am trying to load a single file to make sure the file is loading correctly:
dataset = load_dataset('csv', data_files=files)
When I run it I get:
Downloading and preparing dataset csv/default-35575a1051604c88 (download: Unknown size, generated: Unknown size, post-... | 82 | load_dataset with 'csv' is not working. while the same file is loading with 'text' mode or with pandas
Hi All
I am trying to load a custom dataset and I am trying to load a single file to make sure the file is loading correctly:
dataset = load_dataset('csv', data_files=files)
When I run it I get:
Downloading a... | [
-0.2411831170320511,
-0.319865345954895,
-0.06815589964389801,
0.4316070079803467,
0.36252546310424805,
0.019154861569404602,
0.5210210084915161,
0.43771302700042725,
0.29491275548934937,
0.032775163650512695,
0.016962695866823196,
-0.11870503425598145,
0.09059164673089981,
0.1802897304296... |
https://github.com/huggingface/datasets/issues/836 | load_dataset with 'csv' is not working. while the same file is loading with 'text' mode or with pandas | Hi ! Yes because of issues with PyArrow's CSV reader we switched to using the Pandas CSV reader. In particular the `read_options` argument is not supported anymore, but you can pass any parameter of Pandas' `read_csv` function (see the list here in [Pandas documentation](https://pandas.pydata.org/docs/reference/api/pan... | Hi All
I am trying to load a custom dataset and I am trying to load a single file to make sure the file is loading correctly:
dataset = load_dataset('csv', data_files=files)
When I run it I get:
Downloading and preparing dataset csv/default-35575a1051604c88 (download: Unknown size, generated: Unknown size, post-... | 44 | load_dataset with 'csv' is not working. while the same file is loading with 'text' mode or with pandas
Hi All
I am trying to load a custom dataset and I am trying to load a single file to make sure the file is loading correctly:
dataset = load_dataset('csv', data_files=files)
When I run it I get:
Downloading a... | [
-0.2411831170320511,
-0.319865345954895,
-0.06815589964389801,
0.4316070079803467,
0.36252546310424805,
0.019154861569404602,
0.5210210084915161,
0.43771302700042725,
0.29491275548934937,
0.032775163650512695,
0.016962695866823196,
-0.11870503425598145,
0.09059164673089981,
0.1802897304296... |
https://github.com/huggingface/datasets/issues/835 | Wikipedia postprocessing | Hi @bminixhofer ! Parsing WikiMedia is notoriously difficult: this processing used [mwparserfromhell](https://github.com/earwig/mwparserfromhell) which is pretty good but not perfect.
As an alternative, you can also use the Wiki40b dataset which was pre-processed using an un-released Google internal tool | Hi, thanks for this library!
Running this code:
```py
import datasets
wikipedia = datasets.load_dataset("wikipedia", "20200501.de")
print(wikipedia['train']['text'][0])
```
I get:
```
mini|Ricardo Flores Magón
mini|Mexikanische Revolutionäre, Magón in der Mitte anführend, gegen die Diktatur von Porfir... | 38 | Wikipedia postprocessing
Hi, thanks for this library!
Running this code:
```py
import datasets
wikipedia = datasets.load_dataset("wikipedia", "20200501.de")
print(wikipedia['train']['text'][0])
```
I get:
```
mini|Ricardo Flores Magón
mini|Mexikanische Revolutionäre, Magón in der Mitte anführend, ge... | [
-0.03763066604733467,
0.11600163578987122,
-0.19094105064868927,
0.45003801584243774,
0.29546499252319336,
-0.21973741054534912,
0.3712629973888397,
0.2625177800655365,
-0.00288541242480278,
0.06707745790481567,
0.16373248398303986,
0.3684879243373871,
0.04031345248222351,
-0.0634339079260... |
https://github.com/huggingface/datasets/issues/834 | [GEM] add WikiLingua cross-lingual abstractive summarization dataset | Hey @yjernite. This is a very interesting dataset. Would love to work on adding it but I see that the link to the data is to a gdrive folder. Can I just confirm wether dlmanager can handle gdrive urls or would this have to be a manual dl? | ## Adding a Dataset
- **Name:** WikiLingua
- **Description:** The dataset includes ~770k article and summary pairs in 18 languages from WikiHow. The gold-standard article-summary alignments across languages were extracted by aligning the images that are used to describe each how-to step in an article.
- **Paper:** h... | 48 | [GEM] add WikiLingua cross-lingual abstractive summarization dataset
## Adding a Dataset
- **Name:** WikiLingua
- **Description:** The dataset includes ~770k article and summary pairs in 18 languages from WikiHow. The gold-standard article-summary alignments across languages were extracted by aligning the images th... | [
-0.20528964698314667,
0.31998932361602783,
0.07221481204032898,
0.5395575165748596,
0.13003745675086975,
0.21938064694404602,
0.12779977917671204,
-0.18642394244670868,
-0.028953509405255318,
-0.06992658972740173,
0.27437612414360046,
0.0008880306268110871,
-0.4298551678657532,
0.205795928... |
https://github.com/huggingface/datasets/issues/834 | [GEM] add WikiLingua cross-lingual abstractive summarization dataset | Hi @KMFODA ! A version of WikiLingua is actually already accessible in the [GEM dataset](https://huggingface.co/datasets/gem)
You can use it for example to load the French to English translation with:
```python
from datasets import load_dataset
wikilingua = load_dataset("gem", "wiki_lingua_french_fr")
```
Clo... | ## Adding a Dataset
- **Name:** WikiLingua
- **Description:** The dataset includes ~770k article and summary pairs in 18 languages from WikiHow. The gold-standard article-summary alignments across languages were extracted by aligning the images that are used to describe each how-to step in an article.
- **Paper:** h... | 42 | [GEM] add WikiLingua cross-lingual abstractive summarization dataset
## Adding a Dataset
- **Name:** WikiLingua
- **Description:** The dataset includes ~770k article and summary pairs in 18 languages from WikiHow. The gold-standard article-summary alignments across languages were extracted by aligning the images th... | [
-0.2764138877391815,
0.002687796950340271,
-0.1001025140285492,
0.31070977449417114,
-0.1134149581193924,
0.1402345895767212,
0.010671772062778473,
0.2736695408821106,
-0.049723271280527115,
0.14254418015480042,
-0.06661245226860046,
0.23884490132331848,
0.033216703683137894,
0.32905417680... |
https://github.com/huggingface/datasets/issues/827 | [GEM] MultiWOZ dialogue dataset | Hi @yjernite can I help in adding this dataset?
I am excited about this because this will be my first contribution to the datasets library as well as to hugginface. | ## Adding a Dataset
- **Name:** MultiWOZ (Multi-Domain Wizard-of-Oz)
- **Description:** 10k annotated human-human dialogues. Each dialogue consists of a goal, multiple user and system utterances as well as a belief state. Only system utterances are annotated with dialogue acts – there are no annotations from the user... | 30 | [GEM] MultiWOZ dialogue dataset
## Adding a Dataset
- **Name:** MultiWOZ (Multi-Domain Wizard-of-Oz)
- **Description:** 10k annotated human-human dialogues. Each dialogue consists of a goal, multiple user and system utterances as well as a belief state. Only system utterances are annotated with dialogue acts – ther... | [
-0.04955967515707016,
-0.12617576122283936,
0.04844265058636665,
0.5216314792633057,
0.028047174215316772,
0.24420469999313354,
0.22579006850719452,
-0.12951363623142242,
-0.07643049955368042,
-0.03523041307926178,
-0.3937835097312927,
0.028376024216413498,
-0.41572877764701843,
0.37123596... |
https://github.com/huggingface/datasets/issues/824 | Discussion using datasets in offline mode | I think it would be very cool. I'm currently working on a cluster from Compute Canada, and I have internet access only when I'm not in the nodes where I run the scripts. So I was expecting to be able to use the wmt14 dataset until I realized I needed internet connection even if I downloaded the data already. I'm going ... | `datasets.load_dataset("csv", ...)` breaks if you have no connection (There is already this issue https://github.com/huggingface/datasets/issues/761 about it). It seems to be the same for metrics too.
I create this ticket to discuss a bit and gather what you have in mind or other propositions.
Here are some point... | 72 | Discussion using datasets in offline mode
`datasets.load_dataset("csv", ...)` breaks if you have no connection (There is already this issue https://github.com/huggingface/datasets/issues/761 about it). It seems to be the same for metrics too.
I create this ticket to discuss a bit and gather what you have in mind o... | [
-0.630070686340332,
0.205890953540802,
-0.010249797254800797,
0.13883280754089355,
0.19344674050807953,
-0.17377158999443054,
0.5314207673072815,
0.08316385746002197,
0.35007357597351074,
0.2367117553949356,
0.130647674202919,
-0.06461665779352188,
-0.11494860798120499,
0.4892580509185791,... |
https://github.com/huggingface/datasets/issues/824 | Discussion using datasets in offline mode | Requiring online connection is a deal breaker in some cases unfortunately so it'd be great if offline mode is added similar to how `transformers` loads models offline fine.
@mandubian's second bullet point suggests that there's a workaround allowing you to use your offline (custom?) dataset with `datasets`. Could yo... | `datasets.load_dataset("csv", ...)` breaks if you have no connection (There is already this issue https://github.com/huggingface/datasets/issues/761 about it). It seems to be the same for metrics too.
I create this ticket to discuss a bit and gather what you have in mind or other propositions.
Here are some point... | 57 | Discussion using datasets in offline mode
`datasets.load_dataset("csv", ...)` breaks if you have no connection (There is already this issue https://github.com/huggingface/datasets/issues/761 about it). It seems to be the same for metrics too.
I create this ticket to discuss a bit and gather what you have in mind o... | [
-0.4731810390949249,
0.24578425288200378,
-0.012630607932806015,
0.14121410250663757,
0.28335559368133545,
-0.14702095091342926,
0.6012277007102966,
0.012776054441928864,
0.26878106594085693,
0.1312778890132904,
-0.024036673828959465,
-0.02398519590497017,
-0.024662315845489502,
0.40210664... |
https://github.com/huggingface/datasets/issues/824 | Discussion using datasets in offline mode | here is my way to load a dataset offline, but it **requires** an online machine
1. (online machine)
```
import datasets
data = datasets.load_dataset(...)
data.save_to_disk(/YOUR/DATASET/DIR)
```
2. copy the dir from online to the offline machine
3. (offline machine)
```
import datasets
data = datasets.load_f... | `datasets.load_dataset("csv", ...)` breaks if you have no connection (There is already this issue https://github.com/huggingface/datasets/issues/761 about it). It seems to be the same for metrics too.
I create this ticket to discuss a bit and gather what you have in mind or other propositions.
Here are some point... | 47 | Discussion using datasets in offline mode
`datasets.load_dataset("csv", ...)` breaks if you have no connection (There is already this issue https://github.com/huggingface/datasets/issues/761 about it). It seems to be the same for metrics too.
I create this ticket to discuss a bit and gather what you have in mind o... | [
-0.49025747179985046,
0.2288963496685028,
-0.03322089463472366,
0.13887350261211395,
0.2363724559545517,
-0.08911534398794174,
0.5481935143470764,
0.06737257540225983,
0.2955961525440216,
0.2450515627861023,
-0.010174613445997238,
-0.06949257850646973,
0.027625681832432747,
0.3827285468578... |
https://github.com/huggingface/datasets/issues/824 | Discussion using datasets in offline mode | > here is my way to load a dataset offline, but it **requires** an online machine
>
> 1. (online machine)
>
> ```
>
> import datasets
>
> data = datasets.load_dataset(...)
>
> data.save_to_disk(/YOUR/DATASET/DIR)
>
> ```
>
> 2. copy the dir from online to the offline machine
>
> 3. (offline machine)
>
> ```
> ... | `datasets.load_dataset("csv", ...)` breaks if you have no connection (There is already this issue https://github.com/huggingface/datasets/issues/761 about it). It seems to be the same for metrics too.
I create this ticket to discuss a bit and gather what you have in mind or other propositions.
Here are some point... | 76 | Discussion using datasets in offline mode
`datasets.load_dataset("csv", ...)` breaks if you have no connection (There is already this issue https://github.com/huggingface/datasets/issues/761 about it). It seems to be the same for metrics too.
I create this ticket to discuss a bit and gather what you have in mind o... | [
-0.4992602467536926,
0.22699770331382751,
-0.03246933966875076,
0.1418720781803131,
0.23695099353790283,
-0.10291716456413269,
0.5442941188812256,
0.07441107928752899,
0.2753627598285675,
0.24428828060626984,
-0.008833487518131733,
-0.06653963029384613,
0.028085775673389435,
0.375622928142... |
https://github.com/huggingface/datasets/issues/824 | Discussion using datasets in offline mode | I opened a PR that allows to reload modules that have already been loaded once even if there's no internet.
Let me know if you know other ways that can make the offline mode experience better. I'd be happy to add them :)
I already note the "freeze" modules option, to prevent local modules updates. It would be a ... | `datasets.load_dataset("csv", ...)` breaks if you have no connection (There is already this issue https://github.com/huggingface/datasets/issues/761 about it). It seems to be the same for metrics too.
I create this ticket to discuss a bit and gather what you have in mind or other propositions.
Here are some point... | 179 | Discussion using datasets in offline mode
`datasets.load_dataset("csv", ...)` breaks if you have no connection (There is already this issue https://github.com/huggingface/datasets/issues/761 about it). It seems to be the same for metrics too.
I create this ticket to discuss a bit and gather what you have in mind o... | [
-0.47164812684059143,
0.29022690653800964,
-0.047672007232904434,
0.13344208896160126,
0.2106890231370926,
-0.21222546696662903,
0.5858259201049805,
0.05341675877571106,
0.2833409905433655,
0.18411299586296082,
0.031059516593813896,
0.0326387882232666,
0.0011810194700956345,
0.333325803279... |
https://github.com/huggingface/datasets/issues/824 | Discussion using datasets in offline mode | The local dataset builders (csv, text , json and pandas) are now part of the `datasets` package since #1726 :)
You can now use them offline
```python
datasets = load_dataset('text', data_files=data_files)
```
We'll do a new release soon | `datasets.load_dataset("csv", ...)` breaks if you have no connection (There is already this issue https://github.com/huggingface/datasets/issues/761 about it). It seems to be the same for metrics too.
I create this ticket to discuss a bit and gather what you have in mind or other propositions.
Here are some point... | 38 | Discussion using datasets in offline mode
`datasets.load_dataset("csv", ...)` breaks if you have no connection (There is already this issue https://github.com/huggingface/datasets/issues/761 about it). It seems to be the same for metrics too.
I create this ticket to discuss a bit and gather what you have in mind o... | [
-0.4490845501422882,
0.20950791239738464,
-0.059819020330905914,
0.12935009598731995,
0.26219409704208374,
-0.13128599524497986,
0.5469669699668884,
0.09492601454257965,
0.31543922424316406,
0.22943252325057983,
0.051040053367614746,
-0.0031581243965774775,
0.04794223979115486,
0.403674960... |
https://github.com/huggingface/datasets/issues/824 | Discussion using datasets in offline mode | @albertvillanova
datasets version: 2.10.1
I load_dataset and save_to_disk sucessfully on windows10, and I copy the dataset dir
into a ubuntu system, and when I load_from_disk(dir), something weird happens:
```
load_from_disk('/LLM/data/wiki')
File "/usr/local/miniconda3/lib/python3.8/site-packages/dataset... | `datasets.load_dataset("csv", ...)` breaks if you have no connection (There is already this issue https://github.com/huggingface/datasets/issues/761 about it). It seems to be the same for metrics too.
I create this ticket to discuss a bit and gather what you have in mind or other propositions.
Here are some point... | 122 | Discussion using datasets in offline mode
`datasets.load_dataset("csv", ...)` breaks if you have no connection (There is already this issue https://github.com/huggingface/datasets/issues/761 about it). It seems to be the same for metrics too.
I create this ticket to discuss a bit and gather what you have in mind o... | [
-0.5006126165390015,
0.293903112411499,
-0.014487328939139843,
0.19085446000099182,
0.2995647192001343,
-0.020032793283462524,
0.5612807273864746,
0.017048368230462074,
0.223615363240242,
0.21794316172599792,
-0.025961294770240784,
0.07420795410871506,
0.04964810609817505,
0.19785015285015... |
https://github.com/huggingface/datasets/issues/824 | Discussion using datasets in offline mode | It looks like a bug in `fsspec`, can you try updating `fsspec` (and maybe `datasets` as well) ? | `datasets.load_dataset("csv", ...)` breaks if you have no connection (There is already this issue https://github.com/huggingface/datasets/issues/761 about it). It seems to be the same for metrics too.
I create this ticket to discuss a bit and gather what you have in mind or other propositions.
Here are some point... | 18 | Discussion using datasets in offline mode
`datasets.load_dataset("csv", ...)` breaks if you have no connection (There is already this issue https://github.com/huggingface/datasets/issues/761 about it). It seems to be the same for metrics too.
I create this ticket to discuss a bit and gather what you have in mind o... | [
-0.5497544407844543,
0.1564037799835205,
-0.002022773027420044,
0.19531956315040588,
0.4145311713218689,
-0.25600680708885193,
0.38192445039749146,
0.023217003792524338,
0.2758582830429077,
0.29854652285575867,
0.10410413891077042,
-0.05073922127485275,
0.10569112747907639,
0.5318765640258... |
https://github.com/huggingface/datasets/issues/823 | how processing in batch works in datasets | Hi I don’t think this is a request for a dataset like you labeled it.
I also think this would be better suited for the forum at https://discuss.huggingface.co. we try to keep the issue for the repo for bug reports and new features/dataset requests and have usage questions discussed on the forum. Thanks. | Hi,
I need to process my datasets before it is passed to dataloader in batch,
here is my codes
```
class AbstractTask(ABC):
task_name: str = NotImplemented
preprocessor: Callable = NotImplemented
split_to_data_split: Mapping[str, str] = NotImplemented
tokenizer: Callable = NotImplemented
... | 53 | how processing in batch works in datasets
Hi,
I need to process my datasets before it is passed to dataloader in batch,
here is my codes
```
class AbstractTask(ABC):
task_name: str = NotImplemented
preprocessor: Callable = NotImplemented
split_to_data_split: Mapping[str, str] = NotImplemented
... | [
-0.5023795962333679,
-0.17439483106136322,
-0.22950232028961182,
0.1301569938659668,
0.17803548276424408,
0.0317944660782814,
0.29556140303611755,
0.17130397260189056,
-0.1484706699848175,
0.17807698249816895,
0.00912182405591011,
0.12478051334619522,
0.06411977112293243,
0.245623633265495... |
https://github.com/huggingface/datasets/issues/823 | how processing in batch works in datasets | Hi Thomas,
what I do not get from documentation is that why when you set batched=True,
this is processed in batch, while data is not divided to batched
beforehand, basically this is a question on the documentation and I do not
get the batched=True, but sure, if you think this is more appropriate in
forum I will post it... | Hi,
I need to process my datasets before it is passed to dataloader in batch,
here is my codes
```
class AbstractTask(ABC):
task_name: str = NotImplemented
preprocessor: Callable = NotImplemented
split_to_data_split: Mapping[str, str] = NotImplemented
tokenizer: Callable = NotImplemented
... | 167 | how processing in batch works in datasets
Hi,
I need to process my datasets before it is passed to dataloader in batch,
here is my codes
```
class AbstractTask(ABC):
task_name: str = NotImplemented
preprocessor: Callable = NotImplemented
split_to_data_split: Mapping[str, str] = NotImplemented
... | [
-0.5023795962333679,
-0.17439483106136322,
-0.22950232028961182,
0.1301569938659668,
0.17803548276424408,
0.0317944660782814,
0.29556140303611755,
0.17130397260189056,
-0.1484706699848175,
0.17807698249816895,
0.00912182405591011,
0.12478051334619522,
0.06411977112293243,
0.245623633265495... |
https://github.com/huggingface/datasets/issues/823 | how processing in batch works in datasets | Yes the forum is perfect for that. You can post in the `datasets` section.
Thanks a lot! | Hi,
I need to process my datasets before it is passed to dataloader in batch,
here is my codes
```
class AbstractTask(ABC):
task_name: str = NotImplemented
preprocessor: Callable = NotImplemented
split_to_data_split: Mapping[str, str] = NotImplemented
tokenizer: Callable = NotImplemented
... | 17 | how processing in batch works in datasets
Hi,
I need to process my datasets before it is passed to dataloader in batch,
here is my codes
```
class AbstractTask(ABC):
task_name: str = NotImplemented
preprocessor: Callable = NotImplemented
split_to_data_split: Mapping[str, str] = NotImplemented
... | [
-0.5023795962333679,
-0.17439483106136322,
-0.22950232028961182,
0.1301569938659668,
0.17803548276424408,
0.0317944660782814,
0.29556140303611755,
0.17130397260189056,
-0.1484706699848175,
0.17807698249816895,
0.00912182405591011,
0.12478051334619522,
0.06411977112293243,
0.245623633265495... |
https://github.com/huggingface/datasets/issues/822 | datasets freezes | Pytorch is unable to convert strings to tensors unfortunately.
You can use `set_format(type="torch")` on columns that can be converted to tensors, such as token ids.
This makes me think that we should probably raise an error or at least a warning when one tries to create pytorch tensors out of text columns | Hi, I want to load these two datasets and convert them to Dataset format in torch and the code freezes for me, could you have a look please? thanks
dataset1 = load_dataset("squad", split="train[:10]")
dataset1 = dataset1.set_format(type='torch', columns=['context', 'answers', 'question'])
dataset2 = load_datase... | 52 | datasets freezes
Hi, I want to load these two datasets and convert them to Dataset format in torch and the code freezes for me, could you have a look please? thanks
dataset1 = load_dataset("squad", split="train[:10]")
dataset1 = dataset1.set_format(type='torch', columns=['context', 'answers', 'question'])
da... | [
-0.16190913319587708,
-0.3347923457622528,
-0.04657973721623421,
0.5367452502250671,
0.3581033945083618,
0.21252110600471497,
0.5072587728500366,
0.39032405614852905,
-0.01512828841805458,
0.12072203308343887,
-0.21651780605316162,
0.29290032386779785,
-0.118535615503788,
-0.16308468580245... |
https://github.com/huggingface/datasets/issues/822 | datasets freezes | Ultimately, we decided to return a list instead of an error when formatting a string column with the format type `"torch"`.
If you think an error would be more appropriate, please open a new issue. | Hi, I want to load these two datasets and convert them to Dataset format in torch and the code freezes for me, could you have a look please? thanks
dataset1 = load_dataset("squad", split="train[:10]")
dataset1 = dataset1.set_format(type='torch', columns=['context', 'answers', 'question'])
dataset2 = load_datase... | 35 | datasets freezes
Hi, I want to load these two datasets and convert them to Dataset format in torch and the code freezes for me, could you have a look please? thanks
dataset1 = load_dataset("squad", split="train[:10]")
dataset1 = dataset1.set_format(type='torch', columns=['context', 'answers', 'question'])
da... | [
-0.2519761919975281,
-0.3132404685020447,
-0.13274399936199188,
0.5602666139602661,
0.44274193048477173,
0.29321953654289246,
0.36282601952552795,
0.3522286117076874,
-0.06875552982091904,
0.12339413911104202,
-0.3223203718662262,
0.3264632225036621,
-0.07355104386806488,
-0.06804665178060... |
https://github.com/huggingface/datasets/issues/816 | [Caching] Dill globalvars() output order is not deterministic and can cause cache issues. | To show the issue:
```
python -c "from datasets.fingerprint import Hasher; a=[]; func = lambda : len(a); print(Hasher.hash(func))"
```
doesn't always return the same ouput since `globs` is a dictionary with "a" and "len" as keys but sometimes not in the same order | Dill uses `dill.detect.globalvars` to get the globals used by a function in a recursive dump. `globalvars` returns a dictionary of all the globals that a dumped function needs. However the order of the keys in this dict is not deterministic and can cause caching issues.
To fix that one could register an implementati... | 43 | [Caching] Dill globalvars() output order is not deterministic and can cause cache issues.
Dill uses `dill.detect.globalvars` to get the globals used by a function in a recursive dump. `globalvars` returns a dictionary of all the globals that a dumped function needs. However the order of the keys in this dict is not d... | [
-0.08192698657512665,
-0.04951898008584976,
-0.08793119341135025,
0.12161439657211304,
0.08929172158241272,
-0.15636204183101654,
0.1671694815158844,
0.2433266043663025,
-0.09968429803848267,
0.08036401867866516,
-0.08278700709342957,
0.26741617918014526,
-0.18599016964435577,
-0.268915295... |
https://github.com/huggingface/datasets/issues/815 | Is dataset iterative or not? | Hello !
Could you give more details ?
If you mean iter through one dataset then yes, `Dataset` object does implement the `__iter__` method so you can use
```python
for example in dataset:
# do something
```
If you want to iter through several datasets you can first concatenate them
```python
from data... | Hi
I want to use your library for large-scale training, I am not sure if this is implemented as iterative datasets or not?
could you provide me with example how I can use datasets as iterative datasets?
thanks | 67 | Is dataset iterative or not?
Hi
I want to use your library for large-scale training, I am not sure if this is implemented as iterative datasets or not?
could you provide me with example how I can use datasets as iterative datasets?
thanks
Hello !
Could you give more details ?
If you mean iter through one dat... | [
-0.2620127499103546,
-0.29162847995758057,
-0.1804151087999344,
0.11397119611501694,
0.060651231557130814,
-0.026536930352449417,
0.2819751501083374,
0.16877438127994537,
0.11090229451656342,
0.08455172181129456,
0.15545952320098877,
0.24818623065948486,
-0.35543644428253174,
0.34895277023... |
https://github.com/huggingface/datasets/issues/815 | Is dataset iterative or not? | Hi Huggingface/Datasets team,
I want to use the datasets inside Seq2SeqDataset here
https://github.com/huggingface/transformers/blob/master/examples/seq2seq/utils.py
and there I need to return back each line from the datasets and I am not
sure how to access each line and implement this?
It seems it also has get_item at... | Hi
I want to use your library for large-scale training, I am not sure if this is implemented as iterative datasets or not?
could you provide me with example how I can use datasets as iterative datasets?
thanks | 185 | Is dataset iterative or not?
Hi
I want to use your library for large-scale training, I am not sure if this is implemented as iterative datasets or not?
could you provide me with example how I can use datasets as iterative datasets?
thanks
Hi Huggingface/Datasets team,
I want to use the datasets inside Seq2SeqDat... | [
-0.02254367433488369,
-0.3792019188404083,
-0.07171972095966339,
0.3793147802352905,
0.07945950329303741,
-0.154981791973114,
0.27637532353401184,
0.08281740546226501,
0.07116234302520752,
-0.1428879052400589,
-0.06436228007078171,
0.011118998751044273,
-0.24549691379070282,
0.342904508113... |
https://github.com/huggingface/datasets/issues/815 | Is dataset iterative or not? | could you tell me please if datasets also has __getitem__ any idea on how
to integrate it with Seq2SeqDataset is appreciated thanks
On Mon, Nov 9, 2020 at 10:22 AM Rabeeh Karimi Mahabadi <rabeeh@google.com>
wrote:
> Hi Huggingface/Datasets team,
> I want to use the datasets inside Seq2SeqDataset here
> https://github... | Hi
I want to use your library for large-scale training, I am not sure if this is implemented as iterative datasets or not?
could you provide me with example how I can use datasets as iterative datasets?
thanks | 236 | Is dataset iterative or not?
Hi
I want to use your library for large-scale training, I am not sure if this is implemented as iterative datasets or not?
could you provide me with example how I can use datasets as iterative datasets?
thanks
could you tell me please if datasets also has __getitem__ any idea on how
... | [
-0.1425880789756775,
-0.3471773564815521,
-0.1183144599199295,
0.3518550992012024,
0.08034637570381165,
-0.0877770259976387,
0.22364541888237,
0.23742973804473877,
0.03323592618107796,
-0.12688353657722473,
-0.038506776094436646,
0.050097208470106125,
-0.2673038840293884,
0.363091170787811... |
https://github.com/huggingface/datasets/issues/815 | Is dataset iterative or not? | `datasets.Dataset` objects implement indeed `__getitem__`. It returns a dictionary with one field per column.
We've not added the integration of the datasets library for the seq2seq utilities yet. The current seq2seq utilities are based on text files.
However as soon as you have a `datasets.Dataset` with columns ... | Hi
I want to use your library for large-scale training, I am not sure if this is implemented as iterative datasets or not?
could you provide me with example how I can use datasets as iterative datasets?
thanks | 76 | Is dataset iterative or not?
Hi
I want to use your library for large-scale training, I am not sure if this is implemented as iterative datasets or not?
could you provide me with example how I can use datasets as iterative datasets?
thanks
`datasets.Dataset` objects implement indeed `__getitem__`. It returns a di... | [
-0.10601609945297241,
-0.06535813212394714,
-0.07446178048849106,
0.27289581298828125,
0.02120343968272209,
-0.00954362004995346,
0.2350490689277649,
0.2607482671737671,
0.017850134521722794,
-0.18112243711948395,
0.20077729225158691,
0.21176402270793915,
-0.38756561279296875,
0.1963475346... |
https://github.com/huggingface/datasets/issues/815 | Is dataset iterative or not? | Hi
I am sorry for asking it multiple times but I am not getting the dataloader
type, could you confirm if the dataset library returns back an iterable
type dataloader or a mapping type one where one has access to __getitem__,
in the former case, one can iterate with __iter__, and how I can configure
it to return the da... | Hi
I want to use your library for large-scale training, I am not sure if this is implemented as iterative datasets or not?
could you provide me with example how I can use datasets as iterative datasets?
thanks | 217 | Is dataset iterative or not?
Hi
I want to use your library for large-scale training, I am not sure if this is implemented as iterative datasets or not?
could you provide me with example how I can use datasets as iterative datasets?
thanks
Hi
I am sorry for asking it multiple times but I am not getting the datalo... | [
-0.16995839774608612,
-0.171406090259552,
-0.06893117725849152,
0.29238826036453247,
0.10094978660345078,
-0.08452481031417847,
0.3338168263435364,
0.24669021368026733,
0.17970123887062073,
-0.12653394043445587,
0.06800967454910278,
0.14424867928028107,
-0.37888631224632263,
0.412889540195... |
https://github.com/huggingface/datasets/issues/815 | Is dataset iterative or not? | `datasets.Dataset` objects are both iterative and mapping types: it has both `__iter__` and `__getitem__`
For example you can do
```python
for example in dataset:
# do something
```
or
```python
for i in range(len(dataset)):
example = dataset[i]
# do something
```
When you do that, one and only ... | Hi
I want to use your library for large-scale training, I am not sure if this is implemented as iterative datasets or not?
could you provide me with example how I can use datasets as iterative datasets?
thanks | 57 | Is dataset iterative or not?
Hi
I want to use your library for large-scale training, I am not sure if this is implemented as iterative datasets or not?
could you provide me with example how I can use datasets as iterative datasets?
thanks
`datasets.Dataset` objects are both iterative and mapping types: it has bo... | [
-0.1967022866010666,
-0.41206127405166626,
-0.15225858986377716,
0.1939138025045395,
0.05039370805025101,
0.009160131216049194,
0.2521877586841583,
0.06103913486003876,
0.1378222107887268,
-0.0013330578804016113,
0.22775106132030487,
0.2708902657032013,
-0.4278084337711334,
0.1769473105669... |
https://github.com/huggingface/datasets/issues/815 | Is dataset iterative or not? | Hi there,
Here is what I am trying, this is not working for me in map-style datasets, could you please tell me how to use datasets with being able to access ___getitem__ ? could you assist me please correcting this example? I need map-style datasets which is formed from concatenation of two datasets from your library... | Hi
I want to use your library for large-scale training, I am not sure if this is implemented as iterative datasets or not?
could you provide me with example how I can use datasets as iterative datasets?
thanks | 113 | Is dataset iterative or not?
Hi
I want to use your library for large-scale training, I am not sure if this is implemented as iterative datasets or not?
could you provide me with example how I can use datasets as iterative datasets?
thanks
Hi there,
Here is what I am trying, this is not working for me in map-st... | [
-0.30167117714881897,
-0.39162346720695496,
-0.12449996173381805,
0.404502272605896,
0.1218658909201622,
0.08152613788843155,
0.23458074033260345,
0.1949106752872467,
-0.044543780386447906,
-0.025844261050224304,
0.044025614857673645,
0.33468836545944214,
-0.3416888117790222,
0.01935759000... |
https://github.com/huggingface/datasets/issues/813 | How to implement DistributedSampler with datasets | Hi Apparently I need to shard the data and give one host a chunk, could you provide me please with examples on how to do it? I want to use it jointly with finetune_trainer.py in huggingface repo seq2seq examples. thanks. | Hi,
I am using your datasets to define my dataloaders, and I am training finetune_trainer.py in huggingface repo on them.
I need a distributedSampler to be able to train the models on TPUs being able to distribute the load across the TPU cores. Could you tell me how I can implement the distribued sampler when using d... | 40 | How to implement DistributedSampler with datasets
Hi,
I am using your datasets to define my dataloaders, and I am training finetune_trainer.py in huggingface repo on them.
I need a distributedSampler to be able to train the models on TPUs being able to distribute the load across the TPU cores. Could you tell me ho... | [
-0.17623046040534973,
-0.2129814475774765,
0.041827816516160965,
0.14582645893096924,
0.2960066795349121,
-0.21450507640838623,
0.20662793517112732,
-0.05965965613722801,
0.07366117835044861,
0.3631313443183899,
-0.1494351327419281,
0.2770119309425354,
-0.3263441026210785,
0.15066102147102... |
https://github.com/huggingface/datasets/issues/812 | Too much logging | Hi ! Thanks for reporting :)
I agree these one should be hidden when the logging level is warning, we'll fix that | I'm doing this in the beginning of my script:
from datasets.utils import logging as datasets_logging
datasets_logging.set_verbosity_warning()
but I'm still getting these logs:
[2020-11-07 15:45:41,908][filelock][INFO] - Lock 139958278886176 acquired on /home/username/.cache/huggingface/datasets/cfe20ffaa80ef1... | 22 | Too much logging
I'm doing this in the beginning of my script:
from datasets.utils import logging as datasets_logging
datasets_logging.set_verbosity_warning()
but I'm still getting these logs:
[2020-11-07 15:45:41,908][filelock][INFO] - Lock 139958278886176 acquired on /home/username/.cache/huggingface/dat... | [
-0.09395572543144226,
-0.13829264044761658,
-0.11098212003707886,
0.11790531873703003,
0.3646462559700012,
0.13861694931983948,
0.3069939911365509,
0.5121562480926514,
0.1688758134841919,
-0.010042369365692139,
0.09551204741001129,
0.06016813963651657,
-0.4101085662841797,
0.05728033185005... |
https://github.com/huggingface/datasets/issues/812 | Too much logging | +1, the amount of logging is excessive.
Most of it indeed comes from `filelock.py`, though there are occasionally messages from other sources too. Below is an example (all of these messages were logged after I already called `datasets.logging.set_verbosity_error()`)
```
I1109 21:26:01.742688 139785006901056 file... | I'm doing this in the beginning of my script:
from datasets.utils import logging as datasets_logging
datasets_logging.set_verbosity_warning()
but I'm still getting these logs:
[2020-11-07 15:45:41,908][filelock][INFO] - Lock 139958278886176 acquired on /home/username/.cache/huggingface/datasets/cfe20ffaa80ef1... | 145 | Too much logging
I'm doing this in the beginning of my script:
from datasets.utils import logging as datasets_logging
datasets_logging.set_verbosity_warning()
but I'm still getting these logs:
[2020-11-07 15:45:41,908][filelock][INFO] - Lock 139958278886176 acquired on /home/username/.cache/huggingface/dat... | [
-0.07459424436092377,
-0.03153740614652634,
-0.05137292668223381,
0.13141745328903198,
0.2844706177711487,
0.21792852878570557,
0.2618088722229004,
0.4838850796222687,
0.051746007055044174,
-0.17403362691402435,
0.10809904336929321,
0.01367170736193657,
-0.4307378828525543,
-0.079178839921... |
https://github.com/huggingface/datasets/issues/812 | Too much logging | In the latest version of the lib the logs about locks are at the DEBUG level so you won't see them by default.
Also `set_verbosity_warning` does take into account these logs now.
Can you try to update the lib ?
```
pip install --upgrade datasets
``` | I'm doing this in the beginning of my script:
from datasets.utils import logging as datasets_logging
datasets_logging.set_verbosity_warning()
but I'm still getting these logs:
[2020-11-07 15:45:41,908][filelock][INFO] - Lock 139958278886176 acquired on /home/username/.cache/huggingface/datasets/cfe20ffaa80ef1... | 46 | Too much logging
I'm doing this in the beginning of my script:
from datasets.utils import logging as datasets_logging
datasets_logging.set_verbosity_warning()
but I'm still getting these logs:
[2020-11-07 15:45:41,908][filelock][INFO] - Lock 139958278886176 acquired on /home/username/.cache/huggingface/dat... | [
-0.38420048356056213,
-0.12105709314346313,
-0.07823027670383453,
0.12130692601203918,
0.30270540714263916,
0.01852095127105713,
0.19532492756843567,
0.3992016315460205,
0.2092474400997162,
-0.0036372244358062744,
0.08699505776166916,
0.22930032014846802,
-0.3797934949398041,
-0.0543081611... |
https://github.com/huggingface/datasets/issues/812 | Too much logging | Thanks. For some reason I have to use the older version. Is that possible I can fix this by some surface-level trick?
I'm still using 1.13 version datasets. | I'm doing this in the beginning of my script:
from datasets.utils import logging as datasets_logging
datasets_logging.set_verbosity_warning()
but I'm still getting these logs:
[2020-11-07 15:45:41,908][filelock][INFO] - Lock 139958278886176 acquired on /home/username/.cache/huggingface/datasets/cfe20ffaa80ef1... | 28 | Too much logging
I'm doing this in the beginning of my script:
from datasets.utils import logging as datasets_logging
datasets_logging.set_verbosity_warning()
but I'm still getting these logs:
[2020-11-07 15:45:41,908][filelock][INFO] - Lock 139958278886176 acquired on /home/username/.cache/huggingface/dat... | [
-0.18454748392105103,
-0.049645498394966125,
-0.06277716159820557,
0.11527101695537567,
0.3269053101539612,
0.2235255241394043,
0.2482614666223526,
0.5285163521766663,
0.06550811231136322,
-0.11483392119407654,
0.033185169100761414,
0.07348570227622986,
-0.3805568218231201,
0.0945334434509... |
https://github.com/huggingface/datasets/issues/809 | Add Google Taskmaster dataset | Hey @yjernite. Was going to start working on this but found taskmaster 1,2 & 3 in the datasets library already so think this can be closed now? | ## Adding a Dataset
- **Name:** Taskmaster
- **Description:** A large dataset of task-oriented dialogue with annotated goals (55K dialogues covering entertainment and travel reservations)
- **Paper:** https://arxiv.org/abs/1909.05358
- **Data:** https://github.com/google-research-datasets/Taskmaster
- **Motivation... | 27 | Add Google Taskmaster dataset
## Adding a Dataset
- **Name:** Taskmaster
- **Description:** A large dataset of task-oriented dialogue with annotated goals (55K dialogues covering entertainment and travel reservations)
- **Paper:** https://arxiv.org/abs/1909.05358
- **Data:** https://github.com/google-research-dat... | [
-0.26148879528045654,
0.05524764955043793,
-0.15951359272003174,
0.21565917134284973,
0.16742825508117676,
-0.03795098140835762,
0.33362168073654175,
0.0670081377029419,
0.13231924176216125,
0.1240415945649147,
-0.2129535973072052,
0.26625335216522217,
-0.48644062876701355,
0.5283167362213... |
https://github.com/huggingface/datasets/issues/807 | load_dataset for LOCAL CSV files report CONNECTION ERROR | 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` ? | ## 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... | 30 | 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.32471221685409546,
0.016105175018310547,
-0.10880465805530548,
0.02600424364209175,
0.24204310774803162,
0.019868597388267517,
0.7173694372177124,
0.37563633918762207,
0.25092148780822754,
0.1337040811777115,
-0.03423210233449936,
0.14970451593399048,
0.07979956269264221,
0.021183459088... |
https://github.com/huggingface/datasets/issues/807 | load_dataset for LOCAL CSV files report CONNECTION ERROR | > 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 now. Thanks a lot.
And I'm curious about why download things from "github" when I load dataset f... | ## 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... | 69 | 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.32471221685409546,
0.016105175018310547,
-0.10880465805530548,
0.02600424364209175,
0.24204310774803162,
0.019868597388267517,
0.7173694372177124,
0.37563633918762207,
0.25092148780822754,
0.1337040811777115,
-0.03423210233449936,
0.14970451593399048,
0.07979956269264221,
0.021183459088... |
https://github.com/huggingface/datasets/issues/807 | load_dataset for LOCAL CSV files report CONNECTION ERROR |
> > 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 now. Thanks a lot.
>
> And I'm curious about why download things from "github" whe... | ## 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... | 103 | 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.32471221685409546,
0.016105175018310547,
-0.10880465805530548,
0.02600424364209175,
0.24204310774803162,
0.019868597388267517,
0.7173694372177124,
0.37563633918762207,
0.25092148780822754,
0.1337040811777115,
-0.03423210233449936,
0.14970451593399048,
0.07979956269264221,
0.021183459088... |
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 now. Thanks a lot.
> > And I'... | ## 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... | 136 | 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.32471221685409546,
0.016105175018310547,
-0.10880465805530548,
0.02600424364209175,
0.24204310774803162,
0.019868597388267517,
0.7173694372177124,
0.37563633918762207,
0.25092148780822754,
0.1337040811777115,
-0.03423210233449936,
0.14970451593399048,
0.07979956269264221,
0.021183459088... |
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 now. Thanks ... | ## 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... | 155 | 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.32471221685409546,
0.016105175018310547,
-0.10880465805530548,
0.02600424364209175,
0.24204310774803162,
0.019868597388267517,
0.7173694372177124,
0.37563633918762207,
0.25092148780822754,
0.1337040811777115,
-0.03423210233449936,
0.14970451593399048,
0.07979956269264221,
0.021183459088... |
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.32471221685409546,
0.016105175018310547,
-0.10880465805530548,
0.02600424364209175,
0.24204310774803162,
0.019868597388267517,
0.7173694372177124,
0.37563633918762207,
0.25092148780822754,
0.1337040811777115,
-0.03423210233449936,
0.14970451593399048,
0.07979956269264221,
0.021183459088... |
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.32471221685409546,
0.016105175018310547,
-0.10880465805530548,
0.02600424364209175,
0.24204310774803162,
0.019868597388267517,
0.7173694372177124,
0.37563633918762207,
0.25092148780822754,
0.1337040811777115,
-0.03423210233449936,
0.14970451593399048,
0.07979956269264221,
0.021183459088... |
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.32471221685409546,
0.016105175018310547,
-0.10880465805530548,
0.02600424364209175,
0.24204310774803162,
0.019868597388267517,
0.7173694372177124,
0.37563633918762207,
0.25092148780822754,
0.1337040811777115,
-0.03423210233449936,
0.14970451593399048,
0.07979956269264221,
0.021183459088... |
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.11141955852508545,
0.2604743540287018,
-0.06152282655239105,
0.08691426366567612,
0.05529186129570007,
0.11656814068555832,
-0.10393841564655304,
0.2843019366264343,
-0.14580443501472473,
-0.026925653219223022,
-0.05009341239929199,
-0.10960250347852707,
0.061760615557432175,
0.052949108... |
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.18143847584724426,
0.2633906900882721,
-0.030796097591519356,
0.05924561992287636,
0.04189120605587959,
0.12300201505422592,
-0.12396804988384247,
0.27636224031448364,
-0.19367794692516327,
-0.033901020884513855,
-0.07967721670866013,
-0.06463871151208878,
0.04962928965687752,
0.05433464... |
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.4477338492870331,
0.04323546588420868,
-0.029589621350169182,
0.4208563566207886,
0.525189220905304,
0.10357332974672318,
0.16477690637111664,
0.19409063458442688,
0.109688401222229,
0.13626329600811005,
-0.10965181142091751,
0.3368699252605438,
-0.06277678906917572,
-0.1668586432933807... |
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.4346868395805359,
-0.3452416956424713,
-0.08128143846988678,
0.1217549666762352,
0.2600175738334656,
-0.0797688439488411,
0.4260968267917633,
0.46186262369155884,
0.13298143446445465,
0.26882725954055786,
0.09468234330415726,
0.2613142430782318,
-0.06708568334579468,
0.5240861177444458,
... |
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.46811819076538086,
-0.4883507788181305,
-0.11691725254058838,
0.0633329302072525,
0.3016149401664734,
-0.061881955713033676,
0.5027802586555481,
0.4417296051979065,
0.14433005452156067,
0.29519709944725037,
0.1505081057548523,
0.2478305697441101,
-0.10581699013710022,
0.4204444885253906,... |
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.08071357756853104,
-0.023198314011096954,
-0.008704178035259247,
0.075832299888134,
-0.08046422153711319,
0.19386309385299683,
-0.09644493460655212,
0.15029975771903992,
0.09170261025428772,
-0.13724921643733978,
-0.15640206634998322,
0.26321062445640564,
0.26520636677742004,
0.05539444... |
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.0025698579847812653,
-0.05012335628271103,
0.007704578340053558,
0.07763022929430008,
-0.001898735761642456,
0.17297378182411194,
-0.05921299383044243,
0.15285436809062958,
-0.02389507368206978,
-0.10775946080684662,
-0.2796117663383484,
0.22843021154403687,
0.3064368665218353,
0.051166... |
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.16917267441749573,
0.016836240887641907,
0.06266529858112335,
0.3633995056152344,
0.29187673330307007,
-0.17967821657657623,
0.21995848417282104,
-0.0434449128806591,
-0.1838141679763794,
0.06295822560787201,
-0.32389914989471436,
0.13601793348789215,
0.07222899794578552,
0.157758697867... |
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.16917267441749573,
0.016836240887641907,
0.06266529858112335,
0.3633995056152344,
0.29187673330307007,
-0.17967821657657623,
0.21995848417282104,
-0.0434449128806591,
-0.1838141679763794,
0.06295822560787201,
-0.32389914989471436,
0.13601793348789215,
0.07222899794578552,
0.157758697867... |
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.16917267441749573,
0.016836240887641907,
0.06266529858112335,
0.3633995056152344,
0.29187673330307007,
-0.17967821657657623,
0.21995848417282104,
-0.0434449128806591,
-0.1838141679763794,
0.06295822560787201,
-0.32389914989471436,
0.13601793348789215,
0.07222899794578552,
0.157758697867... |
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.16917267441749573,
0.016836240887641907,
0.06266529858112335,
0.3633995056152344,
0.29187673330307007,
-0.17967821657657623,
0.21995848417282104,
-0.0434449128806591,
-0.1838141679763794,
0.06295822560787201,
-0.32389914989471436,
0.13601793348789215,
0.07222899794578552,
0.157758697867... |
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.16917267441749573,
0.016836240887641907,
0.06266529858112335,
0.3633995056152344,
0.29187673330307007,
-0.17967821657657623,
0.21995848417282104,
-0.0434449128806591,
-0.1838141679763794,
0.06295822560787201,
-0.32389914989471436,
0.13601793348789215,
0.07222899794578552,
0.157758697867... |
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.16917267441749573,
0.016836240887641907,
0.06266529858112335,
0.3633995056152344,
0.29187673330307007,
-0.17967821657657623,
0.21995848417282104,
-0.0434449128806591,
-0.1838141679763794,
0.06295822560787201,
-0.32389914989471436,
0.13601793348789215,
0.07222899794578552,
0.157758697867... |
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.16917267441749573,
0.016836240887641907,
0.06266529858112335,
0.3633995056152344,
0.29187673330307007,
-0.17967821657657623,
0.21995848417282104,
-0.0434449128806591,
-0.1838141679763794,
0.06295822560787201,
-0.32389914989471436,
0.13601793348789215,
0.07222899794578552,
0.157758697867... |
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.16917267441749573,
0.016836240887641907,
0.06266529858112335,
0.3633995056152344,
0.29187673330307007,
-0.17967821657657623,
0.21995848417282104,
-0.0434449128806591,
-0.1838141679763794,
0.06295822560787201,
-0.32389914989471436,
0.13601793348789215,
0.07222899794578552,
0.157758697867... |
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.41542503237724304,
-0.3093395233154297,
-0.030962469056248665,
0.030844464898109436,
0.2169787436723709,
0.04815562814474106,
0.6097391843795776,
0.41963857412338257,
0.18411849439144135,
0.19524897634983063,
0.3654615581035614,
0.517955482006073,
-0.04680798947811127,
0.443081796169281,... |
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.07691353559494019,
-0.47444120049476624,
-0.11490058898925781,
-0.03132501244544983,
0.047035958617925644,
0.0747043713927269,
-0.2394818812608719,
0.2321130484342575,
0.3420986235141754,
0.024670124053955078,
-0.07138092070817947,
0.23753058910369873,
0.0024272194132208824,
0.066258303... |
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.564568817615509,
-0.12574167549610138,
-0.11738534271717072,
-0.16663286089897156,
-0.07130590826272964,
-0.0848812460899353,
0.3084898293018341,
0.3450709879398346,
0.10161551833152771,
0.40088462829589844,
0.25867581367492676,
0.176006019115448,
0.0299798846244812,
0.12424048036336899... |
https://github.com/huggingface/datasets/issues/786 | feat(dataset): multiprocessing _generate_examples | `_generate_examples` can now be run in parallel thanks to https://github.com/huggingface/datasets/pull/5107. You can find more info [here](https://huggingface.co/docs/datasets/dataset_script#sharding). | 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... | 16 | 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.428702712059021,
-0.33601710200309753,
-0.09072424471378326,
-0.15744668245315552,
-0.048498935997486115,
-0.09850704669952393,
0.2867682874202728,
0.2890758216381073,
0.0880843847990036,
0.3356677293777466,
0.13101571798324585,
0.21615689992904663,
0.038699984550476074,
0.2627372145652... |
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.19471466541290283,
-0.05373477190732956,
0.025463730096817017,
0.442693829536438,
0.16262832283973694,
0.04455540329217911,
0.031790196895599365,
0.41505879163742065,
0.06906209886074066,
-0.005341008305549622,
-0.24613432586193085,
-0.15708181262016296,
0.38392576575279236,
-0.229325637... |
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.05334751680493355,
0.037484973669052124,
0.059783268719911575,
0.48692888021469116,
0.170536607503891,
0.023359470069408417,
0.09322984516620636,
0.4074786603450775,
0.16699987649917603,
0.10148239135742188,
-0.18089279532432556,
-0.1391495019197464,
0.41886067390441895,
-0.1732719242572... |
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.18422400951385498,
-0.05817735940217972,
0.011209547519683838,
0.4411028027534485,
0.16953913867473602,
0.0318271741271019,
0.03863408416509628,
0.40885820984840393,
0.08137795329093933,
-0.002966776490211487,
-0.2646799385547638,
-0.18347156047821045,
0.3728417158126831,
-0.205168008804... |
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.12032398581504822,
-0.14724478125572205,
-0.14466294646263123,
0.39730745553970337,
0.05969066917896271,
0.15631869435310364,
0.7675090432167053,
-0.10106955468654633,
0.32705792784690857,
0.08220398426055908,
-0.03244897723197937,
-0.0013564401306211948,
0.10880282521247864,
-0.27612277... |
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.06356354057788849,
-0.1376713663339615,
-0.16112247109413147,
0.3697884678840637,
0.024029361084103584,
0.1698583960533142,
0.7317380905151367,
-0.0952794998884201,
0.34567612409591675,
0.062181342393159866,
-0.019688541069626808,
0.026357874274253845,
0.09261885285377502,
-0.25169903039... |
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.034766752272844315,
-0.06417910754680634,
-0.03452855348587036,
0.05194230005145073,
-0.016126681119203568,
0.17023438215255737,
0.010996673256158829,
0.19807080924510956,
0.08702094852924347,
0.1149844154715538,
-0.17651399970054626,
-0.19894413650035858,
-0.08366944640874863,
0.195029... |
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.15447624027729034,
-0.3317199945449829,
-0.03552509471774101,
0.1143343597650528,
0.2201695442199707,
-0.052968740463256836,
0.06265190243721008,
0.2461555451154709,
0.2492927610874176,
0.23538655042648315,
-0.15154218673706055,
-0.0016268582548946142,
0.021774789318442345,
0.34259834885... |
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.47093087434768677,
-0.3086601793766022,
-0.20458827912807465,
0.028243817389011383,
-0.16148415207862854,
-0.05988922715187073,
0.4274546205997467,
0.19549782574176788,
-0.14402247965335846,
0.5090810656547546,
0.03531161695718765,
0.2185555249452591,
0.1020265743136406,
0.5341006517410... |
https://github.com/huggingface/datasets/issues/771 | Using `Dataset.map` with `n_proc>1` print multiple progress bars | Hi @lhoestq, I am facing a similar issue, it is annoying when lots of progress bars are printed. Is there a way to turn off this behavior? | 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. | 27 | 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.
Hi @lhoestq, I am facing a similar issue, it is annoying when lots of progr... | [
-0.18744593858718872,
-0.2836361527442932,
-0.07012921571731567,
0.28531768918037415,
0.08276441693305969,
-0.00024253129959106445,
0.2488972544670105,
0.224342942237854,
-0.09197014570236206,
0.5570836663246155,
0.1718326061964035,
0.43263009190559387,
0.12799730896949768,
0.3280876278877... |
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.2590160369873047,
-0.10657905787229538,
-0.032491497695446014,
0.07350924611091614,
0.39223039150238037,
-0.058800261467695236,
0.47319379448890686,
0.09392307698726654,
0.17507795989513397,
-0.08835986256599426,
-0.21461912989616394,
0.1605178713798523,
0.28409644961357117,
0.145775556... |
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.2571399211883545,
-0.2127029299736023,
-0.04023989662528038,
0.16301488876342773,
0.4040101170539856,
-0.06868046522140503,
0.43939584493637085,
0.09292453527450562,
0.2167058140039444,
-0.08138309419155121,
-0.2033500075340271,
0.15104453265666962,
0.2890436351299286,
0.218875691294670... |
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.2798764109611511,
-0.19788102805614471,
-0.033059556037187576,
0.20589013397693634,
0.386263370513916,
-0.05320184677839279,
0.3852047622203827,
0.0819176658987999,
0.22671213746070862,
-0.07466554641723633,
-0.2240724414587021,
0.12037784606218338,
0.2853154242038727,
0.194646969437599... |
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.2947123050689697,
-0.10144941508769989,
-0.028979860246181488,
0.13799965381622314,
0.39403462409973145,
-0.07355213910341263,
0.4411509335041046,
0.10970285534858704,
0.17883998155593872,
-0.053159937262535095,
-0.18559105694293976,
0.15626481175422668,
0.30129751563072205,
0.117534361... |
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.031645309180021286,
0.01375819742679596,
-0.26586028933525085,
0.01165030524134636,
-0.12613545358181,
-0.12066967040300369,
0.0822111964225769,
0.3159668445587158,
0.38564613461494446,
0.15779182314872742,
0.09081900864839554,
0.4605906009674072,
-0.31500929594039917,
-0.06376166641712... |
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.07257388532161713,
-0.08529005944728851,
-0.11802512407302856,
-0.045865677297115326,
0.15466895699501038,
0.20353960990905762,
0.6252447962760925,
0.19813157618045807,
0.1147511899471283,
0.3940245509147644,
0.0419960618019104,
0.36922749876976013,
-0.24358971416950226,
0.27824079990386... |
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.20983250439167023,
0.2670382857322693,
-0.0017677713185548782,
0.18988722562789917,
-0.059539079666137695,
-0.07488038390874863,
0.39034751057624817,
-0.01728491112589836,
0.17079387605190277,
-0.022502049803733826,
0.12379979342222214,
0.012620426714420319,
-0.03868073970079422,
0.0756... |
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.17262037098407745,
-0.08458083122968674,
-0.0973370224237442,
0.12888595461845398,
0.4222565293312073,
0.20194470882415771,
0.34266024827957153,
0.06219448894262314,
-0.05755879357457161,
0.004357464611530304,
-0.14231045544147491,
0.08249646425247192,
-0.06606028974056244,
0.2489193230... |
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.17262037098407745,
-0.08458083122968674,
-0.0973370224237442,
0.12888595461845398,
0.4222565293312073,
0.20194470882415771,
0.34266024827957153,
0.06219448894262314,
-0.05755879357457161,
0.004357464611530304,
-0.14231045544147491,
0.08249646425247192,
-0.06606028974056244,
0.2489193230... |
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.17262037098407745,
-0.08458083122968674,
-0.0973370224237442,
0.12888595461845398,
0.4222565293312073,
0.20194470882415771,
0.34266024827957153,
0.06219448894262314,
-0.05755879357457161,
0.004357464611530304,
-0.14231045544147491,
0.08249646425247192,
-0.06606028974056244,
0.2489193230... |
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.17262037098407745,
-0.08458083122968674,
-0.0973370224237442,
0.12888595461845398,
0.4222565293312073,
0.20194470882415771,
0.34266024827957153,
0.06219448894262314,
-0.05755879357457161,
0.004357464611530304,
-0.14231045544147491,
0.08249646425247192,
-0.06606028974056244,
0.2489193230... |
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.17262037098407745,
-0.08458083122968674,
-0.0973370224237442,
0.12888595461845398,
0.4222565293312073,
0.20194470882415771,
0.34266024827957153,
0.06219448894262314,
-0.05755879357457161,
0.004357464611530304,
-0.14231045544147491,
0.08249646425247192,
-0.06606028974056244,
0.2489193230... |
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.17262037098407745,
-0.08458083122968674,
-0.0973370224237442,
0.12888595461845398,
0.4222565293312073,
0.20194470882415771,
0.34266024827957153,
0.06219448894262314,
-0.05755879357457161,
0.004357464611530304,
-0.14231045544147491,
0.08249646425247192,
-0.06606028974056244,
0.2489193230... |
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.17262037098407745,
-0.08458083122968674,
-0.0973370224237442,
0.12888595461845398,
0.4222565293312073,
0.20194470882415771,
0.34266024827957153,
0.06219448894262314,
-0.05755879357457161,
0.004357464611530304,
-0.14231045544147491,
0.08249646425247192,
-0.06606028974056244,
0.2489193230... |
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.17262037098407745,
-0.08458083122968674,
-0.0973370224237442,
0.12888595461845398,
0.4222565293312073,
0.20194470882415771,
0.34266024827957153,
0.06219448894262314,
-0.05755879357457161,
0.004357464611530304,
-0.14231045544147491,
0.08249646425247192,
-0.06606028974056244,
0.2489193230... |
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.17262037098407745,
-0.08458083122968674,
-0.0973370224237442,
0.12888595461845398,
0.4222565293312073,
0.20194470882415771,
0.34266024827957153,
0.06219448894262314,
-0.05755879357457161,
0.004357464611530304,
-0.14231045544147491,
0.08249646425247192,
-0.06606028974056244,
0.2489193230... |
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.17262037098407745,
-0.08458083122968674,
-0.0973370224237442,
0.12888595461845398,
0.4222565293312073,
0.20194470882415771,
0.34266024827957153,
0.06219448894262314,
-0.05755879357457161,
0.004357464611530304,
-0.14231045544147491,
0.08249646425247192,
-0.06606028974056244,
0.2489193230... |
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 | For Ubuntu 20.04, there are the following feedback.
Google Drive is ok, but raw.githubusercontent.com has a big problem. It seems that the raw github could not match the common urllib3 protocols.
**1. Google Drive**
```
import requests
requests.head("https://drive.google.com/uc?export=download&id=0BwmD... | 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... | 234 | (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.17262037098407745,
-0.08458083122968674,
-0.0973370224237442,
0.12888595461845398,
0.4222565293312073,
0.20194470882415771,
0.34266024827957153,
0.06219448894262314,
-0.05755879357457161,
0.004357464611530304,
-0.14231045544147491,
0.08249646425247192,
-0.06606028974056244,
0.2489193230... |
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 lhoestq fo the quick response.
I solve the big issue with the command line as follows.
**1. Open hosts (Ubuntu 20.04)**
`$ sudo gedit /etc/hosts`
**2. Add the command line into the hosts**
`151.101.0.133 raw.githubusercontent.com`
**3. Save hosts**
And then the jupyter notebook can access... | 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... | 98 | (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.17262037098407745,
-0.08458083122968674,
-0.0973370224237442,
0.12888595461845398,
0.4222565293312073,
0.20194470882415771,
0.34266024827957153,
0.06219448894262314,
-0.05755879357457161,
0.004357464611530304,
-0.14231045544147491,
0.08249646425247192,
-0.06606028974056244,
0.2489193230... |
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 use the dataset 2.14.4 that published on Aug 8, 2023.发自我的 iPhone在 2023年9月13日,06:38,Quentin Lhoest ***@***.***> 写道:
Only the oldest versions of datasets use raw.githubusercontent.com. Can you try updating datasets ?
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because yo... | 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.17262037098407745,
-0.08458083122968674,
-0.0973370224237442,
0.12888595461845398,
0.4222565293312073,
0.20194470882415771,
0.34266024827957153,
0.06219448894262314,
-0.05755879357457161,
0.004357464611530304,
-0.14231045544147491,
0.08249646425247192,
-0.06606028974056244,
0.2489193230... |
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.495311439037323,
-0.5315655469894409,
-0.16952848434448242,
0.2302870750427246,
0.12561658024787903,
-0.3297327756881714,
0.309304416179657,
0.16064731776714325,
-0.3321206867694855,
0.21069428324699402,
0.34024864435195923,
0.24001526832580566,
-0.10366968810558319,
-0.0406741909682750... |
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.45069512724876404,
-0.3895404636859894,
-0.0472821444272995,
0.16293156147003174,
0.11493399739265442,
-0.28154870867729187,
0.26568758487701416,
0.2587334215641022,
-0.3923637270927429,
0.18883541226387024,
0.06290773302316666,
0.3718964159488678,
-0.08907052874565125,
-0.2105109244585... |
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.449924111366272,
-0.3384658396244049,
-0.08818300068378448,
0.15539199113845825,
0.08865971118211746,
-0.30338355898857117,
0.2761159837245941,
0.24882666766643524,
-0.414507657289505,
0.15615442395210266,
0.21321773529052734,
0.3615124821662903,
-0.22451502084732056,
-0.106232501566410... |
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.4147123694419861,
-0.2900133728981018,
-0.14023898541927338,
0.17759330570697784,
0.08560395240783691,
-0.30987632274627686,
0.3165898323059082,
0.2695380449295044,
-0.4015321731567383,
0.1938362717628479,
0.1718183159828186,
0.44014525413513184,
-0.1775083690881729,
-0.1734138876199722... |
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.36213579773902893,
-0.5087302923202515,
-0.1394249051809311,
0.07497807592153549,
0.04022456333041191,
-0.3560974597930908,
0.38819870352745056,
0.14181622862815857,
-0.4626860022544861,
0.2230348289012909,
0.031175769865512848,
0.33822566270828247,
-0.23341849446296692,
-0.087560109794... |
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.310078889131546,
-0.12923705577850342,
-0.1342047154903412,
0.11753931641578674,
0.4688265323638916,
-0.14419770240783691,
0.27835237979888916,
0.09987889230251312,
-0.24337786436080933,
0.35919108986854553,
0.0829848051071167,
-0.07303135842084885,
-0.11920904368162155,
0.3212792277336... |
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.21180088818073273,
-0.14360396564006805,
-0.12512421607971191,
0.37566840648651123,
0.4871864318847656,
0.022162310779094696,
0.23726356029510498,
0.18793366849422455,
-0.05913190916180611,
0.3615151047706604,
0.20322199165821075,
0.08994966000318527,
-0.11036095768213272,
0.06155652552... |
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.2429935336112976,
-0.03836926817893982,
-0.0662141889333725,
0.19402168691158295,
0.5733139514923096,
-0.09684962034225464,
0.3483138978481293,
0.0940258577466011,
-0.09143182635307312,
0.4046834707260132,
0.04622325301170349,
0.01358105055987835,
-0.0812721997499466,
0.3208121359348297... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.