number int64 2 7.91k | title stringlengths 1 290 | body stringlengths 0 228k | state stringclasses 2
values | created_at timestamp[s]date 2020-04-14 18:18:51 2025-12-16 10:45:02 | updated_at timestamp[s]date 2020-04-29 09:23:05 2025-12-16 19:34:46 | closed_at timestamp[s]date 2020-04-29 09:23:05 2025-12-16 14:20:48 ⌀ | url stringlengths 48 51 | author stringlengths 3 26 ⌀ | comments_count int64 0 70 | labels listlengths 0 4 |
|---|---|---|---|---|---|---|---|---|---|---|
2,462 | Merge DatasetDict and Dataset | As discussed in #2424 and #2437 (please see there for detailed conversation):
- It would be desirable to improve UX with respect the confusion between DatasetDict and Dataset.
- The difference between Dataset and DatasetDict is an additional abstraction complexity that confuses "typical" end users.
- A user expects... | OPEN | 2021-06-08T19:22:04 | 2023-08-16T09:34:34 | null | https://github.com/huggingface/datasets/issues/2462 | albertvillanova | 2 | [
"enhancement",
"generic discussion"
] |
2,459 | `Proto_qa` hosting seems to be broken | ## Describe the bug
The hosting (on Github) of the `proto_qa` dataset seems broken. I haven't investigated more yet, just flagging it for now.
@zaidalyafeai if you want to dive into it, I think it's just a matter of changing the links in `proto_qa.py`
## Steps to reproduce the bug
```python
from datasets impo... | CLOSED | 2021-06-08T16:16:32 | 2021-06-10T08:31:09 | 2021-06-10T08:31:09 | https://github.com/huggingface/datasets/issues/2459 | VictorSanh | 1 | [
"bug"
] |
2,458 | Revert default in-memory for small datasets | Users are reporting issues and confusion about setting default in-memory to True for small datasets.
We see 2 clear use cases of Datasets:
- the "canonical" way, where you can work with very large datasets, as they are memory-mapped and cached (after every transformation)
- some edge cases (speed benchmarks, inter... | CLOSED | 2021-06-08T15:51:41 | 2021-06-08T18:57:11 | 2021-06-08T17:55:43 | https://github.com/huggingface/datasets/issues/2458 | albertvillanova | 1 | [
"enhancement"
] |
2,452 | MRPC test set differences between torch and tensorflow datasets | ## Describe the bug
When using `load_dataset("glue", "mrpc")` to load the MRPC dataset, the test set includes the labels. When using `tensorflow_datasets.load('glue/{}'.format('mrpc'))` to load the dataset the test set does not contain the labels. There should be consistency between torch and tensorflow ways of import... | CLOSED | 2021-06-07T14:20:26 | 2021-06-07T14:34:32 | 2021-06-07T14:34:32 | https://github.com/huggingface/datasets/issues/2452 | FredericOdermatt | 1 | [
"bug"
] |
2,450 | BLUE file not found | Hi, I'm having the following issue when I try to load the `blue` metric.
```shell
import datasets
metric = datasets.load_metric('blue')
Traceback (most recent call last):
File "/home/irfan/environments/Perplexity_Transformers/lib/python3.6/site-packages/datasets/load.py", line 320, in prepare_module
local... | CLOSED | 2021-06-06T17:01:54 | 2021-06-07T10:46:15 | 2021-06-07T10:46:15 | https://github.com/huggingface/datasets/issues/2450 | mirfan899 | 2 | [] |
2,447 | dataset adversarial_qa has no answers in the "test" set | ## Describe the bug
When loading the adversarial_qa dataset the 'test' portion has no answers. Only the 'train' and 'validation' portions do. This occurs with all four of the configs ('adversarialQA', 'dbidaf', 'dbert', 'droberta')
## Steps to reproduce the bug
```
from datasets import load_dataset
examples ... | CLOSED | 2021-06-05T14:57:38 | 2021-06-07T11:13:07 | 2021-06-07T11:13:07 | https://github.com/huggingface/datasets/issues/2447 | bjascob | 2 | [
"bug"
] |
2,446 | `yelp_polarity` is broken | 
| CLOSED | 2021-06-04T15:44:29 | 2021-06-04T18:56:47 | 2021-06-04T18:56:47 | https://github.com/huggingface/datasets/issues/2446 | JetRunner | 2 | [] |
2,444 | Sentence Boundaries missing in Dataset: xtreme / udpos | I was browsing through annotation guidelines, as suggested by the datasets introduction.
The guidlines saids "There must be exactly one blank line after every sentence, including the last sentence in the file. Empty sentences are not allowed." in the [Sentence Boundaries and Comments section](https://universaldepend... | CLOSED | 2021-06-04T09:10:26 | 2021-06-18T11:53:43 | 2021-06-18T11:53:43 | https://github.com/huggingface/datasets/issues/2444 | cosmeowpawlitan | 2 | [
"bug"
] |
2,443 | Some tests hang on Windows | Currently, several tests hang on Windows if the max path limit of 260 characters is not disabled. This happens due to the changes introduced by #2223 that cause an infinite loop in `WindowsFileLock` described in #2220. This can be very tricky to debug, so I think now is a good time to address these issues/PRs. IMO thr... | CLOSED | 2021-06-03T00:27:30 | 2021-06-28T08:47:39 | 2021-06-28T08:47:39 | https://github.com/huggingface/datasets/issues/2443 | mariosasko | 3 | [
"bug"
] |
2,441 | DuplicatedKeysError on personal dataset | ## Describe the bug
Ever since today, I have been getting a DuplicatedKeysError while trying to load my dataset from my own script.
Error returned when running this line: `dataset = load_dataset('/content/drive/MyDrive/Thesis/Datasets/book_preprocessing/goodreads_maharjan_trimmed_and_nered/goodreadsnered.py')`
Note ... | CLOSED | 2021-06-01T17:59:41 | 2021-06-04T23:50:03 | 2021-06-04T23:50:03 | https://github.com/huggingface/datasets/issues/2441 | lucaguarro | 2 | [
"bug"
] |
2,440 | Remove `extended` field from dataset tagger | ## Describe the bug
While working on #2435 I used the [dataset tagger](https://huggingface.co/datasets/tagging/) to generate the missing tags for the YAML metadata of each README.md file. However, it seems that our CI raises an error when the `extended` field is included:
```
dataset_name = 'arcd'
@pytest.m... | CLOSED | 2021-06-01T17:18:42 | 2021-06-09T09:06:31 | 2021-06-09T09:06:30 | https://github.com/huggingface/datasets/issues/2440 | lewtun | 4 | [
"bug"
] |
2,434 | Extend QuestionAnsweringExtractive template to handle nested columns | Currently the `QuestionAnsweringExtractive` task template and `preprare_for_task` only support "flat" features. We should extend the functionality to cover QA datasets like:
* `iapp_wiki_qa_squad`
* `parsinlu_reading_comprehension`
where the nested features differ with those from `squad` and trigger an `ArrowNot... | CLOSED | 2021-05-31T14:06:51 | 2022-10-05T17:06:28 | 2022-10-05T17:06:28 | https://github.com/huggingface/datasets/issues/2434 | lewtun | 2 | [
"enhancement"
] |
2,431 | DuplicatedKeysError when trying to load adversarial_qa | ## Describe the bug
A clear and concise description of what the bug is.
## Steps to reproduce the bug
```python
dataset = load_dataset('adversarial_qa', 'adversarialQA')
```
## Expected results
The dataset should be loaded into memory
## Actual results
>DuplicatedKeysError: FAILURE TO GENERATE DATASET ... | CLOSED | 2021-05-31T12:11:19 | 2021-06-01T08:54:03 | 2021-06-01T08:52:11 | https://github.com/huggingface/datasets/issues/2431 | hanss0n | 1 | [
"bug"
] |
2,426 | Saving Graph/Structured Data in Datasets | Thanks for this amazing library! And my question is I have structured data that is organized with a graph. For example, a dataset with users' friendship relations and user's articles. When I try to save a python dict in the dataset, an error occurred ``did not recognize Python value type when inferring an Arrow data ty... | CLOSED | 2021-05-29T13:35:21 | 2021-06-02T01:21:03 | 2021-06-02T01:21:03 | https://github.com/huggingface/datasets/issues/2426 | gsh199449 | 6 | [
"enhancement"
] |
2,424 | load_from_disk and save_to_disk are not compatible with each other | ## Describe the bug
load_from_disk and save_to_disk are not compatible. When I use save_to_disk to save a dataset to disk it works perfectly but given the same directory load_from_disk throws an error that it can't find state.json. looks like the load_from_disk only works on one split
## Steps to reproduce the bug
... | CLOSED | 2021-05-28T23:07:10 | 2021-06-08T19:22:32 | 2021-06-08T19:22:32 | https://github.com/huggingface/datasets/issues/2424 | roholazandie | 6 | [] |
2,415 | Cached dataset not loaded | ## Describe the bug
I have a large dataset (common_voice, english) where I use several map and filter functions.
Sometimes my cached datasets after specific functions are not loaded.
I always use the same arguments, same functions, no seed…
## Steps to reproduce the bug
```python
def filter_by_duration(batch):
... | CLOSED | 2021-05-27T15:40:06 | 2021-06-02T13:15:47 | 2021-06-02T13:15:47 | https://github.com/huggingface/datasets/issues/2415 | borisdayma | 5 | [
"bug"
] |
2,413 | AttributeError: 'DatasetInfo' object has no attribute 'task_templates' | ## Describe the bug
Hello,
I'm trying to add dataset and contribute, but test keep fail with below cli.
` RUN_SLOW=1 pytest tests/test_dataset_common.py::LocalDatasetTest::test_load_dataset_all_configs_<my_dataset>`
## Steps to reproduce the bug
It seems like a bug when I see an error with the existing dataset,... | CLOSED | 2021-05-27T13:44:28 | 2021-06-01T01:05:47 | 2021-06-01T01:05:47 | https://github.com/huggingface/datasets/issues/2413 | jungwhank | 1 | [
"bug"
] |
2,412 | Docstring mistake: dataset vs. metric | This:
https://github.com/huggingface/datasets/blob/d95b95f8cf3cb0cff5f77a675139b584dcfcf719/src/datasets/load.py#L582
Should better be something like:
`a metric identifier on HuggingFace AWS bucket (list all available metrics and ids with ``datasets.list_metrics()``)`
I can provide a PR l8er... | CLOSED | 2021-05-27T13:39:11 | 2021-06-01T08:18:04 | 2021-06-01T08:18:04 | https://github.com/huggingface/datasets/issues/2412 | PhilipMay | 1 | [] |
2,407 | .map() function got an unexpected keyword argument 'cache_file_name' | ## Describe the bug
I'm trying to save the result of datasets.map() to a specific file, so that I can easily share it among multiple computers without reprocessing the dataset. However, when I try to pass an argument 'cache_file_name' to the .map() function, it throws an error that ".map() function got an unexpected... | CLOSED | 2021-05-27T01:54:26 | 2021-05-27T13:46:40 | 2021-05-27T13:46:40 | https://github.com/huggingface/datasets/issues/2407 | cindyxinyiwang | 3 | [
"bug"
] |
2,406 | Add guide on using task templates to documentation | Once we have a stable API on the text classification and question answering task templates, add a guide on how to use them in the documentation.
| CLOSED | 2021-05-26T16:28:26 | 2022-10-05T17:07:00 | 2022-10-05T17:07:00 | https://github.com/huggingface/datasets/issues/2406 | lewtun | 0 | [
"enhancement"
] |
2,402 | PermissionError on Windows when using temp dir for caching | Currently, the following code raises a PermissionError on master if working on Windows:
```python
# run as a script or call exit() in REPL to initiate the temp dir cleanup
from datasets import *
d = load_dataset("sst", split="train", keep_in_memory=False)
set_caching_enabled(False)
d.map(lambda ex: ex)
```
... | CLOSED | 2021-05-24T21:22:59 | 2021-05-26T16:39:29 | 2021-05-26T16:39:29 | https://github.com/huggingface/datasets/issues/2402 | mariosasko | 0 | [
"bug"
] |
2,401 | load_dataset('natural_questions') fails with "ValueError: External features info don't match the dataset" | ## Describe the bug
load_dataset('natural_questions') throws ValueError
## Steps to reproduce the bug
```python
from datasets import load_dataset
datasets = load_dataset('natural_questions', split='validation[:10]')
```
## Expected results
Call to load_dataset returns data.
## Actual results
```
Using ... | CLOSED | 2021-05-24T18:38:53 | 2021-06-09T09:07:25 | 2021-06-09T09:07:25 | https://github.com/huggingface/datasets/issues/2401 | jonrbates | 4 | [
"bug"
] |
2,400 | Concatenate several datasets with removed columns is not working. | ## Describe the bug
You can't concatenate datasets when you removed columns before.
## Steps to reproduce the bug
```python
from datasets import load_dataset, concatenate_datasets
wikiann= load_dataset("wikiann","en")
wikiann["train"] = wikiann["train"].remove_columns(["langs","spans"])
wikiann["test"] =... | CLOSED | 2021-05-24T17:40:15 | 2021-05-25T05:52:01 | 2021-05-25T05:51:59 | https://github.com/huggingface/datasets/issues/2400 | philschmid | 2 | [
"bug"
] |
2,398 | News_commentary Dataset Translation Pairs are of Incorrect Language Specified Pairs | I used load_dataset to load the news_commentary dataset for "ar-en" translation pairs but found translations from Arabic to Hindi.
```
train_ds = load_dataset("news_commentary", "ar-en", split='train[:98%]')
val_ds = load_dataset("news_commentary", "ar-en", split='train[98%:]')
# filtering out examples that a... | CLOSED | 2021-05-24T10:03:34 | 2022-10-05T17:13:49 | 2022-10-05T17:13:49 | https://github.com/huggingface/datasets/issues/2398 | anassalamah | 1 | [
"bug"
] |
2,396 | strange datasets from OSCAR corpus | 

From the [official site ](https://oscar-corpus.com/), the Yue Chinese dataset should have 2.2K... | OPEN | 2021-05-23T13:06:02 | 2021-06-17T13:54:37 | null | https://github.com/huggingface/datasets/issues/2396 | cosmeowpawlitan | 2 | [
"bug"
] |
2,391 | Missing original answers in kilt-TriviaQA | I previously opened an issue at https://github.com/facebookresearch/KILT/issues/42 but from the answer of @fabiopetroni it seems that the problem comes from HF-datasets
## Describe the bug
The `answer` field in kilt-TriviaQA, e.g. `kilt_tasks['train_triviaqa'][0]['output']['answer']` contains a list of alternative ... | CLOSED | 2021-05-21T14:57:07 | 2021-06-14T17:29:11 | 2021-06-14T17:29:11 | https://github.com/huggingface/datasets/issues/2391 | PaulLerner | 2 | [
"bug"
] |
2,388 | Incorrect URLs for some datasets | ## Describe the bug
It seems that the URLs for the following datasets are invalid:
- [ ] `bn_hate_speech` has been renamed: https://github.com/rezacsedu/Bengali-Hate-Speech-Dataset/commit/c67ecfc4184911e12814f6b36901f9828df8a63a
- [ ] `covid_tweets_japanese` has been renamed: http://www.db.info.gifu-u.ac.jp/covi... | CLOSED | 2021-05-21T07:22:35 | 2021-06-04T17:39:45 | 2021-06-04T17:39:45 | https://github.com/huggingface/datasets/issues/2388 | lewtun | 0 | [
"bug"
] |
2,387 | datasets 1.6 ignores cache | Moving from https://github.com/huggingface/transformers/issues/11801#issuecomment-845546612
Quoting @VictorSanh:
>
> I downgraded datasets to `1.5.0` and printed `tokenized_datasets.cache_files` (L335):
>
> > `{'train': [{'filename': '/home/victor/.cache/huggingface/datasets/openwebtext10k/plain_text/1.0.0/... | CLOSED | 2021-05-21T00:12:58 | 2021-05-26T16:07:54 | 2021-05-26T16:07:54 | https://github.com/huggingface/datasets/issues/2387 | stas00 | 13 | [
"bug"
] |
2,386 | Accessing Arrow dataset cache_files | ## Describe the bug
In datasets 1.5.0 the following code snippet would have printed the cache_files:
```
train_data = load_dataset('conll2003', split='train', cache_dir='data')
print(train_data.cache_files[0]['filename'])
```
However, in the newest release (1.6.1), it prints an empty list.
I also tried l... | CLOSED | 2021-05-20T23:57:43 | 2021-05-21T19:18:03 | 2021-05-21T19:18:03 | https://github.com/huggingface/datasets/issues/2386 | Mehrad0711 | 1 | [
"bug"
] |
2,382 | DuplicatedKeysError: FAILURE TO GENERATE DATASET ! load_dataset('head_qa', 'en') | Hello everyone,
I try to use head_qa dataset in [https://huggingface.co/datasets/viewer/?dataset=head_qa&config=en](url)
```
!pip install datasets
from datasets import load_dataset
dataset = load_dataset(
'head_qa', 'en')
```
When I write above load_dataset(.), it throws the following:
```
Duplicated... | CLOSED | 2021-05-19T15:49:48 | 2021-05-30T13:26:16 | 2021-05-30T13:26:16 | https://github.com/huggingface/datasets/issues/2382 | helloworld123-lab | 0 | [] |
2,378 | Add missing dataset_infos.json files | Some of the datasets in `datasets` are missing a `dataset_infos.json` file, e.g.
```
[PosixPath('datasets/chr_en/chr_en.py'), PosixPath('datasets/chr_en/README.md')]
[PosixPath('datasets/telugu_books/README.md'), PosixPath('datasets/telugu_books/telugu_books.py')]
[PosixPath('datasets/reclor/README.md'), PosixPat... | OPEN | 2021-05-19T08:11:12 | 2021-05-19T08:11:12 | null | https://github.com/huggingface/datasets/issues/2378 | lewtun | 0 | [
"enhancement"
] |
2,377 | ArrowDataset.save_to_disk produces files that cannot be read using pyarrow.feather | ## Describe the bug
A clear and concise description of what the bug is.
## Steps to reproduce the bug
```python
from datasets import load_dataset
from pyarrow import feather
dataset = load_dataset('imdb', split='train')
dataset.save_to_disk('dataset_dir')
table = feather.read_table('dataset_dir/dataset.arro... | OPEN | 2021-05-19T02:04:37 | 2024-01-18T08:06:15 | null | https://github.com/huggingface/datasets/issues/2377 | Ark-kun | 4 | [
"bug"
] |
2,373 | Loading dataset from local path | I'm trying to load a local dataset with the code below
```
ds = datasets.load_dataset('my_script.py',
data_files='corpus.txt',
data_dir='/data/dir',
cache_dir='.')
```
But internally a BuilderConfig is created, which tries to u... | CLOSED | 2021-05-18T15:20:50 | 2021-05-18T15:36:36 | 2021-05-18T15:36:35 | https://github.com/huggingface/datasets/issues/2373 | kolakows | 1 | [] |
2,371 | Align question answering tasks with sub-domains | As pointed out by @thomwolf in #2255 we should consider breaking with the pipeline taxonomy of `transformers` to account for the various types of question-answering domains:
> `question-answering` exists in two forms: abstractive and extractive question answering.
>
> we can keep a generic `question-answering` bu... | CLOSED | 2021-05-18T09:47:59 | 2023-07-25T16:52:05 | 2023-07-25T16:52:04 | https://github.com/huggingface/datasets/issues/2371 | lewtun | 1 | [
"enhancement"
] |
2,366 | Json loader fails if user-specified features don't match the json data fields order | If you do
```python
dataset = load_dataset("json", data_files=data_files, features=features)
```
Then depending on the order of the features in the json data field it fails:
```python
[...]
~/Desktop/hf/datasets/src/datasets/packaged_modules/json/json.py in _generate_tables(self, files)
94 if s... | CLOSED | 2021-05-17T10:26:08 | 2021-06-16T10:47:49 | 2021-06-16T10:47:49 | https://github.com/huggingface/datasets/issues/2366 | lhoestq | 0 | [
"bug"
] |
2,365 | Missing ClassLabel encoding in Json loader | Currently if you want to load a json dataset this way
```python
dataset = load_dataset("json", data_files=data_files, features=features)
```
Then if your features has ClassLabel types and if your json data needs class label encoding (i.e. if the labels in the json files are strings and not integers), then it would ... | CLOSED | 2021-05-17T10:19:10 | 2021-06-28T15:05:34 | 2021-06-28T15:05:34 | https://github.com/huggingface/datasets/issues/2365 | lhoestq | 0 | [
"bug"
] |
2,360 | Automatically detect datasets with compatible task schemas | See description of #2255 for details.
| OPEN | 2021-05-14T14:23:40 | 2021-05-14T14:23:40 | null | https://github.com/huggingface/datasets/issues/2360 | lewtun | 0 | [
"enhancement"
] |
2,359 | Allow model labels to be passed during task preparation | Models have a config with label2id. And we have the same for datasets with the ClassLabel feature type. At one point either the model or the dataset must sync with the other. It would be great to do that on the dataset side.
For example for sentiment classification on amazon reviews with you could have these labels:... | CLOSED | 2021-05-14T13:58:28 | 2022-10-05T17:37:22 | 2022-10-05T17:37:22 | https://github.com/huggingface/datasets/issues/2359 | lewtun | 1 | [] |
2,354 | Document DatasetInfo attributes | **Is your feature request related to a problem? Please describe.**
As noted in PR #2255, the attributes of `DatasetInfo` are not documented in the [docs](https://huggingface.co/docs/datasets/package_reference/main_classes.html?highlight=datasetinfo#datasetinfo). It would be nice to do so :)
| CLOSED | 2021-05-12T20:01:29 | 2021-05-22T09:26:14 | 2021-05-22T09:26:14 | https://github.com/huggingface/datasets/issues/2354 | lewtun | 0 | [
"enhancement"
] |
2,350 | `FaissIndex.save` throws error on GPU | ## Describe the bug
After training an index with a factory string `OPQ16_128,IVF512,PQ32` on GPU, `.save_faiss_index` throws this error.
```
File "index_wikipedia.py", line 119, in <module>
data["train"].save_faiss_index("text_emb", index_save_path)
File "/home/vlialin/miniconda3/envs/cat/lib/python3.8... | CLOSED | 2021-05-12T03:41:56 | 2021-05-17T13:41:41 | 2021-05-17T13:41:41 | https://github.com/huggingface/datasets/issues/2350 | Guitaricet | 1 | [
"bug"
] |
2,347 | Add an API to access the language and pretty name of a dataset | It would be super nice to have an API to get some metadata of the dataset from the name and args passed to `load_dataset`. This way we could programmatically infer the language and the name of a dataset when creating model cards automatically in the Transformers examples scripts. | CLOSED | 2021-05-11T14:10:08 | 2022-10-05T17:16:54 | 2022-10-05T17:16:53 | https://github.com/huggingface/datasets/issues/2347 | sgugger | 6 | [
"enhancement"
] |
2,345 | [Question] How to move and reuse preprocessed dataset? | Hi, I am training a gpt-2 from scratch using run_clm.py.
I want to move and reuse the preprocessed dataset (It take 2 hour to preprocess),
I tried to :
copy path_to_cache_dir/datasets to new_cache_dir/datasets
set export HF_DATASETS_CACHE="new_cache_dir/"
but the program still re-preprocess the whole dataset... | CLOSED | 2021-05-11T09:09:17 | 2021-06-11T04:39:11 | 2021-06-11T04:39:11 | https://github.com/huggingface/datasets/issues/2345 | AtmaHou | 4 | [] |
2,344 | Is there a way to join multiple datasets in one? | **Is your feature request related to a problem? Please describe.**
I need to join 2 datasets, one that is in the hub and another I've created from my files. Is there an easy way to join these 2?
**Describe the solution you'd like**
Id like to join them with a merge or join method, just like pandas dataframes.
**Add... | OPEN | 2021-05-10T23:16:10 | 2022-10-05T17:27:05 | null | https://github.com/huggingface/datasets/issues/2344 | avacaondata | 2 | [
"enhancement"
] |
2,343 | Columns are removed before or after map function applied? | ## Describe the bug
According to the documentation when applying map function the [remove_columns ](https://huggingface.co/docs/datasets/processing.html#removing-columns) will be removed after they are passed to the function, but in the [source code](https://huggingface.co/docs/datasets/package_reference/main_classes.... | OPEN | 2021-05-10T02:36:20 | 2022-10-24T11:31:55 | null | https://github.com/huggingface/datasets/issues/2343 | taghizad3h | 1 | [
"bug"
] |
2,337 | NonMatchingChecksumError for web_of_science dataset | NonMatchingChecksumError when trying to download the web_of_science dataset.
>NonMatchingChecksumError: Checksums didn't match for dataset source files:
['https://data.mendeley.com/datasets/9rw3vkcfy4/6/files/c9ea673d-5542-44c0-ab7b-f1311f7d61df/WebOfScience.zip?dl=1']
Setting `ignore_verfications=True` results... | CLOSED | 2021-05-09T02:02:02 | 2021-05-10T13:35:53 | 2021-05-10T13:35:53 | https://github.com/huggingface/datasets/issues/2337 | nbroad1881 | 1 | [
"bug"
] |
2,335 | Index error in Dataset.map | The following code, if executed on master, raises an IndexError (due to overflow):
```python
>>> from datasets import *
>>> d = load_dataset("bookcorpus", split="train")
Reusing dataset bookcorpus (C:\Users\Mario\.cache\huggingface\datasets\bookcorpus\plain_text\1.0.0\44662c4a114441c35200992bea923b170e6f13f2f0beb7c... | CLOSED | 2021-05-08T20:44:57 | 2021-05-10T13:26:12 | 2021-05-10T13:26:12 | https://github.com/huggingface/datasets/issues/2335 | mariosasko | 0 | [
"bug"
] |
2,331 | Add Topical-Chat | ## Adding a Dataset
- **Name:** Topical-Chat
- **Description:** a knowledge-grounded human-human conversation dataset where the underlying knowledge spans 8 broad topics and conversation partners don’t have explicitly defined roles
- **Paper:** https://www.isca-speech.org/archive/Interspeech_2019/pdfs/3079.pdf
- **... | OPEN | 2021-05-07T13:43:59 | 2021-05-07T13:43:59 | null | https://github.com/huggingface/datasets/issues/2331 | ktangri | 0 | [
"dataset request"
] |
2,330 | Allow passing `desc` to `tqdm` in `Dataset.map()` | It's normal to have many `map()` calls, and some of them can take a few minutes,
it would be nice to have a description on the progress bar.
Alternative solution:
Print the description before/after the `map()` call. | CLOSED | 2021-05-07T05:52:54 | 2021-05-26T14:59:21 | 2021-05-26T14:59:21 | https://github.com/huggingface/datasets/issues/2330 | changjonathanc | 2 | [
"enhancement",
"good first issue"
] |
2,327 | A syntax error in example | 
Sorry to report with an image, I can't find the template source code of this snippet. | CLOSED | 2021-05-06T14:34:44 | 2021-05-20T03:04:19 | 2021-05-20T03:04:19 | https://github.com/huggingface/datasets/issues/2327 | mymusise | 2 | [
"bug"
] |
2,323 | load_dataset("timit_asr") gives back duplicates of just one sample text | ## Describe the bug
When you look up on key ["train"] and then ['text'], you get back a list with just one sentence duplicated 4620 times. Namely, the sentence "Would such an act of refusal be useful?". Similarly when you look up ['test'] and then ['text'], the list is one sentence repeated "The bungalow was pleasant... | CLOSED | 2021-05-05T13:14:48 | 2021-05-07T10:32:30 | 2021-05-07T10:32:30 | https://github.com/huggingface/datasets/issues/2323 | ekeleshian | 3 | [
"bug"
] |
2,322 | Calls to map are not cached. | ## Describe the bug
Somehow caching does not work for me anymore. Am I doing something wrong, or is there anything that I missed?
## Steps to reproduce the bug
```python
import datasets
datasets.set_caching_enabled(True)
sst = datasets.load_dataset("sst")
def foo(samples, i):
print("executed", i[:10])... | CLOSED | 2021-05-05T12:11:27 | 2021-06-08T19:10:02 | 2021-06-08T19:08:21 | https://github.com/huggingface/datasets/issues/2322 | villmow | 6 | [
"bug"
] |
2,319 | UnicodeDecodeError for OSCAR (Afrikaans) | ## Describe the bug
When loading the [OSCAR dataset](https://huggingface.co/datasets/oscar) (specifically `unshuffled_deduplicated_af`), I encounter a `UnicodeDecodeError`.
## Steps to reproduce the bug
```python
from datasets import load_dataset
dataset = load_dataset("oscar", "unshuffled_deduplicated_af")
```... | CLOSED | 2021-05-05T09:22:52 | 2021-05-05T10:57:31 | 2021-05-05T10:50:55 | https://github.com/huggingface/datasets/issues/2319 | sgraaf | 3 | [
"bug"
] |
2,318 | [api request] API to obtain "dataset_module" dynamic path? | **Is your feature request related to a problem? Please describe.**
A clear and concise description of what the problem is.
This is an awesome library.
It seems like the dynamic module path in this library has broken some of hyperparameter tuning functionality: https://discuss.huggingface.co/t/using-hyperparamet... | CLOSED | 2021-05-05T08:40:48 | 2021-05-06T08:45:45 | 2021-05-06T07:57:54 | https://github.com/huggingface/datasets/issues/2318 | richardliaw | 5 | [
"enhancement"
] |
2,316 | Incorrect version specification for pyarrow | ## Describe the bug
The pyarrow dependency is incorrectly specified in setup.py file, in [this line](https://github.com/huggingface/datasets/blob/3a3e5a4da20bfcd75f8b6a6869b240af8feccc12/setup.py#L77).
Also as a snippet:
```python
"pyarrow>=1.0.0<4.0.0",
```
## Steps to reproduce the bug
```bash
pip install... | CLOSED | 2021-05-04T19:15:11 | 2021-05-05T10:10:03 | 2021-05-05T10:10:03 | https://github.com/huggingface/datasets/issues/2316 | cemilcengiz | 1 | [
"bug"
] |
2,301 | Unable to setup dev env on Windows | Hi
I tried installing the `".[dev]"` version on Windows 10 after cloning.
Here is the error I'm facing:
```bat
(env) C:\testing\datasets>pip install -e ".[dev]"
Obtaining file:///C:/testing/datasets
Requirement already satisfied: numpy>=1.17 in c:\programdata\anaconda3\envs\env\lib\site-packages (from datas... | CLOSED | 2021-05-02T13:20:42 | 2021-05-03T15:18:01 | 2021-05-03T15:17:34 | https://github.com/huggingface/datasets/issues/2301 | gchhablani | 2 | [] |
2,300 | Add VoxPopuli | ## Adding a Dataset
- **Name:** Voxpopuli
- **Description:** VoxPopuli is raw data is collected from 2009-2020 European Parliament event recordings
- **Paper:** https://arxiv.org/abs/2101.00390
- **Data:** https://github.com/facebookresearch/voxpopuli
- **Motivation:** biggest unlabeled speech dataset
**Note**:... | CLOSED | 2021-05-02T12:17:40 | 2023-02-28T17:43:52 | 2023-02-28T17:43:51 | https://github.com/huggingface/datasets/issues/2300 | patrickvonplaten | 4 | [
"dataset request",
"speech"
] |
2,299 | My iPhone | ## 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-05-02T11:11:11 | 2021-07-23T09:24:16 | 2021-05-03T08:17:38 | https://github.com/huggingface/datasets/issues/2299 | Jasonbuchanan1983 | 0 | [] |
2,296 | 1 | ## 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-04-30T17:53:49 | 2021-05-03T08:17:31 | 2021-05-03T08:17:31 | https://github.com/huggingface/datasets/issues/2296 | zinnyi | 0 | [
"dataset request"
] |
2,294 | Slow #0 when using map to tokenize. | Hi, _datasets_ is really amazing! I am following [run_mlm_no_trainer.py](url) to pre-train BERT, and it uses `tokenized_datasets = raw_datasets.map(
tokenize_function,
batched=True,
num_proc=args.preprocessing_num_workers,
remove_columns=column_names,
loa... | OPEN | 2021-04-30T08:00:33 | 2021-05-04T11:00:11 | null | https://github.com/huggingface/datasets/issues/2294 | VerdureChen | 3 | [] |
2,288 | Load_dataset for local CSV files | The method load_dataset fails to correctly load a dataset from csv.
Moreover, I am working on a token-classification task ( POS tagging) , where each row in my CSV contains two columns each of them having a list of strings.
row example:
```tokens | labels
['I' , 'am', 'John'] | ['PRON', 'AUX', 'PROPN' ]
``... | CLOSED | 2021-04-29T15:01:10 | 2021-06-15T13:49:26 | 2021-06-15T13:49:26 | https://github.com/huggingface/datasets/issues/2288 | sstojanoska | 3 | [
"bug"
] |
2,285 | Help understanding how to build a dataset for language modeling as with the old TextDataset | Hello,
I am trying to load a custom dataset that I will then use for language modeling. The dataset consists of a text file that has a whole document in each line, meaning that each line overpasses the normal 512 tokens limit of most tokenizers.
I would like to understand what is the process to build a text datas... | CLOSED | 2021-04-29T13:16:45 | 2021-05-19T07:22:45 | 2021-05-19T07:22:39 | https://github.com/huggingface/datasets/issues/2285 | danieldiezmallo | 2 | [] |
2,279 | Compatibility with Ubuntu 18 and GLIBC 2.27? | ## Describe the bug
For use on Ubuntu systems, it seems that datasets requires GLIBC 2.29. However, Ubuntu 18 runs with GLIBC 2.27 and it seems [non-trivial to upgrade GLIBC to 2.29 for Ubuntu 18 users](https://www.digitalocean.com/community/questions/how-install-glibc-2-29-or-higher-in-ubuntu-18-04).
I'm not sure... | CLOSED | 2021-04-28T22:08:07 | 2021-04-29T07:42:42 | 2021-04-29T07:42:42 | https://github.com/huggingface/datasets/issues/2279 | tginart | 2 | [
"bug"
] |
2,278 | Loss result inGptNeoForCasual | Is there any way you give the " loss" and "logits" results in the gpt neo api? | CLOSED | 2021-04-28T15:39:52 | 2021-05-06T16:14:23 | 2021-05-06T16:14:23 | https://github.com/huggingface/datasets/issues/2278 | Yossillamm | 1 | [
"enhancement"
] |
2,276 | concatenate_datasets loads all the data into memory | ## Describe the bug
When I try to concatenate 2 datasets (10GB each) , the entire data is loaded into memory instead of being written directly to disk.
Interestingly, this happens when trying to save the new dataset to disk or concatenating it again.
 and [here](https://github.com/huggingface/datasets/tree/master/datasets/snli) don't list -1 as a label possibility, and neither does the dataset viewer. As examples, see index 107... | CLOSED | 2021-04-28T00:32:25 | 2021-05-17T13:34:18 | 2021-05-17T13:34:18 | https://github.com/huggingface/datasets/issues/2275 | puzzler10 | 1 | [] |
2,272 | Bug in Dataset.class_encode_column | ## Describe the bug
All the rest of the columns except the one passed to `Dataset.class_encode_column` are discarded.
## Expected results
All the original columns should be kept.
This needs regression tests.
| CLOSED | 2021-04-27T16:13:18 | 2021-04-30T12:54:27 | 2021-04-30T12:54:27 | https://github.com/huggingface/datasets/issues/2272 | albertvillanova | 1 | [
"bug"
] |
2,271 | Synchronize table metadata with features | **Is your feature request related to a problem? Please describe.**
As pointed out in this [comment](https://github.com/huggingface/datasets/pull/2145#discussion_r621326767):
> Metadata stored in the schema is just a redundant information regarding the feature types.
It is used when calling Dataset.from_file to kno... | CLOSED | 2021-04-27T15:55:13 | 2022-06-01T17:13:21 | 2022-06-01T17:13:21 | https://github.com/huggingface/datasets/issues/2271 | albertvillanova | 1 | [
"enhancement"
] |
2,267 | DatasetDict save load Failing test in 1.6 not in 1.5 | ## Describe the bug
We have a test that saves a DatasetDict to disk and then loads it from disk. In 1.6 there is an incompatibility in the schema.
Downgrading to `>1.6` -- fixes the problem.
## Steps to reproduce the bug
```python
### Load a dataset dict from jsonl
path = '/test/foo'
ds_dict.s... | OPEN | 2021-04-27T00:03:25 | 2021-05-28T15:27:34 | null | https://github.com/huggingface/datasets/issues/2267 | timothyjlaurent | 6 | [
"bug"
] |
2,262 | NewsPH NLI dataset script fails to access test data. | In Newsph-NLI Dataset (#1192), it fails to access test data.
According to the script below, the download manager will download the train data when trying to download the test data.
https://github.com/huggingface/datasets/blob/2a2dd6316af2cc7fdf24e4779312e8ee0c7ed98b/datasets/newsph_nli/newsph_nli.py#L71
If yo... | CLOSED | 2021-04-26T06:44:41 | 2021-04-29T09:32:03 | 2021-04-29T09:30:20 | https://github.com/huggingface/datasets/issues/2262 | jinmang2 | 1 | [
"dataset bug"
] |
2,256 | Running `datase.map` with `num_proc > 1` uses a lot of memory | ## Describe the bug
Running `datase.map` with `num_proc > 1` leads to a tremendous memory usage that requires swapping on disk and it becomes very slow.
## Steps to reproduce the bug
```python
from datasets import load_dataset
dstc8_datset = load_dataset("roskoN/dstc8-reddit-corpus", keep_in_memory=False)
... | CLOSED | 2021-04-24T09:56:20 | 2021-04-26T17:12:15 | 2021-04-26T17:12:15 | https://github.com/huggingface/datasets/issues/2256 | roskoN | 2 | [
"bug"
] |
2,252 | Slow dataloading with big datasets issue persists | Hi,
I reported too slow data fetching when data is large(#2210) a couple of weeks ago, and @lhoestq referred me to the fix (#2122).
However, the problem seems to persist. Here is the profiled results:
1) Running with 60GB
```
Action | Mean duration (s) |Num calls | Total ... | CLOSED | 2021-04-23T08:18:20 | 2024-01-26T15:10:28 | 2024-01-26T15:10:28 | https://github.com/huggingface/datasets/issues/2252 | hwijeen | 70 | [] |
2,251 | while running run_qa.py, ran into a value error | command:
python3 run_qa.py --model_name_or_path hyunwoongko/kobart --dataset_name squad_kor_v2 --do_train --do_eval --per_device_train_batch_size 8 --learning_rate 3e-5 --num_train_epochs 3 --max_seq_length 512 --doc_stride 128 --output_dir /tmp/debug_squad/
error:
ValueError: External fe... | OPEN | 2021-04-23T07:51:03 | 2021-04-23T07:51:03 | null | https://github.com/huggingface/datasets/issues/2251 | nlee0212 | 0 | [] |
2,250 | some issue in loading local txt file as Dataset for run_mlm.py | 
first of all, I tried to load 3 .txt files as a dataset (sure that the directory and permission is OK.), I face with the below error.
> FileNotFoundError: [Errno 2] No such file or directory: 'c'
by ... | CLOSED | 2021-04-22T19:39:13 | 2022-03-30T08:29:47 | 2022-03-30T08:29:47 | https://github.com/huggingface/datasets/issues/2250 | alighofrani95 | 2 | [] |
2,243 | Map is slow and processes batches one after another | ## Describe the bug
I have a somewhat unclear bug to me, where I can't figure out what the problem is. The code works as expected on a small subset of my dataset (2000 samples) on my local machine, but when I execute the same code with a larger dataset (1.4 million samples) this problem occurs. Thats why I can't giv... | CLOSED | 2021-04-20T14:58:20 | 2021-05-03T17:54:33 | 2021-05-03T17:54:32 | https://github.com/huggingface/datasets/issues/2243 | villmow | 5 | [
"bug"
] |
2,242 | Link to datasets viwer on Quick Tour page returns "502 Bad Gateway" | Link to datasets viwer (https://huggingface.co/datasets/viewer/) on Quick Tour page (https://huggingface.co/docs/datasets/quicktour.html) returns "502 Bad Gateway"
The same error with https://huggingface.co/datasets/viewer/?dataset=glue&config=mrpc | CLOSED | 2021-04-20T14:19:51 | 2021-04-20T15:02:45 | 2021-04-20T15:02:45 | https://github.com/huggingface/datasets/issues/2242 | martavillegas | 1 | [
"bug"
] |
2,239 | Error loading wikihow dataset | ## Describe the bug
When attempting to load wikihow into a dataset with
```python
from datasets import load_dataset
dataset = load_dataset('wikihow', data_dir='./wikihow')
```
I get the message:
```
AttributeError: 'BuilderConfig' object has no attribute 'filename'
```
at the end of a [full stack trace](htt... | CLOSED | 2021-04-19T21:02:31 | 2021-04-20T16:33:11 | 2021-04-20T16:33:11 | https://github.com/huggingface/datasets/issues/2239 | odellus | 4 | [
"bug"
] |
2,237 | Update Dataset.dataset_size after transformed with map | After loading a dataset, if we transform it by using `.map` its `dataset_size` attirbute is not updated. | OPEN | 2021-04-19T15:19:38 | 2021-04-20T14:22:05 | null | https://github.com/huggingface/datasets/issues/2237 | albertvillanova | 1 | [
"enhancement"
] |
2,236 | Request to add StrategyQA dataset | ## Request to add StrategyQA dataset
- **Name:** StrategyQA
- **Description:** open-domain QA [(project page)](https://allenai.org/data/strategyqa)
- **Paper:** [url](https://arxiv.org/pdf/2101.02235.pdf)
- **Data:** [here](https://allenai.org/data/strategyqa)
- **Motivation:** uniquely-formulated dataset that als... | OPEN | 2021-04-19T14:46:26 | 2021-04-19T14:46:26 | null | https://github.com/huggingface/datasets/issues/2236 | sarahwie | 0 | [
"dataset request"
] |
2,230 | Keys yielded while generating dataset are not being checked | The keys used in the dataset generation script to ensure the same order is generated on every user's end should be checked for their types (i.e either `str` or `int`) as well as whether they are unique or not.
Currently, the keys are not being checked for any of these, as evident from `xnli' dataset generation:
https... | CLOSED | 2021-04-16T13:29:47 | 2021-05-10T17:31:21 | 2021-05-10T17:31:21 | https://github.com/huggingface/datasets/issues/2230 | NikhilBartwal | 9 | [
"enhancement"
] |
2,229 | `xnli` dataset creating a tuple key while yielding instead of `str` or `int` | When using `ds = datasets.load_dataset('xnli', 'ar')`, the dataset generation script uses the following section of code in the egging, which yields a tuple key instead of the specified `str` or `int` key:
https://github.com/huggingface/datasets/blob/56346791aed417306d054d89bd693d6b7eab17f7/datasets/xnli/xnli.py#L196
... | CLOSED | 2021-04-16T13:21:53 | 2021-04-19T08:56:42 | 2021-04-19T08:56:42 | https://github.com/huggingface/datasets/issues/2229 | NikhilBartwal | 2 | [] |
2,226 | Batched map fails when removing all columns | Hi @lhoestq ,
I'm hijacking this issue, because I'm currently trying to do the approach you recommend:
> Currently the optimal setup for single-column computations is probably to do something like
>
> ```python
> result = dataset.map(f, input_columns="my_col", remove_columns=dataset.column_names)
> ```
He... | CLOSED | 2021-04-16T11:17:01 | 2022-10-05T17:32:15 | 2022-10-05T17:32:15 | https://github.com/huggingface/datasets/issues/2226 | villmow | 3 | [
"bug"
] |
2,224 | Raise error if Windows max path length is not disabled | On startup, raise an error if Windows max path length is not disabled; ask the user to disable it.
Linked to discussion in #2220. | OPEN | 2021-04-14T14:57:20 | 2021-04-14T14:59:13 | null | https://github.com/huggingface/datasets/issues/2224 | albertvillanova | 0 | [] |
2,218 | Duplicates in the LAMA dataset | I observed duplicates in the LAMA probing dataset, see a minimal code below.
```
>>> import datasets
>>> dataset = datasets.load_dataset('lama')
No config specified, defaulting to: lama/trex
Reusing dataset lama (/home/anam/.cache/huggingface/datasets/lama/trex/1.1.0/97deffae13eca0a18e77dfb3960bb31741e973586f5c... | OPEN | 2021-04-13T18:59:49 | 2021-04-14T21:42:27 | null | https://github.com/huggingface/datasets/issues/2218 | amarasovic | 3 | [] |
2,214 | load_metric error: module 'datasets.utils.file_utils' has no attribute 'add_start_docstrings' | I'm having the same problem as [Notebooks issue 10](https://github.com/huggingface/notebooks/issues/10) on datasets 1.2.1, and it seems to be an issue with the datasets package.
```python
>>> from datasets import load_metric
>>> metric = load_metric("glue", "sst2")
Traceback (most recent call last):
File "<std... | CLOSED | 2021-04-12T20:26:01 | 2021-04-23T15:20:02 | 2021-04-23T15:20:02 | https://github.com/huggingface/datasets/issues/2214 | nsaphra | 4 | [
"bug"
] |
2,212 | Can't reach "https://storage.googleapis.com/illuin/fquad/train.json.zip" when trying to load fquad dataset | I'm trying to load the [fquad dataset](https://huggingface.co/datasets/fquad) by running:
```Python
fquad = load_dataset("fquad")
```
which produces the following error:
```
Using custom data configuration default
Downloading and preparing dataset fquad/default (download: 3.14 MiB, generated: 6.62 MiB, ... | CLOSED | 2021-04-12T13:49:56 | 2023-10-03T16:09:19 | 2023-10-03T16:09:18 | https://github.com/huggingface/datasets/issues/2212 | hanss0n | 5 | [] |
2,211 | Getting checksum error when trying to load lc_quad dataset | I'm having issues loading the [lc_quad](https://huggingface.co/datasets/fquad) dataset by running:
```Python
lc_quad = load_dataset("lc_quad")
```
which is giving me the following error:
```
Using custom data configuration default
Downloading and preparing dataset lc_quad/default (download: 3.69 MiB, ge... | CLOSED | 2021-04-12T13:38:58 | 2021-04-14T13:42:25 | 2021-04-14T13:42:25 | https://github.com/huggingface/datasets/issues/2211 | hanss0n | 2 | [] |
2,210 | dataloading slow when using HUGE dataset | Hi,
When I use datasets with 600GB data, the dataloading speed increases significantly.
I am experimenting with two datasets, and one is about 60GB and the other 600GB.
Simply speaking, my code uses `datasets.set_format("torch")` function and let pytorch-lightning handle ddp training.
When looking at the pytorch... | CLOSED | 2021-04-12T08:33:02 | 2021-04-13T02:03:05 | 2021-04-13T02:03:05 | https://github.com/huggingface/datasets/issues/2210 | hwijeen | 2 | [] |
2,207 | making labels consistent across the datasets | Hi
For accessing the labels one can type
```
>>> a.features['label']
ClassLabel(num_classes=3, names=['entailment', 'neutral', 'contradiction'], names_file=None, id=None)
```
The labels however are not consistent with the actual labels sometimes, for instance in case of XNLI, the actual labels are 0,1,2, but if ... | CLOSED | 2021-04-11T10:03:56 | 2022-06-01T16:23:08 | 2022-06-01T16:21:10 | https://github.com/huggingface/datasets/issues/2207 | dorost1234 | 2 | [] |
2,206 | Got pyarrow error when loading a dataset while adding special tokens into the tokenizer | I added five more special tokens into the GPT2 tokenizer. But after that, when I try to pre-process the data using my previous code, I got an error shown below:
Traceback (most recent call last):
File "/home/xuyan/anaconda3/envs/convqa/lib/python3.7/site-packages/datasets/arrow_dataset.py", line 1687, in _map_sin... | CLOSED | 2021-04-11T08:40:09 | 2021-11-10T12:18:30 | 2021-11-10T12:04:28 | https://github.com/huggingface/datasets/issues/2206 | yana-xuyan | 7 | [
"bug"
] |
2,200 | _prepare_split will overwrite DatasetBuilder.info.features | Hi, here is my issue:
I initialized a Csv datasetbuilder with specific features:
```
def get_dataset_features(data_args):
features = {}
if data_args.text_features:
features.update({text_feature: hf_features.Value("string") for text_feature in data_args.text_features.strip().split(",")})
if da... | CLOSED | 2021-04-09T11:47:13 | 2021-06-04T10:37:35 | 2021-06-04T10:37:35 | https://github.com/huggingface/datasets/issues/2200 | Gforky | 2 | [] |
2,196 | `load_dataset` caches two arrow files? | Hi,
I am using datasets to load large json file of 587G.
I checked the cached folder and found that there are two arrow files created:
* `cache-ed205e500a7dc44c.arrow` - 355G
* `json-train.arrow` - 582G
Why is the first file created?
If I delete it, would I still be able to `load_from_disk`? | CLOSED | 2021-04-09T03:49:19 | 2021-04-12T05:25:29 | 2021-04-12T05:25:29 | https://github.com/huggingface/datasets/issues/2196 | hwijeen | 3 | [
"question"
] |
2,195 | KeyError: '_indices_files' in `arrow_dataset.py` | After pulling the latest master, I'm getting a crash when `load_from_disk` tries to load my local dataset.
Trace:
```
Traceback (most recent call last):
File "load_data.py", line 11, in <module>
dataset = load_from_disk(SRC)
File "/opt/conda/envs/py38/lib/python3.8/site-packages/datasets/load.py", line ... | CLOSED | 2021-04-09T01:37:12 | 2021-04-09T09:55:09 | 2021-04-09T09:54:39 | https://github.com/huggingface/datasets/issues/2195 | samsontmr | 2 | [
"bug"
] |
2,194 | py3.7: TypeError: can't pickle _LazyModule objects | While this works fine with py3.8, under py3.7, with a totally new conda env and transformers install:
```
git clone https://github.com/huggingface/transformers
cd transformers
pip install -e .[testing]
export BS=1; rm -rf /tmp/test-clm; PYTHONPATH=src USE_TF=0 CUDA_VISIBLE_DEVICES=0 python \
examples/language... | CLOSED | 2021-04-08T21:02:48 | 2021-04-09T16:56:50 | 2021-04-09T01:52:57 | https://github.com/huggingface/datasets/issues/2194 | stas00 | 1 | [] |
2,193 | Filtering/mapping on one column is very slow | I'm currently using the `wikipedia` dataset— I'm tokenizing the articles with the `tokenizers` library using `map()` and also adding a new `num_tokens` column to the dataset as part of that map operation.
I want to be able to _filter_ the dataset based on this `num_tokens` column, but even when I specify `input_colu... | CLOSED | 2021-04-08T18:16:14 | 2021-04-26T16:13:59 | 2021-04-26T16:13:59 | https://github.com/huggingface/datasets/issues/2193 | norabelrose | 12 | [
"question"
] |
2,190 | News_commentary Dataset Translation Pairs are of Incorrect Language Specified Pairs | I used load_dataset to load the news_commentary dataset for "ar-en" translation pairs but found translations from Arabic to Hindi.
```
train_ds = load_dataset("news_commentary", "ar-en", split='train[:98%]')
val_ds = load_dataset("news_commentary", "ar-en", split='train[98%:]')
# filtering out examples that a... | CLOSED | 2021-04-08T07:53:43 | 2021-05-24T10:03:55 | 2021-05-24T10:03:55 | https://github.com/huggingface/datasets/issues/2190 | anassalamah | 2 | [] |
2,189 | save_to_disk doesn't work when we use concatenate_datasets function before creating the final dataset_object. | As you can see, it saves the entire dataset.
@lhoestq
You can check by going through the following example,
```
from datasets import load_from_disk,concatenate_datasets
loaded_data=load_from_disk('/home/gsir059/HNSW-ori/my_knowledge_dataset')
n=20
kb_list=[loaded_data.shard(n, i, contiguous=True) for i... | CLOSED | 2021-04-08T04:42:53 | 2022-06-01T16:32:15 | 2022-06-01T16:32:15 | https://github.com/huggingface/datasets/issues/2189 | shamanez | 1 | [] |
2,188 | Duplicate data in Timit dataset | I ran a simple code to list all texts in Timit dataset and the texts were all the same.
Is this dataset corrupted?
**Code:**
timit = load_dataset("timit_asr")
print(*timit['train']['text'], sep='\n')
**Result:**
Would such an act of refusal be useful?
Would such an act of refusal be useful?
Would such an act of... | CLOSED | 2021-04-08T04:21:54 | 2021-04-08T12:13:19 | 2021-04-08T12:13:19 | https://github.com/huggingface/datasets/issues/2188 | thanh-p | 2 | [] |
2,187 | Question (potential issue?) related to datasets caching | I thought I had disabled datasets caching in my code, as follows:
```
from datasets import set_caching_enabled
...
def main():
# disable caching in datasets
set_caching_enabled(False)
```
However, in my log files I see messages like the following:
```
04/07/2021 18:34:42 - WARNING - datasets.build... | OPEN | 2021-04-08T00:16:28 | 2023-01-03T18:30:38 | null | https://github.com/huggingface/datasets/issues/2187 | ioana-blue | 15 | [
"question"
] |
2,185 | .map() and distributed training | Hi,
I have a question regarding distributed training and the `.map` call on a dataset.
I have a local dataset "my_custom_dataset" that I am loading with `datasets = load_from_disk(dataset_path=my_path)`.
`dataset` is then tokenized:
```python
datasets = load_from_disk(dataset_path=my_path)
[...]
def tokeni... | CLOSED | 2021-04-07T18:22:14 | 2021-10-23T07:11:15 | 2021-04-09T15:38:31 | https://github.com/huggingface/datasets/issues/2185 | VictorSanh | 8 | [] |
2,181 | Error when loading a HUGE json file (pyarrow.lib.ArrowInvalid: straddling object straddles two block boundaries) | Hi, thanks for the great library. I have used the brilliant library for a couple of small projects, and now using it for a fairly big project.
When loading a huge json file of 500GB, pyarrow complains as follows:
```
Traceback (most recent call last):
File "/home/user/.pyenv/versions/3.7.9/lib/python3.7/site-pack... | CLOSED | 2021-04-07T10:26:46 | 2021-04-12T07:15:55 | 2021-04-12T07:15:55 | https://github.com/huggingface/datasets/issues/2181 | hwijeen | 9 | [] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.