html_url
stringlengths
51
51
comments
stringlengths
67
24.7k
title
stringlengths
6
280
body
stringlengths
51
36.2k
comment_length
int64
16
1.45k
text
stringlengths
190
38.3k
embeddings
list
https://github.com/huggingface/datasets/issues/4796
> Any update on this? I'm still facing this issure. Any workaround? I was able to resolve my issue with a quick workaround: ``` from collections import defaultdict from datasets import Dataset data = defaultdict(list) for idx in tqdm(range( len(dataloader)),desc="Captioning..."): img = dataloader[id...
ArrowInvalid: Could not convert <PIL.Image.Image image mode=RGB when adding image to Dataset
## Describe the bug When adding a Pillow image to an existing Dataset on the hub, `add_item` fails due to the Pillow image not being automatically converted into the Image feature. ## Steps to reproduce the bug ```python from datasets import load_dataset from PIL import Image dataset = load_dataset("hf-inte...
72
ArrowInvalid: Could not convert <PIL.Image.Image image mode=RGB when adding image to Dataset ## Describe the bug When adding a Pillow image to an existing Dataset on the hub, `add_item` fails due to the Pillow image not being automatically converted into the Image feature. ## Steps to reproduce the bug ```pyth...
[ -0.21556317806243896, -0.37681543827056885, -0.0035931095480918884, 0.1794268935918808, 0.040330007672309875, 0.04593657702207565, 0.24427920579910278, 0.3055110573768616, -0.30004507303237915, 0.07468105852603912, 0.11448858678340912, 0.7439552545547485, -0.05820818990468979, -0.119697213...
https://github.com/huggingface/datasets/issues/4796
> > Any update on this? I'm still facing this issure. Any workaround? > > I was able to resolve my issue with a quick workaround: > > ``` > from collections import defaultdict > from datasets import Dataset > > data = defaultdict(list) > for idx in tqdm(range( len(dataloader)),desc="Captioning..."): > ...
ArrowInvalid: Could not convert <PIL.Image.Image image mode=RGB when adding image to Dataset
## Describe the bug When adding a Pillow image to an existing Dataset on the hub, `add_item` fails due to the Pillow image not being automatically converted into the Image feature. ## Steps to reproduce the bug ```python from datasets import load_dataset from PIL import Image dataset = load_dataset("hf-inte...
96
ArrowInvalid: Could not convert <PIL.Image.Image image mode=RGB when adding image to Dataset ## Describe the bug When adding a Pillow image to an existing Dataset on the hub, `add_item` fails due to the Pillow image not being automatically converted into the Image feature. ## Steps to reproduce the bug ```pyth...
[ -0.20946890115737915, -0.38411766290664673, -0.006247095763683319, 0.20440246164798737, 0.028693687170743942, 0.06380663812160492, 0.2529839277267456, 0.3120417594909668, -0.29054445028305054, 0.09097513556480408, 0.1307734251022339, 0.744442343711853, -0.06099458038806915, -0.123890854418...
https://github.com/huggingface/datasets/issues/4795
Thanks for reporting this as well, @stadlerb. I suggest waiting for the answer of the data owners...
Missing MBPP splits
(@albertvillanova) The [MBPP dataset on the Hub](https://huggingface.co/datasets/mbpp) has only a test split for both its "full" and its "sanitized" subset, while the [paper](https://arxiv.org/abs/2108.07732) states in subsection 2.1 regarding the full split: > In the experiments described later in the paper, we hold...
17
Missing MBPP splits (@albertvillanova) The [MBPP dataset on the Hub](https://huggingface.co/datasets/mbpp) has only a test split for both its "full" and its "sanitized" subset, while the [paper](https://arxiv.org/abs/2108.07732) states in subsection 2.1 regarding the full split: > In the experiments described later...
[ -0.10014335811138153, -0.519787073135376, -0.1537647396326065, 0.05952346697449684, -0.2805013954639435, -0.023506231606006622, 0.3523947596549988, 0.1777207851409912, 0.0449582114815712, 0.18269464373588562, -0.3087802529335022, 0.41143372654914856, -0.14247170090675354, 0.232895970344543...
https://github.com/huggingface/datasets/issues/4795
@albertvillanova The first author of the paper responded to the upstream issue: > Task IDs 11-510 are the 500 test problems. We use 90 problems (511-600) for validation and then remaining 374 for fine-tuning (601-974). The other problems can be used as desired, either for training or few-shot prompting (although this ...
Missing MBPP splits
(@albertvillanova) The [MBPP dataset on the Hub](https://huggingface.co/datasets/mbpp) has only a test split for both its "full" and its "sanitized" subset, while the [paper](https://arxiv.org/abs/2108.07732) states in subsection 2.1 regarding the full split: > In the experiments described later in the paper, we hold...
54
Missing MBPP splits (@albertvillanova) The [MBPP dataset on the Hub](https://huggingface.co/datasets/mbpp) has only a test split for both its "full" and its "sanitized" subset, while the [paper](https://arxiv.org/abs/2108.07732) states in subsection 2.1 regarding the full split: > In the experiments described later...
[ -0.10014335811138153, -0.519787073135376, -0.1537647396326065, 0.05952346697449684, -0.2805013954639435, -0.023506231606006622, 0.3523947596549988, 0.1777207851409912, 0.0449582114815712, 0.18269464373588562, -0.3087802529335022, 0.41143372654914856, -0.14247170090675354, 0.232895970344543...
https://github.com/huggingface/datasets/issues/4795
Thanks for the follow-up, @stadlerb. Would you be willing to open a Pull Request to address this issue? :wink:
Missing MBPP splits
(@albertvillanova) The [MBPP dataset on the Hub](https://huggingface.co/datasets/mbpp) has only a test split for both its "full" and its "sanitized" subset, while the [paper](https://arxiv.org/abs/2108.07732) states in subsection 2.1 regarding the full split: > In the experiments described later in the paper, we hold...
19
Missing MBPP splits (@albertvillanova) The [MBPP dataset on the Hub](https://huggingface.co/datasets/mbpp) has only a test split for both its "full" and its "sanitized" subset, while the [paper](https://arxiv.org/abs/2108.07732) states in subsection 2.1 regarding the full split: > In the experiments described later...
[ -0.10014335811138153, -0.519787073135376, -0.1537647396326065, 0.05952346697449684, -0.2805013954639435, -0.023506231606006622, 0.3523947596549988, 0.1777207851409912, 0.0449582114815712, 0.18269464373588562, -0.3087802529335022, 0.41143372654914856, -0.14247170090675354, 0.232895970344543...
https://github.com/huggingface/datasets/issues/4792
Thanks for proposing, @NielsRogge. Please, note this dataset requires registering in their website and their Terms and Conditions state we cannot distribute their URL: ``` 1. You will NOT distribute the download URLs ... ```
Add DocVQA
## Adding a Dataset - **Name:** DocVQA - **Description:** Document Visual Question Answering (DocVQA) seeks to inspire a “purpose-driven” point of view in Document Analysis and Recognition research, where the document content is extracted and used to respond to high-level tasks defined by the human consumers of this ...
35
Add DocVQA ## Adding a Dataset - **Name:** DocVQA - **Description:** Document Visual Question Answering (DocVQA) seeks to inspire a “purpose-driven” point of view in Document Analysis and Recognition research, where the document content is extracted and used to respond to high-level tasks defined by the human consu...
[ -0.21714693307876587, -0.2769106328487396, -0.09589704871177673, 0.06519657373428345, -0.12032867223024368, 0.06373211741447449, 0.2114848494529724, 0.30549517273902893, 0.13000598549842834, 0.05984308570623398, 0.03232484310865402, 0.23950688540935516, -0.27115440368652344, 0.330278992652...
https://github.com/huggingface/datasets/issues/4791
Thanks for reporting. It's a known issue that should be fixed soon. Meanwhile, I had to manually trigger the dataset viewer. It's OK now. Note that the extreme aspect ratio of the images generates another issue, that we're inspecting.
Dataset Viewer issue for Team-PIXEL/rendered-wikipedia-english
### Link https://huggingface.co/datasets/Team-PIXEL/rendered-wikipedia-english/viewer/rendered-wikipedia-en/train ### Description The dataset can be loaded fine but the viewer shows this error: ``` Server Error Status code: 400 Exception: Status400Error Message: The dataset does not exist. ``` ...
39
Dataset Viewer issue for Team-PIXEL/rendered-wikipedia-english ### Link https://huggingface.co/datasets/Team-PIXEL/rendered-wikipedia-english/viewer/rendered-wikipedia-en/train ### Description The dataset can be loaded fine but the viewer shows this error: ``` Server Error Status code: 400 Exception: S...
[ -0.1652197390794754, -0.020517989993095398, 0.11151404678821564, 0.3764811158180237, 0.21872451901435852, 0.21733880043029785, 0.28199905157089233, 0.2595098912715912, -0.24365068972110748, -0.03436140716075897, 0.039637014269828796, 0.061710160225629807, 0.031158510595560074, -0.074753269...
https://github.com/huggingface/datasets/issues/4784
Hey @nandwalritik! Thanks for offering to help! This dataset might be somewhat complex and I'm concerned about it being 65 TB, which would be quite expensive to host. @lhoestq @mariosasko I would love your input if you think it's worth adding this dataset.
Add Multiface dataset
## Adding a Dataset - **Name:** Multiface dataset - **Description:** f high quality recordings of the faces of 13 identities, each captured in a multi-view capture stage performing various facial expressions. An average of 12,200 (v1 scripts) to 23,000 (v2 scripts) frames per subject with capture rate at 30 fps - **...
43
Add Multiface dataset ## Adding a Dataset - **Name:** Multiface dataset - **Description:** f high quality recordings of the faces of 13 identities, each captured in a multi-view capture stage performing various facial expressions. An average of 12,200 (v1 scripts) to 23,000 (v2 scripts) frames per subject with capt...
[ -0.3464528024196625, -0.01438555121421814, -0.1385611593723297, 0.00020981766283512115, -0.12254984676837921, 0.12968513369560242, 0.33327943086624146, 0.07630935311317444, 0.25756120681762695, -0.008362255990505219, -0.16959261894226074, -0.4751931428909302, -0.20964446663856506, 0.722880...
https://github.com/huggingface/datasets/issues/4784
Thanks for proposing this interesting dataset, @osanseviero. Please note that the data files are already hosted in a third-party server: e.g. the index of data files for entity "6795937" is at https://fb-baas-f32eacb9-8abb-11eb-b2b8-4857dd089e15.s3.amazonaws.com/MugsyDataRelease/v0.0/identities/6795937/index.html ...
Add Multiface dataset
## Adding a Dataset - **Name:** Multiface dataset - **Description:** f high quality recordings of the faces of 13 identities, each captured in a multi-view capture stage performing various facial expressions. An average of 12,200 (v1 scripts) to 23,000 (v2 scripts) frames per subject with capture rate at 30 fps - **...
67
Add Multiface dataset ## Adding a Dataset - **Name:** Multiface dataset - **Description:** f high quality recordings of the faces of 13 identities, each captured in a multi-view capture stage performing various facial expressions. An average of 12,200 (v1 scripts) to 23,000 (v2 scripts) frames per subject with capt...
[ -0.40247103571891785, -0.016814857721328735, -0.12537670135498047, -0.03847862780094147, -0.12090106308460236, 0.08127103745937347, 0.43938151001930237, 0.1257370114326477, 0.23061484098434448, 0.08893818408250809, -0.25027263164520264, -0.2996392548084259, -0.1781536042690277, 0.621602058...
https://github.com/huggingface/datasets/issues/4782
Thanks for reporting @conceptofmind. Could you please give details about your environment? ``` ## Environment info <!-- You can run the command `datasets-cli env` and copy-and-paste its output below. --> - `datasets` version: - Platform: - Python version: - PyArrow version: ```
pyarrow.lib.ArrowCapacityError: array cannot contain more than 2147483646 bytes, have 2147483648
## Describe the bug Following the example in CodeParrot, I receive an array size limitation error when deduplicating larger datasets. ## Steps to reproduce the bug ```python dataset_name = "the_pile" ds = load_dataset(dataset_name, split="train") ds = ds.map(preprocess, num_proc=num_workers) uniques = set(ds.u...
42
pyarrow.lib.ArrowCapacityError: array cannot contain more than 2147483646 bytes, have 2147483648 ## Describe the bug Following the example in CodeParrot, I receive an array size limitation error when deduplicating larger datasets. ## Steps to reproduce the bug ```python dataset_name = "the_pile" ds = load_data...
[ -0.16110046207904816, 0.04769827425479889, -0.05054020136594772, 0.3585403859615326, 0.16585662961006165, -0.006226345896720886, 0.28063464164733887, 0.31342488527297974, -0.1523870974779129, 0.20986074209213257, 0.08780502527952194, 0.5031484961509705, -0.06874805688858032, 0.047830335795...
https://github.com/huggingface/datasets/issues/4782
Hi @albertvillanova , Here is the environment information: ``` - `datasets` version: 2.3.2 - Platform: Linux-5.4.0-122-generic-x86_64-with-glibc2.27 - Python version: 3.9.12 - PyArrow version: 7.0.0 - Pandas version: 1.4.2 ``` Thanks, Enrico
pyarrow.lib.ArrowCapacityError: array cannot contain more than 2147483646 bytes, have 2147483648
## Describe the bug Following the example in CodeParrot, I receive an array size limitation error when deduplicating larger datasets. ## Steps to reproduce the bug ```python dataset_name = "the_pile" ds = load_dataset(dataset_name, split="train") ds = ds.map(preprocess, num_proc=num_workers) uniques = set(ds.u...
31
pyarrow.lib.ArrowCapacityError: array cannot contain more than 2147483646 bytes, have 2147483648 ## Describe the bug Following the example in CodeParrot, I receive an array size limitation error when deduplicating larger datasets. ## Steps to reproduce the bug ```python dataset_name = "the_pile" ds = load_data...
[ -0.12226592749357224, 0.07334461808204651, -0.04566919803619385, 0.36796438694000244, 0.19097629189491272, -0.028952866792678833, 0.30654793977737427, 0.2947700023651123, -0.17574311792850494, 0.1896226555109024, 0.07779789716005325, 0.497610479593277, -0.055662598460912704, 0.026189349591...
https://github.com/huggingface/datasets/issues/4782
I think this issue is solved here https://discuss.huggingface.co/t/minhash-deduplication/19992/12?u=loubnabnl, this only happens for very large datasets we will update it in CodeParrot code
pyarrow.lib.ArrowCapacityError: array cannot contain more than 2147483646 bytes, have 2147483648
## Describe the bug Following the example in CodeParrot, I receive an array size limitation error when deduplicating larger datasets. ## Steps to reproduce the bug ```python dataset_name = "the_pile" ds = load_dataset(dataset_name, split="train") ds = ds.map(preprocess, num_proc=num_workers) uniques = set(ds.u...
22
pyarrow.lib.ArrowCapacityError: array cannot contain more than 2147483646 bytes, have 2147483648 ## Describe the bug Following the example in CodeParrot, I receive an array size limitation error when deduplicating larger datasets. ## Steps to reproduce the bug ```python dataset_name = "the_pile" ds = load_data...
[ -0.06517200171947479, 0.03707939386367798, -0.05409431457519531, 0.33197417855262756, 0.15671858191490173, -0.037929147481918335, 0.2668178975582123, 0.2922845482826233, -0.18059414625167847, 0.21585272252559662, 0.07281453162431717, 0.5009049773216248, 0.0007565077394247055, -0.0163581632...
https://github.com/huggingface/datasets/issues/4782
Hi @loubnabnl, Yes, the issue is solved in the discussion thread. I will close this issue. Thank you again for all of your help. Enrico
pyarrow.lib.ArrowCapacityError: array cannot contain more than 2147483646 bytes, have 2147483648
## Describe the bug Following the example in CodeParrot, I receive an array size limitation error when deduplicating larger datasets. ## Steps to reproduce the bug ```python dataset_name = "the_pile" ds = load_dataset(dataset_name, split="train") ds = ds.map(preprocess, num_proc=num_workers) uniques = set(ds.u...
25
pyarrow.lib.ArrowCapacityError: array cannot contain more than 2147483646 bytes, have 2147483648 ## Describe the bug Following the example in CodeParrot, I receive an array size limitation error when deduplicating larger datasets. ## Steps to reproduce the bug ```python dataset_name = "the_pile" ds = load_data...
[ -0.10459952056407928, 0.004716053605079651, -0.05382322147488594, 0.38536950945854187, 0.16545021533966064, -0.028284281492233276, 0.2812243402004242, 0.3220089077949524, -0.16077013313770294, 0.21095800399780273, 0.10079123824834824, 0.4835175573825836, -0.07366714626550674, 0.06690069288...
https://github.com/huggingface/datasets/issues/4776
Requiring torchaudio<0.12.0 isn't really a viable solution because that implies torch<0.12.0 which means no sm_86 CUDA support which means no RTX 3090 support in PyTorch. But in my case, the error only occurs if `_fallback_load` resolves to `_fail_load` inside torchaudio 0.12.0 which is only the case if FFMPEG initi...
RuntimeError when using torchaudio 0.12.0 to load MP3 audio file
Current version of `torchaudio` (0.12.0) raises a RuntimeError when trying to use `sox_io` backend but non-Python dependency `sox` is not installed: https://github.com/pytorch/audio/blob/2e1388401c434011e9f044b40bc8374f2ddfc414/torchaudio/backend/sox_io_backend.py#L21-L29 ```python def _fail_load( filepath: str...
156
RuntimeError when using torchaudio 0.12.0 to load MP3 audio file Current version of `torchaudio` (0.12.0) raises a RuntimeError when trying to use `sox_io` backend but non-Python dependency `sox` is not installed: https://github.com/pytorch/audio/blob/2e1388401c434011e9f044b40bc8374f2ddfc414/torchaudio/backend/sox_i...
[ -0.48792195320129395, -0.20762024819850922, 0.07926232367753983, 0.11577142775058746, 0.05602937191724777, -0.14573216438293457, 0.44489508867263794, 0.14363566040992737, -0.10682952404022217, 0.3554699122905731, 0.007712997496128082, 0.6597694158554077, -0.20224082469940186, -0.5119501352...
https://github.com/huggingface/datasets/issues/4775
Thanks for reporting @NitishkKarra. The root source of the issue is that streaming mode is not supported out-of-the-box for that dataset, because it contains a TAR file. We have opened a discussion in the corresponding Hub dataset page, pointing out this issue: https://huggingface.co/datasets/Theivaprakasham/wild...
Streaming not supported in Theivaprakasham/wildreceipt
### Link _No response_ ### Description _No response_ ### Owner _No response_
55
Streaming not supported in Theivaprakasham/wildreceipt ### Link _No response_ ### Description _No response_ ### Owner _No response_ Thanks for reporting @NitishkKarra. The root source of the issue is that streaming mode is not supported out-of-the-box for that dataset, because it contains a TAR file. We ...
[ -0.7272688150405884, -0.4957081079483032, -0.02410903386771679, -0.04121275246143341, 0.005544551648199558, 0.001970253884792328, -0.25505200028419495, 0.38084161281585693, 0.023802489042282104, 0.10956612974405289, -0.07464772462844849, 0.39700907468795776, -0.016623832285404205, 0.220431...
https://github.com/huggingface/datasets/issues/4772
Hi @lehrig, this is caused by the data collator renaming "label" to "labels". If you set `label_cols=["labels"]` in the call it will work correctly. However, I agree that the cause of the bug is not obvious, so I'll see if I can make a PR to clarify things when the collator renames columns.
AssertionError when using label_cols in to_tf_dataset
## Describe the bug An incorrect `AssertionError` is raised when using `label_cols` in `to_tf_dataset` and the label's key name is `label`. The assertion is in this line: https://github.com/huggingface/datasets/blob/2.4.0/src/datasets/arrow_dataset.py#L475 ## Steps to reproduce the bug ```python from datasets...
53
AssertionError when using label_cols in to_tf_dataset ## Describe the bug An incorrect `AssertionError` is raised when using `label_cols` in `to_tf_dataset` and the label's key name is `label`. The assertion is in this line: https://github.com/huggingface/datasets/blob/2.4.0/src/datasets/arrow_dataset.py#L475 ...
[ 0.09022900462150574, 0.0586763471364975, 0.07491621375083923, 0.2682402729988098, 0.31472247838974, 0.22435176372528076, 0.7236313819885254, 0.2739940583705902, -0.16925689578056335, 0.21495433151721954, -0.006876152008771896, 0.41436150670051575, -0.11955362558364868, -0.06825646013021469...
https://github.com/huggingface/datasets/issues/4772
Thanks - and wow, that appears like a strange side-effect of the data collator. Is that really needed? Why not make it more explicit? For example, extend `DefaultDataCollator` with an optional property `label_col_name` to be used as label column; only when it is not provided default to `labels` (and document that th...
AssertionError when using label_cols in to_tf_dataset
## Describe the bug An incorrect `AssertionError` is raised when using `label_cols` in `to_tf_dataset` and the label's key name is `label`. The assertion is in this line: https://github.com/huggingface/datasets/blob/2.4.0/src/datasets/arrow_dataset.py#L475 ## Steps to reproduce the bug ```python from datasets...
55
AssertionError when using label_cols in to_tf_dataset ## Describe the bug An incorrect `AssertionError` is raised when using `label_cols` in `to_tf_dataset` and the label's key name is `label`. The assertion is in this line: https://github.com/huggingface/datasets/blob/2.4.0/src/datasets/arrow_dataset.py#L475 ...
[ 0.08114472031593323, 0.17018860578536987, 0.09567853063344955, 0.22990362346172333, 0.2721520662307739, 0.13840331137180328, 0.7091567516326904, 0.15918774902820587, -0.23340481519699097, 0.29326534271240234, 0.11378071457147598, 0.3612019419670105, -0.17874526977539062, -0.112074702978134...
https://github.com/huggingface/datasets/issues/4772
Haha, I honestly have no idea why our data collators rename `"label"` (the standard label column name in our datasets) to `"labels"` (the standard label column name input to our models). It's been a pain point when I design TF data pipelines, though, because I don't want to hardcode things like that - especially in `da...
AssertionError when using label_cols in to_tf_dataset
## Describe the bug An incorrect `AssertionError` is raised when using `label_cols` in `to_tf_dataset` and the label's key name is `label`. The assertion is in this line: https://github.com/huggingface/datasets/blob/2.4.0/src/datasets/arrow_dataset.py#L475 ## Steps to reproduce the bug ```python from datasets...
149
AssertionError when using label_cols in to_tf_dataset ## Describe the bug An incorrect `AssertionError` is raised when using `label_cols` in `to_tf_dataset` and the label's key name is `label`. The assertion is in this line: https://github.com/huggingface/datasets/blob/2.4.0/src/datasets/arrow_dataset.py#L475 ...
[ 0.19720134139060974, 0.13782766461372375, 0.06203219294548035, 0.21990814805030823, 0.32636672258377075, 0.23189176619052887, 0.7796979546546936, 0.21121551096439362, -0.18252965807914734, 0.2845119833946228, 0.010953910648822784, 0.3895104229450226, -0.11095599830150604, -0.07815422862768...
https://github.com/huggingface/datasets/issues/4772
Interesting, that'd be great especially for clarity. https://huggingface.co/docs/datasets/use_with_tensorflow#data-loading already improved clarity, yet, all those options will still confuse people. Looking forward to those advances in the hope there'll be only 1 way in the future ;) Anyways, I am happy for the time...
AssertionError when using label_cols in to_tf_dataset
## Describe the bug An incorrect `AssertionError` is raised when using `label_cols` in `to_tf_dataset` and the label's key name is `label`. The assertion is in this line: https://github.com/huggingface/datasets/blob/2.4.0/src/datasets/arrow_dataset.py#L475 ## Steps to reproduce the bug ```python from datasets...
51
AssertionError when using label_cols in to_tf_dataset ## Describe the bug An incorrect `AssertionError` is raised when using `label_cols` in `to_tf_dataset` and the label's key name is `label`. The assertion is in this line: https://github.com/huggingface/datasets/blob/2.4.0/src/datasets/arrow_dataset.py#L475 ...
[ 0.017233088612556458, -0.1237059086561203, 0.07336021214723587, 0.27653318643569946, 0.27081894874572754, 0.1825883835554123, 0.6481469869613647, 0.25782379508018494, -0.051155880093574524, 0.26211854815483093, -0.06051231175661087, 0.38502785563468933, -0.14136433601379395, -0.03756723925...
https://github.com/huggingface/datasets/issues/4761
And I don't see any speed up when increasing the number of GPUs while calling `get_nearest_examples_batch`.
parallel searching in multi-gpu setting using faiss
While I notice that `add_faiss_index` has supported assigning multiple GPUs, I am still confused about how it works. Does the `search-batch` function automatically parallelizes the input queries to different gpus?https://github.com/huggingface/datasets/blob/d76599bdd4d186b2e7c4f468b05766016055a0a5/src/datasets/sea...
16
parallel searching in multi-gpu setting using faiss While I notice that `add_faiss_index` has supported assigning multiple GPUs, I am still confused about how it works. Does the `search-batch` function automatically parallelizes the input queries to different gpus?https://github.com/huggingface/datasets/blob/d76...
[ -0.1804586946964264, -0.6893145442008972, -0.13762111961841583, 0.09218797832727432, -0.4365425407886505, -0.010441146790981293, 0.1159723550081253, 0.023757528513669968, 0.5270459055900574, 0.05445846542716026, -0.2896807789802551, -0.2646547853946686, 0.5140132308006287, -0.2146283388137...
https://github.com/huggingface/datasets/issues/4761
Hi ! Yes search_batch uses FAISS search which happens in parallel across the GPUs > And I don't see any speed up when increasing the number of GPUs while calling get_nearest_examples_batch. That's unexpected, can you share the code you're running ?
parallel searching in multi-gpu setting using faiss
While I notice that `add_faiss_index` has supported assigning multiple GPUs, I am still confused about how it works. Does the `search-batch` function automatically parallelizes the input queries to different gpus?https://github.com/huggingface/datasets/blob/d76599bdd4d186b2e7c4f468b05766016055a0a5/src/datasets/sea...
41
parallel searching in multi-gpu setting using faiss While I notice that `add_faiss_index` has supported assigning multiple GPUs, I am still confused about how it works. Does the `search-batch` function automatically parallelizes the input queries to different gpus?https://github.com/huggingface/datasets/blob/d76...
[ -0.15467187762260437, -0.7159869074821472, -0.13385115563869476, 0.0943579375743866, -0.3862566351890564, -0.005068033933639526, 0.1259048879146576, 0.03864029422402382, 0.5229254961013794, 0.04365420714020729, -0.2504309117794037, -0.25392258167266846, 0.512669563293457, -0.18531033396720...
https://github.com/huggingface/datasets/issues/4761
here is the code snippet ```python # add faiss index source_dataset = load_dataset(source_path) queries = load_dataset(query_path) gpu = [0,1,2,3] source_dataset.add_faiss_index( "embedding", device=gpu, ) # batch query batch_size = 32 for i in tqdm(range(...
parallel searching in multi-gpu setting using faiss
While I notice that `add_faiss_index` has supported assigning multiple GPUs, I am still confused about how it works. Does the `search-batch` function automatically parallelizes the input queries to different gpus?https://github.com/huggingface/datasets/blob/d76599bdd4d186b2e7c4f468b05766016055a0a5/src/datasets/sea...
65
parallel searching in multi-gpu setting using faiss While I notice that `add_faiss_index` has supported assigning multiple GPUs, I am still confused about how it works. Does the `search-batch` function automatically parallelizes the input queries to different gpus?https://github.com/huggingface/datasets/blob/d76...
[ -0.20685386657714844, -0.6374274492263794, -0.16137997806072235, 0.07671530544757843, -0.39661309123039246, 0.06628783047199249, 0.12914156913757324, 0.10195708274841309, 0.6137722134590149, 0.07456530630588531, -0.20291569828987122, -0.1705266535282135, 0.5054281949996948, -0.136249393224...
https://github.com/huggingface/datasets/issues/4761
The code looks all good to me, do you see all the GPUs being utilized ? What version of faiss are you using ?
parallel searching in multi-gpu setting using faiss
While I notice that `add_faiss_index` has supported assigning multiple GPUs, I am still confused about how it works. Does the `search-batch` function automatically parallelizes the input queries to different gpus?https://github.com/huggingface/datasets/blob/d76599bdd4d186b2e7c4f468b05766016055a0a5/src/datasets/sea...
24
parallel searching in multi-gpu setting using faiss While I notice that `add_faiss_index` has supported assigning multiple GPUs, I am still confused about how it works. Does the `search-batch` function automatically parallelizes the input queries to different gpus?https://github.com/huggingface/datasets/blob/d76...
[ -0.10110124945640564, -0.6452792882919312, -0.14256538450717926, 0.12754413485527039, -0.39743494987487793, 0.025289826095104218, 0.14260056614875793, 0.011892817914485931, 0.5171631574630737, 0.03070702776312828, -0.24102312326431274, -0.24279163777828217, 0.5606645345687866, -0.174871742...
https://github.com/huggingface/datasets/issues/4761
I can see the memory usage of all the GPUs. My version of `faiss-gpu` is `1.7.2`
parallel searching in multi-gpu setting using faiss
While I notice that `add_faiss_index` has supported assigning multiple GPUs, I am still confused about how it works. Does the `search-batch` function automatically parallelizes the input queries to different gpus?https://github.com/huggingface/datasets/blob/d76599bdd4d186b2e7c4f468b05766016055a0a5/src/datasets/sea...
16
parallel searching in multi-gpu setting using faiss While I notice that `add_faiss_index` has supported assigning multiple GPUs, I am still confused about how it works. Does the `search-batch` function automatically parallelizes the input queries to different gpus?https://github.com/huggingface/datasets/blob/d76...
[ -0.10703244060277939, -0.6442115306854248, -0.15060356259346008, 0.17503753304481506, -0.39375048875808716, 0.04133731871843338, 0.11456800997257233, 0.026141159236431122, 0.5348207354545593, 0.07835803925991058, -0.22934529185295105, -0.2848067283630371, 0.5310186147689819, -0.21422260999...
https://github.com/huggingface/datasets/issues/4761
It looks all good to me then ^^ though you said you didn't experienced speed improvements by adding more GPUs ? What size is your source dataset and what time differences did you experience ?
parallel searching in multi-gpu setting using faiss
While I notice that `add_faiss_index` has supported assigning multiple GPUs, I am still confused about how it works. Does the `search-batch` function automatically parallelizes the input queries to different gpus?https://github.com/huggingface/datasets/blob/d76599bdd4d186b2e7c4f468b05766016055a0a5/src/datasets/sea...
35
parallel searching in multi-gpu setting using faiss While I notice that `add_faiss_index` has supported assigning multiple GPUs, I am still confused about how it works. Does the `search-batch` function automatically parallelizes the input queries to different gpus?https://github.com/huggingface/datasets/blob/d76...
[ -0.19540801644325256, -0.5493386387825012, -0.19500640034675598, 0.07171103358268738, -0.34015798568725586, -0.09153128415346146, 0.11930126696825027, 0.09034500271081924, 0.5004571676254272, 0.04198196530342102, -0.2722724676132202, -0.14196796715259552, 0.4037453830242157, -0.15171611309...
https://github.com/huggingface/datasets/issues/4761
query set: 1e6 source dataset: 1e6 embedding size: 768 index: Flat topk: 20 GPU: V100 The time taken to traverse the query set once is about 1.5h, which is almost not influenced by the value of query batch size or the number of GPUs according to my experiments.
parallel searching in multi-gpu setting using faiss
While I notice that `add_faiss_index` has supported assigning multiple GPUs, I am still confused about how it works. Does the `search-batch` function automatically parallelizes the input queries to different gpus?https://github.com/huggingface/datasets/blob/d76599bdd4d186b2e7c4f468b05766016055a0a5/src/datasets/sea...
48
parallel searching in multi-gpu setting using faiss While I notice that `add_faiss_index` has supported assigning multiple GPUs, I am still confused about how it works. Does the `search-batch` function automatically parallelizes the input queries to different gpus?https://github.com/huggingface/datasets/blob/d76...
[ -0.21773387491703033, -0.66282057762146, -0.14268824458122253, 0.07346965372562408, -0.4670110046863556, 0.0084543377161026, 0.13630034029483795, 0.025091305375099182, 0.5457704067230225, 0.030362311750650406, -0.235990971326828, -0.2463899552822113, 0.5220273733139038, -0.1453214287757873...
https://github.com/huggingface/datasets/issues/4761
Hmmm the number of GPUs should divide the time, something is going wrong. Can you check that adding more GPU does divide the memory used per GPU ? Maybe it can be worth looking at similar issues in the FAISS repository or create a noew issue over there to understand what's going on
parallel searching in multi-gpu setting using faiss
While I notice that `add_faiss_index` has supported assigning multiple GPUs, I am still confused about how it works. Does the `search-batch` function automatically parallelizes the input queries to different gpus?https://github.com/huggingface/datasets/blob/d76599bdd4d186b2e7c4f468b05766016055a0a5/src/datasets/sea...
53
parallel searching in multi-gpu setting using faiss While I notice that `add_faiss_index` has supported assigning multiple GPUs, I am still confused about how it works. Does the `search-batch` function automatically parallelizes the input queries to different gpus?https://github.com/huggingface/datasets/blob/d76...
[ -0.04531937092542648, -0.6645504832267761, -0.16315528750419617, 0.2167358100414276, -0.31534743309020996, -0.029439054429531097, 0.09823159873485565, 0.01376698724925518, 0.4572139382362366, 0.10069890320301056, -0.16644728183746338, -0.2908720374107361, 0.5046363472938538, -0.23165154457...
https://github.com/huggingface/datasets/issues/4761
> Can you check that adding more GPU does divide the memory used per GPU The memory used per GPU is unchanged while adding more GPU. Is this unexpected? I used to think that every GPU loads all the source vectors and the data parallelism is at the query level. 😆
parallel searching in multi-gpu setting using faiss
While I notice that `add_faiss_index` has supported assigning multiple GPUs, I am still confused about how it works. Does the `search-batch` function automatically parallelizes the input queries to different gpus?https://github.com/huggingface/datasets/blob/d76599bdd4d186b2e7c4f468b05766016055a0a5/src/datasets/sea...
51
parallel searching in multi-gpu setting using faiss While I notice that `add_faiss_index` has supported assigning multiple GPUs, I am still confused about how it works. Does the `search-batch` function automatically parallelizes the input queries to different gpus?https://github.com/huggingface/datasets/blob/d76...
[ -0.03190699964761734, -0.6538429260253906, -0.15973961353302002, 0.31063029170036316, -0.36666202545166016, 0.014856144785881042, 0.09648595750331879, -0.0491878017783165, 0.4460495412349701, 0.04317820072174072, -0.23672446608543396, -0.21531863510608673, 0.4890959858894348, -0.2042380422...
https://github.com/huggingface/datasets/issues/4761
> I used to think that every GPU loads all the source vectors and the data parallelism is at the query level. 😆 Oh indeed that's possible, I wasn't sure. Anyway you can check that calling get_nearest_examples_batch simply calls search under the hood: https://github.com/huggingface/datasets/blob/f90f71fbbb33889f...
parallel searching in multi-gpu setting using faiss
While I notice that `add_faiss_index` has supported assigning multiple GPUs, I am still confused about how it works. Does the `search-batch` function automatically parallelizes the input queries to different gpus?https://github.com/huggingface/datasets/blob/d76599bdd4d186b2e7c4f468b05766016055a0a5/src/datasets/sea...
44
parallel searching in multi-gpu setting using faiss While I notice that `add_faiss_index` has supported assigning multiple GPUs, I am still confused about how it works. Does the `search-batch` function automatically parallelizes the input queries to different gpus?https://github.com/huggingface/datasets/blob/d76...
[ -0.13199743628501892, -0.6725633144378662, -0.11344048380851746, 0.1277492344379425, -0.42620354890823364, -0.011472754180431366, 0.14609089493751526, 0.050825510174036026, 0.4054108262062073, 0.08167833089828491, -0.30576497316360474, -0.2316155582666397, 0.5747025609016418, -0.1878020763...
https://github.com/huggingface/datasets/issues/4761
Here is a runnable script. Multi-GPU searching still does not work in my experiments. ```python import os from tqdm import tqdm import numpy as np import datasets from datasets import Dataset class DPRSelector: def __init__(self, source, target, index_name, gpu=None): self.source = source...
parallel searching in multi-gpu setting using faiss
While I notice that `add_faiss_index` has supported assigning multiple GPUs, I am still confused about how it works. Does the `search-batch` function automatically parallelizes the input queries to different gpus?https://github.com/huggingface/datasets/blob/d76599bdd4d186b2e7c4f468b05766016055a0a5/src/datasets/sea...
163
parallel searching in multi-gpu setting using faiss While I notice that `add_faiss_index` has supported assigning multiple GPUs, I am still confused about how it works. Does the `search-batch` function automatically parallelizes the input queries to different gpus?https://github.com/huggingface/datasets/blob/d76...
[ -0.283330500125885, -0.5681076049804688, -0.11883755028247833, 0.016156582161784172, -0.4022168517112732, 0.05902101844549179, 0.2249966561794281, 0.12042172253131866, 0.555363655090332, 0.01924235001206398, -0.2298990786075592, -0.09577429294586182, 0.48070400953292847, -0.211476713418960...
https://github.com/huggingface/datasets/issues/4761
Maybe @albertvillanova you can take a look ? I won't be available in the following days
parallel searching in multi-gpu setting using faiss
While I notice that `add_faiss_index` has supported assigning multiple GPUs, I am still confused about how it works. Does the `search-batch` function automatically parallelizes the input queries to different gpus?https://github.com/huggingface/datasets/blob/d76599bdd4d186b2e7c4f468b05766016055a0a5/src/datasets/sea...
16
parallel searching in multi-gpu setting using faiss While I notice that `add_faiss_index` has supported assigning multiple GPUs, I am still confused about how it works. Does the `search-batch` function automatically parallelizes the input queries to different gpus?https://github.com/huggingface/datasets/blob/d76...
[ -0.14514774084091187, -0.6219749450683594, -0.16484276950359344, 0.080246701836586, -0.4083508849143982, 0.049805060029029846, 0.14476025104522705, 0.013118389993906021, 0.5423616170883179, 0.02542903646826744, -0.27304041385650635, -0.24332986772060394, 0.5346525311470032, -0.101298041641...
https://github.com/huggingface/datasets/issues/4761
Hi @xwwwwww I'm investigating it, but I'm not an expert in Faiss. In principle, it is weird that your code does not work properly because it seems right...
parallel searching in multi-gpu setting using faiss
While I notice that `add_faiss_index` has supported assigning multiple GPUs, I am still confused about how it works. Does the `search-batch` function automatically parallelizes the input queries to different gpus?https://github.com/huggingface/datasets/blob/d76599bdd4d186b2e7c4f468b05766016055a0a5/src/datasets/sea...
28
parallel searching in multi-gpu setting using faiss While I notice that `add_faiss_index` has supported assigning multiple GPUs, I am still confused about how it works. Does the `search-batch` function automatically parallelizes the input queries to different gpus?https://github.com/huggingface/datasets/blob/d76...
[ -0.14981238543987274, -0.6301243305206299, -0.16075733304023743, 0.12758034467697144, -0.3135581910610199, 0.027824684977531433, 0.16284213960170746, 0.07424196600914001, 0.4965069890022278, 0.0691094920039177, -0.2820945084095001, -0.22244222462177277, 0.5053197145462036, -0.1543138921260...
https://github.com/huggingface/datasets/issues/4761
> Have you tried passing `gpu=-1` and check if there is a speedup? yes, there is a speed up using GPU compared with CPU.
parallel searching in multi-gpu setting using faiss
While I notice that `add_faiss_index` has supported assigning multiple GPUs, I am still confused about how it works. Does the `search-batch` function automatically parallelizes the input queries to different gpus?https://github.com/huggingface/datasets/blob/d76599bdd4d186b2e7c4f468b05766016055a0a5/src/datasets/sea...
24
parallel searching in multi-gpu setting using faiss While I notice that `add_faiss_index` has supported assigning multiple GPUs, I am still confused about how it works. Does the `search-batch` function automatically parallelizes the input queries to different gpus?https://github.com/huggingface/datasets/blob/d76...
[ -0.2023082971572876, -0.5759714841842651, -0.18073244392871857, 0.09722191095352173, -0.29736706614494324, -0.024588368833065033, 0.09971864521503448, 0.17794270813465118, 0.5709665417671204, 0.04531275853514671, -0.33755332231521606, -0.08671945333480835, 0.49778714776039124, -0.102365985...
https://github.com/huggingface/datasets/issues/4761
When passing `device=-1`, ALL existing GPUs are used (multi GPU): this is the maximum speedup you can get. To know the number of total GPUs: ``` import faiss ngpus = faiss.get_num_gpus() print(ngpus) ``` When passing a list of integers to `device`, then only that number of GPUs are used (multi GPU as well) -...
parallel searching in multi-gpu setting using faiss
While I notice that `add_faiss_index` has supported assigning multiple GPUs, I am still confused about how it works. Does the `search-batch` function automatically parallelizes the input queries to different gpus?https://github.com/huggingface/datasets/blob/d76599bdd4d186b2e7c4f468b05766016055a0a5/src/datasets/sea...
140
parallel searching in multi-gpu setting using faiss While I notice that `add_faiss_index` has supported assigning multiple GPUs, I am still confused about how it works. Does the `search-batch` function automatically parallelizes the input queries to different gpus?https://github.com/huggingface/datasets/blob/d76...
[ -0.13285458087921143, -0.6348999738693237, -0.15890170633792877, 0.10762977600097656, -0.387460321187973, -0.006664492189884186, 0.14907003939151764, -0.014693144708871841, 0.5617421269416809, 0.03745804354548454, -0.1784658282995224, -0.2431054413318634, 0.5187182426452637, -0.18129058182...
https://github.com/huggingface/datasets/issues/4761
Thanks for your help! Have you run the code and replicated the same experimental results (i.e., no speedup while increasing the number of GPUs)?
parallel searching in multi-gpu setting using faiss
While I notice that `add_faiss_index` has supported assigning multiple GPUs, I am still confused about how it works. Does the `search-batch` function automatically parallelizes the input queries to different gpus?https://github.com/huggingface/datasets/blob/d76599bdd4d186b2e7c4f468b05766016055a0a5/src/datasets/sea...
24
parallel searching in multi-gpu setting using faiss While I notice that `add_faiss_index` has supported assigning multiple GPUs, I am still confused about how it works. Does the `search-batch` function automatically parallelizes the input queries to different gpus?https://github.com/huggingface/datasets/blob/d76...
[ -0.16427962481975555, -0.6130466461181641, -0.1580888032913208, 0.07875514030456543, -0.42976614832878113, 0.028759866952896118, 0.14976537227630615, 0.0176486037671566, 0.5717774629592896, 0.049811072647571564, -0.22750043869018555, -0.20043453574180603, 0.4878077805042267, -0.17176124453...
https://github.com/huggingface/datasets/issues/4761
I can confirm `add_faiss_index` calls `index = faiss.index_cpu_to_gpus_list(index, gpus=list(device))`. Could this be an issue with your environment ? Could you try running with 1 and 8 GPUs with a code similar to[ this one from the FAISS examples](https://github.com/facebookresearch/faiss/blob/main/tutorial/python/...
parallel searching in multi-gpu setting using faiss
While I notice that `add_faiss_index` has supported assigning multiple GPUs, I am still confused about how it works. Does the `search-batch` function automatically parallelizes the input queries to different gpus?https://github.com/huggingface/datasets/blob/d76599bdd4d186b2e7c4f468b05766016055a0a5/src/datasets/sea...
51
parallel searching in multi-gpu setting using faiss While I notice that `add_faiss_index` has supported assigning multiple GPUs, I am still confused about how it works. Does the `search-batch` function automatically parallelizes the input queries to different gpus?https://github.com/huggingface/datasets/blob/d76...
[ -0.21215379238128662, -0.5152873396873474, -0.16691362857818604, 0.03215138986706734, -0.2920149862766266, 0.01803348958492279, 0.1177629679441452, 0.11870438605546951, 0.6410743594169617, 0.0362655408680439, -0.2724817991256714, -0.19213053584098816, 0.5188186168670654, -0.220909461379051...
https://github.com/huggingface/datasets/issues/4761
Hi, I test the FAISS example and the speed indeed changes. I set `nb=1000000`, `nq=1000000` and `d=64` | num GPUS | time cost | | -------- | --------- | | 1 | 28.53 | | 5 | 7.16 |
parallel searching in multi-gpu setting using faiss
While I notice that `add_faiss_index` has supported assigning multiple GPUs, I am still confused about how it works. Does the `search-batch` function automatically parallelizes the input queries to different gpus?https://github.com/huggingface/datasets/blob/d76599bdd4d186b2e7c4f468b05766016055a0a5/src/datasets/sea...
39
parallel searching in multi-gpu setting using faiss While I notice that `add_faiss_index` has supported assigning multiple GPUs, I am still confused about how it works. Does the `search-batch` function automatically parallelizes the input queries to different gpus?https://github.com/huggingface/datasets/blob/d76...
[ -0.19229865074157715, -0.5928238034248352, -0.15238595008850098, 0.09184220433235168, -0.4660598337650299, 0.02413421869277954, 0.11798326671123505, 0.01713961362838745, 0.5296297073364258, 0.024865567684173584, -0.25367066264152527, -0.2202225923538208, 0.5533512234687805, -0.138790756464...
https://github.com/huggingface/datasets/issues/4761
Ok the benchmark is great, not sure why it doesn't speed up the index in your case though. You can try running the benchmark with the same settings as your actual dataset ``` query set: 1e6 source dataset: 1e6 embedding size: 768 index: Flat topk: 20 GPU: V100 ``` Note that you can still pass a FAISS index y...
parallel searching in multi-gpu setting using faiss
While I notice that `add_faiss_index` has supported assigning multiple GPUs, I am still confused about how it works. Does the `search-batch` function automatically parallelizes the input queries to different gpus?https://github.com/huggingface/datasets/blob/d76599bdd4d186b2e7c4f468b05766016055a0a5/src/datasets/sea...
66
parallel searching in multi-gpu setting using faiss While I notice that `add_faiss_index` has supported assigning multiple GPUs, I am still confused about how it works. Does the `search-batch` function automatically parallelizes the input queries to different gpus?https://github.com/huggingface/datasets/blob/d76...
[ -0.3129779100418091, -0.5995801687240601, -0.1257765293121338, 0.08850853145122528, -0.2128046452999115, 0.01707775890827179, 0.11629162728786469, 0.2492993175983429, 0.5388680100440979, 0.15496660768985748, -0.37405839562416077, -0.06922593712806702, 0.4282969534397125, 0.0227255970239639...
https://github.com/huggingface/datasets/issues/4761
> Here is a runnable script. Multi-GPU searching still does not work in my experiments. > > ```python > import os > from tqdm import tqdm > import numpy as np > import datasets > from datasets import Dataset > > class DPRSelector: > > def __init__(self, source, target, index_name, gpu=None): > ...
parallel searching in multi-gpu setting using faiss
While I notice that `add_faiss_index` has supported assigning multiple GPUs, I am still confused about how it works. Does the `search-batch` function automatically parallelizes the input queries to different gpus?https://github.com/huggingface/datasets/blob/d76599bdd4d186b2e7c4f468b05766016055a0a5/src/datasets/sea...
270
parallel searching in multi-gpu setting using faiss While I notice that `add_faiss_index` has supported assigning multiple GPUs, I am still confused about how it works. Does the `search-batch` function automatically parallelizes the input queries to different gpus?https://github.com/huggingface/datasets/blob/d76...
[ -0.2644197940826416, -0.5796568393707275, -0.1235084980726242, 0.02254183031618595, -0.3993212878704071, 0.06172294169664383, 0.24263939261436462, 0.09434980154037476, 0.5489577054977417, 0.029109645634889603, -0.2299680858850479, -0.0975136011838913, 0.4671679437160492, -0.213979244232177...
https://github.com/huggingface/datasets/issues/4761
Hi, I have a similar question and would like to know if there's any progress in this issue. `dataset.add_faiss_index(column="embedding")`, this takes around 5minutes to add the index. `dataset.add_faiss_index(column="embedding", device=-1)`, this ran for more than 10minutes and still didn't complete execution...
parallel searching in multi-gpu setting using faiss
While I notice that `add_faiss_index` has supported assigning multiple GPUs, I am still confused about how it works. Does the `search-batch` function automatically parallelizes the input queries to different gpus?https://github.com/huggingface/datasets/blob/d76599bdd4d186b2e7c4f468b05766016055a0a5/src/datasets/sea...
58
parallel searching in multi-gpu setting using faiss While I notice that `add_faiss_index` has supported assigning multiple GPUs, I am still confused about how it works. Does the `search-batch` function automatically parallelizes the input queries to different gpus?https://github.com/huggingface/datasets/blob/d76...
[ -0.15960454940795898, -0.5895230770111084, -0.16648536920547485, 0.06209321692585945, -0.4033965766429901, 0.0898909866809845, 0.20352517068386078, 0.06841489672660828, 0.6028571128845215, 0.018614254891872406, -0.19229142367839813, -0.2063244879245758, 0.5429147481918335, -0.1146259233355...
https://github.com/huggingface/datasets/issues/4760
Hi @SaulLu, thanks for reporting. I think offline mode is not supported for datasets containing only data files (without any loading script). I'm having a look into this...
Issue with offline mode
## Describe the bug I can't retrieve a cached dataset with offline mode enabled ## Steps to reproduce the bug To reproduce my issue, first, you'll need to run a script that will cache the dataset ```python import os os.environ["HF_DATASETS_OFFLINE"] = "0" import datasets datasets.logging.set_verbosity_i...
28
Issue with offline mode ## Describe the bug I can't retrieve a cached dataset with offline mode enabled ## Steps to reproduce the bug To reproduce my issue, first, you'll need to run a script that will cache the dataset ```python import os os.environ["HF_DATASETS_OFFLINE"] = "0" import datasets datase...
[ -0.24646368622779846, -0.04167899489402771, -0.07200268656015396, 0.2695728838443756, 0.436902791261673, 0.053440287709236145, 0.4702567458152771, 0.04334651306271553, 0.1487271934747696, 0.1489969789981842, -0.12468096613883972, 0.007083535194396973, -0.07967355847358704, -0.0551210269331...
https://github.com/huggingface/datasets/issues/4760
Thanks for your feedback! To give you a little more info, if you don't set the offline mode flag, the script will load the cache. I first noticed this behavior with the `evaluate` library, and while trying to understand the downloading flow I realized that I had a similar error with datasets.
Issue with offline mode
## Describe the bug I can't retrieve a cached dataset with offline mode enabled ## Steps to reproduce the bug To reproduce my issue, first, you'll need to run a script that will cache the dataset ```python import os os.environ["HF_DATASETS_OFFLINE"] = "0" import datasets datasets.logging.set_verbosity_i...
52
Issue with offline mode ## Describe the bug I can't retrieve a cached dataset with offline mode enabled ## Steps to reproduce the bug To reproduce my issue, first, you'll need to run a script that will cache the dataset ```python import os os.environ["HF_DATASETS_OFFLINE"] = "0" import datasets datase...
[ -0.24646368622779846, -0.04167899489402771, -0.07200268656015396, 0.2695728838443756, 0.436902791261673, 0.053440287709236145, 0.4702567458152771, 0.04334651306271553, 0.1487271934747696, 0.1489969789981842, -0.12468096613883972, 0.007083535194396973, -0.07967355847358704, -0.0551210269331...
https://github.com/huggingface/datasets/issues/4760
#5331 will be helpful to fix this, as it updates the cache directory template to be aligned with the other datasets
Issue with offline mode
## Describe the bug I can't retrieve a cached dataset with offline mode enabled ## Steps to reproduce the bug To reproduce my issue, first, you'll need to run a script that will cache the dataset ```python import os os.environ["HF_DATASETS_OFFLINE"] = "0" import datasets datasets.logging.set_verbosity_i...
21
Issue with offline mode ## Describe the bug I can't retrieve a cached dataset with offline mode enabled ## Steps to reproduce the bug To reproduce my issue, first, you'll need to run a script that will cache the dataset ```python import os os.environ["HF_DATASETS_OFFLINE"] = "0" import datasets datase...
[ -0.24646368622779846, -0.04167899489402771, -0.07200268656015396, 0.2695728838443756, 0.436902791261673, 0.053440287709236145, 0.4702567458152771, 0.04334651306271553, 0.1487271934747696, 0.1489969789981842, -0.12468096613883972, 0.007083535194396973, -0.07967355847358704, -0.0551210269331...
https://github.com/huggingface/datasets/issues/4760
This issue has been fixed in `datasets` 2.16 by https://github.com/huggingface/datasets/pull/6493. The cache is now working properly :) You just have to update `datasets`: ``` pip install -U datasets ```
Issue with offline mode
## Describe the bug I can't retrieve a cached dataset with offline mode enabled ## Steps to reproduce the bug To reproduce my issue, first, you'll need to run a script that will cache the dataset ```python import os os.environ["HF_DATASETS_OFFLINE"] = "0" import datasets datasets.logging.set_verbosity_i...
29
Issue with offline mode ## Describe the bug I can't retrieve a cached dataset with offline mode enabled ## Steps to reproduce the bug To reproduce my issue, first, you'll need to run a script that will cache the dataset ```python import os os.environ["HF_DATASETS_OFFLINE"] = "0" import datasets datase...
[ -0.24646368622779846, -0.04167899489402771, -0.07200268656015396, 0.2695728838443756, 0.436902791261673, 0.053440287709236145, 0.4702567458152771, 0.04334651306271553, 0.1487271934747696, 0.1489969789981842, -0.12468096613883972, 0.007083535194396973, -0.07967355847358704, -0.0551210269331...
https://github.com/huggingface/datasets/issues/4759
I refreshed the dataset viewer manually, it's fixed now. Sorry for the inconvenience. <img width="1557" alt="Capture d’écran 2022-07-28 à 09 17 39" src="https://user-images.githubusercontent.com/1676121/181514666-92d7f8e1-ddc1-4769-84f3-f1edfdb902e8.png">
Dataset Viewer issue for Toygar/turkish-offensive-language-detection
### Link https://huggingface.co/datasets/Toygar/turkish-offensive-language-detection ### Description Status code: 400 Exception: Status400Error Message: The dataset does not exist. Hi, I provided train.csv, test.csv and valid.csv files. However, viewer says dataset does not exist. Should I n...
23
Dataset Viewer issue for Toygar/turkish-offensive-language-detection ### Link https://huggingface.co/datasets/Toygar/turkish-offensive-language-detection ### Description Status code: 400 Exception: Status400Error Message: The dataset does not exist. Hi, I provided train.csv, test.csv and val...
[ -0.3320986032485962, -0.18491409718990326, -0.0334162637591362, 0.3283216953277588, 0.31721267104148865, 0.14756500720977783, 0.39138007164001465, 0.2583249509334564, -0.10462595522403717, -0.08844436705112457, 0.0777563825249672, -0.26346683502197266, -0.17928767204284668, 0.1513357758522...
https://github.com/huggingface/datasets/issues/4755
I've built a minimal example that shows this bug without `n_proc`. It seems like it's a problem any way of using **tokenizers, `overflow_to_sample_mapping`, and Dataset.map, with a small batch size**: ``` import datasets import transformers pretrained = 'deepset/tinyroberta-squad2' tokenizer = transformers.AutoT...
Datasets.map causes incorrect overflow_to_sample_mapping when used with tokenizers and small batch size
## Describe the bug When using `tokenizer`, we can retrieve the field `overflow_to_sample_mapping`, since long samples will be overflown into multiple token sequences. However, when tokenizing is done via `Dataset.map`, with `n_proc > 1`, the `overflow_to_sample_mapping` field is wrong. This seems to be because ea...
170
Datasets.map causes incorrect overflow_to_sample_mapping when used with tokenizers and small batch size ## Describe the bug When using `tokenizer`, we can retrieve the field `overflow_to_sample_mapping`, since long samples will be overflown into multiple token sequences. However, when tokenizing is done via `Data...
[ -0.35161304473876953, -0.22139038145542145, 0.074775829911232, 0.09442149102687836, 0.0653681606054306, -0.18519318103790283, 0.21975603699684143, 0.1534900814294815, -0.24925529956817627, 0.103107750415802, 0.20500026643276215, 0.3753504455089569, -0.012278152629733086, -0.289909958839416...
https://github.com/huggingface/datasets/issues/4755
A larger batch size does _not_ have this behavior: ``` def tok2(d): return tok(d['question'], d['context']) ds = datasets.Dataset.from_dict({'question': questions, 'context': contexts}) tokens = ds.map(tok2, batched=True, batch_size=2) print(tokens['overflow_to_sample_mapping']) assert tokens['overflow_t...
Datasets.map causes incorrect overflow_to_sample_mapping when used with tokenizers and small batch size
## Describe the bug When using `tokenizer`, we can retrieve the field `overflow_to_sample_mapping`, since long samples will be overflown into multiple token sequences. However, when tokenizing is done via `Dataset.map`, with `n_proc > 1`, the `overflow_to_sample_mapping` field is wrong. This seems to be because ea...
35
Datasets.map causes incorrect overflow_to_sample_mapping when used with tokenizers and small batch size ## Describe the bug When using `tokenizer`, we can retrieve the field `overflow_to_sample_mapping`, since long samples will be overflown into multiple token sequences. However, when tokenizing is done via `Data...
[ -0.3800451159477234, -0.1890605092048645, 0.032078832387924194, 0.09150382876396179, -0.028541525825858116, -0.15760010480880737, 0.15276381373405457, 0.16440479457378387, -0.021618783473968506, 0.14799237251281738, 0.2348051816225052, 0.36516672372817993, -0.03041132353246212, -0.14136055...
https://github.com/huggingface/datasets/issues/4755
I was trying the [Question answering](https://huggingface.co/learn/nlp-course/chapter7/7#question-answering) tutorial on Hugging face when i faced the same problem. The preprocessing step is [here](https://huggingface.co/learn/nlp-course/chapter7/7#processing-the-validation-data). i have changed ```max_length=200, str...
Datasets.map causes incorrect overflow_to_sample_mapping when used with tokenizers and small batch size
## Describe the bug When using `tokenizer`, we can retrieve the field `overflow_to_sample_mapping`, since long samples will be overflown into multiple token sequences. However, when tokenizing is done via `Dataset.map`, with `n_proc > 1`, the `overflow_to_sample_mapping` field is wrong. This seems to be because ea...
139
Datasets.map causes incorrect overflow_to_sample_mapping when used with tokenizers and small batch size ## Describe the bug When using `tokenizer`, we can retrieve the field `overflow_to_sample_mapping`, since long samples will be overflown into multiple token sequences. However, when tokenizing is done via `Data...
[ -0.26761889457702637, -0.23406864702701569, 0.07868233323097229, 0.06765774637460709, 0.029235824942588806, -0.14285017549991608, 0.04255969077348709, 0.07200479507446289, -0.04074825718998909, 0.06729267537593842, 0.2289174497127533, 0.2538042962551117, -0.04525291919708252, -0.1250162720...
https://github.com/huggingface/datasets/issues/4752
I've narrowed down the issue to the `dataset_module_factory` which already creates a `dataset_infos.json` file down in the `.cache/modules/dataset_modules/..` folder. That JSON file already contains the wrong task_templates for `unfiltered`.
DatasetInfo issue when testing multiple configs: mixed task_templates
## Describe the bug When running the `datasets-cli test` it would seem that some config properties in a DatasetInfo get mangled, leading to issues, e.g., about the ClassLabel. ## Steps to reproduce the bug In summary, what I want to do is create three configs: - unfiltered: no classlabel, no tasks. Gets data fr...
29
DatasetInfo issue when testing multiple configs: mixed task_templates ## Describe the bug When running the `datasets-cli test` it would seem that some config properties in a DatasetInfo get mangled, leading to issues, e.g., about the ClassLabel. ## Steps to reproduce the bug In summary, what I want to do is cr...
[ -0.30294811725616455, -0.022381678223609924, -0.007900621742010117, 0.27841827273368835, 0.04747268930077553, 0.09106366336345673, 0.41269123554229736, 0.2915855944156647, -0.2092212587594986, -0.03551846742630005, -0.2731931805610657, 0.08178973197937012, -0.01108362153172493, 0.130238711...
https://github.com/huggingface/datasets/issues/4752
Ugh. Found the issue: apparently `datasets` was reusing the already existing `dataset_infos.json` that is inside `datasets/datasets/hebban-reviews`! Is this desired behavior? Perhaps when `--save_infos` and `--all_configs` are given, an existing `dataset_infos.json` file should first be deleted before continuing wit...
DatasetInfo issue when testing multiple configs: mixed task_templates
## Describe the bug When running the `datasets-cli test` it would seem that some config properties in a DatasetInfo get mangled, leading to issues, e.g., about the ClassLabel. ## Steps to reproduce the bug In summary, what I want to do is create three configs: - unfiltered: no classlabel, no tasks. Gets data fr...
58
DatasetInfo issue when testing multiple configs: mixed task_templates ## Describe the bug When running the `datasets-cli test` it would seem that some config properties in a DatasetInfo get mangled, leading to issues, e.g., about the ClassLabel. ## Steps to reproduce the bug In summary, what I want to do is cr...
[ -0.30294811725616455, -0.022381678223609924, -0.007900621742010117, 0.27841827273368835, 0.04747268930077553, 0.09106366336345673, 0.41269123554229736, 0.2915855944156647, -0.2092212587594986, -0.03551846742630005, -0.2731931805610657, 0.08178973197937012, -0.01108362153172493, 0.130238711...
https://github.com/huggingface/datasets/issues/4752
Hi! I think this is a reasonable solution. Would you be interested in submitting a PR?
DatasetInfo issue when testing multiple configs: mixed task_templates
## Describe the bug When running the `datasets-cli test` it would seem that some config properties in a DatasetInfo get mangled, leading to issues, e.g., about the ClassLabel. ## Steps to reproduce the bug In summary, what I want to do is create three configs: - unfiltered: no classlabel, no tasks. Gets data fr...
16
DatasetInfo issue when testing multiple configs: mixed task_templates ## Describe the bug When running the `datasets-cli test` it would seem that some config properties in a DatasetInfo get mangled, leading to issues, e.g., about the ClassLabel. ## Steps to reproduce the bug In summary, what I want to do is cr...
[ -0.30294811725616455, -0.022381678223609924, -0.007900621742010117, 0.27841827273368835, 0.04747268930077553, 0.09106366336345673, 0.41269123554229736, 0.2915855944156647, -0.2092212587594986, -0.03551846742630005, -0.2731931805610657, 0.08178973197937012, -0.01108362153172493, 0.130238711...
https://github.com/huggingface/datasets/issues/4750
Hi ! I think the simplest is to copy paste the `_split_generators` code from the other datasets and do a bunch of if-else, as in the glue dataset: https://huggingface.co/datasets/glue/blob/main/glue.py#L467
Easily create loading script for benchmark comprising multiple huggingface datasets
Hi, I would like to create a loading script for a benchmark comprising multiple huggingface datasets. The function _split_generators needs to return the files for the respective dataset. However, the files are not always in the same location for each dataset. I want to just make a wrapper dataset that provides a si...
29
Easily create loading script for benchmark comprising multiple huggingface datasets Hi, I would like to create a loading script for a benchmark comprising multiple huggingface datasets. The function _split_generators needs to return the files for the respective dataset. However, the files are not always in the sa...
[ -0.28242331743240356, -0.36613160371780396, -0.01212925836443901, 0.3533141016960144, -0.1201758086681366, -0.0588158443570137, 0.2566532790660858, 0.3862689733505249, 0.6584390997886658, 0.15032513439655304, -0.1860688328742981, -0.1119091808795929, -0.12338139116764069, 0.550899267196655...
https://github.com/huggingface/datasets/issues/4746
The dataset is empty, as far as I can tell: there are no files in the repository at https://huggingface.co/datasets/yanekyuk/wikikey/tree/main Maybe the viewer can display a better message for empty datasets
Dataset Viewer issue for yanekyuk/wikikey
### Link _No response_ ### Description _No response_ ### Owner _No response_
30
Dataset Viewer issue for yanekyuk/wikikey ### Link _No response_ ### Description _No response_ ### Owner _No response_ The dataset is empty, as far as I can tell: there are no files in the repository at https://huggingface.co/datasets/yanekyuk/wikikey/tree/main Maybe the viewer can display a better message ...
[ -0.030399486422538757, 0.03358927369117737, -0.027282899245619774, 0.27181074023246765, 0.08809162676334381, 0.10236559808254242, 0.18876001238822937, 0.31571266055107117, -0.2368869036436081, 0.22813791036605835, 0.20766261219978333, 0.17036503553390503, -0.01212599128484726, 0.1829195320...
https://github.com/huggingface/datasets/issues/4746
OK. Closing as it's not an error. We will work on making the error message a lot clearer.
Dataset Viewer issue for yanekyuk/wikikey
### Link _No response_ ### Description _No response_ ### Owner _No response_
18
Dataset Viewer issue for yanekyuk/wikikey ### Link _No response_ ### Description _No response_ ### Owner _No response_ OK. Closing as it's not an error. We will work on making the error message a lot clearer.
[ -0.07279765605926514, 0.08109280467033386, -0.05684888735413551, 0.11386963725090027, 0.1755310595035553, -0.0873146578669548, 0.42363032698631287, 0.29164743423461914, -0.24551914632320404, 0.2077007293701172, 0.08009159564971924, 0.2805226743221283, 0.10691747814416885, 0.230861216783523...
https://github.com/huggingface/datasets/issues/4745
Thanks for opening this issue :) If it can help, I think you can already use `huggingface_hub` to achieve this: ```python >>> from huggingface_hub import HfApi >>> [ds_info.id for ds_info in HfApi().list_datasets(use_auth_token=token) if ds_info.private] ['bigscience/xxxx', 'bigscience-catalogue-data/xxxxxxx', ....
Allow `list_datasets` to include private datasets
I am working with a large collection of private datasets, it would be convenient for me to be able to list them. I would envision extending the convention of using `use_auth_token` keyword argument to `list_datasets` function, then calling: ``` list_datasets(use_auth_token="my_token") ``` would return the li...
84
Allow `list_datasets` to include private datasets I am working with a large collection of private datasets, it would be convenient for me to be able to list them. I would envision extending the convention of using `use_auth_token` keyword argument to `list_datasets` function, then calling: ``` list_datasets(us...
[ -0.2407410591840744, 0.09022736549377441, -0.17129945755004883, 0.2690041661262512, -0.006314237602055073, 0.22895386815071106, 0.3941894769668579, 0.4281116724014282, 0.4821484088897705, 0.11412988603115082, -0.5409531593322754, 0.25992316007614136, -0.21460320055484772, 0.179908692836761...
https://github.com/huggingface/datasets/issues/4745
Great, thanks @lhoestq the workaround works! I think it would be intuitive to have the support directly in `datasets` but it makes sense to wait given that the workaround exists :)
Allow `list_datasets` to include private datasets
I am working with a large collection of private datasets, it would be convenient for me to be able to list them. I would envision extending the convention of using `use_auth_token` keyword argument to `list_datasets` function, then calling: ``` list_datasets(use_auth_token="my_token") ``` would return the li...
31
Allow `list_datasets` to include private datasets I am working with a large collection of private datasets, it would be convenient for me to be able to list them. I would envision extending the convention of using `use_auth_token` keyword argument to `list_datasets` function, then calling: ``` list_datasets(us...
[ -0.3670620620250702, 0.23883408308029175, -0.2139904946088791, 0.1687086820602417, -0.03367874026298523, 0.21034160256385803, 0.4328238070011139, 0.3512450158596039, 0.42124438285827637, 0.1737443059682846, -0.37273380160331726, 0.3447161912918091, -0.16999678313732147, 0.11378633230924606...
https://github.com/huggingface/datasets/issues/4745
i also think that going forward we should replace more and more implementations inside datasets with the corresponding ones from `huggingface_hub` (same as we're doing in `transformers`)
Allow `list_datasets` to include private datasets
I am working with a large collection of private datasets, it would be convenient for me to be able to list them. I would envision extending the convention of using `use_auth_token` keyword argument to `list_datasets` function, then calling: ``` list_datasets(use_auth_token="my_token") ``` would return the li...
27
Allow `list_datasets` to include private datasets I am working with a large collection of private datasets, it would be convenient for me to be able to list them. I would envision extending the convention of using `use_auth_token` keyword argument to `list_datasets` function, then calling: ``` list_datasets(us...
[ -0.31781429052352905, 0.04543513059616089, -0.1810135841369629, 0.2624082863330841, -0.08682218939065933, 0.20398232340812683, 0.45685404539108276, 0.3388109505176544, 0.45900318026542664, 0.160354346036911, -0.49185866117477417, 0.25827133655548096, -0.1206631287932396, 0.2042891681194305...
https://github.com/huggingface/datasets/issues/4745
`datasets.list_datasets` is now deprecated in favor of `huggingface_hub.list_datasets` (returns private datasets when `token` is present), so I'm closing this issue.
Allow `list_datasets` to include private datasets
I am working with a large collection of private datasets, it would be convenient for me to be able to list them. I would envision extending the convention of using `use_auth_token` keyword argument to `list_datasets` function, then calling: ``` list_datasets(use_auth_token="my_token") ``` would return the li...
20
Allow `list_datasets` to include private datasets I am working with a large collection of private datasets, it would be convenient for me to be able to list them. I would envision extending the convention of using `use_auth_token` keyword argument to `list_datasets` function, then calling: ``` list_datasets(us...
[ -0.3551120162010193, 0.15006884932518005, -0.20737215876579285, 0.19087493419647217, -0.07998731732368469, 0.20234820246696472, 0.44353094696998596, 0.3617458939552307, 0.464430034160614, 0.110353484749794, -0.40475472807884216, 0.33372220396995544, -0.19137975573539734, 0.0925177335739135...
https://github.com/huggingface/datasets/issues/4744
Note that for me personally, conceptually all the dummy data (even for "canonical" datasets) should be superseded by `datasets-server`, which performs some kind of CI/CD of datasets (including the canonical ones)
Remove instructions to generate dummy data from our docs
In our docs, we indicate to generate the dummy data: https://huggingface.co/docs/datasets/dataset_script#testing-data-and-checksum-metadata However: - dummy data makes sense only for datasets in our GitHub repo: so that we can test their loading with our CI - for datasets on the Hub: - they do not pass any CI t...
31
Remove instructions to generate dummy data from our docs In our docs, we indicate to generate the dummy data: https://huggingface.co/docs/datasets/dataset_script#testing-data-and-checksum-metadata However: - dummy data makes sense only for datasets in our GitHub repo: so that we can test their loading with our CI...
[ -0.02785751223564148, -0.2410699427127838, -0.03911295905709267, 0.19955512881278992, 0.11549068987369537, 0.10173335671424866, 0.38382822275161743, 0.11605224758386612, 0.255357563495636, 0.3394784927368164, -0.04621196910738945, 0.009783677756786346, -0.06736112385988235, 0.3955663144588...
https://github.com/huggingface/datasets/issues/4744
I totally agree: next step should be rethinking if dummy data makes sense for canonical datasets (once we have datasets-server) and eventually remove it. But for now, we could at least start by removing the indication to generate dummy data from our docs.
Remove instructions to generate dummy data from our docs
In our docs, we indicate to generate the dummy data: https://huggingface.co/docs/datasets/dataset_script#testing-data-and-checksum-metadata However: - dummy data makes sense only for datasets in our GitHub repo: so that we can test their loading with our CI - for datasets on the Hub: - they do not pass any CI t...
43
Remove instructions to generate dummy data from our docs In our docs, we indicate to generate the dummy data: https://huggingface.co/docs/datasets/dataset_script#testing-data-and-checksum-metadata However: - dummy data makes sense only for datasets in our GitHub repo: so that we can test their loading with our CI...
[ -0.011543802917003632, -0.1917973756790161, -0.018710602074861526, 0.15611717104911804, 0.20634527504444122, 0.020942389965057373, 0.3873964548110962, 0.26889896392822266, 0.23083418607711792, 0.3751850724220276, -0.004988126456737518, 0.04575374722480774, -0.04070678725838661, 0.369461238...
https://github.com/huggingface/datasets/issues/4742
Hi @BramVanroy, thanks for reporting. First of all, please note that you do not need the dummy data: this was the case when we were adding datasets to the `datasets` library (on this GitHub repo), so that we could test the correct loading of all datasets with our CI. However, this is no longer the case for datasets ...
Dummy data nowhere to be found
## Describe the bug To finalize my dataset, I wanted to create dummy data as per the guide and I ran ```shell datasets-cli dummy_data datasets/hebban-reviews --auto_generate ``` where hebban-reviews is [this repo](https://huggingface.co/datasets/BramVanroy/hebban-reviews). And even though the scripts runs an...
139
Dummy data nowhere to be found ## Describe the bug To finalize my dataset, I wanted to create dummy data as per the guide and I ran ```shell datasets-cli dummy_data datasets/hebban-reviews --auto_generate ``` where hebban-reviews is [this repo](https://huggingface.co/datasets/BramVanroy/hebban-reviews). An...
[ -0.0847654640674591, 0.0432363897562027, 0.020455878227949142, 0.2214217483997345, 0.0633900836110115, 0.16641134023666382, 0.598891019821167, -0.014362672343850136, 0.08097243309020996, 0.1957331746816635, -0.029741283506155014, -0.029453827068209648, 0.10871613025665283, -0.0814529359340...
https://github.com/huggingface/datasets/issues/4737
Hi! The server with the data seems to be down. I've reported this issue (https://github.com/CSAILVision/sceneparsing/issues/34) in the dataset repo.
Download error on scene_parse_150
``` from datasets import load_dataset dataset = load_dataset("scene_parse_150", "scene_parsing") FileNotFoundError: Couldn't find file at http://data.csail.mit.edu/places/ADEchallenge/ADEChallengeData2016.zip ```
19
Download error on scene_parse_150 ``` from datasets import load_dataset dataset = load_dataset("scene_parse_150", "scene_parsing") FileNotFoundError: Couldn't find file at http://data.csail.mit.edu/places/ADEchallenge/ADEChallengeData2016.zip ``` Hi! The server with the data seems to be down. I've reported ...
[ -0.5512937307357788, 0.06893399357795715, -0.16764751076698303, 0.2011214941740036, 0.2956450879573822, 0.0455770418047905, 0.08440163731575012, 0.3591878414154053, 0.26850759983062744, 0.09819390624761581, 0.13911443948745728, 0.07217840105295181, -0.02882053516805172, 0.32774603366851807...
https://github.com/huggingface/datasets/issues/4736
Thanks for reporting. You're right, workers were under-provisioned due to a manual error, and the job queue was full. It's fixed now.
Dataset Viewer issue for deepklarity/huggingface-spaces-dataset
### Link https://huggingface.co/datasets/deepklarity/huggingface-spaces-dataset/viewer/deepklarity--huggingface-spaces-dataset/train ### Description Hi Team, I'm getting the following error on a uploaded dataset. I'm getting the same status for a couple of hours now. The dataset size is `<1MB` and the format is cs...
22
Dataset Viewer issue for deepklarity/huggingface-spaces-dataset ### Link https://huggingface.co/datasets/deepklarity/huggingface-spaces-dataset/viewer/deepklarity--huggingface-spaces-dataset/train ### Description Hi Team, I'm getting the following error on a uploaded dataset. I'm getting the same status for a co...
[ -0.10864709317684174, -0.42553555965423584, -0.0010783001780509949, 0.36908361315727234, 0.11772306263446808, 0.0053962841629981995, 0.11066357791423798, 0.32730257511138916, -0.22768862545490265, 0.1336061656475067, -0.07271531969308853, -0.1603061556816101, -0.0917653813958168, 0.3448659...
https://github.com/huggingface/datasets/issues/4734
We have added a comment on an existing issue opened in their repo: https://github.com/google-research/google-research/issues/1212#issuecomment-1192267130 - https://github.com/google-research/google-research/issues/1212
Package rouge-score cannot be imported
## Describe the bug After the today release of `rouge_score-0.0.7` it seems no longer importable. Our CI fails: https://github.com/huggingface/datasets/runs/7463218591?check_suite_focus=true ``` FAILED tests/test_dataset_common.py::LocalDatasetTest::test_builder_class_bigbench FAILED tests/test_dataset_common.py::L...
16
Package rouge-score cannot be imported ## Describe the bug After the today release of `rouge_score-0.0.7` it seems no longer importable. Our CI fails: https://github.com/huggingface/datasets/runs/7463218591?check_suite_focus=true ``` FAILED tests/test_dataset_common.py::LocalDatasetTest::test_builder_class_bigbenc...
[ -0.3766891062259674, -0.1498900204896927, -0.09893381595611572, 0.07872022688388824, 0.12048131972551346, -0.1593286097049713, 0.0045980773866176605, 0.15980416536331177, 0.26415586471557617, 0.26372647285461426, 0.016208786517381668, 0.10538595169782639, -0.18025356531143188, 0.5757988691...
https://github.com/huggingface/datasets/issues/4732
Thanks for the feedback! I think since this issue is closely related to loading, I can add a clearer explanation under [Load > local loading script](https://huggingface.co/docs/datasets/main/en/loading#local-loading-script).
Document better that loading a dataset passing its name does not use the local script
As reported by @TrentBrick here https://github.com/huggingface/datasets/issues/4725#issuecomment-1191858596, it could be more clear that loading a dataset by passing its name does not use the (modified) local script of it. What he did: - he installed `datasets` from source - he modified locally `datasets/the_pile/...
26
Document better that loading a dataset passing its name does not use the local script As reported by @TrentBrick here https://github.com/huggingface/datasets/issues/4725#issuecomment-1191858596, it could be more clear that loading a dataset by passing its name does not use the (modified) local script of it. What h...
[ 0.019583210349082947, -0.24545465409755707, -0.056283269077539444, 0.19553151726722717, 0.32268428802490234, -0.08596011996269226, 0.3693874180316925, 0.11190153658390045, 0.22396981716156006, 0.18136285245418549, -0.12174474447965622, 0.37950974702835083, 0.11593570560216904, 0.2760542929...
https://github.com/huggingface/datasets/issues/4732
That makes sense but I think having a line about it under https://huggingface.co/docs/datasets/installation#source the "source" header here would be useful. My mental model of `pip install -e .` does not include the fact that the source files aren't actually being used.
Document better that loading a dataset passing its name does not use the local script
As reported by @TrentBrick here https://github.com/huggingface/datasets/issues/4725#issuecomment-1191858596, it could be more clear that loading a dataset by passing its name does not use the (modified) local script of it. What he did: - he installed `datasets` from source - he modified locally `datasets/the_pile/...
41
Document better that loading a dataset passing its name does not use the local script As reported by @TrentBrick here https://github.com/huggingface/datasets/issues/4725#issuecomment-1191858596, it could be more clear that loading a dataset by passing its name does not use the (modified) local script of it. What h...
[ -0.06728827953338623, -0.22457298636436462, -0.0567827932536602, 0.14324834942817688, 0.19274210929870605, -0.14800214767456055, 0.22318628430366516, -0.03697502240538597, 0.23953422904014587, 0.07265421003103256, -0.05654314532876015, 0.5195298194885254, 0.08183722198009491, 0.26037728786...
https://github.com/huggingface/datasets/issues/4732
Thanks for sharing your perspective. I think the `load_dataset` function is the only one that pulls from GitHub, and since this use-case is very specific, I don't think we need to include such a broad clarification in the Installation section. Feel free to check out the linked PR and let me know if it needs any addi...
Document better that loading a dataset passing its name does not use the local script
As reported by @TrentBrick here https://github.com/huggingface/datasets/issues/4725#issuecomment-1191858596, it could be more clear that loading a dataset by passing its name does not use the (modified) local script of it. What he did: - he installed `datasets` from source - he modified locally `datasets/the_pile/...
59
Document better that loading a dataset passing its name does not use the local script As reported by @TrentBrick here https://github.com/huggingface/datasets/issues/4725#issuecomment-1191858596, it could be more clear that loading a dataset by passing its name does not use the (modified) local script of it. What h...
[ 0.014235369861125946, -0.16598695516586304, -0.06281124800443649, 0.13313186168670654, 0.1790139377117157, -0.10626678913831711, 0.33122605085372925, -0.09922457486391068, 0.3050311207771301, 0.10479967296123505, -0.07774661481380463, 0.3792703151702881, 0.1435483992099762, 0.2327419668436...
https://github.com/huggingface/datasets/issues/4730
My bad, `482 * 418 * 50000 * 3 / 1000000 = 30221 MB` ( https://stackoverflow.com/a/42979315 ). Meanwhile `256 * 256 * 50000 * 3 / 1000000 = 9830 MB`. We are loading the non-cropped images and that is why we take so much RAM.
Loading imagenet-1k validation split takes much more RAM than expected
## Describe the bug Loading into memory the validation split of imagenet-1k takes much more RAM than expected. Assuming ImageNet-1k is 150 GB, split is 50000 validation images and 1,281,167 train images, I would expect only about 6 GB loaded in RAM. ## Steps to reproduce the bug ```python from datasets import...
45
Loading imagenet-1k validation split takes much more RAM than expected ## Describe the bug Loading into memory the validation split of imagenet-1k takes much more RAM than expected. Assuming ImageNet-1k is 150 GB, split is 50000 validation images and 1,281,167 train images, I would expect only about 6 GB loaded in...
[ 0.07649685442447662, -0.2503294348716736, -0.15546703338623047, 0.6247954368591309, 0.14339646697044373, 0.14049653708934784, 0.26671531796455383, 0.20433637499809265, 0.19151648879051208, 0.1560835987329483, -0.13519036769866943, 0.07795897126197815, -0.09449911117553711, -0.2286120355129...
https://github.com/huggingface/datasets/issues/4728
Hi @rohitvincent, thanks for reporting. Unfortunately I'm not able to reproduce your issue: ```python In [2]: from datasets import load_dataset, DownloadMode ...: load_dataset(path='financial_phrasebank',name='sentences_allagree', download_mode="force_redownload") Downloading builder script: 6.04kB [00:00, 2....
load_dataset gives "403" error when using Financial Phrasebank
I tried both codes below to download the financial phrasebank dataset (https://huggingface.co/datasets/financial_phrasebank) with the sentences_allagree subset. However, the code gives a 403 error when executed from multiple machines locally or on the cloud. ``` from datasets import load_dataset, DownloadMode load...
97
load_dataset gives "403" error when using Financial Phrasebank I tried both codes below to download the financial phrasebank dataset (https://huggingface.co/datasets/financial_phrasebank) with the sentences_allagree subset. However, the code gives a 403 error when executed from multiple machines locally or on the clo...
[ -0.23997078835964203, 0.36394351720809937, -0.02297457493841648, 0.3758726418018341, 0.010911067947745323, -0.042938604950904846, 0.446659117937088, 0.23761892318725586, -0.12657712399959564, 0.17957958579063416, -0.3686707615852356, -0.09099350869655609, 0.47572192549705505, 0.21130970120...
https://github.com/huggingface/datasets/issues/4728
Yes was able to download from the link manually. But still, get the same error when I use load_dataset.
load_dataset gives "403" error when using Financial Phrasebank
I tried both codes below to download the financial phrasebank dataset (https://huggingface.co/datasets/financial_phrasebank) with the sentences_allagree subset. However, the code gives a 403 error when executed from multiple machines locally or on the cloud. ``` from datasets import load_dataset, DownloadMode load...
19
load_dataset gives "403" error when using Financial Phrasebank I tried both codes below to download the financial phrasebank dataset (https://huggingface.co/datasets/financial_phrasebank) with the sentences_allagree subset. However, the code gives a 403 error when executed from multiple machines locally or on the clo...
[ -0.2709846496582031, 0.38107845187187195, -0.03410474956035614, 0.34083685278892517, -0.039725057780742645, -0.030591189861297607, 0.4704935550689697, 0.2363702952861786, -0.06424486637115479, 0.19109898805618286, -0.36403754353523254, -0.09909236431121826, 0.5061168670654297, 0.2444678246...
https://github.com/huggingface/datasets/issues/4725
Thanks for reporting, @TrentBrick. We are addressing the change with their data host server. On the meantime, if you would like to work with your fixed local copy of the_pile script, you should use: ```python load_dataset("path/to/your/local/the_pile/the_pile.py",... ``` instead of just `load_dataset("the_pile",...
the_pile datasets URL broken.
https://github.com/huggingface/datasets/pull/3627 changed the Eleuther AI Pile dataset URL from https://the-eye.eu/ to https://mystic.the-eye.eu/ but the latter is now broken and the former works again. Note that when I git clone the repo and use `pip install -e .` and then edit the URL back the codebase doesn't se...
59
the_pile datasets URL broken. https://github.com/huggingface/datasets/pull/3627 changed the Eleuther AI Pile dataset URL from https://the-eye.eu/ to https://mystic.the-eye.eu/ but the latter is now broken and the former works again. Note that when I git clone the repo and use `pip install -e .` and then edit the...
[ 0.008803866803646088, 0.10232311487197876, 0.028943095356225967, -0.00755872018635273, 0.11634649336338043, -0.12965355813503265, 0.287350058555603, 0.09818824380636215, 0.12217672169208527, -0.01874244213104248, -0.10851937532424927, 0.24716457724571228, 0.09457488358020782, 0.26687976717...
https://github.com/huggingface/datasets/issues/4725
@TrentBrick, I have checked the URLs and both hosts work, the original (https://the-eye.eu/) and the mirror (https://mystic.the-eye.eu/). See e.g.: - https://mystic.the-eye.eu/public/AI/pile/ - https://mystic.the-eye.eu/public/AI/pile_preliminary_components/ Please, let me know if you still find any issue loading ...
the_pile datasets URL broken.
https://github.com/huggingface/datasets/pull/3627 changed the Eleuther AI Pile dataset URL from https://the-eye.eu/ to https://mystic.the-eye.eu/ but the latter is now broken and the former works again. Note that when I git clone the repo and use `pip install -e .` and then edit the URL back the codebase doesn't se...
41
the_pile datasets URL broken. https://github.com/huggingface/datasets/pull/3627 changed the Eleuther AI Pile dataset URL from https://the-eye.eu/ to https://mystic.the-eye.eu/ but the latter is now broken and the former works again. Note that when I git clone the repo and use `pip install -e .` and then edit the...
[ 0.027461111545562744, 0.24456176161766052, 0.04138937592506409, 0.10977904498577118, -0.11028445512056351, -0.1754821091890335, 0.2652451694011688, -0.028132066130638123, -0.0512794628739357, -0.20966726541519165, -0.1959856152534485, 0.020313184708356857, 0.21618027985095978, 0.0982525497...
https://github.com/huggingface/datasets/issues/4725
Great this is working now. Re the download from GitHub... I'm sure thought went into doing this but could it be made more clear maybe here? https://huggingface.co/docs/datasets/installation for example under installing from source? I spent over an hour questioning my sanity as I kept trying to edit this file, uninstall...
the_pile datasets URL broken.
https://github.com/huggingface/datasets/pull/3627 changed the Eleuther AI Pile dataset URL from https://the-eye.eu/ to https://mystic.the-eye.eu/ but the latter is now broken and the former works again. Note that when I git clone the repo and use `pip install -e .` and then edit the URL back the codebase doesn't se...
63
the_pile datasets URL broken. https://github.com/huggingface/datasets/pull/3627 changed the Eleuther AI Pile dataset URL from https://the-eye.eu/ to https://mystic.the-eye.eu/ but the latter is now broken and the former works again. Note that when I git clone the repo and use `pip install -e .` and then edit the...
[ 0.20789161324501038, 0.19409415125846863, 0.04316888377070427, 0.09011712670326233, 0.07177532464265823, -0.11088081449270248, 0.09704596549272537, -0.09865108132362366, -0.14412379264831543, -0.20260556042194366, -0.1672440469264984, 0.12127833068370819, 0.22688807547092438, 0.05948135256...
https://github.com/huggingface/datasets/issues/4725
Thanks @TrentBrick for the suggestion about improving our docs: we should definitely do this if you find they are not clear enough. Currently, our docs explain how to load a dataset from a local loading script here: [Load > Local loading script](https://huggingface.co/docs/datasets/loading#local-loading-script) I...
the_pile datasets URL broken.
https://github.com/huggingface/datasets/pull/3627 changed the Eleuther AI Pile dataset URL from https://the-eye.eu/ to https://mystic.the-eye.eu/ but the latter is now broken and the former works again. Note that when I git clone the repo and use `pip install -e .` and then edit the URL back the codebase doesn't se...
62
the_pile datasets URL broken. https://github.com/huggingface/datasets/pull/3627 changed the Eleuther AI Pile dataset URL from https://the-eye.eu/ to https://mystic.the-eye.eu/ but the latter is now broken and the former works again. Note that when I git clone the repo and use `pip install -e .` and then edit the...
[ 0.06096506118774414, 0.20854085683822632, 0.09434571117162704, 0.06399431824684143, 0.08075360953807831, -0.03316471725702286, 0.21478289365768433, -0.02757667750120163, 0.16319411993026733, -0.12858256697654724, -0.11716650426387787, 0.12172415107488632, 0.15460018813610077, 0.20191791653...
https://github.com/huggingface/datasets/issues/4721
Hi ! It looks like a bug in `pyarrow`. If you manage to end up with only one chunk per parquet file it should workaround this issue. To achieve that you can try to lower the value of `max_shard_size` and also don't use `map` before `push_to_hub`. Do you have a minimum reproducible example that we can share with t...
PyArrow Dataset error when calling `load_dataset`
## Describe the bug I am fine tuning a wav2vec2 model following the script here using my own dataset: https://github.com/huggingface/transformers/blob/main/examples/pytorch/speech-recognition/run_speech_recognition_ctc.py Loading my Audio dataset from the hub which was originally generated from disk results in th...
65
PyArrow Dataset error when calling `load_dataset` ## Describe the bug I am fine tuning a wav2vec2 model following the script here using my own dataset: https://github.com/huggingface/transformers/blob/main/examples/pytorch/speech-recognition/run_speech_recognition_ctc.py Loading my Audio dataset from the hub wh...
[ -0.2546972632408142, 0.19534099102020264, 0.0617990717291832, 0.1819831281900406, 0.2136664092540741, 0.0009269267320632935, 0.3114224672317505, 0.31124404072761536, -0.3717076778411865, -0.1819828450679779, -0.06331086903810501, 0.30341702699661255, -0.16759228706359863, -0.10379240661859...
https://github.com/huggingface/datasets/issues/4721
> If you manage to end up with only one chunk per parquet file it should workaround this issue. Yup, I did not encounter this bug when I was testing my script with a slice of <1000 samples for my dataset. > Do you have a minimum reproducible example... Not sure if I can get more minimal than the script I share...
PyArrow Dataset error when calling `load_dataset`
## Describe the bug I am fine tuning a wav2vec2 model following the script here using my own dataset: https://github.com/huggingface/transformers/blob/main/examples/pytorch/speech-recognition/run_speech_recognition_ctc.py Loading my Audio dataset from the hub which was originally generated from disk results in th...
90
PyArrow Dataset error when calling `load_dataset` ## Describe the bug I am fine tuning a wav2vec2 model following the script here using my own dataset: https://github.com/huggingface/transformers/blob/main/examples/pytorch/speech-recognition/run_speech_recognition_ctc.py Loading my Audio dataset from the hub wh...
[ -0.2546972632408142, 0.19534099102020264, 0.0617990717291832, 0.1819831281900406, 0.2136664092540741, 0.0009269267320632935, 0.3114224672317505, 0.31124404072761536, -0.3717076778411865, -0.1819828450679779, -0.06331086903810501, 0.30341702699661255, -0.16759228706359863, -0.10379240661859...
https://github.com/huggingface/datasets/issues/4721
Actually this is probably linked to this open issue: https://issues.apache.org/jira/browse/ARROW-5030. setting `max_shard_size="2GB"` should do the job (or `max_shard_size="1GB"` if you want to be on the safe side, especially given that there can be some variance in the shard sizes if the dataset is not evenly distr...
PyArrow Dataset error when calling `load_dataset`
## Describe the bug I am fine tuning a wav2vec2 model following the script here using my own dataset: https://github.com/huggingface/transformers/blob/main/examples/pytorch/speech-recognition/run_speech_recognition_ctc.py Loading my Audio dataset from the hub which was originally generated from disk results in th...
46
PyArrow Dataset error when calling `load_dataset` ## Describe the bug I am fine tuning a wav2vec2 model following the script here using my own dataset: https://github.com/huggingface/transformers/blob/main/examples/pytorch/speech-recognition/run_speech_recognition_ctc.py Loading my Audio dataset from the hub wh...
[ -0.2546972632408142, 0.19534099102020264, 0.0617990717291832, 0.1819831281900406, 0.2136664092540741, 0.0009269267320632935, 0.3114224672317505, 0.31124404072761536, -0.3717076778411865, -0.1819828450679779, -0.06331086903810501, 0.30341702699661255, -0.16759228706359863, -0.10379240661859...
https://github.com/huggingface/datasets/issues/4720
It seems like the list of splits could not be obtained: ```python >>> from datasets import get_dataset_split_names >>> get_dataset_split_names("shamikbose89/lancaster_newsbooks", "default") Using custom data configuration default Traceback (most recent call last): File "/home/slesage/hf/datasets-server/servic...
Dataset Viewer issue for shamikbose89/lancaster_newsbooks
### Link https://huggingface.co/datasets/shamikbose89/lancaster_newsbooks ### Description Status code: 400 Exception: ValueError Message: Cannot seek streaming HTTP file I am able to use the dataset loading script locally and it also runs when I'm using the one from the hub, but the viewer sti...
185
Dataset Viewer issue for shamikbose89/lancaster_newsbooks ### Link https://huggingface.co/datasets/shamikbose89/lancaster_newsbooks ### Description Status code: 400 Exception: ValueError Message: Cannot seek streaming HTTP file I am able to use the dataset loading script locally and it also ...
[ -0.5859618186950684, -0.12167192250490189, -0.020173344761133194, 0.3947693109512329, 0.21447691321372986, 0.04132406413555145, 0.12052863836288452, 0.30382561683654785, 0.12895584106445312, 0.11349020153284073, -0.45954984426498413, 0.177667498588562, 0.03727639839053154, 0.15605118870735...
https://github.com/huggingface/datasets/issues/4720
Oh, I removed the 'split' key from `kwargs`. I put it back in, but there's still the same error
Dataset Viewer issue for shamikbose89/lancaster_newsbooks
### Link https://huggingface.co/datasets/shamikbose89/lancaster_newsbooks ### Description Status code: 400 Exception: ValueError Message: Cannot seek streaming HTTP file I am able to use the dataset loading script locally and it also runs when I'm using the one from the hub, but the viewer sti...
19
Dataset Viewer issue for shamikbose89/lancaster_newsbooks ### Link https://huggingface.co/datasets/shamikbose89/lancaster_newsbooks ### Description Status code: 400 Exception: ValueError Message: Cannot seek streaming HTTP file I am able to use the dataset loading script locally and it also ...
[ -0.5473053455352783, -0.04688660800457001, -0.0034847259521484375, 0.38544130325317383, 0.15918931365013123, 0.0927412360906601, 0.08627460896968842, 0.2350137084722519, 0.07396086305379868, 0.1753545105457306, -0.35506221652030945, 0.18995440006256104, 0.11080628633499146, 0.1089777424931...
https://github.com/huggingface/datasets/issues/4720
It looks like the data host doesn't support http range requests, which is necessary to glob inside a ZIP archive in streaming mode. Can you try hosting the dataset elsewhere ? Or download each file separately from https://ota.bodleian.ox.ac.uk/repository/xmlui/handle/20.500.12024/2531 ?
Dataset Viewer issue for shamikbose89/lancaster_newsbooks
### Link https://huggingface.co/datasets/shamikbose89/lancaster_newsbooks ### Description Status code: 400 Exception: ValueError Message: Cannot seek streaming HTTP file I am able to use the dataset loading script locally and it also runs when I'm using the one from the hub, but the viewer sti...
39
Dataset Viewer issue for shamikbose89/lancaster_newsbooks ### Link https://huggingface.co/datasets/shamikbose89/lancaster_newsbooks ### Description Status code: 400 Exception: ValueError Message: Cannot seek streaming HTTP file I am able to use the dataset loading script locally and it also ...
[ -0.7030400633811951, -0.0037971138954162598, -0.03198610991239548, 0.36630889773368835, 0.12229283899068832, 0.08851628005504608, -0.03396818786859512, 0.3079904019832611, 0.11582979559898376, 0.11100552976131439, -0.37154924869537354, 0.22815850377082825, 0.12867304682731628, 0.1775629520...
https://github.com/huggingface/datasets/issues/4720
@lhoestq Thanks! That seems to have solved it. I can get the splits with the `get_dataset_split_names()` function. The dataset viewer is still not loading properly, though. The new error is ``` Status code: 400 Exception: BadZipFile Message: File is not a zip file ``` PS. The dataset loads properly ...
Dataset Viewer issue for shamikbose89/lancaster_newsbooks
### Link https://huggingface.co/datasets/shamikbose89/lancaster_newsbooks ### Description Status code: 400 Exception: ValueError Message: Cannot seek streaming HTTP file I am able to use the dataset loading script locally and it also runs when I'm using the one from the hub, but the viewer sti...
53
Dataset Viewer issue for shamikbose89/lancaster_newsbooks ### Link https://huggingface.co/datasets/shamikbose89/lancaster_newsbooks ### Description Status code: 400 Exception: ValueError Message: Cannot seek streaming HTTP file I am able to use the dataset loading script locally and it also ...
[ -0.5757744312286377, -0.038223281502723694, 0.021358869969844818, 0.4675869047641754, 0.08479093015193939, 0.058451756834983826, 0.18854661285877228, 0.391844242811203, -0.0041977837681770325, 0.0005981475114822388, -0.43981337547302246, 0.32067734003067017, 0.20386068522930145, 0.08589063...
https://github.com/huggingface/datasets/issues/4719
I am also getting a ValueError: 'Couldn't cast' at the bottom. Is this because of some delimiter issue? My dataset is on the Huggingface Hub. If you could look at it, that would be greatly appreciated.
Issue loading TheNoob3131/mosquito-data dataset
![image](https://user-images.githubusercontent.com/53668030/179815591-d75fa7d3-3122-485f-a852-b06a68909066.png) So my dataset is public in the Huggingface Hub, but when I try to load it using the load_dataset command, it shows that it is downloading the files, but throws a ValueError. When I went to my directory to ...
36
Issue loading TheNoob3131/mosquito-data dataset ![image](https://user-images.githubusercontent.com/53668030/179815591-d75fa7d3-3122-485f-a852-b06a68909066.png) So my dataset is public in the Huggingface Hub, but when I try to load it using the load_dataset command, it shows that it is downloading the files, but th...
[ -0.21247825026512146, -0.32471296191215515, 0.014664378017187119, 0.7459121942520142, 0.31705179810523987, 0.05043594539165497, 0.3379977345466614, 0.15805621445178986, -0.13733726739883423, 0.17352896928787231, -0.34668537974357605, -0.13931363821029663, -0.16574865579605103, 0.0783109590...
https://github.com/huggingface/datasets/issues/4719
Hi @thenerd31, thanks for reporting. Please note that your issue is not caused by the Hugging Face Datasets library, but it has to do with the specific implementation of your dataset on the Hub. Therefore, I'm transferring this discussion to your own dataset Community tab: https://huggingface.co/datasets/TheNoob3...
Issue loading TheNoob3131/mosquito-data dataset
![image](https://user-images.githubusercontent.com/53668030/179815591-d75fa7d3-3122-485f-a852-b06a68909066.png) So my dataset is public in the Huggingface Hub, but when I try to load it using the load_dataset command, it shows that it is downloading the files, but throws a ValueError. When I went to my directory to ...
46
Issue loading TheNoob3131/mosquito-data dataset ![image](https://user-images.githubusercontent.com/53668030/179815591-d75fa7d3-3122-485f-a852-b06a68909066.png) So my dataset is public in the Huggingface Hub, but when I try to load it using the load_dataset command, it shows that it is downloading the files, but th...
[ -0.19258306920528412, -0.31402820348739624, 0.007739372551441193, 0.7367771863937378, 0.3272164762020111, 0.06612614542245865, 0.3420353829860687, 0.1637117713689804, -0.12879064679145813, 0.1592704951763153, -0.35095876455307007, -0.13011950254440308, -0.15793485939502716, 0.0716128870844...
https://github.com/huggingface/datasets/issues/4717
It's currently working, as far as I understand https://huggingface.co/datasets/LawalAfeez/englishreview-ds-mini/viewer/LawalAfeez--englishreview-ds-mini/train <img width="1556" alt="Capture d’écran 2022-07-19 à 09 24 01" src="https://user-images.githubusercontent.com/1676121/179761130-2d7980b9-c0f6-4093-8b1d-f0...
Dataset Viewer issue for LawalAfeez/englishreview-ds-mini
### Link _No response_ ### Description Unable to view the split data ### Owner _No response_
24
Dataset Viewer issue for LawalAfeez/englishreview-ds-mini ### Link _No response_ ### Description Unable to view the split data ### Owner _No response_ It's currently working, as far as I understand https://huggingface.co/datasets/LawalAfeez/englishreview-ds-mini/viewer/LawalAfeez--englishreview-ds-mini/trai...
[ -0.28384798765182495, -0.0237300843000412, -0.03626474738121033, 0.3594204783439636, 0.2002211958169937, 0.006689123809337616, 0.666642963886261, 0.3826548457145691, -0.1982179433107376, 0.13961705565452576, -0.2956610918045044, 0.08395450562238693, 0.11572675406932831, 0.29945772886276245...
https://github.com/huggingface/datasets/issues/4711
I'm closing this issue as both the Audio and Image sections now have a "Create dataset" page that contains the info about writing the loading script version of a dataset.
Document how to create a dataset loading script for audio/vision
Currently, in our docs for Audio/Vision/Text, we explain how to: - Load data - Process data However we only explain how to *Create a dataset loading script* for text data. I think it would be useful that we add the same for Audio/Vision as these have some specificities different from Text. See, for example: ...
30
Document how to create a dataset loading script for audio/vision Currently, in our docs for Audio/Vision/Text, we explain how to: - Load data - Process data However we only explain how to *Create a dataset loading script* for text data. I think it would be useful that we add the same for Audio/Vision as these...
[ -0.3459111452102661, -0.10923687368631363, -0.11845263093709946, 0.0035364460200071335, 0.14353233575820923, -0.052946366369724274, 0.317175954580307, 0.10717598348855972, 0.40879112482070923, 0.2790822982788086, -0.15308883786201477, 0.08818288147449493, -0.07643014192581177, 0.3389300704...
https://github.com/huggingface/datasets/issues/4709
Hi ! That would be awesome to have them indeed, thanks for opening this issue I just added you to the WMT org on the HF Hub if you're interested in adding those datasets. Feel free to create a dataset repository for each dataset and upload the data files there :) preferably in ZIP archives instead of TAR archives...
WMT21 & WMT22
## Adding a Dataset - **Name:** WMT21 & WMT22 - **Description:** We are going to have three tracks: two small tasks and a large task. The small tracks evaluate translation between fairly related languages and English (all pairs). The large track uses 101 languages. - **Paper:** / - **Data:** https://statmt.org/wmt...
279
WMT21 & WMT22 ## Adding a Dataset - **Name:** WMT21 & WMT22 - **Description:** We are going to have three tracks: two small tasks and a large task. The small tracks evaluate translation between fairly related languages and English (all pairs). The large track uses 101 languages. - **Paper:** / - **Data:** https:...
[ -0.32753559947013855, -0.05008849501609802, -0.013531506061553955, 0.1842869073152542, 0.01137523539364338, 0.028494060039520264, 0.4178211987018585, 0.15633749961853027, 0.10321885347366333, 0.352032870054245, -0.29302504658699036, -0.26087331771850586, -0.20637960731983185, 0.44054627418...
https://github.com/huggingface/datasets/issues/4709
@Muennighoff , @lhoestq let me know if you want me to look into this. Happy to help bring WMT21 & WMT22 datasets into 🤗 !
WMT21 & WMT22
## Adding a Dataset - **Name:** WMT21 & WMT22 - **Description:** We are going to have three tracks: two small tasks and a large task. The small tracks evaluate translation between fairly related languages and English (all pairs). The large track uses 101 languages. - **Paper:** / - **Data:** https://statmt.org/wmt...
25
WMT21 & WMT22 ## Adding a Dataset - **Name:** WMT21 & WMT22 - **Description:** We are going to have three tracks: two small tasks and a large task. The small tracks evaluate translation between fairly related languages and English (all pairs). The large track uses 101 languages. - **Paper:** / - **Data:** https:...
[ -0.3153841495513916, -0.06239870935678482, -0.026627372950315475, 0.23279821872711182, -0.007741707842797041, 0.048251837491989136, 0.2758042514324188, 0.07256654649972916, 0.09948506951332092, 0.27296698093414307, -0.26162189245224, -0.31528517603874207, -0.2845365107059479, 0.53397750854...
https://github.com/huggingface/datasets/issues/4709
Hi @srhrshr :) Sure, feel free to create a dataset repository on the Hub and start from the implementation of WMT19 if you want. Then we can move the dataset under the WMT org (we'll move the other ones there as well). Let me know if you have questions or if I can help
WMT21 & WMT22
## Adding a Dataset - **Name:** WMT21 & WMT22 - **Description:** We are going to have three tracks: two small tasks and a large task. The small tracks evaluate translation between fairly related languages and English (all pairs). The large track uses 101 languages. - **Paper:** / - **Data:** https://statmt.org/wmt...
54
WMT21 & WMT22 ## Adding a Dataset - **Name:** WMT21 & WMT22 - **Description:** We are going to have three tracks: two small tasks and a large task. The small tracks evaluate translation between fairly related languages and English (all pairs). The large track uses 101 languages. - **Paper:** / - **Data:** https:...
[ -0.3099559545516968, -0.058674708008766174, -0.017347298562526703, 0.21638865768909454, -0.015382209792733192, 0.0470876544713974, 0.33385682106018066, 0.08801721036434174, 0.08406601846218109, 0.31060728430747986, -0.22710323333740234, -0.25779324769973755, -0.3052510619163513, 0.54971742...
https://github.com/huggingface/datasets/issues/4709
Hello @lhoestq , Would it be possible for me to be granted in the WMT organization (on hf ofc) in order to facilitate dataset uploads? I've already initiated the joining process at this link: https://huggingface.co/wmt I appreciate your help with this. Thank you!
WMT21 & WMT22
## Adding a Dataset - **Name:** WMT21 & WMT22 - **Description:** We are going to have three tracks: two small tasks and a large task. The small tracks evaluate translation between fairly related languages and English (all pairs). The large track uses 101 languages. - **Paper:** / - **Data:** https://statmt.org/wmt...
43
WMT21 & WMT22 ## Adding a Dataset - **Name:** WMT21 & WMT22 - **Description:** We are going to have three tracks: two small tasks and a large task. The small tracks evaluate translation between fairly related languages and English (all pairs). The large track uses 101 languages. - **Paper:** / - **Data:** https:...
[ -0.1564246416091919, 0.1804385483264923, 0.00435967743396759, 0.2519987225532532, 0.09361039102077484, 0.11530408263206482, 0.22341525554656982, -0.06339944154024124, 0.11364518851041794, 0.20126977562904358, -0.256542444229126, -0.41152092814445496, -0.20818035304546356, 0.339228421449661...
https://github.com/huggingface/datasets/issues/4707
Thanks for reporting. I refreshed the dataset viewer and it now works as expected. https://huggingface.co/datasets/TheNoob3131/mosquito-data <img width="1135" alt="Capture d’écran 2022-07-18 à 13 15 22" src="https://user-images.githubusercontent.com/1676121/179566497-e47f1a27-fd84-4a8d-9d7f-2e0f2da803df.png"> ...
Dataset Viewer issue for TheNoob3131/mosquito-data
### Link _No response_ ### Description Getting this error when trying to view dataset preview: Message: 401, message='Unauthorized', url=URL('https://huggingface.co/datasets/TheNoob3131/mosquito-data/resolve/8aceebd6c4a359d216d10ef020868bd9e8c986dd/0_Africa_train.csv') ### Owner _No response_
35
Dataset Viewer issue for TheNoob3131/mosquito-data ### Link _No response_ ### Description Getting this error when trying to view dataset preview: Message: 401, message='Unauthorized', url=URL('https://huggingface.co/datasets/TheNoob3131/mosquito-data/resolve/8aceebd6c4a359d216d10ef020868bd9e8c986dd/0_Afric...
[ 0.022611699998378754, -0.025148525834083557, 0.04436818137764931, 0.3477144241333008, 0.352563738822937, -0.01484941691160202, 0.2839347720146179, 0.34438008069992065, -0.5440014600753784, 0.25938063859939575, -0.3092682659626007, -0.035563111305236816, 0.0032648779451847076, -0.2861491739...
https://github.com/huggingface/datasets/issues/4707
By chance, could you provide some details about the operations done on the dataset: was it private? gated?
Dataset Viewer issue for TheNoob3131/mosquito-data
### Link _No response_ ### Description Getting this error when trying to view dataset preview: Message: 401, message='Unauthorized', url=URL('https://huggingface.co/datasets/TheNoob3131/mosquito-data/resolve/8aceebd6c4a359d216d10ef020868bd9e8c986dd/0_Africa_train.csv') ### Owner _No response_
18
Dataset Viewer issue for TheNoob3131/mosquito-data ### Link _No response_ ### Description Getting this error when trying to view dataset preview: Message: 401, message='Unauthorized', url=URL('https://huggingface.co/datasets/TheNoob3131/mosquito-data/resolve/8aceebd6c4a359d216d10ef020868bd9e8c986dd/0_Afric...
[ 0.03773041069507599, -0.06426966935396194, 0.01616816595196724, 0.4014211893081665, 0.21320582926273346, -0.08511750400066376, 0.3254067003726959, 0.21200671792030334, -0.4756490886211395, 0.16716289520263672, -0.4214616119861603, -0.01988133043050766, -0.05918078124523163, -0.092361226677...
https://github.com/huggingface/datasets/issues/4707
Yes, it was a private dataset, and when I made it public, the Dataset Preview did not work. However, now when I make the dataset private, it says that the Dataset Preview has been disabled. Why is this?
Dataset Viewer issue for TheNoob3131/mosquito-data
### Link _No response_ ### Description Getting this error when trying to view dataset preview: Message: 401, message='Unauthorized', url=URL('https://huggingface.co/datasets/TheNoob3131/mosquito-data/resolve/8aceebd6c4a359d216d10ef020868bd9e8c986dd/0_Africa_train.csv') ### Owner _No response_
38
Dataset Viewer issue for TheNoob3131/mosquito-data ### Link _No response_ ### Description Getting this error when trying to view dataset preview: Message: 401, message='Unauthorized', url=URL('https://huggingface.co/datasets/TheNoob3131/mosquito-data/resolve/8aceebd6c4a359d216d10ef020868bd9e8c986dd/0_Afric...
[ 0.0002733096480369568, -0.09891277551651001, 0.04993309825658798, 0.334094762802124, 0.10687100887298584, -0.046268776059150696, 0.442306250333786, 0.14808888733386993, -0.40743857622146606, 0.30907177925109863, -0.3439732789993286, -0.02211281657218933, 0.037872929126024246, -0.2940630912...
https://github.com/huggingface/datasets/issues/4707
Thanks for the details. For now, the dataset viewer is always disabled on private datasets (see https://huggingface.co/docs/hub/datasets-viewer for more details)
Dataset Viewer issue for TheNoob3131/mosquito-data
### Link _No response_ ### Description Getting this error when trying to view dataset preview: Message: 401, message='Unauthorized', url=URL('https://huggingface.co/datasets/TheNoob3131/mosquito-data/resolve/8aceebd6c4a359d216d10ef020868bd9e8c986dd/0_Africa_train.csv') ### Owner _No response_
20
Dataset Viewer issue for TheNoob3131/mosquito-data ### Link _No response_ ### Description Getting this error when trying to view dataset preview: Message: 401, message='Unauthorized', url=URL('https://huggingface.co/datasets/TheNoob3131/mosquito-data/resolve/8aceebd6c4a359d216d10ef020868bd9e8c986dd/0_Afric...
[ -0.060105279088020325, -0.19461584091186523, 0.05814766138792038, 0.2915865480899811, 0.2524869441986084, 0.013544991612434387, 0.26021459698677063, 0.3194034993648529, -0.3029673397541046, 0.27132555842399597, -0.4466868042945862, 0.0421551950275898, -0.04957161843776703, -0.0364218391478...
https://github.com/huggingface/datasets/issues/4707
Hi, it was working fine for a few hours, but then I can't see the dataset viewer again (public dataset). Why is this still happening? It's the same error too: ![image](https://user-images.githubusercontent.com/53668030/179602465-f220f971-d3aa-49ba-a31b-60510f4c2a89.png)
Dataset Viewer issue for TheNoob3131/mosquito-data
### Link _No response_ ### Description Getting this error when trying to view dataset preview: Message: 401, message='Unauthorized', url=URL('https://huggingface.co/datasets/TheNoob3131/mosquito-data/resolve/8aceebd6c4a359d216d10ef020868bd9e8c986dd/0_Africa_train.csv') ### Owner _No response_
31
Dataset Viewer issue for TheNoob3131/mosquito-data ### Link _No response_ ### Description Getting this error when trying to view dataset preview: Message: 401, message='Unauthorized', url=URL('https://huggingface.co/datasets/TheNoob3131/mosquito-data/resolve/8aceebd6c4a359d216d10ef020868bd9e8c986dd/0_Afric...
[ -0.017440885305404663, -0.037477314472198486, 0.0332726314663887, 0.34083423018455505, 0.41983768343925476, -0.12064900249242783, 0.3619067966938019, 0.23073169589042664, -0.5488294959068298, 0.299134761095047, -0.361244261264801, -0.11280645430088043, 0.006145495921373367, -0.293056905269...
https://github.com/huggingface/datasets/issues/4707
OK? This is a bug, thanks for help spotting and reproducing it (it occurs when a dataset is switched to private, then to public). We will be working on it, meanwhile, I've restored the dataset viewer manually again.
Dataset Viewer issue for TheNoob3131/mosquito-data
### Link _No response_ ### Description Getting this error when trying to view dataset preview: Message: 401, message='Unauthorized', url=URL('https://huggingface.co/datasets/TheNoob3131/mosquito-data/resolve/8aceebd6c4a359d216d10ef020868bd9e8c986dd/0_Africa_train.csv') ### Owner _No response_
38
Dataset Viewer issue for TheNoob3131/mosquito-data ### Link _No response_ ### Description Getting this error when trying to view dataset preview: Message: 401, message='Unauthorized', url=URL('https://huggingface.co/datasets/TheNoob3131/mosquito-data/resolve/8aceebd6c4a359d216d10ef020868bd9e8c986dd/0_Afric...
[ -0.007443174719810486, 0.027910351753234863, 0.08171703666448593, 0.2675687074661255, 0.27098554372787476, -0.026037804782390594, 0.3037845492362976, 0.3298865258693695, -0.41671037673950195, 0.22477394342422485, -0.33820292353630066, 0.04762855917215347, -0.08387155830860138, -0.255234479...
https://github.com/huggingface/datasets/issues/4702
Hi! I added a link to this issue in our internal request for adding keywords/topics to the Hub, which is identical to the `topic tags` solution. The `collections` solution seems too complex (as you point out). Regarding the `domain tags` solution, we primarily focus on machine learning, so I'm not sure if it's a good i...
Domain specific dataset discovery on the Hugging Face hub
**Is your feature request related to a problem? Please describe.** ## The problem The datasets hub currently has `8,239` datasets. These datasets span a wide range of different modalities and tasks (currently with a bias towards textual data). There are various ways of identifying datasets that may be releva...
63
Domain specific dataset discovery on the Hugging Face hub **Is your feature request related to a problem? Please describe.** ## The problem The datasets hub currently has `8,239` datasets. These datasets span a wide range of different modalities and tasks (currently with a bias towards textual data). Ther...
[ 0.03188702464103699, -0.15919069945812225, -0.03097589500248432, 0.19419680535793304, 0.13424351811408997, -0.05863271281123161, 0.25349533557891846, 0.28078481554985046, 0.07080616056919098, 0.04540278762578964, -0.4283636808395386, -0.08462163805961609, -0.4897834062576294, 0.56211549043...
https://github.com/huggingface/datasets/issues/4702
> Hi! I added a link to this issue in our internal request for adding keywords/topics to the Hub, which is identical to the `topic tags` solution. The `collections` solution seems too complex (as you point out). Regarding the `domain tags` solution, we primarily focus on machine learning, so I'm not sure if it's a good...
Domain specific dataset discovery on the Hugging Face hub
**Is your feature request related to a problem? Please describe.** ## The problem The datasets hub currently has `8,239` datasets. These datasets span a wide range of different modalities and tasks (currently with a bias towards textual data). There are various ways of identifying datasets that may be releva...
84
Domain specific dataset discovery on the Hugging Face hub **Is your feature request related to a problem? Please describe.** ## The problem The datasets hub currently has `8,239` datasets. These datasets span a wide range of different modalities and tasks (currently with a bias towards textual data). Ther...
[ 0.03188702464103699, -0.15919069945812225, -0.03097589500248432, 0.19419680535793304, 0.13424351811408997, -0.05863271281123161, 0.25349533557891846, 0.28078481554985046, 0.07080616056919098, 0.04540278762578964, -0.4283636808395386, -0.08462163805961609, -0.4897834062576294, 0.56211549043...
https://github.com/huggingface/datasets/issues/4702
Thanks for opening this issue @davanstrien. As we discussed last week, the tag approach would be in principle the simpler to be implemented, either the domain tag (with closed vocabulary: more reliable but also more rigid), or the topic tag (with open vocabulary: more flexible for user needs)
Domain specific dataset discovery on the Hugging Face hub
**Is your feature request related to a problem? Please describe.** ## The problem The datasets hub currently has `8,239` datasets. These datasets span a wide range of different modalities and tasks (currently with a bias towards textual data). There are various ways of identifying datasets that may be releva...
48
Domain specific dataset discovery on the Hugging Face hub **Is your feature request related to a problem? Please describe.** ## The problem The datasets hub currently has `8,239` datasets. These datasets span a wide range of different modalities and tasks (currently with a bias towards textual data). Ther...
[ 0.03188702464103699, -0.15919069945812225, -0.03097589500248432, 0.19419680535793304, 0.13424351811408997, -0.05863271281123161, 0.25349533557891846, 0.28078481554985046, 0.07080616056919098, 0.04540278762578964, -0.4283636808395386, -0.08462163805961609, -0.4897834062576294, 0.56211549043...
https://github.com/huggingface/datasets/issues/4702
Hi @davanstrien If i remember correctly this was also discussed inside a hf.co Discussion, would you be able to link it here too? (where i suggested using `tags: - foo - bar` IIRC. Thanks a ton!
Domain specific dataset discovery on the Hugging Face hub
**Is your feature request related to a problem? Please describe.** ## The problem The datasets hub currently has `8,239` datasets. These datasets span a wide range of different modalities and tasks (currently with a bias towards textual data). There are various ways of identifying datasets that may be releva...
36
Domain specific dataset discovery on the Hugging Face hub **Is your feature request related to a problem? Please describe.** ## The problem The datasets hub currently has `8,239` datasets. These datasets span a wide range of different modalities and tasks (currently with a bias towards textual data). Ther...
[ 0.03188702464103699, -0.15919069945812225, -0.03097589500248432, 0.19419680535793304, 0.13424351811408997, -0.05863271281123161, 0.25349533557891846, 0.28078481554985046, 0.07080616056919098, 0.04540278762578964, -0.4283636808395386, -0.08462163805961609, -0.4897834062576294, 0.56211549043...
https://github.com/huggingface/datasets/issues/4702
> Hi @davanstrien If i remember correctly this was also discussed inside a hf.co Discussion, would you be able to link it here too? > > (where i suggested using `tags: - foo - bar` IIRC. > > Thanks a ton! This doesn't ring a bell - I did a quick search of https://discuss.huggingface.co but didn't find anything...
Domain specific dataset discovery on the Hugging Face hub
**Is your feature request related to a problem? Please describe.** ## The problem The datasets hub currently has `8,239` datasets. These datasets span a wide range of different modalities and tasks (currently with a bias towards textual data). There are various ways of identifying datasets that may be releva...
91
Domain specific dataset discovery on the Hugging Face hub **Is your feature request related to a problem? Please describe.** ## The problem The datasets hub currently has `8,239` datasets. These datasets span a wide range of different modalities and tasks (currently with a bias towards textual data). Ther...
[ 0.03188702464103699, -0.15919069945812225, -0.03097589500248432, 0.19419680535793304, 0.13424351811408997, -0.05863271281123161, 0.25349533557891846, 0.28078481554985046, 0.07080616056919098, 0.04540278762578964, -0.4283636808395386, -0.08462163805961609, -0.4897834062576294, 0.56211549043...