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/2913
timit_asr dataset only includes one text phrase
Hi @margotwagner, Yes, as @bhavitvyamalik has commented, this bug was fixed in `datasets` version 1.5.0. You need to update it, as your current version is 1.4.1: > Environment info > - `datasets` version: 1.4.1
## Describe the bug The dataset 'timit_asr' only includes one text phrase. It only includes the transcription "Would such an act of refusal be useful?" multiple times rather than different phrases. ## Steps to reproduce the bug Note: I am following the tutorial https://huggingface.co/blog/fine-tune-wav2vec2-englis...
34
timit_asr dataset only includes one text phrase ## Describe the bug The dataset 'timit_asr' only includes one text phrase. It only includes the transcription "Would such an act of refusal be useful?" multiple times rather than different phrases. ## Steps to reproduce the bug Note: I am following the tutorial htt...
[ 0.16129040718078613, -0.13805419206619263, -0.020553534850478172, 0.22738602757453918, 0.11762408167123795, -0.15759752690792084, 0.2670057415962219, 0.2965661883354187, -0.5154975056648254, 0.28040811419487, 0.14544206857681274, 0.450861394405365, -0.09352809190750122, -0.1810211241245269...
https://github.com/huggingface/datasets/issues/2904
FORCE_REDOWNLOAD does not work
Hi ! Thanks for reporting. The error seems to happen only if you use compressed files. The second dataset is prepared in another dataset cache directory than the first - which is normal, since the source file is different. However, it doesn't uncompress the new data file because it finds the old uncompressed data in...
## Describe the bug With GenerateMode.FORCE_REDOWNLOAD, the documentation says +------------------------------------+-----------+---------+ | | Downloads | Dataset | +====================================+===========+=========+ | `REUSE_DATASET_IF_EXISTS` (default...
99
FORCE_REDOWNLOAD does not work ## Describe the bug With GenerateMode.FORCE_REDOWNLOAD, the documentation says +------------------------------------+-----------+---------+ | | Downloads | Dataset | +====================================+===========+=========+ | `...
[ -0.12534008920192719, 0.020780518651008606, 0.0185130275785923, 0.025713805109262466, 0.1821044683456421, 0.025193117558956146, 0.47886624932289124, 0.24383316934108734, 0.14579562842845917, -0.2338697463274002, -0.1162828803062439, 0.26873958110809326, 0.08507484197616577, 0.1121126040816...
https://github.com/huggingface/datasets/issues/2904
FORCE_REDOWNLOAD does not work
Facing the same issue, is there any way to overtake this issue until it will be fixed?
## Describe the bug With GenerateMode.FORCE_REDOWNLOAD, the documentation says +------------------------------------+-----------+---------+ | | Downloads | Dataset | +====================================+===========+=========+ | `REUSE_DATASET_IF_EXISTS` (default...
17
FORCE_REDOWNLOAD does not work ## Describe the bug With GenerateMode.FORCE_REDOWNLOAD, the documentation says +------------------------------------+-----------+---------+ | | Downloads | Dataset | +====================================+===========+=========+ | `...
[ -0.12534008920192719, 0.020780518651008606, 0.0185130275785923, 0.025713805109262466, 0.1821044683456421, 0.025193117558956146, 0.47886624932289124, 0.24383316934108734, 0.14579562842845917, -0.2338697463274002, -0.1162828803062439, 0.26873958110809326, 0.08507484197616577, 0.1121126040816...
https://github.com/huggingface/datasets/issues/2902
Add WIT Dataset
WikiMedia is now hosting the pixel values directly which should make it a lot easier! The files can be found here: https://techblog.wikimedia.org/2021/09/09/the-wikipedia-image-caption-matching-challenge-and-a-huge-release-of-image-data-for-research/ https://analytics.wikimedia.org/published/datasets/one-off/caption...
## Adding a Dataset - **Name:** *WIT* - **Description:** *Wikipedia-based Image Text Dataset* - **Paper:** *[WIT: Wikipedia-based Image Text Dataset for Multimodal Multilingual Machine Learning ](https://arxiv.org/abs/2103.01913)* - **Data:** *https://github.com/google-research-datasets/wit* - **Motivation:** (e...
23
Add WIT Dataset ## Adding a Dataset - **Name:** *WIT* - **Description:** *Wikipedia-based Image Text Dataset* - **Paper:** *[WIT: Wikipedia-based Image Text Dataset for Multimodal Multilingual Machine Learning ](https://arxiv.org/abs/2103.01913)* - **Data:** *https://github.com/google-research-datasets/wit* - *...
[ -0.04978598654270172, -0.054744549095630646, -0.12806665897369385, 0.0003002732992172241, -0.039353907108306885, -0.007131397724151611, 0.35460472106933594, 0.16591469943523407, 0.19368556141853333, 0.20558080077171326, 0.0639800950884819, 0.14600682258605957, -0.024292461574077606, 0.1997...
https://github.com/huggingface/datasets/issues/2902
Add WIT Dataset
> @hassiahk is working on it #2810 Thank you @bhavitvyamalik! Added this issue so we could track progress 😄 . Just linked the PR as well for visibility.
## Adding a Dataset - **Name:** *WIT* - **Description:** *Wikipedia-based Image Text Dataset* - **Paper:** *[WIT: Wikipedia-based Image Text Dataset for Multimodal Multilingual Machine Learning ](https://arxiv.org/abs/2103.01913)* - **Data:** *https://github.com/google-research-datasets/wit* - **Motivation:** (e...
28
Add WIT Dataset ## Adding a Dataset - **Name:** *WIT* - **Description:** *Wikipedia-based Image Text Dataset* - **Paper:** *[WIT: Wikipedia-based Image Text Dataset for Multimodal Multilingual Machine Learning ](https://arxiv.org/abs/2103.01913)* - **Data:** *https://github.com/google-research-datasets/wit* - *...
[ -0.08095172047615051, -0.22145527601242065, -0.19897304475307465, 0.013309121131896973, 0.054856739938259125, 0.001287907361984253, 0.43179604411125183, 0.09052737057209015, 0.29725101590156555, 0.1470828354358673, -0.014002598822116852, 0.11782059818506241, -0.18012918531894684, 0.2750625...
https://github.com/huggingface/datasets/issues/2902
Add WIT Dataset
Hey folks, we are now hosting the merged pixel values + embeddings + metadata ourselves. I gave it a try - [nateraw/wit](https://huggingface.co/datasets/nateraw/wit) **⚠️ - Make sure you add `streaming=True` unless you're prepared to download 400GB of data!** ```python from datasets import load_dataset ds = l...
## Adding a Dataset - **Name:** *WIT* - **Description:** *Wikipedia-based Image Text Dataset* - **Paper:** *[WIT: Wikipedia-based Image Text Dataset for Multimodal Multilingual Machine Learning ](https://arxiv.org/abs/2103.01913)* - **Data:** *https://github.com/google-research-datasets/wit* - **Motivation:** (e...
82
Add WIT Dataset ## Adding a Dataset - **Name:** *WIT* - **Description:** *Wikipedia-based Image Text Dataset* - **Paper:** *[WIT: Wikipedia-based Image Text Dataset for Multimodal Multilingual Machine Learning ](https://arxiv.org/abs/2103.01913)* - **Data:** *https://github.com/google-research-datasets/wit* - *...
[ -0.11279359459877014, -0.36605578660964966, -0.07434743642807007, 0.09898689389228821, 0.15717095136642456, 0.0002972930669784546, 0.3201468586921692, 0.1798594743013382, 0.10645535588264465, 0.18028226494789124, -0.1281454861164093, 0.09169849753379822, -0.09614535421133041, 0.27813091874...
https://github.com/huggingface/datasets/issues/2902
Add WIT Dataset
Hi! `datasets` now hosts two versions of the WIT dataset: * [`google/wit`](https://huggingface.co/datasets/google/wit): Google's version with the image URLs * [`wikimedia/wit_base`](https://huggingface.co/datasets/wikimedia/wit_base): Wikimedia's version with the images + ResNet embeddings, but with less data than Go...
## Adding a Dataset - **Name:** *WIT* - **Description:** *Wikipedia-based Image Text Dataset* - **Paper:** *[WIT: Wikipedia-based Image Text Dataset for Multimodal Multilingual Machine Learning ](https://arxiv.org/abs/2103.01913)* - **Data:** *https://github.com/google-research-datasets/wit* - **Motivation:** (e...
35
Add WIT Dataset ## Adding a Dataset - **Name:** *WIT* - **Description:** *Wikipedia-based Image Text Dataset* - **Paper:** *[WIT: Wikipedia-based Image Text Dataset for Multimodal Multilingual Machine Learning ](https://arxiv.org/abs/2103.01913)* - **Data:** *https://github.com/google-research-datasets/wit* - *...
[ -0.03503844514489174, -0.16138237714767456, -0.14476576447486877, 0.07061531394720078, 0.03742729872465134, 0.02258399873971939, 0.39336997270584106, 0.08038744330406189, 0.3261454403400421, 0.272249698638916, -0.11120790243148804, 0.029885031282901764, -0.0905885100364685, 0.2014474719762...
https://github.com/huggingface/datasets/issues/2901
Incompatibility with pytest
Sorry, my bad... When implementing `xpathopen`, I just considered the use case in the COUNTER dataset... I'm fixing it!
## Describe the bug pytest complains about xpathopen / path.open("w") ## Steps to reproduce the bug Create a test file, `test.py`: ```python import datasets as ds def load_dataset(): ds.load_dataset("counter", split="train", streaming=True) ``` And launch it with pytest: ```bash python -m pyt...
19
Incompatibility with pytest ## Describe the bug pytest complains about xpathopen / path.open("w") ## Steps to reproduce the bug Create a test file, `test.py`: ```python import datasets as ds def load_dataset(): ds.load_dataset("counter", split="train", streaming=True) ``` And launch it with pyt...
[ -0.3016418218612671, -0.19038726389408112, -0.024149369448423386, 0.09902916848659515, 0.31303954124450684, -0.13014090061187744, 0.31149885058403015, 0.2646484076976776, -0.10267788171768188, 0.251555860042572, -0.032941289246082306, 0.3579747676849365, -0.04996734857559204, 0.08787132054...
https://github.com/huggingface/datasets/issues/2892
Error when encoding a dataset with None objects with a Sequence feature
This has been fixed by https://github.com/huggingface/datasets/pull/2900 We're doing a new release 1.12 today to make the fix available :)
There is an error when encoding a dataset with None objects with a Sequence feature To reproduce: ```python from datasets import Dataset, Features, Value, Sequence data = {"a": [[0], None]} features = Features({"a": Sequence(Value("int32"))}) dataset = Dataset.from_dict(data, features=features) ``` raises ...
19
Error when encoding a dataset with None objects with a Sequence feature There is an error when encoding a dataset with None objects with a Sequence feature To reproduce: ```python from datasets import Dataset, Features, Value, Sequence data = {"a": [[0], None]} features = Features({"a": Sequence(Value("int32")...
[ -0.08303433656692505, -0.25024402141571045, -0.03862566500902176, 0.30153924226760864, 0.20768888294696808, 0.07883698493242264, 0.5001561641693115, 0.14941585063934326, 0.12552940845489502, 0.14210647344589233, 0.32856374979019165, 0.05083965137600899, -0.29675784707069397, 0.342060416936...
https://github.com/huggingface/datasets/issues/2888
v1.11.1 release date
@albertvillanova i think this issue is still valid and should not be closed till `>1.11.0` is published :)
Hello, i need to use latest features in one of my packages but there have been no new datasets release since 2 months ago. When do you plan to publush v1.11.1 release?
18
v1.11.1 release date Hello, i need to use latest features in one of my packages but there have been no new datasets release since 2 months ago. When do you plan to publush v1.11.1 release? @albertvillanova i think this issue is still valid and should not be closed till `>1.11.0` is published :)
[ -0.25343239307403564, -0.14359179139137268, -0.11700831353664398, 0.12509724497795105, -0.08036188781261444, -0.20694395899772644, 0.3182258903980255, 0.2595033049583435, -0.2662111818790436, 0.2432926893234253, 0.44982314109802246, -0.07759902626276016, -0.009268254972994328, 0.3775974512...
https://github.com/huggingface/datasets/issues/2885
Adding an Elastic Search index to a Dataset
Hi, is this bug deterministic in your poetry env ? I mean, does it always stop at 90% or is it random ? Also, can you try using another version of Elasticsearch ? Maybe there's an issue with the one of you poetry env
## Describe the bug When trying to index documents from the squad dataset, the connection to ElasticSearch seems to break: Reusing dataset squad (/Users/andreasmotz/.cache/huggingface/datasets/squad/plain_text/1.0.0/d6ec3ceb99ca480ce37cdd35555d6cb2511d223b9150cce08a837ef62ffea453) 90%|████████████████████████████...
44
Adding an Elastic Search index to a Dataset ## Describe the bug When trying to index documents from the squad dataset, the connection to ElasticSearch seems to break: Reusing dataset squad (/Users/andreasmotz/.cache/huggingface/datasets/squad/plain_text/1.0.0/d6ec3ceb99ca480ce37cdd35555d6cb2511d223b9150cce08a837e...
[ -0.14233584702014923, 0.1727278232574463, -0.0044714584946632385, 0.04009624570608139, 0.0997370183467865, 0.027367956936359406, -0.013203900307416916, 0.06842222064733505, 0.013825751841068268, 0.05311555415391922, -0.03955882042646408, 0.3000072240829468, 0.34994396567344666, -0.37816259...
https://github.com/huggingface/datasets/issues/2885
Adding an Elastic Search index to a Dataset
I face similar issue with oscar dataset on remote ealsticsearch instance. It was mainly due to timeout of batch indexing requests and I solve these by adding large request_timeout param in `search.py` ``` for ok, action in es.helpers.streaming_bulk( client=self.es_client, index=inde...
## Describe the bug When trying to index documents from the squad dataset, the connection to ElasticSearch seems to break: Reusing dataset squad (/Users/andreasmotz/.cache/huggingface/datasets/squad/plain_text/1.0.0/d6ec3ceb99ca480ce37cdd35555d6cb2511d223b9150cce08a837ef62ffea453) 90%|████████████████████████████...
44
Adding an Elastic Search index to a Dataset ## Describe the bug When trying to index documents from the squad dataset, the connection to ElasticSearch seems to break: Reusing dataset squad (/Users/andreasmotz/.cache/huggingface/datasets/squad/plain_text/1.0.0/d6ec3ceb99ca480ce37cdd35555d6cb2511d223b9150cce08a837e...
[ -0.14233584702014923, 0.1727278232574463, -0.0044714584946632385, 0.04009624570608139, 0.0997370183467865, 0.027367956936359406, -0.013203900307416916, 0.06842222064733505, 0.013825751841068268, 0.05311555415391922, -0.03955882042646408, 0.3000072240829468, 0.34994396567344666, -0.37816259...
https://github.com/huggingface/datasets/issues/2885
Adding an Elastic Search index to a Dataset
Hi @MotzWanted - are there any errors in the Elasticsearch cluster logs? Since it works in your local environment and the cluster versions are different between your poetry env and your local env, it is possible that it is some difference in the cluster - either settings or the cluster being under a different load etc ...
## Describe the bug When trying to index documents from the squad dataset, the connection to ElasticSearch seems to break: Reusing dataset squad (/Users/andreasmotz/.cache/huggingface/datasets/squad/plain_text/1.0.0/d6ec3ceb99ca480ce37cdd35555d6cb2511d223b9150cce08a837ef62ffea453) 90%|████████████████████████████...
160
Adding an Elastic Search index to a Dataset ## Describe the bug When trying to index documents from the squad dataset, the connection to ElasticSearch seems to break: Reusing dataset squad (/Users/andreasmotz/.cache/huggingface/datasets/squad/plain_text/1.0.0/d6ec3ceb99ca480ce37cdd35555d6cb2511d223b9150cce08a837e...
[ -0.14233584702014923, 0.1727278232574463, -0.0044714584946632385, 0.04009624570608139, 0.0997370183467865, 0.027367956936359406, -0.013203900307416916, 0.06842222064733505, 0.013825751841068268, 0.05311555415391922, -0.03955882042646408, 0.3000072240829468, 0.34994396567344666, -0.37816259...
https://github.com/huggingface/datasets/issues/2882
`load_dataset('docred')` results in a `NonMatchingChecksumError`
Hi @tmpr, thanks for reporting. Two weeks ago (23th Aug), the host of the source `docred` dataset updated one of the files (`dev.json`): you can see it [here](https://drive.google.com/drive/folders/1c5-0YwnoJx8NS6CV2f-NoTHR__BdkNqw). Therefore, the checksum needs to be updated. Normally, in the meantime, you c...
## Describe the bug I get consistent `NonMatchingChecksumError: Checksums didn't match for dataset source files` errors when trying to execute `datasets.load_dataset('docred')`. ## Steps to reproduce the bug It is quasi only this code: ```python import datasets data = datasets.load_dataset('docred') ``` ## ...
69
`load_dataset('docred')` results in a `NonMatchingChecksumError` ## Describe the bug I get consistent `NonMatchingChecksumError: Checksums didn't match for dataset source files` errors when trying to execute `datasets.load_dataset('docred')`. ## Steps to reproduce the bug It is quasi only this code: ```python ...
[ -0.2659097909927368, 0.3422715365886688, 0.03556373342871666, 0.3098551034927368, 0.21419718861579895, 0.04043114185333252, 0.3646675944328308, 0.42015591263771057, 0.3040308356285095, 0.07150343060493469, -0.27686527371406555, 0.1901196986436844, 0.13069692254066467, -0.1951126754283905, ...
https://github.com/huggingface/datasets/issues/2879
In v1.4.1, all TIMIT train transcripts are "Would such an act of refusal be useful?"
Hi @rcgale, thanks for reporting. Please note that this bug was fixed on `datasets` version 1.5.0: https://github.com/huggingface/datasets/commit/a23c73e526e1c30263834164f16f1fdf76722c8c#diff-f12a7a42d4673bb6c2ca5a40c92c29eb4fe3475908c84fd4ce4fad5dc2514878 If you update `datasets` version, that should work. On...
## Describe the bug Using version 1.4.1 of `datasets`, TIMIT transcripts are all the same. ## Steps to reproduce the bug I was following this tutorial - https://huggingface.co/blog/fine-tune-wav2vec2-english But here's a distilled repro: ```python !pip install datasets==1.4.1 from datasets import load_datas...
46
In v1.4.1, all TIMIT train transcripts are "Would such an act of refusal be useful?" ## Describe the bug Using version 1.4.1 of `datasets`, TIMIT transcripts are all the same. ## Steps to reproduce the bug I was following this tutorial - https://huggingface.co/blog/fine-tune-wav2vec2-english But here's a dis...
[ 0.12485325336456299, -0.05359340459108353, 0.029330667108297348, 0.07397963851690292, 0.20472824573516846, -0.024577025324106216, 0.24893853068351746, 0.4213002920150757, -0.47469136118888855, 0.17516227066516876, 0.13618402183055878, 0.5513860583305359, -0.3347691297531128, -0.08509541302...
https://github.com/huggingface/datasets/issues/2879
In v1.4.1, all TIMIT train transcripts are "Would such an act of refusal be useful?"
I just proposed a change in the blog post. I had assumed there was a data format change that broke a previous version of the code, since presumably @patrickvonplaten tested the tutorial with the version they explicitly referenced. But that fix you linked suggests a problem in the code, which surprised me. I still...
## Describe the bug Using version 1.4.1 of `datasets`, TIMIT transcripts are all the same. ## Steps to reproduce the bug I was following this tutorial - https://huggingface.co/blog/fine-tune-wav2vec2-english But here's a distilled repro: ```python !pip install datasets==1.4.1 from datasets import load_datas...
134
In v1.4.1, all TIMIT train transcripts are "Would such an act of refusal be useful?" ## Describe the bug Using version 1.4.1 of `datasets`, TIMIT transcripts are all the same. ## Steps to reproduce the bug I was following this tutorial - https://huggingface.co/blog/fine-tune-wav2vec2-english But here's a dis...
[ -0.08848506212234497, 0.037396758794784546, -0.021385613828897476, 0.14961233735084534, -0.01892644166946411, -0.07773514837026596, 0.22454962134361267, 0.36217764019966125, -0.42949017882347107, 0.16333678364753723, 0.1525297909975052, 0.26245713233947754, -0.4324905276298523, -0.02013104...
https://github.com/huggingface/datasets/issues/2877
Don't keep the dummy data folder or dataset_infos.json when resolving data files
Hi @lhoestq I am new to huggingface datasets, I would like to work on this issue!
When there's no dataset script, all the data files of a folder or a repository on the Hub are loaded as data files. There are already a few exceptions: - files starting with "." are ignored - the dataset card "README.md" is ignored - any file named "config.json" is ignored (currently it isn't used anywhere, but i...
16
Don't keep the dummy data folder or dataset_infos.json when resolving data files When there's no dataset script, all the data files of a folder or a repository on the Hub are loaded as data files. There are already a few exceptions: - files starting with "." are ignored - the dataset card "README.md" is ignored ...
[ -0.1615230143070221, -0.07272189855575562, 0.000013710930943489075, 0.28439226746559143, 0.17584611475467682, 0.04131053388118744, 0.20755453407764435, 0.3739944100379944, 0.24081483483314514, 0.220515638589859, -0.10307859629392624, 0.24788334965705872, 0.029995068907737732, 0.39906942844...
https://github.com/huggingface/datasets/issues/2877
Don't keep the dummy data folder or dataset_infos.json when resolving data files
Thanks for the help :) As mentioned in the PR, excluding files named "dummy_data.zip" is actually more general than excluding the files inside a "dummy" folder. I just did the change in the PR, I think we can merge it now
When there's no dataset script, all the data files of a folder or a repository on the Hub are loaded as data files. There are already a few exceptions: - files starting with "." are ignored - the dataset card "README.md" is ignored - any file named "config.json" is ignored (currently it isn't used anywhere, but i...
41
Don't keep the dummy data folder or dataset_infos.json when resolving data files When there's no dataset script, all the data files of a folder or a repository on the Hub are loaded as data files. There are already a few exceptions: - files starting with "." are ignored - the dataset card "README.md" is ignored ...
[ -0.2584907114505768, 0.18854600191116333, -0.09153765439987183, 0.03493957966566086, 0.14936582744121552, -0.0548262894153595, 0.16793909668922424, 0.5366547107696533, 0.12639588117599487, 0.22963756322860718, 0.04199273884296417, 0.4573584198951721, 0.02537013590335846, 0.2196805924177169...
https://github.com/huggingface/datasets/issues/2871
datasets.config.PYARROW_VERSION has no attribute 'major'
Hi @bwang482, I'm sorry but I'm not able to reproduce your bug. Please note that in our current master branch, we made a commit (d03223d4d64b89e76b48b00602aba5aa2f817f1e) that simultaneously modified: - test_dataset_common.py: https://github.com/huggingface/datasets/commit/d03223d4d64b89e76b48b00602aba5aa2f817f1...
In the test_dataset_common.py script, line 288-289 ``` if datasets.config.PYARROW_VERSION.major < 3: packaged_datasets = [pd for pd in packaged_datasets if pd["dataset_name"] != "parquet"] ``` which throws the error below. `datasets.config.PYARROW_VERSION` itself return the string '4.0.1'. I have tested thi...
47
datasets.config.PYARROW_VERSION has no attribute 'major' In the test_dataset_common.py script, line 288-289 ``` if datasets.config.PYARROW_VERSION.major < 3: packaged_datasets = [pd for pd in packaged_datasets if pd["dataset_name"] != "parquet"] ``` which throws the error below. `datasets.config.PYARROW_V...
[ -0.3742082715034485, 0.14785832166671753, 0.08840727806091309, 0.045886192470788956, 0.2804539203643799, 0.12814956903457642, 0.15311044454574585, 0.37765130400657654, -0.24275553226470947, 0.20112179219722748, 0.30520206689834595, 0.41770321130752563, -0.18650119006633759, 0.1149606481194...
https://github.com/huggingface/datasets/issues/2871
datasets.config.PYARROW_VERSION has no attribute 'major'
Reopening this. Although the `test_dataset_common.py` script works fine now. Has this got something to do with my pull request not passing `ci/circleci: run_dataset_script_tests_pyarrow` tests? https://github.com/huggingface/datasets/pull/2873
In the test_dataset_common.py script, line 288-289 ``` if datasets.config.PYARROW_VERSION.major < 3: packaged_datasets = [pd for pd in packaged_datasets if pd["dataset_name"] != "parquet"] ``` which throws the error below. `datasets.config.PYARROW_VERSION` itself return the string '4.0.1'. I have tested thi...
25
datasets.config.PYARROW_VERSION has no attribute 'major' In the test_dataset_common.py script, line 288-289 ``` if datasets.config.PYARROW_VERSION.major < 3: packaged_datasets = [pd for pd in packaged_datasets if pd["dataset_name"] != "parquet"] ``` which throws the error below. `datasets.config.PYARROW_V...
[ -0.34133780002593994, 0.2006242275238037, 0.04937295988202095, 0.057189442217350006, 0.11079445481300354, 0.08544468134641647, 0.23533955216407776, 0.28167274594306946, -0.17608536779880524, 0.1386214643716812, 0.43813878297805786, 0.3304319679737091, -0.12948453426361084, 0.29773467779159...
https://github.com/huggingface/datasets/issues/2871
datasets.config.PYARROW_VERSION has no attribute 'major'
Hi @bwang482, If you click on `Details` (on the right of your non passing CI test names: `ci/circleci: run_dataset_script_tests_pyarrow`), you can have more information about the non-passing tests. For example, for ["ci/circleci: run_dataset_script_tests_pyarrow_1" details](https://circleci.com/gh/huggingface/dat...
In the test_dataset_common.py script, line 288-289 ``` if datasets.config.PYARROW_VERSION.major < 3: packaged_datasets = [pd for pd in packaged_datasets if pd["dataset_name"] != "parquet"] ``` which throws the error below. `datasets.config.PYARROW_VERSION` itself return the string '4.0.1'. I have tested thi...
95
datasets.config.PYARROW_VERSION has no attribute 'major' In the test_dataset_common.py script, line 288-289 ``` if datasets.config.PYARROW_VERSION.major < 3: packaged_datasets = [pd for pd in packaged_datasets if pd["dataset_name"] != "parquet"] ``` which throws the error below. `datasets.config.PYARROW_V...
[ -0.45026376843452454, 0.13628923892974854, 0.07276111841201782, -0.007738083600997925, 0.21044063568115234, 0.14556851983070374, 0.13477839529514313, 0.3891866207122803, -0.26127350330352783, 0.196648970246315, 0.24235956370830536, 0.44099199771881104, -0.17453426122665405, 0.1955472379922...
https://github.com/huggingface/datasets/issues/2869
TypeError: 'NoneType' object is not callable
Hi, @Chenfei-Kang. I'm sorry, but I'm not able to reproduce your bug: ```python from datasets import load_dataset ds = load_dataset("glue", 'cola') ds ``` ``` DatasetDict({ train: Dataset({ features: ['sentence', 'label', 'idx'], num_rows: 8551 }) validation: Dataset({ ...
## Describe the bug TypeError: 'NoneType' object is not callable ## Steps to reproduce the bug ```python from datasets import load_dataset, load_metric dataset = datasets.load_dataset("glue", 'cola') ``` ## Expected results A clear and concise description of the expected results. ## Actual results Speci...
66
TypeError: 'NoneType' object is not callable ## Describe the bug TypeError: 'NoneType' object is not callable ## Steps to reproduce the bug ```python from datasets import load_dataset, load_metric dataset = datasets.load_dataset("glue", 'cola') ``` ## Expected results A clear and concise description of th...
[ -0.05949030816555023, -0.11997131258249283, 0.01486414298415184, 0.2438826858997345, 0.4732634425163269, -0.0013417452573776245, 0.4414617121219635, 0.1253974884748459, -0.01429527997970581, 0.26756322383880615, -0.17997749149799347, 0.46588853001594543, -0.11915626376867294, 0.10542660206...
https://github.com/huggingface/datasets/issues/2869
TypeError: 'NoneType' object is not callable
> Hi, @Chenfei-Kang. > > I'm sorry, but I'm not able to reproduce your bug: > > ```python > from datasets import load_dataset > > ds = load_dataset("glue", 'cola') > ds > ``` > > ``` > DatasetDict({ > train: Dataset({ > features: ['sentence', 'label', 'idx'], > num_rows: 8551 > ...
## Describe the bug TypeError: 'NoneType' object is not callable ## Steps to reproduce the bug ```python from datasets import load_dataset, load_metric dataset = datasets.load_dataset("glue", 'cola') ``` ## Expected results A clear and concise description of the expected results. ## Actual results Speci...
116
TypeError: 'NoneType' object is not callable ## Describe the bug TypeError: 'NoneType' object is not callable ## Steps to reproduce the bug ```python from datasets import load_dataset, load_metric dataset = datasets.load_dataset("glue", 'cola') ``` ## Expected results A clear and concise description of th...
[ -0.01708604022860527, -0.32405269145965576, 0.06212133541703224, 0.21036693453788757, 0.38401204347610474, -0.015518728643655777, 0.41579359769821167, 0.17859120666980743, 0.18793967366218567, 0.3116181492805481, -0.25627103447914124, 0.2617364227771759, -0.09007865190505981, 0.15559774637...
https://github.com/huggingface/datasets/issues/2869
TypeError: 'NoneType' object is not callable
- For the platform, we need to know the operating system of your machine. Could you please run the command `datasets-cli env` and copy-and-paste its output below? - In relation with the error, you just gave us the error type and message (`TypeError: 'NoneType' object is not callable`). Could you please copy-paste the ...
## Describe the bug TypeError: 'NoneType' object is not callable ## Steps to reproduce the bug ```python from datasets import load_dataset, load_metric dataset = datasets.load_dataset("glue", 'cola') ``` ## Expected results A clear and concise description of the expected results. ## Actual results Speci...
69
TypeError: 'NoneType' object is not callable ## Describe the bug TypeError: 'NoneType' object is not callable ## Steps to reproduce the bug ```python from datasets import load_dataset, load_metric dataset = datasets.load_dataset("glue", 'cola') ``` ## Expected results A clear and concise description of th...
[ -0.22777137160301208, -0.31935036182403564, 0.0008597578853368759, 0.39185261726379395, 0.36772382259368896, 0.05574560910463333, 0.3176341652870178, 0.1545286625623703, 0.1733444631099701, 0.2960279583930969, -0.1426853984594345, 0.4552959203720093, -0.07765734195709229, 0.229843273758888...
https://github.com/huggingface/datasets/issues/2869
TypeError: 'NoneType' object is not callable
> * For the platform, we need to know the operating system of your machine. Could you please run the command `datasets-cli env` and copy-and-paste its output below? > * In relation with the error, you just gave us the error type and message (`TypeError: 'NoneType' object is not callable`). Could you please copy-paste ...
## Describe the bug TypeError: 'NoneType' object is not callable ## Steps to reproduce the bug ```python from datasets import load_dataset, load_metric dataset = datasets.load_dataset("glue", 'cola') ``` ## Expected results A clear and concise description of the expected results. ## Actual results Speci...
154
TypeError: 'NoneType' object is not callable ## Describe the bug TypeError: 'NoneType' object is not callable ## Steps to reproduce the bug ```python from datasets import load_dataset, load_metric dataset = datasets.load_dataset("glue", 'cola') ``` ## Expected results A clear and concise description of th...
[ -0.2333923727273941, -0.21219122409820557, 0.015184368938207626, 0.3540365695953369, 0.43131279945373535, 0.05654648691415787, 0.4275260269641876, 0.16688372194766998, 0.16195893287658691, 0.2543879449367523, -0.14912006258964539, 0.4838865399360657, -0.03262750804424286, 0.200844511389732...
https://github.com/huggingface/datasets/issues/2869
TypeError: 'NoneType' object is not callable
For that environment, I am sorry but I can't reproduce the bug: I can load the dataset without any problem.
## Describe the bug TypeError: 'NoneType' object is not callable ## Steps to reproduce the bug ```python from datasets import load_dataset, load_metric dataset = datasets.load_dataset("glue", 'cola') ``` ## Expected results A clear and concise description of the expected results. ## Actual results Speci...
20
TypeError: 'NoneType' object is not callable ## Describe the bug TypeError: 'NoneType' object is not callable ## Steps to reproduce the bug ```python from datasets import load_dataset, load_metric dataset = datasets.load_dataset("glue", 'cola') ``` ## Expected results A clear and concise description of th...
[ -0.26089370250701904, -0.20070645213127136, 0.06599980592727661, 0.40019577741622925, 0.4645991325378418, 0.011525392532348633, 0.3240966796875, 0.09413191676139832, 0.18960002064704895, 0.30018162727355957, -0.2849092185497284, 0.46675851941108704, -0.03664411976933479, 0.1668576747179031...
https://github.com/huggingface/datasets/issues/2869
TypeError: 'NoneType' object is not callable
One naive question: do you have internet access from the machine where you execute the code?
## Describe the bug TypeError: 'NoneType' object is not callable ## Steps to reproduce the bug ```python from datasets import load_dataset, load_metric dataset = datasets.load_dataset("glue", 'cola') ``` ## Expected results A clear and concise description of the expected results. ## Actual results Speci...
16
TypeError: 'NoneType' object is not callable ## Describe the bug TypeError: 'NoneType' object is not callable ## Steps to reproduce the bug ```python from datasets import load_dataset, load_metric dataset = datasets.load_dataset("glue", 'cola') ``` ## Expected results A clear and concise description of th...
[ -0.24667464196681976, -0.2166074514389038, -0.0038837846368551254, 0.35868608951568604, 0.4009475111961365, 0.03553666174411774, 0.3025211691856384, 0.152189239859581, 0.16503672301769257, 0.35661041736602783, -0.17791979014873505, 0.44521352648735046, -0.03825712576508522, 0.1990448087453...
https://github.com/huggingface/datasets/issues/2869
TypeError: 'NoneType' object is not callable
> For that environment, I am sorry but I can't reproduce the bug: I can load the dataset without any problem. But I can download other task dataset such as `dataset = load_dataset('squad')`. I don't know what went wrong. Thank you so much!
## Describe the bug TypeError: 'NoneType' object is not callable ## Steps to reproduce the bug ```python from datasets import load_dataset, load_metric dataset = datasets.load_dataset("glue", 'cola') ``` ## Expected results A clear and concise description of the expected results. ## Actual results Speci...
43
TypeError: 'NoneType' object is not callable ## Describe the bug TypeError: 'NoneType' object is not callable ## Steps to reproduce the bug ```python from datasets import load_dataset, load_metric dataset = datasets.load_dataset("glue", 'cola') ``` ## Expected results A clear and concise description of th...
[ -0.24798206984996796, -0.32177209854125977, 0.07635000348091125, 0.4701034426689148, 0.49538177251815796, 0.01850838214159012, 0.354043573141098, 0.06149496138095856, 0.24025839567184448, 0.31286126375198364, -0.2764090895652771, 0.45403194427490234, -0.0626194104552269, 0.1033333912491798...
https://github.com/huggingface/datasets/issues/2869
TypeError: 'NoneType' object is not callable
I'm getting the same error. Have you solved the problem? Please tell me how to fix it
## Describe the bug TypeError: 'NoneType' object is not callable ## Steps to reproduce the bug ```python from datasets import load_dataset, load_metric dataset = datasets.load_dataset("glue", 'cola') ``` ## Expected results A clear and concise description of the expected results. ## Actual results Speci...
17
TypeError: 'NoneType' object is not callable ## Describe the bug TypeError: 'NoneType' object is not callable ## Steps to reproduce the bug ```python from datasets import load_dataset, load_metric dataset = datasets.load_dataset("glue", 'cola') ``` ## Expected results A clear and concise description of th...
[ -0.1895233541727066, -0.2613590359687805, 0.08609655499458313, 0.3746563196182251, 0.46735990047454834, 0.0762588158249855, 0.35986873507499695, 0.10114121437072754, 0.158832386136055, 0.3032827377319336, -0.21069681644439697, 0.40431150794029236, -0.0719042494893074, 0.17253637313842773, ...
https://github.com/huggingface/datasets/issues/2866
"counter" dataset raises an error in normal mode, but not in streaming mode
Hi @severo, thanks for reporting. Just note that currently not all canonical datasets support streaming mode: this is one case! All datasets that use `pathlib` joins (using `/`) instead of `os.path.join` (as in this dataset) do not support streaming mode yet.
## Describe the bug `counter` dataset raises an error on `load_dataset()`, but simply returns an empty iterator in streaming mode. ## Steps to reproduce the bug ```python >>> import datasets as ds >>> a = ds.load_dataset('counter', split="train", streaming=False) Using custom data configuration default Dow...
41
"counter" dataset raises an error in normal mode, but not in streaming mode ## Describe the bug `counter` dataset raises an error on `load_dataset()`, but simply returns an empty iterator in streaming mode. ## Steps to reproduce the bug ```python >>> import datasets as ds >>> a = ds.load_dataset('counter',...
[ -0.41715317964553833, -0.24179023504257202, 0.0004066750407218933, 0.1936669945716858, 0.18737900257110596, 0.057204537093639374, 0.5056340098381042, 0.10599471628665924, 0.19428426027297974, 0.13533541560173035, 0.06983111053705215, 0.12972140312194824, -0.20970971882343292, 0.32388275861...
https://github.com/huggingface/datasets/issues/2866
"counter" dataset raises an error in normal mode, but not in streaming mode
OK. Do you think it's possible to detect this, and raise an exception (maybe `NotImplementedError`, or a specific `StreamingError`)?
## Describe the bug `counter` dataset raises an error on `load_dataset()`, but simply returns an empty iterator in streaming mode. ## Steps to reproduce the bug ```python >>> import datasets as ds >>> a = ds.load_dataset('counter', split="train", streaming=False) Using custom data configuration default Dow...
19
"counter" dataset raises an error in normal mode, but not in streaming mode ## Describe the bug `counter` dataset raises an error on `load_dataset()`, but simply returns an empty iterator in streaming mode. ## Steps to reproduce the bug ```python >>> import datasets as ds >>> a = ds.load_dataset('counter',...
[ -0.41715317964553833, -0.24179023504257202, 0.0004066750407218933, 0.1936669945716858, 0.18737900257110596, 0.057204537093639374, 0.5056340098381042, 0.10599471628665924, 0.19428426027297974, 0.13533541560173035, 0.06983111053705215, 0.12972140312194824, -0.20970971882343292, 0.32388275861...
https://github.com/huggingface/datasets/issues/2866
"counter" dataset raises an error in normal mode, but not in streaming mode
We should definitely support datasets using `pathlib` in streaming mode... For non-supported datasets in streaming mode, we have already a request of raising an error/warning: see #2654.
## Describe the bug `counter` dataset raises an error on `load_dataset()`, but simply returns an empty iterator in streaming mode. ## Steps to reproduce the bug ```python >>> import datasets as ds >>> a = ds.load_dataset('counter', split="train", streaming=False) Using custom data configuration default Dow...
27
"counter" dataset raises an error in normal mode, but not in streaming mode ## Describe the bug `counter` dataset raises an error on `load_dataset()`, but simply returns an empty iterator in streaming mode. ## Steps to reproduce the bug ```python >>> import datasets as ds >>> a = ds.load_dataset('counter',...
[ -0.41715317964553833, -0.24179023504257202, 0.0004066750407218933, 0.1936669945716858, 0.18737900257110596, 0.057204537093639374, 0.5056340098381042, 0.10599471628665924, 0.19428426027297974, 0.13533541560173035, 0.06983111053705215, 0.12972140312194824, -0.20970971882343292, 0.32388275861...
https://github.com/huggingface/datasets/issues/2866
"counter" dataset raises an error in normal mode, but not in streaming mode
Hi @severo, please note that "counter" dataset will be streamable (at least until it arrives at the missing file, error already in normal mode) once these PRs are merged: - #2874 - #2876 - #2880 I have tested it. 😉
## Describe the bug `counter` dataset raises an error on `load_dataset()`, but simply returns an empty iterator in streaming mode. ## Steps to reproduce the bug ```python >>> import datasets as ds >>> a = ds.load_dataset('counter', split="train", streaming=False) Using custom data configuration default Dow...
40
"counter" dataset raises an error in normal mode, but not in streaming mode ## Describe the bug `counter` dataset raises an error on `load_dataset()`, but simply returns an empty iterator in streaming mode. ## Steps to reproduce the bug ```python >>> import datasets as ds >>> a = ds.load_dataset('counter',...
[ -0.41715317964553833, -0.24179023504257202, 0.0004066750407218933, 0.1936669945716858, 0.18737900257110596, 0.057204537093639374, 0.5056340098381042, 0.10599471628665924, 0.19428426027297974, 0.13533541560173035, 0.06983111053705215, 0.12972140312194824, -0.20970971882343292, 0.32388275861...
https://github.com/huggingface/datasets/issues/2866
"counter" dataset raises an error in normal mode, but not in streaming mode
Now (on master), we get: ``` import datasets as ds ds.load_dataset('counter', split="train", streaming=False) ``` ``` Using custom data configuration default Downloading and preparing dataset counter/default (download: 1.29 MiB, generated: 2.48 MiB, post-processed: Unknown size, total: 3.77 MiB) to /home/sle...
## Describe the bug `counter` dataset raises an error on `load_dataset()`, but simply returns an empty iterator in streaming mode. ## Steps to reproduce the bug ```python >>> import datasets as ds >>> a = ds.load_dataset('counter', split="train", streaming=False) Using custom data configuration default Dow...
191
"counter" dataset raises an error in normal mode, but not in streaming mode ## Describe the bug `counter` dataset raises an error on `load_dataset()`, but simply returns an empty iterator in streaming mode. ## Steps to reproduce the bug ```python >>> import datasets as ds >>> a = ds.load_dataset('counter',...
[ -0.41715317964553833, -0.24179023504257202, 0.0004066750407218933, 0.1936669945716858, 0.18737900257110596, 0.057204537093639374, 0.5056340098381042, 0.10599471628665924, 0.19428426027297974, 0.13533541560173035, 0.06983111053705215, 0.12972140312194824, -0.20970971882343292, 0.32388275861...
https://github.com/huggingface/datasets/issues/2866
"counter" dataset raises an error in normal mode, but not in streaming mode
Note that we might want to open an issue to fix the "counter" dataset by itself, but I let it up to you.
## Describe the bug `counter` dataset raises an error on `load_dataset()`, but simply returns an empty iterator in streaming mode. ## Steps to reproduce the bug ```python >>> import datasets as ds >>> a = ds.load_dataset('counter', split="train", streaming=False) Using custom data configuration default Dow...
23
"counter" dataset raises an error in normal mode, but not in streaming mode ## Describe the bug `counter` dataset raises an error on `load_dataset()`, but simply returns an empty iterator in streaming mode. ## Steps to reproduce the bug ```python >>> import datasets as ds >>> a = ds.load_dataset('counter',...
[ -0.41715317964553833, -0.24179023504257202, 0.0004066750407218933, 0.1936669945716858, 0.18737900257110596, 0.057204537093639374, 0.5056340098381042, 0.10599471628665924, 0.19428426027297974, 0.13533541560173035, 0.06983111053705215, 0.12972140312194824, -0.20970971882343292, 0.32388275861...
https://github.com/huggingface/datasets/issues/2866
"counter" dataset raises an error in normal mode, but not in streaming mode
On master, I get: ```python >>> import datasets as ds >>> iterable_dataset = ds.load_dataset('counter', split="train", streaming=True) >>> rows = list(iterable_dataset.take(100)) Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/home/slesage/hf/datasets/src/datasets/iterable_dat...
## Describe the bug `counter` dataset raises an error on `load_dataset()`, but simply returns an empty iterator in streaming mode. ## Steps to reproduce the bug ```python >>> import datasets as ds >>> a = ds.load_dataset('counter', split="train", streaming=False) Using custom data configuration default Dow...
90
"counter" dataset raises an error in normal mode, but not in streaming mode ## Describe the bug `counter` dataset raises an error on `load_dataset()`, but simply returns an empty iterator in streaming mode. ## Steps to reproduce the bug ```python >>> import datasets as ds >>> a = ds.load_dataset('counter',...
[ -0.41715317964553833, -0.24179023504257202, 0.0004066750407218933, 0.1936669945716858, 0.18737900257110596, 0.057204537093639374, 0.5056340098381042, 0.10599471628665924, 0.19428426027297974, 0.13533541560173035, 0.06983111053705215, 0.12972140312194824, -0.20970971882343292, 0.32388275861...
https://github.com/huggingface/datasets/issues/2866
"counter" dataset raises an error in normal mode, but not in streaming mode
Associated to the above exception, if I create a test and run it with pytest, I get an awful traceback. - create a file `test_counter.py` ```python import pytest from datasets import load_dataset, IterableDataset from typing import Any, cast def test_counter() -> Any: iterable_dataset = cast(Iterable...
## Describe the bug `counter` dataset raises an error on `load_dataset()`, but simply returns an empty iterator in streaming mode. ## Steps to reproduce the bug ```python >>> import datasets as ds >>> a = ds.load_dataset('counter', split="train", streaming=False) Using custom data configuration default Dow...
301
"counter" dataset raises an error in normal mode, but not in streaming mode ## Describe the bug `counter` dataset raises an error on `load_dataset()`, but simply returns an empty iterator in streaming mode. ## Steps to reproduce the bug ```python >>> import datasets as ds >>> a = ds.load_dataset('counter',...
[ -0.41715317964553833, -0.24179023504257202, 0.0004066750407218933, 0.1936669945716858, 0.18737900257110596, 0.057204537093639374, 0.5056340098381042, 0.10599471628665924, 0.19428426027297974, 0.13533541560173035, 0.06983111053705215, 0.12972140312194824, -0.20970971882343292, 0.32388275861...
https://github.com/huggingface/datasets/issues/2866
"counter" dataset raises an error in normal mode, but not in streaming mode
I opened a PR to fix these issues. Also in your test you expect a TypeError but I don't know why. On my side it works fine without raising a TypeError
## Describe the bug `counter` dataset raises an error on `load_dataset()`, but simply returns an empty iterator in streaming mode. ## Steps to reproduce the bug ```python >>> import datasets as ds >>> a = ds.load_dataset('counter', split="train", streaming=False) Using custom data configuration default Dow...
31
"counter" dataset raises an error in normal mode, but not in streaming mode ## Describe the bug `counter` dataset raises an error on `load_dataset()`, but simply returns an empty iterator in streaming mode. ## Steps to reproduce the bug ```python >>> import datasets as ds >>> a = ds.load_dataset('counter',...
[ -0.41715317964553833, -0.24179023504257202, 0.0004066750407218933, 0.1936669945716858, 0.18737900257110596, 0.057204537093639374, 0.5056340098381042, 0.10599471628665924, 0.19428426027297974, 0.13533541560173035, 0.06983111053705215, 0.12972140312194824, -0.20970971882343292, 0.32388275861...
https://github.com/huggingface/datasets/issues/2860
Cannot download TOTTO dataset
Hola @mrm8488, thanks for reporting. Apparently, the data source host changed their URL one week ago: https://github.com/google-research-datasets/ToTTo/commit/cebeb430ec2a97747e704d16a9354f7d9073ff8f I'm fixing it.
Error: Couldn't find file at https://storage.googleapis.com/totto/totto_data.zip `datasets version: 1.11.0` # How to reproduce: ```py from datasets import load_dataset dataset = load_dataset('totto') ```
20
Cannot download TOTTO dataset Error: Couldn't find file at https://storage.googleapis.com/totto/totto_data.zip `datasets version: 1.11.0` # How to reproduce: ```py from datasets import load_dataset dataset = load_dataset('totto') ``` Hola @mrm8488, thanks for reporting. Apparently, the data sourc...
[ -0.29441049695014954, 0.39009320735931396, -0.1317223757505417, 0.06419724225997925, 0.43536871671676636, 0.13932830095291138, 0.16796356439590454, 0.5879855155944824, -0.02614532969892025, 0.23434174060821533, -0.1947770118713379, -0.04730912297964096, 0.059416938573122025, 0.318708688020...
https://github.com/huggingface/datasets/issues/2842
always requiring the username in the dataset name when there is one
From what I can understand, you want the saved arrow file directory to have username as well instead of just dataset name if it was downloaded with the user prefix?
Me and now another person have been bitten by the `datasets`'s non-strictness on requiring a dataset creator's username when it's due. So both of us started with `stas/openwebtext-10k`, somewhere along the lines lost `stas/` and continued using `openwebtext-10k` and it all was good until we published the software an...
30
always requiring the username in the dataset name when there is one Me and now another person have been bitten by the `datasets`'s non-strictness on requiring a dataset creator's username when it's due. So both of us started with `stas/openwebtext-10k`, somewhere along the lines lost `stas/` and continued using `o...
[ -0.11903828382492065, 0.16792818903923035, -0.04717910289764404, 0.08318261057138443, 0.058135196566581726, -0.1882432997226715, 0.26954054832458496, 0.09011974930763245, 0.031671252101659775, 0.30045026540756226, 0.1571788787841797, -0.04068823158740997, -0.033930130302906036, 0.013773420...
https://github.com/huggingface/datasets/issues/2842
always requiring the username in the dataset name when there is one
I don't think the user cares of how this is done, but the 2nd command should fail, IMHO, as its dataset name is invalid: ``` # first run python -c "from datasets import load_dataset; load_dataset('stas/openwebtext-10k')" # now run immediately python -c "from datasets import load_dataset; load_dataset('openwebtext-...
Me and now another person have been bitten by the `datasets`'s non-strictness on requiring a dataset creator's username when it's due. So both of us started with `stas/openwebtext-10k`, somewhere along the lines lost `stas/` and continued using `openwebtext-10k` and it all was good until we published the software an...
115
always requiring the username in the dataset name when there is one Me and now another person have been bitten by the `datasets`'s non-strictness on requiring a dataset creator's username when it's due. So both of us started with `stas/openwebtext-10k`, somewhere along the lines lost `stas/` and continued using `o...
[ -0.01121610775589943, 0.14474812150001526, -0.039361197501420975, 0.09581912308931351, 0.0011404454708099365, -0.2181406319141388, 0.42958274483680725, 0.11116667091846466, 0.10690544545650482, 0.33696162700653076, 0.11587155610322952, -0.02812238037586212, 0.01205876562744379, 0.038760475...
https://github.com/huggingface/datasets/issues/2842
always requiring the username in the dataset name when there is one
This has been fixed now, and we'll do a new release of the library today. Now the stas/openwebtext-10k dataset is cached at `.cache/huggingface/datasets/stas___openwebtext10k` and openwebtext-10k would be at `.cache/huggingface/datasets/openwebtext10k`. Since they are different, the cache won't fall back on loading ...
Me and now another person have been bitten by the `datasets`'s non-strictness on requiring a dataset creator's username when it's due. So both of us started with `stas/openwebtext-10k`, somewhere along the lines lost `stas/` and continued using `openwebtext-10k` and it all was good until we published the software an...
65
always requiring the username in the dataset name when there is one Me and now another person have been bitten by the `datasets`'s non-strictness on requiring a dataset creator's username when it's due. So both of us started with `stas/openwebtext-10k`, somewhere along the lines lost `stas/` and continued using `o...
[ 0.037594135850667953, 0.08249443769454956, -0.06238973140716553, 0.18918894231319427, 0.07976233959197998, -0.1698654592037201, 0.32404789328575134, 0.17539110779762268, 0.09881003201007843, 0.2571044862270355, -0.03345426917076111, -0.005713317543268204, 0.08684051036834717, 0.01521600969...
https://github.com/huggingface/datasets/issues/2841
Adding GLUECoS Hinglish and Spanglish code-switching bemchmark
Hi @yjernite I am interested in adding this dataset. In the repo they have also added a code mixed MT task from English to Hinglish [here](https://github.com/microsoft/GLUECoS#code-mixed-machine-translation-task). I think this could be a good dataset addition in itself and then I can add the rest of the GLUECoS tasks...
## Adding a Dataset - **Name:** GLUECoS - **Description:** a Microsoft Benchmark to evaluate code-switching for only two language pairs but a variety of tasks - **Paper:** https://aclanthology.org/2020.acl-main.329/ - **Data:** https://github.com/microsoft/GLUECoS - **Motivation:** We currently only have [one othe...
55
Adding GLUECoS Hinglish and Spanglish code-switching bemchmark ## Adding a Dataset - **Name:** GLUECoS - **Description:** a Microsoft Benchmark to evaluate code-switching for only two language pairs but a variety of tasks - **Paper:** https://aclanthology.org/2020.acl-main.329/ - **Data:** https://github.com/micr...
[ -0.4562043845653534, -0.0375739261507988, -0.14038364589214325, 0.09847080707550049, -0.08661294728517532, 0.17475956678390503, 0.10343590378761292, 0.159785196185112, 0.1243995726108551, -0.12753109633922577, -0.3663085103034973, 0.058228522539138794, -0.166472390294075, 0.452248901128768...
https://github.com/huggingface/datasets/issues/2839
OpenWebText: NonMatchingSplitsSizesError
I just regenerated the verifications metadata and noticed that nothing changed: the data file is fine (the checksum didn't change), and the number of examples is still 8013769. Not sure how you managed to get 7982430 examples. Can you try to delete your cache ( by default at `~/.cache/huggingface/datasets`) and try ...
## Describe the bug When downloading `openwebtext`, I'm getting: ``` datasets.utils.info_utils.NonMatchingSplitsSizesError: [{'expected': SplitInfo(name='train', num_bytes=39769494896, num_examples=8013769, dataset_name='openwebtext'), 'recorded': SplitInfo(name='train', num_bytes=39611023912, num_examples=7982430...
62
OpenWebText: NonMatchingSplitsSizesError ## Describe the bug When downloading `openwebtext`, I'm getting: ``` datasets.utils.info_utils.NonMatchingSplitsSizesError: [{'expected': SplitInfo(name='train', num_bytes=39769494896, num_examples=8013769, dataset_name='openwebtext'), 'recorded': SplitInfo(name='train', ...
[ -0.23256568610668182, -0.1025962382555008, 0.05944855883717537, 0.47100645303726196, 0.09914530813694, 0.09832865744829178, 0.001799367368221283, 0.549481987953186, -0.0201673973351717, 0.1316697597503662, -0.11764609068632126, 0.0032899323850870132, -0.11831540614366531, 0.091308385133743...
https://github.com/huggingface/datasets/issues/2839
OpenWebText: NonMatchingSplitsSizesError
I'll try without deleting the whole cache (we have large datasets already stored). I was under the impression that `download_mode="force_redownload"` would bypass cache. Sorry plateform should be linux (Redhat version 8.1)
## Describe the bug When downloading `openwebtext`, I'm getting: ``` datasets.utils.info_utils.NonMatchingSplitsSizesError: [{'expected': SplitInfo(name='train', num_bytes=39769494896, num_examples=8013769, dataset_name='openwebtext'), 'recorded': SplitInfo(name='train', num_bytes=39611023912, num_examples=7982430...
31
OpenWebText: NonMatchingSplitsSizesError ## Describe the bug When downloading `openwebtext`, I'm getting: ``` datasets.utils.info_utils.NonMatchingSplitsSizesError: [{'expected': SplitInfo(name='train', num_bytes=39769494896, num_examples=8013769, dataset_name='openwebtext'), 'recorded': SplitInfo(name='train', ...
[ -0.3607826828956604, -0.23985469341278076, 0.05169733241200447, 0.46070802211761475, -0.04562639445066452, 0.13274255394935608, 0.06605197489261627, 0.6086546778678894, 0.1439707726240158, 0.1374785453081131, -0.22836530208587646, 0.12169199436903, -0.051187798380851746, 0.2408787459135055...
https://github.com/huggingface/datasets/issues/2839
OpenWebText: NonMatchingSplitsSizesError
Sorry I haven't had time to work on this. I'll close and re-open if I can't figure out why I'm having this issue. Thanks for taking a look !
## Describe the bug When downloading `openwebtext`, I'm getting: ``` datasets.utils.info_utils.NonMatchingSplitsSizesError: [{'expected': SplitInfo(name='train', num_bytes=39769494896, num_examples=8013769, dataset_name='openwebtext'), 'recorded': SplitInfo(name='train', num_bytes=39611023912, num_examples=7982430...
29
OpenWebText: NonMatchingSplitsSizesError ## Describe the bug When downloading `openwebtext`, I'm getting: ``` datasets.utils.info_utils.NonMatchingSplitsSizesError: [{'expected': SplitInfo(name='train', num_bytes=39769494896, num_examples=8013769, dataset_name='openwebtext'), 'recorded': SplitInfo(name='train', ...
[ -0.3353739082813263, -0.18841303884983063, 0.04876280203461647, 0.43281126022338867, 0.05913500860333443, 0.11154118925333023, -0.08526161313056946, 0.5720360279083252, -0.0169447623193264, 0.1263841688632965, -0.12406698614358902, 0.0030229270923882723, -0.07802126556634903, 0.08419702947...
https://github.com/huggingface/datasets/issues/2832
Logging levels not taken into account
I just take a look at all the outputs produced by `datasets` using the different log-levels. As far as i can tell using `datasets==1.17.0` they overall issue seems to be fixed. However, I noticed that there is one tqdm based progress indicator appearing on STDERR that I can simply not suppress. ``` Resolving data...
## Describe the bug The `logging` module isn't working as intended relative to the levels to set. ## Steps to reproduce the bug ```python from datasets import logging logging.set_verbosity_debug() logger = logging.get_logger() logger.error("ERROR") logger.warning("WARNING") logger.info("INFO") logge...
159
Logging levels not taken into account ## Describe the bug The `logging` module isn't working as intended relative to the levels to set. ## Steps to reproduce the bug ```python from datasets import logging logging.set_verbosity_debug() logger = logging.get_logger() logger.error("ERROR") logger.warnin...
[ -0.18190905451774597, -0.08983833342790604, 0.09396696090698242, 0.1882537603378296, 0.30959630012512207, -0.21926206350326538, 0.47323694825172424, 0.14317826926708221, -0.3718085289001465, 0.035380154848098755, -0.005893099121749401, 0.46152642369270325, -0.4104684591293335, 0.0659602507...
https://github.com/huggingface/datasets/issues/2832
Logging levels not taken into account
Hi! This should disable the tqdm output: ```python import datasets datasets.set_progress_bar_enabled(False) ``` On a side note: I believe the issue with logging (not tqdm) is still relevant on master.
## Describe the bug The `logging` module isn't working as intended relative to the levels to set. ## Steps to reproduce the bug ```python from datasets import logging logging.set_verbosity_debug() logger = logging.get_logger() logger.error("ERROR") logger.warning("WARNING") logger.info("INFO") logge...
29
Logging levels not taken into account ## Describe the bug The `logging` module isn't working as intended relative to the levels to set. ## Steps to reproduce the bug ```python from datasets import logging logging.set_verbosity_debug() logger = logging.get_logger() logger.error("ERROR") logger.warnin...
[ -0.19616366922855377, -0.18575334548950195, 0.11079072952270508, 0.14803941547870636, 0.32971853017807007, -0.08227325975894928, 0.5039981603622437, 0.15956556797027588, -0.3525218069553375, 0.019676052033901215, -0.058196067810058594, 0.39920979738235474, -0.3322145938873291, 0.0895232930...
https://github.com/huggingface/datasets/issues/2831
ArrowInvalid when mapping dataset with missing values
Hi ! It fails because of the feature type inference. Because the first 1000 examples all have null values in the "match" field, then it infers that the type for this field is `null` type before writing the data on disk. But as soon as it tries to map an example with a non-null "match" field, then it fails. To fix...
## Describe the bug I encountered an `ArrowInvalid` when mapping dataset with missing values. Here are the files for a minimal example. The exception is only thrown when the first line in the csv has a missing value (if you move the last line to the top it isn't thrown). [data_small.csv](https://github.com/huggingf...
134
ArrowInvalid when mapping dataset with missing values ## Describe the bug I encountered an `ArrowInvalid` when mapping dataset with missing values. Here are the files for a minimal example. The exception is only thrown when the first line in the csv has a missing value (if you move the last line to the top it isn'...
[ -0.03272678330540657, -0.15312565863132477, 0.10408975183963776, 0.22862368822097778, 0.0726003348827362, 0.13660719990730286, 0.3329794406890869, 0.4905759394168854, -0.020770415663719177, 0.230073481798172, 0.2338511198759079, 0.43901747465133667, 0.027151932939887047, -0.149416565895080...
https://github.com/huggingface/datasets/issues/2826
Add a Text Classification dataset: KanHope
Hi ! In your script it looks like you're trying to load the dataset `bn_hate_speech,`, not KanHope. Moreover the error `KeyError: ' '` means that you have a feature of type ClassLabel, but for a certain example of the dataset, it looks like the label is empty (it's just a string with a space). Can you make sure that...
## Adding a Dataset - **Name:** *KanHope* - **Description:** *A code-mixed English-Kannada dataset for Hope speech detection* - **Paper:** *https://arxiv.org/abs/2108.04616* (I am the author of the paper} - **Author:** *[AdeepH](https://github.com/adeepH)* - **Data:** *https://github.com/adeepH/KanHope/tree/main/d...
75
Add a Text Classification dataset: KanHope ## Adding a Dataset - **Name:** *KanHope* - **Description:** *A code-mixed English-Kannada dataset for Hope speech detection* - **Paper:** *https://arxiv.org/abs/2108.04616* (I am the author of the paper} - **Author:** *[AdeepH](https://github.com/adeepH)* - **Data:** *...
[ -0.24380934238433838, -0.08374519646167755, -0.10764122009277344, 0.16815026104450226, 0.2711263597011566, 0.015442654490470886, 0.1767382025718689, 0.41278666257858276, 0.1465684026479721, 0.08685895800590515, -0.16489192843437195, -0.07798998057842255, -0.2590734660625458, 0.280180186033...
https://github.com/huggingface/datasets/issues/2825
The datasets.map function does not load cached dataset after moving python script
This also happened to me on COLAB. Details: I ran the `run_mlm.py` in two different notebooks. In the first notebook, I do tokenization since I can get 4 CPU cores without any GPUs, and save the cache into a folder which I copy to drive. In the second notebook, I copy the cache folder from drive and re-run the run...
## Describe the bug The datasets.map function caches the processed data to a certain directory. When the map function is called another time with totally the same parameters, the cached data are supposed to be reloaded instead of re-processing. However, it doesn't reuse cached data sometimes. I use the common data pro...
85
The datasets.map function does not load cached dataset after moving python script ## Describe the bug The datasets.map function caches the processed data to a certain directory. When the map function is called another time with totally the same parameters, the cached data are supposed to be reloaded instead of re-pr...
[ -0.1612095683813095, 0.06667272746562958, 0.12359882891178131, 0.1421177089214325, 0.12110649049282074, -0.09257257729768753, 0.41813090443611145, 0.1090160608291626, 0.1731482744216919, -0.0780496746301651, 0.11544643342494965, 0.6156937479972839, -0.021140053868293762, -0.133194759488105...
https://github.com/huggingface/datasets/issues/2825
The datasets.map function does not load cached dataset after moving python script
#2854 fixed the issue :) We'll do a new release of `datasets` soon to make the fix available. In the meantime, feel free to try it out by installing `datasets` from source If you have other issues or any question, feel free to re-open the issue :)
## Describe the bug The datasets.map function caches the processed data to a certain directory. When the map function is called another time with totally the same parameters, the cached data are supposed to be reloaded instead of re-processing. However, it doesn't reuse cached data sometimes. I use the common data pro...
47
The datasets.map function does not load cached dataset after moving python script ## Describe the bug The datasets.map function caches the processed data to a certain directory. When the map function is called another time with totally the same parameters, the cached data are supposed to be reloaded instead of re-pr...
[ -0.12739767134189606, 0.07241407036781311, 0.09145860373973846, 0.009580235928297043, 0.15996341407299042, -0.06600846350193024, 0.40474602580070496, 0.2460481971502304, 0.2259855419397354, -0.08738008141517639, 0.11444122344255447, 0.516856849193573, -0.05836959183216095, -0.1686524897813...
https://github.com/huggingface/datasets/issues/2823
HF_DATASETS_CACHE variable in Windows
Agh - I'm a muppet. No quote marks are needed. set HF_DATASETS_CACHE = C:\Datasets works as intended.
I can't seem to use a custom Cache directory in Windows. I have tried: set HF_DATASETS_CACHE = "C:\Datasets" set HF_DATASETS_CACHE = "C:/Datasets" set HF_DATASETS_CACHE = "C:\\Datasets" set HF_DATASETS_CACHE = "r'C:\Datasets'" set HF_DATASETS_CACHE = "\Datasets" set HF_DATASETS_CACHE = "/Datasets" In each in...
17
HF_DATASETS_CACHE variable in Windows I can't seem to use a custom Cache directory in Windows. I have tried: set HF_DATASETS_CACHE = "C:\Datasets" set HF_DATASETS_CACHE = "C:/Datasets" set HF_DATASETS_CACHE = "C:\\Datasets" set HF_DATASETS_CACHE = "r'C:\Datasets'" set HF_DATASETS_CACHE = "\Datasets" set HF_DA...
[ -0.2557518482208252, 0.46814942359924316, -0.008667804300785065, 0.09381327033042908, -0.09325796365737915, 0.28094521164894104, 0.3591795563697815, 0.01309695653617382, 0.5492925643920898, 0.1723245084285736, -0.1086297258734703, -0.32070669531822205, 0.026963423937559128, -0.136294975876...
https://github.com/huggingface/datasets/issues/2821
Cannot load linnaeus dataset
Thanks for reporting ! #2852 fixed this error We'll do a new release of `datasets` soon :)
## Describe the bug The [linnaeus](https://huggingface.co/datasets/linnaeus) dataset cannot be loaded. To reproduce: ``` from datasets import load_dataset datasets = load_dataset("linnaeus") ``` This results in: ``` Downloading and preparing dataset linnaeus/linnaeus (download: 17.36 MiB, generated: 8.74 MiB,...
17
Cannot load linnaeus dataset ## Describe the bug The [linnaeus](https://huggingface.co/datasets/linnaeus) dataset cannot be loaded. To reproduce: ``` from datasets import load_dataset datasets = load_dataset("linnaeus") ``` This results in: ``` Downloading and preparing dataset linnaeus/linnaeus (download: ...
[ -0.1098574697971344, -0.14316608011722565, -0.003666505217552185, 0.568375825881958, 0.22946223616600037, -0.07168732583522797, 0.07643289119005203, 0.3127031624317169, 0.13735823333263397, 0.04877641797065735, -0.32964086532592773, 0.035063281655311584, -0.018028609454631805, -0.183469712...
https://github.com/huggingface/datasets/issues/2820
Downloading “reddit” dataset keeps timing out.
``` Using custom data configuration default Downloading and preparing dataset reddit/default (download: 2.93 GiB, generated: 17.64 GiB, post-processed: Unknown size, total: 20.57 GiB) to /Volumes/My Passport for Mac/og-chat-data/reddit/default/1.0.0/98ba5abea674d3178f7588aa6518a5510dc0c6fa8176d9653a3546d5afcb3969... ...
## Describe the bug A clear and concise description of what the bug is. Everytime I try and download the reddit dataset it times out before finishing and I have to try again. There is some timeout error that I will post once it happens again. ## Steps to reproduce the bug ```python from datasets import load_d...
646
Downloading “reddit” dataset keeps timing out. ## Describe the bug A clear and concise description of what the bug is. Everytime I try and download the reddit dataset it times out before finishing and I have to try again. There is some timeout error that I will post once it happens again. ## Steps to reproduc...
[ -0.3638954162597656, -0.14213097095489502, -0.07971905916929245, 0.1200471818447113, 0.16684170067310333, 0.18720582127571106, 0.03860463947057724, 0.24388013780117035, -0.057157162576913834, -0.13316191732883453, -0.06276489049196243, 0.14414004981517792, 0.34882861375808716, -0.001975193...
https://github.com/huggingface/datasets/issues/2820
Downloading “reddit” dataset keeps timing out.
It also doesn't seem to be "smart caching" and I received an error about a file not being found...
## Describe the bug A clear and concise description of what the bug is. Everytime I try and download the reddit dataset it times out before finishing and I have to try again. There is some timeout error that I will post once it happens again. ## Steps to reproduce the bug ```python from datasets import load_d...
19
Downloading “reddit” dataset keeps timing out. ## Describe the bug A clear and concise description of what the bug is. Everytime I try and download the reddit dataset it times out before finishing and I have to try again. There is some timeout error that I will post once it happens again. ## Steps to reproduc...
[ -0.3514556586742401, -0.17711487412452698, -0.07967118918895721, 0.1682872474193573, 0.14759515225887299, 0.2232838273048401, 0.022603441029787064, 0.2211398035287857, 0.01235436275601387, -0.18973751366138458, -0.0006052413955330849, 0.07988160103559494, 0.29276618361473083, -0.0234994385...
https://github.com/huggingface/datasets/issues/2820
Downloading “reddit” dataset keeps timing out.
To be clear, the error I get when I try to "re-instantiate" the download after failure is: ``` OSError: Cannot find data file. Original error: [Errno 20] Not a directory: <HOME>/.cache/huggingface/datasets/downloads/1ec12301abba4daa60eb3a90e53529b5b173296b22dc3bef3186e205c75e594c/corpus-webis-tldr-17.json' ```
## Describe the bug A clear and concise description of what the bug is. Everytime I try and download the reddit dataset it times out before finishing and I have to try again. There is some timeout error that I will post once it happens again. ## Steps to reproduce the bug ```python from datasets import load_d...
32
Downloading “reddit” dataset keeps timing out. ## Describe the bug A clear and concise description of what the bug is. Everytime I try and download the reddit dataset it times out before finishing and I have to try again. There is some timeout error that I will post once it happens again. ## Steps to reproduc...
[ -0.34570640325546265, -0.11349134892225266, -0.08899123966693878, 0.1294442117214203, 0.14749246835708618, 0.21437343955039978, 0.04801751673221588, 0.19988761842250824, 0.03385559841990471, -0.09553152322769165, -0.030202006921172142, 0.11687491089105606, 0.24378111958503723, -0.077148564...
https://github.com/huggingface/datasets/issues/2820
Downloading “reddit” dataset keeps timing out.
Hi ! Since https://github.com/huggingface/datasets/pull/2803 we've changed the time out from 10sec to 100sec. This should prevent the `ReadTimeoutError`. Feel free to try it out by installing `datasets` from source ``` pip install git+https://github.com/huggingface/datasets.git ``` When re-running your code you ...
## Describe the bug A clear and concise description of what the bug is. Everytime I try and download the reddit dataset it times out before finishing and I have to try again. There is some timeout error that I will post once it happens again. ## Steps to reproduce the bug ```python from datasets import load_d...
111
Downloading “reddit” dataset keeps timing out. ## Describe the bug A clear and concise description of what the bug is. Everytime I try and download the reddit dataset it times out before finishing and I have to try again. There is some timeout error that I will post once it happens again. ## Steps to reproduc...
[ -0.45382481813430786, -0.035952068865299225, -0.10725773870944977, 0.2148066908121109, 0.22540082037448883, 0.09833832830190659, 0.15917176008224487, 0.22687967121601105, -0.05263802409172058, 0.00002256035804748535, -0.162777379155159, 0.15473762154579163, 0.19559170305728912, -0.13341040...
https://github.com/huggingface/datasets/issues/2820
Downloading “reddit” dataset keeps timing out.
@lhoestq thanks for the update. The directory specified by the OSError ie. ``` 1ec12301abba4daa60eb3a90e53529b5b173296b22dc3bef3186e205c75e594c/corpus-webis-tldr-17.json ``` was not actually in that directory so I can't delete it.
## Describe the bug A clear and concise description of what the bug is. Everytime I try and download the reddit dataset it times out before finishing and I have to try again. There is some timeout error that I will post once it happens again. ## Steps to reproduce the bug ```python from datasets import load_d...
26
Downloading “reddit” dataset keeps timing out. ## Describe the bug A clear and concise description of what the bug is. Everytime I try and download the reddit dataset it times out before finishing and I have to try again. There is some timeout error that I will post once it happens again. ## Steps to reproduc...
[ -0.30950233340263367, -0.15040187537670135, -0.12485229969024658, 0.1671922355890274, 0.0626940056681633, 0.2322172224521637, 0.04524616152048111, 0.24818505346775055, 0.02084968239068985, -0.06715632975101471, -0.07025197148323059, 0.16330137848854065, 0.26103514432907104, -0.112193241715...
https://github.com/huggingface/datasets/issues/2820
Downloading “reddit” dataset keeps timing out.
Oh, then could you try deleting the parent directory `1ec12301abba4daa60eb3a90e53529b5b173296b22dc3bef3186e205c75e594c` instead ? This way the download manager will know that it has to uncompress the data again
## Describe the bug A clear and concise description of what the bug is. Everytime I try and download the reddit dataset it times out before finishing and I have to try again. There is some timeout error that I will post once it happens again. ## Steps to reproduce the bug ```python from datasets import load_d...
27
Downloading “reddit” dataset keeps timing out. ## Describe the bug A clear and concise description of what the bug is. Everytime I try and download the reddit dataset it times out before finishing and I have to try again. There is some timeout error that I will post once it happens again. ## Steps to reproduc...
[ -0.32295501232147217, -0.15487481653690338, -0.0958516001701355, 0.2122768759727478, 0.17278417944908142, 0.2089081108570099, 0.031165646389126778, 0.2200947403907776, -0.043005798012018204, -0.056469932198524475, -0.0722842812538147, 0.10256917774677277, 0.2630369961261749, -0.02843584306...
https://github.com/huggingface/datasets/issues/2820
Downloading “reddit” dataset keeps timing out.
It seems to have worked. It only took like 20min! I think the extra timeout length did the trick! One thing is that it downloaded a total of 41gb instead of 20gb but at least it finished.
## Describe the bug A clear and concise description of what the bug is. Everytime I try and download the reddit dataset it times out before finishing and I have to try again. There is some timeout error that I will post once it happens again. ## Steps to reproduce the bug ```python from datasets import load_d...
37
Downloading “reddit” dataset keeps timing out. ## Describe the bug A clear and concise description of what the bug is. Everytime I try and download the reddit dataset it times out before finishing and I have to try again. There is some timeout error that I will post once it happens again. ## Steps to reproduc...
[ -0.34433355927467346, -0.14099809527397156, -0.08831918239593506, 0.10771971940994263, 0.13446877896785736, 0.14192211627960205, 0.029093103483319283, 0.23051275312900543, -0.05004575476050377, -0.148842915892601, -0.0651002898812294, 0.13194262981414795, 0.2865752577781677, 0.044866539537...
https://github.com/huggingface/datasets/issues/2818
cannot load data from my loacal path
Hi ! The `data_files` parameter must be a string, a list/tuple or a python dict. Can you check the type of your `config.train_path` please ? Or use `data_files=str(config.train_path)` ?
## Describe the bug I just want to directly load data from my local path,but find a bug.And I compare it with pandas to provide my local path is real. here is my code ```python3 # print my local path print(config.train_path) # read data and print data length tarin=pd.read_csv(config.train_path) print(len(tari...
29
cannot load data from my loacal path ## Describe the bug I just want to directly load data from my local path,but find a bug.And I compare it with pandas to provide my local path is real. here is my code ```python3 # print my local path print(config.train_path) # read data and print data length tarin=pd.read...
[ -0.05743899941444397, -0.01588478684425354, 0.07422022521495819, 0.5506056547164917, 0.30274325609207153, -0.19356630742549896, 0.41470572352409363, 0.0769134908914566, 0.08254683017730713, 0.06389282643795013, -0.00892673060297966, 0.5863604545593262, 0.012284100987017155, -0.028452901169...
https://github.com/huggingface/datasets/issues/2813
Remove compression from xopen
After discussing with @lhoestq, a reasonable alternative: - `download_manager.extract(urlpath)` adds prefixes to `urlpath` in the same way as `fsspec` does for protocols, but we implement custom prefixes for all compression formats: `bz2::http://domain.org/filename.bz2` - `xopen` parses the `urlpath` and extracts...
We implemented support for streaming with 2 requirements: - transparent use for the end user: just needs to pass the parameter `streaming=True` - no additional work for the contributors: previous loading scripts should also work in streaming mode with no (or minor) changes; and new loading scripts should not involve ...
105
Remove compression from xopen We implemented support for streaming with 2 requirements: - transparent use for the end user: just needs to pass the parameter `streaming=True` - no additional work for the contributors: previous loading scripts should also work in streaming mode with no (or minor) changes; and new loa...
[ -0.41916877031326294, -0.006902910768985748, 0.005912676453590393, 0.023857567459344864, 0.12481755018234253, -0.3256881833076477, -0.2292776256799698, 0.47133520245552063, 0.08866491913795471, 0.24094611406326294, -0.24715404212474823, 0.40012943744659424, 0.08196665346622467, 0.137193754...
https://github.com/huggingface/datasets/issues/2799
Loading JSON throws ArrowNotImplementedError
Hi @lewtun, thanks for reporting. Apparently, `pyarrow.json` tries to cast timestamp-like fields in your JSON file to pyarrow timestamp type, and it fails with `ArrowNotImplementedError`. I will investigate if there is a way to tell pyarrow not to try that timestamp casting.
## Describe the bug I have created a [dataset](https://huggingface.co/datasets/lewtun/github-issues-test) of GitHub issues in line-separated JSON format and am finding that I cannot load it with the `json` loading script (see stack trace below). Curiously, there is no problem loading the dataset with `pandas` which...
42
Loading JSON throws ArrowNotImplementedError ## Describe the bug I have created a [dataset](https://huggingface.co/datasets/lewtun/github-issues-test) of GitHub issues in line-separated JSON format and am finding that I cannot load it with the `json` loading script (see stack trace below). Curiously, there is no ...
[ -0.06818702816963196, 0.18416258692741394, 0.036415744572877884, 0.3780703544616699, 0.23553724586963654, -0.006269969046115875, 0.48466840386390686, 0.36706340312957764, 0.4180774390697479, -0.0028386786580085754, 0.060554973781108856, 0.5898877382278442, 0.027620865032076836, -0.14885811...
https://github.com/huggingface/datasets/issues/2799
Loading JSON throws ArrowNotImplementedError
I think the issue is more complex than that... I just took one of your JSON lines and pyarrow.json read it without problem.
## Describe the bug I have created a [dataset](https://huggingface.co/datasets/lewtun/github-issues-test) of GitHub issues in line-separated JSON format and am finding that I cannot load it with the `json` loading script (see stack trace below). Curiously, there is no problem loading the dataset with `pandas` which...
23
Loading JSON throws ArrowNotImplementedError ## Describe the bug I have created a [dataset](https://huggingface.co/datasets/lewtun/github-issues-test) of GitHub issues in line-separated JSON format and am finding that I cannot load it with the `json` loading script (see stack trace below). Curiously, there is no ...
[ -0.06818702816963196, 0.18416258692741394, 0.036415744572877884, 0.3780703544616699, 0.23553724586963654, -0.006269969046115875, 0.48466840386390686, 0.36706340312957764, 0.4180774390697479, -0.0028386786580085754, 0.060554973781108856, 0.5898877382278442, 0.027620865032076836, -0.14885811...
https://github.com/huggingface/datasets/issues/2799
Loading JSON throws ArrowNotImplementedError
> I just took one of your JSON lines an pyarrow.json read it without problem. yes, and for some peculiar reason the error is non-deterministic (i was eventually able to load the whole dataset by just re-running the `load_dataset` cell multiple times 🤔) thanks for looking into this 🙏 !
## Describe the bug I have created a [dataset](https://huggingface.co/datasets/lewtun/github-issues-test) of GitHub issues in line-separated JSON format and am finding that I cannot load it with the `json` loading script (see stack trace below). Curiously, there is no problem loading the dataset with `pandas` which...
50
Loading JSON throws ArrowNotImplementedError ## Describe the bug I have created a [dataset](https://huggingface.co/datasets/lewtun/github-issues-test) of GitHub issues in line-separated JSON format and am finding that I cannot load it with the `json` loading script (see stack trace below). Curiously, there is no ...
[ -0.06818702816963196, 0.18416258692741394, 0.036415744572877884, 0.3780703544616699, 0.23553724586963654, -0.006269969046115875, 0.48466840386390686, 0.36706340312957764, 0.4180774390697479, -0.0028386786580085754, 0.060554973781108856, 0.5898877382278442, 0.027620865032076836, -0.14885811...
https://github.com/huggingface/datasets/issues/2799
Loading JSON throws ArrowNotImplementedError
The code works fine on my side. Not sure what's going on here :/ I remember we did a few changes in the JSON loader in #2638 , did you do an update `datasets` when debugging this ?
## Describe the bug I have created a [dataset](https://huggingface.co/datasets/lewtun/github-issues-test) of GitHub issues in line-separated JSON format and am finding that I cannot load it with the `json` loading script (see stack trace below). Curiously, there is no problem loading the dataset with `pandas` which...
38
Loading JSON throws ArrowNotImplementedError ## Describe the bug I have created a [dataset](https://huggingface.co/datasets/lewtun/github-issues-test) of GitHub issues in line-separated JSON format and am finding that I cannot load it with the `json` loading script (see stack trace below). Curiously, there is no ...
[ -0.06818702816963196, 0.18416258692741394, 0.036415744572877884, 0.3780703544616699, 0.23553724586963654, -0.006269969046115875, 0.48466840386390686, 0.36706340312957764, 0.4180774390697479, -0.0028386786580085754, 0.060554973781108856, 0.5898877382278442, 0.027620865032076836, -0.14885811...
https://github.com/huggingface/datasets/issues/2799
Loading JSON throws ArrowNotImplementedError
OK after upgrading `datasets` to v1.12.1 the issue seems to have gone away. Closing this now :)
## Describe the bug I have created a [dataset](https://huggingface.co/datasets/lewtun/github-issues-test) of GitHub issues in line-separated JSON format and am finding that I cannot load it with the `json` loading script (see stack trace below). Curiously, there is no problem loading the dataset with `pandas` which...
17
Loading JSON throws ArrowNotImplementedError ## Describe the bug I have created a [dataset](https://huggingface.co/datasets/lewtun/github-issues-test) of GitHub issues in line-separated JSON format and am finding that I cannot load it with the `json` loading script (see stack trace below). Curiously, there is no ...
[ -0.06818702816963196, 0.18416258692741394, 0.036415744572877884, 0.3780703544616699, 0.23553724586963654, -0.006269969046115875, 0.48466840386390686, 0.36706340312957764, 0.4180774390697479, -0.0028386786580085754, 0.060554973781108856, 0.5898877382278442, 0.027620865032076836, -0.14885811...
https://github.com/huggingface/datasets/issues/2799
Loading JSON throws ArrowNotImplementedError
Oops, I spoke too soon 😓 After deleting the cache and trying the above code snippet again I am hitting the same error. You can also reproduce it in the Colab notebook I linked to in the issue description.
## Describe the bug I have created a [dataset](https://huggingface.co/datasets/lewtun/github-issues-test) of GitHub issues in line-separated JSON format and am finding that I cannot load it with the `json` loading script (see stack trace below). Curiously, there is no problem loading the dataset with `pandas` which...
39
Loading JSON throws ArrowNotImplementedError ## Describe the bug I have created a [dataset](https://huggingface.co/datasets/lewtun/github-issues-test) of GitHub issues in line-separated JSON format and am finding that I cannot load it with the `json` loading script (see stack trace below). Curiously, there is no ...
[ -0.06818702816963196, 0.18416258692741394, 0.036415744572877884, 0.3780703544616699, 0.23553724586963654, -0.006269969046115875, 0.48466840386390686, 0.36706340312957764, 0.4180774390697479, -0.0028386786580085754, 0.060554973781108856, 0.5898877382278442, 0.027620865032076836, -0.14885811...
https://github.com/huggingface/datasets/issues/2799
Loading JSON throws ArrowNotImplementedError
@albertvillanova @lhoestq I noticed the same issue using datasets v1.12.1. Is there an update on when this could be fixed?
## Describe the bug I have created a [dataset](https://huggingface.co/datasets/lewtun/github-issues-test) of GitHub issues in line-separated JSON format and am finding that I cannot load it with the `json` loading script (see stack trace below). Curiously, there is no problem loading the dataset with `pandas` which...
20
Loading JSON throws ArrowNotImplementedError ## Describe the bug I have created a [dataset](https://huggingface.co/datasets/lewtun/github-issues-test) of GitHub issues in line-separated JSON format and am finding that I cannot load it with the `json` loading script (see stack trace below). Curiously, there is no ...
[ -0.06818702816963196, 0.18416258692741394, 0.036415744572877884, 0.3780703544616699, 0.23553724586963654, -0.006269969046115875, 0.48466840386390686, 0.36706340312957764, 0.4180774390697479, -0.0028386786580085754, 0.060554973781108856, 0.5898877382278442, 0.027620865032076836, -0.14885811...
https://github.com/huggingface/datasets/issues/2799
Loading JSON throws ArrowNotImplementedError
Apparently it's possible to make it work by increasing the `block_size`, let me open a PR
## Describe the bug I have created a [dataset](https://huggingface.co/datasets/lewtun/github-issues-test) of GitHub issues in line-separated JSON format and am finding that I cannot load it with the `json` loading script (see stack trace below). Curiously, there is no problem loading the dataset with `pandas` which...
16
Loading JSON throws ArrowNotImplementedError ## Describe the bug I have created a [dataset](https://huggingface.co/datasets/lewtun/github-issues-test) of GitHub issues in line-separated JSON format and am finding that I cannot load it with the `json` loading script (see stack trace below). Curiously, there is no ...
[ -0.06818702816963196, 0.18416258692741394, 0.036415744572877884, 0.3780703544616699, 0.23553724586963654, -0.006269969046115875, 0.48466840386390686, 0.36706340312957764, 0.4180774390697479, -0.0028386786580085754, 0.060554973781108856, 0.5898877382278442, 0.027620865032076836, -0.14885811...
https://github.com/huggingface/datasets/issues/2799
Loading JSON throws ArrowNotImplementedError
I just opened a PR with a fix, feel free to install `datasets` from source from source and let me know if it helps
## Describe the bug I have created a [dataset](https://huggingface.co/datasets/lewtun/github-issues-test) of GitHub issues in line-separated JSON format and am finding that I cannot load it with the `json` loading script (see stack trace below). Curiously, there is no problem loading the dataset with `pandas` which...
24
Loading JSON throws ArrowNotImplementedError ## Describe the bug I have created a [dataset](https://huggingface.co/datasets/lewtun/github-issues-test) of GitHub issues in line-separated JSON format and am finding that I cannot load it with the `json` loading script (see stack trace below). Curiously, there is no ...
[ -0.06818702816963196, 0.18416258692741394, 0.036415744572877884, 0.3780703544616699, 0.23553724586963654, -0.006269969046115875, 0.48466840386390686, 0.36706340312957764, 0.4180774390697479, -0.0028386786580085754, 0.060554973781108856, 0.5898877382278442, 0.027620865032076836, -0.14885811...
https://github.com/huggingface/datasets/issues/2799
Loading JSON throws ArrowNotImplementedError
@zijwang did PR #3000 solve the problem for you? It did for me, so it all is good on your end we can close this issue. Thanks again to @lhoestq for the pyarrow magic 🤯
## Describe the bug I have created a [dataset](https://huggingface.co/datasets/lewtun/github-issues-test) of GitHub issues in line-separated JSON format and am finding that I cannot load it with the `json` loading script (see stack trace below). Curiously, there is no problem loading the dataset with `pandas` which...
35
Loading JSON throws ArrowNotImplementedError ## Describe the bug I have created a [dataset](https://huggingface.co/datasets/lewtun/github-issues-test) of GitHub issues in line-separated JSON format and am finding that I cannot load it with the `json` loading script (see stack trace below). Curiously, there is no ...
[ -0.06818702816963196, 0.18416258692741394, 0.036415744572877884, 0.3780703544616699, 0.23553724586963654, -0.006269969046115875, 0.48466840386390686, 0.36706340312957764, 0.4180774390697479, -0.0028386786580085754, 0.060554973781108856, 0.5898877382278442, 0.027620865032076836, -0.14885811...
https://github.com/huggingface/datasets/issues/2788
How to sample every file in a list of files making up a split in a dataset when loading?
Hi ! This is not possible just with `load_dataset`. You can do something like this instead: ```python seed=42 data_files_dict = { "train": [train_file1, train_file2], "test": [test_file1, test_file2], "val": [val_file1, val_file2] } dataset = datasets.load_dataset( "csv", data_files=dat...
I am loading a dataset with multiple train, test, and validation files like this: ``` data_files_dict = { "train": [train_file1, train_file2], "test": [test_file1, test_file2], "val": [val_file1, val_file2] } dataset = datasets.load_dataset( "csv", data_files=data_files_dict, split=[...
67
How to sample every file in a list of files making up a split in a dataset when loading? I am loading a dataset with multiple train, test, and validation files like this: ``` data_files_dict = { "train": [train_file1, train_file2], "test": [test_file1, test_file2], "val": [val_file1, val_file2] } ...
[ -0.31387951970100403, -0.17968571186065674, -0.11428758502006531, 0.14546102285385132, -0.015787042677402496, 0.35745662450790405, 0.44495564699172974, 0.4948764741420746, 0.5567862391471863, 0.01950855553150177, -0.07451411336660385, 0.19857771694660187, 0.028143849223852158, 0.1434576660...
https://github.com/huggingface/datasets/issues/2787
ConnectionError: Couldn't reach https://raw.githubusercontent.com
the bug code locate in : if data_args.task_name is not None: # Downloading and loading a dataset from the hub. datasets = load_dataset("glue", data_args.task_name, cache_dir=model_args.cache_dir)
Hello, I am trying to run run_glue.py and it gives me this error - Traceback (most recent call last): File "E:/BERT/pytorch_hugging/transformers/examples/pytorch/text-classification/run_glue.py", line 546, in <module> main() File "E:/BERT/pytorch_hugging/transformers/examples/pytorch/text-classification/...
25
ConnectionError: Couldn't reach https://raw.githubusercontent.com Hello, I am trying to run run_glue.py and it gives me this error - Traceback (most recent call last): File "E:/BERT/pytorch_hugging/transformers/examples/pytorch/text-classification/run_glue.py", line 546, in <module> main() File "E:/BER...
[ -0.20387114584445953, -0.16013319790363312, -0.08192576467990875, 0.0469018816947937, 0.2665441632270813, -0.07231876254081726, 0.15469567477703094, 0.3012445867061615, 0.10906849801540375, -0.09559842944145203, -0.1769389659166336, -0.15693120658397675, 0.042427949607372284, 0.00980900414...
https://github.com/huggingface/datasets/issues/2787
ConnectionError: Couldn't reach https://raw.githubusercontent.com
Hi @jinec, From time to time we get this kind of `ConnectionError` coming from the github.com website: https://raw.githubusercontent.com Normally, it should work if you wait a little and then retry. Could you please confirm if the problem persists?
Hello, I am trying to run run_glue.py and it gives me this error - Traceback (most recent call last): File "E:/BERT/pytorch_hugging/transformers/examples/pytorch/text-classification/run_glue.py", line 546, in <module> main() File "E:/BERT/pytorch_hugging/transformers/examples/pytorch/text-classification/...
38
ConnectionError: Couldn't reach https://raw.githubusercontent.com Hello, I am trying to run run_glue.py and it gives me this error - Traceback (most recent call last): File "E:/BERT/pytorch_hugging/transformers/examples/pytorch/text-classification/run_glue.py", line 546, in <module> main() File "E:/BER...
[ -0.20387114584445953, -0.16013319790363312, -0.08192576467990875, 0.0469018816947937, 0.2665441632270813, -0.07231876254081726, 0.15469567477703094, 0.3012445867061615, 0.10906849801540375, -0.09559842944145203, -0.1769389659166336, -0.15693120658397675, 0.042427949607372284, 0.00980900414...
https://github.com/huggingface/datasets/issues/2787
ConnectionError: Couldn't reach https://raw.githubusercontent.com
> I can access https://raw.githubusercontent.com/huggingface/datasets/1.7.0/datasets/glue/glue.py without problem... I can not access https://raw.githubusercontent.com/huggingface/datasets either, I am in China
Hello, I am trying to run run_glue.py and it gives me this error - Traceback (most recent call last): File "E:/BERT/pytorch_hugging/transformers/examples/pytorch/text-classification/run_glue.py", line 546, in <module> main() File "E:/BERT/pytorch_hugging/transformers/examples/pytorch/text-classification/...
17
ConnectionError: Couldn't reach https://raw.githubusercontent.com Hello, I am trying to run run_glue.py and it gives me this error - Traceback (most recent call last): File "E:/BERT/pytorch_hugging/transformers/examples/pytorch/text-classification/run_glue.py", line 546, in <module> main() File "E:/BER...
[ -0.20387114584445953, -0.16013319790363312, -0.08192576467990875, 0.0469018816947937, 0.2665441632270813, -0.07231876254081726, 0.15469567477703094, 0.3012445867061615, 0.10906849801540375, -0.09559842944145203, -0.1769389659166336, -0.15693120658397675, 0.042427949607372284, 0.00980900414...
https://github.com/huggingface/datasets/issues/2787
ConnectionError: Couldn't reach https://raw.githubusercontent.com
> Finally i can access it, by the superfast software. Thanks Excuse me, I have the same problem as you, could you please tell me how to solve it?
Hello, I am trying to run run_glue.py and it gives me this error - Traceback (most recent call last): File "E:/BERT/pytorch_hugging/transformers/examples/pytorch/text-classification/run_glue.py", line 546, in <module> main() File "E:/BERT/pytorch_hugging/transformers/examples/pytorch/text-classification/...
29
ConnectionError: Couldn't reach https://raw.githubusercontent.com Hello, I am trying to run run_glue.py and it gives me this error - Traceback (most recent call last): File "E:/BERT/pytorch_hugging/transformers/examples/pytorch/text-classification/run_glue.py", line 546, in <module> main() File "E:/BER...
[ -0.20387114584445953, -0.16013319790363312, -0.08192576467990875, 0.0469018816947937, 0.2665441632270813, -0.07231876254081726, 0.15469567477703094, 0.3012445867061615, 0.10906849801540375, -0.09559842944145203, -0.1769389659166336, -0.15693120658397675, 0.042427949607372284, 0.00980900414...
https://github.com/huggingface/datasets/issues/2787
ConnectionError: Couldn't reach https://raw.githubusercontent.com
It is not related to the area, the ConnectionError with http://raw.githubuserconent.com has persisted with load_data function, datasets module. However, it can be set to either wget or ssl snippet to download dataset from github as following. `$ wget https://raw.githubusercontent.com/... --no-check-certificate` ...
Hello, I am trying to run run_glue.py and it gives me this error - Traceback (most recent call last): File "E:/BERT/pytorch_hugging/transformers/examples/pytorch/text-classification/run_glue.py", line 546, in <module> main() File "E:/BERT/pytorch_hugging/transformers/examples/pytorch/text-classification/...
77
ConnectionError: Couldn't reach https://raw.githubusercontent.com Hello, I am trying to run run_glue.py and it gives me this error - Traceback (most recent call last): File "E:/BERT/pytorch_hugging/transformers/examples/pytorch/text-classification/run_glue.py", line 546, in <module> main() File "E:/BER...
[ -0.20387114584445953, -0.16013319790363312, -0.08192576467990875, 0.0469018816947937, 0.2665441632270813, -0.07231876254081726, 0.15469567477703094, 0.3012445867061615, 0.10906849801540375, -0.09559842944145203, -0.1769389659166336, -0.15693120658397675, 0.042427949607372284, 0.00980900414...
https://github.com/huggingface/datasets/issues/2787
ConnectionError: Couldn't reach https://raw.githubusercontent.com
> > I can access https://raw.githubusercontent.com/huggingface/datasets/1.7.0/datasets/glue/glue.py without problem... > > I can not access https://raw.githubusercontent.com/huggingface/datasets either, I am in China 所以老哥怎么解决这个问题呢
Hello, I am trying to run run_glue.py and it gives me this error - Traceback (most recent call last): File "E:/BERT/pytorch_hugging/transformers/examples/pytorch/text-classification/run_glue.py", line 546, in <module> main() File "E:/BERT/pytorch_hugging/transformers/examples/pytorch/text-classification/...
21
ConnectionError: Couldn't reach https://raw.githubusercontent.com Hello, I am trying to run run_glue.py and it gives me this error - Traceback (most recent call last): File "E:/BERT/pytorch_hugging/transformers/examples/pytorch/text-classification/run_glue.py", line 546, in <module> main() File "E:/BER...
[ -0.20387114584445953, -0.16013319790363312, -0.08192576467990875, 0.0469018816947937, 0.2665441632270813, -0.07231876254081726, 0.15469567477703094, 0.3012445867061615, 0.10906849801540375, -0.09559842944145203, -0.1769389659166336, -0.15693120658397675, 0.042427949607372284, 0.00980900414...
https://github.com/huggingface/datasets/issues/2775
`generate_random_fingerprint()` deterministic with 🤗Transformers' `set_seed()`
I dug into what I believe is the root of this issue and added a repro in my comment. If this is better addressed as a cross-team issue, let me know and I can open an issue in the Transformers repo
## Describe the bug **Update:** I dug into this to try to reproduce the underlying issue, and I believe it's that `set_seed()` from the `transformers` library makes the "random" fingerprint identical each time. I believe this is still a bug, because `datasets` is used exactly this way in `transformers` after `set_se...
41
`generate_random_fingerprint()` deterministic with 🤗Transformers' `set_seed()` ## Describe the bug **Update:** I dug into this to try to reproduce the underlying issue, and I believe it's that `set_seed()` from the `transformers` library makes the "random" fingerprint identical each time. I believe this is still ...
[ -0.16224342584609985, -0.06068193539977074, 0.09388259053230286, 0.08360252529382706, 0.31440478563308716, -0.1429731547832489, 0.6139572262763977, 0.013213010504841805, -0.1196167916059494, 0.0058160200715065, 0.1650341898202896, 0.20179486274719238, -0.0787891075015068, 0.094523087143898...
https://github.com/huggingface/datasets/issues/2775
`generate_random_fingerprint()` deterministic with 🤗Transformers' `set_seed()`
Hi ! IMO we shouldn't try to modify `set_seed` from transformers but maybe make `datasets` have its own RNG just to generate random fingerprints. Any opinion on this @LysandreJik ?
## Describe the bug **Update:** I dug into this to try to reproduce the underlying issue, and I believe it's that `set_seed()` from the `transformers` library makes the "random" fingerprint identical each time. I believe this is still a bug, because `datasets` is used exactly this way in `transformers` after `set_se...
30
`generate_random_fingerprint()` deterministic with 🤗Transformers' `set_seed()` ## Describe the bug **Update:** I dug into this to try to reproduce the underlying issue, and I believe it's that `set_seed()` from the `transformers` library makes the "random" fingerprint identical each time. I believe this is still ...
[ -0.16224342584609985, -0.06068193539977074, 0.09388259053230286, 0.08360252529382706, 0.31440478563308716, -0.1429731547832489, 0.6139572262763977, 0.013213010504841805, -0.1196167916059494, 0.0058160200715065, 0.1650341898202896, 0.20179486274719238, -0.0787891075015068, 0.094523087143898...
https://github.com/huggingface/datasets/issues/2768
`ArrowInvalid: Added column's length must match table's length.` after using `select`
Hi, the `select` method creates an indices mapping and doesn't modify the underlying PyArrow table by default for better performance. To modify the underlying table after the `select` call, call `flatten_indices` on the dataset object as follows: ```python from datasets import load_dataset ds = load_dataset("tw...
## Describe the bug I would like to add a column to a downsampled dataset. However I get an error message saying the length don't match with the length of the unsampled dataset indicated. I suspect that the dataset size is not updated when calling `select`. ## Steps to reproduce the bug ```python from datasets im...
53
`ArrowInvalid: Added column's length must match table's length.` after using `select` ## Describe the bug I would like to add a column to a downsampled dataset. However I get an error message saying the length don't match with the length of the unsampled dataset indicated. I suspect that the dataset size is not upda...
[ -0.22741879522800446, -0.1898309886455536, -0.008904993534088135, 0.032509393990039825, 0.09828292578458786, 0.041574060916900635, 0.0728505402803421, 0.18379803001880646, 0.0604875348508358, 0.16475334763526917, 0.20484046638011932, 0.6761348843574524, 0.013996567577123642, -0.31388294696...
https://github.com/huggingface/datasets/issues/2767
equal operation to perform unbatch for huggingface datasets
Hi @lhoestq Maybe this is clearer to explain like this, currently map function, map one example to "one" modified one, lets assume we want to map one example to "multiple" examples, in which we do not know in advance how many examples they would be per each entry. I greatly appreciate telling me how I can handle this...
Hi I need to use "unbatch" operation in tensorflow on a huggingface dataset, I could not find this operation, could you kindly direct me how I can do it, here is the problem I am trying to solve: I am considering "record" dataset in SuperGlue and I need to replicate each entery of the dataset for each answer, to ma...
62
equal operation to perform unbatch for huggingface datasets Hi I need to use "unbatch" operation in tensorflow on a huggingface dataset, I could not find this operation, could you kindly direct me how I can do it, here is the problem I am trying to solve: I am considering "record" dataset in SuperGlue and I need...
[ -0.02867710404098034, -0.793066680431366, 0.033528540283441544, -0.0818510353565216, -0.004916351288557053, -0.10334848612546921, 0.23047839105129242, -0.001591373234987259, 0.42847323417663574, 0.2395400106906891, -0.3240567147731781, -0.04595743119716644, 0.023622233420610428, 0.46990355...
https://github.com/huggingface/datasets/issues/2767
equal operation to perform unbatch for huggingface datasets
Hi, this is also my question on how to perform similar operation as "unbatch" in tensorflow in great huggingface dataset library. thanks.
Hi I need to use "unbatch" operation in tensorflow on a huggingface dataset, I could not find this operation, could you kindly direct me how I can do it, here is the problem I am trying to solve: I am considering "record" dataset in SuperGlue and I need to replicate each entery of the dataset for each answer, to ma...
22
equal operation to perform unbatch for huggingface datasets Hi I need to use "unbatch" operation in tensorflow on a huggingface dataset, I could not find this operation, could you kindly direct me how I can do it, here is the problem I am trying to solve: I am considering "record" dataset in SuperGlue and I need...
[ -0.042497627437114716, -0.7478794455528259, 0.04419739916920662, -0.06380259990692139, 0.060215361416339874, -0.07411902397871017, 0.21649251878261566, 0.023403553292155266, 0.40412789583206177, 0.23283323645591736, -0.3757907450199127, -0.03094748966395855, 0.008743347600102425, 0.4603343...
https://github.com/huggingface/datasets/issues/2767
equal operation to perform unbatch for huggingface datasets
Hi, `Dataset.map` in the batched mode allows you to map a single row to multiple rows. So to perform "unbatch", you can do the following: ```python import collections def unbatch(batch): new_batch = collections.defaultdict(list) keys = batch.keys() for values in zip(*batch.values()): ex ...
Hi I need to use "unbatch" operation in tensorflow on a huggingface dataset, I could not find this operation, could you kindly direct me how I can do it, here is the problem I am trying to solve: I am considering "record" dataset in SuperGlue and I need to replicate each entery of the dataset for each answer, to ma...
72
equal operation to perform unbatch for huggingface datasets Hi I need to use "unbatch" operation in tensorflow on a huggingface dataset, I could not find this operation, could you kindly direct me how I can do it, here is the problem I am trying to solve: I am considering "record" dataset in SuperGlue and I need...
[ -0.07538101077079773, -0.7735247611999512, 0.026151809841394424, -0.0693192332983017, 0.022894447669386864, -0.04826776683330536, 0.3034122884273529, 0.04089319333434105, 0.3975752592086792, 0.23980262875556946, -0.36508578062057495, -0.06458983570337296, 0.026436174288392067, 0.4119098782...
https://github.com/huggingface/datasets/issues/2767
equal operation to perform unbatch for huggingface datasets
Dear @mariosasko First, thank you very much for coming back to me on this, I appreciate it a lot. I tried this solution, I am getting errors, do you mind giving me one test example to be able to run your code, to understand better the format of the inputs to your function? in this function https://github.com/googl...
Hi I need to use "unbatch" operation in tensorflow on a huggingface dataset, I could not find this operation, could you kindly direct me how I can do it, here is the problem I am trying to solve: I am considering "record" dataset in SuperGlue and I need to replicate each entery of the dataset for each answer, to ma...
90
equal operation to perform unbatch for huggingface datasets Hi I need to use "unbatch" operation in tensorflow on a huggingface dataset, I could not find this operation, could you kindly direct me how I can do it, here is the problem I am trying to solve: I am considering "record" dataset in SuperGlue and I need...
[ -0.010877475142478943, -0.7745174765586853, 0.050037894397974014, -0.04382069408893585, 0.05859606713056564, -0.13151291012763977, 0.24490472674369812, 0.03557925671339035, 0.4034040868282318, 0.20719876885414124, -0.36473023891448975, -0.05768509954214096, 0.02583039179444313, 0.452859818...
https://github.com/huggingface/datasets/issues/2767
equal operation to perform unbatch for huggingface datasets
Hi @mariosasko I think finally I got this, I think you mean to do things in one step, here is the full example for completeness: ``` def unbatch(batch): new_batch = collections.defaultdict(list) keys = batch.keys() for values in zip(*batch.values()): ex = {k: v for k, v in zip(keys, values...
Hi I need to use "unbatch" operation in tensorflow on a huggingface dataset, I could not find this operation, could you kindly direct me how I can do it, here is the problem I am trying to solve: I am considering "record" dataset in SuperGlue and I need to replicate each entery of the dataset for each answer, to ma...
131
equal operation to perform unbatch for huggingface datasets Hi I need to use "unbatch" operation in tensorflow on a huggingface dataset, I could not find this operation, could you kindly direct me how I can do it, here is the problem I am trying to solve: I am considering "record" dataset in SuperGlue and I need...
[ -0.0244649276137352, -0.8023658990859985, 0.03632533922791481, -0.055613353848457336, 0.021609432995319366, -0.07333114743232727, 0.2536011040210724, 0.049449414014816284, 0.3815236985683441, 0.2414877861738205, -0.3534254729747772, -0.06547252833843231, 0.03937111422419548, 0.444589674472...
https://github.com/huggingface/datasets/issues/2765
BERTScore Error
Hi, The `use_fast_tokenizer` argument has been recently added to the bert-score lib. I've opened a PR with the fix. In the meantime, you can try to downgrade the version of bert-score with the following command to make the code work: ``` pip uninstall bert-score pip install "bert-score<0.3.10" ```
## Describe the bug A clear and concise description of what the bug is. ## Steps to reproduce the bug ```python predictions = ["hello there", "general kenobi"] references = ["hello there", "general kenobi"] bert = load_metric('bertscore') bert.compute(predictions=predictions, references=references,lang='en') ...
48
BERTScore Error ## Describe the bug A clear and concise description of what the bug is. ## Steps to reproduce the bug ```python predictions = ["hello there", "general kenobi"] references = ["hello there", "general kenobi"] bert = load_metric('bertscore') bert.compute(predictions=predictions, references=refer...
[ -0.13576853275299072, 0.1683022677898407, 0.03542155399918556, 0.20929795503616333, 0.3473319411277771, 0.011661671102046967, 0.2289918214082718, 0.35304132103919983, -0.11994248628616333, 0.3440083861351013, 0.07694419473409653, 0.47522521018981934, -0.1141473576426506, -0.116274617612361...
https://github.com/huggingface/datasets/issues/2763
English wikipedia datasets is not clean
Hi ! Certain users might need these data (for training or simply to explore/index the dataset). Feel free to implement a map function that gets rid of these paragraphs and process the wikipedia dataset with it before training
## Describe the bug Wikipedia english dumps contain many wikipedia paragraphs like "References", "Category:" and "See Also" that should not be used for training. ## Steps to reproduce the bug ```python # Sample code to reproduce the bug from datasets import load_dataset w = load_dataset('wikipedia', '20200501.e...
38
English wikipedia datasets is not clean ## Describe the bug Wikipedia english dumps contain many wikipedia paragraphs like "References", "Category:" and "See Also" that should not be used for training. ## Steps to reproduce the bug ```python # Sample code to reproduce the bug from datasets import load_dataset ...
[ -0.021749725565314293, 0.21805185079574585, -0.10638949275016785, 0.48007500171661377, 0.254815936088562, 0.12689903378486633, 0.31882500648498535, 0.31477776169776917, 0.21052946150302887, 0.08051810413599014, -0.18472544848918915, 0.2396584451198578, 0.3409661054611206, -0.22265589237213...
https://github.com/huggingface/datasets/issues/2762
Add RVL-CDIP dataset
[labels_only.tar.gz](https://docs.google.com/uc?authuser=0&id=0B0NKIRwUL9KYcXo3bV9LU0t3SGs&export=download) on the RVL-CDIP website does not work for me. > 404. That’s an error. The requested URL was not found on this server. I contacted the author ( Adam Harley) regarding this, and he told me that the link works...
## Adding a Dataset - **Name:** RVL-CDIP - **Description:** The RVL-CDIP (Ryerson Vision Lab Complex Document Information Processing) dataset consists of 400,000 grayscale images in 16 classes, with 25,000 images per class. There are 320,000 training images, 40,000 validation images, and 40,000 test images. The image...
76
Add RVL-CDIP dataset ## Adding a Dataset - **Name:** RVL-CDIP - **Description:** The RVL-CDIP (Ryerson Vision Lab Complex Document Information Processing) dataset consists of 400,000 grayscale images in 16 classes, with 25,000 images per class. There are 320,000 training images, 40,000 validation images, and 40,000...
[ 0.07685074210166931, -0.4151337146759033, 0.07020968198776245, 0.3048318922519684, 0.010297805070877075, 0.14936205744743347, 0.14332717657089233, 0.010715117678046227, -0.0011779796332120895, -0.020336046814918518, -0.4259152412414551, -0.03882322460412979, -0.0852704867720604, -0.1490816...
https://github.com/huggingface/datasets/issues/2761
Error loading C4 realnewslike dataset
Hi @danshirron, `c4` was updated few days back by @lhoestq. The new configs are `['en', 'en.noclean', 'en.realnewslike', 'en.webtextlike'].` You'll need to remove any older version of this dataset you previously downloaded and then run `load_dataset` again with new configuration.
## Describe the bug Error loading C4 realnewslike dataset. Validation part mismatch ## Steps to reproduce the bug ```python raw_datasets = load_dataset('c4', 'realnewslike', cache_dir=model_args.cache_dir) ## Expected results success on data loading ## Actual results Downloading: 100%|███████████████████████...
39
Error loading C4 realnewslike dataset ## Describe the bug Error loading C4 realnewslike dataset. Validation part mismatch ## Steps to reproduce the bug ```python raw_datasets = load_dataset('c4', 'realnewslike', cache_dir=model_args.cache_dir) ## Expected results success on data loading ## Actual results D...
[ -0.23152606189250946, 0.024640336632728577, -0.022365732118487358, 0.45745664834976196, 0.17442479729652405, 0.22958096861839294, -0.007371600717306137, 0.5081835389137268, -0.03165298327803612, 0.019125208258628845, -0.18429721891880035, -0.06401298940181732, -0.009163578040897846, 0.3338...
https://github.com/huggingface/datasets/issues/2761
Error loading C4 realnewslike dataset
@bhavitvyamalik @lhoestq , just tried the above and got: >>> a=datasets.load_dataset('c4','en.realnewslike') Downloading: 3.29kB [00:00, 1.66MB/s] ...
## Describe the bug Error loading C4 realnewslike dataset. Validation part mismatch ## Steps to reproduce the bug ```python raw_datasets = load_dataset('c4', 'realnewslike', cache_dir=model_args.cache_dir) ## Expected results success on data loading ## Actual results Downloading: 100%|███████████████████████...
91
Error loading C4 realnewslike dataset ## Describe the bug Error loading C4 realnewslike dataset. Validation part mismatch ## Steps to reproduce the bug ```python raw_datasets = load_dataset('c4', 'realnewslike', cache_dir=model_args.cache_dir) ## Expected results success on data loading ## Actual results D...
[ -0.23152606189250946, 0.024640336632728577, -0.022365732118487358, 0.45745664834976196, 0.17442479729652405, 0.22958096861839294, -0.007371600717306137, 0.5081835389137268, -0.03165298327803612, 0.019125208258628845, -0.18429721891880035, -0.06401298940181732, -0.009163578040897846, 0.3338...
https://github.com/huggingface/datasets/issues/2761
Error loading C4 realnewslike dataset
I think I had an older version of datasets installed and that's why I commented the old configurations in my last comment, my bad! I re-checked and updated it to latest version (`datasets==1.11.0`) and it's showing `available configs: ['en', 'realnewslike', 'en.noblocklist', 'en.noclean']`. I tried `raw_datasets = ...
## Describe the bug Error loading C4 realnewslike dataset. Validation part mismatch ## Steps to reproduce the bug ```python raw_datasets = load_dataset('c4', 'realnewslike', cache_dir=model_args.cache_dir) ## Expected results success on data loading ## Actual results Downloading: 100%|███████████████████████...
79
Error loading C4 realnewslike dataset ## Describe the bug Error loading C4 realnewslike dataset. Validation part mismatch ## Steps to reproduce the bug ```python raw_datasets = load_dataset('c4', 'realnewslike', cache_dir=model_args.cache_dir) ## Expected results success on data loading ## Actual results D...
[ -0.23152606189250946, 0.024640336632728577, -0.022365732118487358, 0.45745664834976196, 0.17442479729652405, 0.22958096861839294, -0.007371600717306137, 0.5081835389137268, -0.03165298327803612, 0.019125208258628845, -0.18429721891880035, -0.06401298940181732, -0.009163578040897846, 0.3338...
https://github.com/huggingface/datasets/issues/2761
Error loading C4 realnewslike dataset
It works. I probably had some issue with the cache. after cleaning it im able to download the dataset. Thanks
## Describe the bug Error loading C4 realnewslike dataset. Validation part mismatch ## Steps to reproduce the bug ```python raw_datasets = load_dataset('c4', 'realnewslike', cache_dir=model_args.cache_dir) ## Expected results success on data loading ## Actual results Downloading: 100%|███████████████████████...
20
Error loading C4 realnewslike dataset ## Describe the bug Error loading C4 realnewslike dataset. Validation part mismatch ## Steps to reproduce the bug ```python raw_datasets = load_dataset('c4', 'realnewslike', cache_dir=model_args.cache_dir) ## Expected results success on data loading ## Actual results D...
[ -0.23152606189250946, 0.024640336632728577, -0.022365732118487358, 0.45745664834976196, 0.17442479729652405, 0.22958096861839294, -0.007371600717306137, 0.5081835389137268, -0.03165298327803612, 0.019125208258628845, -0.18429721891880035, -0.06401298940181732, -0.009163578040897846, 0.3338...
https://github.com/huggingface/datasets/issues/2757
Unexpected type after `concatenate_datasets`
Hi @JulesBelveze, thanks for your question. Note that 🤗 `datasets` internally store their data in Apache Arrow format. However, when accessing dataset columns, by default they are returned as native Python objects (lists in this case). If you would like their columns to be returned in a more suitable format ...
## Describe the bug I am trying to concatenate two `Dataset` using `concatenate_datasets` but it turns out that after concatenation the features are casted from `torch.Tensor` to `list`. It then leads to a weird tensors when trying to convert it to a `DataLoader`. However, if I use each `Dataset` separately everythi...
80
Unexpected type after `concatenate_datasets` ## Describe the bug I am trying to concatenate two `Dataset` using `concatenate_datasets` but it turns out that after concatenation the features are casted from `torch.Tensor` to `list`. It then leads to a weird tensors when trying to convert it to a `DataLoader`. Howev...
[ 0.06590238213539124, -0.2509688138961792, 0.029678616672754288, 0.5075558423995972, 0.40537989139556885, 0.17190727591514587, 0.48177820444107056, 0.13464586436748505, -0.3654300570487976, -0.13152404129505157, -0.15433138608932495, 0.39560917019844055, -0.038302477449178696, -0.0193484611...
https://github.com/huggingface/datasets/issues/2750
Second concatenation of datasets produces errors
Hi @Aktsvigun! We are planning to address this issue before our next release, in a couple of weeks at most. 😅 In the meantime, if you would like to contribute, feel free to open a Pull Request. You are welcome. Here you can find more information: [How to contribute to Datasets?](CONTRIBUTING.md)
Hi, I am need to concatenate my dataset with others several times, and after I concatenate it for the second time, the features of features (e.g. tags names) are collapsed. This hinders, for instance, the usage of tokenize function with `data.map`. ``` from datasets import load_dataset, concatenate_datasets d...
51
Second concatenation of datasets produces errors Hi, I am need to concatenate my dataset with others several times, and after I concatenate it for the second time, the features of features (e.g. tags names) are collapsed. This hinders, for instance, the usage of tokenize function with `data.map`. ``` from data...
[ -0.15046563744544983, -0.05916979908943176, -0.05770960450172424, 0.2559516727924347, 0.19305387139320374, 0.09017416089773178, 0.08213379234075546, 0.26227590441703796, -0.26092004776000977, -0.055139943957328796, 0.03583119809627533, 0.12652455270290375, 0.21746183931827545, 0.0901985839...
https://github.com/huggingface/datasets/issues/2749
Raise a proper exception when trying to stream a dataset that requires to manually download files
Hi @severo, thanks for reporting. As discussed, datasets requiring manual download should be: - programmatically identifiable - properly handled with more clear error message when trying to load them with streaming In relation with programmatically identifiability, note that for datasets requiring manual downlo...
## Describe the bug At least for 'reclor', 'telugu_books', 'turkish_movie_sentiment', 'ubuntu_dialogs_corpus', 'wikihow', trying to `load_dataset` in streaming mode raises a `TypeError` without any detail about why it fails. ## Steps to reproduce the bug ```python from datasets import load_dataset dataset = ...
64
Raise a proper exception when trying to stream a dataset that requires to manually download files ## Describe the bug At least for 'reclor', 'telugu_books', 'turkish_movie_sentiment', 'ubuntu_dialogs_corpus', 'wikihow', trying to `load_dataset` in streaming mode raises a `TypeError` without any detail about why it...
[ -0.22404929995536804, 0.07350516319274902, 0.06885577738285065, 0.14548790454864502, 0.34670788049697876, 0.09173483401536942, 0.17951369285583496, 0.03852231800556183, 0.10486291348934174, 0.07325541973114014, 0.07145310193300247, 0.227884903550148, -0.3061068654060364, 0.1689814329147339...
https://github.com/huggingface/datasets/issues/2746
Cannot load `few-nerd` dataset
Hi @Mehrad0711, I'm afraid there is no "canonical" Hugging Face dataset named "few-nerd". There are 2 kinds of datasets hosted at the Hugging Face Hub: - canonical datasets (their identifier contains no slash "/"): we, the Hugging Face team, supervise their implementation and we make sure they work correctly by ...
## Describe the bug Cannot load `few-nerd` dataset. ## Steps to reproduce the bug ```python from datasets import load_dataset load_dataset('few-nerd', 'supervised') ``` ## Actual results Executing above code will give the following error: ``` Using the latest cached version of the module from /Users...
242
Cannot load `few-nerd` dataset ## Describe the bug Cannot load `few-nerd` dataset. ## Steps to reproduce the bug ```python from datasets import load_dataset load_dataset('few-nerd', 'supervised') ``` ## Actual results Executing above code will give the following error: ``` Using the latest cached ...
[ -0.3042268753051758, -0.0985620766878128, 0.007841698825359344, 0.5131357908248901, 0.32854580879211426, -0.05764244124293327, 0.5201519131660461, 0.25530123710632324, 0.19915753602981567, 0.16810859739780426, -0.46047765016555786, -0.09104873239994049, -0.2877759635448456, -0.297075152397...
https://github.com/huggingface/datasets/issues/2746
Cannot load `few-nerd` dataset
Hello, @Mehrad0711; Hi, @albertvillanova ! I am the maintainer of the `dfki/few-nerd" dataset script, sorry for the very late reply and hope this message finds you well! We should use ``` dataset = load_dataset("dfki-nlp/few-nerd", name="supervised") ``` instead of not specifying the "name" argument, where name ...
## Describe the bug Cannot load `few-nerd` dataset. ## Steps to reproduce the bug ```python from datasets import load_dataset load_dataset('few-nerd', 'supervised') ``` ## Actual results Executing above code will give the following error: ``` Using the latest cached version of the module from /Users...
305
Cannot load `few-nerd` dataset ## Describe the bug Cannot load `few-nerd` dataset. ## Steps to reproduce the bug ```python from datasets import load_dataset load_dataset('few-nerd', 'supervised') ``` ## Actual results Executing above code will give the following error: ``` Using the latest cached ...
[ -0.3042268753051758, -0.0985620766878128, 0.007841698825359344, 0.5131357908248901, 0.32854580879211426, -0.05764244124293327, 0.5201519131660461, 0.25530123710632324, 0.19915753602981567, 0.16810859739780426, -0.46047765016555786, -0.09104873239994049, -0.2877759635448456, -0.297075152397...