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/3618
Ok I see ! From the error you got, it looks like the `value` encoded in the arrow file of the TIMIT dataset you loaded is a string instead of a dictionary with keys "path" and "bytes" but we don't support this since 1.18 Can you try regenerating the dataset with `load_dataset('timit_asr', download_mode="force_redown...
TIMIT Dataset not working with GPU
## Describe the bug I am working trying to use the TIMIT dataset in order to fine-tune Wav2Vec2 model and I am unable to load the "audio" column from the dataset when working with a GPU. I am working on Amazon Sagemaker Studio, on the Python 3 (PyTorch 1.8 Python 3.6 GPU Optimized) environment, with a single ml.g4...
62
TIMIT Dataset not working with GPU ## Describe the bug I am working trying to use the TIMIT dataset in order to fine-tune Wav2Vec2 model and I am unable to load the "audio" column from the dataset when working with a GPU. I am working on Amazon Sagemaker Studio, on the Python 3 (PyTorch 1.8 Python 3.6 GPU Optimi...
[ -0.14535415172576904, -0.10408201813697815, -0.0035637840628623962, 0.46803611516952515, 0.40129509568214417, -0.02526737004518509, 0.4242497682571411, 0.293195903301239, -0.10326102375984192, 0.018655482679605484, -0.09836950898170471, 0.5495099425315857, -0.006360629573464394, 0.27320468...
https://github.com/huggingface/datasets/issues/3615
@albertvillanova let me know if there is anything I can do to help with this. I had a quick look at the code again and though I could try the following changes: - use `download` instead of `download_and_extract` https://github.com/huggingface/datasets/blob/d3d339fb86d378f4cb3c5d1de423315c07a466c6/datasets/bnl_newspap...
Dataset BnL Historical Newspapers does not work in streaming mode
## Describe the bug When trying to load in streaming mode, it "hangs"... ## Steps to reproduce the bug ```python ds = load_dataset("bnl_newspapers", split="train", streaming=True) ``` ## Expected results The code should be optimized, so that it works fast in streaming mode. CC: @davanstrien
66
Dataset BnL Historical Newspapers does not work in streaming mode ## Describe the bug When trying to load in streaming mode, it "hangs"... ## Steps to reproduce the bug ```python ds = load_dataset("bnl_newspapers", split="train", streaming=True) ``` ## Expected results The code should be optimized, so that...
[ -0.5219472646713257, -0.02674219012260437, 0.006142891943454742, 0.29316943883895874, 0.2553721070289612, 0.11184167861938477, 0.12304419279098511, 0.38312360644340515, 0.17057564854621887, -0.09610050171613693, -0.006270706653594971, 0.07859709113836288, -0.1458616405725479, 0.05901249498...
https://github.com/huggingface/datasets/issues/3615
Thanks @davanstrien. I have already been working on it so that it can be used in the BigScience workshop. I agree that the `rglob()` is not efficient in this case. I tried different solutions without success: - `iter_archive` cannot be used in this case because it does not support ZIP files yet Finally I h...
Dataset BnL Historical Newspapers does not work in streaming mode
## Describe the bug When trying to load in streaming mode, it "hangs"... ## Steps to reproduce the bug ```python ds = load_dataset("bnl_newspapers", split="train", streaming=True) ``` ## Expected results The code should be optimized, so that it works fast in streaming mode. CC: @davanstrien
57
Dataset BnL Historical Newspapers does not work in streaming mode ## Describe the bug When trying to load in streaming mode, it "hangs"... ## Steps to reproduce the bug ```python ds = load_dataset("bnl_newspapers", split="train", streaming=True) ``` ## Expected results The code should be optimized, so that...
[ -0.562822699546814, -0.10827620327472687, 0.06640003621578217, 0.30919867753982544, 0.10171167552471161, 0.05883386731147766, 0.21237918734550476, 0.49812841415405273, 0.17715874314308167, -0.08769463002681732, -0.03138674795627594, 0.17640921473503113, -0.20932433009147644, -0.03907313570...
https://github.com/huggingface/datasets/issues/3615
I see this is fixed now 🙂. I also picked up a few other tips from your redactors so hopefully my next attempts will support streaming from the start.
Dataset BnL Historical Newspapers does not work in streaming mode
## Describe the bug When trying to load in streaming mode, it "hangs"... ## Steps to reproduce the bug ```python ds = load_dataset("bnl_newspapers", split="train", streaming=True) ``` ## Expected results The code should be optimized, so that it works fast in streaming mode. CC: @davanstrien
29
Dataset BnL Historical Newspapers does not work in streaming mode ## Describe the bug When trying to load in streaming mode, it "hangs"... ## Steps to reproduce the bug ```python ds = load_dataset("bnl_newspapers", split="train", streaming=True) ``` ## Expected results The code should be optimized, so that...
[ -0.6392006278038025, 0.1436472237110138, 0.017675161361694336, 0.01619909703731537, 0.2014867067337036, -0.017170123755931854, 0.303964763879776, 0.337910920381546, 0.11051517724990845, -0.04919452965259552, 0.08703764528036118, 0.14623498916625977, -0.13405263423919678, 0.1133008748292923...
https://github.com/huggingface/datasets/issues/3613
Yes. The jobs queue is full right now, following an upgrade... Back to normality in the next hours hopefully. I'll look at your datasets to be sure the dataset viewer works as expected on them.
Files not updating in dataset viewer
## Dataset viewer issue for '*name of the dataset*' **Link:** Some examples: * https://huggingface.co/datasets/abidlabs/crowdsourced-speech4 * https://huggingface.co/datasets/abidlabs/test-audio-13 *short description of the issue* It seems that the dataset viewer is reading a cached version of the dataset and...
35
Files not updating in dataset viewer ## Dataset viewer issue for '*name of the dataset*' **Link:** Some examples: * https://huggingface.co/datasets/abidlabs/crowdsourced-speech4 * https://huggingface.co/datasets/abidlabs/test-audio-13 *short description of the issue* It seems that the dataset viewer is read...
[ -0.37979957461357117, 0.11639723181724548, -0.10145049542188644, 0.1263847053050995, 0.069827601313591, 0.09496060013771057, 0.057660818099975586, 0.29344332218170166, 0.03491951525211334, 0.1519840955734253, 0.015469308942556381, 0.06990161538124084, -0.07326533645391464, -0.0716507956385...
https://github.com/huggingface/datasets/issues/3608
Hey @ck37 You can always use a custom metric as explained [in this guide from HF](https://huggingface.co/docs/datasets/master/loading_metrics.html#using-a-custom-metric-script). If this issue needs to be contributed to (for enhancing the metric API) I think [this link](https://scikit-learn.org/stable/modules/gen...
Add support for continuous metrics (RMSE, MAE)
**Is your feature request related to a problem? Please describe.** I am uploading our dataset and models for the "Constructing interval measures" method we've developed, which uses item response theory to convert multiple discrete labels into a continuous spectrum for hate speech. Once we have this outcome our NLP m...
40
Add support for continuous metrics (RMSE, MAE) **Is your feature request related to a problem? Please describe.** I am uploading our dataset and models for the "Constructing interval measures" method we've developed, which uses item response theory to convert multiple discrete labels into a continuous spectrum for...
[ -0.2287483513355255, -0.38026154041290283, -0.08813538402318954, -0.13814827799797058, 0.2096349596977234, 0.16035957634449005, -0.23040124773979187, 0.07447884231805801, 0.38446545600891113, 0.06891215592622757, -0.06257716566324234, 0.25890177488327026, -0.3647345006465912, 0.22413972020...
https://github.com/huggingface/datasets/issues/3608
You can use a local metric script just by providing its path instead of the usual shortcut name
Add support for continuous metrics (RMSE, MAE)
**Is your feature request related to a problem? Please describe.** I am uploading our dataset and models for the "Constructing interval measures" method we've developed, which uses item response theory to convert multiple discrete labels into a continuous spectrum for hate speech. Once we have this outcome our NLP m...
18
Add support for continuous metrics (RMSE, MAE) **Is your feature request related to a problem? Please describe.** I am uploading our dataset and models for the "Constructing interval measures" method we've developed, which uses item response theory to convert multiple discrete labels into a continuous spectrum for...
[ -0.3416830897331238, -0.27900412678718567, -0.10287508368492126, -0.17806053161621094, 0.14083752036094666, 0.14783155918121338, -0.15082509815692902, 0.22301696240901947, 0.4105052351951599, 0.115444615483284, 0.0020975545048713684, 0.27696406841278076, -0.372165322303772, 0.2808316648006...
https://github.com/huggingface/datasets/issues/3606
Hi ! We just released a new version of `datasets` that should fix this. I tested resampling and using save/load_from_disk afterwards and it seems to be fixed now
audio column not saved correctly after resampling
## Describe the bug After resampling the audio column, saving with save_to_disk doesn't seem to save with the correct type. ## Steps to reproduce the bug - load a subset of common voice dataset (48Khz) - resample audio column to 16Khz - save with save_to_disk() - load with load_from_disk() ## Expected resul...
28
audio column not saved correctly after resampling ## Describe the bug After resampling the audio column, saving with save_to_disk doesn't seem to save with the correct type. ## Steps to reproduce the bug - load a subset of common voice dataset (48Khz) - resample audio column to 16Khz - save with save_to_disk(...
[ -0.25284668803215027, 0.11352735757827759, 0.08470138907432556, 0.22557790577411652, 0.4603189527988434, -0.07320338487625122, 0.18112260103225708, 0.34047871828079224, -0.10094912350177765, 0.07259493321180344, -0.483222633600235, 0.369176983833313, -0.04014541953802109, -0.09503408521413...
https://github.com/huggingface/datasets/issues/3606
Hi @lhoestq, Just tested the latest datasets version, and confirming that this is fixed for me. Thanks!
audio column not saved correctly after resampling
## Describe the bug After resampling the audio column, saving with save_to_disk doesn't seem to save with the correct type. ## Steps to reproduce the bug - load a subset of common voice dataset (48Khz) - resample audio column to 16Khz - save with save_to_disk() - load with load_from_disk() ## Expected resul...
17
audio column not saved correctly after resampling ## Describe the bug After resampling the audio column, saving with save_to_disk doesn't seem to save with the correct type. ## Steps to reproduce the bug - load a subset of common voice dataset (48Khz) - resample audio column to 16Khz - save with save_to_disk(...
[ -0.25284668803215027, 0.11352735757827759, 0.08470138907432556, 0.22557790577411652, 0.4603189527988434, -0.07320338487625122, 0.18112260103225708, 0.34047871828079224, -0.10094912350177765, 0.07259493321180344, -0.483222633600235, 0.369176983833313, -0.04014541953802109, -0.09503408521413...
https://github.com/huggingface/datasets/issues/3606
Also, just an FYI, data that I had saved (with save_to_disk) previously from common voice using datasets==1.17.0 now give the error below when loading (with load_from disk) using datasets==1.18.0. However, when starting fresh using load_dataset, then doing the resampling, the save/load_from disk worked fine. ``...
audio column not saved correctly after resampling
## Describe the bug After resampling the audio column, saving with save_to_disk doesn't seem to save with the correct type. ## Steps to reproduce the bug - load a subset of common voice dataset (48Khz) - resample audio column to 16Khz - save with save_to_disk() - load with load_from_disk() ## Expected resul...
290
audio column not saved correctly after resampling ## Describe the bug After resampling the audio column, saving with save_to_disk doesn't seem to save with the correct type. ## Steps to reproduce the bug - load a subset of common voice dataset (48Khz) - resample audio column to 16Khz - save with save_to_disk(...
[ -0.25284668803215027, 0.11352735757827759, 0.08470138907432556, 0.22557790577411652, 0.4603189527988434, -0.07320338487625122, 0.18112260103225708, 0.34047871828079224, -0.10094912350177765, 0.07259493321180344, -0.483222633600235, 0.369176983833313, -0.04014541953802109, -0.09503408521413...
https://github.com/huggingface/datasets/issues/3598
i suspect a markdown parsing error, @severo do you want to take a quick look at it when you have some time?
Readme info not being parsed to show on Dataset card page
## Describe the bug The info contained in the README.md file is not being shown in the dataset main page. Basic info and table of contents are properly formatted in the README. ## Steps to reproduce the bug # Sample code to reproduce the bug The README file is this one: https://huggingface.co/datasets/softcatal...
22
Readme info not being parsed to show on Dataset card page ## Describe the bug The info contained in the README.md file is not being shown in the dataset main page. Basic info and table of contents are properly formatted in the README. ## Steps to reproduce the bug # Sample code to reproduce the bug The README...
[ -0.3140522241592407, -0.46104419231414795, -0.04299919307231903, 0.49848029017448425, 0.38273805379867554, 0.3550933301448822, 0.14480070769786835, 0.2580852806568146, -0.017324581742286682, 0.19815240800380707, 0.2267412543296814, 0.45559003949165344, 0.225060373544693, 0.2512842714786529...
https://github.com/huggingface/datasets/issues/3598
# Problem The issue seems to coming from the front matter of the README ```--- annotations_creators: - no-annotation language_creators: - machine-generated languages: - 'ca' - 'de' licenses: - cc-by-4.0 multilinguality: - translation pretty_name: Catalan-German aligned corpora to train NMT systems. size_...
Readme info not being parsed to show on Dataset card page
## Describe the bug The info contained in the README.md file is not being shown in the dataset main page. Basic info and table of contents are properly formatted in the README. ## Steps to reproduce the bug # Sample code to reproduce the bug The README file is this one: https://huggingface.co/datasets/softcatal...
121
Readme info not being parsed to show on Dataset card page ## Describe the bug The info contained in the README.md file is not being shown in the dataset main page. Basic info and table of contents are properly formatted in the README. ## Steps to reproduce the bug # Sample code to reproduce the bug The README...
[ -0.22002173960208893, -0.49162209033966064, 0.0016024373471736908, 0.6471503376960754, 0.4602578282356262, 0.25932949781417847, 0.06984666734933853, 0.2069072723388672, -0.08851949870586395, 0.19840744137763977, 0.18089687824249268, 0.481280118227005, 0.30712926387786865, 0.126343607902526...
https://github.com/huggingface/datasets/issues/3598
Thank you. It finally worked implementing your changes and leaving a white line between title and text in the description.
Readme info not being parsed to show on Dataset card page
## Describe the bug The info contained in the README.md file is not being shown in the dataset main page. Basic info and table of contents are properly formatted in the README. ## Steps to reproduce the bug # Sample code to reproduce the bug The README file is this one: https://huggingface.co/datasets/softcatal...
20
Readme info not being parsed to show on Dataset card page ## Describe the bug The info contained in the README.md file is not being shown in the dataset main page. Basic info and table of contents are properly formatted in the README. ## Steps to reproduce the bug # Sample code to reproduce the bug The README...
[ -0.11670456826686859, -0.1736116111278534, -0.045794904232025146, 0.19737589359283447, 0.4050147831439972, 0.14933785796165466, 0.23833471536636353, 0.05773964151740074, 0.012706160545349121, 0.2358465939760208, 0.14790326356887817, 0.3144129514694214, 0.34281831979751587, 0.33464866876602...
https://github.com/huggingface/datasets/issues/3597
Hi! The `cd` command in Jupyer/Colab needs to start with `%`, so this should work: ``` !git clone https://github.com/huggingface/datasets.git %cd datasets !pip install -e ".[streaming]" ```
ERROR: File "setup.py" or "setup.cfg" not found. Directory cannot be installed in editable mode: /content
## Bug The install of streaming dataset is giving following error. ## Steps to reproduce the bug ```python ! git clone https://github.com/huggingface/datasets.git ! cd datasets ! pip install -e ".[streaming]" ``` ## Actual results Cloning into 'datasets'... remote: Enumerating objects: 50816, done. remot...
26
ERROR: File "setup.py" or "setup.cfg" not found. Directory cannot be installed in editable mode: /content ## Bug The install of streaming dataset is giving following error. ## Steps to reproduce the bug ```python ! git clone https://github.com/huggingface/datasets.git ! cd datasets ! pip install -e ".[streami...
[ -0.2805960178375244, 0.005920499563217163, 0.05326274409890175, 0.08671534061431885, 0.12335948646068573, 0.15111437439918518, -0.06709346175193787, 0.1101512536406517, -0.27404654026031494, 0.16928967833518982, -0.2694026231765747, 0.3483412265777588, -0.2103760540485382, 0.27040737867355...
https://github.com/huggingface/datasets/issues/3596
Hi! Thanks for reporting! The issue with `cast_column` should be fixed by #3575 and after we merge that PR I'll start working on the `push_to_hub` support for the `Image`/`Audio` feature.
Loss of cast `Image` feature on certain dataset method
## Describe the bug When an a column is cast to an `Image` feature, the cast type appears to be lost during certain operations. I first noticed this when using the `push_to_hub` method on a dataset that contained urls pointing to images which had been cast to an `image`. This also happens when using select on a data...
30
Loss of cast `Image` feature on certain dataset method ## Describe the bug When an a column is cast to an `Image` feature, the cast type appears to be lost during certain operations. I first noticed this when using the `push_to_hub` method on a dataset that contained urls pointing to images which had been cast to ...
[ -0.21297487616539001, 0.04741716384887695, 0.03897281736135483, 0.005266106687486172, 0.6166046857833862, 0.12560677528381348, 0.5568074584007263, 0.33569851517677307, -0.06965585052967072, 0.05274338275194168, -0.058810602873563766, 0.4363158345222473, 0.04701751843094826, -0.124515846371...
https://github.com/huggingface/datasets/issues/3596
> Hi! Thanks for reporting! The issue with `cast_column` should be fixed by #3575 and after we merge that PR I'll start working on the `push_to_hub` support for the `Image`/`Audio` feature. Thanks, I'll keep an eye out for #3575 getting merged. I managed to use `push_to_hub` sucesfully with images when they were loa...
Loss of cast `Image` feature on certain dataset method
## Describe the bug When an a column is cast to an `Image` feature, the cast type appears to be lost during certain operations. I first noticed this when using the `push_to_hub` method on a dataset that contained urls pointing to images which had been cast to an `image`. This also happens when using select on a data...
92
Loss of cast `Image` feature on certain dataset method ## Describe the bug When an a column is cast to an `Image` feature, the cast type appears to be lost during certain operations. I first noticed this when using the `push_to_hub` method on a dataset that contained urls pointing to images which had been cast to ...
[ -0.21297487616539001, 0.04741716384887695, 0.03897281736135483, 0.005266106687486172, 0.6166046857833862, 0.12560677528381348, 0.5568074584007263, 0.33569851517677307, -0.06965585052967072, 0.05274338275194168, -0.058810602873563766, 0.4363158345222473, 0.04701751843094826, -0.124515846371...
https://github.com/huggingface/datasets/issues/3596
Hi ! We merged the PR and did a release of `datasets` that includes the changes. Can you try updating `datasets` and try again ?
Loss of cast `Image` feature on certain dataset method
## Describe the bug When an a column is cast to an `Image` feature, the cast type appears to be lost during certain operations. I first noticed this when using the `push_to_hub` method on a dataset that contained urls pointing to images which had been cast to an `image`. This also happens when using select on a data...
25
Loss of cast `Image` feature on certain dataset method ## Describe the bug When an a column is cast to an `Image` feature, the cast type appears to be lost during certain operations. I first noticed this when using the `push_to_hub` method on a dataset that contained urls pointing to images which had been cast to ...
[ -0.21297487616539001, 0.04741716384887695, 0.03897281736135483, 0.005266106687486172, 0.6166046857833862, 0.12560677528381348, 0.5568074584007263, 0.33569851517677307, -0.06965585052967072, 0.05274338275194168, -0.058810602873563766, 0.4363158345222473, 0.04701751843094826, -0.124515846371...
https://github.com/huggingface/datasets/issues/3596
> Hi ! We merged the PR and did a release of `datasets` that includes the changes. Can you try updating `datasets` and try again ? Thanks for checking. There is no longer an error when calling `select` but it appears the cast value isn't preserved. Before `select` ```python dataset.features {'url': Image(id=Non...
Loss of cast `Image` feature on certain dataset method
## Describe the bug When an a column is cast to an `Image` feature, the cast type appears to be lost during certain operations. I first noticed this when using the `push_to_hub` method on a dataset that contained urls pointing to images which had been cast to an `image`. This also happens when using select on a data...
64
Loss of cast `Image` feature on certain dataset method ## Describe the bug When an a column is cast to an `Image` feature, the cast type appears to be lost during certain operations. I first noticed this when using the `push_to_hub` method on a dataset that contained urls pointing to images which had been cast to ...
[ -0.21297487616539001, 0.04741716384887695, 0.03897281736135483, 0.005266106687486172, 0.6166046857833862, 0.12560677528381348, 0.5568074584007263, 0.33569851517677307, -0.06965585052967072, 0.05274338275194168, -0.058810602873563766, 0.4363158345222473, 0.04701751843094826, -0.124515846371...
https://github.com/huggingface/datasets/issues/3596
Hmmm, if I re-run your google colab I'm getting the right type at the end: ``` sample.features # {'url': Image(id=None)} ```
Loss of cast `Image` feature on certain dataset method
## Describe the bug When an a column is cast to an `Image` feature, the cast type appears to be lost during certain operations. I first noticed this when using the `push_to_hub` method on a dataset that contained urls pointing to images which had been cast to an `image`. This also happens when using select on a data...
21
Loss of cast `Image` feature on certain dataset method ## Describe the bug When an a column is cast to an `Image` feature, the cast type appears to be lost during certain operations. I first noticed this when using the `push_to_hub` method on a dataset that contained urls pointing to images which had been cast to ...
[ -0.21297487616539001, 0.04741716384887695, 0.03897281736135483, 0.005266106687486172, 0.6166046857833862, 0.12560677528381348, 0.5568074584007263, 0.33569851517677307, -0.06965585052967072, 0.05274338275194168, -0.058810602873563766, 0.4363158345222473, 0.04701751843094826, -0.124515846371...
https://github.com/huggingface/datasets/issues/3596
Appolgies - I've just run again and also got this output. I have also sucesfully used the `push_to_hub` method. I think this is fixed now so will close this issue.
Loss of cast `Image` feature on certain dataset method
## Describe the bug When an a column is cast to an `Image` feature, the cast type appears to be lost during certain operations. I first noticed this when using the `push_to_hub` method on a dataset that contained urls pointing to images which had been cast to an `image`. This also happens when using select on a data...
30
Loss of cast `Image` feature on certain dataset method ## Describe the bug When an a column is cast to an `Image` feature, the cast type appears to be lost during certain operations. I first noticed this when using the `push_to_hub` method on a dataset that contained urls pointing to images which had been cast to ...
[ -0.21297487616539001, 0.04741716384887695, 0.03897281736135483, 0.005266106687486172, 0.6166046857833862, 0.12560677528381348, 0.5568074584007263, 0.33569851517677307, -0.06965585052967072, 0.05274338275194168, -0.058810602873563766, 0.4363158345222473, 0.04701751843094826, -0.124515846371...
https://github.com/huggingface/datasets/issues/3583
Hello! I have recently been involved with a medical image segmentation project myself and was going through the `The Medical Segmentation Decathlon Dataset` as well. I haven't yet had experience adding datasets to this repository yet but would love to get started. Should I take this issue? If yes, I've got two quest...
Add The Medical Segmentation Decathlon Dataset
## Adding a Dataset - **Name:** *The Medical Segmentation Decathlon Dataset* - **Description:** The underlying data set was designed to explore the axis of difficulties typically encountered when dealing with medical images, such as small data sets, unbalanced labels, multi-site data, and small objects. - **Paper:*...
107
Add The Medical Segmentation Decathlon Dataset ## Adding a Dataset - **Name:** *The Medical Segmentation Decathlon Dataset* - **Description:** The underlying data set was designed to explore the axis of difficulties typically encountered when dealing with medical images, such as small data sets, unbalanced labels, ...
[ 0.09427285194396973, -0.045284390449523926, -0.09435715526342392, -0.012236909940838814, -0.08023793995380402, 0.14195047318935394, 0.3158586621284485, 0.0644160807132721, -0.1904928982257843, 0.02517201006412506, 0.09792201220989227, -0.42809614539146423, -0.20288440585136414, 0.226546987...
https://github.com/huggingface/datasets/issues/3583
Hi! Sure, feel free to take this issue. You can self-assign the issue by commenting `#self-assign`. To answer your questions: 1. It makes the most sense to add each one as a separate config, so one dataset script with 10 configs in a single PR. 2. Just set masks in the test set to `None`. Note that the images/m...
Add The Medical Segmentation Decathlon Dataset
## Adding a Dataset - **Name:** *The Medical Segmentation Decathlon Dataset* - **Description:** The underlying data set was designed to explore the axis of difficulties typically encountered when dealing with medical images, such as small data sets, unbalanced labels, multi-site data, and small objects. - **Paper:*...
111
Add The Medical Segmentation Decathlon Dataset ## Adding a Dataset - **Name:** *The Medical Segmentation Decathlon Dataset* - **Description:** The underlying data set was designed to explore the axis of difficulties typically encountered when dealing with medical images, such as small data sets, unbalanced labels, ...
[ -0.0416804775595665, -0.2808956503868103, -0.0886707603931427, -0.0931895300745964, 0.00399445928633213, 0.08987776935100555, 0.5937300324440002, 0.34674152731895447, 0.21151581406593323, 0.2499488890171051, 0.009547654539346695, -0.1307511329650879, -0.2073957622051239, 0.4167207479476928...
https://github.com/huggingface/datasets/issues/3583
> Note that the images/masks in this dataset are in NIfTI format, which our `Image` feature currently doesn't support, so I think it's best to yield the paths to the images/masks in the script and add a preprocessing section to the card where we explain how to load/process the images/masks with `nibabel` (I can help wi...
Add The Medical Segmentation Decathlon Dataset
## Adding a Dataset - **Name:** *The Medical Segmentation Decathlon Dataset* - **Description:** The underlying data set was designed to explore the axis of difficulties typically encountered when dealing with medical images, such as small data sets, unbalanced labels, multi-site data, and small objects. - **Paper:*...
74
Add The Medical Segmentation Decathlon Dataset ## Adding a Dataset - **Name:** *The Medical Segmentation Decathlon Dataset* - **Description:** The underlying data set was designed to explore the axis of difficulties typically encountered when dealing with medical images, such as small data sets, unbalanced labels, ...
[ -0.10302046686410904, -0.3495712876319885, -0.09235560894012451, -0.0719333067536354, 0.07020754367113113, 0.025759607553482056, 0.4989384412765503, 0.39894330501556396, 0.17860165238380432, 0.28843939304351807, 0.12174060195684433, -0.09761356562376022, -0.07007014751434326, 0.42206126451...
https://github.com/huggingface/datasets/issues/3583
This is great! There is a first model on the HUb that uses this dataset! https://huggingface.co/MONAI/example_spleen_segmentation
Add The Medical Segmentation Decathlon Dataset
## Adding a Dataset - **Name:** *The Medical Segmentation Decathlon Dataset* - **Description:** The underlying data set was designed to explore the axis of difficulties typically encountered when dealing with medical images, such as small data sets, unbalanced labels, multi-site data, and small objects. - **Paper:*...
16
Add The Medical Segmentation Decathlon Dataset ## Adding a Dataset - **Name:** *The Medical Segmentation Decathlon Dataset* - **Description:** The underlying data set was designed to explore the axis of difficulties typically encountered when dealing with medical images, such as small data sets, unbalanced labels, ...
[ -0.027023740112781525, -0.3896329998970032, -0.1645667552947998, -0.23710688948631287, 0.007202319800853729, 0.06950116902589798, 0.49406981468200684, 0.3347843289375305, 0.03149442374706268, 0.3018220067024231, -0.04894903674721718, -0.1498311311006546, -0.19216914474964142, 0.46577689051...
https://github.com/huggingface/datasets/issues/3582
Thanks for reporting ! I pushed a temporary fix on `master` that uses an URL from a previous commit to access the dataset for now, until we have a better solution
conll 2003 dataset source url is no longer valid
## Describe the bug Loading `conll2003` dataset fails because it was removed (just yesterday 1/14/2022) from the location it is looking for. ## Steps to reproduce the bug ```python from datasets import load_dataset load_dataset("conll2003") ``` ## Expected results The dataset should load. ## Actual r...
31
conll 2003 dataset source url is no longer valid ## Describe the bug Loading `conll2003` dataset fails because it was removed (just yesterday 1/14/2022) from the location it is looking for. ## Steps to reproduce the bug ```python from datasets import load_dataset load_dataset("conll2003") ``` ## Expect...
[ 0.025350868701934814, 0.09673906862735748, 0.06592319160699844, 0.28017014265060425, -0.08389797806739807, -0.09837689250707626, 0.39446842670440674, 0.11432209610939026, -0.36610522866249084, 0.010017439723014832, -0.15983280539512634, 0.15308108925819397, -0.11522330343723297, -0.1167480...
https://github.com/huggingface/datasets/issues/3582
I changed the URL again to use another host, the fix is available on `master` and we'll probably do a new release of `datasets` tomorrow. In the meantime, feel free to do `load_dataset(..., revision="master")` to use the fixed script
conll 2003 dataset source url is no longer valid
## Describe the bug Loading `conll2003` dataset fails because it was removed (just yesterday 1/14/2022) from the location it is looking for. ## Steps to reproduce the bug ```python from datasets import load_dataset load_dataset("conll2003") ``` ## Expected results The dataset should load. ## Actual r...
39
conll 2003 dataset source url is no longer valid ## Describe the bug Loading `conll2003` dataset fails because it was removed (just yesterday 1/14/2022) from the location it is looking for. ## Steps to reproduce the bug ```python from datasets import load_dataset load_dataset("conll2003") ``` ## Expect...
[ 0.025350868701934814, 0.09673906862735748, 0.06592319160699844, 0.28017014265060425, -0.08389797806739807, -0.09837689250707626, 0.39446842670440674, 0.11432209610939026, -0.36610522866249084, 0.010017439723014832, -0.15983280539512634, 0.15308108925819397, -0.11522330343723297, -0.1167480...
https://github.com/huggingface/datasets/issues/3582
We just released a new version of `datasets` with a working URL. Feel free to update `datasets` and try again :)
conll 2003 dataset source url is no longer valid
## Describe the bug Loading `conll2003` dataset fails because it was removed (just yesterday 1/14/2022) from the location it is looking for. ## Steps to reproduce the bug ```python from datasets import load_dataset load_dataset("conll2003") ``` ## Expected results The dataset should load. ## Actual r...
21
conll 2003 dataset source url is no longer valid ## Describe the bug Loading `conll2003` dataset fails because it was removed (just yesterday 1/14/2022) from the location it is looking for. ## Steps to reproduce the bug ```python from datasets import load_dataset load_dataset("conll2003") ``` ## Expect...
[ 0.025350868701934814, 0.09673906862735748, 0.06592319160699844, 0.28017014265060425, -0.08389797806739807, -0.09837689250707626, 0.39446842670440674, 0.11432209610939026, -0.36610522866249084, 0.010017439723014832, -0.15983280539512634, 0.15308108925819397, -0.11522330343723297, -0.1167480...
https://github.com/huggingface/datasets/issues/3582
Hello! Unfortunately, this URL does not work for me. Could you please tell me how I can solve the problem? `>>> from datasets import load_dataset >>> dataset = load_dataset("conll2003") Downloading and preparing dataset conll2003/conll2003 (download: 4.63 MiB, generated: 9.78 MiB, post-processed: Unknown size, t...
conll 2003 dataset source url is no longer valid
## Describe the bug Loading `conll2003` dataset fails because it was removed (just yesterday 1/14/2022) from the location it is looking for. ## Steps to reproduce the bug ```python from datasets import load_dataset load_dataset("conll2003") ``` ## Expected results The dataset should load. ## Actual r...
199
conll 2003 dataset source url is no longer valid ## Describe the bug Loading `conll2003` dataset fails because it was removed (just yesterday 1/14/2022) from the location it is looking for. ## Steps to reproduce the bug ```python from datasets import load_dataset load_dataset("conll2003") ``` ## Expect...
[ 0.025350868701934814, 0.09673906862735748, 0.06592319160699844, 0.28017014265060425, -0.08389797806739807, -0.09837689250707626, 0.39446842670440674, 0.11432209610939026, -0.36610522866249084, 0.010017439723014832, -0.15983280539512634, 0.15308108925819397, -0.11522330343723297, -0.1167480...
https://github.com/huggingface/datasets/issues/3582
@lhoestq Thank you very much for your answer! It works this way, but for my research I need datasets==1.6.3 or closest to it because otherwise the other package would not work as it is built on this version. Do you have any other suggestion? I would really appreciate it. Maybe which version of the datasets is with...
conll 2003 dataset source url is no longer valid
## Describe the bug Loading `conll2003` dataset fails because it was removed (just yesterday 1/14/2022) from the location it is looking for. ## Steps to reproduce the bug ```python from datasets import load_dataset load_dataset("conll2003") ``` ## Expected results The dataset should load. ## Actual r...
63
conll 2003 dataset source url is no longer valid ## Describe the bug Loading `conll2003` dataset fails because it was removed (just yesterday 1/14/2022) from the location it is looking for. ## Steps to reproduce the bug ```python from datasets import load_dataset load_dataset("conll2003") ``` ## Expect...
[ 0.025350868701934814, 0.09673906862735748, 0.06592319160699844, 0.28017014265060425, -0.08389797806739807, -0.09837689250707626, 0.39446842670440674, 0.11432209610939026, -0.36610522866249084, 0.010017439723014832, -0.15983280539512634, 0.15308108925819397, -0.11522330343723297, -0.1167480...
https://github.com/huggingface/datasets/issues/3580
+1, here's the error I got: ``` >>> from datasets import load_dataset >>> >>> load_dataset("wiki_bio") Downloading: 7.58kB [00:00, 4.42MB/s] Downloading: 2.71kB [00:00, 1.30MB/s] Using custom data configuration default Downloading and preparing dataset wiki_bio/default (download: 318.53 MiB, generated: 736.9...
Bug in wiki bio load
wiki_bio is failing to load because of a failing drive link . Can someone fix this ? ![7E90023B-A3B1-4930-BA25-45CCCB4E1710](https://user-images.githubusercontent.com/3104771/149617870-5a32a2da-2c78-483b-bff6-d7534215a423.png) ![653C1C76-C725-4A04-A0D8-084373BA612F](https://user-images.githubusercontent.com...
154
Bug in wiki bio load wiki_bio is failing to load because of a failing drive link . Can someone fix this ? ![7E90023B-A3B1-4930-BA25-45CCCB4E1710](https://user-images.githubusercontent.com/3104771/149617870-5a32a2da-2c78-483b-bff6-d7534215a423.png) ![653C1C76-C725-4A04-A0D8-084373BA612F](https://user-image...
[ -0.061321526765823364, 0.09826859831809998, -0.030225640162825584, 0.12605109810829163, 0.0026655057445168495, 0.2975158989429474, 0.6769422888755798, 0.39915144443511963, 0.4630136787891388, 0.05957912281155586, 0.199794203042984, -0.24222902953624725, 0.39552995562553406, 0.3415489494800...
https://github.com/huggingface/datasets/issues/3580
@alejandrocros and @lhoestq - you added the wiki_bio dataset in #1173. It doesn't work anymore. Can you take a look at this?
Bug in wiki bio load
wiki_bio is failing to load because of a failing drive link . Can someone fix this ? ![7E90023B-A3B1-4930-BA25-45CCCB4E1710](https://user-images.githubusercontent.com/3104771/149617870-5a32a2da-2c78-483b-bff6-d7534215a423.png) ![653C1C76-C725-4A04-A0D8-084373BA612F](https://user-images.githubusercontent.com...
22
Bug in wiki bio load wiki_bio is failing to load because of a failing drive link . Can someone fix this ? ![7E90023B-A3B1-4930-BA25-45CCCB4E1710](https://user-images.githubusercontent.com/3104771/149617870-5a32a2da-2c78-483b-bff6-d7534215a423.png) ![653C1C76-C725-4A04-A0D8-084373BA612F](https://user-image...
[ 0.032189659774303436, 0.0049941688776016235, -0.07498828321695328, 0.1220269501209259, 0.016178008168935776, 0.2904135584831238, 0.6395813226699829, 0.29368576407432556, 0.4558522701263428, 0.040067438036203384, 0.08087531477212906, -0.14716801047325134, 0.4145269989967346, 0.3167211115360...
https://github.com/huggingface/datasets/issues/3580
And if something is wrong with Google Drive, you could try to download (and collate and unzip) from here: https://github.com/DavidGrangier/wikipedia-biography-dataset
Bug in wiki bio load
wiki_bio is failing to load because of a failing drive link . Can someone fix this ? ![7E90023B-A3B1-4930-BA25-45CCCB4E1710](https://user-images.githubusercontent.com/3104771/149617870-5a32a2da-2c78-483b-bff6-d7534215a423.png) ![653C1C76-C725-4A04-A0D8-084373BA612F](https://user-images.githubusercontent.com...
20
Bug in wiki bio load wiki_bio is failing to load because of a failing drive link . Can someone fix this ? ![7E90023B-A3B1-4930-BA25-45CCCB4E1710](https://user-images.githubusercontent.com/3104771/149617870-5a32a2da-2c78-483b-bff6-d7534215a423.png) ![653C1C76-C725-4A04-A0D8-084373BA612F](https://user-image...
[ 0.14763143658638, 0.16527579724788666, -0.0648239329457283, 0.14829260110855103, -0.004619222600013018, 0.37812328338623047, 0.5248032212257385, 0.3122828006744385, 0.4007311463356018, 0.12475837767124176, 0.11126942932605743, -0.2811303734779358, 0.4056449234485626, 0.16416141390800476, ...
https://github.com/huggingface/datasets/issues/3580
Hi ! Thanks for reporting. I've downloaded the data and concatenated them into a zip file available here: https://huggingface.co/datasets/wiki_bio/tree/main/data I guess we can update the dataset script to use this zip file now :)
Bug in wiki bio load
wiki_bio is failing to load because of a failing drive link . Can someone fix this ? ![7E90023B-A3B1-4930-BA25-45CCCB4E1710](https://user-images.githubusercontent.com/3104771/149617870-5a32a2da-2c78-483b-bff6-d7534215a423.png) ![653C1C76-C725-4A04-A0D8-084373BA612F](https://user-images.githubusercontent.com...
34
Bug in wiki bio load wiki_bio is failing to load because of a failing drive link . Can someone fix this ? ![7E90023B-A3B1-4930-BA25-45CCCB4E1710](https://user-images.githubusercontent.com/3104771/149617870-5a32a2da-2c78-483b-bff6-d7534215a423.png) ![653C1C76-C725-4A04-A0D8-084373BA612F](https://user-image...
[ 0.016317129135131836, -0.022362560033798218, -0.03504609316587448, 0.20366054773330688, 0.010249543935060501, 0.28168627619743347, 0.5000676512718201, 0.3356056213378906, 0.44800621271133423, 0.029333382844924927, 0.106765978038311, -0.1336871236562729, 0.4862634241580963, 0.45751866698265...
https://github.com/huggingface/datasets/issues/3578
Hi ! We did a release of `datasets` today that may fix this issue. Can you try updating `datasets` and trying again ? EDIT: the issue is still there actually I think we can fix that by storing the Features in the parquet schema metadata, and then reload them when loading the parquet file
label information get lost after parquet serialization
## Describe the bug In *dataset_info.json* file, information about the label get lost after the dataset serialization. ## Steps to reproduce the bug ```python from datasets import load_dataset # normal save dataset = load_dataset('glue', 'sst2', split='train') dataset.save_to_disk("normal_save") # save ...
54
label information get lost after parquet serialization ## Describe the bug In *dataset_info.json* file, information about the label get lost after the dataset serialization. ## Steps to reproduce the bug ```python from datasets import load_dataset # normal save dataset = load_dataset('glue', 'sst2', split='...
[ 0.1003645807504654, 0.2914578318595886, 0.0859542116522789, 0.27121201157569885, 0.22896230220794678, 0.04522363841533661, 0.1918182075023651, 0.053616467863321304, -0.1856914758682251, 0.20955806970596313, 0.21824026107788086, 0.7100893259048462, 0.14803320169448853, 0.33687856793403625, ...
https://github.com/huggingface/datasets/issues/3572
@sahoodib, thanks for reporting. Indeed, none of the data links appearing in the IndicGLUE website are working, e.g.: https://storage.googleapis.com/ai4bharat-public-indic-nlp-corpora/evaluations/soham-articles.tar.gz ``` <Error> <Code>UserProjectAccountProblem</Code> <Message>User project billing account not in...
ConnectionError in IndicGLUE dataset
While I am trying to load IndicGLUE dataset (https://huggingface.co/datasets/indic_glue) it is giving me with the error: ``` ConnectionError: Couldn't reach https://storage.googleapis.com/ai4bharat-public-indic-nlp-corpora/evaluations/wikiann-ner.tar.gz (error 403)
67
ConnectionError in IndicGLUE dataset While I am trying to load IndicGLUE dataset (https://huggingface.co/datasets/indic_glue) it is giving me with the error: ``` ConnectionError: Couldn't reach https://storage.googleapis.com/ai4bharat-public-indic-nlp-corpora/evaluations/wikiann-ner.tar.gz (error 403) @sahoodib, ...
[ -0.40432360768318176, 0.38783836364746094, -0.0267185028642416, 0.6261590123176575, 0.02226082608103752, 0.0886499285697937, 0.1807955801486969, 0.041581667959690094, 0.02537037432193756, 0.041216764599084854, -0.06060364469885826, -0.209945410490036, 0.3280406892299652, 0.0549295991659164...
https://github.com/huggingface/datasets/issues/3572
Yesterday I resent a reminder email with more AI4Bharat-related people in the loop. I also opened an issue in their repos: - https://github.com/AI4Bharat/indicnlp_corpus/issues/14 - https://github.com/AI4Bharat/ai4bharat.org/issues/71
ConnectionError in IndicGLUE dataset
While I am trying to load IndicGLUE dataset (https://huggingface.co/datasets/indic_glue) it is giving me with the error: ``` ConnectionError: Couldn't reach https://storage.googleapis.com/ai4bharat-public-indic-nlp-corpora/evaluations/wikiann-ner.tar.gz (error 403)
25
ConnectionError in IndicGLUE dataset While I am trying to load IndicGLUE dataset (https://huggingface.co/datasets/indic_glue) it is giving me with the error: ``` ConnectionError: Couldn't reach https://storage.googleapis.com/ai4bharat-public-indic-nlp-corpora/evaluations/wikiann-ner.tar.gz (error 403) Yesterday I...
[ -0.35771024227142334, 0.38021770119667053, -0.06358431279659271, 0.5133818984031677, -0.1065974161028862, -0.07360844314098358, 0.3364698886871338, 0.1029723510146141, -0.1654069572687149, 0.09455402195453644, -0.15875443816184998, -0.24723702669143677, 0.28000956773757935, -0.122643098235...
https://github.com/huggingface/datasets/issues/3572
We have received a reply from the authors reporting they have updated the URLs of their data files and opened a PR. See: - #4978
ConnectionError in IndicGLUE dataset
While I am trying to load IndicGLUE dataset (https://huggingface.co/datasets/indic_glue) it is giving me with the error: ``` ConnectionError: Couldn't reach https://storage.googleapis.com/ai4bharat-public-indic-nlp-corpora/evaluations/wikiann-ner.tar.gz (error 403)
25
ConnectionError in IndicGLUE dataset While I am trying to load IndicGLUE dataset (https://huggingface.co/datasets/indic_glue) it is giving me with the error: ``` ConnectionError: Couldn't reach https://storage.googleapis.com/ai4bharat-public-indic-nlp-corpora/evaluations/wikiann-ner.tar.gz (error 403) We have rec...
[ -0.3823036253452301, 0.2555050849914551, -0.0436352863907814, 0.5082762241363525, -0.1102486252784729, -0.04896838963031769, 0.1193949431180954, 0.11724840849637985, -0.027210377156734467, 0.04055623710155487, -0.024387935176491737, -0.13742674887180328, 0.32649093866348267, -0.02270498871...
https://github.com/huggingface/datasets/issues/3568
Hi @fabianslife, thanks for reporting. I think you were using an old version of `datasets` because this bug was already fixed in version `1.13.0` (13 Oct 2021): - Fix: 55fd140a63b8f03a0e72985647e498f1fc799d3f - PR: #3046 - Issue: #2969 Please, feel free to update the library: `pip install -U datasets`.
Downloading Hugging Face Medical Dialog Dataset NonMatchingSplitsSizesError
I wanted to download the Nedical Dialog Dataset from huggingface, using this github link: https://github.com/huggingface/datasets/tree/master/datasets/medical_dialog After downloading the raw datasets from google drive, i unpacked everything and put it in the same folder as the medical_dialog.py which is: ``` ...
47
Downloading Hugging Face Medical Dialog Dataset NonMatchingSplitsSizesError I wanted to download the Nedical Dialog Dataset from huggingface, using this github link: https://github.com/huggingface/datasets/tree/master/datasets/medical_dialog After downloading the raw datasets from google drive, i unpacked every...
[ -0.08223475515842438, -0.10125439614057541, 0.05063706636428833, 0.20178380608558655, 0.2633810043334961, 0.1685771942138672, 0.06952302157878876, 0.37026455998420715, 0.03564363718032837, 0.10938990116119385, -0.3243406414985657, -0.16785715520381927, -0.25402626395225525, 0.2069633901119...
https://github.com/huggingface/datasets/issues/3563
Hi! That makes sense. Sure, feel free to open a PR! Just a small suggestion: let's make `preserve_index` a parameter of `Dataset.from_pandas` (which we then pass to `InMemoryTable.from_pandas`) with `None` as a default value to not have this as a breaking change.
Dataset.from_pandas preserves useless index
## Describe the bug Let's say that you want to create a Dataset object from pandas dataframe. Most likely you will write something like this: ``` import pandas as pd from datasets import Dataset df = pd.read_csv('some_dataset.csv') # Some DataFrame preprocessing code... dataset = Dataset.from_pandas(df) `...
42
Dataset.from_pandas preserves useless index ## Describe the bug Let's say that you want to create a Dataset object from pandas dataframe. Most likely you will write something like this: ``` import pandas as pd from datasets import Dataset df = pd.read_csv('some_dataset.csv') # Some DataFrame preprocessing...
[ -0.2243756353855133, 0.3234052062034607, 0.05870558321475983, 0.1705540120601654, 0.28248101472854614, 0.09029980003833771, 0.4146195948123932, 0.3388768136501312, -0.3311906158924103, 0.20176385343074799, -0.08705105632543564, 0.7348050475120544, 0.04669303819537163, -0.018778357654809952...
https://github.com/huggingface/datasets/issues/3561
The host of this copy of the dataset (https://the-eye.eu) is down and has been down for a good amount of time ([potentially months](https://www.reddit.com/r/Roms/comments/q82s15/theeye_downdied/)) Finding this dataset is a little esoteric, as the original authors took down the official BookCorpus dataset some time a...
Cannot load ‘bookcorpusopen’
## Describe the bug Cannot load 'bookcorpusopen' ## Steps to reproduce the bug ```python dataset = load_dataset('bookcorpusopen') ``` or ```python dataset = load_dataset('bookcorpusopen',script_version='master') ``` ## Actual results ConnectionError: Couldn't reach https://the-eye.eu/public/AI/pile_pre...
109
Cannot load ‘bookcorpusopen’ ## Describe the bug Cannot load 'bookcorpusopen' ## Steps to reproduce the bug ```python dataset = load_dataset('bookcorpusopen') ``` or ```python dataset = load_dataset('bookcorpusopen',script_version='master') ``` ## Actual results ConnectionError: Couldn't reach https:...
[ -0.2679778039455414, 0.2642434239387512, -0.0406799390912056, 0.3686516582965851, -0.12361034750938416, 0.008802160620689392, 0.3477189838886261, 0.23135486245155334, -0.06283144652843475, -0.07161933183670044, -0.361925333738327, 0.11834615468978882, 0.317331999540329, 0.1622450053691864,...
https://github.com/huggingface/datasets/issues/3561
Hi! The `bookcorpusopen` dataset is not working for the same reason as explained in this comment: https://github.com/huggingface/datasets/issues/3504#issuecomment-1004564980
Cannot load ‘bookcorpusopen’
## Describe the bug Cannot load 'bookcorpusopen' ## Steps to reproduce the bug ```python dataset = load_dataset('bookcorpusopen') ``` or ```python dataset = load_dataset('bookcorpusopen',script_version='master') ``` ## Actual results ConnectionError: Couldn't reach https://the-eye.eu/public/AI/pile_pre...
17
Cannot load ‘bookcorpusopen’ ## Describe the bug Cannot load 'bookcorpusopen' ## Steps to reproduce the bug ```python dataset = load_dataset('bookcorpusopen') ``` or ```python dataset = load_dataset('bookcorpusopen',script_version='master') ``` ## Actual results ConnectionError: Couldn't reach https:...
[ -0.3040997087955475, -0.031326889991760254, -0.0976269394159317, 0.3863775134086609, 0.1762523055076599, -0.07487300038337708, 0.3626808822154999, 0.12973737716674805, 0.06866581737995148, -0.011390790343284607, -0.3443719148635864, 0.2929636836051941, 0.45127254724502563, 0.47275522351264...
https://github.com/huggingface/datasets/issues/3561
Hi @HUIYINXUE, it should work now that the data owners created a mirror server with all data, and we updated the URL in our library.
Cannot load ‘bookcorpusopen’
## Describe the bug Cannot load 'bookcorpusopen' ## Steps to reproduce the bug ```python dataset = load_dataset('bookcorpusopen') ``` or ```python dataset = load_dataset('bookcorpusopen',script_version='master') ``` ## Actual results ConnectionError: Couldn't reach https://the-eye.eu/public/AI/pile_pre...
25
Cannot load ‘bookcorpusopen’ ## Describe the bug Cannot load 'bookcorpusopen' ## Steps to reproduce the bug ```python dataset = load_dataset('bookcorpusopen') ``` or ```python dataset = load_dataset('bookcorpusopen',script_version='master') ``` ## Actual results ConnectionError: Couldn't reach https:...
[ -0.21133823692798615, 0.15783146023750305, -0.07106094807386398, 0.32462406158447266, -0.06236792728304863, -0.14003759622573853, 0.3946613669395447, 0.19909527897834778, 0.00045587122440338135, -0.056987226009368896, -0.34380534291267395, 0.3186571002006531, 0.44060418009757996, 0.2468891...
https://github.com/huggingface/datasets/issues/3558
Hi @mariosasko,Just search randomly and I found this issue~ I'm the tech lead of Milvus and we are looking forward to integrate milvus together with huggingface datasets. Any suggestion on how we could start?
Integrate Milvus (pymilvus) library
Milvus is a popular open-source vector database. We should add a new vector index to support this project.
34
Integrate Milvus (pymilvus) library Milvus is a popular open-source vector database. We should add a new vector index to support this project. Hi @mariosasko,Just search randomly and I found this issue~ I'm the tech lead of Milvus and we are looking forward to integrate milvus together with huggingface datasets. ...
[ 0.0640774816274643, -0.6056885123252869, -0.11712740361690521, 0.30451667308807373, 0.27040401101112366, 0.054664164781570435, -0.045969024300575256, 0.16240724921226501, 0.08975417912006378, 0.32889696955680847, -0.03349345177412033, -0.20647785067558289, -0.21399635076522827, 0.056155808...
https://github.com/huggingface/datasets/issues/3558
Hi! For starters, I suggest you take a look at this file: https://github.com/huggingface/datasets/blob/master/src/datasets/search.py, which contains all the code for Faiss/ElasticSearch support. We could set up a Slack channel for additional guidance. Let me know what you prefer.
Integrate Milvus (pymilvus) library
Milvus is a popular open-source vector database. We should add a new vector index to support this project.
37
Integrate Milvus (pymilvus) library Milvus is a popular open-source vector database. We should add a new vector index to support this project. Hi! For starters, I suggest you take a look at this file: https://github.com/huggingface/datasets/blob/master/src/datasets/search.py, which contains all the code for Faiss/E...
[ -0.1996869146823883, -0.2113722860813141, -0.2736818492412567, -0.1039368286728859, -0.029822152107954025, -0.07170283794403076, -0.01782546192407608, 0.25997188687324524, 0.2742891311645508, 0.09052294492721558, -0.09796348214149475, -0.10962577164173126, -0.23410223424434662, -0.04114861...
https://github.com/huggingface/datasets/issues/3558
> Hi! For starters, I suggest you take a look at this file: https://github.com/huggingface/datasets/blob/master/src/datasets/search.py, which contains all the code for Faiss/ElasticSearch support. We could set up a Slack channel for additional guidance. Let me know what you prefer. Sure, we take a look and do some r...
Integrate Milvus (pymilvus) library
Milvus is a popular open-source vector database. We should add a new vector index to support this project.
47
Integrate Milvus (pymilvus) library Milvus is a popular open-source vector database. We should add a new vector index to support this project. > Hi! For starters, I suggest you take a look at this file: https://github.com/huggingface/datasets/blob/master/src/datasets/search.py, which contains all the code for Faiss...
[ -0.1838492453098297, -0.2007056176662445, -0.2723217010498047, -0.1145944744348526, -0.04853168874979019, -0.09915155172348022, -0.0014097169041633606, 0.25204768776893616, 0.25061216950416565, 0.0776882916688919, -0.08293487131595612, -0.11872217059135437, -0.24957942962646484, -0.0352783...
https://github.com/huggingface/datasets/issues/3555
Hi, we've just merged the PR with the fix. The fixed version of the dataset can be downloaded as follows: ```python import datasets dset = datasets.load_dataset("tweet_qa", revision="master") ```
DuplicatedKeysError when loading tweet_qa dataset
When loading the tweet_qa dataset with `load_dataset('tweet_qa')`, the following error occurs: `DuplicatedKeysError: FAILURE TO GENERATE DATASET ! Found duplicate Key: 2a167f9e016ba338e1813fed275a6a1e Keys should be unique and deterministic in nature ` Might be related to issues #2433 and #2333 - `datasets` ...
28
DuplicatedKeysError when loading tweet_qa dataset When loading the tweet_qa dataset with `load_dataset('tweet_qa')`, the following error occurs: `DuplicatedKeysError: FAILURE TO GENERATE DATASET ! Found duplicate Key: 2a167f9e016ba338e1813fed275a6a1e Keys should be unique and deterministic in nature ` Might b...
[ 0.020983047783374786, -0.2672315537929535, -0.004779800772666931, 0.20693662762641907, 0.3006341755390167, 0.06389863789081573, 0.14324229955673218, 0.30135083198547363, -0.19674603641033173, 0.09052057564258575, 0.0005055032670497894, 0.3443007469177246, -0.1993969976902008, 0.25854074954...
https://github.com/huggingface/datasets/issues/3554
Hi! I can't reproduce this error in Colab, but I'm assuming you are using Amazon SageMaker Studio Notebooks (you mention the `conda_pytorch_p36` kernel), so maybe @philschmid knows more about what might be causing this issue?
ImportError: cannot import name 'is_valid_waiter_error'
Based on [SO post](https://stackoverflow.com/q/70606147/17840900). I'm following along to this [Notebook][1], cell "**Loading the dataset**". Kernel: `conda_pytorch_p36`. I run: ``` ! pip install datasets transformers optimum[intel] ``` Output: ``` Requirement already satisfied: datasets in /home/ec2-u...
35
ImportError: cannot import name 'is_valid_waiter_error' Based on [SO post](https://stackoverflow.com/q/70606147/17840900). I'm following along to this [Notebook][1], cell "**Loading the dataset**". Kernel: `conda_pytorch_p36`. I run: ``` ! pip install datasets transformers optimum[intel] ``` Output: `...
[ -0.14788265526294708, -0.14692768454551697, -0.22139348089694977, 0.17883382737636566, 0.15695370733737946, -0.19814321398735046, 0.37350890040397644, 0.17720115184783936, -0.0016112402081489563, 0.00877738744020462, -0.10016077011823654, 0.38918349146842957, 0.024509761482477188, 0.115436...
https://github.com/huggingface/datasets/issues/3554
Hey @mariosasko. Yes, I am using **Amazon SageMaker Studio Jupyter Labs**. However, I no longer need this notebook; but it would be nice to have this problem solved for others. So don't stress too much if you two can't reproduce error.
ImportError: cannot import name 'is_valid_waiter_error'
Based on [SO post](https://stackoverflow.com/q/70606147/17840900). I'm following along to this [Notebook][1], cell "**Loading the dataset**". Kernel: `conda_pytorch_p36`. I run: ``` ! pip install datasets transformers optimum[intel] ``` Output: ``` Requirement already satisfied: datasets in /home/ec2-u...
41
ImportError: cannot import name 'is_valid_waiter_error' Based on [SO post](https://stackoverflow.com/q/70606147/17840900). I'm following along to this [Notebook][1], cell "**Loading the dataset**". Kernel: `conda_pytorch_p36`. I run: ``` ! pip install datasets transformers optimum[intel] ``` Output: `...
[ -0.14788265526294708, -0.14692768454551697, -0.22139348089694977, 0.17883382737636566, 0.15695370733737946, -0.19814321398735046, 0.37350890040397644, 0.17720115184783936, -0.0016112402081489563, 0.00877738744020462, -0.10016077011823654, 0.38918349146842957, 0.024509761482477188, 0.115436...
https://github.com/huggingface/datasets/issues/3554
Hey @danielbellhv, This issue might be related to Studio probably not having an up to date `botocore` and `boto3` version. I ran into this as well a while back. My workaround was ```python # using older dataset due to incompatibility of sagemaker notebook & aws-cli with > s3fs and fsspec to >= 2021.10 !pip inst...
ImportError: cannot import name 'is_valid_waiter_error'
Based on [SO post](https://stackoverflow.com/q/70606147/17840900). I'm following along to this [Notebook][1], cell "**Loading the dataset**". Kernel: `conda_pytorch_p36`. I run: ``` ! pip install datasets transformers optimum[intel] ``` Output: ``` Requirement already satisfied: datasets in /home/ec2-u...
90
ImportError: cannot import name 'is_valid_waiter_error' Based on [SO post](https://stackoverflow.com/q/70606147/17840900). I'm following along to this [Notebook][1], cell "**Loading the dataset**". Kernel: `conda_pytorch_p36`. I run: ``` ! pip install datasets transformers optimum[intel] ``` Output: `...
[ -0.14788265526294708, -0.14692768454551697, -0.22139348089694977, 0.17883382737636566, 0.15695370733737946, -0.19814321398735046, 0.37350890040397644, 0.17720115184783936, -0.0016112402081489563, 0.00877738744020462, -0.10016077011823654, 0.38918349146842957, 0.024509761482477188, 0.115436...
https://github.com/huggingface/datasets/issues/3553
This error also propagates to jax and is even trickier to fix, since `.with_format(type='jax')` will use numpy conversion internally (and fail). For a three line failure: ```python dataset = datasets.load_dataset("mnist") dataset.set_format("jax") X_train = dataset["train"]["image"] ```
set_format("np") no longer works for Image data
## Describe the bug `dataset.set_format("np")` no longer works for image data, previously you could load the MNIST like this: ```python dataset = load_dataset("mnist") dataset.set_format("np") X_train = dataset["train"]["image"][..., None] # <== No longer a numpy array ``` but now it doesn't work, `set_format(...
35
set_format("np") no longer works for Image data ## Describe the bug `dataset.set_format("np")` no longer works for image data, previously you could load the MNIST like this: ```python dataset = load_dataset("mnist") dataset.set_format("np") X_train = dataset["train"]["image"][..., None] # <== No longer a numpy...
[ -0.035104334354400635, 0.11162325739860535, -0.01638615131378174, -0.1090967059135437, 0.5629804730415344, -0.06856969743967056, 0.6217343211174011, 0.4775543510913849, -0.17445608973503113, 0.17818701267242432, 0.06581294536590576, 0.5270742774009705, -0.08805319666862488, 0.1173614934086...
https://github.com/huggingface/datasets/issues/3553
Hi! We've recently introduced a new Image feature that yields PIL Images (and caches transforms on them) instead of arrays. However, this feature requires a custom transform to yield np arrays directly: ```python ddict = datasets.load_dataset("mnist") def pil_image_to_array(batch): return {"image": [np.ar...
set_format("np") no longer works for Image data
## Describe the bug `dataset.set_format("np")` no longer works for image data, previously you could load the MNIST like this: ```python dataset = load_dataset("mnist") dataset.set_format("np") X_train = dataset["train"]["image"][..., None] # <== No longer a numpy array ``` but now it doesn't work, `set_format(...
127
set_format("np") no longer works for Image data ## Describe the bug `dataset.set_format("np")` no longer works for image data, previously you could load the MNIST like this: ```python dataset = load_dataset("mnist") dataset.set_format("np") X_train = dataset["train"]["image"][..., None] # <== No longer a numpy...
[ -0.15154948830604553, 0.02283516526222229, 0.008419983088970184, -0.09256992489099503, 0.4749736785888672, -0.1852436065673828, 0.6634012460708618, 0.2563916742801666, -0.2602323293685913, 0.12488001585006714, -0.1729414165019989, 0.5843823552131653, -0.17882655560970306, 0.171517044305801...
https://github.com/huggingface/datasets/issues/3553
Yes I agree it should return arrays and not a PIL image (and possible an array instead of a dict for audio data). I'm currently finishing some code refactoring of the image and audio and opening a PR today. Maybe we can look into that after the refactoring
set_format("np") no longer works for Image data
## Describe the bug `dataset.set_format("np")` no longer works for image data, previously you could load the MNIST like this: ```python dataset = load_dataset("mnist") dataset.set_format("np") X_train = dataset["train"]["image"][..., None] # <== No longer a numpy array ``` but now it doesn't work, `set_format(...
48
set_format("np") no longer works for Image data ## Describe the bug `dataset.set_format("np")` no longer works for image data, previously you could load the MNIST like this: ```python dataset = load_dataset("mnist") dataset.set_format("np") X_train = dataset["train"]["image"][..., None] # <== No longer a numpy...
[ -0.32607501745224, 0.07806915044784546, -0.03519725054502487, -0.014314588159322739, 0.38455435633659363, -0.3260153532028198, 0.5448748469352722, 0.25854283571243286, -0.16704519093036652, 0.12738348543643951, -0.1693267822265625, 0.7061200141906738, -0.26262208819389343, 0.07516293972730...
https://github.com/huggingface/datasets/issues/3548
After looking into this, discovered that this is already supported if the `dataset_infos.json` file is configured correctly! Here is a working example: https://huggingface.co/datasets/abidlabs/test-audio-13 This should be probably be documented, though.
Specify the feature types of a dataset on the Hub without needing a dataset script
**Is your feature request related to a problem? Please describe.** Currently if I upload a CSV with paths to audio files, the column type is string instead of Audio. **Describe the solution you'd like** I'd like to be able to specify the types of the column, so that when loading the dataset I directly get the feat...
30
Specify the feature types of a dataset on the Hub without needing a dataset script **Is your feature request related to a problem? Please describe.** Currently if I upload a CSV with paths to audio files, the column type is string instead of Audio. **Describe the solution you'd like** I'd like to be able to spec...
[ -0.19814532995224, -0.3338790535926819, -0.05936959758400917, -0.0158836729824543, 0.29148438572883606, 0.05367411673069, 0.5299442410469055, 0.2025269865989685, 0.29643458127975464, 0.2206585705280304, -0.04987912252545357, 0.46671566367149353, -0.06496649980545044, 0.6093792915344238, ...
https://github.com/huggingface/datasets/issues/3547
Thanks for reporting. I think this can be fixed by improving the `CachedDatasetModuleFactory` and making it look into the `parquet` cache directory (datasets from push_to_hub are loaded with the parquet dataset builder). I'll look into it
Datasets created with `push_to_hub` can't be accessed in offline mode
## Describe the bug In offline mode, one can still access previously-cached datasets. This fails with datasets created with `push_to_hub`. ## Steps to reproduce the bug in Python: ``` import datasets mpwiki = datasets.load_dataset("teven/matched_passages_wikidata") ``` in bash: ``` export HF_DATASETS_OFFLIN...
36
Datasets created with `push_to_hub` can't be accessed in offline mode ## Describe the bug In offline mode, one can still access previously-cached datasets. This fails with datasets created with `push_to_hub`. ## Steps to reproduce the bug in Python: ``` import datasets mpwiki = datasets.load_dataset("teven/ma...
[ -0.31951695680618286, -0.3339676558971405, 0.033271849155426025, 0.23948192596435547, 0.14462316036224365, 0.09753571450710297, 0.4311663806438446, 0.1092434898018837, 0.1457221657037735, 0.0020821616053581238, -0.16410820186138153, 0.09397861361503601, 0.1401517391204834, 0.20550762116909...
https://github.com/huggingface/datasets/issues/3547
We haven't had a chance to fix this yet. If someone would like to give it a try I'd be happy to give some guidance
Datasets created with `push_to_hub` can't be accessed in offline mode
## Describe the bug In offline mode, one can still access previously-cached datasets. This fails with datasets created with `push_to_hub`. ## Steps to reproduce the bug in Python: ``` import datasets mpwiki = datasets.load_dataset("teven/matched_passages_wikidata") ``` in bash: ``` export HF_DATASETS_OFFLIN...
25
Datasets created with `push_to_hub` can't be accessed in offline mode ## Describe the bug In offline mode, one can still access previously-cached datasets. This fails with datasets created with `push_to_hub`. ## Steps to reproduce the bug in Python: ``` import datasets mpwiki = datasets.load_dataset("teven/ma...
[ -0.2712700366973877, -0.4028080701828003, -0.010768983513116837, 0.2169342339038849, 0.12817822396755219, 0.12113681435585022, 0.47877591848373413, 0.17406824231147766, 0.14842376112937927, 0.0674809068441391, -0.22360745072364807, -0.04085317999124527, 0.12881478667259216, 0.1556220352649...
https://github.com/huggingface/datasets/issues/3547
@lhoestq Do you have an idea of what changes need to be made to `CachedDatasetModuleFactory`? I would be willing to take a crack at it. Currently unable to train with datasets I have `push_to_hub` on a cluster whose compute nodes are not connected to the internet. It looks like it might be this line: https://gith...
Datasets created with `push_to_hub` can't be accessed in offline mode
## Describe the bug In offline mode, one can still access previously-cached datasets. This fails with datasets created with `push_to_hub`. ## Steps to reproduce the bug in Python: ``` import datasets mpwiki = datasets.load_dataset("teven/matched_passages_wikidata") ``` in bash: ``` export HF_DATASETS_OFFLIN...
92
Datasets created with `push_to_hub` can't be accessed in offline mode ## Describe the bug In offline mode, one can still access previously-cached datasets. This fails with datasets created with `push_to_hub`. ## Steps to reproduce the bug in Python: ``` import datasets mpwiki = datasets.load_dataset("teven/ma...
[ -0.19155991077423096, -0.262698233127594, 0.02448786050081253, 0.1765240728855133, 0.27770131826400757, 0.0777067095041275, 0.38575711846351624, 0.09199844300746918, 0.16568036377429962, 0.015625447034835815, -0.08702301979064941, 0.1225704699754715, -0.02004685252904892, 0.058035105466842...
https://github.com/huggingface/datasets/issues/3547
`importable_directory_path` is used to find a **dataset script** that was previously downloaded and cached from the Hub However in your case there's no dataset script on the Hub, only parquet files. So the logic must be extended for this case. In particular I think you can add a new logic in the case where `hashe...
Datasets created with `push_to_hub` can't be accessed in offline mode
## Describe the bug In offline mode, one can still access previously-cached datasets. This fails with datasets created with `push_to_hub`. ## Steps to reproduce the bug in Python: ``` import datasets mpwiki = datasets.load_dataset("teven/matched_passages_wikidata") ``` in bash: ``` export HF_DATASETS_OFFLIN...
251
Datasets created with `push_to_hub` can't be accessed in offline mode ## Describe the bug In offline mode, one can still access previously-cached datasets. This fails with datasets created with `push_to_hub`. ## Steps to reproduce the bug in Python: ``` import datasets mpwiki = datasets.load_dataset("teven/ma...
[ -0.3551827669143677, -0.2094767689704895, 0.025371938943862915, 0.2815462648868561, 0.12832652032375336, 0.054722465574741364, 0.23267406225204468, 0.19037842750549316, 0.18259038031101227, 0.06978064775466919, -0.1226423978805542, 0.2477349042892456, 0.07432155311107635, 0.167365044355392...
https://github.com/huggingface/datasets/issues/3547
Hi! Is there a workaround for the time being? Like passing `data_dir` or something like that? I would like to use [this diffuser example](https://github.com/huggingface/diffusers/tree/main/examples/unconditional_image_generation) on my cluster whose nodes are not connected to the internet. I have downloaded the dat...
Datasets created with `push_to_hub` can't be accessed in offline mode
## Describe the bug In offline mode, one can still access previously-cached datasets. This fails with datasets created with `push_to_hub`. ## Steps to reproduce the bug in Python: ``` import datasets mpwiki = datasets.load_dataset("teven/matched_passages_wikidata") ``` in bash: ``` export HF_DATASETS_OFFLIN...
45
Datasets created with `push_to_hub` can't be accessed in offline mode ## Describe the bug In offline mode, one can still access previously-cached datasets. This fails with datasets created with `push_to_hub`. ## Steps to reproduce the bug in Python: ``` import datasets mpwiki = datasets.load_dataset("teven/ma...
[ -0.3247848451137543, -0.5047325491905212, -0.0002515651285648346, 0.21967872977256775, 0.152711883187294, -0.10468874871730804, 0.4320303797721863, 0.04485219344496727, 0.05850377678871155, 0.2133614420890808, -0.15318924188613892, 0.20678693056106567, -0.013476960361003876, 0.042082302272...
https://github.com/huggingface/datasets/issues/3547
Hi ! Yes you can save your dataset locally with `my_dataset.save_to_disk("path/to/local")` and reload it later with `load_from_disk("path/to/local")` (removing myself from assignees since I'm currently not working on this right now)
Datasets created with `push_to_hub` can't be accessed in offline mode
## Describe the bug In offline mode, one can still access previously-cached datasets. This fails with datasets created with `push_to_hub`. ## Steps to reproduce the bug in Python: ``` import datasets mpwiki = datasets.load_dataset("teven/matched_passages_wikidata") ``` in bash: ``` export HF_DATASETS_OFFLIN...
30
Datasets created with `push_to_hub` can't be accessed in offline mode ## Describe the bug In offline mode, one can still access previously-cached datasets. This fails with datasets created with `push_to_hub`. ## Steps to reproduce the bug in Python: ``` import datasets mpwiki = datasets.load_dataset("teven/ma...
[ -0.353150874376297, -0.3197280764579773, -0.0032497942447662354, 0.20286883413791656, 0.14619868993759155, 0.17371821403503418, 0.44394463300704956, 0.14540687203407288, 0.19849056005477905, 0.09130549430847168, -0.28008925914764404, 0.01000293344259262, 0.08650468289852142, 0.165842682123...
https://github.com/huggingface/datasets/issues/3547
Any idea @lhoestq who to tag to fix this ? This is a very annoying bug, which is becoming more and more present since the push_to_hub API is getting used more ?
Datasets created with `push_to_hub` can't be accessed in offline mode
## Describe the bug In offline mode, one can still access previously-cached datasets. This fails with datasets created with `push_to_hub`. ## Steps to reproduce the bug in Python: ``` import datasets mpwiki = datasets.load_dataset("teven/matched_passages_wikidata") ``` in bash: ``` export HF_DATASETS_OFFLIN...
32
Datasets created with `push_to_hub` can't be accessed in offline mode ## Describe the bug In offline mode, one can still access previously-cached datasets. This fails with datasets created with `push_to_hub`. ## Steps to reproduce the bug in Python: ``` import datasets mpwiki = datasets.load_dataset("teven/ma...
[ -0.2875521183013916, -0.35430973768234253, -0.011735305190086365, 0.21019107103347778, 0.1528407633304596, 0.19440564513206482, 0.5665085911750793, 0.13394923508167267, 0.1539742797613144, 0.09263329952955246, -0.13024771213531494, 0.02481309324502945, 0.11667526513338089, 0.12300591915845...
https://github.com/huggingface/datasets/issues/3547
It should be easier to implement now that we improved the caching of datasets from `push_to_hub`: each dataset has its own directory in the cache. The cache structure has been improved in https://github.com/huggingface/datasets/pull/5331. Now the cache structure is `"{namespace__}<dataset_name>/<config_name>/<versio...
Datasets created with `push_to_hub` can't be accessed in offline mode
## Describe the bug In offline mode, one can still access previously-cached datasets. This fails with datasets created with `push_to_hub`. ## Steps to reproduce the bug in Python: ``` import datasets mpwiki = datasets.load_dataset("teven/matched_passages_wikidata") ``` in bash: ``` export HF_DATASETS_OFFLIN...
91
Datasets created with `push_to_hub` can't be accessed in offline mode ## Describe the bug In offline mode, one can still access previously-cached datasets. This fails with datasets created with `push_to_hub`. ## Steps to reproduce the bug in Python: ``` import datasets mpwiki = datasets.load_dataset("teven/ma...
[ -0.30459508299827576, -0.38094186782836914, 0.0066871121525764465, 0.25334638357162476, 0.1383620947599411, 0.07272139191627502, 0.37521418929100037, 0.23341166973114014, 0.20198869705200195, 0.011397458612918854, -0.31709858775138855, 0.1475990265607834, 0.029515542089939117, 0.1827070713...
https://github.com/huggingface/datasets/issues/3547
I started a PR to draft the logic to reload datasets from the cache fi they were created with push_to_hub: https://github.com/huggingface/datasets/pull/6459 Feel free to try it out
Datasets created with `push_to_hub` can't be accessed in offline mode
## Describe the bug In offline mode, one can still access previously-cached datasets. This fails with datasets created with `push_to_hub`. ## Steps to reproduce the bug in Python: ``` import datasets mpwiki = datasets.load_dataset("teven/matched_passages_wikidata") ``` in bash: ``` export HF_DATASETS_OFFLIN...
27
Datasets created with `push_to_hub` can't be accessed in offline mode ## Describe the bug In offline mode, one can still access previously-cached datasets. This fails with datasets created with `push_to_hub`. ## Steps to reproduce the bug in Python: ``` import datasets mpwiki = datasets.load_dataset("teven/ma...
[ -0.2612558901309967, -0.47510388493537903, -0.017316732555627823, 0.27128085494041443, 0.1512058824300766, 0.1140630692243576, 0.387888640165329, 0.08904111385345459, 0.2263665795326233, 0.02559393271803856, -0.2872263193130493, -0.0110248364508152, 0.12130150943994522, 0.1988600492477417,...
https://github.com/huggingface/datasets/issues/3547
Which version of `datasets` are you using ? This issue has been fixed with `datasets` 2.16
Datasets created with `push_to_hub` can't be accessed in offline mode
## Describe the bug In offline mode, one can still access previously-cached datasets. This fails with datasets created with `push_to_hub`. ## Steps to reproduce the bug in Python: ``` import datasets mpwiki = datasets.load_dataset("teven/matched_passages_wikidata") ``` in bash: ``` export HF_DATASETS_OFFLIN...
16
Datasets created with `push_to_hub` can't be accessed in offline mode ## Describe the bug In offline mode, one can still access previously-cached datasets. This fails with datasets created with `push_to_hub`. ## Steps to reproduce the bug in Python: ``` import datasets mpwiki = datasets.load_dataset("teven/ma...
[ -0.32677245140075684, -0.39736777544021606, -0.023936724290251732, 0.2029590904712677, 0.1150939092040062, 0.1271596997976303, 0.47627338767051697, 0.19617336988449097, 0.19484159350395203, 0.1081995740532875, -0.22178907692432404, 0.003371983766555786, 0.17184776067733765, 0.1319915950298...
https://github.com/huggingface/datasets/issues/3543
Hi ! Thanks for your message :) This is a great idea indeed. We haven't started working on this yet though. For now I guess you can host your metric on the Hub (either with your model or your dataset) and use `hf_hub_download` to download it (docs [here](https://github.com/huggingface/huggingface_hub/blob/main/docs/hub...
Allow loading community metrics from the hub, just like datasets
**Is your feature request related to a problem? Please describe.** Currently, I can load a metric implemented by me by providing the local path to the file in `load_metric`. However, there is no option to do it with the metric uploaded to the hub. This means that if I want to allow other users to use it, they must d...
48
Allow loading community metrics from the hub, just like datasets **Is your feature request related to a problem? Please describe.** Currently, I can load a metric implemented by me by providing the local path to the file in `load_metric`. However, there is no option to do it with the metric uploaded to the hub. Th...
[ -0.5048285722732544, -0.1317419707775116, -0.04568316787481308, 0.11887921392917633, 0.03014155477285385, -0.05572539567947388, 0.15931017696857452, 0.013090163469314575, 0.4941082000732422, 0.4180034399032593, -0.4741498827934265, 0.294192373752594, -0.030540989711880684, 0.39886128902435...
https://github.com/huggingface/datasets/issues/3543
Here's the code I used, in case it can be of help to someone else: ```python import os, shutil from huggingface_hub import hf_hub_download def download_metric(repo_id, file_path): # repo_id: for models "username/model_name", for datasets "datasets/username/model_name" local_metric_path = hf_hub_download(r...
Allow loading community metrics from the hub, just like datasets
**Is your feature request related to a problem? Please describe.** Currently, I can load a metric implemented by me by providing the local path to the file in `load_metric`. However, there is no option to do it with the metric uploaded to the hub. This means that if I want to allow other users to use it, they must d...
55
Allow loading community metrics from the hub, just like datasets **Is your feature request related to a problem? Please describe.** Currently, I can load a metric implemented by me by providing the local path to the file in `load_metric`. However, there is no option to do it with the metric uploaded to the hub. Th...
[ -0.4704206585884094, -0.12602578103542328, 0.0011761114001274109, 0.14799818396568298, 0.05638078972697258, -0.07691201567649841, 0.13489174842834473, 0.07657800614833832, 0.6092928051948547, 0.4103238582611084, -0.5060343146324158, 0.2940290570259094, -0.06716213375329971, 0.2850584387779...
https://github.com/huggingface/datasets/issues/3533
Because it has dots in some YAML keys, it can't be parsed and indexed by the back-end
Task search function on hub not working correctly
When I want to look at all datasets of the category: `speech-processing` *i.e.* https://huggingface.co/datasets?task_categories=task_categories:speech-processing&sort=downloads , then the following dataset doesn't show up for some reason: - https://huggingface.co/datasets/speech_commands even thought it's task t...
17
Task search function on hub not working correctly When I want to look at all datasets of the category: `speech-processing` *i.e.* https://huggingface.co/datasets?task_categories=task_categories:speech-processing&sort=downloads , then the following dataset doesn't show up for some reason: - https://huggingface.co/...
[ -0.1805419623851776, -0.642378568649292, -0.14864131808280945, 0.28595682978630066, 0.2297505885362625, -0.11155679821968079, -0.0037064841017127037, 0.37212589383125305, 0.4584404230117798, -0.01763911545276642, -0.3031657338142395, -0.021939702332019806, -0.1286851167678833, 0.3014598488...
https://github.com/huggingface/datasets/issues/3518
In the framework of BigScience: - bigscience-workshop/data_tooling#121 I have created this dataset as a community dataset: https://huggingface.co/datasets/albertvillanova/pmc_open_access However, I was wondering that it may be more appropriate to move it under an org namespace: `pubmed_central` or `pmc` This wa...
Add PubMed Central Open Access dataset
## Adding a Dataset - **Name:** PubMed Central Open Access - **Description:** The PMC Open Access Subset includes more than 3.4 million journal articles and preprints that are made available under license terms that allow reuse. - **Paper:** *link to the dataset paper if available* - **Data:** https://www.ncbi.nlm....
64
Add PubMed Central Open Access dataset ## Adding a Dataset - **Name:** PubMed Central Open Access - **Description:** The PMC Open Access Subset includes more than 3.4 million journal articles and preprints that are made available under license terms that allow reuse. - **Paper:** *link to the dataset paper if avai...
[ 0.015851370990276337, 0.2765920162200928, -0.052129290997982025, -0.0766172856092453, 0.08423331379890442, 0.0609654039144516, 0.16920578479766846, 0.17620308697223663, 0.027863681316375732, 0.023717690259218216, -0.009646069258451462, 0.016648270189762115, -0.21521753072738647, -0.1154048...
https://github.com/huggingface/datasets/issues/3518
Why not ! Having them under such namespaces would also help people searching for this kind of datasets. We can also invite people from pubmed at one point
Add PubMed Central Open Access dataset
## Adding a Dataset - **Name:** PubMed Central Open Access - **Description:** The PMC Open Access Subset includes more than 3.4 million journal articles and preprints that are made available under license terms that allow reuse. - **Paper:** *link to the dataset paper if available* - **Data:** https://www.ncbi.nlm....
28
Add PubMed Central Open Access dataset ## Adding a Dataset - **Name:** PubMed Central Open Access - **Description:** The PMC Open Access Subset includes more than 3.4 million journal articles and preprints that are made available under license terms that allow reuse. - **Paper:** *link to the dataset paper if avai...
[ -0.12800449132919312, 0.07426443696022034, -0.21168558299541473, -0.2449232041835785, -0.07053253054618835, 0.06783609092235565, 0.2654060125350952, 0.32344600558280945, 0.009977348148822784, 0.2698272466659546, -0.06520908325910568, 0.009517841041088104, -0.27030789852142334, 0.0643098801...
https://github.com/huggingface/datasets/issues/3510
Hi ! According to the DPR paper, the wikipedia dump is the one from Dec. 20, 2018. Each instance contains a paragraph of at most 100 word, as well as the title of the wikipedia page it comes from and the DPR embedding (a 768-d vector).
`wiki_dpr` details for Open Domain Question Answering tasks
Hey guys! Thanks for creating the `wiki_dpr` dataset! I am currently trying to use the dataset for context retrieval using DPR on NQ questions and need details about what each of the files and data instances mean, which version of the Wikipedia dump it uses, etc. Please respond at your earliest convenience regard...
46
`wiki_dpr` details for Open Domain Question Answering tasks Hey guys! Thanks for creating the `wiki_dpr` dataset! I am currently trying to use the dataset for context retrieval using DPR on NQ questions and need details about what each of the files and data instances mean, which version of the Wikipedia dump it...
[ 0.1468070149421692, -0.35998809337615967, -0.11042633652687073, 0.5688871145248413, -0.2651136517524719, 0.0071313828229904175, 0.14733092486858368, 0.11683725565671921, -0.18016135692596436, -0.23502443730831146, -0.0067064277827739716, -0.010702051222324371, 0.0064398497343063354, 0.1478...
https://github.com/huggingface/datasets/issues/3507
IMO, the data streaming test is good enough of a test that the dataset works correctly (assuming that we can more or less ensure that if streaming works then the non-streaming case will also work), so that for datasets that have a working dataset preview, we can remove the dummy data IMO. On the other hand, it seems li...
Discuss whether support canonical datasets w/o dataset_infos.json and/or dummy data
I open this PR to have a public discussion about this topic and make a decision. As previously discussed, once we have the metadata in the dataset card (README file, containing both Markdown info and YAML tags), what is the point of having also the JSON metadata (dataset_infos.json file)? On the other hand, the d...
105
Discuss whether support canonical datasets w/o dataset_infos.json and/or dummy data I open this PR to have a public discussion about this topic and make a decision. As previously discussed, once we have the metadata in the dataset card (README file, containing both Markdown info and YAML tags), what is the point o...
[ -0.2486526072025299, 0.013766780495643616, 0.02825213223695755, 0.17209264636039734, 0.034842584282159805, 0.25060802698135376, 0.3021659851074219, 0.15518000721931458, -0.1902872771024704, 0.06833405047655106, 0.21872025728225708, 0.06464927643537521, -0.09335470199584961, 0.2443665266036...
https://github.com/huggingface/datasets/issues/3507
I don't know all the details, but generally I'd be in favor of unifying the metadata formats into YAML inside .md (and so deprecating the dataset_infos.json) (Ultimately the CI can run on "HuggingFace Actions" instead of on GitHub)
Discuss whether support canonical datasets w/o dataset_infos.json and/or dummy data
I open this PR to have a public discussion about this topic and make a decision. As previously discussed, once we have the metadata in the dataset card (README file, containing both Markdown info and YAML tags), what is the point of having also the JSON metadata (dataset_infos.json file)? On the other hand, the d...
38
Discuss whether support canonical datasets w/o dataset_infos.json and/or dummy data I open this PR to have a public discussion about this topic and make a decision. As previously discussed, once we have the metadata in the dataset card (README file, containing both Markdown info and YAML tags), what is the point o...
[ -0.25657033920288086, -0.01324145495891571, 0.04611855000257492, 0.14160099625587463, 0.1393594741821289, 0.25717535614967346, 0.3560962975025177, 0.18847015500068665, -0.2326669692993164, 0.07810458540916443, 0.15270140767097473, 0.1550491601228714, -0.10560652613639832, 0.294240534305572...
https://github.com/huggingface/datasets/issues/3507
The dataset_infos.json file currently has these useful infos for each dataset configuration, that I think can be moved to the dataset tags: - Size of the dataset in MB: download size, arrow file size, and total size (sum of download + arrow) - Size of each split in MB and number of examples. Again this can be moved t...
Discuss whether support canonical datasets w/o dataset_infos.json and/or dummy data
I open this PR to have a public discussion about this topic and make a decision. As previously discussed, once we have the metadata in the dataset card (README file, containing both Markdown info and YAML tags), what is the point of having also the JSON metadata (dataset_infos.json file)? On the other hand, the d...
355
Discuss whether support canonical datasets w/o dataset_infos.json and/or dummy data I open this PR to have a public discussion about this topic and make a decision. As previously discussed, once we have the metadata in the dataset card (README file, containing both Markdown info and YAML tags), what is the point o...
[ -0.22109544277191162, 0.006915926933288574, 0.021333474665880203, 0.20003654062747955, 0.12442928552627563, 0.30794191360473633, 0.28000181913375854, 0.2172095775604248, -0.07840511202812195, 0.09639441967010498, 0.2354324907064438, 0.18773822486400604, -0.09008251875638962, 0.327588260173...
https://github.com/huggingface/datasets/issues/3507
(note that if we wanted to display sizes, etc we could also pretty easily parse the `dataset_infos.json` on the hub side)
Discuss whether support canonical datasets w/o dataset_infos.json and/or dummy data
I open this PR to have a public discussion about this topic and make a decision. As previously discussed, once we have the metadata in the dataset card (README file, containing both Markdown info and YAML tags), what is the point of having also the JSON metadata (dataset_infos.json file)? On the other hand, the d...
21
Discuss whether support canonical datasets w/o dataset_infos.json and/or dummy data I open this PR to have a public discussion about this topic and make a decision. As previously discussed, once we have the metadata in the dataset card (README file, containing both Markdown info and YAML tags), what is the point o...
[ -0.24488049745559692, -0.0072730183601379395, 0.03658188879489899, 0.1965518295764923, 0.0787772536277771, 0.2738458514213562, 0.3356240391731262, 0.18309608101844788, -0.1585742086172104, 0.11595672369003296, 0.17450539767742157, 0.12919524312019348, -0.03863068297505379, 0.25494354963302...
https://github.com/huggingface/datasets/issues/3507
I agree that we can move the relevant parts of `dataset_infos.json` to the YAML tags. > On the other hand, it seems like not all datasets have streaming enabled yet and for those datasets (if they are used a lot), I think it would be nice to continue testing some dummy data. < > > Yes indeed, or at least make sure ...
Discuss whether support canonical datasets w/o dataset_infos.json and/or dummy data
I open this PR to have a public discussion about this topic and make a decision. As previously discussed, once we have the metadata in the dataset card (README file, containing both Markdown info and YAML tags), what is the point of having also the JSON metadata (dataset_infos.json file)? On the other hand, the d...
112
Discuss whether support canonical datasets w/o dataset_infos.json and/or dummy data I open this PR to have a public discussion about this topic and make a decision. As previously discussed, once we have the metadata in the dataset card (README file, containing both Markdown info and YAML tags), what is the point o...
[ -0.28442323207855225, -0.04241625964641571, 0.05156745761632919, 0.1613871455192566, 0.09215767681598663, 0.2515726387500763, 0.2895364463329315, 0.1487918198108673, -0.13816261291503906, 0.07376568019390106, 0.22333768010139465, 0.05957998335361481, -0.06997138261795044, 0.300771057605743...
https://github.com/huggingface/datasets/issues/3507
About dummy data, please see e.g. this PR: https://github.com/huggingface/datasets/pull/3692/commits/62368daac0672041524a471386d5e78005cf357a - I updated the previous dummy data: I just had to rename the file and its directory - the dummy data zip contains only a single file: `pubmed22n0001.xml.gz` Then I discov...
Discuss whether support canonical datasets w/o dataset_infos.json and/or dummy data
I open this PR to have a public discussion about this topic and make a decision. As previously discussed, once we have the metadata in the dataset card (README file, containing both Markdown info and YAML tags), what is the point of having also the JSON metadata (dataset_infos.json file)? On the other hand, the d...
151
Discuss whether support canonical datasets w/o dataset_infos.json and/or dummy data I open this PR to have a public discussion about this topic and make a decision. As previously discussed, once we have the metadata in the dataset card (README file, containing both Markdown info and YAML tags), what is the point o...
[ -0.14298543334007263, -0.060847967863082886, 0.0550825260579586, 0.21128293871879578, 0.11361764371395111, 0.25248366594314575, 0.32058316469192505, 0.17419607937335968, -0.11720949411392212, 0.12193184345960617, 0.11991115659475327, 0.023896679282188416, -0.037739645689725876, 0.256764650...
https://github.com/huggingface/datasets/issues/3507
I mention in https://github.com/huggingface/datasets-server/wiki/Preliminary-design that the future "datasets server" could be in charge of generating both the dummy data and the dataset-info.json file if required (or their equivalent).
Discuss whether support canonical datasets w/o dataset_infos.json and/or dummy data
I open this PR to have a public discussion about this topic and make a decision. As previously discussed, once we have the metadata in the dataset card (README file, containing both Markdown info and YAML tags), what is the point of having also the JSON metadata (dataset_infos.json file)? On the other hand, the d...
28
Discuss whether support canonical datasets w/o dataset_infos.json and/or dummy data I open this PR to have a public discussion about this topic and make a decision. As previously discussed, once we have the metadata in the dataset card (README file, containing both Markdown info and YAML tags), what is the point o...
[ -0.17771437764167786, -0.003646448254585266, 0.053685255348682404, 0.21574899554252625, 0.06342766433954239, 0.2323121875524521, 0.3523748517036438, 0.15566760301589966, -0.16727009415626526, 0.1026073694229126, 0.1788233518600464, 0.09262633323669434, -0.048621587455272675, 0.351820826530...
https://github.com/huggingface/datasets/issues/3507
Hi ! I think dummy data generation is out of scope for the datasets server, since it's about generating the original data files. That would be amazing to have it generate the dataset_infos.json though !
Discuss whether support canonical datasets w/o dataset_infos.json and/or dummy data
I open this PR to have a public discussion about this topic and make a decision. As previously discussed, once we have the metadata in the dataset card (README file, containing both Markdown info and YAML tags), what is the point of having also the JSON metadata (dataset_infos.json file)? On the other hand, the d...
35
Discuss whether support canonical datasets w/o dataset_infos.json and/or dummy data I open this PR to have a public discussion about this topic and make a decision. As previously discussed, once we have the metadata in the dataset card (README file, containing both Markdown info and YAML tags), what is the point o...
[ -0.19485872983932495, 0.010233178734779358, 0.050585273653268814, 0.23809847235679626, 0.05204762890934944, 0.23545219004154205, 0.37692388892173767, 0.11854137480258942, -0.1812930703163147, 0.05046878382563591, 0.18596993386745453, 0.12055022269487381, -0.06869521737098694, 0.25146222114...
https://github.com/huggingface/datasets/issues/3507
From some offline discussion with @mariosasko and especially for vision datasets, we'll probably not require dummy data anymore and use streaming instead :) This will make adding a new dataset much easier. This should also make sure that streaming works as expected directly in the CI, without having to check the datas...
Discuss whether support canonical datasets w/o dataset_infos.json and/or dummy data
I open this PR to have a public discussion about this topic and make a decision. As previously discussed, once we have the metadata in the dataset card (README file, containing both Markdown info and YAML tags), what is the point of having also the JSON metadata (dataset_infos.json file)? On the other hand, the d...
58
Discuss whether support canonical datasets w/o dataset_infos.json and/or dummy data I open this PR to have a public discussion about this topic and make a decision. As previously discussed, once we have the metadata in the dataset card (README file, containing both Markdown info and YAML tags), what is the point o...
[ -0.32416701316833496, 0.002832844853401184, 0.053067177534103394, 0.12279077619314194, 0.08897977322340012, 0.2199127972126007, 0.2552138864994049, 0.18107596039772034, -0.15120111405849457, 0.09831584244966507, 0.17190606892108917, 0.12442680448293686, -0.033842578530311584, 0.32665529847...
https://github.com/huggingface/datasets/issues/3507
It seems that migration from dataset-info.json to dataset card YAML has been acted. Probably it's a good idea, but I didn't find the pros and cons of this decision, so I put some I could think of: pros: - only one file to parse, share, sync - it gives a hint to the users that if you write your dataset card, you...
Discuss whether support canonical datasets w/o dataset_infos.json and/or dummy data
I open this PR to have a public discussion about this topic and make a decision. As previously discussed, once we have the metadata in the dataset card (README file, containing both Markdown info and YAML tags), what is the point of having also the JSON metadata (dataset_infos.json file)? On the other hand, the d...
210
Discuss whether support canonical datasets w/o dataset_infos.json and/or dummy data I open this PR to have a public discussion about this topic and make a decision. As previously discussed, once we have the metadata in the dataset card (README file, containing both Markdown info and YAML tags), what is the point o...
[ -0.24581313133239746, 0.07256308197975159, 0.04908585548400879, 0.13744324445724487, 0.0960528701543808, 0.29463088512420654, 0.37755265831947327, 0.2325657457113266, -0.22600847482681274, 0.05788741260766983, 0.2044939398765564, 0.16164755821228027, -0.07374489307403564, 0.116988137364387...
https://github.com/huggingface/datasets/issues/3507
> the metadata header might be very long, before reaching the start of the README/dataset card. It might be surprising when you edit the file because the metadata is not shown on top when the dataset card is rendered (dataset page). It also somewhat prevents including large strings like the checksums Note that we co...
Discuss whether support canonical datasets w/o dataset_infos.json and/or dummy data
I open this PR to have a public discussion about this topic and make a decision. As previously discussed, once we have the metadata in the dataset card (README file, containing both Markdown info and YAML tags), what is the point of having also the JSON metadata (dataset_infos.json file)? On the other hand, the d...
214
Discuss whether support canonical datasets w/o dataset_infos.json and/or dummy data I open this PR to have a public discussion about this topic and make a decision. As previously discussed, once we have the metadata in the dataset card (README file, containing both Markdown info and YAML tags), what is the point o...
[ -0.20322947204113007, 0.027549058198928833, 0.05728729069232941, 0.19546136260032654, 0.13915573060512543, 0.24962250888347626, 0.41298559308052063, 0.19449453055858612, -0.1112273782491684, 0.07887406647205353, 0.1915493905544281, 0.15326400101184845, -0.013792824000120163, 0.241887271404...
https://github.com/huggingface/datasets/issues/3507
> the metadata header might be very long, before reaching the start of the README/dataset card. It might be surprising when you edit the file because the metadata is not shown on top when the dataset card is rendered (dataset page). It also somewhat prevents including large strings like the checksums We can definite...
Discuss whether support canonical datasets w/o dataset_infos.json and/or dummy data
I open this PR to have a public discussion about this topic and make a decision. As previously discussed, once we have the metadata in the dataset card (README file, containing both Markdown info and YAML tags), what is the point of having also the JSON metadata (dataset_infos.json file)? On the other hand, the d...
66
Discuss whether support canonical datasets w/o dataset_infos.json and/or dummy data I open this PR to have a public discussion about this topic and make a decision. As previously discussed, once we have the metadata in the dataset card (README file, containing both Markdown info and YAML tags), what is the point o...
[ -0.2525480389595032, -0.004523083567619324, 0.042258430272340775, 0.21928714215755463, 0.10784964263439178, 0.26155611872673035, 0.3254028856754303, 0.20544371008872986, -0.13671988248825073, 0.09937569499015808, 0.17844028770923615, 0.18670237064361572, -0.015996044501662254, 0.2168876230...
https://github.com/huggingface/datasets/issues/3507
Tensorflow Datasets catalog includes a community catalog where you can find and use HF datasets (see [here](https://www.tensorflow.org/datasets/community_catalog/huggingface)). FYI I noticed today that they are using the exported dataset_infos.json files from github to get the metadata (see their code [here](https:/...
Discuss whether support canonical datasets w/o dataset_infos.json and/or dummy data
I open this PR to have a public discussion about this topic and make a decision. As previously discussed, once we have the metadata in the dataset card (README file, containing both Markdown info and YAML tags), what is the point of having also the JSON metadata (dataset_infos.json file)? On the other hand, the d...
39
Discuss whether support canonical datasets w/o dataset_infos.json and/or dummy data I open this PR to have a public discussion about this topic and make a decision. As previously discussed, once we have the metadata in the dataset card (README file, containing both Markdown info and YAML tags), what is the point o...
[ -0.1930966079235077, -0.040893226861953735, 0.017136670649051666, 0.1483711153268814, 0.08371926844120026, 0.235229030251503, 0.46178361773490906, 0.3679301142692566, -0.1482822149991989, 0.13708826899528503, 0.07995292544364929, 0.0977993756532669, -0.042513180524110794, 0.156961441040039...
https://github.com/huggingface/datasets/issues/3507
Metadata is now stored as YAML, and dummy data is deprecated, so I think we can close this issue.
Discuss whether support canonical datasets w/o dataset_infos.json and/or dummy data
I open this PR to have a public discussion about this topic and make a decision. As previously discussed, once we have the metadata in the dataset card (README file, containing both Markdown info and YAML tags), what is the point of having also the JSON metadata (dataset_infos.json file)? On the other hand, the d...
19
Discuss whether support canonical datasets w/o dataset_infos.json and/or dummy data I open this PR to have a public discussion about this topic and make a decision. As previously discussed, once we have the metadata in the dataset card (README file, containing both Markdown info and YAML tags), what is the point o...
[ -0.24770207703113556, -0.020320311188697815, 0.054477863013744354, 0.19419333338737488, 0.12081271409988403, 0.25108158588409424, 0.3106642961502075, 0.16330328583717346, -0.17735570669174194, 0.08900222927331924, 0.1695239543914795, 0.16496074199676514, -0.06199495494365692, 0.24117870628...
https://github.com/huggingface/datasets/issues/3505
Hi! This is probably due to the fact that `IterableDataset.map` sets `features` to `None` before mapping examples. We can fix the issue by passing the old `features` dict to the map generator and performing encoding/decoding there (before calling the map transform function).
cast_column function not working with map function in streaming mode for Audio features
## Describe the bug I am trying to use Audio class for loading audio features using custom dataset. I am able to cast 'audio' feature into 'Audio' format with cast_column function. On using map function, I am not getting 'Audio' casted feature but getting path of audio file only. I am getting features of 'audio' of s...
42
cast_column function not working with map function in streaming mode for Audio features ## Describe the bug I am trying to use Audio class for loading audio features using custom dataset. I am able to cast 'audio' feature into 'Audio' format with cast_column function. On using map function, I am not getting 'Audio' ...
[ -0.26222968101501465, -0.20250648260116577, -0.026661915704607964, 0.35771679878234863, 0.6027311682701111, -0.22969377040863037, 0.3419708013534546, 0.3029462993144989, 0.29765722155570984, -0.06160444766283035, -0.05200256034731865, 0.7353787422180176, -0.17074771225452423, 0.19459611177...
https://github.com/huggingface/datasets/issues/3504
Hi @ToddMorrill, thanks for reporting. Three weeks ago I contacted the team who created the Pile dataset to report this issue with their data host server: https://the-eye.eu They told me that unfortunately, the-eye was heavily affected by the recent tornado catastrophe in the US. They hope to have their data back...
Unable to download PUBMED_title_abstracts_2019_baseline.jsonl.zst
## Describe the bug I am unable to download the PubMed dataset from the link provided in the [Hugging Face Course (Chapter 5 Section 4)](https://huggingface.co/course/chapter5/4?fw=pt). https://the-eye.eu/public/AI/pile_preliminary_components/PUBMED_title_abstracts_2019_baseline.jsonl.zst ## Steps to reproduce ...
53
Unable to download PUBMED_title_abstracts_2019_baseline.jsonl.zst ## Describe the bug I am unable to download the PubMed dataset from the link provided in the [Hugging Face Course (Chapter 5 Section 4)](https://huggingface.co/course/chapter5/4?fw=pt). https://the-eye.eu/public/AI/pile_preliminary_components/PUBME...
[ 0.07934203743934631, -0.1990932673215866, -0.014975089579820633, 0.32141897082328796, 0.04156889021396637, 0.09885105490684509, 0.27869847416877747, 0.3070807158946991, -0.025631509721279144, 0.02417706698179245, 0.021318450570106506, 0.06498577445745468, 0.2614779770374298, -0.00905165076...
https://github.com/huggingface/datasets/issues/3504
Hi @ToddMorrill, people from the Pile team have mirrored their data in a new host server: https://mystic.the-eye.eu See: - #3627 It should work if you update your URL. We should also update the URL in our course material.
Unable to download PUBMED_title_abstracts_2019_baseline.jsonl.zst
## Describe the bug I am unable to download the PubMed dataset from the link provided in the [Hugging Face Course (Chapter 5 Section 4)](https://huggingface.co/course/chapter5/4?fw=pt). https://the-eye.eu/public/AI/pile_preliminary_components/PUBMED_title_abstracts_2019_baseline.jsonl.zst ## Steps to reproduce ...
38
Unable to download PUBMED_title_abstracts_2019_baseline.jsonl.zst ## Describe the bug I am unable to download the PubMed dataset from the link provided in the [Hugging Face Course (Chapter 5 Section 4)](https://huggingface.co/course/chapter5/4?fw=pt). https://the-eye.eu/public/AI/pile_preliminary_components/PUBME...
[ 0.07934203743934631, -0.1990932673215866, -0.014975089579820633, 0.32141897082328796, 0.04156889021396637, 0.09885105490684509, 0.27869847416877747, 0.3070807158946991, -0.025631509721279144, 0.02417706698179245, 0.021318450570106506, 0.06498577445745468, 0.2614779770374298, -0.00905165076...
https://github.com/huggingface/datasets/issues/3504
The old URL is still present in the HuggingFace course here: https://huggingface.co/course/chapter5/4?fw=pt I have created a PR for the Notebook here: https://github.com/huggingface/notebooks/pull/148 Not sure if the HTML is in a public repo. I wasn't able to find it.
Unable to download PUBMED_title_abstracts_2019_baseline.jsonl.zst
## Describe the bug I am unable to download the PubMed dataset from the link provided in the [Hugging Face Course (Chapter 5 Section 4)](https://huggingface.co/course/chapter5/4?fw=pt). https://the-eye.eu/public/AI/pile_preliminary_components/PUBMED_title_abstracts_2019_baseline.jsonl.zst ## Steps to reproduce ...
38
Unable to download PUBMED_title_abstracts_2019_baseline.jsonl.zst ## Describe the bug I am unable to download the PubMed dataset from the link provided in the [Hugging Face Course (Chapter 5 Section 4)](https://huggingface.co/course/chapter5/4?fw=pt). https://the-eye.eu/public/AI/pile_preliminary_components/PUBME...
[ 0.07934203743934631, -0.1990932673215866, -0.014975089579820633, 0.32141897082328796, 0.04156889021396637, 0.09885105490684509, 0.27869847416877747, 0.3070807158946991, -0.025631509721279144, 0.02417706698179245, 0.021318450570106506, 0.06498577445745468, 0.2614779770374298, -0.00905165076...
https://github.com/huggingface/datasets/issues/3504
Both URLs are broken now `HTTPError: 404 Client Error: Not Found for URL: https://the-eye.eu/public/AI/pile_preliminary_components/PUBMED_title_abstracts_2019_baseline.jsonl.zst` And `ConnectTimeout: HTTPSConnectionPool(host='mystic.the-eye.eu', port=443): Max retries exceeded with url: /public/AI/pile_preliminary_c...
Unable to download PUBMED_title_abstracts_2019_baseline.jsonl.zst
## Describe the bug I am unable to download the PubMed dataset from the link provided in the [Hugging Face Course (Chapter 5 Section 4)](https://huggingface.co/course/chapter5/4?fw=pt). https://the-eye.eu/public/AI/pile_preliminary_components/PUBMED_title_abstracts_2019_baseline.jsonl.zst ## Steps to reproduce ...
34
Unable to download PUBMED_title_abstracts_2019_baseline.jsonl.zst ## Describe the bug I am unable to download the PubMed dataset from the link provided in the [Hugging Face Course (Chapter 5 Section 4)](https://huggingface.co/course/chapter5/4?fw=pt). https://the-eye.eu/public/AI/pile_preliminary_components/PUBME...
[ 0.07934203743934631, -0.1990932673215866, -0.014975089579820633, 0.32141897082328796, 0.04156889021396637, 0.09885105490684509, 0.27869847416877747, 0.3070807158946991, -0.025631509721279144, 0.02417706698179245, 0.021318450570106506, 0.06498577445745468, 0.2614779770374298, -0.00905165076...
https://github.com/huggingface/datasets/issues/3504
I was able to find a torrent with "The Pile" dataset here: [The Pile An 800GB Dataset of Diverse Text for Language Modeling ](https://academictorrents.com/details/0d366035664fdf51cfbe9f733953ba325776e667) The complete dataset is huge, so I would suggest you to download only the "PUBMED_title_abstracts_2019_baseline....
Unable to download PUBMED_title_abstracts_2019_baseline.jsonl.zst
## Describe the bug I am unable to download the PubMed dataset from the link provided in the [Hugging Face Course (Chapter 5 Section 4)](https://huggingface.co/course/chapter5/4?fw=pt). https://the-eye.eu/public/AI/pile_preliminary_components/PUBMED_title_abstracts_2019_baseline.jsonl.zst ## Steps to reproduce ...
66
Unable to download PUBMED_title_abstracts_2019_baseline.jsonl.zst ## Describe the bug I am unable to download the PubMed dataset from the link provided in the [Hugging Face Course (Chapter 5 Section 4)](https://huggingface.co/course/chapter5/4?fw=pt). https://the-eye.eu/public/AI/pile_preliminary_components/PUBME...
[ 0.07934203743934631, -0.1990932673215866, -0.014975089579820633, 0.32141897082328796, 0.04156889021396637, 0.09885105490684509, 0.27869847416877747, 0.3070807158946991, -0.025631509721279144, 0.02417706698179245, 0.021318450570106506, 0.06498577445745468, 0.2614779770374298, -0.00905165076...
https://github.com/huggingface/datasets/issues/3504
@albertvillanova another issue: ``` 15 experiment_compute_diveristy_coeff_single_dataset_then_combined_datasets_with_domain_weights() 16 File "/lfs/ampere1/0/brando9/beyond-scale-language-data-diversity/src/diversity/div_coeff.py", line 474, in experiment_compute_diveristy_coeff_single_dataset_then_combined_da...
Unable to download PUBMED_title_abstracts_2019_baseline.jsonl.zst
## Describe the bug I am unable to download the PubMed dataset from the link provided in the [Hugging Face Course (Chapter 5 Section 4)](https://huggingface.co/course/chapter5/4?fw=pt). https://the-eye.eu/public/AI/pile_preliminary_components/PUBMED_title_abstracts_2019_baseline.jsonl.zst ## Steps to reproduce ...
182
Unable to download PUBMED_title_abstracts_2019_baseline.jsonl.zst ## Describe the bug I am unable to download the PubMed dataset from the link provided in the [Hugging Face Course (Chapter 5 Section 4)](https://huggingface.co/course/chapter5/4?fw=pt). https://the-eye.eu/public/AI/pile_preliminary_components/PUBME...
[ 0.07934203743934631, -0.1990932673215866, -0.014975089579820633, 0.32141897082328796, 0.04156889021396637, 0.09885105490684509, 0.27869847416877747, 0.3070807158946991, -0.025631509721279144, 0.02417706698179245, 0.021318450570106506, 0.06498577445745468, 0.2614779770374298, -0.00905165076...
https://github.com/huggingface/datasets/issues/3504
this seems to work but it's rather annoying. Summary of how to make it work: 1. get urls to parquet files into a list 2. load list to load_dataset via `load_dataset('parquet', data_files=urls)` (note api names to hf are really confusing sometimes) 3. then it should work, print a batch of text. presudo code ``...
Unable to download PUBMED_title_abstracts_2019_baseline.jsonl.zst
## Describe the bug I am unable to download the PubMed dataset from the link provided in the [Hugging Face Course (Chapter 5 Section 4)](https://huggingface.co/course/chapter5/4?fw=pt). https://the-eye.eu/public/AI/pile_preliminary_components/PUBMED_title_abstracts_2019_baseline.jsonl.zst ## Steps to reproduce ...
319
Unable to download PUBMED_title_abstracts_2019_baseline.jsonl.zst ## Describe the bug I am unable to download the PubMed dataset from the link provided in the [Hugging Face Course (Chapter 5 Section 4)](https://huggingface.co/course/chapter5/4?fw=pt). https://the-eye.eu/public/AI/pile_preliminary_components/PUBME...
[ 0.07934203743934631, -0.1990932673215866, -0.014975089579820633, 0.32141897082328796, 0.04156889021396637, 0.09885105490684509, 0.27869847416877747, 0.3070807158946991, -0.025631509721279144, 0.02417706698179245, 0.021318450570106506, 0.06498577445745468, 0.2614779770374298, -0.00905165076...
https://github.com/huggingface/datasets/issues/3499
Hi ! Data streaming uses `fsspec` to read the data files progressively. IIRC the block size for buffering is 5MiB by default. So every time you finish iterating over a block, it downloads the next one. You can still try to increase the `fsspec` block size for buffering if it can help. To do so you just need to increase...
Adjusting chunk size for streaming datasets
**Is your feature request related to a problem? Please describe.** I want to use mc4 which I cannot save locally, so I stream it. However, I want to process the entire dataset and filter some documents from it. With the current chunk size of around 1000 documents (right?) I hit a performance bottleneck because of the ...
99
Adjusting chunk size for streaming datasets **Is your feature request related to a problem? Please describe.** I want to use mc4 which I cannot save locally, so I stream it. However, I want to process the entire dataset and filter some documents from it. With the current chunk size of around 1000 documents (right?) ...
[ -0.5548548102378845, -0.20609533786773682, -0.13990744948387146, 0.07090158760547638, 0.09567530453205109, 0.003773696720600128, -0.15153098106384277, 0.32437407970428467, -0.1375252604484558, 0.2203870266675949, 0.08629617840051651, -0.09710893034934998, -0.19581380486488342, 0.5901542305...
https://github.com/huggingface/datasets/issues/3490
Hi ! `datasets` currently supports reading local files or files over HTTP. We may add support for other filesystems (cloud storages, hdfs...) at one point though :)
Does datasets support load text from HDFS?
The raw text data is stored on HDFS due to the dataset's size is too large to store on my develop machine, so I wander does datasets support read data from hdfs?
27
Does datasets support load text from HDFS? The raw text data is stored on HDFS due to the dataset's size is too large to store on my develop machine, so I wander does datasets support read data from hdfs? Hi ! `datasets` currently supports reading local files or files over HTTP. We may add support for other files...
[ -0.3971250653266907, 0.07711371779441833, -0.2187531590461731, 0.397965669631958, 0.08187757432460785, -0.05161146819591522, 0.3947129249572754, 0.02035343647003174, 0.37521207332611084, -0.010376229882240295, -0.40989428758621216, -0.11322948336601257, 0.045814596116542816, 0.441433489322...
https://github.com/huggingface/datasets/issues/3488
I think the test passes because it simply ignore what's after `gzip://`. The returned urlpath is expected to look like `gzip://filename::url`, and the filename is currently considered to be what's after the final `/`, hence the result. We can decide to change this and simply have `gzip://::url`, this way we don't...
URL query parameters are set as path in the compression hop for fsspec
## Describe the bug There is an ssue with `StreamingDownloadManager._extract`. I don't know how the test `test_streaming_gg_drive_gzipped` passes: For ```python TEST_GG_DRIVE_GZIPPED_URL = "https://drive.google.com/uc?export=download&id=1Bt4Garpf0QLiwkJhHJzXaVa0I0H5Qhwz" urlpath = StreamingDownloadManager()....
61
URL query parameters are set as path in the compression hop for fsspec ## Describe the bug There is an ssue with `StreamingDownloadManager._extract`. I don't know how the test `test_streaming_gg_drive_gzipped` passes: For ```python TEST_GG_DRIVE_GZIPPED_URL = "https://drive.google.com/uc?export=download&id=...
[ -0.1200752705335617, -0.26689356565475464, 0.0669214278459549, 0.10358469188213348, 0.14004915952682495, -0.08404959738254547, 0.01357150450348854, 0.1877434402704239, -0.13668447732925415, 0.3031465411186218, 0.10423837602138519, 0.07781892269849777, 0.14256760478019714, 0.209991186857223...
https://github.com/huggingface/datasets/issues/3485
You can add columns that you wish to set into `torch` format using `dataset.set_format("torch", ['id', 'abc'])` so that input batch of the transform only contains those columns
skip columns which cannot set to specific format when set_format
**Is your feature request related to a problem? Please describe.** When using `dataset.set_format("torch")`, I must make sure every columns in datasets can convert to `torch`, however, sometimes I want to keep some string columns. **Describe the solution you'd like** skip columns which cannot set to specific forma...
27
skip columns which cannot set to specific format when set_format **Is your feature request related to a problem? Please describe.** When using `dataset.set_format("torch")`, I must make sure every columns in datasets can convert to `torch`, however, sometimes I want to keep some string columns. **Describe the sol...
[ -0.3243051767349243, -0.1946023553609848, -0.03887806460261345, -0.15438705682754517, 0.4741528332233429, 0.2856016159057617, 0.28401073813438416, 0.4905925393104553, -0.394092857837677, 0.09336245059967041, -0.026392105966806412, 0.29871809482574463, -0.062350817024707794, 0.3534403443336...
https://github.com/huggingface/datasets/issues/3485
Sorry, I miss `output_all_columns` args and thought after `dataset.set_format("torch", columns=columns)` I can only get specific columns I assigned.
skip columns which cannot set to specific format when set_format
**Is your feature request related to a problem? Please describe.** When using `dataset.set_format("torch")`, I must make sure every columns in datasets can convert to `torch`, however, sometimes I want to keep some string columns. **Describe the solution you'd like** skip columns which cannot set to specific forma...
18
skip columns which cannot set to specific format when set_format **Is your feature request related to a problem? Please describe.** When using `dataset.set_format("torch")`, I must make sure every columns in datasets can convert to `torch`, however, sometimes I want to keep some string columns. **Describe the sol...
[ -0.29144054651260376, -0.22451619803905487, -0.06928408145904541, -0.12429258227348328, 0.4770965874195099, 0.32062554359436035, 0.12852537631988525, 0.5214927196502686, -0.3331493139266968, 0.23110510408878326, -0.028550373390316963, 0.3594094216823578, -0.11132114380598068, 0.31878733634...
https://github.com/huggingface/datasets/issues/3484
Hi! Yes, this makes sense for numeric values, but first I have to finish https://github.com/huggingface/datasets/pull/3336 because currently ArrayXD only allows the first dimension to be dynamic.
make shape verification to use ArrayXD instead of nested lists for map
As describe in https://github.com/huggingface/datasets/issues/2005#issuecomment-793716753 and mentioned by @mariosasko in [image feature example](https://colab.research.google.com/drive/1mIrTnqTVkWLJWoBzT1ABSe-LFelIep1c#scrollTo=ow3XHDvf2I0B&line=1&uniqifier=1), IMO make shape verifcaiton to use ArrayXD instead of nest...
26
make shape verification to use ArrayXD instead of nested lists for map As describe in https://github.com/huggingface/datasets/issues/2005#issuecomment-793716753 and mentioned by @mariosasko in [image feature example](https://colab.research.google.com/drive/1mIrTnqTVkWLJWoBzT1ABSe-LFelIep1c#scrollTo=ow3XHDvf2I0B&line=...
[ -0.3617069125175476, -0.4997367560863495, -0.19346003234386444, 0.23829689621925354, 0.3340793550014496, -0.09004360437393188, 0.36552560329437256, 0.27023017406463623, 0.47112274169921875, 0.2727881073951721, -0.013780701905488968, 0.10766984522342682, -0.056096743792295456, 0.26580455899...
https://github.com/huggingface/datasets/issues/3480
Thanks for reporting @SaulLu. At first sight I think the problem is caused because `pandas` only takes into account the `compression` parameter if called with a non-null file path or buffer. And in our implementation, we call pandas `to_json` with `None` `path_or_buf`. We should fix this: - either handling direc...
the compression format requested when saving a dataset in json format is not respected
## Describe the bug In the documentation of the `to_json` method, it is stated in the parameters that > **to_json_kwargs – Parameters to pass to pandas’s pandas.DataFrame.to_json. however when we pass for example `compression="gzip"`, the saved file is not compressed. Would you also have expected compression t...
67
the compression format requested when saving a dataset in json format is not respected ## Describe the bug In the documentation of the `to_json` method, it is stated in the parameters that > **to_json_kwargs – Parameters to pass to pandas’s pandas.DataFrame.to_json. however when we pass for example `compression...
[ 0.09595434367656708, 0.08432714641094208, 0.005243297666311264, 0.12493044883012772, 0.23112286627292633, 0.22844532132148743, 0.13741534948349, 0.7355430722236633, -0.1682051122188568, 0.03226467967033386, 0.09887239336967468, 0.6285891532897949, 0.16685473918914795, -0.1779368817806244, ...
https://github.com/huggingface/datasets/issues/3480
I was thinking if we can handle the `compression` parameter by ourselves? Compression types will be similar to what `pandas` offer. Initially, we can try this with 2-3 compression types and see how good/bad it is? Let me know if it sounds good, I can raise a PR for this next week
the compression format requested when saving a dataset in json format is not respected
## Describe the bug In the documentation of the `to_json` method, it is stated in the parameters that > **to_json_kwargs – Parameters to pass to pandas’s pandas.DataFrame.to_json. however when we pass for example `compression="gzip"`, the saved file is not compressed. Would you also have expected compression t...
52
the compression format requested when saving a dataset in json format is not respected ## Describe the bug In the documentation of the `to_json` method, it is stated in the parameters that > **to_json_kwargs – Parameters to pass to pandas’s pandas.DataFrame.to_json. however when we pass for example `compression...
[ 0.09595434367656708, 0.08432714641094208, 0.005243297666311264, 0.12493044883012772, 0.23112286627292633, 0.22844532132148743, 0.13741534948349, 0.7355430722236633, -0.1682051122188568, 0.03226467967033386, 0.09887239336967468, 0.6285891532897949, 0.16685473918914795, -0.1779368817806244, ...
https://github.com/huggingface/datasets/issues/3480
Hi ! Thanks for your help @bhavitvyamalik :) Maybe let's start with `gzip` ? I think it's the most common use case, then if we're fine with it we can add other compression methods
the compression format requested when saving a dataset in json format is not respected
## Describe the bug In the documentation of the `to_json` method, it is stated in the parameters that > **to_json_kwargs – Parameters to pass to pandas’s pandas.DataFrame.to_json. however when we pass for example `compression="gzip"`, the saved file is not compressed. Would you also have expected compression t...
34
the compression format requested when saving a dataset in json format is not respected ## Describe the bug In the documentation of the `to_json` method, it is stated in the parameters that > **to_json_kwargs – Parameters to pass to pandas’s pandas.DataFrame.to_json. however when we pass for example `compression...
[ 0.09595434367656708, 0.08432714641094208, 0.005243297666311264, 0.12493044883012772, 0.23112286627292633, 0.22844532132148743, 0.13741534948349, 0.7355430722236633, -0.1682051122188568, 0.03226467967033386, 0.09887239336967468, 0.6285891532897949, 0.16685473918914795, -0.1779368817806244, ...