url stringlengths 58 61 | number int64 1 8.23k | title stringlengths 1 290 | body stringlengths 0 228k ⌀ | state stringclasses 2
values | created_at timestamp[s]date 2020-04-14 10:18:02 2026-05-30 09:38:59 | comments_url stringlengths 67 70 | pull_request dict | is_pull_request bool 2
classes | text stringlengths 2 228k | comments listlengths 0 30 |
|---|---|---|---|---|---|---|---|---|---|---|
https://api.github.com/repos/huggingface/datasets/issues/2241 | 2,241 | Add SLR32 to OpenSLR | I would like to add SLR32 to OpenSLR. It contains four South African languages: Afrikaans, Sesotho, Setswana and isiXhosa | closed | 2021-04-20T11:02:45 | https://api.github.com/repos/huggingface/datasets/issues/2241/comments | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/2241",
"html_url": "https://github.com/huggingface/datasets/pull/2241",
"diff_url": "https://github.com/huggingface/datasets/pull/2241.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/2241.patch",
"merged_at": "2021-04-23T15:36... | true | Add SLR32 to OpenSLR
I would like to add SLR32 to OpenSLR. It contains four South African languages: Afrikaans, Sesotho, Setswana and isiXhosa | [
"> And yet another one ! Thanks a lot :)\r\n\r\nI just hope you don’t get fed up with openslr PR 😊 there are still few other datasets created by google in openslr that is not in hf dataset yet\r\n"
] |
https://api.github.com/repos/huggingface/datasets/issues/2240 | 2,240 | Clarify how to load wikihow | Explain clearer how to load the dataset in the manual download instructions.
En relation with #2239. | closed | 2021-04-20T08:02:58 | https://api.github.com/repos/huggingface/datasets/issues/2240/comments | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/2240",
"html_url": "https://github.com/huggingface/datasets/pull/2240",
"diff_url": "https://github.com/huggingface/datasets/pull/2240.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/2240.patch",
"merged_at": "2021-04-21T09:54... | true | Clarify how to load wikihow
Explain clearer how to load the dataset in the manual download instructions.
En relation with #2239. | [] |
https://api.github.com/repos/huggingface/datasets/issues/2239 | 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 | https://api.github.com/repos/huggingface/datasets/issues/2239/comments | null | false | 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 e... | [
"Hi @odellus, thanks for reporting.\r\n\r\nThe `wikihow` dataset has 2 versions:\r\n- `all`: Consisting of the concatenation of all paragraphs as the articles and the bold lines as the reference summaries.\r\n- `sep`: Consisting of each paragraph and its summary.\r\n\r\nTherefore, in order to load it, you have to s... |
https://api.github.com/repos/huggingface/datasets/issues/2238 | 2,238 | NLU evaluation data | New intent classification dataset from https://github.com/xliuhw/NLU-Evaluation-Data | closed | 2021-04-19T16:47:20 | https://api.github.com/repos/huggingface/datasets/issues/2238/comments | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/2238",
"html_url": "https://github.com/huggingface/datasets/pull/2238",
"diff_url": "https://github.com/huggingface/datasets/pull/2238.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/2238.patch",
"merged_at": "2021-04-23T15:32... | true | NLU evaluation data
New intent classification dataset from https://github.com/xliuhw/NLU-Evaluation-Data | [] |
https://api.github.com/repos/huggingface/datasets/issues/2237 | 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 | https://api.github.com/repos/huggingface/datasets/issues/2237/comments | null | false | 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. | [
"@albertvillanova I would like to take this up. It would be great if you could point me as to how the dataset size is calculated in HF. Thanks!"
] |
https://api.github.com/repos/huggingface/datasets/issues/2236 | 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 | https://api.github.com/repos/huggingface/datasets/issues/2236/comments | null | false | 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:** un... | [] |
https://api.github.com/repos/huggingface/datasets/issues/2235 | 2,235 | Update README.md | Adding relevant citations (paper accepted at AAAI 2020 & EMNLP 2020) to the benchmark | closed | 2021-04-19T08:21:02 | https://api.github.com/repos/huggingface/datasets/issues/2235/comments | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/2235",
"html_url": "https://github.com/huggingface/datasets/pull/2235",
"diff_url": "https://github.com/huggingface/datasets/pull/2235.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/2235.patch",
"merged_at": "2021-04-19T12:49... | true | Update README.md
Adding relevant citations (paper accepted at AAAI 2020 & EMNLP 2020) to the benchmark | [] |
https://api.github.com/repos/huggingface/datasets/issues/2234 | 2,234 | Fix bash snippet formatting in ADD_NEW_DATASET.md | This PR indents the paragraphs around the bash snippets in ADD_NEW_DATASET.md to fix formatting. | closed | 2021-04-17T16:01:08 | https://api.github.com/repos/huggingface/datasets/issues/2234/comments | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/2234",
"html_url": "https://github.com/huggingface/datasets/pull/2234",
"diff_url": "https://github.com/huggingface/datasets/pull/2234.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/2234.patch",
"merged_at": "2021-04-19T07:51... | true | Fix bash snippet formatting in ADD_NEW_DATASET.md
This PR indents the paragraphs around the bash snippets in ADD_NEW_DATASET.md to fix formatting. | [] |
https://api.github.com/repos/huggingface/datasets/issues/2233 | 2,233 | Fix `xnli` dataset tuple key | Closes #2229
The `xnli` dataset yields a tuple key in case of `ar` which is inconsistant with the acceptable key types (str/int).
The key was thus ported to `str` keeping the original information intact. | closed | 2021-04-16T19:12:42 | https://api.github.com/repos/huggingface/datasets/issues/2233/comments | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/2233",
"html_url": "https://github.com/huggingface/datasets/pull/2233",
"diff_url": "https://github.com/huggingface/datasets/pull/2233.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/2233.patch",
"merged_at": "2021-04-19T08:56... | true | Fix `xnli` dataset tuple key
Closes #2229
The `xnli` dataset yields a tuple key in case of `ar` which is inconsistant with the acceptable key types (str/int).
The key was thus ported to `str` keeping the original information intact. | [] |
https://api.github.com/repos/huggingface/datasets/issues/2232 | 2,232 | Start filling GLUE dataset card | The dataset card was pretty much empty.
I added the descriptions (mainly from TFDS since the script is the same), and I also added the tasks tags as well as examples for a subset of the tasks.
cc @sgugger | closed | 2021-04-16T18:37:37 | https://api.github.com/repos/huggingface/datasets/issues/2232/comments | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/2232",
"html_url": "https://github.com/huggingface/datasets/pull/2232",
"diff_url": "https://github.com/huggingface/datasets/pull/2232.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/2232.patch",
"merged_at": "2021-04-21T09:33... | true | Start filling GLUE dataset card
The dataset card was pretty much empty.
I added the descriptions (mainly from TFDS since the script is the same), and I also added the tasks tags as well as examples for a subset of the tasks.
cc @sgugger | [
"I replaced all the \"we\" and applied your suggestion",
"Merging this for now, we can continue improving this card in other PRs :)"
] |
https://api.github.com/repos/huggingface/datasets/issues/2231 | 2,231 | Fix map when removing columns on a formatted dataset | This should fix issue #2226
The `remove_columns` argument was ignored on formatted datasets | closed | 2021-04-16T14:08:55 | https://api.github.com/repos/huggingface/datasets/issues/2231/comments | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/2231",
"html_url": "https://github.com/huggingface/datasets/pull/2231",
"diff_url": "https://github.com/huggingface/datasets/pull/2231.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/2231.patch",
"merged_at": "2021-04-16T15:10... | true | Fix map when removing columns on a formatted dataset
This should fix issue #2226
The `remove_columns` argument was ignored on formatted datasets | [] |
https://api.github.com/repos/huggingface/datasets/issues/2230 | 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 | https://api.github.com/repos/huggingface/datasets/issues/2230/comments | null | false | 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... | [
"Hi ! Indeed there's no verification on the uniqueness nor the types of the keys.\r\nDo you already have some ideas of what you would like to implement and how ?",
"Hey @lhoestq, thank you so much for the opportunity.\r\nAlthough I haven't had much experience with the HF Datasets code, after a careful look at how... |
https://api.github.com/repos/huggingface/datasets/issues/2229 | 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 | https://api.github.com/repos/huggingface/datasets/issues/2229/comments | null | false | `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/datas... | [
"Hi ! Sure sounds good. Also if you find other datasets that use tuples instead of str/int, you can also fix them !\r\nthanks :)",
"@lhoestq I have sent a PR for fixing the issue. Would be great if you could have a look! Thanks!"
] |
https://api.github.com/repos/huggingface/datasets/issues/2228 | 2,228 | [WIP] Add ArrayXD support for fixed size list. | Add support for fixed size list for ArrayXD when shape is known . See https://github.com/huggingface/datasets/issues/2146
Since offset are not stored anymore, the file size is now roughly equal to the actual data size. | open | 2021-04-16T13:04:08 | https://api.github.com/repos/huggingface/datasets/issues/2228/comments | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/2228",
"html_url": "https://github.com/huggingface/datasets/pull/2228",
"diff_url": "https://github.com/huggingface/datasets/pull/2228.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/2228.patch",
"merged_at": null
} | true | [WIP] Add ArrayXD support for fixed size list.
Add support for fixed size list for ArrayXD when shape is known . See https://github.com/huggingface/datasets/issues/2146
Since offset are not stored anymore, the file size is now roughly equal to the actual data size. | [
"Awesome thanks ! To fix the CI you just need to merge master into your branch.\r\nThe error is unrelated to your PR"
] |
https://api.github.com/repos/huggingface/datasets/issues/2227 | 2,227 | Use update_metadata_with_features decorator in class_encode_column method | Following @mariosasko 's comment | closed | 2021-04-16T12:31:41 | https://api.github.com/repos/huggingface/datasets/issues/2227/comments | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/2227",
"html_url": "https://github.com/huggingface/datasets/pull/2227",
"diff_url": "https://github.com/huggingface/datasets/pull/2227.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/2227.patch",
"merged_at": "2021-04-16T13:49... | true | Use update_metadata_with_features decorator in class_encode_column method
Following @mariosasko 's comment | [] |
https://api.github.com/repos/huggingface/datasets/issues/2226 | 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 | https://api.github.com/repos/huggingface/datasets/issues/2226/comments | null | false | 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", remov... | [
"I found the problem. I called `set_format` on some columns before. This makes it crash. Here is a complete example to reproduce:\r\n\r\n```python\r\nfrom datasets import load_dataset\r\nsst = load_dataset(\"sst\")\r\nsst.set_format(\"torch\", columns=[\"label\"], output_all_columns=True)\r\nds = sst[\"train\"]\r\n... |
https://api.github.com/repos/huggingface/datasets/issues/2225 | 2,225 | fixed one instance of 'train' to 'test' | I believe this should be 'test' instead of 'train' | closed | 2021-04-15T04:26:40 | https://api.github.com/repos/huggingface/datasets/issues/2225/comments | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/2225",
"html_url": "https://github.com/huggingface/datasets/pull/2225",
"diff_url": "https://github.com/huggingface/datasets/pull/2225.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/2225.patch",
"merged_at": "2021-04-15T21:19... | true | fixed one instance of 'train' to 'test'
I believe this should be 'test' instead of 'train' | [
"Thanks ! good catch\r\n\r\nCould you also update the metadata of this dataset ?\r\nYou can do so by running\r\n```\r\ndatasets-cli test ./datasets/newsgroup --all_configs --save_infos --ignore_verifications\r\n```\r\nThis should update the dataset_infos.json file that contains the size of all the splits for exampl... |
https://api.github.com/repos/huggingface/datasets/issues/2224 | 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 | https://api.github.com/repos/huggingface/datasets/issues/2224/comments | null | false | 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. | [] |
https://api.github.com/repos/huggingface/datasets/issues/2223 | 2,223 | Set test cache config | Currently, running the tests populates the default cache directory `"~/.cache"`.
This PR monkey-patches the config to set the cache directory within the temporary test directory, avoiding side effects. | closed | 2021-04-14T12:55:24 | https://api.github.com/repos/huggingface/datasets/issues/2223/comments | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/2223",
"html_url": "https://github.com/huggingface/datasets/pull/2223",
"diff_url": "https://github.com/huggingface/datasets/pull/2223.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/2223.patch",
"merged_at": "2021-04-15T19:11... | true | Set test cache config
Currently, running the tests populates the default cache directory `"~/.cache"`.
This PR monkey-patches the config to set the cache directory within the temporary test directory, avoiding side effects. | [
"> why a cache dir per test function does not work?\r\n\r\nProbably because we end up with multiple `datasets_module` in the python path. This breaks the import of all the datasets/metrics modules.\r\nIf you want to use one modules cache per test, you may need remove the `datasets_module` that was added to the pyt... |
https://api.github.com/repos/huggingface/datasets/issues/2222 | 2,222 | Fix too long WindowsFileLock name | Fix WindowsFileLock name longer than allowed MAX_PATH by shortening the basename. | closed | 2021-04-14T12:26:52 | https://api.github.com/repos/huggingface/datasets/issues/2222/comments | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/2222",
"html_url": "https://github.com/huggingface/datasets/pull/2222",
"diff_url": "https://github.com/huggingface/datasets/pull/2222.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/2222.patch",
"merged_at": null
} | true | Fix too long WindowsFileLock name
Fix WindowsFileLock name longer than allowed MAX_PATH by shortening the basename. | [
"Windows users should disable the max path length limit. It's a nightmare to handle it.\r\nAlso the lock path must not be changed in a random way. Otherwise from another process the lock path might not be the same and the locking mechanism won't work.",
"Do you agree with handling the case where MAX_PATH is not d... |
https://api.github.com/repos/huggingface/datasets/issues/2221 | 2,221 | Add SLR70 - SLR80 and SLR86 to OpenSLR dataset | I would like to add SLR70, SLR71, SLR72, SLR73, SLR74, SLR75, SLR76, SLR77, SLR78, SLR79, SLR80 and SLR86 to OpenSLR dataset. The languages are:
Nigerian English, Chilean Spanish, Columbian Spanish, Peruvian Spanish, Puerto Rico Spanish, Venezuelan Spanish, Basque, Galician, Gujarati and Kannada. | closed | 2021-04-14T12:09:18 | https://api.github.com/repos/huggingface/datasets/issues/2221/comments | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/2221",
"html_url": "https://github.com/huggingface/datasets/pull/2221",
"diff_url": "https://github.com/huggingface/datasets/pull/2221.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/2221.patch",
"merged_at": "2021-04-14T13:50... | true | Add SLR70 - SLR80 and SLR86 to OpenSLR dataset
I would like to add SLR70, SLR71, SLR72, SLR73, SLR74, SLR75, SLR76, SLR77, SLR78, SLR79, SLR80 and SLR86 to OpenSLR dataset. The languages are:
Nigerian English, Chilean Spanish, Columbian Spanish, Peruvian Spanish, Puerto Rico Spanish, Venezuelan Spanish, Basque, Galici... | [] |
https://api.github.com/repos/huggingface/datasets/issues/2220 | 2,220 | Fix infinite loop in WindowsFileLock | Raise exception to avoid infinite loop. | closed | 2021-04-14T10:49:58 | https://api.github.com/repos/huggingface/datasets/issues/2220/comments | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/2220",
"html_url": "https://github.com/huggingface/datasets/pull/2220",
"diff_url": "https://github.com/huggingface/datasets/pull/2220.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/2220.patch",
"merged_at": null
} | true | Fix infinite loop in WindowsFileLock
Raise exception to avoid infinite loop. | [
"How is it possible to get an infinite loop ? Can you add more details ?",
"Yes, in Windows, if the filename is too long, a `FileNotFoundError` is raised. The exception should be raised in this case. Otherwise, we get into an infinite loop.\r\n\r\nIf other process has the file locked, then `PermissionError` is ra... |
https://api.github.com/repos/huggingface/datasets/issues/2219 | 2,219 | Added CUAD dataset | Dataset link : https://github.com/TheAtticusProject/cuad/
Working on README.md currently.
Closes #2084 and [#1](https://github.com/TheAtticusProject/cuad/issues/1). | closed | 2021-04-13T21:05:03 | https://api.github.com/repos/huggingface/datasets/issues/2219/comments | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/2219",
"html_url": "https://github.com/huggingface/datasets/pull/2219",
"diff_url": "https://github.com/huggingface/datasets/pull/2219.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/2219.patch",
"merged_at": "2021-04-16T08:50... | true | Added CUAD dataset
Dataset link : https://github.com/TheAtticusProject/cuad/
Working on README.md currently.
Closes #2084 and [#1](https://github.com/TheAtticusProject/cuad/issues/1). | [
"1) Changed the language in a few places apart from those you mentioned in README\r\n2) Reduced the size of dummy data folder by removing all other entries except the first\r\n3) Updated YAML tags by using to the past version of `datasets-tagging` app. Will update the quick fix on that repository too in a while",
... |
https://api.github.com/repos/huggingface/datasets/issues/2218 | 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 | https://api.github.com/repos/huggingface/datasets/issues/2218/comments | null | false | 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/97deffae13eca... | [
"Hi,\r\n\r\ncurrently the datasets API doesn't have a dedicated function to remove duplicate rows, but since the LAMA dataset is not too big (it fits in RAM), we can leverage pandas to help us remove duplicates:\r\n```python\r\n>>> from datasets import load_dataset, Dataset\r\n>>> dataset = load_dataset('lama', spl... |
https://api.github.com/repos/huggingface/datasets/issues/2217 | 2,217 | Revert breaking change in cache_files property | #2025 changed the format of `Dataset.cache_files`.
Before it was formatted like
```python
[{"filename": "path/to/file.arrow", "start": 0, "end": 1337}]
```
and it was changed to
```python
["path/to/file.arrow"]
```
since there's no start/end offsets available anymore.
To make this less breaking, I'm setting... | closed | 2021-04-13T14:20:04 | https://api.github.com/repos/huggingface/datasets/issues/2217/comments | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/2217",
"html_url": "https://github.com/huggingface/datasets/pull/2217",
"diff_url": "https://github.com/huggingface/datasets/pull/2217.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/2217.patch",
"merged_at": "2021-04-14T14:24... | true | Revert breaking change in cache_files property
#2025 changed the format of `Dataset.cache_files`.
Before it was formatted like
```python
[{"filename": "path/to/file.arrow", "start": 0, "end": 1337}]
```
and it was changed to
```python
["path/to/file.arrow"]
```
since there's no start/end offsets available anym... | [] |
https://api.github.com/repos/huggingface/datasets/issues/2216 | 2,216 | added real label for glue/mrpc to test set | Added real label to `glue.py` `mrpc` task for test split. | closed | 2021-04-13T13:20:20 | https://api.github.com/repos/huggingface/datasets/issues/2216/comments | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/2216",
"html_url": "https://github.com/huggingface/datasets/pull/2216",
"diff_url": "https://github.com/huggingface/datasets/pull/2216.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/2216.patch",
"merged_at": "2021-04-13T13:53... | true | added real label for glue/mrpc to test set
Added real label to `glue.py` `mrpc` task for test split. | [] |
https://api.github.com/repos/huggingface/datasets/issues/2215 | 2,215 | Add datasets SLR35 and SLR36 to OpenSLR | I would like to add [SLR35](https://openslr.org/35/) (18GB) and [SLR36](https://openslr.org/36/) (22GB) which are Large Javanese and Sundanese ASR training data set collected by Google in collaboration with Reykjavik University and Universitas Gadjah Mada in Indonesia. | closed | 2021-04-13T08:24:07 | https://api.github.com/repos/huggingface/datasets/issues/2215/comments | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/2215",
"html_url": "https://github.com/huggingface/datasets/pull/2215",
"diff_url": "https://github.com/huggingface/datasets/pull/2215.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/2215.patch",
"merged_at": "2021-04-13T14:05... | true | Add datasets SLR35 and SLR36 to OpenSLR
I would like to add [SLR35](https://openslr.org/35/) (18GB) and [SLR36](https://openslr.org/36/) (22GB) which are Large Javanese and Sundanese ASR training data set collected by Google in collaboration with Reykjavik University and Universitas Gadjah Mada in Indonesia. | [
"Hi @lhoestq,\r\nCould you please help me, I got this error message in all \"ci/circleci: run_dataset_script_tests_pyarrow*\" tests:\r\n```\r\n...\r\n \"\"\"Wrapper classes for various types of tokenization.\"\"\"\r\n \r\n from bleurt.lib import bert_tokenization\r\n import tensorflow.compat.v1 as tf\r\... |
https://api.github.com/repos/huggingface/datasets/issues/2214 | 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 | https://api.github.com/repos/huggingface/datasets/issues/2214/comments | null | false | 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_metr... | [
"Hi @nsaphra, thanks for reporting.\r\n\r\nThis issue was fixed in `datasets` version 1.3.0. Could you please update `datasets` and tell me if the problem persists?\r\n```shell\r\npip install -U datasets\r\n```",
"There might be a bug in the conda version of `datasets` 1.2.1 where the datasets/metric scripts are ... |
https://api.github.com/repos/huggingface/datasets/issues/2213 | 2,213 | Fix lc_quad download checksum | Fixes #2211 | closed | 2021-04-12T14:16:59 | https://api.github.com/repos/huggingface/datasets/issues/2213/comments | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/2213",
"html_url": "https://github.com/huggingface/datasets/pull/2213",
"diff_url": "https://github.com/huggingface/datasets/pull/2213.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/2213.patch",
"merged_at": "2021-04-14T13:42... | true | Fix lc_quad download checksum
Fixes #2211 | [] |
https://api.github.com/repos/huggingface/datasets/issues/2212 | 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 | https://api.github.com/repos/huggingface/datasets/issues/2212/comments | null | false | 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 configur... | [
"Hi ! Apparently the data are not available from this url anymore. We'll replace it with the new url when it's available",
"I saw this on their website when we request to download the dataset:\r\n\r\n\r\... |
https://api.github.com/repos/huggingface/datasets/issues/2211 | 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 | https://api.github.com/repos/huggingface/datasets/issues/2211/comments | null | false | 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 an... | [
"Hi,\r\n\r\nI've already opened a PR with the fix. If you are in a hurry, just build the project from source and run:\r\n```bash\r\ndatasets-cli test datasets/lc_quad --save_infos --all_configs --ignore_verifications\r\n```\r\n\r\n",
"Ah sorry, I tried searching but couldn't find any related PR. \r\n\r\nThank you... |
https://api.github.com/repos/huggingface/datasets/issues/2210 | 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 | https://api.github.com/repos/huggingface/datasets/issues/2210/comments | null | false | 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 d... | [
"Hi ! Yes this is an issue with `datasets<=1.5.0`\r\nThis issue has been fixed by #2122 , we'll do a new release soon :)\r\nFor now you can test it on the `master` branch.",
"Hi, thank you for your answer. I did not realize that my issue stems from the same problem. "
] |
https://api.github.com/repos/huggingface/datasets/issues/2209 | 2,209 | Add code of conduct to the project | Add code of conduct to the project and link it from README and CONTRIBUTING.
This was already done in `transformers`. | closed | 2021-04-12T07:16:14 | https://api.github.com/repos/huggingface/datasets/issues/2209/comments | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/2209",
"html_url": "https://github.com/huggingface/datasets/pull/2209",
"diff_url": "https://github.com/huggingface/datasets/pull/2209.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/2209.patch",
"merged_at": "2021-04-12T17:55... | true | Add code of conduct to the project
Add code of conduct to the project and link it from README and CONTRIBUTING.
This was already done in `transformers`. | [] |
https://api.github.com/repos/huggingface/datasets/issues/2208 | 2,208 | Remove Python2 leftovers | This PR removes Python2 leftovers since this project aims for Python3.6+ (and as of 2020 Python2 is no longer officially supported) | closed | 2021-04-11T16:08:03 | https://api.github.com/repos/huggingface/datasets/issues/2208/comments | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/2208",
"html_url": "https://github.com/huggingface/datasets/pull/2208",
"diff_url": "https://github.com/huggingface/datasets/pull/2208.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/2208.patch",
"merged_at": "2021-04-14T13:40... | true | Remove Python2 leftovers
This PR removes Python2 leftovers since this project aims for Python3.6+ (and as of 2020 Python2 is no longer officially supported) | [
"merging since the CI is fixed on master"
] |
https://api.github.com/repos/huggingface/datasets/issues/2207 | 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 | https://api.github.com/repos/huggingface/datasets/issues/2207/comments | null | false | 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 ... | [
"Hi ! The ClassLabel feature type encodes the labels as integers.\r\nThe integer corresponds to the index of the label name in the `names` list of the ClassLabel.\r\nHere that means that the labels are 'entailment' (0), 'neutral' (1), 'contradiction' (2).\r\n\r\nYou can get the label names back by using `a.features... |
https://api.github.com/repos/huggingface/datasets/issues/2206 | 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 | https://api.github.com/repos/huggingface/datasets/issues/2206/comments | null | false | 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/en... | [
"Hi,\r\n\r\nthe output of the tokenizers is treated specially in the lib to optimize the dataset size (see the code [here](https://github.com/huggingface/datasets/blob/master/src/datasets/arrow_writer.py#L138-L141)). It looks like that one of the values in a dictionary returned by the tokenizer is out of the assume... |
https://api.github.com/repos/huggingface/datasets/issues/2205 | 2,205 | Updating citation information on LinCE readme | Hi!
I just updated the citation information in this PR. It had an additional bibtex from one of the datasets used in LinCE and then the LinCE bibtex. I removed the former and added a link that shows the full list of citations for each dataset.
Thanks! | closed | 2021-04-11T03:18:05 | https://api.github.com/repos/huggingface/datasets/issues/2205/comments | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/2205",
"html_url": "https://github.com/huggingface/datasets/pull/2205",
"diff_url": "https://github.com/huggingface/datasets/pull/2205.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/2205.patch",
"merged_at": "2021-04-12T17:53... | true | Updating citation information on LinCE readme
Hi!
I just updated the citation information in this PR. It had an additional bibtex from one of the datasets used in LinCE and then the LinCE bibtex. I removed the former and added a link that shows the full list of citations for each dataset.
Thanks! | [] |
https://api.github.com/repos/huggingface/datasets/issues/2204 | 2,204 | Add configurable options to `seqeval` metric | Fixes #2148
Adds options to use strict mode, different schemes of evaluation, sample weight and adjust zero_division behavior, if encountered.
`seqeval` provides schemes as objects, hence dynamic import from string, to avoid making the user do the import (thanks to @albertvillanova for the `importlib` idea). | closed | 2021-04-10T19:58:19 | https://api.github.com/repos/huggingface/datasets/issues/2204/comments | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/2204",
"html_url": "https://github.com/huggingface/datasets/pull/2204",
"diff_url": "https://github.com/huggingface/datasets/pull/2204.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/2204.patch",
"merged_at": "2021-04-15T13:49... | true | Add configurable options to `seqeval` metric
Fixes #2148
Adds options to use strict mode, different schemes of evaluation, sample weight and adjust zero_division behavior, if encountered.
`seqeval` provides schemes as objects, hence dynamic import from string, to avoid making the user do the import (thanks to @al... | [] |
https://api.github.com/repos/huggingface/datasets/issues/2203 | 2,203 | updated banking77 train and test data | closed | 2021-04-10T12:10:10 | https://api.github.com/repos/huggingface/datasets/issues/2203/comments | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/2203",
"html_url": "https://github.com/huggingface/datasets/pull/2203",
"diff_url": "https://github.com/huggingface/datasets/pull/2203.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/2203.patch",
"merged_at": null
} | true | updated banking77 train and test data
| [
"Hi ! Can you add a description regarding this PR ? Why do you think we need to update the dummy data used to test the `banking77` dataset loading script ?",
"Closing for inactivity. Feel free to re-open if you want to push this change"
] | |
https://api.github.com/repos/huggingface/datasets/issues/2202 | 2,202 | Add classes GenerateMode, DownloadConfig and Version to the documentation | Add documentation for classes `GenerateMode`, `DownloadConfig` and `Version`.
Update the docstring of `load_dataset` to create cross-reference links to the classes.
Related to #2187. | closed | 2021-04-09T12:58:19 | https://api.github.com/repos/huggingface/datasets/issues/2202/comments | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/2202",
"html_url": "https://github.com/huggingface/datasets/pull/2202",
"diff_url": "https://github.com/huggingface/datasets/pull/2202.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/2202.patch",
"merged_at": "2021-04-12T17:57... | true | Add classes GenerateMode, DownloadConfig and Version to the documentation
Add documentation for classes `GenerateMode`, `DownloadConfig` and `Version`.
Update the docstring of `load_dataset` to create cross-reference links to the classes.
Related to #2187. | [] |
https://api.github.com/repos/huggingface/datasets/issues/2201 | 2,201 | Fix ArrowWriter overwriting features in ArrowBasedBuilder | This should fix the issues with CSV loading experienced in #2153 and #2200.
The CSV builder is an ArrowBasedBuilder that had an issue with its ArrowWriter used to write the arrow file from the csv data.
The writer wasn't initialized with the features passed by the user. Therefore the writer was inferring the featur... | closed | 2021-04-09T12:56:19 | https://api.github.com/repos/huggingface/datasets/issues/2201/comments | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/2201",
"html_url": "https://github.com/huggingface/datasets/pull/2201",
"diff_url": "https://github.com/huggingface/datasets/pull/2201.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/2201.patch",
"merged_at": "2021-04-12T13:32... | true | Fix ArrowWriter overwriting features in ArrowBasedBuilder
This should fix the issues with CSV loading experienced in #2153 and #2200.
The CSV builder is an ArrowBasedBuilder that had an issue with its ArrowWriter used to write the arrow file from the csv data.
The writer wasn't initialized with the features passed ... | [] |
https://api.github.com/repos/huggingface/datasets/issues/2200 | 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 | https://api.github.com/repos/huggingface/datasets/issues/2200/comments | null | false | _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... | [
"Hi ! This might be related to #2153 \r\n\r\nYou're right the ArrowWriter should be initialized with `features=self.info.features` ! Good catch\r\nI'm opening a PR to fix this and also to figure out how it was not caught in the tests\r\n\r\nEDIT: opened #2201",
"> Hi ! This might be related to #2153\r\n> \r\n> Yo... |
https://api.github.com/repos/huggingface/datasets/issues/2199 | 2,199 | Fix backward compatibility in Dataset.load_from_disk | Fix backward compatibility when loading from disk an old dataset saved to disk with indices using key "_indices_data_files".
Related to #2195. | closed | 2021-04-09T11:01:10 | https://api.github.com/repos/huggingface/datasets/issues/2199/comments | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/2199",
"html_url": "https://github.com/huggingface/datasets/pull/2199",
"diff_url": "https://github.com/huggingface/datasets/pull/2199.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/2199.patch",
"merged_at": "2021-04-09T15:57... | true | Fix backward compatibility in Dataset.load_from_disk
Fix backward compatibility when loading from disk an old dataset saved to disk with indices using key "_indices_data_files".
Related to #2195. | [
"Hi @lhoestq, could you please check if this makes sense? Thanks.",
"What about using `_indices_data_files` field in save_to_disk instead of `_indices_files` ?\r\nThis way future datasets can also be reloaded from older versions of the lib\r\n\r\n`_indices_files` was introduced in a recent PR and was not released... |
https://api.github.com/repos/huggingface/datasets/issues/2198 | 2,198 | added file_permission in load_dataset | As discussed in #2065 I've added `file_permission` argument in `load_dataset`.
Added mainly 2 things here:
1) Permission of downloaded datasets when converted to .arrow files can be changed with argument `file_permission` argument in `load_dataset` (default is 0o644 only)
2) Incase the user uses `map` later on t... | closed | 2021-04-09T09:39:06 | https://api.github.com/repos/huggingface/datasets/issues/2198/comments | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/2198",
"html_url": "https://github.com/huggingface/datasets/pull/2198",
"diff_url": "https://github.com/huggingface/datasets/pull/2198.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/2198.patch",
"merged_at": null
} | true | added file_permission in load_dataset
As discussed in #2065 I've added `file_permission` argument in `load_dataset`.
Added mainly 2 things here:
1) Permission of downloaded datasets when converted to .arrow files can be changed with argument `file_permission` argument in `load_dataset` (default is 0o644 only)
2)... | [
"From offline discussions: we want to make the permissions handling consistent with `transformers`. However from discussion in https://github.com/huggingface/transformers/pull/11119 it looks like it might not be a good solution to provide this argument. Users should use umask for now, and we'll see how things evol... |
https://api.github.com/repos/huggingface/datasets/issues/2197 | 2,197 | fix missing indices_files in load_form_disk | This should fix #2195
`load_from_disk` was failing if there was no "_indices_files" field in state.json. This can happen if the dataset has no indices mapping | closed | 2021-04-09T09:37:57 | https://api.github.com/repos/huggingface/datasets/issues/2197/comments | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/2197",
"html_url": "https://github.com/huggingface/datasets/pull/2197",
"diff_url": "https://github.com/huggingface/datasets/pull/2197.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/2197.patch",
"merged_at": "2021-04-09T09:54... | true | fix missing indices_files in load_form_disk
This should fix #2195
`load_from_disk` was failing if there was no "_indices_files" field in state.json. This can happen if the dataset has no indices mapping | [] |
https://api.github.com/repos/huggingface/datasets/issues/2196 | 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 | https://api.github.com/repos/huggingface/datasets/issues/2196/comments | null | false | `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 abl... | [
"Hi ! Files that starts with `cache-*` are cached computation files, i.e. they are the cached results of map/filter/cast/etc. operations. For example if you used `map` on your dataset to transform it, then the resulting dataset is going to be stored and cached in a `cache-*` file. These files are used to avoid havi... |
https://api.github.com/repos/huggingface/datasets/issues/2195 | 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 | https://api.github.com/repos/huggingface/datasets/issues/2195/comments | null | false | 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... | [
"Thanks for reporting @samsontmr.\r\n\r\nIt seems a backward compatibility issue...",
"Thanks @samsontmr this should be fixed on master now\r\n\r\nFeel free to reopen if you're still having issues"
] |
https://api.github.com/repos/huggingface/datasets/issues/2194 | 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 | https://api.github.com/repos/huggingface/datasets/issues/2194/comments | null | false | 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... | [
"\r\nThis wasn't a `datasets` problem, but `transformers`' and it was solved here https://github.com/huggingface/transformers/pull/11168\r\n"
] |
https://api.github.com/repos/huggingface/datasets/issues/2193 | 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 | https://api.github.com/repos/huggingface/datasets/issues/2193/comments | null | false | 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... | [
"Hi ! Yes we are working on making `filter` significantly faster. You can look at related PRs here: #2060 #2178 \r\n\r\nI think you can expect to have the fast version of `filter` available next week.\r\n\r\nWe'll make it only select one column, and we'll also make the overall filtering operation way faster by avoi... |
https://api.github.com/repos/huggingface/datasets/issues/2192 | 2,192 | Fix typo in huggingface hub | pip knows how to resolve to `huggingface_hub`, but conda doesn't!
The `packaging` dependency is also required for the build to complete. | closed | 2021-04-08T14:42:24 | https://api.github.com/repos/huggingface/datasets/issues/2192/comments | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/2192",
"html_url": "https://github.com/huggingface/datasets/pull/2192",
"diff_url": "https://github.com/huggingface/datasets/pull/2192.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/2192.patch",
"merged_at": "2021-04-08T15:47... | true | Fix typo in huggingface hub
pip knows how to resolve to `huggingface_hub`, but conda doesn't!
The `packaging` dependency is also required for the build to complete. | [] |
https://api.github.com/repos/huggingface/datasets/issues/2191 | 2,191 | Refactorize tests to use Dataset as context manager | Refactorize Dataset tests to use Dataset as context manager. | closed | 2021-04-08T11:21:04 | https://api.github.com/repos/huggingface/datasets/issues/2191/comments | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/2191",
"html_url": "https://github.com/huggingface/datasets/pull/2191",
"diff_url": "https://github.com/huggingface/datasets/pull/2191.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/2191.patch",
"merged_at": "2021-04-19T07:53... | true | Refactorize tests to use Dataset as context manager
Refactorize Dataset tests to use Dataset as context manager. | [
"I find very interesting that idea of using a fixture instead!\r\n\r\nLet me rework a little bit this PR, @lhoestq.",
"@lhoestq, as this is a big refactoring, I had many problems to solve the conflicts with the master branch...\r\n\r\nTherefore, I think it is better to merge this as it is, and then to make other ... |
https://api.github.com/repos/huggingface/datasets/issues/2190 | 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 | https://api.github.com/repos/huggingface/datasets/issues/2190/comments | null | false | 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... | [
"Hi @anassalamah,\r\n\r\nCould you please try with this:\r\n```python\r\ntrain_ds = load_dataset(\"news_commentary\", lang1=\"ar\", lang2=\"en\", split='train[:98%]')\r\nval_ds = load_dataset(\"news_commentary\", lang1=\"ar\", lang2=\"en\", split='train[98%:]')\r\n```",
"Hello @albertvillanova, \r\n\r\nThanks for... |
https://api.github.com/repos/huggingface/datasets/issues/2189 | 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 | https://api.github.com/repos/huggingface/datasets/issues/2189/comments | null | false | 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... | [
"Hi ! We refactored save_to_disk in #2025 so this doesn't happen.\r\nFeel free to try it on master for now\r\nWe'll do a new release soon"
] |
https://api.github.com/repos/huggingface/datasets/issues/2188 | 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 | https://api.github.com/repos/huggingface/datasets/issues/2188/comments | null | false | 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 ... | [
"Hi ! Thanks for reporting\r\nIf I recall correctly this has been recently fixed #1995\r\nCan you try to upgrade your local version of `datasets` ?\r\n```\r\npip install --upgrade datasets\r\n```",
"Hi Ihoestq,\r\n\r\nThank you. It works after upgrading the datasets\r\n"
] |
https://api.github.com/repos/huggingface/datasets/issues/2187 | 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 | https://api.github.com/repos/huggingface/datasets/issues/2187/comments | null | false | 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... | [
"An educated guess: does this refer to the fact that depending on the custom column names in the dataset files (csv in this case), there is a dataset loader being created? and this dataset loader - using the \"custom data configuration\" is used among all jobs running using this particular csv files? (thinking out ... |
https://api.github.com/repos/huggingface/datasets/issues/2186 | 2,186 | GEM: new challenge sets | This PR updates the GEM dataset to:
- remove extraneous fields in WikiAuto after https://github.com/huggingface/datasets/pull/2171 fixed the source
- add context and services to Schema Guided Dialog
- Add new or update challenge sets for MLSUM ES and DE, XSUM, and SGD | closed | 2021-04-07T21:39:07 | https://api.github.com/repos/huggingface/datasets/issues/2186/comments | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/2186",
"html_url": "https://github.com/huggingface/datasets/pull/2186",
"diff_url": "https://github.com/huggingface/datasets/pull/2186.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/2186.patch",
"merged_at": "2021-04-07T21:56... | true | GEM: new challenge sets
This PR updates the GEM dataset to:
- remove extraneous fields in WikiAuto after https://github.com/huggingface/datasets/pull/2171 fixed the source
- add context and services to Schema Guided Dialog
- Add new or update challenge sets for MLSUM ES and DE, XSUM, and SGD | [
"cc @sebastiangehrmann"
] |
https://api.github.com/repos/huggingface/datasets/issues/2185 | 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 | https://api.github.com/repos/huggingface/datasets/issues/2185/comments | null | false | .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... | [
"Hi, one workaround would be to save the mapped(tokenized in your case) file using `save_to_disk`, and having each process load this file using `load_from_disk`. This is what I am doing, and in this case, I turn off the ability to automatically load from the cache.\r\n\r\nAlso, multiprocessing the map function seem... |
https://api.github.com/repos/huggingface/datasets/issues/2184 | 2,184 | Implementation of class_encode_column | Addresses #2176
I'm happy to discuss the API and internals! | closed | 2021-04-07T16:47:43 | https://api.github.com/repos/huggingface/datasets/issues/2184/comments | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/2184",
"html_url": "https://github.com/huggingface/datasets/pull/2184",
"diff_url": "https://github.com/huggingface/datasets/pull/2184.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/2184.patch",
"merged_at": "2021-04-16T11:26... | true | Implementation of class_encode_column
Addresses #2176
I'm happy to discuss the API and internals! | [
"Made the required changes @lhoestq , sorry it took so much time!"
] |
https://api.github.com/repos/huggingface/datasets/issues/2183 | 2,183 | Fix s3fs tests for py36 and py37+ | Recently several changes happened:
1. latest versions of `fsspec` require python>3.7 for async features
2. `s3fs` added a dependency on `aiobotocore`, which is not compatible with the `moto` s3 mock context manager
This PR fixes both issues, by pinning `fsspec` and `s3fs` for python 3.6, and by using `moto` in ser... | closed | 2021-04-07T15:17:11 | https://api.github.com/repos/huggingface/datasets/issues/2183/comments | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/2183",
"html_url": "https://github.com/huggingface/datasets/pull/2183",
"diff_url": "https://github.com/huggingface/datasets/pull/2183.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/2183.patch",
"merged_at": "2021-04-08T08:54... | true | Fix s3fs tests for py36 and py37+
Recently several changes happened:
1. latest versions of `fsspec` require python>3.7 for async features
2. `s3fs` added a dependency on `aiobotocore`, which is not compatible with the `moto` s3 mock context manager
This PR fixes both issues, by pinning `fsspec` and `s3fs` for pyth... | [] |
https://api.github.com/repos/huggingface/datasets/issues/2182 | 2,182 | Set default in-memory value depending on the dataset size | Set a default value for `in_memory` depending on the size of the dataset to be loaded.
Close #2179.
TODO:
- [x] Add a section in the docs about this.
- ~Add a warning if someone tries to specify `cache_file_name=` in `map`, `filter` etc. on a dataset that is in memory, since the computation is not going to be c... | closed | 2021-04-07T13:00:18 | https://api.github.com/repos/huggingface/datasets/issues/2182/comments | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/2182",
"html_url": "https://github.com/huggingface/datasets/pull/2182",
"diff_url": "https://github.com/huggingface/datasets/pull/2182.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/2182.patch",
"merged_at": "2021-04-20T10:04... | true | Set default in-memory value depending on the dataset size
Set a default value for `in_memory` depending on the size of the dataset to be loaded.
Close #2179.
TODO:
- [x] Add a section in the docs about this.
- ~Add a warning if someone tries to specify `cache_file_name=` in `map`, `filter` etc. on a dataset tha... | [
"I ping @krandiash to keep him up to date.",
"TODO:\r\n- [x] Add a section in the docs about this.\r\n- ~Add a warning if someone tries to specify `cache_file_name=` in `map`, `filter` etc. on a dataset that is in memory, since the computation is not going to be cached in this case.~",
"@lhoestq I have a questi... |
https://api.github.com/repos/huggingface/datasets/issues/2181 | 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 | https://api.github.com/repos/huggingface/datasets/issues/2181/comments | null | false | 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 fo... | [
"Hi ! Can you try to increase the block size ? For example\r\n```python\r\nblock_size_10MB = 10<<20\r\nload_dataset(\"json\", ..., block_size=block_size_10MB)\r\n```\r\nThe block size corresponds to how much bytes to process at a time from the input stream.\r\nThis will determine multi-threading granularity as well... |
https://api.github.com/repos/huggingface/datasets/issues/2180 | 2,180 | Add tel to xtreme tatoeba | This should fix issue #2149 | closed | 2021-04-07T10:23:15 | https://api.github.com/repos/huggingface/datasets/issues/2180/comments | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/2180",
"html_url": "https://github.com/huggingface/datasets/pull/2180",
"diff_url": "https://github.com/huggingface/datasets/pull/2180.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/2180.patch",
"merged_at": "2021-04-07T15:50... | true | Add tel to xtreme tatoeba
This should fix issue #2149 | [] |
https://api.github.com/repos/huggingface/datasets/issues/2179 | 2,179 | Load small datasets in-memory instead of using memory map | Currently all datasets are loaded using memory mapping by default in `load_dataset`.
However this might not be necessary for small datasets. If a dataset is small enough, then it can be loaded in-memory and:
- its memory footprint would be small so it's ok
- in-memory computations/queries would be faster
- the cach... | closed | 2021-04-07T09:58:16 | https://api.github.com/repos/huggingface/datasets/issues/2179/comments | null | false | Load small datasets in-memory instead of using memory map
Currently all datasets are loaded using memory mapping by default in `load_dataset`.
However this might not be necessary for small datasets. If a dataset is small enough, then it can be loaded in-memory and:
- its memory footprint would be small so it's ok
- ... | [] |
https://api.github.com/repos/huggingface/datasets/issues/2178 | 2,178 | Fix cast memory usage by using map on subtables | The `cast` operation on a pyarrow Table may create new arrays in memory.
This is an issue since users expect memory mapped datasets to not fill up the RAM.
To fix that I used `map` to write a new arrow file on disk when cast is used.
To make things more convenient I introduced the `arrow` formatting of a dataset, ... | closed | 2021-04-07T09:30:50 | https://api.github.com/repos/huggingface/datasets/issues/2178/comments | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/2178",
"html_url": "https://github.com/huggingface/datasets/pull/2178",
"diff_url": "https://github.com/huggingface/datasets/pull/2178.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/2178.patch",
"merged_at": "2021-04-13T09:28... | true | Fix cast memory usage by using map on subtables
The `cast` operation on a pyarrow Table may create new arrays in memory.
This is an issue since users expect memory mapped datasets to not fill up the RAM.
To fix that I used `map` to write a new arrow file on disk when cast is used.
To make things more convenient I ... | [
"I addressed your comments about the docstrings and the output validation :)",
"I updated the bleurt mocking method and bleurt test is passing now.\r\nI also ran the slow tests and they are passing for bleurt.",
"Thanks @lhoestq and @albertvillanova !"
] |
https://api.github.com/repos/huggingface/datasets/issues/2177 | 2,177 | add social thumbnial | # What does this PR do?
I added OpenGraph/ Twitter Card support to the docs to create nice social thumbnails.

To be able to add these I needed to install `sphinxext-op... | closed | 2021-04-07T06:40:06 | https://api.github.com/repos/huggingface/datasets/issues/2177/comments | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/2177",
"html_url": "https://github.com/huggingface/datasets/pull/2177",
"diff_url": "https://github.com/huggingface/datasets/pull/2177.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/2177.patch",
"merged_at": "2021-04-07T08:16... | true | add social thumbnial
# What does this PR do?
I added OpenGraph/ Twitter Card support to the docs to create nice social thumbnails.

To be able to add these I needed to ... | [] |
https://api.github.com/repos/huggingface/datasets/issues/2176 | 2,176 | Converting a Value to a ClassLabel | Hi!
In the docs for `cast`, it's noted that `For non-trivial conversion, e.g. string <-> ClassLabel you should use map() to update the Dataset.`
Would it be possible to have an example that demonstrates such a string <-> ClassLabel conversion using `map`? Thanks! | closed | 2021-04-06T22:54:16 | https://api.github.com/repos/huggingface/datasets/issues/2176/comments | null | false | Converting a Value to a ClassLabel
Hi!
In the docs for `cast`, it's noted that `For non-trivial conversion, e.g. string <-> ClassLabel you should use map() to update the Dataset.`
Would it be possible to have an example that demonstrates such a string <-> ClassLabel conversion using `map`? Thanks! | [
"Hi @nelson-liu!\r\nHere is what I do to convert a string to class label:\r\n\r\n```python\r\nfrom datasets import load_dataset, features\r\n\r\n\r\ndset = load_dataset(...)\r\ncol_name = \"the string column name\"\r\n\r\nclass_names = dset.unique(col_name)\r\nclass_feature = features.ClassLabel(names=sorted(class... |
https://api.github.com/repos/huggingface/datasets/issues/2175 | 2,175 | dataset.search_batch() function outputs all -1 indices sometime. | I am working with RAG and playing around with different faiss indexes. At the moment I use **index = faiss.index_factory(768, "IVF65536_HNSW32,Flat")**.
During the retrieval phase exactly in [this line of retrieval_rag.py](https://github.com/huggingface/transformers/blob/master/src/transformers/models/rag/retrieval_... | closed | 2021-04-06T21:50:49 | https://api.github.com/repos/huggingface/datasets/issues/2175/comments | null | false | dataset.search_batch() function outputs all -1 indices sometime.
I am working with RAG and playing around with different faiss indexes. At the moment I use **index = faiss.index_factory(768, "IVF65536_HNSW32,Flat")**.
During the retrieval phase exactly in [this line of retrieval_rag.py](https://github.com/huggingfac... | [
"Actually, I found the answer [here](https://github.com/facebookresearch/faiss/wiki/FAQ#what-does-it-mean-when-a-search-returns--1-ids). \r\n\r\nSo we have to do some modifications to the code for instances where the index doesn't retrieve any IDs.",
"@lhoestq @patrickvonplaten \r\n\r\nI also found another short... |
https://api.github.com/repos/huggingface/datasets/issues/2174 | 2,174 | Pin docutils for better doc | The latest release of docutils make the navbar in the documentation weird and the Markdown wrongly interpreted:

We had the same problem in Transformers and solved it by pinning docutils (a dep of sphinx... | closed | 2021-04-06T12:40:20 | https://api.github.com/repos/huggingface/datasets/issues/2174/comments | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/2174",
"html_url": "https://github.com/huggingface/datasets/pull/2174",
"diff_url": "https://github.com/huggingface/datasets/pull/2174.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/2174.patch",
"merged_at": "2021-04-06T12:55... | true | Pin docutils for better doc
The latest release of docutils make the navbar in the documentation weird and the Markdown wrongly interpreted:

We had the same problem in Transformers and solved it by pinni... | [] |
https://api.github.com/repos/huggingface/datasets/issues/2173 | 2,173 | Add OpenSLR dataset | OpenSLR (https://openslr.org/) is a site devoted to hosting speech and language resources, such as training corpora for speech recognition, and software related to speech recognition. There are around 80 speech datasets listed in OpenSLR, currently this PR includes only 9 speech datasets SLR41, SLR42, SLR43, SLR44, SLR... | closed | 2021-04-06T12:08:34 | https://api.github.com/repos/huggingface/datasets/issues/2173/comments | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/2173",
"html_url": "https://github.com/huggingface/datasets/pull/2173",
"diff_url": "https://github.com/huggingface/datasets/pull/2173.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/2173.patch",
"merged_at": "2021-04-12T16:54... | true | Add OpenSLR dataset
OpenSLR (https://openslr.org/) is a site devoted to hosting speech and language resources, such as training corpora for speech recognition, and software related to speech recognition. There are around 80 speech datasets listed in OpenSLR, currently this PR includes only 9 speech datasets SLR41, SLR4... | [] |
https://api.github.com/repos/huggingface/datasets/issues/2172 | 2,172 | Pin fsspec lower than 0.9.0 | Today's release of `fsspec` 0.9.0 implied a new release of `s3fs` 0.6.0 but this version breaks the CI (see [here](https://app.circleci.com/pipelines/github/huggingface/datasets/5312/workflows/490f3240-cd1c-4dd1-bb60-b416771c5584/jobs/32734) for example)
I'm pinning `fsspec` until this has been resolved | closed | 2021-04-06T09:19:09 | https://api.github.com/repos/huggingface/datasets/issues/2172/comments | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/2172",
"html_url": "https://github.com/huggingface/datasets/pull/2172",
"diff_url": "https://github.com/huggingface/datasets/pull/2172.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/2172.patch",
"merged_at": "2021-04-06T09:49... | true | Pin fsspec lower than 0.9.0
Today's release of `fsspec` 0.9.0 implied a new release of `s3fs` 0.6.0 but this version breaks the CI (see [here](https://app.circleci.com/pipelines/github/huggingface/datasets/5312/workflows/490f3240-cd1c-4dd1-bb60-b416771c5584/jobs/32734) for example)
I'm pinning `fsspec` until this ha... | [] |
https://api.github.com/repos/huggingface/datasets/issues/2171 | 2,171 | Fixed the link to wikiauto training data. | closed | 2021-04-06T07:13:11 | https://api.github.com/repos/huggingface/datasets/issues/2171/comments | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/2171",
"html_url": "https://github.com/huggingface/datasets/pull/2171",
"diff_url": "https://github.com/huggingface/datasets/pull/2171.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/2171.patch",
"merged_at": "2021-04-06T16:05... | true | Fixed the link to wikiauto training data.
| [
"Also you can ignore the CI failing on `docs`, this has been fixed on master :)",
"@lhoestq I need to update other stuff on GEM later today too, so will merge this one and remove columns in the next PR!",
"Ok !"
] | |
https://api.github.com/repos/huggingface/datasets/issues/2170 | 2,170 | Wikipedia historic dumps are deleted but hf/datasets hardcodes dump date | Wikimedia does not keep all historical dumps. For example, as of today https://dumps.wikimedia.org/kowiki/ only provides
```
20201220/ 02-Feb-2021 01:36 -
20210101/ 21-Feb-2021 01:26 -
20210120/ ... | open | 2021-04-06T03:13:18 | https://api.github.com/repos/huggingface/datasets/issues/2170/comments | null | false | Wikipedia historic dumps are deleted but hf/datasets hardcodes dump date
Wikimedia does not keep all historical dumps. For example, as of today https://dumps.wikimedia.org/kowiki/ only provides
```
20201220/ 02-Feb-2021 01:36 -
20210101/ ... | [
"It seems that this can be fixed from user's end by including a `date` argument, like this:\r\n\r\n`dataset = datasets.load_dataset('wikipedia', '20200501.en', date='20210420')`\r\n\r\nYou can get available dates from [here](https://dumps.wikimedia.org/enwiki/).\r\n\r\nThis is not a proper fix however as all the fi... |
https://api.github.com/repos/huggingface/datasets/issues/2169 | 2,169 | Updated WER metric implementation to avoid memory issues | This is in order to fix this issue:
https://github.com/huggingface/datasets/issues/2078
| closed | 2021-04-05T15:43:20 | https://api.github.com/repos/huggingface/datasets/issues/2169/comments | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/2169",
"html_url": "https://github.com/huggingface/datasets/pull/2169",
"diff_url": "https://github.com/huggingface/datasets/pull/2169.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/2169.patch",
"merged_at": null
} | true | Updated WER metric implementation to avoid memory issues
This is in order to fix this issue:
https://github.com/huggingface/datasets/issues/2078
| [
"Hi ! Thanks for suggesting this fix \r\nUnfortunately it looks like it's already been fixed by #2111 \r\n\r\nFeel free to share your thoughts about this PR !\r\n\r\nI'm closing this one if you don't mind."
] |
https://api.github.com/repos/huggingface/datasets/issues/2168 | 2,168 | Preserve split type when realoding dataset | Fixes #2167
Using `eval` is not ideal for security reasons (in web apps I assume), but without it the code would be much more complex IMO.
In terms of style, instead of explicitly importing a private member (`_RelativeInstruction`), we can add these imports at the top of the module:
```python
from . import arr... | closed | 2021-04-04T20:46:21 | https://api.github.com/repos/huggingface/datasets/issues/2168/comments | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/2168",
"html_url": "https://github.com/huggingface/datasets/pull/2168",
"diff_url": "https://github.com/huggingface/datasets/pull/2168.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/2168.patch",
"merged_at": "2021-04-19T09:08... | true | Preserve split type when realoding dataset
Fixes #2167
Using `eval` is not ideal for security reasons (in web apps I assume), but without it the code would be much more complex IMO.
In terms of style, instead of explicitly importing a private member (`_RelativeInstruction`), we can add these imports at the top o... | [
"Thanks for diving into this !\r\n\r\nBefore going further, I just want to make sure if using `eval` is the right solution\r\nPersonally I'm not a big fan of `eval` since it has many security concerns. Also storing string representations of python objects in the json files is not ideal either IMO, so maybe it's pos... |
https://api.github.com/repos/huggingface/datasets/issues/2167 | 2,167 | Split type not preserved when reloading the dataset | A minimal reproducible example:
```python
>>> from datasets import load_dataset, Dataset
>>> dset = load_dataset("sst", split="train")
>>> dset.save_to_disk("sst")
>>> type(dset.split)
<class 'datasets.splits.NamedSplit'>
>>> dset = Dataset.load_from_disk("sst")
>>> type(dset.split) # NamedSplit expected
<cla... | closed | 2021-04-04T19:29:54 | https://api.github.com/repos/huggingface/datasets/issues/2167/comments | null | false | Split type not preserved when reloading the dataset
A minimal reproducible example:
```python
>>> from datasets import load_dataset, Dataset
>>> dset = load_dataset("sst", split="train")
>>> dset.save_to_disk("sst")
>>> type(dset.split)
<class 'datasets.splits.NamedSplit'>
>>> dset = Dataset.load_from_disk("sst... | [] |
https://api.github.com/repos/huggingface/datasets/issues/2166 | 2,166 | Regarding Test Sets for the GEM datasets | @yjernite Hi, are the test sets for the GEM datasets scheduled to be [added soon](https://gem-benchmark.com/shared_task)?
e.g.
```
from datasets import load_dataset
DATASET_NAME="common_gen"
data = load_dataset("gem", DATASET_NAME)
```
The test set doesn't have the target or references.
```
data['test... | closed | 2021-04-04T02:02:45 | https://api.github.com/repos/huggingface/datasets/issues/2166/comments | null | false | Regarding Test Sets for the GEM datasets
@yjernite Hi, are the test sets for the GEM datasets scheduled to be [added soon](https://gem-benchmark.com/shared_task)?
e.g.
```
from datasets import load_dataset
DATASET_NAME="common_gen"
data = load_dataset("gem", DATASET_NAME)
```
The test set doesn't have the... | [
"Hi @vyraun ! The test references for CommonGen are not publicly available: you can reach out to the original dataset authors if you would like to ask for them, but we will not be releasing them as part of GEM (March 31st was the release date for the test set inputs, references are incidentally released for some of... |
https://api.github.com/repos/huggingface/datasets/issues/2165 | 2,165 | How to convert datasets.arrow_dataset.Dataset to torch.utils.data.Dataset | Hi,
I'm trying to pretraine deep-speed model using HF arxiv dataset like:
```
train_ds = nlp.load_dataset('scientific_papers', 'arxiv')
train_ds.set_format(
type="torch",
columns=["input_ids", "attention_mask", "global_attention_mask", "labels"],
)
engine, _, _, _ = deepspeed.initialize(
... | closed | 2021-04-04T01:01:48 | https://api.github.com/repos/huggingface/datasets/issues/2165/comments | null | false | How to convert datasets.arrow_dataset.Dataset to torch.utils.data.Dataset
Hi,
I'm trying to pretraine deep-speed model using HF arxiv dataset like:
```
train_ds = nlp.load_dataset('scientific_papers', 'arxiv')
train_ds.set_format(
type="torch",
columns=["input_ids", "attention_mask", "global_att... | [
"Hi,\r\n\r\na HF dataset can be converted to a Torch Dataset with a simple wrapper as follows:\r\n```python\r\nfrom torch.utils.data import Dataset\r\n \r\nclass HFDataset(Dataset):\r\n def __init__(self, dset):\r\n self.dset = dset\r\n\r\n def __getitem__(self, idx):\r\n return self.dset[idx]\r... |
https://api.github.com/repos/huggingface/datasets/issues/2164 | 2,164 | Replace assertTrue(isinstance with assertIsInstance in tests | Replaces all the occurrences of the `assertTrue(isinstance(` pattern with `assertIsInstance`. | closed | 2021-04-03T21:07:02 | https://api.github.com/repos/huggingface/datasets/issues/2164/comments | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/2164",
"html_url": "https://github.com/huggingface/datasets/pull/2164",
"diff_url": "https://github.com/huggingface/datasets/pull/2164.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/2164.patch",
"merged_at": "2021-04-06T14:41... | true | Replace assertTrue(isinstance with assertIsInstance in tests
Replaces all the occurrences of the `assertTrue(isinstance(` pattern with `assertIsInstance`. | [] |
https://api.github.com/repos/huggingface/datasets/issues/2163 | 2,163 | Concat only unique fields in DatasetInfo.from_merge | I thought someone from the community with less experience would be interested in fixing this issue, but that wasn't the case.
Fixes #2103 | closed | 2021-04-03T14:31:30 | https://api.github.com/repos/huggingface/datasets/issues/2163/comments | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/2163",
"html_url": "https://github.com/huggingface/datasets/pull/2163",
"diff_url": "https://github.com/huggingface/datasets/pull/2163.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/2163.patch",
"merged_at": "2021-04-06T14:39... | true | Concat only unique fields in DatasetInfo.from_merge
I thought someone from the community with less experience would be interested in fixing this issue, but that wasn't the case.
Fixes #2103 | [
"Hi @mariosasko,\r\nJust came across this PR and I was wondering if we can use\r\n`description = \"\\n\\n\".join(OrderedDict.fromkeys([info.description for info in dataset_infos]))`\r\n\r\nThis will obviate the need for `unique` and is almost as fast as `set`. We could have used `dict` inplace of `OrderedDict` but ... |
https://api.github.com/repos/huggingface/datasets/issues/2162 | 2,162 | visualization for cc100 is broken | Hi
visualization through dataset viewer for cc100 is broken
https://huggingface.co/datasets/viewer/
thanks a lot
| closed | 2021-04-02T10:11:13 | https://api.github.com/repos/huggingface/datasets/issues/2162/comments | null | false | visualization for cc100 is broken
Hi
visualization through dataset viewer for cc100 is broken
https://huggingface.co/datasets/viewer/
thanks a lot
| [
"This looks like an issue with the cc100 dataset itself but not sure\r\nDid you try loading cc100 on your machine ?",
"Hi\nloading works fine, but the viewer only is broken\nthanks\n\nOn Wed, Apr 7, 2021 at 12:17 PM Quentin Lhoest ***@***.***>\nwrote:\n\n> This looks like an issue with the cc100 dataset itself bu... |
https://api.github.com/repos/huggingface/datasets/issues/2161 | 2,161 | any possibility to download part of large datasets only? | Hi
Some of the datasets I need like cc100 are very large, and then I wonder if I can download first X samples of the shuffled/unshuffled data without going through first downloading the whole data then sampling? thanks | closed | 2021-04-02T10:06:46 | https://api.github.com/repos/huggingface/datasets/issues/2161/comments | null | false | any possibility to download part of large datasets only?
Hi
Some of the datasets I need like cc100 are very large, and then I wonder if I can download first X samples of the shuffled/unshuffled data without going through first downloading the whole data then sampling? thanks | [
"Not yet but it’s on the short/mid-term roadmap (requested by many indeed).",
"oh, great, really awesome feature to have, thank you very much for the great, fabulous work",
"We'll work on dataset streaming soon. This should allow you to only load the examples you need ;)",
"thanks a lot Quentin, this would be... |
https://api.github.com/repos/huggingface/datasets/issues/2160 | 2,160 | data_args.preprocessing_num_workers almost freezes | Hi @lhoestq
I am running this code from huggingface transformers https://github.com/huggingface/transformers/blob/master/examples/language-modeling/run_mlm.py
to speed up tokenization, since I am running on multiple datasets, I am using data_args.preprocessing_num_workers = 4 with opus100 corpus but this moves ... | closed | 2021-04-02T07:56:13 | https://api.github.com/repos/huggingface/datasets/issues/2160/comments | null | false | data_args.preprocessing_num_workers almost freezes
Hi @lhoestq
I am running this code from huggingface transformers https://github.com/huggingface/transformers/blob/master/examples/language-modeling/run_mlm.py
to speed up tokenization, since I am running on multiple datasets, I am using data_args.preprocessing... | [
"Hi.\r\nI cannot always reproduce this issue, and on later runs I did not see it so far. Sometimes also I set 8 processes but I see less being showed, is this normal, here only 5 are shown for 8 being set, thanks\r\n\r\n```\r\n#3: 11%|███████████████▊ ... |
https://api.github.com/repos/huggingface/datasets/issues/2159 | 2,159 | adding ccnet dataset | ## Adding a Dataset
- **Name:** ccnet
- **Description:**
Common Crawl
- **Paper:**
https://arxiv.org/abs/1911.00359
- **Data:**
https://github.com/facebookresearch/cc_net
- **Motivation:**
this is one of the most comprehensive clean monolingual datasets across a variety of languages. Quite importan... | closed | 2021-04-01T23:28:36 | https://api.github.com/repos/huggingface/datasets/issues/2159/comments | null | false | adding ccnet dataset
## Adding a Dataset
- **Name:** ccnet
- **Description:**
Common Crawl
- **Paper:**
https://arxiv.org/abs/1911.00359
- **Data:**
https://github.com/facebookresearch/cc_net
- **Motivation:**
this is one of the most comprehensive clean monolingual datasets across a variety of lang... | [
"closing since I think this is cc100, just the name has been changed. thanks "
] |
https://api.github.com/repos/huggingface/datasets/issues/2158 | 2,158 | viewer "fake_news_english" error | When I visit the [Huggingface - viewer](https://huggingface.co/datasets/viewer/) web site, under the dataset "fake_news_english" I've got this error:
> ImportError: To be able to use this dataset, you need to install the following dependencies['openpyxl'] using 'pip install # noqa: requires this pandas optional depe... | closed | 2021-04-01T14:13:20 | https://api.github.com/repos/huggingface/datasets/issues/2158/comments | null | false | viewer "fake_news_english" error
When I visit the [Huggingface - viewer](https://huggingface.co/datasets/viewer/) web site, under the dataset "fake_news_english" I've got this error:
> ImportError: To be able to use this dataset, you need to install the following dependencies['openpyxl'] using 'pip install # noqa: r... | [
"Thanks for reporting !\r\nThe viewer doesn't have all the dependencies of the datasets. We may add openpyxl to be able to show this dataset properly",
"This viewer tool is deprecated now and the new viewer at https://huggingface.co/datasets/fake_news_english works fine, so I'm closing this issue"
] |
https://api.github.com/repos/huggingface/datasets/issues/2157 | 2,157 | updated user permissions based on umask | Updated user permissions based on running user's umask (#2065). Let me know if `0o666` is looking good or should I change it to `~umask` only (to give execute permissions as well) | closed | 2021-03-31T19:38:29 | https://api.github.com/repos/huggingface/datasets/issues/2157/comments | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/2157",
"html_url": "https://github.com/huggingface/datasets/pull/2157",
"diff_url": "https://github.com/huggingface/datasets/pull/2157.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/2157.patch",
"merged_at": "2021-04-06T07:19... | true | updated user permissions based on umask
Updated user permissions based on running user's umask (#2065). Let me know if `0o666` is looking good or should I change it to `~umask` only (to give execute permissions as well) | [] |
https://api.github.com/repos/huggingface/datasets/issues/2156 | 2,156 | User permissions | Updated user permissions based on running user's umask. Let me know if `0o666` is looking good or should I change it to `~umask` only (to give execute permissions as well) | closed | 2021-03-31T19:33:48 | https://api.github.com/repos/huggingface/datasets/issues/2156/comments | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/2156",
"html_url": "https://github.com/huggingface/datasets/pull/2156",
"diff_url": "https://github.com/huggingface/datasets/pull/2156.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/2156.patch",
"merged_at": null
} | true | User permissions
Updated user permissions based on running user's umask. Let me know if `0o666` is looking good or should I change it to `~umask` only (to give execute permissions as well) | [] |
https://api.github.com/repos/huggingface/datasets/issues/2155 | 2,155 | Add table classes to the documentation | Following #2025 , I added the table classes to the documentation
cc @albertvillanova | closed | 2021-03-31T14:36:10 | https://api.github.com/repos/huggingface/datasets/issues/2155/comments | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/2155",
"html_url": "https://github.com/huggingface/datasets/pull/2155",
"diff_url": "https://github.com/huggingface/datasets/pull/2155.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/2155.patch",
"merged_at": "2021-03-31T15:42... | true | Add table classes to the documentation
Following #2025 , I added the table classes to the documentation
cc @albertvillanova | [
"Just note that docstrings injected from PyArrow do not follow the same convention for formatting types in `Args` or `Returns` as we do... Not a big problem, anyway! 😄 "
] |
https://api.github.com/repos/huggingface/datasets/issues/2154 | 2,154 | Adding the NorNE dataset for Norwegian POS and NER | NorNE is a manually annotated corpus of named entities which extends the annotation of the existing Norwegian Dependency Treebank. Comprising both of the official standards of written Norwegian (Bokmål and Nynorsk), the corpus contains around 600,000 tokens and annotates a rich set of entity types including persons, or... | closed | 2021-03-31T14:22:50 | https://api.github.com/repos/huggingface/datasets/issues/2154/comments | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/2154",
"html_url": "https://github.com/huggingface/datasets/pull/2154",
"diff_url": "https://github.com/huggingface/datasets/pull/2154.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/2154.patch",
"merged_at": "2021-04-01T09:16... | true | Adding the NorNE dataset for Norwegian POS and NER
NorNE is a manually annotated corpus of named entities which extends the annotation of the existing Norwegian Dependency Treebank. Comprising both of the official standards of written Norwegian (Bokmål and Nynorsk), the corpus contains around 600,000 tokens and annotat... | [
"Awesome!"
] |
https://api.github.com/repos/huggingface/datasets/issues/2153 | 2,153 | load_dataset ignoring features | First of all, I'm sorry if it is a repeated issue or the changes are already in master, I searched and I didn't find anything.
I'm using datasets 1.5.0

As you can see, when I load the dataset, the C... | closed | 2021-03-31T08:30:09 | https://api.github.com/repos/huggingface/datasets/issues/2153/comments | null | false | load_dataset ignoring features
First of all, I'm sorry if it is a repeated issue or the changes are already in master, I searched and I didn't find anything.
I'm using datasets 1.5.0

As you can see,... | [
"Hi ! Thanks for reporting. I opened a PR to fix this issue: #2201",
"Nice question which helped me a lot! I have wasted a lot of time to the `DatasetDict` creation from a csv file. Hope the document of this module add some simple examples.",
"Hi :) We're indeed working on tutorials that we will add to the docs... |
https://api.github.com/repos/huggingface/datasets/issues/2152 | 2,152 | Update README.md | Updated some descriptions of Wino_Bias dataset. | closed | 2021-03-31T03:21:19 | https://api.github.com/repos/huggingface/datasets/issues/2152/comments | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/2152",
"html_url": "https://github.com/huggingface/datasets/pull/2152",
"diff_url": "https://github.com/huggingface/datasets/pull/2152.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/2152.patch",
"merged_at": "2021-04-01T10:20... | true | Update README.md
Updated some descriptions of Wino_Bias dataset. | [] |
https://api.github.com/repos/huggingface/datasets/issues/2151 | 2,151 | Add support for axis in concatenate datasets | Add support for `axis` (0 or 1) in `concatenate_datasets`.
Close #853. | closed | 2021-03-30T16:58:44 | https://api.github.com/repos/huggingface/datasets/issues/2151/comments | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/2151",
"html_url": "https://github.com/huggingface/datasets/pull/2151",
"diff_url": "https://github.com/huggingface/datasets/pull/2151.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/2151.patch",
"merged_at": "2021-04-19T16:07... | true | Add support for axis in concatenate datasets
Add support for `axis` (0 or 1) in `concatenate_datasets`.
Close #853. | [
"@lhoestq I am going to implement the consolidation step you mentioned in #1870.",
"@lhoestq I was thinking that the order of the TableBlocks is not relevant, isn't it?\r\n\r\nI mean, in order to consolidate _consecutive_ in-memory table blocks, in this case:\r\n```\r\nblocks = [in_memory_1, memory_mapped, in_mem... |
https://api.github.com/repos/huggingface/datasets/issues/2150 | 2,150 | Allow pickling of big in-memory tables | This should fix issue #2134
Pickling is limited to <4GiB objects, it's not possible to pickle a big arrow table (for multiprocessing for example).
For big tables, we have to write them on disk and only pickle the path to the table. | closed | 2021-03-30T15:51:56 | https://api.github.com/repos/huggingface/datasets/issues/2150/comments | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/2150",
"html_url": "https://github.com/huggingface/datasets/pull/2150",
"diff_url": "https://github.com/huggingface/datasets/pull/2150.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/2150.patch",
"merged_at": "2021-03-31T10:37... | true | Allow pickling of big in-memory tables
This should fix issue #2134
Pickling is limited to <4GiB objects, it's not possible to pickle a big arrow table (for multiprocessing for example).
For big tables, we have to write them on disk and only pickle the path to the table. | [] |
https://api.github.com/repos/huggingface/datasets/issues/2149 | 2,149 | Telugu subset missing for xtreme tatoeba dataset | from nlp import load_dataset
train_dataset = load_dataset('xtreme', 'tatoeba.tel')['validation']
ValueError: BuilderConfig tatoeba.tel not found.
but language tel is actually included in xtreme:
https://github.com/google-research/xtreme/blob/master/utils_preprocess.py
def tatoeba_preprocess(args):
lang3_dict ... | closed | 2021-03-30T15:26:34 | https://api.github.com/repos/huggingface/datasets/issues/2149/comments | null | false | Telugu subset missing for xtreme tatoeba dataset
from nlp import load_dataset
train_dataset = load_dataset('xtreme', 'tatoeba.tel')['validation']
ValueError: BuilderConfig tatoeba.tel not found.
but language tel is actually included in xtreme:
https://github.com/google-research/xtreme/blob/master/utils_preprocess... | [
"Good catch ! Thanks for reporting\r\n\r\nI just opened #2180 to fix this",
"Fixed in #2180"
] |
https://api.github.com/repos/huggingface/datasets/issues/2148 | 2,148 | Add configurable options to `seqeval` metric | Right now `load_metric("seqeval")` only works in the default mode of evaluation (equivalent to conll evaluation).
However, seqeval library [supports](https://github.com/chakki-works/seqeval#support-features) different evaluation schemes (IOB1, IOB2, etc.), which can be plugged in just by supporting additional kwargs... | closed | 2021-03-30T15:04:06 | https://api.github.com/repos/huggingface/datasets/issues/2148/comments | null | false | Add configurable options to `seqeval` metric
Right now `load_metric("seqeval")` only works in the default mode of evaluation (equivalent to conll evaluation).
However, seqeval library [supports](https://github.com/chakki-works/seqeval#support-features) different evaluation schemes (IOB1, IOB2, etc.), which can be pl... | [
"Hi @marrodion. \r\n\r\nThanks for pointing this out. It would be great to incorporate this metric-specific enhancement.\r\n\r\nAnother possibility would be to require the user to input the scheme as a string `mode=\"strict\", scheme=\"IOB2\"` and then dynamically import the corresponding module using Python `impor... |
https://api.github.com/repos/huggingface/datasets/issues/2147 | 2,147 | Render docstring return type as inline | This documentation setting will avoid having the return type in a separate line under `Return type`.
See e.g. current docs for `Dataset.to_csv`. | closed | 2021-03-30T14:55:43 | https://api.github.com/repos/huggingface/datasets/issues/2147/comments | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/2147",
"html_url": "https://github.com/huggingface/datasets/pull/2147",
"diff_url": "https://github.com/huggingface/datasets/pull/2147.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/2147.patch",
"merged_at": "2021-03-31T13:11... | true | Render docstring return type as inline
This documentation setting will avoid having the return type in a separate line under `Return type`.
See e.g. current docs for `Dataset.to_csv`. | [] |
https://api.github.com/repos/huggingface/datasets/issues/2146 | 2,146 | Dataset file size on disk is very large with 3D Array | Hi,
I have created my own dataset using the provided dataset loading script. It is an image dataset where images are stored as 3D Array with dtype=uint8.
The actual size on disk is surprisingly large. It takes 520 MB. Here is some info from `dataset_info.json`.
`{
"description": "",
"citation": ""... | open | 2021-03-30T14:46:09 | https://api.github.com/repos/huggingface/datasets/issues/2146/comments | null | false | Dataset file size on disk is very large with 3D Array
Hi,
I have created my own dataset using the provided dataset loading script. It is an image dataset where images are stored as 3D Array with dtype=uint8.
The actual size on disk is surprisingly large. It takes 520 MB. Here is some info from `dataset_info.jso... | [
"Hi ! In the arrow file we store all the integers as uint8.\r\nSo your arrow file should weigh around `height x width x n_channels x n_images` bytes.\r\n\r\nWhat feature type do your TFDS dataset have ?\r\n\r\nIf it uses a `tfds.features.Image` type, then what is stored is the encoded data (as png or jpg for exampl... |
https://api.github.com/repos/huggingface/datasets/issues/2145 | 2,145 | Implement Dataset add_column | Implement `Dataset.add_column`.
Close #1954. | closed | 2021-03-30T14:02:14 | https://api.github.com/repos/huggingface/datasets/issues/2145/comments | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/2145",
"html_url": "https://github.com/huggingface/datasets/pull/2145",
"diff_url": "https://github.com/huggingface/datasets/pull/2145.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/2145.patch",
"merged_at": "2021-04-29T14:50... | true | Implement Dataset add_column
Implement `Dataset.add_column`.
Close #1954. | [
"#2274 has been merged. You can now merge master into this branch and use `assert_arrow_metadata_are_synced_with_dataset_features(dset)` to make sure that the metadata are good :)"
] |
https://api.github.com/repos/huggingface/datasets/issues/2144 | 2,144 | Loading wikipedia 20200501.en throws pyarrow related error | **Problem description**
I am getting the following error when trying to load wikipedia/20200501.en dataset.
**Error log**
Downloading and preparing dataset wikipedia/20200501.en (download: 16.99 GiB, generated: 17.07 GiB, post-processed: Unknown size, total: 34.06 GiB) to /usr/local/workspace/NAS_NLP/cache/wikiped... | open | 2021-03-30T10:38:31 | https://api.github.com/repos/huggingface/datasets/issues/2144/comments | null | false | Loading wikipedia 20200501.en throws pyarrow related error
**Problem description**
I am getting the following error when trying to load wikipedia/20200501.en dataset.
**Error log**
Downloading and preparing dataset wikipedia/20200501.en (download: 16.99 GiB, generated: 17.07 GiB, post-processed: Unknown size, tota... | [
"That's how I loaded the dataset\r\n```python\r\nfrom datasets import load_dataset\r\nds = load_dataset('wikipedia', '20200501.en', cache_dir='/usr/local/workspace/NAS_NLP/cache')\r\n```",
"Hi ! It looks like the arrow file in the folder\r\n`/usr/local/workspace/NAS_NLP/cache/wikipedia/20200501.en/1.0.0/50aa706aa... |
https://api.github.com/repos/huggingface/datasets/issues/2143 | 2,143 | task casting via load_dataset | wip
not satisfied with the API, it means as a dataset implementer I need to write a function with boilerplate and write classes for each `<dataset><task>` "facet". | closed | 2021-03-30T10:00:42 | https://api.github.com/repos/huggingface/datasets/issues/2143/comments | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/2143",
"html_url": "https://github.com/huggingface/datasets/pull/2143",
"diff_url": "https://github.com/huggingface/datasets/pull/2143.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/2143.patch",
"merged_at": null
} | true | task casting via load_dataset
wip
not satisfied with the API, it means as a dataset implementer I need to write a function with boilerplate and write classes for each `<dataset><task>` "facet". | [] |
https://api.github.com/repos/huggingface/datasets/issues/2142 | 2,142 | Gem V1.1 | This branch updates the GEM benchmark to its 1.1 version which includes:
- challenge sets for most tasks
- detokenized TurkCorpus to match the rest of the text simplification subtasks
- fixed inputs for TurkCorpus and ASSET test sets
- 18 languages in WikiLingua
cc @sebastianGehrmann | closed | 2021-03-29T23:47:02 | https://api.github.com/repos/huggingface/datasets/issues/2142/comments | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/2142",
"html_url": "https://github.com/huggingface/datasets/pull/2142",
"diff_url": "https://github.com/huggingface/datasets/pull/2142.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/2142.patch",
"merged_at": "2021-03-30T00:10... | true | Gem V1.1
This branch updates the GEM benchmark to its 1.1 version which includes:
- challenge sets for most tasks
- detokenized TurkCorpus to match the rest of the text simplification subtasks
- fixed inputs for TurkCorpus and ASSET test sets
- 18 languages in WikiLingua
cc @sebastianGehrmann | [] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.