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/3370 | 3,370 | Document a training loop for streaming dataset | I added some docs about streaming dataset. In particular I added two subsections:
- one on how to use `map` for preprocessing
- one on how to use a streaming dataset in a pytorch training loop
cc @patrickvonplaten @stevhliu if you have some comments
cc @Rocketknight1 later we can add the one for TF and I might ne... | closed | 2021-12-02T16:17:00 | https://api.github.com/repos/huggingface/datasets/issues/3370/comments | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/3370",
"html_url": "https://github.com/huggingface/datasets/pull/3370",
"diff_url": "https://github.com/huggingface/datasets/pull/3370.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/3370.patch",
"merged_at": "2021-12-03T13:34... | true | Document a training loop for streaming dataset
I added some docs about streaming dataset. In particular I added two subsections:
- one on how to use `map` for preprocessing
- one on how to use a streaming dataset in a pytorch training loop
cc @patrickvonplaten @stevhliu if you have some comments
cc @Rocketknight1... | [] |
https://api.github.com/repos/huggingface/datasets/issues/3369 | 3,369 | [Audio] Allow resampling for audio datasets in streaming mode | Many audio datasets like Common Voice always need to be resampled. This can very easily be done in non-streaming mode as follows:
```python
from datasets import load_dataset
ds = load_dataset("common_voice", "ab", split="test")
ds = ds.cast_column("audio", Audio(sampling_rate=16_000))
```
However in strea... | closed | 2021-12-02T14:04:57 | https://api.github.com/repos/huggingface/datasets/issues/3369/comments | null | false | [Audio] Allow resampling for audio datasets in streaming mode
Many audio datasets like Common Voice always need to be resampled. This can very easily be done in non-streaming mode as follows:
```python
from datasets import load_dataset
ds = load_dataset("common_voice", "ab", split="test")
ds = ds.cast_column(... | [
"This requires implementing `cast_column` for iterable datasets, it could be a very nice addition !\r\n\r\n<s>It can also be useful to be able to disable the audio/image decoding for the dataset viewer (see PR https://github.com/huggingface/datasets/pull/3430) cc @severo </s>\r\nEDIT: actually following https://git... |
https://api.github.com/repos/huggingface/datasets/issues/3368 | 3,368 | Fix dict source_datasets tagset validator | Currently, the `source_datasets` tag validation does not support passing a dict with configuration keys.
This PR:
- Extends `tagset_validator` to support regex tags
- Uses `tagset_validator` to validate dict `source_datasets` | closed | 2021-12-02T10:52:20 | https://api.github.com/repos/huggingface/datasets/issues/3368/comments | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/3368",
"html_url": "https://github.com/huggingface/datasets/pull/3368",
"diff_url": "https://github.com/huggingface/datasets/pull/3368.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/3368.patch",
"merged_at": "2021-12-02T15:48... | true | Fix dict source_datasets tagset validator
Currently, the `source_datasets` tag validation does not support passing a dict with configuration keys.
This PR:
- Extends `tagset_validator` to support regex tags
- Uses `tagset_validator` to validate dict `source_datasets` | [] |
https://api.github.com/repos/huggingface/datasets/issues/3367 | 3,367 | Fix typo in other-structured-to-text task tag | Fix typo in task tag:
- `other-stuctured-to-text` (before)
- `other-structured-to-text` (now) | closed | 2021-12-02T08:02:27 | https://api.github.com/repos/huggingface/datasets/issues/3367/comments | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/3367",
"html_url": "https://github.com/huggingface/datasets/pull/3367",
"diff_url": "https://github.com/huggingface/datasets/pull/3367.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/3367.patch",
"merged_at": "2021-12-02T16:07... | true | Fix typo in other-structured-to-text task tag
Fix typo in task tag:
- `other-stuctured-to-text` (before)
- `other-structured-to-text` (now) | [] |
https://api.github.com/repos/huggingface/datasets/issues/3366 | 3,366 | Add multimodal datasets | Epic issue to track the addition of multimodal datasets:
- [ ] #2526
- [x] #1842
- [ ] #1810
Instructions to add a new dataset can be found [here](https://github.com/huggingface/datasets/blob/master/ADD_NEW_DATASET.md).
@VictorSanh feel free to add and sort by priority any interesting dataset. I have added the... | open | 2021-12-02T07:24:04 | https://api.github.com/repos/huggingface/datasets/issues/3366/comments | null | false | Add multimodal datasets
Epic issue to track the addition of multimodal datasets:
- [ ] #2526
- [x] #1842
- [ ] #1810
Instructions to add a new dataset can be found [here](https://github.com/huggingface/datasets/blob/master/ADD_NEW_DATASET.md).
@VictorSanh feel free to add and sort by priority any interesting d... | [] |
https://api.github.com/repos/huggingface/datasets/issues/3365 | 3,365 | Add task tags for multimodal datasets | ## **Is your feature request related to a problem? Please describe.**
Currently, task tags are either exclusively related to text or speech processing:
- https://github.com/huggingface/datasets/blob/master/src/datasets/utils/resources/tasks.json
## **Describe the solution you'd like**
We should also add tasks... | closed | 2021-12-02T06:58:20 | https://api.github.com/repos/huggingface/datasets/issues/3365/comments | null | false | Add task tags for multimodal datasets
## **Is your feature request related to a problem? Please describe.**
Currently, task tags are either exclusively related to text or speech processing:
- https://github.com/huggingface/datasets/blob/master/src/datasets/utils/resources/tasks.json
## **Describe the solution yo... | [
"The Hub pulls these tags from [here](https://github.com/huggingface/hub-docs/blob/main/js/src/lib/interfaces/Types.ts) (allows multimodal tasks) now, so I'm closing this issue."
] |
https://api.github.com/repos/huggingface/datasets/issues/3364 | 3,364 | Use the Audio feature in the AutomaticSpeechRecognition template | This updates the ASR template and all supported datasets to use the `Audio` feature | closed | 2021-12-01T20:42:26 | https://api.github.com/repos/huggingface/datasets/issues/3364/comments | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/3364",
"html_url": "https://github.com/huggingface/datasets/pull/3364",
"diff_url": "https://github.com/huggingface/datasets/pull/3364.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/3364.patch",
"merged_at": null
} | true | Use the Audio feature in the AutomaticSpeechRecognition template
This updates the ASR template and all supported datasets to use the `Audio` feature | [
"Cool !\r\n\r\nI noticed that you removed the `audio_file_path_column` field of the template, note that you also have to update all the dataset_infos.json file that still contain this outdated field. For example in the common_voice you can find this:\r\n```\r\n\"task_templates\": [{\"task\": \"automatic-speech-reco... |
https://api.github.com/repos/huggingface/datasets/issues/3363 | 3,363 | Update URL of Jeopardy! dataset | Updates the URL of the Jeopardy! dataset.
Fix #3361 | closed | 2021-12-01T20:08:10 | https://api.github.com/repos/huggingface/datasets/issues/3363/comments | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/3363",
"html_url": "https://github.com/huggingface/datasets/pull/3363",
"diff_url": "https://github.com/huggingface/datasets/pull/3363.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/3363.patch",
"merged_at": null
} | true | Update URL of Jeopardy! dataset
Updates the URL of the Jeopardy! dataset.
Fix #3361 | [
"Closing this PR in favor of #3266.",
"I think you should also close this branch"
] |
https://api.github.com/repos/huggingface/datasets/issues/3362 | 3,362 | Adapt image datasets | This PR:
* adapts the ImageClassification template to use the new Image feature
* adapts the following datasets to use the new Image feature:
* beans (+ fixes streaming)
* cast_vs_dogs (+ fixes streaming)
* cifar10
* cifar100
* fashion_mnist
* mnist
* head_qa
cc @nateraw | closed | 2021-12-01T19:52:01 | https://api.github.com/repos/huggingface/datasets/issues/3362/comments | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/3362",
"html_url": "https://github.com/huggingface/datasets/pull/3362",
"diff_url": "https://github.com/huggingface/datasets/pull/3362.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/3362.patch",
"merged_at": "2021-12-09T18:37... | true | Adapt image datasets
This PR:
* adapts the ImageClassification template to use the new Image feature
* adapts the following datasets to use the new Image feature:
* beans (+ fixes streaming)
* cast_vs_dogs (+ fixes streaming)
* cifar10
* cifar100
* fashion_mnist
* mnist
* head_qa
cc @nateraw | [
"This PR can be merged after #3163 is merged (this PR is pretty big because I was working on the forked branch).\r\n\r\n@lhoestq @albertvillanova Could you please take a look at the changes in `src/datasets/utils/streaming_download_manager.py`? These changes were required to support streaming of the `cats_vs_dogs` ... |
https://api.github.com/repos/huggingface/datasets/issues/3361 | 3,361 | Jeopardy _URL access denied | ## Describe the bug
http://skeeto.s3.amazonaws.com/share/JEOPARDY_QUESTIONS1.json.gz returns Access Denied now.
However, https://drive.google.com/file/d/0BwT5wj_P7BKXb2hfM3d2RHU1ckE/view?usp=sharing from the original Reddit post https://www.reddit.com/r/datasets/comments/1uyd0t/200000_jeopardy_questions_in_a_json_f... | closed | 2021-12-01T18:21:33 | https://api.github.com/repos/huggingface/datasets/issues/3361/comments | null | false | Jeopardy _URL access denied
## Describe the bug
http://skeeto.s3.amazonaws.com/share/JEOPARDY_QUESTIONS1.json.gz returns Access Denied now.
However, https://drive.google.com/file/d/0BwT5wj_P7BKXb2hfM3d2RHU1ckE/view?usp=sharing from the original Reddit post https://www.reddit.com/r/datasets/comments/1uyd0t/200000_je... | [
"Just a side note: duplicate #3264"
] |
https://api.github.com/repos/huggingface/datasets/issues/3360 | 3,360 | Add The Pile USPTO subset | Add:
- USPTO subset of The Pile: "uspto" config
Close bigscience-workshop/data_tooling#297.
CC: @StellaAthena | closed | 2021-12-01T18:08:05 | https://api.github.com/repos/huggingface/datasets/issues/3360/comments | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/3360",
"html_url": "https://github.com/huggingface/datasets/pull/3360",
"diff_url": "https://github.com/huggingface/datasets/pull/3360.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/3360.patch",
"merged_at": "2021-12-03T11:45... | true | Add The Pile USPTO subset
Add:
- USPTO subset of The Pile: "uspto" config
Close bigscience-workshop/data_tooling#297.
CC: @StellaAthena | [] |
https://api.github.com/repos/huggingface/datasets/issues/3359 | 3,359 | Add The Pile Free Law subset | Add:
- Free Law subset of The Pile: "free_law" config
Close bigscience-workshop/data_tooling#75.
CC: @StellaAthena | closed | 2021-12-01T16:46:04 | https://api.github.com/repos/huggingface/datasets/issues/3359/comments | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/3359",
"html_url": "https://github.com/huggingface/datasets/pull/3359",
"diff_url": "https://github.com/huggingface/datasets/pull/3359.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/3359.patch",
"merged_at": "2021-12-01T17:30... | true | Add The Pile Free Law subset
Add:
- Free Law subset of The Pile: "free_law" config
Close bigscience-workshop/data_tooling#75.
CC: @StellaAthena | [
"@albertvillanova Is there a specific reason you’re adding the Pile under “the” instead of under “pile”? That does not appear to be consistent with other datasets.",
"Hi @StellaAthena,\r\n\r\nI asked myself the same question, but at the end I decided to be consistent with previously added Pile subsets:\r\n- #2817... |
https://api.github.com/repos/huggingface/datasets/issues/3358 | 3,358 | add new field, and get errors | after adding new field **tokenized_examples["example_id"]**, and get errors below,
I think it is due to changing data to tensor, and **tokenized_examples["example_id"]** is string list
**all fields**
```
***************** train_dataset 1: Dataset({
features: ['attention_mask', 'end_positions', 'example_id', '... | closed | 2021-12-01T16:35:38 | https://api.github.com/repos/huggingface/datasets/issues/3358/comments | null | false | add new field, and get errors
after adding new field **tokenized_examples["example_id"]**, and get errors below,
I think it is due to changing data to tensor, and **tokenized_examples["example_id"]** is string list
**all fields**
```
***************** train_dataset 1: Dataset({
features: ['attention_mask', 'e... | [
"Hi, \r\n\r\ncould you please post this question on our [Forum](https://discuss.huggingface.co/) as we keep issues for bugs and feature requests? ",
"> Hi,\r\n> \r\n> could you please post this question on our [Forum](https://discuss.huggingface.co/) as we keep issues for bugs and feature requests?\r\n\r\nok."
] |
https://api.github.com/repos/huggingface/datasets/issues/3357 | 3,357 | Update languages in aeslc dataset card | After having worked a bit with the dataset.
As far as I know, it is solely in English (en-US). There are only a few mails in Spanish, French or German (less than a dozen I would estimate). | closed | 2021-12-01T16:20:46 | https://api.github.com/repos/huggingface/datasets/issues/3357/comments | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/3357",
"html_url": "https://github.com/huggingface/datasets/pull/3357",
"diff_url": "https://github.com/huggingface/datasets/pull/3357.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/3357.patch",
"merged_at": "2022-09-23T13:16... | true | Update languages in aeslc dataset card
After having worked a bit with the dataset.
As far as I know, it is solely in English (en-US). There are only a few mails in Spanish, French or German (less than a dozen I would estimate). | [] |
https://api.github.com/repos/huggingface/datasets/issues/3356 | 3,356 | to_tf_dataset() refactor | This is the promised cleanup to `to_tf_dataset()` now that the course is out of the way! The main changes are:
- A collator is always required (there was way too much hackiness making things like labels work without it)
- Lots of cleanup and a lot of code moved to `_get_output_signature`
- Should now handle it gra... | closed | 2021-12-01T14:54:30 | https://api.github.com/repos/huggingface/datasets/issues/3356/comments | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/3356",
"html_url": "https://github.com/huggingface/datasets/pull/3356",
"diff_url": "https://github.com/huggingface/datasets/pull/3356.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/3356.patch",
"merged_at": "2021-12-09T10:26... | true | to_tf_dataset() refactor
This is the promised cleanup to `to_tf_dataset()` now that the course is out of the way! The main changes are:
- A collator is always required (there was way too much hackiness making things like labels work without it)
- Lots of cleanup and a lot of code moved to `_get_output_signature`
-... | [
"Also, please don't merge yet - I need to make sure all the code samples and notebooks have a collate_fn specified, since we're removing the ability for this method to work without one!",
"Hi @lhoestq @mariosasko, the other PRs this was depending on in Transformers and huggingface/notebooks are now merged, so thi... |
https://api.github.com/repos/huggingface/datasets/issues/3355 | 3,355 | Extend support for streaming datasets that use pd.read_excel | This PR fixes error:
```
ValueError: Cannot seek streaming HTTP file
```
CC: @severo | closed | 2021-12-01T14:22:43 | https://api.github.com/repos/huggingface/datasets/issues/3355/comments | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/3355",
"html_url": "https://github.com/huggingface/datasets/pull/3355",
"diff_url": "https://github.com/huggingface/datasets/pull/3355.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/3355.patch",
"merged_at": "2021-12-17T07:24... | true | Extend support for streaming datasets that use pd.read_excel
This PR fixes error:
```
ValueError: Cannot seek streaming HTTP file
```
CC: @severo | [
"TODO in the future: https://github.com/huggingface/datasets/pull/3355#discussion_r761138011\r\n- If we finally find a use case where the `pd.read_excel()` can work in streaming mode (using fsspec), that is, without using the `.read()`, I propose to try this first, catch the ValueError and then try with `.read`, bu... |
https://api.github.com/repos/huggingface/datasets/issues/3354 | 3,354 | Remove duplicate name from dataset cards | Remove duplicate name from dataset card for:
- ajgt_twitter_ar
- emotone_ar | closed | 2021-12-01T11:45:40 | https://api.github.com/repos/huggingface/datasets/issues/3354/comments | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/3354",
"html_url": "https://github.com/huggingface/datasets/pull/3354",
"diff_url": "https://github.com/huggingface/datasets/pull/3354.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/3354.patch",
"merged_at": "2021-12-01T13:14... | true | Remove duplicate name from dataset cards
Remove duplicate name from dataset card for:
- ajgt_twitter_ar
- emotone_ar | [] |
https://api.github.com/repos/huggingface/datasets/issues/3353 | 3,353 | add one field "example_id", but I can't see it in the "comput_loss" function | Hi, I add one field **example_id**, but I can't see it in the **comput_loss** function, how can I do this? below is the information of inputs
```
*********************** inputs: {'attention_mask': tensor([[1, 1, 1, ..., 0, 0, 0],
[1, 1, 1, ..., 0, 0, 0],
[1, 1, 1, ..., 0, 0, 0],
...,
... | closed | 2021-12-01T09:35:09 | https://api.github.com/repos/huggingface/datasets/issues/3353/comments | null | false | add one field "example_id", but I can't see it in the "comput_loss" function
Hi, I add one field **example_id**, but I can't see it in the **comput_loss** function, how can I do this? below is the information of inputs
```
*********************** inputs: {'attention_mask': tensor([[1, 1, 1, ..., 0, 0, 0],
... | [
"Hi ! Your function looks fine, I used to map `squad` locally and it indeed added the `example_id` field correctly.\r\n\r\nHowever I think that in the `compute_loss` method only a subset of the fields are available: the model inputs. Since `example_id` is not a model input (it's not passed as a parameter to the mod... |
https://api.github.com/repos/huggingface/datasets/issues/3352 | 3,352 | Make LABR dataset streamable | Fix LABR dataset to make it streamable.
Related to: #3350. | closed | 2021-12-01T08:22:27 | https://api.github.com/repos/huggingface/datasets/issues/3352/comments | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/3352",
"html_url": "https://github.com/huggingface/datasets/pull/3352",
"diff_url": "https://github.com/huggingface/datasets/pull/3352.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/3352.patch",
"merged_at": "2021-12-01T10:49... | true | Make LABR dataset streamable
Fix LABR dataset to make it streamable.
Related to: #3350. | [] |
https://api.github.com/repos/huggingface/datasets/issues/3351 | 3,351 | Add VCTK dataset | Fixes #1837. | closed | 2021-12-01T08:13:17 | https://api.github.com/repos/huggingface/datasets/issues/3351/comments | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/3351",
"html_url": "https://github.com/huggingface/datasets/pull/3351",
"diff_url": "https://github.com/huggingface/datasets/pull/3351.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/3351.patch",
"merged_at": "2021-12-28T15:05... | true | Add VCTK dataset
Fixes #1837. | [
"Hello @patrickvonplaten, I hope it's okay to ping you with a (dumb) question!\r\n\r\nI've been trying to get `dl_manager.download_and_extract(_DL_URL)` to work with no avail. I verified that this is a problem on two different machines (lab server, GCP), so I doubt it's an issue with network connectivity. Here is t... |
https://api.github.com/repos/huggingface/datasets/issues/3350 | 3,350 | Avoid content-encoding issue while streaming datasets | This PR will fix streaming of datasets served with gzip content-encoding:
```
ClientPayloadError: 400, message='Can not decode content-encoding: gzip'
```
Fix #2918.
CC: @severo | closed | 2021-12-01T07:56:48 | https://api.github.com/repos/huggingface/datasets/issues/3350/comments | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/3350",
"html_url": "https://github.com/huggingface/datasets/pull/3350",
"diff_url": "https://github.com/huggingface/datasets/pull/3350.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/3350.patch",
"merged_at": "2021-12-01T08:15... | true | Avoid content-encoding issue while streaming datasets
This PR will fix streaming of datasets served with gzip content-encoding:
```
ClientPayloadError: 400, message='Can not decode content-encoding: gzip'
```
Fix #2918.
CC: @severo | [] |
https://api.github.com/repos/huggingface/datasets/issues/3349 | 3,349 | raise exception instead of using assertions. | fix for the remaining files https://github.com/huggingface/datasets/issues/3171 | closed | 2021-12-01T01:37:51 | https://api.github.com/repos/huggingface/datasets/issues/3349/comments | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/3349",
"html_url": "https://github.com/huggingface/datasets/pull/3349",
"diff_url": "https://github.com/huggingface/datasets/pull/3349.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/3349.patch",
"merged_at": "2021-12-20T16:07... | true | raise exception instead of using assertions.
fix for the remaining files https://github.com/huggingface/datasets/issues/3171 | [
"@mariosasko - Thanks for the review & suggestions. Updated as per the suggestions. ",
"@mariosasko - Hello, Are there any additional changes required from my end??. Wondering if this PR can be merged or still pending on additional steps.",
"@mariosasko - The approved changes in the PR now has conflicts with th... |
https://api.github.com/repos/huggingface/datasets/issues/3348 | 3,348 | BLEURT: Match key names to correspond with filename | In order to properly locate downloaded ckpt files key name needs to match filename. Correcting change introduced in #3235 | closed | 2021-12-01T01:01:18 | https://api.github.com/repos/huggingface/datasets/issues/3348/comments | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/3348",
"html_url": "https://github.com/huggingface/datasets/pull/3348",
"diff_url": "https://github.com/huggingface/datasets/pull/3348.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/3348.patch",
"merged_at": "2021-12-07T16:06... | true | BLEURT: Match key names to correspond with filename
In order to properly locate downloaded ckpt files key name needs to match filename. Correcting change introduced in #3235 | [
"Thanks for the suggestion! I think the current checked-in `CHECKPOINT_URLS` is already not working. I believe anyone who tried using the new ckpts (`BLEURT-20-X`) can't unless this fix is in. The zip file from bleurt side unzips to directory name matching the filename (capitalized for new ones). For example withou... |
https://api.github.com/repos/huggingface/datasets/issues/3347 | 3,347 | iter_archive for zip files | * In this PR, I added the option to iterate through zipfiles for `download_manager.py` only.
* Next PR will be the same applied to `streaming_download_manager.py`.
* Related issue #3272.
## Comments :
* There is no `.isreg()` equivalent in zipfile library to check if file is Regular so I used `.is_dir()` instead ... | closed | 2021-11-30T22:34:17 | https://api.github.com/repos/huggingface/datasets/issues/3347/comments | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/3347",
"html_url": "https://github.com/huggingface/datasets/pull/3347",
"diff_url": "https://github.com/huggingface/datasets/pull/3347.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/3347.patch",
"merged_at": null
} | true | iter_archive for zip files
* In this PR, I added the option to iterate through zipfiles for `download_manager.py` only.
* Next PR will be the same applied to `streaming_download_manager.py`.
* Related issue #3272.
## Comments :
* There is no `.isreg()` equivalent in zipfile library to check if file is Regular so... | [
"And also don't always try streaming with Google Drive - it can have issues because of how Google Drive works (with quotas, restrictions, etc.) and it can indeed cause `BlockSizeError`.\r\n\r\nFeel free to host your test data elsewhere, such as in a dataset repository on https://huggingface.co (see [here](https://h... |
https://api.github.com/repos/huggingface/datasets/issues/3346 | 3,346 | Failed to convert `string` with pyarrow for QED since 1.15.0 | ## Describe the bug
Loading QED was fine until 1.15.0.
related: bigscience-workshop/promptsource#659, bigscience-workshop/promptsource#670
Not sure where the root cause is, but here are some candidates:
- #3158
- #3120
- #3196
- #2891
## Steps to reproduce the bug
```python
load_dataset("qed")
```
## ... | closed | 2021-11-30T20:11:42 | https://api.github.com/repos/huggingface/datasets/issues/3346/comments | null | false | Failed to convert `string` with pyarrow for QED since 1.15.0
## Describe the bug
Loading QED was fine until 1.15.0.
related: bigscience-workshop/promptsource#659, bigscience-workshop/promptsource#670
Not sure where the root cause is, but here are some candidates:
- #3158
- #3120
- #3196
- #2891
## Steps to ... | [
"Scratch that, probably the old and incompatible usage of dataset builder from promptsource.",
"Actually, re-opening this issue cause the error persists\r\n\r\n```python\r\n>>> load_dataset(\"qed\")\r\nDownloading and preparing dataset qed/qed (download: 13.43 MiB, generated: 9.70 MiB, post-processed: Unknown siz... |
https://api.github.com/repos/huggingface/datasets/issues/3345 | 3,345 | Failed to download species_800 from Google Drive zip file | ## Describe the bug
One can manually download the zip file on Google Drive, but `load_dataset()` cannot.
related: #3248
## Steps to reproduce the bug
```shell
> python
Python 3.7.12 (default, Sep 5 2021, 08:34:29)
[Clang 11.0.3 (clang-1103.0.32.62)] on darwin
Type "help", "copyright", "credits" or "license" ... | closed | 2021-11-30T20:00:28 | https://api.github.com/repos/huggingface/datasets/issues/3345/comments | null | false | Failed to download species_800 from Google Drive zip file
## Describe the bug
One can manually download the zip file on Google Drive, but `load_dataset()` cannot.
related: #3248
## Steps to reproduce the bug
```shell
> python
Python 3.7.12 (default, Sep 5 2021, 08:34:29)
[Clang 11.0.3 (clang-1103.0.32.62)] on... | [
"Hi,\r\n\r\nthe dataset is downloaded normally on my machine. Maybe the URL was down at the time of your download. Could you try again?",
"> Hi,\r\n> \r\n> the dataset is downloaded normally on my machine. Maybe the URL was down at the time of your download. Could you try again?\r\n\r\nI have tried that many time... |
https://api.github.com/repos/huggingface/datasets/issues/3344 | 3,344 | Add ArrayXD docs | Documents support for dynamic first dimension in `ArrayXD` from #2891, and explain the `ArrayXD` feature in general.
Let me know if I'm missing anything @lhoestq :) | closed | 2021-11-30T18:53:31 | https://api.github.com/repos/huggingface/datasets/issues/3344/comments | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/3344",
"html_url": "https://github.com/huggingface/datasets/pull/3344",
"diff_url": "https://github.com/huggingface/datasets/pull/3344.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/3344.patch",
"merged_at": "2021-12-01T19:35... | true | Add ArrayXD docs
Documents support for dynamic first dimension in `ArrayXD` from #2891, and explain the `ArrayXD` feature in general.
Let me know if I'm missing anything @lhoestq :) | [] |
https://api.github.com/repos/huggingface/datasets/issues/3343 | 3,343 | Better error message when download fails | From our discussions in https://github.com/huggingface/datasets/issues/3269 and https://github.com/huggingface/datasets/issues/3282 it would be nice to have better messages if a download fails.
In particular the error now shows:
- the error from the HEAD request if there's one
- otherwise the response code of the ... | closed | 2021-11-30T17:38:50 | https://api.github.com/repos/huggingface/datasets/issues/3343/comments | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/3343",
"html_url": "https://github.com/huggingface/datasets/pull/3343",
"diff_url": "https://github.com/huggingface/datasets/pull/3343.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/3343.patch",
"merged_at": "2021-12-01T11:27... | true | Better error message when download fails
From our discussions in https://github.com/huggingface/datasets/issues/3269 and https://github.com/huggingface/datasets/issues/3282 it would be nice to have better messages if a download fails.
In particular the error now shows:
- the error from the HEAD request if there's o... | [] |
https://api.github.com/repos/huggingface/datasets/issues/3342 | 3,342 | Fix ASSET dataset data URLs | Change the branch name "master" to "main" in the data URLs, since facebookresearch has changed that. | closed | 2021-11-30T17:13:30 | https://api.github.com/repos/huggingface/datasets/issues/3342/comments | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/3342",
"html_url": "https://github.com/huggingface/datasets/pull/3342",
"diff_url": "https://github.com/huggingface/datasets/pull/3342.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/3342.patch",
"merged_at": "2021-12-14T14:50... | true | Fix ASSET dataset data URLs
Change the branch name "master" to "main" in the data URLs, since facebookresearch has changed that. | [
"> Hi @tianjianjiang, thanks for the fix.\r\n> The links should also be updated in the `dataset_infos.json` file.\r\n> The failing tests are due to the missing tag in the header of the `README.md` file:\r\n\r\nHi @albertvillanova, thank you for the info! My apologies for the messy PR.\r\n"
] |
https://api.github.com/repos/huggingface/datasets/issues/3341 | 3,341 | Mirror the canonical datasets to the Hugging Face Hub | - [ ] create a repo on https://hf.co/datasets for every canonical dataset
- [ ] on every commit related to a dataset, update the hf.co repo
See https://github.com/huggingface/moon-landing/pull/1562
@SBrandeis: I let you edit this description if needed to precise the intent. | closed | 2021-11-30T16:42:05 | https://api.github.com/repos/huggingface/datasets/issues/3341/comments | null | false | Mirror the canonical datasets to the Hugging Face Hub
- [ ] create a repo on https://hf.co/datasets for every canonical dataset
- [ ] on every commit related to a dataset, update the hf.co repo
See https://github.com/huggingface/moon-landing/pull/1562
@SBrandeis: I let you edit this description if needed to prec... | [
"I created a GitHub project to keep track of what needs to be done:\r\nhttps://github.com/huggingface/datasets/projects/3\r\n\r\nI also store my code in a (private for now) repository at https://github.com/huggingface/mirror_canonical_datasets_on_hub",
"I understand that the datasets are mirrored on the Hub now, ... |
https://api.github.com/repos/huggingface/datasets/issues/3340 | 3,340 | Fix JSON ClassLabel casting for integers | Loading a JSON dataset with ClassLabel feature types currently fails if the JSON data already has integers. Indeed currently it tries to convert the strings to integers without even checking if the data are not integers already.
For example this currently fails:
```python
from datasets import load_dataset, Feature... | closed | 2021-11-30T14:19:54 | https://api.github.com/repos/huggingface/datasets/issues/3340/comments | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/3340",
"html_url": "https://github.com/huggingface/datasets/pull/3340",
"diff_url": "https://github.com/huggingface/datasets/pull/3340.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/3340.patch",
"merged_at": "2021-12-01T11:27... | true | Fix JSON ClassLabel casting for integers
Loading a JSON dataset with ClassLabel feature types currently fails if the JSON data already has integers. Indeed currently it tries to convert the strings to integers without even checking if the data are not integers already.
For example this currently fails:
```python
f... | [] |
https://api.github.com/repos/huggingface/datasets/issues/3339 | 3,339 | to_tf_dataset fails on TPU | Using `to_tf_dataset` to create a dataset and then putting it in `model.fit` results in an internal error on TPUs. I've only tried on Colab and Kaggle TPUs, not GCP TPUs.
## Steps to reproduce the bug
I made a colab to show the error. https://colab.research.google.com/drive/12x_PFKzGouFxqD4OuWfnycW_1TaT276z?usp=s... | open | 2021-11-30T00:50:52 | https://api.github.com/repos/huggingface/datasets/issues/3339/comments | null | false | to_tf_dataset fails on TPU
Using `to_tf_dataset` to create a dataset and then putting it in `model.fit` results in an internal error on TPUs. I've only tried on Colab and Kaggle TPUs, not GCP TPUs.
## Steps to reproduce the bug
I made a colab to show the error. https://colab.research.google.com/drive/12x_PFKzGouF... | [
"This might be related to https://github.com/tensorflow/tensorflow/issues/38762 , what do you think @Rocketknight1 ?\r\n> Dataset.from_generator is expected to not work with TPUs as it uses py_function underneath which is incompatible with Cloud TPU 2VM setup. If you would like to read from large datasets, maybe tr... |
https://api.github.com/repos/huggingface/datasets/issues/3338 | 3,338 | [WIP] Add doctests for tutorials | Opening a PR as discussed with @LysandreJik for some help with doctest issues. The goal is to add doctests for each of the tutorials in the documentation to make sure the code samples work as shown.
### Issues
A doctest has been added in the docstring of the `load_dataset_builder` function in `load.py` to handle ... | closed | 2021-11-29T18:40:46 | https://api.github.com/repos/huggingface/datasets/issues/3338/comments | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/3338",
"html_url": "https://github.com/huggingface/datasets/pull/3338",
"diff_url": "https://github.com/huggingface/datasets/pull/3338.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/3338.patch",
"merged_at": null
} | true | [WIP] Add doctests for tutorials
Opening a PR as discussed with @LysandreJik for some help with doctest issues. The goal is to add doctests for each of the tutorials in the documentation to make sure the code samples work as shown.
### Issues
A doctest has been added in the docstring of the `load_dataset_builder`... | [
"I manage to remove the mentions of ellipsis in the code by launching the command as follows:\r\n\r\n```\r\npython -m doctest -v docs/source/load_hub.rst -o=ELLIPSIS\r\n```\r\n\r\nThe way you put your ellipsis will only work on mac, I've adapted it for linux as well with the following:\r\n\r\n```diff\r\n >>> fro... |
https://api.github.com/repos/huggingface/datasets/issues/3337 | 3,337 | Typing of Dataset.__getitem__ could be improved. | ## Describe the bug
The newly added typing for Dataset.__getitem__ is Union[Dict, List]. This makes tools like mypy a bit awkward to use as we need to check the type manually. We could use type overloading to make this easier. [Documentation](https://docs.python.org/3/library/typing.html#typing.overload)
## Steps... | closed | 2021-11-29T16:20:11 | https://api.github.com/repos/huggingface/datasets/issues/3337/comments | null | false | Typing of Dataset.__getitem__ could be improved.
## Describe the bug
The newly added typing for Dataset.__getitem__ is Union[Dict, List]. This makes tools like mypy a bit awkward to use as we need to check the type manually. We could use type overloading to make this easier. [Documentation](https://docs.python.org/3... | [
"Hi ! Thanks for the suggestion, I didn't know about this decorator.\r\n\r\nIf you are interesting in contributing, feel free to open a pull request to add the overload methods for each typing combination :) To assign you to this issue, you can comment `#self-assign` in this thread.\r\n\r\n`Dataset.__getitem__` is ... |
https://api.github.com/repos/huggingface/datasets/issues/3336 | 3,336 | Add support for multiple dynamic dimensions and to_pandas conversion for dynamic arrays | Add support for multiple dynamic dimensions (e.g. `(None, None, 3)` for arbitrary sized images) and `to_pandas()` conversion for dynamic arrays.
TODOs:
* [ ] Cleaner code
* [ ] Formatting issues (if NumPy doesn't allow broadcasting even though dtype is np.object)
* [ ] Fix some issues with zero-dim tensors
* [ ... | closed | 2021-11-29T15:58:59 | https://api.github.com/repos/huggingface/datasets/issues/3336/comments | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/3336",
"html_url": "https://github.com/huggingface/datasets/pull/3336",
"diff_url": "https://github.com/huggingface/datasets/pull/3336.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/3336.patch",
"merged_at": null
} | true | Add support for multiple dynamic dimensions and to_pandas conversion for dynamic arrays
Add support for multiple dynamic dimensions (e.g. `(None, None, 3)` for arbitrary sized images) and `to_pandas()` conversion for dynamic arrays.
TODOs:
* [ ] Cleaner code
* [ ] Formatting issues (if NumPy doesn't allow broadcas... | [] |
https://api.github.com/repos/huggingface/datasets/issues/3335 | 3,335 | add Speech commands dataset | closes #3283 | closed | 2021-11-29T13:52:47 | https://api.github.com/repos/huggingface/datasets/issues/3335/comments | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/3335",
"html_url": "https://github.com/huggingface/datasets/pull/3335",
"diff_url": "https://github.com/huggingface/datasets/pull/3335.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/3335.patch",
"merged_at": "2021-12-10T10:30... | true | add Speech commands dataset
closes #3283 | [
"@anton-l ping",
"@lhoestq \r\nHi Quentin! Thank you for your feedback and suggestions! 🤗\r\n\r\nYes, that was actually what I wanted to do next - I mean the steaming stuff :)\r\nAlso, I need to make some changes to the readme (to account for the updated features set).\r\n\r\nHopefully, I will be done by tomorro... |
https://api.github.com/repos/huggingface/datasets/issues/3334 | 3,334 | Integrate Polars library | Check potential integration of the Polars library: https://github.com/pola-rs/polars
- Benchmark: https://h2oai.github.io/db-benchmark/
CC: @thomwolf @lewtun
| closed | 2021-11-29T12:31:54 | https://api.github.com/repos/huggingface/datasets/issues/3334/comments | null | false | Integrate Polars library
Check potential integration of the Polars library: https://github.com/pola-rs/polars
- Benchmark: https://h2oai.github.io/db-benchmark/
CC: @thomwolf @lewtun
| [
"If possible, a neat API could be something like `Dataset.to_polars()`, as well as `Dataset.set_format(\"polars\")`",
"Note they use a \"custom\" implementation of Arrow: [Arrow2](https://github.com/jorgecarleitao/arrow2).",
"Polars has grown rapidly in popularity over the last year - could you consider integra... |
https://api.github.com/repos/huggingface/datasets/issues/3333 | 3,333 | load JSON files, get the errors | Hi, does this bug be fixed? when I load JSON files, I get the same errors by the command
`!python3 run.py --do_train --task qa --dataset squad-retrain-data/train-v2.0.json --output_dir ./re_trained_model/`
change the dateset to load json by refering to https://huggingface.co/docs/datasets/loading.html
`dataset = ... | closed | 2021-11-28T14:29:58 | https://api.github.com/repos/huggingface/datasets/issues/3333/comments | null | false | load JSON files, get the errors
Hi, does this bug be fixed? when I load JSON files, I get the same errors by the command
`!python3 run.py --do_train --task qa --dataset squad-retrain-data/train-v2.0.json --output_dir ./re_trained_model/`
change the dateset to load json by refering to https://huggingface.co/docs/d... | [
"Hi ! The message you're getting is not an error. It simply says that your JSON dataset is being prepared to a location in `/root/.cache/huggingface/datasets`",
"> \r\n\r\nbut I want to load local JSON file by command\r\n`python3 run.py --do_train --task qa --dataset squad-retrain-data/train-v2.0.json --output_di... |
https://api.github.com/repos/huggingface/datasets/issues/3332 | 3,332 | Fix error message and add extension fallback | Fix the error message raised if `infered_module_name` is `None` in `CommunityDatasetModuleFactoryWithoutScript.get_module` and make `infer_module_for_data_files` more robust.
In the linked issue, `infer_module_for_data_files` returns `None` because `json` is the second most common extension due to the suffix orderi... | closed | 2021-11-28T14:25:29 | https://api.github.com/repos/huggingface/datasets/issues/3332/comments | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/3332",
"html_url": "https://github.com/huggingface/datasets/pull/3332",
"diff_url": "https://github.com/huggingface/datasets/pull/3332.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/3332.patch",
"merged_at": "2021-11-29T13:34... | true | Fix error message and add extension fallback
Fix the error message raised if `infered_module_name` is `None` in `CommunityDatasetModuleFactoryWithoutScript.get_module` and make `infer_module_for_data_files` more robust.
In the linked issue, `infer_module_for_data_files` returns `None` because `json` is the second m... | [] |
https://api.github.com/repos/huggingface/datasets/issues/3331 | 3,331 | AttributeError: 'CommunityDatasetModuleFactoryWithoutScript' object has no attribute 'path' | ## Describe the bug
I add a new question answering dataset to huggingface datasets manually. Here is the link: [luozhouyang/question-answering-datasets](https://huggingface.co/datasets/luozhouyang/question-answering-datasets)
But when I load the dataset, an error raised:
```bash
AttributeError: 'CommunityDatas... | closed | 2021-11-28T08:54:05 | https://api.github.com/repos/huggingface/datasets/issues/3331/comments | null | false | AttributeError: 'CommunityDatasetModuleFactoryWithoutScript' object has no attribute 'path'
## Describe the bug
I add a new question answering dataset to huggingface datasets manually. Here is the link: [luozhouyang/question-answering-datasets](https://huggingface.co/datasets/luozhouyang/question-answering-datasets)
... | [
"Hi,\r\n\r\nthe fix was merged and will be available in the next release of `datasets`.\r\nIn the meantime, you can use it by installing `datasets` directly from master as follows:\r\n```\r\npip install git+https://github.com/huggingface/datasets.git\r\n```"
] |
https://api.github.com/repos/huggingface/datasets/issues/3330 | 3,330 | Change TriviaQA license (#3313) | Fixes (#3313) | closed | 2021-11-28T03:26:45 | https://api.github.com/repos/huggingface/datasets/issues/3330/comments | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/3330",
"html_url": "https://github.com/huggingface/datasets/pull/3330",
"diff_url": "https://github.com/huggingface/datasets/pull/3330.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/3330.patch",
"merged_at": "2021-11-29T11:24... | true | Change TriviaQA license (#3313)
Fixes (#3313) | [] |
https://api.github.com/repos/huggingface/datasets/issues/3329 | 3,329 | Map function: Type error on iter #999 | ## Describe the bug
Using the map function, it throws a type error on iter #999
Here is the code I am calling:
```
dataset = datasets.load_dataset('squad')
dataset['validation'].map(text_numbers_to_int, input_columns=['context'], fn_kwargs={'column': 'context'})
```
text_numbers_to_int returns the input text ... | closed | 2021-11-27T17:53:05 | https://api.github.com/repos/huggingface/datasets/issues/3329/comments | null | false | Map function: Type error on iter #999
## Describe the bug
Using the map function, it throws a type error on iter #999
Here is the code I am calling:
```
dataset = datasets.load_dataset('squad')
dataset['validation'].map(text_numbers_to_int, input_columns=['context'], fn_kwargs={'column': 'context'})
```
text_... | [
"Hi, thanks for reporting.\r\n\r\nIt would be really helpful if you could provide the actual code of the `text_numbers_to_int` function so we can reproduce the error.",
"```\r\ndef text_numbers_to_int(text, column=\"\"):\r\n \"\"\"\r\n Convert text numbers to int.\r\n\r\n :param text: text numbers\r\n ... |
https://api.github.com/repos/huggingface/datasets/issues/3328 | 3,328 | Quick fix error formatting | While working on a dataset, I got the error
```
TypeError: Provided `function` which is applied to all elements of table returns a `dict` of types {[type(x) for x in processed_inputs.values()]}. When using `batched=True`, make sure provided `function` returns a `dict` of types like `{allowed_batch_return_types}`.
``... | closed | 2021-11-27T11:47:48 | https://api.github.com/repos/huggingface/datasets/issues/3328/comments | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/3328",
"html_url": "https://github.com/huggingface/datasets/pull/3328",
"diff_url": "https://github.com/huggingface/datasets/pull/3328.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/3328.patch",
"merged_at": "2021-11-29T13:32... | true | Quick fix error formatting
While working on a dataset, I got the error
```
TypeError: Provided `function` which is applied to all elements of table returns a `dict` of types {[type(x) for x in processed_inputs.values()]}. When using `batched=True`, make sure provided `function` returns a `dict` of types like `{allowe... | [] |
https://api.github.com/repos/huggingface/datasets/issues/3327 | 3,327 | "Shape of query is incorrect, it has to be either a 1D array or 2D (1, N)" | ## Describe the bug
Passing a correctly shaped Numpy-Array to get_nearest_examples leads to the Exception
"Shape of query is incorrect, it has to be either a 1D array or 2D (1, N)"
Probably the reason for this is a wrongly converted assertion.
1.15.1:
`assert len(query.shape) == 1 or (len(query.shape) == 2... | closed | 2021-11-26T16:26:36 | https://api.github.com/repos/huggingface/datasets/issues/3327/comments | null | false | "Shape of query is incorrect, it has to be either a 1D array or 2D (1, N)"
## Describe the bug
Passing a correctly shaped Numpy-Array to get_nearest_examples leads to the Exception
"Shape of query is incorrect, it has to be either a 1D array or 2D (1, N)"
Probably the reason for this is a wrongly converted asser... | [
"#3323 "
] |
https://api.github.com/repos/huggingface/datasets/issues/3326 | 3,326 | Fix import `datasets` on python 3.10 | In python 3.10 it's no longer possible to use `functools.wraps` on a method decorated with `classmethod`.
To fix this I inverted the order of the `inject_arrow_table_documentation` and `classmethod` decorators
Fix #3324 | closed | 2021-11-26T16:10:00 | https://api.github.com/repos/huggingface/datasets/issues/3326/comments | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/3326",
"html_url": "https://github.com/huggingface/datasets/pull/3326",
"diff_url": "https://github.com/huggingface/datasets/pull/3326.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/3326.patch",
"merged_at": "2021-11-26T16:31... | true | Fix import `datasets` on python 3.10
In python 3.10 it's no longer possible to use `functools.wraps` on a method decorated with `classmethod`.
To fix this I inverted the order of the `inject_arrow_table_documentation` and `classmethod` decorators
Fix #3324 | [] |
https://api.github.com/repos/huggingface/datasets/issues/3325 | 3,325 | Update conda dependencies | Some dependencies minimum versions were outdated. For example `pyarrow` and `huggingface_hub` | closed | 2021-11-26T16:08:07 | https://api.github.com/repos/huggingface/datasets/issues/3325/comments | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/3325",
"html_url": "https://github.com/huggingface/datasets/pull/3325",
"diff_url": "https://github.com/huggingface/datasets/pull/3325.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/3325.patch",
"merged_at": "2021-11-26T16:20... | true | Update conda dependencies
Some dependencies minimum versions were outdated. For example `pyarrow` and `huggingface_hub` | [] |
https://api.github.com/repos/huggingface/datasets/issues/3324 | 3,324 | Can't import `datasets` in python 3.10 | When importing `datasets` I'm getting this error in python 3.10:
```python
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/Users/quentinlhoest/Desktop/hf/nlp/src/datasets/__init__.py", line 34, in <module>
from .arrow_dataset import Dataset, concatenate_datasets
File "/Use... | closed | 2021-11-26T16:06:14 | https://api.github.com/repos/huggingface/datasets/issues/3324/comments | null | false | Can't import `datasets` in python 3.10
When importing `datasets` I'm getting this error in python 3.10:
```python
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/Users/quentinlhoest/Desktop/hf/nlp/src/datasets/__init__.py", line 34, in <module>
from .arrow_dataset import Data... | [] |
https://api.github.com/repos/huggingface/datasets/issues/3323 | 3,323 | Fix wrongly converted assert | Seems like this assertion was replaced by an exception but the condition got wrongly converted. | closed | 2021-11-26T16:05:39 | https://api.github.com/repos/huggingface/datasets/issues/3323/comments | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/3323",
"html_url": "https://github.com/huggingface/datasets/pull/3323",
"diff_url": "https://github.com/huggingface/datasets/pull/3323.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/3323.patch",
"merged_at": "2021-11-26T16:44... | true | Fix wrongly converted assert
Seems like this assertion was replaced by an exception but the condition got wrongly converted. | [
"Closes #3327 "
] |
https://api.github.com/repos/huggingface/datasets/issues/3322 | 3,322 | Add missing tags to XTREME | Add missing tags to the XTREME benchmark for better discoverability. | closed | 2021-11-26T12:37:05 | https://api.github.com/repos/huggingface/datasets/issues/3322/comments | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/3322",
"html_url": "https://github.com/huggingface/datasets/pull/3322",
"diff_url": "https://github.com/huggingface/datasets/pull/3322.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/3322.patch",
"merged_at": "2021-11-29T13:40... | true | Add missing tags to XTREME
Add missing tags to the XTREME benchmark for better discoverability. | [] |
https://api.github.com/repos/huggingface/datasets/issues/3321 | 3,321 | Update URL of tatoeba subset of xtreme | Updates the URL of the tatoeba subset of xtreme. Additionally, replaces `os.path.join` with `xjoin` to correctly join the URL segments on Windows.
Fix #3320 | closed | 2021-11-25T18:42:31 | https://api.github.com/repos/huggingface/datasets/issues/3321/comments | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/3321",
"html_url": "https://github.com/huggingface/datasets/pull/3321",
"diff_url": "https://github.com/huggingface/datasets/pull/3321.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/3321.patch",
"merged_at": "2021-11-26T10:30... | true | Update URL of tatoeba subset of xtreme
Updates the URL of the tatoeba subset of xtreme. Additionally, replaces `os.path.join` with `xjoin` to correctly join the URL segments on Windows.
Fix #3320 | [
"<s>To be more precise: `os.path.join` is replaced on-the-fly by `xjoin` anyway with patching, to extend it to remote files</s>",
"Oh actually just ignore what I said: they were used to concatenate URLs, which is not recommended. Let me fix that again by appending using `+`"
] |
https://api.github.com/repos/huggingface/datasets/issues/3320 | 3,320 | Can't get tatoeba.rus dataset | ## Describe the bug
It gives an error.
> FileNotFoundError: Couldn't find file at https://github.com/facebookresearch/LASER/raw/master/data/tatoeba/v1/tatoeba.rus-eng.rus
## Steps to reproduce the bug
```python
data=load_dataset("xtreme","tatoeba.rus", split="validation")
```
## Solution
The library tries... | closed | 2021-11-25T12:31:11 | https://api.github.com/repos/huggingface/datasets/issues/3320/comments | null | false | Can't get tatoeba.rus dataset
## Describe the bug
It gives an error.
> FileNotFoundError: Couldn't find file at https://github.com/facebookresearch/LASER/raw/master/data/tatoeba/v1/tatoeba.rus-eng.rus
## Steps to reproduce the bug
```python
data=load_dataset("xtreme","tatoeba.rus", split="validation")
```
... | [] |
https://api.github.com/repos/huggingface/datasets/issues/3319 | 3,319 | Add push_to_hub docs | Since #3098 it's now possible to upload a dataset on the Hub directly from python using the `push_to_hub` method.
I just added a section in the "Upload a dataset to the Hub" tutorial.
I kept the section quite simple but let me know if it sounds good to you @LysandreJik @stevhliu :) | closed | 2021-11-24T18:21:11 | https://api.github.com/repos/huggingface/datasets/issues/3319/comments | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/3319",
"html_url": "https://github.com/huggingface/datasets/pull/3319",
"diff_url": "https://github.com/huggingface/datasets/pull/3319.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/3319.patch",
"merged_at": "2021-11-25T14:47... | true | Add push_to_hub docs
Since #3098 it's now possible to upload a dataset on the Hub directly from python using the `push_to_hub` method.
I just added a section in the "Upload a dataset to the Hub" tutorial.
I kept the section quite simple but let me know if it sounds good to you @LysandreJik @stevhliu :) | [
"Looks good to me! :)\r\n\r\nMaybe we can mention that users can also set the `private` argument if they want to keep their dataset private? It would lead nicely into the next section on Privacy.",
"Thanks for your comments, I fixed the capitalization for consistency and added an passage to mention the `private` ... |
https://api.github.com/repos/huggingface/datasets/issues/3318 | 3,318 | Finish transition to PyArrow 3.0.0 | Finish transition to PyArrow 3.0.0 that was started in #3098. | closed | 2021-11-24T12:30:14 | https://api.github.com/repos/huggingface/datasets/issues/3318/comments | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/3318",
"html_url": "https://github.com/huggingface/datasets/pull/3318",
"diff_url": "https://github.com/huggingface/datasets/pull/3318.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/3318.patch",
"merged_at": "2021-11-24T15:35... | true | Finish transition to PyArrow 3.0.0
Finish transition to PyArrow 3.0.0 that was started in #3098. | [] |
https://api.github.com/repos/huggingface/datasets/issues/3317 | 3,317 | Add desc parameter to Dataset filter method | **Is your feature request related to a problem? Please describe.**
As I was filtering very large datasets I noticed the filter method doesn't have the desc parameter which is available in the map method. Why don't we add a desc parameter to the filter method both for consistency and it's nice to give some feedback to ... | closed | 2021-11-24T11:01:36 | https://api.github.com/repos/huggingface/datasets/issues/3317/comments | null | false | Add desc parameter to Dataset filter method
**Is your feature request related to a problem? Please describe.**
As I was filtering very large datasets I noticed the filter method doesn't have the desc parameter which is available in the map method. Why don't we add a desc parameter to the filter method both for consist... | [
"Hi,\r\n\r\n`Dataset.map` allows more generic transforms compared to `Dataset.filter`, which purpose is very specific (to filter examples based on a condition). That's why I don't think we need the `desc` parameter there for consistency. #3196 has added descriptions to the `Dataset` methods that call `.map` intern... |
https://api.github.com/repos/huggingface/datasets/issues/3316 | 3,316 | Add RedCaps dataset | ## Adding a Dataset
- **Name:** RedCaps
- **Description:** Web-curated image-text data created by the people, for the people
- **Paper:** https://arxiv.org/abs/2111.11431
- **Data:** https://redcaps.xyz/
- **Motivation:** Multimodal image-text dataset: 12M+ Image-text pairs
Instructions to add a new dataset c... | closed | 2021-11-24T09:23:02 | https://api.github.com/repos/huggingface/datasets/issues/3316/comments | null | false | Add RedCaps dataset
## Adding a Dataset
- **Name:** RedCaps
- **Description:** Web-curated image-text data created by the people, for the people
- **Paper:** https://arxiv.org/abs/2111.11431
- **Data:** https://redcaps.xyz/
- **Motivation:** Multimodal image-text dataset: 12M+ Image-text pairs
Instructions to... | [] |
https://api.github.com/repos/huggingface/datasets/issues/3315 | 3,315 | Removing query params for dynamic URL caching | The main use case for this is to make dynamically generated private URLs (like the ones returned by CommonVoice API) compatible with the datasets' caching logic.
Usage example:
```python
import datasets
class CommonVoice(datasets.GeneratorBasedBuilder):
def _info(self):
return datasets.DatasetInfo... | closed | 2021-11-23T20:24:12 | https://api.github.com/repos/huggingface/datasets/issues/3315/comments | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/3315",
"html_url": "https://github.com/huggingface/datasets/pull/3315",
"diff_url": "https://github.com/huggingface/datasets/pull/3315.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/3315.patch",
"merged_at": "2021-11-25T14:44... | true | Removing query params for dynamic URL caching
The main use case for this is to make dynamically generated private URLs (like the ones returned by CommonVoice API) compatible with the datasets' caching logic.
Usage example:
```python
import datasets
class CommonVoice(datasets.GeneratorBasedBuilder):
def _in... | [
"IMO it makes more sense to have `ignore_url_params` as an attribute of `DownloadConfig` to avoid defining a new argument in `DownloadManger`'s methods.",
"@mariosasko that would make sense to me too, but it seems like `DownloadConfig` wasn't intended to be modified from a dataset loading script. @lhoestq wdyt?",... |
https://api.github.com/repos/huggingface/datasets/issues/3314 | 3,314 | Adding arg to pass process rank to `map` | This PR adds a `with_rank` argument to `map` that gives the user the possibility to pass the rank of each process to their function. This is mostly designed for multi-GPU map (each process can be sent to a different device thanks to the rank). I've also added tests. I'm putting the PR up so you can check the code, I'll... | closed | 2021-11-23T15:55:21 | https://api.github.com/repos/huggingface/datasets/issues/3314/comments | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/3314",
"html_url": "https://github.com/huggingface/datasets/pull/3314",
"diff_url": "https://github.com/huggingface/datasets/pull/3314.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/3314.patch",
"merged_at": "2021-11-24T11:54... | true | Adding arg to pass process rank to `map`
This PR adds a `with_rank` argument to `map` that gives the user the possibility to pass the rank of each process to their function. This is mostly designed for multi-GPU map (each process can be sent to a different device thanks to the rank). I've also added tests. I'm putting ... | [
"Some commits seem to be there twice (made the mistake of rebasing because I wasn't sure whether the doc had changed), is this an issue @lhoestq ?"
] |
https://api.github.com/repos/huggingface/datasets/issues/3313 | 3,313 | TriviaQA License Mismatch | ## Describe the bug
TriviaQA Webpage at http://nlp.cs.washington.edu/triviaqa/ says they do not own the copyright to the data. However, Huggingface datasets at https://huggingface.co/datasets/trivia_qa mentions that the dataset is released under Apache License
Is the License Information on HuggingFace correct? | closed | 2021-11-23T08:00:15 | https://api.github.com/repos/huggingface/datasets/issues/3313/comments | null | false | TriviaQA License Mismatch
## Describe the bug
TriviaQA Webpage at http://nlp.cs.washington.edu/triviaqa/ says they do not own the copyright to the data. However, Huggingface datasets at https://huggingface.co/datasets/trivia_qa mentions that the dataset is released under Apache License
Is the License Information ... | [
"Hi ! You're completely right, this must be mentioned in the dataset card.\r\nIf you're interesting in contributing, feel free to open a pull request to mention this in the `trivia_qa` dataset card in the \"Licensing Information\" section at https://github.com/huggingface/datasets/blob/master/datasets/trivia_qa/REA... |
https://api.github.com/repos/huggingface/datasets/issues/3312 | 3,312 | add bl books genre dataset | First of all thanks for the fantastic library/collection of datasets 🤗
This pull request adds a dataset of metadata from digitised (mostly 19th Century) books from the British Library The [data](https://bl.iro.bl.uk/concern/datasets/1e1ccb46-65b4-4481-b6f8-b8129d5da053) contains various metadata about the books. In... | closed | 2021-11-22T17:54:50 | https://api.github.com/repos/huggingface/datasets/issues/3312/comments | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/3312",
"html_url": "https://github.com/huggingface/datasets/pull/3312",
"diff_url": "https://github.com/huggingface/datasets/pull/3312.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/3312.patch",
"merged_at": "2021-12-02T16:07... | true | add bl books genre dataset
First of all thanks for the fantastic library/collection of datasets 🤗
This pull request adds a dataset of metadata from digitised (mostly 19th Century) books from the British Library The [data](https://bl.iro.bl.uk/concern/datasets/1e1ccb46-65b4-4481-b6f8-b8129d5da053) contains various m... | [
"To fix the CI, feel free to run the `make style` command to format the code.\r\n\r\nThen it also looks like the dummy_data.zip archives are all empty, which makes the tests fail. Can you try regenerating them ? They should have one file inside which is a dummy version of the file at https://bl.iro.bl.uk/downloads/... |
https://api.github.com/repos/huggingface/datasets/issues/3311 | 3,311 | Add WebSRC | ## Adding a Dataset
- **Name:** WebSRC
- **Description:** WebSRC is a novel Web-based Structural Reading Comprehension dataset. It consists of 0.44M question-answer pairs, which are collected from 6.5K web pages with corresponding HTML source code, screenshots and metadata.
- **Paper:** https://arxiv.org/abs/2101.0... | open | 2021-11-22T16:58:33 | https://api.github.com/repos/huggingface/datasets/issues/3311/comments | null | false | Add WebSRC
## Adding a Dataset
- **Name:** WebSRC
- **Description:** WebSRC is a novel Web-based Structural Reading Comprehension dataset. It consists of 0.44M question-answer pairs, which are collected from 6.5K web pages with corresponding HTML source code, screenshots and metadata.
- **Paper:** https://arxiv.org... | [] |
https://api.github.com/repos/huggingface/datasets/issues/3310 | 3,310 | Fatal error condition occurred in aws-c-io | ## Describe the bug
Fatal error when using the library
## Steps to reproduce the bug
```python
from datasets import load_dataset
dataset = load_dataset('wikiann', 'en')
```
## Expected results
No fatal errors
## Actual results
```
Fatal error condition occurred in D:\bld\aws-c-io_1633633258269\work\sou... | closed | 2021-11-22T12:27:54 | https://api.github.com/repos/huggingface/datasets/issues/3310/comments | null | false | Fatal error condition occurred in aws-c-io
## Describe the bug
Fatal error when using the library
## Steps to reproduce the bug
```python
from datasets import load_dataset
dataset = load_dataset('wikiann', 'en')
```
## Expected results
No fatal errors
## Actual results
```
Fatal error condition occurre... | [
"Hi ! Are you having this issue only with this specific dataset, or it also happens with other ones like `squad` ?",
"@lhoestq It happens also on `squad`. It successfully downloads the whole dataset and then crashes on: \r\n\r\n```\r\nFatal error condition occurred in D:\\bld\\aws-c-io_1633633258269\\work\\source... |
https://api.github.com/repos/huggingface/datasets/issues/3309 | 3,309 | fix: files counted twice in inferred structure | Files were counted twice in a structure like:
```
my_dataset_local_path/
├── README.md
└── data/
├── train/
│ ├── shard_0.csv
│ ├── shard_1.csv
│ ├── shard_2.csv
│ └── shard_3.csv
└── valid/
├── shard_0.csv
└── shard_1.csv
```
The reason is that they were ... | closed | 2021-11-21T21:50:38 | https://api.github.com/repos/huggingface/datasets/issues/3309/comments | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/3309",
"html_url": "https://github.com/huggingface/datasets/pull/3309",
"diff_url": "https://github.com/huggingface/datasets/pull/3309.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/3309.patch",
"merged_at": "2021-11-23T17:00... | true | fix: files counted twice in inferred structure
Files were counted twice in a structure like:
```
my_dataset_local_path/
├── README.md
└── data/
├── train/
│ ├── shard_0.csv
│ ├── shard_1.csv
│ ├── shard_2.csv
│ └── shard_3.csv
└── valid/
├── shard_0.csv
└── sh... | [
"I see it creates some errors in the tests.\r\n\r\nAnother solution if needed is to add something like `data_files = list(set(data_files))` after [this line](https://github.com/huggingface/datasets/blob/8555197a3fe826e98bd0206c2d031c4488c53c5c/src/datasets/data_files.py#L511)",
"Hi ! Thanks for the correction :)\... |
https://api.github.com/repos/huggingface/datasets/issues/3308 | 3,308 | "dataset_infos.json" missing for chr_en and mc4 | ## Describe the bug
In the repository, every dataset has its metadata in a file called`dataset_infos.json`. But, this file is missing for two datasets: `chr_en` and `mc4`.
## Steps to reproduce the bug
Check [chr_en](https://github.com/huggingface/datasets/tree/master/datasets/chr_en) and [mc4](https://github.com/... | open | 2021-11-21T00:07:22 | https://api.github.com/repos/huggingface/datasets/issues/3308/comments | null | false | "dataset_infos.json" missing for chr_en and mc4
## Describe the bug
In the repository, every dataset has its metadata in a file called`dataset_infos.json`. But, this file is missing for two datasets: `chr_en` and `mc4`.
## Steps to reproduce the bug
Check [chr_en](https://github.com/huggingface/datasets/tree/maste... | [
"Hi ! Thanks for reporting :) \r\nWe can easily add the metadata for `chr_en` IMO, but for mC4 it will take more time, since it requires to count the number of examples in each language",
"No problem. I am trying to do some analysis on the metadata of all available datasets. Is reading `metadata_infos.json` for e... |
https://api.github.com/repos/huggingface/datasets/issues/3307 | 3,307 | Add IndoNLI dataset | This PR adds IndoNLI dataset, from https://aclanthology.org/2021.emnlp-main.821/ | closed | 2021-11-20T20:46:03 | https://api.github.com/repos/huggingface/datasets/issues/3307/comments | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/3307",
"html_url": "https://github.com/huggingface/datasets/pull/3307",
"diff_url": "https://github.com/huggingface/datasets/pull/3307.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/3307.patch",
"merged_at": "2021-11-25T14:51... | true | Add IndoNLI dataset
This PR adds IndoNLI dataset, from https://aclanthology.org/2021.emnlp-main.821/ | [
"@lhoestq thanks for the review! I've modified the labels to follow other NLI datasets.\r\nPlease review my change and let me know if I miss anything."
] |
https://api.github.com/repos/huggingface/datasets/issues/3306 | 3,306 | nested sequence feature won't encode example if the first item of the outside sequence is an empty list | ## Describe the bug
As the title, nested sequence feature won't encode example if the first item of the outside sequence is an empty list.
## Steps to reproduce the bug
```python
from datasets import Features, Sequence, ClassLabel
features = Features({
'x': Sequence(Sequence(ClassLabel(names=['a', 'b']))),
... | closed | 2021-11-20T16:57:54 | https://api.github.com/repos/huggingface/datasets/issues/3306/comments | null | false | nested sequence feature won't encode example if the first item of the outside sequence is an empty list
## Describe the bug
As the title, nested sequence feature won't encode example if the first item of the outside sequence is an empty list.
## Steps to reproduce the bug
```python
from datasets import Features, ... | [
"knock knock",
"Hi, thanks for reporting! I've linked a PR that should fix the issue.",
"I've checked the PR and it looks great, thanks a lot!"
] |
https://api.github.com/repos/huggingface/datasets/issues/3305 | 3,305 | asserts replaced with exception for ``fingerprint.py``, ``search.py``, ``arrow_writer.py`` and ``metric.py`` | Addresses #3171
Fixes exception for ``fingerprint.py``, ``search.py``, ``arrow_writer.py`` and ``metric.py`` and modified tests | closed | 2021-11-20T14:51:23 | https://api.github.com/repos/huggingface/datasets/issues/3305/comments | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/3305",
"html_url": "https://github.com/huggingface/datasets/pull/3305",
"diff_url": "https://github.com/huggingface/datasets/pull/3305.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/3305.patch",
"merged_at": "2021-11-22T17:08... | true | asserts replaced with exception for ``fingerprint.py``, ``search.py``, ``arrow_writer.py`` and ``metric.py``
Addresses #3171
Fixes exception for ``fingerprint.py``, ``search.py``, ``arrow_writer.py`` and ``metric.py`` and modified tests | [] |
https://api.github.com/repos/huggingface/datasets/issues/3304 | 3,304 | Dataset object has no attribute `to_tf_dataset` | I am following HuggingFace Course. I am at Fine-tuning a model.
Link: https://huggingface.co/course/chapter3/2?fw=tf
I use tokenize_function and `map` as mentioned in the course to process data.
`# define a tokenize function`
`def Tokenize_function(example):`
` return tokenizer(example['sentence'], truncat... | closed | 2021-11-20T12:03:59 | https://api.github.com/repos/huggingface/datasets/issues/3304/comments | null | false | Dataset object has no attribute `to_tf_dataset`
I am following HuggingFace Course. I am at Fine-tuning a model.
Link: https://huggingface.co/course/chapter3/2?fw=tf
I use tokenize_function and `map` as mentioned in the course to process data.
`# define a tokenize function`
`def Tokenize_function(example):`
` ... | [
"The issue is due to the older version of transformers and datasets. It has been resolved by upgrading their versions.\r\n\r\n```\r\n# upgrade transformers and datasets to latest versions\r\n!pip install --upgrade transformers\r\n!pip install --upgrade datasets\r\n```\r\n\r\nRegards!"
] |
https://api.github.com/repos/huggingface/datasets/issues/3303 | 3,303 | DataCollatorWithPadding: TypeError | Hi,
I am following the HuggingFace course. I am now at Fine-tuning [https://huggingface.co/course/chapter3/3?fw=tf](https://huggingface.co/course/chapter3/3?fw=tf). When I set up `DataCollatorWithPadding` as following I got an error while trying to reproduce the course code in Kaggle. This error occurs with either a ... | closed | 2021-11-20T11:59:55 | https://api.github.com/repos/huggingface/datasets/issues/3303/comments | null | false | DataCollatorWithPadding: TypeError
Hi,
I am following the HuggingFace course. I am now at Fine-tuning [https://huggingface.co/course/chapter3/3?fw=tf](https://huggingface.co/course/chapter3/3?fw=tf). When I set up `DataCollatorWithPadding` as following I got an error while trying to reproduce the course code in Kaggl... | [
"\r\n> \r\n> Input:\r\n> \r\n> ```\r\n> tokenizer = AutoTokenizer.from_pretrained(checkpoint)\r\n> data_collator = DataCollatorWithPadding(tokenizer=tokenizer, return_tensors=\"tf\")\r\n> ```\r\n> \r\n> Output:\r\n> \r\n> ```\r\n> TypeError Traceback (most recent call last)\r\n> /tmp... |
https://api.github.com/repos/huggingface/datasets/issues/3302 | 3,302 | fix old_val typo in f-string |
This PR is to correct a typo in #3277 that @Carlosbogo revieled in a comment.
Related closed issue : #3257
Sorry about that 😅. | closed | 2021-11-19T20:51:08 | https://api.github.com/repos/huggingface/datasets/issues/3302/comments | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/3302",
"html_url": "https://github.com/huggingface/datasets/pull/3302",
"diff_url": "https://github.com/huggingface/datasets/pull/3302.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/3302.patch",
"merged_at": "2021-11-22T17:04... | true | fix old_val typo in f-string
This PR is to correct a typo in #3277 that @Carlosbogo revieled in a comment.
Related closed issue : #3257
Sorry about that 😅. | [] |
https://api.github.com/repos/huggingface/datasets/issues/3301 | 3,301 | Add wikipedia tags | Add the missing tags to the wikipedia dataset card.
I also added the missing languages code in our language codes list.
This should also fix the code snippet that is presented on the Hub to load the dataset: fix https://github.com/huggingface/datasets/issues/3292 | closed | 2021-11-19T16:39:25 | https://api.github.com/repos/huggingface/datasets/issues/3301/comments | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/3301",
"html_url": "https://github.com/huggingface/datasets/pull/3301",
"diff_url": "https://github.com/huggingface/datasets/pull/3301.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/3301.patch",
"merged_at": "2021-11-19T16:49... | true | Add wikipedia tags
Add the missing tags to the wikipedia dataset card.
I also added the missing languages code in our language codes list.
This should also fix the code snippet that is presented on the Hub to load the dataset: fix https://github.com/huggingface/datasets/issues/3292 | [] |
https://api.github.com/repos/huggingface/datasets/issues/3300 | 3,300 | ❓ Dataset loading script from Hugging Face Hub | Hi there,
I am trying to add my custom `ag_news` with its own loading script on the Hugging Face datasets hub. In particular, I would like to test the addition of a second configuration to the existing `ag_news` dataset. Once it works in my hub, I plan to make a PR to the original dataset. However, in trying to do s... | closed | 2021-11-19T15:20:52 | https://api.github.com/repos/huggingface/datasets/issues/3300/comments | null | false | ❓ Dataset loading script from Hugging Face Hub
Hi there,
I am trying to add my custom `ag_news` with its own loading script on the Hugging Face datasets hub. In particular, I would like to test the addition of a second configuration to the existing `ag_news` dataset. Once it works in my hub, I plan to make a PR to t... | [
"Hi ! In the next version of `datasets`, your train and test splits will be correctly separated (changes from #3027) if you create a dataset repository with only your CSV files.\r\n\r\nAlso it seems that you overwrite the `data_files` and `data_dir` arguments in your code, when you instantiate the AGNewsConfig obje... |
https://api.github.com/repos/huggingface/datasets/issues/3299 | 3,299 | Add option to find unique elements in nested sequences when calling `Dataset.unique` | It would be nice to have an option to flatten nested sequences to find unique elements stored in them when calling `Dataset.unique`. ~~Currently, `Dataset.unique` only supports finding unique sequences and not unique elements in that situation.~~ | open | 2021-11-19T13:16:06 | https://api.github.com/repos/huggingface/datasets/issues/3299/comments | null | false | Add option to find unique elements in nested sequences when calling `Dataset.unique`
It would be nice to have an option to flatten nested sequences to find unique elements stored in them when calling `Dataset.unique`. ~~Currently, `Dataset.unique` only supports finding unique sequences and not unique elements in that s... | [
"Hi @mariosasko!\r\n\r\nHas this been patched into any of the releases?",
"Hi! Not yet, would you be interested in contributing a PR? I can give you some pointers if needed. ",
"@mariosasko did this ever get implemented? Willing to help if you are still up for it.",
"@dcruiz01 No, but here is an example of ho... |
https://api.github.com/repos/huggingface/datasets/issues/3298 | 3,298 | Agnews dataset viewer is not working | ## Dataset viewer issue for '*name of the dataset*'
**Link:** https://huggingface.co/datasets/ag_news
Hi there, the `ag_news` dataset viewer is not working.
Am I the one who added this dataset? No
| closed | 2021-11-19T11:18:59 | https://api.github.com/repos/huggingface/datasets/issues/3298/comments | null | false | Agnews dataset viewer is not working
## Dataset viewer issue for '*name of the dataset*'
**Link:** https://huggingface.co/datasets/ag_news
Hi there, the `ag_news` dataset viewer is not working.
Am I the one who added this dataset? No
| [
"Hi ! Thanks for reporting\r\nWe've already fixed the code that generates the preview for this dataset, we'll release the fix soon :)",
"Hi @lhoestq, thanks for your feedback!",
"Fixed in the viewer.\r\n\r\nhttps://huggingface.co/datasets/ag_news"
] |
https://api.github.com/repos/huggingface/datasets/issues/3297 | 3,297 | .map() cache is wrongfully reused - only happens when the mapping function is imported | ## Describe the bug
When `.map` is used with a mapping function that is imported, the cache is reused even if the mapping function has been modified.
The reason for this is that `dill` that is used for creating the fingerprint [pickles imported functions by reference](https://stackoverflow.com/a/67851411).
I guess... | open | 2021-11-19T08:18:36 | https://api.github.com/repos/huggingface/datasets/issues/3297/comments | null | false | .map() cache is wrongfully reused - only happens when the mapping function is imported
## Describe the bug
When `.map` is used with a mapping function that is imported, the cache is reused even if the mapping function has been modified.
The reason for this is that `dill` that is used for creating the fingerprint [pic... | [
"Hi ! Thanks for reporting. Indeed this is a current limitation of the usage we have of `dill` in `datasets`. I'd suggest you use your workaround for now until we find a way to fix this. Maybe functions that are not coming from a module not installed with pip should be dumped completely, rather than only taking the... |
https://api.github.com/repos/huggingface/datasets/issues/3296 | 3,296 | Fix temporary dataset_path creation for URIs related to remote fs | This aims to close #3295 | closed | 2021-11-18T23:32:45 | https://api.github.com/repos/huggingface/datasets/issues/3296/comments | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/3296",
"html_url": "https://github.com/huggingface/datasets/pull/3296",
"diff_url": "https://github.com/huggingface/datasets/pull/3296.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/3296.patch",
"merged_at": "2021-12-06T10:45... | true | Fix temporary dataset_path creation for URIs related to remote fs
This aims to close #3295 | [
"Hi ! Thanks for the fix :) \r\n\r\nI think this should be `extract_path_from_uri` 's responsibility to strip the extra `/` from a badly formatted path like `hdfs:///absolute/path` (or raise an error). Do you think you can simply do the changes in `extract_path_from_uri` ? This way this fix will be available for al... |
https://api.github.com/repos/huggingface/datasets/issues/3295 | 3,295 | Temporary dataset_path for remote fs URIs not built properly in arrow_dataset.py::load_from_disk | ## Describe the bug
When trying to build a temporary dataset path from a remote URI in this block of code:
https://github.com/huggingface/datasets/blob/42f6b1d18a4a1b6009b6e62d115491be16dfca22/src/datasets/arrow_dataset.py#L1038-L1042
the result is not the expected when passing an absolute path in an URI like `h... | closed | 2021-11-18T23:24:02 | https://api.github.com/repos/huggingface/datasets/issues/3295/comments | null | false | Temporary dataset_path for remote fs URIs not built properly in arrow_dataset.py::load_from_disk
## Describe the bug
When trying to build a temporary dataset path from a remote URI in this block of code:
https://github.com/huggingface/datasets/blob/42f6b1d18a4a1b6009b6e62d115491be16dfca22/src/datasets/arrow_dataset... | [
"Hi ! Good catch and thanks for opening a PR :)\r\n\r\nI just responded in your PR"
] |
https://api.github.com/repos/huggingface/datasets/issues/3294 | 3,294 | Add Natural Adversarial Objects dataset | ## Adding a Dataset
- **Name:** Natural Adversarial Objects (NAO)
- **Description:** Natural Adversarial Objects (NAO) is a new dataset to evaluate the robustness of object detection models. NAO contains 7,934 images and 9,943 objects that are unmodified and representative of real-world scenarios, but cause state-of-... | open | 2021-11-18T15:34:44 | https://api.github.com/repos/huggingface/datasets/issues/3294/comments | null | false | Add Natural Adversarial Objects dataset
## Adding a Dataset
- **Name:** Natural Adversarial Objects (NAO)
- **Description:** Natural Adversarial Objects (NAO) is a new dataset to evaluate the robustness of object detection models. NAO contains 7,934 images and 9,943 objects that are unmodified and representative of r... | [] |
https://api.github.com/repos/huggingface/datasets/issues/3293 | 3,293 | Pin version exclusion for Markdown | As Markdown version 3.3.5 has a bug, it is better to exclude it in case the users have it previously installed in their environment.
Related to #3289, #3286. | closed | 2021-11-18T06:56:01 | https://api.github.com/repos/huggingface/datasets/issues/3293/comments | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/3293",
"html_url": "https://github.com/huggingface/datasets/pull/3293",
"diff_url": "https://github.com/huggingface/datasets/pull/3293.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/3293.patch",
"merged_at": "2021-11-18T10:28... | true | Pin version exclusion for Markdown
As Markdown version 3.3.5 has a bug, it is better to exclude it in case the users have it previously installed in their environment.
Related to #3289, #3286. | [] |
https://api.github.com/repos/huggingface/datasets/issues/3292 | 3,292 | Not able to load 'wikipedia' dataset | ## Describe the bug
I am following the instruction for loading the wikipedia dataset using datasets. However getting the below error.
## Steps to reproduce the bug
from datasets import load_dataset
dataset = load_dataset("wikipedia")
```
## Expected results
A clear and concise description of the expected res... | closed | 2021-11-18T05:41:18 | https://api.github.com/repos/huggingface/datasets/issues/3292/comments | null | false | Not able to load 'wikipedia' dataset
## Describe the bug
I am following the instruction for loading the wikipedia dataset using datasets. However getting the below error.
## Steps to reproduce the bug
from datasets import load_dataset
dataset = load_dataset("wikipedia")
```
## Expected results
A clear and co... | [
"Hi ! Indeed it looks like the code snippet on the Hugging face Hub doesn't show the second parameter\r\n\r\n\r\n\r\nThanks for reporting, I'm taking a look\r\n"
] |
https://api.github.com/repos/huggingface/datasets/issues/3291 | 3,291 | Use f-strings in the dataset scripts | Uses f-strings to format the .py files in the dataset folder | closed | 2021-11-17T22:20:19 | https://api.github.com/repos/huggingface/datasets/issues/3291/comments | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/3291",
"html_url": "https://github.com/huggingface/datasets/pull/3291",
"diff_url": "https://github.com/huggingface/datasets/pull/3291.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/3291.patch",
"merged_at": "2021-11-22T16:40... | true | Use f-strings in the dataset scripts
Uses f-strings to format the .py files in the dataset folder | [] |
https://api.github.com/repos/huggingface/datasets/issues/3290 | 3,290 | Make several audio datasets streamable | <s>Needs https://github.com/huggingface/datasets/pull/3129 to be merged first</s>
Make those audio datasets streamable:
- [x] common_voice
- [x] openslr
- [x] vivos
- [x] librispeech_asr <s>(still has some issues to read FLAC)</s> *actually it's ok*
- [ ] <s>multilingual_librispeech (yet to be converted)</S> *T... | closed | 2021-11-17T17:43:41 | https://api.github.com/repos/huggingface/datasets/issues/3290/comments | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/3290",
"html_url": "https://github.com/huggingface/datasets/pull/3290",
"diff_url": "https://github.com/huggingface/datasets/pull/3290.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/3290.patch",
"merged_at": "2021-11-19T15:08... | true | Make several audio datasets streamable
<s>Needs https://github.com/huggingface/datasets/pull/3129 to be merged first</s>
Make those audio datasets streamable:
- [x] common_voice
- [x] openslr
- [x] vivos
- [x] librispeech_asr <s>(still has some issues to read FLAC)</s> *actually it's ok*
- [ ] <s>multilingual_l... | [
"Reading FLAC (for `librispeech_asr`) works OK for me (`soundfile` version: `0.10.3`):\r\n```python\r\nIn [2]: ds = load_dataset(\"datasets/librispeech_asr/librispeech_asr.py\", \"clean\", streaming=True, split=\"train.100\")\r\n\r\nIn [3]: item = next(iter(ds))\r\n\r\nIn [4]: item.keys()\r\nOut[4]: dict_keys(['fil... |
https://api.github.com/repos/huggingface/datasets/issues/3289 | 3,289 | Unpin markdown for build_docs now that it's fixed | `markdown`'s bug has been fixed, so this PR reverts #3286 | closed | 2021-11-17T16:22:53 | https://api.github.com/repos/huggingface/datasets/issues/3289/comments | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/3289",
"html_url": "https://github.com/huggingface/datasets/pull/3289",
"diff_url": "https://github.com/huggingface/datasets/pull/3289.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/3289.patch",
"merged_at": "2021-11-17T16:23... | true | Unpin markdown for build_docs now that it's fixed
`markdown`'s bug has been fixed, so this PR reverts #3286 | [] |
https://api.github.com/repos/huggingface/datasets/issues/3288 | 3,288 | Allow datasets with indices table when concatenating along axis=1 | Calls `flatten_indices` on the datasets with indices table in `concatenate_datasets` to fix issues when concatenating along `axis=1`.
cc @lhoestq: I decided to flatten all the datasets instead of flattening all the datasets except the largest one in the end. The latter approach fails on the following example:
```... | closed | 2021-11-17T13:41:28 | https://api.github.com/repos/huggingface/datasets/issues/3288/comments | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/3288",
"html_url": "https://github.com/huggingface/datasets/pull/3288",
"diff_url": "https://github.com/huggingface/datasets/pull/3288.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/3288.patch",
"merged_at": "2021-11-17T15:41... | true | Allow datasets with indices table when concatenating along axis=1
Calls `flatten_indices` on the datasets with indices table in `concatenate_datasets` to fix issues when concatenating along `axis=1`.
cc @lhoestq: I decided to flatten all the datasets instead of flattening all the datasets except the largest one in... | [] |
https://api.github.com/repos/huggingface/datasets/issues/3287 | 3,287 | Add The Pile dataset and PubMed Central subset | Add:
- The complete final version of The Pile dataset: "all" config
- PubMed Central subset of The Pile: "pubmed_central" config
Close #1675, close bigscience-workshop/data_tooling#74.
CC: @StellaAthena, @lewtun | closed | 2021-11-17T12:35:58 | https://api.github.com/repos/huggingface/datasets/issues/3287/comments | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/3287",
"html_url": "https://github.com/huggingface/datasets/pull/3287",
"diff_url": "https://github.com/huggingface/datasets/pull/3287.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/3287.patch",
"merged_at": "2021-12-01T15:29... | true | Add The Pile dataset and PubMed Central subset
Add:
- The complete final version of The Pile dataset: "all" config
- PubMed Central subset of The Pile: "pubmed_central" config
Close #1675, close bigscience-workshop/data_tooling#74.
CC: @StellaAthena, @lewtun | [] |
https://api.github.com/repos/huggingface/datasets/issues/3286 | 3,286 | Fix build_docs CI | Because of https://github.com/Python-Markdown/markdown/issues/1196 we have to temporarily pin `markdown` to 3.3.4 for the docs to build without issues | closed | 2021-11-17T11:18:56 | https://api.github.com/repos/huggingface/datasets/issues/3286/comments | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/3286",
"html_url": "https://github.com/huggingface/datasets/pull/3286",
"diff_url": "https://github.com/huggingface/datasets/pull/3286.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/3286.patch",
"merged_at": "2021-11-17T11:19... | true | Fix build_docs CI
Because of https://github.com/Python-Markdown/markdown/issues/1196 we have to temporarily pin `markdown` to 3.3.4 for the docs to build without issues | [] |
https://api.github.com/repos/huggingface/datasets/issues/3285 | 3,285 | Add IEMOCAP dataset | ## Adding a Dataset
- **Name:** IEMOCAP
- **Description:** acted, multimodal and multispeaker database
- **Paper:** https://sail.usc.edu/iemocap/Busso_2008_iemocap.pdf
- **Data:** https://sail.usc.edu/iemocap/index.html
- **Motivation:** Useful multimodal dataset
cc @anton-l
Instructions to add a new datase... | open | 2021-11-16T22:47:20 | https://api.github.com/repos/huggingface/datasets/issues/3285/comments | null | false | Add IEMOCAP dataset
## Adding a Dataset
- **Name:** IEMOCAP
- **Description:** acted, multimodal and multispeaker database
- **Paper:** https://sail.usc.edu/iemocap/Busso_2008_iemocap.pdf
- **Data:** https://sail.usc.edu/iemocap/index.html
- **Motivation:** Useful multimodal dataset
cc @anton-l
Instructions... | [
"The IEMOCAP dataset is private and available only on request.\r\n```\r\nTo obtain the IEMOCAP data you just need to fill out an electronic release form below.\r\n```\r\n\r\n- [Request form](https://sail.usc.edu/iemocap/release_form.php)\r\n- [License ](https://sail.usc.edu/iemocap/Data_Release_Form_IEMOCAP.pdf)\r\... |
https://api.github.com/repos/huggingface/datasets/issues/3284 | 3,284 | Add VoxLingua107 dataset | ## Adding a Dataset
- **Name:** VoxLingua107
- **Description:** VoxLingua107 is a speech dataset for training spoken language identification models. The dataset consists of short speech segments automatically extracted from YouTube videos and labeled according the language of the video title and description, with som... | open | 2021-11-16T22:44:08 | https://api.github.com/repos/huggingface/datasets/issues/3284/comments | null | false | Add VoxLingua107 dataset
## Adding a Dataset
- **Name:** VoxLingua107
- **Description:** VoxLingua107 is a speech dataset for training spoken language identification models. The dataset consists of short speech segments automatically extracted from YouTube videos and labeled according the language of the video title ... | [
"#self-assign"
] |
https://api.github.com/repos/huggingface/datasets/issues/3283 | 3,283 | Add Speech Commands dataset | ## Adding a Dataset
- **Name:** Speech commands
- **Description:** A Dataset for Limited-Vocabulary Speech Recognition
- **Paper:** https://arxiv.org/abs/1804.03209
- **Data:** https://www.tensorflow.org/datasets/catalog/speech_commands, Available:
http://download.tensorflow.org/data/speech_commands_v0.02.tar.gz
... | closed | 2021-11-16T22:39:56 | https://api.github.com/repos/huggingface/datasets/issues/3283/comments | null | false | Add Speech Commands dataset
## Adding a Dataset
- **Name:** Speech commands
- **Description:** A Dataset for Limited-Vocabulary Speech Recognition
- **Paper:** https://arxiv.org/abs/1804.03209
- **Data:** https://www.tensorflow.org/datasets/catalog/speech_commands, Available:
http://download.tensorflow.org/data/s... | [
"#self-assign"
] |
https://api.github.com/repos/huggingface/datasets/issues/3282 | 3,282 | ConnectionError: Couldn't reach https://huggingface.co/datasets/oscar-corpus/OSCAR-2109/resolve/main/OSCAR-2109.py | ## Dataset viewer issue for '*oscar-corpus/OSCAR-2109*'
**Link:** *[link to the dataset viewer page](https://huggingface.co/datasets/oscar-corpus/OSCAR-2109)*
*The dataset library cannot download any language from the oscar-corpus/OSCAR-2109 dataset. By entering the URL in your browser I can access the file.*
... | closed | 2021-11-16T16:05:19 | https://api.github.com/repos/huggingface/datasets/issues/3282/comments | null | false | ConnectionError: Couldn't reach https://huggingface.co/datasets/oscar-corpus/OSCAR-2109/resolve/main/OSCAR-2109.py
## Dataset viewer issue for '*oscar-corpus/OSCAR-2109*'
**Link:** *[link to the dataset viewer page](https://huggingface.co/datasets/oscar-corpus/OSCAR-2109)*
*The dataset library cannot download any... | [
"Hi ! Thanks for reporting :)\r\nI think this is because the dataset is behind an access page. We can fix the dataset viewer\r\n\r\nIf you also have this error when you use the `datasets` library in python, you should probably pass `use_auth_token=True` to the `load_dataset()` function to use your account to access... |
https://api.github.com/repos/huggingface/datasets/issues/3281 | 3,281 | [Datasets] Improve Covost 2 | It's currently quite confusing to understand the manual data download instruction of Covost and not very user-friendly.
Currenty the user has to:
1. Go on Common Voice website
2. Find the correct dataset which is **not** mentioned in the error message
3. Download it
4. Untar it
5. Create a language id folder ... | closed | 2021-11-16T15:32:19 | https://api.github.com/repos/huggingface/datasets/issues/3281/comments | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/3281",
"html_url": "https://github.com/huggingface/datasets/pull/3281",
"diff_url": "https://github.com/huggingface/datasets/pull/3281.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/3281.patch",
"merged_at": "2021-11-18T10:44... | true | [Datasets] Improve Covost 2
It's currently quite confusing to understand the manual data download instruction of Covost and not very user-friendly.
Currenty the user has to:
1. Go on Common Voice website
2. Find the correct dataset which is **not** mentioned in the error message
3. Download it
4. Untar it
5. ... | [
"I am trying to use `load_dataset` with the French dataset(common voice corpus 1) which is downloaded from a common voice site and the target language is English (using colab)\r\n\r\nSteps I have followed:\r\n\r\n**1. untar:**\r\n`!tar xvzf fr.tar -C data_dir`\r\n\r\n**2. load data:**\r\n`load_dataset('covost2', 'f... |
https://api.github.com/repos/huggingface/datasets/issues/3280 | 3,280 | Fix bookcorpusopen RAM usage | Each document is a full book, so the default arrow writer batch size of 10,000 is too big, and it can fill up RAM quickly before flushing the first batch on disk. I changed its batch size to 256 to use maximum 100MB of memory
Fix #3167. | closed | 2021-11-16T11:27:52 | https://api.github.com/repos/huggingface/datasets/issues/3280/comments | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/3280",
"html_url": "https://github.com/huggingface/datasets/pull/3280",
"diff_url": "https://github.com/huggingface/datasets/pull/3280.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/3280.patch",
"merged_at": "2021-11-16T13:34... | true | Fix bookcorpusopen RAM usage
Each document is a full book, so the default arrow writer batch size of 10,000 is too big, and it can fill up RAM quickly before flushing the first batch on disk. I changed its batch size to 256 to use maximum 100MB of memory
Fix #3167. | [] |
https://api.github.com/repos/huggingface/datasets/issues/3279 | 3,279 | Minor Typo Fix - Precision to Recall | null | closed | 2021-11-16T10:32:22 | https://api.github.com/repos/huggingface/datasets/issues/3279/comments | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/3279",
"html_url": "https://github.com/huggingface/datasets/pull/3279",
"diff_url": "https://github.com/huggingface/datasets/pull/3279.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/3279.patch",
"merged_at": "2021-11-16T11:18... | true | Minor Typo Fix - Precision to Recall
| [] |
https://api.github.com/repos/huggingface/datasets/issues/3278 | 3,278 | Proposed update to the documentation for WER | I wanted to submit a minor update to the description of WER for your consideration.
Because of the possibility of insertions, the numerator in the WER formula can be larger than N, so the value of WER can be greater than 1.0:
```
>>> from datasets import load_metric
>>> metric = load_metric("wer")
>>> metric.... | closed | 2021-11-15T23:28:31 | https://api.github.com/repos/huggingface/datasets/issues/3278/comments | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/3278",
"html_url": "https://github.com/huggingface/datasets/pull/3278",
"diff_url": "https://github.com/huggingface/datasets/pull/3278.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/3278.patch",
"merged_at": "2021-11-16T11:19... | true | Proposed update to the documentation for WER
I wanted to submit a minor update to the description of WER for your consideration.
Because of the possibility of insertions, the numerator in the WER formula can be larger than N, so the value of WER can be greater than 1.0:
```
>>> from datasets import load_metric
... | [] |
https://api.github.com/repos/huggingface/datasets/issues/3277 | 3,277 | f-string formatting | **Fix #3257**
Replaced _.format()_ and _%_ by f-strings in the following modules :
- [x] **tests**
- [x] **metrics**
- [x] **benchmarks**
- [x] **utils**
- [x] **templates**
- [x] **src/Datasets/\*.py**
Modules in **_src/Datasets/_**:
- [x] **commands**
- [x] **features**
- [x] **formatting**
- [x] **... | closed | 2021-11-15T21:37:05 | https://api.github.com/repos/huggingface/datasets/issues/3277/comments | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/3277",
"html_url": "https://github.com/huggingface/datasets/pull/3277",
"diff_url": "https://github.com/huggingface/datasets/pull/3277.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/3277.patch",
"merged_at": "2021-11-17T16:18... | true | f-string formatting
**Fix #3257**
Replaced _.format()_ and _%_ by f-strings in the following modules :
- [x] **tests**
- [x] **metrics**
- [x] **benchmarks**
- [x] **utils**
- [x] **templates**
- [x] **src/Datasets/\*.py**
Modules in **_src/Datasets/_**:
- [x] **commands**
- [x] **features**
- [x] **fo... | [
"Hello @lhoestq, ```make style``` is applied as asked. :)"
] |
https://api.github.com/repos/huggingface/datasets/issues/3276 | 3,276 | Update KILT metadata JSON | Fix #3265. | closed | 2021-11-15T15:25:25 | https://api.github.com/repos/huggingface/datasets/issues/3276/comments | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/3276",
"html_url": "https://github.com/huggingface/datasets/pull/3276",
"diff_url": "https://github.com/huggingface/datasets/pull/3276.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/3276.patch",
"merged_at": "2021-11-16T11:21... | true | Update KILT metadata JSON
Fix #3265. | [] |
https://api.github.com/repos/huggingface/datasets/issues/3275 | 3,275 | Force data files extraction if download_mode='force_redownload' | Avoids weird issues when redownloading a dataset due to cached data not being fully updated.
With this change, issues #3122 and https://github.com/huggingface/datasets/issues/2956 (not a fix, but a workaround) can be fixed as follows:
```python
dset = load_dataset(..., download_mode="force_redownload")
``` | closed | 2021-11-15T14:00:24 | https://api.github.com/repos/huggingface/datasets/issues/3275/comments | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/3275",
"html_url": "https://github.com/huggingface/datasets/pull/3275",
"diff_url": "https://github.com/huggingface/datasets/pull/3275.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/3275.patch",
"merged_at": "2021-11-15T14:45... | true | Force data files extraction if download_mode='force_redownload'
Avoids weird issues when redownloading a dataset due to cached data not being fully updated.
With this change, issues #3122 and https://github.com/huggingface/datasets/issues/2956 (not a fix, but a workaround) can be fixed as follows:
```python
dset =... | [] |
https://api.github.com/repos/huggingface/datasets/issues/3274 | 3,274 | Fix some contact information formats | As reported in https://github.com/huggingface/datasets/issues/3188 some contact information are not displayed correctly.
This PR fixes this for CoNLL-2002 and some other datasets with the same issue | closed | 2021-11-15T13:50:34 | https://api.github.com/repos/huggingface/datasets/issues/3274/comments | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/3274",
"html_url": "https://github.com/huggingface/datasets/pull/3274",
"diff_url": "https://github.com/huggingface/datasets/pull/3274.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/3274.patch",
"merged_at": "2021-11-15T14:43... | true | Fix some contact information formats
As reported in https://github.com/huggingface/datasets/issues/3188 some contact information are not displayed correctly.
This PR fixes this for CoNLL-2002 and some other datasets with the same issue | [
"The CI fail are caused by some missing sections or tags, which is unrelated to this PR. Merging !"
] |
https://api.github.com/repos/huggingface/datasets/issues/3273 | 3,273 | Respect row ordering when concatenating datasets along axis=1 | Currently, there is a bug when concatenating datasets along `axis=1` if more than one dataset has the `_indices` attribute defined. In that scenario, all indices mappings except the first one get ignored.
A minimal reproducible example:
```python
>>> from datasets import Dataset, concatenate_datasets
>>> a = Data... | closed | 2021-11-15T11:27:14 | https://api.github.com/repos/huggingface/datasets/issues/3273/comments | null | false | Respect row ordering when concatenating datasets along axis=1
Currently, there is a bug when concatenating datasets along `axis=1` if more than one dataset has the `_indices` attribute defined. In that scenario, all indices mappings except the first one get ignored.
A minimal reproducible example:
```python
>>> fr... | [] |
https://api.github.com/repos/huggingface/datasets/issues/3272 | 3,272 | Make iter_archive work with ZIP files | Currently users can use `dl_manager.iter_archive` in their dataset script to iterate over all the files of a TAR archive.
It would be nice if it could work with ZIP files too ! | open | 2021-11-15T10:50:42 | https://api.github.com/repos/huggingface/datasets/issues/3272/comments | null | false | Make iter_archive work with ZIP files
Currently users can use `dl_manager.iter_archive` in their dataset script to iterate over all the files of a TAR archive.
It would be nice if it could work with ZIP files too ! | [
"Hello, is this issue open for any contributor ? can I work on it ?\r\n\r\n",
"Hi ! Sure this is open for any contributor. If you're interested feel free to self-assign this issue to you by commenting `#self-assign`. Then if you have any question or if I can help, feel free to ping me.\r\n\r\nTo begin with, feel ... |
https://api.github.com/repos/huggingface/datasets/issues/3271 | 3,271 | Decode audio from remote | Currently the Audio feature type can only decode local audio files, not remote files.
To fix this I replaced `open` with our `xopen` functoin that is compatible with remote files in audio.py
cc @albertvillanova @mariosasko | closed | 2021-11-15T10:25:56 | https://api.github.com/repos/huggingface/datasets/issues/3271/comments | {
"url": "https://api.github.com/repos/huggingface/datasets/pulls/3271",
"html_url": "https://github.com/huggingface/datasets/pull/3271",
"diff_url": "https://github.com/huggingface/datasets/pull/3271.diff",
"patch_url": "https://github.com/huggingface/datasets/pull/3271.patch",
"merged_at": "2021-11-16T11:35... | true | Decode audio from remote
Currently the Audio feature type can only decode local audio files, not remote files.
To fix this I replaced `open` with our `xopen` functoin that is compatible with remote files in audio.py
cc @albertvillanova @mariosasko | [] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.