id int64 599M 3.18B | number int64 1 7.65k | title stringlengths 1 290 | state stringclasses 2
values | body stringlengths 0 228k | is_pull_request bool 1
class | created_at stringdate 2020-04-14 10:18:02 2025-06-26 12:23:48 | updated_at stringdate 2020-04-27 16:04:17 2025-06-26 14:02:38 | closed_at stringlengths 20 20 ⌀ | user_login stringlengths 3 26 | author_association stringclasses 4
values | pr_url stringlengths 46 49 ⌀ | pr_merged_at stringlengths 20 20 ⌀ | comments_count int64 0 70 | reactions_total int64 0 61 | reactions_plus1 int64 0 39 | reactions_heart int64 0 22 | draft bool 2
classes | locked bool 1
class | labels listlengths 0 4 | html_url stringlengths 46 51 | is_pr_url bool 2
classes | comments listlengths 0 30 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
1,394,152,728 | 5,054 | Fix license/citation information of squadshifts dataset card | closed | This PR fixes the license/citation information of squadshifts dataset card, once the dataset owners have responded to our request for information:
- https://github.com/modestyachts/squadshifts-website/issues/1
Additionally, we have updated the mention in their website to our `datasets` library (they were referring ... | true | 2022-10-03T05:19:13Z | 2022-10-03T09:26:49Z | 2022-10-03T09:24:30Z | albertvillanova | MEMBER | https://github.com/huggingface/datasets/pull/5054 | 2022-10-03T09:24:30Z | 1 | 0 | 0 | 0 | false | false | [
"dataset contribution"
] | https://github.com/huggingface/datasets/pull/5054 | true | [
"_The documentation is not available anymore as the PR was closed or merged._"
] |
1,393,739,882 | 5,053 | Intermittent JSON parse error when streaming the Pile | open | ## Describe the bug
I have an intermittent error when streaming the Pile, where I get a JSON parse error which causes my program to crash.
This is intermittent - when I rerun the program with the same random seed it does not crash in the same way. The exact point this happens also varied - it happened to me 11B tok... | true | 2022-10-02T11:56:46Z | 2022-10-04T17:59:03Z | null | neelnanda-io | NONE | null | null | 3 | 0 | 0 | 0 | null | false | [
"bug"
] | https://github.com/huggingface/datasets/issues/5053 | false | [
"Maybe #2838 can help. In this PR we allow to skip bad chunks of JSON data to not crash the training\r\n\r\nDid you have warning messages before the error ?\r\n\r\nsomething like this maybe ?\r\n```\r\n03/24/2022 02:19:46 - WARNING - datasets.utils.streaming_download_manager - Got disconnected from remote data host... |
1,393,076,765 | 5,052 | added from_generator method to IterableDataset class. | closed | Hello,
This resolves issues #4988.
I added a method `from_generator` to class `IterableDataset`.
I modified the `read` method of input stream generator to also return Iterable_dataset. | true | 2022-09-30T22:14:05Z | 2022-10-05T12:51:48Z | 2022-10-05T12:10:48Z | hamid-vakilzadeh | CONTRIBUTOR | https://github.com/huggingface/datasets/pull/5052 | 2022-10-05T12:10:48Z | 3 | 0 | 0 | 0 | false | false | [] | https://github.com/huggingface/datasets/pull/5052 | true | [
"_The documentation is not available anymore as the PR was closed or merged._",
"I added a test and moved the `streaming` param from `read` to `__init_`. Then, I also decided to update the `read` method of the rest of the packaged modules to account for this param. \r\n\r\n@hamid-vakilzadeh Are you OK with these ... |
1,392,559,503 | 5,051 | Revert task removal in folder-based builders | closed | Reverts the removal of `task_templates` in the folder-based builders. I also added the `AudioClassifaction` task for consistency.
This is needed to fix https://github.com/huggingface/transformers/issues/19177.
I think we should soon deprecate and remove the current task API (and investigate if it's possible to in... | true | 2022-09-30T14:50:03Z | 2022-10-03T12:23:35Z | 2022-10-03T12:21:31Z | mariosasko | COLLABORATOR | https://github.com/huggingface/datasets/pull/5051 | 2022-10-03T12:21:31Z | 1 | 0 | 0 | 0 | false | false | [] | https://github.com/huggingface/datasets/pull/5051 | true | [
"_The documentation is not available anymore as the PR was closed or merged._"
] |
1,392,381,882 | 5,050 | Restore saved format state in `load_from_disk` | closed | Even though we save the `format` state in `save_to_disk`, we don't restore it in `load_from_disk`. We should fix that.
Reported here: https://discuss.huggingface.co/t/save-to-disk-loses-formatting-information/23815 | true | 2022-09-30T12:40:07Z | 2022-10-11T16:49:24Z | 2022-10-11T16:49:24Z | mariosasko | COLLABORATOR | null | null | 2 | 0 | 0 | 0 | null | false | [
"bug",
"good first issue"
] | https://github.com/huggingface/datasets/issues/5050 | false | [
"Hi, can I work on this?",
"Hi, sure! Let us know if you need some pointers/help."
] |
1,392,361,381 | 5,049 | Add `kwargs` to `Dataset.from_generator` | closed | Add the `kwargs` param to `from_generator` to align it with the rest of the `from_` methods (this param allows passing custom `writer_batch_size` for instance). | true | 2022-09-30T12:24:27Z | 2022-10-03T11:00:11Z | 2022-10-03T10:58:15Z | mariosasko | COLLABORATOR | https://github.com/huggingface/datasets/pull/5049 | 2022-10-03T10:58:15Z | 1 | 0 | 0 | 0 | false | false | [] | https://github.com/huggingface/datasets/pull/5049 | true | [
"_The documentation is not available anymore as the PR was closed or merged._"
] |
1,392,170,680 | 5,048 | Fix bug with labels of eurlex config of lex_glue dataset | closed | Fix for a critical bug in the EURLEX dataset label list to make LexGLUE EURLEX results replicable.
In LexGLUE (Chalkidis et al., 2022), the following is mentioned w.r.t. EUR-LEX: _"It supports four different label granularities, comprising 21, 127, 567, 7390 EuroVoc concepts, respectively. We use the 100 most frequ... | true | 2022-09-30T09:47:12Z | 2022-09-30T16:30:25Z | 2022-09-30T16:21:41Z | iliaschalkidis | CONTRIBUTOR | https://github.com/huggingface/datasets/pull/5048 | 2022-09-30T16:21:41Z | 4 | 0 | 0 | 0 | false | false | [
"dataset contribution"
] | https://github.com/huggingface/datasets/pull/5048 | true | [
"_The documentation is not available anymore as the PR was closed or merged._",
"@JamesLYC88 here is the fix! Thanks again!",
"Thanks, @albertvillanova. When do you expect that this change will take effect when someone downloads the dataset?",
"The change is immediately available now, since this change we mad... |
1,392,088,398 | 5,047 | Fix cats_vs_dogs | closed | Reported in https://github.com/huggingface/datasets/pull/3878
I updated the number of examples | true | 2022-09-30T08:47:29Z | 2022-09-30T10:23:22Z | 2022-09-30T09:34:28Z | lhoestq | MEMBER | https://github.com/huggingface/datasets/pull/5047 | 2022-09-30T09:34:28Z | 1 | 0 | 0 | 0 | false | false | [
"dataset contribution"
] | https://github.com/huggingface/datasets/pull/5047 | true | [
"_The documentation is not available anymore as the PR was closed or merged._"
] |
1,391,372,519 | 5,046 | Audiofolder creates empty Dataset if files same level as metadata | closed | ## Describe the bug
When audio files are at the same level as the metadata (`metadata.csv` or `metadata.jsonl` ), the `load_dataset` returns a `DatasetDict` with no rows but the correct columns.
https://github.com/huggingface/datasets/blob/1ea4d091b7a4b83a85b2eeb8df65115d39af3766/docs/source/audio_dataset.mdx?plain... | true | 2022-09-29T19:17:23Z | 2022-10-28T13:05:07Z | 2022-10-28T13:05:07Z | msis | NONE | null | null | 5 | 0 | 0 | 0 | null | false | [
"bug",
"good first issue",
"hacktoberfest"
] | https://github.com/huggingface/datasets/issues/5046 | false | [
"Hi! Unfortunately, I can't reproduce this behavior. Instead, I get `ValueError: audio at 2063_fe9936e7-62b2-4e62-a276-acbd344480ce_1.wav doesn't have metadata in /audio-data/metadata.csv`, which can be fixed by removing the `./` from the file name.\r\n\r\n(Link to a Colab that tries to reproduce this behavior: htt... |
1,391,287,609 | 5,045 | Automatically revert to last successful commit to hub when a push_to_hub is interrupted | closed | **Is your feature request related to a problem? Please describe.**
I pushed a modification of a large dataset (remove a column) to the hub. The push was interrupted after some files were committed to the repo. This left the dataset to raise an error on load_dataset() (ValueError couldn’t cast … because column names do... | true | 2022-09-29T18:08:12Z | 2023-10-16T13:30:49Z | 2023-10-16T13:30:49Z | jorahn | NONE | null | null | 5 | 1 | 1 | 0 | null | false | [
"enhancement"
] | https://github.com/huggingface/datasets/issues/5045 | false | [
"Could you share the error you got please ? Maybe the full stack trace if you have it ?\r\n\r\nMaybe `push_to_hub` be implemented as a single commit @Wauplin ? This way if it fails, the repo is still at the previous (valid) state instead of ending-up in an invalid/incimplete state.",
"> Maybe push_to_hub be imple... |
1,391,242,908 | 5,044 | integrate `load_from_disk` into `load_dataset` | open | **Is your feature request related to a problem? Please describe.**
Is it possible to make `load_dataset` more universal similar to `from_pretrained` in `transformers` so that it can handle the hub, and the local path datasets of all supported types?
Currently one has to choose a different loader depending on how ... | true | 2022-09-29T17:37:12Z | 2025-04-09T16:18:58Z | null | stas00 | CONTRIBUTOR | null | null | 14 | 7 | 7 | 0 | null | false | [
"enhancement"
] | https://github.com/huggingface/datasets/issues/5044 | false | [
"I agree the situation is not ideal and it would be awesome to use `load_dataset` to reload a dataset saved locally !\r\n\r\nFor context:\r\n\r\n- `load_dataset` works in three steps: download the dataset, then prepare it as an arrow dataset, and finally return a memory mapped arrow dataset. In particular it create... |
1,391,141,773 | 5,043 | Fix `flatten_indices` with empty indices mapping | closed | Fix #5038 | true | 2022-09-29T16:17:28Z | 2022-09-30T15:46:39Z | 2022-09-30T15:44:25Z | mariosasko | COLLABORATOR | https://github.com/huggingface/datasets/pull/5043 | 2022-09-30T15:44:25Z | 1 | 0 | 0 | 0 | false | false | [] | https://github.com/huggingface/datasets/pull/5043 | true | [
"_The documentation is not available anymore as the PR was closed or merged._"
] |
1,390,762,877 | 5,042 | Update swiss judgment prediction | closed | I forgot to add the new citation. | true | 2022-09-29T12:10:02Z | 2022-09-30T07:14:00Z | 2022-09-29T14:32:02Z | JoelNiklaus | CONTRIBUTOR | https://github.com/huggingface/datasets/pull/5042 | 2022-09-29T14:32:02Z | 1 | 0 | 0 | 0 | false | false | [
"dataset contribution"
] | https://github.com/huggingface/datasets/pull/5042 | true | [
"_The documentation is not available anymore as the PR was closed or merged._"
] |
1,390,722,230 | 5,041 | Support streaming hendrycks_test dataset. | closed | This PR:
- supports streaming
- fixes the description section of the dataset card | true | 2022-09-29T11:37:58Z | 2022-09-30T07:13:38Z | 2022-09-29T12:07:29Z | albertvillanova | MEMBER | https://github.com/huggingface/datasets/pull/5041 | 2022-09-29T12:07:29Z | 1 | 0 | 0 | 0 | false | false | [
"dataset contribution"
] | https://github.com/huggingface/datasets/pull/5041 | true | [
"_The documentation is not available anymore as the PR was closed or merged._"
] |
1,390,566,428 | 5,040 | Fix NonMatchingChecksumError in hendrycks_test dataset | closed | Update metadata JSON.
Fix #5039. | true | 2022-09-29T09:37:43Z | 2022-09-29T10:06:22Z | 2022-09-29T10:04:19Z | albertvillanova | MEMBER | https://github.com/huggingface/datasets/pull/5040 | 2022-09-29T10:04:19Z | 1 | 0 | 0 | 0 | false | false | [
"dataset contribution"
] | https://github.com/huggingface/datasets/pull/5040 | true | [
"_The documentation is not available anymore as the PR was closed or merged._"
] |
1,390,353,315 | 5,039 | Hendrycks Checksum | closed | Hi,
The checksum for [hendrycks_test](https://huggingface.co/datasets/hendrycks_test) does not compare correctly, I guess it has been updated on the remote.
```
datasets.utils.info_utils.NonMatchingChecksumError: Checksums didn't match for dataset source files:
['https://people.eecs.berkeley.edu/~hendrycks/data.... | true | 2022-09-29T06:56:20Z | 2022-09-29T10:23:30Z | 2022-09-29T10:04:20Z | DanielHesslow | NONE | null | null | 3 | 0 | 0 | 0 | null | false | [
"dataset bug"
] | https://github.com/huggingface/datasets/issues/5039 | false | [
"Thanks for reporting, @DanielHesslow. We are fixing it. ",
"@albertvillanova thanks for taking care of this so quickly!",
"The dataset metadata is fixed. You can download it normally."
] |
1,389,631,122 | 5,038 | `Dataset.unique` showing wrong output after filtering | closed | ## Describe the bug
After filtering a dataset, and if no samples remain, `Dataset.unique` will return the unique values of the unfiltered dataset.
## Steps to reproduce the bug
```python
from datasets import Dataset
dataset = Dataset.from_dict({'id': [0]})
dataset = dataset.filter(lambda _: False)
print(data... | true | 2022-09-28T16:20:35Z | 2022-09-30T15:44:25Z | 2022-09-30T15:44:25Z | mxschmdt | CONTRIBUTOR | null | null | 2 | 0 | 0 | 0 | null | false | [
"bug"
] | https://github.com/huggingface/datasets/issues/5038 | false | [
"Hi! It seems like `flatten_indices` (called in `unique`) doesn't know how to handle empty indices mappings. I'm working on the fix.",
"Thanks, that was fast!"
] |
1,389,244,722 | 5,037 | Improve CI performance speed of PackagedDatasetTest | closed | This PR improves PackagedDatasetTest CI performance speed. For Ubuntu (latest):
- Duration (without parallelism) before: 334.78s (5.58m)
- Duration (without parallelism) afterwards: 0.48s
The approach is passing a dummy `data_files` argument to load the builder, so that it avoids the slow inferring of it over the ... | true | 2022-09-28T12:08:16Z | 2022-09-30T16:05:42Z | 2022-09-30T16:03:24Z | albertvillanova | MEMBER | https://github.com/huggingface/datasets/pull/5037 | 2022-09-30T16:03:24Z | 2 | 2 | 0 | 0 | false | false | [] | https://github.com/huggingface/datasets/pull/5037 | true | [
"_The documentation is not available anymore as the PR was closed or merged._",
"There was a CI error which seemed unrelated: https://github.com/huggingface/datasets/actions/runs/3143581330/jobs/5111807056\r\n```\r\nFAILED tests/test_load.py::test_load_dataset_private_zipped_images[True] - FileNotFoundError: http... |
1,389,094,075 | 5,036 | Add oversampling strategy iterable datasets interleave | closed | Hello everyone,
Following the issue #4893 and the PR #4831, I propose here an oversampling strategy for a `IterableDataset` list.
The `all_exhausted` strategy stops building the new dataset as soon as all samples in each dataset have been added at least once.
It follows roughly the same logic behind #4831, namely... | true | 2022-09-28T10:10:23Z | 2022-09-30T12:30:48Z | 2022-09-30T12:28:23Z | ylacombe | CONTRIBUTOR | https://github.com/huggingface/datasets/pull/5036 | 2022-09-30T12:28:23Z | 1 | 0 | 0 | 0 | false | false | [] | https://github.com/huggingface/datasets/pull/5036 | true | [
"_The documentation is not available anymore as the PR was closed or merged._"
] |
1,388,914,476 | 5,035 | Fix typos in load docstrings and comments | closed | Minor fix of typos in load docstrings and comments | true | 2022-09-28T08:05:07Z | 2022-09-28T17:28:40Z | 2022-09-28T17:26:15Z | albertvillanova | MEMBER | https://github.com/huggingface/datasets/pull/5035 | 2022-09-28T17:26:14Z | 1 | 0 | 0 | 0 | false | false | [] | https://github.com/huggingface/datasets/pull/5035 | true | [
"_The documentation is not available anymore as the PR was closed or merged._"
] |
1,388,855,136 | 5,034 | Update README.md of yahoo_answers_topics dataset | closed | true | 2022-09-28T07:17:33Z | 2022-10-06T15:56:05Z | 2022-10-04T13:49:25Z | borgr | CONTRIBUTOR | https://github.com/huggingface/datasets/pull/5034 | null | 4 | 0 | 0 | 0 | false | false | [] | https://github.com/huggingface/datasets/pull/5034 | true | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_5034). All of your documentation changes will be reflected on that endpoint.",
"Thanks, @borgr. We have removed all dataset scripts from this repo. Subsequent PRs should be opened directly on the Hugging Face Hub.",
"Do you m... | |
1,388,842,236 | 5,033 | Remove redundant code from some dataset module factories | closed | This PR removes some redundant code introduced by mistake after a refactoring in:
- #4576 | true | 2022-09-28T07:06:26Z | 2022-09-28T16:57:51Z | 2022-09-28T16:55:12Z | albertvillanova | MEMBER | https://github.com/huggingface/datasets/pull/5033 | 2022-09-28T16:55:12Z | 1 | 0 | 0 | 0 | false | false | [] | https://github.com/huggingface/datasets/pull/5033 | true | [
"_The documentation is not available anymore as the PR was closed or merged._"
] |
1,388,270,935 | 5,032 | new dataset type: single-label and multi-label video classification | open | **Is your feature request related to a problem? Please describe.**
In my research, I am dealing with multi-modal (audio+text+frame sequence) video classification. It would be great if the datasets library supported generating multi-modal batches from a video dataset.
**Describe the solution you'd like**
Assume I h... | true | 2022-09-27T19:40:11Z | 2022-11-02T19:10:13Z | null | fcakyon | NONE | null | null | 6 | 1 | 0 | 0 | null | false | [
"enhancement"
] | https://github.com/huggingface/datasets/issues/5032 | false | [
"Hi ! You can in the `features` folder how we implemented the audio and image feature types.\r\n\r\nWe can have something similar to videos. What we need to decide:\r\n- the video loading library to use\r\n- the output format when a user accesses a video type object\r\n- what parameters a `Video()` feature type nee... |
1,388,201,146 | 5,031 | Support hfh 0.10 implicit auth | closed | In huggingface-hub 0.10 the `token` parameter is deprecated for dataset_info and list_repo_files in favor of use_auth_token.
Moreover if use_auth_token=None then the user's token is used implicitly.
I took those two changes into account
Close https://github.com/huggingface/datasets/issues/4990
TODO:
- [x] fi... | true | 2022-09-27T18:37:49Z | 2022-09-30T09:18:24Z | 2022-09-30T09:15:59Z | lhoestq | MEMBER | https://github.com/huggingface/datasets/pull/5031 | 2022-09-30T09:15:59Z | 4 | 0 | 0 | 0 | false | false | [] | https://github.com/huggingface/datasets/pull/5031 | true | [
"_The documentation is not available anymore as the PR was closed or merged._",
"@lhoestq it is now released so you can move forward with it :) ",
"I took your comments into account @Wauplin :)\r\nI also bumped the requirement to 0.2.0 because we're using `set_access_token`\r\n\r\ncc @albertvillanova WDYT ? I e... |
1,388,061,340 | 5,030 | Fast dataset iter | closed | Use `pa.Table.to_reader` to make iteration over examples/batches faster in `Dataset.{__iter__, map}`
TODO:
* [x] benchmarking (the only benchmark for now - iterating over (single) examples of `bookcorpus` (75 mil examples) in Colab is approx. 2.3x faster)
* [x] check if iterating over bigger chunks + slicing to fe... | true | 2022-09-27T16:44:51Z | 2022-09-29T15:50:44Z | 2022-09-29T15:48:17Z | mariosasko | COLLABORATOR | https://github.com/huggingface/datasets/pull/5030 | 2022-09-29T15:48:17Z | 2 | 0 | 0 | 0 | false | false | [] | https://github.com/huggingface/datasets/pull/5030 | true | [
"_The documentation is not available anymore as the PR was closed or merged._",
"I ran some benchmarks (focused on the data fetching part of `__iter__`) and it seems like the combination `table.to_reader(batch_size)` + `RecordBatch.slice` performs the best ([script](https://gist.github.com/mariosasko/0248288a2e3a... |
1,387,600,960 | 5,029 | Fix import in `ClassLabel` docstring example | closed | This PR addresses a super-simple fix: adding a missing `import` to the `ClassLabel` docstring example, as it was formatted as `from datasets Features`, so it's been fixed to `from datasets import Features`. | true | 2022-09-27T11:35:29Z | 2022-09-27T14:03:24Z | 2022-09-27T12:27:50Z | alvarobartt | MEMBER | https://github.com/huggingface/datasets/pull/5029 | 2022-09-27T12:27:50Z | 1 | 0 | 0 | 0 | false | false | [] | https://github.com/huggingface/datasets/pull/5029 | true | [
"_The documentation is not available anymore as the PR was closed or merged._"
] |
1,386,272,533 | 5,028 | passing parameters to the method passed to Dataset.from_generator() | closed | Big thanks for providing dataset creation via a generator.
I want to ask whether there is any way that parameters can be passed to the method Dataset.from_generator() method, like as follows.
```
from datasets import Dataset
def gen(param1):
for idx in len(custom_dataset):
yield custom_dataset[id... | true | 2022-09-26T15:20:06Z | 2022-10-03T13:00:00Z | 2022-10-03T13:00:00Z | Basir-mahmood | NONE | null | null | 1 | 0 | 0 | 0 | null | false | [
"enhancement"
] | https://github.com/huggingface/datasets/issues/5028 | false | [
"Hi! Yes, you can either use the `gen_kwargs` param in `Dataset.from_generator` (`ds = Dataset.from_generator(gen, gen_kwargs={\"param1\": val})`) or wrap the generator function with `functools.partial`\r\n(`ds = Dataset.from_generator(functools.partial(gen, param1=\"val\"))`) to pass custom parameters to it.\r\n"
... |
1,386,153,072 | 5,027 | Fix typo in error message | closed | true | 2022-09-26T14:10:09Z | 2022-09-27T12:28:03Z | 2022-09-27T12:26:02Z | severo | COLLABORATOR | https://github.com/huggingface/datasets/pull/5027 | 2022-09-27T12:26:02Z | 1 | 0 | 0 | 0 | false | false | [] | https://github.com/huggingface/datasets/pull/5027 | true | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | |
1,386,071,154 | 5,026 | patch CI_HUB_TOKEN_PATH with Path instead of str | closed | Should fix the tests for `huggingface_hub==0.10.0rc0` prerelease (see [failed CI](https://github.com/huggingface/datasets/actions/runs/3127805250/jobs/5074879144)).
Related to [this thread](https://huggingface.slack.com/archives/C02V5EA0A95/p1664195165294559) (internal link).
Note: this should be a backward compat... | true | 2022-09-26T13:19:01Z | 2022-09-26T14:30:55Z | 2022-09-26T14:28:45Z | Wauplin | CONTRIBUTOR | https://github.com/huggingface/datasets/pull/5026 | 2022-09-26T14:28:45Z | 1 | 0 | 0 | 0 | false | false | [] | https://github.com/huggingface/datasets/pull/5026 | true | [
"_The documentation is not available anymore as the PR was closed or merged._"
] |
1,386,011,239 | 5,025 | Custom Json Dataset Throwing Error when batch is False | closed | ## Describe the bug
A clear and concise description of what the bug is.
I tried to create my custom dataset using below code
```
from datasets import Features, Sequence, ClassLabel, Value, Array2D, Array3D
from torchvision import transforms
from transformers import AutoProcessor
# we'll use the Auto API here -... | true | 2022-09-26T12:38:39Z | 2022-09-27T19:50:00Z | 2022-09-27T19:50:00Z | jmandivarapu1 | NONE | null | null | 2 | 0 | 0 | 0 | null | false | [
"bug"
] | https://github.com/huggingface/datasets/issues/5025 | false | [
"Hi! Our processors are meant to be used in `batched` mode, so if `batched` is `False`, you need to drop the batch dimension (the error message warns you that the array has an extra dimension meaning it's 4D instead of 3D) to avoid the error:\r\n```python\r\ndef prepare_examples(examples):\r\n #Some preporcessin... |
1,385,947,624 | 5,024 | Fix string features of xcsr dataset | closed | This PR fixes string features of `xcsr` dataset to avoid character splitting.
Fix #5023.
CC: @yangxqiao, @yuchenlin | true | 2022-09-26T11:55:36Z | 2022-09-28T07:56:18Z | 2022-09-28T07:54:19Z | albertvillanova | MEMBER | https://github.com/huggingface/datasets/pull/5024 | 2022-09-28T07:54:19Z | 1 | 0 | 0 | 0 | false | false | [
"dataset contribution"
] | https://github.com/huggingface/datasets/pull/5024 | true | [
"_The documentation is not available anymore as the PR was closed or merged._"
] |
1,385,881,112 | 5,023 | Text strings are split into lists of characters in xcsr dataset | closed | ## Describe the bug
Text strings are split into lists of characters.
Example for "X-CSQA-en":
```
{'id': 'd3845adc08414fda',
'lang': 'en',
'question': {'stem': ['T',
'h',
'e',
' ',
'd',
'e',
'n',
't',
'a',
'l',
' ',
'o',
'f',
'f',
'i',
'c',
'e',
... | true | 2022-09-26T11:11:50Z | 2022-09-28T07:54:20Z | 2022-09-28T07:54:20Z | albertvillanova | MEMBER | null | null | 0 | 0 | 0 | 0 | null | false | [
"dataset bug"
] | https://github.com/huggingface/datasets/issues/5023 | false | [] |
1,385,432,859 | 5,022 | Fix languages of X-CSQA configs in xcsr dataset | closed | Fix #5017.
CC: @yangxqiao, @yuchenlin | true | 2022-09-26T05:13:39Z | 2022-09-26T12:27:20Z | 2022-09-26T10:57:30Z | albertvillanova | MEMBER | https://github.com/huggingface/datasets/pull/5022 | 2022-09-26T10:57:30Z | 4 | 0 | 0 | 0 | false | false | [
"dataset contribution"
] | https://github.com/huggingface/datasets/pull/5022 | true | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Thanks @lhoestq, I had missed that... ",
"thx for the super fast work @albertvillanova ! any estimate for when the relevant release will happen?\r\n\r\nThanks again ",
"@thesofakillers after a recent change in our library (see #4... |
1,385,351,250 | 5,021 | Split is inferred from filename and overrides metadata.jsonl | closed | ## Describe the bug
Including the strings "test" or "train" anywhere in a filename causes `datasets` to infer the split and silently ignore all other files.
This behavior is documented for directory names but not filenames: https://huggingface.co/docs/datasets/image_dataset#imagefolder
## Steps to reproduce th... | true | 2022-09-26T03:22:14Z | 2022-09-29T08:07:50Z | 2022-09-29T08:07:50Z | float-trip | NONE | null | null | 3 | 0 | 0 | 0 | null | false | [
"bug",
"duplicate"
] | https://github.com/huggingface/datasets/issues/5021 | false | [
"Hi! What's the structure of your image folder? `datasets` by default tries to infer to what split each file belongs based on directory/file names. If it's OK to load all the images inside the `dataset` folder in the `train` split, you can do the following:\r\n```python\r\ndataset = load_dataset(\"imagefolder\", da... |
1,384,684,078 | 5,020 | Fix URLs of sbu_captions dataset | closed | Forbidden
You don't have permission to access /~vicente/sbucaptions/sbu-captions-all.tar.gz on this server.
Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request.
Apache/2.4.6 (Red Hat Enterprise Linux) OpenSSL/1.0.2k-fips PHP/5.4.16 mod_fcgid/2.3.9 mod_ws... | true | 2022-09-24T14:00:33Z | 2022-09-28T07:20:20Z | 2022-09-28T07:18:23Z | donglixp | CONTRIBUTOR | https://github.com/huggingface/datasets/pull/5020 | 2022-09-28T07:18:23Z | 1 | 0 | 0 | 0 | false | false | [
"dataset contribution"
] | https://github.com/huggingface/datasets/pull/5020 | true | [
"_The documentation is not available anymore as the PR was closed or merged._"
] |
1,384,673,718 | 5,019 | Update swiss judgment prediction | closed | Hi,
I updated the dataset to include additional data made available recently. When I test it locally, it seems to work. However, I get the following error with the dummy data creation:
`Dummy data generation done but dummy data test failed since splits ['train', 'validation', 'test'] have 0 examples for config 'fr... | true | 2022-09-24T13:28:57Z | 2022-09-28T07:13:39Z | 2022-09-28T05:48:50Z | JoelNiklaus | CONTRIBUTOR | https://github.com/huggingface/datasets/pull/5019 | 2022-09-28T05:48:50Z | 4 | 0 | 0 | 0 | false | false | [
"dataset contribution"
] | https://github.com/huggingface/datasets/pull/5019 | true | [
"Thank you very much for the detailed review @albertvillanova!\r\n\r\nI updated the PR with the requested changes. ",
"At the end, I had to manually fix the conflict, so that CI tests are launched.\r\n\r\nPLEASE NOTE: you should first pull to incorporate the previous commit\r\n```shell\r\ngit pull\r\n```",
"_Th... |
1,384,146,585 | 5,018 | Create all YAML dataset_info | closed | Following https://github.com/huggingface/datasets/pull/4926
Creates all the `dataset_info` YAML fields in the dataset cards
The JSON are also updated using the simplified backward compatible format added in https://github.com/huggingface/datasets/pull/4926
Needs https://github.com/huggingface/datasets/pull/4926 ... | true | 2022-09-23T18:08:15Z | 2023-09-24T09:33:21Z | 2022-10-03T17:08:05Z | lhoestq | MEMBER | https://github.com/huggingface/datasets/pull/5018 | null | 2 | 0 | 0 | 0 | true | false | [
"dataset contribution"
] | https://github.com/huggingface/datasets/pull/5018 | true | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_5018). All of your documentation changes will be reflected on that endpoint.",
"Closing since https://github.com/huggingface/datasets/pull/4974 removed all the datasets scripts.\r\n\r\nIndividual PRs must be opened on the Huggi... |
1,384,022,463 | 5,017 | xcsr: X-CSQA simply uses english for all alleged non-english data | closed | ## Describe the bug
All the alleged non-english subcollections for the X-CSQA task in the [xcsr benchmark dataset ](https://huggingface.co/datasets/xcsr) seem to be copies of the english subcollection, rather than translations. This is in contrast to the data description:
> we automatically translate the original C... | true | 2022-09-23T16:11:54Z | 2022-09-26T10:57:31Z | 2022-09-26T10:57:31Z | thesofakillers | NONE | null | null | 1 | 0 | 0 | 0 | null | false | [
"dataset bug"
] | https://github.com/huggingface/datasets/issues/5017 | false | [
"Thanks for reporting, @thesofakillers. Good catch. We are fixing this. "
] |
1,383,883,058 | 5,016 | Fix tar extraction vuln | closed | Fix for CVE-2007-4559
Description:
Directory traversal vulnerability in the (1) extract and (2) extractall functions in the tarfile
module in Python allows user-assisted remote attackers to overwrite arbitrary files via a .. (dot dot)
sequence in filenames in a TAR archive, a related issue to CVE-2001-1267.
I ... | true | 2022-09-23T14:22:21Z | 2022-09-29T12:42:26Z | 2022-09-29T12:40:28Z | lhoestq | MEMBER | https://github.com/huggingface/datasets/pull/5016 | 2022-09-29T12:40:28Z | 1 | 0 | 0 | 0 | false | false | [] | https://github.com/huggingface/datasets/pull/5016 | true | [
"_The documentation is not available anymore as the PR was closed or merged._"
] |
1,383,485,558 | 5,015 | Transfer dataset scripts to Hub | closed | Before merging:
- #4974
TODO:
- [x] Create label: ["dataset contribution"](https://github.com/huggingface/datasets/pulls?q=label%3A%22dataset+contribution%22)
- [x] Create project: [Datasets: Transfer datasets to Hub](https://github.com/orgs/huggingface/projects/22/)
- [x] PRs:
- [x] Add dataset: we should r... | true | 2022-09-23T08:48:10Z | 2022-10-05T07:15:57Z | 2022-10-05T07:15:57Z | albertvillanova | MEMBER | null | null | 1 | 1 | 0 | 0 | null | false | [] | https://github.com/huggingface/datasets/issues/5015 | false | [
"Sounds good ! Can I help with anything ?"
] |
1,383,422,639 | 5,014 | I need to read the custom dataset in conll format | open | I need to read the custom dataset in conll format | true | 2022-09-23T07:49:42Z | 2022-11-02T11:57:15Z | null | shell-nlp | NONE | null | null | 3 | 0 | 0 | 0 | null | false | [
"enhancement"
] | https://github.com/huggingface/datasets/issues/5014 | false | [
"Hi! We don't currently have a builder for parsing custom `conll` datasets, but I guess we could add one as a packaged module (similarly to what [TFDS](https://github.com/tensorflow/datasets/blob/master/tensorflow_datasets/core/dataset_builders/conll/conll_dataset_builder.py) did). @lhoestq @albertvillanova WDYT?\r... |
1,383,415,971 | 5,013 | would huggingface like publish cpp binding for datasets package ? | closed | HI:
I use cpp env libtorch, I like use hugggingface ,but huggingface not cpp binding, would you like publish cpp binding for it.
thanks | true | 2022-09-23T07:42:49Z | 2023-02-24T16:20:57Z | 2023-02-24T16:20:57Z | mullerhai | NONE | null | null | 5 | 0 | 0 | 0 | null | false | [
"wontfix"
] | https://github.com/huggingface/datasets/issues/5013 | false | [
"Hi ! Can you share more information about your use case ? How could it help you to have cpp bindings versus using the python libraries ?",
"> Hi ! Can you share more information about your use case ? How could it help you to have cpp bindings versus using the python libraries ?\r\n\r\nfor example ,the huggingfac... |
1,382,851,096 | 5,012 | Force JSON format regardless of file naming on S3 | closed | I have a file on S3 created by Data Version Control, it looks like `s3://dvc/ac/badff5b134382a0f25248f1b45d7b2` but contains a json file. If I run
```python
dataset = load_dataset(
"json",
data_files='s3://dvc/ac/badff5b134382a0f25248f1b45d7b2'
)
```
It gives me
```
InvalidSchema: No connection adap... | true | 2022-09-22T18:28:15Z | 2023-08-16T09:58:36Z | 2023-08-16T09:58:36Z | junwang-wish | NONE | null | null | 4 | 0 | 0 | 0 | null | false | [
"enhancement"
] | https://github.com/huggingface/datasets/issues/5012 | false | [
"Hi ! Support for URIs like `s3://...` is not implemented yet in `data_files=`. You can use the HTTP URL instead if your data is public in the meantime",
"Hi,\r\nI want to make sure I understand this response. I have a set of files on S3 that are private for security reasons. Because they are not public files I ... |
1,382,609,587 | 5,011 | Audio: `encode_example` fails with IndexError | closed | ## Describe the bug
Loading the dataset [earnings-22](https://huggingface.co/datasets/sanchit-gandhi/earnings22_split) from the Hub yields an Index Error. I created this dataset locally and then pushed to hub at the specified URL. Thus, I expect the dataset should work out-of-the-box! Indeed, the dataset viewer functi... | true | 2022-09-22T15:07:27Z | 2022-09-23T09:05:18Z | 2022-09-23T09:05:18Z | sanchit-gandhi | CONTRIBUTOR | null | null | 1 | 0 | 0 | 0 | null | false | [
"bug"
] | https://github.com/huggingface/datasets/issues/5011 | false | [
"Sorry bug on my part 😅 Closing "
] |
1,382,308,799 | 5,010 | Add deprecation warning to multilingual_librispeech dataset card | closed | Besides the current deprecation warning in the script of `multilingual_librispeech`, this PR adds a deprecation warning to its dataset card as well.
The format of the deprecation warning is aligned with the one in the library documentation when docstrings contain the `<Deprecated/>` tag.
Related to:
- #4060 | true | 2022-09-22T11:41:59Z | 2022-09-23T12:04:37Z | 2022-09-23T12:02:45Z | albertvillanova | MEMBER | https://github.com/huggingface/datasets/pull/5010 | 2022-09-23T12:02:45Z | 1 | 1 | 0 | 1 | false | false | [
"dataset contribution"
] | https://github.com/huggingface/datasets/pull/5010 | true | [
"_The documentation is not available anymore as the PR was closed or merged._"
] |
1,381,194,067 | 5,009 | Error loading StonyBrookNLP/tellmewhy dataset from hub even though local copy loads correctly | closed | ## Describe the bug
I have added a new dataset with the identifier `StonyBrookNLP/tellmewhy` to the hub. When I load the individual files using my local copy using `dataset = datasets.load_dataset("json", data_files="data/train.jsonl")`, it loads the dataset correctly. However, when I try to load it from the hub, I ge... | true | 2022-09-21T16:23:06Z | 2022-09-29T13:07:29Z | 2022-09-29T13:07:29Z | ykl7 | NONE | null | null | 8 | 0 | 0 | 0 | null | false | [
"bug"
] | https://github.com/huggingface/datasets/issues/5009 | false | [
"I think this is because some columns are mostly empty lists. In particular the train and validation splits only have empty lists for `val_ann`. Therefore the type inference doesn't know which type is inside (or it would have to scan the other splits first before knowing).\r\n\r\nYou can fix that by specifying the ... |
1,381,090,903 | 5,008 | Re-apply input columns change | closed | Fixes the `filter` + `input_columns` combination, which is used in the `transformers` examples for instance.
Revert #5006 (which in turn reverts #4971)
Fix https://github.com/huggingface/datasets/issues/4858 | true | 2022-09-21T15:09:01Z | 2022-09-22T13:57:36Z | 2022-09-22T13:55:23Z | mariosasko | COLLABORATOR | https://github.com/huggingface/datasets/pull/5008 | 2022-09-22T13:55:23Z | 1 | 0 | 0 | 0 | false | false | [] | https://github.com/huggingface/datasets/pull/5008 | true | [
"_The documentation is not available anymore as the PR was closed or merged._"
] |
1,381,007,607 | 5,007 | Add some note about running the transformers ci before a release | closed | true | 2022-09-21T14:14:25Z | 2022-09-22T10:16:14Z | 2022-09-22T10:14:06Z | lhoestq | MEMBER | https://github.com/huggingface/datasets/pull/5007 | 2022-09-22T10:14:06Z | 1 | 0 | 0 | 0 | false | false | [] | https://github.com/huggingface/datasets/pull/5007 | true | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | |
1,380,968,395 | 5,006 | Revert input_columns change | closed | Revert https://github.com/huggingface/datasets/pull/4971
Fix https://github.com/huggingface/datasets/issues/5005 | true | 2022-09-21T13:49:20Z | 2022-09-21T14:14:33Z | 2022-09-21T14:11:57Z | lhoestq | MEMBER | https://github.com/huggingface/datasets/pull/5006 | 2022-09-21T14:11:57Z | 2 | 0 | 0 | 0 | false | false | [] | https://github.com/huggingface/datasets/pull/5006 | true | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Merging this one and I'll check if it fixes the `transformers` CI before doing a patch release"
] |
1,380,952,960 | 5,005 | Release 2.5.0 breaks transformers CI | closed | ## Describe the bug
As reported by @lhoestq:
> see https://app.circleci.com/pipelines/github/huggingface/transformers/47634/workflows/b491886b-e66e-4edb-af96-8b459e72aa25/jobs/564563
this is used here: [https://github.com/huggingface/transformers/blob/3b19c0317b6909e2d7f11b5053895ac55[…]torch/speech-pretraining/ru... | true | 2022-09-21T13:39:19Z | 2022-09-21T14:11:57Z | 2022-09-21T14:11:57Z | albertvillanova | MEMBER | null | null | 1 | 0 | 0 | 0 | null | false | [
"bug"
] | https://github.com/huggingface/datasets/issues/5005 | false | [
"Shall we revert https://github.com/huggingface/datasets/pull/4971 @mariosasko ?\r\n\r\nAnd for consistency we can update IterableDataset.map later"
] |
1,380,860,606 | 5,004 | Remove license tag file and validation | closed | As requested, we are removing the validation of the licenses from `datasets` because this is done on the Hub.
Fix #4994.
Related to:
- #4926, which is removing all the validation from `datasets` | true | 2022-09-21T12:35:14Z | 2022-09-22T11:47:41Z | 2022-09-22T11:45:46Z | albertvillanova | MEMBER | https://github.com/huggingface/datasets/pull/5004 | 2022-09-22T11:45:46Z | 1 | 0 | 0 | 0 | false | false | [] | https://github.com/huggingface/datasets/pull/5004 | true | [
"_The documentation is not available anymore as the PR was closed or merged._"
] |
1,380,617,353 | 5,003 | Fix missing use_auth_token in streaming docstrings | closed | This PRs fixes docstrings:
- adds the missing `use_auth_token` param
- updates syntax of param types
- adds params to docstrings without them
- fixes return/yield types
- fixes syntax | true | 2022-09-21T09:27:03Z | 2022-09-21T16:24:01Z | 2022-09-21T16:20:59Z | albertvillanova | MEMBER | https://github.com/huggingface/datasets/pull/5003 | 2022-09-21T16:20:59Z | 1 | 0 | 0 | 0 | false | false | [] | https://github.com/huggingface/datasets/pull/5003 | true | [
"_The documentation is not available anymore as the PR was closed or merged._"
] |
1,380,589,402 | 5,002 | Dataset Viewer issue for loubnabnl/humaneval-x | closed | ### Link
https://huggingface.co/datasets/loubnabnl/humaneval-x/viewer/
### Description
The dataset has subsets but the viewer gets stuck in the default subset even when I select another one (the data loading of the subsets works fine)
### Owner
Yes | true | 2022-09-21T09:06:17Z | 2022-09-21T11:49:49Z | 2022-09-21T11:49:49Z | loubnabnl | NONE | null | null | 2 | 1 | 0 | 0 | null | false | [
"dataset-viewer"
] | https://github.com/huggingface/datasets/issues/5002 | false | [
"It's a bug! Thanks for reporting, I'm looking at it",
"Fixed."
] |
1,379,844,820 | 5,001 | Support loading XML datasets | open | CC: @davanstrien | true | 2022-09-20T18:42:58Z | 2024-05-22T22:13:25Z | null | albertvillanova | MEMBER | https://github.com/huggingface/datasets/pull/5001 | null | 3 | 2 | 0 | 0 | true | false | [] | https://github.com/huggingface/datasets/pull/5001 | true | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_5001). All of your documentation changes will be reflected on that endpoint.",
"> CC: @davanstrien\r\n\r\nI should have some time to look at this on Friday :) ",
"@albertvillanova I've tried this with a few different XML data... |
1,379,709,398 | 5,000 | Dataset Viewer issue for asapp/slue | closed | ### Link
https://huggingface.co/datasets/asapp/slue/viewer/
### Description
Hi,
I wonder how to get the dataset viewer of our slue dataset to work.
Best,
Felix
### Owner
Yes | true | 2022-09-20T16:45:45Z | 2022-09-27T07:04:03Z | 2022-09-21T07:24:07Z | fwu-asapp | NONE | null | null | 9 | 0 | 0 | 0 | null | false | [] | https://github.com/huggingface/datasets/issues/5000 | false | [
"<img width=\"519\" alt=\"Capture d’écran 2022-09-20 à 22 33 47\" src=\"https://user-images.githubusercontent.com/1676121/191358952-1220cb7d-745a-4203-a66b-3c707b25038f.png\">\r\n\r\n```\r\nNot found.\r\n\r\nError code: SplitsResponseNotFound\r\n```\r\n\r\nhttps://datasets-server.huggingface.co/splits?dataset=a... |
1,379,610,030 | 4,999 | Add EmptyDatasetError | closed | examples:
from the hub:
```python
Traceback (most recent call last):
File "playground/ttest.py", line 3, in <module>
print(load_dataset("lhoestq/empty"))
File "/Users/quentinlhoest/Desktop/hf/nlp/src/datasets/load.py", line 1686, in load_dataset
**config_kwargs,
File "/Users/quentinlhoest/Deskto... | true | 2022-09-20T15:28:05Z | 2022-09-21T12:23:43Z | 2022-09-21T12:21:24Z | lhoestq | MEMBER | https://github.com/huggingface/datasets/pull/4999 | 2022-09-21T12:21:24Z | 1 | 0 | 0 | 0 | false | false | [] | https://github.com/huggingface/datasets/pull/4999 | true | [
"_The documentation is not available anymore as the PR was closed or merged._"
] |
1,379,466,717 | 4,998 | Don't add a tag on the Hub on release | closed | Datasets with no namespace on the Hub have tags to redirect to the version of datasets where they come from.
I’m about to remove them all because I think it looks bad/unexpected in the UI and it’s not actually useful
Therefore I'm also disabling tagging.
Note that the CI job will be completely removed in https:/... | true | 2022-09-20T13:54:57Z | 2022-09-20T14:11:46Z | 2022-09-20T14:08:54Z | lhoestq | MEMBER | https://github.com/huggingface/datasets/pull/4998 | 2022-09-20T14:08:54Z | 1 | 0 | 0 | 0 | false | false | [] | https://github.com/huggingface/datasets/pull/4998 | true | [
"_The documentation is not available anymore as the PR was closed or merged._"
] |
1,379,430,711 | 4,997 | Add support for parsing JSON files in array form | closed | Support parsing JSON files in the array form (top-level object is an array). For simplicity, `json.load` is used for decoding. This means the entire file is loaded into memory. If requested, we can optimize this by introducing a param similar to `lines` in [`pandas.read_json`](https://pandas.pydata.org/docs/reference/a... | true | 2022-09-20T13:31:26Z | 2022-09-20T15:42:40Z | 2022-09-20T15:40:06Z | mariosasko | COLLABORATOR | https://github.com/huggingface/datasets/pull/4997 | 2022-09-20T15:40:05Z | 1 | 0 | 0 | 0 | false | false | [] | https://github.com/huggingface/datasets/pull/4997 | true | [
"_The documentation is not available anymore as the PR was closed or merged._"
] |
1,379,345,161 | 4,996 | Dataset Viewer issue for Jean-Baptiste/wikiner_fr | closed | ### Link
https://huggingface.co/datasets/Jean-Baptiste/wikiner_fr
### Description
```
Error code: StreamingRowsError
Exception: FileNotFoundError
Message: [Errno 2] No such file or directory: 'zip:/data/train::https:/huggingface.co/datasets/Jean-Baptiste/wikiner_fr/resolve/main/data.zip/state.json'
Tra... | true | 2022-09-20T12:32:07Z | 2022-09-27T12:35:44Z | 2022-09-27T12:35:44Z | severo | COLLABORATOR | null | null | 2 | 0 | 0 | 0 | null | false | [] | https://github.com/huggingface/datasets/issues/4996 | false | [
"The script uses `Dataset.load_from_disk`, which as you can expect, doesn't work in streaming mode.\r\n\r\nIt would probably be more practical to load the dataset locally using `Dataset.load_from_disk` first and then `push_to_hub` to upload it in Parquet on the Hub",
"I've transferred this issue to the Hub repo: ... |
1,379,108,482 | 4,995 | Get a specific Exception when the dataset has no data | closed | In the dataset viewer on the Hub (https://huggingface.co/datasets/glue/viewer), we would like (https://github.com/huggingface/moon-landing/issues/3882) to show a specific message when the repository lacks any data files.
In that case, instead of showing a complex traceback, we want to show a call to action to help t... | true | 2022-09-20T09:31:59Z | 2022-09-21T12:21:25Z | 2022-09-21T12:21:25Z | severo | COLLABORATOR | null | null | 0 | 0 | 0 | 0 | null | false | [
"enhancement",
"dataset-viewer"
] | https://github.com/huggingface/datasets/issues/4995 | false | [] |
1,379,084,015 | 4,994 | delete the hardcoded license list in `datasets` | closed | > Feel free to delete the license list in `datasets` [...]
>
> Also FYI in #4926 I also removed all the validation steps anyway (language, license, types etc.)
_Originally posted by @lhoestq in https://github.com/huggingface/datasets/issues/4930#issuecomment-1238401662_
> [...], in my opinion we can just delete... | true | 2022-09-20T09:14:41Z | 2022-09-22T11:45:47Z | 2022-09-22T11:45:47Z | julien-c | MEMBER | null | null | 0 | 2 | 2 | 0 | null | false | [] | https://github.com/huggingface/datasets/issues/4994 | false | [] |
1,379,044,435 | 4,993 | fix: avoid casting tuples after Dataset.map | closed | This PR updates features.py to avoid casting tuples to lists when reading the results of Dataset.map as suggested by @lhoestq [here](https://github.com/huggingface/datasets/issues/4676#issuecomment-1187371367) in https://github.com/huggingface/datasets/issues/4676. | true | 2022-09-20T08:45:16Z | 2022-09-20T16:11:27Z | 2022-09-20T13:08:29Z | szmoro | CONTRIBUTOR | https://github.com/huggingface/datasets/pull/4993 | 2022-09-20T13:08:29Z | 1 | 1 | 0 | 1 | false | false | [] | https://github.com/huggingface/datasets/pull/4993 | true | [
"_The documentation is not available anymore as the PR was closed or merged._"
] |
1,379,031,842 | 4,992 | Support streaming iwslt2017 dataset | closed | Support streaming iwslt2017 dataset.
Once this PR is merged:
- [x] Remove old ".tgz" data files from the Hub. | true | 2022-09-20T08:35:41Z | 2022-09-20T09:27:55Z | 2022-09-20T09:15:24Z | albertvillanova | MEMBER | https://github.com/huggingface/datasets/pull/4992 | 2022-09-20T09:15:24Z | 1 | 0 | 0 | 0 | false | false | [] | https://github.com/huggingface/datasets/pull/4992 | true | [
"_The documentation is not available anymore as the PR was closed or merged._"
] |
1,378,898,752 | 4,991 | Fix missing tags in dataset cards | closed | Fix missing tags in dataset cards:
- aeslc
- empathetic_dialogues
- event2Mind
- gap
- iwslt2017
- newsgroup
- qa4mre
- scicite
This PR partially fixes the missing tags in dataset cards. Subsequent PRs will follow to complete this task.
Related to:
- #4833
- #4891
- #4896
- #4908
- #4921
- #4931
- ... | true | 2022-09-20T06:42:07Z | 2022-09-22T12:25:32Z | 2022-09-20T07:37:30Z | albertvillanova | MEMBER | https://github.com/huggingface/datasets/pull/4991 | 2022-09-20T07:37:30Z | 1 | 0 | 0 | 0 | false | false | [] | https://github.com/huggingface/datasets/pull/4991 | true | [
"_The documentation is not available anymore as the PR was closed or merged._"
] |
1,378,120,806 | 4,990 | "no-token" is passed to `huggingface_hub` when token is `None` | closed | ## Describe the bug
In the 2 lines listed below, a token is passed to `huggingface_hub` to get information from a dataset. If no token is provided, a "no-token" string is passed. What is the purpose of it ? If no real, I would prefer if the `None` value could be sent directly to be handle by `huggingface_hub`. I fee... | true | 2022-09-19T15:14:40Z | 2022-09-30T09:16:00Z | 2022-09-30T09:16:00Z | Wauplin | CONTRIBUTOR | null | null | 6 | 0 | 0 | 0 | null | false | [
"bug"
] | https://github.com/huggingface/datasets/issues/4990 | false | [
"Hi @Wauplin, thanks for raising this potential issue.\r\n\r\nThe choice of passing `\"no-token\"` instead of `None` was made in this PR:\r\n- #4536 \r\n\r\nAccording to the PR description, the reason why it is passed is to avoid that `HfApi.dataset_info` uses the local token when no token should be used.",
"Hi @... |
1,376,832,233 | 4,989 | Running add_column() seems to corrupt existing sequence-type column info | closed | I have a dataset that contains a column ("foo") that is a sequence type of length 4. So when I run .to_pandas() on it, the resulting dataframe correctly contains 4 columns - foo_0, foo_1, foo_2, foo_3. So the 1st row of the dataframe might look like:
ds = load_dataset(...)
df = ds.to_pandas()
df:
foo_0 | foo_1 ... | true | 2022-09-17T17:42:05Z | 2022-09-19T12:54:54Z | 2022-09-19T12:54:54Z | derek-rocheleau | NONE | null | null | 1 | 0 | 0 | 0 | null | false | [
"bug"
] | https://github.com/huggingface/datasets/issues/4989 | false | [
"Nevermind, I was incorrect."
] |
1,376,096,584 | 4,988 | Add `IterableDataset.from_generator` to the API | closed | We've just added `Dataset.from_generator` to the API. It would also be cool to add `IterableDataset.from_generator` to support creating an iterable dataset from a generator.
cc @lhoestq | true | 2022-09-16T15:19:41Z | 2022-10-05T12:10:49Z | 2022-10-05T12:10:49Z | mariosasko | COLLABORATOR | null | null | 3 | 0 | 0 | 0 | null | false | [
"enhancement",
"good first issue"
] | https://github.com/huggingface/datasets/issues/4988 | false | [
"#take",
"Thanks @hamid-vakilzadeh ! Let us know if you have some questions or if we can help",
"Thank you! I certainly will reach out if I need any help."
] |
1,376,006,477 | 4,987 | Embed image/audio data in dl_and_prepare parquet | closed | Embed the bytes of the image or audio files in the Parquet files directly, instead of having a "path" that points to a local file.
Indeed Parquet files are often used to share data or to be used by workers that may not have access to the local files. | true | 2022-09-16T14:09:27Z | 2022-09-16T16:24:47Z | 2022-09-16T16:22:35Z | lhoestq | MEMBER | https://github.com/huggingface/datasets/pull/4987 | 2022-09-16T16:22:35Z | 1 | 0 | 0 | 0 | false | false | [] | https://github.com/huggingface/datasets/pull/4987 | true | [
"_The documentation is not available anymore as the PR was closed or merged._"
] |
1,375,895,035 | 4,986 | [doc] Fix broken snippet that had too many quotes | closed | Hello!
### Pull request overview
* Fix broken snippet in https://huggingface.co/docs/datasets/main/en/process that has too many quotes
### Details
The snippet in question can be found here: https://huggingface.co/docs/datasets/main/en/process#map
This screenshot shows the issue, there is a quote too many, caus... | true | 2022-09-16T12:41:07Z | 2022-09-16T22:12:21Z | 2022-09-16T17:32:14Z | tomaarsen | MEMBER | https://github.com/huggingface/datasets/pull/4986 | 2022-09-16T17:32:14Z | 2 | 0 | 0 | 0 | false | false | [] | https://github.com/huggingface/datasets/pull/4986 | true | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Spent the day familiarising myself with the huggingface line of products, and happened to run into some small issues here and there. Magically, I've found exactly one small issue in `transformers`, one in `accelerate` and now one in ... |
1,375,807,768 | 4,985 | Prefer split patterns from directories over split patterns from filenames | closed | related to https://github.com/huggingface/datasets/issues/4895 | true | 2022-09-16T11:20:40Z | 2022-11-02T11:54:28Z | 2022-09-29T08:07:49Z | polinaeterna | CONTRIBUTOR | https://github.com/huggingface/datasets/pull/4985 | 2022-09-29T08:07:49Z | 4 | 1 | 1 | 0 | false | false | [] | https://github.com/huggingface/datasets/pull/4985 | true | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Can we merge this one since the issue this PR fixes was reported for the second time? I also think we don't need a test for this simple change.",
"@mariosasko sure! could you please approve it? ",
"Hi there @polinaeterna @mariosa... |
1,375,690,330 | 4,984 | docs: ✏️ add links to the Datasets API | closed | I added some links to the Datasets API in the docs. See https://github.com/huggingface/datasets-server/pull/566 for a companion PR in the datasets-server. The idea is to improve the discovery of the API through the docs.
I'm a bit shy about pasting a lot of links to the API in the docs, so it's minimal for now. I'm ... | true | 2022-09-16T09:34:12Z | 2022-09-16T13:10:14Z | 2022-09-16T13:07:33Z | severo | COLLABORATOR | https://github.com/huggingface/datasets/pull/4984 | null | 2 | 0 | 0 | 0 | false | false | [] | https://github.com/huggingface/datasets/pull/4984 | true | [
"_The documentation is not available anymore as the PR was closed or merged._",
"OK, thanks @lhoestq. I'll close this PR, and come back to it with @stevhliu once we work on https://github.com/huggingface/datasets-server/issues/568"
] |
1,375,667,654 | 4,983 | How to convert torch.utils.data.Dataset to huggingface dataset? | closed | I look through the huggingface dataset docs, and it seems that there is no offical support function to convert `torch.utils.data.Dataset` to huggingface dataset. However, there is a way to convert huggingface dataset to `torch.utils.data.Dataset`, like below:
```python
from datasets import Dataset
data = [[1, 2]... | true | 2022-09-16T09:15:10Z | 2023-12-14T20:54:15Z | 2022-09-20T11:23:43Z | DEROOCE | NONE | null | null | 15 | 8 | 8 | 0 | null | false | [
"enhancement"
] | https://github.com/huggingface/datasets/issues/4983 | false | [
"Hi! I think you can use the newly-added `from_generator` method for that:\r\n```python\r\nfrom datasets import Dataset\r\n\r\ndef gen():\r\n for idx in len(torch_dataset):\r\n yield torch_dataset[idx] # this has to be a dictionary\r\n ## or if it's an IterableDataset\r\n # for ex in torch_dataset:... |
1,375,604,693 | 4,982 | Create dataset_infos.json with VALIDATION and TEST splits | closed | The problem is described in that [issue](https://github.com/huggingface/datasets/issues/4895#issuecomment-1247975569).
> When I try to create data_infos.json using datasets-cli test Peter.py --save_infos --all_configs I get an error:
> ValueError: Unknown split "test". Should be one of ['train'].
>
> The data_i... | true | 2022-09-16T08:21:19Z | 2022-09-28T07:59:39Z | 2022-09-28T07:59:39Z | skalinin | NONE | null | null | 3 | 1 | 0 | 1 | null | false | [
"bug"
] | https://github.com/huggingface/datasets/issues/4982 | false | [
"@mariosasko could you help me with this issue? we've started the discussion from [here](https://github.com/huggingface/datasets/issues/4895#issuecomment-1248227130)",
"Hi again! Can you please pass the directory name containing the dataset script instead of the script name to `datasets-cli test`?",
"Yes, it wo... |
1,375,086,773 | 4,981 | Can't create a dataset with `float16` features | open | ## Describe the bug
I can't create a dataset with `float16` features.
I understand from the traceback that this is a `pyarrow` error, but I don't see anywhere in the `datasets` documentation about how to successfully do this. Is it actually supported? I've tried older versions of `pyarrow` as well with the same e... | true | 2022-09-15T21:03:24Z | 2025-06-12T11:47:42Z | null | dconathan | CONTRIBUTOR | null | null | 8 | 1 | 1 | 0 | null | false | [
"bug"
] | https://github.com/huggingface/datasets/issues/4981 | false | [
"Hi @dconathan, thanks for reporting.\r\n\r\nWe rely on Arrow as a backend, and as far as I know currently support for `float16` in Arrow is not fully implemented in Python (C++), hence the `ArrowNotImplementedError` you get.\r\n\r\nSee, e.g.: https://arrow.apache.org/docs/status.html?highlight=float16#data-types",... |
1,374,868,083 | 4,980 | Make `pyarrow` optional | closed | **Is your feature request related to a problem? Please describe.**
Is `pyarrow` really needed for every dataset?
**Describe the solution you'd like**
It is made optional.
**Describe alternatives you've considered**
Likely, no. | true | 2022-09-15T17:38:03Z | 2022-09-16T17:23:47Z | 2022-09-16T17:23:47Z | KOLANICH | NONE | null | null | 3 | 0 | 0 | 0 | null | false | [
"enhancement"
] | https://github.com/huggingface/datasets/issues/4980 | false | [
"The whole datasets library is pretty much a wrapper to pyarrow (just take a look at some of the source for a Dataset) https://github.com/huggingface/datasets/blob/51aef08ad7053c0bfe8f9a961207b26df15850d3/src/datasets/arrow_dataset.py#L639 \r\n\r\nI think removing the pyarrow dependency would involve a complete rew... |
1,374,820,758 | 4,979 | Fix missing tags in dataset cards | closed | Fix missing tags in dataset cards:
- amazon_us_reviews
- art
- discofuse
- indic_glue
- ubuntu_dialogs_corpus
This PR partially fixes the missing tags in dataset cards. Subsequent PRs will follow to complete this task.
Related to:
- #4833
- #4891
- #4896
- #4908
- #4921
- #4931 | true | 2022-09-15T16:51:03Z | 2022-09-22T12:37:55Z | 2022-09-15T17:12:09Z | albertvillanova | MEMBER | https://github.com/huggingface/datasets/pull/4979 | 2022-09-15T17:12:09Z | 1 | 0 | 0 | 0 | false | false | [] | https://github.com/huggingface/datasets/pull/4979 | true | [
"_The documentation is not available anymore as the PR was closed or merged._"
] |
1,374,271,504 | 4,978 | Update IndicGLUE download links | closed | true | 2022-09-15T10:05:57Z | 2022-09-15T22:00:20Z | 2022-09-15T21:57:34Z | sumanthd17 | CONTRIBUTOR | https://github.com/huggingface/datasets/pull/4978 | 2022-09-15T21:57:34Z | 1 | 0 | 0 | 0 | false | false | [] | https://github.com/huggingface/datasets/pull/4978 | true | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | |
1,372,962,157 | 4,977 | Providing dataset size | open | **Is your feature request related to a problem? Please describe.**
Especially for big datasets like [LAION](https://huggingface.co/datasets/laion/laion2B-en/), it's hard to know exactly the downloaded size (because there are many files and you don't have their exact size when downloaded).
**Describe the solution yo... | true | 2022-09-14T13:09:27Z | 2022-09-15T16:03:58Z | null | sashavor | CONTRIBUTOR | null | null | 3 | 2 | 2 | 0 | null | false | [
"enhancement"
] | https://github.com/huggingface/datasets/issues/4977 | false | [
"Hi @sashavor, thanks for your suggestion.\r\n\r\nUntil now we have the CLI command \r\n```\r\ndatasets-cli test datasets/<your-dataset-folder> --save_infos --all_configs\r\n```\r\nthat generates the `dataset_infos.json` with the size of the downloaded dataset, among other information.\r\n\r\nWe are currently in th... |
1,372,322,382 | 4,976 | Hope to adapt Python3.9 as soon as possible | open | **Is your feature request related to a problem? Please describe.**
A clear and concise description of what the problem is.
**Describe the solution you'd like**
A clear and concise description of what you want to happen.
**Describe alternatives you've considered**
A clear and concise description of any alternat... | true | 2022-09-14T04:42:22Z | 2022-09-26T16:32:35Z | null | RedHeartSecretMan | NONE | null | null | 3 | 0 | 0 | 0 | null | false | [
"enhancement"
] | https://github.com/huggingface/datasets/issues/4976 | false | [
"Hi! `datasets` should work in Python 3.9. What kind of issue have you encountered?",
"There is this related issue already: https://github.com/huggingface/datasets/issues/4113\r\nAnd I guess we need a CI job for 3.9 ^^",
"Perhaps we should report this issue in the `filelock` repo?"
] |
1,371,703,691 | 4,975 | Add `fn_kwargs` param to `IterableDataset.map` | closed | Add the `fn_kwargs` parameter to `IterableDataset.map`.
("Resolves" https://discuss.huggingface.co/t/how-to-use-large-image-text-datasets-in-hugging-face-hub-without-downloading-for-free/22780/3) | true | 2022-09-13T16:19:05Z | 2023-05-05T16:53:43Z | 2022-09-13T16:45:34Z | mariosasko | COLLABORATOR | https://github.com/huggingface/datasets/pull/4975 | 2022-09-13T16:45:34Z | 4 | 0 | 0 | 0 | false | false | [] | https://github.com/huggingface/datasets/pull/4975 | true | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Thank you for adding this fix! \r\n\r\nWould it be possible to get `fn_kwargs` added to `IterableDatasetDict.map` as well? It looks like a very similar problem, and hopefully shouldn't be a huge change. \r\n",
"Hi @brianhill11! htt... |
1,371,682,020 | 4,974 | [GH->HF] Part 2: Remove all dataset scripts from github | closed | Now that all the datasets live on the Hub we can remove the /datasets directory that contains all the dataset scripts of this repository
- [x] Needs https://github.com/huggingface/datasets/pull/4973 to be merged first
- [x] and PR to be enabled on the Hub for non-namespaced datasets | true | 2022-09-13T16:01:12Z | 2022-10-03T17:09:39Z | 2022-10-03T17:07:32Z | lhoestq | MEMBER | https://github.com/huggingface/datasets/pull/4974 | 2022-10-03T17:07:32Z | 6 | 0 | 0 | 0 | false | false | [] | https://github.com/huggingface/datasets/pull/4974 | true | [
"_The documentation is not available anymore as the PR was closed or merged._",
"So this means metrics will be deleted from this repo in favor of the \"evaluate\" library? Maybe you guys could just redirect metrics to that library.",
"We are deprecating the metrics in `datasets` indeed and suggest users to swit... |
1,371,600,074 | 4,973 | [GH->HF] Load datasets from the Hub | closed | Currently datasets with no namespace (e.g. squad, glue) are loaded from github.
In this PR I changed this logic to use the Hugging Face Hub instead.
This is the first step in removing all the dataset scripts in this repository
related to discussions in https://github.com/huggingface/datasets/pull/4059 (I shoul... | true | 2022-09-13T15:01:41Z | 2023-09-24T10:06:02Z | 2022-09-15T15:24:26Z | lhoestq | MEMBER | https://github.com/huggingface/datasets/pull/4973 | null | 2 | 1 | 0 | 1 | true | false | [] | https://github.com/huggingface/datasets/pull/4973 | true | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Duplicate of:\r\n- #4059"
] |
1,371,443,306 | 4,972 | Fix map batched with torch output | closed | Reported in https://discuss.huggingface.co/t/typeerror-when-applying-map-after-set-format-type-torch/23067/2
Currently it fails if one uses batched `map` and the map function returns a torch tensor.
I fixed it for torch, tf, jax and pandas series. | true | 2022-09-13T13:16:34Z | 2022-09-20T09:42:02Z | 2022-09-20T09:39:33Z | lhoestq | MEMBER | https://github.com/huggingface/datasets/pull/4972 | 2022-09-20T09:39:33Z | 1 | 0 | 0 | 0 | false | false | [] | https://github.com/huggingface/datasets/pull/4972 | true | [
"_The documentation is not available anymore as the PR was closed or merged._"
] |
1,370,319,516 | 4,971 | Preserve non-`input_colums` in `Dataset.map` if `input_columns` are specified | closed | Currently, if the `input_columns` list in `Dataset.map` is specified, the columns not in that list are dropped after the `map` transform.
This makes the behavior inconsistent with `IterableDataset.map`.
(It seems this issue was introduced by mistake in https://github.com/huggingface/datasets/pull/2246)
Fix h... | true | 2022-09-12T18:08:24Z | 2022-09-13T13:51:08Z | 2022-09-13T13:48:45Z | mariosasko | COLLABORATOR | https://github.com/huggingface/datasets/pull/4971 | 2022-09-13T13:48:44Z | 1 | 0 | 0 | 0 | false | false | [] | https://github.com/huggingface/datasets/pull/4971 | true | [
"_The documentation is not available anymore as the PR was closed or merged._"
] |
1,369,433,074 | 4,970 | Support streaming nli_tr dataset | closed | Support streaming nli_tr dataset.
This PR removes legacy `codecs.open` and replaces it with `open` that supports passing encoding.
Fix #3186. | true | 2022-09-12T07:48:45Z | 2022-09-12T08:45:04Z | 2022-09-12T08:43:08Z | albertvillanova | MEMBER | https://github.com/huggingface/datasets/pull/4970 | 2022-09-12T08:43:08Z | 1 | 0 | 0 | 0 | false | false | [] | https://github.com/huggingface/datasets/pull/4970 | true | [
"_The documentation is not available anymore as the PR was closed or merged._"
] |
1,369,334,740 | 4,969 | Fix data URL and metadata of vivos dataset | closed | After contacting the authors of the VIVOS dataset to report that their data server is down, we have received a reply from Hieu-Thi Luong that their data is now hosted on Zenodo: https://doi.org/10.5281/zenodo.7068130
This PR updates their data URL and some metadata (homepage, citation and license).
Fix #4936. | true | 2022-09-12T06:12:34Z | 2022-09-12T07:16:15Z | 2022-09-12T07:14:19Z | albertvillanova | MEMBER | https://github.com/huggingface/datasets/pull/4969 | 2022-09-12T07:14:19Z | 1 | 0 | 0 | 0 | false | false | [] | https://github.com/huggingface/datasets/pull/4969 | true | [
"_The documentation is not available anymore as the PR was closed or merged._"
] |
1,369,312,877 | 4,968 | Support streaming compguesswhat dataset | closed | Support streaming `compguesswhat` dataset.
Fix #3191. | true | 2022-09-12T05:42:24Z | 2022-09-12T08:00:06Z | 2022-09-12T07:58:06Z | albertvillanova | MEMBER | https://github.com/huggingface/datasets/pull/4968 | 2022-09-12T07:58:06Z | 1 | 0 | 0 | 0 | false | false | [] | https://github.com/huggingface/datasets/pull/4968 | true | [
"_The documentation is not available anymore as the PR was closed or merged._"
] |
1,369,092,452 | 4,967 | Strip "/" in local dataset path to avoid empty dataset name error | closed | true | 2022-09-11T23:09:16Z | 2022-09-29T10:46:21Z | 2022-09-12T15:30:38Z | apohllo | CONTRIBUTOR | https://github.com/huggingface/datasets/pull/4967 | 2022-09-12T15:30:38Z | 2 | 0 | 0 | 0 | false | false | [] | https://github.com/huggingface/datasets/pull/4967 | true | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Cool :-)"
] | |
1,368,661,002 | 4,965 | [Apple M1] MemoryError: Cannot allocate write+execute memory for ffi.callback() | closed | ## Describe the bug
I'm trying to run `cast_column("audio", Audio())` on Apple M1 Pro, but it seems that it doesn't work.
## Steps to reproduce the bug
```python
import datasets
dataset = load_dataset("csv", data_files="./train.csv")["train"]
dataset = dataset.map(lambda x: {"audio": str(DATA_DIR / "audio" / ... | true | 2022-09-10T15:55:49Z | 2024-03-21T17:25:53Z | 2023-07-21T14:45:50Z | hoangtnm | NONE | null | null | 6 | 1 | 1 | 0 | null | false | [
"bug"
] | https://github.com/huggingface/datasets/issues/4965 | false | [
"Hi! This seems like a bug in `soundfile`. Could you please open an issue in their repo? `soundfile` works without any issues on my M1, so I'm not sure we can help.",
"Hi @mariosasko, can you share how you installed `soundfile` on your mac M1?",
"Hi @hoangtnm - I upgraded to python 3.10 and it fixed the proble... |
1,368,617,322 | 4,964 | Column of arrays (2D+) are using unreasonably high memory | open | ## Describe the bug
When trying to store `Array2D, Array3D, etc` as column values in a dataset, accessing that column (or creating depending on how you create it, see code below) will cause more than 10 fold of memory usage.
## Steps to reproduce the bug
```python
from datasets import Dataset, Features, Array2D, ... | true | 2022-09-10T13:07:22Z | 2022-09-22T18:29:22Z | null | vigsterkr | CONTRIBUTOR | null | null | 10 | 1 | 1 | 0 | null | false | [
"bug"
] | https://github.com/huggingface/datasets/issues/4964 | false | [
"note i have tried the same code with `datasets` version 2.4.0, the outcome is the very same as described above.",
"Seems related to issues #4623 and #4802 so it would appear this issue has been around for a few months.",
"Hi ! `Dataset.from_dict` keeps the data in memory. You can write on disk and reload them ... |
1,368,201,188 | 4,963 | Dataset without script does not support regular JSON data file | closed | ### Link
https://huggingface.co/datasets/julien-c/label-studio-my-dogs
### Description
<img width="1115" alt="image" src="https://user-images.githubusercontent.com/326577/189422048-7e9c390f-bea7-4521-a232-43f049ccbd1f.png">
### Owner
Yes | true | 2022-09-09T18:45:33Z | 2022-09-20T15:40:07Z | 2022-09-20T15:40:07Z | julien-c | MEMBER | null | null | 1 | 0 | 0 | 0 | null | false | [] | https://github.com/huggingface/datasets/issues/4963 | false | [
"Hi @julien-c,\r\n\r\nOut of the box, we only support JSON lines (NDJSON) data files, but your data file is a regular JSON file. The reason is we use `pyarrow.json.read_json` and this only supports line-delimited JSON. "
] |
1,368,155,365 | 4,962 | Update setup.py | closed | exclude broken version of fsspec. See the [related issue](https://github.com/huggingface/datasets/issues/4961) | true | 2022-09-09T17:57:56Z | 2022-09-12T14:33:04Z | 2022-09-12T14:33:04Z | DCNemesis | NONE | https://github.com/huggingface/datasets/pull/4962 | null | 2 | 0 | 0 | 0 | false | false | [] | https://github.com/huggingface/datasets/pull/4962 | true | [
"Before addressing this PR, we should be sure about the issue. See my comment in:\r\n- https://github.com/huggingface/datasets/issues/4961#issuecomment-1243376247",
"Once we know 2022.8.2 works, I'm closing this PR, as the corresponding issue."
] |
1,368,124,033 | 4,961 | fsspec 2022.8.2 breaks xopen in streaming mode | closed | ## Describe the bug
When fsspec 2022.8.2 is installed in your environment, xopen will prematurely close files, making streaming mode inoperable.
## Steps to reproduce the bug
```python
import datasets
data = datasets.load_dataset('MLCommons/ml_spoken_words', 'id_wav', split='train', streaming=True)
```
... | true | 2022-09-09T17:26:55Z | 2022-09-12T17:45:50Z | 2022-09-12T14:32:05Z | DCNemesis | NONE | null | null | 6 | 0 | 0 | 0 | null | false | [
"bug"
] | https://github.com/huggingface/datasets/issues/4961 | false | [
"loading `fsspec==2022.7.1` fixes this issue, setup.py would need to be changed to prevent users from using the latest version of fsspec.",
"Opened [PR](https://github.com/huggingface/datasets/pull/4962) to address this.",
"Hi @DCNemesis, thanks for reporting.\r\n\r\nThat was a temporary issue in `fsspec` relea... |
1,368,035,159 | 4,960 | BioASQ AttributeError: 'BuilderConfig' object has no attribute 'schema' | open | ## Describe the bug
I am trying to load a dataset from drive and running into an error.
## Steps to reproduce the bug
```python
data_dir = "/Users/dlituiev/repos/datasets/bioasq/BioASQ-training9b"
bioasq_task_b = load_dataset("aps/bioasq_task_b", data_dir=data_dir)
```
## Actual results
`AttributeError: ... | true | 2022-09-09T16:06:43Z | 2022-09-13T08:51:03Z | null | DSLituiev | NONE | null | null | 2 | 0 | 0 | 0 | null | false | [
"dataset bug"
] | https://github.com/huggingface/datasets/issues/4960 | false | [
"Following worked:\r\n\r\n```\r\ndata_dir = \"/Users/dlituiev/repos/datasets/bioasq/\"\r\nbioasq_task_b = load_dataset(\"aps/bioasq_task_b\", data_dir=data_dir, name=\"bioasq_9b_source\")\r\n```\r\n\r\nWould maintainers be open to one of the following:\r\n- automating this with a latest default config (e.g. `bioas... |
1,367,924,429 | 4,959 | Fix data URLs of compguesswhat dataset | closed | After we informed the `compguesswhat` dataset authors about an error with their data URLs, they have updated them:
- https://github.com/CompGuessWhat/compguesswhat.github.io/issues/1
This PR updates their data URLs in our loading script.
Related to:
- #3191 | true | 2022-09-09T14:36:10Z | 2022-09-09T16:01:34Z | 2022-09-09T15:59:04Z | albertvillanova | MEMBER | https://github.com/huggingface/datasets/pull/4959 | 2022-09-09T15:59:04Z | 1 | 0 | 0 | 0 | false | false | [] | https://github.com/huggingface/datasets/pull/4959 | true | [
"_The documentation is not available anymore as the PR was closed or merged._"
] |
1,367,695,376 | 4,958 | ConnectionError: Couldn't reach https://raw.githubusercontent.com/huggingface/datasets/2.4.0/datasets/jsonl/jsonl.py | closed | Hi,
When I use load_dataset from local jsonl files, below error happens, and I type the link into the browser prompting me `404: Not Found`. I download the other `.py` files using the same method and it works. It seems that the server is missing the appropriate file, or it is a problem with the code version.
```
C... | true | 2022-09-09T11:29:55Z | 2022-09-09T11:38:44Z | 2022-09-09T11:38:44Z | hasakikiki | NONE | null | null | 1 | 0 | 0 | 0 | null | false | [
"bug"
] | https://github.com/huggingface/datasets/issues/4958 | false | [
"I have solved this problem... The extension of the file should be `.json` not `.jsonl`"
] |
1,366,532,849 | 4,957 | Add `Dataset.from_generator` | closed | Add `Dataset.from_generator` to the API to allow creating datasets from data larger than RAM. The implementation relies on a packaged module not exposed in `load_dataset` to tie this method with `datasets`' caching mechanism.
Closes https://github.com/huggingface/datasets/issues/4417 | true | 2022-09-08T15:08:25Z | 2022-09-16T14:46:35Z | 2022-09-16T14:44:18Z | mariosasko | COLLABORATOR | https://github.com/huggingface/datasets/pull/4957 | 2022-09-16T14:44:18Z | 3 | 2 | 0 | 2 | false | false | [] | https://github.com/huggingface/datasets/pull/4957 | true | [
"I restarted the builder PR job just in case",
"_The documentation is not available anymore as the PR was closed or merged._",
"CI is now green. https://github.com/huggingface/doc-builder/pull/296 explains why it failed."
] |
1,366,475,160 | 4,956 | Fix TF tests for 2.10 | closed | Fixes #4953 | true | 2022-09-08T14:39:10Z | 2022-09-08T15:16:51Z | 2022-09-08T15:14:44Z | Rocketknight1 | MEMBER | https://github.com/huggingface/datasets/pull/4956 | 2022-09-08T15:14:44Z | 1 | 0 | 0 | 0 | false | false | [] | https://github.com/huggingface/datasets/pull/4956 | true | [
"_The documentation is not available anymore as the PR was closed or merged._"
] |
1,366,382,314 | 4,955 | Raise a more precise error when the URL is unreachable in streaming mode | open | See for example:
- https://github.com/huggingface/datasets/issues/3191
- https://github.com/huggingface/datasets/issues/3186
It would help provide clearer information on the Hub and help the dataset maintainer solve the issue by themselves quicker. Currently:
- https://huggingface.co/datasets/compguesswhat
... | true | 2022-09-08T13:52:37Z | 2022-09-08T13:53:36Z | null | severo | COLLABORATOR | null | null | 0 | 0 | 0 | 0 | null | false | [
"enhancement"
] | https://github.com/huggingface/datasets/issues/4955 | false | [] |
1,366,369,682 | 4,954 | Pin TensorFlow temporarily | closed | Temporarily fix TensorFlow until a permanent solution is found.
Related to:
- #4953 | true | 2022-09-08T13:46:15Z | 2022-09-08T14:12:33Z | 2022-09-08T14:10:03Z | albertvillanova | MEMBER | https://github.com/huggingface/datasets/pull/4954 | 2022-09-08T14:10:03Z | 1 | 0 | 0 | 0 | false | false | [] | https://github.com/huggingface/datasets/pull/4954 | true | [
"_The documentation is not available anymore as the PR was closed or merged._"
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.