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/4085
datasets.set_progress_bar_enabled(False) not working in datasets v2
One important thing for beginner like me is: from datasets.utils.logging import disable_progress_bar Do not forget the 'utils' or you will waste a long time like me....
## Describe the bug datasets.set_progress_bar_enabled(False) not working in datasets v2 ## Steps to reproduce the bug ```python datasets.set_progress_bar_enabled(False) ``` ## Expected results datasets not using any progress bar ## Actual results AttributeError: module 'datasets' has no attribute 'se...
26
datasets.set_progress_bar_enabled(False) not working in datasets v2 ## Describe the bug datasets.set_progress_bar_enabled(False) not working in datasets v2 ## Steps to reproduce the bug ```python datasets.set_progress_bar_enabled(False) ``` ## Expected results datasets not using any progress bar ## Ac...
[ -0.33783936500549316, 0.0953609049320221, -0.1768750250339508, -0.20570753514766693, 0.17226794362068176, 0.05164556950330734, 0.33103448152542114, 0.309957355260849, -0.22342157363891602, 0.16390080749988556, 0.1908254474401474, 0.387928307056427, -0.08671452105045319, 0.3137720227241516,...
https://github.com/huggingface/datasets/issues/4084
Errors in `Train with Datasets` Tensorflow code section on Huggingface.co
Hi @blackhat-coder, thanks for reporting. Please note that the `transformers` library updated their data collators API last year (version 4.10.0): - huggingface/transformers#13105 now requiring to pass `return_tensors` argument at Data Collator instantiation. And therefore, we also updated in the `datasets` l...
## Describe the bug Hi ### Error 1 Running the Tensforlow code on [Huggingface](https://huggingface.co/docs/datasets/use_dataset) gives a TypeError: __init__() got an unexpected keyword argument 'return_tensors' ### Error 2 `DataCollatorWithPadding` isn't imported ## Steps to reproduce the bug ```python impo...
69
Errors in `Train with Datasets` Tensorflow code section on Huggingface.co ## Describe the bug Hi ### Error 1 Running the Tensforlow code on [Huggingface](https://huggingface.co/docs/datasets/use_dataset) gives a TypeError: __init__() got an unexpected keyword argument 'return_tensors' ### Error 2 `DataCollatorW...
[ 0.0014985501766204834, -0.36685293912887573, 0.048746880143880844, 0.3086221218109131, 0.3064284324645996, -0.08058949559926987, 0.5264430046081543, 0.19769388437271118, -0.13140475749969482, 0.19881537556648254, -0.11223018914461136, 0.20431219041347504, -0.08323900401592255, -0.052147336...
https://github.com/huggingface/datasets/issues/4080
NonMatchingChecksumError for downloading conll2012_ontonotesv5 dataset
Hi @richarddwang, Indeed, we have recently updated the loading script of that dataset (and fixed that bug as well): - #4002 That fix will be available in our next `datasets` library release. In the meantime, you can incorporate that fix by: - installing `datasets` from our GitHub repo: ```bash pip install g...
## Steps to reproduce the bug ```python datasets.load_dataset("conll2012_ontonotesv5", "english_v12") ``` ## Actual results ``` Downloading builder script: 32.2kB [00:00, 9.72MB/s] Downloading metadata: 20.0kB [00:00, 10...
83
NonMatchingChecksumError for downloading conll2012_ontonotesv5 dataset ## Steps to reproduce the bug ```python datasets.load_dataset("conll2012_ontonotesv5", "english_v12") ``` ## Actual results ``` Downloading builder script: 32.2kB [00:00, 9.72MB/s] ...
[ -0.22269192337989807, 0.02988700568675995, -0.12257593870162964, 0.4105228781700134, 0.4203907251358032, -0.03449765592813492, 0.18258310854434967, 0.5437702536582947, 0.0015197880566120148, 0.37241148948669434, -0.14954107999801636, 0.02892947942018509, -0.055245183408260345, -0.032321590...
https://github.com/huggingface/datasets/issues/4075
Add CCAgT dataset
Awesome ! Let us know if you have questions or if we can help ;) I'm assigning you PS: if possible, please try to not use Google Drive links in your dataset script, since Google Drive has download quotas and is not always reliable.
## Adding a Dataset - **Name:** CCAgT dataset: Images of Cervical Cells with AgNOR Stain Technique - **Description:** The dataset contains 2540 images (1600x1200 where each pixel is 0.111μm×0.111μm) from three different slides, having at least one nucleus per image. These images are from fields belonging to a sample ...
44
Add CCAgT dataset ## Adding a Dataset - **Name:** CCAgT dataset: Images of Cervical Cells with AgNOR Stain Technique - **Description:** The dataset contains 2540 images (1600x1200 where each pixel is 0.111μm×0.111μm) from three different slides, having at least one nucleus per image. These images are from fields be...
[ -0.13802476227283478, -0.05103494971990585, -0.15077641606330872, -0.1637348234653473, -0.2237449437379837, 0.026292160153388977, 0.33147498965263367, 0.23299340903759003, -0.38703805208206177, 0.2819751501083374, -0.11805064231157303, -0.14718332886695862, -0.049876317381858826, 0.3397231...
https://github.com/huggingface/datasets/issues/4075
Add CCAgT dataset
HI, I was waiting to come out in the second version to do the implementation. - Paper: https://dx.doi.org/10.2139/ssrn.4126881 - Data: [Data mendelay](http://doi.org/10.17632/wg4bpm33hj.2)
## Adding a Dataset - **Name:** CCAgT dataset: Images of Cervical Cells with AgNOR Stain Technique - **Description:** The dataset contains 2540 images (1600x1200 where each pixel is 0.111μm×0.111μm) from three different slides, having at least one nucleus per image. These images are from fields belonging to a sample ...
22
Add CCAgT dataset ## Adding a Dataset - **Name:** CCAgT dataset: Images of Cervical Cells with AgNOR Stain Technique - **Description:** The dataset contains 2540 images (1600x1200 where each pixel is 0.111μm×0.111μm) from three different slides, having at least one nucleus per image. These images are from fields be...
[ -0.10204190015792847, -0.11732438951730728, -0.13777680695056915, -0.19324363768100739, -0.2697647213935852, -0.09367009997367859, 0.36161136627197266, 0.21292153000831604, -0.41891178488731384, 0.28583812713623047, -0.1628483235836029, -0.10723774135112762, 0.02333083376288414, 0.26107320...
https://github.com/huggingface/datasets/issues/4074
Error in google/xtreme_s dataset card
Hi @wranai, thanks for reporting. Please note that the information about language families and groups is taken form the original paper: [XTREME-S: Evaluating Cross-lingual Speech Representations](https://arxiv.org/abs/2203.10752). If that information is wrong, feel free to contact the paper's authors to suggest t...
**Link:** https://huggingface.co/datasets/google/xtreme_s Not a big deal but Hungarian is considered an Eastern European language, together with Serbian, Slovak, Slovenian (all correctly categorized; Slovenia is mostly to the West of Hungary, by the way).
74
Error in google/xtreme_s dataset card **Link:** https://huggingface.co/datasets/google/xtreme_s Not a big deal but Hungarian is considered an Eastern European language, together with Serbian, Slovak, Slovenian (all correctly categorized; Slovenia is mostly to the West of Hungary, by the way). Hi @wranai, thank...
[ -0.05673408880829811, -0.46295520663261414, -0.06846465170383453, 0.010616257786750793, 0.2992709279060364, -0.04197973757982254, 0.20069658756256104, 0.04646819457411766, 0.18830686807632446, 0.022722885012626648, -0.19151824712753296, 0.14763176441192627, -0.19940344989299774, -0.3060621...
https://github.com/huggingface/datasets/issues/4071
Loading issue for xuyeliu/notebookCDG dataset
Hi @Jun-jie-Huang, As the error message says, ".pkl" data files are not supported. If you would like to share your dataset on the Hub, you would need: - either to create a Python loading script, that loads the data in any format - or to transform your data files to one of the supported formats (listed in the er...
## Dataset viewer issue for '*xuyeliu/notebookCDG*' **Link:** *[link to the dataset viewer page](https://huggingface.co/datasets/xuyeliu/notebookCDG)* *Couldn't load the xuyeliu/notebookCDG with provided scripts: * ``` from datasets import load_dataset dataset = load_dataset("xuyeliu/notebookCDG/dataset_note...
103
Loading issue for xuyeliu/notebookCDG dataset ## Dataset viewer issue for '*xuyeliu/notebookCDG*' **Link:** *[link to the dataset viewer page](https://huggingface.co/datasets/xuyeliu/notebookCDG)* *Couldn't load the xuyeliu/notebookCDG with provided scripts: * ``` from datasets import load_dataset dataset ...
[ -0.10854843258857727, -0.3377099931240082, -0.02971304953098297, 0.30470943450927734, 0.3508042097091675, 0.2135736048221588, 0.0682772845029831, 0.2976684868335724, 0.09327112138271332, 0.04943937808275223, -0.31228023767471313, 0.015116238035261631, 0.035101085901260376, 0.21109804511070...
https://github.com/huggingface/datasets/issues/4062
Loading mozilla-foundation/common_voice_7_0 dataset failed
Hi @aapot, thanks for reporting. We are investigating the cause of this issue. We will keep you informed.
## Describe the bug I wanted to load `mozilla-foundation/common_voice_7_0` dataset with `fi` language and `test` split from datasets on Colab/Kaggle notebook, but I am getting an error `JSONDecodeError: [Errno Expecting value] Not Found: 0` while loading it. The bug seems to affect other languages and splits too than ...
18
Loading mozilla-foundation/common_voice_7_0 dataset failed ## Describe the bug I wanted to load `mozilla-foundation/common_voice_7_0` dataset with `fi` language and `test` split from datasets on Colab/Kaggle notebook, but I am getting an error `JSONDecodeError: [Errno Expecting value] Not Found: 0` while loading it....
[ -0.17519697546958923, -0.16184823215007782, -0.01651023142039776, 0.4844568371772766, 0.1696993112564087, -0.16959765553474426, 0.3660568296909332, 0.2703648507595062, 0.09576752781867981, 0.20071280002593994, -0.2335406243801117, 0.7396361827850342, 0.1339329481124878, -0.0338979400694370...
https://github.com/huggingface/datasets/issues/4062
Loading mozilla-foundation/common_voice_7_0 dataset failed
When making HTTP request from code line: ``` response = requests.get(f"{_API_URL}/bucket/dataset/{path}/{use_cdn}", timeout=10.0).json() ``` it cannot be decoded to JSON because it raises a 404 Not Found error. The request is fixed if removing the `/{use_cdn}` from the URL. Maybe there was a change in the Com...
## Describe the bug I wanted to load `mozilla-foundation/common_voice_7_0` dataset with `fi` language and `test` split from datasets on Colab/Kaggle notebook, but I am getting an error `JSONDecodeError: [Errno Expecting value] Not Found: 0` while loading it. The bug seems to affect other languages and splits too than ...
52
Loading mozilla-foundation/common_voice_7_0 dataset failed ## Describe the bug I wanted to load `mozilla-foundation/common_voice_7_0` dataset with `fi` language and `test` split from datasets on Colab/Kaggle notebook, but I am getting an error `JSONDecodeError: [Errno Expecting value] Not Found: 0` while loading it....
[ -0.17519697546958923, -0.16184823215007782, -0.01651023142039776, 0.4844568371772766, 0.1696993112564087, -0.16959765553474426, 0.3660568296909332, 0.2703648507595062, 0.09576752781867981, 0.20071280002593994, -0.2335406243801117, 0.7396361827850342, 0.1339329481124878, -0.0338979400694370...
https://github.com/huggingface/datasets/issues/4062
Loading mozilla-foundation/common_voice_7_0 dataset failed
I have also made the hotfix for all the rest of Common Voice script versions: 8.0, 6.1, 6.0,..., 1.0
## Describe the bug I wanted to load `mozilla-foundation/common_voice_7_0` dataset with `fi` language and `test` split from datasets on Colab/Kaggle notebook, but I am getting an error `JSONDecodeError: [Errno Expecting value] Not Found: 0` while loading it. The bug seems to affect other languages and splits too than ...
19
Loading mozilla-foundation/common_voice_7_0 dataset failed ## Describe the bug I wanted to load `mozilla-foundation/common_voice_7_0` dataset with `fi` language and `test` split from datasets on Colab/Kaggle notebook, but I am getting an error `JSONDecodeError: [Errno Expecting value] Not Found: 0` while loading it....
[ -0.17519697546958923, -0.16184823215007782, -0.01651023142039776, 0.4844568371772766, 0.1696993112564087, -0.16959765553474426, 0.3660568296909332, 0.2703648507595062, 0.09576752781867981, 0.20071280002593994, -0.2335406243801117, 0.7396361827850342, 0.1339329481124878, -0.0338979400694370...
https://github.com/huggingface/datasets/issues/4062
Loading mozilla-foundation/common_voice_7_0 dataset failed
Hi @ngoquanghuy99! The dataset should load fine if you go through the following steps: 1. Go to https://huggingface.co/datasets/mozilla-foundation/common_voice_9_0 and click "Access repository" if you see a message about sharing your contact information with Mozilla Foundation at the top of the page. If you've alrea...
## Describe the bug I wanted to load `mozilla-foundation/common_voice_7_0` dataset with `fi` language and `test` split from datasets on Colab/Kaggle notebook, but I am getting an error `JSONDecodeError: [Errno Expecting value] Not Found: 0` while loading it. The bug seems to affect other languages and splits too than ...
83
Loading mozilla-foundation/common_voice_7_0 dataset failed ## Describe the bug I wanted to load `mozilla-foundation/common_voice_7_0` dataset with `fi` language and `test` split from datasets on Colab/Kaggle notebook, but I am getting an error `JSONDecodeError: [Errno Expecting value] Not Found: 0` while loading it....
[ -0.17519697546958923, -0.16184823215007782, -0.01651023142039776, 0.4844568371772766, 0.1696993112564087, -0.16959765553474426, 0.3660568296909332, 0.2703648507595062, 0.09576752781867981, 0.20071280002593994, -0.2335406243801117, 0.7396361827850342, 0.1339329481124878, -0.0338979400694370...
https://github.com/huggingface/datasets/issues/4062
Loading mozilla-foundation/common_voice_7_0 dataset failed
> Thanks @anton-l I could load the dataset now, but in another way. Thanks anyways! Can you share the "another way" please?
## Describe the bug I wanted to load `mozilla-foundation/common_voice_7_0` dataset with `fi` language and `test` split from datasets on Colab/Kaggle notebook, but I am getting an error `JSONDecodeError: [Errno Expecting value] Not Found: 0` while loading it. The bug seems to affect other languages and splits too than ...
22
Loading mozilla-foundation/common_voice_7_0 dataset failed ## Describe the bug I wanted to load `mozilla-foundation/common_voice_7_0` dataset with `fi` language and `test` split from datasets on Colab/Kaggle notebook, but I am getting an error `JSONDecodeError: [Errno Expecting value] Not Found: 0` while loading it....
[ -0.17519697546958923, -0.16184823215007782, -0.01651023142039776, 0.4844568371772766, 0.1696993112564087, -0.16959765553474426, 0.3660568296909332, 0.2703648507595062, 0.09576752781867981, 0.20071280002593994, -0.2335406243801117, 0.7396361827850342, 0.1339329481124878, -0.0338979400694370...
https://github.com/huggingface/datasets/issues/4061
Loading cnn_dailymail dataset failed
Hi @Arij-Aladel, thanks for reporting. This issue was already reported - #3784 and its root cause is a change in the Google Drive service. See: - #3786 We have already fixed it in our 2.0.0 release. See: - #3787 Please, update your `datasets` version: ``` pip install -U datasets ``` and retry load...
## Describe the bug I wanted to load cnn_dailymail dataset from huggingface datasets on jupyter lab, but I am getting an error ` NotADirectoryError:[Errno20] Not a directory ` while loading it. ## Steps to reproduce the bug ```python from datasets import load_dataset dataset = load_dataset('cnn_dailymail', '3.0....
66
Loading cnn_dailymail dataset failed ## Describe the bug I wanted to load cnn_dailymail dataset from huggingface datasets on jupyter lab, but I am getting an error ` NotADirectoryError:[Errno20] Not a directory ` while loading it. ## Steps to reproduce the bug ```python from datasets import load_dataset datase...
[ 0.07926221191883087, 0.04761520028114319, 0.06616324186325073, 0.2864683270454407, 0.21743857860565186, 0.022044450044631958, 0.6165335774421692, -0.0665949136018753, 0.08026498556137085, 0.3715788722038269, -0.18719516694545746, 0.037683140486478806, -0.3215869665145874, 0.144794359803199...
https://github.com/huggingface/datasets/issues/4057
`load_dataset` consumes too much memory for audio + tar archives
Hi ! Could it be because you need to free the memory used by `tarfile` by emptying the tar `members` by any chance ? ```python yield key, {"audio": {"path": audio_name, "bytes": audio_file_obj.read()}} audio_tarfile.members = [] # free memory key += 1 ``` and then you can set `DEFAULT_W...
## Description `load_dataset` consumes more and more memory until it's killed, even though it's made with a generator. I'm adding a loading script for a new dataset, made up of ~15s audio coming from a tar file. Tried setting `DEFAULT_WRITER_BATCH_SIZE = 1` as per the discussion in #741 but the problem persists. ...
85
`load_dataset` consumes too much memory for audio + tar archives ## Description `load_dataset` consumes more and more memory until it's killed, even though it's made with a generator. I'm adding a loading script for a new dataset, made up of ~15s audio coming from a tar file. Tried setting `DEFAULT_WRITER_BATCH_...
[ -0.5644341111183167, 0.22431257367134094, 0.09214182198047638, 0.5236534476280212, 0.2984389066696167, 0.012890949845314026, 0.11622106283903122, 0.11865827441215515, -0.02925436571240425, 0.25258004665374756, 0.12547436356544495, 0.34081774950027466, -0.3144560754299164, -0.18465158343315...
https://github.com/huggingface/datasets/issues/4057
`load_dataset` consumes too much memory for audio + tar archives
I also run out of memory when loading `mozilla-foundation/common_voice_8_0` that also uses `tarfile` via `dl_manager.iter_archive`. There seems to be some data files that stay in memory somewhere I don't have the issue with other compression formats like gzipped files
## Description `load_dataset` consumes more and more memory until it's killed, even though it's made with a generator. I'm adding a loading script for a new dataset, made up of ~15s audio coming from a tar file. Tried setting `DEFAULT_WRITER_BATCH_SIZE = 1` as per the discussion in #741 but the problem persists. ...
39
`load_dataset` consumes too much memory for audio + tar archives ## Description `load_dataset` consumes more and more memory until it's killed, even though it's made with a generator. I'm adding a loading script for a new dataset, made up of ~15s audio coming from a tar file. Tried setting `DEFAULT_WRITER_BATCH_...
[ -0.5644341111183167, 0.22431257367134094, 0.09214182198047638, 0.5236534476280212, 0.2984389066696167, 0.012890949845314026, 0.11622106283903122, 0.11865827441215515, -0.02925436571240425, 0.25258004665374756, 0.12547436356544495, 0.34081774950027466, -0.3144560754299164, -0.18465158343315...
https://github.com/huggingface/datasets/issues/4057
`load_dataset` consumes too much memory for audio + tar archives
I'm facing a similar memory leak issue when loading cv8. As you said @lhoestq `load_dataset("mozilla-foundation/common_voice_8_0", "en", use_auth_token=True, writer_batch_size=1)` This issue is happening on a 32GB RAM machine. Any updates on how to fix this?
## Description `load_dataset` consumes more and more memory until it's killed, even though it's made with a generator. I'm adding a loading script for a new dataset, made up of ~15s audio coming from a tar file. Tried setting `DEFAULT_WRITER_BATCH_SIZE = 1` as per the discussion in #741 but the problem persists. ...
34
`load_dataset` consumes too much memory for audio + tar archives ## Description `load_dataset` consumes more and more memory until it's killed, even though it's made with a generator. I'm adding a loading script for a new dataset, made up of ~15s audio coming from a tar file. Tried setting `DEFAULT_WRITER_BATCH_...
[ -0.5644341111183167, 0.22431257367134094, 0.09214182198047638, 0.5236534476280212, 0.2984389066696167, 0.012890949845314026, 0.11622106283903122, 0.11865827441215515, -0.02925436571240425, 0.25258004665374756, 0.12547436356544495, 0.34081774950027466, -0.3144560754299164, -0.18465158343315...
https://github.com/huggingface/datasets/issues/4057
`load_dataset` consumes too much memory for audio + tar archives
I've run a memory profiler to see where's the leak comes from: ![image](https://user-images.githubusercontent.com/5097052/165101712-e7060ae5-77b2-4f6a-92bd-2996dbd60b36.png) ... it seems that it's related to the tarfile lib buffer reader. But I don't know why it's only happening on the huggingface script
## Description `load_dataset` consumes more and more memory until it's killed, even though it's made with a generator. I'm adding a loading script for a new dataset, made up of ~15s audio coming from a tar file. Tried setting `DEFAULT_WRITER_BATCH_SIZE = 1` as per the discussion in #741 but the problem persists. ...
37
`load_dataset` consumes too much memory for audio + tar archives ## Description `load_dataset` consumes more and more memory until it's killed, even though it's made with a generator. I'm adding a loading script for a new dataset, made up of ~15s audio coming from a tar file. Tried setting `DEFAULT_WRITER_BATCH_...
[ -0.5644341111183167, 0.22431257367134094, 0.09214182198047638, 0.5236534476280212, 0.2984389066696167, 0.012890949845314026, 0.11622106283903122, 0.11865827441215515, -0.02925436571240425, 0.25258004665374756, 0.12547436356544495, 0.34081774950027466, -0.3144560754299164, -0.18465158343315...
https://github.com/huggingface/datasets/issues/4057
`load_dataset` consumes too much memory for audio + tar archives
I have the same problem when loading video into numpy. ``` yield id,{ "video": imageio.v3.imread(video_path), "label": int(label) } ``` Since video files are heavy, it can only processes a dozen samples before OOM.
## Description `load_dataset` consumes more and more memory until it's killed, even though it's made with a generator. I'm adding a loading script for a new dataset, made up of ~15s audio coming from a tar file. Tried setting `DEFAULT_WRITER_BATCH_SIZE = 1` as per the discussion in #741 but the problem persists. ...
33
`load_dataset` consumes too much memory for audio + tar archives ## Description `load_dataset` consumes more and more memory until it's killed, even though it's made with a generator. I'm adding a loading script for a new dataset, made up of ~15s audio coming from a tar file. Tried setting `DEFAULT_WRITER_BATCH_...
[ -0.5644341111183167, 0.22431257367134094, 0.09214182198047638, 0.5236534476280212, 0.2984389066696167, 0.012890949845314026, 0.11622106283903122, 0.11865827441215515, -0.02925436571240425, 0.25258004665374756, 0.12547436356544495, 0.34081774950027466, -0.3144560754299164, -0.18465158343315...
https://github.com/huggingface/datasets/issues/4057
`load_dataset` consumes too much memory for audio + tar archives
For video datasets I think you can just define the max number of video that can stay in memory by adding this class attribute to your dataset builer: ```py DEFAULT_WRITER_BATCH_SIZE = 8 # only 8 videos at a time in memory before flushing the dataset writer ```
## Description `load_dataset` consumes more and more memory until it's killed, even though it's made with a generator. I'm adding a loading script for a new dataset, made up of ~15s audio coming from a tar file. Tried setting `DEFAULT_WRITER_BATCH_SIZE = 1` as per the discussion in #741 but the problem persists. ...
47
`load_dataset` consumes too much memory for audio + tar archives ## Description `load_dataset` consumes more and more memory until it's killed, even though it's made with a generator. I'm adding a loading script for a new dataset, made up of ~15s audio coming from a tar file. Tried setting `DEFAULT_WRITER_BATCH_...
[ -0.5644341111183167, 0.22431257367134094, 0.09214182198047638, 0.5236534476280212, 0.2984389066696167, 0.012890949845314026, 0.11622106283903122, 0.11865827441215515, -0.02925436571240425, 0.25258004665374756, 0.12547436356544495, 0.34081774950027466, -0.3144560754299164, -0.18465158343315...
https://github.com/huggingface/datasets/issues/4057
`load_dataset` consumes too much memory for audio + tar archives
same thing happens for me with `load_dataset("mozilla-foundation/common_voice_8_0", "en", use_auth_token=True, writer_batch_size=1)` on azure ml. seems to fill up `tmp` and not release that memory until OOM
## Description `load_dataset` consumes more and more memory until it's killed, even though it's made with a generator. I'm adding a loading script for a new dataset, made up of ~15s audio coming from a tar file. Tried setting `DEFAULT_WRITER_BATCH_SIZE = 1` as per the discussion in #741 but the problem persists. ...
25
`load_dataset` consumes too much memory for audio + tar archives ## Description `load_dataset` consumes more and more memory until it's killed, even though it's made with a generator. I'm adding a loading script for a new dataset, made up of ~15s audio coming from a tar file. Tried setting `DEFAULT_WRITER_BATCH_...
[ -0.5644341111183167, 0.22431257367134094, 0.09214182198047638, 0.5236534476280212, 0.2984389066696167, 0.012890949845314026, 0.11622106283903122, 0.11865827441215515, -0.02925436571240425, 0.25258004665374756, 0.12547436356544495, 0.34081774950027466, -0.3144560754299164, -0.18465158343315...
https://github.com/huggingface/datasets/issues/4057
`load_dataset` consumes too much memory for audio + tar archives
I'll add that I'm encountering the same issue with `load_dataset('wikipedia', 'ceb', runner='DirectRunner', split='train')`. Same for `'es'` in place of `'ceb'`.
## Description `load_dataset` consumes more and more memory until it's killed, even though it's made with a generator. I'm adding a loading script for a new dataset, made up of ~15s audio coming from a tar file. Tried setting `DEFAULT_WRITER_BATCH_SIZE = 1` as per the discussion in #741 but the problem persists. ...
20
`load_dataset` consumes too much memory for audio + tar archives ## Description `load_dataset` consumes more and more memory until it's killed, even though it's made with a generator. I'm adding a loading script for a new dataset, made up of ~15s audio coming from a tar file. Tried setting `DEFAULT_WRITER_BATCH_...
[ -0.5644341111183167, 0.22431257367134094, 0.09214182198047638, 0.5236534476280212, 0.2984389066696167, 0.012890949845314026, 0.11622106283903122, 0.11865827441215515, -0.02925436571240425, 0.25258004665374756, 0.12547436356544495, 0.34081774950027466, -0.3144560754299164, -0.18465158343315...
https://github.com/huggingface/datasets/issues/4057
`load_dataset` consumes too much memory for audio + tar archives
> I'll add that I'm encountering the same issue with > load_dataset('wikipedia', 'ceb', runner='DirectRunner', split='train'). > Same for 'es' in place of 'ceb'. This is because the Apache Beam `DirectRunner` runs with the full data in memory unfortunately. Optimizing the `DirectRunner` is not in the scope of the ...
## Description `load_dataset` consumes more and more memory until it's killed, even though it's made with a generator. I'm adding a loading script for a new dataset, made up of ~15s audio coming from a tar file. Tried setting `DEFAULT_WRITER_BATCH_SIZE = 1` as per the discussion in #741 but the problem persists. ...
94
`load_dataset` consumes too much memory for audio + tar archives ## Description `load_dataset` consumes more and more memory until it's killed, even though it's made with a generator. I'm adding a loading script for a new dataset, made up of ~15s audio coming from a tar file. Tried setting `DEFAULT_WRITER_BATCH_...
[ -0.5644341111183167, 0.22431257367134094, 0.09214182198047638, 0.5236534476280212, 0.2984389066696167, 0.012890949845314026, 0.11622106283903122, 0.11865827441215515, -0.02925436571240425, 0.25258004665374756, 0.12547436356544495, 0.34081774950027466, -0.3144560754299164, -0.18465158343315...
https://github.com/huggingface/datasets/issues/4057
`load_dataset` consumes too much memory for audio + tar archives
> > I'll add that I'm encountering the same issue with > > `load_dataset('wikipedia', 'ceb', runner='DirectRunner', split='train')`. > > Same for `'es'` in place of `'ceb'`. > > This is because the Apache Beam `DirectRunner` runs with the full data in memory unfortunately. Optimizing the `DirectRunner` is not in t...
## Description `load_dataset` consumes more and more memory until it's killed, even though it's made with a generator. I'm adding a loading script for a new dataset, made up of ~15s audio coming from a tar file. Tried setting `DEFAULT_WRITER_BATCH_SIZE = 1` as per the discussion in #741 but the problem persists. ...
148
`load_dataset` consumes too much memory for audio + tar archives ## Description `load_dataset` consumes more and more memory until it's killed, even though it's made with a generator. I'm adding a loading script for a new dataset, made up of ~15s audio coming from a tar file. Tried setting `DEFAULT_WRITER_BATCH_...
[ -0.5644341111183167, 0.22431257367134094, 0.09214182198047638, 0.5236534476280212, 0.2984389066696167, 0.012890949845314026, 0.11622106283903122, 0.11865827441215515, -0.02925436571240425, 0.25258004665374756, 0.12547436356544495, 0.34081774950027466, -0.3144560754299164, -0.18465158343315...
https://github.com/huggingface/datasets/issues/4057
`load_dataset` consumes too much memory for audio + tar archives
> Fair enough, but this line of code crashed an AWS instance with 1024GB of RAM! What, wikipedia is not even bigger than 20GB cc @albertvillanova
## Description `load_dataset` consumes more and more memory until it's killed, even though it's made with a generator. I'm adding a loading script for a new dataset, made up of ~15s audio coming from a tar file. Tried setting `DEFAULT_WRITER_BATCH_SIZE = 1` as per the discussion in #741 but the problem persists. ...
26
`load_dataset` consumes too much memory for audio + tar archives ## Description `load_dataset` consumes more and more memory until it's killed, even though it's made with a generator. I'm adding a loading script for a new dataset, made up of ~15s audio coming from a tar file. Tried setting `DEFAULT_WRITER_BATCH_...
[ -0.5644341111183167, 0.22431257367134094, 0.09214182198047638, 0.5236534476280212, 0.2984389066696167, 0.012890949845314026, 0.11622106283903122, 0.11865827441215515, -0.02925436571240425, 0.25258004665374756, 0.12547436356544495, 0.34081774950027466, -0.3144560754299164, -0.18465158343315...
https://github.com/huggingface/datasets/issues/4057
`load_dataset` consumes too much memory for audio + tar archives
> > Fair enough, but this line of code crashed an AWS instance with 1024GB of RAM! > > What, wikipedia is not even bigger than 20GB > > cc @albertvillanova Luckily, on Colab you can watch the call stack at the bottom of the screen - much of the time and space complexity seems to come from `_parse_and_clean_wik...
## Description `load_dataset` consumes more and more memory until it's killed, even though it's made with a generator. I'm adding a loading script for a new dataset, made up of ~15s audio coming from a tar file. Tried setting `DEFAULT_WRITER_BATCH_SIZE = 1` as per the discussion in #741 but the problem persists. ...
92
`load_dataset` consumes too much memory for audio + tar archives ## Description `load_dataset` consumes more and more memory until it's killed, even though it's made with a generator. I'm adding a loading script for a new dataset, made up of ~15s audio coming from a tar file. Tried setting `DEFAULT_WRITER_BATCH_...
[ -0.5644341111183167, 0.22431257367134094, 0.09214182198047638, 0.5236534476280212, 0.2984389066696167, 0.012890949845314026, 0.11622106283903122, 0.11865827441215515, -0.02925436571240425, 0.25258004665374756, 0.12547436356544495, 0.34081774950027466, -0.3144560754299164, -0.18465158343315...
https://github.com/huggingface/datasets/issues/4057
`load_dataset` consumes too much memory for audio + tar archives
I think we are mixing many different bugs in this Issue page: - TAR archive with audio files - video file - distributed parsing of Wikipedia using Apache Beam @dan-the-meme-man may I ask you to open a separate Issue for your problem? Then I will address it. It is important to fix it because we are currently worki...
## Description `load_dataset` consumes more and more memory until it's killed, even though it's made with a generator. I'm adding a loading script for a new dataset, made up of ~15s audio coming from a tar file. Tried setting `DEFAULT_WRITER_BATCH_SIZE = 1` as per the discussion in #741 but the problem persists. ...
98
`load_dataset` consumes too much memory for audio + tar archives ## Description `load_dataset` consumes more and more memory until it's killed, even though it's made with a generator. I'm adding a loading script for a new dataset, made up of ~15s audio coming from a tar file. Tried setting `DEFAULT_WRITER_BATCH_...
[ -0.5644341111183167, 0.22431257367134094, 0.09214182198047638, 0.5236534476280212, 0.2984389066696167, 0.012890949845314026, 0.11622106283903122, 0.11865827441215515, -0.02925436571240425, 0.25258004665374756, 0.12547436356544495, 0.34081774950027466, -0.3144560754299164, -0.18465158343315...
https://github.com/huggingface/datasets/issues/4057
`load_dataset` consumes too much memory for audio + tar archives
Is there an update on the TAR archive issue with audio files? Happy to lend a hand in fixing this :)
## Description `load_dataset` consumes more and more memory until it's killed, even though it's made with a generator. I'm adding a loading script for a new dataset, made up of ~15s audio coming from a tar file. Tried setting `DEFAULT_WRITER_BATCH_SIZE = 1` as per the discussion in #741 but the problem persists. ...
21
`load_dataset` consumes too much memory for audio + tar archives ## Description `load_dataset` consumes more and more memory until it's killed, even though it's made with a generator. I'm adding a loading script for a new dataset, made up of ~15s audio coming from a tar file. Tried setting `DEFAULT_WRITER_BATCH_...
[ -0.5644341111183167, 0.22431257367134094, 0.09214182198047638, 0.5236534476280212, 0.2984389066696167, 0.012890949845314026, 0.11622106283903122, 0.11865827441215515, -0.02925436571240425, 0.25258004665374756, 0.12547436356544495, 0.34081774950027466, -0.3144560754299164, -0.18465158343315...
https://github.com/huggingface/datasets/issues/4057
`load_dataset` consumes too much memory for audio + tar archives
I found the issue with Common Voice 8 and opened a PR to fix it: https://huggingface.co/datasets/mozilla-foundation/common_voice_8_0/discussions/2 Basically the `metadata` dict that contains the transcripts per audio file was continuously getting filled with bytes from `f.read()` because of this code: ```python re...
## Description `load_dataset` consumes more and more memory until it's killed, even though it's made with a generator. I'm adding a loading script for a new dataset, made up of ~15s audio coming from a tar file. Tried setting `DEFAULT_WRITER_BATCH_SIZE = 1` as per the discussion in #741 but the problem persists. ...
76
`load_dataset` consumes too much memory for audio + tar archives ## Description `load_dataset` consumes more and more memory until it's killed, even though it's made with a generator. I'm adding a loading script for a new dataset, made up of ~15s audio coming from a tar file. Tried setting `DEFAULT_WRITER_BATCH_...
[ -0.5644341111183167, 0.22431257367134094, 0.09214182198047638, 0.5236534476280212, 0.2984389066696167, 0.012890949845314026, 0.11622106283903122, 0.11865827441215515, -0.02925436571240425, 0.25258004665374756, 0.12547436356544495, 0.34081774950027466, -0.3144560754299164, -0.18465158343315...
https://github.com/huggingface/datasets/issues/4057
`load_dataset` consumes too much memory for audio + tar archives
I'm closing this one for now, but feel free to reopen if you encounter other memory issues with audio datasets
## Description `load_dataset` consumes more and more memory until it's killed, even though it's made with a generator. I'm adding a loading script for a new dataset, made up of ~15s audio coming from a tar file. Tried setting `DEFAULT_WRITER_BATCH_SIZE = 1` as per the discussion in #741 but the problem persists. ...
20
`load_dataset` consumes too much memory for audio + tar archives ## Description `load_dataset` consumes more and more memory until it's killed, even though it's made with a generator. I'm adding a loading script for a new dataset, made up of ~15s audio coming from a tar file. Tried setting `DEFAULT_WRITER_BATCH_...
[ -0.5644341111183167, 0.22431257367134094, 0.09214182198047638, 0.5236534476280212, 0.2984389066696167, 0.012890949845314026, 0.11622106283903122, 0.11865827441215515, -0.02925436571240425, 0.25258004665374756, 0.12547436356544495, 0.34081774950027466, -0.3144560754299164, -0.18465158343315...
https://github.com/huggingface/datasets/issues/4056
Unexpected behavior of _TempDirWithCustomCleanup
Hi ! Would setting TMPDIR at the beginning of your python script/session work ? I mean, even before importing transformers, datasets, etc. and using them ? I think this would be the most robust solution given any library that uses `tempfile`. I don't think we aim to support environment variables to be changed at run ti...
## Describe the bug This is not 100% a bug in `datasets`, but behavior that surprised me and I think this could be made more robust on the `datasets`side. When using `datasets.disable_caching()`, cache files are written to a temporary directory. This directory should be based on the environment variable TMPDIR. I ...
56
Unexpected behavior of _TempDirWithCustomCleanup ## Describe the bug This is not 100% a bug in `datasets`, but behavior that surprised me and I think this could be made more robust on the `datasets`side. When using `datasets.disable_caching()`, cache files are written to a temporary directory. This directory sho...
[ -0.13824133574962616, 0.07323211431503296, 0.04447362944483757, 0.1359773427248001, 0.34792429208755493, -0.1434309035539627, 0.37005239725112915, 0.08965042233467102, 0.1531161069869995, 0.0932120829820633, 0.06710478663444519, 0.2713249623775482, -0.2865736186504364, -0.1255626231431961,...
https://github.com/huggingface/datasets/issues/4056
Unexpected behavior of _TempDirWithCustomCleanup
Hi, yeah setting the environment variable before the imports / as environment variable outside is another way to fix this. I am just arguing that `datasets` already uses its own global variable to track temporary files: `_TEMP_DIR_FOR_TEMP_CACHE_FILES`, and the creation of this global variable should respect TMPDIR ins...
## Describe the bug This is not 100% a bug in `datasets`, but behavior that surprised me and I think this could be made more robust on the `datasets`side. When using `datasets.disable_caching()`, cache files are written to a temporary directory. This directory should be based on the environment variable TMPDIR. I ...
55
Unexpected behavior of _TempDirWithCustomCleanup ## Describe the bug This is not 100% a bug in `datasets`, but behavior that surprised me and I think this could be made more robust on the `datasets`side. When using `datasets.disable_caching()`, cache files are written to a temporary directory. This directory sho...
[ -0.1449769288301468, 0.10175195336341858, 0.04245131090283394, 0.2181852012872696, 0.37386757135391235, -0.1418621838092804, 0.3822782039642334, 0.08157408237457275, 0.1883886754512787, 0.11806182563304901, 0.05843815207481384, 0.30463308095932007, -0.28687310218811035, -0.1412384510040283...
https://github.com/huggingface/datasets/issues/4052
metric = metric_cls( TypeError: 'NoneType' object is not callable
Hi @klyuhang9, I'm sorry but I can't reproduce your problem: ```python In [2]: metric = load_metric('glue', 'rte') Downloading builder script: 5.76kB [00:00, 2.40MB/s] ``` Could you please, retry to load the metric? Sometimes there are temporary connectivity issues. Feel free to re-open this issue of the p...
Hi, friend. I meet a problem. When I run the code: `metric = load_metric('glue', 'rte')` There is a problem raising: `metric = metric_cls( TypeError: 'NoneType' object is not callable ` I don't know why. Thanks for your help!
48
metric = metric_cls( TypeError: 'NoneType' object is not callable Hi, friend. I meet a problem. When I run the code: `metric = load_metric('glue', 'rte')` There is a problem raising: `metric = metric_cls( TypeError: 'NoneType' object is not callable ` I don't know why. Thanks for your help! Hi @klyuha...
[ -0.3547108471393585, -0.28516823053359985, 0.06740279495716095, 0.43405967950820923, 0.5599151849746704, -0.12590579688549042, 0.17819228768348694, 0.0732802003622055, 0.5064229965209961, 0.38843846321105957, -0.09520968794822693, -0.03434041142463684, -0.2323550432920456, -0.0094402860850...
https://github.com/huggingface/datasets/issues/4051
ConnectionError: Couldn't reach https://raw.githubusercontent.com/huggingface/datasets/2.0.0/datasets/glue/glue.py
Hi @klyuhang9, I'm sorry but I can't reproduce your problem: ```python In [4]: ds = load_dataset("glue", "sst2", download_mode="force_redownload") Downloading builder script: 28.8kB [00:00, 9.15MB/s] ...
Hi, I meet a problem. When I run the code: `dataset = load_dataset('glue','sst2')` There is a issue raising: ConnectionError: Couldn't reach https://raw.githubusercontent.com/huggingface/datasets/2.0.0/datasets/glue/glue.py I don't know why; it is ok when I use Google Chrome to view this url. Thanks for your...
127
ConnectionError: Couldn't reach https://raw.githubusercontent.com/huggingface/datasets/2.0.0/datasets/glue/glue.py Hi, I meet a problem. When I run the code: `dataset = load_dataset('glue','sst2')` There is a issue raising: ConnectionError: Couldn't reach https://raw.githubusercontent.com/huggingface/datasets/2...
[ -0.17830272018909454, -0.263933002948761, -0.07853773236274719, 0.2553514838218689, 0.4212651252746582, -0.13102148473262787, 0.08558642864227295, 0.17236210405826569, 0.11535206437110901, 0.07448436319828033, -0.18303722143173218, -0.29032644629478455, 0.235199436545372, 0.260818868875503...
https://github.com/huggingface/datasets/issues/4051
ConnectionError: Couldn't reach https://raw.githubusercontent.com/huggingface/datasets/2.0.0/datasets/glue/glue.py
> Are you able to access the URL in your web browser? Yes, with or without a VPN, we (people in China) can access the URL. And we can even use wget to download these files. We can download the pretrained language model automatically with the code. However, we CANNOT access glue.py & metric.py automatically. Every t...
Hi, I meet a problem. When I run the code: `dataset = load_dataset('glue','sst2')` There is a issue raising: ConnectionError: Couldn't reach https://raw.githubusercontent.com/huggingface/datasets/2.0.0/datasets/glue/glue.py I don't know why; it is ok when I use Google Chrome to view this url. Thanks for your...
92
ConnectionError: Couldn't reach https://raw.githubusercontent.com/huggingface/datasets/2.0.0/datasets/glue/glue.py Hi, I meet a problem. When I run the code: `dataset = load_dataset('glue','sst2')` There is a issue raising: ConnectionError: Couldn't reach https://raw.githubusercontent.com/huggingface/datasets/2...
[ -0.08870896697044373, -0.08625385165214539, -0.05736236274242401, 0.15729214251041412, 0.44843369722366333, -0.182168647646904, 0.17125603556632996, 0.060096003115177155, 0.048233140259981155, 0.31027454137802124, -0.3809802532196045, -0.11393315345048904, 0.28842997550964355, 0.0781204923...
https://github.com/huggingface/datasets/issues/4051
ConnectionError: Couldn't reach https://raw.githubusercontent.com/huggingface/datasets/2.0.0/datasets/glue/glue.py
> ConnectionError: Couldn't reach https://raw.githubusercontent.com/huggingface/datasets/2.0.0/datasets/glue/glue.py > > I don't know why; it is ok when I use If you would query the question `ConnectionError: Couldn't reach` in www.baidu.com (Chinese Google, Google is banned and some people cannot access it), you...
Hi, I meet a problem. When I run the code: `dataset = load_dataset('glue','sst2')` There is a issue raising: ConnectionError: Couldn't reach https://raw.githubusercontent.com/huggingface/datasets/2.0.0/datasets/glue/glue.py I don't know why; it is ok when I use Google Chrome to view this url. Thanks for your...
71
ConnectionError: Couldn't reach https://raw.githubusercontent.com/huggingface/datasets/2.0.0/datasets/glue/glue.py Hi, I meet a problem. When I run the code: `dataset = load_dataset('glue','sst2')` There is a issue raising: ConnectionError: Couldn't reach https://raw.githubusercontent.com/huggingface/datasets/2...
[ -0.12059760093688965, -0.1314038634300232, -0.09648497402667999, 0.14410661160945892, 0.30369192361831665, -0.2433214783668518, 0.30880218744277954, 0.02405308000743389, 0.08389529585838318, 0.21390268206596375, -0.1504199057817459, -0.4797520041465759, 0.345548540353775, 0.156711265444755...
https://github.com/huggingface/datasets/issues/4048
Split size error on `amazon_us_reviews` / `PC_v1_00` dataset
Follow-up: I have confirmed there are no duplicate lines via `sort amazon_reviews_us_PC_v1_00.tsv | uniq -cd` after extracting the raw file.
## Describe the bug When downloading this subset as of 3-28-2022 you will encounter a split size error after the dataset is extracted. The extracted dataset has roughly ~6m rows while the split expects <1m. Upon digging a little deeper, I downloaded the raw files from `https://s3.amazonaws.com/amazon-reviews-pds/t...
20
Split size error on `amazon_us_reviews` / `PC_v1_00` dataset ## Describe the bug When downloading this subset as of 3-28-2022 you will encounter a split size error after the dataset is extracted. The extracted dataset has roughly ~6m rows while the split expects <1m. Upon digging a little deeper, I downloaded th...
[ -0.2346809059381485, -0.2431967556476593, -0.05880086496472359, 0.34479570388793945, 0.11112399399280548, 0.1701885461807251, 0.24223589897155762, 0.33071720600128174, -0.12986907362937927, -0.10447052121162415, -0.03156566619873047, -0.09119503945112228, 0.04941593483090401, 0.38620263338...
https://github.com/huggingface/datasets/issues/4048
Split size error on `amazon_us_reviews` / `PC_v1_00` dataset
Hi @trentonstrong, thanks for reporting! I confirm that loading this dataset configuration throws a `NonMatchingSplitsSizesError`: ``` NonMatchingSplitsSizesError: [{'expected': SplitInfo(name='train', num_bytes=350242049, num_examples=785730, dataset_name='amazon_us_reviews'), 'recorded': SplitInfo(name='train', ...
## Describe the bug When downloading this subset as of 3-28-2022 you will encounter a split size error after the dataset is extracted. The extracted dataset has roughly ~6m rows while the split expects <1m. Upon digging a little deeper, I downloaded the raw files from `https://s3.amazonaws.com/amazon-reviews-pds/t...
80
Split size error on `amazon_us_reviews` / `PC_v1_00` dataset ## Describe the bug When downloading this subset as of 3-28-2022 you will encounter a split size error after the dataset is extracted. The extracted dataset has roughly ~6m rows while the split expects <1m. Upon digging a little deeper, I downloaded th...
[ -0.29263779520988464, -0.20570379495620728, -0.03276357054710388, 0.3231837749481201, 0.13129504024982452, 0.1685381829738617, 0.22974109649658203, 0.3269466161727905, -0.15444768965244293, -0.05123569071292877, -0.02190452441573143, -0.09025856852531433, -0.022625185549259186, 0.363793015...
https://github.com/huggingface/datasets/issues/4047
Dataset.unique(column: str) -> ArrowNotImplementedError
Hi @orkenstein, thanks for reporting. Please note that for this case, our `datasets` library uses under the hood the Apache Arrow `unique` function: https://arrow.apache.org/docs/python/generated/pyarrow.compute.unique.html#pyarrow.compute.unique And currently the Apache Arrow `unique` function is only implemente...
## Describe the bug I'm trying to use `unique()` function, but it fails ## Steps to reproduce the bug 1. Get dataset 2. Call `unique` 3. Error # Sample code to reproduce the bug ```python !pip show datasets from datasets import load_dataset dataset = load_dataset('wikiann', 'en') dataset['train'].col...
77
Dataset.unique(column: str) -> ArrowNotImplementedError ## Describe the bug I'm trying to use `unique()` function, but it fails ## Steps to reproduce the bug 1. Get dataset 2. Call `unique` 3. Error # Sample code to reproduce the bug ```python !pip show datasets from datasets import load_dataset datas...
[ 0.013289343565702438, -0.3006759583950043, 0.00463692843914032, 0.2457810938358307, 0.4343057870864868, -0.002381749451160431, 0.40166011452674866, 0.047039687633514404, -0.3094610571861267, 0.2648710012435913, 0.14357350766658783, 0.8505440354347229, -0.2576572895050049, -0.29997676610946...
https://github.com/huggingface/datasets/issues/4047
Dataset.unique(column: str) -> ArrowNotImplementedError
As a workaround solution you can use pandas: ```python from datasets import load_dataset dataset = load_dataset('wikiann', 'en', split='train') df = dataset.to_pandas() unique_df = df[~df.tokens.apply(tuple).duplicated()] # from https://stackoverflow.com/a/46958336/17517845 ``` Note that pandas loads the da...
## Describe the bug I'm trying to use `unique()` function, but it fails ## Steps to reproduce the bug 1. Get dataset 2. Call `unique` 3. Error # Sample code to reproduce the bug ```python !pip show datasets from datasets import load_dataset dataset = load_dataset('wikiann', 'en') dataset['train'].col...
43
Dataset.unique(column: str) -> ArrowNotImplementedError ## Describe the bug I'm trying to use `unique()` function, but it fails ## Steps to reproduce the bug 1. Get dataset 2. Call `unique` 3. Error # Sample code to reproduce the bug ```python !pip show datasets from datasets import load_dataset datas...
[ 0.013289343565702438, -0.3006759583950043, 0.00463692843914032, 0.2457810938358307, 0.4343057870864868, -0.002381749451160431, 0.40166011452674866, 0.047039687633514404, -0.3094610571861267, 0.2648710012435913, 0.14357350766658783, 0.8505440354347229, -0.2576572895050049, -0.29997676610946...
https://github.com/huggingface/datasets/issues/4041
Add support for IIIF in datasets
Hi! Thanks for the detailed analysis of adding IIIF support. I like the idea of "using IIIF through datasets scripts" due to its ease of use. Another approach that I like is yielding image ids and using the `piffle` library (which offers a bit more flexibility) + `map` to download + cache images. We can handle bad URLs...
This is a feature request for support for IIIF in `datasets`. Apologies for the long issue. I have also used a different format to the usual feature request since I think that makes more sense but happy to use the standard template if preferred. ## What is [IIIF](https://iiif.io/)? IIIF (International Image Inte...
145
Add support for IIIF in datasets This is a feature request for support for IIIF in `datasets`. Apologies for the long issue. I have also used a different format to the usual feature request since I think that makes more sense but happy to use the standard template if preferred. ## What is [IIIF](https://iiif.io/...
[ -0.10072214901447296, 0.1306869089603424, -0.24854068458080292, 0.07329125702381134, 0.06152263656258583, -0.06135033816099167, 0.31999215483665466, 0.24908927083015442, -0.09724611043930054, 0.21040762960910797, 0.21025589108467102, 0.33438679575920105, -0.04455976560711861, 0.18910731375...
https://github.com/huggingface/datasets/issues/4037
Error while building documentation
After some investigation, maybe the bug is in `doc-builder`. I've opened an issue there: - huggingface/doc-builder#160
## Describe the bug Documentation building is failing: - https://github.com/huggingface/datasets/runs/5716300989?check_suite_focus=true ``` ValueError: There was an error when converting ../datasets/docs/source/package_reference/main_classes.mdx to the MDX format. Unable to find datasets.filesystems.S3FileSystem...
16
Error while building documentation ## Describe the bug Documentation building is failing: - https://github.com/huggingface/datasets/runs/5716300989?check_suite_focus=true ``` ValueError: There was an error when converting ../datasets/docs/source/package_reference/main_classes.mdx to the MDX format. Unable to f...
[ -0.20042207837104797, -0.2878025472164154, 0.04475155845284462, 0.39312654733657837, 0.2458142638206482, 0.21453243494033813, 0.09479432553052902, 0.32911619544029236, -0.29407787322998047, 0.11394289135932922, -0.02945832349359989, 0.3712484538555145, 0.01958369091153145, 0.14525192975997...
https://github.com/huggingface/datasets/issues/4031
Cannot load the dataset conll2012_ontonotesv5
Hi @cathyxl, thanks for reporting. Indeed, we have recently updated the loading script of that dataset (and fixed that bug as well): - #4002 That fix will be available in our next `datasets` library release. In the meantime, you can incorporate that fix by: - installing `datasets` from our GitHub repo: ```bash...
## Describe the bug Cannot load the dataset conll2012_ontonotesv5 ## Steps to reproduce the bug ```python # Sample code to reproduce the bug from datasets import load_dataset dataset = load_dataset('conll2012_ontonotesv5', 'english_v4', split="test") print(dataset) ``` ## Expected results The datasets s...
82
Cannot load the dataset conll2012_ontonotesv5 ## Describe the bug Cannot load the dataset conll2012_ontonotesv5 ## Steps to reproduce the bug ```python # Sample code to reproduce the bug from datasets import load_dataset dataset = load_dataset('conll2012_ontonotesv5', 'english_v4', split="test") print(datase...
[ -0.3611917197704315, 0.20477259159088135, -0.1006568968296051, 0.37934380769729614, 0.3481523394584656, 0.17649978399276733, 0.19722983241081238, 0.27906566858291626, 0.06898188591003418, 0.09481753408908844, -0.07863651216030121, 0.15202082693576813, 0.08770376443862915, 0.045767255127429...
https://github.com/huggingface/datasets/issues/4029
Add FAISS .range_search() method for retrieving all texts from dataset above similarity threshold
Hi ! You can access the faiss index with ```python faiss_index = my_dataset.get_index("my_index_name").faiss_index ``` and then do whatever you want with it, e.g. query it using range_search: ```python threshold = 0.95 limits, distances, indices = faiss_index.range_search(x=xq, thresh=threshold) texts = datas...
**Is your feature request related to a problem? Please describe.** I would like to retrieve all texts from a dataset, which are semantically similar to a specific input text (query), above a certain (cosine) similarity threshold. My dataset is very large (Wikipedia), so I need to use Datasets and FAISS for this. I wou...
41
Add FAISS .range_search() method for retrieving all texts from dataset above similarity threshold **Is your feature request related to a problem? Please describe.** I would like to retrieve all texts from a dataset, which are semantically similar to a specific input text (query), above a certain (cosine) similarity ...
[ -0.26610028743743896, -0.40044817328453064, -0.07545088976621628, -0.1700698286294937, -0.1645522117614746, -0.13739687204360962, -0.10565361380577087, 0.4173576533794403, 0.28689664602279663, 0.10397949069738388, -0.609167218208313, -0.23527278006076813, 0.04547138512134552, -0.0635442808...
https://github.com/huggingface/datasets/issues/4029
Add FAISS .range_search() method for retrieving all texts from dataset above similarity threshold
wow, that's great, thank you for the explanation. (if that's not already in the documentation, could be worth adding it) which type of faiss index is Datasets using? I looked into faiss recently and I understand that there are several different types of indexes and the choice is important, e.g. regarding which dista...
**Is your feature request related to a problem? Please describe.** I would like to retrieve all texts from a dataset, which are semantically similar to a specific input text (query), above a certain (cosine) similarity threshold. My dataset is very large (Wikipedia), so I need to use Datasets and FAISS for this. I wou...
76
Add FAISS .range_search() method for retrieving all texts from dataset above similarity threshold **Is your feature request related to a problem? Please describe.** I would like to retrieve all texts from a dataset, which are semantically similar to a specific input text (query), above a certain (cosine) similarity ...
[ -0.23902595043182373, -0.3951444923877716, -0.08582064509391785, -0.11253790557384491, -0.2033657282590866, -0.18909478187561035, -0.03227763995528221, 0.298953652381897, 0.3635898530483246, 0.1370905488729477, -0.6294348835945129, -0.3008573055267334, 0.10104850679636002, -0.0439842939376...
https://github.com/huggingface/datasets/issues/4029
Add FAISS .range_search() method for retrieving all texts from dataset above similarity threshold
`Dataset.add_faiss_index` has a `string_factory` parameter, used to set the type of index (see the faiss documentation about [index factory](https://github.com/facebookresearch/faiss/wiki/The-index-factory)). Alternatively, you can pass an index you've defined yourself using faiss with the `custom_index` parameter of `...
**Is your feature request related to a problem? Please describe.** I would like to retrieve all texts from a dataset, which are semantically similar to a specific input text (query), above a certain (cosine) similarity threshold. My dataset is very large (Wikipedia), so I need to use Datasets and FAISS for this. I wou...
44
Add FAISS .range_search() method for retrieving all texts from dataset above similarity threshold **Is your feature request related to a problem? Please describe.** I would like to retrieve all texts from a dataset, which are semantically similar to a specific input text (query), above a certain (cosine) similarity ...
[ -0.2393752932548523, -0.4297715127468109, -0.05574570596218109, -0.13598525524139404, -0.19099052250385284, -0.1674884408712387, -0.0928245484828949, 0.3763892352581024, 0.27264413237571716, 0.1312081217765808, -0.6072084307670593, -0.2813066244125366, 0.05412781238555908, 0.04952199012041...
https://github.com/huggingface/datasets/issues/4027
ElasticSearch Indexing example: TypeError: __init__() missing 1 required positional argument: 'scheme'
Hi, @MoritzLaurer, thanks for reporting. Normally this is due to a mismatch between the versions of your Elasticsearch client and server: - your ES client is passing only keyword arguments to your ES server - whereas your ES server expects a positional argument called 'scheme' In order to fix this, you should a...
## Describe the bug I am following the example in the documentation for elastic search step by step (on google colab): https://huggingface.co/docs/datasets/faiss_es#elasticsearch ``` from datasets import load_dataset squad = load_dataset('crime_and_punish', split='train[:1000]') ``` When I run the line: `sq...
93
ElasticSearch Indexing example: TypeError: __init__() missing 1 required positional argument: 'scheme' ## Describe the bug I am following the example in the documentation for elastic search step by step (on google colab): https://huggingface.co/docs/datasets/faiss_es#elasticsearch ``` from datasets import load_d...
[ -0.01408759132027626, -0.20495694875717163, -0.028012992814183235, -0.21516425907611847, -0.047053635120391846, 0.20348817110061646, 0.3370678126811981, 0.04520611837506294, -0.027164697647094727, 0.2955164909362793, 0.18462663888931274, 0.3122885525226593, 0.08217792958021164, -0.29404360...
https://github.com/huggingface/datasets/issues/4027
ElasticSearch Indexing example: TypeError: __init__() missing 1 required positional argument: 'scheme'
1. Check elasticsearch version ``` import elasticsearch print(elasticsearch.__version__) ``` Ex: 7.9.1 2. Uninstall current elasticsearch package `pip uninstall elasticsearch` 3. Install elasticsearch 7.9.1 package `pip install elasticsearch==7.9.1`
## Describe the bug I am following the example in the documentation for elastic search step by step (on google colab): https://huggingface.co/docs/datasets/faiss_es#elasticsearch ``` from datasets import load_dataset squad = load_dataset('crime_and_punish', split='train[:1000]') ``` When I run the line: `sq...
27
ElasticSearch Indexing example: TypeError: __init__() missing 1 required positional argument: 'scheme' ## Describe the bug I am following the example in the documentation for elastic search step by step (on google colab): https://huggingface.co/docs/datasets/faiss_es#elasticsearch ``` from datasets import load_d...
[ -0.010928452014923096, -0.20841486752033234, -0.030344847589731216, -0.21521975100040436, -0.049391381442546844, 0.19440409541130066, 0.3211391270160675, 0.05363651365041733, -0.030626265332102776, 0.2950674891471863, 0.16848495602607727, 0.3123597800731659, 0.07908841222524643, -0.2982071...
https://github.com/huggingface/datasets/issues/4015
Can not correctly parse the classes with imagefolder
I found that the problem arises because the image files in my folder are actually symbolic links (for my own reasons). After modifications, the classes can now be correctly parsed. Therefore, I close this issue.
## Describe the bug I try to load my own image dataset with imagefolder, but the parsing of classes is incorrect. ## Steps to reproduce the bug I organized my dataset (ImageNet) in the following structure: ``` - imagenet/ - train/ - n01440764/ - ILSVRC2012_val_00000293.jpg ...
35
Can not correctly parse the classes with imagefolder ## Describe the bug I try to load my own image dataset with imagefolder, but the parsing of classes is incorrect. ## Steps to reproduce the bug I organized my dataset (ImageNet) in the following structure: ``` - imagenet/ - train/ - n0144...
[ -0.13223853707313538, -0.14140963554382324, 0.04661688581109047, 0.8640831112861633, 0.31230074167251587, -0.04051607847213745, 0.2753278315067291, -0.01283104345202446, 0.13330203294754028, 0.07212550193071365, -0.17457306385040283, 0.18386386334896088, -0.35394707322120667, 0.00423937849...
https://github.com/huggingface/datasets/issues/4013
Cannot preview "hazal/Turkish-Biomedical-corpus-trM"
Hi @hazalturkmen, thanks for reporting. Note that your dataset repository does not contain any loading script; it only contains a data file named `tr_article_2`. When there is no loading script but only data files, the `datasets` library tries to infer how to load the data by looking at the data file extensions. ...
## Dataset viewer issue for '*hazal/Turkish-Biomedical-corpus-trM' **Link:** *https://huggingface.co/datasets/hazal/Turkish-Biomedical-corpus-trM* *I cannot see the dataset preview.* ``` Server Error Status code: 400 Exception: HTTPError Message: 403 Client Error: Forbidden for url: https://h...
151
Cannot preview "hazal/Turkish-Biomedical-corpus-trM" ## Dataset viewer issue for '*hazal/Turkish-Biomedical-corpus-trM' **Link:** *https://huggingface.co/datasets/hazal/Turkish-Biomedical-corpus-trM* *I cannot see the dataset preview.* ``` Server Error Status code: 400 Exception: HTTPError Messag...
[ -0.17143796384334564, -0.4351091980934143, -0.02009645104408264, 0.13867028057575226, -0.08358165621757507, 0.2694072127342224, -0.15794435143470764, 0.5032233595848083, -0.08764326572418213, 0.08632459491491318, -0.35436439514160156, 0.036135923117399216, 0.1225203350186348, -0.1530090719...
https://github.com/huggingface/datasets/issues/4007
set_format does not work with multi dimension tensor
Hi! Use the `ArrayXD` feature type (where X is the number of dimensions) to get correctly formated tensors. So in your case, define the dataset as follows : ```python ds = Dataset.from_dict({"A": [torch.rand((2, 2))]}, features=Features({"A": Array2D(shape=(2, 2), dtype="float32")})) ```
## Describe the bug set_format only transforms the last dimension of a multi-dimension list to tensor ## Steps to reproduce the bug ```python import torch from datasets import Dataset ds = Dataset.from_dict({"A": [torch.rand((2, 2))]}) # ds = Dataset.from_dict({"A": [np.random.rand(2, 2)]}) # => same result...
39
set_format does not work with multi dimension tensor ## Describe the bug set_format only transforms the last dimension of a multi-dimension list to tensor ## Steps to reproduce the bug ```python import torch from datasets import Dataset ds = Dataset.from_dict({"A": [torch.rand((2, 2))]}) # ds = Dataset.fro...
[ -0.3587709963321686, -0.5875425338745117, -0.10628223419189453, 0.11355601251125336, 0.3834378719329834, 0.01902271807193756, 0.737145185470581, 0.44638657569885254, -0.108559250831604, 0.17748533189296722, -0.00601071584969759, 0.3397403061389923, -0.02235085517168045, 0.03648366034030914...
https://github.com/huggingface/datasets/issues/4007
set_format does not work with multi dimension tensor
Hi @mariosasko I'm facing the same issue and the only work around I've found so far is to convert my `DatasetDict` to a dictionary and then create new objects with `Dataset.from_dict`. ``` dataset = load_dataset("my_dataset.py") dataset = dataset.map(lambda example: blabla(example)) dict_dataset_test = dataset["tes...
## Describe the bug set_format only transforms the last dimension of a multi-dimension list to tensor ## Steps to reproduce the bug ```python import torch from datasets import Dataset ds = Dataset.from_dict({"A": [torch.rand((2, 2))]}) # ds = Dataset.from_dict({"A": [np.random.rand(2, 2)]}) # => same result...
84
set_format does not work with multi dimension tensor ## Describe the bug set_format only transforms the last dimension of a multi-dimension list to tensor ## Steps to reproduce the bug ```python import torch from datasets import Dataset ds = Dataset.from_dict({"A": [torch.rand((2, 2))]}) # ds = Dataset.fro...
[ -0.29989445209503174, -0.3101810812950134, -0.004203749820590019, 0.17216458916664124, 0.3681079149246216, 0.10392598062753677, 0.7871424555778503, 0.3923228681087494, 0.07250215113162994, -0.042565032839775085, -0.00915653444826603, 0.4055371582508087, -0.30832481384277344, 0.219869107007...
https://github.com/huggingface/datasets/issues/4007
set_format does not work with multi dimension tensor
Hi! Yes, you can directly pass the `Features` dictionary as `features` in `map` to cast the column to `Array2D`: ```python dataset = dataset.map(lambda example: blabla(example), features=Features(features)) ``` Or you can use `cast` after `map` to do that: ```python dataset = dataset.map(lambda example: blabla(ex...
## Describe the bug set_format only transforms the last dimension of a multi-dimension list to tensor ## Steps to reproduce the bug ```python import torch from datasets import Dataset ds = Dataset.from_dict({"A": [torch.rand((2, 2))]}) # ds = Dataset.from_dict({"A": [np.random.rand(2, 2)]}) # => same result...
47
set_format does not work with multi dimension tensor ## Describe the bug set_format only transforms the last dimension of a multi-dimension list to tensor ## Steps to reproduce the bug ```python import torch from datasets import Dataset ds = Dataset.from_dict({"A": [torch.rand((2, 2))]}) # ds = Dataset.fro...
[ -0.2981499433517456, -0.552294135093689, -0.0851084440946579, 0.06532986462116241, 0.4656409025192261, 0.0859980508685112, 0.7949094176292419, 0.4860951602458954, 0.02254784107208252, -0.012723922729492188, -0.02882932685315609, 0.4424654543399811, -0.14308370649814606, 0.2112058848142624,...
https://github.com/huggingface/datasets/issues/4005
Yelp not working
I don't think it's an issue with the dataset-viewer. Maybe @lhoestq or @albertvillanova could confirm. ```python >>> from datasets import load_dataset, DownloadMode >>> import itertools >>> # without streaming >>> dataset = load_dataset("yelp_review_full", name="yelp_review_full", split="train", download_mode=Do...
## Dataset viewer issue for '*name of the dataset*' **Link:** https://huggingface.co/datasets/yelp_review_full/viewer/yelp_review_full/train Doesn't work: ``` Server error Status code: 400 Exception: Error Message: line contains NULL ``` Am I the one who added this dataset ? No A seamingly...
383
Yelp not working ## Dataset viewer issue for '*name of the dataset*' **Link:** https://huggingface.co/datasets/yelp_review_full/viewer/yelp_review_full/train Doesn't work: ``` Server error Status code: 400 Exception: Error Message: line contains NULL ``` Am I the one who added this dataset ...
[ -0.2684919238090515, -0.10004523396492004, 0.009269997477531433, 0.27532029151916504, 0.2252160906791687, 0.2547468841075897, 0.20146574079990387, 0.14407864212989807, 0.07250514626502991, -0.16813193261623383, -0.0814419835805893, 0.05561187118291855, -0.2537716031074524, 0.16023565828800...
https://github.com/huggingface/datasets/issues/4005
Yelp not working
Yet another issue related to google drive not being nice. Most likely your IP has been banned from using their API programmatically. Do you know if we are allowed to host and redistribute the data ourselves ?
## Dataset viewer issue for '*name of the dataset*' **Link:** https://huggingface.co/datasets/yelp_review_full/viewer/yelp_review_full/train Doesn't work: ``` Server error Status code: 400 Exception: Error Message: line contains NULL ``` Am I the one who added this dataset ? No A seamingly...
37
Yelp not working ## Dataset viewer issue for '*name of the dataset*' **Link:** https://huggingface.co/datasets/yelp_review_full/viewer/yelp_review_full/train Doesn't work: ``` Server error Status code: 400 Exception: Error Message: line contains NULL ``` Am I the one who added this dataset ...
[ -0.10308288037776947, 0.078957200050354, -0.029037391766905785, 0.20698553323745728, 0.23674149811267853, 0.25668656826019287, 0.1672256588935852, 0.09024367481470108, 0.2104642391204834, -0.18449391424655914, -0.15458285808563232, -0.04030400142073631, -0.14190267026424408, 0.460680931806...
https://github.com/huggingface/datasets/issues/4005
Yelp not working
Hi, Facing the same issue while loading the dataset: `Error: {NonMatchingChecksumError}Checksums didn't match for dataset source files` Thanks
## Dataset viewer issue for '*name of the dataset*' **Link:** https://huggingface.co/datasets/yelp_review_full/viewer/yelp_review_full/train Doesn't work: ``` Server error Status code: 400 Exception: Error Message: line contains NULL ``` Am I the one who added this dataset ? No A seamingly...
18
Yelp not working ## Dataset viewer issue for '*name of the dataset*' **Link:** https://huggingface.co/datasets/yelp_review_full/viewer/yelp_review_full/train Doesn't work: ``` Server error Status code: 400 Exception: Error Message: line contains NULL ``` Am I the one who added this dataset ...
[ -0.24336117506027222, -0.06275134533643723, -0.024332046508789062, 0.30657997727394104, 0.16360563039779663, 0.23145195841789246, 0.08171804994344711, 0.14034266769886017, 0.23674070835113525, -0.12649580836296082, -0.15590611100196838, 0.048369601368904114, -0.11220546811819077, 0.3317650...
https://github.com/huggingface/datasets/issues/4005
Yelp not working
> Facing the same issue while loading the dataset: > > Error: {NonMatchingChecksumError}Checksums didn't match for dataset source files Thanks for reporting. I think this is the same issue. Feel free to try again later, once Google Drive stopped blocking you. You can retry by passing `download_mode="force_redownl...
## Dataset viewer issue for '*name of the dataset*' **Link:** https://huggingface.co/datasets/yelp_review_full/viewer/yelp_review_full/train Doesn't work: ``` Server error Status code: 400 Exception: Error Message: line contains NULL ``` Am I the one who added this dataset ? No A seamingly...
49
Yelp not working ## Dataset viewer issue for '*name of the dataset*' **Link:** https://huggingface.co/datasets/yelp_review_full/viewer/yelp_review_full/train Doesn't work: ``` Server error Status code: 400 Exception: Error Message: line contains NULL ``` Am I the one who added this dataset ...
[ -0.26018720865249634, 0.09298376739025116, -0.013289705850183964, 0.22357390820980072, 0.17565801739692688, 0.3243188261985779, 0.2636047601699829, 0.0949091762304306, 0.24531933665275574, -0.1416163593530655, -0.04354999214410782, -0.05660998076200485, -0.13228479027748108, 0.452171355485...
https://github.com/huggingface/datasets/issues/4005
Yelp not working
I noticed that FastAI hosts the Yelp dataset at https://s3.amazonaws.com/fast-ai-nlp/yelp_review_full_csv.tgz (from their catalog [here](https://course.fast.ai/datasets)) Let's update the yelp dataset script to download from there instead of Google Drive
## Dataset viewer issue for '*name of the dataset*' **Link:** https://huggingface.co/datasets/yelp_review_full/viewer/yelp_review_full/train Doesn't work: ``` Server error Status code: 400 Exception: Error Message: line contains NULL ``` Am I the one who added this dataset ? No A seamingly...
28
Yelp not working ## Dataset viewer issue for '*name of the dataset*' **Link:** https://huggingface.co/datasets/yelp_review_full/viewer/yelp_review_full/train Doesn't work: ``` Server error Status code: 400 Exception: Error Message: line contains NULL ``` Am I the one who added this dataset ...
[ -0.16045299172401428, 0.03512677550315857, -0.007131209596991539, 0.20987199246883392, 0.11634846031665802, 0.29428961873054504, 0.3275653123855591, 0.14117980003356934, 0.16289085149765015, -0.17223002016544342, -0.13060256838798523, 0.006532730534672737, -0.0765039399266243, 0.2644132673...
https://github.com/huggingface/datasets/issues/4005
Yelp not working
I updated the link to not use Google Drive anymore, we will do a release early next week with the updated download url of the dataset :)
## Dataset viewer issue for '*name of the dataset*' **Link:** https://huggingface.co/datasets/yelp_review_full/viewer/yelp_review_full/train Doesn't work: ``` Server error Status code: 400 Exception: Error Message: line contains NULL ``` Am I the one who added this dataset ? No A seamingly...
27
Yelp not working ## Dataset viewer issue for '*name of the dataset*' **Link:** https://huggingface.co/datasets/yelp_review_full/viewer/yelp_review_full/train Doesn't work: ``` Server error Status code: 400 Exception: Error Message: line contains NULL ``` Am I the one who added this dataset ...
[ -0.1579105406999588, -0.061500005424022675, -0.0020499862730503082, 0.2565928101539612, 0.15855655074119568, 0.2892259657382965, 0.24863122403621674, 0.06019692122936249, 0.13817010819911957, -0.14958690106868744, -0.07119713723659515, 0.0036797143984586, -0.24793337285518646, 0.3354058265...
https://github.com/huggingface/datasets/issues/4003
ASSIN2 dataset checksum bug
Using latest code, I am still facing the issue. ```python (base) vimos@vimosmu ➜ ~ ipython Python 3.6.7 | packaged by conda-forge | (default, Nov 6 2019, 16:19:42) Type 'copyright', 'credits' or 'license' for more information IPython 7.11.1 -- An enhanced Interactive Python. Type '?' for help. In [1]: from...
## Describe the bug Checksum error after trying to load the [ASSIN 2 dataset](https://huggingface.co/datasets/assin2). `NonMatchingChecksumError` triggered by calling `load_dataset("assin2")`. Similar to #3952 , #3942 , #3941 , etc. ``` ----------------------------------------------------------------------...
264
ASSIN2 dataset checksum bug ## Describe the bug Checksum error after trying to load the [ASSIN 2 dataset](https://huggingface.co/datasets/assin2). `NonMatchingChecksumError` triggered by calling `load_dataset("assin2")`. Similar to #3952 , #3942 , #3941 , etc. ``` ----------------------------------------...
[ -0.16043469309806824, 0.13614869117736816, -0.04458185285329819, 0.34855663776397705, 0.12330152094364166, 0.14757734537124634, 0.23576845228672028, 0.3987540006637573, 0.2274777591228485, 0.1705751121044159, -0.08641508221626282, -0.04827161878347397, 0.15661078691482544, -0.0062124170362...
https://github.com/huggingface/datasets/issues/4003
ASSIN2 dataset checksum bug
That's true. Steps to reproduce the bug on Google Colab: ``` git clone https://github.com/huggingface/datasets.git cd datasets pip install -e . python -c "from datasets import load_dataset; print(load_dataset('assin2')['train'][0])" ``` However the dataset will load without any problems if you just install v...
## Describe the bug Checksum error after trying to load the [ASSIN 2 dataset](https://huggingface.co/datasets/assin2). `NonMatchingChecksumError` triggered by calling `load_dataset("assin2")`. Similar to #3952 , #3942 , #3941 , etc. ``` ----------------------------------------------------------------------...
58
ASSIN2 dataset checksum bug ## Describe the bug Checksum error after trying to load the [ASSIN 2 dataset](https://huggingface.co/datasets/assin2). `NonMatchingChecksumError` triggered by calling `load_dataset("assin2")`. Similar to #3952 , #3942 , #3941 , etc. ``` ----------------------------------------...
[ -0.16043469309806824, 0.13614869117736816, -0.04458185285329819, 0.34855663776397705, 0.12330152094364166, 0.14757734537124634, 0.23576845228672028, 0.3987540006637573, 0.2274777591228485, 0.1705751121044159, -0.08641508221626282, -0.04827161878347397, 0.15661078691482544, -0.0062124170362...
https://github.com/huggingface/datasets/issues/4003
ASSIN2 dataset checksum bug
Right indeed ! Let me open a PR to fix this. The dataset_infos.json file that stores some metadata about the dataset to download (and is used to verify it was correctly downloaded) hasn't been updated correctly
## Describe the bug Checksum error after trying to load the [ASSIN 2 dataset](https://huggingface.co/datasets/assin2). `NonMatchingChecksumError` triggered by calling `load_dataset("assin2")`. Similar to #3952 , #3942 , #3941 , etc. ``` ----------------------------------------------------------------------...
36
ASSIN2 dataset checksum bug ## Describe the bug Checksum error after trying to load the [ASSIN 2 dataset](https://huggingface.co/datasets/assin2). `NonMatchingChecksumError` triggered by calling `load_dataset("assin2")`. Similar to #3952 , #3942 , #3941 , etc. ``` ----------------------------------------...
[ -0.16043469309806824, 0.13614869117736816, -0.04458185285329819, 0.34855663776397705, 0.12330152094364166, 0.14757734537124634, 0.23576845228672028, 0.3987540006637573, 0.2274777591228485, 0.1705751121044159, -0.08641508221626282, -0.04827161878347397, 0.15661078691482544, -0.0062124170362...
https://github.com/huggingface/datasets/issues/4003
ASSIN2 dataset checksum bug
Not sure what the status of this is, but personally I am still getting this error, with glue.
## Describe the bug Checksum error after trying to load the [ASSIN 2 dataset](https://huggingface.co/datasets/assin2). `NonMatchingChecksumError` triggered by calling `load_dataset("assin2")`. Similar to #3952 , #3942 , #3941 , etc. ``` ----------------------------------------------------------------------...
18
ASSIN2 dataset checksum bug ## Describe the bug Checksum error after trying to load the [ASSIN 2 dataset](https://huggingface.co/datasets/assin2). `NonMatchingChecksumError` triggered by calling `load_dataset("assin2")`. Similar to #3952 , #3942 , #3941 , etc. ``` ----------------------------------------...
[ -0.16043469309806824, 0.13614869117736816, -0.04458185285329819, 0.34855663776397705, 0.12330152094364166, 0.14757734537124634, 0.23576845228672028, 0.3987540006637573, 0.2274777591228485, 0.1705751121044159, -0.08641508221626282, -0.04827161878347397, 0.15661078691482544, -0.0062124170362...
https://github.com/huggingface/datasets/issues/4001
How to use generate this multitask dataset for SQUAD? I am getting a value error.
Hi! Replacing `nlp.<obj>` with `datasets.<obj>` in the script should fix the problem. `nlp` has been renamed to `datasets` more than a year ago, so please use `datasets` instead to avoid weird issues.
## Dataset viewer issue for 'squad_multitask*' **Link:** https://huggingface.co/datasets/vershasaxena91/squad_multitask *short description of the issue* I am trying to generate the multitask dataset for squad dataset. However, gives the error in dataset explorer as well as my local machine. I tried the comma...
32
How to use generate this multitask dataset for SQUAD? I am getting a value error. ## Dataset viewer issue for 'squad_multitask*' **Link:** https://huggingface.co/datasets/vershasaxena91/squad_multitask *short description of the issue* I am trying to generate the multitask dataset for squad dataset. However,...
[ -0.29366788268089294, -0.22755146026611328, 0.00014985539019107819, 0.3350783586502075, 0.14657258987426758, 0.08903687447309494, 0.47464367747306824, 0.002676684409379959, 0.009888719767332077, 0.36095356941223145, 0.039585813879966736, 0.7048641443252563, -0.12789209187030792, 0.17435178...
https://github.com/huggingface/datasets/issues/4001
How to use generate this multitask dataset for SQUAD? I am getting a value error.
But I request you to please fix the same in the dataset hub explorer as well...
## Dataset viewer issue for 'squad_multitask*' **Link:** https://huggingface.co/datasets/vershasaxena91/squad_multitask *short description of the issue* I am trying to generate the multitask dataset for squad dataset. However, gives the error in dataset explorer as well as my local machine. I tried the comma...
16
How to use generate this multitask dataset for SQUAD? I am getting a value error. ## Dataset viewer issue for 'squad_multitask*' **Link:** https://huggingface.co/datasets/vershasaxena91/squad_multitask *short description of the issue* I am trying to generate the multitask dataset for squad dataset. However,...
[ -0.3296909034252167, -0.32301878929138184, -0.03323550149798393, 0.4044610857963562, 0.15319624543190002, 0.10481361299753189, 0.46196460723876953, -0.07535317540168762, 0.0021962933242321014, 0.39276355504989624, -0.06930453330278397, 0.691989541053772, -0.05195074528455734, 0.22683434188...
https://github.com/huggingface/datasets/issues/4000
load_dataset error: sndfile library not found
Hi @i-am-neo, The audio support is an extra feature of `datasets` and therefore it must be installed as an additional optional dependency: ```shell pip install datasets[audio] ``` Additionally, for specific MP3 support (which is not the case for AMI dataset, that contains WAV audio files), there is another third...
## Describe the bug Can't load ami dataset ## Steps to reproduce the bug ``` python3 -c "from datasets import load_dataset; print(load_dataset('ami', 'headset-single', split='validation')[0])" ``` ## Expected results ## Actual results Downloading and preparing dataset ami/headset-single (download: 10.71...
61
load_dataset error: sndfile library not found ## Describe the bug Can't load ami dataset ## Steps to reproduce the bug ``` python3 -c "from datasets import load_dataset; print(load_dataset('ami', 'headset-single', split='validation')[0])" ``` ## Expected results ## Actual results Downloading and prepa...
[ -0.17908994853496552, -0.2704020142555237, -0.043067142367362976, 0.2871553301811218, 0.13970214128494263, -0.11794378608465195, 0.35235902667045593, 0.017088059335947037, 0.010731182992458344, 0.3843066096305847, -0.13333319127559662, 0.21345598995685577, 0.04716600850224495, 0.4075193107...
https://github.com/huggingface/datasets/issues/4000
load_dataset error: sndfile library not found
Thanks @albertvillanova . Unfortunately the error persists after installing ```datasets[audio]```. Can you direct towards a solution? ``` pip3 install datasets[audio] ``` ### log Requirement already satisfied: datasets[audio] in ./.virtualenvs/hubert/lib/python3.7/site-packages (1.18.3) Requirement already sati...
## Describe the bug Can't load ami dataset ## Steps to reproduce the bug ``` python3 -c "from datasets import load_dataset; print(load_dataset('ami', 'headset-single', split='validation')[0])" ``` ## Expected results ## Actual results Downloading and preparing dataset ami/headset-single (download: 10.71...
969
load_dataset error: sndfile library not found ## Describe the bug Can't load ami dataset ## Steps to reproduce the bug ``` python3 -c "from datasets import load_dataset; print(load_dataset('ami', 'headset-single', split='validation')[0])" ``` ## Expected results ## Actual results Downloading and prepa...
[ -0.17908994853496552, -0.2704020142555237, -0.043067142367362976, 0.2871553301811218, 0.13970214128494263, -0.11794378608465195, 0.35235902667045593, 0.017088059335947037, 0.010731182992458344, 0.3843066096305847, -0.13333319127559662, 0.21345598995685577, 0.04716600850224495, 0.4075193107...
https://github.com/huggingface/datasets/issues/4000
load_dataset error: sndfile library not found
Hi @i-am-neo, thanks again for your detailed report. Our `datasets` library support for audio relies on a third-party Python library called `librosa`, which is installed when you do: ```shell pip install datasets[audio] ``` However, the `librosa` library has a dependency on `soundfile`; and `soundfile` depends...
## Describe the bug Can't load ami dataset ## Steps to reproduce the bug ``` python3 -c "from datasets import load_dataset; print(load_dataset('ami', 'headset-single', split='validation')[0])" ``` ## Expected results ## Actual results Downloading and preparing dataset ami/headset-single (download: 10.71...
95
load_dataset error: sndfile library not found ## Describe the bug Can't load ami dataset ## Steps to reproduce the bug ``` python3 -c "from datasets import load_dataset; print(load_dataset('ami', 'headset-single', split='validation')[0])" ``` ## Expected results ## Actual results Downloading and prepa...
[ -0.17908994853496552, -0.2704020142555237, -0.043067142367362976, 0.2871553301811218, 0.13970214128494263, -0.11794378608465195, 0.35235902667045593, 0.017088059335947037, 0.010731182992458344, 0.3843066096305847, -0.13333319127559662, 0.21345598995685577, 0.04716600850224495, 0.4075193107...
https://github.com/huggingface/datasets/issues/4000
load_dataset error: sndfile library not found
@albertvillanova thanks, all good. The key is ```libsndfile1``` - it may help others to note that in your docs. I had installed libsndfile previously.
## Describe the bug Can't load ami dataset ## Steps to reproduce the bug ``` python3 -c "from datasets import load_dataset; print(load_dataset('ami', 'headset-single', split='validation')[0])" ``` ## Expected results ## Actual results Downloading and preparing dataset ami/headset-single (download: 10.71...
24
load_dataset error: sndfile library not found ## Describe the bug Can't load ami dataset ## Steps to reproduce the bug ``` python3 -c "from datasets import load_dataset; print(load_dataset('ami', 'headset-single', split='validation')[0])" ``` ## Expected results ## Actual results Downloading and prepa...
[ -0.17908994853496552, -0.2704020142555237, -0.043067142367362976, 0.2871553301811218, 0.13970214128494263, -0.11794378608465195, 0.35235902667045593, 0.017088059335947037, 0.010731182992458344, 0.3843066096305847, -0.13333319127559662, 0.21345598995685577, 0.04716600850224495, 0.4075193107...
https://github.com/huggingface/datasets/issues/3996
Audio.encode_example() throws an error when writing example from array
Thanks @polinaeterna for reporting this issue. In relation to the decoding of MP3 audio files without torchaudio, I remember Patrick made some tests and these had quite bad performance. That is why he proposed to support MP3 files only with torchaudio. But yes, nice to give an alternative to non-torchaudio users (wi...
## Describe the bug When trying to do `Audio().encode_example()` with preexisting array (see [this line](https://github.com/huggingface/datasets/blob/master/src/datasets/features/audio.py#L73)), `sf.write()` throws you an error: `TypeError: No format specified and unable to get format from file extension: <_io.BytesI...
57
Audio.encode_example() throws an error when writing example from array ## Describe the bug When trying to do `Audio().encode_example()` with preexisting array (see [this line](https://github.com/huggingface/datasets/blob/master/src/datasets/features/audio.py#L73)), `sf.write()` throws you an error: `TypeError: No f...
[ 0.12180823087692261, -0.3153699040412903, -0.025126606225967407, 0.22081954777240753, 0.49100983142852783, -0.12690553069114685, 0.36224645376205444, 0.06903745234012604, -0.06979646533727646, 0.4098414182662964, -0.12194308638572693, 0.2596229314804077, -0.18401435017585754, 0.18375784158...
https://github.com/huggingface/datasets/issues/3996
Audio.encode_example() throws an error when writing example from array
> I remember Patrick made some tests and these had quite bad performance. That is why he proposed to support MP3 files only with torchaudio. Yeah, I know, but as far as I understand, some users just categorically don't want to have torchaudio in their environment. Anyway, it's just a more or less random example, th...
## Describe the bug When trying to do `Audio().encode_example()` with preexisting array (see [this line](https://github.com/huggingface/datasets/blob/master/src/datasets/features/audio.py#L73)), `sf.write()` throws you an error: `TypeError: No format specified and unable to get format from file extension: <_io.BytesI...
93
Audio.encode_example() throws an error when writing example from array ## Describe the bug When trying to do `Audio().encode_example()` with preexisting array (see [this line](https://github.com/huggingface/datasets/blob/master/src/datasets/features/audio.py#L73)), `sf.write()` throws you an error: `TypeError: No f...
[ 0.12180823087692261, -0.3153699040412903, -0.025126606225967407, 0.22081954777240753, 0.49100983142852783, -0.12690553069114685, 0.36224645376205444, 0.06903745234012604, -0.06979646533727646, 0.4098414182662964, -0.12194308638572693, 0.2596229314804077, -0.18401435017585754, 0.18375784158...
https://github.com/huggingface/datasets/issues/3993
Streaming dataset + interleave + DataLoader hangs with multiple workers
Hi ! Thanks for reporting, could this be related to https://github.com/huggingface/datasets/issues/3950 ? Currently streaming datasets only works in single process, but we're working on having in work in distributed setups as well :) (EDIT: done)
## Describe the bug Interleaving multiple iterable datasets that use `load_dataset` on streaming mode hangs when passed to `torch.utils.data.DataLoader` with multiple workers. ## Steps to reproduce the bug ```python from datasets import interleave_datasets, load_dataset from torch.utils.data import DataLoader ...
35
Streaming dataset + interleave + DataLoader hangs with multiple workers ## Describe the bug Interleaving multiple iterable datasets that use `load_dataset` on streaming mode hangs when passed to `torch.utils.data.DataLoader` with multiple workers. ## Steps to reproduce the bug ```python from datasets import int...
[ -0.3555939197540283, -0.21973511576652527, -0.14469002187252045, 0.2996627390384674, 0.10886438190937042, -0.053614530712366104, 0.6818822622299194, 0.16813091933727264, 0.15180939435958862, 0.2881133556365967, -0.074872687458992, 0.24411641061306, -0.03519728407263756, -0.2144632190465927...
https://github.com/huggingface/datasets/issues/3992
Image column is not decoded in map when using with with_transform
Hi! This behavior stems from this line: https://github.com/huggingface/datasets/blob/799b817d97590ddc97cbd38d07469403e030de8c/src/datasets/arrow_dataset.py#L1919 Basically, the `Image`/`Audio` columns are decoded only if the `format_type` attribute is `None` (`set_format`/`with_format` and `set_transform`/`with_transf...
## Describe the bug Image column is not _decoded_ in **map** when using with `with_transform` ## Steps to reproduce the bug ```python from datasets import Image, Dataset def add_C(batch): batch["C"] = batch["A"] return batch ds = Dataset.from_dict({"A": ["image.png"]}).cast_column("A", Image()) ...
45
Image column is not decoded in map when using with with_transform ## Describe the bug Image column is not _decoded_ in **map** when using with `with_transform` ## Steps to reproduce the bug ```python from datasets import Image, Dataset def add_C(batch): batch["C"] = batch["A"] return batch ds = ...
[ -0.14673832058906555, -0.16224581003189087, 0.04135290905833244, 0.30567577481269836, 0.6214096546173096, 0.12093072384595871, 0.18931055068969727, 0.255818247795105, 0.33033737540245056, 0.01171787828207016, -0.24015967547893524, 0.7651689052581787, -0.0390632301568985, -0.192335069179534...
https://github.com/huggingface/datasets/issues/3990
Improve AutomaticSpeechRecognition task template
There is an open PR to do that: #3364. I just haven't had time to finish it...
**Is your feature request related to a problem? Please describe.** [AutomaticSpeechRecognition task template](https://github.com/huggingface/datasets/blob/master/src/datasets/tasks/automatic_speech_recognition.py) is outdated as it uses path to audiofile as an audio column instead of a Audio feature itself (I guess it...
17
Improve AutomaticSpeechRecognition task template **Is your feature request related to a problem? Please describe.** [AutomaticSpeechRecognition task template](https://github.com/huggingface/datasets/blob/master/src/datasets/tasks/automatic_speech_recognition.py) is outdated as it uses path to audiofile as an audio c...
[ -0.21498799324035645, -0.34678322076797485, -0.017444655299186707, -0.10449722409248352, 0.23595662415027618, -0.22555872797966003, 0.31238681077957153, 0.18227431178092957, 0.0016584359109401703, 0.28565874695777893, -0.07095949351787567, 0.3695850372314453, -0.19841407239437103, 0.191542...
https://github.com/huggingface/datasets/issues/3990
Improve AutomaticSpeechRecognition task template
> There is an open PR to do that: #3364. I just haven't had time to finish it... 😬 thanks...
**Is your feature request related to a problem? Please describe.** [AutomaticSpeechRecognition task template](https://github.com/huggingface/datasets/blob/master/src/datasets/tasks/automatic_speech_recognition.py) is outdated as it uses path to audiofile as an audio column instead of a Audio feature itself (I guess it...
20
Improve AutomaticSpeechRecognition task template **Is your feature request related to a problem? Please describe.** [AutomaticSpeechRecognition task template](https://github.com/huggingface/datasets/blob/master/src/datasets/tasks/automatic_speech_recognition.py) is outdated as it uses path to audiofile as an audio c...
[ -0.19852890074253082, -0.3698558211326599, -0.007338713854551315, -0.08667407929897308, 0.2447383850812912, -0.21593859791755676, 0.29793354868888855, 0.18088066577911377, 0.00783294066786766, 0.23916120827198029, -0.0635342225432396, 0.37600600719451904, -0.19434155523777008, 0.1996388435...
https://github.com/huggingface/datasets/issues/3986
Dataset loads indefinitely after modifying default cache path (~/.cache/huggingface)
Hi ! I didn't managed to reproduce the issue. When you kill the process, is there any stacktrace that shows at what point in the code python is hanging ?
## Describe the bug Dataset loads indefinitely after modifying cache path (~/.cache/huggingface) If none of the environment variables are set, this custom dataset loads fine ( json-based dataset with custom dataset load script) ** Update: Transformer modules faces the same issue as well during loading ## A clear ...
30
Dataset loads indefinitely after modifying default cache path (~/.cache/huggingface) ## Describe the bug Dataset loads indefinitely after modifying cache path (~/.cache/huggingface) If none of the environment variables are set, this custom dataset loads fine ( json-based dataset with custom dataset load script) **...
[ -0.13052263855934143, -0.017079301178455353, 0.07597944140434265, 0.19710089266300201, 0.23935110867023468, 0.12498069554567337, 0.35195180773735046, 0.029304873198270798, 0.3356303572654724, -0.15894125401973724, -0.24298885464668274, 0.20900148153305054, -0.13766060769557953, -0.18502604...
https://github.com/huggingface/datasets/issues/3986
Dataset loads indefinitely after modifying default cache path (~/.cache/huggingface)
Hi @lhoestq , I've traced the issue back to file locking. It's similar to this thread, using Lustre filesystem as well. https://github.com/huggingface/datasets/issues/329 . In this case the user was able to modify and add -o flock option while mounting and it solved the problem. However in other cases such as mine, ...
## Describe the bug Dataset loads indefinitely after modifying cache path (~/.cache/huggingface) If none of the environment variables are set, this custom dataset loads fine ( json-based dataset with custom dataset load script) ** Update: Transformer modules faces the same issue as well during loading ## A clear ...
85
Dataset loads indefinitely after modifying default cache path (~/.cache/huggingface) ## Describe the bug Dataset loads indefinitely after modifying cache path (~/.cache/huggingface) If none of the environment variables are set, this custom dataset loads fine ( json-based dataset with custom dataset load script) **...
[ -0.13052263855934143, -0.017079301178455353, 0.07597944140434265, 0.19710089266300201, 0.23935110867023468, 0.12498069554567337, 0.35195180773735046, 0.029304873198270798, 0.3356303572654724, -0.15894125401973724, -0.24298885464668274, 0.20900148153305054, -0.13766060769557953, -0.18502604...
https://github.com/huggingface/datasets/issues/3986
Dataset loads indefinitely after modifying default cache path (~/.cache/huggingface)
Hi @kelvinAI , I've had this issue on our institution's system which uses Lustre (in addition to our compute nodes being siloed off from external network access). The workaround I made for downloading/loading datasets was to set the `$HFHOME` environment variable to a location on the node's local storage (SSD), effecti...
## Describe the bug Dataset loads indefinitely after modifying cache path (~/.cache/huggingface) If none of the environment variables are set, this custom dataset loads fine ( json-based dataset with custom dataset load script) ** Update: Transformer modules faces the same issue as well during loading ## A clear ...
200
Dataset loads indefinitely after modifying default cache path (~/.cache/huggingface) ## Describe the bug Dataset loads indefinitely after modifying cache path (~/.cache/huggingface) If none of the environment variables are set, this custom dataset loads fine ( json-based dataset with custom dataset load script) **...
[ -0.13052263855934143, -0.017079301178455353, 0.07597944140434265, 0.19710089266300201, 0.23935110867023468, 0.12498069554567337, 0.35195180773735046, 0.029304873198270798, 0.3356303572654724, -0.15894125401973724, -0.24298885464668274, 0.20900148153305054, -0.13766060769557953, -0.18502604...
https://github.com/huggingface/datasets/issues/3986
Dataset loads indefinitely after modifying default cache path (~/.cache/huggingface)
Hi @jpmcd , thanks for sharing your experience. For my case, the Lustre filesystem (with more storage space) is the scratch storage like the one you've mentioned. We have a local storage for each user but unfortunately there's not enough space in it to 'cache' huge datasets, hence that is why I tried changing HF_HOME t...
## Describe the bug Dataset loads indefinitely after modifying cache path (~/.cache/huggingface) If none of the environment variables are set, this custom dataset loads fine ( json-based dataset with custom dataset load script) ** Update: Transformer modules faces the same issue as well during loading ## A clear ...
90
Dataset loads indefinitely after modifying default cache path (~/.cache/huggingface) ## Describe the bug Dataset loads indefinitely after modifying cache path (~/.cache/huggingface) If none of the environment variables are set, this custom dataset loads fine ( json-based dataset with custom dataset load script) **...
[ -0.13052263855934143, -0.017079301178455353, 0.07597944140434265, 0.19710089266300201, 0.23935110867023468, 0.12498069554567337, 0.35195180773735046, 0.029304873198270798, 0.3356303572654724, -0.15894125401973724, -0.24298885464668274, 0.20900148153305054, -0.13766060769557953, -0.18502604...
https://github.com/huggingface/datasets/issues/3986
Dataset loads indefinitely after modifying default cache path (~/.cache/huggingface)
@jpmcd your comment saved me from pulling my hair out in frustration. Setting `HF_HOME` to a directory that's not on Lustre works like a charm. ✨
## Describe the bug Dataset loads indefinitely after modifying cache path (~/.cache/huggingface) If none of the environment variables are set, this custom dataset loads fine ( json-based dataset with custom dataset load script) ** Update: Transformer modules faces the same issue as well during loading ## A clear ...
26
Dataset loads indefinitely after modifying default cache path (~/.cache/huggingface) ## Describe the bug Dataset loads indefinitely after modifying cache path (~/.cache/huggingface) If none of the environment variables are set, this custom dataset loads fine ( json-based dataset with custom dataset load script) **...
[ -0.13052263855934143, -0.017079301178455353, 0.07597944140434265, 0.19710089266300201, 0.23935110867023468, 0.12498069554567337, 0.35195180773735046, 0.029304873198270798, 0.3356303572654724, -0.15894125401973724, -0.24298885464668274, 0.20900148153305054, -0.13766060769557953, -0.18502604...
https://github.com/huggingface/datasets/issues/3984
Local and automatic tests fail
Hi ! To be able to run the tests, you need to install all the test dependencies and additional ones with ``` pip install -e .[tests] pip install -r additional-tests-requirements.txt --no-deps ``` In particular, you probably need to `sacrebleu`. It looks like it wasn't able to instantiate `sacrebleu.TER` properly...
## Describe the bug Running the tests from CircleCI on a PR or locally fails, even with no changes. Tests seem to fail on `test_metric_common.py` ## Steps to reproduce the bug ```shell git clone https://huggingface/datasets.git cd datasets ``` ```python python -m pip install -e . pytest ``` ## Expected...
49
Local and automatic tests fail ## Describe the bug Running the tests from CircleCI on a PR or locally fails, even with no changes. Tests seem to fail on `test_metric_common.py` ## Steps to reproduce the bug ```shell git clone https://huggingface/datasets.git cd datasets ``` ```python python -m pip install ...
[ -0.11178280413150787, -0.2659801244735718, -0.01610993593931198, 0.18423286080360413, 0.13711313903331757, -0.05685305595397949, 0.12387998402118683, 0.3405487537384033, 0.14958922564983368, 0.34217268228530884, 0.04628872126340866, 0.30763205885887146, -0.16629762947559357, 0.229870632290...
https://github.com/huggingface/datasets/issues/3983
Infinitely attempting lock
Hi ! Thanks for reporting. We're using filelock` as our locking mechanism. Can you try deleting the .lock file mentioned in the logs and try again ? Make sure that no other process is generating the `cnn_dailymail` dataset. If it doesn't work, could you try to set up a lock using the latest version of filelock` ...
I am trying to run one of the examples of the `transformers` repo, which makes use of `datasets`. Important to note is that I am trying to run this via a Databricks notebook, and all the files reside in the Databricks Filesystem (DBFS). ``` %sh python /dbfs/transformers/examples/pytorch/summarization/run_summariz...
97
Infinitely attempting lock I am trying to run one of the examples of the `transformers` repo, which makes use of `datasets`. Important to note is that I am trying to run this via a Databricks notebook, and all the files reside in the Databricks Filesystem (DBFS). ``` %sh python /dbfs/transformers/examples/pytor...
[ -0.3298415541648865, 0.20496174693107605, -0.022750629112124443, 0.15265598893165588, 0.3330145478248596, 0.053330935537815094, 0.43074479699134827, 0.23334263265132904, 0.1402670294046402, 0.009987883269786835, -0.03705335408449173, 0.04263195022940636, -0.10390257090330124, -0.3476852476...
https://github.com/huggingface/datasets/issues/3983
Infinitely attempting lock
I ran into this problem on my school server as well? Any update on how we can solve it? Thanks!
I am trying to run one of the examples of the `transformers` repo, which makes use of `datasets`. Important to note is that I am trying to run this via a Databricks notebook, and all the files reside in the Databricks Filesystem (DBFS). ``` %sh python /dbfs/transformers/examples/pytorch/summarization/run_summariz...
20
Infinitely attempting lock I am trying to run one of the examples of the `transformers` repo, which makes use of `datasets`. Important to note is that I am trying to run this via a Databricks notebook, and all the files reside in the Databricks Filesystem (DBFS). ``` %sh python /dbfs/transformers/examples/pytor...
[ -0.3298415541648865, 0.20496174693107605, -0.022750629112124443, 0.15265598893165588, 0.3330145478248596, 0.053330935537815094, 0.43074479699134827, 0.23334263265132904, 0.1402670294046402, 0.009987883269786835, -0.03705335408449173, 0.04263195022940636, -0.10390257090330124, -0.3476852476...
https://github.com/huggingface/datasets/issues/3983
Infinitely attempting lock
Have you tried running the code above to check if FileLock works in your setup ? You may also be interested in checking the https://github.com/tox-dev/filelock repository for issues
I am trying to run one of the examples of the `transformers` repo, which makes use of `datasets`. Important to note is that I am trying to run this via a Databricks notebook, and all the files reside in the Databricks Filesystem (DBFS). ``` %sh python /dbfs/transformers/examples/pytorch/summarization/run_summariz...
28
Infinitely attempting lock I am trying to run one of the examples of the `transformers` repo, which makes use of `datasets`. Important to note is that I am trying to run this via a Databricks notebook, and all the files reside in the Databricks Filesystem (DBFS). ``` %sh python /dbfs/transformers/examples/pytor...
[ -0.3298415541648865, 0.20496174693107605, -0.022750629112124443, 0.15265598893165588, 0.3330145478248596, 0.053330935537815094, 0.43074479699134827, 0.23334263265132904, 0.1402670294046402, 0.009987883269786835, -0.03705335408449173, 0.04263195022940636, -0.10390257090330124, -0.3476852476...
https://github.com/huggingface/datasets/issues/3983
Infinitely attempting lock
Can you try using a different cache directory ? Maybe there are permissions issues with the default one. You can do so by passing `cache_dir=...` to load_dataset()
I am trying to run one of the examples of the `transformers` repo, which makes use of `datasets`. Important to note is that I am trying to run this via a Databricks notebook, and all the files reside in the Databricks Filesystem (DBFS). ``` %sh python /dbfs/transformers/examples/pytorch/summarization/run_summariz...
27
Infinitely attempting lock I am trying to run one of the examples of the `transformers` repo, which makes use of `datasets`. Important to note is that I am trying to run this via a Databricks notebook, and all the files reside in the Databricks Filesystem (DBFS). ``` %sh python /dbfs/transformers/examples/pytor...
[ -0.3298415541648865, 0.20496174693107605, -0.022750629112124443, 0.15265598893165588, 0.3330145478248596, 0.053330935537815094, 0.43074479699134827, 0.23334263265132904, 0.1402670294046402, 0.009987883269786835, -0.03705335408449173, 0.04263195022940636, -0.10390257090330124, -0.3476852476...
https://github.com/huggingface/datasets/issues/3978
I can't view HFcallback dataset for ASR Space
the dataset viewer is working on this dataset. I imagine the issue is that we would expect to be able to listen to the audio files in the `Please Record Your Voice file` column, right? maybe @lhoestq or @albertvillanova could help <img width="1019" alt="Capture d’écran 2022-03-24 à 17 36 20" src="https://user-i...
## Dataset viewer issue for '*Urdu-ASR-flags*' **Link:** *[link to the dataset viewer page](https://huggingface.co/datasets/kingabzpro/Urdu-ASR-flags)* *I think dataset should show some thing and if you want me to add script, please show me the documentation. I thought this was suppose to be automatic task.* A...
51
I can't view HFcallback dataset for ASR Space ## Dataset viewer issue for '*Urdu-ASR-flags*' **Link:** *[link to the dataset viewer page](https://huggingface.co/datasets/kingabzpro/Urdu-ASR-flags)* *I think dataset should show some thing and if you want me to add script, please show me the documentation. I thou...
[ -0.2916872501373291, -0.14214424788951874, -0.03837377205491066, 0.30713239312171936, 0.0016789622604846954, 0.377657026052475, -0.11794814467430115, 0.2751254737377167, -0.38314664363861084, 0.3440394699573517, -0.1850821077823639, -0.1555975377559662, -0.2009933441877365, -0.087787047028...
https://github.com/huggingface/datasets/issues/3978
I can't view HFcallback dataset for ASR Space
The structure of the dataset is not supported. Only the CSV file is parsed and the audio files are ignored. We're working on supporting audio datasets with a specific structure in #3963
## Dataset viewer issue for '*Urdu-ASR-flags*' **Link:** *[link to the dataset viewer page](https://huggingface.co/datasets/kingabzpro/Urdu-ASR-flags)* *I think dataset should show some thing and if you want me to add script, please show me the documentation. I thought this was suppose to be automatic task.* A...
32
I can't view HFcallback dataset for ASR Space ## Dataset viewer issue for '*Urdu-ASR-flags*' **Link:** *[link to the dataset viewer page](https://huggingface.co/datasets/kingabzpro/Urdu-ASR-flags)* *I think dataset should show some thing and if you want me to add script, please show me the documentation. I thou...
[ -0.3399888277053833, -0.1958574652671814, -0.05082947760820389, 0.2812016010284424, -0.03153752535581589, 0.3359983265399933, -0.13354772329330444, 0.2814232110977173, -0.34380003809928894, 0.3145844042301178, -0.12042275816202164, -0.11392498761415482, -0.25036242604255676, 0.015525506809...
https://github.com/huggingface/datasets/issues/3978
I can't view HFcallback dataset for ASR Space
Current error: ``` Error code: StreamingRowsError Exception: LibsndfileError Message: Error opening <File-like object HfFileSystem, datasets/kingabzpro/Urdu-ASR-flags@6a8878cfe3a41343fa86ec8b4254209fe56a0f0d/Please Record Your Voice/0.wav>: Format not recognised. Traceback: Traceback (most recent ca...
## Dataset viewer issue for '*Urdu-ASR-flags*' **Link:** *[link to the dataset viewer page](https://huggingface.co/datasets/kingabzpro/Urdu-ASR-flags)* *I think dataset should show some thing and if you want me to add script, please show me the documentation. I thought this was suppose to be automatic task.* A...
169
I can't view HFcallback dataset for ASR Space ## Dataset viewer issue for '*Urdu-ASR-flags*' **Link:** *[link to the dataset viewer page](https://huggingface.co/datasets/kingabzpro/Urdu-ASR-flags)* *I think dataset should show some thing and if you want me to add script, please show me the documentation. I thou...
[ -0.3493629992008209, -0.28385215997695923, -0.0034875907003879547, 0.3012472987174988, 0.035953156650066376, 0.2371683120727539, -0.17648769915103912, 0.37999817728996277, -0.5007169246673584, 0.21873793005943298, -0.1066216230392456, -0.10532714426517487, -0.2949771285057068, 0.0900734737...
https://github.com/huggingface/datasets/issues/3973
ConnectionError and SSLError
Hi ! You can download the `oscar.py` file from this repository at `/datasets/oscar/oscar.py`. Then you can load the dataset by passing the local path to `oscar.py` to `load_dataset`: ```python load_dataset("path/to/oscar.py", "unshuffled_deduplicated_it") ```
code ``` from datasets import load_dataset dataset = load_dataset('oscar', 'unshuffled_deduplicated_it') ``` bug report ``` --------------------------------------------------------------------------- ConnectionError Traceback (most recent call last) ~\AppData\Local\Temp/ipykernel_2978...
32
ConnectionError and SSLError code ``` from datasets import load_dataset dataset = load_dataset('oscar', 'unshuffled_deduplicated_it') ``` bug report ``` --------------------------------------------------------------------------- ConnectionError Traceback (most recent call last) ~\A...
[ -0.5248149633407593, 0.040523141622543335, -0.12303261458873749, 0.07250326871871948, 0.30416011810302734, -0.08617375046014786, 0.3794281780719757, 0.3197903633117676, 0.16575418412685394, 0.12612494826316833, -0.03680258244276047, 0.15446390211582184, 0.029570039361715317, 0.241548582911...
https://github.com/huggingface/datasets/issues/3973
ConnectionError and SSLError
it works,but another error occurs. ``` ConnectionError: Couldn't reach https://s3.amazonaws.com/datasets.huggingface.co/oscar/1.0/unshuffled/deduplicated/it/it_sha256.txt (SSLError(MaxRetryError("HTTPSConnectionPool(host='s3.amazonaws.com', port=443): Max retries exceeded with url: /datasets.huggingface.co/oscar/1.0/...
code ``` from datasets import load_dataset dataset = load_dataset('oscar', 'unshuffled_deduplicated_it') ``` bug report ``` --------------------------------------------------------------------------- ConnectionError Traceback (most recent call last) ~\AppData\Local\Temp/ipykernel_2978...
49
ConnectionError and SSLError code ``` from datasets import load_dataset dataset = load_dataset('oscar', 'unshuffled_deduplicated_it') ``` bug report ``` --------------------------------------------------------------------------- ConnectionError Traceback (most recent call last) ~\A...
[ -0.5248149633407593, 0.040523141622543335, -0.12303261458873749, 0.07250326871871948, 0.30416011810302734, -0.08617375046014786, 0.3794281780719757, 0.3197903633117676, 0.16575418412685394, 0.12612494826316833, -0.03680258244276047, 0.15446390211582184, 0.029570039361715317, 0.241548582911...
https://github.com/huggingface/datasets/issues/3973
ConnectionError and SSLError
you are so wise! it report [ConnectionError] in python 3.9.7 and works well in python 3.8.12 I need you help again: how can I specify the path for download files? the data is too large and my C hardware is not enough
code ``` from datasets import load_dataset dataset = load_dataset('oscar', 'unshuffled_deduplicated_it') ``` bug report ``` --------------------------------------------------------------------------- ConnectionError Traceback (most recent call last) ~\AppData\Local\Temp/ipykernel_2978...
42
ConnectionError and SSLError code ``` from datasets import load_dataset dataset = load_dataset('oscar', 'unshuffled_deduplicated_it') ``` bug report ``` --------------------------------------------------------------------------- ConnectionError Traceback (most recent call last) ~\A...
[ -0.5248149633407593, 0.040523141622543335, -0.12303261458873749, 0.07250326871871948, 0.30416011810302734, -0.08617375046014786, 0.3794281780719757, 0.3197903633117676, 0.16575418412685394, 0.12612494826316833, -0.03680258244276047, 0.15446390211582184, 0.029570039361715317, 0.241548582911...
https://github.com/huggingface/datasets/issues/3973
ConnectionError and SSLError
Cool ! And you can specify the path for download files with to the `cache_dir` parameter: ```python from datasets import load_dataset dataset = load_dataset('oscar', 'unshuffled_deduplicated_it', cache_dir='path/to/directory')
code ``` from datasets import load_dataset dataset = load_dataset('oscar', 'unshuffled_deduplicated_it') ``` bug report ``` --------------------------------------------------------------------------- ConnectionError Traceback (most recent call last) ~\AppData\Local\Temp/ipykernel_2978...
26
ConnectionError and SSLError code ``` from datasets import load_dataset dataset = load_dataset('oscar', 'unshuffled_deduplicated_it') ``` bug report ``` --------------------------------------------------------------------------- ConnectionError Traceback (most recent call last) ~\A...
[ -0.5248149633407593, 0.040523141622543335, -0.12303261458873749, 0.07250326871871948, 0.30416011810302734, -0.08617375046014786, 0.3794281780719757, 0.3197903633117676, 0.16575418412685394, 0.12612494826316833, -0.03680258244276047, 0.15446390211582184, 0.029570039361715317, 0.241548582911...
https://github.com/huggingface/datasets/issues/3973
ConnectionError and SSLError
It takes me some days to download data completely, Despise sometimes it occurs again, change py version is feasible way to avoid this ConnectionEror. parameter `cache_dir` works well, thanks for your kindness again!
code ``` from datasets import load_dataset dataset = load_dataset('oscar', 'unshuffled_deduplicated_it') ``` bug report ``` --------------------------------------------------------------------------- ConnectionError Traceback (most recent call last) ~\AppData\Local\Temp/ipykernel_2978...
33
ConnectionError and SSLError code ``` from datasets import load_dataset dataset = load_dataset('oscar', 'unshuffled_deduplicated_it') ``` bug report ``` --------------------------------------------------------------------------- ConnectionError Traceback (most recent call last) ~\A...
[ -0.5248149633407593, 0.040523141622543335, -0.12303261458873749, 0.07250326871871948, 0.30416011810302734, -0.08617375046014786, 0.3794281780719757, 0.3197903633117676, 0.16575418412685394, 0.12612494826316833, -0.03680258244276047, 0.15446390211582184, 0.029570039361715317, 0.241548582911...
https://github.com/huggingface/datasets/issues/3969
Cannot preview cnn_dailymail dataset
I guess the cache got corrupted due to a previous issue with Google Drive service. The cache should be regenerated, e.g. by passing `download_mode="force_redownload"`. CC: @severo
## Dataset viewer issue for '*cnn_dailymail*' **Link:** https://huggingface.co/datasets/cnn_dailymail *short description of the issue* Am I the one who added this dataset ? Yes-No
26
Cannot preview cnn_dailymail dataset ## Dataset viewer issue for '*cnn_dailymail*' **Link:** https://huggingface.co/datasets/cnn_dailymail *short description of the issue* Am I the one who added this dataset ? Yes-No I guess the cache got corrupted due to a previous issue with Google Drive service. Th...
[ -0.3001445531845093, 0.10037173330783844, -0.02951088361442089, 0.2527269124984741, -0.036571308970451355, 0.4788869321346283, 0.3518632650375366, 0.1342160701751709, -0.10761050879955292, 0.08160555362701416, 0.018579868599772453, -0.06810785830020905, -0.12971898913383484, 0.133021980524...
https://github.com/huggingface/datasets/issues/3969
Cannot preview cnn_dailymail dataset
Note that the dataset preview uses its own cache, not `datasets`' cache. So `download_mode="force_redownload"` doesn't help. But yes indeed the cache must be refreshed. The CNN Dailymail dataste is currently hosted on Google Drive, which is an unreliable host and we've had many issues with it. Unless we found anothe...
## Dataset viewer issue for '*cnn_dailymail*' **Link:** https://huggingface.co/datasets/cnn_dailymail *short description of the issue* Am I the one who added this dataset ? Yes-No
81
Cannot preview cnn_dailymail dataset ## Dataset viewer issue for '*cnn_dailymail*' **Link:** https://huggingface.co/datasets/cnn_dailymail *short description of the issue* Am I the one who added this dataset ? Yes-No Note that the dataset preview uses its own cache, not `datasets`' cache. So `download_mo...
[ -0.28775128722190857, -0.07821327447891235, 0.025702621787786484, 0.19938838481903076, -0.051407456398010254, 0.40687084197998047, 0.21872003376483917, 0.0937289148569107, -0.014024986885488033, -0.09562815725803375, -0.07784461230039597, 0.009628725238144398, -0.15789379179477692, 0.10014...
https://github.com/huggingface/datasets/issues/3969
Cannot preview cnn_dailymail dataset
I remove the tag dataset-viewer, since it's more an issue with the hosting on Google Drive
## Dataset viewer issue for '*cnn_dailymail*' **Link:** https://huggingface.co/datasets/cnn_dailymail *short description of the issue* Am I the one who added this dataset ? Yes-No
16
Cannot preview cnn_dailymail dataset ## Dataset viewer issue for '*cnn_dailymail*' **Link:** https://huggingface.co/datasets/cnn_dailymail *short description of the issue* Am I the one who added this dataset ? Yes-No I remove the tag dataset-viewer, since it's more an issue with the hosting on Google Dri...
[ -0.24904270470142365, -0.030645549297332764, -0.024633517488837242, 0.21047787368297577, -0.0485682487487793, 0.38475993275642395, 0.39278069138526917, 0.08987726271152496, -0.048035092651844025, 0.15831230580806732, 0.01445896178483963, -0.0029104941058903933, -0.21348413825035095, 0.2687...
https://github.com/huggingface/datasets/issues/3969
Cannot preview cnn_dailymail dataset
Sounds good. I was looking for another host of this dataset but couldn't find any (yet)
## Dataset viewer issue for '*cnn_dailymail*' **Link:** https://huggingface.co/datasets/cnn_dailymail *short description of the issue* Am I the one who added this dataset ? Yes-No
16
Cannot preview cnn_dailymail dataset ## Dataset viewer issue for '*cnn_dailymail*' **Link:** https://huggingface.co/datasets/cnn_dailymail *short description of the issue* Am I the one who added this dataset ? Yes-No Sounds good. I was looking for another host of this dataset but couldn't find any (yet)
[ -0.21710306406021118, -0.21725307404994965, 0.02666570618748665, 0.21403074264526367, -0.16017720103263855, 0.3883538842201233, 0.37028151750564575, -0.019497644156217575, -0.07847286015748978, 0.07877375185489655, -0.08251285552978516, 0.027586914598941803, -0.29463204741477966, 0.0952449...
https://github.com/huggingface/datasets/issues/3969
Cannot preview cnn_dailymail dataset
It seems like the issue is with the streaming mode, not with the hosting: ```python >>> import datasets >>> dataset = datasets.load_dataset('cnn_dailymail', name="3.0.0", split="train", streaming=True, download_mode="force_redownload") Downloading builder script: 9.35kB [00:00, 10.2MB/s] Downloading metadata: 9....
## Dataset viewer issue for '*cnn_dailymail*' **Link:** https://huggingface.co/datasets/cnn_dailymail *short description of the issue* Am I the one who added this dataset ? Yes-No
101
Cannot preview cnn_dailymail dataset ## Dataset viewer issue for '*cnn_dailymail*' **Link:** https://huggingface.co/datasets/cnn_dailymail *short description of the issue* Am I the one who added this dataset ? Yes-No It seems like the issue is with the streaming mode, not with the hosting: ```python ...
[ -0.24319612979888916, -0.13574755191802979, 0.02651495859026909, 0.14626958966255188, 0.18964867293834686, 0.23447176814079285, 0.2769341468811035, 0.17176967859268188, -0.18251776695251465, 0.04528602212667465, -0.1151527538895607, -0.020840726792812347, -0.29062619805336, 0.1923891603946...
https://github.com/huggingface/datasets/issues/3969
Cannot preview cnn_dailymail dataset
Well this is because the host (Google Drive) returns a document that is not the actual data, but an error page
## Dataset viewer issue for '*cnn_dailymail*' **Link:** https://huggingface.co/datasets/cnn_dailymail *short description of the issue* Am I the one who added this dataset ? Yes-No
21
Cannot preview cnn_dailymail dataset ## Dataset viewer issue for '*cnn_dailymail*' **Link:** https://huggingface.co/datasets/cnn_dailymail *short description of the issue* Am I the one who added this dataset ? Yes-No Well this is because the host (Google Drive) returns a document that is not the actual d...
[ -0.2201511412858963, -0.11768405139446259, 0.008099440485239029, 0.2750418782234192, -0.15785102546215057, 0.4535069763660431, 0.2774330973625183, 0.1022179126739502, -0.04836881160736084, 0.1661633551120758, -0.03559994697570801, -0.05258483812212944, -0.18076083064079285, 0.1826715171337...
https://github.com/huggingface/datasets/issues/3969
Cannot preview cnn_dailymail dataset
Yes it definitely should ! I don't have the bandwidth to work on this right now though
## Dataset viewer issue for '*cnn_dailymail*' **Link:** https://huggingface.co/datasets/cnn_dailymail *short description of the issue* Am I the one who added this dataset ? Yes-No
17
Cannot preview cnn_dailymail dataset ## Dataset viewer issue for '*cnn_dailymail*' **Link:** https://huggingface.co/datasets/cnn_dailymail *short description of the issue* Am I the one who added this dataset ? Yes-No Yes it definitely should ! I don't have the bandwidth to work on this right now though
[ -0.24307774007320404, -0.032006166875362396, -0.031947799026966095, 0.20547287166118622, -0.07797852903604507, 0.35017046332359314, 0.3647359013557434, 0.03610582277178764, -0.14289765059947968, 0.07101477682590485, 0.04543665051460266, 0.1317959874868393, -0.21722356975078583, 0.304309785...
https://github.com/huggingface/datasets/issues/3969
Cannot preview cnn_dailymail dataset
Indeed, streaming was not supported: tgz archives were not properly iterated. I've opened a PR to support streaming. However, keep in mind that Google Drive will keep generating issues from time to time, like 403,...
## Dataset viewer issue for '*cnn_dailymail*' **Link:** https://huggingface.co/datasets/cnn_dailymail *short description of the issue* Am I the one who added this dataset ? Yes-No
35
Cannot preview cnn_dailymail dataset ## Dataset viewer issue for '*cnn_dailymail*' **Link:** https://huggingface.co/datasets/cnn_dailymail *short description of the issue* Am I the one who added this dataset ? Yes-No Indeed, streaming was not supported: tgz archives were not properly iterated. I've op...
[ -0.31388211250305176, -0.0006066113710403442, 0.07984362542629242, 0.12819825112819672, -0.09457442164421082, 0.4155948758125305, 0.30226778984069824, 0.03997304290533066, -0.28848332166671753, 0.10472698509693146, 0.00599486380815506, -0.1303759217262268, -0.2775116562843323, 0.3053118884...