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,078,598,140
3,425
Getting configs names takes too long
open
## Steps to reproduce the bug ```python from datasets import get_dataset_config_names get_dataset_config_names("allenai/c4") ``` ## Expected results I would expect to get the answer quickly, at least in less than 10s ## Actual results It takes about 45s on my environment ## Environment info - `dat...
true
2021-12-13T14:27:57Z
2021-12-13T14:53:33Z
null
severo
COLLABORATOR
null
null
3
0
0
0
null
false
[ "bug" ]
https://github.com/huggingface/datasets/issues/3425
false
[ "maybe related to https://github.com/huggingface/datasets/issues/2859\r\n", "It looks like it's currently calling `HfFileSystem.ls()` ~8 times at the root and for each subdirectory:\r\n- \"\"\r\n- \"en.noblocklist\"\r\n- \"en.noclean\"\r\n- \"en\"\r\n- \"multilingual\"\r\n- \"realnewslike\"\r\n\r\nCurrently `ls` ...
1,078,543,625
3,424
Add RedCaps dataset
closed
Add the RedCaps dataset. I'm not adding the generated `dataset_infos.json` file for now due to its size (11 MB). TODOs: - [x] dummy data - [x] dataset card Close #3316
true
2021-12-13T13:38:13Z
2022-01-12T14:13:16Z
2022-01-12T14:13:15Z
mariosasko
COLLABORATOR
https://github.com/huggingface/datasets/pull/3424
2022-01-12T14:13:15Z
2
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/3424
true
[ "Cool ! If you want you can include `dataset_infos.json` but only for the main configurations. That's what we do for example for translation datasets when there are too many configs", "@lhoestq I've added an example that uses `map` to download the images." ]
1,078,049,638
3,423
data duplicate when setting num_works > 1 with streaming data
closed
## Describe the bug The data is repeated num_works times when we load_dataset with streaming and set num_works > 1 when construct dataloader ## Steps to reproduce the bug ```python # Sample code to reproduce the bug import pandas as pd import numpy as np import os from datasets import load_dataset from tor...
true
2021-12-13T03:43:17Z
2022-12-14T16:04:22Z
2022-12-14T16:04:22Z
cloudyuyuyu
NONE
null
null
14
4
4
0
null
false
[ "bug", "streaming" ]
https://github.com/huggingface/datasets/issues/3423
false
[ "Hi ! Thanks for reporting :)\r\n\r\nWhen using a PyTorch's data loader with `num_workers>1` and an iterable dataset, each worker streams the exact same data by default, resulting in duplicate data when iterating using the data loader.\r\n\r\nWe can probably fix this in `datasets` by checking `torch.utils.data.get_...
1,078,022,619
3,422
Error about load_metric
closed
## Describe the bug File "/opt/conda/lib/python3.8/site-packages/datasets/load.py", line 1371, in load_metric metric = metric_cls( TypeError: 'NoneType' object is not callable ## Steps to reproduce the bug ```python metric = load_metric("glue", "sst2") ``` ## Environment info - `datasets` version: ...
true
2021-12-13T02:49:51Z
2022-01-07T14:06:47Z
2022-01-07T14:06:47Z
jiacheng-ye
NONE
null
null
1
0
0
0
null
false
[ "bug" ]
https://github.com/huggingface/datasets/issues/3422
false
[ "Hi ! I wasn't able to reproduce your error.\r\n\r\nCan you try to clear your cache at `~/.cache/huggingface/modules` and try again ?" ]
1,077,966,571
3,421
Adding mMARCO dataset
closed
Adding mMARCO (v1.1) to HF datasets.
true
2021-12-13T00:56:43Z
2022-10-03T09:37:15Z
2022-10-03T09:37:15Z
lhbonifacio
NONE
https://github.com/huggingface/datasets/pull/3421
null
7
0
0
0
false
false
[ "dataset contribution" ]
https://github.com/huggingface/datasets/pull/3421
true
[ "Hi @albertvillanova we've made a major overhaul of the loading script including all configurations we're making available. Could you please review it again?", "@albertvillanova :ping_pong: ", "Thanks @lhbonifacio for adding this dataset.\r\nHi there, i got an error about mmarco:\r\nConnectionError: Couldn't re...
1,077,913,468
3,420
Add eli5_category dataset
closed
This pull request adds a categorized Long-form question answering dataset `ELI5_Category`. It's a new variant of the [ELI5](https://huggingface.co/datasets/eli5) dataset that uses the Reddit tags to alleviate the training/validation overlapping in the origin ELI5 dataset. A [report](https://celeritasml.netlify.app/p...
true
2021-12-12T21:30:45Z
2021-12-14T17:53:03Z
2021-12-14T17:53:02Z
jingshenSN2
CONTRIBUTOR
https://github.com/huggingface/datasets/pull/3420
2021-12-14T17:53:02Z
1
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/3420
true
[ "> Thanks a lot for adding this dataset ! Good job with the dataset card and the dataset scripts - they're really good :)\r\n> \r\n> I just added minor changes\r\n\r\nThanks for fixing typos!" ]
1,077,350,974
3,419
`.to_json` is extremely slow after `.select`
open
## Describe the bug Saving a dataset to JSON with `to_json` is extremely slow after using `.select` on the original dataset. ## Steps to reproduce the bug ```python from datasets import load_dataset original = load_dataset("squad", split="train") original.to_json("from_original.json") # Takes 0 seconds se...
true
2021-12-11T01:36:31Z
2021-12-21T15:49:07Z
null
eladsegal
CONTRIBUTOR
null
null
6
0
0
0
null
false
[ "bug" ]
https://github.com/huggingface/datasets/issues/3419
false
[ "Hi ! It's slower indeed because a datasets on which `select`/`shard`/`train_test_split`/`shuffle` has been called has to do additional steps to retrieve the data of the dataset table in the right order.\r\n\r\nIndeed, if you call `dataset.select([0, 5, 10])`, the underlying table of the dataset is not altered to k...
1,077,053,296
3,418
Add Wikisource dataset
closed
Add loading script for Wikisource dataset. Fix #3399. CC: @geohci, @yjernite
true
2021-12-10T17:04:44Z
2022-10-04T09:35:56Z
2022-10-03T09:37:20Z
albertvillanova
MEMBER
https://github.com/huggingface/datasets/pull/3418
null
1
0
0
0
false
false
[ "dataset contribution" ]
https://github.com/huggingface/datasets/pull/3418
true
[ "As we are removing the dataset scripts from GitHub and moving them to the Hugging Face Hub, I am going to transfer this script to the repo: https://huggingface.co/datasets/wikimedia/wikisource" ]
1,076,943,343
3,417
Fix type of bridge field in QED
closed
Use `Value("string")` instead of `Value("bool")` for the feature type of the `"bridge"` field in the QED dataset. If the value is `False`, set to `None`. The following paragraph in the QED repo explains the purpose of this field: >Each annotation in referential_equalities is a pair of spans, the question_reference ...
true
2021-12-10T15:07:21Z
2021-12-14T14:39:06Z
2021-12-14T14:39:05Z
mariosasko
COLLABORATOR
https://github.com/huggingface/datasets/pull/3417
2021-12-14T14:39:05Z
0
1
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/3417
true
[]
1,076,868,771
3,416
disaster_response_messages unavailable
closed
## Dataset viewer issue for '* disaster_response_messages*' **Link:** https://huggingface.co/datasets/disaster_response_messages Dataset unavailable. Link dead: https://datasets.appen.com/appen_datasets/disaster_response_data/disaster_response_messages_training.csv Am I the one who added this dataset ?No
true
2021-12-10T13:49:17Z
2021-12-14T14:38:29Z
2021-12-14T14:38:29Z
sacdallago
NONE
null
null
1
0
0
0
null
false
[ "dataset-viewer" ]
https://github.com/huggingface/datasets/issues/3416
false
[ "Hi, thanks for reporting! This is a duplicate of https://github.com/huggingface/datasets/issues/3240. We are working on a fix.\r\n\r\n" ]
1,076,472,534
3,415
Non-deterministic tests: CI tests randomly fail
closed
## Describe the bug Some CI tests fail randomly. 1. In https://github.com/huggingface/datasets/pull/3375/commits/c10275fe36085601cb7bdb9daee9a8f1fc734f48, there were 3 failing tests, only on Linux: ``` =========================== short test summary info ============================ FAILED tests/test_str...
true
2021-12-10T06:08:59Z
2022-03-31T16:38:51Z
2022-03-31T16:38:51Z
albertvillanova
MEMBER
null
null
2
0
0
0
null
false
[ "bug" ]
https://github.com/huggingface/datasets/issues/3415
false
[ "I think it might come from two different issues:\r\n1. Google Drive is an unreliable host, mainly because of quota limitations\r\n2. the staging environment can sometimes raise some errors\r\n\r\nFor Google Drive tests we could set up some retries with backup URLs if necessary I guess.\r\nFor staging on the other ...
1,076,028,998
3,414
Skip None encoding (line deleted by accident in #3195)
closed
Return the line deleted by accident in #3195 while [resolving merge conflicts](https://github.com/huggingface/datasets/pull/3195/commits/8b0ed15be08559056b817836a07d47acda0c4510). Fix #3181 (finally :))
true
2021-12-09T21:17:33Z
2021-12-10T11:00:03Z
2021-12-10T11:00:02Z
mariosasko
COLLABORATOR
https://github.com/huggingface/datasets/pull/3414
2021-12-10T11:00:02Z
0
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/3414
true
[]
1,075,854,325
3,413
Add WIDER FACE dataset
closed
Adds the WIDER FACE face detection benchmark. TODOs: * [x] dataset card * [x] dummy data
true
2021-12-09T18:03:38Z
2022-01-12T14:13:47Z
2022-01-12T14:13:47Z
mariosasko
COLLABORATOR
https://github.com/huggingface/datasets/pull/3413
2022-01-12T14:13:47Z
0
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/3413
true
[]
1,075,846,368
3,412
Fix flaky test again for s3 serialization
closed
Following https://github.com/huggingface/datasets/pull/3388 that wasn't enough (see CI error [here](https://app.circleci.com/pipelines/github/huggingface/datasets/9080/workflows/b971fb27-ff20-4220-9416-c19acdfdf6f4/jobs/55985))
true
2021-12-09T17:54:41Z
2021-12-09T18:00:52Z
2021-12-09T18:00:52Z
lhoestq
MEMBER
https://github.com/huggingface/datasets/pull/3412
2021-12-09T18:00:52Z
0
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/3412
true
[]
1,075,846,272
3,411
[chinese wwm] load_datasets behavior not as expected when using run_mlm_wwm.py script
open
## Describe the bug Model I am using (Bert, XLNet ...): bert-base-chinese The problem arises when using: * [https://github.com/huggingface/transformers/blob/master/examples/research_projects/mlm_wwm/run_mlm_wwm.py] the official example scripts: `rum_mlm_wwm.py` The tasks I am working on is: pretraining whole ...
true
2021-12-09T17:54:35Z
2021-12-22T11:21:33Z
null
hyusterr
NONE
null
null
2
0
0
0
null
false
[ "bug" ]
https://github.com/huggingface/datasets/issues/3411
false
[ "@LysandreJik not so sure who to @\r\nCould you help?", "Hi @hyusterr, I believe it is @wlhgtc from https://github.com/huggingface/transformers/pull/9887" ]
1,075,815,415
3,410
Fix dependencies conflicts in Windows CI after conda update to 4.11
closed
For some reason the CI wasn't using python 3.6 but python 3.7 after the update to conda 4.11
true
2021-12-09T17:19:11Z
2021-12-09T17:36:20Z
2021-12-09T17:36:19Z
lhoestq
MEMBER
https://github.com/huggingface/datasets/pull/3410
2021-12-09T17:36:19Z
0
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/3410
true
[]
1,075,684,593
3,409
Pass new_fingerprint in multiprocessing
closed
Following https://github.com/huggingface/datasets/pull/3045 Currently one can pass `new_fingerprint` to `.map()` to use a custom fingerprint instead of the one computed by hashing the map transform. However it's ignored if `num_proc>1`. In this PR I fixed that by passing `new_fingerprint` to `._map_single()` when...
true
2021-12-09T15:12:00Z
2022-08-19T10:41:04Z
2021-12-09T17:38:43Z
lhoestq
MEMBER
https://github.com/huggingface/datasets/pull/3409
2021-12-09T17:38:43Z
2
2
0
2
false
false
[]
https://github.com/huggingface/datasets/pull/3409
true
[ "@lhoestq Hi~, does this support that `datasets.map(func, batched=True, batch_size, num_proc>1, new_fingerprint=\"func_v1\")` even if `func` can't pickle. I also notice that you said \"Unfortunately you need picklable mapping functions to make multiprocessing work :confused: Also feel free to open an issue or send ...
1,075,642,915
3,408
Typo in Dataset viewer error message
closed
## Dataset viewer issue for '*name of the dataset*' **Link:** *link to the dataset viewer page* *short description of the issue* When creating an empty dataset repo, the Dataset Preview provides a helpful message that no files were found. There is a tiny typo in that message: "ressource" should be "resource" ...
true
2021-12-09T14:34:02Z
2021-12-22T11:02:53Z
2021-12-22T11:02:53Z
lewtun
MEMBER
null
null
1
0
0
0
null
false
[ "dataset-viewer" ]
https://github.com/huggingface/datasets/issues/3408
false
[ "Fixed, thanks\r\n<img width=\"661\" alt=\"Capture d’écran 2021-12-22 à 12 02 30\" src=\"https://user-images.githubusercontent.com/1676121/147082881-cf700e8d-0511-4431-b214-d6cf8137db10.png\">\r\n" ]
1,074,502,225
3,407
Use max number of data files to infer module
closed
When inferring the module for datasets without script, set a maximum number of iterations over data files. This PR fixes the issue of taking too long when hundred of data files present. Please, feel free to agree on both numbers: ``` # Datasets without script DATA_FILES_MAX_NUMBER = 10 ARCHIVED_DATA_FILES_MAX...
true
2021-12-08T14:58:43Z
2021-12-14T17:08:42Z
2021-12-14T17:08:42Z
albertvillanova
MEMBER
https://github.com/huggingface/datasets/pull/3407
2021-12-14T17:08:41Z
1
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/3407
true
[ "Cool thanks :) Feel free to merge if it's all good for you" ]
1,074,366,050
3,406
Fix module inference for archive with a directory
closed
Fix module inference for an archive file that contains files within a directory. Fix #3405.
true
2021-12-08T12:39:12Z
2021-12-08T13:03:30Z
2021-12-08T13:03:29Z
albertvillanova
MEMBER
https://github.com/huggingface/datasets/pull/3406
2021-12-08T13:03:28Z
0
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/3406
true
[]
1,074,360,362
3,405
ZIP format inference does not work when files located in a dir inside the archive
closed
## Describe the bug When a zipped file contains archived files within a directory, the function `infer_module_for_data_files_in_archives` does not work. It only works for files located in the root directory of the ZIP file. ## Steps to reproduce the bug ```python infer_module_for_data_files_in_archives(["path/...
true
2021-12-08T12:32:15Z
2021-12-08T13:03:29Z
2021-12-08T13:03:29Z
albertvillanova
MEMBER
null
null
0
0
0
0
null
false
[ "bug" ]
https://github.com/huggingface/datasets/issues/3405
false
[]
1,073,657,561
3,404
Optimize ZIP format inference
closed
**Is your feature request related to a problem? Please describe.** When hundreds of ZIP files are present in a dataset, format inference takes too long. See: https://github.com/bigscience-workshop/data_tooling/issues/232#issuecomment-986685497 **Describe the solution you'd like** Iterate over a maximum number o...
true
2021-12-07T18:44:49Z
2021-12-14T17:08:41Z
2021-12-14T17:08:41Z
albertvillanova
MEMBER
null
null
0
0
0
0
null
false
[ "enhancement" ]
https://github.com/huggingface/datasets/issues/3404
false
[]
1,073,622,120
3,403
Cannot import name 'maybe_sync'
closed
## Describe the bug Cannot seem to import datasets when running run_summarizer.py script on a VM set up on ovhcloud ## Steps to reproduce the bug ```python from datasets import load_dataset ``` ## Expected results No error ## Actual results Traceback (most recent call last): File "<stdin>", line 1, in...
true
2021-12-07T17:57:59Z
2021-12-17T07:00:35Z
2021-12-17T07:00:35Z
KMFODA
CONTRIBUTOR
null
null
4
0
0
0
null
false
[ "bug" ]
https://github.com/huggingface/datasets/issues/3403
false
[ "Hi ! Can you try updating `fsspec` ? The minimum version is `2021.05.0`", "hey @lhoestq. I'm using `fsspec-2021.11.1` but still getting that error.", "Maybe this discussion can help:\r\n\r\nhttps://github.com/fsspec/filesystem_spec/issues/597#issuecomment-958646964", "Thanks @lhoestq. Downgrading `fsspec and...
1,073,614,815
3,402
More robust first elem check in encode/cast example
closed
Fix #3306
true
2021-12-07T17:48:16Z
2021-12-08T13:02:16Z
2021-12-08T13:02:15Z
mariosasko
COLLABORATOR
https://github.com/huggingface/datasets/pull/3402
2021-12-08T13:02:15Z
0
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/3402
true
[]
1,073,603,508
3,401
Add Wikimedia pre-processed datasets
closed
## Adding a Dataset - **Name:** Add pre-processed data to: - *wikimedia/wikipedia*: https://huggingface.co/datasets/wikimedia/wikipedia - *wikimedia/wikisource*: https://huggingface.co/datasets/wikimedia/wikisource - **Description:** Add pre-processed data to the Hub for all languages - **Paper:** *link to the...
true
2021-12-07T17:33:19Z
2024-10-09T16:10:47Z
2024-10-09T16:10:47Z
albertvillanova
MEMBER
null
null
1
0
0
0
null
false
[ "dataset request" ]
https://github.com/huggingface/datasets/issues/3401
false
[ "As we are planning to stop using Apache Beam (our `datasets.BeamBasedBuilder`) for the generation of some datasets (including [Wikipedia](https://huggingface.co/datasets/wikipedia/blob/main/wikipedia.py)), I have been working on [wikimedia/wikipedia](https://huggingface.co/datasets/wikimedia/wikipedia) to:\r\n- Po...
1,073,600,382
3,400
Improve Wikipedia loading script
closed
As reported by @geohci, the "wikipedia" processing/loading script could be improved by some additional small suggested processing functions: - _extract_content(filepath): - Replace .startswith("#redirect") with more structured approach: if elem.find(f"./{namespace}redirect") is None: continue - _parse_and_clean_wi...
true
2021-12-07T17:29:25Z
2022-03-22T16:52:28Z
2022-03-22T16:52:28Z
albertvillanova
MEMBER
null
null
2
0
0
0
null
false
[ "dataset request" ]
https://github.com/huggingface/datasets/issues/3400
false
[ "Thanks! See https://public.paws.wmcloud.org/User:Isaac_(WMF)/HuggingFace%20Wikipedia%20Processing.ipynb for more implementation details / some data around the overhead induced by adding the extra preprocessing steps (stripping link prefixes and magic words)", "Closed by:\r\n- #3435" ]
1,073,593,861
3,399
Add Wikisource dataset
closed
## Adding a Dataset - **Name:** *wikisource* - **Description:** *short description of the dataset (or link to social media or blog post)* - **Paper:** *link to the dataset paper if available* - **Data:** *link to the Github repository or current dataset location* - **Motivation:** Additional high quality textual d...
true
2021-12-07T17:21:31Z
2024-10-09T16:11:27Z
2024-10-09T16:11:26Z
albertvillanova
MEMBER
null
null
2
0
0
0
null
false
[ "dataset request" ]
https://github.com/huggingface/datasets/issues/3399
false
[ "See notebook by @geohci: https://public.paws.wmcloud.org/User:Isaac_(WMF)/HuggingFace%20Wikisource%20Processing.ipynb", "See: https://huggingface.co/datasets/wikimedia/wikisource" ]
1,073,590,384
3,398
Add URL field to Wikimedia dataset instances: wikipedia,...
closed
As reported by @geohci, in order to host pre-processed data in the Hub, we should add the full URL to data instances (new field "url"), so that we conform to proper attribution from license requirement. See, e.g.: https://fair-trec.github.io/docs/Fair_Ranking_2021_Participant_Instructions.pdf#subsection.3.2 This sho...
true
2021-12-07T17:17:27Z
2022-03-22T16:53:27Z
2022-03-22T16:53:27Z
albertvillanova
MEMBER
null
null
5
0
0
0
null
false
[ "dataset request" ]
https://github.com/huggingface/datasets/issues/3398
false
[ "@geohci, I think the field \"url\" does not appear in the Wikimedia dumps. Therefore I guess we should generate it, using the \"title\" field and making some transformation of it (replacing spaces with underscores) and prepending the domain (created using the language)?", "Indeed:\r\n\r\n> To re-distribute text ...
1,073,502,444
3,397
add BNL newspapers
closed
This pull request adds the BNL's [processed newspaper collections](https://data.bnl.lu/data/historical-newspapers/) as a dataset. This is partly done to support BigScience see: https://github.com/bigscience-workshop/data_tooling/issues/192. The Datacard is more sparse than I would like but I plan to make a separate...
true
2021-12-07T15:43:21Z
2022-01-17T18:35:34Z
2022-01-17T18:35:34Z
davanstrien
MEMBER
https://github.com/huggingface/datasets/pull/3397
2022-01-17T18:35:34Z
9
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/3397
true
[ "\r\n> Also, maybe calling the dataset as \"bnl_historical_newspapers\" and setting \"processed\" as one configuration name?\r\n\r\nThis sounds like a good idea but my only question around this is how easy it would be to use the same approach for processing the other newspaper collections [https://data.bnl.lu/data/...
1,073,467,183
3,396
Install Audio dependencies to support audio decoding
closed
## Dataset viewer issue for '*openslr*', '*projecte-aina/parlament_parla*' **Link:** *https://huggingface.co/datasets/openslr* **Link:** *https://huggingface.co/datasets/projecte-aina/parlament_parla* Error: ``` Status code: 400 Exception: ImportError Message: To support decoding audio files, ple...
true
2021-12-07T15:11:36Z
2022-04-25T16:12:22Z
2022-04-25T16:12:01Z
albertvillanova
MEMBER
null
null
5
0
0
0
null
false
[ "dataset-viewer", "audio_column" ]
https://github.com/huggingface/datasets/issues/3396
false
[ "https://huggingface.co/datasets/projecte-aina/parlament_parla -> works (but we still have to show an audio player)\r\n\r\nhttps://huggingface.co/datasets/openslr -> another issue: `Message: [Errno 2] No such file or directory: '/home/hf/datasets-preview-backend/zip:/asr_javanese/data/00/00004fe6aa.flac'`", ...
1,073,432,650
3,395
Fix formatting in IterableDataset.map docs
closed
Fix formatting in the recently added `Map` section of the streaming docs.
true
2021-12-07T14:41:01Z
2021-12-08T10:11:33Z
2021-12-08T10:11:33Z
mariosasko
COLLABORATOR
https://github.com/huggingface/datasets/pull/3395
2021-12-08T10:11:32Z
0
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/3395
true
[]
1,073,396,308
3,394
Preserve all feature types when saving a dataset on the Hub with `push_to_hub`
closed
Currently, if one of the dataset features is of type `ClassLabel`, saving the dataset with `push_to_hub` and reloading the dataset with `load_dataset` will return the feature of type `Value`. To fix this, we should do something similar to `save_to_disk` (which correctly preserves the types) and not only push the parque...
true
2021-12-07T14:08:30Z
2021-12-21T17:00:09Z
2021-12-21T17:00:09Z
mariosasko
COLLABORATOR
null
null
2
2
2
0
null
false
[ "bug" ]
https://github.com/huggingface/datasets/issues/3394
false
[ "According to this [comment in the forum](https://discuss.huggingface.co/t/save-datasetdict-to-huggingface-hub/12075/8?u=lhoestq), using `push_to_hub` on a dataset with `ClassLabel` can also make the feature simply disappear when it's reloaded !", "Maybe we can also fix https://github.com/huggingface/datasets/iss...
1,073,189,777
3,393
Common Voice Belarusian Dataset
open
## Adding a Dataset - **Name:** *Common Voice Belarusian Dataset* - **Description:** *[commonvoice.mozilla.org/be](https://commonvoice.mozilla.org/be)* - **Data:** *[commonvoice.mozilla.org/be/datasets](https://commonvoice.mozilla.org/be/datasets)* - **Motivation:** *It has more than 7GB of data, so it will be grea...
true
2021-12-07T10:37:02Z
2021-12-09T15:56:03Z
null
wiedymi
NONE
null
null
0
1
0
0
null
false
[ "dataset request", "speech" ]
https://github.com/huggingface/datasets/issues/3393
false
[]
1,073,073,408
3,392
Dataset viewer issue for `dansbecker/hackernews_hiring_posts`
closed
## Dataset viewer issue for `dansbecker/hackernews_hiring_posts` **Link:** https://huggingface.co/datasets/dansbecker/hackernews_hiring_posts *short description of the issue* Dataset preview not showing for uploaded DatasetDict. See https://discuss.huggingface.co/t/dataset-preview-not-showing-for-uploaded-data...
true
2021-12-07T08:41:01Z
2021-12-07T14:04:28Z
2021-12-07T14:04:28Z
severo
COLLABORATOR
null
null
1
0
0
0
null
false
[ "dataset-viewer" ]
https://github.com/huggingface/datasets/issues/3392
false
[ "This issue was fixed by me calling `all_datasets.push_to_hub(\"hackernews_hiring_posts\")`.\r\n\r\nThe previous problems were from calling `all_datasets.save_to_disk` and then pushing with `my_repo.git_add` and `my_repo.push_to_hub`.\r\n" ]
1,072,849,055
3,391
method to select columns
closed
**Is your feature request related to a problem? Please describe.** * There is currently no way to select some columns of a dataset. In pandas, one can use `df[['col1', 'col2']]` to select columns, but in `datasets`, it results in error. **Describe the solution you'd like** * A new method that can be used to cr...
true
2021-12-07T02:44:19Z
2021-12-07T02:45:27Z
2021-12-07T02:45:27Z
changjonathanc
CONTRIBUTOR
null
null
1
0
0
0
null
false
[ "enhancement" ]
https://github.com/huggingface/datasets/issues/3391
false
[ "duplicate of #2655" ]
1,072,462,456
3,390
Loading dataset throws "KeyError: 'Field "builder_name" does not exist in table schema'"
closed
## Describe the bug I have prepared dataset to datasets and now I am trying to load it back Finnish-NLP/voxpopuli_fi I get "KeyError: 'Field "builder_name" does not exist in table schema'" My dataset folder and files should be like @patrickvonplaten has here https://huggingface.co/datasets/flax-community/german-c...
true
2021-12-06T18:22:49Z
2021-12-06T20:22:05Z
2021-12-06T20:22:05Z
R4ZZ3
NONE
null
null
1
0
0
0
null
false
[ "bug" ]
https://github.com/huggingface/datasets/issues/3390
false
[ "Got solved it with push_to_hub, closing" ]
1,072,191,865
3,389
Add EDGAR
open
## Adding a Dataset - **Name:** EDGAR Database - **Description:** https://www.sec.gov/edgar/about EDGAR, the Electronic Data Gathering, Analysis, and Retrieval system, is the primary system for companies and others submitting documents under the Securities Act of 1933, the Securities Exchange Act of 1934, the Trust I...
true
2021-12-06T14:06:11Z
2022-10-05T10:40:22Z
null
philschmid
CONTRIBUTOR
null
null
2
0
0
0
null
false
[ "dataset request" ]
https://github.com/huggingface/datasets/issues/3389
false
[ "cc @juliensimon ", "Datasets are not tracked in this repository anymore. But you can make your own dataset in the huggingface hub" ]
1,072,022,021
3,388
Fix flaky test of the temporary directory used by load_from_disk
closed
The test is flaky, here is an example of random CI failure: https://github.com/huggingface/datasets/commit/73ed6615b4b3eb74d5311684f7b9e05cdb76c989 I fixed that by not checking the content of the random part of the temporary directory name
true
2021-12-06T11:09:31Z
2021-12-06T11:25:03Z
2021-12-06T11:24:49Z
lhoestq
MEMBER
https://github.com/huggingface/datasets/pull/3388
2021-12-06T11:24:49Z
1
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/3388
true
[ "CI failed because of a server error - merging" ]
1,071,836,456
3,387
Create Language Modeling task
closed
Create Language Modeling task to be able to specify the input "text" column in a dataset. This can be useful for datasets which are not exclusively used for language modeling and have more than one column: - for text classification datasets (with columns "review" and "rating", for example), the Language Modeling ta...
true
2021-12-06T07:56:07Z
2021-12-17T17:18:28Z
2021-12-17T17:18:27Z
albertvillanova
MEMBER
https://github.com/huggingface/datasets/pull/3387
2021-12-17T17:18:27Z
0
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/3387
true
[]
1,071,813,141
3,386
Fix typos in dataset cards
closed
This PR: - Fix typos in dataset cards - Fix Papers With Code ID for: - Bilingual Corpus of Arabic-English Parallel Tweets - Tweets Hate Speech Detection - Add pretty name tags
true
2021-12-06T07:20:40Z
2021-12-06T09:30:55Z
2021-12-06T09:30:54Z
albertvillanova
MEMBER
https://github.com/huggingface/datasets/pull/3386
2021-12-06T09:30:54Z
0
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/3386
true
[]
1,071,742,310
3,385
None batched `with_transform`, `set_transform`
open
**Is your feature request related to a problem? Please describe.** A `torch.utils.data.Dataset.__getitem__` operates on a single example. But 🤗 `Datasets.with_transform` doesn't seem to allow non-batched transform. **Describe the solution you'd like** Have a `batched=True` argument in `Datasets.with_transfor...
true
2021-12-06T05:20:54Z
2022-01-17T15:25:01Z
null
changjonathanc
CONTRIBUTOR
null
null
3
0
0
0
null
false
[ "enhancement" ]
https://github.com/huggingface/datasets/issues/3385
false
[ "Hi ! Thanks for the suggestion :)\r\nIt makes sense to me, and it can surely be implemented by wrapping the user's function to make it a batched function. However I'm not a big fan of the inconsistency it would create with `map`: `with_transform` is batched by default while `map` isn't.\r\n\r\nIs there something y...
1,071,594,165
3,384
Adding mMARCO dataset
closed
We are adding mMARCO dataset to HuggingFace datasets repo. This way, all the languages covered in the translation are available in a easy way.
true
2021-12-05T23:59:11Z
2021-12-12T15:27:36Z
2021-12-12T15:27:36Z
lhbonifacio
NONE
https://github.com/huggingface/datasets/pull/3384
null
0
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/3384
true
[]
1,071,551,884
3,383
add Georgian data in cc100.
closed
update cc100 dataset to support loading Georgian (ka) data which is originally available in CC100 dataset source. All tests are passed. Dummy data generated. metadata generated.
true
2021-12-05T20:38:09Z
2021-12-14T14:37:23Z
2021-12-14T14:37:22Z
AnzorGozalishvili
CONTRIBUTOR
https://github.com/huggingface/datasets/pull/3383
2021-12-14T14:37:22Z
0
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/3383
true
[]
1,071,293,299
3,382
#3337 Add typing overloads to Dataset.__getitem__ for mypy
closed
Add typing overloads to Dataset.__getitem__ for mypy Fixes #3337 **Iterable** Iterable from `collections` cannot have a type, so you can't do `Iterable[int]` for example. `typing` has a Generic version that builds upon the one from `collections`. **Flake8** I had to add `# noqa: F811`, this is a bug from Fl...
true
2021-12-04T20:54:49Z
2021-12-14T10:28:55Z
2021-12-14T10:28:55Z
Dref360
CONTRIBUTOR
https://github.com/huggingface/datasets/pull/3382
2021-12-14T10:28:54Z
2
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/3382
true
[ "Locally the `make quality` passes with the same dependencies. I would suggest upgrading flake8. (I can take care of it in another PR)\r\ncc @lhoestq ", "Thank you for fixing flake8! I think we are ready to merge then. " ]
1,071,283,879
3,381
Unable to load audio_features from common_voice dataset
closed
## Describe the bug I am not able to load audio features from common_voice dataset ## Steps to reproduce the bug ``` from datasets import load_dataset import torchaudio test_dataset = load_dataset("common_voice", "hi", split="test[:2%]") resampler = torchaudio.transforms.Resample(48_000, 16_000) def spe...
true
2021-12-04T19:59:11Z
2021-12-06T17:52:42Z
2021-12-06T17:52:42Z
ashu5644
NONE
null
null
3
0
0
0
null
false
[ "bug" ]
https://github.com/huggingface/datasets/issues/3381
false
[ "Hi ! Feel free to access `batch[\"audio\"][\"array\"]` and `batch[\"audio\"][\"sampling_rate\"]` instead\r\n\r\n`datasets` 1.16 introduced some changes in `common_voice` and now the `path` field is no longer a path to a local file (but rather the path to the file in the archive it's extracted from)", "Thanks for...
1,071,166,270
3,380
[Quick poll] Give your opinion on the future of the Hugging Face Open Source ecosystem!
closed
Thanks to all of you, `datasets` will pass 11.5k stars :star2: this week! If you have a couple of minutes and want to participate in shaping the future of the ecosystem, please share your thoughts: [**hf.co/oss-survey**](https://hf.co/oss-survey) (please reply in the above feedback form rather than to this th...
true
2021-12-04T09:18:33Z
2022-01-11T12:29:53Z
2022-01-11T12:29:53Z
LysandreJik
MEMBER
null
null
0
5
0
3
null
false
[]
https://github.com/huggingface/datasets/issues/3380
false
[]
1,071,079,146
3,379
iter_archive on zipfiles with better compression type check
closed
Hello @lhoestq , thank you for your detailed answer on previous PR ! I made this new PR because I misused git on the previous one #3347. Related issue #3272. # Comments : * For extension check I used the `_get_extraction_protocol` function in **download_manager.py** with a slight change and called it `_get_e...
true
2021-12-04T01:04:48Z
2023-01-24T13:00:19Z
2023-01-24T12:53:08Z
Mehdi2402
CONTRIBUTOR
https://github.com/huggingface/datasets/pull/3379
2023-01-24T12:53:08Z
10
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/3379
true
[ "Hello @lhoestq, thank you for your answer.\r\n\r\nI don't use pytest a lot so I think I might need some help on it :) but I tried some tests for `streaming_download_manager.py` only. I don't know how to test `download_manager.py` since we need to use local files.\r\n\r\n# Comments : \r\n* In **download_manager.py*...
1,070,580,126
3,378
Add The Pile subsets
closed
Add The Pile subsets: - pubmed - ubuntu_irc - europarl - hacker_news - nih_exporter Close bigscience-workshop/data_tooling#301. CC: @StellaAthena
true
2021-12-03T13:14:54Z
2021-12-09T18:11:25Z
2021-12-09T18:11:23Z
albertvillanova
MEMBER
https://github.com/huggingface/datasets/pull/3378
2021-12-09T18:11:23Z
0
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/3378
true
[]
1,070,562,907
3,377
COCO 🥥 on the 🤗 Hub?
closed
This is a draft PR since I ran into few small problems. I referred to this TFDS code: https://github.com/tensorflow/datasets/blob/2538a08c184d53b37bfcf52cc21dd382572a88f4/tensorflow_datasets/object_detection/coco.py cc: @mariosasko
true
2021-12-03T12:55:27Z
2021-12-20T14:14:01Z
2021-12-20T14:14:00Z
merveenoyan
CONTRIBUTOR
https://github.com/huggingface/datasets/pull/3377
null
4
1
0
0
true
false
[]
https://github.com/huggingface/datasets/pull/3377
true
[ "@mariosasko I fixed couple of bugs", "TO-DO: \r\n- [x] Add unlabeled 2017 splits, train and validation splits of 2015\r\n- [x] Add Class Labels as list instead", "@mariosasko added fine & coarse grained labels, will fix the bugs (currently getting set up with VM, my internet is too slow to run the tests and do...
1,070,522,979
3,376
Update clue benchmark
closed
Fix #3374
true
2021-12-03T12:06:01Z
2021-12-08T14:14:42Z
2021-12-08T14:14:41Z
mariosasko
COLLABORATOR
https://github.com/huggingface/datasets/pull/3376
2021-12-08T14:14:41Z
1
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/3376
true
[ "The CI error is due to missing tags in the CLUE dataset card - merging !" ]
1,070,454,913
3,375
Support streaming zipped dataset repo by passing only repo name
closed
Proposed solution: - I have added the method `iter_files` to DownloadManager and StreamingDownloadManager - I use this in modules: "csv", "json", "text" - I test for CSV/JSONL/TXT zipped (and non-zipped) files, both in streaming and non-streaming modes Fix #3373.
true
2021-12-03T10:43:05Z
2021-12-16T18:03:32Z
2021-12-16T18:03:31Z
albertvillanova
MEMBER
https://github.com/huggingface/datasets/pull/3375
2021-12-16T18:03:31Z
6
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/3375
true
[ "I just tested and I think this only opens one file ? If there are several files in the ZIP, only the first one is opened. To open several files from a ZIP, one has to call `open` several times.\r\n\r\nWhat about updating the CSV loader to make it `download_and_extract` zip files, and open each extracted file ?", ...
1,070,426,462
3,374
NonMatchingChecksumError for the CLUE:cluewsc2020, chid, c3 and tnews
closed
Hi, it seems like there are updates in cluewsc2020, chid, c3 and tnews, since i could not load them due to the checksum error.
true
2021-12-03T10:10:54Z
2021-12-08T14:14:41Z
2021-12-08T14:14:41Z
Namco0816
NONE
null
null
2
0
0
0
null
false
[]
https://github.com/huggingface/datasets/issues/3374
false
[ "Seems like the issue still exists,:\r\n`Downloading and preparing dataset clue/chid (download: 127.15 MiB, generated: 259.71 MiB, post-processed: Unknown size, total: 386.86 MiB) to /mnt/cache/tanhaochen/.cache/huggingface/datasets/clue/chid/1.0.0/e55b490cb7809dcd8db31b9a87119f2e2ec87cdc060da8a9ac070b070ca3e379......
1,070,406,391
3,373
Support streaming zipped CSV dataset repo by passing only repo name
closed
Given a community 🤗 dataset repository containing only a zipped CSV file (only raw data, no loading script), I would like to load it in streaming mode without passing `data_files`: ``` ds_name = "bigscience-catalogue-data/vietnamese_poetry_from_fsoft_ai_lab" ds = load_dataset(ds_name, split="train", streaming=True,...
true
2021-12-03T09:48:24Z
2021-12-16T18:03:31Z
2021-12-16T18:03:31Z
albertvillanova
MEMBER
null
null
0
0
0
0
null
false
[ "enhancement" ]
https://github.com/huggingface/datasets/issues/3373
false
[]
1,069,948,178
3,372
[SEO improvement] Add Dataset Metadata to make datasets indexable
closed
Some people who host datasets on github seem to include a table of metadata at the end of their README.md to make the dataset indexable by [Google Dataset Search](https://datasetsearch.research.google.com/) (See [here](https://github.com/google-research/google-research/tree/master/goemotions#dataset-metadata) and [here...
true
2021-12-02T20:21:07Z
2022-03-18T09:36:48Z
2022-03-18T09:36:48Z
cakiki
CONTRIBUTOR
null
null
0
0
0
0
null
false
[ "enhancement" ]
https://github.com/huggingface/datasets/issues/3372
false
[]
1,069,821,335
3,371
New: Americas NLI dataset
closed
This PR adds the [Americas NLI](https://arxiv.org/abs/2104.08726) dataset, extension of XNLI to 10 low-resource indigenous languages spoken in the Americas: Ashaninka, Aymara, Bribri, Guarani, Nahuatl, Otomi, Quechua, Raramuri, Shipibo-Konibo, and Wixarika. One odd thing (not sure) is that I had to set `datasets-...
true
2021-12-02T17:44:59Z
2021-12-08T13:58:12Z
2021-12-08T13:58:11Z
fdschmidt93
CONTRIBUTOR
https://github.com/huggingface/datasets/pull/3371
2021-12-08T13:58:11Z
0
1
0
1
false
false
[]
https://github.com/huggingface/datasets/pull/3371
true
[]
1,069,735,423
3,370
Document a training loop for streaming dataset
closed
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...
true
2021-12-02T16:17:00Z
2021-12-03T13:34:35Z
2021-12-03T13:34:34Z
lhoestq
MEMBER
https://github.com/huggingface/datasets/pull/3370
2021-12-03T13:34:34Z
0
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/3370
true
[]
1,069,587,674
3,369
[Audio] Allow resampling for audio datasets in streaming mode
closed
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...
true
2021-12-02T14:04:57Z
2021-12-16T15:55:19Z
2021-12-16T15:55:19Z
patrickvonplaten
CONTRIBUTOR
null
null
2
1
1
0
null
false
[ "enhancement" ]
https://github.com/huggingface/datasets/issues/3369
false
[ "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...
1,069,403,624
3,368
Fix dict source_datasets tagset validator
closed
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`
true
2021-12-02T10:52:20Z
2021-12-02T15:48:38Z
2021-12-02T15:48:37Z
albertvillanova
MEMBER
https://github.com/huggingface/datasets/pull/3368
2021-12-02T15:48:37Z
0
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/3368
true
[]
1,069,241,274
3,367
Fix typo in other-structured-to-text task tag
closed
Fix typo in task tag: - `other-stuctured-to-text` (before) - `other-structured-to-text` (now)
true
2021-12-02T08:02:27Z
2021-12-02T16:07:14Z
2021-12-02T16:07:13Z
albertvillanova
MEMBER
https://github.com/huggingface/datasets/pull/3367
2021-12-02T16:07:13Z
0
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/3367
true
[]
1,069,214,022
3,366
Add multimodal datasets
open
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...
true
2021-12-02T07:24:04Z
2023-02-28T16:29:22Z
null
albertvillanova
MEMBER
null
null
0
2
0
0
null
false
[ "dataset request" ]
https://github.com/huggingface/datasets/issues/3366
false
[]
1,069,195,887
3,365
Add task tags for multimodal datasets
closed
## **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...
true
2021-12-02T06:58:20Z
2023-07-25T18:21:33Z
2023-07-25T18:21:32Z
albertvillanova
MEMBER
null
null
1
3
3
0
null
false
[ "enhancement" ]
https://github.com/huggingface/datasets/issues/3365
false
[ "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." ]
1,068,851,196
3,364
Use the Audio feature in the AutomaticSpeechRecognition template
closed
This updates the ASR template and all supported datasets to use the `Audio` feature
true
2021-12-01T20:42:26Z
2022-03-24T14:34:09Z
2022-03-24T14:34:08Z
anton-l
MEMBER
https://github.com/huggingface/datasets/pull/3364
null
4
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/3364
true
[ "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...
1,068,824,340
3,363
Update URL of Jeopardy! dataset
closed
Updates the URL of the Jeopardy! dataset. Fix #3361
true
2021-12-01T20:08:10Z
2022-10-06T13:45:49Z
2021-12-03T12:35:01Z
mariosasko
COLLABORATOR
https://github.com/huggingface/datasets/pull/3363
null
2
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/3363
true
[ "Closing this PR in favor of #3266.", "I think you should also close this branch" ]
1,068,809,768
3,362
Adapt image datasets
closed
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
true
2021-12-01T19:52:01Z
2021-12-09T18:37:42Z
2021-12-09T18:37:41Z
mariosasko
COLLABORATOR
https://github.com/huggingface/datasets/pull/3362
2021-12-09T18:37:41Z
3
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/3362
true
[ "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` ...
1,068,736,268
3,361
Jeopardy _URL access denied
closed
## 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...
true
2021-12-01T18:21:33Z
2021-12-11T12:50:23Z
2021-12-06T11:16:31Z
tianjianjiang
CONTRIBUTOR
null
null
1
0
0
0
null
false
[ "bug" ]
https://github.com/huggingface/datasets/issues/3361
false
[ "Just a side note: duplicate #3264" ]
1,068,724,697
3,360
Add The Pile USPTO subset
closed
Add: - USPTO subset of The Pile: "uspto" config Close bigscience-workshop/data_tooling#297. CC: @StellaAthena
true
2021-12-01T18:08:05Z
2021-12-03T11:45:29Z
2021-12-03T11:45:28Z
albertvillanova
MEMBER
https://github.com/huggingface/datasets/pull/3360
2021-12-03T11:45:27Z
0
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/3360
true
[]
1,068,638,213
3,359
Add The Pile Free Law subset
closed
Add: - Free Law subset of The Pile: "free_law" config Close bigscience-workshop/data_tooling#75. CC: @StellaAthena
true
2021-12-01T16:46:04Z
2021-12-06T10:12:17Z
2021-12-01T17:30:44Z
albertvillanova
MEMBER
https://github.com/huggingface/datasets/pull/3359
2021-12-01T17:30:43Z
3
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/3359
true
[ "@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...
1,068,623,216
3,358
add new field, and get errors
closed
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', '...
true
2021-12-01T16:35:38Z
2021-12-02T02:26:22Z
2021-12-02T02:26:22Z
PatricYan
NONE
null
null
2
0
0
0
null
false
[]
https://github.com/huggingface/datasets/issues/3358
false
[ "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." ]
1,068,607,382
3,357
Update languages in aeslc dataset card
closed
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).
true
2021-12-01T16:20:46Z
2022-09-23T13:16:49Z
2022-09-23T13:16:49Z
apergo-ai
CONTRIBUTOR
https://github.com/huggingface/datasets/pull/3357
2022-09-23T13:16:48Z
0
0
0
0
false
false
[ "dataset contribution" ]
https://github.com/huggingface/datasets/pull/3357
true
[]
1,068,503,932
3,356
to_tf_dataset() refactor
closed
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...
true
2021-12-01T14:54:30Z
2021-12-09T10:26:53Z
2021-12-09T10:26:53Z
Rocketknight1
MEMBER
https://github.com/huggingface/datasets/pull/3356
2021-12-09T10:26:53Z
5
3
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/3356
true
[ "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...
1,068,468,573
3,355
Extend support for streaming datasets that use pd.read_excel
closed
This PR fixes error: ``` ValueError: Cannot seek streaming HTTP file ``` CC: @severo
true
2021-12-01T14:22:43Z
2021-12-17T07:24:19Z
2021-12-17T07:24:18Z
albertvillanova
MEMBER
https://github.com/huggingface/datasets/pull/3355
2021-12-17T07:24:18Z
1
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/3355
true
[ "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...
1,068,307,271
3,354
Remove duplicate name from dataset cards
closed
Remove duplicate name from dataset card for: - ajgt_twitter_ar - emotone_ar
true
2021-12-01T11:45:40Z
2021-12-01T13:14:30Z
2021-12-01T13:14:29Z
albertvillanova
MEMBER
https://github.com/huggingface/datasets/pull/3354
2021-12-01T13:14:29Z
0
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/3354
true
[]
1,068,173,783
3,353
add one field "example_id", but I can't see it in the "comput_loss" function
closed
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], ..., ...
true
2021-12-01T09:35:09Z
2021-12-01T16:02:39Z
2021-12-01T16:02:39Z
PatricYan
NONE
null
null
7
0
0
0
null
false
[]
https://github.com/huggingface/datasets/issues/3353
false
[ "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...
1,068,102,994
3,352
Make LABR dataset streamable
closed
Fix LABR dataset to make it streamable. Related to: #3350.
true
2021-12-01T08:22:27Z
2021-12-01T10:49:02Z
2021-12-01T10:49:01Z
albertvillanova
MEMBER
https://github.com/huggingface/datasets/pull/3352
2021-12-01T10:49:01Z
0
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/3352
true
[]
1,068,094,873
3,351
Add VCTK dataset
closed
Fixes #1837.
true
2021-12-01T08:13:17Z
2022-02-28T09:22:03Z
2021-12-28T15:05:08Z
jaketae
CONTRIBUTOR
https://github.com/huggingface/datasets/pull/3351
2021-12-28T15:05:07Z
9
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/3351
true
[ "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...
1,068,078,160
3,350
Avoid content-encoding issue while streaming datasets
closed
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
true
2021-12-01T07:56:48Z
2021-12-01T08:15:01Z
2021-12-01T08:15:00Z
albertvillanova
MEMBER
https://github.com/huggingface/datasets/pull/3350
2021-12-01T08:15:00Z
0
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/3350
true
[]
1,067,853,601
3,349
raise exception instead of using assertions.
closed
fix for the remaining files https://github.com/huggingface/datasets/issues/3171
true
2021-12-01T01:37:51Z
2021-12-20T16:07:27Z
2021-12-20T16:07:27Z
manisnesan
CONTRIBUTOR
https://github.com/huggingface/datasets/pull/3349
2021-12-20T16:07:27Z
6
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/3349
true
[ "@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...
1,067,831,113
3,348
BLEURT: Match key names to correspond with filename
closed
In order to properly locate downloaded ckpt files key name needs to match filename. Correcting change introduced in #3235
true
2021-12-01T01:01:18Z
2021-12-07T16:06:57Z
2021-12-07T16:06:57Z
jaehlee
CONTRIBUTOR
https://github.com/huggingface/datasets/pull/3348
2021-12-07T16:06:57Z
3
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/3348
true
[ "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...
1,067,738,902
3,347
iter_archive for zip files
closed
* 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 ...
true
2021-11-30T22:34:17Z
2021-12-04T00:22:22Z
2021-12-04T00:22:11Z
Mehdi2402
CONTRIBUTOR
https://github.com/huggingface/datasets/pull/3347
null
1
1
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/3347
true
[ "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...
1,067,632,365
3,346
Failed to convert `string` with pyarrow for QED since 1.15.0
closed
## 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") ``` ## ...
true
2021-11-30T20:11:42Z
2021-12-14T14:39:05Z
2021-12-14T14:39:05Z
tianjianjiang
CONTRIBUTOR
null
null
2
0
0
0
null
false
[ "bug" ]
https://github.com/huggingface/datasets/issues/3346
false
[ "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...
1,067,622,951
3,345
Failed to download species_800 from Google Drive zip file
closed
## 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" ...
true
2021-11-30T20:00:28Z
2021-12-01T17:53:15Z
2021-12-01T17:53:15Z
tianjianjiang
CONTRIBUTOR
null
null
3
0
0
0
null
false
[ "bug" ]
https://github.com/huggingface/datasets/issues/3345
false
[ "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...
1,067,567,603
3,344
Add ArrayXD docs
closed
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 :)
true
2021-11-30T18:53:31Z
2021-12-01T20:16:03Z
2021-12-01T19:35:32Z
stevhliu
MEMBER
https://github.com/huggingface/datasets/pull/3344
2021-12-01T19:35:32Z
0
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/3344
true
[]
1,067,505,507
3,343
Better error message when download fails
closed
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 ...
true
2021-11-30T17:38:50Z
2021-12-01T11:27:59Z
2021-12-01T11:27:58Z
lhoestq
MEMBER
https://github.com/huggingface/datasets/pull/3343
2021-12-01T11:27:58Z
0
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/3343
true
[]
1,067,481,390
3,342
Fix ASSET dataset data URLs
closed
Change the branch name "master" to "main" in the data URLs, since facebookresearch has changed that.
true
2021-11-30T17:13:30Z
2021-12-14T14:50:00Z
2021-12-14T14:50:00Z
tianjianjiang
CONTRIBUTOR
https://github.com/huggingface/datasets/pull/3342
2021-12-14T14:50:00Z
1
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/3342
true
[ "> 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" ]
1,067,449,569
3,341
Mirror the canonical datasets to the Hugging Face Hub
closed
- [ ] 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.
true
2021-11-30T16:42:05Z
2022-01-26T14:47:37Z
2022-01-26T14:47:37Z
severo
COLLABORATOR
null
null
2
2
2
0
null
false
[ "enhancement" ]
https://github.com/huggingface/datasets/issues/3341
false
[ "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, ...
1,067,292,636
3,340
Fix JSON ClassLabel casting for integers
closed
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...
true
2021-11-30T14:19:54Z
2021-12-01T11:27:30Z
2021-12-01T11:27:30Z
lhoestq
MEMBER
https://github.com/huggingface/datasets/pull/3340
2021-12-01T11:27:30Z
0
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/3340
true
[]
1,066,662,477
3,339
to_tf_dataset fails on TPU
open
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...
true
2021-11-30T00:50:52Z
2021-12-02T14:21:27Z
null
nbroad1881
NONE
null
null
5
1
1
0
null
false
[ "bug" ]
https://github.com/huggingface/datasets/issues/3339
false
[ "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...
1,066,371,235
3,338
[WIP] Add doctests for tutorials
closed
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 ...
true
2021-11-29T18:40:46Z
2023-05-05T17:18:20Z
2023-05-05T17:18:15Z
stevhliu
MEMBER
https://github.com/huggingface/datasets/pull/3338
null
1
0
0
0
true
false
[]
https://github.com/huggingface/datasets/pull/3338
true
[ "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...
1,066,232,936
3,337
Typing of Dataset.__getitem__ could be improved.
closed
## 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...
true
2021-11-29T16:20:11Z
2021-12-14T10:28:54Z
2021-12-14T10:28:54Z
Dref360
CONTRIBUTOR
null
null
2
1
0
1
null
false
[ "bug" ]
https://github.com/huggingface/datasets/issues/3337
false
[ "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 ...
1,066,208,436
3,336
Add support for multiple dynamic dimensions and to_pandas conversion for dynamic arrays
closed
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 * [ ...
true
2021-11-29T15:58:59Z
2023-09-24T09:53:52Z
2023-05-16T18:24:46Z
mariosasko
COLLABORATOR
https://github.com/huggingface/datasets/pull/3336
null
0
0
0
0
true
false
[]
https://github.com/huggingface/datasets/pull/3336
true
[]
1,066,064,126
3,335
add Speech commands dataset
closed
closes #3283
true
2021-11-29T13:52:47Z
2021-12-10T10:37:21Z
2021-12-10T10:30:15Z
polinaeterna
CONTRIBUTOR
https://github.com/huggingface/datasets/pull/3335
2021-12-10T10:30:15Z
11
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/3335
true
[ "@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...
1,065,983,923
3,334
Integrate Polars library
closed
Check potential integration of the Polars library: https://github.com/pola-rs/polars - Benchmark: https://h2oai.github.io/db-benchmark/ CC: @thomwolf @lewtun
true
2021-11-29T12:31:54Z
2024-08-31T05:31:28Z
2024-08-31T05:31:27Z
albertvillanova
MEMBER
null
null
8
15
7
8
null
false
[ "enhancement" ]
https://github.com/huggingface/datasets/issues/3334
false
[ "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...
1,065,346,919
3,333
load JSON files, get the errors
closed
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 = ...
true
2021-11-28T14:29:58Z
2021-12-01T09:34:31Z
2021-12-01T03:57:48Z
PatricYan
NONE
null
null
12
0
0
0
null
false
[]
https://github.com/huggingface/datasets/issues/3333
false
[ "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...
1,065,345,853
3,332
Fix error message and add extension fallback
closed
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...
true
2021-11-28T14:25:29Z
2021-11-29T13:34:15Z
2021-11-29T13:34:14Z
mariosasko
COLLABORATOR
https://github.com/huggingface/datasets/pull/3332
2021-11-29T13:34:14Z
0
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/3332
true
[]
1,065,275,896
3,331
AttributeError: 'CommunityDatasetModuleFactoryWithoutScript' object has no attribute 'path'
closed
## 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...
true
2021-11-28T08:54:05Z
2021-11-29T13:49:44Z
2021-11-29T13:34:14Z
luozhouyang
NONE
null
null
1
0
0
0
null
false
[ "bug" ]
https://github.com/huggingface/datasets/issues/3331
false
[ "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```" ]
1,065,176,619
3,330
Change TriviaQA license (#3313)
closed
Fixes (#3313)
true
2021-11-28T03:26:45Z
2021-11-29T11:24:21Z
2021-11-29T11:24:21Z
avinashsai
CONTRIBUTOR
https://github.com/huggingface/datasets/pull/3330
2021-11-29T11:24:21Z
0
0
0
0
false
false
[]
https://github.com/huggingface/datasets/pull/3330
true
[]
1,065,096,971
3,329
Map function: Type error on iter #999
closed
## 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 ...
true
2021-11-27T17:53:05Z
2021-11-29T20:40:15Z
2021-11-29T20:40:15Z
josephkready666
NONE
null
null
4
0
0
0
null
false
[ "bug" ]
https://github.com/huggingface/datasets/issues/3329
false
[ "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 ...
1,065,015,262
3,328
Quick fix error formatting
closed
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}`. ``...
true
2021-11-27T11:47:48Z
2021-11-29T13:32:42Z
2021-11-29T13:32:42Z
NouamaneTazi
MEMBER
https://github.com/huggingface/datasets/pull/3328
2021-11-29T13:32:42Z
0
1
1
0
false
false
[]
https://github.com/huggingface/datasets/pull/3328
true
[]
1,064,675,888
3,327
"Shape of query is incorrect, it has to be either a 1D array or 2D (1, N)"
closed
## 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...
true
2021-11-26T16:26:36Z
2021-11-26T16:44:11Z
2021-11-26T16:44:11Z
eliasws
CONTRIBUTOR
null
null
1
0
0
0
null
false
[ "bug" ]
https://github.com/huggingface/datasets/issues/3327
false
[ "#3323 " ]
1,064,664,479
3,326
Fix import `datasets` on python 3.10
closed
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
true
2021-11-26T16:10:00Z
2021-11-26T16:31:23Z
2021-11-26T16:31:23Z
lhoestq
MEMBER
https://github.com/huggingface/datasets/pull/3326
2021-11-26T16:31:23Z
0
1
1
0
false
false
[]
https://github.com/huggingface/datasets/pull/3326
true
[]