html_url
stringlengths
48
51
title
stringlengths
5
280
comments
stringlengths
63
51.8k
body
stringlengths
0
36.2k
comment_length
int64
16
1.52k
text
stringlengths
159
54.1k
embeddings
listlengths
768
768
https://github.com/huggingface/datasets/issues/7033
`from_generator` does not allow to specify the split name
Thanks for reporting, @pminervini. I agree we should give the option to define the split name. Indeed, there is a PR that addresses precisely this issue: - #7015 I am reviewing it.
### Describe the bug I'm building train, dev, and test using `from_generator`; however, in all three cases, the logger prints `Generating train split:` It's not possible to change the split name since it seems to be hardcoded: https://github.com/huggingface/datasets/blob/main/src/datasets/packaged_modules/generator/g...
32
`from_generator` does not allow to specify the split name ### Describe the bug I'm building train, dev, and test using `from_generator`; however, in all three cases, the logger prints `Generating train split:` It's not possible to change the split name since it seems to be hardcoded: https://github.com/huggingface/...
[ -0.08032244443893433, -0.18822568655014038, 0.051649514585733414, 0.3789212703704834, 0.34946805238723755, -0.0962342619895935, 0.585552990436554, 0.1975223571062088, -0.230672687292099, 0.3274785876274109, 0.14162872731685638, 0.3702322840690613, -0.09433481842279434, 0.24470113217830658,...
https://github.com/huggingface/datasets/issues/7005
EmptyDatasetError: The directory at /metadata.jsonl doesn't contain any data files
If you are trying to load your image dataset from a local folder, you should replace "data_dir=path/to/jsonl/metadata.jsonl" with the real folder path in your computer. https://huggingface.co/docs/datasets/en/image_load#imagefolder
### Describe the bug while trying to load custom dataset from jsonl file, I get the error: "metadata.jsonl doesn't contain any data files" ### Steps to reproduce the bug This is my [metadata_v2.jsonl](https://github.com/user-attachments/files/16016011/metadata_v2.json) file. I have this file in the folder with all ...
26
EmptyDatasetError: The directory at /metadata.jsonl doesn't contain any data files ### Describe the bug while trying to load custom dataset from jsonl file, I get the error: "metadata.jsonl doesn't contain any data files" ### Steps to reproduce the bug This is my [metadata_v2.jsonl](https://github.com/user-attachm...
[ -0.016234397888183594, 0.07239946722984314, -0.025297634303569794, 0.6795621514320374, 0.007368864491581917, 0.16623660922050476, 0.01661766692996025, 0.3690929114818573, 0.20603157579898834, 0.08262968063354492, -0.02496563084423542, 0.1874658465385437, -0.33143505454063416, -0.0300496164...
https://github.com/huggingface/datasets/issues/7005
EmptyDatasetError: The directory at /metadata.jsonl doesn't contain any data files
Ah yes. My bad. I was giving file name. I should have given the folder directory as the path. That solved my issue. Thank you @albertvillanova and @lhoestq.
### Describe the bug while trying to load custom dataset from jsonl file, I get the error: "metadata.jsonl doesn't contain any data files" ### Steps to reproduce the bug This is my [metadata_v2.jsonl](https://github.com/user-attachments/files/16016011/metadata_v2.json) file. I have this file in the folder with all ...
28
EmptyDatasetError: The directory at /metadata.jsonl doesn't contain any data files ### Describe the bug while trying to load custom dataset from jsonl file, I get the error: "metadata.jsonl doesn't contain any data files" ### Steps to reproduce the bug This is my [metadata_v2.jsonl](https://github.com/user-attachm...
[ -0.016234397888183594, 0.07239946722984314, -0.025297634303569794, 0.6795621514320374, 0.007368864491581917, 0.16623660922050476, 0.01661766692996025, 0.3690929114818573, 0.20603157579898834, 0.08262968063354492, -0.02496563084423542, 0.1874658465385437, -0.33143505454063416, -0.0300496164...
https://github.com/huggingface/datasets/issues/7001
Datasetbuilder Local Download FileNotFoundError
Ok it seems the solution is to use the directory string without the trailing "/" which in my case as: `parquet_dir = "~/data/Parquet" ` Still i think this is a weird behavior...
### Describe the bug So I was trying to download a dataset and save it as parquet and I follow the [tutorial](https://huggingface.co/docs/datasets/filesystems#download-and-prepare-a-dataset-into-a-cloud-storage) of Huggingface. However, during the excution I face a FileNotFoundError. I debug the code and it seems...
32
Datasetbuilder Local Download FileNotFoundError ### Describe the bug So I was trying to download a dataset and save it as parquet and I follow the [tutorial](https://huggingface.co/docs/datasets/filesystems#download-and-prepare-a-dataset-into-a-cloud-storage) of Huggingface. However, during the excution I face a F...
[ -0.09115815162658691, 0.007688999176025391, 0.09595905244350433, 0.43190717697143555, 0.4101852774620056, -0.025620467960834503, -0.22146721184253693, -0.05176712945103645, -0.20363929867744446, 0.24639157950878143, 0.09236932545900345, 0.071162648499012, -0.008753609843552113, -0.00749091...
https://github.com/huggingface/datasets/issues/6995
ImportError when importing datasets.load_dataset
What is the version of your installed `huggingface-hub`: ```python import huggingface_hub print(huggingface_hub.__version__) ``` It seems you have a very old version of `huggingface-hub`, where `CommitInfo` was not still implemented. You need to update it: ``` pip install -U huggingface-hub ``` Note that `...
### Describe the bug I encountered an ImportError while trying to import `load_dataset` from the `datasets` module in Hugging Face. The error message indicates a problem with importing 'CommitInfo' from 'huggingface_hub'. ### Steps to reproduce the bug 1. pip install git+https://github.com/huggingface/datasets 2. f...
52
ImportError when importing datasets.load_dataset ### Describe the bug I encountered an ImportError while trying to import `load_dataset` from the `datasets` module in Hugging Face. The error message indicates a problem with importing 'CommitInfo' from 'huggingface_hub'. ### Steps to reproduce the bug 1. pip instal...
[ -0.27894434332847595, -0.16736024618148804, -0.019220074638724327, 0.3342856764793396, 0.27266108989715576, 0.03040923923254013, 0.09082164615392685, 0.2282353639602661, 0.17126117646694183, 0.17551535367965698, -0.1372210830450058, -0.05400799587368965, -0.09396711736917496, 0.36028906702...
https://github.com/huggingface/datasets/issues/6995
ImportError when importing datasets.load_dataset
The error message says there is no CommitInfo in your installed huggingface-hub library: ``` ImportError: cannot import name 'CommitInfo' from 'huggingface_hub' (D:\Anaconda3\envs\CS224S\Lib\site-packages\huggingface_hub_init_.py) ``` And this is implemented since version 0.10.0: - https://github.com/huggingface...
### Describe the bug I encountered an ImportError while trying to import `load_dataset` from the `datasets` module in Hugging Face. The error message indicates a problem with importing 'CommitInfo' from 'huggingface_hub'. ### Steps to reproduce the bug 1. pip install git+https://github.com/huggingface/datasets 2. f...
32
ImportError when importing datasets.load_dataset ### Describe the bug I encountered an ImportError while trying to import `load_dataset` from the `datasets` module in Hugging Face. The error message indicates a problem with importing 'CommitInfo' from 'huggingface_hub'. ### Steps to reproduce the bug 1. pip instal...
[ -0.27894434332847595, -0.16736024618148804, -0.019220074638724327, 0.3342856764793396, 0.27266108989715576, 0.03040923923254013, 0.09082164615392685, 0.2282353639602661, 0.17126117646694183, 0.17551535367965698, -0.1372210830450058, -0.05400799587368965, -0.09396711736917496, 0.36028906702...
https://github.com/huggingface/datasets/issues/6992
Dataset with streaming doesn't work with proxy
Hi ! can you try updating `datasets` and `huggingface_hub` ? ``` pip install -U datasets huggingface_hub ```
### Describe the bug I'm currently trying to stream data using dataset since the dataset is too big but it hangs indefinitely without loading the first batch. I use AIMOS which is a supercomputer that uses proxy to connect to the internet. I assume it has to do with the network configurations. I've already set up both...
17
Dataset with streaming doesn't work with proxy ### Describe the bug I'm currently trying to stream data using dataset since the dataset is too big but it hangs indefinitely without loading the first batch. I use AIMOS which is a supercomputer that uses proxy to connect to the internet. I assume it has to do with the...
[ -0.7595154047012329, -0.10635515302419662, -0.07152166217565536, 0.05183333158493042, 0.46253055334091187, -0.08935867249965668, 0.3620522618293762, -0.005497589707374573, 0.16050976514816284, -0.06045207381248474, 0.04542510211467743, -0.0038897281046956778, 0.20361945033073425, 0.1351694...
https://github.com/huggingface/datasets/issues/6985
AttributeError: module 'pyarrow.lib' has no attribute 'ListViewType'
Please note that the error is raised just at import: ```python import pyarrow.parquet as pq ``` Therefore it must be caused by some problem with your pyarrow installation. I would recommend you uninstall and install pyarrow again. I also see that it seems you use conda to install pyarrow. Please note that pyar...
### Describe the bug I have been struggling with this for two days, any help would be appreciated. Python 3.10 ``` from setfit import SetFitModel from huggingface_hub import login access_token_read = "cccxxxccc" # Authenticate with the Hugging Face Hub login(token=access_token_read) # Load the models fr...
121
AttributeError: module 'pyarrow.lib' has no attribute 'ListViewType' ### Describe the bug I have been struggling with this for two days, any help would be appreciated. Python 3.10 ``` from setfit import SetFitModel from huggingface_hub import login access_token_read = "cccxxxccc" # Authenticate with the H...
[ -0.18593543767929077, -0.4933111071586609, -0.03907205909490585, 0.42739152908325195, 0.48480039834976196, 0.12958857417106628, 0.46900448203086853, 0.3612813651561737, 0.045902069658041, -0.004905007779598236, -0.27652013301849365, 0.3779095709323883, -0.13031448423862457, 0.1008085384964...
https://github.com/huggingface/datasets/issues/6985
AttributeError: module 'pyarrow.lib' has no attribute 'ListViewType'
It is not a problem with the `datasets` library: we support latest version of `pyarrow` and our Continuous Integration tests are using pyarrow 16.1.0 without any problem. The error reported here is raised when importing pyarrow.parquet: ``` ---> 29 import pyarrow.parquet as pq ``` ``` File /opt/conda/lib/python...
### Describe the bug I have been struggling with this for two days, any help would be appreciated. Python 3.10 ``` from setfit import SetFitModel from huggingface_hub import login access_token_read = "cccxxxccc" # Authenticate with the Hugging Face Hub login(token=access_token_read) # Load the models fr...
211
AttributeError: module 'pyarrow.lib' has no attribute 'ListViewType' ### Describe the bug I have been struggling with this for two days, any help would be appreciated. Python 3.10 ``` from setfit import SetFitModel from huggingface_hub import login access_token_read = "cccxxxccc" # Authenticate with the H...
[ -0.18593543767929077, -0.4933111071586609, -0.03907205909490585, 0.42739152908325195, 0.48480039834976196, 0.12958857417106628, 0.46900448203086853, 0.3612813651561737, 0.045902069658041, -0.004905007779598236, -0.27652013301849365, 0.3779095709323883, -0.13031448423862457, 0.1008085384964...
https://github.com/huggingface/datasets/issues/6984
Convert polars DataFrame back to datasets
Hi ! Thanks for reporting :) We don't support `large_list` yet, though it should be added to `Sequence` IMO (maybe with a parameter `large=True` ?)
### Feature request This returns error. ```python from datasets import Dataset dsdf = Dataset.from_dict({"x": [[1, 2], [3, 4, 5]], "y": ["a", "b"]}) Dataset.from_polars(dsdf.to_polars()) ``` ValueError: Arrow type large_list<item: int64> does not have a datasets dtype equivalent. ### Motivation When datasets...
25
Convert polars DataFrame back to datasets ### Feature request This returns error. ```python from datasets import Dataset dsdf = Dataset.from_dict({"x": [[1, 2], [3, 4, 5]], "y": ["a", "b"]}) Dataset.from_polars(dsdf.to_polars()) ``` ValueError: Arrow type large_list<item: int64> does not have a datasets dtyp...
[ -0.29300931096076965, -0.4047183096408844, -0.11217483878135681, 0.10133212804794312, 0.46061795949935913, 0.1476120948791504, 0.19641652703285217, 0.4279765784740448, 0.31204667687416077, 0.029494598507881165, -0.13853108882904053, 0.4632543921470642, -0.23320941627025604, 0.2984396517276...
https://github.com/huggingface/datasets/issues/6982
cannot split dataset when using load_dataset
it seems the bug will happened in all windows system, I tried it in windows8.1, 10, 11 and all of them failed. But it won't happened in the Linux(Ubuntu and Centos7) and Mac (both my virtual and physical machine). I still don't know what the problem is. May be related to the path? I cannot run the split file in my win...
### Describe the bug when I use load_dataset methods to load mozilla-foundation/common_voice_7_0, it can successfully download and extracted the dataset but It cannot generating the arrow document, This bug happened in my server, my laptop, so as #6906 , but it won't happen in the google colab. I work for it for da...
87
cannot split dataset when using load_dataset ### Describe the bug when I use load_dataset methods to load mozilla-foundation/common_voice_7_0, it can successfully download and extracted the dataset but It cannot generating the arrow document, This bug happened in my server, my laptop, so as #6906 , but it won't h...
[ -0.43590301275253296, -0.11846726387739182, 0.06690298020839691, 0.4242967963218689, 0.07286401838064194, -0.01437617838382721, 0.6111493706703186, 0.19691066443920135, 0.07344469428062439, 0.2537232041358948, -0.27349305152893066, 0.6136087775230408, 0.008373841643333435, -0.0278751440346...
https://github.com/huggingface/datasets/issues/6982
cannot split dataset when using load_dataset
Have you properly logged in? Are you using the a valid token? Note that this dataset is gated and you must follow the right procedure to be able to access it. You can find more info in the docs: https://huggingface.co/docs/hub/datasets-gated#access-gated-datasets-as-a-user
### Describe the bug when I use load_dataset methods to load mozilla-foundation/common_voice_7_0, it can successfully download and extracted the dataset but It cannot generating the arrow document, This bug happened in my server, my laptop, so as #6906 , but it won't happen in the google colab. I work for it for da...
40
cannot split dataset when using load_dataset ### Describe the bug when I use load_dataset methods to load mozilla-foundation/common_voice_7_0, it can successfully download and extracted the dataset but It cannot generating the arrow document, This bug happened in my server, my laptop, so as #6906 , but it won't h...
[ -0.43590301275253296, -0.11846726387739182, 0.06690298020839691, 0.4242967963218689, 0.07286401838064194, -0.01437617838382721, 0.6111493706703186, 0.19691066443920135, 0.07344469428062439, 0.2537232041358948, -0.27349305152893066, 0.6136087775230408, 0.008373841643333435, -0.0278751440346...
https://github.com/huggingface/datasets/issues/6982
cannot split dataset when using load_dataset
> Have you properly logged in? Are you using the a valid token? > > Note that this dataset is gated and you must follow the right procedure to be able to access it. You can find more info in the docs: https://huggingface.co/docs/hub/datasets-gated#access-gated-datasets-as-a-user I finally found it what happened. ...
### Describe the bug when I use load_dataset methods to load mozilla-foundation/common_voice_7_0, it can successfully download and extracted the dataset but It cannot generating the arrow document, This bug happened in my server, my laptop, so as #6906 , but it won't happen in the google colab. I work for it for da...
139
cannot split dataset when using load_dataset ### Describe the bug when I use load_dataset methods to load mozilla-foundation/common_voice_7_0, it can successfully download and extracted the dataset but It cannot generating the arrow document, This bug happened in my server, my laptop, so as #6906 , but it won't h...
[ -0.43590301275253296, -0.11846726387739182, 0.06690298020839691, 0.4242967963218689, 0.07286401838064194, -0.01437617838382721, 0.6111493706703186, 0.19691066443920135, 0.07344469428062439, 0.2537232041358948, -0.27349305152893066, 0.6136087775230408, 0.008373841643333435, -0.0278751440346...
https://github.com/huggingface/datasets/issues/6979
How can I load partial parquet files only?
Hello, Have you tried loading the dataset in streaming mode? [Documentation](https://huggingface.co/docs/datasets/v2.20.0/stream) This way you wouldn't have to load it all. Also, let's be nice to Parquet, it's a really nice technology and we don't need to be mean :)
I have a HUGE dataset about 14TB, I unable to download all parquet all. I just take about 100 from it. dataset = load_dataset("xx/", data_files="data/train-001*-of-00314.parquet") How can I just using 000 - 100 from a 00314 from all partially? I search whole net didn't found a solution, **this is stupid if the...
39
How can I load partial parquet files only? I have a HUGE dataset about 14TB, I unable to download all parquet all. I just take about 100 from it. dataset = load_dataset("xx/", data_files="data/train-001*-of-00314.parquet") How can I just using 000 - 100 from a 00314 from all partially? I search whole net did...
[ -0.21402132511138916, -0.472859263420105, 0.011498488485813141, 0.5070446133613586, 0.25603771209716797, -0.018356725573539734, -0.16817572712898254, 0.45917877554893494, 0.14100977778434753, 0.13229027390480042, -0.07497289776802063, -0.04636634886264801, 0.05198558047413826, 0.5133880972...
https://github.com/huggingface/datasets/issues/6979
How can I load partial parquet files only?
I have downloaded part of it, just want to know how to load part of it, stream mode is not work for me since my network (in china) not stable, I don't want do it all again and again. Just curious, doesn't there a way to load part of it?
I have a HUGE dataset about 14TB, I unable to download all parquet all. I just take about 100 from it. dataset = load_dataset("xx/", data_files="data/train-001*-of-00314.parquet") How can I just using 000 - 100 from a 00314 from all partially? I search whole net didn't found a solution, **this is stupid if the...
50
How can I load partial parquet files only? I have a HUGE dataset about 14TB, I unable to download all parquet all. I just take about 100 from it. dataset = load_dataset("xx/", data_files="data/train-001*-of-00314.parquet") How can I just using 000 - 100 from a 00314 from all partially? I search whole net did...
[ -0.2755742371082306, -0.3541701138019562, -0.028508063405752182, 0.4808918237686157, 0.19115124642848969, 0.05765650421380997, -0.20927058160305023, 0.4417593479156494, 0.09506696462631226, 0.10304372012615204, -0.08347377926111221, -0.013184500858187675, 0.04859839379787445, 0.39017435908...
https://github.com/huggingface/datasets/issues/6979
How can I load partial parquet files only?
Could you convert the IterableDataset to a Dataset after taking the first 100 rows with `.take`? This way, you would have a local copy of the first 100 rows on your system and thus won't need to download. Would that work? Here is a [SO question](https://stackoverflow.com/questions/76227219/can-i-convert-an-iterabled...
I have a HUGE dataset about 14TB, I unable to download all parquet all. I just take about 100 from it. dataset = load_dataset("xx/", data_files="data/train-001*-of-00314.parquet") How can I just using 000 - 100 from a 00314 from all partially? I search whole net didn't found a solution, **this is stupid if the...
52
How can I load partial parquet files only? I have a HUGE dataset about 14TB, I unable to download all parquet all. I just take about 100 from it. dataset = load_dataset("xx/", data_files="data/train-001*-of-00314.parquet") How can I just using 000 - 100 from a 00314 from all partially? I search whole net did...
[ -0.3464089035987854, -0.17198726534843445, -0.015516072511672974, 0.37606167793273926, 0.17200018465518951, 0.12713468074798584, -0.1642935872077942, 0.5313801169395447, 0.07092872262001038, -0.1027068942785263, -0.08441043645143509, 0.06766224652528763, -0.0369112566113472, 0.363390266895...
https://github.com/huggingface/datasets/issues/6979
How can I load partial parquet files only?
I mean, the parquet is like: 00000-0143554 00001-0143554 00002-0143554 ... 00100-0143554 ... 09100-0143554 I just downloaded the first 9900 part of it. I can not load with load_dataset, it throw an error says my file is not same as parquet all amount. How could I load the only I have? ( I really ...
I have a HUGE dataset about 14TB, I unable to download all parquet all. I just take about 100 from it. dataset = load_dataset("xx/", data_files="data/train-001*-of-00314.parquet") How can I just using 000 - 100 from a 00314 from all partially? I search whole net didn't found a solution, **this is stupid if the...
90
How can I load partial parquet files only? I have a HUGE dataset about 14TB, I unable to download all parquet all. I just take about 100 from it. dataset = load_dataset("xx/", data_files="data/train-001*-of-00314.parquet") How can I just using 000 - 100 from a 00314 from all partially? I search whole net did...
[ -0.3257424235343933, -0.32959890365600586, -0.030774660408496857, 0.4810560941696167, 0.2430637925863266, 0.002918832004070282, -0.1105833500623703, 0.35443198680877686, 0.08252911269664764, 0.1265896111726761, -0.07560878992080688, -0.06051463633775711, 0.0817796140909195, 0.4603313803672...
https://github.com/huggingface/datasets/issues/6979
How can I load partial parquet files only?
Hi, @lucasjinreal. I am not sure of understanding your issue. What is the error message and stack trace you get? What version of `datasets` are you using? Could you provide a reproducible example? Without knowing all those details, I would naively say that you can load whatever number of Parquet files by using th...
I have a HUGE dataset about 14TB, I unable to download all parquet all. I just take about 100 from it. dataset = load_dataset("xx/", data_files="data/train-001*-of-00314.parquet") How can I just using 000 - 100 from a 00314 from all partially? I search whole net didn't found a solution, **this is stupid if the...
64
How can I load partial parquet files only? I have a HUGE dataset about 14TB, I unable to download all parquet all. I just take about 100 from it. dataset = load_dataset("xx/", data_files="data/train-001*-of-00314.parquet") How can I just using 000 - 100 from a 00314 from all partially? I search whole net did...
[ -0.20429030060768127, -0.4056858420372009, 0.012842480093240738, 0.5306616425514221, 0.3009801506996155, 0.012048207223415375, -0.1548215001821518, 0.49277055263519287, 0.1744457334280014, 0.10451056063175201, -0.11520453542470932, 0.005548469722270966, -0.024647079408168793, 0.37557753920...
https://github.com/huggingface/datasets/issues/6979
How can I load partial parquet files only?
@albertvillanova Not sure you have tested with this or not, but I have tried, the only error I got is it still laodding all parquet with a progress bar maxium to the whole number 014354, and it loads my 0 - 000999 part, then throws an error. Says Numinfo is not same. I am so confused,
I have a HUGE dataset about 14TB, I unable to download all parquet all. I just take about 100 from it. dataset = load_dataset("xx/", data_files="data/train-001*-of-00314.parquet") How can I just using 000 - 100 from a 00314 from all partially? I search whole net didn't found a solution, **this is stupid if the...
56
How can I load partial parquet files only? I have a HUGE dataset about 14TB, I unable to download all parquet all. I just take about 100 from it. dataset = load_dataset("xx/", data_files="data/train-001*-of-00314.parquet") How can I just using 000 - 100 from a 00314 from all partially? I search whole net did...
[ -0.25193583965301514, -0.41740682721138, -0.011996535584330559, 0.5046027898788452, 0.2603335380554199, -0.01766394078731537, -0.13745516538619995, 0.454632043838501, 0.018896576017141342, 0.12454808503389359, -0.1193847507238388, 0.02535063587129116, 0.10294146835803986, 0.394020527601242...
https://github.com/huggingface/datasets/issues/6979
How can I load partial parquet files only?
Yes, my code snippet works. Could you copy-paste your code and the output? Otherwise we are not able to know what the issue is.
I have a HUGE dataset about 14TB, I unable to download all parquet all. I just take about 100 from it. dataset = load_dataset("xx/", data_files="data/train-001*-of-00314.parquet") How can I just using 000 - 100 from a 00314 from all partially? I search whole net didn't found a solution, **this is stupid if the...
24
How can I load partial parquet files only? I have a HUGE dataset about 14TB, I unable to download all parquet all. I just take about 100 from it. dataset = load_dataset("xx/", data_files="data/train-001*-of-00314.parquet") How can I just using 000 - 100 from a 00314 from all partially? I search whole net did...
[ -0.22639212012290955, -0.3674989938735962, -0.02464967593550682, 0.4938739538192749, 0.2488434612751007, 0.028043478727340698, -0.2086992710828781, 0.5061648488044739, 0.14250633120536804, 0.07289309799671173, -0.05195736140012741, 0.020781051367521286, 0.04758263751864433, 0.3443613946437...
https://github.com/huggingface/datasets/issues/6979
How can I load partial parquet files only?
@albertvillanova Hi, thanks for the tracing of the issue. This is the output: ``` ython get_llava_recap_cc3m.py Generating train split: 3%|███▋ | 101910/3199866 [00:16<08:30, 6065.67 examples/s] Tr...
I have a HUGE dataset about 14TB, I unable to download all parquet all. I just take about 100 from it. dataset = load_dataset("xx/", data_files="data/train-001*-of-00314.parquet") How can I just using 000 - 100 from a 00314 from all partially? I search whole net didn't found a solution, **this is stupid if the...
199
How can I load partial parquet files only? I have a HUGE dataset about 14TB, I unable to download all parquet all. I just take about 100 from it. dataset = load_dataset("xx/", data_files="data/train-001*-of-00314.parquet") How can I just using 000 - 100 from a 00314 from all partially? I search whole net did...
[ -0.278819739818573, -0.3396080732345581, 0.04910251125693321, 0.5926240682601929, 0.31184840202331543, 0.03803887218236923, -0.11761699616909027, 0.5415985584259033, 0.03217961639165878, 0.06466780602931976, -0.10353775322437286, 0.1132921352982521, -0.006048382259905338, 0.330817610025405...
https://github.com/huggingface/datasets/issues/6979
How can I load partial parquet files only?
I see you did not use the "parquet" loader as I suggested in my code snippet above: https://github.com/huggingface/datasets/issues/6979#issuecomment-2182031415 Please try passing "parquet" instead of "llava-recap-cc3m/" to `load_dataset`, and the complete path to data files in `data_files`: ```python load_dataset("p...
I have a HUGE dataset about 14TB, I unable to download all parquet all. I just take about 100 from it. dataset = load_dataset("xx/", data_files="data/train-001*-of-00314.parquet") How can I just using 000 - 100 from a 00314 from all partially? I search whole net didn't found a solution, **this is stupid if the...
40
How can I load partial parquet files only? I have a HUGE dataset about 14TB, I unable to download all parquet all. I just take about 100 from it. dataset = load_dataset("xx/", data_files="data/train-001*-of-00314.parquet") How can I just using 000 - 100 from a 00314 from all partially? I search whole net did...
[ -0.2230970561504364, -0.4434782862663269, 0.018715057522058487, 0.5514918565750122, 0.2665776312351227, 0.020668871700763702, -0.22446309030056, 0.4753492474555969, 0.1895524263381958, 0.06845717877149582, -0.11812357604503632, 0.06310565769672394, 0.04462011903524399, 0.4138282239437103, ...
https://github.com/huggingface/datasets/issues/6979
How can I load partial parquet files only?
Let me explain that you get the error because of this content within the `dataset_info` YAML tag in the `llava-recap-cc3m/README.md`: ``` - name: train num_bytes: 156885281898.75 num_examples: 3199866 ``` By default, if there is that content in the README file, `load_dataset` performs a basic check to...
I have a HUGE dataset about 14TB, I unable to download all parquet all. I just take about 100 from it. dataset = load_dataset("xx/", data_files="data/train-001*-of-00314.parquet") How can I just using 000 - 100 from a 00314 from all partially? I search whole net didn't found a solution, **this is stupid if the...
81
How can I load partial parquet files only? I have a HUGE dataset about 14TB, I unable to download all parquet all. I just take about 100 from it. dataset = load_dataset("xx/", data_files="data/train-001*-of-00314.parquet") How can I just using 000 - 100 from a 00314 from all partially? I search whole net did...
[ -0.2922307550907135, -0.48077696561813354, 0.06674700975418091, 0.5589855313301086, 0.2602847218513489, 0.1175428107380867, -0.2198028415441513, 0.49307647347450256, 0.09347422420978546, 0.07749490439891815, 0.004213159903883934, 0.0609835684299469, -0.039214424788951874, 0.278727054595947...
https://github.com/huggingface/datasets/issues/6979
How can I load partial parquet files only?
And please, next time you have an issue, please fill the Bug template issue with all the necessary information: https://github.com/huggingface/datasets/issues/new?assignees=&labels=&projects=&template=bug-report.yml Otherwise it is very difficult for us to understand the underlying problem and to propose a pertinent...
I have a HUGE dataset about 14TB, I unable to download all parquet all. I just take about 100 from it. dataset = load_dataset("xx/", data_files="data/train-001*-of-00314.parquet") How can I just using 000 - 100 from a 00314 from all partially? I search whole net didn't found a solution, **this is stupid if the...
38
How can I load partial parquet files only? I have a HUGE dataset about 14TB, I unable to download all parquet all. I just take about 100 from it. dataset = load_dataset("xx/", data_files="data/train-001*-of-00314.parquet") How can I just using 000 - 100 from a 00314 from all partially? I search whole net did...
[ -0.20022131502628326, -0.5131793022155762, 0.005359511822462082, 0.5359086990356445, 0.25890177488327026, 0.019373200833797455, -0.16990987956523895, 0.4545104503631592, 0.18223203718662262, 0.09800265729427338, -0.12148509174585342, -0.04475770145654678, 0.054107774049043655, 0.5035851597...
https://github.com/huggingface/datasets/issues/6977
load json file error with v2.20.0
Thanks for reporting, @xiaoyaolangzhi. Indeed, we are currently requiring `pandas` >= 2.0.0. You will need to update pandas in your local environment: ``` pip install -U pandas ```
### Describe the bug ``` load_dataset(path="json", data_files="./test.json") ``` ``` Generating train split: 0 examples [00:00, ? examples/s] Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/datasets/packaged_modules/json/json.py", line 132, in _generate_tables pa_table = p...
28
load json file error with v2.20.0 ### Describe the bug ``` load_dataset(path="json", data_files="./test.json") ``` ``` Generating train split: 0 examples [00:00, ? examples/s] Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/datasets/packaged_modules/json/json.py", line 132, i...
[ -0.06933755427598953, 0.45719021558761597, -0.03216099739074707, 0.2189229279756546, 0.4231175184249878, -0.0032409876585006714, 0.5813358426094055, 0.7122802138328552, -0.22067081928253174, 0.11693383753299713, 0.0030927418265491724, 0.5666237473487854, -0.04973059892654419, 0.17136064171...
https://github.com/huggingface/datasets/issues/6961
Manual downloads should count as downloads
We're unlikely to add more features/support for datasets with python loading scripts, which include datasets with manual download. Sorry for the inconvenience
### Feature request I would like to request that manual downloads of data files from Hugging Face dataset repositories count as downloads of a dataset. According to the documentation for the Hugging Face Hub, that is currently not the case: https://huggingface.co/docs/hub/en/datasets-download-stats ### Motivation Th...
22
Manual downloads should count as downloads ### Feature request I would like to request that manual downloads of data files from Hugging Face dataset repositories count as downloads of a dataset. According to the documentation for the Hugging Face Hub, that is currently not the case: https://huggingface.co/docs/hub/e...
[ -0.1038682609796524, -0.36855047941207886, -0.10727691650390625, 0.16287986934185028, 0.17361174523830414, 0.11568938940763474, 0.17577767372131348, -0.14422112703323364, 0.1477762758731842, -0.08603067696094513, -0.19188061356544495, -0.10899198800325394, -0.2685455083847046, 0.6268167495...
https://github.com/huggingface/datasets/issues/6958
My Private Dataset doesn't exist on the Hub or cannot be accessed
I have checked the API HTTP link. Repository Not Found for url: https://huggingface.co/api/datasets/xxx/xxx. ![image](https://github.com/huggingface/datasets/assets/39621324/4aceef59-0c65-4161-9665-676d25d73225) It just works fine.
### Describe the bug ``` File "/root/miniconda3/envs/gino_conda/lib/python3.9/site-packages/datasets/load.py", line 1852, in dataset_module_factory raise DatasetNotFoundError(msg + f" at revision '{revision}'" if revision else msg) datasets.exceptions.DatasetNotFoundError: Dataset 'xxx' doesn't exist on t...
18
My Private Dataset doesn't exist on the Hub or cannot be accessed ### Describe the bug ``` File "/root/miniconda3/envs/gino_conda/lib/python3.9/site-packages/datasets/load.py", line 1852, in dataset_module_factory raise DatasetNotFoundError(msg + f" at revision '{revision}'" if revision else msg) datase...
[ -0.15427567064762115, -0.09437812119722366, -0.006820298731327057, 0.5615899562835693, 0.04682841897010803, 0.1300916075706482, 0.30762535333633423, 0.13233250379562378, -0.2375364601612091, 0.1407913714647293, -0.2417382448911667, 0.20495396852493286, -0.007244846783578396, 0.251138359308...
https://github.com/huggingface/datasets/issues/6958
My Private Dataset doesn't exist on the Hub or cannot be accessed
https://github.com/huggingface/datasets/blob/main/templates/new_dataset_script.py#L81 can not use this, too complex. I just need a def to load my file to a dict
### Describe the bug ``` File "/root/miniconda3/envs/gino_conda/lib/python3.9/site-packages/datasets/load.py", line 1852, in dataset_module_factory raise DatasetNotFoundError(msg + f" at revision '{revision}'" if revision else msg) datasets.exceptions.DatasetNotFoundError: Dataset 'xxx' doesn't exist on t...
19
My Private Dataset doesn't exist on the Hub or cannot be accessed ### Describe the bug ``` File "/root/miniconda3/envs/gino_conda/lib/python3.9/site-packages/datasets/load.py", line 1852, in dataset_module_factory raise DatasetNotFoundError(msg + f" at revision '{revision}'" if revision else msg) datase...
[ -0.15427567064762115, -0.09437812119722366, -0.006820298731327057, 0.5615899562835693, 0.04682841897010803, 0.1300916075706482, 0.30762535333633423, 0.13233250379562378, -0.2375364601612091, 0.1407913714647293, -0.2417382448911667, 0.20495396852493286, -0.007244846783578396, 0.251138359308...
https://github.com/huggingface/datasets/issues/6951
load_dataset() should load all subsets, if no specific subset is specified
Feel free to open a PR in `m-a-p/COIG-CQIA` to define a default subset. Currently there is no default. You can find some documentation at https://huggingface.co/docs/hub/datasets-manual-configuration#multiple-configurations
### Feature request Currently load_dataset() is forcing users to specify a subset. Example `from datasets import load_dataset dataset = load_dataset("m-a-p/COIG-CQIA")` ```--------------------------------------------------------------------------- ValueError Traceback (most recen...
25
load_dataset() should load all subsets, if no specific subset is specified ### Feature request Currently load_dataset() is forcing users to specify a subset. Example `from datasets import load_dataset dataset = load_dataset("m-a-p/COIG-CQIA")` ```---------------------------------------------------------------...
[ -0.4091421961784363, -0.07037521153688431, -0.13517147302627563, 0.17581580579280853, 0.029934324324131012, 0.17260676622390747, 0.554303765296936, 0.44273942708969116, 0.19543197751045227, 0.3112321197986603, -0.028206272050738335, 0.3462783098220825, -0.035520218312740326, 0.187638938426...
https://github.com/huggingface/datasets/issues/6951
load_dataset() should load all subsets, if no specific subset is specified
@lhoestq Whilst having a default subset readily available (e.g. `all`) by the dataset author is an ideal solution, it is not always the reality. Without the ability to fork the dataset, this can be problematic. As far as I know, it is not possible at all to specify multiple subsets in a generalized programmat...
### Feature request Currently load_dataset() is forcing users to specify a subset. Example `from datasets import load_dataset dataset = load_dataset("m-a-p/COIG-CQIA")` ```--------------------------------------------------------------------------- ValueError Traceback (most recen...
78
load_dataset() should load all subsets, if no specific subset is specified ### Feature request Currently load_dataset() is forcing users to specify a subset. Example `from datasets import load_dataset dataset = load_dataset("m-a-p/COIG-CQIA")` ```---------------------------------------------------------------...
[ -0.4091421961784363, -0.07037521153688431, -0.13517147302627563, 0.17581580579280853, 0.029934324324131012, 0.17260676622390747, 0.554303765296936, 0.44273942708969116, 0.19543197751045227, 0.3112321197986603, -0.028206272050738335, 0.3462783098220825, -0.035520218312740326, 0.187638938426...
https://github.com/huggingface/datasets/issues/6951
load_dataset() should load all subsets, if no specific subset is specified
Please note that each subset can have different feature columns, thus making it impossible to load them all into a unique Dataset instance. That is why subsets were created: to support different but related datasets to coexist in a single dataset repository. If you would like to programmatically get the list of s...
### Feature request Currently load_dataset() is forcing users to specify a subset. Example `from datasets import load_dataset dataset = load_dataset("m-a-p/COIG-CQIA")` ```--------------------------------------------------------------------------- ValueError Traceback (most recen...
59
load_dataset() should load all subsets, if no specific subset is specified ### Feature request Currently load_dataset() is forcing users to specify a subset. Example `from datasets import load_dataset dataset = load_dataset("m-a-p/COIG-CQIA")` ```---------------------------------------------------------------...
[ -0.4091421961784363, -0.07037521153688431, -0.13517147302627563, 0.17581580579280853, 0.029934324324131012, 0.17260676622390747, 0.554303765296936, 0.44273942708969116, 0.19543197751045227, 0.3112321197986603, -0.028206272050738335, 0.3462783098220825, -0.035520218312740326, 0.187638938426...
https://github.com/huggingface/datasets/issues/6950
`Dataset.with_format` behaves inconsistently with documentation
Hi ! It seems the documentation was outdated in this paragraph I fixed it here: https://github.com/huggingface/datasets/pull/6956
### Describe the bug The actual behavior of the interface `Dataset.with_format` is inconsistent with the documentation. https://huggingface.co/docs/datasets/use_with_pytorch#n-dimensional-arrays https://huggingface.co/docs/datasets/v2.19.0/en/use_with_tensorflow#n-dimensional-arrays > If your dataset consists of ...
16
`Dataset.with_format` behaves inconsistently with documentation ### Describe the bug The actual behavior of the interface `Dataset.with_format` is inconsistent with the documentation. https://huggingface.co/docs/datasets/use_with_pytorch#n-dimensional-arrays https://huggingface.co/docs/datasets/v2.19.0/en/use_with...
[ -0.14098818600177765, -0.8504533171653748, 0.04622528329491615, 0.36737358570098877, 0.1451461911201477, -0.06568746268749237, 0.5341942310333252, 0.17983390390872955, 0.1833527535200119, 0.16439074277877808, -0.15243518352508545, 0.4518921375274658, -0.10131584107875824, 0.122163482010364...
https://github.com/huggingface/datasets/issues/6949
load_dataset error
Hi, @lion-ops. In our Continuous Integration we have many tests on loading JSON files and all of them work properly. Could you please share your "train.json" file, so that we can try to reproduce the issue you have?
### Describe the bug Why does the program get stuck when I use load_dataset method, and it still gets stuck after loading for several hours? In fact, my json file is only 21m, and I can load it in one go using open('', 'r'). ### Steps to reproduce the bug 1. pip install datasets==2.19.2 2. from datasets import Data...
38
load_dataset error ### Describe the bug Why does the program get stuck when I use load_dataset method, and it still gets stuck after loading for several hours? In fact, my json file is only 21m, and I can load it in one go using open('', 'r'). ### Steps to reproduce the bug 1. pip install datasets==2.19.2 2. from...
[ -0.23484677076339722, -0.053065165877342224, -0.09888695180416107, 0.3112257122993469, 0.36609506607055664, 0.18837383389472961, 0.2913392186164856, 0.39364364743232727, 0.21029119193553925, 0.0901610478758812, 0.22338902950286865, 0.539984405040741, -0.022340942174196243, 0.27762705087661...
https://github.com/huggingface/datasets/issues/6949
load_dataset error
> Hi, @lion-ops. > > In our Continuous Integration we have many tests on loading JSON files and all of them work properly. > > Could you please share your "train.json" file, so that we can try to reproduce the issue you have? Thank you for your reply. I can load it normally in another server. Is it possible th...
### Describe the bug Why does the program get stuck when I use load_dataset method, and it still gets stuck after loading for several hours? In fact, my json file is only 21m, and I can load it in one go using open('', 'r'). ### Steps to reproduce the bug 1. pip install datasets==2.19.2 2. from datasets import Data...
83
load_dataset error ### Describe the bug Why does the program get stuck when I use load_dataset method, and it still gets stuck after loading for several hours? In fact, my json file is only 21m, and I can load it in one go using open('', 'r'). ### Steps to reproduce the bug 1. pip install datasets==2.19.2 2. from...
[ -0.1941034495830536, -0.09163274616003036, -0.1015826165676117, 0.3155893087387085, 0.2822381854057312, 0.16326147317886353, 0.3309028446674347, 0.31814953684806824, 0.29122239351272583, 0.12277227640151978, 0.22967812418937683, 0.5177155137062073, -0.002191421575844288, 0.2519207894802093...
https://github.com/huggingface/datasets/issues/6947
FileNotFoundError:error when loading C4 dataset
Hello, Are you sure you are really using datasets version 2.19.2? We just made the patch release yesterday specifically to fix this issue: - #6925 I can't reproduce the error: ```python In [1]: from datasets import load_dataset In [2]: ds = load_dataset('allenai/c4', data_files={'validation': 'en/c4-validat...
### Describe the bug can't load c4 datasets When I replace the datasets package to 2.12.2 I get raise datasets.utils.info_utils.ExpectedMoreSplits: {'train'} How can I fix this? ### Steps to reproduce the bug 1.from datasets import load_dataset 2.dataset = load_dataset('allenai/c4', data_files={'validat...
78
FileNotFoundError:error when loading C4 dataset ### Describe the bug can't load c4 datasets When I replace the datasets package to 2.12.2 I get raise datasets.utils.info_utils.ExpectedMoreSplits: {'train'} How can I fix this? ### Steps to reproduce the bug 1.from datasets import load_dataset 2.datase...
[ -0.21089638769626617, 0.24207264184951782, -0.0016655176877975464, 0.5616474747657776, 0.37238502502441406, 0.19671043753623962, -0.03392034396529198, 0.5606018304824829, -0.058565348386764526, 0.1154807060956955, 0.1204671636223793, 0.013291917741298676, -0.104865163564682, 0.167310938239...
https://github.com/huggingface/datasets/issues/6947
FileNotFoundError:error when loading C4 dataset
> Hello, > > Are you sure you are really using datasets version 2.19.2? We just made the patch release yesterday specifically to fix this issue: > > * [Fix NonMatchingSplitsSizesError/ExpectedMoreSplits when passing data_dir/data_files in no-code Hub datasets #6925](https://github.com/huggingface/datasets/pull/69...
### Describe the bug can't load c4 datasets When I replace the datasets package to 2.12.2 I get raise datasets.utils.info_utils.ExpectedMoreSplits: {'train'} How can I fix this? ### Steps to reproduce the bug 1.from datasets import load_dataset 2.dataset = load_dataset('allenai/c4', data_files={'validat...
138
FileNotFoundError:error when loading C4 dataset ### Describe the bug can't load c4 datasets When I replace the datasets package to 2.12.2 I get raise datasets.utils.info_utils.ExpectedMoreSplits: {'train'} How can I fix this? ### Steps to reproduce the bug 1.from datasets import load_dataset 2.datase...
[ -0.21089638769626617, 0.24207264184951782, -0.0016655176877975464, 0.5616474747657776, 0.37238502502441406, 0.19671043753623962, -0.03392034396529198, 0.5606018304824829, -0.058565348386764526, 0.1154807060956955, 0.1204671636223793, 0.013291917741298676, -0.104865163564682, 0.167310938239...
https://github.com/huggingface/datasets/issues/6947
FileNotFoundError:error when loading C4 dataset
That might be due to a corrupted cache. Please, retry loading the dataset passing: `download_mode="force_redownload"` ```python ds = load_dataset('allenai/c4', data_files={'validation': 'en/c4-validation.00003-of-00008.json.gz'}, split='validation', download_mode="force_redownload") ``` It the above command do...
### Describe the bug can't load c4 datasets When I replace the datasets package to 2.12.2 I get raise datasets.utils.info_utils.ExpectedMoreSplits: {'train'} How can I fix this? ### Steps to reproduce the bug 1.from datasets import load_dataset 2.dataset = load_dataset('allenai/c4', data_files={'validat...
49
FileNotFoundError:error when loading C4 dataset ### Describe the bug can't load c4 datasets When I replace the datasets package to 2.12.2 I get raise datasets.utils.info_utils.ExpectedMoreSplits: {'train'} How can I fix this? ### Steps to reproduce the bug 1.from datasets import load_dataset 2.datase...
[ -0.21089638769626617, 0.24207264184951782, -0.0016655176877975464, 0.5616474747657776, 0.37238502502441406, 0.19671043753623962, -0.03392034396529198, 0.5606018304824829, -0.058565348386764526, 0.1154807060956955, 0.1204671636223793, 0.013291917741298676, -0.104865163564682, 0.167310938239...
https://github.com/huggingface/datasets/issues/6947
FileNotFoundError:error when loading C4 dataset
> That might be due to a corrupted cache. > > Please, retry loading the dataset passing: `download_mode="force_redownload"` > > ```python > ds = load_dataset('allenai/c4', data_files={'validation': 'en/c4-validation.00003-of-00008.json.gz'}, split='validation', download_mode="force_redownload") > ``` > > It ...
### Describe the bug can't load c4 datasets When I replace the datasets package to 2.12.2 I get raise datasets.utils.info_utils.ExpectedMoreSplits: {'train'} How can I fix this? ### Steps to reproduce the bug 1.from datasets import load_dataset 2.dataset = load_dataset('allenai/c4', data_files={'validat...
104
FileNotFoundError:error when loading C4 dataset ### Describe the bug can't load c4 datasets When I replace the datasets package to 2.12.2 I get raise datasets.utils.info_utils.ExpectedMoreSplits: {'train'} How can I fix this? ### Steps to reproduce the bug 1.from datasets import load_dataset 2.datase...
[ -0.21089638769626617, 0.24207264184951782, -0.0016655176877975464, 0.5616474747657776, 0.37238502502441406, 0.19671043753623962, -0.03392034396529198, 0.5606018304824829, -0.058565348386764526, 0.1154807060956955, 0.1204671636223793, 0.013291917741298676, -0.104865163564682, 0.167310938239...
https://github.com/huggingface/datasets/issues/6947
FileNotFoundError:error when loading C4 dataset
> The two methods you mentioned above can not solve this problem, but the command line interface shows Downloading readme: 41.1kB [00:00, 281kB/s], and then FileNotFoundError appears. Same issue encountered.
### Describe the bug can't load c4 datasets When I replace the datasets package to 2.12.2 I get raise datasets.utils.info_utils.ExpectedMoreSplits: {'train'} How can I fix this? ### Steps to reproduce the bug 1.from datasets import load_dataset 2.dataset = load_dataset('allenai/c4', data_files={'validat...
30
FileNotFoundError:error when loading C4 dataset ### Describe the bug can't load c4 datasets When I replace the datasets package to 2.12.2 I get raise datasets.utils.info_utils.ExpectedMoreSplits: {'train'} How can I fix this? ### Steps to reproduce the bug 1.from datasets import load_dataset 2.datase...
[ -0.21089638769626617, 0.24207264184951782, -0.0016655176877975464, 0.5616474747657776, 0.37238502502441406, 0.19671043753623962, -0.03392034396529198, 0.5606018304824829, -0.058565348386764526, 0.1154807060956955, 0.1204671636223793, 0.013291917741298676, -0.104865163564682, 0.167310938239...
https://github.com/huggingface/datasets/issues/6947
FileNotFoundError:error when loading C4 dataset
I really think the issue is caused by a corrupted cache, between versions 2.12.0 (there does not exist 2.12.2 version) and 2.19.2. Are you sure you removed all the corresponding corrupted directories within the cache? You can easily check if the issue is caused by a corrupted cache by removing the entire cache: ...
### Describe the bug can't load c4 datasets When I replace the datasets package to 2.12.2 I get raise datasets.utils.info_utils.ExpectedMoreSplits: {'train'} How can I fix this? ### Steps to reproduce the bug 1.from datasets import load_dataset 2.dataset = load_dataset('allenai/c4', data_files={'validat...
72
FileNotFoundError:error when loading C4 dataset ### Describe the bug can't load c4 datasets When I replace the datasets package to 2.12.2 I get raise datasets.utils.info_utils.ExpectedMoreSplits: {'train'} How can I fix this? ### Steps to reproduce the bug 1.from datasets import load_dataset 2.datase...
[ -0.21089638769626617, 0.24207264184951782, -0.0016655176877975464, 0.5616474747657776, 0.37238502502441406, 0.19671043753623962, -0.03392034396529198, 0.5606018304824829, -0.058565348386764526, 0.1154807060956955, 0.1204671636223793, 0.013291917741298676, -0.104865163564682, 0.167310938239...
https://github.com/huggingface/datasets/issues/6947
FileNotFoundError:error when loading C4 dataset
@albertvillanova Thanks for the reply. I tried removing the entire cache and reloading the dataset as you suggest. However, the same issue still exists. As a test, I switch to a new platform, which (is a Windows system and) hasn't downloaded huggingface dataset before, and the dataset is loaded successfully. So I t...
### Describe the bug can't load c4 datasets When I replace the datasets package to 2.12.2 I get raise datasets.utils.info_utils.ExpectedMoreSplits: {'train'} How can I fix this? ### Steps to reproduce the bug 1.from datasets import load_dataset 2.dataset = load_dataset('allenai/c4', data_files={'validat...
86
FileNotFoundError:error when loading C4 dataset ### Describe the bug can't load c4 datasets When I replace the datasets package to 2.12.2 I get raise datasets.utils.info_utils.ExpectedMoreSplits: {'train'} How can I fix this? ### Steps to reproduce the bug 1.from datasets import load_dataset 2.datase...
[ -0.21089638769626617, 0.24207264184951782, -0.0016655176877975464, 0.5616474747657776, 0.37238502502441406, 0.19671043753623962, -0.03392034396529198, 0.5606018304824829, -0.058565348386764526, 0.1154807060956955, 0.1204671636223793, 0.013291917741298676, -0.104865163564682, 0.167310938239...
https://github.com/huggingface/datasets/issues/6947
FileNotFoundError:error when loading C4 dataset
Ho @ZhangGe6, As far as I know, that directory is the only one where the cache is saved, unless you configured another one. You can check it: ```python import datasets.config print(datasets.config.HF_CACHE_HOME) # ~/.cache/huggingface print(datasets.config.HF_DATASETS_CACHE) # ~/.cache/huggingface/datasets...
### Describe the bug can't load c4 datasets When I replace the datasets package to 2.12.2 I get raise datasets.utils.info_utils.ExpectedMoreSplits: {'train'} How can I fix this? ### Steps to reproduce the bug 1.from datasets import load_dataset 2.dataset = load_dataset('allenai/c4', data_files={'validat...
78
FileNotFoundError:error when loading C4 dataset ### Describe the bug can't load c4 datasets When I replace the datasets package to 2.12.2 I get raise datasets.utils.info_utils.ExpectedMoreSplits: {'train'} How can I fix this? ### Steps to reproduce the bug 1.from datasets import load_dataset 2.datase...
[ -0.21089638769626617, 0.24207264184951782, -0.0016655176877975464, 0.5616474747657776, 0.37238502502441406, 0.19671043753623962, -0.03392034396529198, 0.5606018304824829, -0.058565348386764526, 0.1154807060956955, 0.1204671636223793, 0.013291917741298676, -0.104865163564682, 0.167310938239...
https://github.com/huggingface/datasets/issues/6947
FileNotFoundError:error when loading C4 dataset
@albertvillanova I checked the directories you listed, and find that they are the same as the ones you provided. I am going to find more clues and will update what I find here.
### Describe the bug can't load c4 datasets When I replace the datasets package to 2.12.2 I get raise datasets.utils.info_utils.ExpectedMoreSplits: {'train'} How can I fix this? ### Steps to reproduce the bug 1.from datasets import load_dataset 2.dataset = load_dataset('allenai/c4', data_files={'validat...
33
FileNotFoundError:error when loading C4 dataset ### Describe the bug can't load c4 datasets When I replace the datasets package to 2.12.2 I get raise datasets.utils.info_utils.ExpectedMoreSplits: {'train'} How can I fix this? ### Steps to reproduce the bug 1.from datasets import load_dataset 2.datase...
[ -0.21089638769626617, 0.24207264184951782, -0.0016655176877975464, 0.5616474747657776, 0.37238502502441406, 0.19671043753623962, -0.03392034396529198, 0.5606018304824829, -0.058565348386764526, 0.1154807060956955, 0.1204671636223793, 0.013291917741298676, -0.104865163564682, 0.167310938239...
https://github.com/huggingface/datasets/issues/6947
FileNotFoundError:error when loading C4 dataset
I've had a similar problem, and for some reason decreasing the number of workers in the dataloader solved it
### Describe the bug can't load c4 datasets When I replace the datasets package to 2.12.2 I get raise datasets.utils.info_utils.ExpectedMoreSplits: {'train'} How can I fix this? ### Steps to reproduce the bug 1.from datasets import load_dataset 2.dataset = load_dataset('allenai/c4', data_files={'validat...
19
FileNotFoundError:error when loading C4 dataset ### Describe the bug can't load c4 datasets When I replace the datasets package to 2.12.2 I get raise datasets.utils.info_utils.ExpectedMoreSplits: {'train'} How can I fix this? ### Steps to reproduce the bug 1.from datasets import load_dataset 2.datase...
[ -0.21089638769626617, 0.24207264184951782, -0.0016655176877975464, 0.5616474747657776, 0.37238502502441406, 0.19671043753623962, -0.03392034396529198, 0.5606018304824829, -0.058565348386764526, 0.1154807060956955, 0.1204671636223793, 0.013291917741298676, -0.104865163564682, 0.167310938239...
https://github.com/huggingface/datasets/issues/6947
FileNotFoundError:error when loading C4 dataset
Hi folks. Finally, I find it is a network issue that causes huggingface hub unreachable (in China). To run the following script ```python from datasets import load_dataset ds = load_dataset('allenai/c4', data_files={'validation': 'en/c4-validation.00003-of-00008.json.gz'}, split='validation', download_mode="fo...
### Describe the bug can't load c4 datasets When I replace the datasets package to 2.12.2 I get raise datasets.utils.info_utils.ExpectedMoreSplits: {'train'} How can I fix this? ### Steps to reproduce the bug 1.from datasets import load_dataset 2.dataset = load_dataset('allenai/c4', data_files={'validat...
427
FileNotFoundError:error when loading C4 dataset ### Describe the bug can't load c4 datasets When I replace the datasets package to 2.12.2 I get raise datasets.utils.info_utils.ExpectedMoreSplits: {'train'} How can I fix this? ### Steps to reproduce the bug 1.from datasets import load_dataset 2.datase...
[ -0.21089638769626617, 0.24207264184951782, -0.0016655176877975464, 0.5616474747657776, 0.37238502502441406, 0.19671043753623962, -0.03392034396529198, 0.5606018304824829, -0.058565348386764526, 0.1154807060956955, 0.1204671636223793, 0.013291917741298676, -0.104865163564682, 0.167310938239...
https://github.com/huggingface/datasets/issues/6947
FileNotFoundError:error when loading C4 dataset
Thanks for the investigation: so finally it is an issue with the specific endpoint you are using. You properly opened an issue in their repo, so they can fix it. I am closing this issue here.
### Describe the bug can't load c4 datasets When I replace the datasets package to 2.12.2 I get raise datasets.utils.info_utils.ExpectedMoreSplits: {'train'} How can I fix this? ### Steps to reproduce the bug 1.from datasets import load_dataset 2.dataset = load_dataset('allenai/c4', data_files={'validat...
36
FileNotFoundError:error when loading C4 dataset ### Describe the bug can't load c4 datasets When I replace the datasets package to 2.12.2 I get raise datasets.utils.info_utils.ExpectedMoreSplits: {'train'} How can I fix this? ### Steps to reproduce the bug 1.from datasets import load_dataset 2.datase...
[ -0.21089638769626617, 0.24207264184951782, -0.0016655176877975464, 0.5616474747657776, 0.37238502502441406, 0.19671043753623962, -0.03392034396529198, 0.5606018304824829, -0.058565348386764526, 0.1154807060956955, 0.1204671636223793, 0.013291917741298676, -0.104865163564682, 0.167310938239...
https://github.com/huggingface/datasets/issues/7033
`from_generator` does not allow to specify the split name
Thanks for reporting, @pminervini. I agree we should give the option to define the split name. Indeed, there is a PR that addresses precisely this issue: - #7015 I am reviewing it.
### Describe the bug I'm building train, dev, and test using `from_generator`; however, in all three cases, the logger prints `Generating train split:` It's not possible to change the split name since it seems to be hardcoded: https://github.com/huggingface/datasets/blob/main/src/datasets/packaged_modules/generator/g...
32
`from_generator` does not allow to specify the split name ### Describe the bug I'm building train, dev, and test using `from_generator`; however, in all three cases, the logger prints `Generating train split:` It's not possible to change the split name since it seems to be hardcoded: https://github.com/huggingface/...
[ -0.08032244443893433, -0.18822568655014038, 0.051649514585733414, 0.3789212703704834, 0.34946805238723755, -0.0962342619895935, 0.585552990436554, 0.1975223571062088, -0.230672687292099, 0.3274785876274109, 0.14162872731685638, 0.3702322840690613, -0.09433481842279434, 0.24470113217830658,...
https://github.com/huggingface/datasets/issues/7005
EmptyDatasetError: The directory at /metadata.jsonl doesn't contain any data files
If you are trying to load your image dataset from a local folder, you should replace "data_dir=path/to/jsonl/metadata.jsonl" with the real folder path in your computer. https://huggingface.co/docs/datasets/en/image_load#imagefolder
### Describe the bug while trying to load custom dataset from jsonl file, I get the error: "metadata.jsonl doesn't contain any data files" ### Steps to reproduce the bug This is my [metadata_v2.jsonl](https://github.com/user-attachments/files/16016011/metadata_v2.json) file. I have this file in the folder with all ...
26
EmptyDatasetError: The directory at /metadata.jsonl doesn't contain any data files ### Describe the bug while trying to load custom dataset from jsonl file, I get the error: "metadata.jsonl doesn't contain any data files" ### Steps to reproduce the bug This is my [metadata_v2.jsonl](https://github.com/user-attachm...
[ -0.016234397888183594, 0.07239946722984314, -0.025297634303569794, 0.6795621514320374, 0.007368864491581917, 0.16623660922050476, 0.01661766692996025, 0.3690929114818573, 0.20603157579898834, 0.08262968063354492, -0.02496563084423542, 0.1874658465385437, -0.33143505454063416, -0.0300496164...
https://github.com/huggingface/datasets/issues/7005
EmptyDatasetError: The directory at /metadata.jsonl doesn't contain any data files
Ah yes. My bad. I was giving file name. I should have given the folder directory as the path. That solved my issue. Thank you @albertvillanova and @lhoestq.
### Describe the bug while trying to load custom dataset from jsonl file, I get the error: "metadata.jsonl doesn't contain any data files" ### Steps to reproduce the bug This is my [metadata_v2.jsonl](https://github.com/user-attachments/files/16016011/metadata_v2.json) file. I have this file in the folder with all ...
28
EmptyDatasetError: The directory at /metadata.jsonl doesn't contain any data files ### Describe the bug while trying to load custom dataset from jsonl file, I get the error: "metadata.jsonl doesn't contain any data files" ### Steps to reproduce the bug This is my [metadata_v2.jsonl](https://github.com/user-attachm...
[ -0.016234397888183594, 0.07239946722984314, -0.025297634303569794, 0.6795621514320374, 0.007368864491581917, 0.16623660922050476, 0.01661766692996025, 0.3690929114818573, 0.20603157579898834, 0.08262968063354492, -0.02496563084423542, 0.1874658465385437, -0.33143505454063416, -0.0300496164...
https://github.com/huggingface/datasets/issues/7001
Datasetbuilder Local Download FileNotFoundError
Ok it seems the solution is to use the directory string without the trailing "/" which in my case as: `parquet_dir = "~/data/Parquet" ` Still i think this is a weird behavior...
### Describe the bug So I was trying to download a dataset and save it as parquet and I follow the [tutorial](https://huggingface.co/docs/datasets/filesystems#download-and-prepare-a-dataset-into-a-cloud-storage) of Huggingface. However, during the excution I face a FileNotFoundError. I debug the code and it seems...
32
Datasetbuilder Local Download FileNotFoundError ### Describe the bug So I was trying to download a dataset and save it as parquet and I follow the [tutorial](https://huggingface.co/docs/datasets/filesystems#download-and-prepare-a-dataset-into-a-cloud-storage) of Huggingface. However, during the excution I face a F...
[ -0.09115815162658691, 0.007688999176025391, 0.09595905244350433, 0.43190717697143555, 0.4101852774620056, -0.025620467960834503, -0.22146721184253693, -0.05176712945103645, -0.20363929867744446, 0.24639157950878143, 0.09236932545900345, 0.071162648499012, -0.008753609843552113, -0.00749091...
https://github.com/huggingface/datasets/issues/6995
ImportError when importing datasets.load_dataset
What is the version of your installed `huggingface-hub`: ```python import huggingface_hub print(huggingface_hub.__version__) ``` It seems you have a very old version of `huggingface-hub`, where `CommitInfo` was not still implemented. You need to update it: ``` pip install -U huggingface-hub ``` Note that `...
### Describe the bug I encountered an ImportError while trying to import `load_dataset` from the `datasets` module in Hugging Face. The error message indicates a problem with importing 'CommitInfo' from 'huggingface_hub'. ### Steps to reproduce the bug 1. pip install git+https://github.com/huggingface/datasets 2. f...
52
ImportError when importing datasets.load_dataset ### Describe the bug I encountered an ImportError while trying to import `load_dataset` from the `datasets` module in Hugging Face. The error message indicates a problem with importing 'CommitInfo' from 'huggingface_hub'. ### Steps to reproduce the bug 1. pip instal...
[ -0.27894434332847595, -0.16736024618148804, -0.019220074638724327, 0.3342856764793396, 0.27266108989715576, 0.03040923923254013, 0.09082164615392685, 0.2282353639602661, 0.17126117646694183, 0.17551535367965698, -0.1372210830450058, -0.05400799587368965, -0.09396711736917496, 0.36028906702...
https://github.com/huggingface/datasets/issues/6995
ImportError when importing datasets.load_dataset
The error message says there is no CommitInfo in your installed huggingface-hub library: ``` ImportError: cannot import name 'CommitInfo' from 'huggingface_hub' (D:\Anaconda3\envs\CS224S\Lib\site-packages\huggingface_hub_init_.py) ``` And this is implemented since version 0.10.0: - https://github.com/huggingface...
### Describe the bug I encountered an ImportError while trying to import `load_dataset` from the `datasets` module in Hugging Face. The error message indicates a problem with importing 'CommitInfo' from 'huggingface_hub'. ### Steps to reproduce the bug 1. pip install git+https://github.com/huggingface/datasets 2. f...
32
ImportError when importing datasets.load_dataset ### Describe the bug I encountered an ImportError while trying to import `load_dataset` from the `datasets` module in Hugging Face. The error message indicates a problem with importing 'CommitInfo' from 'huggingface_hub'. ### Steps to reproduce the bug 1. pip instal...
[ -0.27894434332847595, -0.16736024618148804, -0.019220074638724327, 0.3342856764793396, 0.27266108989715576, 0.03040923923254013, 0.09082164615392685, 0.2282353639602661, 0.17126117646694183, 0.17551535367965698, -0.1372210830450058, -0.05400799587368965, -0.09396711736917496, 0.36028906702...
https://github.com/huggingface/datasets/issues/6992
Dataset with streaming doesn't work with proxy
Hi ! can you try updating `datasets` and `huggingface_hub` ? ``` pip install -U datasets huggingface_hub ```
### Describe the bug I'm currently trying to stream data using dataset since the dataset is too big but it hangs indefinitely without loading the first batch. I use AIMOS which is a supercomputer that uses proxy to connect to the internet. I assume it has to do with the network configurations. I've already set up both...
17
Dataset with streaming doesn't work with proxy ### Describe the bug I'm currently trying to stream data using dataset since the dataset is too big but it hangs indefinitely without loading the first batch. I use AIMOS which is a supercomputer that uses proxy to connect to the internet. I assume it has to do with the...
[ -0.7595154047012329, -0.10635515302419662, -0.07152166217565536, 0.05183333158493042, 0.46253055334091187, -0.08935867249965668, 0.3620522618293762, -0.005497589707374573, 0.16050976514816284, -0.06045207381248474, 0.04542510211467743, -0.0038897281046956778, 0.20361945033073425, 0.1351694...
https://github.com/huggingface/datasets/issues/6985
AttributeError: module 'pyarrow.lib' has no attribute 'ListViewType'
Please note that the error is raised just at import: ```python import pyarrow.parquet as pq ``` Therefore it must be caused by some problem with your pyarrow installation. I would recommend you uninstall and install pyarrow again. I also see that it seems you use conda to install pyarrow. Please note that pyar...
### Describe the bug I have been struggling with this for two days, any help would be appreciated. Python 3.10 ``` from setfit import SetFitModel from huggingface_hub import login access_token_read = "cccxxxccc" # Authenticate with the Hugging Face Hub login(token=access_token_read) # Load the models fr...
121
AttributeError: module 'pyarrow.lib' has no attribute 'ListViewType' ### Describe the bug I have been struggling with this for two days, any help would be appreciated. Python 3.10 ``` from setfit import SetFitModel from huggingface_hub import login access_token_read = "cccxxxccc" # Authenticate with the H...
[ -0.18593543767929077, -0.4933111071586609, -0.03907205909490585, 0.42739152908325195, 0.48480039834976196, 0.12958857417106628, 0.46900448203086853, 0.3612813651561737, 0.045902069658041, -0.004905007779598236, -0.27652013301849365, 0.3779095709323883, -0.13031448423862457, 0.1008085384964...
https://github.com/huggingface/datasets/issues/6985
AttributeError: module 'pyarrow.lib' has no attribute 'ListViewType'
It is not a problem with the `datasets` library: we support latest version of `pyarrow` and our Continuous Integration tests are using pyarrow 16.1.0 without any problem. The error reported here is raised when importing pyarrow.parquet: ``` ---> 29 import pyarrow.parquet as pq ``` ``` File /opt/conda/lib/python...
### Describe the bug I have been struggling with this for two days, any help would be appreciated. Python 3.10 ``` from setfit import SetFitModel from huggingface_hub import login access_token_read = "cccxxxccc" # Authenticate with the Hugging Face Hub login(token=access_token_read) # Load the models fr...
211
AttributeError: module 'pyarrow.lib' has no attribute 'ListViewType' ### Describe the bug I have been struggling with this for two days, any help would be appreciated. Python 3.10 ``` from setfit import SetFitModel from huggingface_hub import login access_token_read = "cccxxxccc" # Authenticate with the H...
[ -0.18593543767929077, -0.4933111071586609, -0.03907205909490585, 0.42739152908325195, 0.48480039834976196, 0.12958857417106628, 0.46900448203086853, 0.3612813651561737, 0.045902069658041, -0.004905007779598236, -0.27652013301849365, 0.3779095709323883, -0.13031448423862457, 0.1008085384964...
https://github.com/huggingface/datasets/issues/6984
Convert polars DataFrame back to datasets
Hi ! Thanks for reporting :) We don't support `large_list` yet, though it should be added to `Sequence` IMO (maybe with a parameter `large=True` ?)
### Feature request This returns error. ```python from datasets import Dataset dsdf = Dataset.from_dict({"x": [[1, 2], [3, 4, 5]], "y": ["a", "b"]}) Dataset.from_polars(dsdf.to_polars()) ``` ValueError: Arrow type large_list<item: int64> does not have a datasets dtype equivalent. ### Motivation When datasets...
25
Convert polars DataFrame back to datasets ### Feature request This returns error. ```python from datasets import Dataset dsdf = Dataset.from_dict({"x": [[1, 2], [3, 4, 5]], "y": ["a", "b"]}) Dataset.from_polars(dsdf.to_polars()) ``` ValueError: Arrow type large_list<item: int64> does not have a datasets dtyp...
[ -0.29300931096076965, -0.4047183096408844, -0.11217483878135681, 0.10133212804794312, 0.46061795949935913, 0.1476120948791504, 0.19641652703285217, 0.4279765784740448, 0.31204667687416077, 0.029494598507881165, -0.13853108882904053, 0.4632543921470642, -0.23320941627025604, 0.2984396517276...
https://github.com/huggingface/datasets/issues/6982
cannot split dataset when using load_dataset
it seems the bug will happened in all windows system, I tried it in windows8.1, 10, 11 and all of them failed. But it won't happened in the Linux(Ubuntu and Centos7) and Mac (both my virtual and physical machine). I still don't know what the problem is. May be related to the path? I cannot run the split file in my win...
### Describe the bug when I use load_dataset methods to load mozilla-foundation/common_voice_7_0, it can successfully download and extracted the dataset but It cannot generating the arrow document, This bug happened in my server, my laptop, so as #6906 , but it won't happen in the google colab. I work for it for da...
87
cannot split dataset when using load_dataset ### Describe the bug when I use load_dataset methods to load mozilla-foundation/common_voice_7_0, it can successfully download and extracted the dataset but It cannot generating the arrow document, This bug happened in my server, my laptop, so as #6906 , but it won't h...
[ -0.43590301275253296, -0.11846726387739182, 0.06690298020839691, 0.4242967963218689, 0.07286401838064194, -0.01437617838382721, 0.6111493706703186, 0.19691066443920135, 0.07344469428062439, 0.2537232041358948, -0.27349305152893066, 0.6136087775230408, 0.008373841643333435, -0.0278751440346...
https://github.com/huggingface/datasets/issues/6982
cannot split dataset when using load_dataset
Have you properly logged in? Are you using the a valid token? Note that this dataset is gated and you must follow the right procedure to be able to access it. You can find more info in the docs: https://huggingface.co/docs/hub/datasets-gated#access-gated-datasets-as-a-user
### Describe the bug when I use load_dataset methods to load mozilla-foundation/common_voice_7_0, it can successfully download and extracted the dataset but It cannot generating the arrow document, This bug happened in my server, my laptop, so as #6906 , but it won't happen in the google colab. I work for it for da...
40
cannot split dataset when using load_dataset ### Describe the bug when I use load_dataset methods to load mozilla-foundation/common_voice_7_0, it can successfully download and extracted the dataset but It cannot generating the arrow document, This bug happened in my server, my laptop, so as #6906 , but it won't h...
[ -0.43590301275253296, -0.11846726387739182, 0.06690298020839691, 0.4242967963218689, 0.07286401838064194, -0.01437617838382721, 0.6111493706703186, 0.19691066443920135, 0.07344469428062439, 0.2537232041358948, -0.27349305152893066, 0.6136087775230408, 0.008373841643333435, -0.0278751440346...
https://github.com/huggingface/datasets/issues/6982
cannot split dataset when using load_dataset
> Have you properly logged in? Are you using the a valid token? > > Note that this dataset is gated and you must follow the right procedure to be able to access it. You can find more info in the docs: https://huggingface.co/docs/hub/datasets-gated#access-gated-datasets-as-a-user I finally found it what happened. ...
### Describe the bug when I use load_dataset methods to load mozilla-foundation/common_voice_7_0, it can successfully download and extracted the dataset but It cannot generating the arrow document, This bug happened in my server, my laptop, so as #6906 , but it won't happen in the google colab. I work for it for da...
139
cannot split dataset when using load_dataset ### Describe the bug when I use load_dataset methods to load mozilla-foundation/common_voice_7_0, it can successfully download and extracted the dataset but It cannot generating the arrow document, This bug happened in my server, my laptop, so as #6906 , but it won't h...
[ -0.43590301275253296, -0.11846726387739182, 0.06690298020839691, 0.4242967963218689, 0.07286401838064194, -0.01437617838382721, 0.6111493706703186, 0.19691066443920135, 0.07344469428062439, 0.2537232041358948, -0.27349305152893066, 0.6136087775230408, 0.008373841643333435, -0.0278751440346...
https://github.com/huggingface/datasets/issues/6979
How can I load partial parquet files only?
Hello, Have you tried loading the dataset in streaming mode? [Documentation](https://huggingface.co/docs/datasets/v2.20.0/stream) This way you wouldn't have to load it all. Also, let's be nice to Parquet, it's a really nice technology and we don't need to be mean :)
I have a HUGE dataset about 14TB, I unable to download all parquet all. I just take about 100 from it. dataset = load_dataset("xx/", data_files="data/train-001*-of-00314.parquet") How can I just using 000 - 100 from a 00314 from all partially? I search whole net didn't found a solution, **this is stupid if the...
39
How can I load partial parquet files only? I have a HUGE dataset about 14TB, I unable to download all parquet all. I just take about 100 from it. dataset = load_dataset("xx/", data_files="data/train-001*-of-00314.parquet") How can I just using 000 - 100 from a 00314 from all partially? I search whole net did...
[ -0.21402132511138916, -0.472859263420105, 0.011498488485813141, 0.5070446133613586, 0.25603771209716797, -0.018356725573539734, -0.16817572712898254, 0.45917877554893494, 0.14100977778434753, 0.13229027390480042, -0.07497289776802063, -0.04636634886264801, 0.05198558047413826, 0.5133880972...
https://github.com/huggingface/datasets/issues/6979
How can I load partial parquet files only?
I have downloaded part of it, just want to know how to load part of it, stream mode is not work for me since my network (in china) not stable, I don't want do it all again and again. Just curious, doesn't there a way to load part of it?
I have a HUGE dataset about 14TB, I unable to download all parquet all. I just take about 100 from it. dataset = load_dataset("xx/", data_files="data/train-001*-of-00314.parquet") How can I just using 000 - 100 from a 00314 from all partially? I search whole net didn't found a solution, **this is stupid if the...
50
How can I load partial parquet files only? I have a HUGE dataset about 14TB, I unable to download all parquet all. I just take about 100 from it. dataset = load_dataset("xx/", data_files="data/train-001*-of-00314.parquet") How can I just using 000 - 100 from a 00314 from all partially? I search whole net did...
[ -0.2755742371082306, -0.3541701138019562, -0.028508063405752182, 0.4808918237686157, 0.19115124642848969, 0.05765650421380997, -0.20927058160305023, 0.4417593479156494, 0.09506696462631226, 0.10304372012615204, -0.08347377926111221, -0.013184500858187675, 0.04859839379787445, 0.39017435908...
https://github.com/huggingface/datasets/issues/6979
How can I load partial parquet files only?
Could you convert the IterableDataset to a Dataset after taking the first 100 rows with `.take`? This way, you would have a local copy of the first 100 rows on your system and thus won't need to download. Would that work? Here is a [SO question](https://stackoverflow.com/questions/76227219/can-i-convert-an-iterabled...
I have a HUGE dataset about 14TB, I unable to download all parquet all. I just take about 100 from it. dataset = load_dataset("xx/", data_files="data/train-001*-of-00314.parquet") How can I just using 000 - 100 from a 00314 from all partially? I search whole net didn't found a solution, **this is stupid if the...
52
How can I load partial parquet files only? I have a HUGE dataset about 14TB, I unable to download all parquet all. I just take about 100 from it. dataset = load_dataset("xx/", data_files="data/train-001*-of-00314.parquet") How can I just using 000 - 100 from a 00314 from all partially? I search whole net did...
[ -0.3464089035987854, -0.17198726534843445, -0.015516072511672974, 0.37606167793273926, 0.17200018465518951, 0.12713468074798584, -0.1642935872077942, 0.5313801169395447, 0.07092872262001038, -0.1027068942785263, -0.08441043645143509, 0.06766224652528763, -0.0369112566113472, 0.363390266895...
https://github.com/huggingface/datasets/issues/6979
How can I load partial parquet files only?
I mean, the parquet is like: 00000-0143554 00001-0143554 00002-0143554 ... 00100-0143554 ... 09100-0143554 I just downloaded the first 9900 part of it. I can not load with load_dataset, it throw an error says my file is not same as parquet all amount. How could I load the only I have? ( I really ...
I have a HUGE dataset about 14TB, I unable to download all parquet all. I just take about 100 from it. dataset = load_dataset("xx/", data_files="data/train-001*-of-00314.parquet") How can I just using 000 - 100 from a 00314 from all partially? I search whole net didn't found a solution, **this is stupid if the...
90
How can I load partial parquet files only? I have a HUGE dataset about 14TB, I unable to download all parquet all. I just take about 100 from it. dataset = load_dataset("xx/", data_files="data/train-001*-of-00314.parquet") How can I just using 000 - 100 from a 00314 from all partially? I search whole net did...
[ -0.3257424235343933, -0.32959890365600586, -0.030774660408496857, 0.4810560941696167, 0.2430637925863266, 0.002918832004070282, -0.1105833500623703, 0.35443198680877686, 0.08252911269664764, 0.1265896111726761, -0.07560878992080688, -0.06051463633775711, 0.0817796140909195, 0.4603313803672...
https://github.com/huggingface/datasets/issues/6979
How can I load partial parquet files only?
Hi, @lucasjinreal. I am not sure of understanding your issue. What is the error message and stack trace you get? What version of `datasets` are you using? Could you provide a reproducible example? Without knowing all those details, I would naively say that you can load whatever number of Parquet files by using th...
I have a HUGE dataset about 14TB, I unable to download all parquet all. I just take about 100 from it. dataset = load_dataset("xx/", data_files="data/train-001*-of-00314.parquet") How can I just using 000 - 100 from a 00314 from all partially? I search whole net didn't found a solution, **this is stupid if the...
64
How can I load partial parquet files only? I have a HUGE dataset about 14TB, I unable to download all parquet all. I just take about 100 from it. dataset = load_dataset("xx/", data_files="data/train-001*-of-00314.parquet") How can I just using 000 - 100 from a 00314 from all partially? I search whole net did...
[ -0.20429030060768127, -0.4056858420372009, 0.012842480093240738, 0.5306616425514221, 0.3009801506996155, 0.012048207223415375, -0.1548215001821518, 0.49277055263519287, 0.1744457334280014, 0.10451056063175201, -0.11520453542470932, 0.005548469722270966, -0.024647079408168793, 0.37557753920...
https://github.com/huggingface/datasets/issues/6979
How can I load partial parquet files only?
@albertvillanova Not sure you have tested with this or not, but I have tried, the only error I got is it still laodding all parquet with a progress bar maxium to the whole number 014354, and it loads my 0 - 000999 part, then throws an error. Says Numinfo is not same. I am so confused,
I have a HUGE dataset about 14TB, I unable to download all parquet all. I just take about 100 from it. dataset = load_dataset("xx/", data_files="data/train-001*-of-00314.parquet") How can I just using 000 - 100 from a 00314 from all partially? I search whole net didn't found a solution, **this is stupid if the...
56
How can I load partial parquet files only? I have a HUGE dataset about 14TB, I unable to download all parquet all. I just take about 100 from it. dataset = load_dataset("xx/", data_files="data/train-001*-of-00314.parquet") How can I just using 000 - 100 from a 00314 from all partially? I search whole net did...
[ -0.25193583965301514, -0.41740682721138, -0.011996535584330559, 0.5046027898788452, 0.2603335380554199, -0.01766394078731537, -0.13745516538619995, 0.454632043838501, 0.018896576017141342, 0.12454808503389359, -0.1193847507238388, 0.02535063587129116, 0.10294146835803986, 0.394020527601242...
https://github.com/huggingface/datasets/issues/6979
How can I load partial parquet files only?
Yes, my code snippet works. Could you copy-paste your code and the output? Otherwise we are not able to know what the issue is.
I have a HUGE dataset about 14TB, I unable to download all parquet all. I just take about 100 from it. dataset = load_dataset("xx/", data_files="data/train-001*-of-00314.parquet") How can I just using 000 - 100 from a 00314 from all partially? I search whole net didn't found a solution, **this is stupid if the...
24
How can I load partial parquet files only? I have a HUGE dataset about 14TB, I unable to download all parquet all. I just take about 100 from it. dataset = load_dataset("xx/", data_files="data/train-001*-of-00314.parquet") How can I just using 000 - 100 from a 00314 from all partially? I search whole net did...
[ -0.22639212012290955, -0.3674989938735962, -0.02464967593550682, 0.4938739538192749, 0.2488434612751007, 0.028043478727340698, -0.2086992710828781, 0.5061648488044739, 0.14250633120536804, 0.07289309799671173, -0.05195736140012741, 0.020781051367521286, 0.04758263751864433, 0.3443613946437...
https://github.com/huggingface/datasets/issues/6979
How can I load partial parquet files only?
@albertvillanova Hi, thanks for the tracing of the issue. This is the output: ``` ython get_llava_recap_cc3m.py Generating train split: 3%|███▋ | 101910/3199866 [00:16<08:30, 6065.67 examples/s] Tr...
I have a HUGE dataset about 14TB, I unable to download all parquet all. I just take about 100 from it. dataset = load_dataset("xx/", data_files="data/train-001*-of-00314.parquet") How can I just using 000 - 100 from a 00314 from all partially? I search whole net didn't found a solution, **this is stupid if the...
199
How can I load partial parquet files only? I have a HUGE dataset about 14TB, I unable to download all parquet all. I just take about 100 from it. dataset = load_dataset("xx/", data_files="data/train-001*-of-00314.parquet") How can I just using 000 - 100 from a 00314 from all partially? I search whole net did...
[ -0.278819739818573, -0.3396080732345581, 0.04910251125693321, 0.5926240682601929, 0.31184840202331543, 0.03803887218236923, -0.11761699616909027, 0.5415985584259033, 0.03217961639165878, 0.06466780602931976, -0.10353775322437286, 0.1132921352982521, -0.006048382259905338, 0.330817610025405...
https://github.com/huggingface/datasets/issues/6979
How can I load partial parquet files only?
I see you did not use the "parquet" loader as I suggested in my code snippet above: https://github.com/huggingface/datasets/issues/6979#issuecomment-2182031415 Please try passing "parquet" instead of "llava-recap-cc3m/" to `load_dataset`, and the complete path to data files in `data_files`: ```python load_dataset("p...
I have a HUGE dataset about 14TB, I unable to download all parquet all. I just take about 100 from it. dataset = load_dataset("xx/", data_files="data/train-001*-of-00314.parquet") How can I just using 000 - 100 from a 00314 from all partially? I search whole net didn't found a solution, **this is stupid if the...
40
How can I load partial parquet files only? I have a HUGE dataset about 14TB, I unable to download all parquet all. I just take about 100 from it. dataset = load_dataset("xx/", data_files="data/train-001*-of-00314.parquet") How can I just using 000 - 100 from a 00314 from all partially? I search whole net did...
[ -0.2230970561504364, -0.4434782862663269, 0.018715057522058487, 0.5514918565750122, 0.2665776312351227, 0.020668871700763702, -0.22446309030056, 0.4753492474555969, 0.1895524263381958, 0.06845717877149582, -0.11812357604503632, 0.06310565769672394, 0.04462011903524399, 0.4138282239437103, ...
https://github.com/huggingface/datasets/issues/6979
How can I load partial parquet files only?
Let me explain that you get the error because of this content within the `dataset_info` YAML tag in the `llava-recap-cc3m/README.md`: ``` - name: train num_bytes: 156885281898.75 num_examples: 3199866 ``` By default, if there is that content in the README file, `load_dataset` performs a basic check to...
I have a HUGE dataset about 14TB, I unable to download all parquet all. I just take about 100 from it. dataset = load_dataset("xx/", data_files="data/train-001*-of-00314.parquet") How can I just using 000 - 100 from a 00314 from all partially? I search whole net didn't found a solution, **this is stupid if the...
81
How can I load partial parquet files only? I have a HUGE dataset about 14TB, I unable to download all parquet all. I just take about 100 from it. dataset = load_dataset("xx/", data_files="data/train-001*-of-00314.parquet") How can I just using 000 - 100 from a 00314 from all partially? I search whole net did...
[ -0.2922307550907135, -0.48077696561813354, 0.06674700975418091, 0.5589855313301086, 0.2602847218513489, 0.1175428107380867, -0.2198028415441513, 0.49307647347450256, 0.09347422420978546, 0.07749490439891815, 0.004213159903883934, 0.0609835684299469, -0.039214424788951874, 0.278727054595947...
https://github.com/huggingface/datasets/issues/6979
How can I load partial parquet files only?
And please, next time you have an issue, please fill the Bug template issue with all the necessary information: https://github.com/huggingface/datasets/issues/new?assignees=&labels=&projects=&template=bug-report.yml Otherwise it is very difficult for us to understand the underlying problem and to propose a pertinent...
I have a HUGE dataset about 14TB, I unable to download all parquet all. I just take about 100 from it. dataset = load_dataset("xx/", data_files="data/train-001*-of-00314.parquet") How can I just using 000 - 100 from a 00314 from all partially? I search whole net didn't found a solution, **this is stupid if the...
38
How can I load partial parquet files only? I have a HUGE dataset about 14TB, I unable to download all parquet all. I just take about 100 from it. dataset = load_dataset("xx/", data_files="data/train-001*-of-00314.parquet") How can I just using 000 - 100 from a 00314 from all partially? I search whole net did...
[ -0.20022131502628326, -0.5131793022155762, 0.005359511822462082, 0.5359086990356445, 0.25890177488327026, 0.019373200833797455, -0.16990987956523895, 0.4545104503631592, 0.18223203718662262, 0.09800265729427338, -0.12148509174585342, -0.04475770145654678, 0.054107774049043655, 0.5035851597...
https://github.com/huggingface/datasets/issues/6977
load json file error with v2.20.0
Thanks for reporting, @xiaoyaolangzhi. Indeed, we are currently requiring `pandas` >= 2.0.0. You will need to update pandas in your local environment: ``` pip install -U pandas ```
### Describe the bug ``` load_dataset(path="json", data_files="./test.json") ``` ``` Generating train split: 0 examples [00:00, ? examples/s] Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/datasets/packaged_modules/json/json.py", line 132, in _generate_tables pa_table = p...
28
load json file error with v2.20.0 ### Describe the bug ``` load_dataset(path="json", data_files="./test.json") ``` ``` Generating train split: 0 examples [00:00, ? examples/s] Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/datasets/packaged_modules/json/json.py", line 132, i...
[ -0.06933755427598953, 0.45719021558761597, -0.03216099739074707, 0.2189229279756546, 0.4231175184249878, -0.0032409876585006714, 0.5813358426094055, 0.7122802138328552, -0.22067081928253174, 0.11693383753299713, 0.0030927418265491724, 0.5666237473487854, -0.04973059892654419, 0.17136064171...
https://github.com/huggingface/datasets/issues/6961
Manual downloads should count as downloads
We're unlikely to add more features/support for datasets with python loading scripts, which include datasets with manual download. Sorry for the inconvenience
### Feature request I would like to request that manual downloads of data files from Hugging Face dataset repositories count as downloads of a dataset. According to the documentation for the Hugging Face Hub, that is currently not the case: https://huggingface.co/docs/hub/en/datasets-download-stats ### Motivation Th...
22
Manual downloads should count as downloads ### Feature request I would like to request that manual downloads of data files from Hugging Face dataset repositories count as downloads of a dataset. According to the documentation for the Hugging Face Hub, that is currently not the case: https://huggingface.co/docs/hub/e...
[ -0.1038682609796524, -0.36855047941207886, -0.10727691650390625, 0.16287986934185028, 0.17361174523830414, 0.11568938940763474, 0.17577767372131348, -0.14422112703323364, 0.1477762758731842, -0.08603067696094513, -0.19188061356544495, -0.10899198800325394, -0.2685455083847046, 0.6268167495...
https://github.com/huggingface/datasets/issues/6958
My Private Dataset doesn't exist on the Hub or cannot be accessed
I have checked the API HTTP link. Repository Not Found for url: https://huggingface.co/api/datasets/xxx/xxx. ![image](https://github.com/huggingface/datasets/assets/39621324/4aceef59-0c65-4161-9665-676d25d73225) It just works fine.
### Describe the bug ``` File "/root/miniconda3/envs/gino_conda/lib/python3.9/site-packages/datasets/load.py", line 1852, in dataset_module_factory raise DatasetNotFoundError(msg + f" at revision '{revision}'" if revision else msg) datasets.exceptions.DatasetNotFoundError: Dataset 'xxx' doesn't exist on t...
18
My Private Dataset doesn't exist on the Hub or cannot be accessed ### Describe the bug ``` File "/root/miniconda3/envs/gino_conda/lib/python3.9/site-packages/datasets/load.py", line 1852, in dataset_module_factory raise DatasetNotFoundError(msg + f" at revision '{revision}'" if revision else msg) datase...
[ -0.15427567064762115, -0.09437812119722366, -0.006820298731327057, 0.5615899562835693, 0.04682841897010803, 0.1300916075706482, 0.30762535333633423, 0.13233250379562378, -0.2375364601612091, 0.1407913714647293, -0.2417382448911667, 0.20495396852493286, -0.007244846783578396, 0.251138359308...
https://github.com/huggingface/datasets/issues/6958
My Private Dataset doesn't exist on the Hub or cannot be accessed
https://github.com/huggingface/datasets/blob/main/templates/new_dataset_script.py#L81 can not use this, too complex. I just need a def to load my file to a dict
### Describe the bug ``` File "/root/miniconda3/envs/gino_conda/lib/python3.9/site-packages/datasets/load.py", line 1852, in dataset_module_factory raise DatasetNotFoundError(msg + f" at revision '{revision}'" if revision else msg) datasets.exceptions.DatasetNotFoundError: Dataset 'xxx' doesn't exist on t...
19
My Private Dataset doesn't exist on the Hub or cannot be accessed ### Describe the bug ``` File "/root/miniconda3/envs/gino_conda/lib/python3.9/site-packages/datasets/load.py", line 1852, in dataset_module_factory raise DatasetNotFoundError(msg + f" at revision '{revision}'" if revision else msg) datase...
[ -0.15427567064762115, -0.09437812119722366, -0.006820298731327057, 0.5615899562835693, 0.04682841897010803, 0.1300916075706482, 0.30762535333633423, 0.13233250379562378, -0.2375364601612091, 0.1407913714647293, -0.2417382448911667, 0.20495396852493286, -0.007244846783578396, 0.251138359308...
https://github.com/huggingface/datasets/issues/6951
load_dataset() should load all subsets, if no specific subset is specified
Feel free to open a PR in `m-a-p/COIG-CQIA` to define a default subset. Currently there is no default. You can find some documentation at https://huggingface.co/docs/hub/datasets-manual-configuration#multiple-configurations
### Feature request Currently load_dataset() is forcing users to specify a subset. Example `from datasets import load_dataset dataset = load_dataset("m-a-p/COIG-CQIA")` ```--------------------------------------------------------------------------- ValueError Traceback (most recen...
25
load_dataset() should load all subsets, if no specific subset is specified ### Feature request Currently load_dataset() is forcing users to specify a subset. Example `from datasets import load_dataset dataset = load_dataset("m-a-p/COIG-CQIA")` ```---------------------------------------------------------------...
[ -0.4091421961784363, -0.07037521153688431, -0.13517147302627563, 0.17581580579280853, 0.029934324324131012, 0.17260676622390747, 0.554303765296936, 0.44273942708969116, 0.19543197751045227, 0.3112321197986603, -0.028206272050738335, 0.3462783098220825, -0.035520218312740326, 0.187638938426...
https://github.com/huggingface/datasets/issues/6951
load_dataset() should load all subsets, if no specific subset is specified
@lhoestq Whilst having a default subset readily available (e.g. `all`) by the dataset author is an ideal solution, it is not always the reality. Without the ability to fork the dataset, this can be problematic. As far as I know, it is not possible at all to specify multiple subsets in a generalized programmat...
### Feature request Currently load_dataset() is forcing users to specify a subset. Example `from datasets import load_dataset dataset = load_dataset("m-a-p/COIG-CQIA")` ```--------------------------------------------------------------------------- ValueError Traceback (most recen...
78
load_dataset() should load all subsets, if no specific subset is specified ### Feature request Currently load_dataset() is forcing users to specify a subset. Example `from datasets import load_dataset dataset = load_dataset("m-a-p/COIG-CQIA")` ```---------------------------------------------------------------...
[ -0.4091421961784363, -0.07037521153688431, -0.13517147302627563, 0.17581580579280853, 0.029934324324131012, 0.17260676622390747, 0.554303765296936, 0.44273942708969116, 0.19543197751045227, 0.3112321197986603, -0.028206272050738335, 0.3462783098220825, -0.035520218312740326, 0.187638938426...
https://github.com/huggingface/datasets/issues/6951
load_dataset() should load all subsets, if no specific subset is specified
Please note that each subset can have different feature columns, thus making it impossible to load them all into a unique Dataset instance. That is why subsets were created: to support different but related datasets to coexist in a single dataset repository. If you would like to programmatically get the list of s...
### Feature request Currently load_dataset() is forcing users to specify a subset. Example `from datasets import load_dataset dataset = load_dataset("m-a-p/COIG-CQIA")` ```--------------------------------------------------------------------------- ValueError Traceback (most recen...
59
load_dataset() should load all subsets, if no specific subset is specified ### Feature request Currently load_dataset() is forcing users to specify a subset. Example `from datasets import load_dataset dataset = load_dataset("m-a-p/COIG-CQIA")` ```---------------------------------------------------------------...
[ -0.4091421961784363, -0.07037521153688431, -0.13517147302627563, 0.17581580579280853, 0.029934324324131012, 0.17260676622390747, 0.554303765296936, 0.44273942708969116, 0.19543197751045227, 0.3112321197986603, -0.028206272050738335, 0.3462783098220825, -0.035520218312740326, 0.187638938426...
https://github.com/huggingface/datasets/issues/6950
`Dataset.with_format` behaves inconsistently with documentation
Hi ! It seems the documentation was outdated in this paragraph I fixed it here: https://github.com/huggingface/datasets/pull/6956
### Describe the bug The actual behavior of the interface `Dataset.with_format` is inconsistent with the documentation. https://huggingface.co/docs/datasets/use_with_pytorch#n-dimensional-arrays https://huggingface.co/docs/datasets/v2.19.0/en/use_with_tensorflow#n-dimensional-arrays > If your dataset consists of ...
16
`Dataset.with_format` behaves inconsistently with documentation ### Describe the bug The actual behavior of the interface `Dataset.with_format` is inconsistent with the documentation. https://huggingface.co/docs/datasets/use_with_pytorch#n-dimensional-arrays https://huggingface.co/docs/datasets/v2.19.0/en/use_with...
[ -0.14098818600177765, -0.8504533171653748, 0.04622528329491615, 0.36737358570098877, 0.1451461911201477, -0.06568746268749237, 0.5341942310333252, 0.17983390390872955, 0.1833527535200119, 0.16439074277877808, -0.15243518352508545, 0.4518921375274658, -0.10131584107875824, 0.122163482010364...
https://github.com/huggingface/datasets/issues/6949
load_dataset error
Hi, @lion-ops. In our Continuous Integration we have many tests on loading JSON files and all of them work properly. Could you please share your "train.json" file, so that we can try to reproduce the issue you have?
### Describe the bug Why does the program get stuck when I use load_dataset method, and it still gets stuck after loading for several hours? In fact, my json file is only 21m, and I can load it in one go using open('', 'r'). ### Steps to reproduce the bug 1. pip install datasets==2.19.2 2. from datasets import Data...
38
load_dataset error ### Describe the bug Why does the program get stuck when I use load_dataset method, and it still gets stuck after loading for several hours? In fact, my json file is only 21m, and I can load it in one go using open('', 'r'). ### Steps to reproduce the bug 1. pip install datasets==2.19.2 2. from...
[ -0.23484677076339722, -0.053065165877342224, -0.09888695180416107, 0.3112257122993469, 0.36609506607055664, 0.18837383389472961, 0.2913392186164856, 0.39364364743232727, 0.21029119193553925, 0.0901610478758812, 0.22338902950286865, 0.539984405040741, -0.022340942174196243, 0.27762705087661...
https://github.com/huggingface/datasets/issues/6949
load_dataset error
> Hi, @lion-ops. > > In our Continuous Integration we have many tests on loading JSON files and all of them work properly. > > Could you please share your "train.json" file, so that we can try to reproduce the issue you have? Thank you for your reply. I can load it normally in another server. Is it possible th...
### Describe the bug Why does the program get stuck when I use load_dataset method, and it still gets stuck after loading for several hours? In fact, my json file is only 21m, and I can load it in one go using open('', 'r'). ### Steps to reproduce the bug 1. pip install datasets==2.19.2 2. from datasets import Data...
83
load_dataset error ### Describe the bug Why does the program get stuck when I use load_dataset method, and it still gets stuck after loading for several hours? In fact, my json file is only 21m, and I can load it in one go using open('', 'r'). ### Steps to reproduce the bug 1. pip install datasets==2.19.2 2. from...
[ -0.1941034495830536, -0.09163274616003036, -0.1015826165676117, 0.3155893087387085, 0.2822381854057312, 0.16326147317886353, 0.3309028446674347, 0.31814953684806824, 0.29122239351272583, 0.12277227640151978, 0.22967812418937683, 0.5177155137062073, -0.002191421575844288, 0.2519207894802093...
https://github.com/huggingface/datasets/issues/6947
FileNotFoundError:error when loading C4 dataset
Hello, Are you sure you are really using datasets version 2.19.2? We just made the patch release yesterday specifically to fix this issue: - #6925 I can't reproduce the error: ```python In [1]: from datasets import load_dataset In [2]: ds = load_dataset('allenai/c4', data_files={'validation': 'en/c4-validat...
### Describe the bug can't load c4 datasets When I replace the datasets package to 2.12.2 I get raise datasets.utils.info_utils.ExpectedMoreSplits: {'train'} How can I fix this? ### Steps to reproduce the bug 1.from datasets import load_dataset 2.dataset = load_dataset('allenai/c4', data_files={'validat...
78
FileNotFoundError:error when loading C4 dataset ### Describe the bug can't load c4 datasets When I replace the datasets package to 2.12.2 I get raise datasets.utils.info_utils.ExpectedMoreSplits: {'train'} How can I fix this? ### Steps to reproduce the bug 1.from datasets import load_dataset 2.datase...
[ -0.21089638769626617, 0.24207264184951782, -0.0016655176877975464, 0.5616474747657776, 0.37238502502441406, 0.19671043753623962, -0.03392034396529198, 0.5606018304824829, -0.058565348386764526, 0.1154807060956955, 0.1204671636223793, 0.013291917741298676, -0.104865163564682, 0.167310938239...
https://github.com/huggingface/datasets/issues/6947
FileNotFoundError:error when loading C4 dataset
> Hello, > > Are you sure you are really using datasets version 2.19.2? We just made the patch release yesterday specifically to fix this issue: > > * [Fix NonMatchingSplitsSizesError/ExpectedMoreSplits when passing data_dir/data_files in no-code Hub datasets #6925](https://github.com/huggingface/datasets/pull/69...
### Describe the bug can't load c4 datasets When I replace the datasets package to 2.12.2 I get raise datasets.utils.info_utils.ExpectedMoreSplits: {'train'} How can I fix this? ### Steps to reproduce the bug 1.from datasets import load_dataset 2.dataset = load_dataset('allenai/c4', data_files={'validat...
138
FileNotFoundError:error when loading C4 dataset ### Describe the bug can't load c4 datasets When I replace the datasets package to 2.12.2 I get raise datasets.utils.info_utils.ExpectedMoreSplits: {'train'} How can I fix this? ### Steps to reproduce the bug 1.from datasets import load_dataset 2.datase...
[ -0.21089638769626617, 0.24207264184951782, -0.0016655176877975464, 0.5616474747657776, 0.37238502502441406, 0.19671043753623962, -0.03392034396529198, 0.5606018304824829, -0.058565348386764526, 0.1154807060956955, 0.1204671636223793, 0.013291917741298676, -0.104865163564682, 0.167310938239...
https://github.com/huggingface/datasets/issues/6947
FileNotFoundError:error when loading C4 dataset
That might be due to a corrupted cache. Please, retry loading the dataset passing: `download_mode="force_redownload"` ```python ds = load_dataset('allenai/c4', data_files={'validation': 'en/c4-validation.00003-of-00008.json.gz'}, split='validation', download_mode="force_redownload") ``` It the above command do...
### Describe the bug can't load c4 datasets When I replace the datasets package to 2.12.2 I get raise datasets.utils.info_utils.ExpectedMoreSplits: {'train'} How can I fix this? ### Steps to reproduce the bug 1.from datasets import load_dataset 2.dataset = load_dataset('allenai/c4', data_files={'validat...
49
FileNotFoundError:error when loading C4 dataset ### Describe the bug can't load c4 datasets When I replace the datasets package to 2.12.2 I get raise datasets.utils.info_utils.ExpectedMoreSplits: {'train'} How can I fix this? ### Steps to reproduce the bug 1.from datasets import load_dataset 2.datase...
[ -0.21089638769626617, 0.24207264184951782, -0.0016655176877975464, 0.5616474747657776, 0.37238502502441406, 0.19671043753623962, -0.03392034396529198, 0.5606018304824829, -0.058565348386764526, 0.1154807060956955, 0.1204671636223793, 0.013291917741298676, -0.104865163564682, 0.167310938239...
https://github.com/huggingface/datasets/issues/6947
FileNotFoundError:error when loading C4 dataset
> That might be due to a corrupted cache. > > Please, retry loading the dataset passing: `download_mode="force_redownload"` > > ```python > ds = load_dataset('allenai/c4', data_files={'validation': 'en/c4-validation.00003-of-00008.json.gz'}, split='validation', download_mode="force_redownload") > ``` > > It ...
### Describe the bug can't load c4 datasets When I replace the datasets package to 2.12.2 I get raise datasets.utils.info_utils.ExpectedMoreSplits: {'train'} How can I fix this? ### Steps to reproduce the bug 1.from datasets import load_dataset 2.dataset = load_dataset('allenai/c4', data_files={'validat...
104
FileNotFoundError:error when loading C4 dataset ### Describe the bug can't load c4 datasets When I replace the datasets package to 2.12.2 I get raise datasets.utils.info_utils.ExpectedMoreSplits: {'train'} How can I fix this? ### Steps to reproduce the bug 1.from datasets import load_dataset 2.datase...
[ -0.21089638769626617, 0.24207264184951782, -0.0016655176877975464, 0.5616474747657776, 0.37238502502441406, 0.19671043753623962, -0.03392034396529198, 0.5606018304824829, -0.058565348386764526, 0.1154807060956955, 0.1204671636223793, 0.013291917741298676, -0.104865163564682, 0.167310938239...
https://github.com/huggingface/datasets/issues/6947
FileNotFoundError:error when loading C4 dataset
> The two methods you mentioned above can not solve this problem, but the command line interface shows Downloading readme: 41.1kB [00:00, 281kB/s], and then FileNotFoundError appears. Same issue encountered.
### Describe the bug can't load c4 datasets When I replace the datasets package to 2.12.2 I get raise datasets.utils.info_utils.ExpectedMoreSplits: {'train'} How can I fix this? ### Steps to reproduce the bug 1.from datasets import load_dataset 2.dataset = load_dataset('allenai/c4', data_files={'validat...
30
FileNotFoundError:error when loading C4 dataset ### Describe the bug can't load c4 datasets When I replace the datasets package to 2.12.2 I get raise datasets.utils.info_utils.ExpectedMoreSplits: {'train'} How can I fix this? ### Steps to reproduce the bug 1.from datasets import load_dataset 2.datase...
[ -0.21089638769626617, 0.24207264184951782, -0.0016655176877975464, 0.5616474747657776, 0.37238502502441406, 0.19671043753623962, -0.03392034396529198, 0.5606018304824829, -0.058565348386764526, 0.1154807060956955, 0.1204671636223793, 0.013291917741298676, -0.104865163564682, 0.167310938239...
https://github.com/huggingface/datasets/issues/6947
FileNotFoundError:error when loading C4 dataset
I really think the issue is caused by a corrupted cache, between versions 2.12.0 (there does not exist 2.12.2 version) and 2.19.2. Are you sure you removed all the corresponding corrupted directories within the cache? You can easily check if the issue is caused by a corrupted cache by removing the entire cache: ...
### Describe the bug can't load c4 datasets When I replace the datasets package to 2.12.2 I get raise datasets.utils.info_utils.ExpectedMoreSplits: {'train'} How can I fix this? ### Steps to reproduce the bug 1.from datasets import load_dataset 2.dataset = load_dataset('allenai/c4', data_files={'validat...
72
FileNotFoundError:error when loading C4 dataset ### Describe the bug can't load c4 datasets When I replace the datasets package to 2.12.2 I get raise datasets.utils.info_utils.ExpectedMoreSplits: {'train'} How can I fix this? ### Steps to reproduce the bug 1.from datasets import load_dataset 2.datase...
[ -0.21089638769626617, 0.24207264184951782, -0.0016655176877975464, 0.5616474747657776, 0.37238502502441406, 0.19671043753623962, -0.03392034396529198, 0.5606018304824829, -0.058565348386764526, 0.1154807060956955, 0.1204671636223793, 0.013291917741298676, -0.104865163564682, 0.167310938239...
https://github.com/huggingface/datasets/issues/6947
FileNotFoundError:error when loading C4 dataset
@albertvillanova Thanks for the reply. I tried removing the entire cache and reloading the dataset as you suggest. However, the same issue still exists. As a test, I switch to a new platform, which (is a Windows system and) hasn't downloaded huggingface dataset before, and the dataset is loaded successfully. So I t...
### Describe the bug can't load c4 datasets When I replace the datasets package to 2.12.2 I get raise datasets.utils.info_utils.ExpectedMoreSplits: {'train'} How can I fix this? ### Steps to reproduce the bug 1.from datasets import load_dataset 2.dataset = load_dataset('allenai/c4', data_files={'validat...
86
FileNotFoundError:error when loading C4 dataset ### Describe the bug can't load c4 datasets When I replace the datasets package to 2.12.2 I get raise datasets.utils.info_utils.ExpectedMoreSplits: {'train'} How can I fix this? ### Steps to reproduce the bug 1.from datasets import load_dataset 2.datase...
[ -0.21089638769626617, 0.24207264184951782, -0.0016655176877975464, 0.5616474747657776, 0.37238502502441406, 0.19671043753623962, -0.03392034396529198, 0.5606018304824829, -0.058565348386764526, 0.1154807060956955, 0.1204671636223793, 0.013291917741298676, -0.104865163564682, 0.167310938239...
https://github.com/huggingface/datasets/issues/6947
FileNotFoundError:error when loading C4 dataset
Ho @ZhangGe6, As far as I know, that directory is the only one where the cache is saved, unless you configured another one. You can check it: ```python import datasets.config print(datasets.config.HF_CACHE_HOME) # ~/.cache/huggingface print(datasets.config.HF_DATASETS_CACHE) # ~/.cache/huggingface/datasets...
### Describe the bug can't load c4 datasets When I replace the datasets package to 2.12.2 I get raise datasets.utils.info_utils.ExpectedMoreSplits: {'train'} How can I fix this? ### Steps to reproduce the bug 1.from datasets import load_dataset 2.dataset = load_dataset('allenai/c4', data_files={'validat...
78
FileNotFoundError:error when loading C4 dataset ### Describe the bug can't load c4 datasets When I replace the datasets package to 2.12.2 I get raise datasets.utils.info_utils.ExpectedMoreSplits: {'train'} How can I fix this? ### Steps to reproduce the bug 1.from datasets import load_dataset 2.datase...
[ -0.21089638769626617, 0.24207264184951782, -0.0016655176877975464, 0.5616474747657776, 0.37238502502441406, 0.19671043753623962, -0.03392034396529198, 0.5606018304824829, -0.058565348386764526, 0.1154807060956955, 0.1204671636223793, 0.013291917741298676, -0.104865163564682, 0.167310938239...
https://github.com/huggingface/datasets/issues/6947
FileNotFoundError:error when loading C4 dataset
@albertvillanova I checked the directories you listed, and find that they are the same as the ones you provided. I am going to find more clues and will update what I find here.
### Describe the bug can't load c4 datasets When I replace the datasets package to 2.12.2 I get raise datasets.utils.info_utils.ExpectedMoreSplits: {'train'} How can I fix this? ### Steps to reproduce the bug 1.from datasets import load_dataset 2.dataset = load_dataset('allenai/c4', data_files={'validat...
33
FileNotFoundError:error when loading C4 dataset ### Describe the bug can't load c4 datasets When I replace the datasets package to 2.12.2 I get raise datasets.utils.info_utils.ExpectedMoreSplits: {'train'} How can I fix this? ### Steps to reproduce the bug 1.from datasets import load_dataset 2.datase...
[ -0.21089638769626617, 0.24207264184951782, -0.0016655176877975464, 0.5616474747657776, 0.37238502502441406, 0.19671043753623962, -0.03392034396529198, 0.5606018304824829, -0.058565348386764526, 0.1154807060956955, 0.1204671636223793, 0.013291917741298676, -0.104865163564682, 0.167310938239...
https://github.com/huggingface/datasets/issues/6947
FileNotFoundError:error when loading C4 dataset
I've had a similar problem, and for some reason decreasing the number of workers in the dataloader solved it
### Describe the bug can't load c4 datasets When I replace the datasets package to 2.12.2 I get raise datasets.utils.info_utils.ExpectedMoreSplits: {'train'} How can I fix this? ### Steps to reproduce the bug 1.from datasets import load_dataset 2.dataset = load_dataset('allenai/c4', data_files={'validat...
19
FileNotFoundError:error when loading C4 dataset ### Describe the bug can't load c4 datasets When I replace the datasets package to 2.12.2 I get raise datasets.utils.info_utils.ExpectedMoreSplits: {'train'} How can I fix this? ### Steps to reproduce the bug 1.from datasets import load_dataset 2.datase...
[ -0.21089638769626617, 0.24207264184951782, -0.0016655176877975464, 0.5616474747657776, 0.37238502502441406, 0.19671043753623962, -0.03392034396529198, 0.5606018304824829, -0.058565348386764526, 0.1154807060956955, 0.1204671636223793, 0.013291917741298676, -0.104865163564682, 0.167310938239...
https://github.com/huggingface/datasets/issues/6947
FileNotFoundError:error when loading C4 dataset
Hi folks. Finally, I find it is a network issue that causes huggingface hub unreachable (in China). To run the following script ```python from datasets import load_dataset ds = load_dataset('allenai/c4', data_files={'validation': 'en/c4-validation.00003-of-00008.json.gz'}, split='validation', download_mode="fo...
### Describe the bug can't load c4 datasets When I replace the datasets package to 2.12.2 I get raise datasets.utils.info_utils.ExpectedMoreSplits: {'train'} How can I fix this? ### Steps to reproduce the bug 1.from datasets import load_dataset 2.dataset = load_dataset('allenai/c4', data_files={'validat...
427
FileNotFoundError:error when loading C4 dataset ### Describe the bug can't load c4 datasets When I replace the datasets package to 2.12.2 I get raise datasets.utils.info_utils.ExpectedMoreSplits: {'train'} How can I fix this? ### Steps to reproduce the bug 1.from datasets import load_dataset 2.datase...
[ -0.21089638769626617, 0.24207264184951782, -0.0016655176877975464, 0.5616474747657776, 0.37238502502441406, 0.19671043753623962, -0.03392034396529198, 0.5606018304824829, -0.058565348386764526, 0.1154807060956955, 0.1204671636223793, 0.013291917741298676, -0.104865163564682, 0.167310938239...
https://github.com/huggingface/datasets/issues/6947
FileNotFoundError:error when loading C4 dataset
Thanks for the investigation: so finally it is an issue with the specific endpoint you are using. You properly opened an issue in their repo, so they can fix it. I am closing this issue here.
### Describe the bug can't load c4 datasets When I replace the datasets package to 2.12.2 I get raise datasets.utils.info_utils.ExpectedMoreSplits: {'train'} How can I fix this? ### Steps to reproduce the bug 1.from datasets import load_dataset 2.dataset = load_dataset('allenai/c4', data_files={'validat...
36
FileNotFoundError:error when loading C4 dataset ### Describe the bug can't load c4 datasets When I replace the datasets package to 2.12.2 I get raise datasets.utils.info_utils.ExpectedMoreSplits: {'train'} How can I fix this? ### Steps to reproduce the bug 1.from datasets import load_dataset 2.datase...
[ -0.21089638769626617, 0.24207264184951782, -0.0016655176877975464, 0.5616474747657776, 0.37238502502441406, 0.19671043753623962, -0.03392034396529198, 0.5606018304824829, -0.058565348386764526, 0.1154807060956955, 0.1204671636223793, 0.013291917741298676, -0.104865163564682, 0.167310938239...
https://github.com/huggingface/datasets/issues/6918
NonMatchingSplitsSizesError when using data_dir
I confirm there is a bug for data-based Hub datasets when the user passes `data_dir`, which was introduced by PR: - #6714
### Describe the bug Loading a dataset from with a data_dir argument generates a NonMatchingSplitsSizesError if there are multiple directories in the dataset. This appears to happen because the expected split is calculated based on the data in all the directories whereas the recorded split is calculated based on t...
22
NonMatchingSplitsSizesError when using data_dir ### Describe the bug Loading a dataset from with a data_dir argument generates a NonMatchingSplitsSizesError if there are multiple directories in the dataset. This appears to happen because the expected split is calculated based on the data in all the directories w...
[ -0.4367188513278961, -0.034657709300518036, 0.05221470817923546, 0.48634594678878784, 0.22373579442501068, -0.09071817994117737, 0.17425194382667542, 0.2126016765832901, 0.07993270456790924, 0.3061354160308838, 0.014042005874216557, 0.17526932060718536, -0.11278300732374191, -0.11737965792...
https://github.com/huggingface/datasets/issues/6912
Add MedImg for streaming
@mariosasko, @lhoestq, @albertvillanova Hello! Can anyone help? or can you guys suggest who can help with this?
### Feature request Host the MedImg dataset (similar to Imagenet but for biomedical images). ### Motivation There is a clear need for biomedical image foundation models and large scale biomedical datasets that are easily streamable. This would be an excellent tool for the biomedical community. ### Your con...
17
Add MedImg for streaming ### Feature request Host the MedImg dataset (similar to Imagenet but for biomedical images). ### Motivation There is a clear need for biomedical image foundation models and large scale biomedical datasets that are easily streamable. This would be an excellent tool for the biomedical...
[ -0.2861972153186798, -0.3213261365890503, -0.09918093681335449, -0.2420905977487564, 0.07295873761177063, 0.05930160731077194, 0.2898709774017334, 0.10640892386436462, 0.034616198390722275, 0.13778111338615417, 0.07374624162912369, -0.2378767877817154, -0.3054817020893097, 0.38244700431823...
https://github.com/huggingface/datasets/issues/6912
Add MedImg for streaming
Hi ! Feel free to download the dataset and create a `Dataset` object with it. Then your'll be able to use `push_to_hub()` to upload the dataset to HF in Parquet format and make it streamable :)
### Feature request Host the MedImg dataset (similar to Imagenet but for biomedical images). ### Motivation There is a clear need for biomedical image foundation models and large scale biomedical datasets that are easily streamable. This would be an excellent tool for the biomedical community. ### Your con...
36
Add MedImg for streaming ### Feature request Host the MedImg dataset (similar to Imagenet but for biomedical images). ### Motivation There is a clear need for biomedical image foundation models and large scale biomedical datasets that are easily streamable. This would be an excellent tool for the biomedical...
[ -0.4164353907108307, -0.25585418939590454, -0.04407283291220665, -0.28593242168426514, -0.01625608280301094, 0.010793253779411316, 0.14317403733730316, 0.29300716519355774, 0.07656009495258331, 0.19295969605445862, -0.0932362750172615, -0.12234219908714294, -0.23415006697177887, 0.42462179...
https://github.com/huggingface/datasets/issues/6912
Add MedImg for streaming
> Hi ! Feel free to download the dataset and create a `Dataset` object with it. > > Then your'll be able to use `push_to_hub()` to upload the dataset to HF in Parquet format and make it streamable :) The dataset is several TB in total, which I do not have the resources to handle.
### Feature request Host the MedImg dataset (similar to Imagenet but for biomedical images). ### Motivation There is a clear need for biomedical image foundation models and large scale biomedical datasets that are easily streamable. This would be an excellent tool for the biomedical community. ### Your con...
55
Add MedImg for streaming ### Feature request Host the MedImg dataset (similar to Imagenet but for biomedical images). ### Motivation There is a clear need for biomedical image foundation models and large scale biomedical datasets that are easily streamable. This would be an excellent tool for the biomedical...
[ -0.41037753224372864, -0.2665448784828186, -0.044674526900053024, -0.2591034173965454, -0.020679425448179245, 0.02880268543958664, 0.16566380858421326, 0.2962283194065094, 0.07153855264186859, 0.18816135823726654, -0.0778123140335083, -0.12670128047466278, -0.27610868215560913, 0.417926609...
https://github.com/huggingface/datasets/issues/6908
Fail to load "stas/c4-en-10k" dataset since 2.16 version
I am not able to reproduce the error with datasets 2.19.1: ```python In [1]: from datasets import load_dataset; ds = load_dataset("stas/c4-en-10k", streaming=True); item = next(iter(ds["train"])); item Out[1]: {'text': 'Beginners BBQ Class Taking Place in Missoula!\nDo you want to get better at making delicious BBQ?...
### Describe the bug When update datasets library to version 2.16+ ( I test it on 2.16, 2.19.0 and 2.19.1), using the following code to load stas/c4-en-10k dataset ```python from datasets import load_dataset, Dataset dataset = load_dataset('stas/c4-en-10k') ``` and then it raise UnicodeDecodeError like ...
273
Fail to load "stas/c4-en-10k" dataset since 2.16 version ### Describe the bug When update datasets library to version 2.16+ ( I test it on 2.16, 2.19.0 and 2.19.1), using the following code to load stas/c4-en-10k dataset ```python from datasets import load_dataset, Dataset dataset = load_dataset('stas/c4-en-...
[ -0.42146602272987366, 0.3764933943748474, -0.07404647767543793, 0.36731088161468506, 0.4450117349624634, -0.05591262876987457, 0.2454860359430313, 0.30949077010154724, -0.20614676177501678, -0.0361345112323761, -0.0010704058222472668, 0.3222656548023224, -0.11977250128984451, 0.19191363453...
https://github.com/huggingface/datasets/issues/6908
Fail to load "stas/c4-en-10k" dataset since 2.16 version
Thanks for your reply! After I update the datasets version from 2.15.0 back to 2.19.1 again, it seems everything work well. Sorry for bordering you!
### Describe the bug When update datasets library to version 2.16+ ( I test it on 2.16, 2.19.0 and 2.19.1), using the following code to load stas/c4-en-10k dataset ```python from datasets import load_dataset, Dataset dataset = load_dataset('stas/c4-en-10k') ``` and then it raise UnicodeDecodeError like ...
25
Fail to load "stas/c4-en-10k" dataset since 2.16 version ### Describe the bug When update datasets library to version 2.16+ ( I test it on 2.16, 2.19.0 and 2.19.1), using the following code to load stas/c4-en-10k dataset ```python from datasets import load_dataset, Dataset dataset = load_dataset('stas/c4-en-...
[ -0.42146602272987366, 0.3764933943748474, -0.07404647767543793, 0.36731088161468506, 0.4450117349624634, -0.05591262876987457, 0.2454860359430313, 0.30949077010154724, -0.20614676177501678, -0.0361345112323761, -0.0010704058222472668, 0.3222656548023224, -0.11977250128984451, 0.19191363453...
https://github.com/huggingface/datasets/issues/6907
Support the deserialization of json lines files comprised of lists
Update: I ended up deciding to go back to use lines of dictionaries instead of arrays, not because of this issue as my users would be capable of downloading my corpus without `datasets`, but the speed and storage savings are not currently worth breaking my API and harming the backwards compatibility of each new revisio...
### Feature request I manage a somewhat large and popular Hugging Face dataset known as the [Open Australian Legal Corpus](https://huggingface.co/datasets/umarbutler/open-australian-legal-corpus). I recently updated my corpus to be stored in a json lines file where each line is an array and each element represents a v...
106
Support the deserialization of json lines files comprised of lists ### Feature request I manage a somewhat large and popular Hugging Face dataset known as the [Open Australian Legal Corpus](https://huggingface.co/datasets/umarbutler/open-australian-legal-corpus). I recently updated my corpus to be stored in a json l...
[ -0.2597907781600952, 0.43231189250946045, -0.1315462589263916, 0.1111641377210617, 0.062154609709978104, 0.24620914459228516, 0.3321286141872406, 0.2883516252040863, 0.44785329699516296, 0.08555439114570618, 0.046071723103523254, 0.34605273604393005, -0.21192318201065063, 0.119704343378543...
https://github.com/huggingface/datasets/issues/6906
irc_disentangle - Issue with splitting data
Thank you I will try this out! On Tue, Jun 11, 2024 at 3:55 AM Vincent Lau ***@***.***> wrote: > I add a "streaming=True" after the name of the dataset, and it > works.....hope it can help you > > And if you install the version datasets==2.15.0, this bug will not happen. > I don't know why, but all of them w...
### Describe the bug I am trying to access your database through python using "datasets.load_dataset("irc_disentangle")" and I am getting this error message: ValueError: Instruction "train" corresponds to no data! ### Steps to reproduce the bug import datasets ds = datasets.load_dataset('irc_disentangle') ds #...
98
irc_disentangle - Issue with splitting data ### Describe the bug I am trying to access your database through python using "datasets.load_dataset("irc_disentangle")" and I am getting this error message: ValueError: Instruction "train" corresponds to no data! ### Steps to reproduce the bug import datasets ds = d...
[ -0.12177981436252594, -0.15624012053012848, -0.01351191382855177, 0.49004703760147095, 0.050594642758369446, 0.011658065021038055, 0.5269235968589783, 0.3415123522281647, 0.38264036178588867, 0.26357030868530273, -0.05233416706323624, 0.20088085532188416, -0.07142454385757446, 0.1108420863...