id stringlengths 18 24 | number int64 2 8.48k | title stringlengths 1 290 | body stringlengths 0 228k | state stringclasses 2
values | createdAt timestamp[s]date 2020-04-14 18:18:51 2026-08-13 03:02:44 | updatedAt timestamp[s]date 2020-04-29 09:23:05 2026-08-15 04:47:12 | closedAt timestamp[s]date 2020-04-29 09:23:05 2026-07-28 10:29:56 ⌀ | url stringlengths 48 51 | author dict | labels dict | comments listlengths 0 30 |
|---|---|---|---|---|---|---|---|---|---|---|---|
MDU6SXNzdWU3ODczMjcwNjA= | 1,741 | error when run fine_tuning on text_classification | dataset:sem_eval_2014_task_1
pretrained_model:bert-base-uncased
error description:
when i use these resoruce to train fine_tuning a text_classification on sem_eval_2014_task_1,there always be some problem(when i use other dataset ,there exist the error too). And i followed the colab code (url:https://colab.researc... | CLOSED | 2021-01-16T02:23:19 | 2021-01-16T02:39:28 | 2021-01-16T02:39:18 | https://github.com/huggingface/datasets/issues/1741 | {
"login": "XiaoYang66"
} | {
"nodes": []
} | [
"none"
] |
MDU6SXNzdWU3ODQ5MDMwMDI= | 1,733 | connection issue with glue, what is the data url for glue? | Hi
my codes sometimes fails due to connection issue with glue, could you tell me how I can have the URL datasets library is trying to read GLUE from to test the machines I am working on if there is an issue on my side or not
thanks | CLOSED | 2021-01-13T08:37:40 | 2021-08-04T18:13:55 | 2021-08-04T18:13:55 | https://github.com/huggingface/datasets/issues/1733 | null | {
"nodes": []
} | [
"Hello @juliahane, which config of GLUE causes you trouble?\r\nThe URLs are defined in the dataset script source code: https://github.com/huggingface/datasets/blob/master/datasets/glue/glue.py"
] |
MDU6SXNzdWU3ODQ3NDQ2NzQ= | 1,731 | Couldn't reach swda.py | ConnectionError: Couldn't reach https://raw.githubusercontent.com/huggingface/datasets/1.2.0/datasets/swda/swda.py
| CLOSED | 2021-01-13T02:57:40 | 2021-01-13T11:17:40 | 2021-01-13T11:17:40 | https://github.com/huggingface/datasets/issues/1731 | {
"login": "yangp725"
} | {
"nodes": []
} | [
"Hi @yangp725,\r\nThe SWDA has been added very recently and has not been released yet, thus it is not available in the `1.2.0` version of 🤗`datasets`.\r\nYou can still access it by installing the latest version of the library (master branch), by following instructions in [this issue](https://github.com/huggingface... |
MDU6SXNzdWU3ODQ1NjU4OTg= | 1,729 | Is there support for Deep learning datasets? | I looked around this repository and looking the datasets I think that there's no support for images-datasets. Or am I missing something? For example to add a repo like this https://github.com/DZPeru/fish-datasets | CLOSED | 2021-01-12T20:22:41 | 2021-03-31T04:24:07 | 2021-03-31T04:24:07 | https://github.com/huggingface/datasets/issues/1729 | {
"login": "pablodz"
} | {
"nodes": []
} | [
"Hi @ZurMaD!\r\nThanks for your interest in 🤗 `datasets`. Support for image datasets is at an early stage, with CIFAR-10 added in #1617 \r\nMNIST is also on the way: #1730 \r\n\r\nIf you feel like adding another image dataset, I would advise starting by reading the [ADD_NEW_DATASET.md](https://github.com/huggingfa... |
MDU6SXNzdWU3ODQ0NTgzNDI= | 1,728 | Add an entry to an arrow dataset | Is it possible to add an entry to a dataset object?
**Motivation: I want to transform the sentences in the dataset and add them to the original dataset**
For example, say we have the following code:
``` python
from datasets import load_dataset
# Load a dataset and print the first examples in the training s... | CLOSED | 2021-01-12T18:01:47 | 2021-01-18T19:15:32 | 2021-01-18T19:15:32 | https://github.com/huggingface/datasets/issues/1728 | {
"login": "ameet-1997"
} | {
"nodes": []
} | [
"Hi @ameet-1997,\r\nI think what you are looking for is the `concatenate_datasets` function: https://huggingface.co/docs/datasets/processing.html?highlight=concatenate#concatenate-several-datasets\r\n\r\nFor your use case, I would use the [`map` method](https://huggingface.co/docs/datasets/processing.html?highlight... |
MDU6SXNzdWU3ODQ0MzUxMzE= | 1,727 | BLEURT score calculation raises UnrecognizedFlagError | Calling the `compute` method for **bleurt** metric fails with an `UnrecognizedFlagError` for `FLAGS.bleurt_batch_size`.
My environment:
```
python==3.8.5
datasets==1.2.0
tensorflow==2.3.1
cudatoolkit==11.0.221
```
Test code for reproducing the error:
```
from datasets import load_metric
bleurt = load_me... | CLOSED | 2021-01-12T17:27:02 | 2022-06-01T16:06:02 | 2022-06-01T16:06:02 | https://github.com/huggingface/datasets/issues/1727 | {
"login": "nadavo"
} | {
"nodes": []
} | [
"Upgrading tensorflow to version 2.4.0 solved the issue.",
"I still have the same error even with TF 2.4.0.",
"And I have the same error with TF 2.4.1. I believe this issue should be reopened. Any ideas?!",
"I'm seeing the same issue with TF 2.4.1 when running the following in https://colab.research.google.co... |
MDU6SXNzdWU3ODQxODIyNzM= | 1,725 | load the local dataset | your guidebook's example is like
>>>from datasets import load_dataset
>>> dataset = load_dataset('json', data_files='my_file.json')
but the first arg is path...
so how should i do if i want to load the local dataset for model training?
i will be grateful if you can help me handle this problem!
thanks a lot! | CLOSED | 2021-01-12T12:12:55 | 2022-06-01T16:00:59 | 2022-06-01T16:00:59 | https://github.com/huggingface/datasets/issues/1725 | {
"login": "xinjicong"
} | {
"nodes": []
} | [
"You should rephrase your question or give more examples and details on what you want to do.\r\n\r\nit’s not possible to understand it and help you with only this information.",
"sorry for that.\r\ni want to know how could i load the train set and the test set from the local ,which api or function should i use .\... |
MDU6SXNzdWU3ODQwMjMzMzg= | 1,724 | could not run models on a offline server successfully | Hi, I really need your help about this.
I am trying to fine-tuning a RoBERTa on a remote server, which is strictly banning internet. I try to install all the packages by hand and try to run run_mlm.py on the server. It works well on colab, but when I try to run it on this offline server, it shows:
 and in the [dataset addition guide](https://github.com/huggingface/datasets/blob... |
MDU6SXNzdWU3ODIzMzc3MjM= | 1,713 | Installation using conda | Will a conda package for installing datasets be added to the huggingface conda channel? I have installed transformers using conda and would like to use the datasets library to use some of the scripts in the transformers/examples folder but am unable to do so at the moment as datasets can only be installed using pip and... | CLOSED | 2021-01-08T19:12:15 | 2021-09-17T12:47:40 | 2021-09-17T12:47:40 | https://github.com/huggingface/datasets/issues/1713 | {
"login": "pranav-s"
} | {
"nodes": []
} | [
"Yes indeed the idea is to have the next release on conda cc @LysandreJik ",
"Great! Did you guys have a timeframe in mind for the next release?\r\n\r\nThank you for all the great work in developing this library.",
"I think we can have `datasets` on conda by next week. Will see what I can do!",
"Thank you. Lo... |
MDU6SXNzdWU3ODE5MTQ5NTE= | 1,710 | IsADirectoryError when trying to download C4 | **TLDR**:
I fail to download C4 and see a stacktrace originating in `IsADirectoryError` as an explanation for failure.
How can the problem be fixed?
**VERBOSE**:
I use Python version 3.7 and have the following dependencies listed in my project:
```
datasets==1.2.0
apache-beam==2.26.0
```
When runn... | CLOSED | 2021-01-08T07:31:30 | 2022-08-04T11:56:10 | 2022-08-04T11:55:04 | https://github.com/huggingface/datasets/issues/1710 | {
"login": "fredriko"
} | {
"nodes": []
} | [
"I haven't tested C4 on my side so there so there may be a few bugs in the code/adjustments to make.\r\nHere it looks like in c4.py, line 190 one of the `files_to_download` is `'/'` which is invalid.\r\nValid files are paths to local files or URLs to remote files.",
"Fixed once processed data is used instead:\r\n... |
MDU6SXNzdWU3ODE4NzU2NDA= | 1,709 | Databases | ## Adding a Dataset
- **Name:** *name of the dataset*
- **Description:** *short description of the dataset (or link to social media or blog post)*
- **Paper:** *link to the dataset paper if available*
- **Data:** *link to the Github repository or current dataset location*
- **Motivation:** *what are some good reasons t... | CLOSED | 2021-01-08T06:14:03 | 2021-01-08T09:00:08 | 2021-01-08T09:00:08 | https://github.com/huggingface/datasets/issues/1709 | {
"login": "JimmyJim1"
} | {
"nodes": []
} | [] |
MDU6SXNzdWU3ODE2MzE0NTU= | 1,708 | <html dir="ltr" lang="en" class="focus-outline-visible"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> | ## Adding a Dataset
- **Name:** *name of the dataset*
- **Description:** *short description of the dataset (or link to social media or blog post)*
- **Paper:** *link to the dataset paper if available*
- **Data:** *link to the Github repository or current dataset location*
- **Motivation:** *what are some good reasons t... | CLOSED | 2021-01-07T21:45:24 | 2021-01-08T09:00:01 | 2021-01-08T09:00:01 | https://github.com/huggingface/datasets/issues/1708 | {
"login": "Louiejay54"
} | {
"nodes": []
} | [] |
MDU6SXNzdWU3ODE0OTQ0NzY= | 1,706 | Error when downloading a large dataset on slow connection. | I receive the following error after about an hour trying to download the `openwebtext` dataset.
The code used is:
```python
import datasets
datasets.load_dataset("openwebtext")
```
> Traceback (most recent call last): ... | OPEN | 2021-01-07T17:48:15 | 2026-05-21T23:27:51 | null | https://github.com/huggingface/datasets/issues/1706 | {
"login": "lucadiliello"
} | {
"nodes": []
} | [
"Hi ! Is this an issue you have with `openwebtext` specifically or also with other datasets ?\r\n\r\nIt looks like the downloaded file is corrupted and can't be extracted using `tarfile`.\r\nCould you try loading it again with \r\n```python\r\nimport datasets\r\ndatasets.load_dataset(\"openwebtext\", download_mode=... |
MDU6SXNzdWU3ODEzNDU3MTc= | 1,701 | Some datasets miss dataset_infos.json or dummy_data.zip | While working on dataset REAME generation script at https://github.com/madlag/datasets_readme_generator , I noticed that some datasets miss a dataset_infos.json :
```
c4
lm1b
reclor
wikihow
```
And some does not have a dummy_data.zip :
```
kor_nli
math_dataset
mlqa
ms_marco
newsgroup
qa4mre
qanga... | CLOSED | 2021-01-07T14:17:13 | 2022-11-04T15:11:16 | 2022-11-04T15:06:00 | https://github.com/huggingface/datasets/issues/1701 | {
"login": "madlag"
} | {
"nodes": []
} | [
"Thanks for reporting.\r\nWe should indeed add all the missing dummy_data.zip and also the dataset_infos.json at least for lm1b, reclor and wikihow.\r\n\r\nFor c4 I haven't tested the script and I think we'll require some optimizations regarding beam datasets before processing it.\r\n",
"Closing since the dummy d... |
MDU6SXNzdWU3ODEwOTY5MTg= | 1,696 | Unable to install datasets | ** Edit **
I believe there's a bug with the package when you're installing it with Python 3.9. I recommend sticking with previous versions. Thanks, @thomwolf for the insight!
**Short description**
I followed the instructions for installing datasets (https://huggingface.co/docs/datasets/installation.html). Howev... | CLOSED | 2021-01-07T07:24:37 | 2021-01-08T00:33:05 | 2021-01-07T22:06:05 | https://github.com/huggingface/datasets/issues/1696 | {
"login": "glee2429"
} | {
"nodes": []
} | [
"Maybe try to create a virtual env with python 3.8 or 3.7",
"Thanks, @thomwolf! I fixed the issue by downgrading python to 3.7. ",
"Damn sorry",
"Damn sorry"
] |
MDU6SXNzdWU3NzkwMDQ4OTQ= | 1,687 | Question: Shouldn't .info be a part of DatasetDict? | Currently, only `Dataset` contains the .info or .features, but as many datasets contains standard splits (train, test) and thus the underlying information is the same (or at least should be) across the datasets.
For instance:
```
>>> ds = datasets.load_dataset("conll2002", "es")
>>> ds.info
Traceback (most rece... | OPEN | 2021-01-05T13:08:41 | 2021-01-07T10:18:06 | null | https://github.com/huggingface/datasets/issues/1687 | {
"login": "KennethEnevoldsen"
} | {
"nodes": []
} | [
"We could do something. There is a part of `.info` which is split specific (cache files, split instructions) but maybe if could be made to work.",
"Yes this was kinda the idea I was going for. DatasetDict.info would be the shared info amongs the datasets (maybe even some info on how they differ). "
] |
MDU6SXNzdWU3Nzg5MjE2ODQ= | 1,686 | Dataset Error: DaNE contains empty samples at the end | The dataset DaNE, contains empty samples at the end. It is naturally easy to remove using a filter but should probably not be there, to begin with as it can cause errors.
```python
>>> import datasets
[...]
>>> dataset = datasets.load_dataset("dane")
[...]
>>> dataset["test"][-1]
{'dep_ids': [], 'dep_labels': ... | CLOSED | 2021-01-05T11:54:26 | 2021-01-05T14:01:09 | 2021-01-05T14:00:13 | https://github.com/huggingface/datasets/issues/1686 | {
"login": "KennethEnevoldsen"
} | {
"nodes": []
} | [
"Thanks for reporting, I opened a PR to fix that",
"One the PR is merged the fix will be available in the next release of `datasets`.\r\n\r\nIf you don't want to wait the next release you can still load the script from the master branch with\r\n\r\n```python\r\nload_dataset(\"dane\", script_version=\"master\")\r\... |
MDU6SXNzdWU3NzgyODc2MTI= | 1,683 | `ArrowInvalid` occurs while running `Dataset.map()` function for DPRContext | It seems to fail the final batch ):
steps to reproduce:
```
from datasets import load_dataset
from elasticsearch import Elasticsearch
import torch
from transformers import file_utils, set_seed
from transformers import DPRContextEncoder, DPRContextEncoderTokenizerFast
MAX_SEQ_LENGTH = 256
ctx_encoder = DPRCon... | CLOSED | 2021-01-04T18:47:53 | 2021-01-04T19:04:45 | 2021-01-04T19:04:45 | https://github.com/huggingface/datasets/issues/1683 | {
"login": "abarbosa94"
} | {
"nodes": []
} | [
"Looks like the mapping function returns a dictionary with a 768-dim array in the `embeddings` field. Since the map is batched, we actually expect the `embeddings` field to be an array of shape (batch_size, 768) to have one embedding per example in the batch.\r\n\r\nTo fix that can you try to remove one of the `[0]... |
MDU6SXNzdWU3Nzc2NDQxNjM= | 1,681 | Dataset "dane" missing | the `dane` dataset appear to be missing in the latest version (1.1.3).
```python
>>> import datasets
>>> datasets.__version__
'1.1.3'
>>> "dane" in datasets.list_datasets()
True
```
As we can see it should be present, but doesn't seem to be findable when using `load_dataset`.
```python
>>> datasets.load... | CLOSED | 2021-01-03T14:03:03 | 2021-01-05T08:35:35 | 2021-01-05T08:35:13 | https://github.com/huggingface/datasets/issues/1681 | {
"login": "KennethEnevoldsen"
} | {
"nodes": []
} | [
"Hi @KennethEnevoldsen ,\r\nI think the issue might be that this dataset was added during the community sprint and has not been released yet. It will be available with the v2 of datasets.\r\nFor now, you should be able to load the datasets after installing the latest (master) version of datasets using pip:\r\npip i... |
MDU6SXNzdWU3Nzc1ODc3OTI= | 1,679 | Can't import cc100 dataset | There is some issue to import cc100 dataset.
```
from datasets import load_dataset
dataset = load_dataset("cc100")
```
FileNotFoundError: Couldn't find file at https://raw.githubusercontent.com/huggingface/datasets/1.1.3/datasets/cc100/cc100.py
During handling of the above exception, another exception occur... | CLOSED | 2021-01-03T07:12:56 | 2022-10-05T12:42:25 | 2022-10-05T12:42:25 | https://github.com/huggingface/datasets/issues/1679 | {
"login": "alighofrani95"
} | {
"nodes": []
} | [
"cc100 was added recently, that's why it wasn't available yet.\r\n\r\nTo load it you can just update `datasets`\r\n```\r\npip install --upgrade datasets\r\n```\r\n\r\nand then you can load `cc100` with\r\n\r\n```python\r\nfrom datasets import load_dataset\r\n\r\nlang = \"en\"\r\ndataset = load_dataset(\"cc100\", la... |
MDU6SXNzdWU3NzczNjczMjA= | 1,675 | Add the 800GB Pile dataset? | ## Adding a Dataset
- **Name:** The Pile
- **Description:** The Pile is a 825 GiB diverse, open source language modelling data set that consists of 22 smaller, high-quality datasets combined together. See [here](https://twitter.com/nabla_theta/status/1345130408170541056?s=20) for the Twitter announcement
- **Paper:*... | CLOSED | 2021-01-01T22:58:12 | 2021-12-01T15:29:07 | 2021-12-01T15:29:07 | https://github.com/huggingface/datasets/issues/1675 | {
"login": "lewtun"
} | {
"nodes": [
{
"name": "dataset request"
}
]
} | [
"The pile dataset would be very nice.\r\nBenchmarks show that pile trained models achieve better results than most of actually trained models",
"The pile can very easily be added and adapted using this [tfds implementation](https://github.com/EleutherAI/The-Pile/blob/master/the_pile/tfds_pile.py) from the repo. \... |
MDU6SXNzdWU3NzczMjE4NDA= | 1,674 | dutch_social can't be loaded | Hi all,
I'm trying to import the `dutch_social` dataset described [here](https://huggingface.co/datasets/dutch_social).
However, the code that should load the data doesn't seem to be working, in particular because the corresponding files can't be found at the provided links.
```
(base) Koens-MacBook-Pro:~ koe... | CLOSED | 2021-01-01T17:37:08 | 2022-10-05T13:03:26 | 2022-10-05T13:03:26 | https://github.com/huggingface/datasets/issues/1674 | {
"login": "koenvandenberge"
} | {
"nodes": []
} | [
"exactly the same issue in some other datasets.\r\nDid you find any solution??\r\n",
"Hi @koenvandenberge and @alighofrani95!\r\nThe datasets you're experiencing issues with were most likely added recently to the `datasets` library, meaning they have not been released yet. They will be released with the v2 of the... |
MDU6SXNzdWU3NzcyNjM2NTE= | 1,673 | Unable to Download Hindi Wikipedia Dataset | I used the Dataset Library in Python to load the wikipedia dataset with the Hindi Config 20200501.hi along with something called beam_runner='DirectRunner' and it keeps giving me the error that the file is not found. I have attached the screenshot of the error and the code both. Please help me to understand how to reso... | CLOSED | 2021-01-01T10:52:53 | 2021-01-05T10:22:12 | 2021-01-05T10:22:12 | https://github.com/huggingface/datasets/issues/1673 | {
"login": "aditya3498"
} | {
"nodes": []
} | [
"Currently this dataset is only available when the library is installed from source since it was added after the last release.\r\n\r\nWe pin the dataset version with the library version so that people can have a reproducible dataset and processing when pinning the library.\r\n\r\nWe'll see if we can provide access ... |
MDU6SXNzdWU3NzcyNTg5NDE= | 1,672 | load_dataset hang on file_lock | I am trying to load the squad dataset. Fails on Windows 10 but succeeds in Colab.
Transformers: 3.3.1
Datasets: 1.0.2
Windows 10 (also tested in WSL)
```
datasets.logging.set_verbosity_debug()
datasets.
train_dataset = load_dataset('squad', split='train')
valid_dataset = load_dataset('squad', split='validat... | CLOSED | 2021-01-01T10:25:07 | 2021-03-31T16:24:13 | 2021-01-01T11:47:36 | https://github.com/huggingface/datasets/issues/1672 | {
"login": "tomacai"
} | {
"nodes": []
} | [
"Can you try to upgrade to a more recent version of datasets?",
"Thank, upgrading to 1.1.3 resolved the issue.",
"Having the same issue with `datasets 1.1.3` of `1.5.0` (both tracebacks look the same) and `kilt_wikipedia`, Ubuntu 20.04\r\n\r\n```py\r\nIn [1]: from datasets import load_dataset ... |
MDU6SXNzdWU3NzY2NTIxOTM= | 1,671 | connection issue | Hi
I am getting this connection issue, resulting in large failure on cloud, @lhoestq I appreciate your help on this.
If I want to keep the codes the same, so not using save_to_disk, load_from_disk, but save the datastes in the way load_dataset reads from and copy the files in the same folder the datasets library r... | CLOSED | 2020-12-30T21:56:20 | 2022-10-05T12:42:12 | 2022-10-05T12:42:12 | https://github.com/huggingface/datasets/issues/1671 | {
"login": "rabeehkarimimahabadi"
} | {
"nodes": []
} | [
"Also, mayjor issue for me is the format issue, even if I go through changing the whole code to use load_from_disk, then if I do \r\n\r\nd = datasets.load_from_disk(\"imdb\")\r\nd = d[\"train\"][:10] => the format of this is no more in datasets format\r\nthis is different from you call load_datasets(\"train[10]\")\... |
MDU6SXNzdWU3NzY2MDg1Nzk= | 1,670 | wiki_dpr pre-processing performance | I've been working with wiki_dpr and noticed that the dataset processing is seriously impaired in performance [1]. It takes about 12h to process the entire dataset. Most of this time is simply loading and processing the data, but the actual indexing is also quite slow (3h).
I won't repeat the concerns around multipro... | OPEN | 2020-12-30T19:41:43 | 2026-05-21T23:27:45 | null | https://github.com/huggingface/datasets/issues/1670 | {
"login": "dbarnhart"
} | {
"nodes": [
{
"name": "enhancement"
},
{
"name": "Dataset discussion"
}
]
} | [
"Hi ! And thanks for the tips :) \r\n\r\nIndeed currently `wiki_dpr` takes some time to be processed.\r\nMultiprocessing for dataset generation is definitely going to speed up things.\r\n\r\nRegarding the index note that for the default configurations, the index is downloaded instead of being built, which avoid spe... |
MDU6SXNzdWU3NzY2MDgzODY= | 1,669 | wiki_dpr dataset pre-processesing performance | I've been working with wiki_dpr and noticed that the dataset processing is seriously impaired in performance [1]. It takes about 12h to process the entire dataset. Most of this time is simply loading and processing the data, but the actual indexing is also quite slow (3h).
I won't repeat the concerns around multipro... | CLOSED | 2020-12-30T19:41:09 | 2020-12-30T19:42:25 | 2020-12-30T19:42:25 | https://github.com/huggingface/datasets/issues/1669 | {
"login": "dbarnhart"
} | {
"nodes": []
} | [
"Sorry, double posted."
] |
MDU6SXNzdWU3NzU4OTAxNTQ= | 1,662 | Arrow file is too large when saving vector data | I computed the sentence embedding of each sentence of bookcorpus data using bert base and saved them to disk. I used 20M sentences and the obtained arrow file is about 59GB while the original text file is only about 1.3GB. Are there any ways to reduce the size of the arrow file? | CLOSED | 2020-12-29T13:23:12 | 2021-01-21T14:12:39 | 2021-01-21T14:12:39 | https://github.com/huggingface/datasets/issues/1662 | {
"login": "weiwangorg"
} | {
"nodes": []
} | [
"Hi !\r\nThe arrow file size is due to the embeddings. Indeed if they're stored as float32 then the total size of the embeddings is\r\n\r\n20 000 000 vectors * 768 dimensions * 4 bytes per dimension ~= 60GB\r\n\r\nIf you want to reduce the size you can consider using quantization for example, or maybe using dimensi... |
MDU6SXNzdWU3NzU1MjU3OTk= | 1,647 | NarrativeQA fails to load with `load_dataset` | When loading the NarrativeQA dataset with `load_dataset('narrativeqa')` as given in the documentation [here](https://huggingface.co/datasets/narrativeqa), I receive a cascade of exceptions, ending with
FileNotFoundError: Couldn't find file locally at narrativeqa/narrativeqa.py, or remotely at
https://r... | CLOSED | 2020-12-28T18:16:09 | 2021-01-05T12:05:08 | 2021-01-03T17:58:05 | https://github.com/huggingface/datasets/issues/1647 | {
"login": "eric-mitchell"
} | {
"nodes": []
} | [
"Hi @eric-mitchell,\r\nI think the issue might be that this dataset was added during the community sprint and has not been released yet. It will be available with the v2 of `datasets`.\r\nFor now, you should be able to load the datasets after installing the latest (master) version of `datasets` using pip:\r\n`pip i... |
MDU6SXNzdWU3NzUzNzU4ODA= | 1,644 | HoVeR dataset fails to load | Hi! I'm getting an error when trying to load **HoVeR** dataset. Another one (**SQuAD**) does work for me. I'm using the latest (1.1.3) version of the library.
Steps to reproduce the error:
```python
>>> from datasets import load_dataset
>>> dataset = load_dataset("hover")
Traceback (most recent call last):
... | CLOSED | 2020-12-28T12:27:07 | 2022-10-05T12:40:34 | 2022-10-05T12:40:34 | https://github.com/huggingface/datasets/issues/1644 | {
"login": "urikz"
} | {
"nodes": []
} | [
"Hover was added recently, that's why it wasn't available yet.\r\n\r\nTo load it you can just update `datasets`\r\n```\r\npip install --upgrade datasets\r\n```\r\n\r\nand then you can load `hover` with\r\n\r\n```python\r\nfrom datasets import load_dataset\r\n\r\ndataset = load_dataset(\"hover\")\r\n```"
] |
MDU6SXNzdWU3NzUyODAwNDY= | 1,643 | Dataset social_bias_frames 404 | ```
>>> from datasets import load_dataset
>>> dataset = load_dataset("social_bias_frames")
...
Downloading and preparing dataset social_bias_frames/default
...
~/.pyenv/versions/3.7.6/lib/python3.7/site-packages/datasets/utils/file_utils.py in get_from_cache(url, cache_dir, force_download, proxies, etag_timeout, ... | CLOSED | 2020-12-28T08:35:34 | 2020-12-28T08:38:07 | 2020-12-28T08:38:07 | https://github.com/huggingface/datasets/issues/1643 | {
"login": "atemate"
} | {
"nodes": []
} | [
"I see, master is already fixed in https://github.com/huggingface/datasets/commit/9e058f098a0919efd03a136b9b9c3dec5076f626"
] |
MDU6SXNzdWU3NzUxMTA4NzI= | 1,641 | muchocine dataset cannot be dowloaded | ```python
---------------------------------------------------------------------------
FileNotFoundError Traceback (most recent call last)
/usr/local/lib/python3.6/dist-packages/datasets/load.py in prepare_module(path, script_version, download_config, download_mode, dataset, force_local_path, ... | CLOSED | 2020-12-27T21:26:28 | 2021-08-03T05:07:29 | 2021-08-03T05:07:29 | https://github.com/huggingface/datasets/issues/1641 | {
"login": "mrm8488"
} | {
"nodes": [
{
"name": "wontfix"
},
{
"name": "dataset bug"
}
]
} | [
"I have encountered the same error with `v1.0.1` and `v1.0.2` on both Windows and Linux environments. However, cloning the repo and using the path to the dataset's root directory worked for me. Even after having the dataset cached - passing the path is the only way (for now) to load the dataset.\r\n\r\n```python\r\... |
MDU6SXNzdWU3NzQ5MDM0NzI= | 1,639 | bug with sst2 in glue | Hi
I am getting very low accuracy on SST2 I investigate this and observe that for this dataset sentences are tokenized, while this is correct for the other datasets in GLUE, please see below.
Is there any alternatives I could get untokenized sentences? I am unfortunately under time pressure to report some results on ... | CLOSED | 2020-12-26T16:57:23 | 2022-10-05T12:40:16 | 2022-10-05T12:40:16 | https://github.com/huggingface/datasets/issues/1639 | null | {
"nodes": []
} | [
"Maybe you can use nltk's treebank detokenizer ?\r\n```python\r\nfrom nltk.tokenize.treebank import TreebankWordDetokenizer\r\n\r\nTreebankWordDetokenizer().detokenize(\"it 's a charming and often affecting journey . \".split())\r\n# \"it's a charming and often affecting journey.\"\r\n```",
"I am looking for alte... |
MDU6SXNzdWU3NzQ1NzQzNzg= | 1,636 | winogrande cannot be dowloaded | Hi,
I am getting this error when trying to run the codes on the cloud. Thank you for any suggestion and help on this @lhoestq
```
File "./finetune_trainer.py", line 318, in <module>
main()
File "./finetune_trainer.py", line 148, in main
for task in data_args.tasks]
File "./finetune_trainer.py", ... | CLOSED | 2020-12-24T22:28:22 | 2022-10-05T12:35:44 | 2022-10-05T12:35:44 | https://github.com/huggingface/datasets/issues/1636 | null | {
"nodes": []
} | [
"I have same issue for other datasets (`myanmar_news` in my case).\r\n\r\nA version of `datasets` runs correctly on my local machine (**without GPU**) which looking for the dataset at \r\n```\r\nhttps://raw.githubusercontent.com/huggingface/datasets/master/datasets/myanmar_news/myanmar_news.py\r\n```\r\n\r\nMeanwhi... |
MDU6SXNzdWU3NzQ1MjQ0OTI= | 1,635 | Persian Abstractive/Extractive Text Summarization | Assembling datasets tailored to different tasks and languages is a precious target. This would be great to have this dataset included.
## Adding a Dataset
- **Name:** *pn-summary*
- **Description:** *A well-structured summarization dataset for the Persian language consists of 93,207 records. It is prepared for Abs... | CLOSED | 2020-12-24T17:47:12 | 2021-01-04T15:11:04 | 2021-01-04T15:11:04 | https://github.com/huggingface/datasets/issues/1635 | {
"login": "m3hrdadfi"
} | {
"nodes": [
{
"name": "dataset request"
}
]
} | [] |
MDU6SXNzdWU3NzQ0ODc5MzQ= | 1,634 | Inspecting datasets per category | Hi
Is there a way I could get all NLI datasets/all QA datasets to get some understanding of available datasets per category? this is hard for me to inspect the datasets one by one in the webpage, thanks for the suggestions @lhoestq | CLOSED | 2020-12-24T15:26:34 | 2022-10-04T14:57:33 | 2022-10-04T14:57:33 | https://github.com/huggingface/datasets/issues/1634 | null | {
"nodes": []
} | [
"That's interesting, can you tell me what you think would be useful to access to inspect a dataset?\r\n\r\nYou can filter them in the hub with the search by the way: https://huggingface.co/datasets have you seen it?",
"Hi @thomwolf \r\nthank you, I was not aware of this, I was looking into the data viewer linked ... |
MDU6SXNzdWU3NzQ0MjI2MDM= | 1,633 | social_i_qa wrong format of labels | Hi,
there is extra "\n" in labels of social_i_qa datasets, no big deal, but I was wondering if you could remove it to make it consistent.
so label is 'label': '1\n', not '1'
thanks
```
>>> import datasets
>>> from datasets import load_dataset
>>> dataset = load_dataset(
... 'social_i_qa')
cahce dir /jul... | CLOSED | 2020-12-24T13:11:54 | 2020-12-30T17:18:49 | 2020-12-30T17:18:49 | https://github.com/huggingface/datasets/issues/1633 | null | {
"nodes": []
} | [
"@lhoestq, should I raise a PR for this? Just a minor change while reading labels text file",
"Sure feel free to open a PR thanks !"
] |
MDU6SXNzdWU3NzQzODg2MjU= | 1,632 | SICK dataset | Hi, this would be great to have this dataset included. I might be missing something, but I could not find it in the list of already included datasets. Thank you.
## Adding a Dataset
- **Name:** SICK
- **Description:** SICK consists of about 10,000 English sentence pairs that include many examples of the lexical,... | CLOSED | 2020-12-24T12:40:14 | 2021-02-05T15:49:25 | 2021-02-05T15:49:25 | https://github.com/huggingface/datasets/issues/1632 | {
"login": "rabeehk"
} | {
"nodes": [
{
"name": "dataset request"
}
]
} | [] |
MDU6SXNzdWU3NzQzMzIxMjk= | 1,630 | Adding UKP Argument Aspect Similarity Corpus | Hi, this would be great to have this dataset included.
## Adding a Dataset
- **Name:** UKP Argument Aspect Similarity Corpus
- **Description:** The UKP Argument Aspect Similarity Corpus (UKP ASPECT) includes 3,595 sentence pairs over 28 controversial topics. Each sentence pair was annotated via crowdsourcing as ei... | CLOSED | 2020-12-24T11:01:31 | 2022-10-05T12:36:12 | 2022-10-05T12:36:12 | https://github.com/huggingface/datasets/issues/1630 | {
"login": "rabeehk"
} | {
"nodes": [
{
"name": "dataset request"
}
]
} | [
"Adding a link to the guide on adding a dataset if someone want to give it a try: https://github.com/huggingface/datasets#add-a-new-dataset-to-the-hub\r\n\r\nwe should add this guide to the issue template @lhoestq ",
"thanks @thomwolf , this is added now. The template is correct, sorry my mistake not to include i... |
MDU6SXNzdWU3NzM5NjAyNTU= | 1,627 | `Dataset.map` disable progress bar | I can't find anything to turn off the `tqdm` progress bars while running a preprocessing function using `Dataset.map`. I want to do akin to `disable_tqdm=True` in the case of `transformers`. Is there something like that? | CLOSED | 2020-12-23T17:53:42 | 2025-05-16T16:36:24 | 2020-12-26T19:57:17 | https://github.com/huggingface/datasets/issues/1627 | {
"login": "Nickil21"
} | {
"nodes": []
} | [
"Progress bar can be disabled like this:\r\n```python\r\nfrom datasets.utils.logging import set_verbosity_error\r\nset_verbosity_error()\r\n```\r\n\r\nThere is this line in `Dataset.map`:\r\n```python\r\nnot_verbose = bool(logger.getEffectiveLevel() > WARNING)\r\n```\r\n\r\nSo any logging level higher than `WARNING... |
MDU6SXNzdWU3NzM2Njk3MDA= | 1,624 | Cannot download ade_corpus_v2 | I tried this to get the dataset following this url : https://huggingface.co/datasets/ade_corpus_v2
but received this error :
`Traceback (most recent call last):
File "/opt/anaconda3/lib/python3.7/site-packages/datasets/load.py", line 267, in prepare_module
local_path = cached_path(file_path, download_con... | CLOSED | 2020-12-23T10:58:14 | 2021-08-03T05:08:54 | 2021-08-03T05:08:54 | https://github.com/huggingface/datasets/issues/1624 | {
"login": "him1411"
} | {
"nodes": []
} | [
"Hi @him1411, the dataset you are trying to load has been added during the community sprint and has not been released yet. It will be available with the v2 of `datasets`.\r\nFor now, you should be able to load the datasets after installing the latest (master) version of `datasets` using pip:\r\n`pip install git+htt... |
MDU6SXNzdWU3NzI5NDA3Njg= | 1,622 | Can't call shape on the output of select() | I get the error `TypeError: tuple expected at most 1 argument, got 2` when calling `shape` on the output of `select()`.
It's line 531 in shape in arrow_dataset.py that causes the problem:
``return tuple(self._indices.num_rows, self._data.num_columns)``
This makes sense, since `tuple(num1, num2)` is not a valid call.... | CLOSED | 2020-12-22T13:18:40 | 2020-12-23T13:37:13 | 2020-12-23T13:37:12 | https://github.com/huggingface/datasets/issues/1622 | {
"login": "noaonoszko"
} | {
"nodes": []
} | [
"Indeed that's a typo, do you want to open a PR to fix it?",
"Yes, created a PR"
] |
MDU6SXNzdWU3NzIyNDg3MzA= | 1,618 | Can't filter language:EN on https://huggingface.co/datasets | When visiting https://huggingface.co/datasets, I don't see an obvious way to filter only English datasets. This is unexpected for me, am I missing something? I'd expect English to be selectable in the language widget. This problem reproduced on Mozilla Firefox and MS Edge:
, it would be cool to have a small search widget in the filter dropdown as you have a ton of languages now here! Closing this in the meantime."
] |
MDU6SXNzdWU3NzE2NDEwODg= | 1,615 | Bug: Can't download TriviaQA with `load_dataset` - custom `cache_dir` | Hello,
I'm having issue downloading TriviaQA dataset with `load_dataset`.
## Environment info
- `datasets` version: 1.1.3
- Platform: Linux-4.19.129-aufs-1-x86_64-with-debian-10.1
- Python version: 3.7.3
## The code I'm running:
```python
import datasets
dataset = datasets.load_dataset("trivia_qa", "rc", c... | OPEN | 2020-12-20T17:27:38 | 2026-05-21T23:27:40 | null | https://github.com/huggingface/datasets/issues/1615 | {
"login": "SapirWeissbuch"
} | {
"nodes": []
} | [
"Hi @SapirWeissbuch,\r\nWhen you are saying it freezes, at that time it is unzipping the file from the zip file it downloaded. Since it's a very heavy file it'll take some time. It was taking ~11GB after unzipping when it started reading examples for me. Hope that helps!\r\n` for a distributed sampler which needs to make sure datasets are consistent across different cores, for this, this is really necessary for me to use torch generator, based on documentation this generator is not supported with datasets, I... | CLOSED | 2020-12-20T00:57:14 | 2022-06-01T15:30:13 | 2022-06-01T15:30:13 | https://github.com/huggingface/datasets/issues/1611 | {
"login": "rabeehkarimimahabadi"
} | {
"nodes": [
{
"name": "enhancement"
}
]
} | [
"Is there a way one can convert the two generator? not sure overall what alternatives I could have to shuffle the datasets with a torch generator, thanks ",
"@lhoestq let me please expalin in more details, maybe you could help me suggesting an alternative to solve the issue for now, I have multiple large dataset... |
MDU6SXNzdWU3NzE0NTM1OTk= | 1,610 | shuffle does not accept seed | Hi
I need to shuffle the dataset, but this needs to be based on epoch+seed to be consistent across the cores, when I pass seed to shuffle, this does not accept seed, could you assist me with this? thanks @lhoestq
| CLOSED | 2020-12-19T20:59:39 | 2021-01-04T10:00:03 | 2021-01-04T10:00:03 | https://github.com/huggingface/datasets/issues/1610 | {
"login": "rabeehk"
} | {
"nodes": [
{
"name": "bug"
}
]
} | [
"Hi, did you check the doc on `shuffle`?\r\nhttps://huggingface.co/docs/datasets/package_reference/main_classes.html?datasets.Dataset.shuffle#datasets.Dataset.shuffle",
"Hi Thomas\r\nthanks for reponse, yes, I did checked it, but this does not work for me please see \r\n\r\n```\r\n(internship) rkarimi@italix17:/i... |
MDU6SXNzdWU3NzE0MjE4ODE= | 1,609 | Not able to use 'jigsaw_toxicity_pred' dataset | When trying to use jigsaw_toxicity_pred dataset, like this in a [colab](https://colab.research.google.com/drive/1LwO2A5M2X5dvhkAFYE4D2CUT3WUdWnkn?usp=sharing):
```
from datasets import list_datasets, list_metrics, load_dataset, load_metric
ds = load_dataset("jigsaw_toxicity_pred")
```
I see below error:
>... | CLOSED | 2020-12-19T17:35:48 | 2020-12-22T16:42:24 | 2020-12-22T16:42:23 | https://github.com/huggingface/datasets/issues/1609 | {
"login": "jassimran"
} | {
"nodes": []
} | [
"Hi @jassimran,\r\nThe `jigsaw_toxicity_pred` dataset has not been released yet, it will be available with version 2 of `datasets`, coming soon.\r\nYou can still access it by installing the master (unreleased) version of datasets directly :\r\n`pip install git+https://github.com/huggingface/datasets.git@master`\r\n... |
MDU6SXNzdWU3NzA5Nzk2MjA= | 1,605 | Navigation version breaking | Hi,
when navigating docs (Chrome, Ubuntu) (e.g. on this page: https://huggingface.co/docs/datasets/loading_metrics.html#using-a-custom-metric-script) the version control dropdown has the wrong string displayed as the current version:
."
] |
MDU6SXNzdWU3NzA4NjIxMTI= | 1,604 | Add tests for the download functions ? | AFAIK the download functions in `DownloadManager` are not tested yet. It could be good to add some to ensure behavior is as expected. | CLOSED | 2020-12-18T12:49:25 | 2022-10-05T13:04:24 | 2022-10-05T13:04:24 | https://github.com/huggingface/datasets/issues/1604 | {
"login": "SBrandeis"
} | {
"nodes": [
{
"name": "enhancement"
}
]
} | [
"We have some tests now for it under `tests/test_download_manager.py`."
] |
MDU6SXNzdWU3NzA1ODI5NjA= | 1,600 | AttributeError: 'DatasetDict' object has no attribute 'train_test_split' | The following code fails with "'DatasetDict' object has no attribute 'train_test_split'" - am I doing something wrong?
```
from datasets import load_dataset
dataset = load_dataset('csv', data_files='data.txt')
dataset = dataset.train_test_split(test_size=0.1)
```
> AttributeError: 'DatasetDict' object has no at... | CLOSED | 2020-12-18T05:37:10 | 2023-05-03T04:22:55 | 2020-12-21T07:38:58 | https://github.com/huggingface/datasets/issues/1600 | {
"login": "david-waterworth"
} | {
"nodes": [
{
"name": "question"
}
]
} | [
"Hi @david-waterworth!\r\n\r\nAs indicated in the error message, `load_dataset(\"csv\")` returns a `DatasetDict` object, which is mapping of `str` to `Dataset` objects. I believe in this case the behavior is to return a `train` split with all the data.\r\n`train_test_split` is a method of the `Dataset` object, so y... |
MDU6SXNzdWU3Njk3NDc3Njc= | 1,594 | connection error | Hi
I am hitting to this error, thanks
```
> Traceback (most recent call last):
File "finetune_t5_trainer.py", line 379, in <module>
main()
File "finetune_t5_trainer.py", line 208, in main
if training_args.do_eval or training_args.evaluation_strategy != EvaluationStrategy.NO
File "finetune_t5_tr... | CLOSED | 2020-12-17T09:18:34 | 2022-06-01T15:33:42 | 2022-06-01T15:33:41 | https://github.com/huggingface/datasets/issues/1594 | {
"login": "rabeehkarimimahabadi"
} | {
"nodes": []
} | [
"This happen quite often when they are too many concurrent requests to github.\r\n\r\ni can understand it’s a bit cumbersome to handle on the user side. Maybe we should try a few times in the lib (eg with timeout) before failing, what do you think @lhoestq ?",
"Yes currently there's no retry afaik. We should add ... |
MDU6SXNzdWU3Njk2MTEzODY= | 1,593 | Access to key in DatasetDict map | It is possible that we want to do different things in the `map` function (and possibly other functions too) of a `DatasetDict`, depending on the key. I understand that `DatasetDict.map` is a really thin wrapper of `Dataset.map`, so it is easy to directly implement this functionality in the client code. Still, it'd be n... | CLOSED | 2020-12-17T07:02:20 | 2022-10-05T13:47:28 | 2022-10-05T12:33:06 | https://github.com/huggingface/datasets/issues/1593 | {
"login": "ZhaofengWu"
} | {
"nodes": [
{
"name": "enhancement"
}
]
} | [
"Indeed that would be cool\r\n\r\nAlso FYI right now the easiest way to do this is\r\n```python\r\ndataset_dict[\"train\"] = dataset_dict[\"train\"].map(my_transform_for_the_train_set)\r\ndataset_dict[\"test\"] = dataset_dict[\"test\"].map(my_transform_for_the_test_set)\r\n```",
"I don't feel like adding an extra... |
MDU6SXNzdWU3NjkzODM3MTQ= | 1,591 | IWSLT-17 Link Broken | ```
FileNotFoundError: Couldn't find file at https://wit3.fbk.eu/archive/2017-01-trnmted//texts/DeEnItNlRo/DeEnItNlRo/DeEnItNlRo-DeEnItNlRo.tgz
``` | CLOSED | 2020-12-17T00:46:42 | 2020-12-18T08:06:36 | 2020-12-18T08:05:28 | https://github.com/huggingface/datasets/issues/1591 | {
"login": "ZhaofengWu"
} | {
"nodes": [
{
"name": "duplicate"
},
{
"name": "dataset bug"
}
]
} | [
"Sorry, this is a duplicate of #1287. Not sure why it didn't come up when I searched `iwslt` in the issues list.",
"Closing this since its a duplicate"
] |
MDU6SXNzdWU3NjkyNDI4NTg= | 1,590 | Add helper to resolve namespace collision | Many projects use a module called `datasets`, however this is incompatible with huggingface datasets. It would be great if there if there was some helper or similar function to resolve such a common conflict. | CLOSED | 2020-12-16T20:17:24 | 2022-06-01T15:32:04 | 2022-06-01T15:32:04 | https://github.com/huggingface/datasets/issues/1590 | {
"login": "jramapuram"
} | {
"nodes": []
} | [
"Do you have an example?",
"I was thinking about using something like [importlib](https://docs.python.org/3/library/importlib.html#importing-a-source-file-directly) to over-ride the collision. \r\n\r\n**Reason requested**: I use the [following template](https://github.com/jramapuram/ml_base/) repo where I house a... |
MDU6SXNzdWU3Njg4MzExNzE= | 1,585 | FileNotFoundError for `amazon_polarity` | Version: `datasets==v1.1.3`
### Reproduction
```python
from datasets import load_dataset
data = load_dataset("amazon_polarity")
```
crashes with
```bash
FileNotFoundError: Couldn't find file at https://raw.githubusercontent.com/huggingface/datasets/1.1.3/datasets/amazon_polarity/amazon_polarity.py
```
and
... | CLOSED | 2020-12-16T12:51:05 | 2020-12-16T16:02:56 | 2020-12-16T16:02:56 | https://github.com/huggingface/datasets/issues/1585 | {
"login": "phtephanx"
} | {
"nodes": []
} | [
"Hi @phtephanx , the `amazon_polarity` dataset has not been released yet. It will be available in the coming soon v2of `datasets` :) \r\n\r\nYou can still access it now if you want, but you will need to install datasets via the master branch:\r\n`pip install git+https://github.com/huggingface/datasets.git@master`"
... |
MDU6SXNzdWU3NjgzMjA1OTQ= | 1,581 | Installing datasets and transformers in a tensorflow docker image throws Permission Error on 'import transformers' | I am using a docker container, based on latest tensorflow-gpu image, to run transformers and datasets (4.0.1 and 1.1.3 respectively - Dockerfile attached below). Importing transformers throws a Permission Error to access `/.cache`:
```
$ docker run --gpus=all --rm -it -u $(id -u):$(id -g) -v $(pwd)/data:/root/data ... | CLOSED | 2020-12-16T00:02:21 | 2021-06-17T15:40:45 | 2021-06-17T15:40:45 | https://github.com/huggingface/datasets/issues/1581 | {
"login": "eduardofv"
} | {
"nodes": []
} | [
"Thanks for reporting !\r\nYou can override the directory in which cache file are stored using for example\r\n```\r\nENV HF_HOME=\"/root/cache/hf_cache_home\"\r\n```\r\n\r\nThis way both `transformers` and `datasets` will use this directory instead of the default `.cache`",
"Great, thanks. I didn't see documentat... |
MDU6SXNzdWU3NjU0MzA1ODY= | 1,541 | connection issue while downloading data | Hi
I am running my codes on google cloud, and I am getting this error resulting in the failure of the codes when trying to download the data, could you assist me to solve this? also as a temporary solution, could you tell me how I can increase the number of retries and timeout to at least let the models run for now. t... | CLOSED | 2020-12-13T14:27:00 | 2022-10-05T12:33:29 | 2022-10-05T12:33:29 | https://github.com/huggingface/datasets/issues/1541 | {
"login": "rabeehkarimimahabadi"
} | {
"nodes": []
} | [
"could you tell me how I can avoid download, by pre-downloading the data first, put them in a folder so the code does not try to redownload? could you tell me the path to put the downloaded data, and how to do it? thanks\r\n@lhoestq ",
"Does your instance have an internet connection ?\r\n\r\nIf you don't have an ... |
MDU6SXNzdWU3NjQwMTcxNDg= | 1,514 | how to get all the options of a property in datasets | Hi
could you tell me how I can get all unique options of a property of dataset?
for instance in case of boolq, if the user wants to know which unique labels it has, is there a way to access unique labels without getting all training data lables and then forming a set i mean? thanks | CLOSED | 2020-12-12T16:24:08 | 2022-05-25T16:27:29 | 2022-05-25T16:27:29 | https://github.com/huggingface/datasets/issues/1514 | {
"login": "rabeehk"
} | {
"nodes": [
{
"name": "question"
}
]
} | [
"In a dataset, labels correspond to the `ClassLabel` feature that has the `names` property that returns string represenation of the integer classes (or `num_classes` to get the number of different classes).",
"I think the `features` attribute of the dataset object is what you are looking for:\r\n```\r\n>>> datase... |
MDU6SXNzdWU3NjIyOTMwNzY= | 1,478 | Inconsistent argument names. | Just find it a wee bit odd that in the transformers library `predictions` are those made by the model:
https://github.com/huggingface/transformers/blob/master/src/transformers/trainer_utils.py#L51-L61
While in many datasets metrics they are the ground truth labels:
https://github.com/huggingface/datasets/blob/c3f5... | CLOSED | 2020-12-11T12:19:38 | 2020-12-19T15:03:39 | 2020-12-19T15:03:39 | https://github.com/huggingface/datasets/issues/1478 | {
"login": "Fraser-Greenlee"
} | {
"nodes": []
} | [
"Also for the `Accuracy` metric the `accuracy_score` method should have its args in the opposite order so `accuracy_score(predictions, references,,,)`.",
"Thanks for pointing this out ! 🕵🏻 \r\nPredictions and references should indeed be swapped in the docstring.\r\nHowever, the call to `accuracy_score` should n... |
MDU6SXNzdWU3NjExMDQ5MjQ= | 1,452 | SNLI dataset contains labels with value -1 | ```
import datasets
nli_data = datasets.load_dataset("snli")
train_data = nli_data['train']
train_labels = train_data['label']
label_set = set(train_labels)
print(label_set)
```
**Output:**
`{0, 1, 2, -1}` | CLOSED | 2020-12-10T10:16:55 | 2020-12-10T17:49:55 | 2020-12-10T17:49:55 | https://github.com/huggingface/datasets/issues/1452 | {
"login": "aarnetalman"
} | {
"nodes": []
} | [
"I believe the `-1` label is used for missing/NULL data as per HuggingFace Dataset conventions. If I recall correctly SNLI has some entries with no (gold) labels in the dataset.",
"Ah, you're right. The dataset has some pairs with missing labels. Thanks for reminding me."
] |
MDU6SXNzdWU3NjEwNTU2NTE= | 1,444 | FileNotFound remotly, can't load a dataset | ```py
!pip install datasets
import datasets as ds
corpus = ds.load_dataset('large_spanish_corpus')
```
gives the error
> FileNotFoundError: Couldn't find file locally at large_spanish_corpus/large_spanish_corpus.py, or remotely at https://raw.githubusercontent.com/huggingface/datasets/1.1.3/datasets/large_spa... | CLOSED | 2020-12-10T09:14:47 | 2020-12-15T17:41:14 | 2020-12-15T17:41:14 | https://github.com/huggingface/datasets/issues/1444 | {
"login": "sadakmed"
} | {
"nodes": []
} | [
"This dataset will be available in version-2 of the library. If you want to use this dataset now, install datasets from `master` branch rather.\r\n\r\nCommand to install datasets from `master` branch:\r\n`!pip install git+https://github.com/huggingface/datasets.git@master`",
"Closing this, thanks @VasudevGupta7 "... |
MDU6SXNzdWU3NjA3MDcxMTM= | 1,422 | Can't map dataset (loaded from csv) | Hello! I am trying to load single csv file with two columns: ('label': str, 'text' str), where is label is str of two possible classes.
Below steps are similar with [this notebook](https://colab.research.google.com/drive/1-JIJlao4dI-Ilww_NnTc0rxtp-ymgDgM?usp=sharing), where bert model and tokenizer are used to class... | CLOSED | 2020-12-09T22:05:42 | 2020-12-17T18:13:40 | 2020-12-17T18:13:40 | https://github.com/huggingface/datasets/issues/1422 | {
"login": "SolomidHero"
} | {
"nodes": []
} | [
"Please could you post the whole script? I can't reproduce your issue. After updating the feature names/labels to match with the data, everything works fine for me. Try to update datasets/transformers to the newest version.",
"Actually, the problem was how `tokenize` function was defined. This was completely my s... |
MDU6SXNzdWU3NTk1ODc4NjQ= | 1,324 | ❓ Sharing ElasticSearch indexed dataset | Hi there,
First of all, thank you very much for this amazing library. Datasets have become my preferred data structure for basically everything I am currently doing.
**Question:** I'm working with a dataset and I have an elasticsearch container running at localhost:9200. I added an elasticsearch index and I was w... | OPEN | 2020-12-08T16:25:58 | 2020-12-22T07:50:56 | null | https://github.com/huggingface/datasets/issues/1324 | {
"login": "pietrolesci"
} | {
"nodes": [
{
"name": "dataset request"
}
]
} | [
"Hello @pietrolesci , I am not sure to understand what you are trying to do here.\r\n\r\nIf you're looking for ways to save a dataset on disk, you can you the `save_to_disk` method:\r\n```python\r\n>>> import datasets\r\n>>> loaded_dataset = datasets.load(\"dataset_name\")\r\n>>> loaded_dataset.save_to_disk(\"/path... |
MDU6SXNzdWU3NTk0MTQ1NjY= | 1,299 | can't load "german_legal_entity_recognition" dataset | FileNotFoundError: Couldn't find file locally at german_legal_entity_recognition/german_legal_entity_recognition.py, or remotely at https://raw.githubusercontent.com/huggingface/datasets/1.1.3/datasets/german_legal_entity_recognition/german_legal_entity_recognition.py or https://s3.amazonaws.com/datasets.huggingface.co... | CLOSED | 2020-12-08T12:42:01 | 2020-12-16T16:03:13 | 2020-12-16T16:03:13 | https://github.com/huggingface/datasets/issues/1299 | {
"login": "nataly-obr"
} | {
"nodes": []
} | [
"Please if you could tell me more about the error? \r\n\r\n1. Please check the directory you've been working on\r\n2. Check for any typos",
"> Please if you could tell me more about the error?\r\n> \r\n> 1. Please check the directory you've been working on\r\n> 2. Check for any typos\r\n\r\nError happens during t... |
MDU6SXNzdWU3NTkzMzk5ODk= | 1,290 | imdb dataset cannot be downloaded | hi
please find error below getting imdb train spli:
thanks
`
datasets.load_dataset>>> datasets.load_dataset("imdb", split="train")`
errors
```
cahce dir /idiap/temp/rkarimi/cache_home_1/datasets
cahce dir /idiap/temp/rkarimi/cache_home_1/datasets
Downloading and preparing dataset imdb/plain_text (d... | CLOSED | 2020-12-08T10:47:36 | 2020-12-24T17:38:09 | 2020-12-24T17:38:09 | https://github.com/huggingface/datasets/issues/1290 | {
"login": "rabeehk"
} | {
"nodes": []
} | [
"Hi @rabeehk , I am unable to reproduce your problem locally.\r\nCan you try emptying the cache (removing the content of `/idiap/temp/rkarimi/cache_home_1/datasets`) and retry ?",
"Hi,\r\nthanks, I did remove the cache and still the same error here\r\n\r\n```\r\n>>> a = datasets.load_dataset(\"imdb\", split=\"tra... |
MDU6SXNzdWU3NTkzMDA5OTI= | 1,287 | 'iwslt2017-ro-nl', cannot be downloaded | Hi
I am trying
`>>> datasets.load_dataset("iwslt2017", 'iwslt2017-ro-nl', split="train")`
getting this error thank you for your help
```
cahce dir /idiap/temp/rkarimi/cache_home_1/datasets
cahce dir /idiap/temp/rkarimi/cache_home_1/datasets
Downloading and preparing dataset iwsl_t217/iwslt2017-ro-nl (downlo... | CLOSED | 2020-12-08T09:56:55 | 2022-06-13T10:41:33 | 2022-06-13T10:41:33 | https://github.com/huggingface/datasets/issues/1287 | {
"login": "rabeehk"
} | {
"nodes": [
{
"name": "dataset bug"
}
]
} | [
"the same issue with datasets.load_dataset(\"iwslt2017\", 'iwslt2017-en-nl', split=split), ..... ",
"even with setting master like the following command, still remains \r\n\r\ndatasets.load_dataset(\"iwslt2017\", 'iwslt2017-en-nl', split=\"train\", script_version=\"master\")\r\n",
"Looks like the data has been ... |
MDU6SXNzdWU3NTkyOTE1MDk= | 1,286 | [libprotobuf FATAL /sentencepiece/src/../third_party/protobuf-lite/google/protobuf/repeated_field.h:1505] CHECK failed: (index) >= (0): terminate called after throwing an instance of 'google::protobuf::FatalException' what(): CHECK failed: (index) >= (0): Aborted | Hi
I am getting this error when evaluating on wmt16-ro-en using finetune_trainer.py of huggingface repo. thank for your help
{'epoch': 20.0}
100%|████████████████████████████... | CLOSED | 2020-12-08T09:44:15 | 2020-12-12T19:36:22 | 2020-12-12T16:22:36 | https://github.com/huggingface/datasets/issues/1286 | {
"login": "rabeehk"
} | {
"nodes": []
} | [
"I remember also getting the same issue for several other translation datasets like all the iwslt2017 group, this is blokcing me and I really need to fix it and I was wondering if you have an idea on this. @lhoestq thanks,. ",
"maybe there is an empty line or something inside these datasets? could you tell me wh... |
MDU6SXNzdWU3NTkyNzg3NTg= | 1,285 | boolq does not work | Hi
I am getting this error when trying to load boolq, thanks for your help
ts_boolq_default_0.1.0_2987db1f15deaa19500ae24de560eabeaf1f8ef51df88c0470beeec72943bf11.lock
Traceback (most recent call last):
File "finetune_t5_trainer.py", line 274, in <module>
main()
File "finetune_t5_trainer.py", line 147, ... | CLOSED | 2020-12-08T09:28:47 | 2020-12-08T09:47:10 | 2020-12-08T09:47:10 | https://github.com/huggingface/datasets/issues/1285 | {
"login": "rabeehk"
} | {
"nodes": []
} | [
"here is the minimal code to reproduce\r\n\r\n`datasets>>> datasets.load_dataset(\"boolq\", \"train\")\r\n\r\nthe errors\r\n\r\n```\r\n`cahce dir /idiap/temp/rkarimi/cache_home_1/datasets\r\ncahce dir /idiap/temp/rkarimi/cache_home_1/datasets\r\nUsing custom data configuration train\r\nDownloading and preparing d... |
MDU6SXNzdWU3NTc3MjI5MjE= | 1,167 | ❓ On-the-fly tokenization with datasets, tokenizers, and torch Datasets and Dataloaders | Hi there,
I have a question regarding "on-the-fly" tokenization. This question was elicited by reading the "How to train a new language model from scratch using Transformers and Tokenizers" [here](https://huggingface.co/blog/how-to-train). Towards the end there is this sentence: "If your dataset is very large, you c... | CLOSED | 2020-12-05T17:02:56 | 2023-07-20T15:49:42 | 2023-07-20T15:49:42 | https://github.com/huggingface/datasets/issues/1167 | {
"login": "pietrolesci"
} | {
"nodes": [
{
"name": "question"
},
{
"name": "generic discussion"
}
]
} | [
"We're working on adding on-the-fly transforms in datasets.\r\nCurrently the only on-the-fly functions that can be applied are in `set_format` in which we transform the data in either numpy/torch/tf tensors or pandas.\r\nFor example\r\n```python\r\ndataset.set_format(\"torch\")\r\n```\r\napplies `torch.Tensor` to t... |
MDU6SXNzdWU3NTcxMjc1Mjc= | 1,115 | Incorrect URL for MRQA SQuAD train subset | https://github.com/huggingface/datasets/blob/4ef4c8f8b7a60e35c6fa21115fca9faae91c9f74/datasets/mrqa/mrqa.py#L53
The URL for `train+SQuAD` subset of MRQA points to the dev set instead of train set. It should be `https://s3.us-east-2.amazonaws.com/mrqa/release/v2/train/SQuAD.jsonl.gz`. | CLOSED | 2020-12-04T14:05:24 | 2020-12-06T17:14:22 | 2020-12-06T17:14:22 | https://github.com/huggingface/datasets/issues/1115 | {
"login": "yuxiang-wu"
} | {
"nodes": []
} | [
"good catch !"
] |
MDU6SXNzdWU3NTcwODI2Nzc= | 1,110 | Using a feature named "_type" fails with certain operations | A column named `_type` leads to a `TypeError: unhashable type: 'dict'` for certain operations:
```python
from datasets import Dataset, concatenate_datasets
ds = Dataset.from_dict({"_type": ["whatever"]}).map()
concatenate_datasets([ds])
# or simply
Dataset(ds._data)
```
Context: We are using datasets to persi... | CLOSED | 2020-12-04T12:56:33 | 2022-01-14T18:07:00 | 2022-01-14T18:07:00 | https://github.com/huggingface/datasets/issues/1110 | {
"login": "dcfidalgo"
} | {
"nodes": []
} | [
"Thanks for reporting !\r\n\r\nIndeed this is a keyword in the library that is used to encode/decode features to a python dictionary that we can save/load to json.\r\nWe can probably change `_type` to something that is less likely to collide with user feature names.\r\nIn this case we would want something backward ... |
MDU6SXNzdWU3NTcwMTY4MjA= | 1,103 | Add support to download kaggle datasets | We can use API key | CLOSED | 2020-12-04T11:08:37 | 2023-07-20T15:22:24 | 2023-07-20T15:22:23 | https://github.com/huggingface/datasets/issues/1103 | {
"login": "abhishekkrthakur"
} | {
"nodes": [
{
"name": "enhancement"
}
]
} | [
"Hey, I think this is great idea. Any plan to integrate kaggle private datasets loading to `datasets`?",
"The workflow for downloading a Kaggle dataset and turning it into an HF dataset is pretty simple:\r\n```python\r\n!kaggle datasets download -p path\r\nds = load_dataset(path)\r\n```\r\n\r\nNative support woul... |
MDU6SXNzdWU3NTcwMTY1MTU= | 1,102 | Add retries to download manager | CLOSED | 2020-12-04T11:08:11 | 2020-12-22T15:34:06 | 2020-12-22T15:34:06 | https://github.com/huggingface/datasets/issues/1102 | {
"login": "abhishekkrthakur"
} | {
"nodes": [
{
"name": "enhancement"
}
]
} | [] | |
MDU6SXNzdWU3NTYzODIxODY= | 1,064 | Not support links with 302 redirect | I have an issue adding this download link https://github.com/jitkapat/thailitcorpus/releases/download/v.2.0/tlc_v.2.0.tar.gz
it might be because it is not a direct link (it returns 302 and redirects to aws that returns 403 for head requests).
```
r.head("https://github.com/jitkapat/thailitcorpus/releases/downlo... | CLOSED | 2020-12-03T17:04:43 | 2021-01-14T02:51:25 | 2021-01-14T02:51:25 | https://github.com/huggingface/datasets/issues/1064 | {
"login": "chameleonTK"
} | {
"nodes": [
{
"name": "bug"
},
{
"name": "enhancement"
}
]
} | [
"Hi !\r\nThis kind of links is now supported by the library since #1316",
"> Hi !\r\n> This kind of links is now supported by the library since #1316\r\n\r\nI updated links in TLC datasets to be the github links in this pull request \r\n https://github.com/huggingface/datasets/pull/1737\r\n\r\nEverything works no... |
MDU6SXNzdWU3NTYxMjI3MDk= | 1,046 | Dataset.map() turns tensors into lists? | I apply `Dataset.map()` to a function that returns a dict of torch tensors (like a tokenizer from the repo transformers). However, in the mapped dataset, these tensors have turned to lists!
```import datasets
import torch
from datasets import load_dataset ... | CLOSED | 2020-12-03T11:43:46 | 2022-10-05T12:12:41 | 2022-10-05T12:12:41 | https://github.com/huggingface/datasets/issues/1046 | {
"login": "tombosc"
} | {
"nodes": []
} | [
"A solution is to have the tokenizer return a list instead of a tensor, and then use `dataset_tok.set_format(type = 'torch')` to convert that list into a tensor. Still not sure if bug.",
"It is expected behavior, you should set the format to `\"torch\"` as you mentioned to get pytorch tensors back.\r\nBy default ... |
MDU6SXNzdWU3NTU2OTU0MjA= | 1,027 | Hi | ## Adding a Dataset
- **Name:** *name of the dataset*
- **Description:** *short description of the dataset (or link to social media or blog post)*
- **Paper:** *link to the dataset paper if available*
- **Data:** *link to the Github repository or current dataset location*
- **Motivation:** *what are some good reasons t... | CLOSED | 2020-12-02T23:47:14 | 2020-12-03T16:42:41 | 2020-12-03T16:42:41 | https://github.com/huggingface/datasets/issues/1027 | {
"login": "suemori87"
} | {
"nodes": []
} | [] |
MDU6SXNzdWU3NTU2ODkxOTU= | 1,026 | Lío o | ````l`````````
```
O
```
`````
Ño
```
````
``` | CLOSED | 2020-12-02T23:32:25 | 2020-12-03T16:42:47 | 2020-12-03T16:42:47 | https://github.com/huggingface/datasets/issues/1026 | null | {
"nodes": []
} | [] |
MDU6SXNzdWU3NTUzMjUzNjg= | 1,004 | how large datasets are handled under the hood | Hi
I want to use multiple large datasets with a mapping style dataloader, where they cannot fit into memory, could you tell me how you handled the datasets under the hood? is this you bring all in memory in case of mapping style ones? or is this some sharding under the hood and you bring in memory when necessary, than... | CLOSED | 2020-12-02T14:32:40 | 2022-10-05T12:13:29 | 2022-10-05T12:13:29 | https://github.com/huggingface/datasets/issues/1004 | {
"login": "rabeehkarimimahabadi"
} | {
"nodes": []
} | [
"This library uses Apache Arrow under the hood to store datasets on disk.\r\nThe advantage of Apache Arrow is that it allows to memory map the dataset. This allows to load datasets bigger than memory and with almost no RAM usage. It also offers excellent I/O speed.\r\n\r\nFor example when you access one element or ... |
MDU6SXNzdWU3NTUxNzYwODQ= | 996 | NotADirectoryError while loading the CNN/Dailymail dataset |
Downloading and preparing dataset cnn_dailymail/3.0.0 (download: 558.32 MiB, generated: 1.28 GiB, post-processed: Unknown size, total: 1.82 GiB) to /root/.cache/huggingface/datasets/cnn_dailymail/3.0.0/3.0.0/0128610a44e10f25b4af6689441c72af86205282d26399642f7db38fa7535602...
---------------------------------------... | CLOSED | 2020-12-02T11:07:56 | 2022-02-17T14:13:39 | 2022-02-17T14:13:39 | https://github.com/huggingface/datasets/issues/996 | {
"login": "arc-bu"
} | {
"nodes": []
} | [
"Looks like the google drive download failed.\r\nI'm getting a `Google Drive - Quota exceeded` error while looking at the downloaded file.\r\n\r\nWe should consider finding a better host than google drive for this dataset imo\r\nrelated : #873 #864 ",
"It is working now, thank you. \r\n\r\nShould I leave this iss... |
MDU6SXNzdWU3NTUxMzU3Njg= | 993 | Problem downloading amazon_reviews_multi | Thanks for adding the dataset.
After trying to load the dataset, I am getting the following error:
`ConnectionError: Couldn't reach https://amazon-reviews-ml.s3-us-west-2.amazonaws.com/json/train/dataset_fr_train.json
`
I used the following code to load the dataset:
`load_dataset(
dataset_name,
... | CLOSED | 2020-12-02T10:15:57 | 2022-10-05T12:21:34 | 2022-10-05T12:21:34 | https://github.com/huggingface/datasets/issues/993 | {
"login": "hfawaz"
} | {
"nodes": []
} | [
"Hi @hfawaz ! This is working fine for me. Is it a repeated occurence? Have you tried from the latest verion?",
"Hi, it seems a connection problem. \r\nNow it says: \r\n`ConnectionError: Couldn't reach https://amazon-reviews-ml.s3-us-west-2.amazonaws.com/json/train/dataset_ja_train.json`"
] |
MDU6SXNzdWU3NTUwNjkxNTk= | 988 | making sure datasets are not loaded in memory and distributed training of them | Hi
I am dealing with large-scale datasets which I need to train distributedly, I used the shard function to divide the dataset across the cores, without any sampler, this does not work for distributed training and does not become any faster than 1 TPU core. 1) how I can make sure data is not loaded in memory 2) in cas... | CLOSED | 2020-12-02T08:45:15 | 2022-10-05T13:00:42 | 2022-10-05T13:00:42 | https://github.com/huggingface/datasets/issues/988 | {
"login": "rabeehk"
} | {
"nodes": []
} | [
"my implementation of sharding per TPU core: https://github.com/google-research/ruse/blob/d4dd58a2d8efe0ffb1a9e9e77e3228d6824d3c3c/seq2seq/trainers/t5_trainer.py#L316 \r\nmy implementation of dataloader for this case https://github.com/google-research/ruse/blob/d4dd58a2d8efe0ffb1a9e9e77e3228d6824d3c3c/seq2seq/tasks... |
MDU6SXNzdWU3NTQ0MzQzOTg= | 961 | sample multiple datasets | Hi
I am dealing with multiple datasets, I need to have a dataloader over them with a condition that in each batch data samples are coming from one of the datasets. My main question is:
- I need to have a way to sample the datasets first with some weights, lets say 2x dataset1 1x dataset2, could you point me how I c... | CLOSED | 2020-12-01T14:20:02 | 2024-06-17T08:23:20 | 2023-07-20T14:08:57 | https://github.com/huggingface/datasets/issues/961 | {
"login": "rabeehk"
} | {
"nodes": []
} | [
"here I share my dataloader currently for multiple tasks: https://gist.github.com/rabeehkarimimahabadi/39f9444a4fb6f53dcc4fca5d73bf8195 \r\n\r\nI need to train my model distributedly with this dataloader, \"MultiTasksataloader\", currently this does not work in distributed fasion,\r\nto save on memory I tried to us... |
MDU6SXNzdWU3NTQxNjIzMTg= | 942 | D | ## Adding a Dataset
- **Name:** *name of the dataset*
- **Description:** *short description of the dataset (or link to social media or blog post)*
- **Paper:** *link to the dataset paper if available*
- **Data:** *link to the Github repository or current dataset location*
- **Motivation:** *what are some good reasons t... | CLOSED | 2020-12-01T08:17:10 | 2020-12-03T16:42:53 | 2020-12-03T16:42:53 | https://github.com/huggingface/datasets/issues/942 | {
"login": "CryptoMiKKi"
} | {
"nodes": []
} | [] |
MDU6SXNzdWU3NTM5MjEwNzg= | 937 | Local machine/cluster Beam Datasets example/tutorial | Hi,
I'm wondering if https://huggingface.co/docs/datasets/beam_dataset.html has an non-GCP or non-Dataflow version example/tutorial? I tried to migrate it to run on DirectRunner and SparkRunner, however, there were way too many runtime errors that I had to fix during the process, and even so I wasn't able to get eit... | CLOSED | 2020-12-01T01:11:43 | 2024-03-15T16:05:14 | 2024-03-15T16:05:14 | https://github.com/huggingface/datasets/issues/937 | {
"login": "shangw-nvidia"
} | {
"nodes": []
} | [
"I tried to make it run once on the SparkRunner but it seems that this runner has some issues when it is run locally.\r\nFrom my experience the DirectRunner is fine though, even if it's clearly not memory efficient.\r\n\r\nIt would be awesome though to make it work locally on a SparkRunner !\r\nDid you manage to ma... |
MDU6SXNzdWU3NTM2NzkwMjA= | 927 | Hello | CLOSED | 2020-11-30T17:50:05 | 2020-11-30T17:50:30 | 2020-11-30T17:50:30 | https://github.com/huggingface/datasets/issues/927 | {
"login": "k125-ak"
} | {
"nodes": []
} | [] | |
MDU6SXNzdWU3NTM0MzQ0NzI= | 919 | wrong length with datasets | Hi
I have a MRPC dataset which I convert it to seq2seq format, then this is of this format:
`Dataset(features: {'src_texts': Value(dtype='string', id=None), 'tgt_texts': Value(dtype='string', id=None)}, num_rows: 10)
`
I feed it to a dataloader:
```
dataloader = DataLoader(
train_dataset,
... | CLOSED | 2020-11-30T12:23:39 | 2020-11-30T12:37:27 | 2020-11-30T12:37:26 | https://github.com/huggingface/datasets/issues/919 | {
"login": "rabeehk"
} | {
"nodes": []
} | [
"Also, I cannot first convert it to torch format, since huggingface seq2seq_trainer codes process the datasets afterwards during datacollector function to make it optimize for TPUs. ",
"sorry I misunderstood length of dataset with dataloader, closed. thanks "
] |
MDU6SXNzdWU3NTMxMTg0ODE= | 915 | Shall we change the hashing to encoding to reduce potential replicated cache files? | Hi there. For now, we are using `xxhash` to hash the transformations to fingerprint and we will save a copy of the processed dataset to disk if there is a new hash value. However, there are some transformations that are idempotent or commutative to each other. I think that encoding the transformation chain as the finge... | OPEN | 2020-11-30T03:50:46 | 2020-12-24T05:11:49 | null | https://github.com/huggingface/datasets/issues/915 | {
"login": "zhuzilin"
} | {
"nodes": [
{
"name": "enhancement"
},
{
"name": "generic discussion"
}
]
} | [
"This is an interesting idea !\r\nDo you have ideas about how to approach the decoding and the normalization ?",
"@lhoestq\r\nI think we first need to save the transformation chain to a list in `self._fingerprint`. Then we can\r\n- decode all the current saved datasets to see if there is already one that is equiv... |
MDU6SXNzdWU3NTI4MDYyMTU= | 911 | datasets module not found | Currently, running `from datasets import load_dataset` will throw a `ModuleNotFoundError: No module named 'datasets'` error.
| CLOSED | 2020-11-29T01:24:15 | 2020-11-29T14:33:09 | 2020-11-29T14:33:09 | https://github.com/huggingface/datasets/issues/911 | {
"login": "sbassam"
} | {
"nodes": []
} | [
"nvm, I'd made an assumption that the library gets installed with transformers. "
] |
MDU6SXNzdWU3NTI3NzI3MjM= | 910 | Grindr meeting app web.Grindr | ## Adding a Dataset
- **Name:** *name of the dataset*
- **Description:** *short description of the dataset (or link to social media or blog post)*
- **Paper:** *link to the dataset paper if available*
- **Data:** *link to the Github repository or current dataset location*
- **Motivation:** *what are some good reasons t... | CLOSED | 2020-11-28T21:36:23 | 2020-11-29T10:11:51 | 2020-11-29T10:11:51 | https://github.com/huggingface/datasets/issues/910 | {
"login": "jackin34"
} | {
"nodes": []
} | [] |
MDU6SXNzdWU3NTIyMTQwNjY= | 900 | datasets.load_dataset() custom chaching directory bug | Hello,
I'm having issue with loading a dataset with a custom `cache_dir`. Despite specifying the output dir, it is still downloaded to
`~/.cache`.
## Environment info
- `datasets` version: 1.1.3
- Platform: Linux-4.19.129-aufs-1-x86_64-with-debian-10.1
- Python version: 3.7.3
## The code I'm running:
```p... | CLOSED | 2020-11-27T12:18:53 | 2020-11-29T22:48:53 | 2020-11-29T22:48:53 | https://github.com/huggingface/datasets/issues/900 | {
"login": "SapirWeissbuch"
} | {
"nodes": []
} | [
"Thanks for reporting ! I'm looking into it."
] |
MDU6SXNzdWU3NTIxMDAyNTY= | 897 | Dataset viewer issues | I was looking through the dataset viewer and I like it a lot. Version numbers, citation information, everything's there! I've spotted a few issues/bugs though:
- the URL is still under `nlp`, perhaps an alias for `datasets` can be made
- when I remove a **feature** (and the feature list is empty), I get an error. T... | CLOSED | 2020-11-27T09:14:34 | 2021-10-31T09:12:01 | 2021-10-31T09:12:01 | https://github.com/huggingface/datasets/issues/897 | {
"login": "BramVanroy"
} | {
"nodes": [
{
"name": "nlp-viewer"
}
]
} | [
"Thanks for reporting !\r\ncc @srush for the empty feature list issue and the encoding issue\r\ncc @julien-c maybe we can update the url and just have a redirection from the old url to the new one ?",
"Ok, I redirected on our side to a new url. ⚠️ @srush: if you update the Streamlit config too to `/datasets/viewe... |
MDU6SXNzdWU3NTA5NDQ0MjI= | 888 | Nested lists are zipped unexpectedly | I might misunderstand something, but I expect that if I define:
```python
"top": datasets.features.Sequence({
"middle": datasets.features.Sequence({
"bottom": datasets.Value("int32")
})
})
```
And I then create an example:
```python
yield 1, {
"top": [{
"middle": [
{"bottom": 1},
... | CLOSED | 2020-11-25T16:07:46 | 2020-11-25T17:30:39 | 2020-11-25T17:30:39 | https://github.com/huggingface/datasets/issues/888 | {
"login": "AmitMY"
} | {
"nodes": []
} | [
"Yes following the Tensorflow Datasets convention, objects with type `Sequence of a Dict` are actually stored as a `dictionary of lists`.\r\nSee the [documentation](https://huggingface.co/docs/datasets/features.html?highlight=features) for more details",
"Thanks.\r\nThis is a bit (very) confusing, but I guess if ... |
MDU6SXNzdWU3NTA4Njg4MzE= | 887 | pyarrow.lib.ArrowNotImplementedError: MakeBuilder: cannot construct builder for type extension<arrow.py_extension_type> | I set up a new dataset, with a sequence of arrays (really, I want to have an array of (None, 137, 2), and the first dimension is dynamic)
```python
def _info(self):
return datasets.DatasetInfo(
description=_DESCRIPTION,
# This defines the different columns of the dataset and ... | OPEN | 2020-11-25T14:32:21 | 2021-09-09T17:03:40 | null | https://github.com/huggingface/datasets/issues/887 | {
"login": "AmitMY"
} | {
"nodes": [
{
"name": "bug"
}
]
} | [
"Yes right now `ArrayXD` can only be used as a column feature type, not a subtype.\r\nWith the current Arrow limitations I don't think we'll be able to make it work as a subtype, however it should be possible to allow dimensions of dynamic sizes (`Array3D(shape=(None, 137, 2), dtype=\"float32\")` for example since ... |
MDU6SXNzdWU3NTA3ODkwNTI= | 885 | Very slow cold-start | Hi,
I expect when importing `datasets` that nothing major happens in the background, and so the import should be insignificant.
When I load a metric, or a dataset, its fine that it takes time.
The following ranges from 3 to 9 seconds:
```
python -m timeit -n 1 -r 1 'from datasets import load_dataset'
```
edi... | CLOSED | 2020-11-25T12:47:58 | 2021-01-13T11:31:25 | 2021-01-13T11:31:25 | https://github.com/huggingface/datasets/issues/885 | {
"login": "AmitMY"
} | {
"nodes": [
{
"name": "dataset request"
}
]
} | [
"Good point!",
"Yes indeed. We can probably improve that by using lazy imports",
"#1690 added fast start-up of the library "
] |
MDU6SXNzdWU3NDk3NTA4MDE= | 883 | Downloading/caching only a part of a datasets' dataset. | Hi,
I want to use the validation data *only* (of natural question).
I don't want to have the whole dataset cached in my machine, just the dev set.
Is this possible? I can't find a way to do it in the docs.
Thank you,
Sapir | OPEN | 2020-11-24T14:25:18 | 2020-11-27T13:51:55 | null | https://github.com/huggingface/datasets/issues/883 | {
"login": "SapirWeissbuch"
} | {
"nodes": [
{
"name": "enhancement"
},
{
"name": "question"
}
]
} | [
"Not at the moment but we could likely support this feature.",
"?",
"I think it would be a very helpful feature, because sometimes one only wants to evaluate models on the dev set, and the whole training data may be many times bigger.\r\nThis makes the task impossible with limited memory resources."
] |
MDU6SXNzdWU3NDg5NDk2MDY= | 880 | Add SQA | ## Adding a Dataset
- **Name:** SQA (Sequential Question Answering) by Microsoft.
- **Description:** The SQA dataset was created to explore the task of answering sequences of inter-related questions on HTML tables. It has 6,066 sequences with 17,553 questions in total.
- **Paper:** https://www.microsoft.com/en-us/r... | CLOSED | 2020-11-23T16:31:55 | 2020-12-23T13:58:24 | 2020-12-23T13:58:23 | https://github.com/huggingface/datasets/issues/880 | {
"login": "NielsRogge"
} | {
"nodes": [
{
"name": "dataset request"
}
]
} | [
"I’ll take this one to test the workflow for the sprint next week cc @yjernite @lhoestq ",
"@thomwolf here's a slightly adapted version of the code from the [official Tapas repository](https://github.com/google-research/tapas/blob/master/tapas/utils/interaction_utils.py) that is used to turn the `answer_coordinat... |
MDU6SXNzdWU3NDg4NDg4NDc= | 879 | boolq does not load | Hi
I am getting these errors trying to load boolq thanks
Traceback (most recent call last):
File "test.py", line 5, in <module>
data = AutoTask().get("boolq").get_dataset("train", n_obs=10)
File "/remote/idiap.svm/user.active/rkarimi/dev/internship/seq2seq/tasks/tasks.py", line 42, in get_dataset
d... | CLOSED | 2020-11-23T14:28:28 | 2022-10-05T12:23:32 | 2022-10-05T12:23:32 | https://github.com/huggingface/datasets/issues/879 | {
"login": "rabeehk"
} | {
"nodes": [
{
"name": "dataset bug"
}
]
} | [
"Hi ! It runs on my side without issues. I tried\r\n```python\r\nfrom datasets import load_dataset\r\nload_dataset(\"boolq\")\r\n```\r\n\r\nWhat version of datasets and tensorflow are your runnning ?\r\nAlso if you manage to get a minimal reproducible script (on google colab for example) that would be useful.",
"... |
MDU6SXNzdWU3NDg2MjE5ODE= | 878 | Loading Data From S3 Path in Sagemaker | In Sagemaker Im tring to load the data set from S3 path as follows
`train_path = 's3://xxxxxxxxxx/xxxxxxxxxx/train.csv'
valid_path = 's3://xxxxxxxxxx/xxxxxxxxxx/validation.csv'
test_path = 's3://xxxxxxxxxx/xxxxxxxxxx/test.csv'
data_files = {}
data_files["train"] = train_path
data_files... | OPEN | 2020-11-23T09:17:22 | 2020-12-23T09:53:08 | null | https://github.com/huggingface/datasets/issues/878 | {
"login": "mahesh1amour"
} | {
"nodes": [
{
"name": "enhancement"
},
{
"name": "question"
}
]
} | [
"This would be a neat feature",
"> neat feature\r\n\r\nI dint get these clearly, can you please elaborate like how to work on these ",
"It could maybe work almost out of the box just by using `cached_path` in the text/csv/json scripts, no?",
"Thanks thomwolf and julien-c\r\n\r\nI'm still confusion on what you... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.